vercel 54.0.0 → 54.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/chunks/{add-FEHGU5ZE.js → add-FAIIANHS.js} +11 -9
  2. package/dist/chunks/{chunk-4I5SPKXV.js → chunk-23UWSHRQ.js} +313 -73
  3. package/dist/chunks/{chunk-DVV42VA6.js → chunk-2DFWEDF7.js} +2 -2
  4. package/dist/chunks/{chunk-OLJ6HISC.js → chunk-2OASKDFC.js} +3 -3
  5. package/dist/chunks/{chunk-P5NASM3L.js → chunk-4GQQJY5Y.js} +1 -1
  6. package/dist/chunks/{chunk-S6EMI466.js → chunk-4PSOOFYO.js} +2 -2
  7. package/dist/chunks/{chunk-3CBPQ6CA.js → chunk-76ZNZKIN.js} +1 -3
  8. package/dist/chunks/{chunk-Q5MHVELE.js → chunk-CQANJIEC.js} +2 -2
  9. package/dist/chunks/{chunk-MUBKPS2Z.js → chunk-DIWRR5Y4.js} +1 -1
  10. package/dist/chunks/{chunk-5GZAC4CI.js → chunk-DKD6GTQT.js} +1 -1
  11. package/dist/chunks/{chunk-VOXVKDJQ.js → chunk-DP5346AR.js} +4 -4
  12. package/dist/chunks/{chunk-DIOSHJ4H.js → chunk-E32QX22S.js} +98 -64
  13. package/dist/chunks/{chunk-KAC4IO5S.js → chunk-FKUVFVT2.js} +10847 -13491
  14. package/dist/chunks/{chunk-S62XC5XL.js → chunk-H7ZZXKJ2.js} +5 -5
  15. package/dist/chunks/{chunk-2GC2GW2H.js → chunk-IFATV36R.js} +2 -2
  16. package/dist/chunks/{chunk-OGWD7VBC.js → chunk-ISJJTUJZ.js} +2 -2
  17. package/dist/chunks/{chunk-DXZ5RVOC.js → chunk-IYP3534A.js} +7 -7
  18. package/dist/chunks/{chunk-TEDMSWBX.js → chunk-J7RPHYNB.js} +2 -2
  19. package/dist/chunks/{chunk-U5GMPX5T.js → chunk-JFVGRFME.js} +2 -2
  20. package/dist/chunks/{chunk-3XU5UGVN.js → chunk-JFWE5ORG.js} +2 -2
  21. package/dist/chunks/{chunk-JWN6JMVY.js → chunk-JQ7RG6JF.js} +2 -2
  22. package/dist/chunks/{chunk-4OEA5ILS.js → chunk-KSMF2UFR.js} +14 -0
  23. package/dist/chunks/chunk-N2T234LO.js +3144 -0
  24. package/dist/chunks/{chunk-F6MUOB5B.js → chunk-N733ZD4W.js} +1 -1
  25. package/dist/chunks/{chunk-23SNIB7J.js → chunk-NYJXGEIR.js} +1 -1
  26. package/dist/chunks/{chunk-LANWQ2NA.js → chunk-O2NXGZCW.js} +424 -2730
  27. package/dist/chunks/chunk-P4QNYOFB.js +96 -0
  28. package/dist/chunks/{chunk-MEAUBEGT.js → chunk-QAA3JVFJ.js} +3 -3
  29. package/dist/chunks/{chunk-TTEDSKHO.js → chunk-QEYYWOB4.js} +4 -4
  30. package/dist/chunks/{chunk-Y6X3VMO3.js → chunk-QH5Q2B4F.js} +1 -1
  31. package/dist/chunks/{chunk-GWM32SE3.js → chunk-TWVG3QHM.js} +3 -3
  32. package/dist/chunks/{chunk-MWQHQ7FW.js → chunk-TZMIHH5D.js} +3 -3
  33. package/dist/chunks/{chunk-4XB5UFP4.js → chunk-UGXBNJMO.js} +3 -98
  34. package/dist/chunks/{chunk-V6BFG564.js → chunk-ULXHXZCZ.js} +1 -1
  35. package/dist/chunks/{chunk-4WPY4WO3.js → chunk-VKQT3HCH.js} +10 -8
  36. package/dist/chunks/{chunk-NVV6BWQP.js → chunk-XVAEOG4L.js} +2 -2
  37. package/dist/chunks/{chunk-MXSNLYVL.js → chunk-YE6OHHJA.js} +487 -9
  38. package/dist/chunks/{chunk-4243WWHE.js → chunk-YNHUUJTK.js} +4 -4
  39. package/dist/chunks/{chunk-4UJDQ2WM.js → chunk-ZA4ZUW7G.js} +2 -2
  40. package/dist/chunks/{chunk-NQQWZYTY.js → chunk-ZAAKSLHC.js} +2 -2
  41. package/dist/chunks/{chunk-AH6RCY4L.js → chunk-ZFEECTPC.js} +1 -1
  42. package/dist/chunks/{chunk-GRPLZLEB.js → chunk-ZINNI4TC.js} +1 -1
  43. package/dist/chunks/cjs-DV4RM7XU.js +20743 -0
  44. package/dist/chunks/{compile-vercel-config-SGZPQDRN.js → compile-vercel-config-7TPMRTKM.js} +7 -5
  45. package/dist/chunks/constants-3FSSR6E7.js +13 -0
  46. package/dist/chunks/{delete-WMHTTHG3.js → delete-MVQKJDRS.js} +9 -7
  47. package/dist/chunks/{disable-QBDO6UIV.js → disable-YRONTYDS.js} +9 -7
  48. package/dist/chunks/{discard-GZZ553AR.js → discard-UM7Y2PMF.js} +9 -7
  49. package/dist/chunks/{edit-H2BF2MZY.js → edit-PHXJMLL2.js} +11 -9
  50. package/dist/chunks/{enable-YYWIMKHP.js → enable-D26FR2VL.js} +9 -7
  51. package/dist/chunks/exec-5MN7VTSE.js +1368 -0
  52. package/dist/chunks/{export-D3XBBQZD.js → export-YLMQTP7Y.js} +9 -7
  53. package/dist/chunks/{inspect-LUCGK7HU.js → inspect-SJTJNJVL.js} +11 -9
  54. package/dist/chunks/{list-EGJ7X43H.js → list-6OV7HAO4.js} +9 -7
  55. package/dist/chunks/{list-WV3JSWCB.js → list-XGSNQW5B.js} +14 -12
  56. package/dist/chunks/{ls-DXRXKG6Q.js → ls-THDT5E4M.js} +11 -9
  57. package/dist/chunks/pkg-56KRLZ5K.js +13 -0
  58. package/dist/chunks/{publish-LW57QZ56.js → publish-NPM5RPLV.js} +9 -7
  59. package/dist/chunks/{query-AQSXA32P.js → query-QP5JLBXI.js} +13 -11
  60. package/dist/chunks/{reorder-YJGPY7SA.js → reorder-573FHW5Z.js} +9 -7
  61. package/dist/chunks/{restore-VANQDIFO.js → restore-H65BVJFL.js} +9 -7
  62. package/dist/chunks/{rm-GNY6PA2Z.js → rm-MOVL4G2Y.js} +11 -9
  63. package/dist/chunks/{routes-2YVMQEPC.js → routes-I74KWX7Q.js} +2 -2
  64. package/dist/chunks/{rule-inspect-EECXOMPN.js → rule-inspect-33M2FHDU.js} +11 -9
  65. package/dist/chunks/{rules-G2VMMW7U.js → rules-KVSJYT5T.js} +9 -8
  66. package/dist/chunks/{schema-4TUQAXX6.js → schema-MXM7Z52O.js} +12 -10
  67. package/dist/chunks/{types-54VLSVRV.js → types-QAT6PCGL.js} +5 -4
  68. package/dist/chunks/{update-GSE7WNBV.js → update-CSKHHR3E.js} +11 -9
  69. package/dist/commands/build/index.js +58 -33
  70. package/dist/commands/deploy/index.js +67 -54
  71. package/dist/commands/dev/index.js +80 -40
  72. package/dist/commands/env/index.js +21 -19
  73. package/dist/commands/link/index.js +22 -20
  74. package/dist/commands/list/index.js +15 -13
  75. package/dist/commands-bulk.js +2835 -1569
  76. package/dist/help.js +1 -1
  77. package/dist/index.js +325 -22779
  78. package/dist/version.mjs +1 -1
  79. package/package.json +32 -27
@@ -9,41 +9,44 @@ import {
9
9
  printIndications,
10
10
  require_dist as require_dist2,
11
11
  sleep
12
- } from "./chunk-4WPY4WO3.js";
12
+ } from "./chunk-VKQT3HCH.js";
13
13
  import {
14
14
  suggestNextCommands
15
15
  } from "./chunk-LOS7HHU3.js";
16
16
  import {
17
17
  getDeployment,
18
18
  mapCertError
19
- } from "./chunk-23SNIB7J.js";
19
+ } from "./chunk-NYJXGEIR.js";
20
20
  import {
21
21
  CommandTimeout
22
- } from "./chunk-4I5SPKXV.js";
22
+ } from "./chunk-23UWSHRQ.js";
23
23
  import {
24
24
  getScope
25
- } from "./chunk-TEDMSWBX.js";
25
+ } from "./chunk-J7RPHYNB.js";
26
26
  import {
27
27
  ua_default
28
- } from "./chunk-3CBPQ6CA.js";
28
+ } from "./chunk-76ZNZKIN.js";
29
29
  import {
30
30
  showPluginTipIfNeeded
31
- } from "./chunk-OLJ6HISC.js";
31
+ } from "./chunk-2OASKDFC.js";
32
32
  import {
33
33
  getProjectByNameOrId,
34
34
  param,
35
+ printAlignedLabel,
35
36
  require_dist as require_dist3,
36
- require_lib3 as require_lib,
37
37
  require_pluralize
38
- } from "./chunk-KAC4IO5S.js";
38
+ } from "./chunk-FKUVFVT2.js";
39
39
  import {
40
40
  require_ms,
41
41
  stamp_default
42
42
  } from "./chunk-CO5D46AG.js";
43
+ import {
44
+ require_lib
45
+ } from "./chunk-N2T234LO.js";
43
46
  import {
44
47
  require_strip_ansi,
45
48
  responseError
46
- } from "./chunk-P5NASM3L.js";
49
+ } from "./chunk-4GQQJY5Y.js";
47
50
  import {
48
51
  APIError,
49
52
  BuildError,
@@ -61,7 +64,7 @@ import {
61
64
  getCommandName,
62
65
  isAPIError,
63
66
  require_bytes
64
- } from "./chunk-4XB5UFP4.js";
67
+ } from "./chunk-UGXBNJMO.js";
65
68
  import {
66
69
  emoji,
67
70
  eraseLines,
@@ -316,43 +319,64 @@ var require_parse = __commonJS({
316
319
  }
317
320
  });
318
321
 
319
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_days/index.js
320
- var require_add_days = __commonJS({
321
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_days/index.js"(exports, module) {
322
+ // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_year/index.js
323
+ var require_start_of_year = __commonJS({
324
+ "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_year/index.js"(exports, module) {
322
325
  var parse2 = require_parse();
323
- function addDays(dirtyDate, dirtyAmount) {
324
- var date = parse2(dirtyDate);
325
- var amount = Number(dirtyAmount);
326
- date.setDate(date.getDate() + amount);
326
+ function startOfYear(dirtyDate) {
327
+ var cleanDate = parse2(dirtyDate);
328
+ var date = /* @__PURE__ */ new Date(0);
329
+ date.setFullYear(cleanDate.getFullYear(), 0, 1);
330
+ date.setHours(0, 0, 0, 0);
327
331
  return date;
328
332
  }
329
- module.exports = addDays;
333
+ module.exports = startOfYear;
330
334
  }
331
335
  });
332
336
 
333
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_milliseconds/index.js
334
- var require_add_milliseconds = __commonJS({
335
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_milliseconds/index.js"(exports, module) {
337
+ // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_day/index.js
338
+ var require_start_of_day = __commonJS({
339
+ "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_day/index.js"(exports, module) {
336
340
  var parse2 = require_parse();
337
- function addMilliseconds(dirtyDate, dirtyAmount) {
338
- var timestamp = parse2(dirtyDate).getTime();
339
- var amount = Number(dirtyAmount);
340
- return new Date(timestamp + amount);
341
+ function startOfDay(dirtyDate) {
342
+ var date = parse2(dirtyDate);
343
+ date.setHours(0, 0, 0, 0);
344
+ return date;
341
345
  }
342
- module.exports = addMilliseconds;
346
+ module.exports = startOfDay;
343
347
  }
344
348
  });
345
349
 
346
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_hours/index.js
347
- var require_add_hours = __commonJS({
348
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_hours/index.js"(exports, module) {
349
- var addMilliseconds = require_add_milliseconds();
350
- var MILLISECONDS_IN_HOUR = 36e5;
351
- function addHours(dirtyDate, dirtyAmount) {
352
- var amount = Number(dirtyAmount);
353
- return addMilliseconds(dirtyDate, amount * MILLISECONDS_IN_HOUR);
350
+ // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_days/index.js
351
+ var require_difference_in_calendar_days = __commonJS({
352
+ "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_days/index.js"(exports, module) {
353
+ var startOfDay = require_start_of_day();
354
+ var MILLISECONDS_IN_MINUTE = 6e4;
355
+ var MILLISECONDS_IN_DAY = 864e5;
356
+ function differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) {
357
+ var startOfDayLeft = startOfDay(dirtyDateLeft);
358
+ var startOfDayRight = startOfDay(dirtyDateRight);
359
+ var timestampLeft = startOfDayLeft.getTime() - startOfDayLeft.getTimezoneOffset() * MILLISECONDS_IN_MINUTE;
360
+ var timestampRight = startOfDayRight.getTime() - startOfDayRight.getTimezoneOffset() * MILLISECONDS_IN_MINUTE;
361
+ return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY);
354
362
  }
355
- module.exports = addHours;
363
+ module.exports = differenceInCalendarDays;
364
+ }
365
+ });
366
+
367
+ // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_day_of_year/index.js
368
+ var require_get_day_of_year = __commonJS({
369
+ "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_day_of_year/index.js"(exports, module) {
370
+ var parse2 = require_parse();
371
+ var startOfYear = require_start_of_year();
372
+ var differenceInCalendarDays = require_difference_in_calendar_days();
373
+ function getDayOfYear(dirtyDate) {
374
+ var date = parse2(dirtyDate);
375
+ var diff = differenceInCalendarDays(date, startOfYear(date));
376
+ var dayOfYear = diff + 1;
377
+ return dayOfYear;
378
+ }
379
+ module.exports = getDayOfYear;
356
380
  }
357
381
  });
358
382
 
@@ -429,631 +453,120 @@ var require_start_of_iso_year = __commonJS({
429
453
  }
430
454
  });
431
455
 
432
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_day/index.js
433
- var require_start_of_day = __commonJS({
434
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_day/index.js"(exports, module) {
435
- var parse2 = require_parse();
436
- function startOfDay(dirtyDate) {
437
- var date = parse2(dirtyDate);
438
- date.setHours(0, 0, 0, 0);
439
- return date;
440
- }
441
- module.exports = startOfDay;
442
- }
443
- });
444
-
445
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_days/index.js
446
- var require_difference_in_calendar_days = __commonJS({
447
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_days/index.js"(exports, module) {
448
- var startOfDay = require_start_of_day();
449
- var MILLISECONDS_IN_MINUTE = 6e4;
450
- var MILLISECONDS_IN_DAY = 864e5;
451
- function differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) {
452
- var startOfDayLeft = startOfDay(dirtyDateLeft);
453
- var startOfDayRight = startOfDay(dirtyDateRight);
454
- var timestampLeft = startOfDayLeft.getTime() - startOfDayLeft.getTimezoneOffset() * MILLISECONDS_IN_MINUTE;
455
- var timestampRight = startOfDayRight.getTime() - startOfDayRight.getTimezoneOffset() * MILLISECONDS_IN_MINUTE;
456
- return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY);
457
- }
458
- module.exports = differenceInCalendarDays;
459
- }
460
- });
461
-
462
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_iso_year/index.js
463
- var require_set_iso_year = __commonJS({
464
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_iso_year/index.js"(exports, module) {
456
+ // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_iso_week/index.js
457
+ var require_get_iso_week = __commonJS({
458
+ "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_iso_week/index.js"(exports, module) {
465
459
  var parse2 = require_parse();
460
+ var startOfISOWeek = require_start_of_iso_week();
466
461
  var startOfISOYear = require_start_of_iso_year();
467
- var differenceInCalendarDays = require_difference_in_calendar_days();
468
- function setISOYear(dirtyDate, dirtyISOYear) {
469
- var date = parse2(dirtyDate);
470
- var isoYear = Number(dirtyISOYear);
471
- var diff = differenceInCalendarDays(date, startOfISOYear(date));
472
- var fourthOfJanuary = /* @__PURE__ */ new Date(0);
473
- fourthOfJanuary.setFullYear(isoYear, 0, 4);
474
- fourthOfJanuary.setHours(0, 0, 0, 0);
475
- date = startOfISOYear(fourthOfJanuary);
476
- date.setDate(date.getDate() + diff);
477
- return date;
478
- }
479
- module.exports = setISOYear;
480
- }
481
- });
482
-
483
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_iso_years/index.js
484
- var require_add_iso_years = __commonJS({
485
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_iso_years/index.js"(exports, module) {
486
- var getISOYear = require_get_iso_year();
487
- var setISOYear = require_set_iso_year();
488
- function addISOYears(dirtyDate, dirtyAmount) {
489
- var amount = Number(dirtyAmount);
490
- return setISOYear(dirtyDate, getISOYear(dirtyDate) + amount);
491
- }
492
- module.exports = addISOYears;
493
- }
494
- });
495
-
496
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_minutes/index.js
497
- var require_add_minutes = __commonJS({
498
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_minutes/index.js"(exports, module) {
499
- var addMilliseconds = require_add_milliseconds();
500
- var MILLISECONDS_IN_MINUTE = 6e4;
501
- function addMinutes(dirtyDate, dirtyAmount) {
502
- var amount = Number(dirtyAmount);
503
- return addMilliseconds(dirtyDate, amount * MILLISECONDS_IN_MINUTE);
504
- }
505
- module.exports = addMinutes;
506
- }
507
- });
508
-
509
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_days_in_month/index.js
510
- var require_get_days_in_month = __commonJS({
511
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_days_in_month/index.js"(exports, module) {
512
- var parse2 = require_parse();
513
- function getDaysInMonth(dirtyDate) {
514
- var date = parse2(dirtyDate);
515
- var year = date.getFullYear();
516
- var monthIndex = date.getMonth();
517
- var lastDayOfMonth = /* @__PURE__ */ new Date(0);
518
- lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);
519
- lastDayOfMonth.setHours(0, 0, 0, 0);
520
- return lastDayOfMonth.getDate();
521
- }
522
- module.exports = getDaysInMonth;
523
- }
524
- });
525
-
526
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_months/index.js
527
- var require_add_months = __commonJS({
528
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_months/index.js"(exports, module) {
529
- var parse2 = require_parse();
530
- var getDaysInMonth = require_get_days_in_month();
531
- function addMonths(dirtyDate, dirtyAmount) {
462
+ var MILLISECONDS_IN_WEEK = 6048e5;
463
+ function getISOWeek(dirtyDate) {
532
464
  var date = parse2(dirtyDate);
533
- var amount = Number(dirtyAmount);
534
- var desiredMonth = date.getMonth() + amount;
535
- var dateWithDesiredMonth = /* @__PURE__ */ new Date(0);
536
- dateWithDesiredMonth.setFullYear(date.getFullYear(), desiredMonth, 1);
537
- dateWithDesiredMonth.setHours(0, 0, 0, 0);
538
- var daysInMonth = getDaysInMonth(dateWithDesiredMonth);
539
- date.setMonth(desiredMonth, Math.min(daysInMonth, date.getDate()));
540
- return date;
541
- }
542
- module.exports = addMonths;
543
- }
544
- });
545
-
546
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_quarters/index.js
547
- var require_add_quarters = __commonJS({
548
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_quarters/index.js"(exports, module) {
549
- var addMonths = require_add_months();
550
- function addQuarters(dirtyDate, dirtyAmount) {
551
- var amount = Number(dirtyAmount);
552
- var months = amount * 3;
553
- return addMonths(dirtyDate, months);
554
- }
555
- module.exports = addQuarters;
556
- }
557
- });
558
-
559
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_seconds/index.js
560
- var require_add_seconds = __commonJS({
561
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_seconds/index.js"(exports, module) {
562
- var addMilliseconds = require_add_milliseconds();
563
- function addSeconds(dirtyDate, dirtyAmount) {
564
- var amount = Number(dirtyAmount);
565
- return addMilliseconds(dirtyDate, amount * 1e3);
566
- }
567
- module.exports = addSeconds;
568
- }
569
- });
570
-
571
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_weeks/index.js
572
- var require_add_weeks = __commonJS({
573
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_weeks/index.js"(exports, module) {
574
- var addDays = require_add_days();
575
- function addWeeks(dirtyDate, dirtyAmount) {
576
- var amount = Number(dirtyAmount);
577
- var days = amount * 7;
578
- return addDays(dirtyDate, days);
579
- }
580
- module.exports = addWeeks;
581
- }
582
- });
583
-
584
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_years/index.js
585
- var require_add_years = __commonJS({
586
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/add_years/index.js"(exports, module) {
587
- var addMonths = require_add_months();
588
- function addYears(dirtyDate, dirtyAmount) {
589
- var amount = Number(dirtyAmount);
590
- return addMonths(dirtyDate, amount * 12);
465
+ var diff = startOfISOWeek(date).getTime() - startOfISOYear(date).getTime();
466
+ return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
591
467
  }
592
- module.exports = addYears;
468
+ module.exports = getISOWeek;
593
469
  }
594
470
  });
