From 5a564e3703c236ba6c91188e52e10af29261d511 Mon Sep 17 00:00:00 2001 From: Admin Date: Thu, 11 Dec 2025 09:10:42 +0700 Subject: [PATCH] update client for server --- TrackingToolWeb/.DS_Store | Bin 6148 -> 6148 bytes TrackingToolWeb/README.md | 2 + TrackingToolWeb/a.json | 2857 ----------------- TrackingToolWeb/client/.env | 2 + TrackingToolWeb/client/src/api/axios.ts | 2 +- .../main/components/tab-features/index.tsx | 45 +- TrackingToolWeb/main.py | 28 +- .../static/assets/index-BvxJK8_6.js | 80 + .../static/assets/index-CDZdzCu6.css | 1 + .../static/assets/index-Cbkb3kfK.js | 9 - .../static/assets/index-CvR5W1c8.css | 1 - TrackingToolWeb/static/index-a.html | 22 - TrackingToolWeb/static/index.html | 448 +-- TrackingToolWeb/static/vite.svg | 1 + TrackingToolWeb/uploads/checkin.jpg | Bin 237045 -> 224233 bytes TrackingToolWeb/uploads/frame.jpg | Bin 239993 -> 226981 bytes 16 files changed, 153 insertions(+), 3345 deletions(-) delete mode 100644 TrackingToolWeb/a.json create mode 100644 TrackingToolWeb/client/.env create mode 100644 TrackingToolWeb/static/assets/index-BvxJK8_6.js create mode 100644 TrackingToolWeb/static/assets/index-CDZdzCu6.css delete mode 100644 TrackingToolWeb/static/assets/index-Cbkb3kfK.js delete mode 100644 TrackingToolWeb/static/assets/index-CvR5W1c8.css delete mode 100644 TrackingToolWeb/static/index-a.html create mode 100644 TrackingToolWeb/static/vite.svg diff --git a/TrackingToolWeb/.DS_Store b/TrackingToolWeb/.DS_Store index 8a11fceeb11d5f404ac6328d97074bc5d96c5940..0f76ca87d5d6b9912a37f668c7fe7624bef7a69a 100644 GIT binary patch delta 119 zcmV--0EqvDFoZCWPXP|GP`d*G4wDQ7ag(V87?YI*5R=gaA(Oxa5t9Q2906yOAO$p& z9t9DTWd$6QRRs`}kp&$B0I!p<1u>Ja1rU?*1u_APlOzT(0s;AxRt7(lRR$1~r3M?5 Zlm-!#(FPs?L9_4%7XgugEVBm){SQQ&BlZ9Q delta 139 zcmZoMXfc@J&&a61^eXiwH; z6`0J-syaD@RdBK;s|@4%$ziNIleYkQlUbD}e+SAQWi^_t$tEzFolS9a1{+Wno5AF% kKz=2gG#i5>0|O)9 Build client xong => coppy file asset và index vào folder static của server => thêm prefix static vào link của assets trong file index VD: /static/assets + Run server uvicorn main:app --reload diff --git a/TrackingToolWeb/a.json b/TrackingToolWeb/a.json deleted file mode 100644 index c96fa9b..0000000 --- a/TrackingToolWeb/a.json +++ /dev/null @@ -1,2857 +0,0 @@ -[ - { - "user": { - "id": 2, - "name": "PHAN QUOC BAO", - "email": "ryder.ph@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "staff,admin", - "created_at": null, - "updated_at": "2025-09-25T00:15:44.000000Z", - "qrcode": "qrcode/qrcode_2.svg", - "avatar": "avatars/Us2SJQTDjqeORdlVMTUJG4E5exMi5VUhfQgGZfs3.jpg", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/storage/avatars/Us2SJQTDjqeORdlVMTUJG4E5exMi5VUhfQgGZfs3.jpg" - }, - "history": [ - { - "values": [ - { - "id": 18850, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check in", - "time_string": "2025-12-01 07:21:45.077630", - "created_at": "2025-12-01 07:21:45", - "updated_at": "2025-12-01 07:21:50", - "image": "screenshot/PHAN QUOC BAO_check in_at_2025_12_01_07_21_45.png" - }, - { - "id": 18868, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check out", - "time_string": "2025-12-01 16:31:01.846222", - "created_at": "2025-12-01 16:31:02", - "updated_at": "2025-12-01 16:31:07", - "image": "screenshot/PHAN QUOC BAO_check out_at_2025_12_01_16_31_01.png" - } - ], - "notes": [], - "total": 32957, - "day": 1 - }, - { - "values": [ - { - "id": 18881, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check in", - "time_string": "2025-12-02 07:17:54.948932", - "created_at": "2025-12-02 07:17:55", - "updated_at": "2025-12-02 07:18:00", - "image": "screenshot/PHAN QUOC BAO_check in_at_2025_12_02_07_17_54.png" - }, - { - "id": 18905, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check out", - "time_string": "2025-12-02 16:31:16.359912", - "created_at": "2025-12-02 16:31:16", - "updated_at": "2025-12-02 16:31:21", - "image": "screenshot/PHAN QUOC BAO_check out_at_2025_12_02_16_31_16.png" - } - ], - "notes": [], - "total": 33201, - "day": 2 - }, - { - "values": [ - { - "id": 18925, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check in", - "time_string": "2025-12-03 07:57:18.065627", - "created_at": "2025-12-03 07:57:18", - "updated_at": "2025-12-03 07:57:23", - "image": "screenshot/PHAN QUOC BAO_check in_at_2025_12_03_07_57_18.png" - }, - { - "id": 18933, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check out", - "time_string": "2025-12-03 16:31:54.601910", - "created_at": "2025-12-03 16:31:55", - "updated_at": "2025-12-03 16:32:01", - "image": "screenshot/PHAN QUOC BAO_check out_at_2025_12_03_16_31_54.png" - } - ], - "notes": [], - "total": 30877, - "day": 3 - }, - { - "values": [ - { - "id": 18948, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check in", - "time_string": "2025-12-04 07:23:54.346186", - "created_at": "2025-12-04 07:23:55", - "updated_at": "2025-12-04 07:24:01", - "image": "screenshot/PHAN QUOC BAO_check in_at_2025_12_04_07_23_54.png" - }, - { - "id": 18962, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check out", - "time_string": "2025-12-04 16:32:10.370090", - "created_at": "2025-12-04 16:32:11", - "updated_at": "2025-12-04 16:32:17", - "image": "screenshot/PHAN QUOC BAO_check out_at_2025_12_04_16_32_10.png" - } - ], - "notes": [], - "total": 32896, - "day": 4 - }, - { - "values": [ - { - "id": 18978, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check in", - "time_string": "2025-12-05 07:23:32.282770", - "created_at": "2025-12-05 07:23:32", - "updated_at": "2025-12-05 07:23:39", - "image": "screenshot/PHAN QUOC BAO_check in_at_2025_12_05_07_23_32.png" - }, - { - "id": 18992, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check out", - "time_string": "2025-12-05 16:32:12.333410", - "created_at": "2025-12-05 16:32:13", - "updated_at": "2025-12-05 16:32:19", - "image": "screenshot/PHAN QUOC BAO_check out_at_2025_12_05_16_32_12.png" - } - ], - "notes": [], - "total": 32921, - "day": 5 - }, - { - "values": [ - { - "id": 19011, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check in", - "time_string": "2025-12-06 07:43:21.777298", - "created_at": "2025-12-06 07:43:22", - "updated_at": "2025-12-06 07:43:29", - "image": "screenshot/PHAN QUOC BAO_check in_at_2025_12_06_07_43_21.png" - }, - { - "id": 19018, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check out", - "time_string": "2025-12-06 11:31:13.157186", - "created_at": "2025-12-06 11:31:13", - "updated_at": "2025-12-06 11:31:19", - "image": "screenshot/PHAN QUOC BAO_check out_at_2025_12_06_11_31_13.png" - } - ], - "notes": [], - "total": 13671, - "day": 6 - }, - { - "values": [ - { - "id": 19028, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check in", - "time_string": "2025-12-08 07:26:28.034998", - "created_at": "2025-12-08 07:26:28", - "updated_at": "2025-12-08 07:26:35", - "image": "screenshot/PHAN QUOC BAO_check in_at_2025_12_08_07_26_28.png" - }, - { - "id": 19047, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check out", - "time_string": "2025-12-08 16:32:32.889885", - "created_at": "2025-12-08 16:32:33", - "updated_at": "2025-12-08 16:32:38", - "image": "screenshot/PHAN QUOC BAO_check out_at_2025_12_08_16_32_32.png" - } - ], - "notes": [], - "total": 32765, - "day": 8 - }, - { - "values": [ - { - "id": 19063, - "name": "PHAN QUOC BAO", - "user_id": 2, - "status": "check in", - "time_string": "2025-12-09 07:22:55.510278", - "created_at": "2025-12-09 07:22:56", - "updated_at": "2025-12-09 07:23:01", - "image": "screenshot/PHAN QUOC BAO_check in_at_2025_12_09_07_22_55.png" - } - ], - "notes": [], - "total": 0, - "day": 9 - } - ] - }, - { - "user": { - "id": 3, - "name": "PHAM VAN HUYNH", - "email": "jon.ph@apactech.io", - "email_verified_at": null, - "forgot_code": "EKxX8fSpbtfviejK", - "permission": "staff,admin", - "created_at": null, - "updated_at": "2025-08-15T03:16:59.000000Z", - "qrcode": "qrcode/qrcode_3.svg", - "avatar": "", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/img/avatar.png" - }, - "history": [ - { - "values": [ - { - "id": 18855, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-01 07:31:58.942770", - "created_at": "2025-12-01 07:31:59", - "updated_at": "2025-12-01 07:32:04", - "image": "screenshot/PHAM VAN HUYNH_check in_at_2025_12_01_07_31_58.png" - }, - { - "id": 18864, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-01 11:48:57.255567", - "created_at": "2025-12-01 11:48:57", - "updated_at": "2025-12-01 11:49:02", - "image": "screenshot/PHAM VAN HUYNH_check out_at_2025_12_01_11_48_57.png" - }, - { - "id": 18866, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-01 13:02:25.532096", - "created_at": "2025-12-01 13:02:25", - "updated_at": "2025-12-01 13:02:30", - "image": "screenshot/PHAM VAN HUYNH_check in_at_2025_12_01_13_02_25.png" - }, - { - "id": 18891, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-01 17:00:00", - "created_at": "2025-12-01 17:00:00", - "updated_at": "2025-12-02 07:41:03", - "image": "" - } - ], - "notes": [], - "total": 29673, - "day": 1 - }, - { - "values": [ - { - "id": 18885, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-02 07:31:41.909615", - "created_at": "2025-12-02 07:31:42", - "updated_at": "2025-12-02 07:31:46", - "image": "screenshot/PHAM VAN HUYNH_check out_at_2025_12_02_07_31_41.png" - }, - { - "id": 18894, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-02 11:31:01.780303", - "created_at": "2025-12-02 11:31:02", - "updated_at": "2025-12-02 11:31:06", - "image": "screenshot/PHAM VAN HUYNH_check in_at_2025_12_02_11_31_01.png" - }, - { - "id": 18898, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-02 13:01:52.299142", - "created_at": "2025-12-02 13:01:52", - "updated_at": "2025-12-02 13:01:57", - "image": "screenshot/PHAM VAN HUYNH_check out_at_2025_12_02_13_01_52.png" - }, - { - "id": 18919, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-02 17:00:00", - "created_at": "2025-12-02 17:00:00", - "updated_at": "2025-12-03 07:29:10", - "image": "" - } - ], - "notes": [], - "total": 28648, - "day": 2 - }, - { - "values": [ - { - "id": 18922, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-03 07:36:42.101495", - "created_at": "2025-12-03 07:36:42", - "updated_at": "2025-12-03 07:36:47", - "image": "screenshot/PHAM VAN HUYNH_check in_at_2025_12_03_07_36_42.png" - }, - { - "id": 18928, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-03 11:34:52.521811", - "created_at": "2025-12-03 11:34:53", - "updated_at": "2025-12-03 11:34:58", - "image": "screenshot/PHAM VAN HUYNH_check out_at_2025_12_03_11_34_52.png" - }, - { - "id": 18931, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-03 13:01:58.361426", - "created_at": "2025-12-03 13:01:58", - "updated_at": "2025-12-03 13:02:03", - "image": "screenshot/PHAM VAN HUYNH_check in_at_2025_12_03_13_01_58.png" - }, - { - "id": 18941, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-03 16:56:11.045154", - "created_at": "2025-12-03 16:56:11", - "updated_at": "2025-12-03 16:56:17", - "image": "screenshot/PHAM VAN HUYNH_check out_at_2025_12_03_16_56_11.png" - } - ], - "notes": [], - "total": 28344, - "day": 3 - }, - { - "values": [ - { - "id": 18955, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-04 07:39:58.011662", - "created_at": "2025-12-04 07:39:58", - "updated_at": "2025-12-04 07:40:04", - "image": "screenshot/PHAM VAN HUYNH_check in_at_2025_12_04_07_39_58.png" - }, - { - "id": 18958, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-04 11:35:32.817275", - "created_at": "2025-12-04 11:35:33", - "updated_at": "2025-12-04 11:35:39", - "image": "screenshot/PHAM VAN HUYNH_check out_at_2025_12_04_11_35_32.png" - }, - { - "id": 18961, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-04 13:02:10", - "created_at": "2025-12-04 13:02:10", - "updated_at": "2025-12-04 13:02:34", - "image": "" - }, - { - "id": 18969, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-04 17:00:04.467978", - "created_at": "2025-12-04 17:00:05", - "updated_at": "2025-12-04 17:00:11", - "image": "screenshot/PHAM VAN HUYNH_check in_at_2025_12_04_17_00_04.png" - } - ], - "notes": [], - "total": 28410, - "day": 4 - }, - { - "values": [ - { - "id": 18981, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-05 07:28:05.428022", - "created_at": "2025-12-05 07:28:06", - "updated_at": "2025-12-05 07:28:12", - "image": "screenshot/PHAM VAN HUYNH_check out_at_2025_12_05_07_28_05.png" - }, - { - "id": 18986, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-05 11:43:33.885469", - "created_at": "2025-12-05 11:43:34", - "updated_at": "2025-12-05 11:43:41", - "image": "screenshot/PHAM VAN HUYNH_check in_at_2025_12_05_11_43_33.png" - }, - { - "id": 18991, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-05 13:01:00", - "created_at": "2025-12-05 13:01:00", - "updated_at": "2025-12-05 16:17:09", - "image": "" - }, - { - "id": 18998, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-05 16:55:45", - "created_at": "2025-12-05 16:55:45", - "updated_at": "2025-12-05 16:56:10", - "image": "" - } - ], - "notes": [], - "total": 29413, - "day": 5 - }, - { - "values": [ - { - "id": 19007, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-06 07:36:37.990316", - "created_at": "2025-12-06 07:36:38", - "updated_at": "2025-12-06 07:36:44", - "image": "screenshot/PHAM VAN HUYNH_check in_at_2025_12_06_07_36_37.png" - }, - { - "id": 19013, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-06 11:31:00", - "created_at": "2025-12-06 11:31:00", - "updated_at": "2025-12-06 09:35:42", - "image": "" - } - ], - "notes": [], - "total": 14062, - "day": 6 - }, - { - "values": [ - { - "id": 19031, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-08 07:37:27.191265", - "created_at": "2025-12-08 07:37:27", - "updated_at": "2025-12-08 07:37:34", - "image": "screenshot/PHAM VAN HUYNH_check in_at_2025_12_08_07_37_27.png" - }, - { - "id": 19039, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-08 11:34:00.622003", - "created_at": "2025-12-08 11:34:01", - "updated_at": "2025-12-08 11:34:07", - "image": "screenshot/PHAM VAN HUYNH_check out_at_2025_12_08_11_34_00.png" - }, - { - "id": 19052, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-08 13:01:00", - "created_at": "2025-12-08 13:01:00", - "updated_at": "2025-12-08 16:54:03", - "image": "" - }, - { - "id": 19053, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-08 16:59:00", - "created_at": "2025-12-08 16:59:00", - "updated_at": "2025-12-08 16:54:21", - "image": "" - } - ], - "notes": [], - "total": 28474, - "day": 8 - }, - { - "values": [ - { - "id": 19069, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-09 07:36:40.675248", - "created_at": "2025-12-09 07:36:41", - "updated_at": "2025-12-09 07:36:46", - "image": "screenshot/PHAM VAN HUYNH_check in_at_2025_12_09_07_36_40.png" - }, - { - "id": 19077, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check out", - "time_string": "2025-12-09 13:01:00", - "created_at": "2025-12-09 13:01:00", - "updated_at": "2025-12-09 14:19:42", - "image": "" - }, - { - "id": 19078, - "name": "PHAM VAN HUYNH", - "user_id": 3, - "status": "check in", - "time_string": "2025-12-09 13:05:00", - "created_at": "2025-12-09 13:05:00", - "updated_at": "2025-12-09 14:20:01", - "image": "" - } - ], - "notes": [], - "total": 19459, - "day": 9 - }, - { - "values": [], - "notes": [ - { - "id": 630, - "timeType": "ALL", - "timeTypeName": "C\u1ea3 Ng\u00e0y", - "reason": "ONLEAVE", - "reasonName": "Ngh\u1ec9 ph\u00e9p", - "note": "vi\u1ec7c gia \u0111inh" - } - ], - "total": 0, - "day": 19 - }, - { - "values": [], - "notes": [ - { - "id": 631, - "timeType": "ALL", - "timeTypeName": "C\u1ea3 Ng\u00e0y", - "reason": "ONLEAVE", - "reasonName": "Ngh\u1ec9 ph\u00e9p", - "note": "vi\u1ec7c gia \u0111\u00ecnh" - } - ], - "total": 0, - "day": 22 - }, - { - "values": [], - "notes": [ - { - "id": 632, - "timeType": "ALL", - "timeTypeName": "C\u1ea3 Ng\u00e0y", - "reason": "ONLEAVE", - "reasonName": "Ngh\u1ec9 ph\u00e9p", - "note": "vi\u1ec7c gia \u0111\u00ecnh" - } - ], - "total": 0, - "day": 23 - } - ] - }, - { - "user": { - "id": 4, - "name": "VO MINH TRUONG", - "email": "vincent.vo@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "staff", - "created_at": null, - "updated_at": "2025-09-05T10:06:13.000000Z", - "qrcode": "qrcode/qrcode_4.svg", - "avatar": "avatars/UXk5UKfCmIrHMgF0sik7t0Gf0bOQ62lmwk2SVabb.jpg", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/storage/avatars/UXk5UKfCmIrHMgF0sik7t0Gf0bOQ62lmwk2SVabb.jpg" - }, - "history": [ - { - "values": [ - { - "id": 18858, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check in", - "time_string": "2025-12-01 07:37:19.131223", - "created_at": "2025-12-01 07:37:19", - "updated_at": "2025-12-01 07:37:24", - "image": "screenshot/VO MINH TRUONG_check in_at_2025_12_01_07_37_19.png" - }, - { - "id": 18893, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check out", - "time_string": "2025-12-01 17:00:00", - "created_at": "2025-12-01 17:00:00", - "updated_at": "2025-12-02 07:42:23", - "image": "" - } - ], - "notes": [], - "total": 33761, - "day": 1 - }, - { - "values": [ - { - "id": 18887, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check in", - "time_string": "2025-12-02 07:33:44.428686", - "created_at": "2025-12-02 07:33:44", - "updated_at": "2025-12-02 07:33:49", - "image": "screenshot/VO MINH TRUONG_check out_at_2025_12_02_07_33_44.png" - }, - { - "id": 18910, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check out", - "time_string": "2025-12-02 16:54:22.793843", - "created_at": "2025-12-02 16:54:24", - "updated_at": "2025-12-02 16:54:34", - "image": "screenshot/VO MINH TRUONG_check in_at_2025_12_02_16_54_22.png" - } - ], - "notes": [], - "total": 33640, - "day": 2 - }, - { - "values": [ - { - "id": 18924, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check in", - "time_string": "2025-12-03 07:42:16.610797", - "created_at": "2025-12-03 07:42:17", - "updated_at": "2025-12-03 07:42:22", - "image": "screenshot/VO MINH TRUONG_check in_at_2025_12_03_07_42_16.png" - }, - { - "id": 18951, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check out", - "time_string": "2025-12-03 17:00:00", - "created_at": "2025-12-03 17:00:00", - "updated_at": "2025-12-04 07:32:52", - "image": "" - } - ], - "notes": [], - "total": 33463, - "day": 3 - }, - { - "values": [ - { - "id": 18954, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check in", - "time_string": "2025-12-04 07:39:03.808760", - "created_at": "2025-12-04 07:39:04", - "updated_at": "2025-12-04 07:39:10", - "image": "screenshot/VO MINH TRUONG_check out_at_2025_12_04_07_39_03.png" - }, - { - "id": 18971, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check out", - "time_string": "2025-12-04 17:00:59.078275", - "created_at": "2025-12-04 17:00:59", - "updated_at": "2025-12-04 17:01:05", - "image": "screenshot/VO MINH TRUONG_check in_at_2025_12_04_17_00_59.png" - } - ], - "notes": [], - "total": 33715, - "day": 4 - }, - { - "values": [ - { - "id": 18984, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check in", - "time_string": "2025-12-05 07:35:05.900729", - "created_at": "2025-12-05 07:35:06", - "updated_at": "2025-12-05 07:35:12", - "image": "screenshot/VO MINH TRUONG_check out_at_2025_12_05_07_35_05.png" - }, - { - "id": 19002, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check out", - "time_string": "2025-12-05 17:12:33.779494", - "created_at": "2025-12-05 17:12:34", - "updated_at": "2025-12-05 17:12:40", - "image": "screenshot/VO MINH TRUONG_check in_at_2025_12_05_17_12_33.png" - } - ], - "notes": [], - "total": 34648, - "day": 5 - }, - { - "values": [ - { - "id": 19012, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check in", - "time_string": "2025-12-06 07:47:33.468667", - "created_at": "2025-12-06 07:47:34", - "updated_at": "2025-12-06 07:47:40", - "image": "screenshot/VO MINH TRUONG_check in_at_2025_12_06_07_47_33.png" - }, - { - "id": 19019, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check out", - "time_string": "2025-12-06 11:32:52.718995", - "created_at": "2025-12-06 11:32:53", - "updated_at": "2025-12-06 11:32:59", - "image": "screenshot/VO MINH TRUONG_check out_at_2025_12_06_11_32_52.png" - } - ], - "notes": [], - "total": 13519, - "day": 6 - }, - { - "values": [ - { - "id": 19032, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check in", - "time_string": "2025-12-08 07:40:47.907764", - "created_at": "2025-12-08 07:40:48", - "updated_at": "2025-12-08 07:40:55", - "image": "screenshot/VO MINH TRUONG_check in_at_2025_12_08_07_40_47.png" - }, - { - "id": 19056, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check out", - "time_string": "2025-12-08 16:59:29.583991", - "created_at": "2025-12-08 16:59:30", - "updated_at": "2025-12-08 16:59:35", - "image": "screenshot/VO MINH TRUONG_check out_at_2025_12_08_16_59_29.png" - } - ], - "notes": [], - "total": 33522, - "day": 8 - }, - { - "values": [ - { - "id": 19070, - "name": "VO MINH TRUONG", - "user_id": 4, - "status": "check in", - "time_string": "2025-12-09 07:38:17.786990", - "created_at": "2025-12-09 07:38:18", - "updated_at": "2025-12-09 07:38:23", - "image": "screenshot/VO MINH TRUONG_check in_at_2025_12_09_07_38_17.png" - } - ], - "notes": [], - "total": 0, - "day": 9 - } - ] - }, - { - "user": { - "id": 6, - "name": "NGUYEN VO TINH", - "email": "alex.ng@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "staff", - "created_at": null, - "updated_at": "2024-09-10T17:07:07.000000Z", - "qrcode": "qrcode/qrcode_6.svg", - "avatar": "", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/img/avatar.png" - }, - "history": [ - { - "values": [ - { - "id": 18849, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check in", - "time_string": "2025-12-01 07:19:50.920048", - "created_at": "2025-12-01 07:19:51", - "updated_at": "2025-12-01 07:19:57", - "image": "screenshot/NGUYEN VO TINH_check in_at_2025_12_01_07_19_50.png" - }, - { - "id": 18872, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check out", - "time_string": "2025-12-01 16:39:41.581694", - "created_at": "2025-12-01 16:39:42", - "updated_at": "2025-12-01 16:39:46", - "image": "screenshot/NGUYEN VO TINH_check out_at_2025_12_01_16_39_41.png" - } - ], - "notes": [], - "total": 33591, - "day": 1 - }, - { - "values": [ - { - "id": 18878, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check in", - "time_string": "2025-12-02 07:14:37.858595", - "created_at": "2025-12-02 07:14:38", - "updated_at": "2025-12-02 07:14:43", - "image": "screenshot/NGUYEN VO TINH_check in_at_2025_12_02_07_14_37.png" - }, - { - "id": 18906, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check out", - "time_string": "2025-12-02 16:46:56.302372", - "created_at": "2025-12-02 16:46:56", - "updated_at": "2025-12-02 16:47:01", - "image": "screenshot/NGUYEN VO TINH_check out_at_2025_12_02_16_46_56.png" - } - ], - "notes": [], - "total": 34338, - "day": 2 - }, - { - "values": [ - { - "id": 18916, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check in", - "time_string": "2025-12-03 07:17:33.920103", - "created_at": "2025-12-03 07:17:34", - "updated_at": "2025-12-03 07:17:39", - "image": "screenshot/NGUYEN VO TINH_check in_at_2025_12_03_07_17_33.png" - }, - { - "id": 18937, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check out", - "time_string": "2025-12-03 16:40:19.167463", - "created_at": "2025-12-03 16:40:19", - "updated_at": "2025-12-03 16:40:25", - "image": "screenshot/NGUYEN VO TINH_check out_at_2025_12_03_16_40_19.png" - } - ], - "notes": [], - "total": 33765, - "day": 3 - }, - { - "values": [ - { - "id": 18945, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check in", - "time_string": "2025-12-04 07:12:56.057120", - "created_at": "2025-12-04 07:12:56", - "updated_at": "2025-12-04 07:13:02", - "image": "screenshot/NGUYEN VO TINH_check in_at_2025_12_04_07_12_56.png" - }, - { - "id": 18963, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check out", - "time_string": "2025-12-04 16:42:07.258174", - "created_at": "2025-12-04 16:42:08", - "updated_at": "2025-12-04 16:42:13", - "image": "screenshot/NGUYEN VO TINH_check out_at_2025_12_04_16_42_07.png" - } - ], - "notes": [], - "total": 34152, - "day": 4 - }, - { - "values": [ - { - "id": 18977, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check in", - "time_string": "2025-12-05 07:22:18.357220", - "created_at": "2025-12-05 07:22:19", - "updated_at": "2025-12-05 07:22:25", - "image": "screenshot/NGUYEN VO TINH_check in_at_2025_12_05_07_22_18.png" - }, - { - "id": 18993, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check out", - "time_string": "2025-12-05 16:40:35.865455", - "created_at": "2025-12-05 16:40:36", - "updated_at": "2025-12-05 16:40:42", - "image": "screenshot/NGUYEN VO TINH_check out_at_2025_12_05_16_40_35.png" - } - ], - "notes": [], - "total": 33497, - "day": 5 - }, - { - "values": [], - "notes": [ - { - "id": 660, - "timeType": "S", - "timeTypeName": "Bu\u1ed5i S\u00e1ng", - "reason": "ONLEAVE", - "reasonName": "Ngh\u1ec9 ph\u00e9p", - "note": "\u0110\u1ed5i ng\u00e0y 5 sang ng\u00e0y 6/12" - } - ], - "total": 0, - "day": 6 - }, - { - "values": [ - { - "id": 19023, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check in", - "time_string": "2025-12-08 07:13:13.001372", - "created_at": "2025-12-08 07:13:13", - "updated_at": "2025-12-08 07:13:24", - "image": "screenshot/NGUYEN VO TINH_check in_at_2025_12_08_07_13_13.png" - }, - { - "id": 19049, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check out", - "time_string": "2025-12-08 16:45:38.505760", - "created_at": "2025-12-08 16:45:39", - "updated_at": "2025-12-08 16:45:44", - "image": "screenshot/NGUYEN VO TINH_check in_at_2025_12_08_16_45_38.png" - } - ], - "notes": [], - "total": 34346, - "day": 8 - }, - { - "values": [ - { - "id": 19060, - "name": "NGUYEN VO TINH", - "user_id": 6, - "status": "check in", - "time_string": "2025-12-09 07:10:23.823526", - "created_at": "2025-12-09 07:10:24", - "updated_at": "2025-12-09 07:10:29", - "image": "screenshot/NGUYEN VO TINH_check out_at_2025_12_09_07_10_23.png" - } - ], - "notes": [], - "total": 0, - "day": 9 - } - ] - }, - { - "user": { - "id": 7, - "name": "DANG TRUNG KIEN", - "email": "kevin.dang@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "staff", - "created_at": null, - "updated_at": "2024-09-23T19:32:25.000000Z", - "qrcode": "qrcode/qrcode_7.svg", - "avatar": "avatars/4kpcWpQhRYiWcB5B3N957ONN9w6jppcCZKzoIFxK.jpg", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/storage/avatars/4kpcWpQhRYiWcB5B3N957ONN9w6jppcCZKzoIFxK.jpg" - }, - "history": [ - { - "values": [ - { - "id": 18851, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check in", - "time_string": "2025-12-01 07:23:10.232029", - "created_at": "2025-12-01 07:23:10", - "updated_at": "2025-12-01 07:23:15", - "image": "screenshot/DANG TRUNG KIEN_check in_at_2025_12_01_07_23_10.png" - }, - { - "id": 18870, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check out", - "time_string": "2025-12-01 16:37:08.914068", - "created_at": "2025-12-01 16:37:09", - "updated_at": "2025-12-01 16:37:14", - "image": "screenshot/DANG TRUNG KIEN_check out_at_2025_12_01_16_37_08.png" - } - ], - "notes": [], - "total": 33239, - "day": 1 - }, - { - "values": [ - { - "id": 18879, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check in", - "time_string": "2025-12-02 07:15:31.268305", - "created_at": "2025-12-02 07:15:31", - "updated_at": "2025-12-02 07:15:36", - "image": "screenshot/DANG TRUNG KIEN_check in_at_2025_12_02_07_15_31.png" - }, - { - "id": 18907, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check out", - "time_string": "2025-12-02 16:47:28.469374", - "created_at": "2025-12-02 16:47:28", - "updated_at": "2025-12-02 16:47:33", - "image": "screenshot/DANG TRUNG KIEN_check out_at_2025_12_02_16_47_28.png" - } - ], - "notes": [], - "total": 34317, - "day": 2 - }, - { - "values": [ - { - "id": 18915, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check in", - "time_string": "2025-12-03 07:15:32.407355", - "created_at": "2025-12-03 07:15:32", - "updated_at": "2025-12-03 07:15:39", - "image": "screenshot/DANG TRUNG KIEN_check in_at_2025_12_03_07_15_32.png" - }, - { - "id": 18936, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check out", - "time_string": "2025-12-03 16:39:19.280399", - "created_at": "2025-12-03 16:39:19", - "updated_at": "2025-12-03 16:39:26", - "image": "screenshot/DANG TRUNG KIEN_check out_at_2025_12_03_16_39_19.png" - } - ], - "notes": [], - "total": 33827, - "day": 3 - }, - { - "values": [ - { - "id": 18947, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check in", - "time_string": "2025-12-04 07:17:53.579924", - "created_at": "2025-12-04 07:17:54", - "updated_at": "2025-12-04 07:18:00", - "image": "screenshot/DANG TRUNG KIEN_check in_at_2025_12_04_07_17_53.png" - }, - { - "id": 18964, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check out", - "time_string": "2025-12-04 16:42:18.008511", - "created_at": "2025-12-04 16:42:18", - "updated_at": "2025-12-04 16:42:24", - "image": "screenshot/DANG TRUNG KIEN_check out_at_2025_12_04_16_42_18.png" - } - ], - "notes": [], - "total": 33864, - "day": 4 - }, - { - "values": [ - { - "id": 18976, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check in", - "time_string": "2025-12-05 07:15:57.156296", - "created_at": "2025-12-05 07:15:57", - "updated_at": "2025-12-05 07:16:03", - "image": "screenshot/DANG TRUNG KIEN_check in_at_2025_12_05_07_15_57.png" - }, - { - "id": 18994, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check out", - "time_string": "2025-12-05 16:40:59.616812", - "created_at": "2025-12-05 16:40:59", - "updated_at": "2025-12-05 16:41:05", - "image": "screenshot/DANG TRUNG KIEN_check out_at_2025_12_05_16_40_59.png" - } - ], - "notes": [], - "total": 33902, - "day": 5 - }, - { - "values": [ - { - "id": 19005, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check in", - "time_string": "2025-12-06 07:29:26.237961", - "created_at": "2025-12-06 07:29:26", - "updated_at": "2025-12-06 07:29:35", - "image": "screenshot/DANG TRUNG KIEN_check in_at_2025_12_06_07_29_26.png" - }, - { - "id": 19016, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check out", - "time_string": "2025-12-06 11:12:11.403342", - "created_at": "2025-12-06 11:12:12", - "updated_at": "2025-12-06 11:12:18", - "image": "screenshot/DANG TRUNG KIEN_check out_at_2025_12_06_11_12_11.png" - } - ], - "notes": [], - "total": 13366, - "day": 6 - }, - { - "values": [ - { - "id": 19025, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check in", - "time_string": "2025-12-08 07:22:13.273264", - "created_at": "2025-12-08 07:22:14", - "updated_at": "2025-12-08 07:22:23", - "image": "screenshot/DANG TRUNG KIEN_check in_at_2025_12_08_07_22_13.png" - }, - { - "id": 19034, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check out", - "time_string": "2025-12-08 11:31:09.058502", - "created_at": "2025-12-08 11:31:09", - "updated_at": "2025-12-08 11:31:16", - "image": "screenshot/DANG TRUNG KIEN_check out_at_2025_12_08_11_31_09.png" - } - ], - "notes": [ - { - "id": 661, - "timeType": "C", - "timeTypeName": "Bu\u1ed5i Chi\u1ec1u", - "reason": "ONLEAVE", - "reasonName": "Ngh\u1ec9 ph\u00e9p", - "note": "B\u1ec7nh" - } - ], - "total": 14935, - "day": 8 - }, - { - "values": [ - { - "id": 19061, - "name": "DANG TRUNG KIEN", - "user_id": 7, - "status": "check in", - "time_string": "2025-12-09 07:13:30.948867", - "created_at": "2025-12-09 07:13:31", - "updated_at": "2025-12-09 07:13:36", - "image": "screenshot/DANG TRUNG KIEN_check in_at_2025_12_09_07_13_30.png" - } - ], - "notes": [], - "total": 0, - "day": 9 - } - ] - }, - { - "user": { - "id": 8, - "name": "HUYNH THI HONG GAM", - "email": "rose.h@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "staff,hr,tester", - "created_at": null, - "updated_at": "2024-09-24T11:52:33.000000Z", - "qrcode": "qrcode/qrcode_8.svg", - "avatar": "avatars/ZDMxwwo5qkBqO5R1XjGPf0Vp2Q5YwsYhosOhmhDH.jpg", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/storage/avatars/ZDMxwwo5qkBqO5R1XjGPf0Vp2Q5YwsYhosOhmhDH.jpg" - }, - "history": [ - { - "values": [ - { - "id": 18854, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check in", - "time_string": "2025-12-01 07:26:21.422948", - "created_at": "2025-12-01 07:26:21", - "updated_at": "2025-12-01 07:26:26", - "image": "screenshot/HUYNH THI HONG GAM_check in_at_2025_12_01_07_26_21.png" - }, - { - "id": 18874, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check out", - "time_string": "2025-12-01 16:51:15.204775", - "created_at": "2025-12-01 16:51:15", - "updated_at": "2025-12-01 16:51:20", - "image": "screenshot/HUYNH THI HONG GAM_check out_at_2025_12_01_16_51_15.png" - } - ], - "notes": [], - "total": 33894, - "day": 1 - }, - { - "values": [ - { - "id": 18882, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check in", - "time_string": "2025-12-02 07:21:08.133899", - "created_at": "2025-12-02 07:21:08", - "updated_at": "2025-12-02 07:21:14", - "image": "screenshot/HUYNH THI HONG GAM_check in_at_2025_12_02_07_21_08.png" - }, - { - "id": 18918, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check out", - "time_string": "2025-12-02 17:00:00", - "created_at": "2025-12-02 17:00:00", - "updated_at": "2025-12-03 07:23:24", - "image": "" - } - ], - "notes": [], - "total": 34732, - "day": 2 - }, - { - "values": [ - { - "id": 18917, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check in", - "time_string": "2025-12-03 07:19:58.725355", - "created_at": "2025-12-03 07:19:59", - "updated_at": "2025-12-03 07:20:04", - "image": "screenshot/HUYNH THI HONG GAM_check in_at_2025_12_03_07_19_58.png" - }, - { - "id": 18935, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check out", - "time_string": "2025-12-03 16:38:18.157134", - "created_at": "2025-12-03 16:38:19", - "updated_at": "2025-12-03 16:38:29", - "image": "screenshot/HUYNH THI HONG GAM_check in_at_2025_12_03_16_38_18.png" - } - ], - "notes": [], - "total": 33500, - "day": 3 - }, - { - "values": [ - { - "id": 18949, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check in", - "time_string": "2025-12-04 07:24:52.821441", - "created_at": "2025-12-04 07:24:53", - "updated_at": "2025-12-04 07:24:59", - "image": "screenshot/HUYNH THI HONG GAM_check out_at_2025_12_04_07_24_52.png" - }, - { - "id": 18967, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check out", - "time_string": "2025-12-04 16:53:26.315094", - "created_at": "2025-12-04 16:53:28", - "updated_at": "2025-12-04 16:53:39", - "image": "screenshot/HUYNH THI HONG GAM_check in_at_2025_12_04_16_53_26.png" - } - ], - "notes": [], - "total": 34115, - "day": 4 - }, - { - "values": [ - { - "id": 18980, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check in", - "time_string": "2025-12-05 07:25:07.321090", - "created_at": "2025-12-05 07:25:08", - "updated_at": "2025-12-05 07:25:14", - "image": "screenshot/HUYNH THI HONG GAM_check in_at_2025_12_05_07_25_07.png" - }, - { - "id": 18996, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check out", - "time_string": "2025-12-05 16:44:14.299335", - "created_at": "2025-12-05 16:44:15", - "updated_at": "2025-12-05 16:44:26", - "image": "screenshot/HUYNH THI HONG GAM_check in_at_2025_12_05_16_44_14.png" - } - ], - "notes": [], - "total": 33547, - "day": 5 - }, - { - "values": [], - "notes": [ - { - "id": 656, - "timeType": "S", - "timeTypeName": "Bu\u1ed5i S\u00e1ng", - "reason": "ONLEAVE", - "reasonName": "Ngh\u1ec9 ph\u00e9p", - "note": "B\u1eadn vi\u1ec7c c\u00e1 nh\u00e2n" - } - ], - "total": 0, - "day": 6 - }, - { - "values": [ - { - "id": 19024, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check in", - "time_string": "2025-12-08 07:21:21.914622", - "created_at": "2025-12-08 07:21:22", - "updated_at": "2025-12-08 07:21:33", - "image": "screenshot/HUYNH THI HONG GAM_check in_at_2025_12_08_07_21_21.png" - }, - { - "id": 19055, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check out", - "time_string": "2025-12-08 16:58:44.330319", - "created_at": "2025-12-08 16:58:44", - "updated_at": "2025-12-08 16:58:50", - "image": "screenshot/HUYNH THI HONG GAM_check in_at_2025_12_08_16_58_44.png" - } - ], - "notes": [], - "total": 34642, - "day": 8 - }, - { - "values": [ - { - "id": 19065, - "name": "HUYNH THI HONG GAM", - "user_id": 8, - "status": "check in", - "time_string": "2025-12-09 07:24:54.748438", - "created_at": "2025-12-09 07:24:55", - "updated_at": "2025-12-09 07:25:00", - "image": "screenshot/HUYNH THI HONG GAM_check out_at_2025_12_09_07_24_54.png" - } - ], - "notes": [], - "total": 0, - "day": 9 - } - ] - }, - { - "user": { - "id": 9, - "name": "NGUYEN TRUNG THAT", - "email": "andrew.ng@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "staff", - "created_at": null, - "updated_at": "2024-09-23T18:01:08.000000Z", - "qrcode": "qrcode/qrcode_9.svg", - "avatar": "avatars/MOo8dR7QsaUPbuVF92ALJf3P4mJKEmp9OD9jGi2M.jpg", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/storage/avatars/MOo8dR7QsaUPbuVF92ALJf3P4mJKEmp9OD9jGi2M.jpg" - }, - "history": [ - { - "values": [ - { - "id": 18853, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-01 07:25:59.554488", - "created_at": "2025-12-01 07:26:00", - "updated_at": "2025-12-01 07:26:04", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_01_07_25_59.png" - }, - { - "id": 18863, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-01 11:44:35.055019", - "created_at": "2025-12-01 11:44:35", - "updated_at": "2025-12-01 11:44:40", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_01_11_44_35.png" - }, - { - "id": 18865, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-01 13:01:21.978425", - "created_at": "2025-12-01 13:01:22", - "updated_at": "2025-12-01 13:01:27", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_01_13_01_21.png" - }, - { - "id": 18875, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-01 16:56:19.304443", - "created_at": "2025-12-01 16:56:19", - "updated_at": "2025-12-01 16:56:24", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_01_16_56_19.png" - } - ], - "notes": [], - "total": 29612, - "day": 1 - }, - { - "values": [ - { - "id": 18884, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-02 07:25:21.543753", - "created_at": "2025-12-02 07:25:22", - "updated_at": "2025-12-02 07:25:26", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_02_07_25_21.png" - }, - { - "id": 18896, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-02 11:34:26.341165", - "created_at": "2025-12-02 11:34:26", - "updated_at": "2025-12-02 11:34:31", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_02_11_34_26.png" - }, - { - "id": 18899, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-02 13:02:55.266459", - "created_at": "2025-12-02 13:02:55", - "updated_at": "2025-12-02 13:03:00", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_02_13_02_55.png" - }, - { - "id": 18904, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-02 16:19:10.065340", - "created_at": "2025-12-02 16:19:10", - "updated_at": "2025-12-02 16:19:14", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_02_16_19_10.png" - } - ], - "notes": [], - "total": 26719, - "day": 2 - }, - { - "values": [ - { - "id": 18920, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-03 07:29:39.176166", - "created_at": "2025-12-03 07:29:39", - "updated_at": "2025-12-03 07:29:44", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_03_07_29_39.png" - }, - { - "id": 18940, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-03 16:55:54.563962", - "created_at": "2025-12-03 16:55:55", - "updated_at": "2025-12-03 16:56:01", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_03_16_55_54.png" - } - ], - "notes": [], - "total": 33976, - "day": 3 - }, - { - "values": [ - { - "id": 18946, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-04 07:17:40.017479", - "created_at": "2025-12-04 07:17:40", - "updated_at": "2025-12-04 07:17:46", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_04_07_17_40.png" - }, - { - "id": 18957, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-04 11:35:04.094579", - "created_at": "2025-12-04 11:35:04", - "updated_at": "2025-12-04 11:35:11", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_04_11_35_04.png" - }, - { - "id": 18960, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-04 13:00:58.070187", - "created_at": "2025-12-04 13:00:58", - "updated_at": "2025-12-04 13:01:04", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_04_13_00_58.png" - }, - { - "id": 18973, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-04 17:14:39.905679", - "created_at": "2025-12-04 17:14:40", - "updated_at": "2025-12-04 17:14:46", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_04_17_14_39.png" - } - ], - "notes": [], - "total": 30666, - "day": 4 - }, - { - "values": [ - { - "id": 18979, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-05 07:23:54.728763", - "created_at": "2025-12-05 07:23:55", - "updated_at": "2025-12-05 07:24:01", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_05_07_23_54.png" - }, - { - "id": 19000, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-05 16:59:59.857546", - "created_at": "2025-12-05 17:00:00", - "updated_at": "2025-12-05 17:00:06", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_05_16_59_59.png" - } - ], - "notes": [], - "total": 34565, - "day": 5 - }, - { - "values": [ - { - "id": 19010, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-06 07:40:14.067358", - "created_at": "2025-12-06 07:40:14", - "updated_at": "2025-12-06 07:40:21", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_06_07_40_14.png" - }, - { - "id": 19020, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-06 11:34:01.391984", - "created_at": "2025-12-06 11:34:02", - "updated_at": "2025-12-06 11:34:08", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_06_11_34_01.png" - } - ], - "notes": [], - "total": 14028, - "day": 6 - }, - { - "values": [ - { - "id": 19026, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-08 07:22:30.001614", - "created_at": "2025-12-08 07:22:30", - "updated_at": "2025-12-08 07:22:37", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_08_07_22_30.png" - }, - { - "id": 19037, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-08 11:33:30.509320", - "created_at": "2025-12-08 11:33:30", - "updated_at": "2025-12-08 11:33:35", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_08_11_33_30.png" - }, - { - "id": 19042, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-08 13:00:38.842246", - "created_at": "2025-12-08 13:00:39", - "updated_at": "2025-12-08 13:00:45", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_08_13_00_38.png" - }, - { - "id": 19048, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-08 16:44:13.025625", - "created_at": "2025-12-08 16:44:13", - "updated_at": "2025-12-08 16:44:18", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_08_16_44_13.png" - } - ], - "notes": [], - "total": 28474, - "day": 8 - }, - { - "values": [ - { - "id": 19062, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-09 07:17:02.158191", - "created_at": "2025-12-09 07:17:02", - "updated_at": "2025-12-09 07:17:07", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_09_07_17_02.png" - }, - { - "id": 19073, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check out", - "time_string": "2025-12-09 11:34:28.902346", - "created_at": "2025-12-09 11:34:29", - "updated_at": "2025-12-09 11:34:34", - "image": "screenshot/NGUYEN TRUNG THAT_check out_at_2025_12_09_11_34_28.png" - }, - { - "id": 19076, - "name": "NGUYEN TRUNG THAT", - "user_id": 9, - "status": "check in", - "time_string": "2025-12-09 13:00:42.802811", - "created_at": "2025-12-09 13:00:43", - "updated_at": "2025-12-09 13:00:48", - "image": "screenshot/NGUYEN TRUNG THAT_check in_at_2025_12_09_13_00_42.png" - } - ], - "notes": [], - "total": 15447, - "day": 9 - } - ] - }, - { - "user": { - "id": 10, - "name": "LE TAN LUAN", - "email": "joseph.le@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "staff,admin", - "created_at": null, - "updated_at": "2024-09-20T12:21:42.000000Z", - "qrcode": "qrcode/qrcode_10.svg", - "avatar": "avatars/A1yEjVOqzeodoc2vL1E52PkZXwMomudWKxQTOZ35.png", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/storage/avatars/A1yEjVOqzeodoc2vL1E52PkZXwMomudWKxQTOZ35.png" - }, - "history": [ - { - "values": [ - { - "id": 18852, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check in", - "time_string": "2025-12-01 07:24:07.546904", - "created_at": "2025-12-01 07:24:08", - "updated_at": "2025-12-01 07:24:12", - "image": "screenshot/LE TAN LUAN_check in_at_2025_12_01_07_24_07.png" - }, - { - "id": 18869, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check out", - "time_string": "2025-12-01 16:31:28.472870", - "created_at": "2025-12-01 16:31:28", - "updated_at": "2025-12-01 16:31:33", - "image": "screenshot/LE TAN LUAN_check out_at_2025_12_01_16_31_28.png" - } - ], - "notes": [], - "total": 32840, - "day": 1 - }, - { - "values": [ - { - "id": 18883, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check in", - "time_string": "2025-12-02 07:21:57.219048", - "created_at": "2025-12-02 07:21:57", - "updated_at": "2025-12-02 07:22:02", - "image": "screenshot/LE TAN LUAN_check in_at_2025_12_02_07_21_57.png" - }, - { - "id": 18897, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check out", - "time_string": "2025-12-02 11:36:16.333130", - "created_at": "2025-12-02 11:36:16", - "updated_at": "2025-12-02 11:36:21", - "image": "screenshot/LE TAN LUAN_check out_at_2025_12_02_11_36_16.png" - }, - { - "id": 18901, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check in", - "time_string": "2025-12-02 13:03:31.816637", - "created_at": "2025-12-02 13:03:32", - "updated_at": "2025-12-02 13:03:37", - "image": "screenshot/LE TAN LUAN_check in_at_2025_12_02_13_03_31.png" - }, - { - "id": 18909, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check out", - "time_string": "2025-12-02 16:52:04.603511", - "created_at": "2025-12-02 16:52:05", - "updated_at": "2025-12-02 16:52:09", - "image": "screenshot/LE TAN LUAN_check out_at_2025_12_02_16_52_04.png" - } - ], - "notes": [], - "total": 28972, - "day": 2 - }, - { - "values": [], - "notes": [ - { - "id": 653, - "timeType": "ALL", - "timeTypeName": "C\u1ea3 Ng\u00e0y", - "reason": "ONLEAVE", - "reasonName": "Ngh\u1ec9 ph\u00e9p", - "note": "B\u1eadn vi\u1ec7c c\u00e1 nh\u00e2n" - } - ], - "total": 0, - "day": 3 - }, - { - "values": [ - { - "id": 18950, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check in", - "time_string": "2025-12-04 07:25:46.805780", - "created_at": "2025-12-04 07:25:47", - "updated_at": "2025-12-04 07:25:53", - "image": "screenshot/LE TAN LUAN_check in_at_2025_12_04_07_25_46.png" - }, - { - "id": 18972, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check out", - "time_string": "2025-12-04 17:04:24.467411", - "created_at": "2025-12-04 17:04:25", - "updated_at": "2025-12-04 17:04:31", - "image": "screenshot/LE TAN LUAN_check out_at_2025_12_04_17_04_24.png" - } - ], - "notes": [], - "total": 34718, - "day": 4 - }, - { - "values": [ - { - "id": 18988, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check in", - "time_string": "2025-12-05 13:00:00", - "created_at": "2025-12-05 13:00:00", - "updated_at": null, - "image": "" - }, - { - "id": 18989, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check out", - "time_string": "2025-12-05 17:00:00", - "created_at": "2025-12-05 17:00:00", - "updated_at": null, - "image": "" - } - ], - "notes": [ - { - "id": 654, - "timeType": "S", - "timeTypeName": "Bu\u1ed5i S\u00e1ng", - "reason": "LEAVE_WITHOUT_PAY", - "reasonName": "Kh\u00f4ng ph\u00e9p", - "note": "S\u1ed1t cao" - }, - { - "id": 655, - "timeType": "C", - "timeTypeName": "Bu\u1ed5i Chi\u1ec1u", - "reason": "WFH", - "reasonName": "Work From Home", - "note": "B\u1ec7nh kh\u00f4ng ng\u1ed3i \u0111\u01b0\u1ee3c m\u00e1y l\u1ea1nh" - } - ], - "total": 14400, - "day": 5 - }, - { - "values": [ - { - "id": 19008, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check in", - "time_string": "2025-12-06 07:30:00", - "created_at": "2025-12-06 07:30:00", - "updated_at": null, - "image": "" - }, - { - "id": 19009, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check out", - "time_string": "2025-12-06 11:30:00", - "created_at": "2025-12-06 11:30:00", - "updated_at": null, - "image": "" - } - ], - "notes": [ - { - "id": 659, - "timeType": "S", - "timeTypeName": "Bu\u1ed5i S\u00e1ng", - "reason": "WFH", - "reasonName": "Work From Home", - "note": "B\u1ec7nh kh\u00f4ng ng\u1ed3i \u0111\u01b0\u1ee3c m\u00e1y l\u1ea1nh" - } - ], - "total": 14400, - "day": 6 - }, - { - "values": [ - { - "id": 19027, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check in", - "time_string": "2025-12-08 07:24:48.001712", - "created_at": "2025-12-08 07:24:48", - "updated_at": "2025-12-08 07:24:59", - "image": "screenshot/LE TAN LUAN_check in_at_2025_12_08_07_24_48.png" - }, - { - "id": 19035, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check out", - "time_string": "2025-12-08 11:32:49.924406", - "created_at": "2025-12-08 11:32:50", - "updated_at": "2025-12-08 11:33:01", - "image": "screenshot/LE TAN LUAN_check in_at_2025_12_08_11_32_49.png" - }, - { - "id": 19041, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check in", - "time_string": "2025-12-08 13:00:27.163211", - "created_at": "2025-12-08 13:00:27", - "updated_at": "2025-12-08 13:00:34", - "image": "screenshot/LE TAN LUAN_check in_at_2025_12_08_13_00_27.png" - }, - { - "id": 19066, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check out", - "time_string": "2025-12-08 17:00:00", - "created_at": "2025-12-08 17:00:00", - "updated_at": "2025-12-09 07:30:04", - "image": "" - } - ], - "notes": [], - "total": 29255, - "day": 8 - }, - { - "values": [ - { - "id": 19064, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check in", - "time_string": "2025-12-09 07:24:09.062862", - "created_at": "2025-12-09 07:24:09", - "updated_at": "2025-12-09 07:24:14", - "image": "screenshot/LE TAN LUAN_check out_at_2025_12_09_07_24_09.png" - }, - { - "id": 19072, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check out", - "time_string": "2025-12-09 11:33:52.942863", - "created_at": "2025-12-09 11:33:53", - "updated_at": "2025-12-09 11:33:58", - "image": "screenshot/LE TAN LUAN_check in_at_2025_12_09_11_33_52.png" - }, - { - "id": 19075, - "name": "LE TAN LUAN", - "user_id": 10, - "status": "check in", - "time_string": "2025-12-09 13:00:30.473857", - "created_at": "2025-12-09 13:00:30", - "updated_at": "2025-12-09 13:00:36", - "image": "screenshot/LE TAN LUAN_check out_at_2025_12_09_13_00_30.png" - } - ], - "notes": [], - "total": 14984, - "day": 9 - } - ] - }, - { - "user": { - "id": 11, - "name": "VO VAN MINH", - "email": "michael.vo@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "staff", - "created_at": null, - "updated_at": "2025-11-17T00:26:49.000000Z", - "qrcode": "qrcode/qrcode_11.svg", - "avatar": "", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/img/avatar.png" - }, - "history": [ - { - "values": [ - { - "id": 18857, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-01 07:33:15.138979", - "created_at": "2025-12-01 07:33:15", - "updated_at": "2025-12-01 07:33:20", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_01_07_33_15.png" - }, - { - "id": 18862, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-01 11:31:40.649064", - "created_at": "2025-12-01 11:31:41", - "updated_at": "2025-12-01 11:31:45", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_01_11_31_40.png" - }, - { - "id": 18892, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-01 13:00:00", - "created_at": "2025-12-01 13:00:00", - "updated_at": "2025-12-02 07:41:35", - "image": "" - }, - { - "id": 18877, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-01 17:00:38.613531", - "created_at": "2025-12-01 17:00:39", - "updated_at": "2025-12-01 17:00:44", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_01_17_00_38.png" - } - ], - "notes": [], - "total": 33911, - "day": 1 - }, - { - "values": [ - { - "id": 18886, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-02 07:33:28", - "created_at": "2025-12-02 07:33:28", - "updated_at": "2025-12-02 13:05:49", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_02_07_33_28.png" - }, - { - "id": 18895, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-02 11:31:40", - "created_at": "2025-12-02 11:31:40", - "updated_at": "2025-12-02 13:04:46", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_02_11_31_40.png" - }, - { - "id": 18902, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-02 13:03:43", - "created_at": "2025-12-02 13:03:43", - "updated_at": "2025-12-02 13:04:35", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_02_13_03_43.png" - }, - { - "id": 18912, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-02 16:57:34.433667", - "created_at": "2025-12-02 16:57:36", - "updated_at": "2025-12-02 16:57:46", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_02_16_57_34.png" - } - ], - "notes": [], - "total": 28325, - "day": 2 - }, - { - "values": [ - { - "id": 18923, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-03 07:37:20.301659", - "created_at": "2025-12-03 07:37:20", - "updated_at": "2025-12-03 07:37:25", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_03_07_37_20.png" - }, - { - "id": 18927, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-03 11:34:15.601281", - "created_at": "2025-12-03 11:34:16", - "updated_at": "2025-12-03 11:34:21", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_03_11_34_15.png" - }, - { - "id": 18930, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-03 13:00:08.353836", - "created_at": "2025-12-03 13:00:09", - "updated_at": "2025-12-03 13:00:14", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_03_13_00_08.png" - }, - { - "id": 18942, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-03 16:59:49.842972", - "created_at": "2025-12-03 16:59:50", - "updated_at": "2025-12-03 16:59:56", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_03_16_59_49.png" - } - ], - "notes": [], - "total": 28597, - "day": 3 - }, - { - "values": [ - { - "id": 18953, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-04 07:37:11.243410", - "created_at": "2025-12-04 07:37:11", - "updated_at": "2025-12-04 07:37:18", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_04_07_37_11.png" - }, - { - "id": 18956, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-04 11:31:40.974814", - "created_at": "2025-12-04 11:31:41", - "updated_at": "2025-12-04 11:31:48", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_04_11_31_40.png" - }, - { - "id": 18959, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-04 13:00:24.472402", - "created_at": "2025-12-04 13:00:25", - "updated_at": "2025-12-04 13:00:31", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_04_13_00_24.png" - }, - { - "id": 18970, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-04 17:00:16.666711", - "created_at": "2025-12-04 17:00:17", - "updated_at": "2025-12-04 17:00:23", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_04_17_00_16.png" - } - ], - "notes": [], - "total": 28462, - "day": 4 - }, - { - "values": [ - { - "id": 18983, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-05 07:34:16.794839", - "created_at": "2025-12-05 07:34:17", - "updated_at": "2025-12-05 07:34:23", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_05_07_34_16.png" - }, - { - "id": 18985, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-05 11:32:00.270545", - "created_at": "2025-12-05 11:32:01", - "updated_at": "2025-12-05 11:32:07", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_05_11_32_00.png" - }, - { - "id": 18987, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-05 13:02:18.511658", - "created_at": "2025-12-05 13:02:19", - "updated_at": "2025-12-05 13:02:25", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_05_13_02_18.png" - }, - { - "id": 19001, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-05 17:00:26.929632", - "created_at": "2025-12-05 17:00:27", - "updated_at": "2025-12-05 17:00:33", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_05_17_00_26.png" - } - ], - "notes": [], - "total": 28552, - "day": 5 - }, - { - "values": [ - { - "id": 19006, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-06 07:34:50.105893", - "created_at": "2025-12-06 07:34:50", - "updated_at": "2025-12-06 07:34:57", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_06_07_34_50.png" - }, - { - "id": 19017, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-06 11:30:54.831972", - "created_at": "2025-12-06 11:30:55", - "updated_at": "2025-12-06 11:31:01", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_06_11_30_54.png" - } - ], - "notes": [], - "total": 14165, - "day": 6 - }, - { - "values": [ - { - "id": 19030, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-08 07:35:22.554061", - "created_at": "2025-12-08 07:35:23", - "updated_at": "2025-12-08 07:35:29", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_08_07_35_22.png" - }, - { - "id": 19040, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-08 11:34:25.830200", - "created_at": "2025-12-08 11:34:26", - "updated_at": "2025-12-08 11:34:31", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_08_11_34_25.png" - }, - { - "id": 19043, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-08 13:00:49.433050", - "created_at": "2025-12-08 13:00:50", - "updated_at": "2025-12-08 13:00:55", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_08_13_00_49.png" - }, - { - "id": 19057, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-08 16:59:50.932941", - "created_at": "2025-12-08 16:59:51", - "updated_at": "2025-12-08 16:59:56", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_08_16_59_50.png" - } - ], - "notes": [], - "total": 28684, - "day": 8 - }, - { - "values": [ - { - "id": 19067, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-09 07:33:41.999818", - "created_at": "2025-12-09 07:33:42", - "updated_at": "2025-12-09 07:33:48", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_09_07_33_41.png" - }, - { - "id": 19071, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check out", - "time_string": "2025-12-09 11:33:25.975942", - "created_at": "2025-12-09 11:33:26", - "updated_at": "2025-12-09 11:33:32", - "image": "screenshot/VO VAN MINH_check out_at_2025_12_09_11_33_25.png" - }, - { - "id": 19074, - "name": "VO VAN MINH", - "user_id": 11, - "status": "check in", - "time_string": "2025-12-09 13:00:09.832917", - "created_at": "2025-12-09 13:00:10", - "updated_at": "2025-12-09 13:00:15", - "image": "screenshot/VO VAN MINH_check in_at_2025_12_09_13_00_09.png" - } - ], - "notes": [], - "total": 14384, - "day": 9 - } - ] - }, - { - "user": { - "id": 12, - "name": "TON GIA KHANH", - "email": "kai.t@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "staff", - "created_at": null, - "updated_at": "2024-09-26T17:09:17.000000Z", - "qrcode": "qrcode/qrcode_12.svg", - "avatar": "", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/img/avatar.png" - }, - "history": [ - { - "values": [ - { - "id": 18847, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check in", - "time_string": "2025-12-01 06:53:06.034268", - "created_at": "2025-12-01 06:53:08", - "updated_at": "2025-12-01 06:53:18", - "image": "screenshot/TON GIA KHANH_check in_at_2025_12_01_06_53_06.png" - }, - { - "id": 18871, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check out", - "time_string": "2025-12-01 16:39:32.977703", - "created_at": "2025-12-01 16:39:37", - "updated_at": "2025-12-01 16:39:47", - "image": "screenshot/TON GIA KHANH_check in_at_2025_12_01_16_39_32.png" - } - ], - "notes": [], - "total": 35189, - "day": 1 - }, - { - "values": [ - { - "id": 18889, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check in", - "time_string": "2025-12-02 07:30:00", - "created_at": "2025-12-02 07:30:00", - "updated_at": null, - "image": "" - }, - { - "id": 18890, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check out", - "time_string": "2025-12-02 11:30:00", - "created_at": "2025-12-02 11:30:00", - "updated_at": null, - "image": "" - } - ], - "notes": [ - { - "id": 651, - "timeType": "S", - "timeTypeName": "Bu\u1ed5i S\u00e1ng", - "reason": "WFH", - "reasonName": "Work From Home", - "note": "Xe b\u1ecb c\u00e1n \u0111inh" - }, - { - "id": 652, - "timeType": "C", - "timeTypeName": "Bu\u1ed5i Chi\u1ec1u", - "reason": "ONLEAVE", - "reasonName": "Ngh\u1ec9 ph\u00e9p", - "note": "b\u1ec7nh b\u1ecb say n\u1eafng" - } - ], - "total": 14400, - "day": 2 - }, - { - "values": [ - { - "id": 18913, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check in", - "time_string": "2025-12-03 06:52:24.677542", - "created_at": "2025-12-03 06:52:27", - "updated_at": "2025-12-03 06:52:37", - "image": "screenshot/TON GIA KHANH_check in_at_2025_12_03_06_52_24.png" - }, - { - "id": 18934, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check out", - "time_string": "2025-12-03 16:36:30.358499", - "created_at": "2025-12-03 16:36:31", - "updated_at": "2025-12-03 16:36:37", - "image": "screenshot/TON GIA KHANH_check in_at_2025_12_03_16_36_30.png" - } - ], - "notes": [], - "total": 35044, - "day": 3 - }, - { - "values": [ - { - "id": 18943, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check in", - "time_string": "2025-12-04 06:57:58.024191", - "created_at": "2025-12-04 06:57:58", - "updated_at": "2025-12-04 06:58:04", - "image": "screenshot/TON GIA KHANH_check out_at_2025_12_04_06_57_58.png" - }, - { - "id": 18966, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check out", - "time_string": "2025-12-04 16:45:32.524843", - "created_at": "2025-12-04 16:45:33", - "updated_at": "2025-12-04 16:45:39", - "image": "screenshot/TON GIA KHANH_check in_at_2025_12_04_16_45_32.png" - } - ], - "notes": [], - "total": 35255, - "day": 4 - }, - { - "values": [ - { - "id": 18974, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check in", - "time_string": "2025-12-05 06:56:15.746687", - "created_at": "2025-12-05 06:56:16", - "updated_at": "2025-12-05 06:56:22", - "image": "screenshot/TON GIA KHANH_check out_at_2025_12_05_06_56_15.png" - }, - { - "id": 18995, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check out", - "time_string": "2025-12-05 16:42:06.462191", - "created_at": "2025-12-05 16:42:06", - "updated_at": "2025-12-05 16:42:12", - "image": "screenshot/TON GIA KHANH_check in_at_2025_12_05_16_42_06.png" - } - ], - "notes": [], - "total": 35150, - "day": 5 - }, - { - "values": [ - { - "id": 19004, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check in", - "time_string": "2025-12-06 07:02:25.136515", - "created_at": "2025-12-06 07:02:25", - "updated_at": "2025-12-06 07:02:32", - "image": "screenshot/TON GIA KHANH_check out_at_2025_12_06_07_02_25.png" - }, - { - "id": 19014, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check out", - "time_string": "2025-12-06 10:43:30.041243", - "created_at": "2025-12-06 10:43:30", - "updated_at": "2025-12-06 10:43:37", - "image": "screenshot/TON GIA KHANH_check in_at_2025_12_06_10_43_30.png" - } - ], - "notes": [], - "total": 13265, - "day": 6 - }, - { - "values": [ - { - "id": 19021, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check in", - "time_string": "2025-12-08 06:52:29.056759", - "created_at": "2025-12-08 06:52:32", - "updated_at": "2025-12-08 06:52:44", - "image": "screenshot/TON GIA KHANH_check in_at_2025_12_08_06_52_29.png" - }, - { - "id": 19038, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check out", - "time_string": "2025-12-08 11:33:42.631060", - "created_at": "2025-12-08 11:33:43", - "updated_at": "2025-12-08 11:33:54", - "image": "screenshot/TON GIA KHANH_check in_at_2025_12_08_11_33_42.png" - }, - { - "id": 19046, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check in", - "time_string": "2025-12-08 13:44:16.443104", - "created_at": "2025-12-08 13:44:17", - "updated_at": "2025-12-08 13:44:28", - "image": "screenshot/TON GIA KHANH_check in_at_2025_12_08_13_44_16.png" - }, - { - "id": 19051, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check out", - "time_string": "2025-12-08 16:50:47.786983", - "created_at": "2025-12-08 16:50:48", - "updated_at": "2025-12-08 16:50:53", - "image": "screenshot/TON GIA KHANH_check in_at_2025_12_08_16_50_47.png" - } - ], - "notes": [], - "total": 28062, - "day": 8 - }, - { - "values": [ - { - "id": 19058, - "name": "TON GIA KHANH", - "user_id": 12, - "status": "check in", - "time_string": "2025-12-09 07:00:12.887846", - "created_at": "2025-12-09 07:00:13", - "updated_at": "2025-12-09 07:00:19", - "image": "screenshot/TON GIA KHANH_check out_at_2025_12_09_07_00_12.png" - } - ], - "notes": [], - "total": 0, - "day": 9 - } - ] - }, - { - "user": { - "id": 14, - "name": "ADMIN AUS", - "email": "admin@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "admin", - "created_at": null, - "updated_at": "2025-03-27T10:29:54.000000Z", - "qrcode": "qrcode/qrcode_14.svg", - "avatar": "", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/img/avatar.png" - }, - "history": [] - }, - { - "user": { - "id": 15, - "name": "PHAM NHUT KHANG", - "email": "zelda.pham@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "staff", - "created_at": null, - "updated_at": "2025-06-18T00:58:46.000000Z", - "qrcode": "qrcode/qrcode_15.svg", - "avatar": "avatars/vfGHX5JSFsafcEWKj7aHMZyGopJLvTRgS5YfspQB.jpg", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/storage/avatars/vfGHX5JSFsafcEWKj7aHMZyGopJLvTRgS5YfspQB.jpg" - } - }, - { - "user": { - "id": 16, - "name": "NGUYEN HOANG VI", - "email": "hoangvi.ng@apactech.io", - "email_verified_at": null, - "forgot_code": null, - "permission": "staff", - "created_at": "2024-09-04T12:42:01.000000Z", - "updated_at": "2025-09-17T04:05:15.000000Z", - "qrcode": "qrcode/qrcode_16.svg", - "avatar": "avatars/xRt5FG92nL4mSpwNoHgM7iSfcCUNzs14oNoFGivw.jpg", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/storage/avatars/xRt5FG92nL4mSpwNoHgM7iSfcCUNzs14oNoFGivw.jpg" - } - }, - { - "user": { - "id": 17, - "name": "GA Accounting", - "email": "acct.apactech@gmail.com", - "email_verified_at": null, - "forgot_code": null, - "permission": "accountant", - "created_at": "2024-11-02T08:50:28.000000Z", - "updated_at": "2024-11-04T15:14:26.000000Z", - "qrcode": "qrcode/qrcode_17.svg", - "avatar": "", - "is_permanent": 1, - "permanent_date": "0000-00-00", - "is_separated": 0, - "path_avatar": "https://ms.prology.net/img/avatar.png" - }, - "history": [] - } -] diff --git a/TrackingToolWeb/client/.env b/TrackingToolWeb/client/.env new file mode 100644 index 0000000..b84fa88 --- /dev/null +++ b/TrackingToolWeb/client/.env @@ -0,0 +1,2 @@ +VITE_API_BASE_URL = "/" +# VITE_API_BASE_URL = "http://127.0.0.1:8000" \ No newline at end of file diff --git a/TrackingToolWeb/client/src/api/axios.ts b/TrackingToolWeb/client/src/api/axios.ts index 1842e79..2f12c18 100644 --- a/TrackingToolWeb/client/src/api/axios.ts +++ b/TrackingToolWeb/client/src/api/axios.ts @@ -1,7 +1,7 @@ import ax from "axios"; const axios = ax.create({ - baseURL: "http://127.0.0.1:8000", + baseURL: import.meta.env.VITE_API_BASE_URL || "/", }); export default axios; diff --git a/TrackingToolWeb/client/src/pages/main/components/tab-features/index.tsx b/TrackingToolWeb/client/src/pages/main/components/tab-features/index.tsx index 0fbe3fe..08b3959 100644 --- a/TrackingToolWeb/client/src/pages/main/components/tab-features/index.tsx +++ b/TrackingToolWeb/client/src/pages/main/components/tab-features/index.tsx @@ -25,6 +25,8 @@ export default function TabFeatures() { const [loading, setLoading] = useState(false); + const [checkPoinLoading, setCheckPoinLoading] = useState(false); + const toggleAutoCheck = () => { if (isAutoChecking) { if (autoCheckIntervalRef.current) { @@ -41,8 +43,13 @@ export default function TabFeatures() { }; const createCheckpoint = async () => { - if (!currentUser) return; + if (!currentUser) { + toast.warning("Vui lòng chọn user để tạo checkpoint"); + + return; + } try { + setCheckPoinLoading(true); const file = await capture(videoRef, canvasRef); const { data } = await checkingApi.register({ user: currentUser, file }); @@ -64,6 +71,8 @@ export default function TabFeatures() { (data.response?.data as any)?.message || "Error In Checkpoint: " + JSON.stringify(data) ); + } finally { + setCheckPoinLoading(false); } }; @@ -126,6 +135,8 @@ export default function TabFeatures() { // ← cách đúng nhất để detect phím cách e.preventDefault(); // nếu không muốn scroll + if (!loading) return; + captureAndCheck(); } }; @@ -135,10 +146,10 @@ export default function TabFeatures() { return () => { window.removeEventListener("keydown", down); }; - }, [captureAndCheck]); + }, [captureAndCheck, loading]); return ( -
+
- + {currentUser && ( + + )} {!currentUser && }
diff --git a/TrackingToolWeb/main.py b/TrackingToolWeb/main.py index 479e9af..11def30 100644 --- a/TrackingToolWeb/main.py +++ b/TrackingToolWeb/main.py @@ -249,23 +249,23 @@ async def checkin(file: UploadFile = File(...), camera_id: str = Form("cam1"), d - # thêm dô đây - id_log = 0 - ms_response = create_history({"name": encoding.name.split('\n')[0], "time_string": f"{datetime.datetime.now()}", "status": "check in"}) - id_log = ms_response.get('data').get('id') - status = ms_response.get('data').get('status') + # thêm dô đây------------ + # id_log = 0 + # ms_response = create_history({"name": encoding.name.split('\n')[0], "time_string": f"{datetime.datetime.now()}", "status": "check in"}) + # id_log = ms_response.get('data').get('id') + # status = ms_response.get('data').get('status') - # reset pointer - file.file.seek(0) + # # reset pointer + # file.file.seek(0) - send_image_res = send_image( - id=id_log, - file=file, - student_name=encoding.name, - status=status - ) + # send_image_res = send_image( + # id=id_log, + # file=file, + # student_name=encoding.name, + # status=status + # ) - print(id_log, send_image_res) + # print(id_log, send_image_res) # Insert new checkin db.execute( diff --git a/TrackingToolWeb/static/assets/index-BvxJK8_6.js b/TrackingToolWeb/static/assets/index-BvxJK8_6.js new file mode 100644 index 0000000..ce390bb --- /dev/null +++ b/TrackingToolWeb/static/assets/index-BvxJK8_6.js @@ -0,0 +1,80 @@ +var XT=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var AY=XT((XY,Sc)=>{function WT(e,t){for(var r=0;ri[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&i(c)}).observe(document,{childList:!0,subtree:!0});function r(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(o){if(o.ep)return;o.ep=!0;const u=r(o);fetch(o.href,u)}})();function d_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Yh={exports:{}},tl={};var cb;function KT(){if(cb)return tl;cb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(i,o,u){var c=null;if(u!==void 0&&(c=""+u),o.key!==void 0&&(c=""+o.key),"key"in o){u={};for(var h in o)h!=="key"&&(u[h]=o[h])}else u=o;return o=u.ref,{$$typeof:e,type:i,key:c,ref:o!==void 0?o:null,props:u}}return tl.Fragment=t,tl.jsx=r,tl.jsxs=r,tl}var fb;function QT(){return fb||(fb=1,Yh.exports=KT()),Yh.exports}var w=QT(),Hh={exports:{}},ze={};var db;function JT(){if(db)return ze;db=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),b=Symbol.iterator;function T(A){return A===null||typeof A!="object"?null:(A=b&&A[b]||A["@@iterator"],typeof A=="function"?A:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,O={};function D(A,q,X){this.props=A,this.context=q,this.refs=O,this.updater=X||x}D.prototype.isReactComponent={},D.prototype.setState=function(A,q){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,q,"setState")},D.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function U(){}U.prototype=D.prototype;function j(A,q,X){this.props=A,this.context=q,this.refs=O,this.updater=X||x}var k=j.prototype=new U;k.constructor=j,E(k,D.prototype),k.isPureReactComponent=!0;var Y=Array.isArray;function J(){}var F={H:null,A:null,T:null,S:null},Q=Object.prototype.hasOwnProperty;function he(A,q,X){var ne=X.ref;return{$$typeof:e,type:A,key:q,ref:ne!==void 0?ne:null,props:X}}function _e(A,q){return he(A.type,q,A.props)}function we(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function ie(A){var q={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(X){return q[X]})}var ue=/\/+/g;function fe(A,q){return typeof A=="object"&&A!==null&&A.key!=null?ie(""+A.key):q.toString(36)}function ye(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(J,J):(A.status="pending",A.then(function(q){A.status==="pending"&&(A.status="fulfilled",A.value=q)},function(q){A.status==="pending"&&(A.status="rejected",A.reason=q)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function M(A,q,X,ne,ce){var Te=typeof A;(Te==="undefined"||Te==="boolean")&&(A=null);var de=!1;if(A===null)de=!0;else switch(Te){case"bigint":case"string":case"number":de=!0;break;case"object":switch(A.$$typeof){case e:case t:de=!0;break;case y:return de=A._init,M(de(A._payload),q,X,ne,ce)}}if(de)return ce=ce(A),de=ne===""?"."+fe(A,0):ne,Y(ce)?(X="",de!=null&&(X=de.replace(ue,"$&/")+"/"),M(ce,q,X,"",function(Ct){return Ct})):ce!=null&&(we(ce)&&(ce=_e(ce,X+(ce.key==null||A&&A.key===ce.key?"":(""+ce.key).replace(ue,"$&/")+"/")+de)),q.push(ce)),1;de=0;var Me=ne===""?".":ne+":";if(Y(A))for(var Be=0;Be>>1,ve=M[re];if(0>>1;reo(X,L))neo(ce,X)?(M[re]=ce,M[ne]=L,re=ne):(M[re]=X,M[q]=L,re=q);else if(neo(ce,L))M[re]=ce,M[ne]=L,re=ne;else break e}}return I}function o(M,I){var L=M.sortIndex-I.sortIndex;return L!==0?L:M.id-I.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var c=Date,h=c.now();e.unstable_now=function(){return c.now()-h}}var p=[],m=[],y=1,g=null,b=3,T=!1,x=!1,E=!1,O=!1,D=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function k(M){for(var I=r(m);I!==null;){if(I.callback===null)i(m);else if(I.startTime<=M)i(m),I.sortIndex=I.expirationTime,t(p,I);else break;I=r(m)}}function Y(M){if(E=!1,k(M),!x)if(r(p)!==null)x=!0,J||(J=!0,ie());else{var I=r(m);I!==null&&ye(Y,I.startTime-M)}}var J=!1,F=-1,Q=5,he=-1;function _e(){return O?!0:!(e.unstable_now()-heM&&_e());){var re=g.callback;if(typeof re=="function"){g.callback=null,b=g.priorityLevel;var ve=re(g.expirationTime<=M);if(M=e.unstable_now(),typeof ve=="function"){g.callback=ve,k(M),I=!0;break t}g===r(p)&&i(p),k(M)}else i(p);g=r(p)}if(g!==null)I=!0;else{var A=r(m);A!==null&&ye(Y,A.startTime-M),I=!1}}break e}finally{g=null,b=L,T=!1}I=void 0}}finally{I?ie():J=!1}}}var ie;if(typeof j=="function")ie=function(){j(we)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,fe=ue.port2;ue.port1.onmessage=we,ie=function(){fe.postMessage(null)}}else ie=function(){D(we,0)};function ye(M,I){F=D(function(){M(e.unstable_now())},I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_forceFrameRate=function(M){0>M||125re?(M.sortIndex=L,t(m,M),r(p)===null&&M===r(m)&&(E?(U(F),F=-1):E=!0,ye(Y,L-re))):(M.sortIndex=ve,t(p,M),x||T||(x=!0,J||(J=!0,ie()))),M},e.unstable_shouldYield=_e,e.unstable_wrapCallback=function(M){var I=b;return function(){var L=b;b=I;try{return M.apply(this,arguments)}finally{b=L}}}})($h)),$h}var pb;function tO(){return pb||(pb=1,Bh.exports=eO()),Bh.exports}var Fh={exports:{}},ln={};var gb;function nO(){if(gb)return ln;gb=1;var e=xl();function t(p){var m="https://react.dev/errors/"+p;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Fh.exports=nO(),Fh.exports}var vb;function rO(){if(vb)return nl;vb=1;var e=tO(),t=xl(),r=h_();function i(n){var a="https://react.dev/errors/"+n;if(1ve||(n.current=re[ve],re[ve]=null,ve--)}function X(n,a){ve++,re[ve]=n.current,n.current=a}var ne=A(null),ce=A(null),Te=A(null),de=A(null);function Me(n,a){switch(X(Te,a),X(ce,n),X(ne,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?k0(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=k0(a),n=z0(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}q(ne),X(ne,n)}function Be(){q(ne),q(ce),q(Te)}function Ct(n){n.memoizedState!==null&&X(de,n);var a=ne.current,s=z0(a,n.type);a!==s&&(X(ce,n),X(ne,s))}function Qt(n){ce.current===n&&(q(ne),q(ce)),de.current===n&&(q(de),Ko._currentValue=L)}var kt,or;function pn(n){if(kt===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);kt=a&&a[1]||"",or=-1)":-1f||C[l]!==V[f]){var K=` +`+C[l].replace(" at new "," at ");return n.displayName&&K.includes("")&&(K=K.replace("",n.displayName)),K}while(1<=l&&0<=f);break}}}finally{Ta=!1,Error.prepareStackTrace=s}return(s=n?n.displayName||n.name:"")?pn(s):""}function Pr(n,a){switch(n.tag){case 26:case 27:case 5:return pn(n.type);case 16:return pn("Lazy");case 13:return n.child!==a&&a!==null?pn("Suspense Fallback"):pn("Suspense");case 19:return pn("SuspenseList");case 0:case 15:return Oa(n.type,!1);case 11:return Oa(n.type.render,!1);case 1:return Oa(n.type,!0);case 31:return pn("Activity");default:return""}}function qi(n){try{var a="",s=null;do a+=Pr(n,s),s=n,n=n.return;while(n);return a}catch(l){return` +Error generating stack: `+l.message+` +`+l.stack}}var sn=Object.prototype.hasOwnProperty,R=e.unstable_scheduleCallback,B=e.unstable_cancelCallback,G=e.unstable_shouldYield,me=e.unstable_requestPaint,se=e.unstable_now,le=e.unstable_getCurrentPriorityLevel,Oe=e.unstable_ImmediatePriority,Xe=e.unstable_UserBlockingPriority,We=e.unstable_NormalPriority,qt=e.unstable_LowPriority,gn=e.unstable_IdlePriority,Nn=e.log,Tr=e.unstable_setDisableYieldValue,lr=null,Vt=null;function kn(n){if(typeof Nn=="function"&&Tr(n),Vt&&typeof Vt.setStrictMode=="function")try{Vt.setStrictMode(lr,n)}catch{}}var Bt=Math.clz32?Math.clz32:Or,co=Math.log,Aa=Math.LN2;function Or(n){return n>>>=0,n===0?32:31-(co(n)/Aa|0)|0}var Ii=256,Xi=262144,ui=4194304;function Ar(n){var a=n&42;if(a!==0)return a;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function Ne(n,a,s){var l=n.pendingLanes;if(l===0)return 0;var f=0,d=n.suspendedLanes,v=n.pingedLanes;n=n.warmLanes;var S=l&134217727;return S!==0?(l=S&~d,l!==0?f=Ar(l):(v&=S,v!==0?f=Ar(v):s||(s=S&~n,s!==0&&(f=Ar(s))))):(S=l&~d,S!==0?f=Ar(S):v!==0?f=Ar(v):s||(s=l&~n,s!==0&&(f=Ar(s)))),f===0?0:a!==0&&a!==f&&(a&d)===0&&(d=f&-f,s=a&-a,d>=s||d===32&&(s&4194048)!==0)?a:f}function yt(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function It(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function on(){var n=ui;return ui<<=1,(ui&62914560)===0&&(ui=4194304),n}function Ca(n){for(var a=[],s=0;31>s;s++)a.push(n);return a}function St(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function yn(n,a,s,l,f,d){var v=n.pendingLanes;n.pendingLanes=s,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=s,n.entangledLanes&=s,n.errorRecoveryDisabledLanes&=s,n.shellSuspendCounter=0;var S=n.entanglements,C=n.expirationTimes,V=n.hiddenUpdates;for(s=v&~s;0"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var FE=/[\n"\\]/g;function qn(n){return n.replace(FE,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Nf(n,a,s,l,f,d,v,S){n.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?n.type=v:n.removeAttribute("type"),a!=null?v==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+Gn(a)):n.value!==""+Gn(a)&&(n.value=""+Gn(a)):v!=="submit"&&v!=="reset"||n.removeAttribute("value"),a!=null?kf(n,v,Gn(a)):s!=null?kf(n,v,Gn(s)):l!=null&&n.removeAttribute("value"),f==null&&d!=null&&(n.defaultChecked=!!d),f!=null&&(n.checked=f&&typeof f!="function"&&typeof f!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?n.name=""+Gn(S):n.removeAttribute("name")}function Ag(n,a,s,l,f,d,v,S){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(n.type=d),a!=null||s!=null){if(!(d!=="submit"&&d!=="reset"||a!=null)){Rf(n);return}s=s!=null?""+Gn(s):"",a=a!=null?""+Gn(a):s,S||a===n.value||(n.value=a),n.defaultValue=a}l=l??f,l=typeof l!="function"&&typeof l!="symbol"&&!!l,n.checked=S?n.checked:!!l,n.defaultChecked=!!l,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(n.name=v),Rf(n)}function kf(n,a,s){a==="number"&&Hl(n.ownerDocument)===n||n.defaultValue===""+s||(n.defaultValue=""+s)}function ns(n,a,s,l){if(n=n.options,a){a={};for(var f=0;f"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yf=!1;if(Ir)try{var po={};Object.defineProperty(po,"passive",{get:function(){Yf=!0}}),window.addEventListener("test",po,po),window.removeEventListener("test",po,po)}catch{Yf=!1}var Ma=null,Hf=null,Bl=null;function zg(){if(Bl)return Bl;var n,a=Hf,s=a.length,l,f="value"in Ma?Ma.value:Ma.textContent,d=f.length;for(n=0;n=vo),Vg=" ",Bg=!1;function $g(n,a){switch(n){case"keyup":return y2.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fg(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var ss=!1;function b2(n,a){switch(n){case"compositionend":return Fg(a);case"keypress":return a.which!==32?null:(Bg=!0,Vg);case"textInput":return n=a.data,n===Vg&&Bg?null:n;default:return null}}function _2(n,a){if(ss)return n==="compositionend"||!Zf&&$g(n,a)?(n=zg(),Bl=Hf=Ma=null,ss=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1=a)return{node:s,offset:a-n};n=l}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Kg(s)}}function Jg(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?Jg(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function ey(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=Hl(n.document);a instanceof n.HTMLIFrameElement;){try{var s=typeof a.contentWindow.location.href=="string"}catch{s=!1}if(s)n=a.contentWindow;else break;a=Hl(n.document)}return a}function qf(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var C2=Ir&&"documentMode"in document&&11>=document.documentMode,os=null,If=null,So=null,Xf=!1;function ty(n,a,s){var l=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Xf||os==null||os!==Hl(l)||(l=os,"selectionStart"in l&&qf(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),So&&wo(So,l)||(So=l,l=zu(If,"onSelect"),0>=v,f-=v,Cr=1<<32-Bt(a)+f|s<Ye?(Ge=Ae,Ae=null):Ge=Ae.sibling;var Je=$(z,Ae,H[Ye],ee);if(Je===null){Ae===null&&(Ae=Ge);break}n&&Ae&&Je.alternate===null&&a(z,Ae),N=d(Je,N,Ye),Qe===null?Ce=Je:Qe.sibling=Je,Qe=Je,Ae=Ge}if(Ye===H.length)return s(z,Ae),Ie&&Wr(z,Ye),Ce;if(Ae===null){for(;YeYe?(Ge=Ae,Ae=null):Ge=Ae.sibling;var Qa=$(z,Ae,Je.value,ee);if(Qa===null){Ae===null&&(Ae=Ge);break}n&&Ae&&Qa.alternate===null&&a(z,Ae),N=d(Qa,N,Ye),Qe===null?Ce=Qa:Qe.sibling=Qa,Qe=Qa,Ae=Ge}if(Je.done)return s(z,Ae),Ie&&Wr(z,Ye),Ce;if(Ae===null){for(;!Je.done;Ye++,Je=H.next())Je=te(z,Je.value,ee),Je!==null&&(N=d(Je,N,Ye),Qe===null?Ce=Je:Qe.sibling=Je,Qe=Je);return Ie&&Wr(z,Ye),Ce}for(Ae=l(Ae);!Je.done;Ye++,Je=H.next())Je=P(Ae,z,Ye,Je.value,ee),Je!==null&&(n&&Je.alternate!==null&&Ae.delete(Je.key===null?Ye:Je.key),N=d(Je,N,Ye),Qe===null?Ce=Je:Qe.sibling=Je,Qe=Je);return n&&Ae.forEach(function(IT){return a(z,IT)}),Ie&&Wr(z,Ye),Ce}function ut(z,N,H,ee){if(typeof H=="object"&&H!==null&&H.type===E&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case T:e:{for(var Ce=H.key;N!==null;){if(N.key===Ce){if(Ce=H.type,Ce===E){if(N.tag===7){s(z,N.sibling),ee=f(N,H.props.children),ee.return=z,z=ee;break e}}else if(N.elementType===Ce||typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===Q&&wi(Ce)===N.type){s(z,N.sibling),ee=f(N,H.props),Co(ee,H),ee.return=z,z=ee;break e}s(z,N);break}else a(z,N);N=N.sibling}H.type===E?(ee=gi(H.props.children,z.mode,ee,H.key),ee.return=z,z=ee):(ee=Kl(H.type,H.key,H.props,null,z.mode,ee),Co(ee,H),ee.return=z,z=ee)}return v(z);case x:e:{for(Ce=H.key;N!==null;){if(N.key===Ce)if(N.tag===4&&N.stateNode.containerInfo===H.containerInfo&&N.stateNode.implementation===H.implementation){s(z,N.sibling),ee=f(N,H.children||[]),ee.return=z,z=ee;break e}else{s(z,N);break}else a(z,N);N=N.sibling}ee=nd(H,z.mode,ee),ee.return=z,z=ee}return v(z);case Q:return H=wi(H),ut(z,N,H,ee)}if(ye(H))return Se(z,N,H,ee);if(ie(H)){if(Ce=ie(H),typeof Ce!="function")throw Error(i(150));return H=Ce.call(H),Re(z,N,H,ee)}if(typeof H.then=="function")return ut(z,N,au(H),ee);if(H.$$typeof===j)return ut(z,N,eu(z,H),ee);iu(z,H)}return typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint"?(H=""+H,N!==null&&N.tag===6?(s(z,N.sibling),ee=f(N,H),ee.return=z,z=ee):(s(z,N),ee=td(H,z.mode,ee),ee.return=z,z=ee),v(z)):s(z,N)}return function(z,N,H,ee){try{Ao=0;var Ce=ut(z,N,H,ee);return vs=null,Ce}catch(Ae){if(Ae===ys||Ae===nu)throw Ae;var Qe=jn(29,Ae,null,z.mode);return Qe.lanes=ee,Qe.return=z,Qe}finally{}}}var xi=Ey(!0),Ty=Ey(!1),ja=!1;function md(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function pd(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ua(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function La(n,a,s){var l=n.updateQueue;if(l===null)return null;if(l=l.shared,(nt&2)!==0){var f=l.pending;return f===null?a.next=a:(a.next=f.next,f.next=a),l.pending=a,a=Wl(n),ly(n,null,s),a}return Xl(n,l,a,s),Wl(n)}function Do(n,a,s){if(a=a.updateQueue,a!==null&&(a=a.shared,(s&4194048)!==0)){var l=a.lanes;l&=n.pendingLanes,s|=l,a.lanes=s,vn(n,s)}}function gd(n,a){var s=n.updateQueue,l=n.alternate;if(l!==null&&(l=l.updateQueue,s===l)){var f=null,d=null;if(s=s.firstBaseUpdate,s!==null){do{var v={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};d===null?f=d=v:d=d.next=v,s=s.next}while(s!==null);d===null?f=d=a:d=d.next=a}else f=d=a;s={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:d,shared:l.shared,callbacks:l.callbacks},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=a:n.next=a,s.lastBaseUpdate=a}var yd=!1;function Mo(){if(yd){var n=gs;if(n!==null)throw n}}function Ro(n,a,s,l){yd=!1;var f=n.updateQueue;ja=!1;var d=f.firstBaseUpdate,v=f.lastBaseUpdate,S=f.shared.pending;if(S!==null){f.shared.pending=null;var C=S,V=C.next;C.next=null,v===null?d=V:v.next=V,v=C;var K=n.alternate;K!==null&&(K=K.updateQueue,S=K.lastBaseUpdate,S!==v&&(S===null?K.firstBaseUpdate=V:S.next=V,K.lastBaseUpdate=C))}if(d!==null){var te=f.baseState;v=0,K=V=C=null,S=d;do{var $=S.lane&-536870913,P=$!==S.lane;if(P?(Pe&$)===$:(l&$)===$){$!==0&&$===ps&&(yd=!0),K!==null&&(K=K.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var Se=n,Re=S;$=a;var ut=s;switch(Re.tag){case 1:if(Se=Re.payload,typeof Se=="function"){te=Se.call(ut,te,$);break e}te=Se;break e;case 3:Se.flags=Se.flags&-65537|128;case 0:if(Se=Re.payload,$=typeof Se=="function"?Se.call(ut,te,$):Se,$==null)break e;te=g({},te,$);break e;case 2:ja=!0}}$=S.callback,$!==null&&(n.flags|=64,P&&(n.flags|=8192),P=f.callbacks,P===null?f.callbacks=[$]:P.push($))}else P={lane:$,tag:S.tag,payload:S.payload,callback:S.callback,next:null},K===null?(V=K=P,C=te):K=K.next=P,v|=$;if(S=S.next,S===null){if(S=f.shared.pending,S===null)break;P=S,S=P.next,P.next=null,f.lastBaseUpdate=P,f.shared.pending=null}}while(!0);K===null&&(C=te),f.baseState=C,f.firstBaseUpdate=V,f.lastBaseUpdate=K,d===null&&(f.shared.lanes=0),$a|=v,n.lanes=v,n.memoizedState=te}}function Oy(n,a){if(typeof n!="function")throw Error(i(191,n));n.call(a)}function Ay(n,a){var s=n.callbacks;if(s!==null)for(n.callbacks=null,n=0;nd?d:8;var v=M.T,S={};M.T=S,Ud(n,!1,a,s);try{var C=f(),V=M.S;if(V!==null&&V(S,C),C!==null&&typeof C=="object"&&typeof C.then=="function"){var K=L2(C,l);zo(n,a,K,Vn(n))}else zo(n,a,l,Vn(n))}catch(te){zo(n,a,{then:function(){},status:"rejected",reason:te},Vn())}finally{I.p=d,v!==null&&S.types!==null&&(v.types=S.types),M.T=v}}function F2(){}function zd(n,a,s,l){if(n.tag!==5)throw Error(i(476));var f=iv(n).queue;av(n,f,a,L,s===null?F2:function(){return sv(n),s(l)})}function iv(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ea,lastRenderedState:L},next:null};var s={};return a.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ea,lastRenderedState:s},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function sv(n){var a=iv(n);a.next===null&&(a=n.alternate.memoizedState),zo(n,a.next.queue,{},Vn())}function jd(){return tn(Ko)}function ov(){return Mt().memoizedState}function lv(){return Mt().memoizedState}function Z2(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var s=Vn();n=Ua(s);var l=La(a,n,s);l!==null&&(On(l,a,s),Do(l,a,s)),a={cache:cd()},n.payload=a;return}a=a.return}}function P2(n,a,s){var l=Vn();s={lane:l,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},pu(n)?cv(a,s):(s=Jf(n,a,s,l),s!==null&&(On(s,n,l),fv(s,a,l)))}function uv(n,a,s){var l=Vn();zo(n,a,s,l)}function zo(n,a,s,l){var f={lane:l,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(pu(n))cv(a,f);else{var d=n.alternate;if(n.lanes===0&&(d===null||d.lanes===0)&&(d=a.lastRenderedReducer,d!==null))try{var v=a.lastRenderedState,S=d(v,s);if(f.hasEagerState=!0,f.eagerState=S,zn(S,v))return Xl(n,a,f,0),ft===null&&Il(),!1}catch{}finally{}if(s=Jf(n,a,f,l),s!==null)return On(s,n,l),fv(s,a,l),!0}return!1}function Ud(n,a,s,l){if(l={lane:2,revertLane:mh(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},pu(n)){if(a)throw Error(i(479))}else a=Jf(n,s,l,2),a!==null&&On(a,n,2)}function pu(n){var a=n.alternate;return n===je||a!==null&&a===je}function cv(n,a){_s=lu=!0;var s=n.pending;s===null?a.next=a:(a.next=s.next,s.next=a),n.pending=a}function fv(n,a,s){if((s&4194048)!==0){var l=a.lanes;l&=n.pendingLanes,s|=l,a.lanes=s,vn(n,s)}}var jo={readContext:tn,use:fu,useCallback:Et,useContext:Et,useEffect:Et,useImperativeHandle:Et,useLayoutEffect:Et,useInsertionEffect:Et,useMemo:Et,useReducer:Et,useRef:Et,useState:Et,useDebugValue:Et,useDeferredValue:Et,useTransition:Et,useSyncExternalStore:Et,useId:Et,useHostTransitionStatus:Et,useFormState:Et,useActionState:Et,useOptimistic:Et,useMemoCache:Et,useCacheRefresh:Et};jo.useEffectEvent=Et;var dv={readContext:tn,use:fu,useCallback:function(n,a){return fn().memoizedState=[n,a===void 0?null:a],n},useContext:tn,useEffect:Xy,useImperativeHandle:function(n,a,s){s=s!=null?s.concat([n]):null,hu(4194308,4,Jy.bind(null,a,n),s)},useLayoutEffect:function(n,a){return hu(4194308,4,n,a)},useInsertionEffect:function(n,a){hu(4,2,n,a)},useMemo:function(n,a){var s=fn();a=a===void 0?null:a;var l=n();if(Ei){kn(!0);try{n()}finally{kn(!1)}}return s.memoizedState=[l,a],l},useReducer:function(n,a,s){var l=fn();if(s!==void 0){var f=s(a);if(Ei){kn(!0);try{s(a)}finally{kn(!1)}}}else f=a;return l.memoizedState=l.baseState=f,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:f},l.queue=n,n=n.dispatch=P2.bind(null,je,n),[l.memoizedState,n]},useRef:function(n){var a=fn();return n={current:n},a.memoizedState=n},useState:function(n){n=Dd(n);var a=n.queue,s=uv.bind(null,je,a);return a.dispatch=s,[n.memoizedState,s]},useDebugValue:Nd,useDeferredValue:function(n,a){var s=fn();return kd(s,n,a)},useTransition:function(){var n=Dd(!1);return n=av.bind(null,je,n.queue,!0,!1),fn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,s){var l=je,f=fn();if(Ie){if(s===void 0)throw Error(i(407));s=s()}else{if(s=a(),ft===null)throw Error(i(349));(Pe&127)!==0||ky(l,a,s)}f.memoizedState=s;var d={value:s,getSnapshot:a};return f.queue=d,Xy(jy.bind(null,l,d,n),[n]),l.flags|=2048,Ss(9,{destroy:void 0},zy.bind(null,l,d,s,a),null),s},useId:function(){var n=fn(),a=ft.identifierPrefix;if(Ie){var s=Dr,l=Cr;s=(l&~(1<<32-Bt(l)-1)).toString(32)+s,a="_"+a+"R_"+s,s=uu++,0<\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof l.is=="string"?v.createElement("select",{is:l.is}):v.createElement("select"),l.multiple?d.multiple=!0:l.size&&(d.size=l.size);break;default:d=typeof l.is=="string"?v.createElement(f,{is:l.is}):v.createElement(f)}}d[Jt]=a,d[_n]=l;e:for(v=a.child;v!==null;){if(v.tag===5||v.tag===6)d.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===a)break e;for(;v.sibling===null;){if(v.return===null||v.return===a)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}a.stateNode=d;e:switch(rn(d,f,l),f){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&na(a)}}return mt(a),Wd(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,s),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==l&&na(a);else{if(typeof l!="string"&&a.stateNode===null)throw Error(i(166));if(n=Te.current,hs(a)){if(n=a.stateNode,s=a.memoizedProps,l=null,f=en,f!==null)switch(f.tag){case 27:case 5:l=f.memoizedProps}n[Jt]=a,n=!!(n.nodeValue===s||l!==null&&l.suppressHydrationWarning===!0||R0(n.nodeValue,s)),n||ka(a,!0)}else n=ju(n).createTextNode(l),n[Jt]=a,a.stateNode=n}return mt(a),null;case 31:if(s=a.memoizedState,n===null||n.memoizedState!==null){if(l=hs(a),s!==null){if(n===null){if(!l)throw Error(i(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(i(557));n[Jt]=a}else yi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;mt(a),n=!1}else s=sd(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=s),n=!0;if(!n)return a.flags&256?(Ln(a),a):(Ln(a),null);if((a.flags&128)!==0)throw Error(i(558))}return mt(a),null;case 13:if(l=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(f=hs(a),l!==null&&l.dehydrated!==null){if(n===null){if(!f)throw Error(i(318));if(f=a.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(i(317));f[Jt]=a}else yi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;mt(a),f=!1}else f=sd(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=f),f=!0;if(!f)return a.flags&256?(Ln(a),a):(Ln(a),null)}return Ln(a),(a.flags&128)!==0?(a.lanes=s,a):(s=l!==null,n=n!==null&&n.memoizedState!==null,s&&(l=a.child,f=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(f=l.alternate.memoizedState.cachePool.pool),d=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(d=l.memoizedState.cachePool.pool),d!==f&&(l.flags|=2048)),s!==n&&s&&(a.child.flags|=8192),_u(a,a.updateQueue),mt(a),null);case 4:return Be(),n===null&&vh(a.stateNode.containerInfo),mt(a),null;case 10:return Qr(a.type),mt(a),null;case 19:if(q(Dt),l=a.memoizedState,l===null)return mt(a),null;if(f=(a.flags&128)!==0,d=l.rendering,d===null)if(f)Lo(l,!1);else{if(Tt!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(d=ou(n),d!==null){for(a.flags|=128,Lo(l,!1),n=d.updateQueue,a.updateQueue=n,_u(a,n),a.subtreeFlags=0,n=s,s=a.child;s!==null;)uy(s,n),s=s.sibling;return X(Dt,Dt.current&1|2),Ie&&Wr(a,l.treeForkCount),a.child}n=n.sibling}l.tail!==null&&se()>Tu&&(a.flags|=128,f=!0,Lo(l,!1),a.lanes=4194304)}else{if(!f)if(n=ou(d),n!==null){if(a.flags|=128,f=!0,n=n.updateQueue,a.updateQueue=n,_u(a,n),Lo(l,!0),l.tail===null&&l.tailMode==="hidden"&&!d.alternate&&!Ie)return mt(a),null}else 2*se()-l.renderingStartTime>Tu&&s!==536870912&&(a.flags|=128,f=!0,Lo(l,!1),a.lanes=4194304);l.isBackwards?(d.sibling=a.child,a.child=d):(n=l.last,n!==null?n.sibling=d:a.child=d,l.last=d)}return l.tail!==null?(n=l.tail,l.rendering=n,l.tail=n.sibling,l.renderingStartTime=se(),n.sibling=null,s=Dt.current,X(Dt,f?s&1|2:s&1),Ie&&Wr(a,l.treeForkCount),n):(mt(a),null);case 22:case 23:return Ln(a),bd(),l=a.memoizedState!==null,n!==null?n.memoizedState!==null!==l&&(a.flags|=8192):l&&(a.flags|=8192),l?(s&536870912)!==0&&(a.flags&128)===0&&(mt(a),a.subtreeFlags&6&&(a.flags|=8192)):mt(a),s=a.updateQueue,s!==null&&_u(a,s.retryQueue),s=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),l=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),l!==s&&(a.flags|=2048),n!==null&&q(_i),null;case 24:return s=null,n!==null&&(s=n.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),Qr(zt),mt(a),null;case 25:return null;case 30:return null}throw Error(i(156,a.tag))}function W2(n,a){switch(ad(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return Qr(zt),Be(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return Qt(a),null;case 31:if(a.memoizedState!==null){if(Ln(a),a.alternate===null)throw Error(i(340));yi()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(Ln(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(i(340));yi()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return q(Dt),null;case 4:return Be(),null;case 10:return Qr(a.type),null;case 22:case 23:return Ln(a),bd(),n!==null&&q(_i),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return Qr(zt),null;case 25:return null;default:return null}}function Uv(n,a){switch(ad(a),a.tag){case 3:Qr(zt),Be();break;case 26:case 27:case 5:Qt(a);break;case 4:Be();break;case 31:a.memoizedState!==null&&Ln(a);break;case 13:Ln(a);break;case 19:q(Dt);break;case 10:Qr(a.type);break;case 22:case 23:Ln(a),bd(),n!==null&&q(_i);break;case 24:Qr(zt)}}function Yo(n,a){try{var s=a.updateQueue,l=s!==null?s.lastEffect:null;if(l!==null){var f=l.next;s=f;do{if((s.tag&n)===n){l=void 0;var d=s.create,v=s.inst;l=d(),v.destroy=l}s=s.next}while(s!==f)}}catch(S){it(a,a.return,S)}}function Va(n,a,s){try{var l=a.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var d=f.next;l=d;do{if((l.tag&n)===n){var v=l.inst,S=v.destroy;if(S!==void 0){v.destroy=void 0,f=a;var C=s,V=S;try{V()}catch(K){it(f,C,K)}}}l=l.next}while(l!==d)}}catch(K){it(a,a.return,K)}}function Lv(n){var a=n.updateQueue;if(a!==null){var s=n.stateNode;try{Ay(a,s)}catch(l){it(n,n.return,l)}}}function Yv(n,a,s){s.props=Ti(n.type,n.memoizedProps),s.state=n.memoizedState;try{s.componentWillUnmount()}catch(l){it(n,a,l)}}function Ho(n,a){try{var s=n.ref;if(s!==null){switch(n.tag){case 26:case 27:case 5:var l=n.stateNode;break;case 30:l=n.stateNode;break;default:l=n.stateNode}typeof s=="function"?n.refCleanup=s(l):s.current=l}}catch(f){it(n,a,f)}}function Mr(n,a){var s=n.ref,l=n.refCleanup;if(s!==null)if(typeof l=="function")try{l()}catch(f){it(n,a,f)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(f){it(n,a,f)}else s.current=null}function Hv(n){var a=n.type,s=n.memoizedProps,l=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":s.autoFocus&&l.focus();break e;case"img":s.src?l.src=s.src:s.srcSet&&(l.srcset=s.srcSet)}}catch(f){it(n,n.return,f)}}function Kd(n,a,s){try{var l=n.stateNode;vT(l,n.type,s,a),l[_n]=a}catch(f){it(n,n.return,f)}}function Vv(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&qa(n.type)||n.tag===4}function Qd(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Vv(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&qa(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Jd(n,a,s){var l=n.tag;if(l===5||l===6)n=n.stateNode,a?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(n,a):(a=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,a.appendChild(n),s=s._reactRootContainer,s!=null||a.onclick!==null||(a.onclick=qr));else if(l!==4&&(l===27&&qa(n.type)&&(s=n.stateNode,a=null),n=n.child,n!==null))for(Jd(n,a,s),n=n.sibling;n!==null;)Jd(n,a,s),n=n.sibling}function wu(n,a,s){var l=n.tag;if(l===5||l===6)n=n.stateNode,a?s.insertBefore(n,a):s.appendChild(n);else if(l!==4&&(l===27&&qa(n.type)&&(s=n.stateNode),n=n.child,n!==null))for(wu(n,a,s),n=n.sibling;n!==null;)wu(n,a,s),n=n.sibling}function Bv(n){var a=n.stateNode,s=n.memoizedProps;try{for(var l=n.type,f=a.attributes;f.length;)a.removeAttributeNode(f[0]);rn(a,l,s),a[Jt]=n,a[_n]=s}catch(d){it(n,n.return,d)}}var ra=!1,Lt=!1,eh=!1,$v=typeof WeakSet=="function"?WeakSet:Set,Wt=null;function K2(n,a){if(n=n.containerInfo,wh=$u,n=ey(n),qf(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var l=s.getSelection&&s.getSelection();if(l&&l.rangeCount!==0){s=l.anchorNode;var f=l.anchorOffset,d=l.focusNode;l=l.focusOffset;try{s.nodeType,d.nodeType}catch{s=null;break e}var v=0,S=-1,C=-1,V=0,K=0,te=n,$=null;t:for(;;){for(var P;te!==s||f!==0&&te.nodeType!==3||(S=v+f),te!==d||l!==0&&te.nodeType!==3||(C=v+l),te.nodeType===3&&(v+=te.nodeValue.length),(P=te.firstChild)!==null;)$=te,te=P;for(;;){if(te===n)break t;if($===s&&++V===f&&(S=v),$===d&&++K===l&&(C=v),(P=te.nextSibling)!==null)break;te=$,$=te.parentNode}te=P}s=S===-1||C===-1?null:{start:S,end:C}}else s=null}s=s||{start:0,end:0}}else s=null;for(Sh={focusedElem:n,selectionRange:s},$u=!1,Wt=a;Wt!==null;)if(a=Wt,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,Wt=n;else for(;Wt!==null;){switch(a=Wt,d=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(s=0;s title"))),rn(d,l,s),d[Jt]=n,Xt(d),l=d;break e;case"link":var v=I0("link","href",f).get(l+(s.href||""));if(v){for(var S=0;Sut&&(v=ut,ut=Re,Re=v);var z=Qg(S,Re),N=Qg(S,ut);if(z&&N&&(P.rangeCount!==1||P.anchorNode!==z.node||P.anchorOffset!==z.offset||P.focusNode!==N.node||P.focusOffset!==N.offset)){var H=te.createRange();H.setStart(z.node,z.offset),P.removeAllRanges(),Re>ut?(P.addRange(H),P.extend(N.node,N.offset)):(H.setEnd(N.node,N.offset),P.addRange(H))}}}}for(te=[],P=S;P=P.parentNode;)P.nodeType===1&&te.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;Ss?32:s,M.T=null,s=oh,oh=null;var d=Za,v=la;if($t=0,As=Za=null,la=0,(nt&6)!==0)throw Error(i(331));var S=nt;if(nt|=4,Jv(d.current),Wv(d,d.current,v,s),nt=S,Po(0,!1),Vt&&typeof Vt.onPostCommitFiberRoot=="function")try{Vt.onPostCommitFiberRoot(lr,d)}catch{}return!0}finally{I.p=f,M.T=l,y0(n,a)}}function b0(n,a,s){a=Xn(s,a),a=Vd(n.stateNode,a,2),n=La(n,a,2),n!==null&&(St(n,2),Rr(n))}function it(n,a,s){if(n.tag===3)b0(n,n,s);else for(;a!==null;){if(a.tag===3){b0(a,n,s);break}else if(a.tag===1){var l=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Fa===null||!Fa.has(l))){n=Xn(s,n),s=_v(2),l=La(a,s,2),l!==null&&(wv(s,l,a,n),St(l,2),Rr(l));break}}a=a.return}}function fh(n,a,s){var l=n.pingCache;if(l===null){l=n.pingCache=new eT;var f=new Set;l.set(a,f)}else f=l.get(a),f===void 0&&(f=new Set,l.set(a,f));f.has(s)||(rh=!0,f.add(s),n=iT.bind(null,n,a,s),a.then(n,n))}function iT(n,a,s){var l=n.pingCache;l!==null&&l.delete(a),n.pingedLanes|=n.suspendedLanes&s,n.warmLanes&=~s,ft===n&&(Pe&s)===s&&(Tt===4||Tt===3&&(Pe&62914560)===Pe&&300>se()-Eu?(nt&2)===0&&Cs(n,0):ah|=s,Os===Pe&&(Os=0)),Rr(n)}function _0(n,a){a===0&&(a=on()),n=pi(n,a),n!==null&&(St(n,a),Rr(n))}function sT(n){var a=n.memoizedState,s=0;a!==null&&(s=a.retryLane),_0(n,s)}function oT(n,a){var s=0;switch(n.tag){case 31:case 13:var l=n.stateNode,f=n.memoizedState;f!==null&&(s=f.retryLane);break;case 19:l=n.stateNode;break;case 22:l=n.stateNode._retryCache;break;default:throw Error(i(314))}l!==null&&l.delete(a),_0(n,s)}function lT(n,a){return R(n,a)}var Ru=null,Ms=null,dh=!1,Nu=!1,hh=!1,Ga=0;function Rr(n){n!==Ms&&n.next===null&&(Ms===null?Ru=Ms=n:Ms=Ms.next=n),Nu=!0,dh||(dh=!0,cT())}function Po(n,a){if(!hh&&Nu){hh=!0;do for(var s=!1,l=Ru;l!==null;){if(n!==0){var f=l.pendingLanes;if(f===0)var d=0;else{var v=l.suspendedLanes,S=l.pingedLanes;d=(1<<31-Bt(42|n)+1)-1,d&=f&~(v&~S),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(s=!0,E0(l,d))}else d=Pe,d=Ne(l,l===ft?d:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(d&3)===0||yt(l,d)||(s=!0,E0(l,d));l=l.next}while(s);hh=!1}}function uT(){w0()}function w0(){Nu=dh=!1;var n=0;Ga!==0&&_T()&&(n=Ga);for(var a=se(),s=null,l=Ru;l!==null;){var f=l.next,d=S0(l,a);d===0?(l.next=null,s===null?Ru=f:s.next=f,f===null&&(Ms=s)):(s=l,(n!==0||(d&3)!==0)&&(Nu=!0)),l=f}$t!==0&&$t!==5||Po(n),Ga!==0&&(Ga=0)}function S0(n,a){for(var s=n.suspendedLanes,l=n.pingedLanes,f=n.expirationTimes,d=n.pendingLanes&-62914561;0S)break;var K=C.transferSize,te=C.initiatorType;K&&N0(te)&&(C=C.responseEnd,v+=K*(C"u"?null:document;function Z0(n,a,s){var l=Rs;if(l&&typeof a=="string"&&a){var f=qn(a);f='link[rel="'+n+'"][href="'+f+'"]',typeof s=="string"&&(f+='[crossorigin="'+s+'"]'),F0.has(f)||(F0.add(f),n={rel:n,crossOrigin:s,href:a},l.querySelector(f)===null&&(a=l.createElement("link"),rn(a,"link",n),Xt(a),l.head.appendChild(a)))}}function DT(n){ua.D(n),Z0("dns-prefetch",n,null)}function MT(n,a){ua.C(n,a),Z0("preconnect",n,a)}function RT(n,a,s){ua.L(n,a,s);var l=Rs;if(l&&n&&a){var f='link[rel="preload"][as="'+qn(a)+'"]';a==="image"&&s&&s.imageSrcSet?(f+='[imagesrcset="'+qn(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(f+='[imagesizes="'+qn(s.imageSizes)+'"]')):f+='[href="'+qn(n)+'"]';var d=f;switch(a){case"style":d=Ns(n);break;case"script":d=ks(n)}tr.has(d)||(n=g({rel:"preload",href:a==="image"&&s&&s.imageSrcSet?void 0:n,as:a},s),tr.set(d,n),l.querySelector(f)!==null||a==="style"&&l.querySelector(Xo(d))||a==="script"&&l.querySelector(Wo(d))||(a=l.createElement("link"),rn(a,"link",n),Xt(a),l.head.appendChild(a)))}}function NT(n,a){ua.m(n,a);var s=Rs;if(s&&n){var l=a&&typeof a.as=="string"?a.as:"script",f='link[rel="modulepreload"][as="'+qn(l)+'"][href="'+qn(n)+'"]',d=f;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=ks(n)}if(!tr.has(d)&&(n=g({rel:"modulepreload",href:n},a),tr.set(d,n),s.querySelector(f)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Wo(d)))return}l=s.createElement("link"),rn(l,"link",n),Xt(l),s.head.appendChild(l)}}}function kT(n,a,s){ua.S(n,a,s);var l=Rs;if(l&&n){var f=es(l).hoistableStyles,d=Ns(n);a=a||"default";var v=f.get(d);if(!v){var S={loading:0,preload:null};if(v=l.querySelector(Xo(d)))S.loading=5;else{n=g({rel:"stylesheet",href:n,"data-precedence":a},s),(s=tr.get(d))&&Dh(n,s);var C=v=l.createElement("link");Xt(C),rn(C,"link",n),C._p=new Promise(function(V,K){C.onload=V,C.onerror=K}),C.addEventListener("load",function(){S.loading|=1}),C.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Lu(v,a,l)}v={type:"stylesheet",instance:v,count:1,state:S},f.set(d,v)}}}function zT(n,a){ua.X(n,a);var s=Rs;if(s&&n){var l=es(s).hoistableScripts,f=ks(n),d=l.get(f);d||(d=s.querySelector(Wo(f)),d||(n=g({src:n,async:!0},a),(a=tr.get(f))&&Mh(n,a),d=s.createElement("script"),Xt(d),rn(d,"link",n),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(f,d))}}function jT(n,a){ua.M(n,a);var s=Rs;if(s&&n){var l=es(s).hoistableScripts,f=ks(n),d=l.get(f);d||(d=s.querySelector(Wo(f)),d||(n=g({src:n,async:!0,type:"module"},a),(a=tr.get(f))&&Mh(n,a),d=s.createElement("script"),Xt(d),rn(d,"link",n),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(f,d))}}function P0(n,a,s,l){var f=(f=Te.current)?Uu(f):null;if(!f)throw Error(i(446));switch(n){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(a=Ns(s.href),s=es(f).hoistableStyles,l=s.get(a),l||(l={type:"style",instance:null,count:0,state:null},s.set(a,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){n=Ns(s.href);var d=es(f).hoistableStyles,v=d.get(n);if(v||(f=f.ownerDocument||f,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(n,v),(d=f.querySelector(Xo(n)))&&!d._p&&(v.instance=d,v.state.loading=5),tr.has(n)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},tr.set(n,s),d||UT(f,n,s,v.state))),a&&l===null)throw Error(i(528,""));return v}if(a&&l!==null)throw Error(i(529,""));return null;case"script":return a=s.async,s=s.src,typeof s=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=ks(s),s=es(f).hoistableScripts,l=s.get(a),l||(l={type:"script",instance:null,count:0,state:null},s.set(a,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,n))}}function Ns(n){return'href="'+qn(n)+'"'}function Xo(n){return'link[rel="stylesheet"]['+n+"]"}function G0(n){return g({},n,{"data-precedence":n.precedence,precedence:null})}function UT(n,a,s,l){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=n.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),rn(a,"link",s),Xt(a),n.head.appendChild(a))}function ks(n){return'[src="'+qn(n)+'"]'}function Wo(n){return"script[async]"+n}function q0(n,a,s){if(a.count++,a.instance===null)switch(a.type){case"style":var l=n.querySelector('style[data-href~="'+qn(s.href)+'"]');if(l)return a.instance=l,Xt(l),l;var f=g({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return l=(n.ownerDocument||n).createElement("style"),Xt(l),rn(l,"style",f),Lu(l,s.precedence,n),a.instance=l;case"stylesheet":f=Ns(s.href);var d=n.querySelector(Xo(f));if(d)return a.state.loading|=4,a.instance=d,Xt(d),d;l=G0(s),(f=tr.get(f))&&Dh(l,f),d=(n.ownerDocument||n).createElement("link"),Xt(d);var v=d;return v._p=new Promise(function(S,C){v.onload=S,v.onerror=C}),rn(d,"link",l),a.state.loading|=4,Lu(d,s.precedence,n),a.instance=d;case"script":return d=ks(s.src),(f=n.querySelector(Wo(d)))?(a.instance=f,Xt(f),f):(l=s,(f=tr.get(d))&&(l=g({},s),Mh(l,f)),n=n.ownerDocument||n,f=n.createElement("script"),Xt(f),rn(f,"link",l),n.head.appendChild(f),a.instance=f);case"void":return null;default:throw Error(i(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(l=a.instance,a.state.loading|=4,Lu(l,s.precedence,n));return a.instance}function Lu(n,a,s){for(var l=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=l.length?l[l.length-1]:null,d=f,v=0;v title"):null)}function LT(n,a,s){if(s===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return n=a.disabled,typeof a.precedence=="string"&&n==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function W0(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function YT(n,a,s,l){if(s.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var f=Ns(l.href),d=a.querySelector(Xo(f));if(d){a=d._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=Hu.bind(n),a.then(n,n)),s.state.loading|=4,s.instance=d,Xt(d);return}d=a.ownerDocument||a,l=G0(l),(f=tr.get(f))&&Dh(l,f),d=d.createElement("link"),Xt(d);var v=d;v._p=new Promise(function(S,C){v.onload=S,v.onerror=C}),rn(d,"link",l),s.instance=d}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(s,a),(a=s.state.preload)&&(s.state.loading&3)===0&&(n.count++,s=Hu.bind(n),a.addEventListener("load",s),a.addEventListener("error",s))}}var Rh=0;function HT(n,a){return n.stylesheets&&n.count===0&&Bu(n,n.stylesheets),0Rh?50:800)+a);return n.unsuspend=s,function(){n.unsuspend=null,clearTimeout(l),clearTimeout(f)}}:null}function Hu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Bu(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Vu=null;function Bu(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Vu=new Map,a.forEach(VT,n),Vu=null,Hu.call(n))}function VT(n,a){if(!(a.state.loading&4)){var s=Vu.get(n);if(s)var l=s.get(null);else{s=new Map,Vu.set(n,s);for(var f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Vh.exports=rO(),Vh.exports}var iO=aO(),Zh={exports:{}},Ph={};var _b;function sO(){if(_b)return Ph;_b=1;var e=xl().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;return Ph.c=function(t){return e.H.useMemoCache(t)},Ph}var wb;function oO(){return wb||(wb=1,Zh.exports=sO()),Zh.exports}var Ve=oO();function Le(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function Sb(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function oi(...e){return t=>{let r=!1;const i=e.map(o=>{const u=Sb(o,t);return!r&&typeof u=="function"&&(r=!0),u});if(r)return()=>{for(let o=0;o{const{children:c,...h}=u,p=_.useMemo(()=>h,Object.values(h));return w.jsx(r.Provider,{value:p,children:c})};i.displayName=e+"Provider";function o(u){const c=_.useContext(r);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${u}\` must be used within \`${e}\``)}return[i,o]}function Bi(e,t=[]){let r=[];function i(u,c){const h=_.createContext(c),p=r.length;r=[...r,c];const m=g=>{const{scope:b,children:T,...x}=g,E=b?.[e]?.[p]||h,O=_.useMemo(()=>x,Object.values(x));return w.jsx(E.Provider,{value:O,children:T})};m.displayName=u+"Provider";function y(g,b){const T=b?.[e]?.[p]||h,x=_.useContext(T);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${g}\` must be used within \`${u}\``)}return[m,y]}const o=()=>{const u=r.map(c=>_.createContext(c));return function(h){const p=h?.[e]||u;return _.useMemo(()=>({[`__scope${e}`]:{...h,[e]:p}}),[h,p])}};return o.scopeName=e,[i,uO(o,...t)]}function uO(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const i=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(u){const c=i.reduce((h,{useScope:p,scopeName:m})=>{const g=p(u)[`__scope${m}`];return{...h,...g}},{});return _.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return r.scopeName=t.scopeName,r}var yr=globalThis?.document?_.useLayoutEffect:()=>{},cO=Xm[" useId ".trim().toString()]||(()=>{}),fO=0;function ki(e){const[t,r]=_.useState(cO());return yr(()=>{r(i=>i??String(fO++))},[e]),e||(t?`radix-${t}`:"")}var dO=Xm[" useInsertionEffect ".trim().toString()]||yr;function Zc({prop:e,defaultProp:t,onChange:r=()=>{},caller:i}){const[o,u,c]=hO({defaultProp:t,onChange:r}),h=e!==void 0,p=h?e:o;{const y=_.useRef(e!==void 0);_.useEffect(()=>{const g=y.current;g!==h&&console.warn(`${i} is changing from ${g?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=h},[h,i])}const m=_.useCallback(y=>{if(h){const g=mO(y)?y(e):y;g!==e&&c.current?.(g)}else u(y)},[h,e,u,c]);return[p,m]}function hO({defaultProp:e,onChange:t}){const[r,i]=_.useState(e),o=_.useRef(r),u=_.useRef(t);return dO(()=>{u.current=t},[t]),_.useEffect(()=>{o.current!==r&&(u.current?.(r),o.current=r)},[r,o]),[r,i,u]}function mO(e){return typeof e=="function"}var Wm=h_();const m_=d_(Wm);function pO(e){const t=gO(e),r=_.forwardRef((i,o)=>{const{children:u,...c}=i,h=_.Children.toArray(u),p=h.find(vO);if(p){const m=p.props.children,y=h.map(g=>g===p?_.Children.count(m)>1?_.Children.only(null):_.isValidElement(m)?m.props.children:null:g);return w.jsx(t,{...c,ref:o,children:_.isValidElement(m)?_.cloneElement(m,void 0,y):null})}return w.jsx(t,{...c,ref:o,children:u})});return r.displayName=`${e}.Slot`,r}function gO(e){const t=_.forwardRef((r,i)=>{const{children:o,...u}=r;if(_.isValidElement(o)){const c=_O(o),h=bO(u,o.props);return o.type!==_.Fragment&&(h.ref=i?oi(i,c):c),_.cloneElement(o,h)}return _.Children.count(o)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var yO=Symbol("radix.slottable");function vO(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===yO}function bO(e,t){const r={...t};for(const i in t){const o=e[i],u=t[i];/^on[A-Z]/.test(i)?o&&u?r[i]=(...h)=>{const p=u(...h);return o(...h),p}:o&&(r[i]=o):i==="style"?r[i]={...o,...u}:i==="className"&&(r[i]=[o,u].filter(Boolean).join(" "))}return{...e,...r}}function _O(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var wO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],_t=wO.reduce((e,t)=>{const r=pO(`Primitive.${t}`),i=_.forwardRef((o,u)=>{const{asChild:c,...h}=o,p=c?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(p,{...h,ref:u})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function p_(e,t){e&&Wm.flushSync(()=>e.dispatchEvent(t))}function Yr(e){const t=_.useRef(e);return _.useEffect(()=>{t.current=e}),_.useMemo(()=>(...r)=>t.current?.(...r),[])}function SO(e,t=globalThis?.document){const r=Yr(e);_.useEffect(()=>{const i=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",i,{capture:!0}),()=>t.removeEventListener("keydown",i,{capture:!0})},[r,t])}var xO="DismissableLayer",wm="dismissableLayer.update",EO="dismissableLayer.pointerDownOutside",TO="dismissableLayer.focusOutside",xb,g_=_.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Km=_.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:u,onInteractOutside:c,onDismiss:h,...p}=e,m=_.useContext(g_),[y,g]=_.useState(null),b=y?.ownerDocument??globalThis?.document,[,T]=_.useState({}),x=an(t,F=>g(F)),E=Array.from(m.layers),[O]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),D=E.indexOf(O),U=y?E.indexOf(y):-1,j=m.layersWithOutsidePointerEventsDisabled.size>0,k=U>=D,Y=CO(F=>{const Q=F.target,he=[...m.branches].some(_e=>_e.contains(Q));!k||he||(o?.(F),c?.(F),F.defaultPrevented||h?.())},b),J=DO(F=>{const Q=F.target;[...m.branches].some(_e=>_e.contains(Q))||(u?.(F),c?.(F),F.defaultPrevented||h?.())},b);return SO(F=>{U===m.layers.size-1&&(i?.(F),!F.defaultPrevented&&h&&(F.preventDefault(),h()))},b),_.useEffect(()=>{if(y)return r&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(xb=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(y)),m.layers.add(y),Eb(),()=>{r&&m.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=xb)}},[y,b,r,m]),_.useEffect(()=>()=>{y&&(m.layers.delete(y),m.layersWithOutsidePointerEventsDisabled.delete(y),Eb())},[y,m]),_.useEffect(()=>{const F=()=>T({});return document.addEventListener(wm,F),()=>document.removeEventListener(wm,F)},[]),w.jsx(_t.div,{...p,ref:x,style:{pointerEvents:j?k?"auto":"none":void 0,...e.style},onFocusCapture:Le(e.onFocusCapture,J.onFocusCapture),onBlurCapture:Le(e.onBlurCapture,J.onBlurCapture),onPointerDownCapture:Le(e.onPointerDownCapture,Y.onPointerDownCapture)})});Km.displayName=xO;var OO="DismissableLayerBranch",AO=_.forwardRef((e,t)=>{const r=_.useContext(g_),i=_.useRef(null),o=an(t,i);return _.useEffect(()=>{const u=i.current;if(u)return r.branches.add(u),()=>{r.branches.delete(u)}},[r.branches]),w.jsx(_t.div,{...e,ref:o})});AO.displayName=OO;function CO(e,t=globalThis?.document){const r=Yr(e),i=_.useRef(!1),o=_.useRef(()=>{});return _.useEffect(()=>{const u=h=>{if(h.target&&!i.current){let p=function(){y_(EO,r,m,{discrete:!0})};const m={originalEvent:h};h.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=p,t.addEventListener("click",o.current,{once:!0})):p()}else t.removeEventListener("click",o.current);i.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",u),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>i.current=!0}}function DO(e,t=globalThis?.document){const r=Yr(e),i=_.useRef(!1);return _.useEffect(()=>{const o=u=>{u.target&&!i.current&&y_(TO,r,{originalEvent:u},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function Eb(){const e=new CustomEvent(wm);document.dispatchEvent(e)}function y_(e,t,r,{discrete:i}){const o=r.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),i?p_(o,u):o.dispatchEvent(u)}var Gh="focusScope.autoFocusOnMount",qh="focusScope.autoFocusOnUnmount",Tb={bubbles:!1,cancelable:!0},MO="FocusScope",Qm=_.forwardRef((e,t)=>{const{loop:r=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:u,...c}=e,[h,p]=_.useState(null),m=Yr(o),y=Yr(u),g=_.useRef(null),b=an(t,E=>p(E)),T=_.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;_.useEffect(()=>{if(i){let E=function(j){if(T.paused||!h)return;const k=j.target;h.contains(k)?g.current=k:ei(g.current,{select:!0})},O=function(j){if(T.paused||!h)return;const k=j.relatedTarget;k!==null&&(h.contains(k)||ei(g.current,{select:!0}))},D=function(j){if(document.activeElement===document.body)for(const Y of j)Y.removedNodes.length>0&&ei(h)};document.addEventListener("focusin",E),document.addEventListener("focusout",O);const U=new MutationObserver(D);return h&&U.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",E),document.removeEventListener("focusout",O),U.disconnect()}}},[i,h,T.paused]),_.useEffect(()=>{if(h){Ab.add(T);const E=document.activeElement;if(!h.contains(E)){const D=new CustomEvent(Gh,Tb);h.addEventListener(Gh,m),h.dispatchEvent(D),D.defaultPrevented||(RO(UO(v_(h)),{select:!0}),document.activeElement===E&&ei(h))}return()=>{h.removeEventListener(Gh,m),setTimeout(()=>{const D=new CustomEvent(qh,Tb);h.addEventListener(qh,y),h.dispatchEvent(D),D.defaultPrevented||ei(E??document.body,{select:!0}),h.removeEventListener(qh,y),Ab.remove(T)},0)}}},[h,m,y,T]);const x=_.useCallback(E=>{if(!r&&!i||T.paused)return;const O=E.key==="Tab"&&!E.altKey&&!E.ctrlKey&&!E.metaKey,D=document.activeElement;if(O&&D){const U=E.currentTarget,[j,k]=NO(U);j&&k?!E.shiftKey&&D===k?(E.preventDefault(),r&&ei(j,{select:!0})):E.shiftKey&&D===j&&(E.preventDefault(),r&&ei(k,{select:!0})):D===U&&E.preventDefault()}},[r,i,T.paused]);return w.jsx(_t.div,{tabIndex:-1,...c,ref:b,onKeyDown:x})});Qm.displayName=MO;function RO(e,{select:t=!1}={}){const r=document.activeElement;for(const i of e)if(ei(i,{select:t}),document.activeElement!==r)return}function NO(e){const t=v_(e),r=Ob(t,e),i=Ob(t.reverse(),e);return[r,i]}function v_(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const o=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||o?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Ob(e,t){for(const r of e)if(!kO(r,{upTo:t}))return r}function kO(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function zO(e){return e instanceof HTMLInputElement&&"select"in e}function ei(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&zO(e)&&t&&e.select()}}var Ab=jO();function jO(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=Cb(e,t),e.unshift(t)},remove(t){e=Cb(e,t),e[0]?.resume()}}}function Cb(e,t){const r=[...e],i=r.indexOf(t);return i!==-1&&r.splice(i,1),r}function UO(e){return e.filter(t=>t.tagName!=="A")}var LO="Portal",Jm=_.forwardRef((e,t)=>{const{container:r,...i}=e,[o,u]=_.useState(!1);yr(()=>u(!0),[]);const c=r||o&&globalThis?.document?.body;return c?m_.createPortal(w.jsx(_t.div,{...i,ref:t}),c):null});Jm.displayName=LO;function YO(e,t){return _.useReducer((r,i)=>t[r][i]??r,e)}var Sa=e=>{const{present:t,children:r}=e,i=HO(t),o=typeof r=="function"?r({present:i.isPresent}):_.Children.only(r),u=an(i.ref,VO(o));return typeof r=="function"||i.isPresent?_.cloneElement(o,{ref:u}):null};Sa.displayName="Presence";function HO(e){const[t,r]=_.useState(),i=_.useRef(null),o=_.useRef(e),u=_.useRef("none"),c=e?"mounted":"unmounted",[h,p]=YO(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return _.useEffect(()=>{const m=Xu(i.current);u.current=h==="mounted"?m:"none"},[h]),yr(()=>{const m=i.current,y=o.current;if(y!==e){const b=u.current,T=Xu(m);e?p("MOUNT"):T==="none"||m?.display==="none"?p("UNMOUNT"):p(y&&b!==T?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,p]),yr(()=>{if(t){let m;const y=t.ownerDocument.defaultView??window,g=T=>{const E=Xu(i.current).includes(CSS.escape(T.animationName));if(T.target===t&&E&&(p("ANIMATION_END"),!o.current)){const O=t.style.animationFillMode;t.style.animationFillMode="forwards",m=y.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=O)})}},b=T=>{T.target===t&&(u.current=Xu(i.current))};return t.addEventListener("animationstart",b),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{y.clearTimeout(m),t.removeEventListener("animationstart",b),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:_.useCallback(m=>{i.current=m?getComputedStyle(m):null,r(m)},[])}}function Xu(e){return e?.animationName||"none"}function VO(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Ih=0;function b_(){_.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Db()),document.body.insertAdjacentElement("beforeend",e[1]??Db()),Ih++,()=>{Ih===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Ih--}},[])}function Db(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var zr=function(){return zr=Object.assign||function(t){for(var r,i=1,o=arguments.length;i"u")return rA;var t=aA(e),r=document.documentElement.clientWidth,i=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,i-r+t[2]-t[0])}},sA=x_(),Ps="data-scroll-locked",oA=function(e,t,r,i){var o=e.left,u=e.top,c=e.right,h=e.gap;return r===void 0&&(r="margin"),` + .`.concat($O,` { + overflow: hidden `).concat(i,`; + padding-right: `).concat(h,"px ").concat(i,`; + } + body[`).concat(Ps,`] { + overflow: hidden `).concat(i,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(i,";"),r==="margin"&&` + padding-left: `.concat(o,`px; + padding-top: `).concat(u,`px; + padding-right: `).concat(c,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(h,"px ").concat(i,`; + `),r==="padding"&&"padding-right: ".concat(h,"px ").concat(i,";")].filter(Boolean).join(""),` + } + + .`).concat(dc,` { + right: `).concat(h,"px ").concat(i,`; + } + + .`).concat(hc,` { + margin-right: `).concat(h,"px ").concat(i,`; + } + + .`).concat(dc," .").concat(dc,` { + right: 0 `).concat(i,`; + } + + .`).concat(hc," .").concat(hc,` { + margin-right: 0 `).concat(i,`; + } + + body[`).concat(Ps,`] { + `).concat(FO,": ").concat(h,`px; + } +`)},Rb=function(){var e=parseInt(document.body.getAttribute(Ps)||"0",10);return isFinite(e)?e:0},lA=function(){_.useEffect(function(){return document.body.setAttribute(Ps,(Rb()+1).toString()),function(){var e=Rb()-1;e<=0?document.body.removeAttribute(Ps):document.body.setAttribute(Ps,e.toString())}},[])},uA=function(e){var t=e.noRelative,r=e.noImportant,i=e.gapMode,o=i===void 0?"margin":i;lA();var u=_.useMemo(function(){return iA(o)},[o]);return _.createElement(sA,{styles:oA(u,!t,o,r?"":"!important")})},Sm=!1;if(typeof window<"u")try{var Wu=Object.defineProperty({},"passive",{get:function(){return Sm=!0,!0}});window.addEventListener("test",Wu,Wu),window.removeEventListener("test",Wu,Wu)}catch{Sm=!1}var js=Sm?{passive:!1}:!1,cA=function(e){return e.tagName==="TEXTAREA"},E_=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!cA(e)&&r[t]==="visible")},fA=function(e){return E_(e,"overflowY")},dA=function(e){return E_(e,"overflowX")},Nb=function(e,t){var r=t.ownerDocument,i=t;do{typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&(i=i.host);var o=T_(e,i);if(o){var u=O_(e,i),c=u[1],h=u[2];if(c>h)return!0}i=i.parentNode}while(i&&i!==r.body);return!1},hA=function(e){var t=e.scrollTop,r=e.scrollHeight,i=e.clientHeight;return[t,r,i]},mA=function(e){var t=e.scrollLeft,r=e.scrollWidth,i=e.clientWidth;return[t,r,i]},T_=function(e,t){return e==="v"?fA(t):dA(t)},O_=function(e,t){return e==="v"?hA(t):mA(t)},pA=function(e,t){return e==="h"&&t==="rtl"?-1:1},gA=function(e,t,r,i,o){var u=pA(e,window.getComputedStyle(t).direction),c=u*i,h=r.target,p=t.contains(h),m=!1,y=c>0,g=0,b=0;do{if(!h)break;var T=O_(e,h),x=T[0],E=T[1],O=T[2],D=E-O-u*x;(x||D)&&T_(e,h)&&(g+=D,b+=x);var U=h.parentNode;h=U&&U.nodeType===Node.DOCUMENT_FRAGMENT_NODE?U.host:U}while(!p&&h!==document.body||p&&(t.contains(h)||t===h));return(y&&Math.abs(g)<1||!y&&Math.abs(b)<1)&&(m=!0),m},Ku=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},kb=function(e){return[e.deltaX,e.deltaY]},zb=function(e){return e&&"current"in e?e.current:e},yA=function(e,t){return e[0]===t[0]&&e[1]===t[1]},vA=function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},bA=0,Us=[];function _A(e){var t=_.useRef([]),r=_.useRef([0,0]),i=_.useRef(),o=_.useState(bA++)[0],u=_.useState(x_)[0],c=_.useRef(e);_.useEffect(function(){c.current=e},[e]),_.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var E=BO([e.lockRef.current],(e.shards||[]).map(zb),!0).filter(Boolean);return E.forEach(function(O){return O.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),E.forEach(function(O){return O.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var h=_.useCallback(function(E,O){if("touches"in E&&E.touches.length===2||E.type==="wheel"&&E.ctrlKey)return!c.current.allowPinchZoom;var D=Ku(E),U=r.current,j="deltaX"in E?E.deltaX:U[0]-D[0],k="deltaY"in E?E.deltaY:U[1]-D[1],Y,J=E.target,F=Math.abs(j)>Math.abs(k)?"h":"v";if("touches"in E&&F==="h"&&J.type==="range")return!1;var Q=window.getSelection(),he=Q&&Q.anchorNode,_e=he?he===J||he.contains(J):!1;if(_e)return!1;var we=Nb(F,J);if(!we)return!0;if(we?Y=F:(Y=F==="v"?"h":"v",we=Nb(F,J)),!we)return!1;if(!i.current&&"changedTouches"in E&&(j||k)&&(i.current=Y),!Y)return!0;var ie=i.current||Y;return gA(ie,O,E,ie==="h"?j:k)},[]),p=_.useCallback(function(E){var O=E;if(!(!Us.length||Us[Us.length-1]!==u)){var D="deltaY"in O?kb(O):Ku(O),U=t.current.filter(function(Y){return Y.name===O.type&&(Y.target===O.target||O.target===Y.shadowParent)&&yA(Y.delta,D)})[0];if(U&&U.should){O.cancelable&&O.preventDefault();return}if(!U){var j=(c.current.shards||[]).map(zb).filter(Boolean).filter(function(Y){return Y.contains(O.target)}),k=j.length>0?h(O,j[0]):!c.current.noIsolation;k&&O.cancelable&&O.preventDefault()}}},[]),m=_.useCallback(function(E,O,D,U){var j={name:E,delta:O,target:D,should:U,shadowParent:wA(D)};t.current.push(j),setTimeout(function(){t.current=t.current.filter(function(k){return k!==j})},1)},[]),y=_.useCallback(function(E){r.current=Ku(E),i.current=void 0},[]),g=_.useCallback(function(E){m(E.type,kb(E),E.target,h(E,e.lockRef.current))},[]),b=_.useCallback(function(E){m(E.type,Ku(E),E.target,h(E,e.lockRef.current))},[]);_.useEffect(function(){return Us.push(u),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:b}),document.addEventListener("wheel",p,js),document.addEventListener("touchmove",p,js),document.addEventListener("touchstart",y,js),function(){Us=Us.filter(function(E){return E!==u}),document.removeEventListener("wheel",p,js),document.removeEventListener("touchmove",p,js),document.removeEventListener("touchstart",y,js)}},[]);var T=e.removeScrollBar,x=e.inert;return _.createElement(_.Fragment,null,x?_.createElement(u,{styles:vA(o)}):null,T?_.createElement(uA,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function wA(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const SA=WO(S_,_A);var ep=_.forwardRef(function(e,t){return _.createElement(Pc,zr({},e,{ref:t,sideCar:SA}))});ep.classNames=Pc.classNames;var xA=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ls=new WeakMap,Qu=new WeakMap,Ju={},Qh=0,A_=function(e){return e&&(e.host||A_(e.parentNode))},EA=function(e,t){return t.map(function(r){if(e.contains(r))return r;var i=A_(r);return i&&e.contains(i)?i:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},TA=function(e,t,r,i){var o=EA(t,Array.isArray(e)?e:[e]);Ju[r]||(Ju[r]=new WeakMap);var u=Ju[r],c=[],h=new Set,p=new Set(o),m=function(g){!g||h.has(g)||(h.add(g),m(g.parentNode))};o.forEach(m);var y=function(g){!g||p.has(g)||Array.prototype.forEach.call(g.children,function(b){if(h.has(b))y(b);else try{var T=b.getAttribute(i),x=T!==null&&T!=="false",E=(Ls.get(b)||0)+1,O=(u.get(b)||0)+1;Ls.set(b,E),u.set(b,O),c.push(b),E===1&&x&&Qu.set(b,!0),O===1&&b.setAttribute(r,"true"),x||b.setAttribute(i,"true")}catch(D){console.error("aria-hidden: cannot operate on ",b,D)}})};return y(t),h.clear(),Qh++,function(){c.forEach(function(g){var b=Ls.get(g)-1,T=u.get(g)-1;Ls.set(g,b),u.set(g,T),b||(Qu.has(g)||g.removeAttribute(i),Qu.delete(g)),T||g.removeAttribute(r)}),Qh--,Qh||(Ls=new WeakMap,Ls=new WeakMap,Qu=new WeakMap,Ju={})}},C_=function(e,t,r){r===void 0&&(r="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),o=xA(e);return o?(i.push.apply(i,Array.from(o.querySelectorAll("[aria-live], script"))),TA(i,o,r,"aria-hidden")):function(){return null}};function OA(e){const t=AA(e),r=_.forwardRef((i,o)=>{const{children:u,...c}=i,h=_.Children.toArray(u),p=h.find(DA);if(p){const m=p.props.children,y=h.map(g=>g===p?_.Children.count(m)>1?_.Children.only(null):_.isValidElement(m)?m.props.children:null:g);return w.jsx(t,{...c,ref:o,children:_.isValidElement(m)?_.cloneElement(m,void 0,y):null})}return w.jsx(t,{...c,ref:o,children:u})});return r.displayName=`${e}.Slot`,r}function AA(e){const t=_.forwardRef((r,i)=>{const{children:o,...u}=r;if(_.isValidElement(o)){const c=RA(o),h=MA(u,o.props);return o.type!==_.Fragment&&(h.ref=i?oi(i,c):c),_.cloneElement(o,h)}return _.Children.count(o)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var CA=Symbol("radix.slottable");function DA(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===CA}function MA(e,t){const r={...t};for(const i in t){const o=e[i],u=t[i];/^on[A-Z]/.test(i)?o&&u?r[i]=(...h)=>{const p=u(...h);return o(...h),p}:o&&(r[i]=o):i==="style"?r[i]={...o,...u}:i==="className"&&(r[i]=[o,u].filter(Boolean).join(" "))}return{...e,...r}}function RA(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Gc="Dialog",[D_]=Bi(Gc),[NA,Sr]=D_(Gc),M_=e=>{const{__scopeDialog:t,children:r,open:i,defaultOpen:o,onOpenChange:u,modal:c=!0}=e,h=_.useRef(null),p=_.useRef(null),[m,y]=Zc({prop:i,defaultProp:o??!1,onChange:u,caller:Gc});return w.jsx(NA,{scope:t,triggerRef:h,contentRef:p,contentId:ki(),titleId:ki(),descriptionId:ki(),open:m,onOpenChange:y,onOpenToggle:_.useCallback(()=>y(g=>!g),[y]),modal:c,children:r})};M_.displayName=Gc;var R_="DialogTrigger",N_=_.forwardRef((e,t)=>{const{__scopeDialog:r,...i}=e,o=Sr(R_,r),u=an(t,o.triggerRef);return w.jsx(_t.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":rp(o.open),...i,ref:u,onClick:Le(e.onClick,o.onOpenToggle)})});N_.displayName=R_;var tp="DialogPortal",[kA,k_]=D_(tp,{forceMount:void 0}),z_=e=>{const{__scopeDialog:t,forceMount:r,children:i,container:o}=e,u=Sr(tp,t);return w.jsx(kA,{scope:t,forceMount:r,children:_.Children.map(i,c=>w.jsx(Sa,{present:r||u.open,children:w.jsx(Jm,{asChild:!0,container:o,children:c})}))})};z_.displayName=tp;var xc="DialogOverlay",j_=_.forwardRef((e,t)=>{const r=k_(xc,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,u=Sr(xc,e.__scopeDialog);return u.modal?w.jsx(Sa,{present:i||u.open,children:w.jsx(jA,{...o,ref:t})}):null});j_.displayName=xc;var zA=OA("DialogOverlay.RemoveScroll"),jA=_.forwardRef((e,t)=>{const{__scopeDialog:r,...i}=e,o=Sr(xc,r);return w.jsx(ep,{as:zA,allowPinchZoom:!0,shards:[o.contentRef],children:w.jsx(_t.div,{"data-state":rp(o.open),...i,ref:t,style:{pointerEvents:"auto",...i.style}})})}),Ui="DialogContent",U_=_.forwardRef((e,t)=>{const r=k_(Ui,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,u=Sr(Ui,e.__scopeDialog);return w.jsx(Sa,{present:i||u.open,children:u.modal?w.jsx(UA,{...o,ref:t}):w.jsx(LA,{...o,ref:t})})});U_.displayName=Ui;var UA=_.forwardRef((e,t)=>{const r=Sr(Ui,e.__scopeDialog),i=_.useRef(null),o=an(t,r.contentRef,i);return _.useEffect(()=>{const u=i.current;if(u)return C_(u)},[]),w.jsx(L_,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Le(e.onCloseAutoFocus,u=>{u.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:Le(e.onPointerDownOutside,u=>{const c=u.detail.originalEvent,h=c.button===0&&c.ctrlKey===!0;(c.button===2||h)&&u.preventDefault()}),onFocusOutside:Le(e.onFocusOutside,u=>u.preventDefault())})}),LA=_.forwardRef((e,t)=>{const r=Sr(Ui,e.__scopeDialog),i=_.useRef(!1),o=_.useRef(!1);return w.jsx(L_,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:u=>{e.onCloseAutoFocus?.(u),u.defaultPrevented||(i.current||r.triggerRef.current?.focus(),u.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:u=>{e.onInteractOutside?.(u),u.defaultPrevented||(i.current=!0,u.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const c=u.target;r.triggerRef.current?.contains(c)&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&o.current&&u.preventDefault()}})}),L_=_.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:u,...c}=e,h=Sr(Ui,r),p=_.useRef(null),m=an(t,p);return b_(),w.jsxs(w.Fragment,{children:[w.jsx(Qm,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:u,children:w.jsx(Km,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":rp(h.open),...c,ref:m,onDismiss:()=>h.onOpenChange(!1)})}),w.jsxs(w.Fragment,{children:[w.jsx(YA,{titleId:h.titleId}),w.jsx(VA,{contentRef:p,descriptionId:h.descriptionId})]})]})}),np="DialogTitle",Y_=_.forwardRef((e,t)=>{const{__scopeDialog:r,...i}=e,o=Sr(np,r);return w.jsx(_t.h2,{id:o.titleId,...i,ref:t})});Y_.displayName=np;var H_="DialogDescription",V_=_.forwardRef((e,t)=>{const{__scopeDialog:r,...i}=e,o=Sr(H_,r);return w.jsx(_t.p,{id:o.descriptionId,...i,ref:t})});V_.displayName=H_;var B_="DialogClose",$_=_.forwardRef((e,t)=>{const{__scopeDialog:r,...i}=e,o=Sr(B_,r);return w.jsx(_t.button,{type:"button",...i,ref:t,onClick:Le(e.onClick,()=>o.onOpenChange(!1))})});$_.displayName=B_;function rp(e){return e?"open":"closed"}var F_="DialogTitleWarning",[DY,Z_]=lO(F_,{contentName:Ui,titleName:np,docsSlug:"dialog"}),YA=({titleId:e})=>{const t=Z_(F_),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. + +If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. + +For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return _.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},HA="DialogDescriptionWarning",VA=({contentRef:e,descriptionId:t})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Z_(HA).contentName}}.`;return _.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(i))},[i,e,t]),null},BA=M_,$A=N_,FA=z_,ZA=j_,PA=U_,GA=Y_,qA=V_,IA=$_;const XA=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),WA=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,i)=>i?i.toUpperCase():r.toLowerCase()),jb=e=>{const t=WA(e);return t.charAt(0).toUpperCase()+t.slice(1)},P_=(...e)=>e.filter((t,r,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===r).join(" ").trim(),KA=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var QA={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const JA=_.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:o="",children:u,iconNode:c,...h},p)=>_.createElement("svg",{ref:p,...QA,width:t,height:t,stroke:e,strokeWidth:i?Number(r)*24/Number(t):r,className:P_("lucide",o),...!u&&!KA(h)&&{"aria-hidden":"true"},...h},[...c.map(([m,y])=>_.createElement(m,y)),...Array.isArray(u)?u:[u]]));const Nt=(e,t)=>{const r=_.forwardRef(({className:i,...o},u)=>_.createElement(JA,{ref:u,iconNode:t,className:P_(`lucide-${XA(jb(e))}`,`lucide-${e}`,i),...o}));return r.displayName=jb(e),r};const eC=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],ap=Nt("camera",eC);const tC=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Ub=Nt("chevron-left",tC);const nC=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Lb=Nt("chevron-right",nC);const rC=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],aC=Nt("circle-check-big",rC);const iC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],sC=Nt("circle-check",iC);const oC=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],G_=Nt("clipboard-list",oC);const lC=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],uC=Nt("ellipsis-vertical",lC);const cC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],fC=Nt("image",cC);const dC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],q_=Nt("info",dC);const hC=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],mC=Nt("loader-circle",hC);const pC=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],mc=Nt("loader",pC);const gC=[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],yC=Nt("octagon-x",gC);const vC=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],bC=Nt("play",vC);const _C=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],wC=Nt("square-pen",_C);const SC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],xC=Nt("square",SC);const EC=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],TC=Nt("trash-2",EC);const OC=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],I_=Nt("triangle-alert",OC);const AC=[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],CC=Nt("user-check",AC);const DC=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],MC=Nt("user-round",DC);const RC=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],X_=Nt("users",RC);const NC=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],kC=Nt("x",NC);function W_(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t>>0,i;for(i=0;i0)for(r=0;r=0;return(u?r?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}var up=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ec=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,em={},Gs={};function De(e,t,r,i){var o=i;typeof i=="string"&&(o=function(){return this[i]()}),e&&(Gs[e]=o),t&&(Gs[t[0]]=function(){return Hr(o.apply(this,arguments),t[1],t[2])}),r&&(Gs[r]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function HC(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function VC(e){var t=e.match(up),r,i;for(r=0,i=t.length;r=0&&ec.test(e);)e=e.replace(ec,i),ec.lastIndex=0,r-=1;return e}var BC={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function $C(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(up).map(function(i){return i==="MMMM"||i==="MM"||i==="DD"||i==="dddd"?i.slice(1):i}).join(""),this._longDateFormat[e])}var FC="Invalid date";function ZC(){return this._invalidDate}var PC="%d",GC=/\d{1,2}/;function qC(e){return this._ordinal.replace("%d",e)}var IC={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function XC(e,t,r,i){var o=this._relativeTime[r];return $r(o)?o(e,t,r,i):o.replace(/%d/i,e)}function WC(e,t){var r=this._relativeTime[e>0?"future":"past"];return $r(r)?r(t):r.replace(/%s/i,t)}var Vb={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ir(e){return typeof e=="string"?Vb[e]||Vb[e.toLowerCase()]:void 0}function cp(e){var t={},r,i;for(i in e)et(e,i)&&(r=ir(i),r&&(t[r]=e[i]));return t}var KC={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function QC(e){var t=[],r;for(r in e)et(e,r)&&t.push({unit:r,priority:KC[r]});return t.sort(function(i,o){return i.priority-o.priority}),t}var rw=/\d/,Pn=/\d\d/,aw=/\d{3}/,fp=/\d{4}/,Ic=/[+-]?\d{6}/,gt=/\d\d?/,iw=/\d\d\d\d?/,sw=/\d\d\d\d\d\d?/,Xc=/\d{1,3}/,dp=/\d{1,4}/,Wc=/[+-]?\d{1,6}/,eo=/\d+/,Kc=/[+-]?\d+/,JC=/Z|[+-]\d\d:?\d\d/gi,Qc=/Z|[+-]\d\d(?::?\d\d)?/gi,eD=/[+-]?\d+(\.\d{1,3})?/,Ol=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,to=/^[1-9]\d?/,hp=/^([1-9]\d|\d)/,Ec;Ec={};function be(e,t,r){Ec[e]=$r(t)?t:function(i,o){return i&&r?r:t}}function tD(e,t){return et(Ec,e)?Ec[e](t._strict,t._locale):new RegExp(nD(e))}function nD(e){return ya(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,i,o,u){return r||i||o||u}))}function ya(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function nr(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function qe(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=nr(t)),r}var Om={};function ct(e,t){var r,i=t,o;for(typeof e=="string"&&(e=[e]),ba(t)&&(i=function(u,c){c[t]=qe(u)}),o=e.length,r=0;r68?1900:2e3)};var ow=no("FullYear",!0);function sD(){return Jc(this.year())}function no(e,t){return function(r){return r!=null?(lw(this,e,r),ge.updateOffset(this,t),this):hl(this,e)}}function hl(e,t){if(!e.isValid())return NaN;var r=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return i?r.getUTCSeconds():r.getSeconds();case"Minutes":return i?r.getUTCMinutes():r.getMinutes();case"Hours":return i?r.getUTCHours():r.getHours();case"Date":return i?r.getUTCDate():r.getDate();case"Day":return i?r.getUTCDay():r.getDay();case"Month":return i?r.getUTCMonth():r.getMonth();case"FullYear":return i?r.getUTCFullYear():r.getFullYear();default:return NaN}}function lw(e,t,r){var i,o,u,c,h;if(!(!e.isValid()||isNaN(r))){switch(i=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?i.setUTCMilliseconds(r):i.setMilliseconds(r));case"Seconds":return void(o?i.setUTCSeconds(r):i.setSeconds(r));case"Minutes":return void(o?i.setUTCMinutes(r):i.setMinutes(r));case"Hours":return void(o?i.setUTCHours(r):i.setHours(r));case"Date":return void(o?i.setUTCDate(r):i.setDate(r));case"FullYear":break;default:return}u=r,c=e.month(),h=e.date(),h=h===29&&c===1&&!Jc(u)?28:h,o?i.setUTCFullYear(u,c,h):i.setFullYear(u,c,h)}}function oD(e){return e=ir(e),$r(this[e])?this[e]():this}function lD(e,t){if(typeof e=="object"){e=cp(e);var r=QC(e),i,o=r.length;for(i=0;i=0?(h=new Date(e+400,t,r,i,o,u,c),isFinite(h.getFullYear())&&h.setFullYear(e)):h=new Date(e,t,r,i,o,u,c),h}function ml(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Tc(e,t,r){var i=7+t-r,o=(7+ml(e,0,i).getUTCDay()-t)%7;return-o+i-1}function mw(e,t,r,i,o){var u=(7+r-i)%7,c=Tc(e,i,o),h=1+7*(t-1)+u+c,p,m;return h<=0?(p=e-1,m=cl(p)+h):h>cl(e)?(p=e+1,m=h-cl(e)):(p=e,m=h),{year:p,dayOfYear:m}}function pl(e,t,r){var i=Tc(e.year(),t,r),o=Math.floor((e.dayOfYear()-i-1)/7)+1,u,c;return o<1?(c=e.year()-1,u=o+va(c,t,r)):o>va(e.year(),t,r)?(u=o-va(e.year(),t,r),c=e.year()+1):(c=e.year(),u=o),{week:u,year:c}}function va(e,t,r){var i=Tc(e,t,r),o=Tc(e+1,t,r);return(cl(e)-i+o)/7}De("w",["ww",2],"wo","week");De("W",["WW",2],"Wo","isoWeek");be("w",gt,to);be("ww",gt,Pn);be("W",gt,to);be("WW",gt,Pn);Al(["w","ww","W","WW"],function(e,t,r,i){t[i.substr(0,1)]=qe(e)});function wD(e){return pl(e,this._week.dow,this._week.doy).week}var SD={dow:0,doy:6};function xD(){return this._week.dow}function ED(){return this._week.doy}function TD(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function OD(e){var t=pl(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}De("d",0,"do","day");De("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});De("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});De("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});De("e",0,0,"weekday");De("E",0,0,"isoWeekday");be("d",gt);be("e",gt);be("E",gt);be("dd",function(e,t){return t.weekdaysMinRegex(e)});be("ddd",function(e,t){return t.weekdaysShortRegex(e)});be("dddd",function(e,t){return t.weekdaysRegex(e)});Al(["dd","ddd","dddd"],function(e,t,r,i){var o=r._locale.weekdaysParse(e,i,r._strict);o!=null?t.d=o:He(r).invalidWeekday=e});Al(["d","e","E"],function(e,t,r,i){t[i]=qe(e)});function AD(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function CD(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function pp(e,t){return e.slice(t,7).concat(e.slice(0,t))}var DD="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),pw="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),MD="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),RD=Ol,ND=Ol,kD=Ol;function zD(e,t){var r=vr(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?pp(r,this._week.dow):e?r[e.day()]:r}function jD(e){return e===!0?pp(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function UD(e){return e===!0?pp(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function LD(e,t,r){var i,o,u,c=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)u=Br([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(u,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(u,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(u,"").toLocaleLowerCase();return r?t==="dddd"?(o=Rt.call(this._weekdaysParse,c),o!==-1?o:null):t==="ddd"?(o=Rt.call(this._shortWeekdaysParse,c),o!==-1?o:null):(o=Rt.call(this._minWeekdaysParse,c),o!==-1?o:null):t==="dddd"?(o=Rt.call(this._weekdaysParse,c),o!==-1||(o=Rt.call(this._shortWeekdaysParse,c),o!==-1)?o:(o=Rt.call(this._minWeekdaysParse,c),o!==-1?o:null)):t==="ddd"?(o=Rt.call(this._shortWeekdaysParse,c),o!==-1||(o=Rt.call(this._weekdaysParse,c),o!==-1)?o:(o=Rt.call(this._minWeekdaysParse,c),o!==-1?o:null)):(o=Rt.call(this._minWeekdaysParse,c),o!==-1||(o=Rt.call(this._weekdaysParse,c),o!==-1)?o:(o=Rt.call(this._shortWeekdaysParse,c),o!==-1?o:null))}function YD(e,t,r){var i,o,u;if(this._weekdaysParseExact)return LD.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=Br([2e3,1]).day(i),r&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(u="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(u.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[i].test(e))return i;if(r&&t==="ddd"&&this._shortWeekdaysParse[i].test(e))return i;if(r&&t==="dd"&&this._minWeekdaysParse[i].test(e))return i;if(!r&&this._weekdaysParse[i].test(e))return i}}function HD(e){if(!this.isValid())return e!=null?this:NaN;var t=hl(this,"Day");return e!=null?(e=AD(e,this.localeData()),this.add(e-t,"d")):t}function VD(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function BD(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=CD(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function $D(e){return this._weekdaysParseExact?(et(this,"_weekdaysRegex")||gp.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(et(this,"_weekdaysRegex")||(this._weekdaysRegex=RD),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function FD(e){return this._weekdaysParseExact?(et(this,"_weekdaysRegex")||gp.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(et(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ND),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ZD(e){return this._weekdaysParseExact?(et(this,"_weekdaysRegex")||gp.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(et(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=kD),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function gp(){function e(y,g){return g.length-y.length}var t=[],r=[],i=[],o=[],u,c,h,p,m;for(u=0;u<7;u++)c=Br([2e3,1]).day(u),h=ya(this.weekdaysMin(c,"")),p=ya(this.weekdaysShort(c,"")),m=ya(this.weekdays(c,"")),t.push(h),r.push(p),i.push(m),o.push(h),o.push(p),o.push(m);t.sort(e),r.sort(e),i.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function yp(){return this.hours()%12||12}function PD(){return this.hours()||24}De("H",["HH",2],0,"hour");De("h",["hh",2],0,yp);De("k",["kk",2],0,PD);De("hmm",0,0,function(){return""+yp.apply(this)+Hr(this.minutes(),2)});De("hmmss",0,0,function(){return""+yp.apply(this)+Hr(this.minutes(),2)+Hr(this.seconds(),2)});De("Hmm",0,0,function(){return""+this.hours()+Hr(this.minutes(),2)});De("Hmmss",0,0,function(){return""+this.hours()+Hr(this.minutes(),2)+Hr(this.seconds(),2)});function gw(e,t){De(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}gw("a",!0);gw("A",!1);function yw(e,t){return t._meridiemParse}be("a",yw);be("A",yw);be("H",gt,hp);be("h",gt,to);be("k",gt,to);be("HH",gt,Pn);be("hh",gt,Pn);be("kk",gt,Pn);be("hmm",iw);be("hmmss",sw);be("Hmm",iw);be("Hmmss",sw);ct(["H","HH"],Pt);ct(["k","kk"],function(e,t,r){var i=qe(e);t[Pt]=i===24?0:i});ct(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});ct(["h","hh"],function(e,t,r){t[Pt]=qe(e),He(r).bigHour=!0});ct("hmm",function(e,t,r){var i=e.length-2;t[Pt]=qe(e.substr(0,i)),t[gr]=qe(e.substr(i)),He(r).bigHour=!0});ct("hmmss",function(e,t,r){var i=e.length-4,o=e.length-2;t[Pt]=qe(e.substr(0,i)),t[gr]=qe(e.substr(i,2)),t[ga]=qe(e.substr(o)),He(r).bigHour=!0});ct("Hmm",function(e,t,r){var i=e.length-2;t[Pt]=qe(e.substr(0,i)),t[gr]=qe(e.substr(i))});ct("Hmmss",function(e,t,r){var i=e.length-4,o=e.length-2;t[Pt]=qe(e.substr(0,i)),t[gr]=qe(e.substr(i,2)),t[ga]=qe(e.substr(o))});function GD(e){return(e+"").toLowerCase().charAt(0)==="p"}var qD=/[ap]\.?m?\.?/i,ID=no("Hours",!0);function XD(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var vw={calendar:LC,longDateFormat:BC,invalidDate:FC,ordinal:PC,dayOfMonthOrdinalParse:GC,relativeTime:IC,months:cD,monthsShort:uw,week:SD,weekdays:DD,weekdaysMin:MD,weekdaysShort:pw,meridiemParse:qD},bt={},rl={},gl;function WD(e,t){var r,i=Math.min(e.length,t.length);for(r=0;r0;){if(o=ef(u.slice(0,r).join("-")),o)return o;if(i&&i.length>=r&&WD(u,i)>=r-1)break;r--}t++}return gl}function QD(e){return!!(e&&e.match("^[^/\\\\]*$"))}function ef(e){var t=null,r;if(bt[e]===void 0&&typeof Sc<"u"&&Sc&&Sc.exports&&QD(e))try{t=gl._abbr,r=require,r("./locale/"+e),ri(t)}catch{bt[e]=null}return bt[e]}function ri(e,t){var r;return e&&(An(t)?r=xa(e):r=vp(e,t),r?gl=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),gl._abbr}function vp(e,t){if(t!==null){var r,i=vw;if(t.abbr=e,bt[e]!=null)tw("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=bt[e]._config;else if(t.parentLocale!=null)if(bt[t.parentLocale]!=null)i=bt[t.parentLocale]._config;else if(r=ef(t.parentLocale),r!=null)i=r._config;else return rl[t.parentLocale]||(rl[t.parentLocale]=[]),rl[t.parentLocale].push({name:e,config:t}),null;return bt[e]=new lp(Em(i,t)),rl[e]&&rl[e].forEach(function(o){vp(o.name,o.config)}),ri(e),bt[e]}else return delete bt[e],null}function JD(e,t){if(t!=null){var r,i,o=vw;bt[e]!=null&&bt[e].parentLocale!=null?bt[e].set(Em(bt[e]._config,t)):(i=ef(e),i!=null&&(o=i._config),t=Em(o,t),i==null&&(t.abbr=e),r=new lp(t),r.parentLocale=bt[e],bt[e]=r),ri(e)}else bt[e]!=null&&(bt[e].parentLocale!=null?(bt[e]=bt[e].parentLocale,e===ri()&&ri(e)):bt[e]!=null&&delete bt[e]);return bt[e]}function xa(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return gl;if(!vr(e)){if(t=ef(e),t)return t;e=[e]}return KD(e)}function eM(){return Tm(bt)}function bp(e){var t,r=e._a;return r&&He(e).overflow===-2&&(t=r[pa]<0||r[pa]>11?pa:r[jr]<1||r[jr]>mp(r[cn],r[pa])?jr:r[Pt]<0||r[Pt]>24||r[Pt]===24&&(r[gr]!==0||r[ga]!==0||r[Mi]!==0)?Pt:r[gr]<0||r[gr]>59?gr:r[ga]<0||r[ga]>59?ga:r[Mi]<0||r[Mi]>999?Mi:-1,He(e)._overflowDayOfYear&&(tjr)&&(t=jr),He(e)._overflowWeeks&&t===-1&&(t=aD),He(e)._overflowWeekday&&t===-1&&(t=iD),He(e).overflow=t),e}var tM=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,nM=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,rM=/Z|[+-]\d\d(?::?\d\d)?/,tc=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],tm=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],aM=/^\/?Date\((-?\d+)/i,iM=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,sM={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bw(e){var t,r,i=e._i,o=tM.exec(i)||nM.exec(i),u,c,h,p,m=tc.length,y=tm.length;if(o){for(He(e).iso=!0,t=0,r=m;tcl(c)||e._dayOfYear===0)&&(He(e)._overflowDayOfYear=!0),r=ml(c,0,e._dayOfYear),e._a[pa]=r.getUTCMonth(),e._a[jr]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=i[t]=o[t];for(;t<7;t++)e._a[t]=i[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Pt]===24&&e._a[gr]===0&&e._a[ga]===0&&e._a[Mi]===0&&(e._nextDay=!0,e._a[Pt]=0),e._d=(e._useUTC?ml:_D).apply(null,i),u=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Pt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==u&&(He(e).weekdayMismatch=!0)}}function mM(e){var t,r,i,o,u,c,h,p,m;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(u=1,c=4,r=Bs(t.GG,e._a[cn],pl(pt(),1,4).year),i=Bs(t.W,1),o=Bs(t.E,1),(o<1||o>7)&&(p=!0)):(u=e._locale._week.dow,c=e._locale._week.doy,m=pl(pt(),u,c),r=Bs(t.gg,e._a[cn],m.year),i=Bs(t.w,m.week),t.d!=null?(o=t.d,(o<0||o>6)&&(p=!0)):t.e!=null?(o=t.e+u,(t.e<0||t.e>6)&&(p=!0)):o=u),i<1||i>va(r,u,c)?He(e)._overflowWeeks=!0:p!=null?He(e)._overflowWeekday=!0:(h=mw(r,i,o,u,c),e._a[cn]=h.year,e._dayOfYear=h.dayOfYear)}ge.ISO_8601=function(){};ge.RFC_2822=function(){};function wp(e){if(e._f===ge.ISO_8601){bw(e);return}if(e._f===ge.RFC_2822){_w(e);return}e._a=[],He(e).empty=!0;var t=""+e._i,r,i,o,u,c,h=t.length,p=0,m,y;for(o=nw(e._f,e._locale).match(up)||[],y=o.length,r=0;r0&&He(e).unusedInput.push(c),t=t.slice(t.indexOf(i)+i.length),p+=i.length),Gs[u]?(i?He(e).empty=!1:He(e).unusedTokens.push(u),rD(u,i,e)):e._strict&&!i&&He(e).unusedTokens.push(u);He(e).charsLeftOver=h-p,t.length>0&&He(e).unusedInput.push(t),e._a[Pt]<=12&&He(e).bigHour===!0&&e._a[Pt]>0&&(He(e).bigHour=void 0),He(e).parsedDateParts=e._a.slice(0),He(e).meridiem=e._meridiem,e._a[Pt]=pM(e._locale,e._a[Pt],e._meridiem),m=He(e).era,m!==null&&(e._a[cn]=e._locale.erasConvertYear(m,e._a[cn])),_p(e),bp(e)}function pM(e,t,r){var i;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(i=e.isPM(r),i&&t<12&&(t+=12),!i&&t===12&&(t=0)),t)}function gM(e){var t,r,i,o,u,c,h=!1,p=e._f.length;if(p===0){He(e).invalidFormat=!0,e._d=new Date(NaN);return}for(o=0;othis?this:e:qc()});function xw(e,t){var r,i;if(t.length===1&&vr(t[0])&&(t=t[0]),!t.length)return pt();for(r=t[0],i=1;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function LM(){if(!An(this._isDSTShifted))return this._isDSTShifted;var e={},t;return op(e,this),e=ww(e),e._a?(t=e._isUTC?Br(e._a):pt(e._a),this._isDSTShifted=this.isValid()&&CM(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function YM(){return this.isValid()?!this._isUTC:!1}function HM(){return this.isValid()?this._isUTC:!1}function Tw(){return this.isValid()?this._isUTC&&this._offset===0:!1}var VM=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,BM=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function xr(e,t){var r=e,i=null,o,u,c;return gc(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ba(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(i=VM.exec(e))?(o=i[1]==="-"?-1:1,r={y:0,d:qe(i[jr])*o,h:qe(i[Pt])*o,m:qe(i[gr])*o,s:qe(i[ga])*o,ms:qe(Am(i[Mi]*1e3))*o}):(i=BM.exec(e))?(o=i[1]==="-"?-1:1,r={y:Ci(i[2],o),M:Ci(i[3],o),w:Ci(i[4],o),d:Ci(i[5],o),h:Ci(i[6],o),m:Ci(i[7],o),s:Ci(i[8],o)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(c=$M(pt(r.from),pt(r.to)),r={},r.ms=c.milliseconds,r.M=c.months),u=new tf(r),gc(e)&&et(e,"_locale")&&(u._locale=e._locale),gc(e)&&et(e,"_isValid")&&(u._isValid=e._isValid),u}xr.fn=tf.prototype;xr.invalid=AM;function Ci(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function $b(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function $M(e,t){var r;return e.isValid()&&t.isValid()?(t=xp(t,e),e.isBefore(t)?r=$b(e,t):(r=$b(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Ow(e,t){return function(r,i){var o,u;return i!==null&&!isNaN(+i)&&(tw(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),u=r,r=i,i=u),o=xr(r,i),Aw(this,o,e),this}}function Aw(e,t,r,i){var o=t._milliseconds,u=Am(t._days),c=Am(t._months);e.isValid()&&(i=i??!0,c&&fw(e,hl(e,"Month")+c*r),u&&lw(e,"Date",hl(e,"Date")+u*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&ge.updateOffset(e,u||c))}var FM=Ow(1,"add"),ZM=Ow(-1,"subtract");function Cw(e){return typeof e=="string"||e instanceof String}function PM(e){return br(e)||El(e)||Cw(e)||ba(e)||qM(e)||GM(e)||e===null||e===void 0}function GM(e){var t=zi(e)&&!ip(e),r=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o,u,c=i.length;for(o=0;or.valueOf():r.valueOf()9999?pc(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):$r(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",pc(r,"Z")):pc(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function oR(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,i,o,u;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",u=t+'[")]',this.format(r+i+o+u)}function lR(e){e||(e=this.isUtc()?ge.defaultFormatUtc:ge.defaultFormat);var t=pc(this,e);return this.localeData().postformat(t)}function uR(e,t){return this.isValid()&&(br(e)&&e.isValid()||pt(e).isValid())?xr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function cR(e){return this.from(pt(),e)}function fR(e,t){return this.isValid()&&(br(e)&&e.isValid()||pt(e).isValid())?xr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dR(e){return this.to(pt(),e)}function Dw(e){var t;return e===void 0?this._locale._abbr:(t=xa(e),t!=null&&(this._locale=t),this)}var Mw=ar("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Rw(){return this._locale}var Oc=1e3,qs=60*Oc,Ac=60*qs,Nw=(365*400+97)*24*Ac;function Is(e,t){return(e%t+t)%t}function kw(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Nw:new Date(e,t,r).valueOf()}function zw(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Nw:Date.UTC(e,t,r)}function hR(e){var t,r;if(e=ir(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?zw:kw,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Is(t+(this._isUTC?0:this.utcOffset()*qs),Ac);break;case"minute":t=this._d.valueOf(),t-=Is(t,qs);break;case"second":t=this._d.valueOf(),t-=Is(t,Oc);break}return this._d.setTime(t),ge.updateOffset(this,!0),this}function mR(e){var t,r;if(e=ir(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?zw:kw,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ac-Is(t+(this._isUTC?0:this.utcOffset()*qs),Ac)-1;break;case"minute":t=this._d.valueOf(),t+=qs-Is(t,qs)-1;break;case"second":t=this._d.valueOf(),t+=Oc-Is(t,Oc)-1;break}return this._d.setTime(t),ge.updateOffset(this,!0),this}function pR(){return this._d.valueOf()-(this._offset||0)*6e4}function gR(){return Math.floor(this.valueOf()/1e3)}function yR(){return new Date(this.valueOf())}function vR(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function bR(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function _R(){return this.isValid()?this.toISOString():null}function wR(){return sp(this)}function SR(){return ti({},He(this))}function xR(){return He(this).overflow}function ER(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}De("N",0,0,"eraAbbr");De("NN",0,0,"eraAbbr");De("NNN",0,0,"eraAbbr");De("NNNN",0,0,"eraName");De("NNNNN",0,0,"eraNarrow");De("y",["y",1],"yo","eraYear");De("y",["yy",2],0,"eraYear");De("y",["yyy",3],0,"eraYear");De("y",["yyyy",4],0,"eraYear");be("N",Ep);be("NN",Ep);be("NNN",Ep);be("NNNN",jR);be("NNNNN",UR);ct(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,i){var o=r._locale.erasParse(e,i,r._strict);o?He(r).era=o:He(r).invalidEra=e});be("y",eo);be("yy",eo);be("yyy",eo);be("yyyy",eo);be("yo",LR);ct(["y","yy","yyy","yyyy"],cn);ct(["yo"],function(e,t,r,i){var o;r._locale._eraYearOrdinalRegex&&(o=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[cn]=r._locale.eraYearOrdinalParse(e,o):t[cn]=parseInt(e,10)});function TR(e,t){var r,i,o,u=this._eras||xa("en")._eras;for(r=0,i=u.length;r=0)return u[i]}function AR(e,t){var r=e.since<=e.until?1:-1;return t===void 0?ge(e.since).year():ge(e.since).year()+(t-e.offset)*r}function CR(){var e,t,r,i=this.localeData().eras();for(e=0,t=i.length;eu&&(t=u),ZR.call(this,e,t,r,i,o))}function ZR(e,t,r,i,o){var u=mw(e,t,r,i,o),c=ml(u.year,0,u.dayOfYear);return this.year(c.getUTCFullYear()),this.month(c.getUTCMonth()),this.date(c.getUTCDate()),this}De("Q",0,"Qo","quarter");be("Q",rw);ct("Q",function(e,t){t[pa]=(qe(e)-1)*3});function PR(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}De("D",["DD",2],"Do","date");be("D",gt,to);be("DD",gt,Pn);be("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});ct(["D","DD"],jr);ct("Do",function(e,t){t[jr]=qe(e.match(gt)[0])});var Uw=no("Date",!0);De("DDD",["DDDD",3],"DDDo","dayOfYear");be("DDD",Xc);be("DDDD",aw);ct(["DDD","DDDD"],function(e,t,r){r._dayOfYear=qe(e)});function GR(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}De("m",["mm",2],0,"minute");be("m",gt,hp);be("mm",gt,Pn);ct(["m","mm"],gr);var qR=no("Minutes",!1);De("s",["ss",2],0,"second");be("s",gt,hp);be("ss",gt,Pn);ct(["s","ss"],ga);var IR=no("Seconds",!1);De("S",0,0,function(){return~~(this.millisecond()/100)});De(0,["SS",2],0,function(){return~~(this.millisecond()/10)});De(0,["SSS",3],0,"millisecond");De(0,["SSSS",4],0,function(){return this.millisecond()*10});De(0,["SSSSS",5],0,function(){return this.millisecond()*100});De(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});De(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});De(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});De(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});be("S",Xc,rw);be("SS",Xc,Pn);be("SSS",Xc,aw);var ni,Lw;for(ni="SSSS";ni.length<=9;ni+="S")be(ni,eo);function XR(e,t){t[Mi]=qe(("0."+e)*1e3)}for(ni="S";ni.length<=9;ni+="S")ct(ni,XR);Lw=no("Milliseconds",!1);De("z",0,0,"zoneAbbr");De("zz",0,0,"zoneName");function WR(){return this._isUTC?"UTC":""}function KR(){return this._isUTC?"Coordinated Universal Time":""}var oe=Tl.prototype;oe.add=FM;oe.calendar=WM;oe.clone=KM;oe.diff=aR;oe.endOf=mR;oe.format=lR;oe.from=uR;oe.fromNow=cR;oe.to=fR;oe.toNow=dR;oe.get=oD;oe.invalidAt=xR;oe.isAfter=QM;oe.isBefore=JM;oe.isBetween=eR;oe.isSame=tR;oe.isSameOrAfter=nR;oe.isSameOrBefore=rR;oe.isValid=wR;oe.lang=Mw;oe.locale=Dw;oe.localeData=Rw;oe.max=wM;oe.min=_M;oe.parsingFlags=SR;oe.set=lD;oe.startOf=hR;oe.subtract=ZM;oe.toArray=vR;oe.toObject=bR;oe.toDate=yR;oe.toISOString=sR;oe.inspect=oR;typeof Symbol<"u"&&Symbol.for!=null&&(oe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});oe.toJSON=_R;oe.toString=iR;oe.unix=gR;oe.valueOf=pR;oe.creationData=ER;oe.eraName=CR;oe.eraNarrow=DR;oe.eraAbbr=MR;oe.eraYear=RR;oe.year=ow;oe.isLeapYear=sD;oe.weekYear=YR;oe.isoWeekYear=HR;oe.quarter=oe.quarters=PR;oe.month=dw;oe.daysInMonth=yD;oe.week=oe.weeks=TD;oe.isoWeek=oe.isoWeeks=OD;oe.weeksInYear=$R;oe.weeksInWeekYear=FR;oe.isoWeeksInYear=VR;oe.isoWeeksInISOWeekYear=BR;oe.date=Uw;oe.day=oe.days=HD;oe.weekday=VD;oe.isoWeekday=BD;oe.dayOfYear=GR;oe.hour=oe.hours=ID;oe.minute=oe.minutes=qR;oe.second=oe.seconds=IR;oe.millisecond=oe.milliseconds=Lw;oe.utcOffset=MM;oe.utc=NM;oe.local=kM;oe.parseZone=zM;oe.hasAlignedHourOffset=jM;oe.isDST=UM;oe.isLocal=YM;oe.isUtcOffset=HM;oe.isUtc=Tw;oe.isUTC=Tw;oe.zoneAbbr=WR;oe.zoneName=KR;oe.dates=ar("dates accessor is deprecated. Use date instead.",Uw);oe.months=ar("months accessor is deprecated. Use month instead",dw);oe.years=ar("years accessor is deprecated. Use year instead",ow);oe.zone=ar("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",RM);oe.isDSTShifted=ar("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",LM);function QR(e){return pt(e*1e3)}function JR(){return pt.apply(null,arguments).parseZone()}function Yw(e){return e}var tt=lp.prototype;tt.calendar=YC;tt.longDateFormat=$C;tt.invalidDate=ZC;tt.ordinal=qC;tt.preparse=Yw;tt.postformat=Yw;tt.relativeTime=XC;tt.pastFuture=WC;tt.set=UC;tt.eras=TR;tt.erasParse=OR;tt.erasConvertYear=AR;tt.erasAbbrRegex=kR;tt.erasNameRegex=NR;tt.erasNarrowRegex=zR;tt.months=hD;tt.monthsShort=mD;tt.monthsParse=gD;tt.monthsRegex=bD;tt.monthsShortRegex=vD;tt.week=wD;tt.firstDayOfYear=ED;tt.firstDayOfWeek=xD;tt.weekdays=zD;tt.weekdaysMin=UD;tt.weekdaysShort=jD;tt.weekdaysParse=YD;tt.weekdaysRegex=$D;tt.weekdaysShortRegex=FD;tt.weekdaysMinRegex=ZD;tt.isPM=GD;tt.meridiem=XD;function Cc(e,t,r,i){var o=xa(),u=Br().set(i,t);return o[r](u,e)}function Hw(e,t,r){if(ba(e)&&(t=e,e=void 0),e=e||"",t!=null)return Cc(e,t,r,"month");var i,o=[];for(i=0;i<12;i++)o[i]=Cc(e,i,r,"month");return o}function Op(e,t,r,i){typeof e=="boolean"?(ba(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ba(t)&&(r=t,t=void 0),t=t||"");var o=xa(),u=e?o._week.dow:0,c,h=[];if(r!=null)return Cc(t,(r+u)%7,i,"day");for(c=0;c<7;c++)h[c]=Cc(t,(c+u)%7,i,"day");return h}function eN(e,t){return Hw(e,t,"months")}function tN(e,t){return Hw(e,t,"monthsShort")}function nN(e,t,r){return Op(e,t,r,"weekdays")}function rN(e,t,r){return Op(e,t,r,"weekdaysShort")}function aN(e,t,r){return Op(e,t,r,"weekdaysMin")}ri("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=qe(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});ge.lang=ar("moment.lang is deprecated. Use moment.locale instead.",ri);ge.langData=ar("moment.langData is deprecated. Use moment.localeData instead.",xa);var ca=Math.abs;function iN(){var e=this._data;return this._milliseconds=ca(this._milliseconds),this._days=ca(this._days),this._months=ca(this._months),e.milliseconds=ca(e.milliseconds),e.seconds=ca(e.seconds),e.minutes=ca(e.minutes),e.hours=ca(e.hours),e.months=ca(e.months),e.years=ca(e.years),this}function Vw(e,t,r,i){var o=xr(t,r);return e._milliseconds+=i*o._milliseconds,e._days+=i*o._days,e._months+=i*o._months,e._bubble()}function sN(e,t){return Vw(this,e,t,1)}function oN(e,t){return Vw(this,e,t,-1)}function Fb(e){return e<0?Math.floor(e):Math.ceil(e)}function lN(){var e=this._milliseconds,t=this._days,r=this._months,i=this._data,o,u,c,h,p;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Fb(Dm(r)+t)*864e5,t=0,r=0),i.milliseconds=e%1e3,o=nr(e/1e3),i.seconds=o%60,u=nr(o/60),i.minutes=u%60,c=nr(u/60),i.hours=c%24,t+=nr(c/24),p=nr(Bw(t)),r+=p,t-=Fb(Dm(p)),h=nr(r/12),r%=12,i.days=t,i.months=r,i.years=h,this}function Bw(e){return e*4800/146097}function Dm(e){return e*146097/4800}function uN(e){if(!this.isValid())return NaN;var t,r,i=this._milliseconds;if(e=ir(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+i/864e5,r=this._months+Bw(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Dm(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return t*24+i/36e5;case"minute":return t*1440+i/6e4;case"second":return t*86400+i/1e3;case"millisecond":return Math.floor(t*864e5)+i;default:throw new Error("Unknown unit "+e)}}function Ea(e){return function(){return this.as(e)}}var $w=Ea("ms"),cN=Ea("s"),fN=Ea("m"),dN=Ea("h"),hN=Ea("d"),mN=Ea("w"),pN=Ea("M"),gN=Ea("Q"),yN=Ea("y"),vN=$w;function bN(){return xr(this)}function _N(e){return e=ir(e),this.isValid()?this[e+"s"]():NaN}function $i(e){return function(){return this.isValid()?this._data[e]:NaN}}var wN=$i("milliseconds"),SN=$i("seconds"),xN=$i("minutes"),EN=$i("hours"),TN=$i("days"),ON=$i("months"),AN=$i("years");function CN(){return nr(this.days()/7)}var ha=Math.round,Fs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function DN(e,t,r,i,o){return o.relativeTime(t||1,!!r,e,i)}function MN(e,t,r,i){var o=xr(e).abs(),u=ha(o.as("s")),c=ha(o.as("m")),h=ha(o.as("h")),p=ha(o.as("d")),m=ha(o.as("M")),y=ha(o.as("w")),g=ha(o.as("y")),b=u<=r.ss&&["s",u]||u0,b[4]=i,DN.apply(null,b)}function RN(e){return e===void 0?ha:typeof e=="function"?(ha=e,!0):!1}function NN(e,t){return Fs[e]===void 0?!1:t===void 0?Fs[e]:(Fs[e]=t,e==="s"&&(Fs.ss=t-1),!0)}function kN(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,i=Fs,o,u;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(i=Object.assign({},Fs,t),t.s!=null&&t.ss==null&&(i.ss=t.s-1)),o=this.localeData(),u=MN(this,!r,i,o),r&&(u=o.pastFuture(+this,u)),o.postformat(u)}var nm=Math.abs;function Ys(e){return(e>0)-(e<0)||+e}function rf(){if(!this.isValid())return this.localeData().invalidDate();var e=nm(this._milliseconds)/1e3,t=nm(this._days),r=nm(this._months),i,o,u,c,h=this.asSeconds(),p,m,y,g;return h?(i=nr(e/60),o=nr(i/60),e%=60,i%=60,u=nr(r/12),r%=12,c=e?e.toFixed(3).replace(/\.?0+$/,""):"",p=h<0?"-":"",m=Ys(this._months)!==Ys(h)?"-":"",y=Ys(this._days)!==Ys(h)?"-":"",g=Ys(this._milliseconds)!==Ys(h)?"-":"",p+"P"+(u?m+u+"Y":"")+(r?m+r+"M":"")+(t?y+t+"D":"")+(o||i||e?"T":"")+(o?g+o+"H":"")+(i?g+i+"M":"")+(e?g+c+"S":"")):"P0D"}var Ke=tf.prototype;Ke.isValid=OM;Ke.abs=iN;Ke.add=sN;Ke.subtract=oN;Ke.as=uN;Ke.asMilliseconds=$w;Ke.asSeconds=cN;Ke.asMinutes=fN;Ke.asHours=dN;Ke.asDays=hN;Ke.asWeeks=mN;Ke.asMonths=pN;Ke.asQuarters=gN;Ke.asYears=yN;Ke.valueOf=vN;Ke._bubble=lN;Ke.clone=bN;Ke.get=_N;Ke.milliseconds=wN;Ke.seconds=SN;Ke.minutes=xN;Ke.hours=EN;Ke.days=TN;Ke.weeks=CN;Ke.months=ON;Ke.years=AN;Ke.humanize=kN;Ke.toISOString=rf;Ke.toString=rf;Ke.toJSON=rf;Ke.locale=Dw;Ke.localeData=Rw;Ke.toIsoString=ar("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rf);Ke.lang=Mw;De("X",0,0,"unix");De("x",0,0,"valueOf");be("x",Kc);be("X",eD);ct("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});ct("x",function(e,t,r){r._d=new Date(qe(e))});ge.version="2.30.1";zC(pt);ge.fn=oe;ge.min=SM;ge.max=xM;ge.now=EM;ge.utc=Br;ge.unix=QR;ge.months=eN;ge.isDate=El;ge.locale=ri;ge.invalid=qc;ge.duration=xr;ge.isMoment=br;ge.weekdays=nN;ge.parseZone=JR;ge.localeData=xa;ge.isDuration=gc;ge.monthsShort=tN;ge.weekdaysMin=aN;ge.defineLocale=vp;ge.updateLocale=JD;ge.locales=eM;ge.weekdaysShort=rN;ge.normalizeUnits=ir;ge.relativeTimeRounding=RN;ge.relativeTimeThreshold=NN;ge.calendarFormat=XM;ge.prototype=oe;ge.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const zN=(e,t)=>{const r=new Array(e.length+t.length);for(let i=0;i({classGroupId:e,validator:t}),Fw=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Dc="-",Zb=[],UN="arbitrary..",LN=e=>{const t=HN(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return YN(c);const h=c.split(Dc),p=h[0]===""&&h.length>1?1:0;return Zw(h,p,t)},getConflictingClassGroupIds:(c,h)=>{if(h){const p=i[c],m=r[c];return p?m?zN(m,p):p:m||Zb}return r[c]||Zb}}},Zw=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],u=r.nextPart.get(o);if(u){const m=Zw(e,t+1,u);if(m)return m}const c=r.validators;if(c===null)return;const h=t===0?e.join(Dc):e.slice(t).join(Dc),p=c.length;for(let m=0;me.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),i=t.slice(0,r);return i?UN+i:void 0})(),HN=e=>{const{theme:t,classGroups:r}=e;return VN(r,t)},VN=(e,t)=>{const r=Fw();for(const i in e){const o=e[i];Ap(o,r,i,t)}return r},Ap=(e,t,r,i)=>{const o=e.length;for(let u=0;u{if(typeof e=="string"){$N(e,t,r);return}if(typeof e=="function"){FN(e,t,r,i);return}ZN(e,t,r,i)},$N=(e,t,r)=>{const i=e===""?t:Pw(t,e);i.classGroupId=r},FN=(e,t,r,i)=>{if(PN(e)){Ap(e(i),t,r,i);return}t.validators===null&&(t.validators=[]),t.validators.push(jN(r,e))},ZN=(e,t,r,i)=>{const o=Object.entries(e),u=o.length;for(let c=0;c{let r=e;const i=t.split(Dc),o=i.length;for(let u=0;u"isThemeGetter"in e&&e.isThemeGetter===!0,GN=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),i=Object.create(null);const o=(u,c)=>{r[u]=c,t++,t>e&&(t=0,i=r,r=Object.create(null))};return{get(u){let c=r[u];if(c!==void 0)return c;if((c=i[u])!==void 0)return o(u,c),c},set(u,c){u in r?r[u]=c:o(u,c)}}},Mm="!",Pb=":",qN=[],Gb=(e,t,r,i,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:i,isExternal:o}),IN=e=>{const{prefix:t,experimentalParseClassName:r}=e;let i=o=>{const u=[];let c=0,h=0,p=0,m;const y=o.length;for(let E=0;Ep?m-p:void 0;return Gb(u,T,b,x)};if(t){const o=t+Pb,u=i;i=c=>c.startsWith(o)?u(c.slice(o.length)):Gb(qN,!1,c,void 0,!0)}if(r){const o=i;i=u=>r({className:u,parseClassName:o})}return i},XN=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,i)=>{t.set(r,1e6+i)}),r=>{const i=[];let o=[];for(let u=0;u0&&(o.sort(),i.push(...o),o=[]),i.push(c)):o.push(c)}return o.length>0&&(o.sort(),i.push(...o)),i}},WN=e=>({cache:GN(e.cacheSize),parseClassName:IN(e),sortModifiers:XN(e),...LN(e)}),KN=/\s+/,QN=(e,t)=>{const{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:u}=t,c=[],h=e.trim().split(KN);let p="";for(let m=h.length-1;m>=0;m-=1){const y=h[m],{isExternal:g,modifiers:b,hasImportantModifier:T,baseClassName:x,maybePostfixModifierPosition:E}=r(y);if(g){p=y+(p.length>0?" "+p:p);continue}let O=!!E,D=i(O?x.substring(0,E):x);if(!D){if(!O){p=y+(p.length>0?" "+p:p);continue}if(D=i(x),!D){p=y+(p.length>0?" "+p:p);continue}O=!1}const U=b.length===0?"":b.length===1?b[0]:u(b).join(":"),j=T?U+Mm:U,k=j+D;if(c.indexOf(k)>-1)continue;c.push(k);const Y=o(D,O);for(let J=0;J0?" "+p:p)}return p},JN=(...e)=>{let t=0,r,i,o="";for(;t{if(typeof e=="string")return e;let t,r="";for(let i=0;i{let r,i,o,u;const c=p=>{const m=t.reduce((y,g)=>g(y),e());return r=WN(m),i=r.cache.get,o=r.cache.set,u=h,h(p)},h=p=>{const m=i(p);if(m)return m;const y=QN(p,r);return o(p,y),y};return u=c,(...p)=>u(JN(...p))},tk=[],Ft=e=>{const t=r=>r[e]||tk;return t.isThemeGetter=!0,t},qw=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Iw=/^\((?:(\w[\w-]*):)?(.+)\)$/i,nk=/^\d+\/\d+$/,rk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ak=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ik=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,sk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ok=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Hs=e=>nk.test(e),$e=e=>!!e&&!Number.isNaN(Number(e)),Ja=e=>!!e&&Number.isInteger(Number(e)),rm=e=>e.endsWith("%")&&$e(e.slice(0,-1)),fa=e=>rk.test(e),lk=()=>!0,uk=e=>ak.test(e)&&!ik.test(e),Xw=()=>!1,ck=e=>sk.test(e),fk=e=>ok.test(e),dk=e=>!xe(e)&&!Ee(e),hk=e=>ro(e,Qw,Xw),xe=e=>qw.test(e),Di=e=>ro(e,Jw,uk),am=e=>ro(e,vk,$e),qb=e=>ro(e,Ww,Xw),mk=e=>ro(e,Kw,fk),nc=e=>ro(e,eS,ck),Ee=e=>Iw.test(e),il=e=>ao(e,Jw),pk=e=>ao(e,bk),Ib=e=>ao(e,Ww),gk=e=>ao(e,Qw),yk=e=>ao(e,Kw),rc=e=>ao(e,eS,!0),ro=(e,t,r)=>{const i=qw.exec(e);return i?i[1]?t(i[1]):r(i[2]):!1},ao=(e,t,r=!1)=>{const i=Iw.exec(e);return i?i[1]?t(i[1]):r:!1},Ww=e=>e==="position"||e==="percentage",Kw=e=>e==="image"||e==="url",Qw=e=>e==="length"||e==="size"||e==="bg-size",Jw=e=>e==="length",vk=e=>e==="number",bk=e=>e==="family-name",eS=e=>e==="shadow",_k=()=>{const e=Ft("color"),t=Ft("font"),r=Ft("text"),i=Ft("font-weight"),o=Ft("tracking"),u=Ft("leading"),c=Ft("breakpoint"),h=Ft("container"),p=Ft("spacing"),m=Ft("radius"),y=Ft("shadow"),g=Ft("inset-shadow"),b=Ft("text-shadow"),T=Ft("drop-shadow"),x=Ft("blur"),E=Ft("perspective"),O=Ft("aspect"),D=Ft("ease"),U=Ft("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],Y=()=>[...k(),Ee,xe],J=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],Q=()=>[Ee,xe,p],he=()=>[Hs,"full","auto",...Q()],_e=()=>[Ja,"none","subgrid",Ee,xe],we=()=>["auto",{span:["full",Ja,Ee,xe]},Ja,Ee,xe],ie=()=>[Ja,"auto",Ee,xe],ue=()=>["auto","min","max","fr",Ee,xe],fe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ye=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...Q()],I=()=>[Hs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Q()],L=()=>[e,Ee,xe],re=()=>[...k(),Ib,qb,{position:[Ee,xe]}],ve=()=>["no-repeat",{repeat:["","x","y","space","round"]}],A=()=>["auto","cover","contain",gk,hk,{size:[Ee,xe]}],q=()=>[rm,il,Di],X=()=>["","none","full",m,Ee,xe],ne=()=>["",$e,il,Di],ce=()=>["solid","dashed","dotted","double"],Te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>[$e,rm,Ib,qb],Me=()=>["","none",x,Ee,xe],Be=()=>["none",$e,Ee,xe],Ct=()=>["none",$e,Ee,xe],Qt=()=>[$e,Ee,xe],kt=()=>[Hs,"full",...Q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fa],breakpoint:[fa],color:[lk],container:[fa],"drop-shadow":[fa],ease:["in","out","in-out"],font:[dk],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[fa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[fa],shadow:[fa],spacing:["px",$e],text:[fa],"text-shadow":[fa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Hs,xe,Ee,O]}],container:["container"],columns:[{columns:[$e,xe,Ee,h]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:Y()}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:he()}],"inset-x":[{"inset-x":he()}],"inset-y":[{"inset-y":he()}],start:[{start:he()}],end:[{end:he()}],top:[{top:he()}],right:[{right:he()}],bottom:[{bottom:he()}],left:[{left:he()}],visibility:["visible","invisible","collapse"],z:[{z:[Ja,"auto",Ee,xe]}],basis:[{basis:[Hs,"full","auto",h,...Q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[$e,Hs,"auto","initial","none",xe]}],grow:[{grow:["",$e,Ee,xe]}],shrink:[{shrink:["",$e,Ee,xe]}],order:[{order:[Ja,"first","last","none",Ee,xe]}],"grid-cols":[{"grid-cols":_e()}],"col-start-end":[{col:we()}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":_e()}],"row-start-end":[{row:we()}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ue()}],"auto-rows":[{"auto-rows":ue()}],gap:[{gap:Q()}],"gap-x":[{"gap-x":Q()}],"gap-y":[{"gap-y":Q()}],"justify-content":[{justify:[...fe(),"normal"]}],"justify-items":[{"justify-items":[...ye(),"normal"]}],"justify-self":[{"justify-self":["auto",...ye()]}],"align-content":[{content:["normal",...fe()]}],"align-items":[{items:[...ye(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ye(),{baseline:["","last"]}]}],"place-content":[{"place-content":fe()}],"place-items":[{"place-items":[...ye(),"baseline"]}],"place-self":[{"place-self":["auto",...ye()]}],p:[{p:Q()}],px:[{px:Q()}],py:[{py:Q()}],ps:[{ps:Q()}],pe:[{pe:Q()}],pt:[{pt:Q()}],pr:[{pr:Q()}],pb:[{pb:Q()}],pl:[{pl:Q()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":Q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Q()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],w:[{w:[h,"screen",...I()]}],"min-w":[{"min-w":[h,"screen","none",...I()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[c]},...I()]}],h:[{h:["screen","lh",...I()]}],"min-h":[{"min-h":["screen","lh","none",...I()]}],"max-h":[{"max-h":["screen","lh",...I()]}],"font-size":[{text:["base",r,il,Di]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,Ee,am]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",rm,xe]}],"font-family":[{font:[pk,xe,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Ee,xe]}],"line-clamp":[{"line-clamp":[$e,"none",Ee,am]}],leading:[{leading:[u,...Q()]}],"list-image":[{"list-image":["none",Ee,xe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ee,xe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:L()}],"text-color":[{text:L()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[$e,"from-font","auto",Ee,Di]}],"text-decoration-color":[{decoration:L()}],"underline-offset":[{"underline-offset":[$e,"auto",Ee,xe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ee,xe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ee,xe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:re()}],"bg-repeat":[{bg:ve()}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ja,Ee,xe],radial:["",Ee,xe],conic:[Ja,Ee,xe]},yk,mk]}],"bg-color":[{bg:L()}],"gradient-from-pos":[{from:q()}],"gradient-via-pos":[{via:q()}],"gradient-to-pos":[{to:q()}],"gradient-from":[{from:L()}],"gradient-via":[{via:L()}],"gradient-to":[{to:L()}],rounded:[{rounded:X()}],"rounded-s":[{"rounded-s":X()}],"rounded-e":[{"rounded-e":X()}],"rounded-t":[{"rounded-t":X()}],"rounded-r":[{"rounded-r":X()}],"rounded-b":[{"rounded-b":X()}],"rounded-l":[{"rounded-l":X()}],"rounded-ss":[{"rounded-ss":X()}],"rounded-se":[{"rounded-se":X()}],"rounded-ee":[{"rounded-ee":X()}],"rounded-es":[{"rounded-es":X()}],"rounded-tl":[{"rounded-tl":X()}],"rounded-tr":[{"rounded-tr":X()}],"rounded-br":[{"rounded-br":X()}],"rounded-bl":[{"rounded-bl":X()}],"border-w":[{border:ne()}],"border-w-x":[{"border-x":ne()}],"border-w-y":[{"border-y":ne()}],"border-w-s":[{"border-s":ne()}],"border-w-e":[{"border-e":ne()}],"border-w-t":[{"border-t":ne()}],"border-w-r":[{"border-r":ne()}],"border-w-b":[{"border-b":ne()}],"border-w-l":[{"border-l":ne()}],"divide-x":[{"divide-x":ne()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ne()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ce(),"hidden","none"]}],"divide-style":[{divide:[...ce(),"hidden","none"]}],"border-color":[{border:L()}],"border-color-x":[{"border-x":L()}],"border-color-y":[{"border-y":L()}],"border-color-s":[{"border-s":L()}],"border-color-e":[{"border-e":L()}],"border-color-t":[{"border-t":L()}],"border-color-r":[{"border-r":L()}],"border-color-b":[{"border-b":L()}],"border-color-l":[{"border-l":L()}],"divide-color":[{divide:L()}],"outline-style":[{outline:[...ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[$e,Ee,xe]}],"outline-w":[{outline:["",$e,il,Di]}],"outline-color":[{outline:L()}],shadow:[{shadow:["","none",y,rc,nc]}],"shadow-color":[{shadow:L()}],"inset-shadow":[{"inset-shadow":["none",g,rc,nc]}],"inset-shadow-color":[{"inset-shadow":L()}],"ring-w":[{ring:ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:L()}],"ring-offset-w":[{"ring-offset":[$e,Di]}],"ring-offset-color":[{"ring-offset":L()}],"inset-ring-w":[{"inset-ring":ne()}],"inset-ring-color":[{"inset-ring":L()}],"text-shadow":[{"text-shadow":["none",b,rc,nc]}],"text-shadow-color":[{"text-shadow":L()}],opacity:[{opacity:[$e,Ee,xe]}],"mix-blend":[{"mix-blend":[...Te(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Te()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[$e]}],"mask-image-linear-from-pos":[{"mask-linear-from":de()}],"mask-image-linear-to-pos":[{"mask-linear-to":de()}],"mask-image-linear-from-color":[{"mask-linear-from":L()}],"mask-image-linear-to-color":[{"mask-linear-to":L()}],"mask-image-t-from-pos":[{"mask-t-from":de()}],"mask-image-t-to-pos":[{"mask-t-to":de()}],"mask-image-t-from-color":[{"mask-t-from":L()}],"mask-image-t-to-color":[{"mask-t-to":L()}],"mask-image-r-from-pos":[{"mask-r-from":de()}],"mask-image-r-to-pos":[{"mask-r-to":de()}],"mask-image-r-from-color":[{"mask-r-from":L()}],"mask-image-r-to-color":[{"mask-r-to":L()}],"mask-image-b-from-pos":[{"mask-b-from":de()}],"mask-image-b-to-pos":[{"mask-b-to":de()}],"mask-image-b-from-color":[{"mask-b-from":L()}],"mask-image-b-to-color":[{"mask-b-to":L()}],"mask-image-l-from-pos":[{"mask-l-from":de()}],"mask-image-l-to-pos":[{"mask-l-to":de()}],"mask-image-l-from-color":[{"mask-l-from":L()}],"mask-image-l-to-color":[{"mask-l-to":L()}],"mask-image-x-from-pos":[{"mask-x-from":de()}],"mask-image-x-to-pos":[{"mask-x-to":de()}],"mask-image-x-from-color":[{"mask-x-from":L()}],"mask-image-x-to-color":[{"mask-x-to":L()}],"mask-image-y-from-pos":[{"mask-y-from":de()}],"mask-image-y-to-pos":[{"mask-y-to":de()}],"mask-image-y-from-color":[{"mask-y-from":L()}],"mask-image-y-to-color":[{"mask-y-to":L()}],"mask-image-radial":[{"mask-radial":[Ee,xe]}],"mask-image-radial-from-pos":[{"mask-radial-from":de()}],"mask-image-radial-to-pos":[{"mask-radial-to":de()}],"mask-image-radial-from-color":[{"mask-radial-from":L()}],"mask-image-radial-to-color":[{"mask-radial-to":L()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[$e]}],"mask-image-conic-from-pos":[{"mask-conic-from":de()}],"mask-image-conic-to-pos":[{"mask-conic-to":de()}],"mask-image-conic-from-color":[{"mask-conic-from":L()}],"mask-image-conic-to-color":[{"mask-conic-to":L()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:re()}],"mask-repeat":[{mask:ve()}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ee,xe]}],filter:[{filter:["","none",Ee,xe]}],blur:[{blur:Me()}],brightness:[{brightness:[$e,Ee,xe]}],contrast:[{contrast:[$e,Ee,xe]}],"drop-shadow":[{"drop-shadow":["","none",T,rc,nc]}],"drop-shadow-color":[{"drop-shadow":L()}],grayscale:[{grayscale:["",$e,Ee,xe]}],"hue-rotate":[{"hue-rotate":[$e,Ee,xe]}],invert:[{invert:["",$e,Ee,xe]}],saturate:[{saturate:[$e,Ee,xe]}],sepia:[{sepia:["",$e,Ee,xe]}],"backdrop-filter":[{"backdrop-filter":["","none",Ee,xe]}],"backdrop-blur":[{"backdrop-blur":Me()}],"backdrop-brightness":[{"backdrop-brightness":[$e,Ee,xe]}],"backdrop-contrast":[{"backdrop-contrast":[$e,Ee,xe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",$e,Ee,xe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[$e,Ee,xe]}],"backdrop-invert":[{"backdrop-invert":["",$e,Ee,xe]}],"backdrop-opacity":[{"backdrop-opacity":[$e,Ee,xe]}],"backdrop-saturate":[{"backdrop-saturate":[$e,Ee,xe]}],"backdrop-sepia":[{"backdrop-sepia":["",$e,Ee,xe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Q()}],"border-spacing-x":[{"border-spacing-x":Q()}],"border-spacing-y":[{"border-spacing-y":Q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ee,xe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[$e,"initial",Ee,xe]}],ease:[{ease:["linear","initial",D,Ee,xe]}],delay:[{delay:[$e,Ee,xe]}],animate:[{animate:["none",U,Ee,xe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,Ee,xe]}],"perspective-origin":[{"perspective-origin":Y()}],rotate:[{rotate:Be()}],"rotate-x":[{"rotate-x":Be()}],"rotate-y":[{"rotate-y":Be()}],"rotate-z":[{"rotate-z":Be()}],scale:[{scale:Ct()}],"scale-x":[{"scale-x":Ct()}],"scale-y":[{"scale-y":Ct()}],"scale-z":[{"scale-z":Ct()}],"scale-3d":["scale-3d"],skew:[{skew:Qt()}],"skew-x":[{"skew-x":Qt()}],"skew-y":[{"skew-y":Qt()}],transform:[{transform:[Ee,xe,"","none","gpu","cpu"]}],"transform-origin":[{origin:Y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:kt()}],"translate-x":[{"translate-x":kt()}],"translate-y":[{"translate-y":kt()}],"translate-z":[{"translate-z":kt()}],"translate-none":["translate-none"],accent:[{accent:L()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:L()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ee,xe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Q()}],"scroll-mx":[{"scroll-mx":Q()}],"scroll-my":[{"scroll-my":Q()}],"scroll-ms":[{"scroll-ms":Q()}],"scroll-me":[{"scroll-me":Q()}],"scroll-mt":[{"scroll-mt":Q()}],"scroll-mr":[{"scroll-mr":Q()}],"scroll-mb":[{"scroll-mb":Q()}],"scroll-ml":[{"scroll-ml":Q()}],"scroll-p":[{"scroll-p":Q()}],"scroll-px":[{"scroll-px":Q()}],"scroll-py":[{"scroll-py":Q()}],"scroll-ps":[{"scroll-ps":Q()}],"scroll-pe":[{"scroll-pe":Q()}],"scroll-pt":[{"scroll-pt":Q()}],"scroll-pr":[{"scroll-pr":Q()}],"scroll-pb":[{"scroll-pb":Q()}],"scroll-pl":[{"scroll-pl":Q()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ee,xe]}],fill:[{fill:["none",...L()]}],"stroke-w":[{stroke:[$e,il,Di,am]}],stroke:[{stroke:["none",...L()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},wk=ek(_k);function rt(...e){return wk(K_(e))}const tS=e=>ge(e).format("DD/MM/YYYY HH:mm:ss");function Rm(e,t){if(!e.current||!t.current)return;const r=t.current,i=e.current,o=r.getContext("2d");return new Promise((u,c)=>{try{r.width=i.videoWidth,r.height=i.videoHeight,o.drawImage(i,0,0,r.width,r.height),r.toBlob(h=>{if(!h){c("Không thể tạo blob từ canvas");return}u(h)},"image/jpeg",.95)}catch(h){c(h)}})}function Cp(e){const t=Ve.c(4);let r;t[0]!==e?({...r}=e,t[0]=e,t[1]=r):r=t[1];let i;return t[2]!==r?(i=w.jsx(BA,{"data-slot":"dialog",...r}),t[2]=r,t[3]=i):i=t[3],i}function nS(e){const t=Ve.c(4);let r;t[0]!==e?({...r}=e,t[0]=e,t[1]=r):r=t[1];let i;return t[2]!==r?(i=w.jsx($A,{"data-slot":"dialog-trigger",...r}),t[2]=r,t[3]=i):i=t[3],i}function Sk(e){const t=Ve.c(4);let r;t[0]!==e?({...r}=e,t[0]=e,t[1]=r):r=t[1];let i;return t[2]!==r?(i=w.jsx(FA,{"data-slot":"dialog-portal",...r}),t[2]=r,t[3]=i):i=t[3],i}function xk(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(ZA,{"data-slot":"dialog-overlay",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}function Dp(e){const t=Ve.c(15);let r,i,o,u;t[0]!==e?({className:i,children:r,showCloseButton:u,...o}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=o,t[4]=u):(r=t[1],i=t[2],o=t[3],u=t[4]);const c=u===void 0?!0:u;let h;t[5]===Symbol.for("react.memo_cache_sentinel")?(h=w.jsx(xk,{}),t[5]=h):h=t[5];let p;t[6]!==i?(p=rt("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",i),t[6]=i,t[7]=p):p=t[7];let m;t[8]!==c?(m=c&&w.jsxs(IA,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[w.jsx(kC,{}),w.jsx("span",{className:"sr-only",children:"Close"})]}),t[8]=c,t[9]=m):m=t[9];let y;return t[10]!==r||t[11]!==o||t[12]!==p||t[13]!==m?(y=w.jsxs(Sk,{"data-slot":"dialog-portal",children:[h,w.jsxs(PA,{"data-slot":"dialog-content",className:p,...o,children:[r,m]})]}),t[10]=r,t[11]=o,t[12]=p,t[13]=m,t[14]=y):y=t[14],y}function Mp(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("flex flex-col gap-2 text-center sm:text-left",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx("div",{"data-slot":"dialog-header",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}function Ek(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx("div",{"data-slot":"dialog-footer",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}function Rp(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("text-lg leading-none font-semibold",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(GA,{"data-slot":"dialog-title",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}function Np(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("text-muted-foreground text-sm",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(qA,{"data-slot":"dialog-description",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}var Tk=Symbol.for("react.lazy"),Mc=Xm[" use ".trim().toString()];function Ok(e){return typeof e=="object"&&e!==null&&"then"in e}function rS(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Tk&&"_payload"in e&&Ok(e._payload)}function kp(e){const t=Ak(e),r=_.forwardRef((i,o)=>{let{children:u,...c}=i;rS(u)&&typeof Mc=="function"&&(u=Mc(u._payload));const h=_.Children.toArray(u),p=h.find(Dk);if(p){const m=p.props.children,y=h.map(g=>g===p?_.Children.count(m)>1?_.Children.only(null):_.isValidElement(m)?m.props.children:null:g);return w.jsx(t,{...c,ref:o,children:_.isValidElement(m)?_.cloneElement(m,void 0,y):null})}return w.jsx(t,{...c,ref:o,children:u})});return r.displayName=`${e}.Slot`,r}var zp=kp("Slot");function Ak(e){const t=_.forwardRef((r,i)=>{let{children:o,...u}=r;if(rS(o)&&typeof Mc=="function"&&(o=Mc(o._payload)),_.isValidElement(o)){const c=Rk(o),h=Mk(u,o.props);return o.type!==_.Fragment&&(h.ref=i?oi(i,c):c),_.cloneElement(o,h)}return _.Children.count(o)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ck=Symbol("radix.slottable");function Dk(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ck}function Mk(e,t){const r={...t};for(const i in t){const o=e[i],u=t[i];/^on[A-Z]/.test(i)?o&&u?r[i]=(...h)=>{const p=u(...h);return o(...h),p}:o&&(r[i]=o):i==="style"?r[i]={...o,...u}:i==="className"&&(r[i]=[o,u].filter(Boolean).join(" "))}return{...e,...r}}function Rk(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const Xb=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Wb=K_,aS=(e,t)=>r=>{var i;if(t?.variants==null)return Wb(e,r?.class,r?.className);const{variants:o,defaultVariants:u}=t,c=Object.keys(o).map(m=>{const y=r?.[m],g=u?.[m];if(y===null)return null;const b=Xb(y)||Xb(g);return o[m][b]}),h=r&&Object.entries(r).reduce((m,y)=>{let[g,b]=y;return b===void 0||(m[g]=b),m},{}),p=t==null||(i=t.compoundVariants)===null||i===void 0?void 0:i.reduce((m,y)=>{let{class:g,className:b,...T}=y;return Object.entries(T).every(x=>{let[E,O]=x;return Array.isArray(O)?O.includes({...u,...h}[E]):{...u,...h}[E]===O})?[...m,g,b]:m},[]);return Wb(e,c,p,r?.class,r?.className)},Nk=aS("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function hn(e){const t=Ve.c(14);let r,i,o,u,c;t[0]!==e?({className:r,variant:c,size:o,asChild:u,...i}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=o,t[4]=u,t[5]=c):(r=t[1],i=t[2],o=t[3],u=t[4],c=t[5]);const p=(u===void 0?!1:u)?zp:"button";let m;t[6]!==r||t[7]!==o||t[8]!==c?(m=rt(Nk({variant:c,size:o,className:r})),t[6]=r,t[7]=o,t[8]=c,t[9]=m):m=t[9];let y;return t[10]!==p||t[11]!==i||t[12]!==m?(y=w.jsx(p,{"data-slot":"button",className:m,...i}),t[10]=p,t[11]=i,t[12]=m,t[13]=y):y=t[13],y}const iS=_.createContext(void 0);function kk(e){const t=Ve.c(40),{children:r}=e,[i,o]=_.useState(!1);let u;t[0]===Symbol.for("react.memo_cache_sentinel")?(u={message:"",variant:"default"},t[0]=u):u=t[0];const[c,h]=_.useState(u),[p,m]=_.useState(null);let y;t[1]===Symbol.for("react.memo_cache_sentinel")?(y=ye=>(h({title:ye.title||"Xác nhận",confirmText:ye.confirmText||"Xác nhận",cancelText:ye.cancelText||"Hủy",variant:ye.variant||"default",...ye}),o(!0),new Promise(M=>{m(()=>M)})),t[1]=y):y=t[1];const g=y;let b;t[2]!==p?(b=()=>{o(!1),p?.(!0),m(null)},t[2]=p,t[3]=b):b=t[3];const T=b;let x;t[4]!==p?(x=()=>{o(!1),p?.(!1),m(null)},t[4]=p,t[5]=x):x=t[5];const E=x;let O;t[6]!==c.variant?(O=()=>{switch(c.variant){case"destructive":case"warning":return w.jsx(I_,{className:"h-6 w-6 text-destructive"});case"success":return w.jsx(aC,{className:"h-6 w-6 text-green-600"});default:return w.jsx(q_,{className:"h-6 w-6 text-blue-600"})}},t[6]=c.variant,t[7]=O):O=t[7];const D=O;let U;t[8]===Symbol.for("react.memo_cache_sentinel")?(U={confirm:g},t[8]=U):U=t[8];let j;t[9]!==D?(j=D(),t[9]=D,t[10]=j):j=t[10];let k;t[11]!==c.title?(k=w.jsx(Rp,{className:"text-lg",children:c.title}),t[11]=c.title,t[12]=k):k=t[12];let Y;t[13]!==j||t[14]!==k?(Y=w.jsxs("div",{className:"flex items-center gap-3",children:[j,k]}),t[13]=j,t[14]=k,t[15]=Y):Y=t[15];let J;t[16]!==c.message?(J=w.jsx(Np,{className:"pt-2 text-base",children:c.message}),t[16]=c.message,t[17]=J):J=t[17];let F;t[18]!==J||t[19]!==Y?(F=w.jsxs(Mp,{children:[Y,J]}),t[18]=J,t[19]=Y,t[20]=F):F=t[20];let Q;t[21]!==E||t[22]!==c.cancelText?(Q=w.jsx(hn,{variant:"outline",onClick:E,children:c.cancelText}),t[21]=E,t[22]=c.cancelText,t[23]=Q):Q=t[23];const he=c.variant==="destructive"?"destructive":"default";let _e;t[24]!==T||t[25]!==c.confirmText||t[26]!==he?(_e=w.jsx(hn,{variant:he,onClick:T,children:c.confirmText}),t[24]=T,t[25]=c.confirmText,t[26]=he,t[27]=_e):_e=t[27];let we;t[28]!==Q||t[29]!==_e?(we=w.jsx(Ek,{className:"gap-2 sm:gap-0 flex ",children:w.jsxs("div",{className:"flex items-center gap-2",children:[Q,_e]})}),t[28]=Q,t[29]=_e,t[30]=we):we=t[30];let ie;t[31]!==F||t[32]!==we?(ie=w.jsxs(Dp,{children:[F,we]}),t[31]=F,t[32]=we,t[33]=ie):ie=t[33];let ue;t[34]!==i||t[35]!==ie?(ue=w.jsx(Cp,{open:i,onOpenChange:o,children:ie}),t[34]=i,t[35]=ie,t[36]=ue):ue=t[36];let fe;return t[37]!==r||t[38]!==ue?(fe=w.jsxs(iS.Provider,{value:U,children:[r,ue]}),t[37]=r,t[38]=ue,t[39]=fe):fe=t[39],fe}function zk(){const e=_.useContext(iS);if(!e)throw new Error("useConfirm must be used within ConfirmModalProvider");return e.confirm}function sS(e,t){return function(){return e.apply(t,arguments)}}const{toString:jk}=Object.prototype,{getPrototypeOf:jp}=Object,{iterator:af,toStringTag:oS}=Symbol,sf=(e=>t=>{const r=jk.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Er=e=>(e=e.toLowerCase(),t=>sf(t)===e),of=e=>t=>typeof t===e,{isArray:io}=Array,Ks=of("undefined");function Cl(e){return e!==null&&!Ks(e)&&e.constructor!==null&&!Ks(e.constructor)&&Mn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const lS=Er("ArrayBuffer");function Uk(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&lS(e.buffer),t}const Lk=of("string"),Mn=of("function"),uS=of("number"),Dl=e=>e!==null&&typeof e=="object",Yk=e=>e===!0||e===!1,vc=e=>{if(sf(e)!=="object")return!1;const t=jp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(oS in e)&&!(af in e)},Hk=e=>{if(!Dl(e)||Cl(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Vk=Er("Date"),Bk=Er("File"),$k=Er("Blob"),Fk=Er("FileList"),Zk=e=>Dl(e)&&Mn(e.pipe),Pk=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Mn(e.append)&&((t=sf(e))==="formdata"||t==="object"&&Mn(e.toString)&&e.toString()==="[object FormData]"))},Gk=Er("URLSearchParams"),[qk,Ik,Xk,Wk]=["ReadableStream","Request","Response","Headers"].map(Er),Kk=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ml(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let i,o;if(typeof e!="object"&&(e=[e]),io(e))for(i=0,o=e.length;i0;)if(o=r[i],t===o.toLowerCase())return o;return null}const Ri=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,fS=e=>!Ks(e)&&e!==Ri;function Nm(){const{caseless:e,skipUndefined:t}=fS(this)&&this||{},r={},i=(o,u)=>{const c=e&&cS(r,u)||u;vc(r[c])&&vc(o)?r[c]=Nm(r[c],o):vc(o)?r[c]=Nm({},o):io(o)?r[c]=o.slice():(!t||!Ks(o))&&(r[c]=o)};for(let o=0,u=arguments.length;o(Ml(t,(o,u)=>{r&&Mn(o)?e[u]=sS(o,r):e[u]=o},{allOwnKeys:i}),e),Jk=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),e4=(e,t,r,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},t4=(e,t,r,i)=>{let o,u,c;const h={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),u=o.length;u-- >0;)c=o[u],(!i||i(c,e,t))&&!h[c]&&(t[c]=e[c],h[c]=!0);e=r!==!1&&jp(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},n4=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const i=e.indexOf(t,r);return i!==-1&&i===r},r4=e=>{if(!e)return null;if(io(e))return e;let t=e.length;if(!uS(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},a4=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&jp(Uint8Array)),i4=(e,t)=>{const i=(e&&e[af]).call(e);let o;for(;(o=i.next())&&!o.done;){const u=o.value;t.call(e,u[0],u[1])}},s4=(e,t)=>{let r;const i=[];for(;(r=e.exec(t))!==null;)i.push(r);return i},o4=Er("HTMLFormElement"),l4=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,i,o){return i.toUpperCase()+o}),Kb=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),u4=Er("RegExp"),dS=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),i={};Ml(r,(o,u)=>{let c;(c=t(o,u,e))!==!1&&(i[u]=c||o)}),Object.defineProperties(e,i)},c4=e=>{dS(e,(t,r)=>{if(Mn(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const i=e[r];if(Mn(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},f4=(e,t)=>{const r={},i=o=>{o.forEach(u=>{r[u]=!0})};return io(e)?i(e):i(String(e).split(t)),r},d4=()=>{},h4=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function m4(e){return!!(e&&Mn(e.append)&&e[oS]==="FormData"&&e[af])}const p4=e=>{const t=new Array(10),r=(i,o)=>{if(Dl(i)){if(t.indexOf(i)>=0)return;if(Cl(i))return i;if(!("toJSON"in i)){t[o]=i;const u=io(i)?[]:{};return Ml(i,(c,h)=>{const p=r(c,o+1);!Ks(p)&&(u[h]=p)}),t[o]=void 0,u}}return i};return r(e,0)},g4=Er("AsyncFunction"),y4=e=>e&&(Dl(e)||Mn(e))&&Mn(e.then)&&Mn(e.catch),hS=((e,t)=>e?setImmediate:t?((r,i)=>(Ri.addEventListener("message",({source:o,data:u})=>{o===Ri&&u===r&&i.length&&i.shift()()},!1),o=>{i.push(o),Ri.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Mn(Ri.postMessage)),v4=typeof queueMicrotask<"u"?queueMicrotask.bind(Ri):typeof process<"u"&&process.nextTick||hS,b4=e=>e!=null&&Mn(e[af]),Z={isArray:io,isArrayBuffer:lS,isBuffer:Cl,isFormData:Pk,isArrayBufferView:Uk,isString:Lk,isNumber:uS,isBoolean:Yk,isObject:Dl,isPlainObject:vc,isEmptyObject:Hk,isReadableStream:qk,isRequest:Ik,isResponse:Xk,isHeaders:Wk,isUndefined:Ks,isDate:Vk,isFile:Bk,isBlob:$k,isRegExp:u4,isFunction:Mn,isStream:Zk,isURLSearchParams:Gk,isTypedArray:a4,isFileList:Fk,forEach:Ml,merge:Nm,extend:Qk,trim:Kk,stripBOM:Jk,inherits:e4,toFlatObject:t4,kindOf:sf,kindOfTest:Er,endsWith:n4,toArray:r4,forEachEntry:i4,matchAll:s4,isHTMLForm:o4,hasOwnProperty:Kb,hasOwnProp:Kb,reduceDescriptors:dS,freezeMethods:c4,toObjectSet:f4,toCamelCase:l4,noop:d4,toFiniteNumber:h4,findKey:cS,global:Ri,isContextDefined:fS,isSpecCompliantForm:m4,toJSONObject:p4,isAsyncFn:g4,isThenable:y4,setImmediate:hS,asap:v4,isIterable:b4};function Ue(e,t,r,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}Z.inherits(Ue,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Z.toJSONObject(this.config),code:this.code,status:this.status}}});const mS=Ue.prototype,pS={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{pS[e]={value:e}});Object.defineProperties(Ue,pS);Object.defineProperty(mS,"isAxiosError",{value:!0});Ue.from=(e,t,r,i,o,u)=>{const c=Object.create(mS);Z.toFlatObject(e,c,function(y){return y!==Error.prototype},m=>m!=="isAxiosError");const h=e&&e.message?e.message:"Error",p=t==null&&e?e.code:t;return Ue.call(c,h,p,r,i,o),e&&c.cause==null&&Object.defineProperty(c,"cause",{value:e,configurable:!0}),c.name=e&&e.name||"Error",u&&Object.assign(c,u),c};const _4=null;function km(e){return Z.isPlainObject(e)||Z.isArray(e)}function gS(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function Qb(e,t,r){return e?e.concat(t).map(function(o,u){return o=gS(o),!r&&u?"["+o+"]":o}).join(r?".":""):t}function w4(e){return Z.isArray(e)&&!e.some(km)}const S4=Z.toFlatObject(Z,{},null,function(t){return/^is[A-Z]/.test(t)});function lf(e,t,r){if(!Z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=Z.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,O){return!Z.isUndefined(O[E])});const i=r.metaTokens,o=r.visitor||y,u=r.dots,c=r.indexes,p=(r.Blob||typeof Blob<"u"&&Blob)&&Z.isSpecCompliantForm(t);if(!Z.isFunction(o))throw new TypeError("visitor must be a function");function m(x){if(x===null)return"";if(Z.isDate(x))return x.toISOString();if(Z.isBoolean(x))return x.toString();if(!p&&Z.isBlob(x))throw new Ue("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(x)||Z.isTypedArray(x)?p&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function y(x,E,O){let D=x;if(x&&!O&&typeof x=="object"){if(Z.endsWith(E,"{}"))E=i?E:E.slice(0,-2),x=JSON.stringify(x);else if(Z.isArray(x)&&w4(x)||(Z.isFileList(x)||Z.endsWith(E,"[]"))&&(D=Z.toArray(x)))return E=gS(E),D.forEach(function(j,k){!(Z.isUndefined(j)||j===null)&&t.append(c===!0?Qb([E],k,u):c===null?E:E+"[]",m(j))}),!1}return km(x)?!0:(t.append(Qb(O,E,u),m(x)),!1)}const g=[],b=Object.assign(S4,{defaultVisitor:y,convertValue:m,isVisitable:km});function T(x,E){if(!Z.isUndefined(x)){if(g.indexOf(x)!==-1)throw Error("Circular reference detected in "+E.join("."));g.push(x),Z.forEach(x,function(D,U){(!(Z.isUndefined(D)||D===null)&&o.call(t,D,Z.isString(U)?U.trim():U,E,b))===!0&&T(D,E?E.concat(U):[U])}),g.pop()}}if(!Z.isObject(e))throw new TypeError("data must be an object");return T(e),t}function Jb(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function Up(e,t){this._pairs=[],e&&lf(e,this,t)}const yS=Up.prototype;yS.append=function(t,r){this._pairs.push([t,r])};yS.toString=function(t){const r=t?function(i){return t.call(this,i,Jb)}:Jb;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function x4(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function vS(e,t,r){if(!t)return e;const i=r&&r.encode||x4;Z.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let u;if(o?u=o(t,r):u=Z.isURLSearchParams(t)?t.toString():new Up(t,r).toString(i),u){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+u}return e}class e1{constructor(){this.handlers=[]}use(t,r,i){return this.handlers.push({fulfilled:t,rejected:r,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Z.forEach(this.handlers,function(i){i!==null&&t(i)})}}const bS={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},E4=typeof URLSearchParams<"u"?URLSearchParams:Up,T4=typeof FormData<"u"?FormData:null,O4=typeof Blob<"u"?Blob:null,A4={isBrowser:!0,classes:{URLSearchParams:E4,FormData:T4,Blob:O4},protocols:["http","https","file","blob","url","data"]},Lp=typeof window<"u"&&typeof document<"u",zm=typeof navigator=="object"&&navigator||void 0,C4=Lp&&(!zm||["ReactNative","NativeScript","NS"].indexOf(zm.product)<0),D4=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",M4=Lp&&window.location.href||"http://localhost",R4=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Lp,hasStandardBrowserEnv:C4,hasStandardBrowserWebWorkerEnv:D4,navigator:zm,origin:M4},Symbol.toStringTag,{value:"Module"})),un={...R4,...A4};function N4(e,t){return lf(e,new un.classes.URLSearchParams,{visitor:function(r,i,o,u){return un.isNode&&Z.isBuffer(r)?(this.append(i,r.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...t})}function k4(e){return Z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function z4(e){const t={},r=Object.keys(e);let i;const o=r.length;let u;for(i=0;i=r.length;return c=!c&&Z.isArray(o)?o.length:c,p?(Z.hasOwnProp(o,c)?o[c]=[o[c],i]:o[c]=i,!h):((!o[c]||!Z.isObject(o[c]))&&(o[c]=[]),t(r,i,o[c],u)&&Z.isArray(o[c])&&(o[c]=z4(o[c])),!h)}if(Z.isFormData(e)&&Z.isFunction(e.entries)){const r={};return Z.forEachEntry(e,(i,o)=>{t(k4(i),o,r,0)}),r}return null}function j4(e,t,r){if(Z.isString(e))try{return(t||JSON.parse)(e),Z.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(e)}const Rl={transitional:bS,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const i=r.getContentType()||"",o=i.indexOf("application/json")>-1,u=Z.isObject(t);if(u&&Z.isHTMLForm(t)&&(t=new FormData(t)),Z.isFormData(t))return o?JSON.stringify(_S(t)):t;if(Z.isArrayBuffer(t)||Z.isBuffer(t)||Z.isStream(t)||Z.isFile(t)||Z.isBlob(t)||Z.isReadableStream(t))return t;if(Z.isArrayBufferView(t))return t.buffer;if(Z.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let h;if(u){if(i.indexOf("application/x-www-form-urlencoded")>-1)return N4(t,this.formSerializer).toString();if((h=Z.isFileList(t))||i.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return lf(h?{"files[]":t}:t,p&&new p,this.formSerializer)}}return u||o?(r.setContentType("application/json",!1),j4(t)):t}],transformResponse:[function(t){const r=this.transitional||Rl.transitional,i=r&&r.forcedJSONParsing,o=this.responseType==="json";if(Z.isResponse(t)||Z.isReadableStream(t))return t;if(t&&Z.isString(t)&&(i&&!this.responseType||o)){const c=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(h){if(c)throw h.name==="SyntaxError"?Ue.from(h,Ue.ERR_BAD_RESPONSE,this,null,this.response):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:un.classes.FormData,Blob:un.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],e=>{Rl.headers[e]={}});const U4=Z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),L4=e=>{const t={};let r,i,o;return e&&e.split(` +`).forEach(function(c){o=c.indexOf(":"),r=c.substring(0,o).trim().toLowerCase(),i=c.substring(o+1).trim(),!(!r||t[r]&&U4[r])&&(r==="set-cookie"?t[r]?t[r].push(i):t[r]=[i]:t[r]=t[r]?t[r]+", "+i:i)}),t},t1=Symbol("internals");function sl(e){return e&&String(e).trim().toLowerCase()}function bc(e){return e===!1||e==null?e:Z.isArray(e)?e.map(bc):String(e)}function Y4(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=r.exec(e);)t[i[1]]=i[2];return t}const H4=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function im(e,t,r,i,o){if(Z.isFunction(i))return i.call(this,t,r);if(o&&(t=r),!!Z.isString(t)){if(Z.isString(i))return t.indexOf(i)!==-1;if(Z.isRegExp(i))return i.test(t)}}function V4(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,i)=>r.toUpperCase()+i)}function B4(e,t){const r=Z.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+r,{value:function(o,u,c){return this[i].call(this,t,o,u,c)},configurable:!0})})}let Rn=class{constructor(t){t&&this.set(t)}set(t,r,i){const o=this;function u(h,p,m){const y=sl(p);if(!y)throw new Error("header name must be a non-empty string");const g=Z.findKey(o,y);(!g||o[g]===void 0||m===!0||m===void 0&&o[g]!==!1)&&(o[g||p]=bc(h))}const c=(h,p)=>Z.forEach(h,(m,y)=>u(m,y,p));if(Z.isPlainObject(t)||t instanceof this.constructor)c(t,r);else if(Z.isString(t)&&(t=t.trim())&&!H4(t))c(L4(t),r);else if(Z.isObject(t)&&Z.isIterable(t)){let h={},p,m;for(const y of t){if(!Z.isArray(y))throw TypeError("Object iterator must return a key-value pair");h[m=y[0]]=(p=h[m])?Z.isArray(p)?[...p,y[1]]:[p,y[1]]:y[1]}c(h,r)}else t!=null&&u(r,t,i);return this}get(t,r){if(t=sl(t),t){const i=Z.findKey(this,t);if(i){const o=this[i];if(!r)return o;if(r===!0)return Y4(o);if(Z.isFunction(r))return r.call(this,o,i);if(Z.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=sl(t),t){const i=Z.findKey(this,t);return!!(i&&this[i]!==void 0&&(!r||im(this,this[i],i,r)))}return!1}delete(t,r){const i=this;let o=!1;function u(c){if(c=sl(c),c){const h=Z.findKey(i,c);h&&(!r||im(i,i[h],h,r))&&(delete i[h],o=!0)}}return Z.isArray(t)?t.forEach(u):u(t),o}clear(t){const r=Object.keys(this);let i=r.length,o=!1;for(;i--;){const u=r[i];(!t||im(this,this[u],u,t,!0))&&(delete this[u],o=!0)}return o}normalize(t){const r=this,i={};return Z.forEach(this,(o,u)=>{const c=Z.findKey(i,u);if(c){r[c]=bc(o),delete r[u];return}const h=t?V4(u):String(u).trim();h!==u&&delete r[u],r[h]=bc(o),i[h]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return Z.forEach(this,(i,o)=>{i!=null&&i!==!1&&(r[o]=t&&Z.isArray(i)?i.join(", "):i)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const i=new this(t);return r.forEach(o=>i.set(o)),i}static accessor(t){const i=(this[t1]=this[t1]={accessors:{}}).accessors,o=this.prototype;function u(c){const h=sl(c);i[h]||(B4(o,c),i[h]=!0)}return Z.isArray(t)?t.forEach(u):u(t),this}};Rn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Z.reduceDescriptors(Rn.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[r]=i}}});Z.freezeMethods(Rn);function sm(e,t){const r=this||Rl,i=t||r,o=Rn.from(i.headers);let u=i.data;return Z.forEach(e,function(h){u=h.call(r,u,o.normalize(),t?t.status:void 0)}),o.normalize(),u}function wS(e){return!!(e&&e.__CANCEL__)}function so(e,t,r){Ue.call(this,e??"canceled",Ue.ERR_CANCELED,t,r),this.name="CanceledError"}Z.inherits(so,Ue,{__CANCEL__:!0});function SS(e,t,r){const i=r.config.validateStatus;!r.status||!i||i(r.status)?e(r):t(new Ue("Request failed with status code "+r.status,[Ue.ERR_BAD_REQUEST,Ue.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function $4(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function F4(e,t){e=e||10;const r=new Array(e),i=new Array(e);let o=0,u=0,c;return t=t!==void 0?t:1e3,function(p){const m=Date.now(),y=i[u];c||(c=m),r[o]=p,i[o]=m;let g=u,b=0;for(;g!==o;)b+=r[g++],g=g%e;if(o=(o+1)%e,o===u&&(u=(u+1)%e),m-c{r=y,o=null,u&&(clearTimeout(u),u=null),e(...m)};return[(...m)=>{const y=Date.now(),g=y-r;g>=i?c(m,y):(o=m,u||(u=setTimeout(()=>{u=null,c(o)},i-g)))},()=>o&&c(o)]}const Rc=(e,t,r=3)=>{let i=0;const o=F4(50,250);return Z4(u=>{const c=u.loaded,h=u.lengthComputable?u.total:void 0,p=c-i,m=o(p),y=c<=h;i=c;const g={loaded:c,total:h,progress:h?c/h:void 0,bytes:p,rate:m||void 0,estimated:m&&h&&y?(h-c)/m:void 0,event:u,lengthComputable:h!=null,[t?"download":"upload"]:!0};e(g)},r)},n1=(e,t)=>{const r=e!=null;return[i=>t[0]({lengthComputable:r,total:e,loaded:i}),t[1]]},r1=e=>(...t)=>Z.asap(()=>e(...t)),P4=un.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,un.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(un.origin),un.navigator&&/(msie|trident)/i.test(un.navigator.userAgent)):()=>!0,G4=un.hasStandardBrowserEnv?{write(e,t,r,i,o,u,c){if(typeof document>"u")return;const h=[`${e}=${encodeURIComponent(t)}`];Z.isNumber(r)&&h.push(`expires=${new Date(r).toUTCString()}`),Z.isString(i)&&h.push(`path=${i}`),Z.isString(o)&&h.push(`domain=${o}`),u===!0&&h.push("secure"),Z.isString(c)&&h.push(`SameSite=${c}`),document.cookie=h.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function q4(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function I4(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function xS(e,t,r){let i=!q4(t);return e&&(i||r==!1)?I4(e,t):t}const a1=e=>e instanceof Rn?{...e}:e;function Li(e,t){t=t||{};const r={};function i(m,y,g,b){return Z.isPlainObject(m)&&Z.isPlainObject(y)?Z.merge.call({caseless:b},m,y):Z.isPlainObject(y)?Z.merge({},y):Z.isArray(y)?y.slice():y}function o(m,y,g,b){if(Z.isUndefined(y)){if(!Z.isUndefined(m))return i(void 0,m,g,b)}else return i(m,y,g,b)}function u(m,y){if(!Z.isUndefined(y))return i(void 0,y)}function c(m,y){if(Z.isUndefined(y)){if(!Z.isUndefined(m))return i(void 0,m)}else return i(void 0,y)}function h(m,y,g){if(g in t)return i(m,y);if(g in e)return i(void 0,m)}const p={url:u,method:u,data:u,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:h,headers:(m,y,g)=>o(a1(m),a1(y),g,!0)};return Z.forEach(Object.keys({...e,...t}),function(y){const g=p[y]||o,b=g(e[y],t[y],y);Z.isUndefined(b)&&g!==h||(r[y]=b)}),r}const ES=e=>{const t=Li({},e);let{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:u,headers:c,auth:h}=t;if(t.headers=c=Rn.from(c),t.url=vS(xS(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),h&&c.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),Z.isFormData(r)){if(un.hasStandardBrowserEnv||un.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(Z.isFunction(r.getHeaders)){const p=r.getHeaders(),m=["content-type","content-length"];Object.entries(p).forEach(([y,g])=>{m.includes(y.toLowerCase())&&c.set(y,g)})}}if(un.hasStandardBrowserEnv&&(i&&Z.isFunction(i)&&(i=i(t)),i||i!==!1&&P4(t.url))){const p=o&&u&&G4.read(u);p&&c.set(o,p)}return t},X4=typeof XMLHttpRequest<"u",W4=X4&&function(e){return new Promise(function(r,i){const o=ES(e);let u=o.data;const c=Rn.from(o.headers).normalize();let{responseType:h,onUploadProgress:p,onDownloadProgress:m}=o,y,g,b,T,x;function E(){T&&T(),x&&x(),o.cancelToken&&o.cancelToken.unsubscribe(y),o.signal&&o.signal.removeEventListener("abort",y)}let O=new XMLHttpRequest;O.open(o.method.toUpperCase(),o.url,!0),O.timeout=o.timeout;function D(){if(!O)return;const j=Rn.from("getAllResponseHeaders"in O&&O.getAllResponseHeaders()),Y={data:!h||h==="text"||h==="json"?O.responseText:O.response,status:O.status,statusText:O.statusText,headers:j,config:e,request:O};SS(function(F){r(F),E()},function(F){i(F),E()},Y),O=null}"onloadend"in O?O.onloadend=D:O.onreadystatechange=function(){!O||O.readyState!==4||O.status===0&&!(O.responseURL&&O.responseURL.indexOf("file:")===0)||setTimeout(D)},O.onabort=function(){O&&(i(new Ue("Request aborted",Ue.ECONNABORTED,e,O)),O=null)},O.onerror=function(k){const Y=k&&k.message?k.message:"Network Error",J=new Ue(Y,Ue.ERR_NETWORK,e,O);J.event=k||null,i(J),O=null},O.ontimeout=function(){let k=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const Y=o.transitional||bS;o.timeoutErrorMessage&&(k=o.timeoutErrorMessage),i(new Ue(k,Y.clarifyTimeoutError?Ue.ETIMEDOUT:Ue.ECONNABORTED,e,O)),O=null},u===void 0&&c.setContentType(null),"setRequestHeader"in O&&Z.forEach(c.toJSON(),function(k,Y){O.setRequestHeader(Y,k)}),Z.isUndefined(o.withCredentials)||(O.withCredentials=!!o.withCredentials),h&&h!=="json"&&(O.responseType=o.responseType),m&&([b,x]=Rc(m,!0),O.addEventListener("progress",b)),p&&O.upload&&([g,T]=Rc(p),O.upload.addEventListener("progress",g),O.upload.addEventListener("loadend",T)),(o.cancelToken||o.signal)&&(y=j=>{O&&(i(!j||j.type?new so(null,e,O):j),O.abort(),O=null)},o.cancelToken&&o.cancelToken.subscribe(y),o.signal&&(o.signal.aborted?y():o.signal.addEventListener("abort",y)));const U=$4(o.url);if(U&&un.protocols.indexOf(U)===-1){i(new Ue("Unsupported protocol "+U+":",Ue.ERR_BAD_REQUEST,e));return}O.send(u||null)})},K4=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let i=new AbortController,o;const u=function(m){if(!o){o=!0,h();const y=m instanceof Error?m:this.reason;i.abort(y instanceof Ue?y:new so(y instanceof Error?y.message:y))}};let c=t&&setTimeout(()=>{c=null,u(new Ue(`timeout ${t} of ms exceeded`,Ue.ETIMEDOUT))},t);const h=()=>{e&&(c&&clearTimeout(c),c=null,e.forEach(m=>{m.unsubscribe?m.unsubscribe(u):m.removeEventListener("abort",u)}),e=null)};e.forEach(m=>m.addEventListener("abort",u));const{signal:p}=i;return p.unsubscribe=()=>Z.asap(h),p}},Q4=function*(e,t){let r=e.byteLength;if(r{const o=J4(e,t);let u=0,c,h=p=>{c||(c=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:m,value:y}=await o.next();if(m){h(),p.close();return}let g=y.byteLength;if(r){let b=u+=g;r(b)}p.enqueue(new Uint8Array(y))}catch(m){throw h(m),m}},cancel(p){return h(p),o.return()}},{highWaterMark:2})},s1=64*1024,{isFunction:ac}=Z,tz=(({Request:e,Response:t})=>({Request:e,Response:t}))(Z.global),{ReadableStream:o1,TextEncoder:l1}=Z.global,u1=(e,...t)=>{try{return!!e(...t)}catch{return!1}},nz=e=>{e=Z.merge.call({skipUndefined:!0},tz,e);const{fetch:t,Request:r,Response:i}=e,o=t?ac(t):typeof fetch=="function",u=ac(r),c=ac(i);if(!o)return!1;const h=o&&ac(o1),p=o&&(typeof l1=="function"?(x=>E=>x.encode(E))(new l1):async x=>new Uint8Array(await new r(x).arrayBuffer())),m=u&&h&&u1(()=>{let x=!1;const E=new r(un.origin,{body:new o1,method:"POST",get duplex(){return x=!0,"half"}}).headers.has("Content-Type");return x&&!E}),y=c&&h&&u1(()=>Z.isReadableStream(new i("").body)),g={stream:y&&(x=>x.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(x=>{!g[x]&&(g[x]=(E,O)=>{let D=E&&E[x];if(D)return D.call(E);throw new Ue(`Response type '${x}' is not supported`,Ue.ERR_NOT_SUPPORT,O)})});const b=async x=>{if(x==null)return 0;if(Z.isBlob(x))return x.size;if(Z.isSpecCompliantForm(x))return(await new r(un.origin,{method:"POST",body:x}).arrayBuffer()).byteLength;if(Z.isArrayBufferView(x)||Z.isArrayBuffer(x))return x.byteLength;if(Z.isURLSearchParams(x)&&(x=x+""),Z.isString(x))return(await p(x)).byteLength},T=async(x,E)=>{const O=Z.toFiniteNumber(x.getContentLength());return O??b(E)};return async x=>{let{url:E,method:O,data:D,signal:U,cancelToken:j,timeout:k,onDownloadProgress:Y,onUploadProgress:J,responseType:F,headers:Q,withCredentials:he="same-origin",fetchOptions:_e}=ES(x),we=t||fetch;F=F?(F+"").toLowerCase():"text";let ie=K4([U,j&&j.toAbortSignal()],k),ue=null;const fe=ie&&ie.unsubscribe&&(()=>{ie.unsubscribe()});let ye;try{if(J&&m&&O!=="get"&&O!=="head"&&(ye=await T(Q,D))!==0){let A=new r(E,{method:"POST",body:D,duplex:"half"}),q;if(Z.isFormData(D)&&(q=A.headers.get("content-type"))&&Q.setContentType(q),A.body){const[X,ne]=n1(ye,Rc(r1(J)));D=i1(A.body,s1,X,ne)}}Z.isString(he)||(he=he?"include":"omit");const M=u&&"credentials"in r.prototype,I={..._e,signal:ie,method:O.toUpperCase(),headers:Q.normalize().toJSON(),body:D,duplex:"half",credentials:M?he:void 0};ue=u&&new r(E,I);let L=await(u?we(ue,_e):we(E,I));const re=y&&(F==="stream"||F==="response");if(y&&(Y||re&&fe)){const A={};["status","statusText","headers"].forEach(ce=>{A[ce]=L[ce]});const q=Z.toFiniteNumber(L.headers.get("content-length")),[X,ne]=Y&&n1(q,Rc(r1(Y),!0))||[];L=new i(i1(L.body,s1,X,()=>{ne&&ne(),fe&&fe()}),A)}F=F||"text";let ve=await g[Z.findKey(g,F)||"text"](L,x);return!re&&fe&&fe(),await new Promise((A,q)=>{SS(A,q,{data:ve,headers:Rn.from(L.headers),status:L.status,statusText:L.statusText,config:x,request:ue})})}catch(M){throw fe&&fe(),M&&M.name==="TypeError"&&/Load failed|fetch/i.test(M.message)?Object.assign(new Ue("Network Error",Ue.ERR_NETWORK,x,ue),{cause:M.cause||M}):Ue.from(M,M&&M.code,x,ue)}}},rz=new Map,TS=e=>{let t=e&&e.env||{};const{fetch:r,Request:i,Response:o}=t,u=[i,o,r];let c=u.length,h=c,p,m,y=rz;for(;h--;)p=u[h],m=y.get(p),m===void 0&&y.set(p,m=h?new Map:nz(t)),y=m;return m};TS();const Yp={http:_4,xhr:W4,fetch:{get:TS}};Z.forEach(Yp,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const c1=e=>`- ${e}`,az=e=>Z.isFunction(e)||e===null||e===!1;function iz(e,t){e=Z.isArray(e)?e:[e];const{length:r}=e;let i,o;const u={};for(let c=0;c`adapter ${p} `+(m===!1?"is not supported by the environment":"is not available in the build"));let h=r?c.length>1?`since : +`+c.map(c1).join(` +`):" "+c1(c[0]):"as no adapter specified";throw new Ue("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return o}const OS={getAdapter:iz,adapters:Yp};function om(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new so(null,e)}function f1(e){return om(e),e.headers=Rn.from(e.headers),e.data=sm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),OS.getAdapter(e.adapter||Rl.adapter,e)(e).then(function(i){return om(e),i.data=sm.call(e,e.transformResponse,i),i.headers=Rn.from(i.headers),i},function(i){return wS(i)||(om(e),i&&i.response&&(i.response.data=sm.call(e,e.transformResponse,i.response),i.response.headers=Rn.from(i.response.headers))),Promise.reject(i)})}const AS="1.13.2",uf={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{uf[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const d1={};uf.transitional=function(t,r,i){function o(u,c){return"[Axios v"+AS+"] Transitional option '"+u+"'"+c+(i?". "+i:"")}return(u,c,h)=>{if(t===!1)throw new Ue(o(c," has been removed"+(r?" in "+r:"")),Ue.ERR_DEPRECATED);return r&&!d1[c]&&(d1[c]=!0,console.warn(o(c," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(u,c,h):!0}};uf.spelling=function(t){return(r,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};function sz(e,t,r){if(typeof e!="object")throw new Ue("options must be an object",Ue.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const u=i[o],c=t[u];if(c){const h=e[u],p=h===void 0||c(h,u,e);if(p!==!0)throw new Ue("option "+u+" must be "+p,Ue.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ue("Unknown option "+u,Ue.ERR_BAD_OPTION)}}const _c={assertOptions:sz,validators:uf},Nr=_c.validators;let ji=class{constructor(t){this.defaults=t||{},this.interceptors={request:new e1,response:new e1}}async request(t,r){try{return await this._request(t,r)}catch(i){if(i instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const u=o.stack?o.stack.replace(/^.+\n/,""):"";try{i.stack?u&&!String(i.stack).endsWith(u.replace(/^.+\n.+\n/,""))&&(i.stack+=` +`+u):i.stack=u}catch{}}throw i}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Li(this.defaults,r);const{transitional:i,paramsSerializer:o,headers:u}=r;i!==void 0&&_c.assertOptions(i,{silentJSONParsing:Nr.transitional(Nr.boolean),forcedJSONParsing:Nr.transitional(Nr.boolean),clarifyTimeoutError:Nr.transitional(Nr.boolean)},!1),o!=null&&(Z.isFunction(o)?r.paramsSerializer={serialize:o}:_c.assertOptions(o,{encode:Nr.function,serialize:Nr.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),_c.assertOptions(r,{baseUrl:Nr.spelling("baseURL"),withXsrfToken:Nr.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c=u&&Z.merge(u.common,u[r.method]);u&&Z.forEach(["delete","get","head","post","put","patch","common"],x=>{delete u[x]}),r.headers=Rn.concat(c,u);const h=[];let p=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(r)===!1||(p=p&&E.synchronous,h.unshift(E.fulfilled,E.rejected))});const m=[];this.interceptors.response.forEach(function(E){m.push(E.fulfilled,E.rejected)});let y,g=0,b;if(!p){const x=[f1.bind(this),void 0];for(x.unshift(...h),x.push(...m),b=x.length,y=Promise.resolve(r);g{if(!i._listeners)return;let u=i._listeners.length;for(;u-- >0;)i._listeners[u](o);i._listeners=null}),this.promise.then=o=>{let u;const c=new Promise(h=>{i.subscribe(h),u=h}).then(o);return c.cancel=function(){i.unsubscribe(u)},c},t(function(u,c,h){i.reason||(i.reason=new so(u,c,h),r(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=i=>{t.abort(i)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new CS(function(o){t=o}),cancel:t}}};function lz(e){return function(r){return e.apply(null,r)}}function uz(e){return Z.isObject(e)&&e.isAxiosError===!0}const jm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(jm).forEach(([e,t])=>{jm[t]=e});function DS(e){const t=new ji(e),r=sS(ji.prototype.request,t);return Z.extend(r,ji.prototype,t,{allOwnKeys:!0}),Z.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return DS(Li(e,o))},r}const At=DS(Rl);At.Axios=ji;At.CanceledError=so;At.CancelToken=oz;At.isCancel=wS;At.VERSION=AS;At.toFormData=lf;At.AxiosError=Ue;At.Cancel=At.CanceledError;At.all=function(t){return Promise.all(t)};At.spread=lz;At.isAxiosError=uz;At.mergeConfig=Li;At.AxiosHeaders=Rn;At.formToJSON=e=>_S(Z.isHTMLForm(e)?new FormData(e):e);At.getAdapter=OS.getAdapter;At.HttpStatusCode=jm;At.default=At;const{Axios:NY,AxiosError:kY,CanceledError:zY,isCancel:jY,CancelToken:UY,VERSION:LY,all:YY,Cancel:HY,isAxiosError:VY,spread:BY,toFormData:$Y,AxiosHeaders:FY,HttpStatusCode:ZY,formToJSON:PY,getAdapter:GY,mergeConfig:qY}=At,ol=At.create({baseURL:"/"});class cz{async logs(){return await ol({method:"GET",url:"logs"})}async users(){return await ol({method:"GET",url:"users"})}async register({file:t,user:r}){const i=new FormData;i.append("file",t,"frame.jpg");for(const[o,u]of Object.entries(r))i.append(o,u);return await ol({headers:{"Content-Type":"multipart/form-data"},method:"POST",url:"/register",data:i})}async registerSimple({user:t}){const r=new FormData;for(const[i,o]of Object.entries(t))r.append(i,o);return await ol({headers:{"Content-Type":"multipart/form-data"},method:"POST",url:"/register-simple",data:r})}async checkin({file:t}){const r=new FormData;return r.append("file",t,"frame.jpg"),await ol({headers:{"Content-Type":"multipart/form-data"},method:"POST",url:"/checkin",data:r})}}const Qs=new cz;class fz{async timekeepings(){return await At({headers:{Authorization:"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL21zLnByb2xvZ3kubmV0L2FwaS92MS9hZG1pbi9sb2dpbiIsImlhdCI6MTc1Njg2MDQ1OSwiZXhwIjoxNzg4Mzk2NDU5LCJuYmYiOjE3NTY4NjA0NTksImp0aSI6IkRrb0NLbHBKV1pkNnZCN0QiLCJzdWIiOiIxNSIsInBydiI6ImQyZmYyOTMzOWE4YTNlODJjMzU4MmE1YThlNzM5ZGYxNzg5YmIxMmYifQ.DoHqHeAGGxpvzlNQ9dAZjZf2Yl573XCgNBT8ZiSx5N4"},baseURL:"https://ms.prology.net/api/v1/admin",method:"GET",url:"timekeeping",params:{month:new Date().getMonth(),year:new Date().getFullYear()}})}}const dz=new fz;function MS(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx("div",{"data-slot":"card",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}const h1=e=>{let t;const r=new Set,i=(m,y)=>{const g=typeof m=="function"?m(t):m;if(!Object.is(g,t)){const b=t;t=y??(typeof g!="object"||g===null)?g:Object.assign({},t,g),r.forEach(T=>T(t,b))}},o=()=>t,h={setState:i,getState:o,getInitialState:()=>p,subscribe:m=>(r.add(m),()=>r.delete(m))},p=t=e(i,o,h);return h},hz=(e=>e?h1(e):h1),mz=e=>e;function pz(e,t=mz){const r=W.useSyncExternalStore(e.subscribe,W.useCallback(()=>t(e.getState()),[e,t]),W.useCallback(()=>t(e.getInitialState()),[e,t]));return W.useDebugValue(r),r}const m1=e=>{const t=hz(e),r=i=>pz(t,i);return Object.assign(r,t),r},RS=(e=>e?m1(e):m1),ai=RS(e=>({isAutoChecking:!1,isCountDown:!1,captureRegisterImage:null,canvasRef:null,videoRef:null,refreshLog:!1,setIsAutoChecking:t=>e({isAutoChecking:t}),setRefreshLog:t=>e({refreshLog:t}),setIsCountDown:t=>e({isCountDown:t}),setCaptureRegisterImage:t=>e({captureRegisterImage:t}),setVideoRef:t=>e({videoRef:t}),setCanvasRef:t=>e({canvasRef:t})}));function gz(e){const t=Ve.c(17),{onCountdowned:r}=e,[i,o]=_.useState(3),[u,c]=_.useState(!0),h=_.useRef(!1);let p,m;t[0]!==i||t[1]!==r||t[2]!==u?(p=()=>{if(!u)return;if(i===0){h.current||(h.current=!0,r?.());return}const O=setTimeout(()=>{o(yz)},1e3);return()=>clearTimeout(O)},m=[i,u,r],t[0]=i,t[1]=r,t[2]=u,t[3]=p,t[4]=m):(p=t[3],m=t[4]),_.useEffect(p,m);let y;t[5]===Symbol.for("react.memo_cache_sentinel")?(y=w.jsxs("div",{className:"text-center space-y-3",children:[w.jsx("p",{className:"text-lg font-medium",children:"Chuẩn bị sẵn sàng"}),w.jsx("p",{className:"text-base",children:"Vui lòng nhìn thẳng vào camera"})]}),t[5]=y):y=t[5];let g;t[6]!==i?(g=w.jsx("div",{className:"relative",children:w.jsx("div",{className:"w-40 h-40 bg-white rounded-full flex items-center justify-center shadow-2xl",children:w.jsx("span",{className:"text-8xl font-bold",children:i})})}),t[6]=i,t[7]=g):g=t[7];const b=i>0?`Còn ${i} giây...`:"Đã hoàn thành!";let T;t[8]!==b?(T=w.jsx("div",{className:"text-center",children:w.jsx("p",{className:"text-sm",children:b})}),t[8]=b,t[9]=T):T=t[9];let x;t[10]!==i||t[11]!==u?(x=u&&i>0&&w.jsx(hn,{variant:"outline",onClick:()=>c(!1),className:"mt-4 px-8 py-2",children:"Hủy"}),t[10]=i,t[11]=u,t[12]=x):x=t[12];let E;return t[13]!==g||t[14]!==T||t[15]!==x?(E=w.jsx("div",{className:"absolute inset-0 flex flex-col items-center justify-center bg-transparent",children:w.jsxs("div",{className:"flex flex-col items-center gap-8",children:[y,g,T,x]})}),t[13]=g,t[14]=T,t[15]=x,t[16]=E):E=t[16],E}function yz(e){return e-1}function p1(e){const t=vz(e),r=_.forwardRef((i,o)=>{const{children:u,...c}=i,h=_.Children.toArray(u),p=h.find(_z);if(p){const m=p.props.children,y=h.map(g=>g===p?_.Children.count(m)>1?_.Children.only(null):_.isValidElement(m)?m.props.children:null:g);return w.jsx(t,{...c,ref:o,children:_.isValidElement(m)?_.cloneElement(m,void 0,y):null})}return w.jsx(t,{...c,ref:o,children:u})});return r.displayName=`${e}.Slot`,r}function vz(e){const t=_.forwardRef((r,i)=>{const{children:o,...u}=r;if(_.isValidElement(o)){const c=Sz(o),h=wz(u,o.props);return o.type!==_.Fragment&&(h.ref=i?oi(i,c):c),_.cloneElement(o,h)}return _.Children.count(o)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var bz=Symbol("radix.slottable");function _z(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===bz}function wz(e,t){const r={...t};for(const i in t){const o=e[i],u=t[i];/^on[A-Z]/.test(i)?o&&u?r[i]=(...h)=>{const p=u(...h);return o(...h),p}:o&&(r[i]=o):i==="style"?r[i]={...o,...u}:i==="className"&&(r[i]=[o,u].filter(Boolean).join(" "))}return{...e,...r}}function Sz(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function NS(e){const t=e+"CollectionProvider",[r,i]=Bi(t),[o,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),c=E=>{const{scope:O,children:D}=E,U=W.useRef(null),j=W.useRef(new Map).current;return w.jsx(o,{scope:O,itemMap:j,collectionRef:U,children:D})};c.displayName=t;const h=e+"CollectionSlot",p=p1(h),m=W.forwardRef((E,O)=>{const{scope:D,children:U}=E,j=u(h,D),k=an(O,j.collectionRef);return w.jsx(p,{ref:k,children:U})});m.displayName=h;const y=e+"CollectionItemSlot",g="data-radix-collection-item",b=p1(y),T=W.forwardRef((E,O)=>{const{scope:D,children:U,...j}=E,k=W.useRef(null),Y=an(O,k),J=u(y,D);return W.useEffect(()=>(J.itemMap.set(k,{ref:k,...j}),()=>void J.itemMap.delete(k))),w.jsx(b,{[g]:"",ref:Y,children:U})});T.displayName=y;function x(E){const O=u(e+"CollectionConsumer",E);return W.useCallback(()=>{const U=O.collectionRef.current;if(!U)return[];const j=Array.from(U.querySelectorAll(`[${g}]`));return Array.from(O.itemMap.values()).sort((J,F)=>j.indexOf(J.ref.current)-j.indexOf(F.ref.current))},[O.collectionRef,O.itemMap])}return[{Provider:c,Slot:m,ItemSlot:T},x,i]}var xz=_.createContext(void 0);function Hp(e){const t=_.useContext(xz);return e||t||"ltr"}var lm="rovingFocusGroup.onEntryFocus",Ez={bubbles:!1,cancelable:!0},Nl="RovingFocusGroup",[Um,kS,Tz]=NS(Nl),[Oz,cf]=Bi(Nl,[Tz]),[Az,Cz]=Oz(Nl),zS=_.forwardRef((e,t)=>w.jsx(Um.Provider,{scope:e.__scopeRovingFocusGroup,children:w.jsx(Um.Slot,{scope:e.__scopeRovingFocusGroup,children:w.jsx(Dz,{...e,ref:t})})}));zS.displayName=Nl;var Dz=_.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:i,loop:o=!1,dir:u,currentTabStopId:c,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:p,onEntryFocus:m,preventScrollOnEntryFocus:y=!1,...g}=e,b=_.useRef(null),T=an(t,b),x=Hp(u),[E,O]=Zc({prop:c,defaultProp:h??null,onChange:p,caller:Nl}),[D,U]=_.useState(!1),j=Yr(m),k=kS(r),Y=_.useRef(!1),[J,F]=_.useState(0);return _.useEffect(()=>{const Q=b.current;if(Q)return Q.addEventListener(lm,j),()=>Q.removeEventListener(lm,j)},[j]),w.jsx(Az,{scope:r,orientation:i,dir:x,loop:o,currentTabStopId:E,onItemFocus:_.useCallback(Q=>O(Q),[O]),onItemShiftTab:_.useCallback(()=>U(!0),[]),onFocusableItemAdd:_.useCallback(()=>F(Q=>Q+1),[]),onFocusableItemRemove:_.useCallback(()=>F(Q=>Q-1),[]),children:w.jsx(_t.div,{tabIndex:D||J===0?-1:0,"data-orientation":i,...g,ref:T,style:{outline:"none",...e.style},onMouseDown:Le(e.onMouseDown,()=>{Y.current=!0}),onFocus:Le(e.onFocus,Q=>{const he=!Y.current;if(Q.target===Q.currentTarget&&he&&!D){const _e=new CustomEvent(lm,Ez);if(Q.currentTarget.dispatchEvent(_e),!_e.defaultPrevented){const we=k().filter(M=>M.focusable),ie=we.find(M=>M.active),ue=we.find(M=>M.id===E),ye=[ie,ue,...we].filter(Boolean).map(M=>M.ref.current);LS(ye,y)}}Y.current=!1}),onBlur:Le(e.onBlur,()=>U(!1))})})}),jS="RovingFocusGroupItem",US=_.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:i=!0,active:o=!1,tabStopId:u,children:c,...h}=e,p=ki(),m=u||p,y=Cz(jS,r),g=y.currentTabStopId===m,b=kS(r),{onFocusableItemAdd:T,onFocusableItemRemove:x,currentTabStopId:E}=y;return _.useEffect(()=>{if(i)return T(),()=>x()},[i,T,x]),w.jsx(Um.ItemSlot,{scope:r,id:m,focusable:i,active:o,children:w.jsx(_t.span,{tabIndex:g?0:-1,"data-orientation":y.orientation,...h,ref:t,onMouseDown:Le(e.onMouseDown,O=>{i?y.onItemFocus(m):O.preventDefault()}),onFocus:Le(e.onFocus,()=>y.onItemFocus(m)),onKeyDown:Le(e.onKeyDown,O=>{if(O.key==="Tab"&&O.shiftKey){y.onItemShiftTab();return}if(O.target!==O.currentTarget)return;const D=Nz(O,y.orientation,y.dir);if(D!==void 0){if(O.metaKey||O.ctrlKey||O.altKey||O.shiftKey)return;O.preventDefault();let j=b().filter(k=>k.focusable).map(k=>k.ref.current);if(D==="last")j.reverse();else if(D==="prev"||D==="next"){D==="prev"&&j.reverse();const k=j.indexOf(O.currentTarget);j=y.loop?kz(j,k+1):j.slice(k+1)}setTimeout(()=>LS(j))}}),children:typeof c=="function"?c({isCurrentTabStop:g,hasTabStop:E!=null}):c})})});US.displayName=jS;var Mz={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Rz(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Nz(e,t,r){const i=Rz(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(i)))return Mz[i]}function LS(e,t=!1){const r=document.activeElement;for(const i of e)if(i===r||(i.focus({preventScroll:t}),document.activeElement!==r))return}function kz(e,t){return e.map((r,i)=>e[(t+i)%e.length])}var YS=zS,HS=US,ff="Tabs",[zz]=Bi(ff,[cf]),VS=cf(),[jz,Vp]=zz(ff),BS=_.forwardRef((e,t)=>{const{__scopeTabs:r,value:i,onValueChange:o,defaultValue:u,orientation:c="horizontal",dir:h,activationMode:p="automatic",...m}=e,y=Hp(h),[g,b]=Zc({prop:i,onChange:o,defaultProp:u??"",caller:ff});return w.jsx(jz,{scope:r,baseId:ki(),value:g,onValueChange:b,orientation:c,dir:y,activationMode:p,children:w.jsx(_t.div,{dir:y,"data-orientation":c,...m,ref:t})})});BS.displayName=ff;var $S="TabsList",FS=_.forwardRef((e,t)=>{const{__scopeTabs:r,loop:i=!0,...o}=e,u=Vp($S,r),c=VS(r);return w.jsx(YS,{asChild:!0,...c,orientation:u.orientation,dir:u.dir,loop:i,children:w.jsx(_t.div,{role:"tablist","aria-orientation":u.orientation,...o,ref:t})})});FS.displayName=$S;var ZS="TabsTrigger",PS=_.forwardRef((e,t)=>{const{__scopeTabs:r,value:i,disabled:o=!1,...u}=e,c=Vp(ZS,r),h=VS(r),p=IS(c.baseId,i),m=XS(c.baseId,i),y=i===c.value;return w.jsx(HS,{asChild:!0,...h,focusable:!o,active:y,children:w.jsx(_t.button,{type:"button",role:"tab","aria-selected":y,"aria-controls":m,"data-state":y?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:p,...u,ref:t,onMouseDown:Le(e.onMouseDown,g=>{!o&&g.button===0&&g.ctrlKey===!1?c.onValueChange(i):g.preventDefault()}),onKeyDown:Le(e.onKeyDown,g=>{[" ","Enter"].includes(g.key)&&c.onValueChange(i)}),onFocus:Le(e.onFocus,()=>{const g=c.activationMode!=="manual";!y&&!o&&g&&c.onValueChange(i)})})})});PS.displayName=ZS;var GS="TabsContent",qS=_.forwardRef((e,t)=>{const{__scopeTabs:r,value:i,forceMount:o,children:u,...c}=e,h=Vp(GS,r),p=IS(h.baseId,i),m=XS(h.baseId,i),y=i===h.value,g=_.useRef(y);return _.useEffect(()=>{const b=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(b)},[]),w.jsx(Sa,{present:o||y,children:({present:b})=>w.jsx(_t.div,{"data-state":y?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":p,hidden:!b,id:m,tabIndex:0,...c,ref:t,style:{...e.style,animationDuration:g.current?"0s":void 0},children:b&&u})})});qS.displayName=GS;function IS(e,t){return`${e}-trigger-${t}`}function XS(e,t){return`${e}-content-${t}`}var Uz=BS,Lz=FS,Yz=PS,Hz=qS;function WS(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("flex flex-col gap-2",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(Uz,{"data-slot":"tabs",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}function KS(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(Lz,{"data-slot":"tabs-list",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}function QS(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(Yz,{"data-slot":"tabs-trigger",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}function JS(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("flex-1 outline-none",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(Hz,{"data-slot":"tabs-content",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}function Vz(e,t=[]){let r=[];function i(u,c){const h=_.createContext(c);h.displayName=u+"Context";const p=r.length;r=[...r,c];const m=g=>{const{scope:b,children:T,...x}=g,E=b?.[e]?.[p]||h,O=_.useMemo(()=>x,Object.values(x));return w.jsx(E.Provider,{value:O,children:T})};m.displayName=u+"Provider";function y(g,b){const T=b?.[e]?.[p]||h,x=_.useContext(T);if(x)return x;if(c!==void 0)return c;throw new Error(`\`${g}\` must be used within \`${u}\``)}return[m,y]}const o=()=>{const u=r.map(c=>_.createContext(c));return function(h){const p=h?.[e]||u;return _.useMemo(()=>({[`__scope${e}`]:{...h,[e]:p}}),[h,p])}};return o.scopeName=e,[i,Bz(o,...t)]}function Bz(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const i=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(u){const c=i.reduce((h,{useScope:p,scopeName:m})=>{const g=p(u)[`__scope${m}`];return{...h,...g}},{});return _.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return r.scopeName=t.scopeName,r}var $z=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Bp=$z.reduce((e,t)=>{const r=kp(`Primitive.${t}`),i=_.forwardRef((o,u)=>{const{asChild:c,...h}=o,p=c?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(p,{...h,ref:u})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),um={exports:{}},cm={};var g1;function Fz(){if(g1)return cm;g1=1;var e=xl();function t(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}var r=typeof Object.is=="function"?Object.is:t,i=e.useState,o=e.useEffect,u=e.useLayoutEffect,c=e.useDebugValue;function h(g,b){var T=b(),x=i({inst:{value:T,getSnapshot:b}}),E=x[0].inst,O=x[1];return u(function(){E.value=T,E.getSnapshot=b,p(E)&&O({inst:E})},[g,T,b]),o(function(){return p(E)&&O({inst:E}),g(function(){p(E)&&O({inst:E})})},[g]),c(T),T}function p(g){var b=g.getSnapshot;g=g.value;try{var T=b();return!r(g,T)}catch{return!0}}function m(g,b){return b()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?m:h;return cm.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:y,cm}var y1;function Zz(){return y1||(y1=1,um.exports=Fz()),um.exports}var Pz=Zz();function Gz(){return Pz.useSyncExternalStore(qz,()=>!0,()=>!1)}function qz(){return()=>{}}var $p="Avatar",[Iz]=Vz($p),[Xz,ex]=Iz($p),tx=_.forwardRef((e,t)=>{const{__scopeAvatar:r,...i}=e,[o,u]=_.useState("idle");return w.jsx(Xz,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:u,children:w.jsx(Bp.span,{...i,ref:t})})});tx.displayName=$p;var nx="AvatarImage",rx=_.forwardRef((e,t)=>{const{__scopeAvatar:r,src:i,onLoadingStatusChange:o=()=>{},...u}=e,c=ex(nx,r),h=Wz(i,u),p=Yr(m=>{o(m),c.onImageLoadingStatusChange(m)});return yr(()=>{h!=="idle"&&p(h)},[h,p]),h==="loaded"?w.jsx(Bp.img,{...u,ref:t,src:i}):null});rx.displayName=nx;var ax="AvatarFallback",ix=_.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:i,...o}=e,u=ex(ax,r),[c,h]=_.useState(i===void 0);return _.useEffect(()=>{if(i!==void 0){const p=window.setTimeout(()=>h(!0),i);return()=>window.clearTimeout(p)}},[i]),c&&u.imageLoadingStatus!=="loaded"?w.jsx(Bp.span,{...o,ref:t}):null});ix.displayName=ax;function v1(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function Wz(e,{referrerPolicy:t,crossOrigin:r}){const i=Gz(),o=_.useRef(null),u=i?(o.current||(o.current=new window.Image),o.current):null,[c,h]=_.useState(()=>v1(u,e));return yr(()=>{h(v1(u,e))},[u,e]),yr(()=>{const p=g=>()=>{h(g)};if(!u)return;const m=p("loaded"),y=p("error");return u.addEventListener("load",m),u.addEventListener("error",y),t&&(u.referrerPolicy=t),typeof r=="string"&&(u.crossOrigin=r),()=>{u.removeEventListener("load",m),u.removeEventListener("error",y)}},[u,r,t]),c}var Kz=tx,Qz=rx,Jz=ix;function e3(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("relative flex size-8 shrink-0 overflow-hidden rounded-full",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(Kz,{"data-slot":"avatar",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}function t3(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("aspect-square size-full",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(Qz,{"data-slot":"avatar-image",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}function n3(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("bg-muted flex size-full items-center justify-center rounded-full",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(Jz,{"data-slot":"avatar-fallback",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}const r3=["top","right","bottom","left"],ii=Math.min,$n=Math.max,Nc=Math.round,ic=Math.floor,Lr=e=>({x:e,y:e}),a3={left:"right",right:"left",bottom:"top",top:"bottom"},i3={start:"end",end:"start"};function Lm(e,t,r){return $n(e,ii(t,r))}function _a(e,t){return typeof e=="function"?e(t):e}function wa(e){return e.split("-")[0]}function oo(e){return e.split("-")[1]}function Fp(e){return e==="x"?"y":"x"}function Zp(e){return e==="y"?"height":"width"}const s3=new Set(["top","bottom"]);function Ur(e){return s3.has(wa(e))?"y":"x"}function Pp(e){return Fp(Ur(e))}function o3(e,t,r){r===void 0&&(r=!1);const i=oo(e),o=Pp(e),u=Zp(o);let c=o==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[u]>t.floating[u]&&(c=kc(c)),[c,kc(c)]}function l3(e){const t=kc(e);return[Ym(e),t,Ym(t)]}function Ym(e){return e.replace(/start|end/g,t=>i3[t])}const b1=["left","right"],_1=["right","left"],u3=["top","bottom"],c3=["bottom","top"];function f3(e,t,r){switch(e){case"top":case"bottom":return r?t?_1:b1:t?b1:_1;case"left":case"right":return t?u3:c3;default:return[]}}function d3(e,t,r,i){const o=oo(e);let u=f3(wa(e),r==="start",i);return o&&(u=u.map(c=>c+"-"+o),t&&(u=u.concat(u.map(Ym)))),u}function kc(e){return e.replace(/left|right|bottom|top/g,t=>a3[t])}function h3(e){return{top:0,right:0,bottom:0,left:0,...e}}function sx(e){return typeof e!="number"?h3(e):{top:e,right:e,bottom:e,left:e}}function zc(e){const{x:t,y:r,width:i,height:o}=e;return{width:i,height:o,top:r,left:t,right:t+i,bottom:r+o,x:t,y:r}}function w1(e,t,r){let{reference:i,floating:o}=e;const u=Ur(t),c=Pp(t),h=Zp(c),p=wa(t),m=u==="y",y=i.x+i.width/2-o.width/2,g=i.y+i.height/2-o.height/2,b=i[h]/2-o[h]/2;let T;switch(p){case"top":T={x:y,y:i.y-o.height};break;case"bottom":T={x:y,y:i.y+i.height};break;case"right":T={x:i.x+i.width,y:g};break;case"left":T={x:i.x-o.width,y:g};break;default:T={x:i.x,y:i.y}}switch(oo(t)){case"start":T[c]-=b*(r&&m?-1:1);break;case"end":T[c]+=b*(r&&m?-1:1);break}return T}const m3=async(e,t,r)=>{const{placement:i="bottom",strategy:o="absolute",middleware:u=[],platform:c}=r,h=u.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(t));let m=await c.getElementRects({reference:e,floating:t,strategy:o}),{x:y,y:g}=w1(m,i,p),b=i,T={},x=0;for(let E=0;E({name:"arrow",options:e,async fn(t){const{x:r,y:i,placement:o,rects:u,platform:c,elements:h,middlewareData:p}=t,{element:m,padding:y=0}=_a(e,t)||{};if(m==null)return{};const g=sx(y),b={x:r,y:i},T=Pp(o),x=Zp(T),E=await c.getDimensions(m),O=T==="y",D=O?"top":"left",U=O?"bottom":"right",j=O?"clientHeight":"clientWidth",k=u.reference[x]+u.reference[T]-b[T]-u.floating[x],Y=b[T]-u.reference[T],J=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m));let F=J?J[j]:0;(!F||!await(c.isElement==null?void 0:c.isElement(J)))&&(F=h.floating[j]||u.floating[x]);const Q=k/2-Y/2,he=F/2-E[x]/2-1,_e=ii(g[D],he),we=ii(g[U],he),ie=_e,ue=F-E[x]-we,fe=F/2-E[x]/2+Q,ye=Lm(ie,fe,ue),M=!p.arrow&&oo(o)!=null&&fe!==ye&&u.reference[x]/2-(fefe<=0)){var we,ie;const fe=(((we=u.flip)==null?void 0:we.index)||0)+1,ye=F[fe];if(ye&&(!(g==="alignment"?U!==Ur(ye):!1)||_e.every(L=>Ur(L.placement)===U?L.overflows[0]>0:!0)))return{data:{index:fe,overflows:_e},reset:{placement:ye}};let M=(ie=_e.filter(I=>I.overflows[0]<=0).sort((I,L)=>I.overflows[1]-L.overflows[1])[0])==null?void 0:ie.placement;if(!M)switch(T){case"bestFit":{var ue;const I=(ue=_e.filter(L=>{if(J){const re=Ur(L.placement);return re===U||re==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(re=>re>0).reduce((re,ve)=>re+ve,0)]).sort((L,re)=>L[1]-re[1])[0])==null?void 0:ue[0];I&&(M=I);break}case"initialPlacement":M=h;break}if(o!==M)return{reset:{placement:M}}}return{}}}};function S1(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function x1(e){return r3.some(t=>e[t]>=0)}const y3=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:i="referenceHidden",...o}=_a(e,t);switch(i){case"referenceHidden":{const u=await yl(t,{...o,elementContext:"reference"}),c=S1(u,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:x1(c)}}}case"escaped":{const u=await yl(t,{...o,altBoundary:!0}),c=S1(u,r.floating);return{data:{escapedOffsets:c,escaped:x1(c)}}}default:return{}}}}},ox=new Set(["left","top"]);async function v3(e,t){const{placement:r,platform:i,elements:o}=e,u=await(i.isRTL==null?void 0:i.isRTL(o.floating)),c=wa(r),h=oo(r),p=Ur(r)==="y",m=ox.has(c)?-1:1,y=u&&p?-1:1,g=_a(t,e);let{mainAxis:b,crossAxis:T,alignmentAxis:x}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return h&&typeof x=="number"&&(T=h==="end"?x*-1:x),p?{x:T*y,y:b*m}:{x:b*m,y:T*y}}const b3=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,i;const{x:o,y:u,placement:c,middlewareData:h}=t,p=await v3(t,e);return c===((r=h.offset)==null?void 0:r.placement)&&(i=h.arrow)!=null&&i.alignmentOffset?{}:{x:o+p.x,y:u+p.y,data:{...p,placement:c}}}}},_3=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:i,placement:o}=t,{mainAxis:u=!0,crossAxis:c=!1,limiter:h={fn:O=>{let{x:D,y:U}=O;return{x:D,y:U}}},...p}=_a(e,t),m={x:r,y:i},y=await yl(t,p),g=Ur(wa(o)),b=Fp(g);let T=m[b],x=m[g];if(u){const O=b==="y"?"top":"left",D=b==="y"?"bottom":"right",U=T+y[O],j=T-y[D];T=Lm(U,T,j)}if(c){const O=g==="y"?"top":"left",D=g==="y"?"bottom":"right",U=x+y[O],j=x-y[D];x=Lm(U,x,j)}const E=h.fn({...t,[b]:T,[g]:x});return{...E,data:{x:E.x-r,y:E.y-i,enabled:{[b]:u,[g]:c}}}}}},w3=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:i,placement:o,rects:u,middlewareData:c}=t,{offset:h=0,mainAxis:p=!0,crossAxis:m=!0}=_a(e,t),y={x:r,y:i},g=Ur(o),b=Fp(g);let T=y[b],x=y[g];const E=_a(h,t),O=typeof E=="number"?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(p){const j=b==="y"?"height":"width",k=u.reference[b]-u.floating[j]+O.mainAxis,Y=u.reference[b]+u.reference[j]-O.mainAxis;TY&&(T=Y)}if(m){var D,U;const j=b==="y"?"width":"height",k=ox.has(wa(o)),Y=u.reference[g]-u.floating[j]+(k&&((D=c.offset)==null?void 0:D[g])||0)+(k?0:O.crossAxis),J=u.reference[g]+u.reference[j]+(k?0:((U=c.offset)==null?void 0:U[g])||0)-(k?O.crossAxis:0);xJ&&(x=J)}return{[b]:T,[g]:x}}}},S3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,i;const{placement:o,rects:u,platform:c,elements:h}=t,{apply:p=()=>{},...m}=_a(e,t),y=await yl(t,m),g=wa(o),b=oo(o),T=Ur(o)==="y",{width:x,height:E}=u.floating;let O,D;g==="top"||g==="bottom"?(O=g,D=b===(await(c.isRTL==null?void 0:c.isRTL(h.floating))?"start":"end")?"left":"right"):(D=g,O=b==="end"?"top":"bottom");const U=E-y.top-y.bottom,j=x-y.left-y.right,k=ii(E-y[O],U),Y=ii(x-y[D],j),J=!t.middlewareData.shift;let F=k,Q=Y;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(Q=j),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(F=U),J&&!b){const _e=$n(y.left,0),we=$n(y.right,0),ie=$n(y.top,0),ue=$n(y.bottom,0);T?Q=x-2*(_e!==0||we!==0?_e+we:$n(y.left,y.right)):F=E-2*(ie!==0||ue!==0?ie+ue:$n(y.top,y.bottom))}await p({...t,availableWidth:Q,availableHeight:F});const he=await c.getDimensions(h.floating);return x!==he.width||E!==he.height?{reset:{rects:!0}}:{}}}};function df(){return typeof window<"u"}function lo(e){return lx(e)?(e.nodeName||"").toLowerCase():"#document"}function Zn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Fr(e){var t;return(t=(lx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function lx(e){return df()?e instanceof Node||e instanceof Zn(e).Node:!1}function _r(e){return df()?e instanceof Element||e instanceof Zn(e).Element:!1}function Vr(e){return df()?e instanceof HTMLElement||e instanceof Zn(e).HTMLElement:!1}function E1(e){return!df()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Zn(e).ShadowRoot}const x3=new Set(["inline","contents"]);function kl(e){const{overflow:t,overflowX:r,overflowY:i,display:o}=wr(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!x3.has(o)}const E3=new Set(["table","td","th"]);function T3(e){return E3.has(lo(e))}const O3=[":popover-open",":modal"];function hf(e){return O3.some(t=>{try{return e.matches(t)}catch{return!1}})}const A3=["transform","translate","scale","rotate","perspective"],C3=["transform","translate","scale","rotate","perspective","filter"],D3=["paint","layout","strict","content"];function Gp(e){const t=qp(),r=_r(e)?wr(e):e;return A3.some(i=>r[i]?r[i]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||C3.some(i=>(r.willChange||"").includes(i))||D3.some(i=>(r.contain||"").includes(i))}function M3(e){let t=si(e);for(;Vr(t)&&!Js(t);){if(Gp(t))return t;if(hf(t))return null;t=si(t)}return null}function qp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const R3=new Set(["html","body","#document"]);function Js(e){return R3.has(lo(e))}function wr(e){return Zn(e).getComputedStyle(e)}function mf(e){return _r(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function si(e){if(lo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||E1(e)&&e.host||Fr(e);return E1(t)?t.host:t}function ux(e){const t=si(e);return Js(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vr(t)&&kl(t)?t:ux(t)}function vl(e,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=ux(e),u=o===((i=e.ownerDocument)==null?void 0:i.body),c=Zn(o);if(u){const h=Hm(c);return t.concat(c,c.visualViewport||[],kl(o)?o:[],h&&r?vl(h):[])}return t.concat(o,vl(o,[],r))}function Hm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function cx(e){const t=wr(e);let r=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=Vr(e),u=o?e.offsetWidth:r,c=o?e.offsetHeight:i,h=Nc(r)!==u||Nc(i)!==c;return h&&(r=u,i=c),{width:r,height:i,$:h}}function Ip(e){return _r(e)?e:e.contextElement}function Xs(e){const t=Ip(e);if(!Vr(t))return Lr(1);const r=t.getBoundingClientRect(),{width:i,height:o,$:u}=cx(t);let c=(u?Nc(r.width):r.width)/i,h=(u?Nc(r.height):r.height)/o;return(!c||!Number.isFinite(c))&&(c=1),(!h||!Number.isFinite(h))&&(h=1),{x:c,y:h}}const N3=Lr(0);function fx(e){const t=Zn(e);return!qp()||!t.visualViewport?N3:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function k3(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Zn(e)?!1:t}function Yi(e,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),u=Ip(e);let c=Lr(1);t&&(i?_r(i)&&(c=Xs(i)):c=Xs(e));const h=k3(u,r,i)?fx(u):Lr(0);let p=(o.left+h.x)/c.x,m=(o.top+h.y)/c.y,y=o.width/c.x,g=o.height/c.y;if(u){const b=Zn(u),T=i&&_r(i)?Zn(i):i;let x=b,E=Hm(x);for(;E&&i&&T!==x;){const O=Xs(E),D=E.getBoundingClientRect(),U=wr(E),j=D.left+(E.clientLeft+parseFloat(U.paddingLeft))*O.x,k=D.top+(E.clientTop+parseFloat(U.paddingTop))*O.y;p*=O.x,m*=O.y,y*=O.x,g*=O.y,p+=j,m+=k,x=Zn(E),E=Hm(x)}}return zc({width:y,height:g,x:p,y:m})}function pf(e,t){const r=mf(e).scrollLeft;return t?t.left+r:Yi(Fr(e)).left+r}function dx(e,t){const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-pf(e,r),o=r.top+t.scrollTop;return{x:i,y:o}}function z3(e){let{elements:t,rect:r,offsetParent:i,strategy:o}=e;const u=o==="fixed",c=Fr(i),h=t?hf(t.floating):!1;if(i===c||h&&u)return r;let p={scrollLeft:0,scrollTop:0},m=Lr(1);const y=Lr(0),g=Vr(i);if((g||!g&&!u)&&((lo(i)!=="body"||kl(c))&&(p=mf(i)),Vr(i))){const T=Yi(i);m=Xs(i),y.x=T.x+i.clientLeft,y.y=T.y+i.clientTop}const b=c&&!g&&!u?dx(c,p):Lr(0);return{width:r.width*m.x,height:r.height*m.y,x:r.x*m.x-p.scrollLeft*m.x+y.x+b.x,y:r.y*m.y-p.scrollTop*m.y+y.y+b.y}}function j3(e){return Array.from(e.getClientRects())}function U3(e){const t=Fr(e),r=mf(e),i=e.ownerDocument.body,o=$n(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),u=$n(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let c=-r.scrollLeft+pf(e);const h=-r.scrollTop;return wr(i).direction==="rtl"&&(c+=$n(t.clientWidth,i.clientWidth)-o),{width:o,height:u,x:c,y:h}}const T1=25;function L3(e,t){const r=Zn(e),i=Fr(e),o=r.visualViewport;let u=i.clientWidth,c=i.clientHeight,h=0,p=0;if(o){u=o.width,c=o.height;const y=qp();(!y||y&&t==="fixed")&&(h=o.offsetLeft,p=o.offsetTop)}const m=pf(i);if(m<=0){const y=i.ownerDocument,g=y.body,b=getComputedStyle(g),T=y.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,x=Math.abs(i.clientWidth-g.clientWidth-T);x<=T1&&(u-=x)}else m<=T1&&(u+=m);return{width:u,height:c,x:h,y:p}}const Y3=new Set(["absolute","fixed"]);function H3(e,t){const r=Yi(e,!0,t==="fixed"),i=r.top+e.clientTop,o=r.left+e.clientLeft,u=Vr(e)?Xs(e):Lr(1),c=e.clientWidth*u.x,h=e.clientHeight*u.y,p=o*u.x,m=i*u.y;return{width:c,height:h,x:p,y:m}}function O1(e,t,r){let i;if(t==="viewport")i=L3(e,r);else if(t==="document")i=U3(Fr(e));else if(_r(t))i=H3(t,r);else{const o=fx(e);i={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return zc(i)}function hx(e,t){const r=si(e);return r===t||!_r(r)||Js(r)?!1:wr(r).position==="fixed"||hx(r,t)}function V3(e,t){const r=t.get(e);if(r)return r;let i=vl(e,[],!1).filter(h=>_r(h)&&lo(h)!=="body"),o=null;const u=wr(e).position==="fixed";let c=u?si(e):e;for(;_r(c)&&!Js(c);){const h=wr(c),p=Gp(c);!p&&h.position==="fixed"&&(o=null),(u?!p&&!o:!p&&h.position==="static"&&!!o&&Y3.has(o.position)||kl(c)&&!p&&hx(e,c))?i=i.filter(y=>y!==c):o=h,c=si(c)}return t.set(e,i),i}function B3(e){let{element:t,boundary:r,rootBoundary:i,strategy:o}=e;const c=[...r==="clippingAncestors"?hf(t)?[]:V3(t,this._c):[].concat(r),i],h=c[0],p=c.reduce((m,y)=>{const g=O1(t,y,o);return m.top=$n(g.top,m.top),m.right=ii(g.right,m.right),m.bottom=ii(g.bottom,m.bottom),m.left=$n(g.left,m.left),m},O1(t,h,o));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function $3(e){const{width:t,height:r}=cx(e);return{width:t,height:r}}function F3(e,t,r){const i=Vr(t),o=Fr(t),u=r==="fixed",c=Yi(e,!0,u,t);let h={scrollLeft:0,scrollTop:0};const p=Lr(0);function m(){p.x=pf(o)}if(i||!i&&!u)if((lo(t)!=="body"||kl(o))&&(h=mf(t)),i){const T=Yi(t,!0,u,t);p.x=T.x+t.clientLeft,p.y=T.y+t.clientTop}else o&&m();u&&!i&&o&&m();const y=o&&!i&&!u?dx(o,h):Lr(0),g=c.left+h.scrollLeft-p.x-y.x,b=c.top+h.scrollTop-p.y-y.y;return{x:g,y:b,width:c.width,height:c.height}}function fm(e){return wr(e).position==="static"}function A1(e,t){if(!Vr(e)||wr(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Fr(e)===r&&(r=r.ownerDocument.body),r}function mx(e,t){const r=Zn(e);if(hf(e))return r;if(!Vr(e)){let o=si(e);for(;o&&!Js(o);){if(_r(o)&&!fm(o))return o;o=si(o)}return r}let i=A1(e,t);for(;i&&T3(i)&&fm(i);)i=A1(i,t);return i&&Js(i)&&fm(i)&&!Gp(i)?r:i||M3(e)||r}const Z3=async function(e){const t=this.getOffsetParent||mx,r=this.getDimensions,i=await r(e.floating);return{reference:F3(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function P3(e){return wr(e).direction==="rtl"}const G3={convertOffsetParentRelativeRectToViewportRelativeRect:z3,getDocumentElement:Fr,getClippingRect:B3,getOffsetParent:mx,getElementRects:Z3,getClientRects:j3,getDimensions:$3,getScale:Xs,isElement:_r,isRTL:P3};function px(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function q3(e,t){let r=null,i;const o=Fr(e);function u(){var h;clearTimeout(i),(h=r)==null||h.disconnect(),r=null}function c(h,p){h===void 0&&(h=!1),p===void 0&&(p=1),u();const m=e.getBoundingClientRect(),{left:y,top:g,width:b,height:T}=m;if(h||t(),!b||!T)return;const x=ic(g),E=ic(o.clientWidth-(y+b)),O=ic(o.clientHeight-(g+T)),D=ic(y),j={rootMargin:-x+"px "+-E+"px "+-O+"px "+-D+"px",threshold:$n(0,ii(1,p))||1};let k=!0;function Y(J){const F=J[0].intersectionRatio;if(F!==p){if(!k)return c();F?c(!1,F):i=setTimeout(()=>{c(!1,1e-7)},1e3)}F===1&&!px(m,e.getBoundingClientRect())&&c(),k=!1}try{r=new IntersectionObserver(Y,{...j,root:o.ownerDocument})}catch{r=new IntersectionObserver(Y,j)}r.observe(e)}return c(!0),u}function I3(e,t,r,i){i===void 0&&(i={});const{ancestorScroll:o=!0,ancestorResize:u=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:p=!1}=i,m=Ip(e),y=o||u?[...m?vl(m):[],...vl(t)]:[];y.forEach(D=>{o&&D.addEventListener("scroll",r,{passive:!0}),u&&D.addEventListener("resize",r)});const g=m&&h?q3(m,r):null;let b=-1,T=null;c&&(T=new ResizeObserver(D=>{let[U]=D;U&&U.target===m&&T&&(T.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var j;(j=T)==null||j.observe(t)})),r()}),m&&!p&&T.observe(m),T.observe(t));let x,E=p?Yi(e):null;p&&O();function O(){const D=Yi(e);E&&!px(E,D)&&r(),E=D,x=requestAnimationFrame(O)}return r(),()=>{var D;y.forEach(U=>{o&&U.removeEventListener("scroll",r),u&&U.removeEventListener("resize",r)}),g?.(),(D=T)==null||D.disconnect(),T=null,p&&cancelAnimationFrame(x)}}const X3=b3,W3=_3,K3=g3,Q3=S3,J3=y3,C1=p3,ej=w3,tj=(e,t,r)=>{const i=new Map,o={platform:G3,...r},u={...o.platform,_c:i};return m3(e,t,{...o,platform:u})};var nj=typeof document<"u",rj=function(){},wc=nj?_.useLayoutEffect:rj;function jc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,i,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(i=r;i--!==0;)if(!jc(e[i],t[i]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(i=r;i--!==0;)if(!{}.hasOwnProperty.call(t,o[i]))return!1;for(i=r;i--!==0;){const u=o[i];if(!(u==="_owner"&&e.$$typeof)&&!jc(e[u],t[u]))return!1}return!0}return e!==e&&t!==t}function gx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function D1(e,t){const r=gx(e);return Math.round(t*r)/r}function dm(e){const t=_.useRef(e);return wc(()=>{t.current=e}),t}function aj(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:u,floating:c}={},transform:h=!0,whileElementsMounted:p,open:m}=e,[y,g]=_.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[b,T]=_.useState(i);jc(b,i)||T(i);const[x,E]=_.useState(null),[O,D]=_.useState(null),U=_.useCallback(L=>{L!==J.current&&(J.current=L,E(L))},[]),j=_.useCallback(L=>{L!==F.current&&(F.current=L,D(L))},[]),k=u||x,Y=c||O,J=_.useRef(null),F=_.useRef(null),Q=_.useRef(y),he=p!=null,_e=dm(p),we=dm(o),ie=dm(m),ue=_.useCallback(()=>{if(!J.current||!F.current)return;const L={placement:t,strategy:r,middleware:b};we.current&&(L.platform=we.current),tj(J.current,F.current,L).then(re=>{const ve={...re,isPositioned:ie.current!==!1};fe.current&&!jc(Q.current,ve)&&(Q.current=ve,Wm.flushSync(()=>{g(ve)}))})},[b,t,r,we,ie]);wc(()=>{m===!1&&Q.current.isPositioned&&(Q.current.isPositioned=!1,g(L=>({...L,isPositioned:!1})))},[m]);const fe=_.useRef(!1);wc(()=>(fe.current=!0,()=>{fe.current=!1}),[]),wc(()=>{if(k&&(J.current=k),Y&&(F.current=Y),k&&Y){if(_e.current)return _e.current(k,Y,ue);ue()}},[k,Y,ue,_e,he]);const ye=_.useMemo(()=>({reference:J,floating:F,setReference:U,setFloating:j}),[U,j]),M=_.useMemo(()=>({reference:k,floating:Y}),[k,Y]),I=_.useMemo(()=>{const L={position:r,left:0,top:0};if(!M.floating)return L;const re=D1(M.floating,y.x),ve=D1(M.floating,y.y);return h?{...L,transform:"translate("+re+"px, "+ve+"px)",...gx(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:re,top:ve}},[r,h,M.floating,y.x,y.y]);return _.useMemo(()=>({...y,update:ue,refs:ye,elements:M,floatingStyles:I}),[y,ue,ye,M,I])}const ij=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:i,padding:o}=typeof e=="function"?e(r):e;return i&&t(i)?i.current!=null?C1({element:i.current,padding:o}).fn(r):{}:i?C1({element:i,padding:o}).fn(r):{}}}},sj=(e,t)=>({...X3(e),options:[e,t]}),oj=(e,t)=>({...W3(e),options:[e,t]}),lj=(e,t)=>({...ej(e),options:[e,t]}),uj=(e,t)=>({...K3(e),options:[e,t]}),cj=(e,t)=>({...Q3(e),options:[e,t]}),fj=(e,t)=>({...J3(e),options:[e,t]}),dj=(e,t)=>({...ij(e),options:[e,t]});var hj="Arrow",yx=_.forwardRef((e,t)=>{const{children:r,width:i=10,height:o=5,...u}=e;return w.jsx(_t.svg,{...u,ref:t,width:i,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});yx.displayName=hj;var mj=yx;function pj(e){const[t,r]=_.useState(void 0);return yr(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let c,h;if("borderBoxSize"in u){const p=u.borderBoxSize,m=Array.isArray(p)?p[0]:p;c=m.inlineSize,h=m.blockSize}else c=e.offsetWidth,h=e.offsetHeight;r({width:c,height:h})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else r(void 0)},[e]),t}var Xp="Popper",[vx,bx]=Bi(Xp),[gj,_x]=vx(Xp),wx=e=>{const{__scopePopper:t,children:r}=e,[i,o]=_.useState(null);return w.jsx(gj,{scope:t,anchor:i,onAnchorChange:o,children:r})};wx.displayName=Xp;var Sx="PopperAnchor",xx=_.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:i,...o}=e,u=_x(Sx,r),c=_.useRef(null),h=an(t,c),p=_.useRef(null);return _.useEffect(()=>{const m=p.current;p.current=i?.current||c.current,m!==p.current&&u.onAnchorChange(p.current)}),i?null:w.jsx(_t.div,{...o,ref:h})});xx.displayName=Sx;var Wp="PopperContent",[yj,vj]=vx(Wp),Ex=_.forwardRef((e,t)=>{const{__scopePopper:r,side:i="bottom",sideOffset:o=0,align:u="center",alignOffset:c=0,arrowPadding:h=0,avoidCollisions:p=!0,collisionBoundary:m=[],collisionPadding:y=0,sticky:g="partial",hideWhenDetached:b=!1,updatePositionStrategy:T="optimized",onPlaced:x,...E}=e,O=_x(Wp,r),[D,U]=_.useState(null),j=an(t,de=>U(de)),[k,Y]=_.useState(null),J=pj(k),F=J?.width??0,Q=J?.height??0,he=i+(u!=="center"?"-"+u:""),_e=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},we=Array.isArray(m)?m:[m],ie=we.length>0,ue={padding:_e,boundary:we.filter(_j),altBoundary:ie},{refs:fe,floatingStyles:ye,placement:M,isPositioned:I,middlewareData:L}=aj({strategy:"fixed",placement:he,whileElementsMounted:(...de)=>I3(...de,{animationFrame:T==="always"}),elements:{reference:O.anchor},middleware:[sj({mainAxis:o+Q,alignmentAxis:c}),p&&oj({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?lj():void 0,...ue}),p&&uj({...ue}),cj({...ue,apply:({elements:de,rects:Me,availableWidth:Be,availableHeight:Ct})=>{const{width:Qt,height:kt}=Me.reference,or=de.floating.style;or.setProperty("--radix-popper-available-width",`${Be}px`),or.setProperty("--radix-popper-available-height",`${Ct}px`),or.setProperty("--radix-popper-anchor-width",`${Qt}px`),or.setProperty("--radix-popper-anchor-height",`${kt}px`)}}),k&&dj({element:k,padding:h}),wj({arrowWidth:F,arrowHeight:Q}),b&&fj({strategy:"referenceHidden",...ue})]}),[re,ve]=Ax(M),A=Yr(x);yr(()=>{I&&A?.()},[I,A]);const q=L.arrow?.x,X=L.arrow?.y,ne=L.arrow?.centerOffset!==0,[ce,Te]=_.useState();return yr(()=>{D&&Te(window.getComputedStyle(D).zIndex)},[D]),w.jsx("div",{ref:fe.setFloating,"data-radix-popper-content-wrapper":"",style:{...ye,transform:I?ye.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[L.transformOrigin?.x,L.transformOrigin?.y].join(" "),...L.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(yj,{scope:r,placedSide:re,onArrowChange:Y,arrowX:q,arrowY:X,shouldHideArrow:ne,children:w.jsx(_t.div,{"data-side":re,"data-align":ve,...E,ref:j,style:{...E.style,animation:I?void 0:"none"}})})})});Ex.displayName=Wp;var Tx="PopperArrow",bj={top:"bottom",right:"left",bottom:"top",left:"right"},Ox=_.forwardRef(function(t,r){const{__scopePopper:i,...o}=t,u=vj(Tx,i),c=bj[u.placedSide];return w.jsx("span",{ref:u.onArrowChange,style:{position:"absolute",left:u.arrowX,top:u.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[u.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[u.placedSide],visibility:u.shouldHideArrow?"hidden":void 0},children:w.jsx(mj,{...o,ref:r,style:{...o.style,display:"block"}})})});Ox.displayName=Tx;function _j(e){return e!==null}var wj=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:i,middlewareData:o}=t,c=o.arrow?.centerOffset!==0,h=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[m,y]=Ax(r),g={start:"0%",center:"50%",end:"100%"}[y],b=(o.arrow?.x??0)+h/2,T=(o.arrow?.y??0)+p/2;let x="",E="";return m==="bottom"?(x=c?g:`${b}px`,E=`${-p}px`):m==="top"?(x=c?g:`${b}px`,E=`${i.floating.height+p}px`):m==="right"?(x=`${-p}px`,E=c?g:`${T}px`):m==="left"&&(x=`${i.floating.width+p}px`,E=c?g:`${T}px`),{data:{x,y:E}}}});function Ax(e){const[t,r="center"]=e.split("-");return[t,r]}var Sj=wx,xj=xx,Ej=Ex,Tj=Ox;function Oj(e){const t=Aj(e),r=_.forwardRef((i,o)=>{const{children:u,...c}=i,h=_.Children.toArray(u),p=h.find(Dj);if(p){const m=p.props.children,y=h.map(g=>g===p?_.Children.count(m)>1?_.Children.only(null):_.isValidElement(m)?m.props.children:null:g);return w.jsx(t,{...c,ref:o,children:_.isValidElement(m)?_.cloneElement(m,void 0,y):null})}return w.jsx(t,{...c,ref:o,children:u})});return r.displayName=`${e}.Slot`,r}function Aj(e){const t=_.forwardRef((r,i)=>{const{children:o,...u}=r;if(_.isValidElement(o)){const c=Rj(o),h=Mj(u,o.props);return o.type!==_.Fragment&&(h.ref=i?oi(i,c):c),_.cloneElement(o,h)}return _.Children.count(o)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Cj=Symbol("radix.slottable");function Dj(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Cj}function Mj(e,t){const r={...t};for(const i in t){const o=e[i],u=t[i];/^on[A-Z]/.test(i)?o&&u?r[i]=(...h)=>{const p=u(...h);return o(...h),p}:o&&(r[i]=o):i==="style"?r[i]={...o,...u}:i==="className"&&(r[i]=[o,u].filter(Boolean).join(" "))}return{...e,...r}}function Rj(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Vm=["Enter"," "],Nj=["ArrowDown","PageUp","Home"],Cx=["ArrowUp","PageDown","End"],kj=[...Nj,...Cx],zj={ltr:[...Vm,"ArrowRight"],rtl:[...Vm,"ArrowLeft"]},jj={ltr:["ArrowLeft"],rtl:["ArrowRight"]},zl="Menu",[bl,Uj,Lj]=NS(zl),[Fi,Dx]=Bi(zl,[Lj,bx,cf]),gf=bx(),Mx=cf(),[Yj,Zi]=Fi(zl),[Hj,jl]=Fi(zl),Rx=e=>{const{__scopeMenu:t,open:r=!1,children:i,dir:o,onOpenChange:u,modal:c=!0}=e,h=gf(t),[p,m]=_.useState(null),y=_.useRef(!1),g=Yr(u),b=Hp(o);return _.useEffect(()=>{const T=()=>{y.current=!0,document.addEventListener("pointerdown",x,{capture:!0,once:!0}),document.addEventListener("pointermove",x,{capture:!0,once:!0})},x=()=>y.current=!1;return document.addEventListener("keydown",T,{capture:!0}),()=>{document.removeEventListener("keydown",T,{capture:!0}),document.removeEventListener("pointerdown",x,{capture:!0}),document.removeEventListener("pointermove",x,{capture:!0})}},[]),w.jsx(Sj,{...h,children:w.jsx(Yj,{scope:t,open:r,onOpenChange:g,content:p,onContentChange:m,children:w.jsx(Hj,{scope:t,onClose:_.useCallback(()=>g(!1),[g]),isUsingKeyboardRef:y,dir:b,modal:c,children:i})})})};Rx.displayName=zl;var Vj="MenuAnchor",Kp=_.forwardRef((e,t)=>{const{__scopeMenu:r,...i}=e,o=gf(r);return w.jsx(xj,{...o,...i,ref:t})});Kp.displayName=Vj;var Qp="MenuPortal",[Bj,Nx]=Fi(Qp,{forceMount:void 0}),kx=e=>{const{__scopeMenu:t,forceMount:r,children:i,container:o}=e,u=Zi(Qp,t);return w.jsx(Bj,{scope:t,forceMount:r,children:w.jsx(Sa,{present:r||u.open,children:w.jsx(Jm,{asChild:!0,container:o,children:i})})})};kx.displayName=Qp;var rr="MenuContent",[$j,Jp]=Fi(rr),zx=_.forwardRef((e,t)=>{const r=Nx(rr,e.__scopeMenu),{forceMount:i=r.forceMount,...o}=e,u=Zi(rr,e.__scopeMenu),c=jl(rr,e.__scopeMenu);return w.jsx(bl.Provider,{scope:e.__scopeMenu,children:w.jsx(Sa,{present:i||u.open,children:w.jsx(bl.Slot,{scope:e.__scopeMenu,children:c.modal?w.jsx(Fj,{...o,ref:t}):w.jsx(Zj,{...o,ref:t})})})})}),Fj=_.forwardRef((e,t)=>{const r=Zi(rr,e.__scopeMenu),i=_.useRef(null),o=an(t,i);return _.useEffect(()=>{const u=i.current;if(u)return C_(u)},[]),w.jsx(eg,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:Le(e.onFocusOutside,u=>u.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),Zj=_.forwardRef((e,t)=>{const r=Zi(rr,e.__scopeMenu);return w.jsx(eg,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),Pj=Oj("MenuContent.ScrollLock"),eg=_.forwardRef((e,t)=>{const{__scopeMenu:r,loop:i=!1,trapFocus:o,onOpenAutoFocus:u,onCloseAutoFocus:c,disableOutsidePointerEvents:h,onEntryFocus:p,onEscapeKeyDown:m,onPointerDownOutside:y,onFocusOutside:g,onInteractOutside:b,onDismiss:T,disableOutsideScroll:x,...E}=e,O=Zi(rr,r),D=jl(rr,r),U=gf(r),j=Mx(r),k=Uj(r),[Y,J]=_.useState(null),F=_.useRef(null),Q=an(t,F,O.onContentChange),he=_.useRef(0),_e=_.useRef(""),we=_.useRef(0),ie=_.useRef(null),ue=_.useRef("right"),fe=_.useRef(0),ye=x?ep:_.Fragment,M=x?{as:Pj,allowPinchZoom:!0}:void 0,I=re=>{const ve=_e.current+re,A=k().filter(de=>!de.disabled),q=document.activeElement,X=A.find(de=>de.ref.current===q)?.textValue,ne=A.map(de=>de.textValue),ce=r6(ne,ve,X),Te=A.find(de=>de.textValue===ce)?.ref.current;(function de(Me){_e.current=Me,window.clearTimeout(he.current),Me!==""&&(he.current=window.setTimeout(()=>de(""),1e3))})(ve),Te&&setTimeout(()=>Te.focus())};_.useEffect(()=>()=>window.clearTimeout(he.current),[]),b_();const L=_.useCallback(re=>ue.current===ie.current?.side&&i6(re,ie.current?.area),[]);return w.jsx($j,{scope:r,searchRef:_e,onItemEnter:_.useCallback(re=>{L(re)&&re.preventDefault()},[L]),onItemLeave:_.useCallback(re=>{L(re)||(F.current?.focus(),J(null))},[L]),onTriggerLeave:_.useCallback(re=>{L(re)&&re.preventDefault()},[L]),pointerGraceTimerRef:we,onPointerGraceIntentChange:_.useCallback(re=>{ie.current=re},[]),children:w.jsx(ye,{...M,children:w.jsx(Qm,{asChild:!0,trapped:o,onMountAutoFocus:Le(u,re=>{re.preventDefault(),F.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:w.jsx(Km,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:m,onPointerDownOutside:y,onFocusOutside:g,onInteractOutside:b,onDismiss:T,children:w.jsx(YS,{asChild:!0,...j,dir:D.dir,orientation:"vertical",loop:i,currentTabStopId:Y,onCurrentTabStopIdChange:J,onEntryFocus:Le(p,re=>{D.isUsingKeyboardRef.current||re.preventDefault()}),preventScrollOnEntryFocus:!0,children:w.jsx(Ej,{role:"menu","aria-orientation":"vertical","data-state":Wx(O.open),"data-radix-menu-content":"",dir:D.dir,...U,...E,ref:Q,style:{outline:"none",...E.style},onKeyDown:Le(E.onKeyDown,re=>{const A=re.target.closest("[data-radix-menu-content]")===re.currentTarget,q=re.ctrlKey||re.altKey||re.metaKey,X=re.key.length===1;A&&(re.key==="Tab"&&re.preventDefault(),!q&&X&&I(re.key));const ne=F.current;if(re.target!==ne||!kj.includes(re.key))return;re.preventDefault();const Te=k().filter(de=>!de.disabled).map(de=>de.ref.current);Cx.includes(re.key)&&Te.reverse(),t6(Te)}),onBlur:Le(e.onBlur,re=>{re.currentTarget.contains(re.target)||(window.clearTimeout(he.current),_e.current="")}),onPointerMove:Le(e.onPointerMove,_l(re=>{const ve=re.target,A=fe.current!==re.clientX;if(re.currentTarget.contains(ve)&&A){const q=re.clientX>fe.current?"right":"left";ue.current=q,fe.current=re.clientX}}))})})})})})})});zx.displayName=rr;var Gj="MenuGroup",tg=_.forwardRef((e,t)=>{const{__scopeMenu:r,...i}=e;return w.jsx(_t.div,{role:"group",...i,ref:t})});tg.displayName=Gj;var qj="MenuLabel",jx=_.forwardRef((e,t)=>{const{__scopeMenu:r,...i}=e;return w.jsx(_t.div,{...i,ref:t})});jx.displayName=qj;var Uc="MenuItem",M1="menu.itemSelect",yf=_.forwardRef((e,t)=>{const{disabled:r=!1,onSelect:i,...o}=e,u=_.useRef(null),c=jl(Uc,e.__scopeMenu),h=Jp(Uc,e.__scopeMenu),p=an(t,u),m=_.useRef(!1),y=()=>{const g=u.current;if(!r&&g){const b=new CustomEvent(M1,{bubbles:!0,cancelable:!0});g.addEventListener(M1,T=>i?.(T),{once:!0}),p_(g,b),b.defaultPrevented?m.current=!1:c.onClose()}};return w.jsx(Ux,{...o,ref:p,disabled:r,onClick:Le(e.onClick,y),onPointerDown:g=>{e.onPointerDown?.(g),m.current=!0},onPointerUp:Le(e.onPointerUp,g=>{m.current||g.currentTarget?.click()}),onKeyDown:Le(e.onKeyDown,g=>{const b=h.searchRef.current!=="";r||b&&g.key===" "||Vm.includes(g.key)&&(g.currentTarget.click(),g.preventDefault())})})});yf.displayName=Uc;var Ux=_.forwardRef((e,t)=>{const{__scopeMenu:r,disabled:i=!1,textValue:o,...u}=e,c=Jp(Uc,r),h=Mx(r),p=_.useRef(null),m=an(t,p),[y,g]=_.useState(!1),[b,T]=_.useState("");return _.useEffect(()=>{const x=p.current;x&&T((x.textContent??"").trim())},[u.children]),w.jsx(bl.ItemSlot,{scope:r,disabled:i,textValue:o??b,children:w.jsx(HS,{asChild:!0,...h,focusable:!i,children:w.jsx(_t.div,{role:"menuitem","data-highlighted":y?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...u,ref:m,onPointerMove:Le(e.onPointerMove,_l(x=>{i?c.onItemLeave(x):(c.onItemEnter(x),x.defaultPrevented||x.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Le(e.onPointerLeave,_l(x=>c.onItemLeave(x))),onFocus:Le(e.onFocus,()=>g(!0)),onBlur:Le(e.onBlur,()=>g(!1))})})})}),Ij="MenuCheckboxItem",Lx=_.forwardRef((e,t)=>{const{checked:r=!1,onCheckedChange:i,...o}=e;return w.jsx($x,{scope:e.__scopeMenu,checked:r,children:w.jsx(yf,{role:"menuitemcheckbox","aria-checked":Lc(r)?"mixed":r,...o,ref:t,"data-state":rg(r),onSelect:Le(o.onSelect,()=>i?.(Lc(r)?!0:!r),{checkForDefaultPrevented:!1})})})});Lx.displayName=Ij;var Yx="MenuRadioGroup",[Xj,Wj]=Fi(Yx,{value:void 0,onValueChange:()=>{}}),Hx=_.forwardRef((e,t)=>{const{value:r,onValueChange:i,...o}=e,u=Yr(i);return w.jsx(Xj,{scope:e.__scopeMenu,value:r,onValueChange:u,children:w.jsx(tg,{...o,ref:t})})});Hx.displayName=Yx;var Vx="MenuRadioItem",Bx=_.forwardRef((e,t)=>{const{value:r,...i}=e,o=Wj(Vx,e.__scopeMenu),u=r===o.value;return w.jsx($x,{scope:e.__scopeMenu,checked:u,children:w.jsx(yf,{role:"menuitemradio","aria-checked":u,...i,ref:t,"data-state":rg(u),onSelect:Le(i.onSelect,()=>o.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});Bx.displayName=Vx;var ng="MenuItemIndicator",[$x,Kj]=Fi(ng,{checked:!1}),Fx=_.forwardRef((e,t)=>{const{__scopeMenu:r,forceMount:i,...o}=e,u=Kj(ng,r);return w.jsx(Sa,{present:i||Lc(u.checked)||u.checked===!0,children:w.jsx(_t.span,{...o,ref:t,"data-state":rg(u.checked)})})});Fx.displayName=ng;var Qj="MenuSeparator",Zx=_.forwardRef((e,t)=>{const{__scopeMenu:r,...i}=e;return w.jsx(_t.div,{role:"separator","aria-orientation":"horizontal",...i,ref:t})});Zx.displayName=Qj;var Jj="MenuArrow",Px=_.forwardRef((e,t)=>{const{__scopeMenu:r,...i}=e,o=gf(r);return w.jsx(Tj,{...o,...i,ref:t})});Px.displayName=Jj;var e6="MenuSub",[IY,Gx]=Fi(e6),ul="MenuSubTrigger",qx=_.forwardRef((e,t)=>{const r=Zi(ul,e.__scopeMenu),i=jl(ul,e.__scopeMenu),o=Gx(ul,e.__scopeMenu),u=Jp(ul,e.__scopeMenu),c=_.useRef(null),{pointerGraceTimerRef:h,onPointerGraceIntentChange:p}=u,m={__scopeMenu:e.__scopeMenu},y=_.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return _.useEffect(()=>y,[y]),_.useEffect(()=>{const g=h.current;return()=>{window.clearTimeout(g),p(null)}},[h,p]),w.jsx(Kp,{asChild:!0,...m,children:w.jsx(Ux,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":Wx(r.open),...e,ref:oi(t,o.onTriggerChange),onClick:g=>{e.onClick?.(g),!(e.disabled||g.defaultPrevented)&&(g.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:Le(e.onPointerMove,_l(g=>{u.onItemEnter(g),!g.defaultPrevented&&!e.disabled&&!r.open&&!c.current&&(u.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{r.onOpenChange(!0),y()},100))})),onPointerLeave:Le(e.onPointerLeave,_l(g=>{y();const b=r.content?.getBoundingClientRect();if(b){const T=r.content?.dataset.side,x=T==="right",E=x?-5:5,O=b[x?"left":"right"],D=b[x?"right":"left"];u.onPointerGraceIntentChange({area:[{x:g.clientX+E,y:g.clientY},{x:O,y:b.top},{x:D,y:b.top},{x:D,y:b.bottom},{x:O,y:b.bottom}],side:T}),window.clearTimeout(h.current),h.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(g),g.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:Le(e.onKeyDown,g=>{const b=u.searchRef.current!=="";e.disabled||b&&g.key===" "||zj[i.dir].includes(g.key)&&(r.onOpenChange(!0),r.content?.focus(),g.preventDefault())})})})});qx.displayName=ul;var Ix="MenuSubContent",Xx=_.forwardRef((e,t)=>{const r=Nx(rr,e.__scopeMenu),{forceMount:i=r.forceMount,...o}=e,u=Zi(rr,e.__scopeMenu),c=jl(rr,e.__scopeMenu),h=Gx(Ix,e.__scopeMenu),p=_.useRef(null),m=an(t,p);return w.jsx(bl.Provider,{scope:e.__scopeMenu,children:w.jsx(Sa,{present:i||u.open,children:w.jsx(bl.Slot,{scope:e.__scopeMenu,children:w.jsx(eg,{id:h.contentId,"aria-labelledby":h.triggerId,...o,ref:m,align:"start",side:c.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:y=>{c.isUsingKeyboardRef.current&&p.current?.focus(),y.preventDefault()},onCloseAutoFocus:y=>y.preventDefault(),onFocusOutside:Le(e.onFocusOutside,y=>{y.target!==h.trigger&&u.onOpenChange(!1)}),onEscapeKeyDown:Le(e.onEscapeKeyDown,y=>{c.onClose(),y.preventDefault()}),onKeyDown:Le(e.onKeyDown,y=>{const g=y.currentTarget.contains(y.target),b=jj[c.dir].includes(y.key);g&&b&&(u.onOpenChange(!1),h.trigger?.focus(),y.preventDefault())})})})})})});Xx.displayName=Ix;function Wx(e){return e?"open":"closed"}function Lc(e){return e==="indeterminate"}function rg(e){return Lc(e)?"indeterminate":e?"checked":"unchecked"}function t6(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function n6(e,t){return e.map((r,i)=>e[(t+i)%e.length])}function r6(e,t,r){const o=t.length>1&&Array.from(t).every(m=>m===t[0])?t[0]:t,u=r?e.indexOf(r):-1;let c=n6(e,Math.max(u,0));o.length===1&&(c=c.filter(m=>m!==r));const p=c.find(m=>m.toLowerCase().startsWith(o.toLowerCase()));return p!==r?p:void 0}function a6(e,t){const{x:r,y:i}=e;let o=!1;for(let u=0,c=t.length-1;ui!=b>i&&r<(g-m)*(i-y)/(b-y)+m&&(o=!o)}return o}function i6(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return a6(r,t)}function _l(e){return t=>t.pointerType==="mouse"?e(t):void 0}var s6=Rx,o6=Kp,l6=kx,u6=zx,c6=tg,f6=jx,d6=yf,h6=Lx,m6=Hx,p6=Bx,g6=Fx,y6=Zx,v6=Px,b6=qx,_6=Xx,vf="DropdownMenu",[w6]=Bi(vf,[Dx]),mn=Dx(),[S6,Kx]=w6(vf),Qx=e=>{const{__scopeDropdownMenu:t,children:r,dir:i,open:o,defaultOpen:u,onOpenChange:c,modal:h=!0}=e,p=mn(t),m=_.useRef(null),[y,g]=Zc({prop:o,defaultProp:u??!1,onChange:c,caller:vf});return w.jsx(S6,{scope:t,triggerId:ki(),triggerRef:m,contentId:ki(),open:y,onOpenChange:g,onOpenToggle:_.useCallback(()=>g(b=>!b),[g]),modal:h,children:w.jsx(s6,{...p,open:y,onOpenChange:g,dir:i,modal:h,children:r})})};Qx.displayName=vf;var Jx="DropdownMenuTrigger",eE=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,disabled:i=!1,...o}=e,u=Kx(Jx,r),c=mn(r);return w.jsx(o6,{asChild:!0,...c,children:w.jsx(_t.button,{type:"button",id:u.triggerId,"aria-haspopup":"menu","aria-expanded":u.open,"aria-controls":u.open?u.contentId:void 0,"data-state":u.open?"open":"closed","data-disabled":i?"":void 0,disabled:i,...o,ref:oi(t,u.triggerRef),onPointerDown:Le(e.onPointerDown,h=>{!i&&h.button===0&&h.ctrlKey===!1&&(u.onOpenToggle(),u.open||h.preventDefault())}),onKeyDown:Le(e.onKeyDown,h=>{i||(["Enter"," "].includes(h.key)&&u.onOpenToggle(),h.key==="ArrowDown"&&u.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(h.key)&&h.preventDefault())})})})});eE.displayName=Jx;var x6="DropdownMenuPortal",tE=e=>{const{__scopeDropdownMenu:t,...r}=e,i=mn(t);return w.jsx(l6,{...i,...r})};tE.displayName=x6;var nE="DropdownMenuContent",rE=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=Kx(nE,r),u=mn(r),c=_.useRef(!1);return w.jsx(u6,{id:o.contentId,"aria-labelledby":o.triggerId,...u,...i,ref:t,onCloseAutoFocus:Le(e.onCloseAutoFocus,h=>{c.current||o.triggerRef.current?.focus(),c.current=!1,h.preventDefault()}),onInteractOutside:Le(e.onInteractOutside,h=>{const p=h.detail.originalEvent,m=p.button===0&&p.ctrlKey===!0,y=p.button===2||m;(!o.modal||y)&&(c.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rE.displayName=nE;var E6="DropdownMenuGroup",T6=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=mn(r);return w.jsx(c6,{...o,...i,ref:t})});T6.displayName=E6;var O6="DropdownMenuLabel",A6=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=mn(r);return w.jsx(f6,{...o,...i,ref:t})});A6.displayName=O6;var C6="DropdownMenuItem",aE=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=mn(r);return w.jsx(d6,{...o,...i,ref:t})});aE.displayName=C6;var D6="DropdownMenuCheckboxItem",M6=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=mn(r);return w.jsx(h6,{...o,...i,ref:t})});M6.displayName=D6;var R6="DropdownMenuRadioGroup",N6=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=mn(r);return w.jsx(m6,{...o,...i,ref:t})});N6.displayName=R6;var k6="DropdownMenuRadioItem",z6=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=mn(r);return w.jsx(p6,{...o,...i,ref:t})});z6.displayName=k6;var j6="DropdownMenuItemIndicator",U6=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=mn(r);return w.jsx(g6,{...o,...i,ref:t})});U6.displayName=j6;var L6="DropdownMenuSeparator",iE=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=mn(r);return w.jsx(y6,{...o,...i,ref:t})});iE.displayName=L6;var Y6="DropdownMenuArrow",H6=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=mn(r);return w.jsx(v6,{...o,...i,ref:t})});H6.displayName=Y6;var V6="DropdownMenuSubTrigger",B6=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=mn(r);return w.jsx(b6,{...o,...i,ref:t})});B6.displayName=V6;var $6="DropdownMenuSubContent",F6=_.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...i}=e,o=mn(r);return w.jsx(_6,{...o,...i,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});F6.displayName=$6;var Z6=Qx,P6=eE,G6=tE,q6=rE,I6=aE,X6=iE;function W6(e){const t=Ve.c(4);let r;t[0]!==e?({...r}=e,t[0]=e,t[1]=r):r=t[1];let i;return t[2]!==r?(i=w.jsx(Z6,{"data-slot":"dropdown-menu",...r}),t[2]=r,t[3]=i):i=t[3],i}function K6(e){const t=Ve.c(4);let r;t[0]!==e?({...r}=e,t[0]=e,t[1]=r):r=t[1];let i;return t[2]!==r?(i=w.jsx(P6,{"data-slot":"dropdown-menu-trigger",...r}),t[2]=r,t[3]=i):i=t[3],i}function Q6(e){const t=Ve.c(10);let r,i,o;t[0]!==e?({className:r,sideOffset:o,...i}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=o):(r=t[1],i=t[2],o=t[3]);const u=o===void 0?4:o;let c;t[4]!==r?(c=rt("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",r),t[4]=r,t[5]=c):c=t[5];let h;return t[6]!==i||t[7]!==u||t[8]!==c?(h=w.jsx(G6,{children:w.jsx(q6,{"data-slot":"dropdown-menu-content",sideOffset:u,className:c,...i})}),t[6]=i,t[7]=u,t[8]=c,t[9]=h):h=t[9],h}function hm(e){const t=Ve.c(12);let r,i,o,u;t[0]!==e?({className:r,inset:i,variant:u,...o}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=o,t[4]=u):(r=t[1],i=t[2],o=t[3],u=t[4]);const c=u===void 0?"default":u;let h;t[5]!==r?(h=rt("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),t[5]=r,t[6]=h):h=t[6];let p;return t[7]!==i||t[8]!==o||t[9]!==h||t[10]!==c?(p=w.jsx(I6,{"data-slot":"dropdown-menu-item","data-inset":i,"data-variant":c,className:h,...o}),t[7]=i,t[8]=o,t[9]=h,t[10]=c,t[11]=p):p=t[11],p}function J6(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("bg-border -mx-1 my-1 h-px",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(X6,{"data-slot":"dropdown-menu-separator",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}const sE=RS(e=>({currentUser:null,setCurrentUser:t=>e(()=>({currentUser:t}))}));function e5(e){const t=Ve.c(22),{value:r}=e;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=[],t[0]=i):i=t[0];const[o,u]=_.useState(i),{currentUser:c,setCurrentUser:h}=sE();let p;t[1]===Symbol.for("react.memo_cache_sentinel")?(p=async()=>{try{const{data:Y}=await Qs.users();u(Y)}catch(Y){console.log(Y)}},t[1]=p):p=t[1];const m=p;let y;t[2]!==c||t[3]!==h?(y=Y=>{c&&Y.id===c.id?h(null):h(Y)},t[2]=c,t[3]=h,t[4]=y):y=t[4];const g=y,b=a5,T=r5,x=n5;let E,O;t[5]===Symbol.for("react.memo_cache_sentinel")?(E=()=>{m()},O=[],t[5]=E,t[6]=O):(E=t[5],O=t[6]),_.useEffect(E,O);let D;if(t[7]!==c?.id||t[8]!==g||t[9]!==o){let Y;t[11]!==c?.id||t[12]!==g?(Y=J=>w.jsx(MS,{className:rt("p-4 cursor-pointer transition-all duration-200 hover:shadow-md hover:scale-[1.01] select-none",c?.id===J.id&&"bg-blue-50 dark:bg-blue-950 border-blue-500 shadow-md"),onClick:()=>g(J),children:w.jsxs("div",{className:"flex items-center gap-3",children:[w.jsxs(e3,{className:"size-12",children:[w.jsx(t3,{src:`https://ms.prology.net/image/storage/${J?.avatar}`||""}),w.jsxs(n3,{children:[" ",J.name.charAt(0)]})]}),w.jsxs("div",{className:"flex-1",children:[w.jsx("h4",{className:"font-semibold text-gray-900 dark:text-gray-100",children:J.name}),w.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:J.email})]}),w.jsxs(W6,{children:[w.jsx(K6,{asChild:!0,onClick:t5,children:w.jsxs(hn,{variant:"ghost",size:"icon",className:"h-8 w-8",children:[w.jsx(uC,{className:"h-4 w-4"}),w.jsx("span",{className:"sr-only",children:"Mở menu"})]})}),w.jsxs(Q6,{align:"end",className:"w-48",children:[w.jsxs(hm,{onClick:F=>x(J,F),children:[w.jsx(CC,{className:"mr-2 h-4 w-4"}),w.jsx("span",{children:"Xem chi tiết"})]}),w.jsxs(hm,{onClick:F=>b(J,F),children:[w.jsx(wC,{className:"mr-2 h-4 w-4"}),w.jsx("span",{children:"Chỉnh sửa"})]}),w.jsx(J6,{}),w.jsxs(hm,{onClick:F=>T(J,F),className:"text-red-600 focus:text-red-600 dark:text-red-400 dark:focus:text-red-400",children:[w.jsx(TC,{className:"mr-2 h-4 w-4"}),w.jsx("span",{children:"Xóa"})]})]})]})]})},J.id),t[11]=c?.id,t[12]=g,t[13]=Y):Y=t[13],D=o.map(Y),t[7]=c?.id,t[8]=g,t[9]=o,t[10]=D}else D=t[10];let U;t[14]!==D?(U=w.jsx("div",{className:"flex flex-col gap-2 flex-1 p-4 space-y-2 overflow-y-auto h-[90vh]",children:D}),t[14]=D,t[15]=U):U=t[15];let j;t[16]!==o.length?(j=o.length<=0&&w.jsxs("div",{className:"flex flex-col items-center justify-center h-full text-gray-400",children:[w.jsx(X_,{className:"size-16 mb-3"}),w.jsx("p",{children:"Chưa có dữ liệu điểm danh"})]}),t[16]=o.length,t[17]=j):j=t[17];let k;return t[18]!==U||t[19]!==j||t[20]!==r?(k=w.jsxs(JS,{value:r,className:"",children:[U,j]}),t[18]=U,t[19]=j,t[20]=r,t[21]=k):k=t[21],k}function t5(e){return e.stopPropagation()}function n5(e,t){t.stopPropagation(),console.log("View details:",e)}function r5(e,t){t.stopPropagation(),console.log("Delete user:",e)}function a5(e,t){t.stopPropagation(),console.log("Edit user:",e)}function i5(e){const t=Ve.c(5),{isSidebarOpen:r}=e,i=r?"translate-x-0":"-translate-x-full";let o;t[0]!==i?(o=rt("fixed left-0 top-0 h-screen w-96 bg-white border-r border-gray-200 shadow-xl transition-transform duration-300 ease-in-out z-10",i),t[0]=i,t[1]=o):o=t[1];let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u=w.jsx("div",{className:"h-full flex flex-col",children:w.jsxs(WS,{defaultValue:"users",className:"flex-1 flex flex-col",children:[w.jsx("div",{className:"border-b p-4",children:w.jsx(KS,{className:"grid w-full grid-cols-1",children:w.jsxs(QS,{value:"users",className:"flex items-center gap-1 text-xs",children:[w.jsx(X_,{className:"size-3.5"}),"User"]})})}),w.jsx(e5,{value:"users"})]})}),t[2]=u):u=t[2];let c;return t[3]!==o?(c=w.jsx("div",{className:o,children:u}),t[3]=o,t[4]=c):c=t[4],c}const s5=aS("inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function o5(e){const t=Ve.c(12);let r,i,o,u;t[0]!==e?({className:r,variant:u,asChild:o,...i}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=o,t[4]=u):(r=t[1],i=t[2],o=t[3],u=t[4]);const h=(o===void 0?!1:o)?zp:"span";let p;t[5]!==r||t[6]!==u?(p=rt(s5({variant:u}),r),t[5]=r,t[6]=u,t[7]=p):p=t[7];let m;return t[8]!==h||t[9]!==i||t[10]!==p?(m=w.jsx(h,{"data-slot":"badge",className:p,...i}),t[8]=h,t[9]=i,t[10]=p,t[11]=m):m=t[11],m}function l5({value:e}){const[t,r]=_.useState([]),{refreshLog:i,setRefreshLog:o}=ai(),u=async()=>{try{const{data:c}=await Qs.logs();r(c),o(!1)}catch(c){console.log(c)}};return _.useEffect(()=>{u()},[]),_.useEffect(()=>{i&&u()},[i]),w.jsx(JS,{value:e,className:"",children:w.jsx("div",{className:"flex flex-col gap-2 flex-1 p-4 space-y-2 overflow-y-auto h-[90vh]",children:t.length===0?w.jsxs("div",{className:"flex flex-col items-center justify-center h-full text-gray-400",children:[w.jsx(G_,{className:"size-16 mb-3"}),w.jsx("p",{children:"Chưa có dữ liệu điểm danh"})]}):t.map((c,h)=>w.jsxs("div",{className:rt("p-3 rounded-lg border transition-all duration-200",h===0?"bg-blue-50 border-blue-200":"bg-gray-50 border-gray-200"),children:[w.jsxs("div",{className:"flex items-center justify-between mb-1",children:[w.jsx("span",{className:"font-medium text-gray-900",children:c.name}),w.jsx(o5,{className:"capitalize",variant:c.status==="check out"?"destructive":"secondary",children:c.status})]}),w.jsx("p",{className:"text-sm text-gray-600",children:tS(c.time)})]},h))})})}function u5(e){const t=Ve.c(5),{isSidebarOpen:r}=e,i=r?"translate-x-0":"translate-x-full";let o;t[0]!==i?(o=rt("fixed right-0 top-0 h-screen w-96 bg-white border-l border-gray-200 shadow-xl transition-transform duration-300 ease-in-out",i),t[0]=i,t[1]=o):o=t[1];let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u=w.jsx("div",{className:"h-full flex flex-col",children:w.jsxs(WS,{value:"logs",defaultValue:"features",className:"flex-1 flex flex-col",children:[w.jsx("div",{className:"border-b p-4",children:w.jsx(KS,{className:"grid w-full grid-cols-1",children:w.jsxs(QS,{value:"logs",className:"flex items-center gap-1 text-xs",children:[w.jsx(G_,{className:"size-3.5"}),"Log"]})})}),w.jsx(l5,{value:"logs"})]})}),t[2]=u):u=t[2];let c;return t[3]!==o?(c=w.jsx("div",{className:o,children:u}),t[3]=o,t[4]=c):c=t[4],c}function c5(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}const f5=e=>{switch(e){case"success":return m5;case"info":return g5;case"warning":return p5;case"error":return y5;default:return null}},d5=Array(12).fill(0),h5=({visible:e,className:t})=>W.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},W.createElement("div",{className:"sonner-spinner"},d5.map((r,i)=>W.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),m5=W.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},W.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),p5=W.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},W.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),g5=W.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},W.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),y5=W.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},W.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),v5=W.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},W.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),W.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),b5=()=>{const[e,t]=W.useState(document.hidden);return W.useEffect(()=>{const r=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e};let Bm=1;class _5{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const r=this.subscribers.indexOf(t);this.subscribers.splice(r,1)}),this.publish=t=>{this.subscribers.forEach(r=>r(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var r;const{message:i,...o}=t,u=typeof t?.id=="number"||((r=t.id)==null?void 0:r.length)>0?t.id:Bm++,c=this.toasts.find(p=>p.id===u),h=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(u)&&this.dismissedToasts.delete(u),c?this.toasts=this.toasts.map(p=>p.id===u?(this.publish({...p,...t,id:u,title:i}),{...p,...t,id:u,dismissible:h,title:i}):p):this.addToast({title:i,...o,dismissible:h,id:u}),u},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(r=>r({id:t,dismiss:!0})))):this.toasts.forEach(r=>{this.subscribers.forEach(i=>i({id:r.id,dismiss:!0}))}),t),this.message=(t,r)=>this.create({...r,message:t}),this.error=(t,r)=>this.create({...r,message:t,type:"error"}),this.success=(t,r)=>this.create({...r,type:"success",message:t}),this.info=(t,r)=>this.create({...r,type:"info",message:t}),this.warning=(t,r)=>this.create({...r,type:"warning",message:t}),this.loading=(t,r)=>this.create({...r,type:"loading",message:t}),this.promise=(t,r)=>{if(!r)return;let i;r.loading!==void 0&&(i=this.create({...r,promise:t,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));const o=Promise.resolve(t instanceof Function?t():t);let u=i!==void 0,c;const h=o.then(async m=>{if(c=["resolve",m],W.isValidElement(m))u=!1,this.create({id:i,type:"default",message:m});else if(S5(m)&&!m.ok){u=!1;const g=typeof r.error=="function"?await r.error(`HTTP error! status: ${m.status}`):r.error,b=typeof r.description=="function"?await r.description(`HTTP error! status: ${m.status}`):r.description,x=typeof g=="object"&&!W.isValidElement(g)?g:{message:g};this.create({id:i,type:"error",description:b,...x})}else if(m instanceof Error){u=!1;const g=typeof r.error=="function"?await r.error(m):r.error,b=typeof r.description=="function"?await r.description(m):r.description,x=typeof g=="object"&&!W.isValidElement(g)?g:{message:g};this.create({id:i,type:"error",description:b,...x})}else if(r.success!==void 0){u=!1;const g=typeof r.success=="function"?await r.success(m):r.success,b=typeof r.description=="function"?await r.description(m):r.description,x=typeof g=="object"&&!W.isValidElement(g)?g:{message:g};this.create({id:i,type:"success",description:b,...x})}}).catch(async m=>{if(c=["reject",m],r.error!==void 0){u=!1;const y=typeof r.error=="function"?await r.error(m):r.error,g=typeof r.description=="function"?await r.description(m):r.description,T=typeof y=="object"&&!W.isValidElement(y)?y:{message:y};this.create({id:i,type:"error",description:g,...T})}}).finally(()=>{u&&(this.dismiss(i),i=void 0),r.finally==null||r.finally.call(r)}),p=()=>new Promise((m,y)=>h.then(()=>c[0]==="reject"?y(c[1]):m(c[1])).catch(y));return typeof i!="string"&&typeof i!="number"?{unwrap:p}:Object.assign(i,{unwrap:p})},this.custom=(t,r)=>{const i=r?.id||Bm++;return this.create({jsx:t(i),id:i,...r}),i},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Cn=new _5,w5=(e,t)=>{const r=t?.id||Bm++;return Cn.addToast({title:e,...t,id:r}),r},S5=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",x5=w5,E5=()=>Cn.toasts,T5=()=>Cn.getActiveToasts(),ma=Object.assign(x5,{success:Cn.success,info:Cn.info,warning:Cn.warning,error:Cn.error,custom:Cn.custom,message:Cn.message,promise:Cn.promise,dismiss:Cn.dismiss,loading:Cn.loading},{getHistory:E5,getToasts:T5});c5("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function sc(e){return e.label!==void 0}const O5=3,A5="24px",C5="16px",R1=4e3,D5=356,M5=14,R5=45,N5=200;function kr(...e){return e.filter(Boolean).join(" ")}function k5(e){const[t,r]=e.split("-"),i=[];return t&&i.push(t),r&&i.push(r),i}const z5=e=>{var t,r,i,o,u,c,h,p,m;const{invert:y,toast:g,unstyled:b,interacting:T,setHeights:x,visibleToasts:E,heights:O,index:D,toasts:U,expanded:j,removeToast:k,defaultRichColors:Y,closeButton:J,style:F,cancelButtonStyle:Q,actionButtonStyle:he,className:_e="",descriptionClassName:we="",duration:ie,position:ue,gap:fe,expandByDefault:ye,classNames:M,icons:I,closeButtonAriaLabel:L="Close toast"}=e,[re,ve]=W.useState(null),[A,q]=W.useState(null),[X,ne]=W.useState(!1),[ce,Te]=W.useState(!1),[de,Me]=W.useState(!1),[Be,Ct]=W.useState(!1),[Qt,kt]=W.useState(!1),[or,pn]=W.useState(0),[Ta,Oa]=W.useState(0),Pr=W.useRef(g.duration||ie||R1),qi=W.useRef(null),sn=W.useRef(null),R=D===0,B=D+1<=E,G=g.type,me=g.dismissible!==!1,se=g.className||"",le=g.descriptionClassName||"",Oe=W.useMemo(()=>O.findIndex(Ne=>Ne.toastId===g.id)||0,[O,g.id]),Xe=W.useMemo(()=>{var Ne;return(Ne=g.closeButton)!=null?Ne:J},[g.closeButton,J]),We=W.useMemo(()=>g.duration||ie||R1,[g.duration,ie]),qt=W.useRef(0),gn=W.useRef(0),Nn=W.useRef(0),Tr=W.useRef(null),[lr,Vt]=ue.split("-"),kn=W.useMemo(()=>O.reduce((Ne,yt,It)=>It>=Oe?Ne:Ne+yt.height,0),[O,Oe]),Bt=b5(),co=g.invert||y,Aa=G==="loading";gn.current=W.useMemo(()=>Oe*fe+kn,[Oe,kn]),W.useEffect(()=>{Pr.current=We},[We]),W.useEffect(()=>{ne(!0)},[]),W.useEffect(()=>{const Ne=sn.current;if(Ne){const yt=Ne.getBoundingClientRect().height;return Oa(yt),x(It=>[{toastId:g.id,height:yt,position:g.position},...It]),()=>x(It=>It.filter(on=>on.toastId!==g.id))}},[x,g.id]),W.useLayoutEffect(()=>{if(!X)return;const Ne=sn.current,yt=Ne.style.height;Ne.style.height="auto";const It=Ne.getBoundingClientRect().height;Ne.style.height=yt,Oa(It),x(on=>on.find(St=>St.toastId===g.id)?on.map(St=>St.toastId===g.id?{...St,height:It}:St):[{toastId:g.id,height:It,position:g.position},...on])},[X,g.title,g.description,x,g.id,g.jsx,g.action,g.cancel]);const Or=W.useCallback(()=>{Te(!0),pn(gn.current),x(Ne=>Ne.filter(yt=>yt.toastId!==g.id)),setTimeout(()=>{k(g)},N5)},[g,k,x,gn]);W.useEffect(()=>{if(g.promise&&G==="loading"||g.duration===1/0||g.type==="loading")return;let Ne;return j||T||Bt?(()=>{if(Nn.current{Pr.current!==1/0&&(qt.current=new Date().getTime(),Ne=setTimeout(()=>{g.onAutoClose==null||g.onAutoClose.call(g,g),Or()},Pr.current))})(),()=>clearTimeout(Ne)},[j,T,g,G,Bt,Or]),W.useEffect(()=>{g.delete&&(Or(),g.onDismiss==null||g.onDismiss.call(g,g))},[Or,g.delete]);function Ii(){var Ne;if(I?.loading){var yt;return W.createElement("div",{className:kr(M?.loader,g==null||(yt=g.classNames)==null?void 0:yt.loader,"sonner-loader"),"data-visible":G==="loading"},I.loading)}return W.createElement(h5,{className:kr(M?.loader,g==null||(Ne=g.classNames)==null?void 0:Ne.loader),visible:G==="loading"})}const Xi=g.icon||I?.[G]||f5(G);var ui,Ar;return W.createElement("li",{tabIndex:0,ref:sn,className:kr(_e,se,M?.toast,g==null||(t=g.classNames)==null?void 0:t.toast,M?.default,M?.[G],g==null||(r=g.classNames)==null?void 0:r[G]),"data-sonner-toast":"","data-rich-colors":(ui=g.richColors)!=null?ui:Y,"data-styled":!(g.jsx||g.unstyled||b),"data-mounted":X,"data-promise":!!g.promise,"data-swiped":Qt,"data-removed":ce,"data-visible":B,"data-y-position":lr,"data-x-position":Vt,"data-index":D,"data-front":R,"data-swiping":de,"data-dismissible":me,"data-type":G,"data-invert":co,"data-swipe-out":Be,"data-swipe-direction":A,"data-expanded":!!(j||ye&&X),"data-testid":g.testId,style:{"--index":D,"--toasts-before":D,"--z-index":U.length-D,"--offset":`${ce?or:gn.current}px`,"--initial-height":ye?"auto":`${Ta}px`,...F,...g.style},onDragEnd:()=>{Me(!1),ve(null),Tr.current=null},onPointerDown:Ne=>{Ne.button!==2&&(Aa||!me||(qi.current=new Date,pn(gn.current),Ne.target.setPointerCapture(Ne.pointerId),Ne.target.tagName!=="BUTTON"&&(Me(!0),Tr.current={x:Ne.clientX,y:Ne.clientY})))},onPointerUp:()=>{var Ne,yt,It;if(Be||!me)return;Tr.current=null;const on=Number(((Ne=sn.current)==null?void 0:Ne.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ca=Number(((yt=sn.current)==null?void 0:yt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),St=new Date().getTime()-((It=qi.current)==null?void 0:It.getTime()),yn=re==="x"?on:Ca,ci=Math.abs(yn)/St;if(Math.abs(yn)>=R5||ci>.11){pn(gn.current),g.onDismiss==null||g.onDismiss.call(g,g),q(re==="x"?on>0?"right":"left":Ca>0?"down":"up"),Or(),Ct(!0);return}else{var vn,bn;(vn=sn.current)==null||vn.style.setProperty("--swipe-amount-x","0px"),(bn=sn.current)==null||bn.style.setProperty("--swipe-amount-y","0px")}kt(!1),Me(!1),ve(null)},onPointerMove:Ne=>{var yt,It,on;if(!Tr.current||!me||((yt=window.getSelection())==null?void 0:yt.toString().length)>0)return;const St=Ne.clientY-Tr.current.y,yn=Ne.clientX-Tr.current.x;var ci;const vn=(ci=e.swipeDirections)!=null?ci:k5(ue);!re&&(Math.abs(yn)>1||Math.abs(St)>1)&&ve(Math.abs(yn)>Math.abs(St)?"x":"y");let bn={x:0,y:0};const Wi=ur=>1/(1.5+Math.abs(ur)/20);if(re==="y"){if(vn.includes("top")||vn.includes("bottom"))if(vn.includes("top")&&St<0||vn.includes("bottom")&&St>0)bn.y=St;else{const ur=St*Wi(St);bn.y=Math.abs(ur)0)bn.x=yn;else{const ur=yn*Wi(yn);bn.x=Math.abs(ur)0||Math.abs(bn.y)>0)&&kt(!0),(It=sn.current)==null||It.style.setProperty("--swipe-amount-x",`${bn.x}px`),(on=sn.current)==null||on.style.setProperty("--swipe-amount-y",`${bn.y}px`)}},Xe&&!g.jsx&&G!=="loading"?W.createElement("button",{"aria-label":L,"data-disabled":Aa,"data-close-button":!0,onClick:Aa||!me?()=>{}:()=>{Or(),g.onDismiss==null||g.onDismiss.call(g,g)},className:kr(M?.closeButton,g==null||(i=g.classNames)==null?void 0:i.closeButton)},(Ar=I?.close)!=null?Ar:v5):null,(G||g.icon||g.promise)&&g.icon!==null&&(I?.[G]!==null||g.icon)?W.createElement("div",{"data-icon":"",className:kr(M?.icon,g==null||(o=g.classNames)==null?void 0:o.icon)},g.promise||g.type==="loading"&&!g.icon?g.icon||Ii():null,g.type!=="loading"?Xi:null):null,W.createElement("div",{"data-content":"",className:kr(M?.content,g==null||(u=g.classNames)==null?void 0:u.content)},W.createElement("div",{"data-title":"",className:kr(M?.title,g==null||(c=g.classNames)==null?void 0:c.title)},g.jsx?g.jsx:typeof g.title=="function"?g.title():g.title),g.description?W.createElement("div",{"data-description":"",className:kr(we,le,M?.description,g==null||(h=g.classNames)==null?void 0:h.description)},typeof g.description=="function"?g.description():g.description):null),W.isValidElement(g.cancel)?g.cancel:g.cancel&&sc(g.cancel)?W.createElement("button",{"data-button":!0,"data-cancel":!0,style:g.cancelButtonStyle||Q,onClick:Ne=>{sc(g.cancel)&&me&&(g.cancel.onClick==null||g.cancel.onClick.call(g.cancel,Ne),Or())},className:kr(M?.cancelButton,g==null||(p=g.classNames)==null?void 0:p.cancelButton)},g.cancel.label):null,W.isValidElement(g.action)?g.action:g.action&&sc(g.action)?W.createElement("button",{"data-button":!0,"data-action":!0,style:g.actionButtonStyle||he,onClick:Ne=>{sc(g.action)&&(g.action.onClick==null||g.action.onClick.call(g.action,Ne),!Ne.defaultPrevented&&Or())},className:kr(M?.actionButton,g==null||(m=g.classNames)==null?void 0:m.actionButton)},g.action.label):null)};function N1(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function j5(e,t){const r={};return[e,t].forEach((i,o)=>{const u=o===1,c=u?"--mobile-offset":"--offset",h=u?C5:A5;function p(m){["top","right","bottom","left"].forEach(y=>{r[`${c}-${y}`]=typeof m=="number"?`${m}px`:m})}typeof i=="number"||typeof i=="string"?p(i):typeof i=="object"?["top","right","bottom","left"].forEach(m=>{i[m]===void 0?r[`${c}-${m}`]=h:r[`${c}-${m}`]=typeof i[m]=="number"?`${i[m]}px`:i[m]}):p(h)}),r}const U5=W.forwardRef(function(t,r){const{id:i,invert:o,position:u="bottom-right",hotkey:c=["altKey","KeyT"],expand:h,closeButton:p,className:m,offset:y,mobileOffset:g,theme:b="light",richColors:T,duration:x,style:E,visibleToasts:O=O5,toastOptions:D,dir:U=N1(),gap:j=M5,icons:k,containerAriaLabel:Y="Notifications"}=t,[J,F]=W.useState([]),Q=W.useMemo(()=>i?J.filter(X=>X.toasterId===i):J.filter(X=>!X.toasterId),[J,i]),he=W.useMemo(()=>Array.from(new Set([u].concat(Q.filter(X=>X.position).map(X=>X.position)))),[Q,u]),[_e,we]=W.useState([]),[ie,ue]=W.useState(!1),[fe,ye]=W.useState(!1),[M,I]=W.useState(b!=="system"?b:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),L=W.useRef(null),re=c.join("+").replace(/Key/g,"").replace(/Digit/g,""),ve=W.useRef(null),A=W.useRef(!1),q=W.useCallback(X=>{F(ne=>{var ce;return(ce=ne.find(Te=>Te.id===X.id))!=null&&ce.delete||Cn.dismiss(X.id),ne.filter(({id:Te})=>Te!==X.id)})},[]);return W.useEffect(()=>Cn.subscribe(X=>{if(X.dismiss){requestAnimationFrame(()=>{F(ne=>ne.map(ce=>ce.id===X.id?{...ce,delete:!0}:ce))});return}setTimeout(()=>{m_.flushSync(()=>{F(ne=>{const ce=ne.findIndex(Te=>Te.id===X.id);return ce!==-1?[...ne.slice(0,ce),{...ne[ce],...X},...ne.slice(ce+1)]:[X,...ne]})})})}),[J]),W.useEffect(()=>{if(b!=="system"){I(b);return}if(b==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?I("dark"):I("light")),typeof window>"u")return;const X=window.matchMedia("(prefers-color-scheme: dark)");try{X.addEventListener("change",({matches:ne})=>{I(ne?"dark":"light")})}catch{X.addListener(({matches:ce})=>{try{I(ce?"dark":"light")}catch(Te){console.error(Te)}})}},[b]),W.useEffect(()=>{J.length<=1&&ue(!1)},[J]),W.useEffect(()=>{const X=ne=>{var ce;if(c.every(Me=>ne[Me]||ne.code===Me)){var de;ue(!0),(de=L.current)==null||de.focus()}ne.code==="Escape"&&(document.activeElement===L.current||(ce=L.current)!=null&&ce.contains(document.activeElement))&&ue(!1)};return document.addEventListener("keydown",X),()=>document.removeEventListener("keydown",X)},[c]),W.useEffect(()=>{if(L.current)return()=>{ve.current&&(ve.current.focus({preventScroll:!0}),ve.current=null,A.current=!1)}},[L.current]),W.createElement("section",{ref:r,"aria-label":`${Y} ${re}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},he.map((X,ne)=>{var ce;const[Te,de]=X.split("-");return Q.length?W.createElement("ol",{key:X,dir:U==="auto"?N1():U,tabIndex:-1,ref:L,className:m,"data-sonner-toaster":!0,"data-sonner-theme":M,"data-y-position":Te,"data-x-position":de,style:{"--front-toast-height":`${((ce=_e[0])==null?void 0:ce.height)||0}px`,"--width":`${D5}px`,"--gap":`${j}px`,...E,...j5(y,g)},onBlur:Me=>{A.current&&!Me.currentTarget.contains(Me.relatedTarget)&&(A.current=!1,ve.current&&(ve.current.focus({preventScroll:!0}),ve.current=null))},onFocus:Me=>{Me.target instanceof HTMLElement&&Me.target.dataset.dismissible==="false"||A.current||(A.current=!0,ve.current=Me.relatedTarget)},onMouseEnter:()=>ue(!0),onMouseMove:()=>ue(!0),onMouseLeave:()=>{fe||ue(!1)},onDragEnd:()=>ue(!1),onPointerDown:Me=>{Me.target instanceof HTMLElement&&Me.target.dataset.dismissible==="false"||ye(!0)},onPointerUp:()=>ye(!1)},Q.filter(Me=>!Me.position&&ne===0||Me.position===X).map((Me,Be)=>{var Ct,Qt;return W.createElement(z5,{key:Me.id,icons:k,index:Be,toast:Me,defaultRichColors:T,duration:(Ct=D?.duration)!=null?Ct:x,className:D?.className,descriptionClassName:D?.descriptionClassName,invert:o,visibleToasts:O,closeButton:(Qt=D?.closeButton)!=null?Qt:p,interacting:fe,position:X,style:D?.style,unstyled:D?.unstyled,classNames:D?.classNames,cancelButtonStyle:D?.cancelButtonStyle,actionButtonStyle:D?.actionButtonStyle,closeButtonAriaLabel:D?.closeButtonAriaLabel,removeToast:q,toasts:Q.filter(kt=>kt.position==Me.position),heights:_e.filter(kt=>kt.position==Me.position),setHeights:we,expandByDefault:h,gap:j,expanded:ie,swipeDirections:t.swipeDirections})})):null}))});function L5(e){const t=Ve.c(19),{children:r,onClose:i}=e,[o,u]=_.useState(!1),{setIsCountDown:c}=ai();let h;t[0]!==i?(h=()=>{u(!1),i?.()},t[0]=i,t[1]=h):h=t[1];const p=h;let m;t[2]!==p||t[3]!==c?(m=()=>{c(!0),p()},t[2]=p,t[3]=c,t[4]=m):m=t[4];const y=m;let g;t[5]!==r?(g=w.jsx(nS,{children:r}),t[5]=r,t[6]=g):g=t[6];let b;t[7]===Symbol.for("react.memo_cache_sentinel")?(b=w.jsxs(Mp,{children:[w.jsx("div",{className:"flex items-center justify-center mb-4",children:w.jsx("div",{className:"rounded-full border p-3",children:w.jsx(ap,{className:"w-6 h-6 "})})}),w.jsx(Rp,{className:"text-center text-lg",children:"Thông báo quan trọng"}),w.jsx(Np,{className:"text-center text-base pt-2",children:"Để có kết quả tốt nhất bạn hay nhìn thẳng vào camera nhé"})]}),t[7]=b):b=t[7];let T;t[8]!==p?(T=w.jsx(hn,{variant:"outline",onClick:p,className:"min-w-32 bg-transparent",children:"Hủy"}),t[8]=p,t[9]=T):T=t[9];let x;t[10]!==y?(x=w.jsx(hn,{onClick:y,className:"min-w-32",children:"Tiếp tục"}),t[10]=y,t[11]=x):x=t[11];let E;t[12]!==T||t[13]!==x?(E=w.jsxs(Dp,{className:"sm:max-w-md",children:[b,w.jsxs("div",{className:"flex justify-center gap-3 pt-4",children:[T,x]})]}),t[12]=T,t[13]=x,t[14]=E):E=t[14];let O;return t[15]!==o||t[16]!==g||t[17]!==E?(O=w.jsxs(Cp,{open:o,onOpenChange:u,children:[g,E]}),t[15]=o,t[16]=g,t[17]=E,t[18]=O):O=t[18],O}var Ul=e=>e.type==="checkbox",Ni=e=>e instanceof Date,Dn=e=>e==null;const oE=e=>typeof e=="object";var Ht=e=>!Dn(e)&&!Array.isArray(e)&&oE(e)&&!Ni(e),lE=e=>Ht(e)&&e.target?Ul(e.target)?e.target.checked:e.target.value:e,Y5=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,uE=(e,t)=>e.has(Y5(t)),H5=e=>{const t=e.constructor&&e.constructor.prototype;return Ht(t)&&t.hasOwnProperty("isPrototypeOf")},ag=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Zt(e){let t;const r=Array.isArray(e),i=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(ag&&(e instanceof Blob||i))&&(r||Ht(e)))if(t=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!H5(e))t=e;else for(const o in e)e.hasOwnProperty(o)&&(t[o]=Zt(e[o]));else return e;return t}var bf=e=>/^\w*$/.test(e),Ot=e=>e===void 0,ig=e=>Array.isArray(e)?e.filter(Boolean):[],sg=e=>ig(e.replace(/["|']|\]/g,"").split(/\.|\[/)),pe=(e,t,r)=>{if(!t||!Ht(e))return r;const i=(bf(t)?[t]:sg(t)).reduce((o,u)=>Dn(o)?o:o[u],e);return Ot(i)||i===e?Ot(e[t])?r:e[t]:i},Bn=e=>typeof e=="boolean",st=(e,t,r)=>{let i=-1;const o=bf(t)?[t]:sg(t),u=o.length,c=u-1;for(;++iW.useContext(og),V5=e=>{const{children:t,...r}=e;return W.createElement(og.Provider,{value:r},t)};var cE=(e,t,r,i=!0)=>{const o={defaultValues:t._defaultValues};for(const u in e)Object.defineProperty(o,u,{get:()=>{const c=u;return t._proxyFormState[c]!==hr.all&&(t._proxyFormState[c]=!i||hr.all),r&&(r[c]=!0),e[c]}});return o};const lg=typeof window<"u"?W.useLayoutEffect:W.useEffect;function fE(e){const t=_f(),{control:r=t.control,disabled:i,name:o,exact:u}=e||{},[c,h]=W.useState(r._formState),p=W.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return lg(()=>r._subscribe({name:o,formState:p.current,exact:u,callback:m=>{!i&&h({...r._formState,...m})}}),[o,i,u]),W.useEffect(()=>{p.current.isValid&&r._setValid(!0)},[r]),W.useMemo(()=>cE(c,r,p.current,!1),[c,r])}var Fn=e=>typeof e=="string",$m=(e,t,r,i,o)=>Fn(e)?(i&&t.watch.add(e),pe(r,e,o)):Array.isArray(e)?e.map(u=>(i&&t.watch.add(u),pe(r,u))):(i&&(t.watchAll=!0),r),Fm=e=>Dn(e)||!oE(e);function mr(e,t,r=new WeakSet){if(Fm(e)||Fm(t))return Object.is(e,t);if(Ni(e)&&Ni(t))return e.getTime()===t.getTime();const i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;if(r.has(e)||r.has(t))return!0;r.add(e),r.add(t);for(const u of i){const c=e[u];if(!o.includes(u))return!1;if(u!=="ref"){const h=t[u];if(Ni(c)&&Ni(h)||Ht(c)&&Ht(h)||Array.isArray(c)&&Array.isArray(h)?!mr(c,h,r):!Object.is(c,h))return!1}}return!0}function B5(e){const t=_f(),{control:r=t.control,name:i,defaultValue:o,disabled:u,exact:c,compute:h}=e||{},p=W.useRef(o),m=W.useRef(h),y=W.useRef(void 0),g=W.useRef(r),b=W.useRef(i);m.current=h;const[T,x]=W.useState(()=>{const k=r._getWatch(i,p.current);return m.current?m.current(k):k}),E=W.useCallback(k=>{const Y=$m(i,r._names,k||r._formValues,!1,p.current);return m.current?m.current(Y):Y},[r._formValues,r._names,i]),O=W.useCallback(k=>{if(!u){const Y=$m(i,r._names,k||r._formValues,!1,p.current);if(m.current){const J=m.current(Y);mr(J,y.current)||(x(J),y.current=J)}else x(Y)}},[r._formValues,r._names,u,i]);lg(()=>((g.current!==r||!mr(b.current,i))&&(g.current=r,b.current=i,O()),r._subscribe({name:i,formState:{values:!0},exact:c,callback:k=>{O(k.values)}})),[r,c,i,O]),W.useEffect(()=>r._removeUnmounted());const D=g.current!==r,U=b.current,j=W.useMemo(()=>{if(u)return null;const k=!D&&!mr(U,i);return D||k?E():null},[u,D,i,U,E]);return j!==null?j:T}function $5(e){const t=_f(),{name:r,disabled:i,control:o=t.control,shouldUnregister:u,defaultValue:c,exact:h=!0}=e,p=uE(o._names.array,r),m=W.useMemo(()=>pe(o._formValues,r,pe(o._defaultValues,r,c)),[o,r,c]),y=B5({control:o,name:r,defaultValue:m,exact:h}),g=fE({control:o,name:r,exact:h}),b=W.useRef(e),T=W.useRef(void 0),x=W.useRef(o.register(r,{...e.rules,value:y,...Bn(e.disabled)?{disabled:e.disabled}:{}}));b.current=e;const E=W.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!pe(g.errors,r)},isDirty:{enumerable:!0,get:()=>!!pe(g.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!pe(g.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!pe(g.validatingFields,r)},error:{enumerable:!0,get:()=>pe(g.errors,r)}}),[g,r]),O=W.useCallback(k=>x.current.onChange({target:{value:lE(k),name:r},type:Yc.CHANGE}),[r]),D=W.useCallback(()=>x.current.onBlur({target:{value:pe(o._formValues,r),name:r},type:Yc.BLUR}),[r,o._formValues]),U=W.useCallback(k=>{const Y=pe(o._fields,r);Y&&k&&(Y._f.ref={focus:()=>k.focus&&k.focus(),select:()=>k.select&&k.select(),setCustomValidity:J=>k.setCustomValidity(J),reportValidity:()=>k.reportValidity()})},[o._fields,r]),j=W.useMemo(()=>({name:r,value:y,...Bn(i)||g.disabled?{disabled:g.disabled||i}:{},onChange:O,onBlur:D,ref:U}),[r,i,g.disabled,O,D,U,y]);return W.useEffect(()=>{const k=o._options.shouldUnregister||u,Y=T.current;Y&&Y!==r&&!p&&o.unregister(Y),o.register(r,{...b.current.rules,...Bn(b.current.disabled)?{disabled:b.current.disabled}:{}});const J=(F,Q)=>{const he=pe(o._fields,F);he&&he._f&&(he._f.mount=Q)};if(J(r,!0),k){const F=Zt(pe(o._options.defaultValues,r,b.current.defaultValue));st(o._defaultValues,r,F),Ot(pe(o._formValues,r))&&st(o._formValues,r,F)}return!p&&o.register(r),T.current=r,()=>{(p?k&&!o._state.action:k)?o.unregister(r):J(r,!1)}},[r,o,p,u]),W.useEffect(()=>{o._setDisabledField({disabled:i,name:r})},[i,r,o]),W.useMemo(()=>({field:j,formState:g,fieldState:E}),[j,g,E])}const F5=e=>e.render($5(e));var ug=(e,t,r,i,o)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[i]:o||!0}}:{},fl=e=>Array.isArray(e)?e:[e],k1=()=>{let e=[];return{get observers(){return e},next:o=>{for(const u of e)u.next&&u.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(u=>u!==o)}}),unsubscribe:()=>{e=[]}}};function dE(e,t){const r={};for(const i in e)if(e.hasOwnProperty(i)){const o=e[i],u=t[i];if(o&&Ht(o)&&u){const c=dE(o,u);Ht(c)&&(r[i]=c)}else e[i]&&(r[i]=u)}return r}var dn=e=>Ht(e)&&!Object.keys(e).length,cg=e=>e.type==="file",pr=e=>typeof e=="function",Hc=e=>{if(!ag)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},hE=e=>e.type==="select-multiple",fg=e=>e.type==="radio",Z5=e=>fg(e)||Ul(e),mm=e=>Hc(e)&&e.isConnected;function P5(e,t){const r=t.slice(0,-1).length;let i=0;for(;i{for(const t in e)if(pr(e[t]))return!0;return!1};function mE(e){return Array.isArray(e)||Ht(e)&&!q5(e)}function Zm(e,t={}){for(const r in e){const i=e[r];mE(i)?(t[r]=Array.isArray(i)?[]:{},Zm(i,t[r])):Ot(i)||(t[r]=!0)}return t}function $s(e,t,r){r||(r=Zm(t));for(const i in e){const o=e[i];if(mE(o))Ot(t)||Fm(r[i])?r[i]=Zm(o,Array.isArray(o)?[]:{}):$s(o,Dn(t)?{}:t[i],r[i]);else{const u=t[i];r[i]=!mr(o,u)}}return r}const z1={value:!1,isValid:!1},j1={value:!0,isValid:!0};var pE=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Ot(e[0].attributes.value)?Ot(e[0].value)||e[0].value===""?j1:{value:e[0].value,isValid:!0}:j1:z1}return z1},gE=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:i})=>Ot(e)?e:t?e===""?NaN:e&&+e:r&&Fn(e)?new Date(e):i?i(e):e;const U1={isValid:!1,value:null};var yE=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,U1):U1;function L1(e){const t=e.ref;return cg(t)?t.files:fg(t)?yE(e.refs).value:hE(t)?[...t.selectedOptions].map(({value:r})=>r):Ul(t)?pE(e.refs).value:gE(Ot(t.value)?e.ref.value:t.value,e)}var I5=(e,t,r,i)=>{const o={};for(const u of e){const c=pe(t,u);c&&st(o,u,c._f)}return{criteriaMode:r,names:[...e],fields:o,shouldUseNativeValidation:i}},Vc=e=>e instanceof RegExp,ll=e=>Ot(e)?e:Vc(e)?e.source:Ht(e)?Vc(e.value)?e.value.source:e.value:e,Y1=e=>({isOnSubmit:!e||e===hr.onSubmit,isOnBlur:e===hr.onBlur,isOnChange:e===hr.onChange,isOnAll:e===hr.all,isOnTouch:e===hr.onTouched});const H1="AsyncFunction";var X5=e=>!!e&&!!e.validate&&!!(pr(e.validate)&&e.validate.constructor.name===H1||Ht(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===H1)),W5=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),V1=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(i=>e.startsWith(i)&&/^\.\w+/.test(e.slice(i.length))));const dl=(e,t,r,i)=>{for(const o of r||Object.keys(e)){const u=pe(e,o);if(u){const{_f:c,...h}=u;if(c){if(c.refs&&c.refs[0]&&t(c.refs[0],o)&&!i)return!0;if(c.ref&&t(c.ref,c.name)&&!i)return!0;if(dl(h,t))break}else if(Ht(h)&&dl(h,t))break}}};function B1(e,t,r){const i=pe(e,r);if(i||bf(r))return{error:i,name:r};const o=r.split(".");for(;o.length;){const u=o.join("."),c=pe(t,u),h=pe(e,u);if(c&&!Array.isArray(c)&&r!==u)return{name:r};if(h&&h.type)return{name:u,error:h};if(h&&h.root&&h.root.type)return{name:`${u}.root`,error:h.root};o.pop()}return{name:r}}var K5=(e,t,r,i)=>{r(e);const{name:o,...u}=e;return dn(u)||Object.keys(u).length>=Object.keys(t).length||Object.keys(u).find(c=>t[c]===(!i||hr.all))},Q5=(e,t,r)=>!e||!t||e===t||fl(e).some(i=>i&&(r?i===t:i.startsWith(t)||t.startsWith(i))),J5=(e,t,r,i,o)=>o.isOnAll?!1:!r&&o.isOnTouch?!(t||e):(r?i.isOnBlur:o.isOnBlur)?!e:(r?i.isOnChange:o.isOnChange)?e:!0,eU=(e,t)=>!ig(pe(e,t)).length&&Yt(e,t),tU=(e,t,r)=>{const i=fl(pe(e,r));return st(i,"root",t[r]),st(e,r,i),e};function $1(e,t,r="validate"){if(Fn(e)||Array.isArray(e)&&e.every(Fn)||Bn(e)&&!e)return{type:r,message:Fn(e)?e:"",ref:t}}var Vs=e=>Ht(e)&&!Vc(e)?e:{value:e,message:""},F1=async(e,t,r,i,o,u)=>{const{ref:c,refs:h,required:p,maxLength:m,minLength:y,min:g,max:b,pattern:T,validate:x,name:E,valueAsNumber:O,mount:D}=e._f,U=pe(r,E);if(!D||t.has(E))return{};const j=h?h[0]:c,k=ie=>{o&&j.reportValidity&&(j.setCustomValidity(Bn(ie)?"":ie||""),j.reportValidity())},Y={},J=fg(c),F=Ul(c),Q=J||F,he=(O||cg(c))&&Ot(c.value)&&Ot(U)||Hc(c)&&c.value===""||U===""||Array.isArray(U)&&!U.length,_e=ug.bind(null,E,i,Y),we=(ie,ue,fe,ye=da.maxLength,M=da.minLength)=>{const I=ie?ue:fe;Y[E]={type:ie?ye:M,message:I,ref:c,..._e(ie?ye:M,I)}};if(u?!Array.isArray(U)||!U.length:p&&(!Q&&(he||Dn(U))||Bn(U)&&!U||F&&!pE(h).isValid||J&&!yE(h).isValid)){const{value:ie,message:ue}=Fn(p)?{value:!!p,message:p}:Vs(p);if(ie&&(Y[E]={type:da.required,message:ue,ref:j,..._e(da.required,ue)},!i))return k(ue),Y}if(!he&&(!Dn(g)||!Dn(b))){let ie,ue;const fe=Vs(b),ye=Vs(g);if(!Dn(U)&&!isNaN(U)){const M=c.valueAsNumber||U&&+U;Dn(fe.value)||(ie=M>fe.value),Dn(ye.value)||(ue=Mnew Date(new Date().toDateString()+" "+ve),L=c.type=="time",re=c.type=="week";Fn(fe.value)&&U&&(ie=L?I(U)>I(fe.value):re?U>fe.value:M>new Date(fe.value)),Fn(ye.value)&&U&&(ue=L?I(U)+ie.value,ye=!Dn(ue.value)&&U.length<+ue.value;if((fe||ye)&&(we(fe,ie.message,ue.message),!i))return k(Y[E].message),Y}if(T&&!he&&Fn(U)){const{value:ie,message:ue}=Vs(T);if(Vc(ie)&&!U.match(ie)&&(Y[E]={type:da.pattern,message:ue,ref:c,..._e(da.pattern,ue)},!i))return k(ue),Y}if(x){if(pr(x)){const ie=await x(U,r),ue=$1(ie,j);if(ue&&(Y[E]={...ue,..._e(da.validate,ue.message)},!i))return k(ue.message),Y}else if(Ht(x)){let ie={};for(const ue in x){if(!dn(ie)&&!i)break;const fe=$1(await x[ue](U,r),j,ue);fe&&(ie={...fe,..._e(ue,fe.message)},k(fe.message),i&&(Y[E]=ie))}if(!dn(ie)&&(Y[E]={ref:j,...ie},!i))return Y}}return k(!0),Y};const nU={mode:hr.onSubmit,reValidateMode:hr.onChange,shouldFocusError:!0};function rU(e={}){let t={...nU,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:pr(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},i={},o=Ht(t.defaultValues)||Ht(t.values)?Zt(t.defaultValues||t.values)||{}:{},u=t.shouldUnregister?{}:Zt(o),c={action:!1,mount:!1,watch:!1},h={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},p,m=0;const y={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let g={...y};const b={array:k1(),state:k1()},T=t.criteriaMode===hr.all,x=R=>B=>{clearTimeout(m),m=setTimeout(R,B)},E=async R=>{if(!t.disabled&&(y.isValid||g.isValid||R)){const B=t.resolver?dn((await F()).errors):await he(i,!0);B!==r.isValid&&b.state.next({isValid:B})}},O=(R,B)=>{!t.disabled&&(y.isValidating||y.validatingFields||g.isValidating||g.validatingFields)&&((R||Array.from(h.mount)).forEach(G=>{G&&(B?st(r.validatingFields,G,B):Yt(r.validatingFields,G))}),b.state.next({validatingFields:r.validatingFields,isValidating:!dn(r.validatingFields)}))},D=(R,B=[],G,me,se=!0,le=!0)=>{if(me&&G&&!t.disabled){if(c.action=!0,le&&Array.isArray(pe(i,R))){const Oe=G(pe(i,R),me.argA,me.argB);se&&st(i,R,Oe)}if(le&&Array.isArray(pe(r.errors,R))){const Oe=G(pe(r.errors,R),me.argA,me.argB);se&&st(r.errors,R,Oe),eU(r.errors,R)}if((y.touchedFields||g.touchedFields)&&le&&Array.isArray(pe(r.touchedFields,R))){const Oe=G(pe(r.touchedFields,R),me.argA,me.argB);se&&st(r.touchedFields,R,Oe)}(y.dirtyFields||g.dirtyFields)&&(r.dirtyFields=$s(o,u)),b.state.next({name:R,isDirty:we(R,B),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else st(u,R,B)},U=(R,B)=>{st(r.errors,R,B),b.state.next({errors:r.errors})},j=R=>{r.errors=R,b.state.next({errors:r.errors,isValid:!1})},k=(R,B,G,me)=>{const se=pe(i,R);if(se){const le=pe(u,R,Ot(G)?pe(o,R):G);Ot(le)||me&&me.defaultChecked||B?st(u,R,B?le:L1(se._f)):fe(R,le),c.mount&&!c.action&&E()}},Y=(R,B,G,me,se)=>{let le=!1,Oe=!1;const Xe={name:R};if(!t.disabled){if(!G||me){(y.isDirty||g.isDirty)&&(Oe=r.isDirty,r.isDirty=Xe.isDirty=we(),le=Oe!==Xe.isDirty);const We=mr(pe(o,R),B);Oe=!!pe(r.dirtyFields,R),We?Yt(r.dirtyFields,R):st(r.dirtyFields,R,!0),Xe.dirtyFields=r.dirtyFields,le=le||(y.dirtyFields||g.dirtyFields)&&Oe!==!We}if(G){const We=pe(r.touchedFields,R);We||(st(r.touchedFields,R,G),Xe.touchedFields=r.touchedFields,le=le||(y.touchedFields||g.touchedFields)&&We!==G)}le&&se&&b.state.next(Xe)}return le?Xe:{}},J=(R,B,G,me)=>{const se=pe(r.errors,R),le=(y.isValid||g.isValid)&&Bn(B)&&r.isValid!==B;if(t.delayError&&G?(p=x(()=>U(R,G)),p(t.delayError)):(clearTimeout(m),p=null,G?st(r.errors,R,G):Yt(r.errors,R)),(G?!mr(se,G):se)||!dn(me)||le){const Oe={...me,...le&&Bn(B)?{isValid:B}:{},errors:r.errors,name:R};r={...r,...Oe},b.state.next(Oe)}},F=async R=>{O(R,!0);const B=await t.resolver(u,t.context,I5(R||h.mount,i,t.criteriaMode,t.shouldUseNativeValidation));return O(R),B},Q=async R=>{const{errors:B}=await F(R);if(R)for(const G of R){const me=pe(B,G);me?st(r.errors,G,me):Yt(r.errors,G)}else r.errors=B;return B},he=async(R,B,G={valid:!0})=>{for(const me in R){const se=R[me];if(se){const{_f:le,...Oe}=se;if(le){const Xe=h.array.has(le.name),We=se._f&&X5(se._f);We&&y.validatingFields&&O([le.name],!0);const qt=await F1(se,h.disabled,u,T,t.shouldUseNativeValidation&&!B,Xe);if(We&&y.validatingFields&&O([le.name]),qt[le.name]&&(G.valid=!1,B))break;!B&&(pe(qt,le.name)?Xe?tU(r.errors,qt,le.name):st(r.errors,le.name,qt[le.name]):Yt(r.errors,le.name))}!dn(Oe)&&await he(Oe,B,G)}}return G.valid},_e=()=>{for(const R of h.unMount){const B=pe(i,R);B&&(B._f.refs?B._f.refs.every(G=>!mm(G)):!mm(B._f.ref))&&de(R)}h.unMount=new Set},we=(R,B)=>!t.disabled&&(R&&B&&st(u,R,B),!mr(ve(),o)),ie=(R,B,G)=>$m(R,h,{...c.mount?u:Ot(B)?o:Fn(R)?{[R]:B}:B},G,B),ue=R=>ig(pe(c.mount?u:o,R,t.shouldUnregister?pe(o,R,[]):[])),fe=(R,B,G={})=>{const me=pe(i,R);let se=B;if(me){const le=me._f;le&&(!le.disabled&&st(u,R,gE(B,le)),se=Hc(le.ref)&&Dn(B)?"":B,hE(le.ref)?[...le.ref.options].forEach(Oe=>Oe.selected=se.includes(Oe.value)):le.refs?Ul(le.ref)?le.refs.forEach(Oe=>{(!Oe.defaultChecked||!Oe.disabled)&&(Array.isArray(se)?Oe.checked=!!se.find(Xe=>Xe===Oe.value):Oe.checked=se===Oe.value||!!se)}):le.refs.forEach(Oe=>Oe.checked=Oe.value===se):cg(le.ref)?le.ref.value="":(le.ref.value=se,le.ref.type||b.state.next({name:R,values:Zt(u)})))}(G.shouldDirty||G.shouldTouch)&&Y(R,se,G.shouldTouch,G.shouldDirty,!0),G.shouldValidate&&re(R)},ye=(R,B,G)=>{for(const me in B){if(!B.hasOwnProperty(me))return;const se=B[me],le=R+"."+me,Oe=pe(i,le);(h.array.has(R)||Ht(se)||Oe&&!Oe._f)&&!Ni(se)?ye(le,se,G):fe(le,se,G)}},M=(R,B,G={})=>{const me=pe(i,R),se=h.array.has(R),le=Zt(B);st(u,R,le),se?(b.array.next({name:R,values:Zt(u)}),(y.isDirty||y.dirtyFields||g.isDirty||g.dirtyFields)&&G.shouldDirty&&b.state.next({name:R,dirtyFields:$s(o,u),isDirty:we(R,le)})):me&&!me._f&&!Dn(le)?ye(R,le,G):fe(R,le,G),V1(R,h)&&b.state.next({...r,name:R}),b.state.next({name:c.mount?R:void 0,values:Zt(u)})},I=async R=>{c.mount=!0;const B=R.target;let G=B.name,me=!0;const se=pe(i,G),le=We=>{me=Number.isNaN(We)||Ni(We)&&isNaN(We.getTime())||mr(We,pe(u,G,We))},Oe=Y1(t.mode),Xe=Y1(t.reValidateMode);if(se){let We,qt;const gn=B.type?L1(se._f):lE(R),Nn=R.type===Yc.BLUR||R.type===Yc.FOCUS_OUT,Tr=!W5(se._f)&&!t.resolver&&!pe(r.errors,G)&&!se._f.deps||J5(Nn,pe(r.touchedFields,G),r.isSubmitted,Xe,Oe),lr=V1(G,h,Nn);st(u,G,gn),Nn?(!B||!B.readOnly)&&(se._f.onBlur&&se._f.onBlur(R),p&&p(0)):se._f.onChange&&se._f.onChange(R);const Vt=Y(G,gn,Nn),kn=!dn(Vt)||lr;if(!Nn&&b.state.next({name:G,type:R.type,values:Zt(u)}),Tr)return(y.isValid||g.isValid)&&(t.mode==="onBlur"?Nn&&E():Nn||E()),kn&&b.state.next({name:G,...lr?{}:Vt});if(!Nn&&lr&&b.state.next({...r}),t.resolver){const{errors:Bt}=await F([G]);if(le(gn),me){const co=B1(r.errors,i,G),Aa=B1(Bt,i,co.name||G);We=Aa.error,G=Aa.name,qt=dn(Bt)}}else O([G],!0),We=(await F1(se,h.disabled,u,T,t.shouldUseNativeValidation))[G],O([G]),le(gn),me&&(We?qt=!1:(y.isValid||g.isValid)&&(qt=await he(i,!0)));me&&(se._f.deps&&(!Array.isArray(se._f.deps)||se._f.deps.length>0)&&re(se._f.deps),J(G,qt,We,Vt))}},L=(R,B)=>{if(pe(r.errors,B)&&R.focus)return R.focus(),1},re=async(R,B={})=>{let G,me;const se=fl(R);if(t.resolver){const le=await Q(Ot(R)?R:se);G=dn(le),me=R?!se.some(Oe=>pe(le,Oe)):G}else R?(me=(await Promise.all(se.map(async le=>{const Oe=pe(i,le);return await he(Oe&&Oe._f?{[le]:Oe}:Oe)}))).every(Boolean),!(!me&&!r.isValid)&&E()):me=G=await he(i);return b.state.next({...!Fn(R)||(y.isValid||g.isValid)&&G!==r.isValid?{}:{name:R},...t.resolver||!R?{isValid:G}:{},errors:r.errors}),B.shouldFocus&&!me&&dl(i,L,R?se:h.mount),me},ve=(R,B)=>{let G={...c.mount?u:o};return B&&(G=dE(B.dirtyFields?r.dirtyFields:r.touchedFields,G)),Ot(R)?G:Fn(R)?pe(G,R):R.map(me=>pe(G,me))},A=(R,B)=>({invalid:!!pe((B||r).errors,R),isDirty:!!pe((B||r).dirtyFields,R),error:pe((B||r).errors,R),isValidating:!!pe(r.validatingFields,R),isTouched:!!pe((B||r).touchedFields,R)}),q=R=>{R&&fl(R).forEach(B=>Yt(r.errors,B)),b.state.next({errors:R?r.errors:{}})},X=(R,B,G)=>{const me=(pe(i,R,{_f:{}})._f||{}).ref,se=pe(r.errors,R)||{},{ref:le,message:Oe,type:Xe,...We}=se;st(r.errors,R,{...We,...B,ref:me}),b.state.next({name:R,errors:r.errors,isValid:!1}),G&&G.shouldFocus&&me&&me.focus&&me.focus()},ne=(R,B)=>pr(R)?b.state.subscribe({next:G=>"values"in G&&R(ie(void 0,B),G)}):ie(R,B,!0),ce=R=>b.state.subscribe({next:B=>{Q5(R.name,B.name,R.exact)&&K5(B,R.formState||y,Pr,R.reRenderRoot)&&R.callback({values:{...u},...r,...B,defaultValues:o})}}).unsubscribe,Te=R=>(c.mount=!0,g={...g,...R.formState},ce({...R,formState:g})),de=(R,B={})=>{for(const G of R?fl(R):h.mount)h.mount.delete(G),h.array.delete(G),B.keepValue||(Yt(i,G),Yt(u,G)),!B.keepError&&Yt(r.errors,G),!B.keepDirty&&Yt(r.dirtyFields,G),!B.keepTouched&&Yt(r.touchedFields,G),!B.keepIsValidating&&Yt(r.validatingFields,G),!t.shouldUnregister&&!B.keepDefaultValue&&Yt(o,G);b.state.next({values:Zt(u)}),b.state.next({...r,...B.keepDirty?{isDirty:we()}:{}}),!B.keepIsValid&&E()},Me=({disabled:R,name:B})=>{(Bn(R)&&c.mount||R||h.disabled.has(B))&&(R?h.disabled.add(B):h.disabled.delete(B))},Be=(R,B={})=>{let G=pe(i,R);const me=Bn(B.disabled)||Bn(t.disabled);return st(i,R,{...G||{},_f:{...G&&G._f?G._f:{ref:{name:R}},name:R,mount:!0,...B}}),h.mount.add(R),G?Me({disabled:Bn(B.disabled)?B.disabled:t.disabled,name:R}):k(R,!0,B.value),{...me?{disabled:B.disabled||t.disabled}:{},...t.progressive?{required:!!B.required,min:ll(B.min),max:ll(B.max),minLength:ll(B.minLength),maxLength:ll(B.maxLength),pattern:ll(B.pattern)}:{},name:R,onChange:I,onBlur:I,ref:se=>{if(se){Be(R,B),G=pe(i,R);const le=Ot(se.value)&&se.querySelectorAll&&se.querySelectorAll("input,select,textarea")[0]||se,Oe=Z5(le),Xe=G._f.refs||[];if(Oe?Xe.find(We=>We===le):le===G._f.ref)return;st(i,R,{_f:{...G._f,...Oe?{refs:[...Xe.filter(mm),le,...Array.isArray(pe(o,R))?[{}]:[]],ref:{type:le.type,name:R}}:{ref:le}}}),k(R,!1,void 0,le)}else G=pe(i,R,{}),G._f&&(G._f.mount=!1),(t.shouldUnregister||B.shouldUnregister)&&!(uE(h.array,R)&&c.action)&&h.unMount.add(R)}}},Ct=()=>t.shouldFocusError&&dl(i,L,h.mount),Qt=R=>{Bn(R)&&(b.state.next({disabled:R}),dl(i,(B,G)=>{const me=pe(i,G);me&&(B.disabled=me._f.disabled||R,Array.isArray(me._f.refs)&&me._f.refs.forEach(se=>{se.disabled=me._f.disabled||R}))},0,!1))},kt=(R,B)=>async G=>{let me;G&&(G.preventDefault&&G.preventDefault(),G.persist&&G.persist());let se=Zt(u);if(b.state.next({isSubmitting:!0}),t.resolver){const{errors:le,values:Oe}=await F();r.errors=le,se=Zt(Oe)}else await he(i);if(h.disabled.size)for(const le of h.disabled)Yt(se,le);if(Yt(r.errors,"root"),dn(r.errors)){b.state.next({errors:{}});try{await R(se,G)}catch(le){me=le}}else B&&await B({...r.errors},G),Ct(),setTimeout(Ct);if(b.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:dn(r.errors)&&!me,submitCount:r.submitCount+1,errors:r.errors}),me)throw me},or=(R,B={})=>{pe(i,R)&&(Ot(B.defaultValue)?M(R,Zt(pe(o,R))):(M(R,B.defaultValue),st(o,R,Zt(B.defaultValue))),B.keepTouched||Yt(r.touchedFields,R),B.keepDirty||(Yt(r.dirtyFields,R),r.isDirty=B.defaultValue?we(R,Zt(pe(o,R))):we()),B.keepError||(Yt(r.errors,R),y.isValid&&E()),b.state.next({...r}))},pn=(R,B={})=>{const G=R?Zt(R):o,me=Zt(G),se=dn(R),le=se?o:me;if(B.keepDefaultValues||(o=G),!B.keepValues){if(B.keepDirtyValues){const Oe=new Set([...h.mount,...Object.keys($s(o,u))]);for(const Xe of Array.from(Oe))pe(r.dirtyFields,Xe)?st(le,Xe,pe(u,Xe)):M(Xe,pe(le,Xe))}else{if(ag&&Ot(R))for(const Oe of h.mount){const Xe=pe(i,Oe);if(Xe&&Xe._f){const We=Array.isArray(Xe._f.refs)?Xe._f.refs[0]:Xe._f.ref;if(Hc(We)){const qt=We.closest("form");if(qt){qt.reset();break}}}}if(B.keepFieldsRef)for(const Oe of h.mount)M(Oe,pe(le,Oe));else i={}}u=t.shouldUnregister?B.keepDefaultValues?Zt(o):{}:Zt(le),b.array.next({values:{...le}}),b.state.next({values:{...le}})}h={mount:B.keepDirtyValues?h.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!y.isValid||!!B.keepIsValid||!!B.keepDirtyValues||!t.shouldUnregister&&!dn(le),c.watch=!!t.shouldUnregister,c.action=!1,B.keepErrors||(r.errors={}),b.state.next({submitCount:B.keepSubmitCount?r.submitCount:0,isDirty:se?!1:B.keepDirty?r.isDirty:!!(B.keepDefaultValues&&!mr(R,o)),isSubmitted:B.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:se?{}:B.keepDirtyValues?B.keepDefaultValues&&u?$s(o,u):r.dirtyFields:B.keepDefaultValues&&R?$s(o,R):B.keepDirty?r.dirtyFields:{},touchedFields:B.keepTouched?r.touchedFields:{},errors:B.keepErrors?r.errors:{},isSubmitSuccessful:B.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:o})},Ta=(R,B)=>pn(pr(R)?R(u):R,B),Oa=(R,B={})=>{const G=pe(i,R),me=G&&G._f;if(me){const se=me.refs?me.refs[0]:me.ref;se.focus&&(se.focus(),B.shouldSelect&&pr(se.select)&&se.select())}},Pr=R=>{r={...r,...R}},sn={control:{register:Be,unregister:de,getFieldState:A,handleSubmit:kt,setError:X,_subscribe:ce,_runSchema:F,_focusError:Ct,_getWatch:ie,_getDirty:we,_setValid:E,_setFieldArray:D,_setDisabledField:Me,_setErrors:j,_getFieldArray:ue,_reset:pn,_resetDefaultValues:()=>pr(t.defaultValues)&&t.defaultValues().then(R=>{Ta(R,t.resetOptions),b.state.next({isLoading:!1})}),_removeUnmounted:_e,_disableForm:Qt,_subjects:b,_proxyFormState:y,get _fields(){return i},get _formValues(){return u},get _state(){return c},set _state(R){c=R},get _defaultValues(){return o},get _names(){return h},set _names(R){h=R},get _formState(){return r},get _options(){return t},set _options(R){t={...t,...R}}},subscribe:Te,trigger:re,register:Be,handleSubmit:kt,watch:ne,setValue:M,getValues:ve,reset:Ta,resetField:or,clearErrors:q,unregister:de,setError:X,setFocus:Oa,getFieldState:A};return{...sn,formControl:sn}}function aU(e={}){const t=W.useRef(void 0),r=W.useRef(void 0),[i,o]=W.useState({isDirty:!1,isValidating:!1,isLoading:pr(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:pr(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:i},e.defaultValues&&!pr(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:c,...h}=rU(e);t.current={...h,formState:i}}const u=t.current.control;return u._options=e,lg(()=>{const c=u._subscribe({formState:u._proxyFormState,callback:()=>o({...u._formState}),reRenderRoot:!0});return o(h=>({...h,isReady:!0})),u._formState.isReady=!0,c},[u]),W.useEffect(()=>u._disableForm(e.disabled),[u,e.disabled]),W.useEffect(()=>{e.mode&&(u._options.mode=e.mode),e.reValidateMode&&(u._options.reValidateMode=e.reValidateMode)},[u,e.mode,e.reValidateMode]),W.useEffect(()=>{e.errors&&(u._setErrors(e.errors),u._focusError())},[u,e.errors]),W.useEffect(()=>{e.shouldUnregister&&u._subjects.state.next({values:u._getWatch()})},[u,e.shouldUnregister]),W.useEffect(()=>{if(u._proxyFormState.isDirty){const c=u._getDirty();c!==i.isDirty&&u._subjects.state.next({isDirty:c})}},[u,i.isDirty]),W.useEffect(()=>{var c;e.values&&!mr(e.values,r.current)?(u._reset(e.values,{keepFieldsRef:!0,...u._options.resetOptions}),!((c=u._options.resetOptions)===null||c===void 0)&&c.keepIsValid||u._setValid(),r.current=e.values,o(h=>({...h}))):u._resetDefaultValues()},[u,e.values]),W.useEffect(()=>{u._state.mount||(u._setValid(),u._state.mount=!0),u._state.watch&&(u._state.watch=!1,u._subjects.state.next({...u._formState})),u._removeUnmounted()}),t.current.formState=cE(i,u),t.current}const Z1=(e,t,r)=>{if(e&&"reportValidity"in e){const i=pe(r,t);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},Pm=(e,t)=>{for(const r in t.fields){const i=t.fields[r];i&&i.ref&&"reportValidity"in i.ref?Z1(i.ref,r,e):i&&i.refs&&i.refs.forEach(o=>Z1(o,r,e))}},P1=(e,t)=>{t.shouldUseNativeValidation&&Pm(e,t);const r={};for(const i in e){const o=pe(t.fields,i),u=Object.assign(e[i]||{},{ref:o&&o.ref});if(iU(t.names||Object.keys(e),i)){const c=Object.assign({},pe(r,i));st(c,"root",u),st(r,i,c)}else st(r,i,u)}return r},iU=(e,t)=>{const r=G1(t);return e.some(i=>G1(i).match(`^${r}\\.\\d+`))};function G1(e){return e.replace(/\]|\[/g,"")}function ae(e,t,r){function i(h,p){if(h._zod||Object.defineProperty(h,"_zod",{value:{def:p,constr:c,traits:new Set},enumerable:!1}),h._zod.traits.has(e))return;h._zod.traits.add(e),t(h,p);const m=c.prototype,y=Object.keys(m);for(let g=0;gr?.Parent&&h instanceof r.Parent?!0:h?._zod?.traits?.has(e)}),Object.defineProperty(c,"name",{value:e}),c}class Ws extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class vE extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}const bE={};function Hi(e){return bE}function sU(e){const t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,o])=>t.indexOf(+i)===-1).map(([i,o])=>o)}function Gm(e,t){return typeof t=="bigint"?t.toString():t}function dg(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function hg(e){return e==null}function mg(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}const q1=Symbol("evaluating");function dt(e,t,r){let i;Object.defineProperty(e,t,{get(){if(i!==q1)return i===void 0&&(i=q1,i=r()),i},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function Pi(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function Gi(...e){const t={};for(const r of e){const i=Object.getOwnPropertyDescriptors(r);Object.assign(t,i)}return Object.defineProperties({},t)}function I1(e){return JSON.stringify(e)}function oU(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const _E="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Bc(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const lU=dg(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function wl(e){if(Bc(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(Bc(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function wE(e){return wl(e)?{...e}:Array.isArray(e)?[...e]:e}const uU=new Set(["string","number","symbol"]);function wf(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function li(e,t,r){const i=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(i._zod.parent=e),i}function ke(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function cU(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}function fU(e,t){const r=e._zod.def,i=Gi(e._zod.def,{get shape(){const o={};for(const u in t){if(!(u in r.shape))throw new Error(`Unrecognized key: "${u}"`);t[u]&&(o[u]=r.shape[u])}return Pi(this,"shape",o),o},checks:[]});return li(e,i)}function dU(e,t){const r=e._zod.def,i=Gi(e._zod.def,{get shape(){const o={...e._zod.def.shape};for(const u in t){if(!(u in r.shape))throw new Error(`Unrecognized key: "${u}"`);t[u]&&delete o[u]}return Pi(this,"shape",o),o},checks:[]});return li(e,i)}function hU(e,t){if(!wl(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const o=Gi(e._zod.def,{get shape(){const u={...e._zod.def.shape,...t};return Pi(this,"shape",u),u},checks:[]});return li(e,o)}function mU(e,t){if(!wl(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r={...e._zod.def,get shape(){const i={...e._zod.def.shape,...t};return Pi(this,"shape",i),i},checks:e._zod.def.checks};return li(e,r)}function pU(e,t){const r=Gi(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t._zod.def.shape};return Pi(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:[]});return li(e,r)}function gU(e,t,r){const i=Gi(t._zod.def,{get shape(){const o=t._zod.def.shape,u={...o};if(r)for(const c in r){if(!(c in o))throw new Error(`Unrecognized key: "${c}"`);r[c]&&(u[c]=e?new e({type:"optional",innerType:o[c]}):o[c])}else for(const c in o)u[c]=e?new e({type:"optional",innerType:o[c]}):o[c];return Pi(this,"shape",u),u},checks:[]});return li(t,i)}function yU(e,t,r){const i=Gi(t._zod.def,{get shape(){const o=t._zod.def.shape,u={...o};if(r)for(const c in r){if(!(c in u))throw new Error(`Unrecognized key: "${c}"`);r[c]&&(u[c]=new e({type:"nonoptional",innerType:o[c]}))}else for(const c in o)u[c]=new e({type:"nonoptional",innerType:o[c]});return Pi(this,"shape",u),u},checks:[]});return li(t,i)}function Zs(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function oc(e){return typeof e=="string"?e:e?.message}function Vi(e,t,r){const i={...e,path:e.path??[]};if(!e.message){const o=oc(e.inst?._zod.def?.error?.(e))??oc(t?.error?.(e))??oc(r.customError?.(e))??oc(r.localeError?.(e))??"Invalid input";i.message=o}return delete i.inst,delete i.continue,t?.reportInput||delete i.input,i}function pg(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Sl(...e){const[t,r,i]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:i}:{...t}}const xE=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Gm,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},gg=ae("$ZodError",xE),Sf=ae("$ZodError",xE,{Parent:Error});function vU(e,t=r=>r.message){const r={},i=[];for(const o of e.issues)o.path.length>0?(r[o.path[0]]=r[o.path[0]]||[],r[o.path[0]].push(t(o))):i.push(t(o));return{formErrors:i,fieldErrors:r}}function bU(e,t=r=>r.message){const r={_errors:[]},i=o=>{for(const u of o.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(c=>i({issues:c}));else if(u.code==="invalid_key")i({issues:u.issues});else if(u.code==="invalid_element")i({issues:u.issues});else if(u.path.length===0)r._errors.push(t(u));else{let c=r,h=0;for(;h(t,r,i,o)=>{const u=i?Object.assign(i,{async:!1}):{async:!1},c=t._zod.run({value:r,issues:[]},u);if(c instanceof Promise)throw new Ws;if(c.issues.length){const h=new(o?.Err??e)(c.issues.map(p=>Vi(p,u,Hi())));throw _E(h,o?.callee),h}return c.value},_U=xf(Sf),Ef=e=>async(t,r,i,o)=>{const u=i?Object.assign(i,{async:!0}):{async:!0};let c=t._zod.run({value:r,issues:[]},u);if(c instanceof Promise&&(c=await c),c.issues.length){const h=new(o?.Err??e)(c.issues.map(p=>Vi(p,u,Hi())));throw _E(h,o?.callee),h}return c.value},wU=Ef(Sf),Tf=e=>(t,r,i)=>{const o=i?{...i,async:!1}:{async:!1},u=t._zod.run({value:r,issues:[]},o);if(u instanceof Promise)throw new Ws;return u.issues.length?{success:!1,error:new(e??gg)(u.issues.map(c=>Vi(c,o,Hi())))}:{success:!0,data:u.value}},SU=Tf(Sf),Of=e=>async(t,r,i)=>{const o=i?Object.assign(i,{async:!0}):{async:!0};let u=t._zod.run({value:r,issues:[]},o);return u instanceof Promise&&(u=await u),u.issues.length?{success:!1,error:new e(u.issues.map(c=>Vi(c,o,Hi())))}:{success:!0,data:u.value}},xU=Of(Sf),EU=e=>(t,r,i)=>{const o=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return xf(e)(t,r,o)},TU=e=>(t,r,i)=>xf(e)(t,r,i),OU=e=>async(t,r,i)=>{const o=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Ef(e)(t,r,o)},AU=e=>async(t,r,i)=>Ef(e)(t,r,i),CU=e=>(t,r,i)=>{const o=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Tf(e)(t,r,o)},DU=e=>(t,r,i)=>Tf(e)(t,r,i),MU=e=>async(t,r,i)=>{const o=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Of(e)(t,r,o)},RU=e=>async(t,r,i)=>Of(e)(t,r,i),NU=/^[cC][^\s-]{8,}$/,kU=/^[0-9a-z]+$/,zU=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,jU=/^[0-9a-vA-V]{20}$/,UU=/^[A-Za-z0-9]{27}$/,LU=/^[a-zA-Z0-9_-]{21}$/,YU=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,HU=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,X1=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,VU=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,BU="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function $U(){return new RegExp(BU,"u")}const FU=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ZU=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,PU=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,GU=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,qU=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,EE=/^[A-Za-z0-9_-]*$/,IU=/^\+(?:[0-9]){6,14}[0-9]$/,TE="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",XU=new RegExp(`^${TE}$`);function OE(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function WU(e){return new RegExp(`^${OE(e)}$`)}function KU(e){const t=OE({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const i=`${t}(?:${r.join("|")})`;return new RegExp(`^${TE}T(?:${i})$`)}const QU=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},JU=/^[^A-Z]*$/,e8=/^[^a-z]*$/,Zr=ae("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),t8=ae("$ZodCheckMaxLength",(e,t)=>{var r;Zr.init(e,t),(r=e._zod.def).when??(r.when=i=>{const o=i.value;return!hg(o)&&o.length!==void 0}),e._zod.onattach.push(i=>{const o=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum{const o=i.value;if(o.length<=t.maximum)return;const c=pg(o);i.issues.push({origin:c,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),n8=ae("$ZodCheckMinLength",(e,t)=>{var r;Zr.init(e,t),(r=e._zod.def).when??(r.when=i=>{const o=i.value;return!hg(o)&&o.length!==void 0}),e._zod.onattach.push(i=>{const o=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{const o=i.value;if(o.length>=t.minimum)return;const c=pg(o);i.issues.push({origin:c,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),r8=ae("$ZodCheckLengthEquals",(e,t)=>{var r;Zr.init(e,t),(r=e._zod.def).when??(r.when=i=>{const o=i.value;return!hg(o)&&o.length!==void 0}),e._zod.onattach.push(i=>{const o=i._zod.bag;o.minimum=t.length,o.maximum=t.length,o.length=t.length}),e._zod.check=i=>{const o=i.value,u=o.length;if(u===t.length)return;const c=pg(o),h=u>t.length;i.issues.push({origin:c,...h?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),Af=ae("$ZodCheckStringFormat",(e,t)=>{var r,i;Zr.init(e,t),e._zod.onattach.push(o=>{const u=o._zod.bag;u.format=t.format,t.pattern&&(u.patterns??(u.patterns=new Set),u.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),a8=ae("$ZodCheckRegex",(e,t)=>{Af.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),i8=ae("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=JU),Af.init(e,t)}),s8=ae("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=e8),Af.init(e,t)}),o8=ae("$ZodCheckIncludes",(e,t)=>{Zr.init(e,t);const r=wf(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=i,e._zod.onattach.push(o=>{const u=o._zod.bag;u.patterns??(u.patterns=new Set),u.patterns.add(i)}),e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),l8=ae("$ZodCheckStartsWith",(e,t)=>{Zr.init(e,t);const r=new RegExp(`^${wf(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(i=>{const o=i._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=i=>{i.value.startsWith(t.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),u8=ae("$ZodCheckEndsWith",(e,t)=>{Zr.init(e,t);const r=new RegExp(`.*${wf(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(i=>{const o=i._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=i=>{i.value.endsWith(t.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}}),c8=ae("$ZodCheckOverwrite",(e,t)=>{Zr.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class f8{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const i=t.split(` +`).filter(c=>c),o=Math.min(...i.map(c=>c.length-c.trimStart().length)),u=i.map(c=>c.slice(o)).map(c=>" ".repeat(this.indent*2)+c);for(const c of u)this.content.push(c)}compile(){const t=Function,r=this?.args,o=[...(this?.content??[""]).map(u=>` ${u}`)];return new t(...r,o.join(` +`))}}const d8={major:4,minor:1,patch:13},Gt=ae("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=d8;const i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(const o of i)for(const u of o._zod.onattach)u(e);if(i.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const o=(c,h,p)=>{let m=Zs(c),y;for(const g of h){if(g._zod.def.when){if(!g._zod.def.when(c))continue}else if(m)continue;const b=c.issues.length,T=g._zod.check(c);if(T instanceof Promise&&p?.async===!1)throw new Ws;if(y||T instanceof Promise)y=(y??Promise.resolve()).then(async()=>{await T,c.issues.length!==b&&(m||(m=Zs(c,b)))});else{if(c.issues.length===b)continue;m||(m=Zs(c,b))}}return y?y.then(()=>c):c},u=(c,h,p)=>{if(Zs(c))return c.aborted=!0,c;const m=o(h,i,p);if(m instanceof Promise){if(p.async===!1)throw new Ws;return m.then(y=>e._zod.parse(y,p))}return e._zod.parse(m,p)};e._zod.run=(c,h)=>{if(h.skipChecks)return e._zod.parse(c,h);if(h.direction==="backward"){const m=e._zod.parse({value:c.value,issues:[]},{...h,skipChecks:!0});return m instanceof Promise?m.then(y=>u(y,c,h)):u(m,c,h)}const p=e._zod.parse(c,h);if(p instanceof Promise){if(h.async===!1)throw new Ws;return p.then(m=>o(m,i,h))}return o(p,i,h)}}e["~standard"]={validate:o=>{try{const u=SU(e,o);return u.success?{value:u.data}:{issues:u.error?.issues}}catch{return xU(e,o).then(c=>c.success?{value:c.data}:{issues:c.error?.issues})}},vendor:"zod",version:1}}),yg=ae("$ZodString",(e,t)=>{Gt.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??QU(e._zod.bag),e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),wt=ae("$ZodStringFormat",(e,t)=>{Af.init(e,t),yg.init(e,t)}),h8=ae("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=HU),wt.init(e,t)}),m8=ae("$ZodUUID",(e,t)=>{if(t.version){const i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=X1(i))}else t.pattern??(t.pattern=X1());wt.init(e,t)}),p8=ae("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=VU),wt.init(e,t)}),g8=ae("$ZodURL",(e,t)=>{wt.init(e,t),e._zod.check=r=>{try{const i=r.value.trim(),o=new URL(i);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(o.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=o.href:r.value=i;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),y8=ae("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=$U()),wt.init(e,t)}),v8=ae("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=LU),wt.init(e,t)}),b8=ae("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=NU),wt.init(e,t)}),_8=ae("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=kU),wt.init(e,t)}),w8=ae("$ZodULID",(e,t)=>{t.pattern??(t.pattern=zU),wt.init(e,t)}),S8=ae("$ZodXID",(e,t)=>{t.pattern??(t.pattern=jU),wt.init(e,t)}),x8=ae("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=UU),wt.init(e,t)}),E8=ae("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=KU(t)),wt.init(e,t)}),T8=ae("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=XU),wt.init(e,t)}),O8=ae("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=WU(t)),wt.init(e,t)}),A8=ae("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=YU),wt.init(e,t)}),C8=ae("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=FU),wt.init(e,t),e._zod.bag.format="ipv4"}),D8=ae("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=ZU),wt.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),M8=ae("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=PU),wt.init(e,t)}),R8=ae("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=GU),wt.init(e,t),e._zod.check=r=>{const i=r.value.split("/");try{if(i.length!==2)throw new Error;const[o,u]=i;if(!u)throw new Error;const c=Number(u);if(`${c}`!==u)throw new Error;if(c<0||c>128)throw new Error;new URL(`http://[${o}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function AE(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const N8=ae("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=qU),wt.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{AE(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function k8(e){if(!EE.test(e))return!1;const t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return AE(r)}const z8=ae("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=EE),wt.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{k8(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),j8=ae("$ZodE164",(e,t)=>{t.pattern??(t.pattern=IU),wt.init(e,t)});function U8(e,t=null){try{const r=e.split(".");if(r.length!==3)return!1;const[i]=r;if(!i)return!1;const o=JSON.parse(atob(i));return!("typ"in o&&o?.typ!=="JWT"||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}}const L8=ae("$ZodJWT",(e,t)=>{wt.init(e,t),e._zod.check=r=>{U8(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),Y8=ae("$ZodUnknown",(e,t)=>{Gt.init(e,t),e._zod.parse=r=>r}),H8=ae("$ZodNever",(e,t)=>{Gt.init(e,t),e._zod.parse=(r,i)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)});function W1(e,t,r){e.issues.length&&t.issues.push(...SE(r,e.issues)),t.value[r]=e.value}const V8=ae("$ZodArray",(e,t)=>{Gt.init(e,t),e._zod.parse=(r,i)=>{const o=r.value;if(!Array.isArray(o))return r.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),r;r.value=Array(o.length);const u=[];for(let c=0;cW1(m,r,c))):W1(p,r,c)}return u.length?Promise.all(u).then(()=>r):r}});function $c(e,t,r,i){e.issues.length&&t.issues.push(...SE(r,e.issues)),e.value===void 0?r in i&&(t.value[r]=void 0):t.value[r]=e.value}function CE(e){const t=Object.keys(e.shape);for(const i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);const r=cU(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function DE(e,t,r,i,o,u){const c=[],h=o.keySet,p=o.catchall._zod,m=p.def.type;for(const y in t){if(h.has(y))continue;if(m==="never"){c.push(y);continue}const g=p.run({value:t[y],issues:[]},i);g instanceof Promise?e.push(g.then(b=>$c(b,r,y,t))):$c(g,r,y,t)}return c.length&&r.issues.push({code:"unrecognized_keys",keys:c,input:t,inst:u}),e.length?Promise.all(e).then(()=>r):r}const B8=ae("$ZodObject",(e,t)=>{if(Gt.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const h=t.shape;Object.defineProperty(t,"shape",{get:()=>{const p={...h};return Object.defineProperty(t,"shape",{value:p}),p}})}const i=dg(()=>CE(t));dt(e._zod,"propValues",()=>{const h=t.shape,p={};for(const m in h){const y=h[m]._zod;if(y.values){p[m]??(p[m]=new Set);for(const g of y.values)p[m].add(g)}}return p});const o=Bc,u=t.catchall;let c;e._zod.parse=(h,p)=>{c??(c=i.value);const m=h.value;if(!o(m))return h.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),h;h.value={};const y=[],g=c.shape;for(const b of c.keys){const x=g[b]._zod.run({value:m[b],issues:[]},p);x instanceof Promise?y.push(x.then(E=>$c(E,h,b,m))):$c(x,h,b,m)}return u?DE(y,m,h,p,i.value,e):y.length?Promise.all(y).then(()=>h):h}}),$8=ae("$ZodObjectJIT",(e,t)=>{B8.init(e,t);const r=e._zod.parse,i=dg(()=>CE(t)),o=b=>{const T=new f8(["shape","payload","ctx"]),x=i.value,E=j=>{const k=I1(j);return`shape[${k}]._zod.run({ value: input[${k}], issues: [] }, ctx)`};T.write("const input = payload.value;");const O=Object.create(null);let D=0;for(const j of x.keys)O[j]=`key_${D++}`;T.write("const newResult = {};");for(const j of x.keys){const k=O[j],Y=I1(j);T.write(`const ${k} = ${E(j)};`),T.write(` + if (${k}.issues.length) { + payload.issues = payload.issues.concat(${k}.issues.map(iss => ({ + ...iss, + path: iss.path ? [${Y}, ...iss.path] : [${Y}] + }))); + } + + + if (${k}.value === undefined) { + if (${Y} in input) { + newResult[${Y}] = undefined; + } + } else { + newResult[${Y}] = ${k}.value; + } + + `)}T.write("payload.value = newResult;"),T.write("return payload;");const U=T.compile();return(j,k)=>U(b,j,k)};let u;const c=Bc,h=!bE.jitless,m=h&&lU.value,y=t.catchall;let g;e._zod.parse=(b,T)=>{g??(g=i.value);const x=b.value;return c(x)?h&&m&&T?.async===!1&&T.jitless!==!0?(u||(u=o(t.shape)),b=u(b,T),y?DE([],x,b,T,g,e):b):r(b,T):(b.issues.push({expected:"object",code:"invalid_type",input:x,inst:e}),b)}});function K1(e,t,r,i){for(const u of e)if(u.issues.length===0)return t.value=u.value,t;const o=e.filter(u=>!Zs(u));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(u=>u.issues.map(c=>Vi(c,i,Hi())))}),t)}const F8=ae("$ZodUnion",(e,t)=>{Gt.init(e,t),dt(e._zod,"optin",()=>t.options.some(o=>o._zod.optin==="optional")?"optional":void 0),dt(e._zod,"optout",()=>t.options.some(o=>o._zod.optout==="optional")?"optional":void 0),dt(e._zod,"values",()=>{if(t.options.every(o=>o._zod.values))return new Set(t.options.flatMap(o=>Array.from(o._zod.values)))}),dt(e._zod,"pattern",()=>{if(t.options.every(o=>o._zod.pattern)){const o=t.options.map(u=>u._zod.pattern);return new RegExp(`^(${o.map(u=>mg(u.source)).join("|")})$`)}});const r=t.options.length===1,i=t.options[0]._zod.run;e._zod.parse=(o,u)=>{if(r)return i(o,u);let c=!1;const h=[];for(const p of t.options){const m=p._zod.run({value:o.value,issues:[]},u);if(m instanceof Promise)h.push(m),c=!0;else{if(m.issues.length===0)return m;h.push(m)}}return c?Promise.all(h).then(p=>K1(p,o,e,u)):K1(h,o,e,u)}}),Z8=ae("$ZodIntersection",(e,t)=>{Gt.init(e,t),e._zod.parse=(r,i)=>{const o=r.value,u=t.left._zod.run({value:o,issues:[]},i),c=t.right._zod.run({value:o,issues:[]},i);return u instanceof Promise||c instanceof Promise?Promise.all([u,c]).then(([p,m])=>Q1(r,p,m)):Q1(r,u,c)}});function qm(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(wl(e)&&wl(t)){const r=Object.keys(t),i=Object.keys(e).filter(u=>r.indexOf(u)!==-1),o={...e,...t};for(const u of i){const c=qm(e[u],t[u]);if(!c.valid)return{valid:!1,mergeErrorPath:[u,...c.mergeErrorPath]};o[u]=c.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let i=0;i{Gt.init(e,t);const r=sU(t.entries),i=new Set(r);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.filter(o=>uU.has(typeof o)).map(o=>typeof o=="string"?wf(o):o.toString()).join("|")})$`),e._zod.parse=(o,u)=>{const c=o.value;return i.has(c)||o.issues.push({code:"invalid_value",values:r,input:c,inst:e}),o}}),G8=ae("$ZodTransform",(e,t)=>{Gt.init(e,t),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new vE(e.constructor.name);const o=t.transform(r.value,r);if(i.async)return(o instanceof Promise?o:Promise.resolve(o)).then(c=>(r.value=c,r));if(o instanceof Promise)throw new Ws;return r.value=o,r}});function J1(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const q8=ae("$ZodOptional",(e,t)=>{Gt.init(e,t),e._zod.optin="optional",e._zod.optout="optional",dt(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),dt(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${mg(r.source)})?$`):void 0}),e._zod.parse=(r,i)=>{if(t.innerType._zod.optin==="optional"){const o=t.innerType._zod.run(r,i);return o instanceof Promise?o.then(u=>J1(u,r.value)):J1(o,r.value)}return r.value===void 0?r:t.innerType._zod.run(r,i)}}),I8=ae("$ZodNullable",(e,t)=>{Gt.init(e,t),dt(e._zod,"optin",()=>t.innerType._zod.optin),dt(e._zod,"optout",()=>t.innerType._zod.optout),dt(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${mg(r.source)}|null)$`):void 0}),dt(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:t.innerType._zod.run(r,i)}),X8=ae("$ZodDefault",(e,t)=>{Gt.init(e,t),e._zod.optin="optional",dt(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);if(r.value===void 0)return r.value=t.defaultValue,r;const o=t.innerType._zod.run(r,i);return o instanceof Promise?o.then(u=>e_(u,t)):e_(o,t)}});function e_(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const W8=ae("$ZodPrefault",(e,t)=>{Gt.init(e,t),e._zod.optin="optional",dt(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>(i.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,i))}),K8=ae("$ZodNonOptional",(e,t)=>{Gt.init(e,t),dt(e._zod,"values",()=>{const r=t.innerType._zod.values;return r?new Set([...r].filter(i=>i!==void 0)):void 0}),e._zod.parse=(r,i)=>{const o=t.innerType._zod.run(r,i);return o instanceof Promise?o.then(u=>t_(u,e)):t_(o,e)}});function t_(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const Q8=ae("$ZodCatch",(e,t)=>{Gt.init(e,t),dt(e._zod,"optin",()=>t.innerType._zod.optin),dt(e._zod,"optout",()=>t.innerType._zod.optout),dt(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);const o=t.innerType._zod.run(r,i);return o instanceof Promise?o.then(u=>(r.value=u.value,u.issues.length&&(r.value=t.catchValue({...r,error:{issues:u.issues.map(c=>Vi(c,i,Hi()))},input:r.value}),r.issues=[]),r)):(r.value=o.value,o.issues.length&&(r.value=t.catchValue({...r,error:{issues:o.issues.map(u=>Vi(u,i,Hi()))},input:r.value}),r.issues=[]),r)}}),J8=ae("$ZodPipe",(e,t)=>{Gt.init(e,t),dt(e._zod,"values",()=>t.in._zod.values),dt(e._zod,"optin",()=>t.in._zod.optin),dt(e._zod,"optout",()=>t.out._zod.optout),dt(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,i)=>{if(i.direction==="backward"){const u=t.out._zod.run(r,i);return u instanceof Promise?u.then(c=>lc(c,t.in,i)):lc(u,t.in,i)}const o=t.in._zod.run(r,i);return o instanceof Promise?o.then(u=>lc(u,t.out,i)):lc(o,t.out,i)}});function lc(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}const eL=ae("$ZodReadonly",(e,t)=>{Gt.init(e,t),dt(e._zod,"propValues",()=>t.innerType._zod.propValues),dt(e._zod,"values",()=>t.innerType._zod.values),dt(e._zod,"optin",()=>t.innerType?._zod?.optin),dt(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);const o=t.innerType._zod.run(r,i);return o instanceof Promise?o.then(n_):n_(o)}});function n_(e){return e.value=Object.freeze(e.value),e}const tL=ae("$ZodCustom",(e,t)=>{Zr.init(e,t),Gt.init(e,t),e._zod.parse=(r,i)=>r,e._zod.check=r=>{const i=r.value,o=t.fn(i);if(o instanceof Promise)return o.then(u=>r_(u,r,i,e));r_(o,r,i,e)}});function r_(e,t,r,i){if(!e){const o={code:"custom",input:r,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(o.params=i._zod.def.params),t.issues.push(Sl(o))}}var a_;class nL{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){const i=r[0];if(this._map.set(t,i),i&&typeof i=="object"&&"id"in i){if(this._idmap.has(i.id))throw new Error(`ID ${i.id} already exists in the registry`);this._idmap.set(i.id,t)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){const r=t._zod.parent;if(r){const i={...this.get(r)??{}};delete i.id;const o={...i,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function rL(){return new nL}(a_=globalThis).__zod_globalRegistry??(a_.__zod_globalRegistry=rL());const uc=globalThis.__zod_globalRegistry;function aL(e,t){return new e({type:"string",...ke(t)})}function iL(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...ke(t)})}function i_(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...ke(t)})}function sL(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...ke(t)})}function oL(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ke(t)})}function lL(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ke(t)})}function uL(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ke(t)})}function cL(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...ke(t)})}function fL(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...ke(t)})}function dL(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...ke(t)})}function hL(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...ke(t)})}function mL(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...ke(t)})}function pL(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...ke(t)})}function gL(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...ke(t)})}function yL(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...ke(t)})}function vL(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...ke(t)})}function bL(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...ke(t)})}function _L(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ke(t)})}function wL(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ke(t)})}function SL(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...ke(t)})}function xL(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...ke(t)})}function EL(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...ke(t)})}function TL(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...ke(t)})}function OL(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ke(t)})}function AL(e,t){return new e({type:"string",format:"date",check:"string_format",...ke(t)})}function CL(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...ke(t)})}function DL(e,t){return new e({type:"string",format:"duration",check:"string_format",...ke(t)})}function ML(e){return new e({type:"unknown"})}function RL(e,t){return new e({type:"never",...ke(t)})}function ME(e,t){return new t8({check:"max_length",...ke(t),maximum:e})}function Fc(e,t){return new n8({check:"min_length",...ke(t),minimum:e})}function RE(e,t){return new r8({check:"length_equals",...ke(t),length:e})}function NL(e,t){return new a8({check:"string_format",format:"regex",...ke(t),pattern:e})}function kL(e){return new i8({check:"string_format",format:"lowercase",...ke(e)})}function zL(e){return new s8({check:"string_format",format:"uppercase",...ke(e)})}function jL(e,t){return new o8({check:"string_format",format:"includes",...ke(t),includes:e})}function UL(e,t){return new l8({check:"string_format",format:"starts_with",...ke(t),prefix:e})}function LL(e,t){return new u8({check:"string_format",format:"ends_with",...ke(t),suffix:e})}function uo(e){return new c8({check:"overwrite",tx:e})}function YL(e){return uo(t=>t.normalize(e))}function HL(){return uo(e=>e.trim())}function VL(){return uo(e=>e.toLowerCase())}function BL(){return uo(e=>e.toUpperCase())}function $L(){return uo(e=>oU(e))}function FL(e,t,r){return new e({type:"array",element:t,...ke(r)})}function ZL(e,t,r){return new e({type:"custom",check:"custom",fn:t,...ke(r)})}function PL(e){const t=GL(r=>(r.addIssue=i=>{if(typeof i=="string")r.issues.push(Sl(i,r.value,t._zod.def));else{const o=i;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=r.value),o.inst??(o.inst=t),o.continue??(o.continue=!t._zod.def.abort),r.issues.push(Sl(o))}},e(r.value,r)));return t}function GL(e,t){const r=new Zr({check:"custom",...ke(t)});return r._zod.check=e,r}function s_(e,t){try{var r=e()}catch(i){return t(i)}return r&&r.then?r.then(void 0,t):r}function qL(e,t){for(var r={};e.length;){var i=e[0],o=i.code,u=i.message,c=i.path.join(".");if(!r[c])if("unionErrors"in i){var h=i.unionErrors[0].errors[0];r[c]={message:h.message,type:h.code}}else r[c]={message:u,type:o};if("unionErrors"in i&&i.unionErrors.forEach(function(y){return y.errors.forEach(function(g){return e.push(g)})}),t){var p=r[c].types,m=p&&p[i.code];r[c]=ug(c,t,r,o,m?[].concat(m,i.message):i.message)}e.shift()}return r}function IL(e,t){for(var r={};e.length;){var i=e[0],o=i.code,u=i.message,c=i.path.join(".");if(!r[c])if(i.code==="invalid_union"&&i.errors.length>0){var h=i.errors[0][0];r[c]={message:h.message,type:h.code}}else r[c]={message:u,type:o};if(i.code==="invalid_union"&&i.errors.forEach(function(y){return y.forEach(function(g){return e.push(g)})}),t){var p=r[c].types,m=p&&p[i.code];r[c]=ug(c,t,r,o,m?[].concat(m,i.message):i.message)}e.shift()}return r}function XL(e,t,r){if(r===void 0&&(r={}),(function(i){return"_def"in i&&typeof i._def=="object"&&"typeName"in i._def})(e))return function(i,o,u){try{return Promise.resolve(s_(function(){return Promise.resolve(e[r.mode==="sync"?"parse":"parseAsync"](i,t)).then(function(c){return u.shouldUseNativeValidation&&Pm({},u),{errors:{},values:r.raw?Object.assign({},i):c}})},function(c){if((function(h){return Array.isArray(h?.issues)})(c))return{values:{},errors:P1(qL(c.errors,!u.shouldUseNativeValidation&&u.criteriaMode==="all"),u)};throw c}))}catch(c){return Promise.reject(c)}};if((function(i){return"_zod"in i&&typeof i._zod=="object"})(e))return function(i,o,u){try{return Promise.resolve(s_(function(){return Promise.resolve((r.mode==="sync"?_U:wU)(e,i,t)).then(function(c){return u.shouldUseNativeValidation&&Pm({},u),{errors:{},values:r.raw?Object.assign({},i):c}})},function(c){if((function(h){return h instanceof gg})(c))return{values:{},errors:P1(IL(c.issues,!u.shouldUseNativeValidation&&u.criteriaMode==="all"),u)};throw c}))}catch(c){return Promise.reject(c)}};throw new Error("Invalid input: not a Zod schema")}const WL=ae("ZodISODateTime",(e,t)=>{E8.init(e,t),xt.init(e,t)});function KL(e){return OL(WL,e)}const QL=ae("ZodISODate",(e,t)=>{T8.init(e,t),xt.init(e,t)});function JL(e){return AL(QL,e)}const e9=ae("ZodISOTime",(e,t)=>{O8.init(e,t),xt.init(e,t)});function t9(e){return CL(e9,e)}const n9=ae("ZodISODuration",(e,t)=>{A8.init(e,t),xt.init(e,t)});function r9(e){return DL(n9,e)}const a9=(e,t)=>{gg.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>bU(e,r)},flatten:{value:r=>vU(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,Gm,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,Gm,2)}},isEmpty:{get(){return e.issues.length===0}}})},sr=ae("ZodError",a9,{Parent:Error}),i9=xf(sr),s9=Ef(sr),o9=Tf(sr),l9=Of(sr),u9=EU(sr),c9=TU(sr),f9=OU(sr),d9=AU(sr),h9=CU(sr),m9=DU(sr),p9=MU(sr),g9=RU(sr),Kt=ae("ZodType",(e,t)=>(Gt.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone(Gi(t,{checks:[...t.checks??[],...r.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]})),e.clone=(r,i)=>li(e,r,i),e.brand=()=>e,e.register=((r,i)=>(r.add(e,i),e)),e.parse=(r,i)=>i9(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>o9(e,r,i),e.parseAsync=async(r,i)=>s9(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>l9(e,r,i),e.spa=e.safeParseAsync,e.encode=(r,i)=>u9(e,r,i),e.decode=(r,i)=>c9(e,r,i),e.encodeAsync=async(r,i)=>f9(e,r,i),e.decodeAsync=async(r,i)=>d9(e,r,i),e.safeEncode=(r,i)=>h9(e,r,i),e.safeDecode=(r,i)=>m9(e,r,i),e.safeEncodeAsync=async(r,i)=>p9(e,r,i),e.safeDecodeAsync=async(r,i)=>g9(e,r,i),e.refine=(r,i)=>e.check(oY(r,i)),e.superRefine=r=>e.check(lY(r)),e.overwrite=r=>e.check(uo(r)),e.optional=()=>u_(e),e.nullable=()=>c_(e),e.nullish=()=>u_(c_(e)),e.nonoptional=r=>eY(e,r),e.array=()=>H9(e),e.or=r=>F9([e,r]),e.and=r=>P9(e,r),e.transform=r=>f_(e,I9(r)),e.default=r=>K9(e,r),e.prefault=r=>J9(e,r),e.catch=r=>nY(e,r),e.pipe=r=>f_(e,r),e.readonly=()=>iY(e),e.describe=r=>{const i=e.clone();return uc.add(i,{description:r}),i},Object.defineProperty(e,"description",{get(){return uc.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return uc.get(e);const i=e.clone();return uc.add(i,r[0]),i},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),NE=ae("_ZodString",(e,t)=>{yg.init(e,t),Kt.init(e,t);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...i)=>e.check(NL(...i)),e.includes=(...i)=>e.check(jL(...i)),e.startsWith=(...i)=>e.check(UL(...i)),e.endsWith=(...i)=>e.check(LL(...i)),e.min=(...i)=>e.check(Fc(...i)),e.max=(...i)=>e.check(ME(...i)),e.length=(...i)=>e.check(RE(...i)),e.nonempty=(...i)=>e.check(Fc(1,...i)),e.lowercase=i=>e.check(kL(i)),e.uppercase=i=>e.check(zL(i)),e.trim=()=>e.check(HL()),e.normalize=(...i)=>e.check(YL(...i)),e.toLowerCase=()=>e.check(VL()),e.toUpperCase=()=>e.check(BL()),e.slugify=()=>e.check($L())}),y9=ae("ZodString",(e,t)=>{yg.init(e,t),NE.init(e,t),e.email=r=>e.check(iL(v9,r)),e.url=r=>e.check(cL(b9,r)),e.jwt=r=>e.check(TL(z9,r)),e.emoji=r=>e.check(fL(_9,r)),e.guid=r=>e.check(i_(o_,r)),e.uuid=r=>e.check(sL(cc,r)),e.uuidv4=r=>e.check(oL(cc,r)),e.uuidv6=r=>e.check(lL(cc,r)),e.uuidv7=r=>e.check(uL(cc,r)),e.nanoid=r=>e.check(dL(w9,r)),e.guid=r=>e.check(i_(o_,r)),e.cuid=r=>e.check(hL(S9,r)),e.cuid2=r=>e.check(mL(x9,r)),e.ulid=r=>e.check(pL(E9,r)),e.base64=r=>e.check(SL(R9,r)),e.base64url=r=>e.check(xL(N9,r)),e.xid=r=>e.check(gL(T9,r)),e.ksuid=r=>e.check(yL(O9,r)),e.ipv4=r=>e.check(vL(A9,r)),e.ipv6=r=>e.check(bL(C9,r)),e.cidrv4=r=>e.check(_L(D9,r)),e.cidrv6=r=>e.check(wL(M9,r)),e.e164=r=>e.check(EL(k9,r)),e.datetime=r=>e.check(KL(r)),e.date=r=>e.check(JL(r)),e.time=r=>e.check(t9(r)),e.duration=r=>e.check(r9(r))});function pm(e){return aL(y9,e)}const xt=ae("ZodStringFormat",(e,t)=>{wt.init(e,t),NE.init(e,t)}),v9=ae("ZodEmail",(e,t)=>{p8.init(e,t),xt.init(e,t)}),o_=ae("ZodGUID",(e,t)=>{h8.init(e,t),xt.init(e,t)}),cc=ae("ZodUUID",(e,t)=>{m8.init(e,t),xt.init(e,t)}),b9=ae("ZodURL",(e,t)=>{g8.init(e,t),xt.init(e,t)}),_9=ae("ZodEmoji",(e,t)=>{y8.init(e,t),xt.init(e,t)}),w9=ae("ZodNanoID",(e,t)=>{v8.init(e,t),xt.init(e,t)}),S9=ae("ZodCUID",(e,t)=>{b8.init(e,t),xt.init(e,t)}),x9=ae("ZodCUID2",(e,t)=>{_8.init(e,t),xt.init(e,t)}),E9=ae("ZodULID",(e,t)=>{w8.init(e,t),xt.init(e,t)}),T9=ae("ZodXID",(e,t)=>{S8.init(e,t),xt.init(e,t)}),O9=ae("ZodKSUID",(e,t)=>{x8.init(e,t),xt.init(e,t)}),A9=ae("ZodIPv4",(e,t)=>{C8.init(e,t),xt.init(e,t)}),C9=ae("ZodIPv6",(e,t)=>{D8.init(e,t),xt.init(e,t)}),D9=ae("ZodCIDRv4",(e,t)=>{M8.init(e,t),xt.init(e,t)}),M9=ae("ZodCIDRv6",(e,t)=>{R8.init(e,t),xt.init(e,t)}),R9=ae("ZodBase64",(e,t)=>{N8.init(e,t),xt.init(e,t)}),N9=ae("ZodBase64URL",(e,t)=>{z8.init(e,t),xt.init(e,t)}),k9=ae("ZodE164",(e,t)=>{j8.init(e,t),xt.init(e,t)}),z9=ae("ZodJWT",(e,t)=>{L8.init(e,t),xt.init(e,t)}),j9=ae("ZodUnknown",(e,t)=>{Y8.init(e,t),Kt.init(e,t)});function l_(){return ML(j9)}const U9=ae("ZodNever",(e,t)=>{H8.init(e,t),Kt.init(e,t)});function L9(e){return RL(U9,e)}const Y9=ae("ZodArray",(e,t)=>{V8.init(e,t),Kt.init(e,t),e.element=t.element,e.min=(r,i)=>e.check(Fc(r,i)),e.nonempty=r=>e.check(Fc(1,r)),e.max=(r,i)=>e.check(ME(r,i)),e.length=(r,i)=>e.check(RE(r,i)),e.unwrap=()=>e.element});function H9(e,t){return FL(Y9,e,t)}const V9=ae("ZodObject",(e,t)=>{$8.init(e,t),Kt.init(e,t),dt(e,"shape",()=>t.shape),e.keyof=()=>G9(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:l_()}),e.loose=()=>e.clone({...e._zod.def,catchall:l_()}),e.strict=()=>e.clone({...e._zod.def,catchall:L9()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>hU(e,r),e.safeExtend=r=>mU(e,r),e.merge=r=>pU(e,r),e.pick=r=>fU(e,r),e.omit=r=>dU(e,r),e.partial=(...r)=>gU(kE,e,r[0]),e.required=(...r)=>yU(zE,e,r[0])});function B9(e,t){const r={type:"object",shape:e??{},...ke(t)};return new V9(r)}const $9=ae("ZodUnion",(e,t)=>{F8.init(e,t),Kt.init(e,t),e.options=t.options});function F9(e,t){return new $9({type:"union",options:e,...ke(t)})}const Z9=ae("ZodIntersection",(e,t)=>{Z8.init(e,t),Kt.init(e,t)});function P9(e,t){return new Z9({type:"intersection",left:e,right:t})}const Im=ae("ZodEnum",(e,t)=>{P8.init(e,t),Kt.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(i,o)=>{const u={};for(const c of i)if(r.has(c))u[c]=t.entries[c];else throw new Error(`Key ${c} not found in enum`);return new Im({...t,checks:[],...ke(o),entries:u})},e.exclude=(i,o)=>{const u={...t.entries};for(const c of i)if(r.has(c))delete u[c];else throw new Error(`Key ${c} not found in enum`);return new Im({...t,checks:[],...ke(o),entries:u})}});function G9(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Im({type:"enum",entries:r,...ke(t)})}const q9=ae("ZodTransform",(e,t)=>{G8.init(e,t),Kt.init(e,t),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new vE(e.constructor.name);r.addIssue=u=>{if(typeof u=="string")r.issues.push(Sl(u,r.value,t));else{const c=u;c.fatal&&(c.continue=!1),c.code??(c.code="custom"),c.input??(c.input=r.value),c.inst??(c.inst=e),r.issues.push(Sl(c))}};const o=t.transform(r.value,r);return o instanceof Promise?o.then(u=>(r.value=u,r)):(r.value=o,r)}});function I9(e){return new q9({type:"transform",transform:e})}const kE=ae("ZodOptional",(e,t)=>{q8.init(e,t),Kt.init(e,t),e.unwrap=()=>e._zod.def.innerType});function u_(e){return new kE({type:"optional",innerType:e})}const X9=ae("ZodNullable",(e,t)=>{I8.init(e,t),Kt.init(e,t),e.unwrap=()=>e._zod.def.innerType});function c_(e){return new X9({type:"nullable",innerType:e})}const W9=ae("ZodDefault",(e,t)=>{X8.init(e,t),Kt.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function K9(e,t){return new W9({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():wE(t)}})}const Q9=ae("ZodPrefault",(e,t)=>{W8.init(e,t),Kt.init(e,t),e.unwrap=()=>e._zod.def.innerType});function J9(e,t){return new Q9({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():wE(t)}})}const zE=ae("ZodNonOptional",(e,t)=>{K8.init(e,t),Kt.init(e,t),e.unwrap=()=>e._zod.def.innerType});function eY(e,t){return new zE({type:"nonoptional",innerType:e,...ke(t)})}const tY=ae("ZodCatch",(e,t)=>{Q8.init(e,t),Kt.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function nY(e,t){return new tY({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const rY=ae("ZodPipe",(e,t)=>{J8.init(e,t),Kt.init(e,t),e.in=t.in,e.out=t.out});function f_(e,t){return new rY({type:"pipe",in:e,out:t})}const aY=ae("ZodReadonly",(e,t)=>{eL.init(e,t),Kt.init(e,t),e.unwrap=()=>e._zod.def.innerType});function iY(e){return new aY({type:"readonly",innerType:e})}const sY=ae("ZodCustom",(e,t)=>{tL.init(e,t),Kt.init(e,t)});function oY(e,t={}){return ZL(sY,e,t)}function lY(e){return PL(e)}var uY=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],cY=uY.reduce((e,t)=>{const r=kp(`Primitive.${t}`),i=_.forwardRef((o,u)=>{const{asChild:c,...h}=o,p=c?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(p,{...h,ref:u})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),fY="Label",jE=_.forwardRef((e,t)=>w.jsx(cY.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));jE.displayName=fY;var dY=jE;function hY(e){const t=Ve.c(8);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);let o;t[3]!==r?(o=rt("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",r),t[3]=r,t[4]=o):o=t[4];let u;return t[5]!==i||t[6]!==o?(u=w.jsx(dY,{"data-slot":"label",className:o,...i}),t[5]=i,t[6]=o,t[7]=u):u=t[7],u}const mY=V5,UE=_.createContext({}),gm=e=>{const t=Ve.c(9);let r;t[0]!==e?({...r}=e,t[0]=e,t[1]=r):r=t[1];let i;t[2]!==r.name?(i={name:r.name},t[2]=r.name,t[3]=i):i=t[3];let o;t[4]!==r?(o=w.jsx(F5,{...r}),t[4]=r,t[5]=o):o=t[5];let u;return t[6]!==i||t[7]!==o?(u=w.jsx(UE.Provider,{value:i,children:o}),t[6]=i,t[7]=o,t[8]=u):u=t[8],u},vg=()=>{const e=Ve.c(13),t=_.useContext(UE),r=_.useContext(LE),{getFieldState:i}=_f();let o;e[0]!==t.name?(o={name:t.name},e[0]=t.name,e[1]=o):o=e[1];const u=fE(o);let c;e[2]!==t.name||e[3]!==u||e[4]!==i?(c=i(t.name,u),e[2]=t.name,e[3]=u,e[4]=i,e[5]=c):c=e[5];const h=c;if(!t)throw new Error("useFormField should be used within ");const{id:p}=r,m=`${p}-form-item`,y=`${p}-form-item-description`,g=`${p}-form-item-message`;let b;return e[6]!==t.name||e[7]!==h||e[8]!==p||e[9]!==m||e[10]!==y||e[11]!==g?(b={id:p,name:t.name,formItemId:m,formDescriptionId:y,formMessageId:g,...h},e[6]=t.name,e[7]=h,e[8]=p,e[9]=m,e[10]=y,e[11]=g,e[12]=b):b=e[12],b},LE=_.createContext({});function ym(e){const t=Ve.c(13);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);const o=_.useId();let u;t[3]!==o?(u={id:o},t[3]=o,t[4]=u):u=t[4];let c;t[5]!==r?(c=rt("grid gap-2",r),t[5]=r,t[6]=c):c=t[6];let h;t[7]!==i||t[8]!==c?(h=w.jsx("div",{"data-slot":"form-item",className:c,...i}),t[7]=i,t[8]=c,t[9]=h):h=t[9];let p;return t[10]!==u||t[11]!==h?(p=w.jsx(LE.Provider,{value:u,children:h}),t[10]=u,t[11]=h,t[12]=p):p=t[12],p}function fc(e){const t=Ve.c(10);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);const{error:o,formItemId:u}=vg(),c=!!o;let h;t[3]!==r?(h=rt("data-[error=true]:text-destructive",r),t[3]=r,t[4]=h):h=t[4];let p;return t[5]!==u||t[6]!==i||t[7]!==c||t[8]!==h?(p=w.jsx(hY,{"data-slot":"form-label","data-error":c,className:h,htmlFor:u,...i}),t[5]=u,t[6]=i,t[7]=c,t[8]=h,t[9]=p):p=t[9],p}function vm(e){const t=Ve.c(7);let r;t[0]!==e?({...r}=e,t[0]=e,t[1]=r):r=t[1];const{error:i,formItemId:o,formDescriptionId:u,formMessageId:c}=vg(),h=i?`${u} ${c}`:`${u}`,p=!!i;let m;return t[2]!==o||t[3]!==r||t[4]!==h||t[5]!==p?(m=w.jsx(zp,{"data-slot":"form-control",id:o,"aria-describedby":h,"aria-invalid":p,...r}),t[2]=o,t[3]=r,t[4]=h,t[5]=p,t[6]=m):m=t[6],m}function bm(e){const t=Ve.c(10);let r,i;t[0]!==e?({className:r,...i}=e,t[0]=e,t[1]=r,t[2]=i):(r=t[1],i=t[2]);const{error:o,formMessageId:u}=vg(),c=o?String(o?.message??""):i.children;if(!c)return null;let h;t[3]!==r?(h=rt("text-destructive text-sm",r),t[3]=r,t[4]=h):h=t[4];let p;return t[5]!==c||t[6]!==u||t[7]!==i||t[8]!==h?(p=w.jsx("p",{"data-slot":"form-message",id:u,className:h,...i,children:c}),t[5]=c,t[6]=u,t[7]=i,t[8]=h,t[9]=p):p=t[9],p}function _m(e){const t=Ve.c(10);let r,i,o;t[0]!==e?({className:r,type:o,...i}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=o):(r=t[1],i=t[2],o=t[3]);let u;t[4]!==r?(u=rt("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",r),t[4]=r,t[5]=u):u=t[5];let c;return t[6]!==i||t[7]!==u||t[8]!==o?(c=w.jsx("input",{type:o,"data-slot":"input",className:u,...i}),t[6]=i,t[7]=u,t[8]=o,t[9]=c):c=t[9],c}const pY=B9({name:pm().min(1,"Tên là bắt buộc"),email:pm().email("Email không hợp lệ"),avatar:pm().optional()});function gY({user:e,onSave:t,children:r,trackingOpen:i}){const o=zk(),u=!!e,[c,h]=_.useState(!1),[p,m]=_.useState(!1),{captureRegisterImage:y,setCaptureRegisterImage:g}=ai(),b=aU({resolver:XL(pY),defaultValues:{name:"",email:"",avatar:""}});_.useEffect(()=>{e?b.reset({name:e.name,email:e.email,avatar:e.avatar??""}):b.reset({name:"",email:"",avatar:""})},[e,c,b]);const T=async()=>{await o({title:"Thông báo",message:"Bạn muốn hủy đăng ký. Mọi dữ liệu bạn nhập sẽ bị mất",confirmText:"Discard",cancelText:"Hủy",variant:"warning"})&&(h(!1),g(null))},x=async E=>{try{m(!0);const O={id:e?.id||Date.now().toString(),...E,avatar:E.avatar||null},{data:D}=await Qs.register({user:O,file:y});console.log({data:D}),t?.(O),h(!1),g(null),ma.success(D?.message||"Đăng ký thành công !")}catch(O){console.log({error:O}),ma.error(O?.message||"Internal Server Error")}finally{m(!1)}};return _.useEffect(()=>{i!==void 0&&h(i)},[i]),_.useEffect(()=>{if(y)return()=>{URL.revokeObjectURL(y)}},[y]),w.jsxs(Cp,{open:c,onOpenChange:E=>{if(!E){T();return}h(!0)},children:[w.jsx(nS,{children:r}),w.jsxs(Dp,{className:"sm:max-w-[425px]",children:[w.jsxs(Mp,{children:[w.jsx(Rp,{children:u?"Cập nhật thông tin":"Tạo người dùng mới"}),w.jsx(Np,{children:u?"Cập nhật thông tin người dùng của bạn":"Nhập thông tin để tạo người dùng mới"})]}),w.jsx(mY,{...b,children:w.jsxs("form",{onSubmit:b.handleSubmit(x),className:"space-y-4",children:[w.jsx(gm,{control:b.control,name:"name",render:({field:E})=>w.jsxs(ym,{children:[w.jsxs(fc,{children:["Tên ",w.jsx("span",{className:"text-red-600",children:"*"})]}),w.jsx(vm,{children:w.jsx(_m,{placeholder:"Nhập tên người dùng",...E})}),w.jsx(bm,{})]})}),w.jsx(gm,{control:b.control,name:"email",render:({field:E})=>w.jsxs(ym,{children:[w.jsxs(fc,{children:["Email ",w.jsx("span",{className:"text-red-600",children:"*"})]}),w.jsx(vm,{children:w.jsx(_m,{type:"email",placeholder:"Nhập email",...E})}),w.jsx(bm,{})]})}),w.jsx(gm,{control:b.control,name:"avatar",render:({field:E})=>w.jsxs(ym,{children:[w.jsx(fc,{children:"Avatar URL"}),w.jsx(vm,{children:w.jsx(_m,{placeholder:"https://example.com/avatar.jpg",...E})}),w.jsx(bm,{})]})}),w.jsx(fc,{children:"Ảnh từ camera"}),w.jsx("a",{target:"_blank",href:URL.createObjectURL(y),children:w.jsxs(hn,{size:"sm",variant:"outline",className:"w-full bg-transparent",type:"button",children:[w.jsx(ap,{className:"w-4 h-4 mr-2"}),"Xem ảnh"]})}),w.jsxs("div",{className:"flex justify-end gap-2 pt-4",children:[w.jsx(hn,{type:"button",variant:"outline",onClick:T,children:"Hủy"}),w.jsxs(hn,{type:"submit",children:[!p&&u?"Cập nhật":"Tạo mới",p&&w.jsx(mc,{className:"animate-spin"})]})]})]})})]})]})}function yY(){const e=Ve.c(9),{isAutoChecking:t,captureRegisterImage:r,isCountDown:i}=ai();let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=w.jsx(MC,{className:"mr-2 size-4"}),e[0]=o):o=e[0];let u;e[1]!==t?(u=w.jsx(L5,{children:w.jsxs(hn,{onClick:vY,disabled:t,className:"w-full bg-green-600 hover:bg-green-700 text-white font-semibold",children:[o,"Tạo User Checking"]})}),e[1]=t,e[2]=u):u=e[2];let c;e[3]!==r||e[4]!==i?(c=r&&!i&&w.jsx(gY,{trackingOpen:!0}),e[3]=r,e[4]=i,e[5]=c):c=e[5];let h;return e[6]!==u||e[7]!==c?(h=w.jsxs(w.Fragment,{children:[u,c]}),e[6]=u,e[7]=c,e[8]=h):h=e[8],h}function vY(){}function bY({type:e,str:t}){const r=t||(e==="check in"?"Check-in successful":e==="check out"?"Check-out successful":"");if(!r)return;const i=new SpeechSynthesisUtterance(r);i.lang="en-US",i.rate=1,i.pitch=1,i.volume=1,speechSynthesis.speak(i)}function _Y(){const e=_.useRef(null),{canvasRef:t,videoRef:r}=ai(),{currentUser:i,setCurrentUser:o}=sE(),{isAutoChecking:u,setIsAutoChecking:c,setRefreshLog:h}=ai(),p=_.useRef(null),[m,y]=_.useState(!1),[g,b]=_.useState(!1),T=()=>{u?(p.current&&(clearInterval(p.current),p.current=null),c(!1)):(p.current=setInterval(()=>{E()},3e3),c(!0))},x=async()=>{if(!i){ma.warning("Vui lòng chọn user để tạo checkpoint");return}try{b(!0);const O=await Rm(r,t),{data:D}=await Qs.register({user:i,file:O});if(!D){ma.error(D?.message||"Error In Checkpoint: "+JSON.stringify(D));return}ma.success(D?.message||"Tạo checkpoint thành công")}catch(O){const D=O;ma.error(D.response?.data?.message||"Error In Checkpoint: "+JSON.stringify(D))}finally{b(!1)}},E=_.useCallback(async()=>{try{y(!0);const O=await Rm(r,t),{data:D}=await Qs.checkin({file:O});if(!D||!D?.data){ma.error(D?.message||"Error In Checking: "+JSON.stringify(D));return}D?.checking&&(o(D?.data||null),e.current=setTimeout(()=>{o(null),e.current=null},2e3));const U=D?.message||`Checking thành công lúc: ${tS(new Date().toLocaleString())}`;if(ma.success(U),!D?.status)return;bY({type:D?.status}),h(!0)}catch(O){const D=O;ma.error(D.response?.data?.message||"Error In Checking: "+JSON.stringify(D))}finally{y(!1)}},[t,o,r]);return _.useEffect(()=>()=>{e.current&&clearTimeout(e.current)},[]),_.useEffect(()=>{const O=D=>{if(D.code==="Space"){if(D.preventDefault(),!m)return;E()}};return window.addEventListener("keydown",O),()=>{window.removeEventListener("keydown",O)}},[E,m]),w.jsxs("div",{className:"absolute bottom-10 px-4 right-0 left-0 grid grid-cols-3 gap-4",children:[w.jsxs(hn,{onClick:E,disabled:u,className:"w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold",children:[!m&&w.jsxs(w.Fragment,{children:[w.jsx(ap,{className:"mr-2 size-4"}),"Điểm Danh Ngay"]}),m&&w.jsx(mc,{className:"size-4 animate-spin"})]}),w.jsxs(hn,{onClick:T,variant:u?"destructive":"outline",className:rt("w-full font-semibold",u&&"animate-pulse"),children:[!m&&u?w.jsxs(w.Fragment,{children:[w.jsx(xC,{className:"mr-2 size-4"}),"Dừng Tự Động"]}):w.jsxs(w.Fragment,{children:[w.jsx(bC,{className:"mr-2 size-4"}),"Tự Động Điểm Danh"]}),m&&w.jsx(mc,{className:"size-4 animate-spin"})]}),i&&w.jsxs(hn,{disabled:u,onClick:x,className:rt("w-full font-semibold"),children:[!g&&w.jsxs(w.Fragment,{children:[w.jsx(fC,{}),"Tạo Check Point"]}),g&&w.jsx(mc,{className:"size-4 animate-spin"})]}),!i&&w.jsx(yY,{})]})}function wY(){const[e,t]=_.useState(!0),[r,i]=_.useState(!0),{setCanvasRef:o,setVideoRef:u}=ai(),{isCountDown:c,setCaptureRegisterImage:h,setIsCountDown:p}=ai(),m=_.useRef(null),y=_.useRef(null),g=async()=>{try{const{data:b}=await dz.timekeepings(),x=(b?.data||[]).map(E=>({name:E?.user?.name,email:E?.user?.email,avatar:E?.user?.avatar}));await Promise.all(x.map(E=>Qs.registerSimple({user:E}))),console.log("Sync hoàn tất!")}catch(b){console.log("Sync error:",b)}};return _.useEffect(()=>((async()=>{try{const T=await navigator.mediaDevices.getUserMedia({video:{width:1280,height:720,facingMode:"user"}});m.current&&(m.current.srcObject=T)}catch(T){console.error("Không thể truy cập camera:",T)}})(),()=>{m.current?.srcObject&&(m.current?.srcObject).getTracks().forEach(x=>x.stop())}),[]),_.useEffect(()=>{g()},[]),_.useEffect(()=>{o(y),u(m)},[m,y]),w.jsx("div",{className:"min-h-screen bg-white",children:w.jsxs("div",{className:"flex h-screen",children:[w.jsx(i5,{isSidebarOpen:r}),w.jsx("div",{className:rt("flex-1 transition-all duration-300 ease-in-out",r&&"ml-96",e&&"mr-96"),children:w.jsx("div",{className:"h-full flex flex-col p-6",children:w.jsxs(MS,{className:"flex-1 overflow-hidden bg-black relative group",children:[w.jsx("video",{ref:m,autoPlay:!0,playsInline:!0,className:"w-full h-full object-cover"}),w.jsx("div",{className:"absolute inset-0 border-4 border-blue-500/30 pointer-events-none"}),c&&w.jsx(gz,{onCountdowned:async()=>{const b=await Rm(m,y);h(b),p(!1)}}),w.jsx(hn,{onClick:()=>i(!r),variant:"outline",size:"icon",className:"absolute top-1/2 -translate-y-1/2 left-4 bg-white/90 hover:bg-white shadow-lg",children:r?w.jsx(Ub,{className:"size-4"}):w.jsx(Lb,{className:"size-4"})}),w.jsx(hn,{onClick:()=>t(!e),variant:"outline",size:"icon",className:"absolute top-1/2 -translate-y-1/2 right-4 bg-white/90 hover:bg-white shadow-lg",children:e?w.jsx(Lb,{className:"size-4"}):w.jsx(Ub,{className:"size-4"})}),w.jsx(_Y,{})]})})}),w.jsx(u5,{isSidebarOpen:e}),w.jsx("canvas",{ref:y,className:"hidden"})]})})}var SY=(e,t,r,i,o,u,c,h)=>{let p=document.documentElement,m=["light","dark"];function y(T){(Array.isArray(e)?e:[e]).forEach(x=>{let E=x==="class",O=E&&u?o.map(D=>u[D]||D):o;E?(p.classList.remove(...O),p.classList.add(u&&u[T]?u[T]:T)):p.setAttribute(x,T)}),g(T)}function g(T){h&&m.includes(T)&&(p.style.colorScheme=T)}function b(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)y(i);else try{let T=localStorage.getItem(t)||r,x=c&&T==="system"?b():T;y(x)}catch{}},xY=_.createContext(void 0),EY={setTheme:e=>{},themes:[]},TY=()=>{var e;return(e=_.useContext(xY))!=null?e:EY};_.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:i,enableColorScheme:o,defaultTheme:u,value:c,themes:h,nonce:p,scriptProps:m})=>{let y=JSON.stringify([r,t,u,e,h,c,i,o]).slice(1,-1);return _.createElement("script",{...m,suppressHydrationWarning:!0,nonce:typeof window>"u"?p:"",dangerouslySetInnerHTML:{__html:`(${SY.toString()})(${y})`}})});const OY=e=>{const t=Ve.c(7);let r;t[0]!==e?({...r}=e,t[0]=e,t[1]=r):r=t[1];const{theme:i}=TY(),u=i===void 0?"system":i;let c,h;t[2]===Symbol.for("react.memo_cache_sentinel")?(c={success:w.jsx(sC,{className:"size-4"}),info:w.jsx(q_,{className:"size-4"}),warning:w.jsx(I_,{className:"size-4"}),error:w.jsx(yC,{className:"size-4"}),loading:w.jsx(mC,{className:"size-4 animate-spin"})},h={"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius)"},t[2]=c,t[3]=h):(c=t[2],h=t[3]);let p;return t[4]!==r||t[5]!==u?(p=w.jsx(U5,{theme:u,className:"toaster group",icons:c,style:h,...r}),t[4]=r,t[5]=u,t[6]=p):p=t[6],p};iO.createRoot(document.getElementById("root")).render(w.jsx(_.StrictMode,{children:w.jsxs(kk,{children:[w.jsx(wY,{}),w.jsx(OY,{richColors:!0,position:"top-right"})]})}))});export default AY(); diff --git a/TrackingToolWeb/static/assets/index-CDZdzCu6.css b/TrackingToolWeb/static/assets/index-CDZdzCu6.css new file mode 100644 index 0000000..f002a48 --- /dev/null +++ b/TrackingToolWeb/static/assets/index-CDZdzCu6.css @@ -0,0 +1 @@ +@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-600:oklch(57.7% .245 27.325);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-blue-50:oklch(97% .014 254.604);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-950:oklch(28.2% .091 267.935);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-widest:.1em;--radius-xs:.125rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}}@layer components;@layer utilities{.\@container\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-\[50\%\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.bottom-10{bottom:calc(var(--spacing)*10)}.left-0{left:calc(var(--spacing)*0)}.left-2{left:calc(var(--spacing)*2)}.left-4{left:calc(var(--spacing)*4)}.left-\[50\%\]{left:50%}.z-10{z-index:10}.z-50{z-index:50}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.my-1{margin-block:calc(var(--spacing)*1)}.mt-4{margin-top:calc(var(--spacing)*4)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-96{margin-right:calc(var(--spacing)*96)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.ml-96{margin-left:calc(var(--spacing)*96)}.ml-auto{margin-left:auto}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.aspect-square{aspect-ratio:1}.size-2{width:calc(var(--spacing)*2);height:calc(var(--spacing)*2)}.size-3\.5{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.size-12{width:calc(var(--spacing)*12);height:calc(var(--spacing)*12)}.size-16{width:calc(var(--spacing)*16);height:calc(var(--spacing)*16)}.size-full{width:100%;height:100%}.h-2\.5{height:calc(var(--spacing)*2.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-40{height:calc(var(--spacing)*40)}.h-\[90vh\]{height:90vh}.h-\[calc\(100\%-1px\)\]{height:calc(100% - 1px)}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\(--radix-dropdown-menu-content-available-height\){max-height:var(--radix-dropdown-menu-content-available-height)}.min-h-screen{min-height:100vh}.w-2\.5{width:calc(var(--spacing)*2.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-40{width:calc(var(--spacing)*40)}.w-48{width:calc(var(--spacing)*48)}.w-96{width:calc(var(--spacing)*96)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-32{min-width:calc(var(--spacing)*32)}.min-w-\[8rem\]{min-width:8rem}.flex-1{flex:1}.shrink-0{flex-shrink:0}.origin-\(--radix-dropdown-menu-content-transform-origin\){transform-origin:var(--radix-dropdown-menu-content-transform-origin)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\[auto_auto\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-xs{border-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-500{border-color:var(--color-blue-500)}.border-blue-500\/30{border-color:#3080ff4d}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/30{border-color:color-mix(in oklab,var(--color-blue-500)30%,transparent)}}.border-gray-200{border-color:var(--color-gray-200)}.border-input{border-color:var(--input)}.border-transparent{border-color:#0000}.border-t-transparent{border-top-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-background{background-color:var(--background)}.bg-black{background-color:var(--color-black)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-green-600{background-color:var(--color-green-600)}.bg-muted{background-color:var(--muted)}.bg-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.bg-white\/95{background-color:#fffffff2}@supports (color:color-mix(in lab,red,red)){.bg-white\/95{background-color:color-mix(in oklab,var(--color-white)95%,transparent)}}.fill-current{fill:currentColor}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-\[3px\]{padding:3px}.p-px{padding:1px}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-6{padding-block:calc(var(--spacing)*6)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-2{padding-right:calc(var(--spacing)*2)}.pl-8{padding-left:calc(var(--spacing)*8)}.text-center{text-align:center}.text-8xl{font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap{white-space:nowrap}.text-blue-600{color:var(--color-blue-600)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-foreground{color:var(--foreground)}.text-gray-400{color:var(--color-gray-400)}.text-gray-600{color:var(--color-gray-600)}.text-gray-900{color:var(--color-gray-900)}.text-green-600{color:var(--color-green-600)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-red-600{color:var(--color-red-600)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.underline-offset-4{text-underline-offset:4px}.opacity-70{opacity:.7}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-data-\[disabled\=true\]\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\[disabled\=true\]\:opacity-50:is(:where(.group)[data-disabled=true] *){opacity:.5}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.selection\:bg-primary ::selection{background-color:var(--primary)}.selection\:bg-primary::selection{background-color:var(--primary)}.selection\:text-primary-foreground ::selection{color:var(--primary-foreground)}.selection\:text-primary-foreground::selection{color:var(--primary-foreground)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-7::file-selector-button{height:calc(var(--spacing)*7)}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}@media(hover:hover){.hover\:scale-\[1\.01\]:hover{scale:1.01}.hover\:bg-accent:hover{background-color:var(--accent)}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--secondary)80%,transparent)}}.hover\:bg-white:hover{background-color:var(--color-white)}.hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\:bg-accent:focus{background-color:var(--accent)}.focus\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus\:text-red-600:focus{color:var(--color-red-600)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-ring:focus{--tw-ring-color:var(--ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-ring:focus-visible{outline-color:var(--ring)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.has-data-\[slot\=card-action\]\:grid-cols-\[1fr_auto\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[error\=true\]\:text-destructive[data-error=true]{color:var(--destructive)}.data-\[inset\]\:pl-8[data-inset]{padding-left:calc(var(--spacing)*8)}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:var(--background)}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:var(--accent)}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:var(--accent-foreground)}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:var(--muted-foreground)}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[variant\=destructive\]\:text-destructive[data-variant=destructive]{color:var(--destructive)}.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)10%,transparent)}}.data-\[variant\=destructive\]\:focus\:text-destructive[data-variant=destructive]:focus{color:var(--destructive)}@media(min-width:40rem){.sm\:max-w-\[425px\]{max-width:425px}.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:max-w-md{max-width:var(--container-md)}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:gap-0{gap:calc(var(--spacing)*0)}.sm\:text-left{text-align:left}}@media(min-width:48rem){.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.dark\:border-input:is(.dark *){border-color:var(--input)}.dark\:bg-blue-950:is(.dark *){background-color:var(--color-blue-950)}.dark\:bg-destructive\/60:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-destructive\/60:is(.dark *){background-color:color-mix(in oklab,var(--destructive)60%,transparent)}}.dark\:bg-input\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-input\/30:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.dark\:text-gray-100:is(.dark *){color:var(--color-gray-100)}.dark\:text-gray-400:is(.dark *){color:var(--color-gray-400)}.dark\:text-muted-foreground:is(.dark *){color:var(--muted-foreground)}.dark\:text-red-400:is(.dark *){color:var(--color-red-400)}@media(hover:hover){.dark\:hover\:bg-accent\/50:is(.dark *):hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-accent\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.dark\:focus\:text-red-400:is(.dark *):focus{color:var(--color-red-400)}.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\:data-\[state\=active\]\:border-input:is(.dark *)[data-state=active]{border-color:var(--input)}.dark\:data-\[state\=active\]\:bg-input\/30:is(.dark *)[data-state=active]{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:data-\[state\=active\]\:bg-input\/30:is(.dark *)[data-state=active]{background-color:color-mix(in oklab,var(--input)30%,transparent)}}.dark\:data-\[state\=active\]\:text-foreground:is(.dark *)[data-state=active]{color:var(--foreground)}.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:is(.dark *)[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:is(.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&_svg\:not\(\[class\*\=\'text-\'\]\)\]\:text-muted-foreground svg:not([class*=text-]){color:var(--muted-foreground)}.\[\.border-b\]\:pb-6.border-b{padding-bottom:calc(var(--spacing)*6)}.\[\.border-t\]\:pt-6.border-t{padding-top:calc(var(--spacing)*6)}:is(.data-\[variant\=destructive\]\:\*\:\[svg\]\:\!text-destructive[data-variant=destructive]>*):is(svg){color:var(--destructive)!important}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3>svg{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}@media(hover:hover){a.\[a\&\]\:hover\:bg-accent:hover{background-color:var(--accent)}a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:color-mix(in oklab,var(--secondary)90%,transparent)}}a.\[a\&\]\:hover\:text-accent-foreground:hover{color:var(--accent-foreground)}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:root{--radius:.625rem;--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92.2% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.6% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.6% 0 0)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}} diff --git a/TrackingToolWeb/static/assets/index-Cbkb3kfK.js b/TrackingToolWeb/static/assets/index-Cbkb3kfK.js deleted file mode 100644 index aba5212..0000000 --- a/TrackingToolWeb/static/assets/index-Cbkb3kfK.js +++ /dev/null @@ -1,9 +0,0 @@ -function Uh(i,o){for(var r=0;rf[d]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))f(d);new MutationObserver(d=>{for(const v of d)if(v.type==="childList")for(const z of v.addedNodes)z.tagName==="LINK"&&z.rel==="modulepreload"&&f(z)}).observe(document,{childList:!0,subtree:!0});function r(d){const v={};return d.integrity&&(v.integrity=d.integrity),d.referrerPolicy&&(v.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?v.credentials="include":d.crossOrigin==="anonymous"?v.credentials="omit":v.credentials="same-origin",v}function f(d){if(d.ep)return;d.ep=!0;const v=r(d);fetch(d.href,v)}})();function jh(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Lf={exports:{}},Fn={};var im;function Hh(){if(im)return Fn;im=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function r(f,d,v){var z=null;if(v!==void 0&&(z=""+v),d.key!==void 0&&(z=""+d.key),"key"in d){v={};for(var _ in d)_!=="key"&&(v[_]=d[_])}else v=d;return d=v.ref,{$$typeof:i,type:f,key:z,ref:d!==void 0?d:null,props:v}}return Fn.Fragment=o,Fn.jsx=r,Fn.jsxs=r,Fn}var cm;function Bh(){return cm||(cm=1,Lf.exports=Hh()),Lf.exports}var j=Bh(),Xf={exports:{}},lt={};var fm;function qh(){if(fm)return lt;fm=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),z=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),w=Symbol.iterator;function F(y){return y===null||typeof y!="object"?null:(y=w&&y[w]||y["@@iterator"],typeof y=="function"?y:null)}var et={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,Q={};function nt(y,N,B){this.props=y,this.context=N,this.refs=Q,this.updater=B||et}nt.prototype.isReactComponent={},nt.prototype.setState=function(y,N){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,N,"setState")},nt.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function bt(){}bt.prototype=nt.prototype;function I(y,N,B){this.props=y,this.context=N,this.refs=Q,this.updater=B||et}var at=I.prototype=new bt;at.constructor=I,k(at,nt.prototype),at.isPureReactComponent=!0;var Tt=Array.isArray;function ht(){}var P={H:null,A:null,T:null,S:null},Y=Object.prototype.hasOwnProperty;function zt(y,N,B){var G=B.ref;return{$$typeof:i,type:y,key:N,ref:G!==void 0?G:null,props:B}}function Ft(y,N){return zt(y.type,N,y.props)}function qt(y){return typeof y=="object"&&y!==null&&y.$$typeof===i}function xt(y){var N={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(B){return N[B]})}var It=/\/+/g;function wt(y,N){return typeof y=="object"&&y!==null&&y.key!=null?xt(""+y.key):N.toString(36)}function Ct(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(ht,ht):(y.status="pending",y.then(function(N){y.status==="pending"&&(y.status="fulfilled",y.value=N)},function(N){y.status==="pending"&&(y.status="rejected",y.reason=N)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function A(y,N,B,G,W){var tt=typeof y;(tt==="undefined"||tt==="boolean")&&(y=null);var K=!1;if(y===null)K=!0;else switch(tt){case"bigint":case"string":case"number":K=!0;break;case"object":switch(y.$$typeof){case i:case o:K=!0;break;case C:return K=y._init,A(K(y._payload),N,B,G,W)}}if(K)return W=W(y),K=G===""?"."+wt(y,0):G,Tt(W)?(B="",K!=null&&(B=K.replace(It,"$&/")+"/"),A(W,N,B,"",function(ce){return ce})):W!=null&&(qt(W)&&(W=Ft(W,B+(W.key==null||y&&y.key===W.key?"":(""+W.key).replace(It,"$&/")+"/")+K)),N.push(W)),1;K=0;var Ht=G===""?".":G+":";if(Tt(y))for(var pt=0;pt>>1,ft=A[mt];if(0>>1;mtd(B,H))Gd(W,B)?(A[mt]=W,A[G]=H,mt=G):(A[mt]=B,A[N]=H,mt=N);else if(Gd(W,H))A[mt]=W,A[G]=H,mt=G;else break t}}return q}function d(A,q){var H=A.sortIndex-q.sortIndex;return H!==0?H:A.id-q.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;i.unstable_now=function(){return v.now()}}else{var z=Date,_=z.now();i.unstable_now=function(){return z.now()-_}}var p=[],h=[],C=1,R=null,w=3,F=!1,et=!1,k=!1,Q=!1,nt=typeof setTimeout=="function"?setTimeout:null,bt=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function at(A){for(var q=r(h);q!==null;){if(q.callback===null)f(h);else if(q.startTime<=A)f(h),q.sortIndex=q.expirationTime,o(p,q);else break;q=r(h)}}function Tt(A){if(k=!1,at(A),!et)if(r(p)!==null)et=!0,ht||(ht=!0,xt());else{var q=r(h);q!==null&&Ct(Tt,q.startTime-A)}}var ht=!1,P=-1,Y=5,zt=-1;function Ft(){return Q?!0:!(i.unstable_now()-ztA&&Ft());){var mt=R.callback;if(typeof mt=="function"){R.callback=null,w=R.priorityLevel;var ft=mt(R.expirationTime<=A);if(A=i.unstable_now(),typeof ft=="function"){R.callback=ft,at(A),q=!0;break e}R===r(p)&&f(p),at(A)}else f(p);R=r(p)}if(R!==null)q=!0;else{var y=r(h);y!==null&&Ct(Tt,y.startTime-A),q=!1}}break t}finally{R=null,w=H,F=!1}q=void 0}}finally{q?xt():ht=!1}}}var xt;if(typeof I=="function")xt=function(){I(qt)};else if(typeof MessageChannel<"u"){var It=new MessageChannel,wt=It.port2;It.port1.onmessage=qt,xt=function(){wt.postMessage(null)}}else xt=function(){nt(qt,0)};function Ct(A,q){P=nt(function(){A(i.unstable_now())},q)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(A){A.callback=null},i.unstable_forceFrameRate=function(A){0>A||125mt?(A.sortIndex=H,o(h,A),r(p)===null&&A===r(h)&&(k?(bt(P),P=-1):k=!0,Ct(Tt,H-mt))):(A.sortIndex=ft,o(p,A),et||F||(et=!0,ht||(ht=!0,xt()))),A},i.unstable_shouldYield=Ft,i.unstable_wrapCallback=function(A){var q=w;return function(){var H=w;w=q;try{return A.apply(this,arguments)}finally{w=H}}}})(Kf)),Kf}var rm;function Yh(){return rm||(rm=1,Zf.exports=Gh()),Zf.exports}var Jf={exports:{}},ne={};var dm;function wh(){if(dm)return ne;dm=1;var i=_i();function o(p){var h="https://react.dev/errors/"+p;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),Jf.exports=wh(),Jf.exports}var vm;function Vh(){if(vm)return In;vm=1;var i=Yh(),o=_i(),r=Rm();function f(t){var e="https://react.dev/errors/"+t;if(1ft||(t.current=mt[ft],mt[ft]=null,ft--)}function B(t,e){ft++,mt[ft]=t.current,t.current=e}var G=y(null),W=y(null),tt=y(null),K=y(null);function Ht(t,e){switch(B(tt,e),B(W,t),B(G,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Md(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Md(e),t=Cd(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}N(G),B(G,t)}function pt(){N(G),N(W),N(tt)}function ce(t){t.memoizedState!==null&&B(K,t);var e=G.current,l=Cd(e,t.type);e!==l&&(B(W,t),B(G,l))}function xe(t){W.current===t&&(N(G),N(W)),K.current===t&&(N(K),Jn._currentValue=H)}var ue,We;function fe(t){if(ue===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);ue=e&&e[1]||"",We=-1)":-1n||m[a]!==T[n]){var O=` -`+m[a].replace(" at new "," at ");return t.displayName&&O.includes("")&&(O=O.replace("",t.displayName)),O}while(1<=a&&0<=n);break}}}finally{we=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?fe(l):""}function gl(t,e){switch(t.tag){case 26:case 27:case 5:return fe(t.type);case 16:return fe("Lazy");case 13:return t.child!==e&&e!==null?fe("Suspense Fallback"):fe("Suspense");case 19:return fe("SuspenseList");case 0:case 15:return Ve(t.type,!1);case 11:return Ve(t.type.render,!1);case 1:return Ve(t.type,!0);case 31:return fe("Activity");default:return""}}function $e(t){try{var e="",l=null;do e+=gl(t,l),l=t,t=t.return;while(t);return e}catch(a){return` -Error generating stack: `+a.message+` -`+a.stack}}var Le=Object.prototype.hasOwnProperty,Xe=i.unstable_scheduleCallback,Qe=i.unstable_cancelCallback,da=i.unstable_shouldYield,ma=i.unstable_requestPaint,_t=i.unstable_now,Bt=i.unstable_getCurrentPriorityLevel,va=i.unstable_ImmediatePriority,lu=i.unstable_UserBlockingPriority,ha=i.unstable_NormalPriority,v0=i.unstable_LowPriority,fo=i.unstable_IdlePriority,h0=i.log,y0=i.unstable_setDisableYieldValue,nn=null,ye=null;function bl(t){if(typeof h0=="function"&&y0(t),ye&&typeof ye.setStrictMode=="function")try{ye.setStrictMode(nn,t)}catch{}}var ge=Math.clz32?Math.clz32:p0,g0=Math.log,b0=Math.LN2;function p0(t){return t>>>=0,t===0?32:31-(g0(t)/b0|0)|0}var au=256,nu=262144,uu=4194304;function Kl(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function iu(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var n=0,u=t.suspendedLanes,c=t.pingedLanes;t=t.warmLanes;var s=a&134217727;return s!==0?(a=s&~u,a!==0?n=Kl(a):(c&=s,c!==0?n=Kl(c):l||(l=s&~t,l!==0&&(n=Kl(l))))):(s=a&~u,s!==0?n=Kl(s):c!==0?n=Kl(c):l||(l=a&~t,l!==0&&(n=Kl(l)))),n===0?0:e!==0&&e!==n&&(e&u)===0&&(u=n&-n,l=e&-e,u>=l||u===32&&(l&4194048)!==0)?e:n}function un(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function S0(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function oo(){var t=uu;return uu<<=1,(uu&62914560)===0&&(uu=4194304),t}function Mi(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function cn(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function T0(t,e,l,a,n,u){var c=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var s=t.entanglements,m=t.expirationTimes,T=t.hiddenUpdates;for(l=c&~l;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var O0=/[\n"\\]/g;function Oe(t){return t.replace(O0,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Hi(t,e,l,a,n,u,c,s){t.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.type=c:t.removeAttribute("type"),e!=null?c==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+_e(e)):t.value!==""+_e(e)&&(t.value=""+_e(e)):c!=="submit"&&c!=="reset"||t.removeAttribute("value"),e!=null?Bi(t,c,_e(e)):l!=null?Bi(t,c,_e(l)):a!=null&&t.removeAttribute("value"),n==null&&u!=null&&(t.defaultChecked=!!u),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?t.name=""+_e(s):t.removeAttribute("name")}function Eo(t,e,l,a,n,u,c,s){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){ji(t);return}l=l!=null?""+_e(l):"",e=e!=null?""+_e(e):l,s||e===t.value||(t.value=e),t.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=s?t.checked:!!a,t.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.name=c),ji(t)}function Bi(t,e,l){e==="number"&&ou(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function Ta(t,e,l,a){if(t=t.options,e){e={};for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Vi=!1;if(Pe)try{var rn={};Object.defineProperty(rn,"passive",{get:function(){Vi=!0}}),window.addEventListener("test",rn,rn),window.removeEventListener("test",rn,rn)}catch{Vi=!1}var Sl=null,Li=null,ru=null;function Co(){if(ru)return ru;var t,e=Li,l=e.length,a,n="value"in Sl?Sl.value:Sl.textContent,u=n.length;for(t=0;t=vn),Bo=" ",qo=!1;function Go(t,e){switch(t){case"keyup":return ev.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yo(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var xa=!1;function av(t,e){switch(t){case"compositionend":return Yo(e);case"keypress":return e.which!==32?null:(qo=!0,Bo);case"textInput":return t=e.data,t===Bo&&qo?null:t;default:return null}}function nv(t,e){if(xa)return t==="compositionend"||!Ji&&Go(t,e)?(t=Co(),ru=Li=Sl=null,xa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Jo(l)}}function Wo(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Wo(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function $o(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=ou(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=ou(t.document)}return e}function $i(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var dv=Pe&&"documentMode"in document&&11>=document.documentMode,_a=null,Fi=null,bn=null,Ii=!1;function Fo(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Ii||_a==null||_a!==ou(a)||(a=_a,"selectionStart"in a&&$i(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),bn&&gn(bn,a)||(bn=a,a=ni(Fi,"onSelect"),0>=c,n-=c,Ze=1<<32-ge(e)+n|l<it?(dt=Z,Z=null):dt=Z.sibling;var gt=E(b,Z,S[it],M);if(gt===null){Z===null&&(Z=dt);break}t&&Z&>.alternate===null&&e(b,Z),g=u(gt,g,it),yt===null?J=gt:yt.sibling=gt,yt=gt,Z=dt}if(it===S.length)return l(b,Z),vt&&el(b,it),J;if(Z===null){for(;itit?(dt=Z,Z=null):dt=Z.sibling;var Ll=E(b,Z,gt.value,M);if(Ll===null){Z===null&&(Z=dt);break}t&&Z&&Ll.alternate===null&&e(b,Z),g=u(Ll,g,it),yt===null?J=Ll:yt.sibling=Ll,yt=Ll,Z=dt}if(gt.done)return l(b,Z),vt&&el(b,it),J;if(Z===null){for(;!gt.done;it++,gt=S.next())gt=D(b,gt.value,M),gt!==null&&(g=u(gt,g,it),yt===null?J=gt:yt.sibling=gt,yt=gt);return vt&&el(b,it),J}for(Z=a(Z);!gt.done;it++,gt=S.next())gt=x(Z,b,it,gt.value,M),gt!==null&&(t&>.alternate!==null&&Z.delete(gt.key===null?it:gt.key),g=u(gt,g,it),yt===null?J=gt:yt.sibling=gt,yt=gt);return t&&Z.forEach(function(Dh){return e(b,Dh)}),vt&&el(b,it),J}function Mt(b,g,S,M){if(typeof S=="object"&&S!==null&&S.type===k&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case F:t:{for(var J=S.key;g!==null;){if(g.key===J){if(J=S.type,J===k){if(g.tag===7){l(b,g.sibling),M=n(g,S.props.children),M.return=b,b=M;break t}}else if(g.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===Y&&aa(J)===g.type){l(b,g.sibling),M=n(g,S.props),An(M,S),M.return=b,b=M;break t}l(b,g);break}else e(b,g);g=g.sibling}S.type===k?(M=Il(S.props.children,b.mode,M,S.key),M.return=b,b=M):(M=Tu(S.type,S.key,S.props,null,b.mode,M),An(M,S),M.return=b,b=M)}return c(b);case et:t:{for(J=S.key;g!==null;){if(g.key===J)if(g.tag===4&&g.stateNode.containerInfo===S.containerInfo&&g.stateNode.implementation===S.implementation){l(b,g.sibling),M=n(g,S.children||[]),M.return=b,b=M;break t}else{l(b,g);break}else e(b,g);g=g.sibling}M=uc(S,b.mode,M),M.return=b,b=M}return c(b);case Y:return S=aa(S),Mt(b,g,S,M)}if(Ct(S))return V(b,g,S,M);if(xt(S)){if(J=xt(S),typeof J!="function")throw Error(f(150));return S=J.call(S),$(b,g,S,M)}if(typeof S.then=="function")return Mt(b,g,Nu(S),M);if(S.$$typeof===I)return Mt(b,g,Au(b,S),M);Mu(b,S)}return typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint"?(S=""+S,g!==null&&g.tag===6?(l(b,g.sibling),M=n(g,S),M.return=b,b=M):(l(b,g),M=nc(S,b.mode,M),M.return=b,b=M),c(b)):l(b,g)}return function(b,g,S,M){try{En=0;var J=Mt(b,g,S,M);return qa=null,J}catch(Z){if(Z===Ba||Z===_u)throw Z;var yt=pe(29,Z,null,b.mode);return yt.lanes=M,yt.return=b,yt}finally{}}}var ua=Ss(!0),Ts=Ss(!1),xl=!1;function gc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function bc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function _l(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ol(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(St&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=Su(t),ns(t,null,l),e}return pu(t,a,e,l),Su(t)}function xn(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,ro(t,l)}}function pc(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var c={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,l=l.next}while(l!==null);u===null?n=u=e:u=u.next=e}else n=u=e;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var Sc=!1;function _n(){if(Sc){var t=Ha;if(t!==null)throw t}}function On(t,e,l,a){Sc=!1;var n=t.updateQueue;xl=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,s=n.shared.pending;if(s!==null){n.shared.pending=null;var m=s,T=m.next;m.next=null,c===null?u=T:c.next=T,c=m;var O=t.alternate;O!==null&&(O=O.updateQueue,s=O.lastBaseUpdate,s!==c&&(s===null?O.firstBaseUpdate=T:s.next=T,O.lastBaseUpdate=m))}if(u!==null){var D=n.baseState;c=0,O=T=m=null,s=u;do{var E=s.lane&-536870913,x=E!==s.lane;if(x?(rt&E)===E:(a&E)===E){E!==0&&E===ja&&(Sc=!0),O!==null&&(O=O.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});t:{var V=t,$=s;E=e;var Mt=l;switch($.tag){case 1:if(V=$.payload,typeof V=="function"){D=V.call(Mt,D,E);break t}D=V;break t;case 3:V.flags=V.flags&-65537|128;case 0:if(V=$.payload,E=typeof V=="function"?V.call(Mt,D,E):V,E==null)break t;D=R({},D,E);break t;case 2:xl=!0}}E=s.callback,E!==null&&(t.flags|=64,x&&(t.flags|=8192),x=n.callbacks,x===null?n.callbacks=[E]:x.push(E))}else x={lane:E,tag:s.tag,payload:s.payload,callback:s.callback,next:null},O===null?(T=O=x,m=D):O=O.next=x,c|=E;if(s=s.next,s===null){if(s=n.shared.pending,s===null)break;x=s,s=x.next,x.next=null,n.lastBaseUpdate=x,n.shared.pending=null}}while(!0);O===null&&(m=D),n.baseState=m,n.firstBaseUpdate=T,n.lastBaseUpdate=O,u===null&&(n.shared.lanes=0),Dl|=c,t.lanes=c,t.memoizedState=D}}function zs(t,e){if(typeof t!="function")throw Error(f(191,t));t.call(e)}function Es(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;tu?u:8;var c=A.T,s={};A.T=s,Yc(t,!1,e,l);try{var m=n(),T=A.S;if(T!==null&&T(s,m),m!==null&&typeof m=="object"&&typeof m.then=="function"){var O=Tv(m,a);Cn(t,e,O,Ae(t))}else Cn(t,e,a,Ae(t))}catch(D){Cn(t,e,{then:function(){},status:"rejected",reason:D},Ae())}finally{q.p=u,c!==null&&s.types!==null&&(c.types=s.types),A.T=c}}function Ov(){}function qc(t,e,l,a){if(t.tag!==5)throw Error(f(476));var n=er(t).queue;tr(t,n,e,H,l===null?Ov:function(){return lr(t),l(a)})}function er(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:H,baseState:H,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ul,lastRenderedState:H},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ul,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function lr(t){var e=er(t);e.next===null&&(e=t.alternate.memoizedState),Cn(t,e.next.queue,{},Ae())}function Gc(){return ee(Jn)}function ar(){return Lt().memoizedState}function nr(){return Lt().memoizedState}function Nv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Ae();t=_l(l);var a=Ol(e,t,l);a!==null&&(he(a,e,l),xn(a,e,l)),e={cache:mc()},t.payload=e;return}e=e.return}}function Mv(t,e,l){var a=Ae();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Yu(t)?ir(e,l):(l=lc(t,e,l,a),l!==null&&(he(l,t,a),cr(l,e,a)))}function ur(t,e,l){var a=Ae();Cn(t,e,l,a)}function Cn(t,e,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Yu(t))ir(e,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var c=e.lastRenderedState,s=u(c,l);if(n.hasEagerState=!0,n.eagerState=s,be(s,c))return pu(t,e,n,0),Rt===null&&bu(),!1}catch{}finally{}if(l=lc(t,e,n,a),l!==null)return he(l,t,a),cr(l,e,a),!0}return!1}function Yc(t,e,l,a){if(a={lane:2,revertLane:bf(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Yu(t)){if(e)throw Error(f(479))}else e=lc(t,l,a,2),e!==null&&he(e,t,2)}function Yu(t){var e=t.alternate;return t===ut||e!==null&&e===ut}function ir(t,e){Ya=Du=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function cr(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,ro(t,l)}}var Rn={readContext:ee,use:Hu,useCallback:Gt,useContext:Gt,useEffect:Gt,useImperativeHandle:Gt,useLayoutEffect:Gt,useInsertionEffect:Gt,useMemo:Gt,useReducer:Gt,useRef:Gt,useState:Gt,useDebugValue:Gt,useDeferredValue:Gt,useTransition:Gt,useSyncExternalStore:Gt,useId:Gt,useHostTransitionStatus:Gt,useFormState:Gt,useActionState:Gt,useOptimistic:Gt,useMemoCache:Gt,useCacheRefresh:Gt};Rn.useEffectEvent=Gt;var fr={readContext:ee,use:Hu,useCallback:function(t,e){return ie().memoizedState=[t,e===void 0?null:e],t},useContext:ee,useEffect:Zs,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,qu(4194308,4,Ws.bind(null,e,t),l)},useLayoutEffect:function(t,e){return qu(4194308,4,t,e)},useInsertionEffect:function(t,e){qu(4,2,t,e)},useMemo:function(t,e){var l=ie();e=e===void 0?null:e;var a=t();if(ia){bl(!0);try{t()}finally{bl(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=ie();if(l!==void 0){var n=l(e);if(ia){bl(!0);try{l(e)}finally{bl(!1)}}}else n=e;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=Mv.bind(null,ut,t),[a.memoizedState,t]},useRef:function(t){var e=ie();return t={current:t},e.memoizedState=t},useState:function(t){t=Dc(t);var e=t.queue,l=ur.bind(null,ut,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Hc,useDeferredValue:function(t,e){var l=ie();return Bc(l,t,e)},useTransition:function(){var t=Dc(!1);return t=tr.bind(null,ut,t.queue,!0,!1),ie().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=ut,n=ie();if(vt){if(l===void 0)throw Error(f(407));l=l()}else{if(l=e(),Rt===null)throw Error(f(349));(rt&127)!==0||Ms(a,e,l)}n.memoizedState=l;var u={value:l,getSnapshot:e};return n.queue=u,Zs(Rs.bind(null,a,u,t),[t]),a.flags|=2048,Va(9,{destroy:void 0},Cs.bind(null,a,u,l,e),null),l},useId:function(){var t=ie(),e=Rt.identifierPrefix;if(vt){var l=Ke,a=Ze;l=(a&~(1<<32-ge(a)-1)).toString(32)+l,e="_"+e+"R_"+l,l=Uu++,0<\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}u[Pt]=e,u[oe]=a;t:for(c=e.child;c!==null;){if(c.tag===5||c.tag===6)u.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break t;for(;c.sibling===null;){if(c.return===null||c.return===e)break t;c=c.return}c.sibling.return=c.return,c=c.sibling}e.stateNode=u;t:switch(ae(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&cl(e)}}return Ut(e),Pc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&cl(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(f(166));if(t=tt.current,Da(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,n=te,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[Pt]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Od(t.nodeValue,l)),t||El(e,!0)}else t=ui(t).createTextNode(a),t[Pt]=e,e.stateNode=t}return Ut(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(a=Da(e),l!==null){if(t===null){if(!a)throw Error(f(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(f(557));t[Pt]=e}else Pl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ut(e),t=!1}else l=oc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(Te(e),e):(Te(e),null);if((e.flags&128)!==0)throw Error(f(558))}return Ut(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=Da(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(f(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(f(317));n[Pt]=e}else Pl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ut(e),n=!1}else n=oc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(Te(e),e):(Te(e),null)}return Te(e),(e.flags&128)!==0?(e.lanes=l,e):(l=a!==null,t=t!==null&&t.memoizedState!==null,l&&(a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),Qu(e,e.updateQueue),Ut(e),null);case 4:return pt(),t===null&&zf(e.stateNode.containerInfo),Ut(e),null;case 10:return al(e.type),Ut(e),null;case 19:if(N(Vt),a=e.memoizedState,a===null)return Ut(e),null;if(n=(e.flags&128)!==0,u=a.rendering,u===null)if(n)Un(a,!1);else{if(Yt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=Ru(t),u!==null){for(e.flags|=128,Un(a,!1),t=u.updateQueue,e.updateQueue=t,Qu(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)us(l,t),l=l.sibling;return B(Vt,Vt.current&1|2),vt&&el(e,a.treeForkCount),e.child}t=t.sibling}a.tail!==null&&_t()>Wu&&(e.flags|=128,n=!0,Un(a,!1),e.lanes=4194304)}else{if(!n)if(t=Ru(u),t!==null){if(e.flags|=128,n=!0,t=t.updateQueue,e.updateQueue=t,Qu(e,t),Un(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!vt)return Ut(e),null}else 2*_t()-a.renderingStartTime>Wu&&l!==536870912&&(e.flags|=128,n=!0,Un(a,!1),e.lanes=4194304);a.isBackwards?(u.sibling=e.child,e.child=u):(t=a.last,t!==null?t.sibling=u:e.child=u,a.last=u)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=_t(),t.sibling=null,l=Vt.current,B(Vt,n?l&1|2:l&1),vt&&el(e,a.treeForkCount),t):(Ut(e),null);case 22:case 23:return Te(e),zc(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(Ut(e),e.subtreeFlags&6&&(e.flags|=8192)):Ut(e),l=e.updateQueue,l!==null&&Qu(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&N(la),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),al(Xt),Ut(e),null;case 25:return null;case 30:return null}throw Error(f(156,e.tag))}function jv(t,e){switch(cc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return al(Xt),pt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return xe(e),null;case 31:if(e.memoizedState!==null){if(Te(e),e.alternate===null)throw Error(f(340));Pl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Te(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(f(340));Pl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return N(Vt),null;case 4:return pt(),null;case 10:return al(e.type),null;case 22:case 23:return Te(e),zc(),t!==null&&N(la),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return al(Xt),null;case 25:return null;default:return null}}function Dr(t,e){switch(cc(e),e.tag){case 3:al(Xt),pt();break;case 26:case 27:case 5:xe(e);break;case 4:pt();break;case 31:e.memoizedState!==null&&Te(e);break;case 13:Te(e);break;case 19:N(Vt);break;case 10:al(e.type);break;case 22:case 23:Te(e),zc(),t!==null&&N(la);break;case 24:al(Xt)}}function jn(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&t)===t){a=void 0;var u=l.create,c=l.inst;a=u(),c.destroy=a}l=l.next}while(l!==n)}}catch(s){At(e,e.return,s)}}function Cl(t,e,l){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&t)===t){var c=a.inst,s=c.destroy;if(s!==void 0){c.destroy=void 0,n=e;var m=l,T=s;try{T()}catch(O){At(n,m,O)}}}a=a.next}while(a!==u)}}catch(O){At(e,e.return,O)}}function Ur(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{Es(e,l)}catch(a){At(t,t.return,a)}}}function jr(t,e,l){l.props=ca(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){At(t,e,a)}}function Hn(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof l=="function"?t.refCleanup=l(a):l.current=a}}catch(n){At(t,e,n)}}function Je(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){At(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){At(t,e,n)}else l.current=null}function Hr(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){At(t,t.return,n)}}function tf(t,e,l){try{var a=t.stateNode;lh(a,t.type,l,e),a[oe]=e}catch(n){At(t,t.return,n)}}function Br(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ql(t.type)||t.tag===4}function ef(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Br(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ql(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function lf(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=Ie));else if(a!==4&&(a===27&&ql(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(lf(t,e,l),t=t.sibling;t!==null;)lf(t,e,l),t=t.sibling}function Zu(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&ql(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(Zu(t,e,l),t=t.sibling;t!==null;)Zu(t,e,l),t=t.sibling}function qr(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);ae(e,a,l),e[Pt]=t,e[oe]=l}catch(u){At(t,t.return,u)}}var fl=!1,Kt=!1,af=!1,Gr=typeof WeakSet=="function"?WeakSet:Set,$t=null;function Hv(t,e){if(t=t.containerInfo,xf=di,t=$o(t),$i(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break t}var c=0,s=-1,m=-1,T=0,O=0,D=t,E=null;e:for(;;){for(var x;D!==l||n!==0&&D.nodeType!==3||(s=c+n),D!==u||a!==0&&D.nodeType!==3||(m=c+a),D.nodeType===3&&(c+=D.nodeValue.length),(x=D.firstChild)!==null;)E=D,D=x;for(;;){if(D===t)break e;if(E===l&&++T===n&&(s=c),E===u&&++O===a&&(m=c),(x=D.nextSibling)!==null)break;D=E,E=D.parentNode}D=x}l=s===-1||m===-1?null:{start:s,end:m}}else l=null}l=l||{start:0,end:0}}else l=null;for(_f={focusedElem:t,selectionRange:l},di=!1,$t=e;$t!==null;)if(e=$t,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,$t=t;else for(;$t!==null;){switch(e=$t,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l title"))),ae(u,a,l),u[Pt]=t,Wt(u),a=u;break t;case"link":var c=Qd("link","href",n).get(a+(l.href||""));if(c){for(var s=0;sMt&&(c=Mt,Mt=$,$=c);var b=ko(s,$),g=ko(s,Mt);if(b&&g&&(x.rangeCount!==1||x.anchorNode!==b.node||x.anchorOffset!==b.offset||x.focusNode!==g.node||x.focusOffset!==g.offset)){var S=D.createRange();S.setStart(b.node,b.offset),x.removeAllRanges(),$>Mt?(x.addRange(S),x.extend(g.node,g.offset)):(S.setEnd(g.node,g.offset),x.addRange(S))}}}}for(D=[],x=s;x=x.parentNode;)x.nodeType===1&&D.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;sl?32:l,A.T=null,l=rf,rf=null;var u=jl,c=ml;if(Jt=0,Ka=jl=null,ml=0,(St&6)!==0)throw Error(f(331));var s=St;if(St|=4,Wr(u.current),Kr(u,u.current,c,l),St=s,Vn(0,!1),ye&&typeof ye.onPostCommitFiberRoot=="function")try{ye.onPostCommitFiberRoot(nn,u)}catch{}return!0}finally{q.p=n,A.T=a,md(t,e)}}function hd(t,e,l){e=Me(l,e),e=Xc(t.stateNode,e,2),t=Ol(t,e,2),t!==null&&(cn(t,2),ke(t))}function At(t,e,l){if(t.tag===3)hd(t,t,l);else for(;e!==null;){if(e.tag===3){hd(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Ul===null||!Ul.has(a))){t=Me(l,t),l=yr(2),a=Ol(e,l,2),a!==null&&(gr(l,a,e,t),cn(a,2),ke(a));break}}e=e.return}}function hf(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new Gv;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(l)||(cf=!0,n.add(l),t=Xv.bind(null,t,e,l),e.then(t,t))}function Xv(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Rt===t&&(rt&l)===l&&(Yt===4||Yt===3&&(rt&62914560)===rt&&300>_t()-ku?(St&2)===0&&Ja(t,0):ff|=l,Za===rt&&(Za=0)),ke(t)}function yd(t,e){e===0&&(e=oo()),t=Fl(t,e),t!==null&&(cn(t,e),ke(t))}function Qv(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),yd(t,l)}function Zv(t,e){var l=0;switch(t.tag){case 31:case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(f(314))}a!==null&&a.delete(e),yd(t,l)}function Kv(t,e){return Xe(t,e)}var ei=null,Wa=null,yf=!1,li=!1,gf=!1,Bl=0;function ke(t){t!==Wa&&t.next===null&&(Wa===null?ei=Wa=t:Wa=Wa.next=t),li=!0,yf||(yf=!0,kv())}function Vn(t,e){if(!gf&&li){gf=!0;do for(var l=!1,a=ei;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,s=a.pingedLanes;u=(1<<31-ge(42|t)+1)-1,u&=n&~(c&~s),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,Sd(a,u))}else u=rt,u=iu(a,a===Rt?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||un(a,u)||(l=!0,Sd(a,u));a=a.next}while(l);gf=!1}}function Jv(){gd()}function gd(){li=yf=!1;var t=0;Bl!==0&&nh()&&(t=Bl);for(var e=_t(),l=null,a=ei;a!==null;){var n=a.next,u=bd(a,e);u===0?(a.next=null,l===null?ei=n:l.next=n,n===null&&(Wa=l)):(l=a,(t!==0||(u&3)!==0)&&(li=!0)),a=n}Jt!==0&&Jt!==5||Vn(t),Bl!==0&&(Bl=0)}function bd(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0s)break;var O=m.transferSize,D=m.initiatorType;O&&Nd(D)&&(m=m.responseEnd,c+=O*(m"u"?null:document;function wd(t,e,l){var a=$a;if(a&&typeof e=="string"&&e){var n=Oe(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Yd.has(n)||(Yd.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),ae(e,"link",t),Wt(e),a.head.appendChild(e)))}}function mh(t){vl.D(t),wd("dns-prefetch",t,null)}function vh(t,e){vl.C(t,e),wd("preconnect",t,e)}function hh(t,e,l){vl.L(t,e,l);var a=$a;if(a&&t&&e){var n='link[rel="preload"][as="'+Oe(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Oe(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Oe(l.imageSizes)+'"]')):n+='[href="'+Oe(t)+'"]';var u=n;switch(e){case"style":u=Fa(t);break;case"script":u=Ia(t)}He.has(u)||(t=R({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),He.set(u,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Zn(u))||e==="script"&&a.querySelector(Kn(u))||(e=a.createElement("link"),ae(e,"link",t),Wt(e),a.head.appendChild(e)))}}function yh(t,e){vl.m(t,e);var l=$a;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+Oe(a)+'"][href="'+Oe(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ia(t)}if(!He.has(u)&&(t=R({rel:"modulepreload",href:t},e),He.set(u,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Kn(u)))return}a=l.createElement("link"),ae(a,"link",t),Wt(a),l.head.appendChild(a)}}}function gh(t,e,l){vl.S(t,e,l);var a=$a;if(a&&t){var n=pa(a).hoistableStyles,u=Fa(t);e=e||"default";var c=n.get(u);if(!c){var s={loading:0,preload:null};if(c=a.querySelector(Zn(u)))s.loading=5;else{t=R({rel:"stylesheet",href:t,"data-precedence":e},l),(l=He.get(u))&&Uf(t,l);var m=c=a.createElement("link");Wt(m),ae(m,"link",t),m._p=new Promise(function(T,O){m.onload=T,m.onerror=O}),m.addEventListener("load",function(){s.loading|=1}),m.addEventListener("error",function(){s.loading|=2}),s.loading|=4,ci(c,e,a)}c={type:"stylesheet",instance:c,count:1,state:s},n.set(u,c)}}}function bh(t,e){vl.X(t,e);var l=$a;if(l&&t){var a=pa(l).hoistableScripts,n=Ia(t),u=a.get(n);u||(u=l.querySelector(Kn(n)),u||(t=R({src:t,async:!0},e),(e=He.get(n))&&jf(t,e),u=l.createElement("script"),Wt(u),ae(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function ph(t,e){vl.M(t,e);var l=$a;if(l&&t){var a=pa(l).hoistableScripts,n=Ia(t),u=a.get(n);u||(u=l.querySelector(Kn(n)),u||(t=R({src:t,async:!0,type:"module"},e),(e=He.get(n))&&jf(t,e),u=l.createElement("script"),Wt(u),ae(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Vd(t,e,l,a){var n=(n=tt.current)?ii(n):null;if(!n)throw Error(f(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Fa(l.href),l=pa(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Fa(l.href);var u=pa(n).hoistableStyles,c=u.get(t);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,c),(u=n.querySelector(Zn(t)))&&!u._p&&(c.instance=u,c.state.loading=5),He.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},He.set(t,l),u||Sh(n,t,l,c.state))),e&&a===null)throw Error(f(528,""));return c}if(e&&a!==null)throw Error(f(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Ia(l),l=pa(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(f(444,t))}}function Fa(t){return'href="'+Oe(t)+'"'}function Zn(t){return'link[rel="stylesheet"]['+t+"]"}function Ld(t){return R({},t,{"data-precedence":t.precedence,precedence:null})}function Sh(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),ae(e,"link",l),Wt(e),t.head.appendChild(e))}function Ia(t){return'[src="'+Oe(t)+'"]'}function Kn(t){return"script[async]"+t}function Xd(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Oe(l.href)+'"]');if(a)return e.instance=a,Wt(a),a;var n=R({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Wt(a),ae(a,"style",n),ci(a,l.precedence,t),e.instance=a;case"stylesheet":n=Fa(l.href);var u=t.querySelector(Zn(n));if(u)return e.state.loading|=4,e.instance=u,Wt(u),u;a=Ld(l),(n=He.get(n))&&Uf(a,n),u=(t.ownerDocument||t).createElement("link"),Wt(u);var c=u;return c._p=new Promise(function(s,m){c.onload=s,c.onerror=m}),ae(u,"link",a),e.state.loading|=4,ci(u,l.precedence,t),e.instance=u;case"script":return u=Ia(l.src),(n=t.querySelector(Kn(u)))?(e.instance=n,Wt(n),n):(a=l,(n=He.get(u))&&(a=R({},l),jf(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Wt(n),ae(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(f(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,ci(a,l.precedence,t));return e.instance}function ci(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c title"):null)}function Th(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Kd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function zh(t,e,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=Fa(a.href),u=e.querySelector(Zn(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=oi.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=u,Wt(u);return}u=e.ownerDocument||e,a=Ld(a),(n=He.get(n))&&Uf(a,n),u=u.createElement("link"),Wt(u);var c=u;c._p=new Promise(function(s,m){c.onload=s,c.onerror=m}),ae(u,"link",a),l.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=oi.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var Hf=0;function Eh(t,e){return t.stylesheets&&t.count===0&&ri(t,t.stylesheets),0Hf?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function oi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ri(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var si=null;function ri(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,si=new Map,e.forEach(Ah,t),si=null,oi.call(t))}function Ah(t,e){if(!(e.state.loading&4)){var l=si.get(t);if(l)var a=l.get(null);else{l=new Map,si.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),Qf.exports=Vh(),Qf.exports}var Xh=Lh(),kf={exports:{}},Wf={};var ym;function Qh(){if(ym)return Wf;ym=1;var i=_i().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;return Wf.c=function(o){return i.H.useMemoCache(o)},Wf}var gm;function Zh(){return gm||(gm=1,kf.exports=Qh()),kf.exports}var ra=Zh();const Kh=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Jh=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,r,f)=>f?f.toUpperCase():r.toLowerCase()),bm=i=>{const o=Jh(i);return o.charAt(0).toUpperCase()+o.slice(1)},Dm=(...i)=>i.filter((o,r,f)=>!!o&&o.trim()!==""&&f.indexOf(o)===r).join(" ").trim(),kh=i=>{for(const o in i)if(o.startsWith("aria-")||o==="role"||o==="title")return!0};var Wh={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const $h=U.forwardRef(({color:i="currentColor",size:o=24,strokeWidth:r=2,absoluteStrokeWidth:f,className:d="",children:v,iconNode:z,..._},p)=>U.createElement("svg",{ref:p,...Wh,width:o,height:o,stroke:i,strokeWidth:f?Number(r)*24/Number(o):r,className:Dm("lucide",d),...!v&&!kh(_)&&{"aria-hidden":"true"},..._},[...z.map(([h,C])=>U.createElement(h,C)),...Array.isArray(v)?v:[v]]));const Zl=(i,o)=>{const r=U.forwardRef(({className:f,...d},v)=>U.createElement($h,{ref:v,iconNode:o,className:Dm(`lucide-${Kh(bm(i))}`,`lucide-${i}`,f),...d}));return r.displayName=bm(i),r};const Fh=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],pm=Zl("camera",Fh);const Ih=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Ph=Zl("chevron-left",Ih);const ty=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ey=Zl("chevron-right",ty);const ly=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],Sm=Zl("clipboard-list",ly);const ay=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Tm=Zl("play",ay);const ny=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],uy=Zl("settings",ny);const iy=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],cy=Zl("square",iy);const fy=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],oy=Zl("users",fy);function zm(i,o){if(typeof i=="function")return i(o);i!=null&&(i.current=o)}function Oi(...i){return o=>{let r=!1;const f=i.map(d=>{const v=zm(d,o);return!r&&typeof v=="function"&&(r=!0),v});if(r)return()=>{for(let d=0;d{let{children:v,...z}=f;Um(v)&&typeof Ei=="function"&&(v=Ei(v._payload));const _=U.Children.toArray(v),p=_.find(yy);if(p){const h=p.props.children,C=_.map(R=>R===p?U.Children.count(h)>1?U.Children.only(null):U.isValidElement(h)?h.props.children:null:R);return j.jsx(o,{...z,ref:d,children:U.isValidElement(h)?U.cloneElement(h,void 0,C):null})}return j.jsx(o,{...z,ref:d,children:v})});return r.displayName=`${i}.Slot`,r}var my=dy("Slot");function vy(i){const o=U.forwardRef((r,f)=>{let{children:d,...v}=r;if(Um(d)&&typeof Ei=="function"&&(d=Ei(d._payload)),U.isValidElement(d)){const z=by(d),_=gy(v,d.props);return d.type!==U.Fragment&&(_.ref=f?Oi(f,z):z),U.cloneElement(d,_)}return U.Children.count(d)>1?U.Children.only(null):null});return o.displayName=`${i}.SlotClone`,o}var hy=Symbol("radix.slottable");function yy(i){return U.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===hy}function gy(i,o){const r={...o};for(const f in o){const d=i[f],v=o[f];/^on[A-Z]/.test(f)?d&&v?r[f]=(..._)=>{const p=v(..._);return d(..._),p}:d&&(r[f]=d):f==="style"?r[f]={...d,...v}:f==="className"&&(r[f]=[d,v].filter(Boolean).join(" "))}return{...i,...r}}function by(i){let o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?i.ref:(o=Object.getOwnPropertyDescriptor(i,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}function jm(i){var o,r,f="";if(typeof i=="string"||typeof i=="number")f+=i;else if(typeof i=="object")if(Array.isArray(i)){var d=i.length;for(o=0;otypeof i=="boolean"?`${i}`:i===0?"0":i,Am=Hm,py=(i,o)=>r=>{var f;if(o?.variants==null)return Am(i,r?.class,r?.className);const{variants:d,defaultVariants:v}=o,z=Object.keys(d).map(h=>{const C=r?.[h],R=v?.[h];if(C===null)return null;const w=Em(C)||Em(R);return d[h][w]}),_=r&&Object.entries(r).reduce((h,C)=>{let[R,w]=C;return w===void 0||(h[R]=w),h},{}),p=o==null||(f=o.compoundVariants)===null||f===void 0?void 0:f.reduce((h,C)=>{let{class:R,className:w,...F}=C;return Object.entries(F).every(et=>{let[k,Q]=et;return Array.isArray(Q)?Q.includes({...v,..._}[k]):{...v,..._}[k]===Q})?[...h,R,w]:h},[]);return Am(i,z,p,r?.class,r?.className)},Sy=(i,o)=>{const r=new Array(i.length+o.length);for(let f=0;f({classGroupId:i,validator:o}),Bm=(i=new Map,o=null,r)=>({nextPart:i,validators:o,classGroupId:r}),Ai="-",xm=[],zy="arbitrary..",Ey=i=>{const o=xy(i),{conflictingClassGroups:r,conflictingClassGroupModifiers:f}=i;return{getClassGroupId:z=>{if(z.startsWith("[")&&z.endsWith("]"))return Ay(z);const _=z.split(Ai),p=_[0]===""&&_.length>1?1:0;return qm(_,p,o)},getConflictingClassGroupIds:(z,_)=>{if(_){const p=f[z],h=r[z];return p?h?Sy(h,p):p:h||xm}return r[z]||xm}}},qm=(i,o,r)=>{if(i.length-o===0)return r.classGroupId;const d=i[o],v=r.nextPart.get(d);if(v){const h=qm(i,o+1,v);if(h)return h}const z=r.validators;if(z===null)return;const _=o===0?i.join(Ai):i.slice(o).join(Ai),p=z.length;for(let h=0;hi.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const o=i.slice(1,-1),r=o.indexOf(":"),f=o.slice(0,r);return f?zy+f:void 0})(),xy=i=>{const{theme:o,classGroups:r}=i;return _y(r,o)},_y=(i,o)=>{const r=Bm();for(const f in i){const d=i[f];uo(d,r,f,o)}return r},uo=(i,o,r,f)=>{const d=i.length;for(let v=0;v{if(typeof i=="string"){Ny(i,o,r);return}if(typeof i=="function"){My(i,o,r,f);return}Cy(i,o,r,f)},Ny=(i,o,r)=>{const f=i===""?o:Gm(o,i);f.classGroupId=r},My=(i,o,r,f)=>{if(Ry(i)){uo(i(f),o,r,f);return}o.validators===null&&(o.validators=[]),o.validators.push(Ty(r,i))},Cy=(i,o,r,f)=>{const d=Object.entries(i),v=d.length;for(let z=0;z{let r=i;const f=o.split(Ai),d=f.length;for(let v=0;v"isThemeGetter"in i&&i.isThemeGetter===!0,Dy=i=>{if(i<1)return{get:()=>{},set:()=>{}};let o=0,r=Object.create(null),f=Object.create(null);const d=(v,z)=>{r[v]=z,o++,o>i&&(o=0,f=r,r=Object.create(null))};return{get(v){let z=r[v];if(z!==void 0)return z;if((z=f[v])!==void 0)return d(v,z),z},set(v,z){v in r?r[v]=z:d(v,z)}}},lo="!",_m=":",Uy=[],Om=(i,o,r,f,d)=>({modifiers:i,hasImportantModifier:o,baseClassName:r,maybePostfixModifierPosition:f,isExternal:d}),jy=i=>{const{prefix:o,experimentalParseClassName:r}=i;let f=d=>{const v=[];let z=0,_=0,p=0,h;const C=d.length;for(let k=0;kp?h-p:void 0;return Om(v,F,w,et)};if(o){const d=o+_m,v=f;f=z=>z.startsWith(d)?v(z.slice(d.length)):Om(Uy,!1,z,void 0,!0)}if(r){const d=f;f=v=>r({className:v,parseClassName:d})}return f},Hy=i=>{const o=new Map;return i.orderSensitiveModifiers.forEach((r,f)=>{o.set(r,1e6+f)}),r=>{const f=[];let d=[];for(let v=0;v0&&(d.sort(),f.push(...d),d=[]),f.push(z)):d.push(z)}return d.length>0&&(d.sort(),f.push(...d)),f}},By=i=>({cache:Dy(i.cacheSize),parseClassName:jy(i),sortModifiers:Hy(i),...Ey(i)}),qy=/\s+/,Gy=(i,o)=>{const{parseClassName:r,getClassGroupId:f,getConflictingClassGroupIds:d,sortModifiers:v}=o,z=[],_=i.trim().split(qy);let p="";for(let h=_.length-1;h>=0;h-=1){const C=_[h],{isExternal:R,modifiers:w,hasImportantModifier:F,baseClassName:et,maybePostfixModifierPosition:k}=r(C);if(R){p=C+(p.length>0?" "+p:p);continue}let Q=!!k,nt=f(Q?et.substring(0,k):et);if(!nt){if(!Q){p=C+(p.length>0?" "+p:p);continue}if(nt=f(et),!nt){p=C+(p.length>0?" "+p:p);continue}Q=!1}const bt=w.length===0?"":w.length===1?w[0]:v(w).join(":"),I=F?bt+lo:bt,at=I+nt;if(z.indexOf(at)>-1)continue;z.push(at);const Tt=d(nt,Q);for(let ht=0;ht0?" "+p:p)}return p},Yy=(...i)=>{let o=0,r,f,d="";for(;o{if(typeof i=="string")return i;let o,r="";for(let f=0;f{let r,f,d,v;const z=p=>{const h=o.reduce((C,R)=>R(C),i());return r=By(h),f=r.cache.get,d=r.cache.set,v=_,_(p)},_=p=>{const h=f(p);if(h)return h;const C=Gy(p,r);return d(p,C),C};return v=z,(...p)=>v(Yy(...p))},Vy=[],kt=i=>{const o=r=>r[i]||Vy;return o.isThemeGetter=!0,o},wm=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Vm=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ly=/^\d+\/\d+$/,Xy=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qy=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Zy=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ky=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Jy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,tn=i=>Ly.test(i),ct=i=>!!i&&!Number.isNaN(Number(i)),Xl=i=>!!i&&Number.isInteger(Number(i)),$f=i=>i.endsWith("%")&&ct(i.slice(0,-1)),hl=i=>Xy.test(i),ky=()=>!0,Wy=i=>Qy.test(i)&&!Zy.test(i),Lm=()=>!1,$y=i=>Ky.test(i),Fy=i=>Jy.test(i),Iy=i=>!L(i)&&!X(i),Py=i=>en(i,Zm,Lm),L=i=>wm.test(i),sa=i=>en(i,Km,Wy),Ff=i=>en(i,ng,ct),Nm=i=>en(i,Xm,Lm),tg=i=>en(i,Qm,Fy),pi=i=>en(i,Jm,$y),X=i=>Vm.test(i),Pn=i=>ln(i,Km),eg=i=>ln(i,ug),Mm=i=>ln(i,Xm),lg=i=>ln(i,Zm),ag=i=>ln(i,Qm),Si=i=>ln(i,Jm,!0),en=(i,o,r)=>{const f=wm.exec(i);return f?f[1]?o(f[1]):r(f[2]):!1},ln=(i,o,r=!1)=>{const f=Vm.exec(i);return f?f[1]?o(f[1]):r:!1},Xm=i=>i==="position"||i==="percentage",Qm=i=>i==="image"||i==="url",Zm=i=>i==="length"||i==="size"||i==="bg-size",Km=i=>i==="length",ng=i=>i==="number",ug=i=>i==="family-name",Jm=i=>i==="shadow",ig=()=>{const i=kt("color"),o=kt("font"),r=kt("text"),f=kt("font-weight"),d=kt("tracking"),v=kt("leading"),z=kt("breakpoint"),_=kt("container"),p=kt("spacing"),h=kt("radius"),C=kt("shadow"),R=kt("inset-shadow"),w=kt("text-shadow"),F=kt("drop-shadow"),et=kt("blur"),k=kt("perspective"),Q=kt("aspect"),nt=kt("ease"),bt=kt("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],at=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],Tt=()=>[...at(),X,L],ht=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],Y=()=>[X,L,p],zt=()=>[tn,"full","auto",...Y()],Ft=()=>[Xl,"none","subgrid",X,L],qt=()=>["auto",{span:["full",Xl,X,L]},Xl,X,L],xt=()=>[Xl,"auto",X,L],It=()=>["auto","min","max","fr",X,L],wt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ct=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...Y()],q=()=>[tn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Y()],H=()=>[i,X,L],mt=()=>[...at(),Mm,Nm,{position:[X,L]}],ft=()=>["no-repeat",{repeat:["","x","y","space","round"]}],y=()=>["auto","cover","contain",lg,Py,{size:[X,L]}],N=()=>[$f,Pn,sa],B=()=>["","none","full",h,X,L],G=()=>["",ct,Pn,sa],W=()=>["solid","dashed","dotted","double"],tt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>[ct,$f,Mm,Nm],Ht=()=>["","none",et,X,L],pt=()=>["none",ct,X,L],ce=()=>["none",ct,X,L],xe=()=>[ct,X,L],ue=()=>[tn,"full",...Y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[hl],breakpoint:[hl],color:[ky],container:[hl],"drop-shadow":[hl],ease:["in","out","in-out"],font:[Iy],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[hl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[hl],shadow:[hl],spacing:["px",ct],text:[hl],"text-shadow":[hl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",tn,L,X,Q]}],container:["container"],columns:[{columns:[ct,L,X,_]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:Tt()}],overflow:[{overflow:ht()}],"overflow-x":[{"overflow-x":ht()}],"overflow-y":[{"overflow-y":ht()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:zt()}],"inset-x":[{"inset-x":zt()}],"inset-y":[{"inset-y":zt()}],start:[{start:zt()}],end:[{end:zt()}],top:[{top:zt()}],right:[{right:zt()}],bottom:[{bottom:zt()}],left:[{left:zt()}],visibility:["visible","invisible","collapse"],z:[{z:[Xl,"auto",X,L]}],basis:[{basis:[tn,"full","auto",_,...Y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ct,tn,"auto","initial","none",L]}],grow:[{grow:["",ct,X,L]}],shrink:[{shrink:["",ct,X,L]}],order:[{order:[Xl,"first","last","none",X,L]}],"grid-cols":[{"grid-cols":Ft()}],"col-start-end":[{col:qt()}],"col-start":[{"col-start":xt()}],"col-end":[{"col-end":xt()}],"grid-rows":[{"grid-rows":Ft()}],"row-start-end":[{row:qt()}],"row-start":[{"row-start":xt()}],"row-end":[{"row-end":xt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":It()}],"auto-rows":[{"auto-rows":It()}],gap:[{gap:Y()}],"gap-x":[{"gap-x":Y()}],"gap-y":[{"gap-y":Y()}],"justify-content":[{justify:[...wt(),"normal"]}],"justify-items":[{"justify-items":[...Ct(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ct()]}],"align-content":[{content:["normal",...wt()]}],"align-items":[{items:[...Ct(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ct(),{baseline:["","last"]}]}],"place-content":[{"place-content":wt()}],"place-items":[{"place-items":[...Ct(),"baseline"]}],"place-self":[{"place-self":["auto",...Ct()]}],p:[{p:Y()}],px:[{px:Y()}],py:[{py:Y()}],ps:[{ps:Y()}],pe:[{pe:Y()}],pt:[{pt:Y()}],pr:[{pr:Y()}],pb:[{pb:Y()}],pl:[{pl:Y()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":Y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Y()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],w:[{w:[_,"screen",...q()]}],"min-w":[{"min-w":[_,"screen","none",...q()]}],"max-w":[{"max-w":[_,"screen","none","prose",{screen:[z]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",r,Pn,sa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[f,X,Ff]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",$f,L]}],"font-family":[{font:[eg,L,o]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[d,X,L]}],"line-clamp":[{"line-clamp":[ct,"none",X,Ff]}],leading:[{leading:[v,...Y()]}],"list-image":[{"list-image":["none",X,L]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",X,L]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:H()}],"text-color":[{text:H()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[ct,"from-font","auto",X,sa]}],"text-decoration-color":[{decoration:H()}],"underline-offset":[{"underline-offset":[ct,"auto",X,L]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X,L]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X,L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:mt()}],"bg-repeat":[{bg:ft()}],"bg-size":[{bg:y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Xl,X,L],radial:["",X,L],conic:[Xl,X,L]},ag,tg]}],"bg-color":[{bg:H()}],"gradient-from-pos":[{from:N()}],"gradient-via-pos":[{via:N()}],"gradient-to-pos":[{to:N()}],"gradient-from":[{from:H()}],"gradient-via":[{via:H()}],"gradient-to":[{to:H()}],rounded:[{rounded:B()}],"rounded-s":[{"rounded-s":B()}],"rounded-e":[{"rounded-e":B()}],"rounded-t":[{"rounded-t":B()}],"rounded-r":[{"rounded-r":B()}],"rounded-b":[{"rounded-b":B()}],"rounded-l":[{"rounded-l":B()}],"rounded-ss":[{"rounded-ss":B()}],"rounded-se":[{"rounded-se":B()}],"rounded-ee":[{"rounded-ee":B()}],"rounded-es":[{"rounded-es":B()}],"rounded-tl":[{"rounded-tl":B()}],"rounded-tr":[{"rounded-tr":B()}],"rounded-br":[{"rounded-br":B()}],"rounded-bl":[{"rounded-bl":B()}],"border-w":[{border:G()}],"border-w-x":[{"border-x":G()}],"border-w-y":[{"border-y":G()}],"border-w-s":[{"border-s":G()}],"border-w-e":[{"border-e":G()}],"border-w-t":[{"border-t":G()}],"border-w-r":[{"border-r":G()}],"border-w-b":[{"border-b":G()}],"border-w-l":[{"border-l":G()}],"divide-x":[{"divide-x":G()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":G()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:H()}],"border-color-x":[{"border-x":H()}],"border-color-y":[{"border-y":H()}],"border-color-s":[{"border-s":H()}],"border-color-e":[{"border-e":H()}],"border-color-t":[{"border-t":H()}],"border-color-r":[{"border-r":H()}],"border-color-b":[{"border-b":H()}],"border-color-l":[{"border-l":H()}],"divide-color":[{divide:H()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ct,X,L]}],"outline-w":[{outline:["",ct,Pn,sa]}],"outline-color":[{outline:H()}],shadow:[{shadow:["","none",C,Si,pi]}],"shadow-color":[{shadow:H()}],"inset-shadow":[{"inset-shadow":["none",R,Si,pi]}],"inset-shadow-color":[{"inset-shadow":H()}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:H()}],"ring-offset-w":[{"ring-offset":[ct,sa]}],"ring-offset-color":[{"ring-offset":H()}],"inset-ring-w":[{"inset-ring":G()}],"inset-ring-color":[{"inset-ring":H()}],"text-shadow":[{"text-shadow":["none",w,Si,pi]}],"text-shadow-color":[{"text-shadow":H()}],opacity:[{opacity:[ct,X,L]}],"mix-blend":[{"mix-blend":[...tt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ct]}],"mask-image-linear-from-pos":[{"mask-linear-from":K()}],"mask-image-linear-to-pos":[{"mask-linear-to":K()}],"mask-image-linear-from-color":[{"mask-linear-from":H()}],"mask-image-linear-to-color":[{"mask-linear-to":H()}],"mask-image-t-from-pos":[{"mask-t-from":K()}],"mask-image-t-to-pos":[{"mask-t-to":K()}],"mask-image-t-from-color":[{"mask-t-from":H()}],"mask-image-t-to-color":[{"mask-t-to":H()}],"mask-image-r-from-pos":[{"mask-r-from":K()}],"mask-image-r-to-pos":[{"mask-r-to":K()}],"mask-image-r-from-color":[{"mask-r-from":H()}],"mask-image-r-to-color":[{"mask-r-to":H()}],"mask-image-b-from-pos":[{"mask-b-from":K()}],"mask-image-b-to-pos":[{"mask-b-to":K()}],"mask-image-b-from-color":[{"mask-b-from":H()}],"mask-image-b-to-color":[{"mask-b-to":H()}],"mask-image-l-from-pos":[{"mask-l-from":K()}],"mask-image-l-to-pos":[{"mask-l-to":K()}],"mask-image-l-from-color":[{"mask-l-from":H()}],"mask-image-l-to-color":[{"mask-l-to":H()}],"mask-image-x-from-pos":[{"mask-x-from":K()}],"mask-image-x-to-pos":[{"mask-x-to":K()}],"mask-image-x-from-color":[{"mask-x-from":H()}],"mask-image-x-to-color":[{"mask-x-to":H()}],"mask-image-y-from-pos":[{"mask-y-from":K()}],"mask-image-y-to-pos":[{"mask-y-to":K()}],"mask-image-y-from-color":[{"mask-y-from":H()}],"mask-image-y-to-color":[{"mask-y-to":H()}],"mask-image-radial":[{"mask-radial":[X,L]}],"mask-image-radial-from-pos":[{"mask-radial-from":K()}],"mask-image-radial-to-pos":[{"mask-radial-to":K()}],"mask-image-radial-from-color":[{"mask-radial-from":H()}],"mask-image-radial-to-color":[{"mask-radial-to":H()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":at()}],"mask-image-conic-pos":[{"mask-conic":[ct]}],"mask-image-conic-from-pos":[{"mask-conic-from":K()}],"mask-image-conic-to-pos":[{"mask-conic-to":K()}],"mask-image-conic-from-color":[{"mask-conic-from":H()}],"mask-image-conic-to-color":[{"mask-conic-to":H()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:mt()}],"mask-repeat":[{mask:ft()}],"mask-size":[{mask:y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",X,L]}],filter:[{filter:["","none",X,L]}],blur:[{blur:Ht()}],brightness:[{brightness:[ct,X,L]}],contrast:[{contrast:[ct,X,L]}],"drop-shadow":[{"drop-shadow":["","none",F,Si,pi]}],"drop-shadow-color":[{"drop-shadow":H()}],grayscale:[{grayscale:["",ct,X,L]}],"hue-rotate":[{"hue-rotate":[ct,X,L]}],invert:[{invert:["",ct,X,L]}],saturate:[{saturate:[ct,X,L]}],sepia:[{sepia:["",ct,X,L]}],"backdrop-filter":[{"backdrop-filter":["","none",X,L]}],"backdrop-blur":[{"backdrop-blur":Ht()}],"backdrop-brightness":[{"backdrop-brightness":[ct,X,L]}],"backdrop-contrast":[{"backdrop-contrast":[ct,X,L]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ct,X,L]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ct,X,L]}],"backdrop-invert":[{"backdrop-invert":["",ct,X,L]}],"backdrop-opacity":[{"backdrop-opacity":[ct,X,L]}],"backdrop-saturate":[{"backdrop-saturate":[ct,X,L]}],"backdrop-sepia":[{"backdrop-sepia":["",ct,X,L]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Y()}],"border-spacing-x":[{"border-spacing-x":Y()}],"border-spacing-y":[{"border-spacing-y":Y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",X,L]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ct,"initial",X,L]}],ease:[{ease:["linear","initial",nt,X,L]}],delay:[{delay:[ct,X,L]}],animate:[{animate:["none",bt,X,L]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,X,L]}],"perspective-origin":[{"perspective-origin":Tt()}],rotate:[{rotate:pt()}],"rotate-x":[{"rotate-x":pt()}],"rotate-y":[{"rotate-y":pt()}],"rotate-z":[{"rotate-z":pt()}],scale:[{scale:ce()}],"scale-x":[{"scale-x":ce()}],"scale-y":[{"scale-y":ce()}],"scale-z":[{"scale-z":ce()}],"scale-3d":["scale-3d"],skew:[{skew:xe()}],"skew-x":[{"skew-x":xe()}],"skew-y":[{"skew-y":xe()}],transform:[{transform:[X,L,"","none","gpu","cpu"]}],"transform-origin":[{origin:Tt()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":["translate-none"],accent:[{accent:H()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:H()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X,L]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Y()}],"scroll-mx":[{"scroll-mx":Y()}],"scroll-my":[{"scroll-my":Y()}],"scroll-ms":[{"scroll-ms":Y()}],"scroll-me":[{"scroll-me":Y()}],"scroll-mt":[{"scroll-mt":Y()}],"scroll-mr":[{"scroll-mr":Y()}],"scroll-mb":[{"scroll-mb":Y()}],"scroll-ml":[{"scroll-ml":Y()}],"scroll-p":[{"scroll-p":Y()}],"scroll-px":[{"scroll-px":Y()}],"scroll-py":[{"scroll-py":Y()}],"scroll-ps":[{"scroll-ps":Y()}],"scroll-pe":[{"scroll-pe":Y()}],"scroll-pt":[{"scroll-pt":Y()}],"scroll-pr":[{"scroll-pr":Y()}],"scroll-pb":[{"scroll-pb":Y()}],"scroll-pl":[{"scroll-pl":Y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",X,L]}],fill:[{fill:["none",...H()]}],"stroke-w":[{stroke:[ct,Pn,sa,Ff]}],stroke:[{stroke:["none",...H()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},cg=wy(ig);function Be(...i){return cg(Hm(i))}const fg=py("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function If(i){const o=ra.c(14);let r,f,d,v,z;o[0]!==i?({className:r,variant:z,size:d,asChild:v,...f}=i,o[0]=i,o[1]=r,o[2]=f,o[3]=d,o[4]=v,o[5]=z):(r=o[1],f=o[2],d=o[3],v=o[4],z=o[5]);const p=(v===void 0?!1:v)?my:"button";let h;o[6]!==r||o[7]!==d||o[8]!==z?(h=Be(fg({variant:z,size:d,className:r})),o[6]=r,o[7]=d,o[8]=z,o[9]=h):h=o[9];let C;return o[10]!==p||o[11]!==f||o[12]!==h?(C=j.jsx(p,{"data-slot":"button",className:h,...f}),o[10]=p,o[11]=f,o[12]=h,o[13]=C):C=o[13],C}function yl(i,o,{checkForDefaultPrevented:r=!0}={}){return function(d){if(i?.(d),r===!1||!d.defaultPrevented)return o?.(d)}}function io(i,o=[]){let r=[];function f(v,z){const _=U.createContext(z),p=r.length;r=[...r,z];const h=R=>{const{scope:w,children:F,...et}=R,k=w?.[i]?.[p]||_,Q=U.useMemo(()=>et,Object.values(et));return j.jsx(k.Provider,{value:Q,children:F})};h.displayName=v+"Provider";function C(R,w){const F=w?.[i]?.[p]||_,et=U.useContext(F);if(et)return et;if(z!==void 0)return z;throw new Error(`\`${R}\` must be used within \`${v}\``)}return[h,C]}const d=()=>{const v=r.map(z=>U.createContext(z));return function(_){const p=_?.[i]||v;return U.useMemo(()=>({[`__scope${i}`]:{..._,[i]:p}}),[_,p])}};return d.scopeName=i,[f,og(d,...o)]}function og(...i){const o=i[0];if(i.length===1)return o;const r=()=>{const f=i.map(d=>({useScope:d(),scopeName:d.scopeName}));return function(v){const z=f.reduce((_,{useScope:p,scopeName:h})=>{const R=p(v)[`__scope${h}`];return{..._,...R}},{});return U.useMemo(()=>({[`__scope${o.scopeName}`]:z}),[z])}};return r.scopeName=o.scopeName,r}function Cm(i){const o=sg(i),r=U.forwardRef((f,d)=>{const{children:v,...z}=f,_=U.Children.toArray(v),p=_.find(dg);if(p){const h=p.props.children,C=_.map(R=>R===p?U.Children.count(h)>1?U.Children.only(null):U.isValidElement(h)?h.props.children:null:R);return j.jsx(o,{...z,ref:d,children:U.isValidElement(h)?U.cloneElement(h,void 0,C):null})}return j.jsx(o,{...z,ref:d,children:v})});return r.displayName=`${i}.Slot`,r}function sg(i){const o=U.forwardRef((r,f)=>{const{children:d,...v}=r;if(U.isValidElement(d)){const z=vg(d),_=mg(v,d.props);return d.type!==U.Fragment&&(_.ref=f?Oi(f,z):z),U.cloneElement(d,_)}return U.Children.count(d)>1?U.Children.only(null):null});return o.displayName=`${i}.SlotClone`,o}var rg=Symbol("radix.slottable");function dg(i){return U.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===rg}function mg(i,o){const r={...o};for(const f in o){const d=i[f],v=o[f];/^on[A-Z]/.test(f)?d&&v?r[f]=(..._)=>{const p=v(..._);return d(..._),p}:d&&(r[f]=d):f==="style"?r[f]={...d,...v}:f==="className"&&(r[f]=[d,v].filter(Boolean).join(" "))}return{...i,...r}}function vg(i){let o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?i.ref:(o=Object.getOwnPropertyDescriptor(i,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}function hg(i){const o=i+"CollectionProvider",[r,f]=io(o),[d,v]=r(o,{collectionRef:{current:null},itemMap:new Map}),z=k=>{const{scope:Q,children:nt}=k,bt=Ql.useRef(null),I=Ql.useRef(new Map).current;return j.jsx(d,{scope:Q,itemMap:I,collectionRef:bt,children:nt})};z.displayName=o;const _=i+"CollectionSlot",p=Cm(_),h=Ql.forwardRef((k,Q)=>{const{scope:nt,children:bt}=k,I=v(_,nt),at=zi(Q,I.collectionRef);return j.jsx(p,{ref:at,children:bt})});h.displayName=_;const C=i+"CollectionItemSlot",R="data-radix-collection-item",w=Cm(C),F=Ql.forwardRef((k,Q)=>{const{scope:nt,children:bt,...I}=k,at=Ql.useRef(null),Tt=zi(Q,at),ht=v(C,nt);return Ql.useEffect(()=>(ht.itemMap.set(at,{ref:at,...I}),()=>void ht.itemMap.delete(at))),j.jsx(w,{[R]:"",ref:Tt,children:bt})});F.displayName=C;function et(k){const Q=v(i+"CollectionConsumer",k);return Ql.useCallback(()=>{const bt=Q.collectionRef.current;if(!bt)return[];const I=Array.from(bt.querySelectorAll(`[${R}]`));return Array.from(Q.itemMap.values()).sort((ht,P)=>I.indexOf(ht.ref.current)-I.indexOf(P.ref.current))},[Q.collectionRef,Q.itemMap])}return[{Provider:z,Slot:h,ItemSlot:F},et,f]}var xi=globalThis?.document?U.useLayoutEffect:()=>{},yg=no[" useId ".trim().toString()]||(()=>{}),gg=0;function km(i){const[o,r]=U.useState(yg());return xi(()=>{r(f=>f??String(gg++))},[i]),i||(o?`radix-${o}`:"")}Rm();function bg(i){const o=pg(i),r=U.forwardRef((f,d)=>{const{children:v,...z}=f,_=U.Children.toArray(v),p=_.find(Tg);if(p){const h=p.props.children,C=_.map(R=>R===p?U.Children.count(h)>1?U.Children.only(null):U.isValidElement(h)?h.props.children:null:R);return j.jsx(o,{...z,ref:d,children:U.isValidElement(h)?U.cloneElement(h,void 0,C):null})}return j.jsx(o,{...z,ref:d,children:v})});return r.displayName=`${i}.Slot`,r}function pg(i){const o=U.forwardRef((r,f)=>{const{children:d,...v}=r;if(U.isValidElement(d)){const z=Eg(d),_=zg(v,d.props);return d.type!==U.Fragment&&(_.ref=f?Oi(f,z):z),U.cloneElement(d,_)}return U.Children.count(d)>1?U.Children.only(null):null});return o.displayName=`${i}.SlotClone`,o}var Sg=Symbol("radix.slottable");function Tg(i){return U.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===Sg}function zg(i,o){const r={...o};for(const f in o){const d=i[f],v=o[f];/^on[A-Z]/.test(f)?d&&v?r[f]=(..._)=>{const p=v(..._);return d(..._),p}:d&&(r[f]=d):f==="style"?r[f]={...d,...v}:f==="className"&&(r[f]=[d,v].filter(Boolean).join(" "))}return{...i,...r}}function Eg(i){let o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?i.ref:(o=Object.getOwnPropertyDescriptor(i,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}var Ag=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],an=Ag.reduce((i,o)=>{const r=bg(`Primitive.${o}`),f=U.forwardRef((d,v)=>{const{asChild:z,..._}=d,p=z?r:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),j.jsx(p,{..._,ref:v})});return f.displayName=`Primitive.${o}`,{...i,[o]:f}},{});function xg(i){const o=U.useRef(i);return U.useEffect(()=>{o.current=i}),U.useMemo(()=>(...r)=>o.current?.(...r),[])}var _g=no[" useInsertionEffect ".trim().toString()]||xi;function Wm({prop:i,defaultProp:o,onChange:r=()=>{},caller:f}){const[d,v,z]=Og({defaultProp:o,onChange:r}),_=i!==void 0,p=_?i:d;{const C=U.useRef(i!==void 0);U.useEffect(()=>{const R=C.current;R!==_&&console.warn(`${f} is changing from ${R?"controlled":"uncontrolled"} to ${_?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),C.current=_},[_,f])}const h=U.useCallback(C=>{if(_){const R=Ng(C)?C(i):C;R!==i&&z.current?.(R)}else v(C)},[_,i,v,z]);return[p,h]}function Og({defaultProp:i,onChange:o}){const[r,f]=U.useState(i),d=U.useRef(r),v=U.useRef(o);return _g(()=>{v.current=o},[o]),U.useEffect(()=>{d.current!==r&&(v.current?.(r),d.current=r)},[r,d]),[r,f,v]}function Ng(i){return typeof i=="function"}var Mg=U.createContext(void 0);function $m(i){const o=U.useContext(Mg);return i||o||"ltr"}var Pf="rovingFocusGroup.onEntryFocus",Cg={bubbles:!1,cancelable:!0},eu="RovingFocusGroup",[ao,Fm,Rg]=hg(eu),[Dg,Im]=io(eu,[Rg]),[Ug,jg]=Dg(eu),Pm=U.forwardRef((i,o)=>j.jsx(ao.Provider,{scope:i.__scopeRovingFocusGroup,children:j.jsx(ao.Slot,{scope:i.__scopeRovingFocusGroup,children:j.jsx(Hg,{...i,ref:o})})}));Pm.displayName=eu;var Hg=U.forwardRef((i,o)=>{const{__scopeRovingFocusGroup:r,orientation:f,loop:d=!1,dir:v,currentTabStopId:z,defaultCurrentTabStopId:_,onCurrentTabStopIdChange:p,onEntryFocus:h,preventScrollOnEntryFocus:C=!1,...R}=i,w=U.useRef(null),F=zi(o,w),et=$m(v),[k,Q]=Wm({prop:z,defaultProp:_??null,onChange:p,caller:eu}),[nt,bt]=U.useState(!1),I=xg(h),at=Fm(r),Tt=U.useRef(!1),[ht,P]=U.useState(0);return U.useEffect(()=>{const Y=w.current;if(Y)return Y.addEventListener(Pf,I),()=>Y.removeEventListener(Pf,I)},[I]),j.jsx(Ug,{scope:r,orientation:f,dir:et,loop:d,currentTabStopId:k,onItemFocus:U.useCallback(Y=>Q(Y),[Q]),onItemShiftTab:U.useCallback(()=>bt(!0),[]),onFocusableItemAdd:U.useCallback(()=>P(Y=>Y+1),[]),onFocusableItemRemove:U.useCallback(()=>P(Y=>Y-1),[]),children:j.jsx(an.div,{tabIndex:nt||ht===0?-1:0,"data-orientation":f,...R,ref:F,style:{outline:"none",...i.style},onMouseDown:yl(i.onMouseDown,()=>{Tt.current=!0}),onFocus:yl(i.onFocus,Y=>{const zt=!Tt.current;if(Y.target===Y.currentTarget&&zt&&!nt){const Ft=new CustomEvent(Pf,Cg);if(Y.currentTarget.dispatchEvent(Ft),!Ft.defaultPrevented){const qt=at().filter(A=>A.focusable),xt=qt.find(A=>A.active),It=qt.find(A=>A.id===k),Ct=[xt,It,...qt].filter(Boolean).map(A=>A.ref.current);l0(Ct,C)}}Tt.current=!1}),onBlur:yl(i.onBlur,()=>bt(!1))})})}),t0="RovingFocusGroupItem",e0=U.forwardRef((i,o)=>{const{__scopeRovingFocusGroup:r,focusable:f=!0,active:d=!1,tabStopId:v,children:z,..._}=i,p=km(),h=v||p,C=jg(t0,r),R=C.currentTabStopId===h,w=Fm(r),{onFocusableItemAdd:F,onFocusableItemRemove:et,currentTabStopId:k}=C;return U.useEffect(()=>{if(f)return F(),()=>et()},[f,F,et]),j.jsx(ao.ItemSlot,{scope:r,id:h,focusable:f,active:d,children:j.jsx(an.span,{tabIndex:R?0:-1,"data-orientation":C.orientation,..._,ref:o,onMouseDown:yl(i.onMouseDown,Q=>{f?C.onItemFocus(h):Q.preventDefault()}),onFocus:yl(i.onFocus,()=>C.onItemFocus(h)),onKeyDown:yl(i.onKeyDown,Q=>{if(Q.key==="Tab"&&Q.shiftKey){C.onItemShiftTab();return}if(Q.target!==Q.currentTarget)return;const nt=Gg(Q,C.orientation,C.dir);if(nt!==void 0){if(Q.metaKey||Q.ctrlKey||Q.altKey||Q.shiftKey)return;Q.preventDefault();let I=w().filter(at=>at.focusable).map(at=>at.ref.current);if(nt==="last")I.reverse();else if(nt==="prev"||nt==="next"){nt==="prev"&&I.reverse();const at=I.indexOf(Q.currentTarget);I=C.loop?Yg(I,at+1):I.slice(at+1)}setTimeout(()=>l0(I))}}),children:typeof z=="function"?z({isCurrentTabStop:R,hasTabStop:k!=null}):z})})});e0.displayName=t0;var Bg={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function qg(i,o){return o!=="rtl"?i:i==="ArrowLeft"?"ArrowRight":i==="ArrowRight"?"ArrowLeft":i}function Gg(i,o,r){const f=qg(i.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(f))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(f)))return Bg[f]}function l0(i,o=!1){const r=document.activeElement;for(const f of i)if(f===r||(f.focus({preventScroll:o}),document.activeElement!==r))return}function Yg(i,o){return i.map((r,f)=>i[(o+f)%i.length])}var wg=Pm,Vg=e0;function Lg(i,o){return U.useReducer((r,f)=>o[r][f]??r,i)}var a0=i=>{const{present:o,children:r}=i,f=Xg(o),d=typeof r=="function"?r({present:f.isPresent}):U.Children.only(r),v=zi(f.ref,Qg(d));return typeof r=="function"||f.isPresent?U.cloneElement(d,{ref:v}):null};a0.displayName="Presence";function Xg(i){const[o,r]=U.useState(),f=U.useRef(null),d=U.useRef(i),v=U.useRef("none"),z=i?"mounted":"unmounted",[_,p]=Lg(z,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return U.useEffect(()=>{const h=Ti(f.current);v.current=_==="mounted"?h:"none"},[_]),xi(()=>{const h=f.current,C=d.current;if(C!==i){const w=v.current,F=Ti(h);i?p("MOUNT"):F==="none"||h?.display==="none"?p("UNMOUNT"):p(C&&w!==F?"ANIMATION_OUT":"UNMOUNT"),d.current=i}},[i,p]),xi(()=>{if(o){let h;const C=o.ownerDocument.defaultView??window,R=F=>{const k=Ti(f.current).includes(CSS.escape(F.animationName));if(F.target===o&&k&&(p("ANIMATION_END"),!d.current)){const Q=o.style.animationFillMode;o.style.animationFillMode="forwards",h=C.setTimeout(()=>{o.style.animationFillMode==="forwards"&&(o.style.animationFillMode=Q)})}},w=F=>{F.target===o&&(v.current=Ti(f.current))};return o.addEventListener("animationstart",w),o.addEventListener("animationcancel",R),o.addEventListener("animationend",R),()=>{C.clearTimeout(h),o.removeEventListener("animationstart",w),o.removeEventListener("animationcancel",R),o.removeEventListener("animationend",R)}}else p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(_),ref:U.useCallback(h=>{f.current=h?getComputedStyle(h):null,r(h)},[])}}function Ti(i){return i?.animationName||"none"}function Qg(i){let o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?i.ref:(o=Object.getOwnPropertyDescriptor(i,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}var Ni="Tabs",[Zg]=io(Ni,[Im]),n0=Im(),[Kg,co]=Zg(Ni),u0=U.forwardRef((i,o)=>{const{__scopeTabs:r,value:f,onValueChange:d,defaultValue:v,orientation:z="horizontal",dir:_,activationMode:p="automatic",...h}=i,C=$m(_),[R,w]=Wm({prop:f,onChange:d,defaultProp:v??"",caller:Ni});return j.jsx(Kg,{scope:r,baseId:km(),value:R,onValueChange:w,orientation:z,dir:C,activationMode:p,children:j.jsx(an.div,{dir:C,"data-orientation":z,...h,ref:o})})});u0.displayName=Ni;var i0="TabsList",c0=U.forwardRef((i,o)=>{const{__scopeTabs:r,loop:f=!0,...d}=i,v=co(i0,r),z=n0(r);return j.jsx(wg,{asChild:!0,...z,orientation:v.orientation,dir:v.dir,loop:f,children:j.jsx(an.div,{role:"tablist","aria-orientation":v.orientation,...d,ref:o})})});c0.displayName=i0;var f0="TabsTrigger",o0=U.forwardRef((i,o)=>{const{__scopeTabs:r,value:f,disabled:d=!1,...v}=i,z=co(f0,r),_=n0(r),p=d0(z.baseId,f),h=m0(z.baseId,f),C=f===z.value;return j.jsx(Vg,{asChild:!0,..._,focusable:!d,active:C,children:j.jsx(an.button,{type:"button",role:"tab","aria-selected":C,"aria-controls":h,"data-state":C?"active":"inactive","data-disabled":d?"":void 0,disabled:d,id:p,...v,ref:o,onMouseDown:yl(i.onMouseDown,R=>{!d&&R.button===0&&R.ctrlKey===!1?z.onValueChange(f):R.preventDefault()}),onKeyDown:yl(i.onKeyDown,R=>{[" ","Enter"].includes(R.key)&&z.onValueChange(f)}),onFocus:yl(i.onFocus,()=>{const R=z.activationMode!=="manual";!C&&!d&&R&&z.onValueChange(f)})})})});o0.displayName=f0;var s0="TabsContent",r0=U.forwardRef((i,o)=>{const{__scopeTabs:r,value:f,forceMount:d,children:v,...z}=i,_=co(s0,r),p=d0(_.baseId,f),h=m0(_.baseId,f),C=f===_.value,R=U.useRef(C);return U.useEffect(()=>{const w=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(w)},[]),j.jsx(a0,{present:d||C,children:({present:w})=>j.jsx(an.div,{"data-state":C?"active":"inactive","data-orientation":_.orientation,role:"tabpanel","aria-labelledby":p,hidden:!w,id:h,tabIndex:0,...z,ref:o,style:{...i.style,animationDuration:R.current?"0s":void 0},children:w&&v})})});r0.displayName=s0;function d0(i,o){return`${i}-trigger-${o}`}function m0(i,o){return`${i}-content-${o}`}var Jg=u0,kg=c0,Wg=o0,$g=r0;function Fg(i){const o=ra.c(8);let r,f;o[0]!==i?({className:r,...f}=i,o[0]=i,o[1]=r,o[2]=f):(r=o[1],f=o[2]);let d;o[3]!==r?(d=Be("flex flex-col gap-2",r),o[3]=r,o[4]=d):d=o[4];let v;return o[5]!==f||o[6]!==d?(v=j.jsx(Jg,{"data-slot":"tabs",className:d,...f}),o[5]=f,o[6]=d,o[7]=v):v=o[7],v}function Ig(i){const o=ra.c(8);let r,f;o[0]!==i?({className:r,...f}=i,o[0]=i,o[1]=r,o[2]=f):(r=o[1],f=o[2]);let d;o[3]!==r?(d=Be("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",r),o[3]=r,o[4]=d):d=o[4];let v;return o[5]!==f||o[6]!==d?(v=j.jsx(kg,{"data-slot":"tabs-list",className:d,...f}),o[5]=f,o[6]=d,o[7]=v):v=o[7],v}function to(i){const o=ra.c(8);let r,f;o[0]!==i?({className:r,...f}=i,o[0]=i,o[1]=r,o[2]=f):(r=o[1],f=o[2]);let d;o[3]!==r?(d=Be("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",r),o[3]=r,o[4]=d):d=o[4];let v;return o[5]!==f||o[6]!==d?(v=j.jsx(Wg,{"data-slot":"tabs-trigger",className:d,...f}),o[5]=f,o[6]=d,o[7]=v):v=o[7],v}function eo(i){const o=ra.c(8);let r,f;o[0]!==i?({className:r,...f}=i,o[0]=i,o[1]=r,o[2]=f):(r=o[1],f=o[2]);let d;o[3]!==r?(d=Be("flex-1 outline-none",r),o[3]=r,o[4]=d):d=o[4];let v;return o[5]!==f||o[6]!==d?(v=j.jsx($g,{"data-slot":"tabs-content",className:d,...f}),o[5]=f,o[6]=d,o[7]=v):v=o[7],v}function tu(i){const o=ra.c(8);let r,f;o[0]!==i?({className:r,...f}=i,o[0]=i,o[1]=r,o[2]=f):(r=o[1],f=o[2]);let d;o[3]!==r?(d=Be("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",r),o[3]=r,o[4]=d):d=o[4];let v;return o[5]!==f||o[6]!==d?(v=j.jsx("div",{"data-slot":"card",className:d,...f}),o[5]=f,o[6]=d,o[7]=v):v=o[7],v}function Pg(){const i=ra.c(77),[o,r]=U.useState(!0),[f,d]=U.useState(!1),[v,z]=U.useState(null);let _;i[0]===Symbol.for("react.memo_cache_sentinel")?(_=[],i[0]=_):_=i[0];const[p,h]=U.useState(_);let C;i[1]===Symbol.for("react.memo_cache_sentinel")?(C=[{id:"1",name:"Nguyễn Văn A",email:"nguyenvana@email.com"},{id:"2",name:"Trần Thị B",email:"tranthib@email.com"},{id:"3",name:"Lê Văn C",email:"levanc@email.com"},{id:"4",name:"Phạm Thị D",email:"phamthid@email.com"},{id:"5",name:"Hoàng Văn E",email:"hoangvane@email.com"}],i[1]=C):C=i[1];const[R]=U.useState(C),w=U.useRef(null),F=U.useRef(null),et=U.useRef(null);let k;i[2]===Symbol.for("react.memo_cache_sentinel")?(k=()=>{const _t=[{name:"Nguyễn Văn A",time:new Date().toISOString(),camera_id:"webcam"},{name:"Trần Thị B",time:new Date(Date.now()-3e5).toISOString(),camera_id:"webcam"},{name:"Lê Văn C",time:new Date(Date.now()-6e5).toISOString(),camera_id:"webcam"}];h(_t)},i[2]=k):k=i[2];const Q=k;let nt,bt;i[3]===Symbol.for("react.memo_cache_sentinel")?(nt=()=>((async()=>{try{const Bt=await navigator.mediaDevices.getUserMedia({video:{width:1280,height:720,facingMode:"user"}});w.current&&(w.current.srcObject=Bt)}catch(Bt){console.error("Không thể truy cập camera:",Bt)}})(),Q(),()=>{w.current?.srcObject&&w.current.srcObject.getTracks().forEach(e1)}),bt=[],i[3]=nt,i[4]=bt):(nt=i[3],bt=i[4]),U.useEffect(nt,bt);let I;i[5]!==v?.name?(I=()=>{if(!w.current||!F.current)return;const _t=F.current,Bt=w.current,va=_t.getContext("2d");va&&(_t.width=Bt.videoWidth,_t.height=Bt.videoHeight,va.drawImage(Bt,0,0),console.log("Đang điểm danh..."),setTimeout(()=>{const lu={name:v?.name||"Unknown",time:new Date().toISOString(),camera_id:"webcam"};h(ha=>[lu,...ha])},500))},i[5]=v?.name,i[6]=I):I=i[6];const at=I;let Tt;i[7]!==at||i[8]!==f?(Tt=()=>{f?(et.current&&(clearInterval(et.current),et.current=null),d(!1)):(et.current=setInterval(()=>{at()},3e3),d(!0))},i[7]=at,i[8]=f,i[9]=Tt):Tt=i[9];const ht=Tt,P=t1,Y=o?"mr-96":"mr-0";let zt;i[10]!==Y?(zt=Be("flex-1 transition-all duration-300 ease-in-out",Y),i[10]=Y,i[11]=zt):zt=i[11];let Ft,qt;i[12]===Symbol.for("react.memo_cache_sentinel")?(qt=j.jsx("video",{ref:w,autoPlay:!0,playsInline:!0,className:"w-full h-full object-cover"}),Ft=j.jsx("div",{className:"absolute inset-0 border-4 border-blue-500/30 pointer-events-none"}),i[12]=Ft,i[13]=qt):(Ft=i[12],qt=i[13]);let xt;i[14]!==v?(xt=v&&j.jsx("div",{className:"absolute top-4 left-4 right-4 animate-in slide-in-from-top duration-300",children:j.jsx(tu,{className:"p-4 bg-white/95 backdrop-blur-sm border-blue-200 shadow-lg",children:j.jsxs("div",{className:"flex items-center gap-3",children:[j.jsx("div",{className:"size-12 rounded-full bg-blue-600 text-white flex items-center justify-center font-semibold text-lg",children:v.name.charAt(0)}),j.jsxs("div",{children:[j.jsx("h3",{className:"font-semibold text-gray-900",children:v.name}),j.jsx("p",{className:"text-sm text-gray-600",children:v.email})]})]})})}),i[14]=v,i[15]=xt):xt=i[15];let It;i[16]===Symbol.for("react.memo_cache_sentinel")?(It=j.jsxs("div",{className:"absolute top-4 right-4 bg-red-600 text-white px-3 py-1 rounded-full text-sm font-medium flex items-center gap-2",children:[j.jsx("span",{className:"size-2 rounded-full bg-white animate-pulse"}),"LIVE"]}),i[16]=It):It=i[16];let wt;i[17]!==o?(wt=()=>r(!o),i[17]=o,i[18]=wt):wt=i[18];let Ct;i[19]!==o?(Ct=o?j.jsx(ey,{className:"size-4"}):j.jsx(Ph,{className:"size-4"}),i[19]=o,i[20]=Ct):Ct=i[20];let A;i[21]!==wt||i[22]!==Ct?(A=j.jsx(If,{onClick:wt,variant:"outline",size:"icon",className:"absolute top-1/2 -translate-y-1/2 left-4 bg-white/90 hover:bg-white shadow-lg",children:Ct}),i[21]=wt,i[22]=Ct,i[23]=A):A=i[23];let q;i[24]!==xt||i[25]!==A?(q=j.jsx("div",{className:"h-full flex flex-col p-6",children:j.jsxs(tu,{className:"flex-1 overflow-hidden bg-black relative group",children:[qt,Ft,xt,It,A]})}),i[24]=xt,i[25]=A,i[26]=q):q=i[26];let H;i[27]!==q||i[28]!==zt?(H=j.jsx("div",{className:zt,children:q}),i[27]=q,i[28]=zt,i[29]=H):H=i[29];const mt=o?"translate-x-0":"translate-x-full";let ft;i[30]!==mt?(ft=Be("fixed right-0 top-0 h-screen w-96 bg-white border-l border-gray-200 shadow-xl transition-transform duration-300 ease-in-out",mt),i[30]=mt,i[31]=ft):ft=i[31];let y;i[32]===Symbol.for("react.memo_cache_sentinel")?(y=j.jsxs(to,{value:"logs",className:"flex items-center gap-1 text-xs",children:[j.jsx(Sm,{className:"size-3.5"}),"Log"]}),i[32]=y):y=i[32];let N;i[33]===Symbol.for("react.memo_cache_sentinel")?(N=j.jsxs(to,{value:"users",className:"flex items-center gap-1 text-xs",children:[j.jsx(oy,{className:"size-3.5"}),"User"]}),i[33]=N):N=i[33];let B;i[34]===Symbol.for("react.memo_cache_sentinel")?(B=j.jsx("div",{className:"border-b p-4",children:j.jsxs(Ig,{className:"grid w-full grid-cols-3",children:[y,N,j.jsxs(to,{value:"features",className:"flex items-center gap-1 text-xs",children:[j.jsx(uy,{className:"size-3.5"}),"Chức Năng"]})]})}),i[34]=B):B=i[34];let G,W;i[35]===Symbol.for("react.memo_cache_sentinel")?(G=j.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[j.jsx("div",{className:"size-10 rounded-lg bg-blue-600 text-white flex items-center justify-center",children:j.jsx(pm,{className:"size-5"})}),j.jsx("h3",{className:"font-semibold text-gray-900",children:"Điểm Danh Ngay"})]}),W=j.jsx("p",{className:"text-sm text-gray-600 leading-relaxed mb-3",children:'Chọn user từ danh sách, sau đó nhấn nút "Điểm Danh Ngay" để chụp và ghi nhận điểm danh một lần. Kết quả sẽ xuất hiện trong tab Log Checking.'}),i[35]=G,i[36]=W):(G=i[35],W=i[36]);let tt;i[37]===Symbol.for("react.memo_cache_sentinel")?(tt=j.jsx(pm,{className:"mr-2 size-4"}),i[37]=tt):tt=i[37];let K;i[38]!==at||i[39]!==f?(K=j.jsxs(tu,{className:"p-4 border-blue-200 hover:shadow-md transition-all duration-200",children:[G,W,j.jsxs(If,{onClick:at,disabled:f,className:"w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold",children:[tt,"Điểm Danh Ngay"]})]}),i[38]=at,i[39]=f,i[40]=K):K=i[40];let Ht,pt;i[41]===Symbol.for("react.memo_cache_sentinel")?(Ht=j.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[j.jsx("div",{className:"size-10 rounded-lg bg-gray-700 text-white flex items-center justify-center",children:j.jsx(Tm,{className:"size-5"})}),j.jsx("h3",{className:"font-semibold text-gray-900",children:"Tự Động Điểm Danh"})]}),pt=j.jsx("p",{className:"text-sm text-gray-600 leading-relaxed mb-3",children:'Bật chế độ tự động để hệ thống chụp và kiểm tra khuôn mặt liên tục mỗi 3 giây. Nhấn "Dừng Tự Động" để tắt chế độ này.'}),i[41]=Ht,i[42]=pt):(Ht=i[41],pt=i[42]);const ce=f?"destructive":"outline",xe=f&&"animate-pulse";let ue;i[43]!==xe?(ue=Be("w-full font-semibold",xe),i[43]=xe,i[44]=ue):ue=i[44];let We;i[45]!==f?(We=f?j.jsxs(j.Fragment,{children:[j.jsx(cy,{className:"mr-2 size-4"}),"Dừng Tự Động"]}):j.jsxs(j.Fragment,{children:[j.jsx(Tm,{className:"mr-2 size-4"}),"Tự Động Điểm Danh"]}),i[45]=f,i[46]=We):We=i[46];let fe;i[47]!==ce||i[48]!==ue||i[49]!==We||i[50]!==ht?(fe=j.jsxs(tu,{className:"p-4 border-gray-200 hover:shadow-md transition-all duration-200",children:[Ht,pt,j.jsx(If,{onClick:ht,variant:ce,className:ue,children:We})]}),i[47]=ce,i[48]=ue,i[49]=We,i[50]=ht,i[51]=fe):fe=i[51];let we;i[52]!==K||i[53]!==fe?(we=j.jsxs(eo,{value:"features",className:"flex-1 overflow-auto p-4 space-y-3",children:[K,fe]}),i[52]=K,i[53]=fe,i[54]=we):we=i[54];let Ve;i[55]!==p?(Ve=p.length===0?j.jsxs("div",{className:"flex flex-col items-center justify-center h-full text-gray-400",children:[j.jsx(Sm,{className:"size-16 mb-3"}),j.jsx("p",{children:"Chưa có dữ liệu điểm danh"})]}):p.map((_t,Bt)=>j.jsxs("div",{className:Be("p-3 rounded-lg border transition-all duration-200",Bt===0?"bg-blue-50 border-blue-200":"bg-gray-50 border-gray-200"),children:[j.jsxs("div",{className:"flex items-center justify-between mb-1",children:[j.jsx("span",{className:"font-medium text-gray-900",children:_t.name}),Bt===0&&j.jsx("span",{className:"text-xs bg-green-500 text-white px-2 py-0.5 rounded-full",children:"Mới"})]}),j.jsx("p",{className:"text-sm text-gray-600",children:P(_t.time)})]},Bt)),i[55]=p,i[56]=Ve):Ve=i[56];let gl;i[57]!==Ve?(gl=j.jsx(eo,{value:"logs",className:"flex-1 overflow-auto p-4 space-y-2",children:Ve}),i[57]=Ve,i[58]=gl):gl=i[58];let $e;if(i[59]!==v?.id||i[60]!==R){let _t;i[62]!==v?.id?(_t=Bt=>j.jsx(tu,{className:Be("p-4 cursor-pointer transition-all duration-200 hover:shadow-md hover:scale-[1.02]",v?.id===Bt.id&&"bg-blue-50 border-blue-500 shadow-md"),onClick:()=>z(Bt),children:j.jsxs("div",{className:"flex items-center gap-3",children:[j.jsx("div",{className:Be("size-12 rounded-full flex items-center justify-center font-semibold text-white text-lg transition-colors",v?.id===Bt.id?"bg-blue-600":"bg-gray-400"),children:Bt.name.charAt(0)}),j.jsxs("div",{className:"flex-1",children:[j.jsx("h4",{className:"font-semibold text-gray-900",children:Bt.name}),j.jsx("p",{className:"text-sm text-gray-600",children:Bt.email})]}),v?.id===Bt.id&&j.jsx("div",{className:"size-3 rounded-full bg-blue-600 animate-pulse"})]})},Bt.id),i[62]=v?.id,i[63]=_t):_t=i[63],$e=R.map(_t),i[59]=v?.id,i[60]=R,i[61]=$e}else $e=i[61];let Le;i[64]!==$e?(Le=j.jsx(eo,{value:"users",className:"flex-1 overflow-auto p-4 space-y-2",children:$e}),i[64]=$e,i[65]=Le):Le=i[65];let Xe;i[66]!==we||i[67]!==gl||i[68]!==Le?(Xe=j.jsx("div",{className:"h-full flex flex-col",children:j.jsxs(Fg,{defaultValue:"logs",className:"flex-1 flex flex-col",children:[B,we,gl,Le]})}),i[66]=we,i[67]=gl,i[68]=Le,i[69]=Xe):Xe=i[69];let Qe;i[70]!==ft||i[71]!==Xe?(Qe=j.jsx("div",{className:ft,children:Xe}),i[70]=ft,i[71]=Xe,i[72]=Qe):Qe=i[72];let da;i[73]===Symbol.for("react.memo_cache_sentinel")?(da=j.jsx("canvas",{ref:F,className:"hidden"}),i[73]=da):da=i[73];let ma;return i[74]!==H||i[75]!==Qe?(ma=j.jsx("div",{className:"min-h-screen bg-white",children:j.jsxs("div",{className:"flex h-screen",children:[H,Qe,da]})}),i[74]=H,i[75]=Qe,i[76]=ma):ma=i[76],ma}function t1(i){return new Date(i).toLocaleString("vi-VN",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})}function e1(i){return i.stop()}Xh.createRoot(document.getElementById("root")).render(j.jsx(U.StrictMode,{children:j.jsx(Pg,{})})); diff --git a/TrackingToolWeb/static/assets/index-CvR5W1c8.css b/TrackingToolWeb/static/assets/index-CvR5W1c8.css deleted file mode 100644 index 17ebfbb..0000000 --- a/TrackingToolWeb/static/assets/index-CvR5W1c8.css +++ /dev/null @@ -1 +0,0 @@ -@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-600:oklch(57.7% .245 27.325);--color-green-500:oklch(72.3% .219 149.579);--color-blue-50:oklch(97% .014 254.604);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--font-weight-semibold:600;--leading-relaxed:1.625;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}}@layer components;@layer utilities{.\@container\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.left-4{left:calc(var(--spacing)*4)}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.mr-0{margin-right:calc(var(--spacing)*0)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-96{margin-right:calc(var(--spacing)*96)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.size-2{width:calc(var(--spacing)*2);height:calc(var(--spacing)*2)}.size-3{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.size-3\.5{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.size-12{width:calc(var(--spacing)*12);height:calc(var(--spacing)*12)}.size-16{width:calc(var(--spacing)*16);height:calc(var(--spacing)*16)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-\[calc\(100\%-1px\)\]{height:calc(100% - 1px)}.h-full{height:100%}.h-screen{height:100vh}.min-h-screen{min-height:100vh}.w-96{width:calc(var(--spacing)*96)}.w-fit{width:fit-content}.w-full{width:100%}.flex-1{flex:1}.shrink-0{flex-shrink:0}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\[auto_auto\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-500{border-color:var(--color-blue-500)}.border-blue-500\/30{border-color:#3080ff4d}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/30{border-color:color-mix(in oklab,var(--color-blue-500)30%,transparent)}}.border-gray-200{border-color:var(--color-gray-200)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--background)}.bg-black{background-color:var(--color-black)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-700{background-color:var(--color-gray-700)}.bg-green-500{background-color:var(--color-green-500)}.bg-muted{background-color:var(--muted)}.bg-primary{background-color:var(--primary)}.bg-red-600{background-color:var(--color-red-600)}.bg-secondary{background-color:var(--secondary)}.bg-white{background-color:var(--color-white)}.bg-white\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.bg-white\/95{background-color:#fffffff2}@supports (color:color-mix(in lab,red,red)){.bg-white\/95{background-color:color-mix(in oklab,var(--color-white)95%,transparent)}}.object-cover{object-fit:cover}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-\[3px\]{padding:3px}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-6{padding-block:calc(var(--spacing)*6)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-card-foreground{color:var(--card-foreground)}.text-foreground{color:var(--foreground)}.text-gray-400{color:var(--color-gray-400)}.text-gray-600{color:var(--color-gray-600)}.text-gray-900{color:var(--color-gray-900)}.text-muted-foreground{color:var(--muted-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-white{color:var(--color-white)}.underline-offset-4{text-underline-offset:4px}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.slide-in-from-top{--tw-enter-translate-y:-100%}@media(hover:hover){.hover\:scale-\[1\.02\]:hover{scale:1.02}.hover\:bg-accent:hover{background-color:var(--accent)}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}.hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--secondary)80%,transparent)}}.hover\:bg-white:hover{background-color:var(--color-white)}.hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-ring:focus-visible{outline-color:var(--ring)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}.has-data-\[slot\=card-action\]\:grid-cols-\[1fr_auto\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:var(--background)}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\:border-input:is(.dark *){border-color:var(--input)}.dark\:bg-destructive\/60:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-destructive\/60:is(.dark *){background-color:color-mix(in oklab,var(--destructive)60%,transparent)}}.dark\:bg-input\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-input\/30:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.dark\:text-muted-foreground:is(.dark *){color:var(--muted-foreground)}@media(hover:hover){.dark\:hover\:bg-accent\/50:is(.dark *):hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-accent\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\:data-\[state\=active\]\:border-input:is(.dark *)[data-state=active]{border-color:var(--input)}.dark\:data-\[state\=active\]\:bg-input\/30:is(.dark *)[data-state=active]{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:data-\[state\=active\]\:bg-input\/30:is(.dark *)[data-state=active]{background-color:color-mix(in oklab,var(--input)30%,transparent)}}.dark\:data-\[state\=active\]\:text-foreground:is(.dark *)[data-state=active]{color:var(--foreground)}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\.border-b\]\:pb-6.border-b{padding-bottom:calc(var(--spacing)*6)}.\[\.border-t\]\:pt-6.border-t{padding-top:calc(var(--spacing)*6)}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:root{--radius:.625rem;--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92.2% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.6% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.6% 0 0)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}} diff --git a/TrackingToolWeb/static/index-a.html b/TrackingToolWeb/static/index-a.html deleted file mode 100644 index 6a2e7cf..0000000 --- a/TrackingToolWeb/static/index-a.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - client - - - - -
- - diff --git a/TrackingToolWeb/static/index.html b/TrackingToolWeb/static/index.html index a703a28..fb7153f 100644 --- a/TrackingToolWeb/static/index.html +++ b/TrackingToolWeb/static/index.html @@ -1,432 +1,22 @@ - - - Face Check-In / Register - - - -
-
-
-

📸 Face Camera

-
- - Hướng dẫn nhận diện khuôn mặt -
-
- -
- -
-
- -
- -
- - - -
-
- Nhấn phím Space để điểm danh nhanh -
-
-
- -
-
-

📋 Lịch sử điểm danh

- -
- - - - - - - - - - - -
Tên học sinhThời gianCamera ID
-
-
-
-
- - - - - + + + + + client + + + + +
+ diff --git a/TrackingToolWeb/static/vite.svg b/TrackingToolWeb/static/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/TrackingToolWeb/static/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/TrackingToolWeb/uploads/checkin.jpg b/TrackingToolWeb/uploads/checkin.jpg index 94ebe01edf15be3806b2a01e5629c5c0bef8a614..6990c88b42b729a963c3186f7e9f586e8c8ce01a 100644 GIT binary patch literal 224233 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