595
471
 
596
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/are_ranges_overlapping/index.js
597
- var require_are_ranges_overlapping = __commonJS({
598
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/are_ranges_overlapping/index.js"(exports, module) {
599
- var parse2 = require_parse();
600
- function areRangesOverlapping(dirtyInitialRangeStartDate, dirtyInitialRangeEndDate, dirtyComparedRangeStartDate, dirtyComparedRangeEndDate) {
601
- var initialStartTime = parse2(dirtyInitialRangeStartDate).getTime();
602
- var initialEndTime = parse2(dirtyInitialRangeEndDate).getTime();
603
- var comparedStartTime = parse2(dirtyComparedRangeStartDate).getTime();
604
- var comparedEndTime = parse2(dirtyComparedRangeEndDate).getTime();
605
- if (initialStartTime > initialEndTime || comparedStartTime > comparedEndTime) {
606
- throw new Error("The start of the range cannot be after the end of the range");
472
+ // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_valid/index.js
473
+ var require_is_valid = __commonJS({
474
+ "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_valid/index.js"(exports, module) {
475
+ var isDate = require_is_date();
476
+ function isValid(dirtyDate) {
477
+ if (isDate(dirtyDate)) {
478
+ return !isNaN(dirtyDate);
479
+ } else {
480
+ throw new TypeError(toString.call(dirtyDate) + " is not an instance of Date");
607
481
  }
608
- return initialStartTime < comparedEndTime && comparedStartTime < initialEndTime;
609
482
  }
610
- module.exports = areRangesOverlapping;
483
+ module.exports = isValid;
611
484
  }
612
485
  });
613
486
 
614
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/closest_index_to/index.js
615
- var require_closest_index_to = __commonJS({
616
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/closest_index_to/index.js"(exports, module) {
617
- var parse2 = require_parse();
618
- function closestIndexTo(dirtyDateToCompare, dirtyDatesArray) {
619
- if (!(dirtyDatesArray instanceof Array)) {
620
- throw new TypeError(toString.call(dirtyDatesArray) + " is not an instance of Array");
621
- }
622
- var dateToCompare = parse2(dirtyDateToCompare);
623
- var timeToCompare = dateToCompare.getTime();
624
- var result;
625
- var minDistance;
626
- dirtyDatesArray.forEach(function(dirtyDate, index) {
627
- var currentDate = parse2(dirtyDate);
628
- var distance = Math.abs(timeToCompare - currentDate.getTime());
629
- if (result === void 0 || distance < minDistance) {
630
- result = index;
631
- minDistance = distance;
487
+ // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js
488
+ var require_build_distance_in_words_locale = __commonJS({
489
+ "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js"(exports, module) {
490
+ function buildDistanceInWordsLocale() {
491
+ var distanceInWordsLocale = {
492
+ lessThanXSeconds: {
493
+ one: "less than a second",
494
+ other: "less than {{count}} seconds"
495
+ },
496
+ xSeconds: {
497
+ one: "1 second",
498
+ other: "{{count}} seconds"
499
+ },
500
+ halfAMinute: "half a minute",
501
+ lessThanXMinutes: {
502
+ one: "less than a minute",
503
+ other: "less than {{count}} minutes"
504
+ },
505
+ xMinutes: {
506
+ one: "1 minute",
507
+ other: "{{count}} minutes"
508
+ },
509
+ aboutXHours: {
510
+ one: "about 1 hour",
511
+ other: "about {{count}} hours"
512
+ },
513
+ xHours: {
514
+ one: "1 hour",
515
+ other: "{{count}} hours"
516
+ },
517
+ xDays: {
518
+ one: "1 day",
519
+ other: "{{count}} days"
520
+ },
521
+ aboutXMonths: {
522
+ one: "about 1 month",
523
+ other: "about {{count}} months"
524
+ },
525
+ xMonths: {
526
+ one: "1 month",
527
+ other: "{{count}} months"
528
+ },
529
+ aboutXYears: {
530
+ one: "about 1 year",
531
+ other: "about {{count}} years"
532
+ },
533
+ xYears: {
534
+ one: "1 year",
535
+ other: "{{count}} years"
536
+ },
537
+ overXYears: {
538
+ one: "over 1 year",
539
+ other: "over {{count}} years"
540
+ },
541
+ almostXYears: {
542
+ one: "almost 1 year",
543
+ other: "almost {{count}} years"
632
544
  }
633
- });
634
- return result;
635
- }
636
- module.exports = closestIndexTo;
637
- }
638
- });
639
-
640
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/closest_to/index.js
641
- var require_closest_to = __commonJS({
642
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/closest_to/index.js"(exports, module) {
643
- var parse2 = require_parse();
644
- function closestTo(dirtyDateToCompare, dirtyDatesArray) {
645
- if (!(dirtyDatesArray instanceof Array)) {
646
- throw new TypeError(toString.call(dirtyDatesArray) + " is not an instance of Array");
647
- }
648
- var dateToCompare = parse2(dirtyDateToCompare);
649
- var timeToCompare = dateToCompare.getTime();
650
- var result;
651
- var minDistance;
652
- dirtyDatesArray.forEach(function(dirtyDate) {
653
- var currentDate = parse2(dirtyDate);
654
- var distance = Math.abs(timeToCompare - currentDate.getTime());
655
- if (result === void 0 || distance < minDistance) {
656
- result = currentDate;
657
- minDistance = distance;
545
+ };
546
+ function localize(token, count, options) {
547
+ options = options || {};
548
+ var result;
549
+ if (typeof distanceInWordsLocale[token] === "string") {
550
+ result = distanceInWordsLocale[token];
551
+ } else if (count === 1) {
552
+ result = distanceInWordsLocale[token].one;
553
+ } else {
554
+ result = distanceInWordsLocale[token].other.replace("{{count}}", count);
658
555
  }
659
- });
660
- return result;
661
- }
662
- module.exports = closestTo;
663
- }
664
- });
665
-
666
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/compare_asc/index.js
667
- var require_compare_asc = __commonJS({
668
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/compare_asc/index.js"(exports, module) {
669
- var parse2 = require_parse();
670
- function compareAsc(dirtyDateLeft, dirtyDateRight) {
671
- var dateLeft = parse2(dirtyDateLeft);
672
- var timeLeft = dateLeft.getTime();
673
- var dateRight = parse2(dirtyDateRight);
674
- var timeRight = dateRight.getTime();
675
- if (timeLeft < timeRight) {
676
- return -1;
677
- } else if (timeLeft > timeRight) {
678
- return 1;
679
- } else {
680
- return 0;
681
- }
682
- }
683
- module.exports = compareAsc;
684
- }
685
- });
686
-
687
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/compare_desc/index.js
688
- var require_compare_desc = __commonJS({
689
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/compare_desc/index.js"(exports, module) {
690
- var parse2 = require_parse();
691
- function compareDesc(dirtyDateLeft, dirtyDateRight) {
692
- var dateLeft = parse2(dirtyDateLeft);
693
- var timeLeft = dateLeft.getTime();
694
- var dateRight = parse2(dirtyDateRight);
695
- var timeRight = dateRight.getTime();
696
- if (timeLeft > timeRight) {
697
- return -1;
698
- } else if (timeLeft < timeRight) {
699
- return 1;
700
- } else {
701
- return 0;
556
+ if (options.addSuffix) {
557
+ if (options.comparison > 0) {
558
+ return "in " + result;
559
+ } else {
560
+ return result + " ago";
561
+ }
562
+ }
563
+ return result;
702
564
  }
565
+ return {
566
+ localize
567
+ };
703
568
  }
704
- module.exports = compareDesc;
705
- }
706
- });
707
-
708
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_iso_weeks/index.js
709
- var require_difference_in_calendar_iso_weeks = __commonJS({
710
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_iso_weeks/index.js"(exports, module) {
711
- var startOfISOWeek = require_start_of_iso_week();
712
- var MILLISECONDS_IN_MINUTE = 6e4;
713
- var MILLISECONDS_IN_WEEK = 6048e5;
714
- function differenceInCalendarISOWeeks(dirtyDateLeft, dirtyDateRight) {
715
- var startOfISOWeekLeft = startOfISOWeek(dirtyDateLeft);
716
- var startOfISOWeekRight = startOfISOWeek(dirtyDateRight);
717
- var timestampLeft = startOfISOWeekLeft.getTime() - startOfISOWeekLeft.getTimezoneOffset() * MILLISECONDS_IN_MINUTE;
718
- var timestampRight = startOfISOWeekRight.getTime() - startOfISOWeekRight.getTimezoneOffset() * MILLISECONDS_IN_MINUTE;
719
- return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_WEEK);
720
- }
721
- module.exports = differenceInCalendarISOWeeks;
722
- }
723
- });
724
-
725
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_iso_years/index.js
726
- var require_difference_in_calendar_iso_years = __commonJS({
727
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_iso_years/index.js"(exports, module) {
728
- var getISOYear = require_get_iso_year();
729
- function differenceInCalendarISOYears(dirtyDateLeft, dirtyDateRight) {
730
- return getISOYear(dirtyDateLeft) - getISOYear(dirtyDateRight);
731
- }
732
- module.exports = differenceInCalendarISOYears;
733
- }
734
- });
735
-
736
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_months/index.js
737
- var require_difference_in_calendar_months = __commonJS({
738
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_months/index.js"(exports, module) {
739
- var parse2 = require_parse();
740
- function differenceInCalendarMonths(dirtyDateLeft, dirtyDateRight) {
741
- var dateLeft = parse2(dirtyDateLeft);
742
- var dateRight = parse2(dirtyDateRight);
743
- var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear();
744
- var monthDiff = dateLeft.getMonth() - dateRight.getMonth();
745
- return yearDiff * 12 + monthDiff;
746
- }
747
- module.exports = differenceInCalendarMonths;
748
- }
749
- });
750
-
751
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_quarter/index.js
752
- var require_get_quarter = __commonJS({
753
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_quarter/index.js"(exports, module) {
754
- var parse2 = require_parse();
755
- function getQuarter(dirtyDate) {
756
- var date = parse2(dirtyDate);
757
- var quarter = Math.floor(date.getMonth() / 3) + 1;
758
- return quarter;
759
- }
760
- module.exports = getQuarter;
761
- }
762
- });
763
-
764
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_quarters/index.js
765
- var require_difference_in_calendar_quarters = __commonJS({
766
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_quarters/index.js"(exports, module) {
767
- var getQuarter = require_get_quarter();
768
- var parse2 = require_parse();
769
- function differenceInCalendarQuarters(dirtyDateLeft, dirtyDateRight) {
770
- var dateLeft = parse2(dirtyDateLeft);
771
- var dateRight = parse2(dirtyDateRight);
772
- var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear();
773
- var quarterDiff = getQuarter(dateLeft) - getQuarter(dateRight);
774
- return yearDiff * 4 + quarterDiff;
775
- }
776
- module.exports = differenceInCalendarQuarters;
777
- }
778
- });
779
-
780
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_weeks/index.js
781
- var require_difference_in_calendar_weeks = __commonJS({
782
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_weeks/index.js"(exports, module) {
783
- var startOfWeek = require_start_of_week();
784
- var MILLISECONDS_IN_MINUTE = 6e4;
785
- var MILLISECONDS_IN_WEEK = 6048e5;
786
- function differenceInCalendarWeeks(dirtyDateLeft, dirtyDateRight, dirtyOptions) {
787
- var startOfWeekLeft = startOfWeek(dirtyDateLeft, dirtyOptions);
788
- var startOfWeekRight = startOfWeek(dirtyDateRight, dirtyOptions);
789
- var timestampLeft = startOfWeekLeft.getTime() - startOfWeekLeft.getTimezoneOffset() * MILLISECONDS_IN_MINUTE;
790
- var timestampRight = startOfWeekRight.getTime() - startOfWeekRight.getTimezoneOffset() * MILLISECONDS_IN_MINUTE;
791
- return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_WEEK);
792
- }
793
- module.exports = differenceInCalendarWeeks;
794
- }
795
- });
796
-
797
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_years/index.js
798
- var require_difference_in_calendar_years = __commonJS({
799
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_calendar_years/index.js"(exports, module) {
800
- var parse2 = require_parse();
801
- function differenceInCalendarYears(dirtyDateLeft, dirtyDateRight) {
802
- var dateLeft = parse2(dirtyDateLeft);
803
- var dateRight = parse2(dirtyDateRight);
804
- return dateLeft.getFullYear() - dateRight.getFullYear();
805
- }
806
- module.exports = differenceInCalendarYears;
807
- }
808
- });
809
-
810
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_days/index.js
811
- var require_difference_in_days = __commonJS({
812
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_days/index.js"(exports, module) {
813
- var parse2 = require_parse();
814
- var differenceInCalendarDays = require_difference_in_calendar_days();
815
- var compareAsc = require_compare_asc();
816
- function differenceInDays(dirtyDateLeft, dirtyDateRight) {
817
- var dateLeft = parse2(dirtyDateLeft);
818
- var dateRight = parse2(dirtyDateRight);
819
- var sign = compareAsc(dateLeft, dateRight);
820
- var difference = Math.abs(differenceInCalendarDays(dateLeft, dateRight));
821
- dateLeft.setDate(dateLeft.getDate() - sign * difference);
822
- var isLastDayNotFull = compareAsc(dateLeft, dateRight) === -sign;
823
- return sign * (difference - isLastDayNotFull);
824
- }
825
- module.exports = differenceInDays;
826
- }
827
- });
828
-
829
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_milliseconds/index.js
830
- var require_difference_in_milliseconds = __commonJS({
831
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_milliseconds/index.js"(exports, module) {
832
- var parse2 = require_parse();
833
- function differenceInMilliseconds(dirtyDateLeft, dirtyDateRight) {
834
- var dateLeft = parse2(dirtyDateLeft);
835
- var dateRight = parse2(dirtyDateRight);
836
- return dateLeft.getTime() - dateRight.getTime();
837
- }
838
- module.exports = differenceInMilliseconds;
839
- }
840
- });
841
-
842
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_hours/index.js
843
- var require_difference_in_hours = __commonJS({
844
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_hours/index.js"(exports, module) {
845
- var differenceInMilliseconds = require_difference_in_milliseconds();
846
- var MILLISECONDS_IN_HOUR = 36e5;
847
- function differenceInHours(dirtyDateLeft, dirtyDateRight) {
848
- var diff = differenceInMilliseconds(dirtyDateLeft, dirtyDateRight) / MILLISECONDS_IN_HOUR;
849
- return diff > 0 ? Math.floor(diff) : Math.ceil(diff);
850
- }
851
- module.exports = differenceInHours;
852
- }
853
- });
854
-
855
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_iso_years/index.js
856
- var require_sub_iso_years = __commonJS({
857
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_iso_years/index.js"(exports, module) {
858
- var addISOYears = require_add_iso_years();
859
- function subISOYears(dirtyDate, dirtyAmount) {
860
- var amount = Number(dirtyAmount);
861
- return addISOYears(dirtyDate, -amount);
862
- }
863
- module.exports = subISOYears;
864
- }
865
- });
866
-
867
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_iso_years/index.js
868
- var require_difference_in_iso_years = __commonJS({
869
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_iso_years/index.js"(exports, module) {
870
- var parse2 = require_parse();
871
- var differenceInCalendarISOYears = require_difference_in_calendar_iso_years();
872
- var compareAsc = require_compare_asc();
873
- var subISOYears = require_sub_iso_years();
874
- function differenceInISOYears(dirtyDateLeft, dirtyDateRight) {
875
- var dateLeft = parse2(dirtyDateLeft);
876
- var dateRight = parse2(dirtyDateRight);
877
- var sign = compareAsc(dateLeft, dateRight);
878
- var difference = Math.abs(differenceInCalendarISOYears(dateLeft, dateRight));
879
- dateLeft = subISOYears(dateLeft, sign * difference);
880
- var isLastISOYearNotFull = compareAsc(dateLeft, dateRight) === -sign;
881
- return sign * (difference - isLastISOYearNotFull);
882
- }
883
- module.exports = differenceInISOYears;
884
- }
885
- });
886
-
887
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_minutes/index.js
888
- var require_difference_in_minutes = __commonJS({
889
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_minutes/index.js"(exports, module) {
890
- var differenceInMilliseconds = require_difference_in_milliseconds();
891
- var MILLISECONDS_IN_MINUTE = 6e4;
892
- function differenceInMinutes(dirtyDateLeft, dirtyDateRight) {
893
- var diff = differenceInMilliseconds(dirtyDateLeft, dirtyDateRight) / MILLISECONDS_IN_MINUTE;
894
- return diff > 0 ? Math.floor(diff) : Math.ceil(diff);
895
- }
896
- module.exports = differenceInMinutes;
897
- }
898
- });
899
-
900
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_months/index.js
901
- var require_difference_in_months = __commonJS({
902
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_months/index.js"(exports, module) {
903
- var parse2 = require_parse();
904
- var differenceInCalendarMonths = require_difference_in_calendar_months();
905
- var compareAsc = require_compare_asc();
906
- function differenceInMonths(dirtyDateLeft, dirtyDateRight) {
907
- var dateLeft = parse2(dirtyDateLeft);
908
- var dateRight = parse2(dirtyDateRight);
909
- var sign = compareAsc(dateLeft, dateRight);
910
- var difference = Math.abs(differenceInCalendarMonths(dateLeft, dateRight));
911
- dateLeft.setMonth(dateLeft.getMonth() - sign * difference);
912
- var isLastMonthNotFull = compareAsc(dateLeft, dateRight) === -sign;
913
- return sign * (difference - isLastMonthNotFull);
914
- }
915
- module.exports = differenceInMonths;
916
- }
917
- });
918
-
919
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_quarters/index.js
920
- var require_difference_in_quarters = __commonJS({
921
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_quarters/index.js"(exports, module) {
922
- var differenceInMonths = require_difference_in_months();
923
- function differenceInQuarters(dirtyDateLeft, dirtyDateRight) {
924
- var diff = differenceInMonths(dirtyDateLeft, dirtyDateRight) / 3;
925
- return diff > 0 ? Math.floor(diff) : Math.ceil(diff);
926
- }
927
- module.exports = differenceInQuarters;
928
- }
929
- });
930
-
931
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_seconds/index.js
932
- var require_difference_in_seconds = __commonJS({
933
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_seconds/index.js"(exports, module) {
934
- var differenceInMilliseconds = require_difference_in_milliseconds();
935
- function differenceInSeconds(dirtyDateLeft, dirtyDateRight) {
936
- var diff = differenceInMilliseconds(dirtyDateLeft, dirtyDateRight) / 1e3;
937
- return diff > 0 ? Math.floor(diff) : Math.ceil(diff);
938
- }
939
- module.exports = differenceInSeconds;
940
- }
941
- });
942
-
943
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_weeks/index.js
944
- var require_difference_in_weeks = __commonJS({
945
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_weeks/index.js"(exports, module) {
946
- var differenceInDays = require_difference_in_days();
947
- function differenceInWeeks(dirtyDateLeft, dirtyDateRight) {
948
- var diff = differenceInDays(dirtyDateLeft, dirtyDateRight) / 7;
949
- return diff > 0 ? Math.floor(diff) : Math.ceil(diff);
950
- }
951
- module.exports = differenceInWeeks;
952
- }
953
- });
954
-
955
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_years/index.js
956
- var require_difference_in_years = __commonJS({
957
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/difference_in_years/index.js"(exports, module) {
958
- var parse2 = require_parse();
959
- var differenceInCalendarYears = require_difference_in_calendar_years();
960
- var compareAsc = require_compare_asc();
961
- function differenceInYears(dirtyDateLeft, dirtyDateRight) {
962
- var dateLeft = parse2(dirtyDateLeft);
963
- var dateRight = parse2(dirtyDateRight);
964
- var sign = compareAsc(dateLeft, dateRight);
965
- var difference = Math.abs(differenceInCalendarYears(dateLeft, dateRight));
966
- dateLeft.setFullYear(dateLeft.getFullYear() - sign * difference);
967
- var isLastYearNotFull = compareAsc(dateLeft, dateRight) === -sign;
968
- return sign * (difference - isLastYearNotFull);
969
- }
970
- module.exports = differenceInYears;
971
- }
972
- });
973
-
974
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js
975
- var require_build_distance_in_words_locale = __commonJS({
976
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/locale/en/build_distance_in_words_locale/index.js"(exports, module) {
977
- function buildDistanceInWordsLocale() {
978
- var distanceInWordsLocale = {
979
- lessThanXSeconds: {
980
- one: "less than a second",
981
- other: "less than {{count}} seconds"
982
- },
983
- xSeconds: {
984
- one: "1 second",
985
- other: "{{count}} seconds"
986
- },
987
- halfAMinute: "half a minute",
988
- lessThanXMinutes: {
989
- one: "less than a minute",
990
- other: "less than {{count}} minutes"
991
- },
992
- xMinutes: {
993
- one: "1 minute",
994
- other: "{{count}} minutes"
995
- },
996
- aboutXHours: {
997
- one: "about 1 hour",
998
- other: "about {{count}} hours"
999
- },
1000
- xHours: {
1001
- one: "1 hour",
1002
- other: "{{count}} hours"
1003
- },
1004
- xDays: {
1005
- one: "1 day",
1006
- other: "{{count}} days"
1007
- },
1008
- aboutXMonths: {
1009
- one: "about 1 month",
1010
- other: "about {{count}} months"
1011
- },
1012
- xMonths: {
1013
- one: "1 month",
1014
- other: "{{count}} months"
1015
- },
1016
- aboutXYears: {
1017
- one: "about 1 year",
1018
- other: "about {{count}} years"
1019
- },
1020
- xYears: {
1021
- one: "1 year",
1022
- other: "{{count}} years"
1023
- },
1024
- overXYears: {
1025
- one: "over 1 year",
1026
- other: "over {{count}} years"
1027
- },
1028
- almostXYears: {
1029
- one: "almost 1 year",
1030
- other: "almost {{count}} years"
1031
- }
1032
- };
1033
- function localize(token, count, options) {
1034
- options = options || {};
1035
- var result;
1036
- if (typeof distanceInWordsLocale[token] === "string") {
1037
- result = distanceInWordsLocale[token];
1038
- } else if (count === 1) {
1039
- result = distanceInWordsLocale[token].one;
1040
- } else {
1041
- result = distanceInWordsLocale[token].other.replace("{{count}}", count);
1042
- }
1043
- if (options.addSuffix) {
1044
- if (options.comparison > 0) {
1045
- return "in " + result;
1046
- } else {
1047
- return result + " ago";
1048
- }
1049
- }
1050
- return result;
1051
- }
1052
- return {
1053
- localize
1054
- };
1055
- }
1056
- module.exports = buildDistanceInWordsLocale;
569
+ module.exports = buildDistanceInWordsLocale;
1057
570
  }
1058
571
  });
1059
572
 
@@ -1163,2054 +676,245 @@ var require_build_format_locale = __commonJS({
1163
676
  return ordinal(formatters2[formatterToken](date));
1164
677
  };
1165
678
  });
1166
- return {
1167
- formatters,
1168
- formattingTokensRegExp: buildFormattingTokensRegExp(formatters)
1169
- };
1170
- }
1171
- function ordinal(number) {
1172
- var rem100 = number % 100;
1173
- if (rem100 > 20 || rem100 < 10) {
1174
- switch (rem100 % 10) {
1175
- case 1:
1176
- return number + "st";
1177
- case 2:
1178
- return number + "nd";
1179
- case 3:
1180
- return number + "rd";
1181
- }
1182
- }
1183
- return number + "th";
1184
- }
1185
- module.exports = buildFormatLocale;
1186
- }
1187
- });
1188
-
1189
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/locale/en/index.js
1190
- var require_en = __commonJS({
1191
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/locale/en/index.js"(exports, module) {
1192
- var buildDistanceInWordsLocale = require_build_distance_in_words_locale();
1193
- var buildFormatLocale = require_build_format_locale();
1194
- module.exports = {
1195
- distanceInWords: buildDistanceInWordsLocale(),
1196
- format: buildFormatLocale()
1197
- };
1198
- }
1199
- });
1200
-
1201
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/distance_in_words/index.js
1202
- var require_distance_in_words = __commonJS({
1203
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/distance_in_words/index.js"(exports, module) {
1204
- var compareDesc = require_compare_desc();
1205
- var parse2 = require_parse();
1206
- var differenceInSeconds = require_difference_in_seconds();
1207
- var differenceInMonths = require_difference_in_months();
1208
- var enLocale = require_en();
1209
- var MINUTES_IN_DAY = 1440;
1210
- var MINUTES_IN_ALMOST_TWO_DAYS = 2520;
1211
- var MINUTES_IN_MONTH = 43200;
1212
- var MINUTES_IN_TWO_MONTHS = 86400;
1213
- function distanceInWords(dirtyDateToCompare, dirtyDate, dirtyOptions) {
1214
- var options = dirtyOptions || {};
1215
- var comparison = compareDesc(dirtyDateToCompare, dirtyDate);
1216
- var locale = options.locale;
1217
- var localize = enLocale.distanceInWords.localize;
1218
- if (locale && locale.distanceInWords && locale.distanceInWords.localize) {
1219
- localize = locale.distanceInWords.localize;
1220
- }
1221
- var localizeOptions = {
1222
- addSuffix: Boolean(options.addSuffix),
1223
- comparison
1224
- };
1225
- var dateLeft, dateRight;
1226
- if (comparison > 0) {
1227
- dateLeft = parse2(dirtyDateToCompare);
1228
- dateRight = parse2(dirtyDate);
1229
- } else {
1230
- dateLeft = parse2(dirtyDate);
1231
- dateRight = parse2(dirtyDateToCompare);
1232
- }
1233
- var seconds = differenceInSeconds(dateRight, dateLeft);
1234
- var offset = dateRight.getTimezoneOffset() - dateLeft.getTimezoneOffset();
1235
- var minutes = Math.round(seconds / 60) - offset;
1236
- var months;
1237
- if (minutes < 2) {
1238
- if (options.includeSeconds) {
1239
- if (seconds < 5) {
1240
- return localize("lessThanXSeconds", 5, localizeOptions);
1241
- } else if (seconds < 10) {
1242
- return localize("lessThanXSeconds", 10, localizeOptions);
1243
- } else if (seconds < 20) {
1244
- return localize("lessThanXSeconds", 20, localizeOptions);
1245
- } else if (seconds < 40) {
1246
- return localize("halfAMinute", null, localizeOptions);
1247
- } else if (seconds < 60) {
1248
- return localize("lessThanXMinutes", 1, localizeOptions);
1249
- } else {
1250
- return localize("xMinutes", 1, localizeOptions);
1251
- }
1252
- } else {
1253
- if (minutes === 0) {
1254
- return localize("lessThanXMinutes", 1, localizeOptions);
1255
- } else {
1256
- return localize("xMinutes", minutes, localizeOptions);
1257
- }
1258
- }
1259
- } else if (minutes < 45) {
1260
- return localize("xMinutes", minutes, localizeOptions);
1261
- } else if (minutes < 90) {
1262
- return localize("aboutXHours", 1, localizeOptions);
1263
- } else if (minutes < MINUTES_IN_DAY) {
1264
- var hours = Math.round(minutes / 60);
1265
- return localize("aboutXHours", hours, localizeOptions);
1266
- } else if (minutes < MINUTES_IN_ALMOST_TWO_DAYS) {
1267
- return localize("xDays", 1, localizeOptions);
1268
- } else if (minutes < MINUTES_IN_MONTH) {
1269
- var days = Math.round(minutes / MINUTES_IN_DAY);
1270
- return localize("xDays", days, localizeOptions);
1271
- } else if (minutes < MINUTES_IN_TWO_MONTHS) {
1272
- months = Math.round(minutes / MINUTES_IN_MONTH);
1273
- return localize("aboutXMonths", months, localizeOptions);
1274
- }
1275
- months = differenceInMonths(dateRight, dateLeft);
1276
- if (months < 12) {
1277
- var nearestMonth = Math.round(minutes / MINUTES_IN_MONTH);
1278
- return localize("xMonths", nearestMonth, localizeOptions);
1279
- } else {
1280
- var monthsSinceStartOfYear = months % 12;
1281
- var years = Math.floor(months / 12);
1282
- if (monthsSinceStartOfYear < 3) {
1283
- return localize("aboutXYears", years, localizeOptions);
1284
- } else if (monthsSinceStartOfYear < 9) {
1285
- return localize("overXYears", years, localizeOptions);
1286
- } else {
1287
- return localize("almostXYears", years + 1, localizeOptions);
1288
- }
1289
- }
1290
- }
1291
- module.exports = distanceInWords;
1292
- }
1293
- });
1294
-
1295
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/distance_in_words_strict/index.js
1296
- var require_distance_in_words_strict = __commonJS({
1297
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/distance_in_words_strict/index.js"(exports, module) {
1298
- var compareDesc = require_compare_desc();
1299
- var parse2 = require_parse();
1300
- var differenceInSeconds = require_difference_in_seconds();
1301
- var enLocale = require_en();
1302
- var MINUTES_IN_DAY = 1440;
1303
- var MINUTES_IN_MONTH = 43200;
1304
- var MINUTES_IN_YEAR = 525600;
1305
- function distanceInWordsStrict(dirtyDateToCompare, dirtyDate, dirtyOptions) {
1306
- var options = dirtyOptions || {};
1307
- var comparison = compareDesc(dirtyDateToCompare, dirtyDate);
1308
- var locale = options.locale;
1309
- var localize = enLocale.distanceInWords.localize;
1310
- if (locale && locale.distanceInWords && locale.distanceInWords.localize) {
1311
- localize = locale.distanceInWords.localize;
1312
- }
1313
- var localizeOptions = {
1314
- addSuffix: Boolean(options.addSuffix),
1315
- comparison
1316
- };
1317
- var dateLeft, dateRight;
1318
- if (comparison > 0) {
1319
- dateLeft = parse2(dirtyDateToCompare);
1320
- dateRight = parse2(dirtyDate);
1321
- } else {
1322
- dateLeft = parse2(dirtyDate);
1323
- dateRight = parse2(dirtyDateToCompare);
1324
- }
1325
- var unit;
1326
- var mathPartial = Math[options.partialMethod ? String(options.partialMethod) : "floor"];
1327
- var seconds = differenceInSeconds(dateRight, dateLeft);
1328
- var offset = dateRight.getTimezoneOffset() - dateLeft.getTimezoneOffset();
1329
- var minutes = mathPartial(seconds / 60) - offset;
1330
- var hours, days, months, years;
1331
- if (options.unit) {
1332
- unit = String(options.unit);
1333
- } else {
1334
- if (minutes < 1) {
1335
- unit = "s";
1336
- } else if (minutes < 60) {
1337
- unit = "m";
1338
- } else if (minutes < MINUTES_IN_DAY) {
1339
- unit = "h";
1340
- } else if (minutes < MINUTES_IN_MONTH) {
1341
- unit = "d";
1342
- } else if (minutes < MINUTES_IN_YEAR) {
1343
- unit = "M";
1344
- } else {
1345
- unit = "Y";
1346
- }
1347
- }
1348
- if (unit === "s") {
1349
- return localize("xSeconds", seconds, localizeOptions);
1350
- } else if (unit === "m") {
1351
- return localize("xMinutes", minutes, localizeOptions);
1352
- } else if (unit === "h") {
1353
- hours = mathPartial(minutes / 60);
1354
- return localize("xHours", hours, localizeOptions);
1355
- } else if (unit === "d") {
1356
- days = mathPartial(minutes / MINUTES_IN_DAY);
1357
- return localize("xDays", days, localizeOptions);
1358
- } else if (unit === "M") {
1359
- months = mathPartial(minutes / MINUTES_IN_MONTH);
1360
- return localize("xMonths", months, localizeOptions);
1361
- } else if (unit === "Y") {
1362
- years = mathPartial(minutes / MINUTES_IN_YEAR);
1363
- return localize("xYears", years, localizeOptions);
1364
- }
1365
- throw new Error("Unknown unit: " + unit);
1366
- }
1367
- module.exports = distanceInWordsStrict;
1368
- }
1369
- });
1370
-
1371
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/distance_in_words_to_now/index.js
1372
- var require_distance_in_words_to_now = __commonJS({
1373
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/distance_in_words_to_now/index.js"(exports, module) {
1374
- var distanceInWords = require_distance_in_words();
1375
- function distanceInWordsToNow(dirtyDate, dirtyOptions) {
1376
- return distanceInWords(Date.now(), dirtyDate, dirtyOptions);
1377
- }
1378
- module.exports = distanceInWordsToNow;
1379
- }
1380
- });
1381
-
1382
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/each_day/index.js
1383
- var require_each_day = __commonJS({
1384
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/each_day/index.js"(exports, module) {
1385
- var parse2 = require_parse();
1386
- function eachDay(dirtyStartDate, dirtyEndDate, dirtyStep) {
1387
- var startDate = parse2(dirtyStartDate);
1388
- var endDate = parse2(dirtyEndDate);
1389
- var step = dirtyStep !== void 0 ? dirtyStep : 1;
1390
- var endTime = endDate.getTime();
1391
- if (startDate.getTime() > endTime) {
1392
- throw new Error("The first date cannot be after the second date");
1393
- }
1394
- var dates = [];
1395
- var currentDate = startDate;
1396
- currentDate.setHours(0, 0, 0, 0);
1397
- while (currentDate.getTime() <= endTime) {
1398
- dates.push(parse2(currentDate));
1399
- currentDate.setDate(currentDate.getDate() + step);
1400
- }
1401
- return dates;
1402
- }
1403
- module.exports = eachDay;
1404
- }
1405
- });
1406
-
1407
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_day/index.js
1408
- var require_end_of_day = __commonJS({
1409
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_day/index.js"(exports, module) {
1410
- var parse2 = require_parse();
1411
- function endOfDay(dirtyDate) {
1412
- var date = parse2(dirtyDate);
1413
- date.setHours(23, 59, 59, 999);
1414
- return date;
1415
- }
1416
- module.exports = endOfDay;
1417
- }
1418
- });
1419
-
1420
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_hour/index.js
1421
- var require_end_of_hour = __commonJS({
1422
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_hour/index.js"(exports, module) {
1423
- var parse2 = require_parse();
1424
- function endOfHour(dirtyDate) {
1425
- var date = parse2(dirtyDate);
1426
- date.setMinutes(59, 59, 999);
1427
- return date;
1428
- }
1429
- module.exports = endOfHour;
1430
- }
1431
- });
1432
-
1433
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_week/index.js
1434
- var require_end_of_week = __commonJS({
1435
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_week/index.js"(exports, module) {
1436
- var parse2 = require_parse();
1437
- function endOfWeek(dirtyDate, dirtyOptions) {
1438
- var weekStartsOn = dirtyOptions ? Number(dirtyOptions.weekStartsOn) || 0 : 0;
1439
- var date = parse2(dirtyDate);
1440
- var day = date.getDay();
1441
- var diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn);
1442
- date.setDate(date.getDate() + diff);
1443
- date.setHours(23, 59, 59, 999);
1444
- return date;
1445
- }
1446
- module.exports = endOfWeek;
1447
- }
1448
- });
1449
-
1450
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_iso_week/index.js
1451
- var require_end_of_iso_week = __commonJS({
1452
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_iso_week/index.js"(exports, module) {
1453
- var endOfWeek = require_end_of_week();
1454
- function endOfISOWeek(dirtyDate) {
1455
- return endOfWeek(dirtyDate, { weekStartsOn: 1 });
1456
- }
1457
- module.exports = endOfISOWeek;
1458
- }
1459
- });
1460
-
1461
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_iso_year/index.js
1462
- var require_end_of_iso_year = __commonJS({
1463
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_iso_year/index.js"(exports, module) {
1464
- var getISOYear = require_get_iso_year();
1465
- var startOfISOWeek = require_start_of_iso_week();
1466
- function endOfISOYear(dirtyDate) {
1467
- var year = getISOYear(dirtyDate);
1468
- var fourthOfJanuaryOfNextYear = /* @__PURE__ */ new Date(0);
1469
- fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);
1470
- fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);
1471
- var date = startOfISOWeek(fourthOfJanuaryOfNextYear);
1472
- date.setMilliseconds(date.getMilliseconds() - 1);
1473
- return date;
1474
- }
1475
- module.exports = endOfISOYear;
1476
- }
1477
- });
1478
-
1479
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_minute/index.js
1480
- var require_end_of_minute = __commonJS({
1481
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_minute/index.js"(exports, module) {
1482
- var parse2 = require_parse();
1483
- function endOfMinute(dirtyDate) {
1484
- var date = parse2(dirtyDate);
1485
- date.setSeconds(59, 999);
1486
- return date;
1487
- }
1488
- module.exports = endOfMinute;
1489
- }
1490
- });
1491
-
1492
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_month/index.js
1493
- var require_end_of_month = __commonJS({
1494
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_month/index.js"(exports, module) {
1495
- var parse2 = require_parse();
1496
- function endOfMonth(dirtyDate) {
1497
- var date = parse2(dirtyDate);
1498
- var month = date.getMonth();
1499
- date.setFullYear(date.getFullYear(), month + 1, 0);
1500
- date.setHours(23, 59, 59, 999);
1501
- return date;
1502
- }
1503
- module.exports = endOfMonth;
1504
- }
1505
- });
1506
-
1507
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_quarter/index.js
1508
- var require_end_of_quarter = __commonJS({
1509
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_quarter/index.js"(exports, module) {
1510
- var parse2 = require_parse();
1511
- function endOfQuarter(dirtyDate) {
1512
- var date = parse2(dirtyDate);
1513
- var currentMonth = date.getMonth();
1514
- var month = currentMonth - currentMonth % 3 + 3;
1515
- date.setMonth(month, 0);
1516
- date.setHours(23, 59, 59, 999);
1517
- return date;
1518
- }
1519
- module.exports = endOfQuarter;
1520
- }
1521
- });
1522
-
1523
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_second/index.js
1524
- var require_end_of_second = __commonJS({
1525
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_second/index.js"(exports, module) {
1526
- var parse2 = require_parse();
1527
- function endOfSecond(dirtyDate) {
1528
- var date = parse2(dirtyDate);
1529
- date.setMilliseconds(999);
1530
- return date;
1531
- }
1532
- module.exports = endOfSecond;
1533
- }
1534
- });
1535
-
1536
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_today/index.js
1537
- var require_end_of_today = __commonJS({
1538
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_today/index.js"(exports, module) {
1539
- var endOfDay = require_end_of_day();
1540
- function endOfToday() {
1541
- return endOfDay(/* @__PURE__ */ new Date());
1542
- }
1543
- module.exports = endOfToday;
1544
- }
1545
- });
1546
-
1547
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_tomorrow/index.js
1548
- var require_end_of_tomorrow = __commonJS({
1549
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_tomorrow/index.js"(exports, module) {
1550
- function endOfTomorrow() {
1551
- var now = /* @__PURE__ */ new Date();
1552
- var year = now.getFullYear();
1553
- var month = now.getMonth();
1554
- var day = now.getDate();
1555
- var date = /* @__PURE__ */ new Date(0);
1556
- date.setFullYear(year, month, day + 1);
1557
- date.setHours(23, 59, 59, 999);
1558
- return date;
1559
- }
1560
- module.exports = endOfTomorrow;
1561
- }
1562
- });
1563
-
1564
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_year/index.js
1565
- var require_end_of_year = __commonJS({
1566
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_year/index.js"(exports, module) {
1567
- var parse2 = require_parse();
1568
- function endOfYear(dirtyDate) {
1569
- var date = parse2(dirtyDate);
1570
- var year = date.getFullYear();
1571
- date.setFullYear(year + 1, 0, 0);
1572
- date.setHours(23, 59, 59, 999);
1573
- return date;
1574
- }
1575
- module.exports = endOfYear;
1576
- }
1577
- });
1578
-
1579
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_yesterday/index.js
1580
- var require_end_of_yesterday = __commonJS({
1581
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/end_of_yesterday/index.js"(exports, module) {
1582
- function endOfYesterday() {
1583
- var now = /* @__PURE__ */ new Date();
1584
- var year = now.getFullYear();
1585
- var month = now.getMonth();
1586
- var day = now.getDate();
1587
- var date = /* @__PURE__ */ new Date(0);
1588
- date.setFullYear(year, month, day - 1);
1589
- date.setHours(23, 59, 59, 999);
1590
- return date;
1591
- }
1592
- module.exports = endOfYesterday;
1593
- }
1594
- });
1595
-
1596
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_year/index.js
1597
- var require_start_of_year = __commonJS({
1598
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_year/index.js"(exports, module) {
1599
- var parse2 = require_parse();
1600
- function startOfYear(dirtyDate) {
1601
- var cleanDate = parse2(dirtyDate);
1602
- var date = /* @__PURE__ */ new Date(0);
1603
- date.setFullYear(cleanDate.getFullYear(), 0, 1);
1604
- date.setHours(0, 0, 0, 0);
1605
- return date;
1606
- }
1607
- module.exports = startOfYear;
1608
- }
1609
- });
1610
-
1611
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_day_of_year/index.js
1612
- var require_get_day_of_year = __commonJS({
1613
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_day_of_year/index.js"(exports, module) {
1614
- var parse2 = require_parse();
1615
- var startOfYear = require_start_of_year();
1616
- var differenceInCalendarDays = require_difference_in_calendar_days();
1617
- function getDayOfYear(dirtyDate) {
1618
- var date = parse2(dirtyDate);
1619
- var diff = differenceInCalendarDays(date, startOfYear(date));
1620
- var dayOfYear = diff + 1;
1621
- return dayOfYear;
1622
- }
1623
- module.exports = getDayOfYear;
1624
- }
1625
- });
1626
-
1627
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_iso_week/index.js
1628
- var require_get_iso_week = __commonJS({
1629
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_iso_week/index.js"(exports, module) {
1630
- var parse2 = require_parse();
1631
- var startOfISOWeek = require_start_of_iso_week();
1632
- var startOfISOYear = require_start_of_iso_year();
1633
- var MILLISECONDS_IN_WEEK = 6048e5;
1634
- function getISOWeek(dirtyDate) {
1635
- var date = parse2(dirtyDate);
1636
- var diff = startOfISOWeek(date).getTime() - startOfISOYear(date).getTime();
1637
- return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
1638
- }
1639
- module.exports = getISOWeek;
1640
- }
1641
- });
1642
-
1643
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_valid/index.js
1644
- var require_is_valid = __commonJS({
1645
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_valid/index.js"(exports, module) {
1646
- var isDate = require_is_date();
1647
- function isValid(dirtyDate) {
1648
- if (isDate(dirtyDate)) {
1649
- return !isNaN(dirtyDate);
1650
- } else {
1651
- throw new TypeError(toString.call(dirtyDate) + " is not an instance of Date");
1652
- }
1653
- }
1654
- module.exports = isValid;
1655
- }
1656
- });
1657
-
1658
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/format/index.js
1659
- var require_format = __commonJS({
1660
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/format/index.js"(exports, module) {
1661
- var getDayOfYear = require_get_day_of_year();
1662
- var getISOWeek = require_get_iso_week();
1663
- var getISOYear = require_get_iso_year();
1664
- var parse2 = require_parse();
1665
- var isValid = require_is_valid();
1666
- var enLocale = require_en();
1667
- function format2(dirtyDate, dirtyFormatStr, dirtyOptions) {
1668
- var formatStr = dirtyFormatStr ? String(dirtyFormatStr) : "YYYY-MM-DDTHH:mm:ss.SSSZ";
1669
- var options = dirtyOptions || {};
1670
- var locale = options.locale;
1671
- var localeFormatters = enLocale.format.formatters;
1672
- var formattingTokensRegExp = enLocale.format.formattingTokensRegExp;
1673
- if (locale && locale.format && locale.format.formatters) {
1674
- localeFormatters = locale.format.formatters;
1675
- if (locale.format.formattingTokensRegExp) {
1676
- formattingTokensRegExp = locale.format.formattingTokensRegExp;
1677
- }
1678
- }
1679
- var date = parse2(dirtyDate);
1680
- if (!isValid(date)) {
1681
- return "Invalid Date";
1682
- }
1683
- var formatFn = buildFormatFn(formatStr, localeFormatters, formattingTokensRegExp);
1684
- return formatFn(date);
1685
- }
1686
- var formatters = {
1687
- // Month: 1, 2, ..., 12
1688
- "M": function(date) {
1689
- return date.getMonth() + 1;
1690
- },
1691
- // Month: 01, 02, ..., 12
1692
- "MM": function(date) {
1693
- return addLeadingZeros(date.getMonth() + 1, 2);
1694
- },
1695
- // Quarter: 1, 2, 3, 4
1696
- "Q": function(date) {
1697
- return Math.ceil((date.getMonth() + 1) / 3);
1698
- },
1699
- // Day of month: 1, 2, ..., 31
1700
- "D": function(date) {
1701
- return date.getDate();
1702
- },
1703
- // Day of month: 01, 02, ..., 31
1704
- "DD": function(date) {
1705
- return addLeadingZeros(date.getDate(), 2);
1706
- },
1707
- // Day of year: 1, 2, ..., 366
1708
- "DDD": function(date) {
1709
- return getDayOfYear(date);
1710
- },
1711
- // Day of year: 001, 002, ..., 366
1712
- "DDDD": function(date) {
1713
- return addLeadingZeros(getDayOfYear(date), 3);
1714
- },
1715
- // Day of week: 0, 1, ..., 6
1716
- "d": function(date) {
1717
- return date.getDay();
1718
- },
1719
- // Day of ISO week: 1, 2, ..., 7
1720
- "E": function(date) {
1721
- return date.getDay() || 7;
1722
- },
1723
- // ISO week: 1, 2, ..., 53
1724
- "W": function(date) {
1725
- return getISOWeek(date);
1726
- },
1727
- // ISO week: 01, 02, ..., 53
1728
- "WW": function(date) {
1729
- return addLeadingZeros(getISOWeek(date), 2);
1730
- },
1731
- // Year: 00, 01, ..., 99
1732
- "YY": function(date) {
1733
- return addLeadingZeros(date.getFullYear(), 4).substr(2);
1734
- },
1735
- // Year: 1900, 1901, ..., 2099
1736
- "YYYY": function(date) {
1737
- return addLeadingZeros(date.getFullYear(), 4);
1738
- },
1739
- // ISO week-numbering year: 00, 01, ..., 99
1740
- "GG": function(date) {
1741
- return String(getISOYear(date)).substr(2);
1742
- },
1743
- // ISO week-numbering year: 1900, 1901, ..., 2099
1744
- "GGGG": function(date) {
1745
- return getISOYear(date);
1746
- },
1747
- // Hour: 0, 1, ... 23
1748
- "H": function(date) {
1749
- return date.getHours();
1750
- },
1751
- // Hour: 00, 01, ..., 23
1752
- "HH": function(date) {
1753
- return addLeadingZeros(date.getHours(), 2);
1754
- },
1755
- // Hour: 1, 2, ..., 12
1756
- "h": function(date) {
1757
- var hours = date.getHours();
1758
- if (hours === 0) {
1759
- return 12;
1760
- } else if (hours > 12) {
1761
- return hours % 12;
1762
- } else {
1763
- return hours;
1764
- }
1765
- },
1766
- // Hour: 01, 02, ..., 12
1767
- "hh": function(date) {
1768
- return addLeadingZeros(formatters["h"](date), 2);
1769
- },
1770
- // Minute: 0, 1, ..., 59
1771
- "m": function(date) {
1772
- return date.getMinutes();
1773
- },
1774
- // Minute: 00, 01, ..., 59
1775
- "mm": function(date) {
1776
- return addLeadingZeros(date.getMinutes(), 2);
1777
- },
1778
- // Second: 0, 1, ..., 59
1779
- "s": function(date) {
1780
- return date.getSeconds();
1781
- },
1782
- // Second: 00, 01, ..., 59
1783
- "ss": function(date) {
1784
- return addLeadingZeros(date.getSeconds(), 2);
1785
- },
1786
- // 1/10 of second: 0, 1, ..., 9
1787
- "S": function(date) {
1788
- return Math.floor(date.getMilliseconds() / 100);
1789
- },
1790
- // 1/100 of second: 00, 01, ..., 99
1791
- "SS": function(date) {
1792
- return addLeadingZeros(Math.floor(date.getMilliseconds() / 10), 2);
1793
- },
1794
- // Millisecond: 000, 001, ..., 999
1795
- "SSS": function(date) {
1796
- return addLeadingZeros(date.getMilliseconds(), 3);
1797
- },
1798
- // Timezone: -01:00, +00:00, ... +12:00
1799
- "Z": function(date) {
1800
- return formatTimezone(date.getTimezoneOffset(), ":");
1801
- },
1802
- // Timezone: -0100, +0000, ... +1200
1803
- "ZZ": function(date) {
1804
- return formatTimezone(date.getTimezoneOffset());
1805
- },
1806
- // Seconds timestamp: 512969520
1807
- "X": function(date) {
1808
- return Math.floor(date.getTime() / 1e3);
1809
- },
1810
- // Milliseconds timestamp: 512969520900
1811
- "x": function(date) {
1812
- return date.getTime();
1813
- }
1814
- };
1815
- function buildFormatFn(formatStr, localeFormatters, formattingTokensRegExp) {
1816
- var array = formatStr.match(formattingTokensRegExp);
1817
- var length = array.length;
1818
- var i;
1819
- var formatter;
1820
- for (i = 0; i < length; i++) {
1821
- formatter = localeFormatters[array[i]] || formatters[array[i]];
1822
- if (formatter) {
1823
- array[i] = formatter;
1824
- } else {
1825
- array[i] = removeFormattingTokens(array[i]);
1826
- }
1827
- }
1828
- return function(date) {
1829
- var output = "";
1830
- for (var i2 = 0; i2 < length; i2++) {
1831
- if (array[i2] instanceof Function) {
1832
- output += array[i2](date, formatters);
1833
- } else {
1834
- output += array[i2];
1835
- }
1836
- }
1837
- return output;
1838
- };
1839
- }
1840
- function removeFormattingTokens(input) {
1841
- if (input.match(/\[[\s\S]/)) {
1842
- return input.replace(/^\[|]$/g, "");
1843
- }
1844
- return input.replace(/\\/g, "");
1845
- }
1846
- function formatTimezone(offset, delimeter) {
1847
- delimeter = delimeter || "";
1848
- var sign = offset > 0 ? "-" : "+";
1849
- var absOffset = Math.abs(offset);
1850
- var hours = Math.floor(absOffset / 60);
1851
- var minutes = absOffset % 60;
1852
- return sign + addLeadingZeros(hours, 2) + delimeter + addLeadingZeros(minutes, 2);
1853
- }
1854
- function addLeadingZeros(number, targetLength) {
1855
- var output = Math.abs(number).toString();
1856
- while (output.length < targetLength) {
1857
- output = "0" + output;
1858
- }
1859
- return output;
1860
- }
1861
- module.exports = format2;
1862
- }
1863
- });
1864
-
1865
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_date/index.js
1866
- var require_get_date = __commonJS({
1867
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_date/index.js"(exports, module) {
1868
- var parse2 = require_parse();
1869
- function getDate(dirtyDate) {
1870
- var date = parse2(dirtyDate);
1871
- var dayOfMonth = date.getDate();
1872
- return dayOfMonth;
1873
- }
1874
- module.exports = getDate;
1875
- }
1876
- });
1877
-
1878
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_day/index.js
1879
- var require_get_day = __commonJS({
1880
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_day/index.js"(exports, module) {
1881
- var parse2 = require_parse();
1882
- function getDay(dirtyDate) {
1883
- var date = parse2(dirtyDate);
1884
- var day = date.getDay();
1885
- return day;
1886
- }
1887
- module.exports = getDay;
1888
- }
1889
- });
1890
-
1891
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_leap_year/index.js
1892
- var require_is_leap_year = __commonJS({
1893
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_leap_year/index.js"(exports, module) {
1894
- var parse2 = require_parse();
1895
- function isLeapYear(dirtyDate) {
1896
- var date = parse2(dirtyDate);
1897
- var year = date.getFullYear();
1898
- return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
1899
- }
1900
- module.exports = isLeapYear;
1901
- }
1902
- });
1903
-
1904
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_days_in_year/index.js
1905
- var require_get_days_in_year = __commonJS({
1906
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_days_in_year/index.js"(exports, module) {
1907
- var isLeapYear = require_is_leap_year();
1908
- function getDaysInYear(dirtyDate) {
1909
- return isLeapYear(dirtyDate) ? 366 : 365;
1910
- }
1911
- module.exports = getDaysInYear;
1912
- }
1913
- });
1914
-
1915
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_hours/index.js
1916
- var require_get_hours = __commonJS({
1917
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_hours/index.js"(exports, module) {
1918
- var parse2 = require_parse();
1919
- function getHours(dirtyDate) {
1920
- var date = parse2(dirtyDate);
1921
- var hours = date.getHours();
1922
- return hours;
1923
- }
1924
- module.exports = getHours;
1925
- }
1926
- });
1927
-
1928
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_iso_day/index.js
1929
- var require_get_iso_day = __commonJS({
1930
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_iso_day/index.js"(exports, module) {
1931
- var parse2 = require_parse();
1932
- function getISODay(dirtyDate) {
1933
- var date = parse2(dirtyDate);
1934
- var day = date.getDay();
1935
- if (day === 0) {
1936
- day = 7;
1937
- }
1938
- return day;
1939
- }
1940
- module.exports = getISODay;
1941
- }
1942
- });
1943
-
1944
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_iso_weeks_in_year/index.js
1945
- var require_get_iso_weeks_in_year = __commonJS({
1946
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_iso_weeks_in_year/index.js"(exports, module) {
1947
- var startOfISOYear = require_start_of_iso_year();
1948
- var addWeeks = require_add_weeks();
1949
- var MILLISECONDS_IN_WEEK = 6048e5;
1950
- function getISOWeeksInYear(dirtyDate) {
1951
- var thisYear = startOfISOYear(dirtyDate);
1952
- var nextYear = startOfISOYear(addWeeks(thisYear, 60));
1953
- var diff = nextYear.valueOf() - thisYear.valueOf();
1954
- return Math.round(diff / MILLISECONDS_IN_WEEK);
1955
- }
1956
- module.exports = getISOWeeksInYear;
1957
- }
1958
- });
1959
-
1960
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_milliseconds/index.js
1961
- var require_get_milliseconds = __commonJS({
1962
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_milliseconds/index.js"(exports, module) {
1963
- var parse2 = require_parse();
1964
- function getMilliseconds(dirtyDate) {
1965
- var date = parse2(dirtyDate);
1966
- var milliseconds = date.getMilliseconds();
1967
- return milliseconds;
1968
- }
1969
- module.exports = getMilliseconds;
1970
- }
1971
- });
1972
-
1973
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_minutes/index.js
1974
- var require_get_minutes = __commonJS({
1975
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_minutes/index.js"(exports, module) {
1976
- var parse2 = require_parse();
1977
- function getMinutes(dirtyDate) {
1978
- var date = parse2(dirtyDate);
1979
- var minutes = date.getMinutes();
1980
- return minutes;
1981
- }
1982
- module.exports = getMinutes;
1983
- }
1984
- });
1985
-
1986
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_month/index.js
1987
- var require_get_month = __commonJS({
1988
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_month/index.js"(exports, module) {
1989
- var parse2 = require_parse();
1990
- function getMonth(dirtyDate) {
1991
- var date = parse2(dirtyDate);
1992
- var month = date.getMonth();
1993
- return month;
1994
- }
1995
- module.exports = getMonth;
1996
- }
1997
- });
1998
-
1999
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_overlapping_days_in_ranges/index.js
2000
- var require_get_overlapping_days_in_ranges = __commonJS({
2001
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_overlapping_days_in_ranges/index.js"(exports, module) {
2002
- var parse2 = require_parse();
2003
- var MILLISECONDS_IN_DAY = 24 * 60 * 60 * 1e3;
2004
- function getOverlappingDaysInRanges(dirtyInitialRangeStartDate, dirtyInitialRangeEndDate, dirtyComparedRangeStartDate, dirtyComparedRangeEndDate) {
2005
- var initialStartTime = parse2(dirtyInitialRangeStartDate).getTime();
2006
- var initialEndTime = parse2(dirtyInitialRangeEndDate).getTime();
2007
- var comparedStartTime = parse2(dirtyComparedRangeStartDate).getTime();
2008
- var comparedEndTime = parse2(dirtyComparedRangeEndDate).getTime();
2009
- if (initialStartTime > initialEndTime || comparedStartTime > comparedEndTime) {
2010
- throw new Error("The start of the range cannot be after the end of the range");
2011
- }
2012
- var isOverlapping = initialStartTime < comparedEndTime && comparedStartTime < initialEndTime;
2013
- if (!isOverlapping) {
2014
- return 0;
2015
- }
2016
- var overlapStartDate = comparedStartTime < initialStartTime ? initialStartTime : comparedStartTime;
2017
- var overlapEndDate = comparedEndTime > initialEndTime ? initialEndTime : comparedEndTime;
2018
- var differenceInMs = overlapEndDate - overlapStartDate;
2019
- return Math.ceil(differenceInMs / MILLISECONDS_IN_DAY);
2020
- }
2021
- module.exports = getOverlappingDaysInRanges;
2022
- }
2023
- });
2024
-
2025
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_seconds/index.js
2026
- var require_get_seconds = __commonJS({
2027
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_seconds/index.js"(exports, module) {
2028
- var parse2 = require_parse();
2029
- function getSeconds(dirtyDate) {
2030
- var date = parse2(dirtyDate);
2031
- var seconds = date.getSeconds();
2032
- return seconds;
2033
- }
2034
- module.exports = getSeconds;
2035
- }
2036
- });
2037
-
2038
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_time/index.js
2039
- var require_get_time = __commonJS({
2040
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_time/index.js"(exports, module) {
2041
- var parse2 = require_parse();
2042
- function getTime(dirtyDate) {
2043
- var date = parse2(dirtyDate);
2044
- var timestamp = date.getTime();
2045
- return timestamp;
2046
- }
2047
- module.exports = getTime;
2048
- }
2049
- });
2050
-
2051
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_year/index.js
2052
- var require_get_year = __commonJS({
2053
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/get_year/index.js"(exports, module) {
2054
- var parse2 = require_parse();
2055
- function getYear(dirtyDate) {
2056
- var date = parse2(dirtyDate);
2057
- var year = date.getFullYear();
2058
- return year;
2059
- }
2060
- module.exports = getYear;
2061
- }
2062
- });
2063
-
2064
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_after/index.js
2065
- var require_is_after = __commonJS({
2066
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_after/index.js"(exports, module) {
2067
- var parse2 = require_parse();
2068
- function isAfter(dirtyDate, dirtyDateToCompare) {
2069
- var date = parse2(dirtyDate);
2070
- var dateToCompare = parse2(dirtyDateToCompare);
2071
- return date.getTime() > dateToCompare.getTime();
2072
- }
2073
- module.exports = isAfter;
2074
- }
2075
- });
2076
-
2077
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_before/index.js
2078
- var require_is_before = __commonJS({
2079
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_before/index.js"(exports, module) {
2080
- var parse2 = require_parse();
2081
- function isBefore(dirtyDate, dirtyDateToCompare) {
2082
- var date = parse2(dirtyDate);
2083
- var dateToCompare = parse2(dirtyDateToCompare);
2084
- return date.getTime() < dateToCompare.getTime();
2085
- }
2086
- module.exports = isBefore;
2087
- }
2088
- });
2089
-
2090
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_equal/index.js
2091
- var require_is_equal = __commonJS({
2092
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_equal/index.js"(exports, module) {
2093
- var parse2 = require_parse();
2094
- function isEqual(dirtyLeftDate, dirtyRightDate) {
2095
- var dateLeft = parse2(dirtyLeftDate);
2096
- var dateRight = parse2(dirtyRightDate);
2097
- return dateLeft.getTime() === dateRight.getTime();
2098
- }
2099
- module.exports = isEqual;
2100
- }
2101
- });
2102
-
2103
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_first_day_of_month/index.js
2104
- var require_is_first_day_of_month = __commonJS({
2105
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_first_day_of_month/index.js"(exports, module) {
2106
- var parse2 = require_parse();
2107
- function isFirstDayOfMonth(dirtyDate) {
2108
- return parse2(dirtyDate).getDate() === 1;
2109
- }
2110
- module.exports = isFirstDayOfMonth;
2111
- }
2112
- });
2113
-
2114
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_friday/index.js
2115
- var require_is_friday = __commonJS({
2116
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_friday/index.js"(exports, module) {
2117
- var parse2 = require_parse();
2118
- function isFriday(dirtyDate) {
2119
- return parse2(dirtyDate).getDay() === 5;
2120
- }
2121
- module.exports = isFriday;
2122
- }
2123
- });
2124
-
2125
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_future/index.js
2126
- var require_is_future = __commonJS({
2127
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_future/index.js"(exports, module) {
2128
- var parse2 = require_parse();
2129
- function isFuture(dirtyDate) {
2130
- return parse2(dirtyDate).getTime() > (/* @__PURE__ */ new Date()).getTime();
2131
- }
2132
- module.exports = isFuture;
2133
- }
2134
- });
2135
-
2136
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_last_day_of_month/index.js
2137
- var require_is_last_day_of_month = __commonJS({
2138
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_last_day_of_month/index.js"(exports, module) {
2139
- var parse2 = require_parse();
2140
- var endOfDay = require_end_of_day();
2141
- var endOfMonth = require_end_of_month();
2142
- function isLastDayOfMonth(dirtyDate) {
2143
- var date = parse2(dirtyDate);
2144
- return endOfDay(date).getTime() === endOfMonth(date).getTime();
2145
- }
2146
- module.exports = isLastDayOfMonth;
2147
- }
2148
- });
2149
-
2150
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_monday/index.js
2151
- var require_is_monday = __commonJS({
2152
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_monday/index.js"(exports, module) {
2153
- var parse2 = require_parse();
2154
- function isMonday(dirtyDate) {
2155
- return parse2(dirtyDate).getDay() === 1;
2156
- }
2157
- module.exports = isMonday;
2158
- }
2159
- });
2160
-
2161
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_past/index.js
2162
- var require_is_past = __commonJS({
2163
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_past/index.js"(exports, module) {
2164
- var parse2 = require_parse();
2165
- function isPast(dirtyDate) {
2166
- return parse2(dirtyDate).getTime() < (/* @__PURE__ */ new Date()).getTime();
2167
- }
2168
- module.exports = isPast;
2169
- }
2170
- });
2171
-
2172
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_day/index.js
2173
- var require_is_same_day = __commonJS({
2174
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_day/index.js"(exports, module) {
2175
- var startOfDay = require_start_of_day();
2176
- function isSameDay(dirtyDateLeft, dirtyDateRight) {
2177
- var dateLeftStartOfDay = startOfDay(dirtyDateLeft);
2178
- var dateRightStartOfDay = startOfDay(dirtyDateRight);
2179
- return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();
2180
- }
2181
- module.exports = isSameDay;
2182
- }
2183
- });
2184
-
2185
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_hour/index.js
2186
- var require_start_of_hour = __commonJS({
2187
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_hour/index.js"(exports, module) {
2188
- var parse2 = require_parse();
2189
- function startOfHour(dirtyDate) {
2190
- var date = parse2(dirtyDate);
2191
- date.setMinutes(0, 0, 0);
2192
- return date;
2193
- }
2194
- module.exports = startOfHour;
2195
- }
2196
- });
2197
-
2198
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_hour/index.js
2199
- var require_is_same_hour = __commonJS({
2200
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_hour/index.js"(exports, module) {
2201
- var startOfHour = require_start_of_hour();
2202
- function isSameHour(dirtyDateLeft, dirtyDateRight) {
2203
- var dateLeftStartOfHour = startOfHour(dirtyDateLeft);
2204
- var dateRightStartOfHour = startOfHour(dirtyDateRight);
2205
- return dateLeftStartOfHour.getTime() === dateRightStartOfHour.getTime();
2206
- }
2207
- module.exports = isSameHour;
2208
- }
2209
- });
2210
-
2211
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_week/index.js
2212
- var require_is_same_week = __commonJS({
2213
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_week/index.js"(exports, module) {
2214
- var startOfWeek = require_start_of_week();
2215
- function isSameWeek(dirtyDateLeft, dirtyDateRight, dirtyOptions) {
2216
- var dateLeftStartOfWeek = startOfWeek(dirtyDateLeft, dirtyOptions);
2217
- var dateRightStartOfWeek = startOfWeek(dirtyDateRight, dirtyOptions);
2218
- return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime();
2219
- }
2220
- module.exports = isSameWeek;
2221
- }
2222
- });
2223
-
2224
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_iso_week/index.js
2225
- var require_is_same_iso_week = __commonJS({
2226
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_iso_week/index.js"(exports, module) {
2227
- var isSameWeek = require_is_same_week();
2228
- function isSameISOWeek(dirtyDateLeft, dirtyDateRight) {
2229
- return isSameWeek(dirtyDateLeft, dirtyDateRight, { weekStartsOn: 1 });
2230
- }
2231
- module.exports = isSameISOWeek;
2232
- }
2233
- });
2234
-
2235
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_iso_year/index.js
2236
- var require_is_same_iso_year = __commonJS({
2237
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_iso_year/index.js"(exports, module) {
2238
- var startOfISOYear = require_start_of_iso_year();
2239
- function isSameISOYear(dirtyDateLeft, dirtyDateRight) {
2240
- var dateLeftStartOfYear = startOfISOYear(dirtyDateLeft);
2241
- var dateRightStartOfYear = startOfISOYear(dirtyDateRight);
2242
- return dateLeftStartOfYear.getTime() === dateRightStartOfYear.getTime();
2243
- }
2244
- module.exports = isSameISOYear;
2245
- }
2246
- });
2247
-
2248
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_minute/index.js
2249
- var require_start_of_minute = __commonJS({
2250
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_minute/index.js"(exports, module) {
2251
- var parse2 = require_parse();
2252
- function startOfMinute(dirtyDate) {
2253
- var date = parse2(dirtyDate);
2254
- date.setSeconds(0, 0);
2255
- return date;
2256
- }
2257
- module.exports = startOfMinute;
2258
- }
2259
- });
2260
-
2261
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_minute/index.js
2262
- var require_is_same_minute = __commonJS({
2263
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_minute/index.js"(exports, module) {
2264
- var startOfMinute = require_start_of_minute();
2265
- function isSameMinute(dirtyDateLeft, dirtyDateRight) {
2266
- var dateLeftStartOfMinute = startOfMinute(dirtyDateLeft);
2267
- var dateRightStartOfMinute = startOfMinute(dirtyDateRight);
2268
- return dateLeftStartOfMinute.getTime() === dateRightStartOfMinute.getTime();
2269
- }
2270
- module.exports = isSameMinute;
2271
- }
2272
- });
2273
-
2274
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_month/index.js
2275
- var require_is_same_month = __commonJS({
2276
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_month/index.js"(exports, module) {
2277
- var parse2 = require_parse();
2278
- function isSameMonth(dirtyDateLeft, dirtyDateRight) {
2279
- var dateLeft = parse2(dirtyDateLeft);
2280
- var dateRight = parse2(dirtyDateRight);
2281
- return dateLeft.getFullYear() === dateRight.getFullYear() && dateLeft.getMonth() === dateRight.getMonth();
2282
- }
2283
- module.exports = isSameMonth;
2284
- }
2285
- });
2286
-
2287
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_quarter/index.js
2288
- var require_start_of_quarter = __commonJS({
2289
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_quarter/index.js"(exports, module) {
2290
- var parse2 = require_parse();
2291
- function startOfQuarter(dirtyDate) {
2292
- var date = parse2(dirtyDate);
2293
- var currentMonth = date.getMonth();
2294
- var month = currentMonth - currentMonth % 3;
2295
- date.setMonth(month, 1);
2296
- date.setHours(0, 0, 0, 0);
2297
- return date;
2298
- }
2299
- module.exports = startOfQuarter;
2300
- }
2301
- });
2302
-
2303
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_quarter/index.js
2304
- var require_is_same_quarter = __commonJS({
2305
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_quarter/index.js"(exports, module) {
2306
- var startOfQuarter = require_start_of_quarter();
2307
- function isSameQuarter(dirtyDateLeft, dirtyDateRight) {
2308
- var dateLeftStartOfQuarter = startOfQuarter(dirtyDateLeft);
2309
- var dateRightStartOfQuarter = startOfQuarter(dirtyDateRight);
2310
- return dateLeftStartOfQuarter.getTime() === dateRightStartOfQuarter.getTime();
2311
- }
2312
- module.exports = isSameQuarter;
2313
- }
2314
- });
2315
-
2316
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_second/index.js
2317
- var require_start_of_second = __commonJS({
2318
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_second/index.js"(exports, module) {
2319
- var parse2 = require_parse();
2320
- function startOfSecond(dirtyDate) {
2321
- var date = parse2(dirtyDate);
2322
- date.setMilliseconds(0);
2323
- return date;
2324
- }
2325
- module.exports = startOfSecond;
2326
- }
2327
- });
2328
-
2329
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_second/index.js
2330
- var require_is_same_second = __commonJS({
2331
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_second/index.js"(exports, module) {
2332
- var startOfSecond = require_start_of_second();
2333
- function isSameSecond(dirtyDateLeft, dirtyDateRight) {
2334
- var dateLeftStartOfSecond = startOfSecond(dirtyDateLeft);
2335
- var dateRightStartOfSecond = startOfSecond(dirtyDateRight);
2336
- return dateLeftStartOfSecond.getTime() === dateRightStartOfSecond.getTime();
2337
- }
2338
- module.exports = isSameSecond;
2339
- }
2340
- });
2341
-
2342
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_year/index.js
2343
- var require_is_same_year = __commonJS({
2344
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_same_year/index.js"(exports, module) {
2345
- var parse2 = require_parse();
2346
- function isSameYear(dirtyDateLeft, dirtyDateRight) {
2347
- var dateLeft = parse2(dirtyDateLeft);
2348
- var dateRight = parse2(dirtyDateRight);
2349
- return dateLeft.getFullYear() === dateRight.getFullYear();
2350
- }
2351
- module.exports = isSameYear;
2352
- }
2353
- });
2354
-
2355
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_saturday/index.js
2356
- var require_is_saturday = __commonJS({
2357
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_saturday/index.js"(exports, module) {
2358
- var parse2 = require_parse();
2359
- function isSaturday(dirtyDate) {
2360
- return parse2(dirtyDate).getDay() === 6;
2361
- }
2362
- module.exports = isSaturday;
2363
- }
2364
- });
2365
-
2366
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_sunday/index.js
2367
- var require_is_sunday = __commonJS({
2368
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_sunday/index.js"(exports, module) {
2369
- var parse2 = require_parse();
2370
- function isSunday(dirtyDate) {
2371
- return parse2(dirtyDate).getDay() === 0;
2372
- }
2373
- module.exports = isSunday;
2374
- }
2375
- });
2376
-
2377
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_hour/index.js
2378
- var require_is_this_hour = __commonJS({
2379
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_hour/index.js"(exports, module) {
2380
- var isSameHour = require_is_same_hour();
2381
- function isThisHour(dirtyDate) {
2382
- return isSameHour(/* @__PURE__ */ new Date(), dirtyDate);
2383
- }
2384
- module.exports = isThisHour;
2385
- }
2386
- });
2387
-
2388
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_iso_week/index.js
2389
- var require_is_this_iso_week = __commonJS({
2390
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_iso_week/index.js"(exports, module) {
2391
- var isSameISOWeek = require_is_same_iso_week();
2392
- function isThisISOWeek(dirtyDate) {
2393
- return isSameISOWeek(/* @__PURE__ */ new Date(), dirtyDate);
2394
- }
2395
- module.exports = isThisISOWeek;
2396
- }
2397
- });
2398
-
2399
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_iso_year/index.js
2400
- var require_is_this_iso_year = __commonJS({
2401
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_iso_year/index.js"(exports, module) {
2402
- var isSameISOYear = require_is_same_iso_year();
2403
- function isThisISOYear(dirtyDate) {
2404
- return isSameISOYear(/* @__PURE__ */ new Date(), dirtyDate);
2405
- }
2406
- module.exports = isThisISOYear;
2407
- }
2408
- });
2409
-
2410
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_minute/index.js
2411
- var require_is_this_minute = __commonJS({
2412
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_minute/index.js"(exports, module) {
2413
- var isSameMinute = require_is_same_minute();
2414
- function isThisMinute(dirtyDate) {
2415
- return isSameMinute(/* @__PURE__ */ new Date(), dirtyDate);
2416
- }
2417
- module.exports = isThisMinute;
2418
- }
2419
- });
2420
-
2421
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_month/index.js
2422
- var require_is_this_month = __commonJS({
2423
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_month/index.js"(exports, module) {
2424
- var isSameMonth = require_is_same_month();
2425
- function isThisMonth(dirtyDate) {
2426
- return isSameMonth(/* @__PURE__ */ new Date(), dirtyDate);
2427
- }
2428
- module.exports = isThisMonth;
2429
- }
2430
- });
2431
-
2432
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_quarter/index.js
2433
- var require_is_this_quarter = __commonJS({
2434
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_quarter/index.js"(exports, module) {
2435
- var isSameQuarter = require_is_same_quarter();
2436
- function isThisQuarter(dirtyDate) {
2437
- return isSameQuarter(/* @__PURE__ */ new Date(), dirtyDate);
2438
- }
2439
- module.exports = isThisQuarter;
2440
- }
2441
- });
2442
-
2443
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_second/index.js
2444
- var require_is_this_second = __commonJS({
2445
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_second/index.js"(exports, module) {
2446
- var isSameSecond = require_is_same_second();
2447
- function isThisSecond(dirtyDate) {
2448
- return isSameSecond(/* @__PURE__ */ new Date(), dirtyDate);
2449
- }
2450
- module.exports = isThisSecond;
2451
- }
2452
- });
2453
-
2454
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_week/index.js
2455
- var require_is_this_week = __commonJS({
2456
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_week/index.js"(exports, module) {
2457
- var isSameWeek = require_is_same_week();
2458
- function isThisWeek(dirtyDate, dirtyOptions) {
2459
- return isSameWeek(/* @__PURE__ */ new Date(), dirtyDate, dirtyOptions);
2460
- }
2461
- module.exports = isThisWeek;
2462
- }
2463
- });
2464
-
2465
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_year/index.js
2466
- var require_is_this_year = __commonJS({
2467
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_this_year/index.js"(exports, module) {
2468
- var isSameYear = require_is_same_year();
2469
- function isThisYear(dirtyDate) {
2470
- return isSameYear(/* @__PURE__ */ new Date(), dirtyDate);
2471
- }
2472
- module.exports = isThisYear;
2473
- }
2474
- });
2475
-
2476
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_thursday/index.js
2477
- var require_is_thursday = __commonJS({
2478
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_thursday/index.js"(exports, module) {
2479
- var parse2 = require_parse();
2480
- function isThursday(dirtyDate) {
2481
- return parse2(dirtyDate).getDay() === 4;
2482
- }
2483
- module.exports = isThursday;
2484
- }
2485
- });
2486
-
2487
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_today/index.js
2488
- var require_is_today = __commonJS({
2489
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_today/index.js"(exports, module) {
2490
- var startOfDay = require_start_of_day();
2491
- function isToday(dirtyDate) {
2492
- return startOfDay(dirtyDate).getTime() === startOfDay(/* @__PURE__ */ new Date()).getTime();
2493
- }
2494
- module.exports = isToday;
2495
- }
2496
- });
2497
-
2498
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_tomorrow/index.js
2499
- var require_is_tomorrow = __commonJS({
2500
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_tomorrow/index.js"(exports, module) {
2501
- var startOfDay = require_start_of_day();
2502
- function isTomorrow(dirtyDate) {
2503
- var tomorrow = /* @__PURE__ */ new Date();
2504
- tomorrow.setDate(tomorrow.getDate() + 1);
2505
- return startOfDay(dirtyDate).getTime() === startOfDay(tomorrow).getTime();
2506
- }
2507
- module.exports = isTomorrow;
2508
- }
2509
- });
2510
-
2511
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_tuesday/index.js
2512
- var require_is_tuesday = __commonJS({
2513
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_tuesday/index.js"(exports, module) {
2514
- var parse2 = require_parse();
2515
- function isTuesday(dirtyDate) {
2516
- return parse2(dirtyDate).getDay() === 2;
2517
- }
2518
- module.exports = isTuesday;
2519
- }
2520
- });
2521
-
2522
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_wednesday/index.js
2523
- var require_is_wednesday = __commonJS({
2524
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_wednesday/index.js"(exports, module) {
2525
- var parse2 = require_parse();
2526
- function isWednesday(dirtyDate) {
2527
- return parse2(dirtyDate).getDay() === 3;
2528
- }
2529
- module.exports = isWednesday;
2530
- }
2531
- });
2532
-
2533
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_weekend/index.js
2534
- var require_is_weekend = __commonJS({
2535
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_weekend/index.js"(exports, module) {
2536
- var parse2 = require_parse();
2537
- function isWeekend(dirtyDate) {
2538
- var date = parse2(dirtyDate);
2539
- var day = date.getDay();
2540
- return day === 0 || day === 6;
2541
- }
2542
- module.exports = isWeekend;
2543
- }
2544
- });
2545
-
2546
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_within_range/index.js
2547
- var require_is_within_range = __commonJS({
2548
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_within_range/index.js"(exports, module) {
2549
- var parse2 = require_parse();
2550
- function isWithinRange(dirtyDate, dirtyStartDate, dirtyEndDate) {
2551
- var time = parse2(dirtyDate).getTime();
2552
- var startTime = parse2(dirtyStartDate).getTime();
2553
- var endTime = parse2(dirtyEndDate).getTime();
2554
- if (startTime > endTime) {
2555
- throw new Error("The start of the range cannot be after the end of the range");
2556
- }
2557
- return time >= startTime && time <= endTime;
2558
- }
2559
- module.exports = isWithinRange;
2560
- }
2561
- });
2562
-
2563
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_yesterday/index.js
2564
- var require_is_yesterday = __commonJS({
2565
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/is_yesterday/index.js"(exports, module) {
2566
- var startOfDay = require_start_of_day();
2567
- function isYesterday(dirtyDate) {
2568
- var yesterday = /* @__PURE__ */ new Date();
2569
- yesterday.setDate(yesterday.getDate() - 1);
2570
- return startOfDay(dirtyDate).getTime() === startOfDay(yesterday).getTime();
2571
- }
2572
- module.exports = isYesterday;
2573
- }
2574
- });
2575
-
2576
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_week/index.js
2577
- var require_last_day_of_week = __commonJS({
2578
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_week/index.js"(exports, module) {
2579
- var parse2 = require_parse();
2580
- function lastDayOfWeek(dirtyDate, dirtyOptions) {
2581
- var weekStartsOn = dirtyOptions ? Number(dirtyOptions.weekStartsOn) || 0 : 0;
2582
- var date = parse2(dirtyDate);
2583
- var day = date.getDay();
2584
- var diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn);
2585
- date.setHours(0, 0, 0, 0);
2586
- date.setDate(date.getDate() + diff);
2587
- return date;
2588
- }
2589
- module.exports = lastDayOfWeek;
2590
- }
2591
- });
2592
-
2593
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_iso_week/index.js
2594
- var require_last_day_of_iso_week = __commonJS({
2595
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_iso_week/index.js"(exports, module) {
2596
- var lastDayOfWeek = require_last_day_of_week();
2597
- function lastDayOfISOWeek(dirtyDate) {
2598
- return lastDayOfWeek(dirtyDate, { weekStartsOn: 1 });
2599
- }
2600
- module.exports = lastDayOfISOWeek;
2601
- }
2602
- });
2603
-
2604
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_iso_year/index.js
2605
- var require_last_day_of_iso_year = __commonJS({
2606
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_iso_year/index.js"(exports, module) {
2607
- var getISOYear = require_get_iso_year();
2608
- var startOfISOWeek = require_start_of_iso_week();
2609
- function lastDayOfISOYear(dirtyDate) {
2610
- var year = getISOYear(dirtyDate);
2611
- var fourthOfJanuary = /* @__PURE__ */ new Date(0);
2612
- fourthOfJanuary.setFullYear(year + 1, 0, 4);
2613
- fourthOfJanuary.setHours(0, 0, 0, 0);
2614
- var date = startOfISOWeek(fourthOfJanuary);
2615
- date.setDate(date.getDate() - 1);
2616
- return date;
2617
- }
2618
- module.exports = lastDayOfISOYear;
2619
- }
2620
- });
2621
-
2622
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_month/index.js
2623
- var require_last_day_of_month = __commonJS({
2624
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_month/index.js"(exports, module) {
2625
- var parse2 = require_parse();
2626
- function lastDayOfMonth(dirtyDate) {
2627
- var date = parse2(dirtyDate);
2628
- var month = date.getMonth();
2629
- date.setFullYear(date.getFullYear(), month + 1, 0);
2630
- date.setHours(0, 0, 0, 0);
2631
- return date;
2632
- }
2633
- module.exports = lastDayOfMonth;
2634
- }
2635
- });
2636
-
2637
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_quarter/index.js
2638
- var require_last_day_of_quarter = __commonJS({
2639
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_quarter/index.js"(exports, module) {
2640
- var parse2 = require_parse();
2641
- function lastDayOfQuarter(dirtyDate) {
2642
- var date = parse2(dirtyDate);
2643
- var currentMonth = date.getMonth();
2644
- var month = currentMonth - currentMonth % 3 + 3;
2645
- date.setMonth(month, 0);
2646
- date.setHours(0, 0, 0, 0);
2647
- return date;
2648
- }
2649
- module.exports = lastDayOfQuarter;
2650
- }
2651
- });
2652
-
2653
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_year/index.js
2654
- var require_last_day_of_year = __commonJS({
2655
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/last_day_of_year/index.js"(exports, module) {
2656
- var parse2 = require_parse();
2657
- function lastDayOfYear(dirtyDate) {
2658
- var date = parse2(dirtyDate);
2659
- var year = date.getFullYear();
2660
- date.setFullYear(year + 1, 0, 0);
2661
- date.setHours(0, 0, 0, 0);
2662
- return date;
2663
- }
2664
- module.exports = lastDayOfYear;
2665
- }
2666
- });
2667
-
2668
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/max/index.js
2669
- var require_max = __commonJS({
2670
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/max/index.js"(exports, module) {
2671
- var parse2 = require_parse();
2672
- function max() {
2673
- var dirtyDates = Array.prototype.slice.call(arguments);
2674
- var dates = dirtyDates.map(function(dirtyDate) {
2675
- return parse2(dirtyDate);
2676
- });
2677
- var latestTimestamp = Math.max.apply(null, dates);
2678
- return new Date(latestTimestamp);
2679
- }
2680
- module.exports = max;
2681
- }
2682
- });
2683
-
2684
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/min/index.js
2685
- var require_min = __commonJS({
2686
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/min/index.js"(exports, module) {
2687
- var parse2 = require_parse();
2688
- function min() {
2689
- var dirtyDates = Array.prototype.slice.call(arguments);
2690
- var dates = dirtyDates.map(function(dirtyDate) {
2691
- return parse2(dirtyDate);
2692
- });
2693
- var earliestTimestamp = Math.min.apply(null, dates);
2694
- return new Date(earliestTimestamp);
2695
- }
2696
- module.exports = min;
2697
- }
2698
- });
2699
-
2700
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_date/index.js
2701
- var require_set_date = __commonJS({
2702
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_date/index.js"(exports, module) {
2703
- var parse2 = require_parse();
2704
- function setDate(dirtyDate, dirtyDayOfMonth) {
2705
- var date = parse2(dirtyDate);
2706
- var dayOfMonth = Number(dirtyDayOfMonth);
2707
- date.setDate(dayOfMonth);
2708
- return date;
2709
- }
2710
- module.exports = setDate;
2711
- }
2712
- });
2713
-
2714
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_day/index.js
2715
- var require_set_day = __commonJS({
2716
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_day/index.js"(exports, module) {
2717
- var parse2 = require_parse();
2718
- var addDays = require_add_days();
2719
- function setDay(dirtyDate, dirtyDay, dirtyOptions) {
2720
- var weekStartsOn = dirtyOptions ? Number(dirtyOptions.weekStartsOn) || 0 : 0;
2721
- var date = parse2(dirtyDate);
2722
- var day = Number(dirtyDay);
2723
- var currentDay = date.getDay();
2724
- var remainder = day % 7;
2725
- var dayIndex = (remainder + 7) % 7;
2726
- var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;
2727
- return addDays(date, diff);
2728
- }
2729
- module.exports = setDay;
2730
- }
2731
- });
2732
-
2733
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_day_of_year/index.js
2734
- var require_set_day_of_year = __commonJS({
2735
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_day_of_year/index.js"(exports, module) {
2736
- var parse2 = require_parse();
2737
- function setDayOfYear(dirtyDate, dirtyDayOfYear) {
2738
- var date = parse2(dirtyDate);
2739
- var dayOfYear = Number(dirtyDayOfYear);
2740
- date.setMonth(0);
2741
- date.setDate(dayOfYear);
2742
- return date;
2743
- }
2744
- module.exports = setDayOfYear;
2745
- }
2746
- });
2747
-
2748
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_hours/index.js
2749
- var require_set_hours = __commonJS({
2750
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_hours/index.js"(exports, module) {
2751
- var parse2 = require_parse();
2752
- function setHours(dirtyDate, dirtyHours) {
2753
- var date = parse2(dirtyDate);
2754
- var hours = Number(dirtyHours);
2755
- date.setHours(hours);
2756
- return date;
2757
- }
2758
- module.exports = setHours;
2759
- }
2760
- });
2761
-
2762
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_iso_day/index.js
2763
- var require_set_iso_day = __commonJS({
2764
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_iso_day/index.js"(exports, module) {
2765
- var parse2 = require_parse();
2766
- var addDays = require_add_days();
2767
- var getISODay = require_get_iso_day();
2768
- function setISODay(dirtyDate, dirtyDay) {
2769
- var date = parse2(dirtyDate);
2770
- var day = Number(dirtyDay);
2771
- var currentDay = getISODay(date);
2772
- var diff = day - currentDay;
2773
- return addDays(date, diff);
2774
- }
2775
- module.exports = setISODay;
2776
- }
2777
- });
2778
-
2779
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_iso_week/index.js
2780
- var require_set_iso_week = __commonJS({
2781
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_iso_week/index.js"(exports, module) {
2782
- var parse2 = require_parse();
2783
- var getISOWeek = require_get_iso_week();
2784
- function setISOWeek(dirtyDate, dirtyISOWeek) {
2785
- var date = parse2(dirtyDate);
2786
- var isoWeek = Number(dirtyISOWeek);
2787
- var diff = getISOWeek(date) - isoWeek;
2788
- date.setDate(date.getDate() - diff * 7);
2789
- return date;
2790
- }
2791
- module.exports = setISOWeek;
2792
- }
2793
- });
2794
-
2795
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_milliseconds/index.js
2796
- var require_set_milliseconds = __commonJS({
2797
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_milliseconds/index.js"(exports, module) {
2798
- var parse2 = require_parse();
2799
- function setMilliseconds(dirtyDate, dirtyMilliseconds) {
2800
- var date = parse2(dirtyDate);
2801
- var milliseconds = Number(dirtyMilliseconds);
2802
- date.setMilliseconds(milliseconds);
2803
- return date;
2804
- }
2805
- module.exports = setMilliseconds;
2806
- }
2807
- });
2808
-
2809
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_minutes/index.js
2810
- var require_set_minutes = __commonJS({
2811
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_minutes/index.js"(exports, module) {
2812
- var parse2 = require_parse();
2813
- function setMinutes(dirtyDate, dirtyMinutes) {
2814
- var date = parse2(dirtyDate);
2815
- var minutes = Number(dirtyMinutes);
2816
- date.setMinutes(minutes);
2817
- return date;
2818
- }
2819
- module.exports = setMinutes;
2820
- }
2821
- });
2822
-
2823
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_month/index.js
2824
- var require_set_month = __commonJS({
2825
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_month/index.js"(exports, module) {
2826
- var parse2 = require_parse();
2827
- var getDaysInMonth = require_get_days_in_month();
2828
- function setMonth(dirtyDate, dirtyMonth) {
2829
- var date = parse2(dirtyDate);
2830
- var month = Number(dirtyMonth);
2831
- var year = date.getFullYear();
2832
- var day = date.getDate();
2833
- var dateWithDesiredMonth = /* @__PURE__ */ new Date(0);
2834
- dateWithDesiredMonth.setFullYear(year, month, 15);
2835
- dateWithDesiredMonth.setHours(0, 0, 0, 0);
2836
- var daysInMonth = getDaysInMonth(dateWithDesiredMonth);
2837
- date.setMonth(month, Math.min(day, daysInMonth));
2838
- return date;
2839
- }
2840
- module.exports = setMonth;
2841
- }
2842
- });
2843
-
2844
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_quarter/index.js
2845
- var require_set_quarter = __commonJS({
2846
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_quarter/index.js"(exports, module) {
2847
- var parse2 = require_parse();
2848
- var setMonth = require_set_month();
2849
- function setQuarter(dirtyDate, dirtyQuarter) {
2850
- var date = parse2(dirtyDate);
2851
- var quarter = Number(dirtyQuarter);
2852
- var oldQuarter = Math.floor(date.getMonth() / 3) + 1;
2853
- var diff = quarter - oldQuarter;
2854
- return setMonth(date, date.getMonth() + diff * 3);
2855
- }
2856
- module.exports = setQuarter;
2857
- }
2858
- });
2859
-
2860
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_seconds/index.js
2861
- var require_set_seconds = __commonJS({
2862
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_seconds/index.js"(exports, module) {
2863
- var parse2 = require_parse();
2864
- function setSeconds(dirtyDate, dirtySeconds) {
2865
- var date = parse2(dirtyDate);
2866
- var seconds = Number(dirtySeconds);
2867
- date.setSeconds(seconds);
2868
- return date;
2869
- }
2870
- module.exports = setSeconds;
2871
- }
2872
- });
2873
-
2874
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_year/index.js
2875
- var require_set_year = __commonJS({
2876
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/set_year/index.js"(exports, module) {
2877
- var parse2 = require_parse();
2878
- function setYear(dirtyDate, dirtyYear) {
2879
- var date = parse2(dirtyDate);
2880
- var year = Number(dirtyYear);
2881
- date.setFullYear(year);
2882
- return date;
2883
- }
2884
- module.exports = setYear;
2885
- }
2886
- });
2887
-
2888
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_month/index.js
2889
- var require_start_of_month = __commonJS({
2890
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_month/index.js"(exports, module) {
2891
- var parse2 = require_parse();
2892
- function startOfMonth(dirtyDate) {
2893
- var date = parse2(dirtyDate);
2894
- date.setDate(1);
2895
- date.setHours(0, 0, 0, 0);
2896
- return date;
2897
- }
2898
- module.exports = startOfMonth;
2899
- }
2900
- });
2901
-
2902
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_today/index.js
2903
- var require_start_of_today = __commonJS({
2904
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_today/index.js"(exports, module) {
2905
- var startOfDay = require_start_of_day();
2906
- function startOfToday() {
2907
- return startOfDay(/* @__PURE__ */ new Date());
2908
- }
2909
- module.exports = startOfToday;
2910
- }
2911
- });
2912
-
2913
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_tomorrow/index.js
2914
- var require_start_of_tomorrow = __commonJS({
2915
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_tomorrow/index.js"(exports, module) {
2916
- function startOfTomorrow() {
2917
- var now = /* @__PURE__ */ new Date();
2918
- var year = now.getFullYear();
2919
- var month = now.getMonth();
2920
- var day = now.getDate();
2921
- var date = /* @__PURE__ */ new Date(0);
2922
- date.setFullYear(year, month, day + 1);
2923
- date.setHours(0, 0, 0, 0);
2924
- return date;
2925
- }
2926
- module.exports = startOfTomorrow;
2927
- }
2928
- });
2929
-
2930
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_yesterday/index.js
2931
- var require_start_of_yesterday = __commonJS({
2932
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/start_of_yesterday/index.js"(exports, module) {
2933
- function startOfYesterday() {
2934
- var now = /* @__PURE__ */ new Date();
2935
- var year = now.getFullYear();
2936
- var month = now.getMonth();
2937
- var day = now.getDate();
2938
- var date = /* @__PURE__ */ new Date(0);
2939
- date.setFullYear(year, month, day - 1);
2940
- date.setHours(0, 0, 0, 0);
2941
- return date;
2942
- }
2943
- module.exports = startOfYesterday;
2944
- }
2945
- });
2946
-
2947
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_days/index.js
2948
- var require_sub_days = __commonJS({
2949
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_days/index.js"(exports, module) {
2950
- var addDays = require_add_days();
2951
- function subDays(dirtyDate, dirtyAmount) {
2952
- var amount = Number(dirtyAmount);
2953
- return addDays(dirtyDate, -amount);
2954
- }
2955
- module.exports = subDays;
2956
- }
2957
- });
2958
-
2959
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_hours/index.js
2960
- var require_sub_hours = __commonJS({
2961
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_hours/index.js"(exports, module) {
2962
- var addHours = require_add_hours();
2963
- function subHours(dirtyDate, dirtyAmount) {
2964
- var amount = Number(dirtyAmount);
2965
- return addHours(dirtyDate, -amount);
679
+ return {
680
+ formatters,
681
+ formattingTokensRegExp: buildFormattingTokensRegExp(formatters)
682
+ };
2966
683
  }
2967
- module.exports = subHours;
2968
- }
2969
- });
2970
-
2971
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_milliseconds/index.js
2972
- var require_sub_milliseconds = __commonJS({
2973
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_milliseconds/index.js"(exports, module) {
2974
- var addMilliseconds = require_add_milliseconds();
2975
- function subMilliseconds(dirtyDate, dirtyAmount) {
2976
- var amount = Number(dirtyAmount);
2977
- return addMilliseconds(dirtyDate, -amount);
684
+ function ordinal(number) {
685
+ var rem100 = number % 100;
686
+ if (rem100 > 20 || rem100 < 10) {
687
+ switch (rem100 % 10) {
688
+ case 1:
689
+ return number + "st";
690
+ case 2:
691
+ return number + "nd";
692
+ case 3:
693
+ return number + "rd";
694
+ }
695
+ }
696
+ return number + "th";
2978
697
  }
2979
- module.exports = subMilliseconds;
698
+ module.exports = buildFormatLocale;
2980
699
  }
2981
700
  });
2982
701
 
2983
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_minutes/index.js
2984
- var require_sub_minutes = __commonJS({
2985
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_minutes/index.js"(exports, module) {
2986
- var addMinutes = require_add_minutes();
2987
- function subMinutes(dirtyDate, dirtyAmount) {
2988
- var amount = Number(dirtyAmount);
2989
- return addMinutes(dirtyDate, -amount);
2990
- }
2991
- module.exports = subMinutes;
702
+ // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/locale/en/index.js
703
+ var require_en = __commonJS({
704
+ "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/locale/en/index.js"(exports, module) {
705
+ var buildDistanceInWordsLocale = require_build_distance_in_words_locale();
706
+ var buildFormatLocale = require_build_format_locale();
707
+ module.exports = {
708
+ distanceInWords: buildDistanceInWordsLocale(),
709
+ format: buildFormatLocale()
710
+ };
2992
711
  }
2993
712
  });
2994
713
 
2995
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_months/index.js
2996
- var require_sub_months = __commonJS({
2997
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_months/index.js"(exports, module) {
2998
- var addMonths = require_add_months();
2999
- function subMonths(dirtyDate, dirtyAmount) {
3000
- var amount = Number(dirtyAmount);
3001
- return addMonths(dirtyDate, -amount);
714
+ // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/format/index.js
715
+ var require_format = __commonJS({
716
+ "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/format/index.js"(exports, module) {
717
+ var getDayOfYear = require_get_day_of_year();
718
+ var getISOWeek = require_get_iso_week();
719
+ var getISOYear = require_get_iso_year();
720
+ var parse2 = require_parse();
721
+ var isValid = require_is_valid();
722
+ var enLocale = require_en();
723
+ function format2(dirtyDate, dirtyFormatStr, dirtyOptions) {
724
+ var formatStr = dirtyFormatStr ? String(dirtyFormatStr) : "YYYY-MM-DDTHH:mm:ss.SSSZ";
725
+ var options = dirtyOptions || {};
726
+ var locale = options.locale;
727
+ var localeFormatters = enLocale.format.formatters;
728
+ var formattingTokensRegExp = enLocale.format.formattingTokensRegExp;
729
+ if (locale && locale.format && locale.format.formatters) {
730
+ localeFormatters = locale.format.formatters;
731
+ if (locale.format.formattingTokensRegExp) {
732
+ formattingTokensRegExp = locale.format.formattingTokensRegExp;
733
+ }
734
+ }
735
+ var date = parse2(dirtyDate);
736
+ if (!isValid(date)) {
737
+ return "Invalid Date";
738
+ }
739
+ var formatFn = buildFormatFn(formatStr, localeFormatters, formattingTokensRegExp);
740
+ return formatFn(date);
3002
741
  }
3003
- module.exports = subMonths;
3004
- }
3005
- });
3006
-
3007
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_quarters/index.js
3008
- var require_sub_quarters = __commonJS({
3009
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_quarters/index.js"(exports, module) {
3010
- var addQuarters = require_add_quarters();
3011
- function subQuarters(dirtyDate, dirtyAmount) {
3012
- var amount = Number(dirtyAmount);
3013
- return addQuarters(dirtyDate, -amount);
742
+ var formatters = {
743
+ // Month: 1, 2, ..., 12
744
+ "M": function(date) {
745
+ return date.getMonth() + 1;
746
+ },
747
+ // Month: 01, 02, ..., 12
748
+ "MM": function(date) {
749
+ return addLeadingZeros(date.getMonth() + 1, 2);
750
+ },
751
+ // Quarter: 1, 2, 3, 4
752
+ "Q": function(date) {
753
+ return Math.ceil((date.getMonth() + 1) / 3);
754
+ },
755
+ // Day of month: 1, 2, ..., 31
756
+ "D": function(date) {
757
+ return date.getDate();
758
+ },
759
+ // Day of month: 01, 02, ..., 31
760
+ "DD": function(date) {
761
+ return addLeadingZeros(date.getDate(), 2);
762
+ },
763
+ // Day of year: 1, 2, ..., 366
764
+ "DDD": function(date) {
765
+ return getDayOfYear(date);
766
+ },
767
+ // Day of year: 001, 002, ..., 366
768
+ "DDDD": function(date) {
769
+ return addLeadingZeros(getDayOfYear(date), 3);
770
+ },
771
+ // Day of week: 0, 1, ..., 6
772
+ "d": function(date) {
773
+ return date.getDay();
774
+ },
775
+ // Day of ISO week: 1, 2, ..., 7
776
+ "E": function(date) {
777
+ return date.getDay() || 7;
778
+ },
779
+ // ISO week: 1, 2, ..., 53
780
+ "W": function(date) {
781
+ return getISOWeek(date);
782
+ },
783
+ // ISO week: 01, 02, ..., 53
784
+ "WW": function(date) {
785
+ return addLeadingZeros(getISOWeek(date), 2);
786
+ },
787
+ // Year: 00, 01, ..., 99
788
+ "YY": function(date) {
789
+ return addLeadingZeros(date.getFullYear(), 4).substr(2);
790
+ },
791
+ // Year: 1900, 1901, ..., 2099
792
+ "YYYY": function(date) {
793
+ return addLeadingZeros(date.getFullYear(), 4);
794
+ },
795
+ // ISO week-numbering year: 00, 01, ..., 99
796
+ "GG": function(date) {
797
+ return String(getISOYear(date)).substr(2);
798
+ },
799
+ // ISO week-numbering year: 1900, 1901, ..., 2099
800
+ "GGGG": function(date) {
801
+ return getISOYear(date);
802
+ },
803
+ // Hour: 0, 1, ... 23
804
+ "H": function(date) {
805
+ return date.getHours();
806
+ },
807
+ // Hour: 00, 01, ..., 23
808
+ "HH": function(date) {
809
+ return addLeadingZeros(date.getHours(), 2);
810
+ },
811
+ // Hour: 1, 2, ..., 12
812
+ "h": function(date) {
813
+ var hours = date.getHours();
814
+ if (hours === 0) {
815
+ return 12;
816
+ } else if (hours > 12) {
817
+ return hours % 12;
818
+ } else {
819
+ return hours;
820
+ }
821
+ },
822
+ // Hour: 01, 02, ..., 12
823
+ "hh": function(date) {
824
+ return addLeadingZeros(formatters["h"](date), 2);
825
+ },
826
+ // Minute: 0, 1, ..., 59
827
+ "m": function(date) {
828
+ return date.getMinutes();
829
+ },
830
+ // Minute: 00, 01, ..., 59
831
+ "mm": function(date) {
832
+ return addLeadingZeros(date.getMinutes(), 2);
833
+ },
834
+ // Second: 0, 1, ..., 59
835
+ "s": function(date) {
836
+ return date.getSeconds();
837
+ },
838
+ // Second: 00, 01, ..., 59
839
+ "ss": function(date) {
840
+ return addLeadingZeros(date.getSeconds(), 2);
841
+ },
842
+ // 1/10 of second: 0, 1, ..., 9
843
+ "S": function(date) {
844
+ return Math.floor(date.getMilliseconds() / 100);
845
+ },
846
+ // 1/100 of second: 00, 01, ..., 99
847
+ "SS": function(date) {
848
+ return addLeadingZeros(Math.floor(date.getMilliseconds() / 10), 2);
849
+ },
850
+ // Millisecond: 000, 001, ..., 999
851
+ "SSS": function(date) {
852
+ return addLeadingZeros(date.getMilliseconds(), 3);
853
+ },
854
+ // Timezone: -01:00, +00:00, ... +12:00
855
+ "Z": function(date) {
856
+ return formatTimezone(date.getTimezoneOffset(), ":");
857
+ },
858
+ // Timezone: -0100, +0000, ... +1200
859
+ "ZZ": function(date) {
860
+ return formatTimezone(date.getTimezoneOffset());
861
+ },
862
+ // Seconds timestamp: 512969520
863
+ "X": function(date) {
864
+ return Math.floor(date.getTime() / 1e3);
865
+ },
866
+ // Milliseconds timestamp: 512969520900
867
+ "x": function(date) {
868
+ return date.getTime();
869
+ }
870
+ };
871
+ function buildFormatFn(formatStr, localeFormatters, formattingTokensRegExp) {
872
+ var array = formatStr.match(formattingTokensRegExp);
873
+ var length = array.length;
874
+ var i;
875
+ var formatter;
876
+ for (i = 0; i < length; i++) {
877
+ formatter = localeFormatters[array[i]] || formatters[array[i]];
878
+ if (formatter) {
879
+ array[i] = formatter;
880
+ } else {
881
+ array[i] = removeFormattingTokens(array[i]);
882
+ }
883
+ }
884
+ return function(date) {
885
+ var output = "";
886
+ for (var i2 = 0; i2 < length; i2++) {
887
+ if (array[i2] instanceof Function) {
888
+ output += array[i2](date, formatters);
889
+ } else {
890
+ output += array[i2];
891
+ }
892
+ }
893
+ return output;
894
+ };
3014
895
  }
3015
- module.exports = subQuarters;
3016
- }
3017
- });
3018
-
3019
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_seconds/index.js
3020
- var require_sub_seconds = __commonJS({
3021
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_seconds/index.js"(exports, module) {
3022
- var addSeconds = require_add_seconds();
3023
- function subSeconds(dirtyDate, dirtyAmount) {
3024
- var amount = Number(dirtyAmount);
3025
- return addSeconds(dirtyDate, -amount);
896
+ function removeFormattingTokens(input) {
897
+ if (input.match(/\[[\s\S]/)) {
898
+ return input.replace(/^\[|]$/g, "");
899
+ }
900
+ return input.replace(/\\/g, "");
3026
901
  }
3027
- module.exports = subSeconds;
3028
- }
3029
- });
3030
-
3031
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_weeks/index.js
3032
- var require_sub_weeks = __commonJS({
3033
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_weeks/index.js"(exports, module) {
3034
- var addWeeks = require_add_weeks();
3035
- function subWeeks(dirtyDate, dirtyAmount) {
3036
- var amount = Number(dirtyAmount);
3037
- return addWeeks(dirtyDate, -amount);
902
+ function formatTimezone(offset, delimeter) {
903
+ delimeter = delimeter || "";
904
+ var sign = offset > 0 ? "-" : "+";
905
+ var absOffset = Math.abs(offset);
906
+ var hours = Math.floor(absOffset / 60);
907
+ var minutes = absOffset % 60;
908
+ return sign + addLeadingZeros(hours, 2) + delimeter + addLeadingZeros(minutes, 2);
3038
909
  }
3039
- module.exports = subWeeks;
3040
- }
3041
- });
3042
-
3043
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_years/index.js
3044
- var require_sub_years = __commonJS({
3045
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/sub_years/index.js"(exports, module) {
3046
- var addYears = require_add_years();
3047
- function subYears(dirtyDate, dirtyAmount) {
3048
- var amount = Number(dirtyAmount);
3049
- return addYears(dirtyDate, -amount);
910
+ function addLeadingZeros(number, targetLength) {
911
+ var output = Math.abs(number).toString();
912
+ while (output.length < targetLength) {
913
+ output = "0" + output;
914
+ }
915
+ return output;
3050
916
  }
3051
- module.exports = subYears;
3052
- }
3053
- });
3054
-
3055
- // ../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/index.js
3056
- var require_date_fns = __commonJS({
3057
- "../../node_modules/.pnpm/date-fns@1.29.0/node_modules/date-fns/index.js"(exports, module) {
3058
- module.exports = {
3059
- addDays: require_add_days(),
3060
- addHours: require_add_hours(),
3061
- addISOYears: require_add_iso_years(),
3062
- addMilliseconds: require_add_milliseconds(),
3063
- addMinutes: require_add_minutes(),
3064
- addMonths: require_add_months(),
3065
- addQuarters: require_add_quarters(),
3066
- addSeconds: require_add_seconds(),
3067
- addWeeks: require_add_weeks(),
3068
- addYears: require_add_years(),
3069
- areRangesOverlapping: require_are_ranges_overlapping(),
3070
- closestIndexTo: require_closest_index_to(),
3071
- closestTo: require_closest_to(),
3072
- compareAsc: require_compare_asc(),
3073
- compareDesc: require_compare_desc(),
3074
- differenceInCalendarDays: require_difference_in_calendar_days(),
3075
- differenceInCalendarISOWeeks: require_difference_in_calendar_iso_weeks(),
3076
- differenceInCalendarISOYears: require_difference_in_calendar_iso_years(),
3077
- differenceInCalendarMonths: require_difference_in_calendar_months(),
3078
- differenceInCalendarQuarters: require_difference_in_calendar_quarters(),
3079
- differenceInCalendarWeeks: require_difference_in_calendar_weeks(),
3080
- differenceInCalendarYears: require_difference_in_calendar_years(),
3081
- differenceInDays: require_difference_in_days(),
3082
- differenceInHours: require_difference_in_hours(),
3083
- differenceInISOYears: require_difference_in_iso_years(),
3084
- differenceInMilliseconds: require_difference_in_milliseconds(),
3085
- differenceInMinutes: require_difference_in_minutes(),
3086
- differenceInMonths: require_difference_in_months(),
3087
- differenceInQuarters: require_difference_in_quarters(),
3088
- differenceInSeconds: require_difference_in_seconds(),
3089
- differenceInWeeks: require_difference_in_weeks(),
3090
- differenceInYears: require_difference_in_years(),
3091
- distanceInWords: require_distance_in_words(),
3092
- distanceInWordsStrict: require_distance_in_words_strict(),
3093
- distanceInWordsToNow: require_distance_in_words_to_now(),
3094
- eachDay: require_each_day(),
3095
- endOfDay: require_end_of_day(),
3096
- endOfHour: require_end_of_hour(),
3097
- endOfISOWeek: require_end_of_iso_week(),
3098
- endOfISOYear: require_end_of_iso_year(),
3099
- endOfMinute: require_end_of_minute(),
3100
- endOfMonth: require_end_of_month(),
3101
- endOfQuarter: require_end_of_quarter(),
3102
- endOfSecond: require_end_of_second(),
3103
- endOfToday: require_end_of_today(),
3104
- endOfTomorrow: require_end_of_tomorrow(),
3105
- endOfWeek: require_end_of_week(),
3106
- endOfYear: require_end_of_year(),
3107
- endOfYesterday: require_end_of_yesterday(),
3108
- format: require_format(),
3109
- getDate: require_get_date(),
3110
- getDay: require_get_day(),
3111
- getDayOfYear: require_get_day_of_year(),
3112
- getDaysInMonth: require_get_days_in_month(),
3113
- getDaysInYear: require_get_days_in_year(),
3114
- getHours: require_get_hours(),
3115
- getISODay: require_get_iso_day(),
3116
- getISOWeek: require_get_iso_week(),
3117
- getISOWeeksInYear: require_get_iso_weeks_in_year(),
3118
- getISOYear: require_get_iso_year(),
3119
- getMilliseconds: require_get_milliseconds(),
3120
- getMinutes: require_get_minutes(),
3121
- getMonth: require_get_month(),
3122
- getOverlappingDaysInRanges: require_get_overlapping_days_in_ranges(),
3123
- getQuarter: require_get_quarter(),
3124
- getSeconds: require_get_seconds(),
3125
- getTime: require_get_time(),
3126
- getYear: require_get_year(),
3127
- isAfter: require_is_after(),
3128
- isBefore: require_is_before(),
3129
- isDate: require_is_date(),
3130
- isEqual: require_is_equal(),
3131
- isFirstDayOfMonth: require_is_first_day_of_month(),
3132
- isFriday: require_is_friday(),
3133
- isFuture: require_is_future(),
3134
- isLastDayOfMonth: require_is_last_day_of_month(),
3135
- isLeapYear: require_is_leap_year(),
3136
- isMonday: require_is_monday(),
3137
- isPast: require_is_past(),
3138
- isSameDay: require_is_same_day(),
3139
- isSameHour: require_is_same_hour(),
3140
- isSameISOWeek: require_is_same_iso_week(),
3141
- isSameISOYear: require_is_same_iso_year(),
3142
- isSameMinute: require_is_same_minute(),
3143
- isSameMonth: require_is_same_month(),
3144
- isSameQuarter: require_is_same_quarter(),
3145
- isSameSecond: require_is_same_second(),
3146
- isSameWeek: require_is_same_week(),
3147
- isSameYear: require_is_same_year(),
3148
- isSaturday: require_is_saturday(),
3149
- isSunday: require_is_sunday(),
3150
- isThisHour: require_is_this_hour(),
3151
- isThisISOWeek: require_is_this_iso_week(),
3152
- isThisISOYear: require_is_this_iso_year(),
3153
- isThisMinute: require_is_this_minute(),
3154
- isThisMonth: require_is_this_month(),
3155
- isThisQuarter: require_is_this_quarter(),
3156
- isThisSecond: require_is_this_second(),
3157
- isThisWeek: require_is_this_week(),
3158
- isThisYear: require_is_this_year(),
3159
- isThursday: require_is_thursday(),
3160
- isToday: require_is_today(),
3161
- isTomorrow: require_is_tomorrow(),
3162
- isTuesday: require_is_tuesday(),
3163
- isValid: require_is_valid(),
3164
- isWednesday: require_is_wednesday(),
3165
- isWeekend: require_is_weekend(),
3166
- isWithinRange: require_is_within_range(),
3167
- isYesterday: require_is_yesterday(),
3168
- lastDayOfISOWeek: require_last_day_of_iso_week(),
3169
- lastDayOfISOYear: require_last_day_of_iso_year(),
3170
- lastDayOfMonth: require_last_day_of_month(),
3171
- lastDayOfQuarter: require_last_day_of_quarter(),
3172
- lastDayOfWeek: require_last_day_of_week(),
3173
- lastDayOfYear: require_last_day_of_year(),
3174
- max: require_max(),
3175
- min: require_min(),
3176
- parse: require_parse(),
3177
- setDate: require_set_date(),
3178
- setDay: require_set_day(),
3179
- setDayOfYear: require_set_day_of_year(),
3180
- setHours: require_set_hours(),
3181
- setISODay: require_set_iso_day(),
3182
- setISOWeek: require_set_iso_week(),
3183
- setISOYear: require_set_iso_year(),
3184
- setMilliseconds: require_set_milliseconds(),
3185
- setMinutes: require_set_minutes(),
3186
- setMonth: require_set_month(),
3187
- setQuarter: require_set_quarter(),
3188
- setSeconds: require_set_seconds(),
3189
- setYear: require_set_year(),
3190
- startOfDay: require_start_of_day(),
3191
- startOfHour: require_start_of_hour(),
3192
- startOfISOWeek: require_start_of_iso_week(),
3193
- startOfISOYear: require_start_of_iso_year(),
3194
- startOfMinute: require_start_of_minute(),
3195
- startOfMonth: require_start_of_month(),
3196
- startOfQuarter: require_start_of_quarter(),
3197
- startOfSecond: require_start_of_second(),
3198
- startOfToday: require_start_of_today(),
3199
- startOfTomorrow: require_start_of_tomorrow(),
3200
- startOfWeek: require_start_of_week(),
3201
- startOfYear: require_start_of_year(),
3202
- startOfYesterday: require_start_of_yesterday(),
3203
- subDays: require_sub_days(),
3204
- subHours: require_sub_hours(),
3205
- subISOYears: require_sub_iso_years(),
3206
- subMilliseconds: require_sub_milliseconds(),
3207
- subMinutes: require_sub_minutes(),
3208
- subMonths: require_sub_months(),
3209
- subQuarters: require_sub_quarters(),
3210
- subSeconds: require_sub_seconds(),
3211
- subWeeks: require_sub_weeks(),
3212
- subYears: require_sub_years()
3213
- };
917
+ module.exports = format2;
3214
918
  }
3215
919
  });
3216
920
 
@@ -3867,7 +1571,7 @@ var require_cjs = __commonJS({
3867
1571
 
3868
1572
  // src/util/logs.ts
3869
1573
  var import_chalk = __toESM(require_source(), 1);
3870
- var import_date_fns = __toESM(require_date_fns(), 1);
1574
+ var import_format = __toESM(require_format(), 1);
3871
1575
  var import_ms = __toESM(require_ms(), 1);
3872
1576
  var import_jsonlines2 = __toESM(require_jsonlines(), 1);
3873
1577
  var import_split2 = __toESM(require_split2(), 1);
@@ -4174,7 +1878,7 @@ function prettyPrintLogline({
4174
1878
  timestampInMs,
4175
1879
  source
4176
1880
  }, print) {
4177
- const date = (0, import_date_fns.format)(timestampInMs, dateTimeFormat);
1881
+ const date = (0, import_format.default)(timestampInMs, dateTimeFormat);
4178
1882
  const levelIcon = getLevelIcon(level);
4179
1883
  const sourceIcon = getSourceIcon(source);
4180
1884
  const detailsLine = `${import_chalk.default.dim(date)} ${levelIcon} ${import_chalk.default.bold(
@@ -4249,17 +1953,11 @@ function progress(current, total, opts = {}) {
4249
1953
  }
4250
1954
 
4251
1955
  // src/util/deploy/process-deployment.ts
4252
- function printInspectUrl(inspectorUrl, deployStamp) {
1956
+ function printInspectUrl(inspectorUrl) {
4253
1957
  if (!inspectorUrl) {
4254
1958
  return;
4255
1959
  }
4256
- output_manager_default.print(
4257
- prependEmoji(
4258
- `Inspect: ${import_chalk2.default.bold(inspectorUrl)} ${deployStamp()}`,
4259
- emoji("inspect")
4260
- ) + `
4261
- `
4262
- );
1960
+ printAlignedLabel("Inspect", import_chalk2.default.cyan(inspectorUrl));
4263
1961
  }
4264
1962
  async function processDeployment({
4265
1963
  org,
@@ -4273,13 +1971,13 @@ async function processDeployment({
4273
1971
  manual,
4274
1972
  jsonOutput,
4275
1973
  functionsBeta,
1974
+ linkedProject,
4276
1975
  ...args
4277
1976
  }) {
4278
1977
  const {
4279
1978
  now,
4280
1979
  path,
4281
1980
  requestBody,
4282
- deployStamp,
4283
1981
  force,
4284
1982
  withCache,
4285
1983
  quiet,
@@ -4321,8 +2019,8 @@ async function processDeployment({
4321
2019
  abortController?.abort();
4322
2020
  output_manager_default.stopSpinner();
4323
2021
  }
4324
- let rollingRelease;
4325
- let project;
2022
+ let rollingRelease = linkedProject?.rollingRelease;
2023
+ let project = linkedProject;
4326
2024
  let latestLogMessage = "";
4327
2025
  try {
4328
2026
  for await (const event of (0, import_client.createDeployment)(clientOptions, requestBody)) {
@@ -4374,17 +2072,13 @@ async function processDeployment({
4374
2072
  const deployment = event.payload;
4375
2073
  now.url = deployment.url;
4376
2074
  stopSpinner();
4377
- printInspectUrl(deployment.inspectorUrl, deployStamp);
2075
+ printInspectUrl(deployment.inspectorUrl);
4378
2076
  const isProdDeployment = deployment.target === "production";
4379
2077
  const previewUrl = `https://${deployment.url}`;
4380
- output_manager_default.print(
4381
- prependEmoji(
4382
- `${isProdDeployment ? "Production" : "Preview"}: ${import_chalk2.default.bold(
4383
- previewUrl
4384
- )} ${deployStamp()}`,
4385
- emoji(withFullLogs ? "link" : "loading")
4386
- ) + `
4387
- `
2078
+ printAlignedLabel(
2079
+ isProdDeployment ? "Production" : "Preview",
2080
+ import_chalk2.default.cyan(previewUrl),
2081
+ isProdDeployment ? { gutter: "\u25B2" } : {}
4388
2082
  );
4389
2083
  if (!jsonOutput && (quiet || process.env.FORCE_TTY === "1")) {
4390
2084
  process.stdout.write(`https://${event.payload.url}`);
@@ -4392,7 +2086,7 @@ async function processDeployment({
4392
2086
  if (noWait) {
4393
2087
  return deployment;
4394
2088
  }
4395
- latestLogMessage = deployment.readyState === "QUEUED" ? "Queued..." : "Building...";
2089
+ latestLogMessage = deployment.readyState === "QUEUED" ? "Queued\u2026" : "Building\u2026";
4396
2090
  if (withFullLogs) {
4397
2091
  let promise;
4398
2092
  ({ abortController, promise } = displayBuildLogs(
@@ -4416,7 +2110,7 @@ async function processDeployment({
4416
2110
  const lines = parseLogLines(event2);
4417
2111
  const message = lines[0];
4418
2112
  if (message) {
4419
- latestLogMessage = `Building: ${message}`;
2113
+ latestLogMessage = message;
4420
2114
  output_manager_default.spinner(latestLogMessage, 0);
4421
2115
  }
4422
2116
  },
@@ -4432,7 +2126,7 @@ async function processDeployment({
4432
2126
  output_manager_default.spinner(latestLogMessage, 0);
4433
2127
  }
4434
2128
  if (event.type === "building" && !withFullLogs) {
4435
- output_manager_default.spinner(latestLogMessage || "Building...", 0);
2129
+ output_manager_default.spinner(latestLogMessage || "Building\u2026", 0);
4436
2130
  }
4437
2131
  if (event.type === "canceled") {
4438
2132
  stopSpinner();
@@ -4443,7 +2137,7 @@ async function processDeployment({
4443
2137
  rollingRelease = project?.rollingRelease;
4444
2138
  }
4445
2139
  if (event.type === "ready" && rollingRelease) {
4446
- output_manager_default.spinner("Releasing...", 0);
2140
+ output_manager_default.spinner("Releasing\u2026", 0);
4447
2141
  stopSpinner();
4448
2142
  return event.payload;
4449
2143
  }
@@ -4454,23 +2148,19 @@ async function processDeployment({
4454
2148
  process.stderr.write(eraseLines(2));
4455
2149
  const isProdDeployment = event.payload.target === "production";
4456
2150
  const previewUrl = `https://${event.payload.url}`;
4457
- output_manager_default.print(
4458
- prependEmoji(
4459
- `${isProdDeployment ? "Production" : "Preview"}: ${import_chalk2.default.bold(
4460
- previewUrl
4461
- )} ${deployStamp()}`,
4462
- emoji("success")
4463
- ) + `
4464
- `
2151
+ printAlignedLabel(
2152
+ isProdDeployment ? "Production" : "Preview",
2153
+ import_chalk2.default.cyan(previewUrl),
2154
+ isProdDeployment ? { gutter: "\u25B2" } : {}
4465
2155
  );
4466
2156
  if (v1ChecksPending || v2ChecksPending) {
4467
- output_manager_default.spinner("Running Checks...", 0);
2157
+ output_manager_default.spinner("Running Checks\u2026", 0);
4468
2158
  } else {
4469
- output_manager_default.spinner("Completing...", 0);
2159
+ output_manager_default.spinner("Completing\u2026", 0);
4470
2160
  }
4471
2161
  }
4472
2162
  if (event.type === "checks-running" && !withFullLogs) {
4473
- output_manager_default.spinner("Running Checks...", 0);
2163
+ output_manager_default.spinner("Running Checks\u2026", 0);
4474
2164
  }
4475
2165
  if (event.type === "checks-conclusion-failed") {
4476
2166
  stopSpinner();
@@ -4512,12 +2202,7 @@ async function processDeployment({
4512
2202
  if (event.payload.target === "production" && event.payload.alias && event.payload.alias.length > 0) {
4513
2203
  const primaryDomain = event.payload.alias[0];
4514
2204
  const prodUrl = `https://${primaryDomain}`;
4515
- output_manager_default.print(
4516
- prependEmoji(
4517
- `Aliased: ${import_chalk2.default.bold(prodUrl)} ${deployStamp()}`,
4518
- emoji("link")
4519
- ) + "\n"
4520
- );
2205
+ printAlignedLabel("Aliased", import_chalk2.default.cyan(prodUrl), { gutter: "\u25B2" });
4521
2206
  }
4522
2207
  event.payload.indications = indications;
4523
2208
  return event.payload;
@@ -4613,7 +2298,6 @@ var Now = class {
4613
2298
  forceNew = false,
4614
2299
  withCache = false,
4615
2300
  target = null,
4616
- deployStamp,
4617
2301
  projectSettings,
4618
2302
  skipAutoDetectionConfirmation,
4619
2303
  noWait,
@@ -4622,10 +2306,10 @@ var Now = class {
4622
2306
  agentName,
4623
2307
  manual,
4624
2308
  jsonOutput = false,
4625
- functionsBeta
2309
+ functionsBeta,
2310
+ linkedProject
4626
2311
  }, org, isSettingUpProject, archive) {
4627
2312
  const hashes = {};
4628
- const uploadStamp = stamp_default();
4629
2313
  const requestBody = {
4630
2314
  ...nowConfig,
4631
2315
  env,
@@ -4649,8 +2333,6 @@ var Now = class {
4649
2333
  agent: this._client.agent,
4650
2334
  path,
4651
2335
  requestBody,
4652
- uploadStamp,
4653
- deployStamp,
4654
2336
  quiet,
4655
2337
  force: forceNew,
4656
2338
  withCache,
@@ -4667,7 +2349,8 @@ var Now = class {
4667
2349
  bulkRedirectsPath: nowConfig.bulkRedirectsPath,
4668
2350
  manual,
4669
2351
  jsonOutput,
4670
- functionsBeta
2352
+ functionsBeta,
2353
+ linkedProject
4671
2354
  });
4672
2355
  if (deployment && deployment.warnings) {
4673
2356
  let sizeExceeded = 0;
@@ -5135,6 +2818,7 @@ async function purchaseDomainIfAvailable(client, domain, contextName) {
5135
2818
 
5136
2819
  // src/util/deploy/print-deployment-status.ts
5137
2820
  var import_chalk6 = __toESM(require_source(), 1);
2821
+ var import_strip_ansi2 = __toESM(require_strip_ansi(), 1);
5138
2822
 
5139
2823
  // src/util/deploy/is-deploying.ts
5140
2824
  var deploymentInProgressStates = [
@@ -5147,6 +2831,9 @@ function isDeploying(readyState) {
5147
2831
  }
5148
2832
 
5149
2833
  // src/util/deploy/print-deployment-status.ts
2834
+ function bareDuration(stamp) {
2835
+ return (0, import_strip_ansi2.default)(stamp).replace(/^\[|\]$/g, "");
2836
+ }
5150
2837
  async function printDeploymentStatus(client, {
5151
2838
  readyState,
5152
2839
  aliasError,
@@ -5160,7 +2847,7 @@ async function printDeploymentStatus(client, {
5160
2847
  if (noWait) {
5161
2848
  if (isDeploying(readyState)) {
5162
2849
  isStillBuilding = true;
5163
- const message = isInit ? "Deployment is awaiting continuation..." : "Note: Deployment is still processing...";
2850
+ const message = isInit ? "Deployment is awaiting continuation\u2026" : "Note: Deployment is still processing\u2026";
5164
2851
  output_manager_default.print(prependEmoji(message, emoji("notice")) + "\n");
5165
2852
  }
5166
2853
  }
@@ -5170,6 +2857,14 @@ async function printDeploymentStatus(client, {
5170
2857
  );
5171
2858
  return 1;
5172
2859
  }
2860
+ if (!isStillBuilding && readyState === "READY") {
2861
+ const duration = bareDuration(deployStamp());
2862
+ output_manager_default.print(
2863
+ `
2864
+ ${import_chalk6.default.green("\u2713")} ${import_chalk6.default.bold("Ready")} ${import_chalk6.default.dim(`in ${duration}`)}
2865
+ `
2866
+ );
2867
+ }
5173
2868
  if (aliasError) {
5174
2869
  output_manager_default.warn(
5175
2870
  `Failed to assign aliases${aliasError.message ? `: ${aliasError.message}` : ""}`
@@ -5396,7 +3091,6 @@ async function setupDomain(client, alias, contextName) {
5396
3091
 
5397
3092
  export {
5398
3093
  require_format,
5399
- require_date_fns,
5400
3094
  require_jsonlines,
5401
3095
  displayBuildLogs,
5402
3096
  displayBuildLogsUntilFinalError,