From 9e71849c5789412003b31430cd9ad7c8f123e40d Mon Sep 17 00:00:00 2001 From: 314dro Date: Thu, 13 Feb 2025 21:45:36 -0300 Subject: [PATCH 1/4] =?UTF-8?q?test(teste=20de=20integra=C3=A7=C3=A3o):=20?= =?UTF-8?q?=20Come=C3=A7ando=20os=20testes=20de=20integra=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Davicamilo23 Co-authored-by: Potatoyz908 Co-authored-by: TiagoBalieiro Co-authored-by: leoramiroo --- API/AcheiUnB/tests/test_integration.py | 73 ++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/API/AcheiUnB/tests/test_integration.py b/API/AcheiUnB/tests/test_integration.py index e69de29b..384ca115 100644 --- a/API/AcheiUnB/tests/test_integration.py +++ b/API/AcheiUnB/tests/test_integration.py @@ -0,0 +1,73 @@ +import pytest +from unittest.mock import patch +import requests +from django.contrib.auth import get_user_model +from rest_framework.exceptions import AuthenticationFailed +from rest_framework_simplejwt.tokens import AccessToken + +User = get_user_model() + +def get_jwt_token(user): + token = str(AccessToken.for_user(user)) + return token + +@pytest.fixture +def mock_authentication(): + user = User.objects.create_user(username="testuser", email="test@example.com", password="testpass") + token = get_jwt_token(user) + + with patch("users.authentication.CookieJWTAuthentication.authenticate") as mock_auth: + mock_auth.return_value = (user, token) + yield mock_auth + +@pytest.mark.django_db +def test_create_item(mock_authentication): + item_data = { + "barcode": "01010102", + "name": "testeEditar", + "user_id": 1, + "description": "Descrição do item aqui", + "category": 1, + "category_name": "Calçado", + "location": 1, + "location_name": "Biblioteca", + "color": 1, + "color_name": "Rosa", + "brand": 1, + "brand_name": "Stanley", + "status": "found", + "found_lost_date": "2025-01-19T15:49:28.598322-03:00", + } + + response = requests.post("http://localhost:8000/api/items/", json=item_data, cookies={"access_token": mock_authentication.return_value[1]}) + + assert response.status_code == 201 + assert "id" in response.json() + +@pytest.mark.django_db +def test_list_items(mock_authentication): + response = requests.get("http://localhost:8000/api/items/", cookies={"access_token": mock_authentication.return_value[1]}) + + assert response.status_code == 200 + assert "results" in response.json() + +@pytest.mark.django_db +def test_filter_items(mock_authentication): + params = { + "location_name": "Biblioteca", + "category_name": "Calçado", + } + + response = requests.get("http://localhost:8000/api/items/", cookies={"access_token": mock_authentication.return_value[1]}, params=params) + + assert response.status_code == 200 + assert len(response.json()['results']) > 0 + +@pytest.mark.django_db +def test_search_items(mock_authentication): + params = {"search": "teste"} + + response = requests.get("http://localhost:8000/api/items/", cookies={"access_token": mock_authentication.return_value[1]}, params=params) + + assert response.status_code == 200 + assert len(response.json()['results']) > 0 \ No newline at end of file From e7adf8bee7c2e6ca43892d8707177904dc6451a4 Mon Sep 17 00:00:00 2001 From: 314dro Date: Thu, 13 Feb 2025 21:45:36 -0300 Subject: [PATCH 2/4] =?UTF-8?q?test(teste=20de=20integra=C3=A7=C3=A3o):=20?= =?UTF-8?q?=20Come=C3=A7ando=20os=20testes=20de=20integra=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: leoramiroo Co-authored-by: Davicamilo23 Co-authored-by: TiagoBalieiro Co-authored-by: Davicamilo23 Co-authored-by: Potatoyz908 --- API/AcheiUnB/tests/test_integration.py | 73 ++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/API/AcheiUnB/tests/test_integration.py b/API/AcheiUnB/tests/test_integration.py index e69de29b..384ca115 100644 --- a/API/AcheiUnB/tests/test_integration.py +++ b/API/AcheiUnB/tests/test_integration.py @@ -0,0 +1,73 @@ +import pytest +from unittest.mock import patch +import requests +from django.contrib.auth import get_user_model +from rest_framework.exceptions import AuthenticationFailed +from rest_framework_simplejwt.tokens import AccessToken + +User = get_user_model() + +def get_jwt_token(user): + token = str(AccessToken.for_user(user)) + return token + +@pytest.fixture +def mock_authentication(): + user = User.objects.create_user(username="testuser", email="test@example.com", password="testpass") + token = get_jwt_token(user) + + with patch("users.authentication.CookieJWTAuthentication.authenticate") as mock_auth: + mock_auth.return_value = (user, token) + yield mock_auth + +@pytest.mark.django_db +def test_create_item(mock_authentication): + item_data = { + "barcode": "01010102", + "name": "testeEditar", + "user_id": 1, + "description": "Descrição do item aqui", + "category": 1, + "category_name": "Calçado", + "location": 1, + "location_name": "Biblioteca", + "color": 1, + "color_name": "Rosa", + "brand": 1, + "brand_name": "Stanley", + "status": "found", + "found_lost_date": "2025-01-19T15:49:28.598322-03:00", + } + + response = requests.post("http://localhost:8000/api/items/", json=item_data, cookies={"access_token": mock_authentication.return_value[1]}) + + assert response.status_code == 201 + assert "id" in response.json() + +@pytest.mark.django_db +def test_list_items(mock_authentication): + response = requests.get("http://localhost:8000/api/items/", cookies={"access_token": mock_authentication.return_value[1]}) + + assert response.status_code == 200 + assert "results" in response.json() + +@pytest.mark.django_db +def test_filter_items(mock_authentication): + params = { + "location_name": "Biblioteca", + "category_name": "Calçado", + } + + response = requests.get("http://localhost:8000/api/items/", cookies={"access_token": mock_authentication.return_value[1]}, params=params) + + assert response.status_code == 200 + assert len(response.json()['results']) > 0 + +@pytest.mark.django_db +def test_search_items(mock_authentication): + params = {"search": "teste"} + + response = requests.get("http://localhost:8000/api/items/", cookies={"access_token": mock_authentication.return_value[1]}, params=params) + + assert response.status_code == 200 + assert len(response.json()['results']) > 0 \ No newline at end of file From cf0aee606c954ab188b47b544b3817cd780aa538 Mon Sep 17 00:00:00 2001 From: davi Date: Fri, 14 Feb 2025 01:34:32 -0300 Subject: [PATCH 3/4] =?UTF-8?q?Fix(testes):=20Aumentando=20a=20cobertura?= =?UTF-8?q?=20dos=20testes=20de=20integra=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- API/.coverage | Bin 53248 -> 53248 bytes API/AcheiUnB/static/dist/.vite/manifest.json | 11 +- .../dist/assets/default-avatar-BpcudYYH.png | Bin 0 -> 29266 bytes .../static/dist/assets/index-C9VhPuY6.css | 1 - .../static/dist/assets/index-Dslx85AU.css | 1 - .../static/dist/assets/index-k303jj23.css | 1 + API/AcheiUnB/static/dist/index.html | 4 +- API/AcheiUnB/static/dist/js/index-BB4p2H0C.js | 26 ---- API/AcheiUnB/static/dist/js/index-BnoWY_TY.js | 26 ---- API/AcheiUnB/static/dist/js/index-DdAcjziC.js | 26 ++++ API/AcheiUnB/tests/test_integration.py | 135 +++++++++++++++--- API/celerybeat-schedule | Bin 16384 -> 16384 bytes 12 files changed, 149 insertions(+), 82 deletions(-) create mode 100644 API/AcheiUnB/static/dist/assets/default-avatar-BpcudYYH.png delete mode 100644 API/AcheiUnB/static/dist/assets/index-C9VhPuY6.css delete mode 100644 API/AcheiUnB/static/dist/assets/index-Dslx85AU.css create mode 100644 API/AcheiUnB/static/dist/assets/index-k303jj23.css delete mode 100644 API/AcheiUnB/static/dist/js/index-BB4p2H0C.js delete mode 100644 API/AcheiUnB/static/dist/js/index-BnoWY_TY.js create mode 100644 API/AcheiUnB/static/dist/js/index-DdAcjziC.js diff --git a/API/.coverage b/API/.coverage index f9f8a7e98ac1262f4377302e7a82a7f83e89c58f..0e882919dafdf0848b1635f488c1a4a44e8451d1 100644 GIT binary patch literal 53248 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:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-r-4{border-right-width:4px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity, 1))}.border-laranja{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.bg-azul{--tw-bg-opacity: 1;background-color:rgb(19 62 120 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-cinza1{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity, 1))}.bg-cinza2{--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity, 1))}.bg-laranja{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.bg-verde{--tw-bg-opacity: 1;background-color:rgb(0 137 64 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/30{background-color:#ffffff4d}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-cover{background-size:cover}.bg-center{background-position:center}.bg-no-repeat{background-repeat:no-repeat}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\[120px\]{padding-top:120px;padding-bottom:120px}.pb-10{padding-bottom:2.5rem}.pb-24{padding-bottom:6rem}.pb-8{padding-bottom:2rem}.pb-\[140px\]{padding-bottom:140px}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-10{padding-top:2.5rem}.pt-24{padding-top:6rem}.pt-8{padding-top:2rem}.pt-\[120px\]{padding-top:120px}.pt-\[30px\]{padding-top:30px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-tight{line-height:1.25}.text-azul{--tw-text-opacity: 1;color:rgb(19 62 120 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-cinza3{--tw-text-opacity: 1;color:rgb(136 153 168 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-laranja{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.no-underline{text-decoration-line:none}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.opacity-10{opacity:.1}.opacity-50{opacity:.5}.shadow-complete{--tw-shadow: 0 0 3px 1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 0 3px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-gray-500\/10{--tw-ring-color: rgb(107 114 128 / .1)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-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,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-laranja:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-laranja:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\:border-laranja:focus{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.active\:border-laranja:active{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.active\:bg-laranja:active{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.group:hover .group-hover\:w-full{width:100%}.group:hover .group-hover\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width: 640px){.sm\:w-\[190px\]{width:190px}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-\[repeat\(auto-fit\,_minmax\(200px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.sm\:justify-center{justify-content:center}.sm\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){.md\:mb-52{margin-bottom:13rem}.md\:mr-8{margin-right:2rem}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:grid{display:grid}.md\:hidden{display:none}.md\:w-1\/2{width:50%}.md\:w-\[70\%\]{width:70%}.md\:w-auto{width:auto}.md\:max-w-2xl{max-width:42rem}.md\:max-w-4xl{max-width:56rem}.md\:max-w-none{max-width:none}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:justify-center{justify-content:center}.md\:gap-8{gap:2rem}.md\:p-6{padding:1.5rem}.md\:pr-4{padding-right:1rem}.md\:text-center{text-align:center}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:mt-6{margin-top:1.5rem}.lg\:h-24{height:6rem}.lg\:h-32{height:8rem}.lg\:w-32{width:8rem}.lg\:w-\[40\%\]{width:40%}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.lg\:px-3{padding-left:.75rem;padding-right:.75rem}.lg\:pt-16{padding-top:4rem}.lg\:pt-\[50px\]{padding-top:50px}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:text-lg{font-size:1.125rem;line-height:1.75rem}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem}}.fade-out[data-v-cdb7a9e0]{animation:fadeOut-cdb7a9e0 1s forwards}@keyframes fadeOut-cdb7a9e0{0%{opacity:1}to{opacity:0}}.fade-in[data-v-cdb7a9e0]{animation:fadeIn-cdb7a9e0 1s forwards}@keyframes fadeIn-cdb7a9e0{0%{opacity:0}to{opacity:1}} diff --git a/API/AcheiUnB/static/dist/assets/index-Dslx85AU.css b/API/AcheiUnB/static/dist/assets/index-Dslx85AU.css deleted file mode 100644 index 5a40d9a4..00000000 --- a/API/AcheiUnB/static/dist/assets/index-Dslx85AU.css +++ /dev/null @@ -1 +0,0 @@ -body{font-family:Inter,sans-serif}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.bottom-28{bottom:7rem}.bottom-32{bottom:8rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-4{top:1rem}.top-6{top:1.5rem}.z-0{z-index:0}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[-1\]{z-index:-1}.z-\[1\]{z-index:1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-span-4{grid-column:span 4 / span 4}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-7{margin-bottom:1.75rem}.ml-24{margin-left:6rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-8{margin-left:2rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-8{margin-right:2rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-52{margin-top:13rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-6{width:1.5rem;height:1.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-\[100px\]{height:100px}.h-\[120px\]{height:120px}.h-\[15px\]{height:15px}.h-\[230px\]{height:230px}.h-\[2px\]{height:2px}.h-\[30px\]{height:30px}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-screen{min-height:100vh}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-12{width:3rem}.w-2{width:.5rem}.w-24{width:6rem}.w-5{width:1.25rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-\[100px\]{width:100px}.w-\[15px\]{width:15px}.w-\[170px\]{width:170px}.w-\[30px\]{width:30px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-72{max-width:18rem}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness: mandatory}.snap-start{scroll-snap-align:start}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[repeat\(auto-fit\,_minmax\(180px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-x-9{-moz-column-gap:2.25rem;column-gap:2.25rem}.gap-y-3{row-gap:.75rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-r-4{border-right-width:4px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity, 1))}.border-laranja{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.bg-azul{--tw-bg-opacity: 1;background-color:rgb(19 62 120 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-cinza1{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity, 1))}.bg-cinza2{--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity, 1))}.bg-laranja{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-verde{--tw-bg-opacity: 1;background-color:rgb(0 137 64 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/30{background-color:#ffffff4d}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-cover{background-size:cover}.bg-center{background-position:center}.bg-no-repeat{background-repeat:no-repeat}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\[120px\]{padding-top:120px;padding-bottom:120px}.pb-10{padding-bottom:2.5rem}.pb-24{padding-bottom:6rem}.pb-8{padding-bottom:2rem}.pb-\[140px\]{padding-bottom:140px}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-10{padding-top:2.5rem}.pt-24{padding-top:6rem}.pt-8{padding-top:2rem}.pt-\[120px\]{padding-top:120px}.pt-\[30px\]{padding-top:30px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-tight{line-height:1.25}.text-azul{--tw-text-opacity: 1;color:rgb(19 62 120 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-cinza3{--tw-text-opacity: 1;color:rgb(136 153 168 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-laranja{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.no-underline{text-decoration-line:none}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.opacity-10{opacity:.1}.opacity-50{opacity:.5}.shadow-complete{--tw-shadow: 0 0 3px 1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 0 3px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-gray-500\/10{--tw-ring-color: rgb(107 114 128 / .1)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-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,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-laranja:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-laranja:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\:border-laranja:focus{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.active\:border-laranja:active{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.active\:bg-laranja:active{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.group:hover .group-hover\:w-full{width:100%}.group:hover .group-hover\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width: 640px){.sm\:w-\[190px\]{width:190px}.sm\:w-auto{width:auto}.sm\:max-w-md{max-width:28rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-\[repeat\(auto-fit\,_minmax\(200px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-center{justify-content:center}.sm\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){.md\:mb-52{margin-bottom:13rem}.md\:mr-8{margin-right:2rem}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:grid{display:grid}.md\:hidden{display:none}.md\:w-1\/2{width:50%}.md\:w-\[70\%\]{width:70%}.md\:w-auto{width:auto}.md\:max-w-2xl{max-width:42rem}.md\:max-w-4xl{max-width:56rem}.md\:max-w-none{max-width:none}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:justify-center{justify-content:center}.md\:gap-8{gap:2rem}.md\:p-6{padding:1.5rem}.md\:pr-4{padding-right:1rem}.md\:text-center{text-align:center}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:mt-6{margin-top:1.5rem}.lg\:h-24{height:6rem}.lg\:h-32{height:8rem}.lg\:w-32{width:8rem}.lg\:w-\[40\%\]{width:40%}.lg\:max-w-lg{max-width:32rem}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.lg\:px-3{padding-left:.75rem;padding-right:.75rem}.lg\:pt-16{padding-top:4rem}.lg\:pt-\[50px\]{padding-top:50px}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:text-lg{font-size:1.125rem;line-height:1.75rem}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem}}.fade-out[data-v-cdb7a9e0]{animation:fadeOut-cdb7a9e0 1s forwards}@keyframes fadeOut-cdb7a9e0{0%{opacity:1}to{opacity:0}}.fade-in[data-v-cdb7a9e0]{animation:fadeIn-cdb7a9e0 1s forwards}@keyframes fadeIn-cdb7a9e0{0%{opacity:0}to{opacity:1}} diff --git a/API/AcheiUnB/static/dist/assets/index-k303jj23.css b/API/AcheiUnB/static/dist/assets/index-k303jj23.css new file mode 100644 index 00000000..a2ce6d23 --- /dev/null +++ b/API/AcheiUnB/static/dist/assets/index-k303jj23.css @@ -0,0 +1 @@ +body{font-family:Inter,sans-serif}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.bottom-28{bottom:7rem}.bottom-32{bottom:8rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-4{top:1rem}.top-6{top:1.5rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[-1\]{z-index:-1}.z-\[1\]{z-index:1}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-span-4{grid-column:span 4 / span 4}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-7{margin-bottom:1.75rem}.ml-2{margin-left:.5rem}.ml-24{margin-left:6rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-8{margin-left:2rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-8{margin-right:2rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-52{margin-top:13rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-6{width:1.5rem;height:1.5rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-96{height:24rem}.h-\[100px\]{height:100px}.h-\[120px\]{height:120px}.h-\[15px\]{height:15px}.h-\[230px\]{height:230px}.h-\[2px\]{height:2px}.h-\[30px\]{height:30px}.h-\[60px\]{height:60px}.h-\[90px\]{height:90px}.h-full{height:100%}.h-screen{height:100vh}.max-h-full{max-height:100%}.min-h-screen{min-height:100vh}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-\[100px\]{width:100px}.w-\[15px\]{width:15px}.w-\[170px\]{width:170px}.w-\[30px\]{width:30px}.w-\[60px\]{width:60px}.w-\[90px\]{width:90px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-72{max-width:18rem}.max-w-\[120px\]{max-width:120px}.max-w-\[70\%\]{max-width:70%}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness: mandatory}.snap-start{scroll-snap-align:start}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[repeat\(auto-fit\,_minmax\(180px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-x-9{-moz-column-gap:2.25rem;column-gap:2.25rem}.gap-y-3{row-gap:.75rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-r-4{border-right-width:4px}.border-t{border-top-width:1px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity, 1))}.border-laranja{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.bg-azul{--tw-bg-opacity: 1;background-color:rgb(19 62 120 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-cinza1{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity, 1))}.bg-cinza2{--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.bg-cinza3{--tw-bg-opacity: 1;background-color:rgb(136 153 168 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity, 1))}.bg-laranja{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-verde{--tw-bg-opacity: 1;background-color:rgb(0 137 64 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/30{background-color:#ffffff4d}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-cover{background-size:cover}.bg-center{background-position:center}.bg-no-repeat{background-repeat:no-repeat}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-\[120px\]{padding-top:120px;padding-bottom:120px}.pb-10{padding-bottom:2.5rem}.pb-24{padding-bottom:6rem}.pb-8{padding-bottom:2rem}.pb-\[140px\]{padding-bottom:140px}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-10{padding-top:2.5rem}.pt-24{padding-top:6rem}.pt-32{padding-top:8rem}.pt-8{padding-top:2rem}.pt-\[120px\]{padding-top:120px}.pt-\[30px\]{padding-top:30px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-tight{line-height:1.25}.text-azul{--tw-text-opacity: 1;color:rgb(19 62 120 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-cinza3{--tw-text-opacity: 1;color:rgb(136 153 168 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-laranja{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.no-underline{text-decoration-line:none}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.opacity-10{opacity:.1}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow-complete{--tw-shadow: 0 0 3px 1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 0 3px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-gray-500\/10{--tw-ring-color: rgb(107 114 128 / .1)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-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,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-cinza1:hover{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-laranja:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-laranja:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\:border-laranja:focus{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.active\:border-laranja:active{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.active\:bg-laranja:active{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:w-full{width:100%}.group:hover .group-hover\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width: 640px){.sm\:h-\[80px\]{height:80px}.sm\:w-\[190px\]{width:190px}.sm\:w-\[80px\]{width:80px}.sm\:w-auto{width:auto}.sm\:max-w-md{max-width:28rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-\[repeat\(auto-fit\,_minmax\(200px\,_1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-center{justify-content:center}.sm\:px-0{padding-left:0;padding-right:0}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:left-1\/2{left:50%}.md\:mb-52{margin-bottom:13rem}.md\:mr-8{margin-right:2rem}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:grid{display:grid}.md\:hidden{display:none}.md\:h-12{height:3rem}.md\:h-20{height:5rem}.md\:h-8{height:2rem}.md\:w-1\/2{width:50%}.md\:w-12{width:3rem}.md\:w-20{width:5rem}.md\:w-64{width:16rem}.md\:w-8{width:2rem}.md\:w-\[70\%\]{width:70%}.md\:w-auto{width:auto}.md\:max-w-2xl{max-width:42rem}.md\:max-w-4xl{max-width:56rem}.md\:max-w-\[200px\]{max-width:200px}.md\:max-w-none{max-width:none}.md\:-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\:transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:justify-center{justify-content:center}.md\:gap-8{gap:2rem}.md\:p-6{padding:1.5rem}.md\:pr-4{padding-right:1rem}.md\:text-center{text-align:center}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:mt-6{margin-top:1.5rem}.lg\:h-24{height:6rem}.lg\:h-32{height:8rem}.lg\:w-32{width:8rem}.lg\:w-80{width:20rem}.lg\:w-\[40\%\]{width:40%}.lg\:max-w-lg{max-width:32rem}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.lg\:px-3{padding-left:.75rem;padding-right:.75rem}.lg\:pt-16{padding-top:4rem}.lg\:pt-\[50px\]{padding-top:50px}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:text-lg{font-size:1.125rem;line-height:1.75rem}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem}}.fade-out[data-v-cdb7a9e0]{animation:fadeOut-cdb7a9e0 1s forwards}@keyframes fadeOut-cdb7a9e0{0%{opacity:1}to{opacity:0}}.fade-in[data-v-cdb7a9e0]{animation:fadeIn-cdb7a9e0 1s forwards}@keyframes fadeIn-cdb7a9e0{0%{opacity:0}to{opacity:1}}@keyframes pulse-73de17b8{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.animate-pulse[data-v-73de17b8]{animation:pulse-73de17b8 1.5s infinite} diff --git a/API/AcheiUnB/static/dist/index.html b/API/AcheiUnB/static/dist/index.html index cccd7517..4b850a06 100644 --- a/API/AcheiUnB/static/dist/index.html +++ b/API/AcheiUnB/static/dist/index.html @@ -5,8 +5,8 @@ AcheiUnB - - + +
diff --git a/API/AcheiUnB/static/dist/js/index-BB4p2H0C.js b/API/AcheiUnB/static/dist/js/index-BB4p2H0C.js deleted file mode 100644 index fd2c8a3d..00000000 --- a/API/AcheiUnB/static/dist/js/index-BB4p2H0C.js +++ /dev/null @@ -1,26 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** -* @vue/shared v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function wr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ce={},tn=[],ft=()=>{},sa=()=>!1,ms=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Er=e=>e.startsWith("onUpdate:"),Ce=Object.assign,Sr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ra=Object.prototype.hasOwnProperty,se=(e,t)=>ra.call(e,t),H=Array.isArray,nn=e=>Dn(e)==="[object Map]",gs=e=>Dn(e)==="[object Set]",Jr=e=>Dn(e)==="[object Date]",K=e=>typeof e=="function",ve=e=>typeof e=="string",dt=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",ai=e=>(de(e)||K(e))&&K(e.then)&&K(e.catch),ci=Object.prototype.toString,Dn=e=>ci.call(e),oa=e=>Dn(e).slice(8,-1),ui=e=>Dn(e)==="[object Object]",Cr=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vn=wr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ia=/-(\w)/g,Qe=bs(e=>e.replace(ia,(t,n)=>n?n.toUpperCase():"")),la=/\B([A-Z])/g,Qt=bs(e=>e.replace(la,"-$1").toLowerCase()),xs=bs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fs=bs(e=>e?`on${xs(e)}`:""),It=(e,t)=>!Object.is(e,t),Jn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ss=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Zr;const ys=()=>Zr||(Zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $n(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(ca);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Z(e){let t="";if(ve(e))t=e;else if(H(e))for(let n=0;nvs(n,t))}const pi=e=>!!(e&&e.__v_isRef===!0),ee=e=>ve(e)?e:e==null?"":H(e)||de(e)&&(e.toString===ci||!K(e.toString))?pi(e)?ee(e.value):JSON.stringify(e,hi,2):String(e),hi=(e,t)=>pi(t)?hi(e,t.value):nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Bs(s,o)+" =>"]=r,n),{})}:gs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Bs(n))}:dt(t)?Bs(t):de(t)&&!H(t)&&!ui(t)?String(t):t,Bs=(e,t="")=>{var n;return dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let ze;class ga{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ze,!t&&ze&&(this.index=(ze.scopes||(ze.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(wn){let t=wn;for(wn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;_n;){let t=_n;for(_n=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function xi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function yi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),kr(s),xa(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function nr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(vi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function vi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===kn))return;e.globalVersion=kn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!nr(e)){e.flags&=-3;return}const n=fe,s=Ye;fe=e,Ye=!0;try{xi(e);const r=e.fn(e._value);(t.version===0||It(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{fe=n,Ye=s,yi(e),e.flags&=-3}}function kr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)kr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function xa(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ye=!0;const _i=[];function Mt(){_i.push(Ye),Ye=!1}function Lt(){const e=_i.pop();Ye=e===void 0?!0:e}function Xr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=fe;fe=void 0;try{t()}finally{fe=n}}}let kn=0;class ya{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Tr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!fe||!Ye||fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==fe)n=this.activeLink=new ya(fe,this),fe.deps?(n.prevDep=fe.depsTail,fe.depsTail.nextDep=n,fe.depsTail=n):fe.deps=fe.depsTail=n,wi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=fe.depsTail,n.nextDep=void 0,fe.depsTail.nextDep=n,fe.depsTail=n,fe.deps===n&&(fe.deps=s)}return n}trigger(t){this.version++,kn++,this.notify(t)}notify(t){Ar();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Rr()}}}function wi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)wi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const sr=new WeakMap,zt=Symbol(""),rr=Symbol(""),Tn=Symbol("");function ke(e,t,n){if(Ye&&fe){let s=sr.get(e);s||sr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Tr),r.map=s,r.key=n),r.track()}}function xt(e,t,n,s,r,o){const i=sr.get(e);if(!i){kn++;return}const l=c=>{c&&c.trigger()};if(Ar(),t==="clear")i.forEach(l);else{const c=H(e),a=c&&Cr(n);if(c&&n==="length"){const u=Number(s);i.forEach((d,g)=>{(g==="length"||g===Tn||!dt(g)&&g>=u)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),a&&l(i.get(Tn)),t){case"add":c?a&&l(i.get("length")):(l(i.get(zt)),nn(e)&&l(i.get(rr)));break;case"delete":c||(l(i.get(zt)),nn(e)&&l(i.get(rr)));break;case"set":nn(e)&&l(i.get(zt));break}}Rr()}function Xt(e){const t=ne(e);return t===e?t:(ke(t,"iterate",Tn),We(e)?t:t.map(Te))}function _s(e){return ke(e=ne(e),"iterate",Tn),e}const va={__proto__:null,[Symbol.iterator](){return Us(this,Symbol.iterator,Te)},concat(...e){return Xt(this).concat(...e.map(t=>H(t)?Xt(t):t))},entries(){return Us(this,"entries",e=>(e[1]=Te(e[1]),e))},every(e,t){return mt(this,"every",e,t,void 0,arguments)},filter(e,t){return mt(this,"filter",e,t,n=>n.map(Te),arguments)},find(e,t){return mt(this,"find",e,t,Te,arguments)},findIndex(e,t){return mt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return mt(this,"findLast",e,t,Te,arguments)},findLastIndex(e,t){return mt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return mt(this,"forEach",e,t,void 0,arguments)},includes(...e){return zs(this,"includes",e)},indexOf(...e){return zs(this,"indexOf",e)},join(e){return Xt(this).join(e)},lastIndexOf(...e){return zs(this,"lastIndexOf",e)},map(e,t){return mt(this,"map",e,t,void 0,arguments)},pop(){return mn(this,"pop")},push(...e){return mn(this,"push",e)},reduce(e,...t){return Yr(this,"reduce",e,t)},reduceRight(e,...t){return Yr(this,"reduceRight",e,t)},shift(){return mn(this,"shift")},some(e,t){return mt(this,"some",e,t,void 0,arguments)},splice(...e){return mn(this,"splice",e)},toReversed(){return Xt(this).toReversed()},toSorted(e){return Xt(this).toSorted(e)},toSpliced(...e){return Xt(this).toSpliced(...e)},unshift(...e){return mn(this,"unshift",e)},values(){return Us(this,"values",Te)}};function Us(e,t,n){const s=_s(e),r=s[t]();return s!==e&&!We(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const _a=Array.prototype;function mt(e,t,n,s,r,o){const i=_s(e),l=i!==e&&!We(e),c=i[t];if(c!==_a[t]){const d=c.apply(e,o);return l?Te(d):d}let a=n;i!==e&&(l?a=function(d,g){return n.call(this,Te(d),g,e)}:n.length>2&&(a=function(d,g){return n.call(this,d,g,e)}));const u=c.call(i,a,s);return l&&r?r(u):u}function Yr(e,t,n,s){const r=_s(e);let o=n;return r!==e&&(We(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,Te(l),c,e)}),r[t](o,...s)}function zs(e,t,n){const s=ne(e);ke(s,"iterate",Tn);const r=s[t](...n);return(r===-1||r===!1)&&Ir(n[0])?(n[0]=ne(n[0]),s[t](...n)):r}function mn(e,t,n=[]){Mt(),Ar();const s=ne(e)[t].apply(e,n);return Rr(),Lt(),s}const wa=wr("__proto__,__v_isRef,__isVue"),Ei=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dt));function Ea(e){dt(e)||(e=String(e));const t=ne(this);return ke(t,"has",e),t.hasOwnProperty(e)}class Si{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Ma:ki:o?Ri:Ai).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=H(t);if(!r){let c;if(i&&(c=va[n]))return c;if(n==="hasOwnProperty")return Ea}const l=Reflect.get(t,n,Ie(t)?t:s);return(dt(n)?Ei.has(n):wa(n))||(r||ke(t,"get",n),o)?l:Ie(l)?i&&Cr(n)?l:l.value:de(l)?r?Oi(l):Fn(l):l}}class Ci extends Si{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Vt(o);if(!We(s)&&!Vt(s)&&(o=ne(o),s=ne(s)),!H(t)&&Ie(o)&&!Ie(s))return c?!1:(o.value=s,!0)}const i=H(t)&&Cr(n)?Number(n)e,Wn=e=>Reflect.getPrototypeOf(e);function ka(e,t,n){return function(...s){const r=this.__v_raw,o=ne(r),i=nn(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),u=n?or:t?ir:Te;return!t&&ke(o,"iterate",c?rr:zt),{next(){const{value:d,done:g}=a.next();return g?{value:d,done:g}:{value:l?[u(d[0]),u(d[1])]:u(d),done:g}},[Symbol.iterator](){return this}}}}function Qn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ta(e,t){const n={get(r){const o=this.__v_raw,i=ne(o),l=ne(r);e||(It(r,l)&&ke(i,"get",r),ke(i,"get",l));const{has:c}=Wn(i),a=t?or:e?ir:Te;if(c.call(i,r))return a(o.get(r));if(c.call(i,l))return a(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&ke(ne(r),"iterate",zt),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=ne(o),l=ne(r);return e||(It(r,l)&&ke(i,"has",r),ke(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=ne(l),a=t?or:e?ir:Te;return!e&&ke(c,"iterate",zt),l.forEach((u,d)=>r.call(o,a(u),a(d),i))}};return Ce(n,e?{add:Qn("add"),set:Qn("set"),delete:Qn("delete"),clear:Qn("clear")}:{add(r){!t&&!We(r)&&!Vt(r)&&(r=ne(r));const o=ne(this);return Wn(o).has.call(o,r)||(o.add(r),xt(o,"add",r,r)),this},set(r,o){!t&&!We(o)&&!Vt(o)&&(o=ne(o));const i=ne(this),{has:l,get:c}=Wn(i);let a=l.call(i,r);a||(r=ne(r),a=l.call(i,r));const u=c.call(i,r);return i.set(r,o),a?It(o,u)&&xt(i,"set",r,o):xt(i,"add",r,o),this},delete(r){const o=ne(this),{has:i,get:l}=Wn(o);let c=i.call(o,r);c||(r=ne(r),c=i.call(o,r)),l&&l.call(o,r);const a=o.delete(r);return c&&xt(o,"delete",r,void 0),a},clear(){const r=ne(this),o=r.size!==0,i=r.clear();return o&&xt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=ka(r,e,t)}),n}function Or(e,t){const n=Ta(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(se(n,r)&&r in s?n:s,r,o)}const Oa={get:Or(!1,!1)},Pa={get:Or(!1,!0)},Ia={get:Or(!0,!1)};const Ai=new WeakMap,Ri=new WeakMap,ki=new WeakMap,Ma=new WeakMap;function La(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ja(e){return e.__v_skip||!Object.isExtensible(e)?0:La(oa(e))}function Fn(e){return Vt(e)?e:Pr(e,!1,Ca,Oa,Ai)}function Ti(e){return Pr(e,!1,Ra,Pa,Ri)}function Oi(e){return Pr(e,!0,Aa,Ia,ki)}function Pr(e,t,n,s,r){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=ja(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function sn(e){return Vt(e)?sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function We(e){return!!(e&&e.__v_isShallow)}function Ir(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function Da(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&fi(e,"__v_skip",!0),e}const Te=e=>de(e)?Fn(e):e,ir=e=>de(e)?Oi(e):e;function Ie(e){return e?e.__v_isRef===!0:!1}function X(e){return Pi(e,!1)}function $a(e){return Pi(e,!0)}function Pi(e,t){return Ie(e)?e:new Fa(e,t)}class Fa{constructor(t,n){this.dep=new Tr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:Te(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||We(t)||Vt(t);t=s?t:ne(t),It(t,n)&&(this._rawValue=t,this._value=s?t:Te(t),this.dep.trigger())}}function Me(e){return Ie(e)?e.value:e}const Ba={get:(e,t,n)=>t==="__v_raw"?e:Me(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ie(r)&&!Ie(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ii(e){return sn(e)?e:new Proxy(e,Ba)}class Na{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Tr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&fe!==this)return bi(this,!0),!0}get value(){const t=this.dep.track();return vi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ua(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new Na(s,r,n)}const Gn={},rs=new WeakMap;let Bt;function za(e,t=!1,n=Bt){if(n){let s=rs.get(n);s||rs.set(n,s=[]),s.push(e)}}function Ha(e,t,n=ce){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,a=L=>r?L:We(L)||r===!1||r===0?yt(L,1):yt(L);let u,d,g,m,y=!1,E=!1;if(Ie(e)?(d=()=>e.value,y=We(e)):sn(e)?(d=()=>a(e),y=!0):H(e)?(E=!0,y=e.some(L=>sn(L)||We(L)),d=()=>e.map(L=>{if(Ie(L))return L.value;if(sn(L))return a(L);if(K(L))return c?c(L,2):L()})):K(e)?t?d=c?()=>c(e,2):e:d=()=>{if(g){Mt();try{g()}finally{Lt()}}const L=Bt;Bt=u;try{return c?c(e,3,[m]):e(m)}finally{Bt=L}}:d=ft,t&&r){const L=d,V=r===!0?1/0:r;d=()=>yt(L(),V)}const w=ba(),I=()=>{u.stop(),w&&w.active&&Sr(w.effects,u)};if(o&&t){const L=t;t=(...V)=>{L(...V),I()}}let T=E?new Array(e.length).fill(Gn):Gn;const O=L=>{if(!(!(u.flags&1)||!u.dirty&&!L))if(t){const V=u.run();if(r||y||(E?V.some((Y,G)=>It(Y,T[G])):It(V,T))){g&&g();const Y=Bt;Bt=u;try{const G=[V,T===Gn?void 0:E&&T[0]===Gn?[]:T,m];c?c(t,3,G):t(...G),T=V}finally{Bt=Y}}}else u.run()};return l&&l(O),u=new mi(d),u.scheduler=i?()=>i(O,!1):O,m=L=>za(L,!1,u),g=u.onStop=()=>{const L=rs.get(u);if(L){if(c)c(L,4);else for(const V of L)V();rs.delete(u)}},t?s?O(!0):T=u.run():i?i(O.bind(null,!0),!0):u.run(),I.pause=u.pause.bind(u),I.resume=u.resume.bind(u),I.stop=I,I}function yt(e,t=1/0,n){if(t<=0||!de(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ie(e))yt(e.value,t,n);else if(H(e))for(let s=0;s{yt(s,t,n)});else if(ui(e)){for(const s in e)yt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&yt(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Bn(e,t,n,s){try{return s?e(...s):e()}catch(r){ws(r,t,n)}}function pt(e,t,n,s){if(K(e)){const r=Bn(e,t,n,s);return r&&ai(r)&&r.catch(o=>{ws(o,t,n)}),r}if(H(e)){const r=[];for(let o=0;o>>1,r=je[s],o=On(r);o=On(n)?je.push(e):je.splice(Va(t),0,e),e.flags|=1,Li()}}function Li(){os||(os=Mi.then(Di))}function Ka(e){H(e)?rn.push(...e):Rt&&e.id===-1?Rt.splice(Yt+1,0,e):e.flags&1||(rn.push(e),e.flags|=1),Li()}function eo(e,t,n=ct+1){for(;nOn(n)-On(s));if(rn.length=0,Rt){Rt.push(...t);return}for(Rt=t,Yt=0;Yte.id==null?e.flags&2?-1:1/0:e.id;function Di(e){try{for(ct=0;ct{s._d&&co(-1);const o=is(t);let i;try{i=e(...r)}finally{is(o),s._d&&co(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ae(e,t){if(He===null)return e;const n=As(He),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport;function jr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,jr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function Fi(e,t){return K(e)?Ce({name:e.name},t,{setup:e}):e}function Bi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ls(e,t,n,s,r=!1){if(H(e)){e.forEach((y,E)=>ls(y,t&&(H(t)?t[E]:t),n,s,r));return}if(En(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&ls(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?As(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===ce?l.refs={}:l.refs,d=l.setupState,g=ne(d),m=d===ce?()=>!1:y=>se(g,y);if(a!=null&&a!==c&&(ve(a)?(u[a]=null,m(a)&&(d[a]=null)):Ie(a)&&(a.value=null)),K(c))Bn(c,l,12,[i,u]);else{const y=ve(c),E=Ie(c);if(y||E){const w=()=>{if(e.f){const I=y?m(c)?d[c]:u[c]:c.value;r?H(I)&&Sr(I,o):H(I)?I.includes(o)||I.push(o):y?(u[c]=[o],m(c)&&(d[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else y?(u[c]=i,m(c)&&(d[c]=i)):E&&(c.value=i,e.k&&(u[e.k]=i))};i?(w.id=-1,Ue(w,n)):w()}}}ys().requestIdleCallback;ys().cancelIdleCallback;const En=e=>!!e.type.__asyncLoader,Ni=e=>e.type.__isKeepAlive;function Ga(e,t){Ui(e,"a",t)}function Ja(e,t){Ui(e,"da",t)}function Ui(e,t,n=Oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Es(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ni(r.parent.vnode)&&Za(s,t,n,r),r=r.parent}}function Za(e,t,n,s){const r=Es(t,e,s,!0);Hi(()=>{Sr(s[t],r)},n)}function Es(e,t,n=Oe,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Mt();const l=Nn(n),c=pt(t,n,e,i);return l(),Lt(),c});return s?r.unshift(o):r.push(o),o}}const wt=e=>(t,n=Oe)=>{(!In||e==="sp")&&Es(e,(...s)=>t(...s),n)},Xa=wt("bm"),jt=wt("m"),Ya=wt("bu"),ec=wt("u"),zi=wt("bum"),Hi=wt("um"),tc=wt("sp"),nc=wt("rtg"),sc=wt("rtc");function rc(e,t=Oe){Es("ec",e,t)}const oc="components";function he(e,t){return lc(oc,e,!0,t)||e}const ic=Symbol.for("v-ndc");function lc(e,t,n=!0,s=!1){const r=He||Oe;if(r){const o=r.type;{const l=Wc(o,!1);if(l&&(l===t||l===Qe(t)||l===xs(Qe(t))))return o}const i=to(r[e]||o[e],t)||to(r.appContext[e],t);return!i&&s?o:i}}function to(e,t){return e&&(e[t]||e[Qe(t)]||e[xs(Qe(t))])}function xe(e,t,n,s){let r;const o=n,i=H(e);if(i||ve(e)){const l=i&&sn(e);let c=!1;l&&(c=!We(e),e=_s(e)),r=new Array(e.length);for(let a=0,u=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;ce?cl(e)?As(e):lr(e.parent):null,Sn=Ce(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>lr(e.parent),$root:e=>lr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Dr(e),$forceUpdate:e=>e.f||(e.f=()=>{Lr(e.update)}),$nextTick:e=>e.n||(e.n=Mr.bind(e.proxy)),$watch:e=>kc.bind(e)}),Hs=(e,t)=>e!==ce&&!e.__isScriptSetup&&se(e,t),ac={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Hs(s,t))return i[t]=1,s[t];if(r!==ce&&se(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&se(a,t))return i[t]=3,o[t];if(n!==ce&&se(n,t))return i[t]=4,n[t];ar&&(i[t]=0)}}const u=Sn[t];let d,g;if(u)return t==="$attrs"&&ke(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==ce&&se(n,t))return i[t]=4,n[t];if(g=c.config.globalProperties,se(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Hs(r,t)?(r[t]=n,!0):s!==ce&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ce&&se(e,i)||Hs(t,i)||(l=o[0])&&se(l,i)||se(s,i)||se(Sn,i)||se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function no(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ar=!0;function cc(e){const t=Dr(e),n=e.proxy,s=e.ctx;ar=!1,t.beforeCreate&&so(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:d,mounted:g,beforeUpdate:m,updated:y,activated:E,deactivated:w,beforeDestroy:I,beforeUnmount:T,destroyed:O,unmounted:L,render:V,renderTracked:Y,renderTriggered:G,errorCaptured:_e,serverPrefetch:Je,expose:st,inheritAttrs:St,components:Dt,directives:rt,filters:pn}=t;if(a&&uc(a,s,null),i)for(const le in i){const te=i[le];K(te)&&(s[le]=te.bind(n))}if(r){const le=r.call(n,n);de(le)&&(e.data=Fn(le))}if(ar=!0,o)for(const le in o){const te=o[le],ht=K(te)?te.bind(n,n):K(te.get)?te.get.bind(n,n):ft,Ct=!K(te)&&K(te.set)?te.set.bind(n):ft,ot=Xe({get:ht,set:Ct});Object.defineProperty(s,le,{enumerable:!0,configurable:!0,get:()=>ot.value,set:De=>ot.value=De})}if(l)for(const le in l)qi(l[le],s,n,le);if(c){const le=K(c)?c.call(n):c;Reflect.ownKeys(le).forEach(te=>{Zn(te,le[te])})}u&&so(u,e,"c");function Ee(le,te){H(te)?te.forEach(ht=>le(ht.bind(n))):te&&le(te.bind(n))}if(Ee(Xa,d),Ee(jt,g),Ee(Ya,m),Ee(ec,y),Ee(Ga,E),Ee(Ja,w),Ee(rc,_e),Ee(sc,Y),Ee(nc,G),Ee(zi,T),Ee(Hi,L),Ee(tc,Je),H(st))if(st.length){const le=e.exposed||(e.exposed={});st.forEach(te=>{Object.defineProperty(le,te,{get:()=>n[te],set:ht=>n[te]=ht})})}else e.exposed||(e.exposed={});V&&e.render===ft&&(e.render=V),St!=null&&(e.inheritAttrs=St),Dt&&(e.components=Dt),rt&&(e.directives=rt),Je&&Bi(e)}function uc(e,t,n=ft){H(e)&&(e=cr(e));for(const s in e){const r=e[s];let o;de(r)?"default"in r?o=et(r.from||s,r.default,!0):o=et(r.from||s):o=et(r),Ie(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function so(e,t,n){pt(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function qi(e,t,n,s){let r=s.includes(".")?rl(n,s):()=>n[s];if(ve(e)){const o=t[e];K(o)&&Ht(r,o)}else if(K(e))Ht(r,e.bind(n));else if(de(e))if(H(e))e.forEach(o=>qi(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Ht(r,o,e)}}function Dr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>as(c,a,i,!0)),as(c,t,i)),de(t)&&o.set(t,c),c}function as(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&as(e,o,n,!0),r&&r.forEach(i=>as(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=fc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const fc={data:ro,props:oo,emits:oo,methods:yn,computed:yn,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:yn,directives:yn,watch:pc,provide:ro,inject:dc};function ro(e,t){return t?e?function(){return Ce(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function dc(e,t){return yn(cr(e),cr(t))}function cr(e){if(H(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const Ki={},Wi=()=>Object.create(Ki),Qi=e=>Object.getPrototypeOf(e)===Ki;function gc(e,t,n,s=!1){const r={},o=Wi();e.propsDefaults=Object.create(null),Gi(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Ti(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function bc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ne(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[g,m]=Ji(d,t,!0);Ce(i,g),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return de(e)&&s.set(e,tn),tn;if(H(o))for(let u=0;ue[0]==="_"||e==="$stable",$r=e=>H(e)?e.map(ut):[ut(e)],yc=(e,t,n)=>{if(t._n)return t;const s=ge((...r)=>$r(t(...r)),n);return s._c=!1,s},Xi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Zi(r))continue;const o=e[r];if(K(o))t[r]=yc(r,o,s);else if(o!=null){const i=$r(o);t[r]=()=>i}}},Yi=(e,t)=>{const n=$r(t);e.slots.default=()=>n},el=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},vc=(e,t,n)=>{const s=e.slots=Wi();if(e.vnode.shapeFlag&32){const r=t._;r?(el(s,t,n),n&&fi(s,"_",r,!0)):Xi(t,s)}else t&&Yi(e,t)},_c=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ce;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:el(r,t,n):(o=!t.$stable,Xi(t,r)),i=t}else t&&(Yi(e,t),i={default:1});if(o)for(const l in r)!Zi(l)&&i[l]==null&&delete r[l]},Ue=jc;function wc(e){return Ec(e)}function Ec(e,t){const n=ys();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:d,nextSibling:g,setScopeId:m=ft,insertStaticContent:y}=e,E=(p,h,b,C=null,v=null,A=null,j=void 0,M=null,P=!!h.dynamicChildren)=>{if(p===h)return;p&&!gn(p,h)&&(C=_(p),De(p,v,A,!0),p=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:R,ref:z,shapeFlag:$}=h;switch(R){case Cs:w(p,h,b,C);break;case Kt:I(p,h,b,C);break;case Ks:p==null&&T(h,b,C,j);break;case Q:Dt(p,h,b,C,v,A,j,M,P);break;default:$&1?V(p,h,b,C,v,A,j,M,P):$&6?rt(p,h,b,C,v,A,j,M,P):($&64||$&128)&&R.process(p,h,b,C,v,A,j,M,P,N)}z!=null&&v&&ls(z,p&&p.ref,A,h||p,!h)},w=(p,h,b,C)=>{if(p==null)s(h.el=l(h.children),b,C);else{const v=h.el=p.el;h.children!==p.children&&a(v,h.children)}},I=(p,h,b,C)=>{p==null?s(h.el=c(h.children||""),b,C):h.el=p.el},T=(p,h,b,C)=>{[p.el,p.anchor]=y(p.children,h,b,C,p.el,p.anchor)},O=({el:p,anchor:h},b,C)=>{let v;for(;p&&p!==h;)v=g(p),s(p,b,C),p=v;s(h,b,C)},L=({el:p,anchor:h})=>{let b;for(;p&&p!==h;)b=g(p),r(p),p=b;r(h)},V=(p,h,b,C,v,A,j,M,P)=>{h.type==="svg"?j="svg":h.type==="math"&&(j="mathml"),p==null?Y(h,b,C,v,A,j,M,P):Je(p,h,v,A,j,M,P)},Y=(p,h,b,C,v,A,j,M)=>{let P,R;const{props:z,shapeFlag:$,transition:U,dirs:q}=p;if(P=p.el=i(p.type,A,z&&z.is,z),$&8?u(P,p.children):$&16&&_e(p.children,P,null,C,v,qs(p,A),j,M),q&&$t(p,null,C,"created"),G(P,p,p.scopeId,j,C),z){for(const ue in z)ue!=="value"&&!vn(ue)&&o(P,ue,null,z[ue],A,C);"value"in z&&o(P,"value",null,z.value,A),(R=z.onVnodeBeforeMount)&<(R,C,p)}q&&$t(p,null,C,"beforeMount");const J=Sc(v,U);J&&U.beforeEnter(P),s(P,h,b),((R=z&&z.onVnodeMounted)||J||q)&&Ue(()=>{R&<(R,C,p),J&&U.enter(P),q&&$t(p,null,C,"mounted")},v)},G=(p,h,b,C,v)=>{if(b&&m(p,b),C)for(let A=0;A{for(let R=P;R{const M=h.el=p.el;let{patchFlag:P,dynamicChildren:R,dirs:z}=h;P|=p.patchFlag&16;const $=p.props||ce,U=h.props||ce;let q;if(b&&Ft(b,!1),(q=U.onVnodeBeforeUpdate)&<(q,b,h,p),z&&$t(h,p,b,"beforeUpdate"),b&&Ft(b,!0),($.innerHTML&&U.innerHTML==null||$.textContent&&U.textContent==null)&&u(M,""),R?st(p.dynamicChildren,R,M,b,C,qs(h,v),A):j||te(p,h,M,null,b,C,qs(h,v),A,!1),P>0){if(P&16)St(M,$,U,b,v);else if(P&2&&$.class!==U.class&&o(M,"class",null,U.class,v),P&4&&o(M,"style",$.style,U.style,v),P&8){const J=h.dynamicProps;for(let ue=0;ue{q&<(q,b,h,p),z&&$t(h,p,b,"updated")},C)},st=(p,h,b,C,v,A,j)=>{for(let M=0;M{if(h!==b){if(h!==ce)for(const A in h)!vn(A)&&!(A in b)&&o(p,A,h[A],null,v,C);for(const A in b){if(vn(A))continue;const j=b[A],M=h[A];j!==M&&A!=="value"&&o(p,A,M,j,v,C)}"value"in b&&o(p,"value",h.value,b.value,v)}},Dt=(p,h,b,C,v,A,j,M,P)=>{const R=h.el=p?p.el:l(""),z=h.anchor=p?p.anchor:l("");let{patchFlag:$,dynamicChildren:U,slotScopeIds:q}=h;q&&(M=M?M.concat(q):q),p==null?(s(R,b,C),s(z,b,C),_e(h.children||[],b,z,v,A,j,M,P)):$>0&&$&64&&U&&p.dynamicChildren?(st(p.dynamicChildren,U,b,v,A,j,M),(h.key!=null||v&&h===v.subTree)&&tl(p,h,!0)):te(p,h,b,z,v,A,j,M,P)},rt=(p,h,b,C,v,A,j,M,P)=>{h.slotScopeIds=M,p==null?h.shapeFlag&512?v.ctx.activate(h,b,C,j,P):pn(h,b,C,v,A,j,P):Gt(p,h,P)},pn=(p,h,b,C,v,A,j)=>{const M=p.component=zc(p,C,v);if(Ni(p)&&(M.ctx.renderer=N),Hc(M,!1,j),M.asyncDep){if(v&&v.registerDep(M,Ee,j),!p.el){const P=M.subTree=F(Kt);I(null,P,h,b)}}else Ee(M,p,h,b,v,A,j)},Gt=(p,h,b)=>{const C=h.component=p.component;if(Mc(p,h,b))if(C.asyncDep&&!C.asyncResolved){le(C,h,b);return}else C.next=h,C.update();else h.el=p.el,C.vnode=h},Ee=(p,h,b,C,v,A,j)=>{const M=()=>{if(p.isMounted){let{next:$,bu:U,u:q,parent:J,vnode:ue}=p;{const Be=nl(p);if(Be){$&&($.el=ue.el,le(p,$,j)),Be.asyncDep.then(()=>{p.isUnmounted||M()});return}}let oe=$,Fe;Ft(p,!1),$?($.el=ue.el,le(p,$,j)):$=ue,U&&Jn(U),(Fe=$.props&&$.props.onVnodeBeforeUpdate)&<(Fe,J,$,ue),Ft(p,!0);const Re=Vs(p),Ze=p.subTree;p.subTree=Re,E(Ze,Re,d(Ze.el),_(Ze),p,v,A),$.el=Re.el,oe===null&&Lc(p,Re.el),q&&Ue(q,v),(Fe=$.props&&$.props.onVnodeUpdated)&&Ue(()=>lt(Fe,J,$,ue),v)}else{let $;const{el:U,props:q}=h,{bm:J,m:ue,parent:oe,root:Fe,type:Re}=p,Ze=En(h);if(Ft(p,!1),J&&Jn(J),!Ze&&($=q&&q.onVnodeBeforeMount)&<($,oe,h),Ft(p,!0),U&&me){const Be=()=>{p.subTree=Vs(p),me(U,p.subTree,p,v,null)};Ze&&Re.__asyncHydrate?Re.__asyncHydrate(U,p,Be):Be()}else{Fe.ce&&Fe.ce._injectChildStyle(Re);const Be=p.subTree=Vs(p);E(null,Be,b,C,p,v,A),h.el=Be.el}if(ue&&Ue(ue,v),!Ze&&($=q&&q.onVnodeMounted)){const Be=h;Ue(()=>lt($,oe,Be),v)}(h.shapeFlag&256||oe&&En(oe.vnode)&&oe.vnode.shapeFlag&256)&&p.a&&Ue(p.a,v),p.isMounted=!0,h=b=C=null}};p.scope.on();const P=p.effect=new mi(M);p.scope.off();const R=p.update=P.run.bind(P),z=p.job=P.runIfDirty.bind(P);z.i=p,z.id=p.uid,P.scheduler=()=>Lr(z),Ft(p,!0),R()},le=(p,h,b)=>{h.component=p;const C=p.vnode.props;p.vnode=h,p.next=null,bc(p,h.props,C,b),_c(p,h.children,b),Mt(),eo(p),Lt()},te=(p,h,b,C,v,A,j,M,P=!1)=>{const R=p&&p.children,z=p?p.shapeFlag:0,$=h.children,{patchFlag:U,shapeFlag:q}=h;if(U>0){if(U&128){Ct(R,$,b,C,v,A,j,M,P);return}else if(U&256){ht(R,$,b,C,v,A,j,M,P);return}}q&8?(z&16&&Ke(R,v,A),$!==R&&u(b,$)):z&16?q&16?Ct(R,$,b,C,v,A,j,M,P):Ke(R,v,A,!0):(z&8&&u(b,""),q&16&&_e($,b,C,v,A,j,M,P))},ht=(p,h,b,C,v,A,j,M,P)=>{p=p||tn,h=h||tn;const R=p.length,z=h.length,$=Math.min(R,z);let U;for(U=0;U<$;U++){const q=h[U]=P?kt(h[U]):ut(h[U]);E(p[U],q,b,null,v,A,j,M,P)}R>z?Ke(p,v,A,!0,!1,$):_e(h,b,C,v,A,j,M,P,$)},Ct=(p,h,b,C,v,A,j,M,P)=>{let R=0;const z=h.length;let $=p.length-1,U=z-1;for(;R<=$&&R<=U;){const q=p[R],J=h[R]=P?kt(h[R]):ut(h[R]);if(gn(q,J))E(q,J,b,null,v,A,j,M,P);else break;R++}for(;R<=$&&R<=U;){const q=p[$],J=h[U]=P?kt(h[U]):ut(h[U]);if(gn(q,J))E(q,J,b,null,v,A,j,M,P);else break;$--,U--}if(R>$){if(R<=U){const q=U+1,J=qU)for(;R<=$;)De(p[R],v,A,!0),R++;else{const q=R,J=R,ue=new Map;for(R=J;R<=U;R++){const Ne=h[R]=P?kt(h[R]):ut(h[R]);Ne.key!=null&&ue.set(Ne.key,R)}let oe,Fe=0;const Re=U-J+1;let Ze=!1,Be=0;const hn=new Array(Re);for(R=0;R=Re){De(Ne,v,A,!0);continue}let it;if(Ne.key!=null)it=ue.get(Ne.key);else for(oe=J;oe<=U;oe++)if(hn[oe-J]===0&&gn(Ne,h[oe])){it=oe;break}it===void 0?De(Ne,v,A,!0):(hn[it-J]=R+1,it>=Be?Be=it:Ze=!0,E(Ne,h[it],b,null,v,A,j,M,P),Fe++)}const Qr=Ze?Cc(hn):tn;for(oe=Qr.length-1,R=Re-1;R>=0;R--){const Ne=J+R,it=h[Ne],Gr=Ne+1{const{el:A,type:j,transition:M,children:P,shapeFlag:R}=p;if(R&6){ot(p.component.subTree,h,b,C);return}if(R&128){p.suspense.move(h,b,C);return}if(R&64){j.move(p,h,b,N);return}if(j===Q){s(A,h,b);for(let $=0;$M.enter(A),v);else{const{leave:$,delayLeave:U,afterLeave:q}=M,J=()=>s(A,h,b),ue=()=>{$(A,()=>{J(),q&&q()})};U?U(A,J,ue):ue()}else s(A,h,b)},De=(p,h,b,C=!1,v=!1)=>{const{type:A,props:j,ref:M,children:P,dynamicChildren:R,shapeFlag:z,patchFlag:$,dirs:U,cacheIndex:q}=p;if($===-2&&(v=!1),M!=null&&ls(M,null,b,p,!0),q!=null&&(h.renderCache[q]=void 0),z&256){h.ctx.deactivate(p);return}const J=z&1&&U,ue=!En(p);let oe;if(ue&&(oe=j&&j.onVnodeBeforeUnmount)&<(oe,h,p),z&6)Kn(p.component,b,C);else{if(z&128){p.suspense.unmount(b,C);return}J&&$t(p,null,h,"beforeUnmount"),z&64?p.type.remove(p,h,b,N,C):R&&!R.hasOnce&&(A!==Q||$>0&&$&64)?Ke(R,h,b,!1,!0):(A===Q&&$&384||!v&&z&16)&&Ke(P,h,b),C&&Jt(p)}(ue&&(oe=j&&j.onVnodeUnmounted)||J)&&Ue(()=>{oe&<(oe,h,p),J&&$t(p,null,h,"unmounted")},b)},Jt=p=>{const{type:h,el:b,anchor:C,transition:v}=p;if(h===Q){Zt(b,C);return}if(h===Ks){L(p);return}const A=()=>{r(b),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(p.shapeFlag&1&&v&&!v.persisted){const{leave:j,delayLeave:M}=v,P=()=>j(b,A);M?M(p.el,A,P):P()}else A()},Zt=(p,h)=>{let b;for(;p!==h;)b=g(p),r(p),p=b;r(h)},Kn=(p,h,b)=>{const{bum:C,scope:v,job:A,subTree:j,um:M,m:P,a:R}=p;lo(P),lo(R),C&&Jn(C),v.stop(),A&&(A.flags|=8,De(j,p,h,b)),M&&Ue(M,h),Ue(()=>{p.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Ke=(p,h,b,C=!1,v=!1,A=0)=>{for(let j=A;j{if(p.shapeFlag&6)return _(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const h=g(p.anchor||p.el),b=h&&h[Wa];return b?g(b):h};let B=!1;const D=(p,h,b)=>{p==null?h._vnode&&De(h._vnode,null,null,!0):E(h._vnode||null,p,h,null,null,null,b),h._vnode=p,B||(B=!0,eo(),ji(),B=!1)},N={p:E,um:De,m:ot,r:Jt,mt:pn,mc:_e,pc:te,pbc:st,n:_,o:e};let re,me;return{render:D,hydrate:re,createApp:mc(D,re)}}function qs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ft({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Sc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function tl(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function nl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:nl(t)}function lo(e){if(e)for(let t=0;tet(Ac);function Ht(e,t,n){return sl(e,t,n)}function sl(e,t,n=ce){const{immediate:s,deep:r,flush:o,once:i}=n,l=Ce({},n),c=t&&s||!t&&o!=="post";let a;if(In){if(o==="sync"){const m=Rc();a=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=ft,m.resume=ft,m.pause=ft,m}}const u=Oe;l.call=(m,y,E)=>pt(m,u,y,E);let d=!1;o==="post"?l.scheduler=m=>{Ue(m,u&&u.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(m,y)=>{y?m():Lr(m)}),l.augmentJob=m=>{t&&(m.flags|=4),d&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const g=Ha(e,t,l);return In&&(a?a.push(g):c&&g()),g}function kc(e,t,n){const s=this.proxy,r=ve(e)?e.includes(".")?rl(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Nn(this),l=sl(r,o.bind(s),n);return i(),l}function rl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Qe(t)}Modifiers`]||e[`${Qt(t)}Modifiers`];function Oc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ce;let r=n;const o=t.startsWith("update:"),i=o&&Tc(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>ve(u)?u.trim():u)),i.number&&(r=n.map(ss)));let l,c=s[l=Fs(t)]||s[l=Fs(Qe(t))];!c&&o&&(c=s[l=Fs(Qt(t))]),c&&pt(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,pt(a,e,6,r)}}function ol(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=a=>{const u=ol(a,t,!0);u&&(l=!0,Ce(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(de(e)&&s.set(e,null),null):(H(o)?o.forEach(c=>i[c]=null):Ce(i,o),de(e)&&s.set(e,i),i)}function Ss(e,t){return!e||!ms(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Qt(t))||se(e,t))}function Vs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:u,props:d,data:g,setupState:m,ctx:y,inheritAttrs:E}=e,w=is(e);let I,T;try{if(n.shapeFlag&4){const L=r||s,V=L;I=ut(a.call(V,L,u,d,m,g,y)),T=l}else{const L=t;I=ut(L.length>1?L(d,{attrs:l,slots:i,emit:c}):L(d,null)),T=t.props?l:Pc(l)}}catch(L){Cn.length=0,ws(L,e,1),I=F(Kt)}let O=I;if(T&&E!==!1){const L=Object.keys(T),{shapeFlag:V}=O;L.length&&V&7&&(o&&L.some(Er)&&(T=Ic(T,o)),O=an(O,T,!1,!0))}return n.dirs&&(O=an(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&jr(O,n.transition),I=O,is(w),I}const Pc=e=>{let t;for(const n in e)(n==="class"||n==="style"||ms(n))&&((t||(t={}))[n]=e[n]);return t},Ic=(e,t)=>{const n={};for(const s in e)(!Er(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Mc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ao(s,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function jc(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):Ka(e)}const Q=Symbol.for("v-fgt"),Cs=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),Ks=Symbol.for("v-stc"),Cn=[];let qe=null;function S(e=!1){Cn.push(qe=e?null:[])}function Dc(){Cn.pop(),qe=Cn[Cn.length-1]||null}let Pn=1;function co(e,t=!1){Pn+=e,e<0&&qe&&t&&(qe.hasOnce=!0)}function ll(e){return e.dynamicChildren=Pn>0?qe||tn:null,Dc(),Pn>0&&qe&&qe.push(e),e}function k(e,t,n,s,r,o){return ll(f(e,t,n,s,r,o,!0))}function Ge(e,t,n,s,r){return ll(F(e,t,n,s,r,!0))}function cs(e){return e?e.__v_isVNode===!0:!1}function gn(e,t){return e.type===t.type&&e.key===t.key}const al=({key:e})=>e??null,Xn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||Ie(e)||K(e)?{i:He,r:e,k:t,f:!!n}:e:null);function f(e,t=null,n=null,s=0,r=null,o=e===Q?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&al(t),ref:t&&Xn(t),scopeId:$i,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:He};return l?(Fr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ve(n)?8:16),Pn>0&&!i&&qe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&qe.push(c),c}const F=$c;function $c(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===ic)&&(e=Kt),cs(e)){const l=an(e,t,!0);return n&&Fr(l,n),Pn>0&&!o&&qe&&(l.shapeFlag&6?qe[qe.indexOf(e)]=l:qe.push(l)),l.patchFlag=-2,l}if(Qc(e)&&(e=e.__vccOpts),t){t=Fc(t);let{class:l,style:c}=t;l&&!ve(l)&&(t.class=Z(l)),de(c)&&(Ir(c)&&!H(c)&&(c=Ce({},c)),t.style=$n(c))}const i=ve(e)?1:il(e)?128:Qa(e)?64:de(e)?4:K(e)?2:0;return f(e,t,n,s,r,i,o,!0)}function Fc(e){return e?Ir(e)||Qi(e)?Ce({},e):e:null}function an(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?Bc(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&al(a),ref:t&&t.ref?n&&o?H(o)?o.concat(Xn(t)):[o,Xn(t)]:Xn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Q?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&an(e.ssContent),ssFallback:e.ssFallback&&an(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&jr(u,c.clone(u)),u}function Se(e=" ",t=0){return F(Cs,null,e,t)}function be(e="",t=!1){return t?(S(),Ge(Kt,null,e)):F(Kt,null,e)}function ut(e){return e==null||typeof e=="boolean"?F(Kt):H(e)?F(Q,null,e.slice()):cs(e)?kt(e):F(Cs,null,String(e))}function kt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:an(e)}function Fr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Fr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Qi(t)?t._ctx=He:r===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:He},n=32):(t=String(t),s&64?(n=16,t=[Se(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bc(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};us=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),fr=t("__VUE_SSR_SETTERS__",n=>In=n)}const Nn=e=>{const t=Oe;return us(e),e.scope.on(),()=>{e.scope.off(),us(t)}},uo=()=>{Oe&&Oe.scope.off(),us(null)};function cl(e){return e.vnode.shapeFlag&4}let In=!1;function Hc(e,t=!1,n=!1){t&&fr(t);const{props:s,children:r}=e.vnode,o=cl(e);gc(e,s,o,t),vc(e,r,n);const i=o?qc(e,t):void 0;return t&&fr(!1),i}function qc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ac);const{setup:s}=n;if(s){Mt();const r=e.setupContext=s.length>1?Kc(e):null,o=Nn(e),i=Bn(s,e,0,[e.props,r]),l=ai(i);if(Lt(),o(),(l||e.sp)&&!En(e)&&Bi(e),l){if(i.then(uo,uo),t)return i.then(c=>{fo(e,c,t)}).catch(c=>{ws(c,e,0)});e.asyncDep=i}else fo(e,i,t)}else ul(e,t)}function fo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=Ii(t)),ul(e,n)}let po;function ul(e,t,n){const s=e.type;if(!e.render){if(!t&&po&&!s.render){const r=s.template||Dr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=Ce(Ce({isCustomElement:o,delimiters:l},i),c);s.render=po(r,a)}}e.render=s.render||ft}{const r=Nn(e);Mt();try{cc(e)}finally{Lt(),r()}}}const Vc={get(e,t){return ke(e,"get",""),e[t]}};function Kc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Vc),slots:e.slots,emit:e.emit,expose:t}}function As(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ii(Da(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sn)return Sn[n](e)},has(t,n){return n in t||n in Sn}})):e.proxy}function Wc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Qc(e){return K(e)&&"__vccOpts"in e}const Xe=(e,t)=>Ua(e,t,In);function fl(e,t,n){const s=arguments.length;return s===2?de(t)&&!H(t)?cs(t)?F(e,null,[t]):F(e,t):F(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&cs(n)&&(n=[n]),F(e,t,n))}const Gc="3.5.13";/** -* @vue/runtime-dom v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let dr;const ho=typeof window<"u"&&window.trustedTypes;if(ho)try{dr=ho.createPolicy("vue",{createHTML:e=>e})}catch{}const dl=dr?e=>dr.createHTML(e):e=>e,Jc="http://www.w3.org/2000/svg",Zc="http://www.w3.org/1998/Math/MathML",bt=typeof document<"u"?document:null,mo=bt&&bt.createElement("template"),Xc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?bt.createElementNS(Jc,e):t==="mathml"?bt.createElementNS(Zc,e):n?bt.createElement(e,{is:n}):bt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>bt.createTextNode(e),createComment:e=>bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{mo.innerHTML=dl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=mo.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Yc=Symbol("_vtc");function eu(e,t,n){const s=e[Yc];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const go=Symbol("_vod"),tu=Symbol("_vsh"),nu=Symbol(""),su=/(^|;)\s*display\s*:/;function ru(e,t,n){const s=e.style,r=ve(n);let o=!1;if(n&&!r){if(t)if(ve(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Yn(s,l,"")}else for(const i in t)n[i]==null&&Yn(s,i,"");for(const i in n)i==="display"&&(o=!0),Yn(s,i,n[i])}else if(r){if(t!==n){const i=s[nu];i&&(n+=";"+i),s.cssText=n,o=su.test(n)}}else t&&e.removeAttribute("style");go in e&&(e[go]=o?s.display:"",e[tu]&&(s.display="none"))}const bo=/\s*!important$/;function Yn(e,t,n){if(H(n))n.forEach(s=>Yn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ou(e,t);bo.test(n)?e.setProperty(Qt(s),n.replace(bo,""),"important"):e[s]=n}}const xo=["Webkit","Moz","ms"],Ws={};function ou(e,t){const n=Ws[t];if(n)return n;let s=Qe(t);if(s!=="filter"&&s in e)return Ws[t]=s;s=xs(s);for(let r=0;rQs||(cu.then(()=>Qs=0),Qs=Date.now());function fu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;pt(du(s,n.value),t,5,[s])};return n.value=e,n.attached=uu(),n}function du(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const So=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pu=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?eu(e,s,i):t==="style"?ru(e,n,s):ms(t)?Er(t)||lu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):hu(e,t,s,i))?(_o(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&vo(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ve(s))?_o(e,Qe(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),vo(e,t,s,i))};function hu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&So(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return So(t)&&ve(n)?!1:t in e}const fs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>Jn(t,n):t};function mu(e){e.target.composing=!0}function Co(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ln=Symbol("_assign"),vt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ln]=fs(r);const o=s||r.props&&r.props.type==="number";Nt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=ss(l)),e[ln](l)}),n&&Nt(e,"change",()=>{e.value=e.value.trim()}),t||(Nt(e,"compositionstart",mu),Nt(e,"compositionend",Co),Nt(e,"change",Co))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ln]=fs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?ss(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Ot={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=gs(t);Nt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ss(ds(i)):ds(i));e[ln](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Mr(()=>{e._assigning=!1})}),e[ln]=fs(s)},mounted(e,{value:t}){Ao(e,t)},beforeUpdate(e,t,n){e[ln]=fs(n)},updated(e,{value:t}){e._assigning||Ao(e,t)}};function Ao(e,t){const n=e.multiple,s=H(t);if(!(n&&!s&&!gs(t))){for(let r=0,o=e.options.length;rString(a)===String(l)):i.selected=ma(t,l)>-1}else i.selected=t.has(l);else if(vs(ds(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ds(e){return"_value"in e?e._value:e.value}const gu=["ctrl","shift","alt","meta"],bu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>gu.some(n=>e[`${n}Key`]&&!t.includes(n))},Ro=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const t=yu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=wu(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,_u(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function _u(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wu(e){return ve(e)?document.querySelector(e):e}/*! - * vue-router v4.4.5 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const en=typeof document<"u";function pl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Eu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&pl(e.default)}const ie=Object.assign;function Gs(e,t){const n={};for(const s in t){const r=t[s];n[s]=tt(r)?r.map(e):e(r)}return n}const An=()=>{},tt=Array.isArray,hl=/#/g,Su=/&/g,Cu=/\//g,Au=/=/g,Ru=/\?/g,ml=/\+/g,ku=/%5B/g,Tu=/%5D/g,gl=/%5E/g,Ou=/%60/g,bl=/%7B/g,Pu=/%7C/g,xl=/%7D/g,Iu=/%20/g;function Br(e){return encodeURI(""+e).replace(Pu,"|").replace(ku,"[").replace(Tu,"]")}function Mu(e){return Br(e).replace(bl,"{").replace(xl,"}").replace(gl,"^")}function pr(e){return Br(e).replace(ml,"%2B").replace(Iu,"+").replace(hl,"%23").replace(Su,"%26").replace(Ou,"`").replace(bl,"{").replace(xl,"}").replace(gl,"^")}function Lu(e){return pr(e).replace(Au,"%3D")}function ju(e){return Br(e).replace(hl,"%23").replace(Ru,"%3F")}function Du(e){return e==null?"":ju(e).replace(Cu,"%2F")}function Mn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const $u=/\/$/,Fu=e=>e.replace($u,"");function Js(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=zu(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Mn(i)}}function Bu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function To(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Nu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&cn(t.matched[s],n.matched[r])&&yl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function cn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function yl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Uu(e[n],t[n]))return!1;return!0}function Uu(e,t){return tt(e)?Oo(e,t):tt(t)?Oo(t,e):e===t}function Oo(e,t){return tt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function zu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const At={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ln;(function(e){e.pop="pop",e.push="push"})(Ln||(Ln={}));var Rn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rn||(Rn={}));function Hu(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Fu(e)}const qu=/^[^#]+#/;function Vu(e,t){return e.replace(qu,"#")+t}function Ku(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Rs=()=>({left:window.scrollX,top:window.scrollY});function Wu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Ku(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Po(e,t){return(history.state?history.state.position-t:-1)+e}const hr=new Map;function Qu(e,t){hr.set(e,t)}function Gu(e){const t=hr.get(e);return hr.delete(e),t}let Ju=()=>location.protocol+"//"+location.host;function vl(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),To(c,"")}return To(n,e)+s+r}function Zu(e,t,n,s){let r=[],o=[],i=null;const l=({state:g})=>{const m=vl(e,location),y=n.value,E=t.value;let w=0;if(g){if(n.value=m,t.value=g,i&&i===y){i=null;return}w=E?g.position-E.position:0}else s(m);r.forEach(I=>{I(n.value,y,{delta:w,type:Ln.pop,direction:w?w>0?Rn.forward:Rn.back:Rn.unknown})})};function c(){i=n.value}function a(g){r.push(g);const m=()=>{const y=r.indexOf(g);y>-1&&r.splice(y,1)};return o.push(m),m}function u(){const{history:g}=window;g.state&&g.replaceState(ie({},g.state,{scroll:Rs()}),"")}function d(){for(const g of o)g();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:a,destroy:d}}function Io(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Rs():null}}function Xu(e){const{history:t,location:n}=window,s={value:vl(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const d=e.indexOf("#"),g=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:Ju()+e+c;try{t[u?"replaceState":"pushState"](a,"",g),r.value=a}catch(m){console.error(m),n[u?"replace":"assign"](g)}}function i(c,a){const u=ie({},t.state,Io(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,u,!0),s.value=c}function l(c,a){const u=ie({},r.value,t.state,{forward:c,scroll:Rs()});o(u.current,u,!0);const d=ie({},Io(s.value,c,null),{position:u.position+1},a);o(c,d,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Yu(e){e=Hu(e);const t=Xu(e),n=Zu(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ie({location:"",base:e,go:s,createHref:Vu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function ef(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Yu(e)}function tf(e){return typeof e=="string"||e&&typeof e=="object"}function _l(e){return typeof e=="string"||typeof e=="symbol"}const wl=Symbol("");var Mo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Mo||(Mo={}));function un(e,t){return ie(new Error,{type:e,[wl]:!0},t)}function gt(e,t){return e instanceof Error&&wl in e&&(t==null||!!(e.type&t))}const Lo="[^/]+?",nf={sensitive:!1,strict:!1,start:!0,end:!0},sf=/[.+*?^${}()[\]/\\]/g;function rf(e,t){const n=ie({},nf,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function El(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const lf={type:0,value:""},af=/[a-zA-Z0-9_]/;function cf(e){if(!e)return[[]];if(e==="/")return[[lf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${a}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",u="";function d(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function g(){a+=c}for(;l{i(O)}:An}function i(d){if(_l(d)){const g=s.get(d);g&&(s.delete(d),n.splice(n.indexOf(g),1),g.children.forEach(i),g.alias.forEach(i))}else{const g=n.indexOf(d);g>-1&&(n.splice(g,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function c(d){const g=hf(d,n);n.splice(g,0,d),d.record.name&&!Fo(d)&&s.set(d.record.name,d)}function a(d,g){let m,y={},E,w;if("name"in d&&d.name){if(m=s.get(d.name),!m)throw un(1,{location:d});w=m.record.name,y=ie(Do(g.params,m.keys.filter(O=>!O.optional).concat(m.parent?m.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),d.params&&Do(d.params,m.keys.map(O=>O.name))),E=m.stringify(y)}else if(d.path!=null)E=d.path,m=n.find(O=>O.re.test(E)),m&&(y=m.parse(E),w=m.record.name);else{if(m=g.name?s.get(g.name):n.find(O=>O.re.test(g.path)),!m)throw un(1,{location:d,currentLocation:g});w=m.record.name,y=ie({},g.params,d.params),E=m.stringify(y)}const I=[];let T=m;for(;T;)I.unshift(T.record),T=T.parent;return{name:w,path:E,params:y,matched:I,meta:pf(I)}}e.forEach(d=>o(d));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Do(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function $o(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:df(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function df(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Fo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pf(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function Bo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function hf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;El(e,t[o])<0?s=o:n=o+1}const r=mf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function mf(e){let t=e;for(;t=t.parent;)if(Sl(t)&&El(e,t)===0)return t}function Sl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gf(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&pr(o)):[s&&pr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function bf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=tt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const xf=Symbol(""),Uo=Symbol(""),ks=Symbol(""),Nr=Symbol(""),mr=Symbol("");function bn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Tt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=g=>{g===!1?c(un(4,{from:n,to:t})):g instanceof Error?c(g):tf(g)?c(un(2,{from:t,to:g})):(i&&s.enterCallbacks[r]===i&&typeof g=="function"&&i.push(g),l())},u=o(()=>e.call(s&&s.instances[r],t,n,a));let d=Promise.resolve(u);e.length<3&&(d=d.then(a)),d.catch(g=>c(g))})}function Zs(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(pl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Tt(u,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=Eu(u)?u.default:u;i.mods[l]=u,i.components[l]=d;const m=(d.__vccOpts||d)[t];return m&&Tt(m,n,s,i,l,r)()}))}}return o}function zo(e){const t=et(ks),n=et(Nr),s=Xe(()=>{const c=Me(e.to);return t.resolve(c)}),r=Xe(()=>{const{matched:c}=s.value,{length:a}=c,u=c[a-1],d=n.matched;if(!u||!d.length)return-1;const g=d.findIndex(cn.bind(null,u));if(g>-1)return g;const m=Ho(c[a-2]);return a>1&&Ho(u)===m&&d[d.length-1].path!==m?d.findIndex(cn.bind(null,c[a-2])):g}),o=Xe(()=>r.value>-1&&wf(n.params,s.value.params)),i=Xe(()=>r.value>-1&&r.value===n.matched.length-1&&yl(n.params,s.value.params));function l(c={}){return _f(c)?t[Me(e.replace)?"replace":"push"](Me(e.to)).catch(An):Promise.resolve()}return{route:s,href:Xe(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const yf=Fi({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:zo,setup(e,{slots:t}){const n=Fn(zo(e)),{options:s}=et(ks),r=Xe(()=>({[qo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[qo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:fl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),vf=yf;function _f(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function wf(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!tt(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Ho(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const qo=(e,t,n)=>e??t??n,Ef=Fi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=et(mr),r=Xe(()=>e.route||s.value),o=et(Uo,0),i=Xe(()=>{let a=Me(o);const{matched:u}=r.value;let d;for(;(d=u[a])&&!d.components;)a++;return a}),l=Xe(()=>r.value.matched[i.value]);Zn(Uo,Xe(()=>i.value+1)),Zn(xf,l),Zn(mr,r);const c=X();return Ht(()=>[c.value,l.value,e.name],([a,u,d],[g,m,y])=>{u&&(u.instances[d]=a,m&&m!==u&&a&&a===g&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),a&&u&&(!m||!cn(u,m)||!g)&&(u.enterCallbacks[d]||[]).forEach(E=>E(a))},{flush:"post"}),()=>{const a=r.value,u=e.name,d=l.value,g=d&&d.components[u];if(!g)return Vo(n.default,{Component:g,route:a});const m=d.props[u],y=m?m===!0?a.params:typeof m=="function"?m(a):m:null,w=fl(g,ie({},y,t,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(d.instances[u]=null)},ref:c}));return Vo(n.default,{Component:w,route:a})||w}}});function Vo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Cl=Ef;function Sf(e){const t=ff(e.routes,e),n=e.parseQuery||gf,s=e.stringifyQuery||No,r=e.history,o=bn(),i=bn(),l=bn(),c=$a(At);let a=At;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Gs.bind(null,_=>""+_),d=Gs.bind(null,Du),g=Gs.bind(null,Mn);function m(_,B){let D,N;return _l(_)?(D=t.getRecordMatcher(_),N=B):N=_,t.addRoute(N,D)}function y(_){const B=t.getRecordMatcher(_);B&&t.removeRoute(B)}function E(){return t.getRoutes().map(_=>_.record)}function w(_){return!!t.getRecordMatcher(_)}function I(_,B){if(B=ie({},B||c.value),typeof _=="string"){const h=Js(n,_,B.path),b=t.resolve({path:h.path},B),C=r.createHref(h.fullPath);return ie(h,b,{params:g(b.params),hash:Mn(h.hash),redirectedFrom:void 0,href:C})}let D;if(_.path!=null)D=ie({},_,{path:Js(n,_.path,B.path).path});else{const h=ie({},_.params);for(const b in h)h[b]==null&&delete h[b];D=ie({},_,{params:d(h)}),B.params=d(B.params)}const N=t.resolve(D,B),re=_.hash||"";N.params=u(g(N.params));const me=Bu(s,ie({},_,{hash:Mu(re),path:N.path})),p=r.createHref(me);return ie({fullPath:me,hash:re,query:s===No?bf(_.query):_.query||{}},N,{redirectedFrom:void 0,href:p})}function T(_){return typeof _=="string"?Js(n,_,c.value.path):ie({},_)}function O(_,B){if(a!==_)return un(8,{from:B,to:_})}function L(_){return G(_)}function V(_){return L(ie(T(_),{replace:!0}))}function Y(_){const B=_.matched[_.matched.length-1];if(B&&B.redirect){const{redirect:D}=B;let N=typeof D=="function"?D(_):D;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=T(N):{path:N},N.params={}),ie({query:_.query,hash:_.hash,params:N.path!=null?{}:_.params},N)}}function G(_,B){const D=a=I(_),N=c.value,re=_.state,me=_.force,p=_.replace===!0,h=Y(D);if(h)return G(ie(T(h),{state:typeof h=="object"?ie({},re,h.state):re,force:me,replace:p}),B||D);const b=D;b.redirectedFrom=B;let C;return!me&&Nu(s,N,D)&&(C=un(16,{to:b,from:N}),ot(N,N,!0,!1)),(C?Promise.resolve(C):st(b,N)).catch(v=>gt(v)?gt(v,2)?v:Ct(v):te(v,b,N)).then(v=>{if(v){if(gt(v,2))return G(ie({replace:p},T(v.to),{state:typeof v.to=="object"?ie({},re,v.to.state):re,force:me}),B||b)}else v=Dt(b,N,!0,p,re);return St(b,N,v),v})}function _e(_,B){const D=O(_,B);return D?Promise.reject(D):Promise.resolve()}function Je(_){const B=Zt.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(_):_()}function st(_,B){let D;const[N,re,me]=Cf(_,B);D=Zs(N.reverse(),"beforeRouteLeave",_,B);for(const h of N)h.leaveGuards.forEach(b=>{D.push(Tt(b,_,B))});const p=_e.bind(null,_,B);return D.push(p),Ke(D).then(()=>{D=[];for(const h of o.list())D.push(Tt(h,_,B));return D.push(p),Ke(D)}).then(()=>{D=Zs(re,"beforeRouteUpdate",_,B);for(const h of re)h.updateGuards.forEach(b=>{D.push(Tt(b,_,B))});return D.push(p),Ke(D)}).then(()=>{D=[];for(const h of me)if(h.beforeEnter)if(tt(h.beforeEnter))for(const b of h.beforeEnter)D.push(Tt(b,_,B));else D.push(Tt(h.beforeEnter,_,B));return D.push(p),Ke(D)}).then(()=>(_.matched.forEach(h=>h.enterCallbacks={}),D=Zs(me,"beforeRouteEnter",_,B,Je),D.push(p),Ke(D))).then(()=>{D=[];for(const h of i.list())D.push(Tt(h,_,B));return D.push(p),Ke(D)}).catch(h=>gt(h,8)?h:Promise.reject(h))}function St(_,B,D){l.list().forEach(N=>Je(()=>N(_,B,D)))}function Dt(_,B,D,N,re){const me=O(_,B);if(me)return me;const p=B===At,h=en?history.state:{};D&&(N||p?r.replace(_.fullPath,ie({scroll:p&&h&&h.scroll},re)):r.push(_.fullPath,re)),c.value=_,ot(_,B,D,p),Ct()}let rt;function pn(){rt||(rt=r.listen((_,B,D)=>{if(!Kn.listening)return;const N=I(_),re=Y(N);if(re){G(ie(re,{replace:!0}),N).catch(An);return}a=N;const me=c.value;en&&Qu(Po(me.fullPath,D.delta),Rs()),st(N,me).catch(p=>gt(p,12)?p:gt(p,2)?(G(p.to,N).then(h=>{gt(h,20)&&!D.delta&&D.type===Ln.pop&&r.go(-1,!1)}).catch(An),Promise.reject()):(D.delta&&r.go(-D.delta,!1),te(p,N,me))).then(p=>{p=p||Dt(N,me,!1),p&&(D.delta&&!gt(p,8)?r.go(-D.delta,!1):D.type===Ln.pop&>(p,20)&&r.go(-1,!1)),St(N,me,p)}).catch(An)}))}let Gt=bn(),Ee=bn(),le;function te(_,B,D){Ct(_);const N=Ee.list();return N.length?N.forEach(re=>re(_,B,D)):console.error(_),Promise.reject(_)}function ht(){return le&&c.value!==At?Promise.resolve():new Promise((_,B)=>{Gt.add([_,B])})}function Ct(_){return le||(le=!_,pn(),Gt.list().forEach(([B,D])=>_?D(_):B()),Gt.reset()),_}function ot(_,B,D,N){const{scrollBehavior:re}=e;if(!en||!re)return Promise.resolve();const me=!D&&Gu(Po(_.fullPath,0))||(N||!D)&&history.state&&history.state.scroll||null;return Mr().then(()=>re(_,B,me)).then(p=>p&&Wu(p)).catch(p=>te(p,_,B))}const De=_=>r.go(_);let Jt;const Zt=new Set,Kn={currentRoute:c,listening:!0,addRoute:m,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:w,getRoutes:E,resolve:I,options:e,push:L,replace:V,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Ee.add,isReady:ht,install(_){const B=this;_.component("RouterLink",vf),_.component("RouterView",Cl),_.config.globalProperties.$router=B,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>Me(c)}),en&&!Jt&&c.value===At&&(Jt=!0,L(r.location).catch(re=>{}));const D={};for(const re in At)Object.defineProperty(D,re,{get:()=>c.value[re],enumerable:!0});_.provide(ks,B),_.provide(Nr,Ti(D)),_.provide(mr,c);const N=_.unmount;Zt.add(_),_.unmount=function(){Zt.delete(_),Zt.size<1&&(a=At,rt&&rt(),rt=null,c.value=At,Jt=!1,le=!1),N()}}};function Ke(_){return _.reduce((B,D)=>B.then(()=>Je(D)),Promise.resolve())}return Kn}function Cf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;icn(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>cn(a,c))||r.push(c))}return[n,s,r]}function Ur(){return et(ks)}function Al(e){return et(Nr)}const Af={__name:"App",setup(e){return(t,n)=>(S(),Ge(Me(Cl)))}},Rf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2023%2023'%3e%3cpath%20fill='%23f3f3f3'%20d='M0%200h23v23H0z'/%3e%3cpath%20fill='%23f35325'%20d='M1%201h10v10H1z'/%3e%3cpath%20fill='%2381bc06'%20d='M12%201h10v10H12z'/%3e%3cpath%20fill='%2305a6f0'%20d='M1%2012h10v10H1z'/%3e%3cpath%20fill='%23ffba08'%20d='M12%2012h10v10H12z'/%3e%3c/svg%3e",we=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},kf={props:{customClass:{type:String},sizeClass:{type:String,default:"text-5xl"}}},Tf={class:"flex space-x-1"};function Of(e,t,n,s,r,o){return S(),k("div",Tf,[f("h1",{class:Z([n.customClass||"text-light"])},[f("span",{class:Z(["italic",n.sizeClass])},"Achei",2)],2),f("h1",{class:Z([n.customClass||"text-light"])},[f("span",{class:Z(["font-bold",n.sizeClass])},"UnB",2)],2)])}const _t=we(kf,[["render",Of]]),Pf={id:"transition-screen",class:"fixed inset-0 flex items-center justify-center z-50"},If={class:"fixed inset-0 flex items-center justify-center z-50"},Mf={id:"main-content",class:"telaInteira bg-azul text-white p-4 min-h-screen hidden"},Lf={class:"titulo flex space-x-1 mt-20 mb-20 ml-8 md:flex md:justify-center md:mb-52"},jf={__name:"Login",setup(e){window.addEventListener("load",()=>{const n=document.getElementById("transition-screen"),s=document.getElementById("main-content");setTimeout(()=>{n.classList.add("fade-out")},500),n.addEventListener("animationend",()=>{n.classList.add("hidden"),s.classList.remove("hidden"),s.classList.add("fade-in")})});function t(){window.location.href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=f1b79927-10ff-4601-a361-f9cab58fb250&scope=User.Read&response_type=code&state=Zay5NfY4tSn7JgvO&domain=alunos.unb.br"}return(n,s)=>(S(),k(Q,null,[f("div",Pf,[f("div",If,[F(_t,{customClass:"text-azul"})])]),f("div",Mf,[f("div",Lf,[F(_t)]),s[1]||(s[1]=f("div",{class:"slogan max-w-72 ml-8 md:mr-8 md:max-w-none md:w-auto md:text-center"},[f("p",{class:"text-5xl font-bold mb-4 md:text-6xl"},"Perdeu algo no campus?"),f("p",{class:"text-5xl italic font-light mb-4 md:text-6xl"},"A gente te ajuda!")],-1)),f("div",{class:"flex justify-center mt-52"},[f("button",{onClick:t,class:"flex items-center rounded-full bg-gray-50 px-5 py-3 text-md font-medium text-azul ring-1 ring-inset ring-gray-500/10"},s[0]||(s[0]=[f("img",{src:Rf,alt:"Logo Microsoft",class:"h-6 w-auto mr-2"},null,-1),Se(" Entre com a conta da Microsoft ")]))])])],64))}},Ko=we(jf,[["__scopeId","data-v-cdb7a9e0"]]),Df={name:"AboutHeader",props:{text:String}},$f={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-center text-white p-6"},Ff={class:"font-inter font-semibold text-2xl"};function Bf(e,t,n,s,r,o){return S(),k("div",$f,[f("div",null,[f("span",Ff,ee(n.text?n.text:"Sobre o projeto"),1)])])}const Nf=we(Df,[["render",Bf]]),Uf={name:"MainMenu",props:{activeIcon:String}},zf={class:"h-full bg-azul shadow-md rounded-t-xl flex items-center justify-center text-white gap-x-9 p-8"};function Hf(e,t,n,s,r,o){const i=he("router-link");return S(),k("div",zf,[F(i,{to:"/found",class:"no-underline"},{default:ge(()=>[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:Z(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="search"}])},t[0]||(t[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"},null,-1)]),2))]),_:1}),F(i,{to:"/user",class:"no-underline"},{default:ge(()=>[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:Z(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="user"}])},t[1]||(t[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"},null,-1)]),2))]),_:1}),F(i,{to:"/about",class:"no-underline"},{default:ge(()=>[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:Z(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="info"}])},t[2]||(t[2]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"},null,-1)]),2))]),_:1}),F(i,{to:"/chats",class:"no-underline"},{default:ge(()=>[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:Z(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="chat"}])},t[3]||(t[3]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"},null,-1)]),2))]),_:1})])}const Et=we(Uf,[["render",Hf]]),qf="/static/dist/assets/Favicon-DZaE_dAz.png",Vf={class:"relative min-h-screen"},Kf={class:"fixed w-full top-0",style:{"z-index":"1"}},Wf={class:"pt-[120px] flex justify-center my-6 text-azul"},Qf={class:"max-w-4xl mx-auto mt-10 p-5 pb-[140px]"},Gf={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"},Jf=["href"],Zf=["src","alt"],Xf={class:"text-center mt-2"},Yf={class:"font-inter font-medium"},ed={class:"fixed bottom-0 w-full"},td={__name:"About",setup(e){const t=X(qf),n=[{name:"Ana Elisa Ramos",github:"https://github.com/anaelisaramos",image:"https://github.com/anaelisaramos.png"},{name:"Davi Camilo",github:"https://github.com/DaviCamilo23",image:"https://github.com/DaviCamilo23.png"},{name:"Euller Júlio da Silva",github:"https://github.com/potatoyz908",image:"https://github.com/potatoyz908.png"},{name:"Leonardo Ramiro",github:"https://github.com/leoramiroo",image:"https://github.com/leoramiroo.png"},{name:"Pedro Everton",github:"https://github.com/pedroeverton217",image:"https://github.com/pedroeverton217.png"},{name:"Pedro Martins Silva",github:"https://github.com/314dro",image:"https://github.com/314dro.png"},{name:"Tiago Balieiro",github:"https://github.com/TiagoBalieiro",image:"https://github.com/TiagoBalieiro.png"}];return(s,r)=>{const o=he("ButtonAdd");return S(),k("div",Vf,[f("div",{class:"absolute inset-0 bg-no-repeat bg-cover bg-center opacity-10 z-[-1]",style:$n({backgroundImage:`url(${t.value})`,backgroundSize:s.isLargeScreen?"50%":"contain",backgroundAttachment:"fixed"})},null,4),f("div",Kf,[F(Nf)]),f("div",Wf,[F(_t)]),r[2]||(r[2]=f("span",{class:"font-inter text-azul text-center flex justify-center items-center mx-auto max-w-3xl sm:px-0 px-4 md:max-w-2xl mt-7"},[Se(" Somos um grupo da disciplina Métodos de Desenvolvimento de Software da Universidade de Brasília."),f("br"),Se(" Temos como objetivo solucionar um dos problemas da faculdade, que é a falta de ferramentas para organizar itens achados e perdidos pelos estudantes."),f("br"),Se(" Com o AcheiUnB você consegue de forma simples e intuitiva procurar pelo seu item perdido ou cadastrar um item que você encontrou. ")],-1)),r[3]||(r[3]=f("div",{class:"flex justify-center mt-6"},[f("a",{href:"https://unb-mds.github.io/2024-2-AcheiUnB/CONTRIBUTING/",target:"_blank",class:"bg-laranja text-white font-semibold px-8 py-3 text-lg lg:text-xl rounded-full hover:bg-azulEscuro transition hover:text-white duration-300 shadow-md hover:scale-110 transition-transform"}," Como Contribuir? ")],-1)),f("div",Qf,[r[1]||(r[1]=f("div",{class:"text-azul text-lg text-center font-semibold mb-7"},"Criado por:",-1)),f("div",Gf,[(S(),k(Q,null,xe(n,i=>f("div",{key:i.name,class:"flex flex-col items-center"},[f("a",{href:i.github,target:"_blank"},[f("img",{src:i.image,alt:i.name,class:"w-[100px] rounded-full hover:scale-110 transition-transform"},null,8,Zf)],8,Jf),f("div",Xf,[f("p",Yf,ee(i.name),1),r[0]||(r[0]=f("p",{class:"text-sm text-cinza3"},"Engenharia de Software",-1))])])),64))])]),F(o),f("div",ed,[F(Et,{activeIcon:"info"})])])}}},zr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%238899a8'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m14.74%209-.346%209m-4.788%200L9.26%209m9.968-3.21c.342.052.682.107%201.022.166m-1.022-.165L18.16%2019.673a2.25%202.25%200%200%201-2.244%202.077H8.084a2.25%202.25%200%200%201-2.244-2.077L4.772%205.79m14.456%200a48.108%2048.108%200%200%200-3.478-.397m-12%20.562c.34-.059.68-.114%201.022-.165m0%200a48.11%2048.11%200%200%201%203.478-.397m7.5%200v-.916c0-1.18-.91-2.164-2.09-2.201a51.964%2051.964%200%200%200-3.32%200c-1.18.037-2.09%201.022-2.09%202.201v.916m7.5%200a48.667%2048.667%200%200%200-7.5%200'%20/%3e%3c/svg%3e",nd="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23133E78'%20%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M15%2010.5a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z'%20/%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%2010.5c0%207.142-7.5%2011.25-7.5%2011.25S4.5%2017.642%204.5%2010.5a7.5%207.5%200%201%201%2015%200Z'%20/%3e%3c/svg%3e",sd={class:"w-full h-[120px] bg-cinza2 rounded-sm flex justify-center items-start"},rd=["src"],od={key:1,class:"fixed inset-0 flex items-center justify-center"},id={class:"flex flex-col sm:flex-row justify-center mt-4 gap-4"},ld={class:"text-azul font-bold font-inter mt-1 truncate"},ad={class:"flex items-start"},cd={class:"text-azul font-inter text-sm"},ud={class:"text-right font-inter font-bold text-xs text-cinza3 p-1 flex justify-end items-center"},Ts={__name:"Item-Card",props:{id:Number,image:String,name:String,time:String,location:String,isMyItem:{type:Boolean,default:!1}},emits:["delete"],setup(e,{emit:t}){const n=e,s=t,r=Ur(),o=X(!1),i=()=>{o.value||r.push({name:"ListItem",query:{idItem:n.id}})},l=()=>{s("delete",n.id),o.value=!1};return(c,a)=>(S(),k("div",{class:"w-[170px] sm:w-[190px] h-[230px] bg-cinza1 rounded-sm shadow-complete p-2 flex flex-col relative z-0",onClick:a[3]||(a[3]=u=>i())},[f("div",sd,[f("img",{src:e.image,class:"rounded-sm w-full h-full max-w-full max-h-full object-cover"},null,8,rd)]),e.isMyItem?(S(),k("button",{key:0,class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-7 h-7 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:a[0]||(a[0]=Ro(u=>o.value=!0,["stop"]))},a[4]||(a[4]=[f("img",{src:zr,alt:"Excluir"},null,-1)]))):be("",!0),o.value?(S(),k("div",od,[f("div",{class:"bg-azul p-6 rounded-lg shadow-lg w-full max-w-sm sm:max-w-md lg:max-w-lg text-center",onClick:a[2]||(a[2]=Ro(()=>{},["stop"]))},[a[5]||(a[5]=f("p",{class:"text-white font-inter text-lg"}," Você realmente deseja excluir este item do AcheiUnB? ",-1)),f("div",id,[f("button",{class:"bg-red-500 text-white font-inter px-4 py-2 rounded-md hover:bg-red-600 transition w-full sm:w-auto",onClick:l}," Excluir "),f("button",{class:"bg-white font-inter px-4 py-2 rounded-md hover:bg-gray-200 transition w-full sm:w-auto",onClick:a[1]||(a[1]=u=>o.value=!1)}," Cancelar ")])])])):be("",!0),a[7]||(a[7]=f("div",{class:"h-[2px] w-1/4 bg-laranja mt-4"},null,-1)),f("div",ld,ee(e.name),1),f("div",ad,[a[6]||(a[6]=f("img",{src:nd,alt:"",class:"w-[15px] h-[15px] mr-1"},null,-1)),f("div",cd,ee(e.location),1)]),f("span",ud,[e.isMyItem?be("",!0):(S(),k(Q,{key:0},[Se(ee(e.time),1)],64))])]))}},Rl="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23133E78'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",fd={props:{customClass:{name:"ButtonAdd",type:String}}};function dd(e,t,n,s,r,o){const i=he("router-link");return S(),Ge(i,{to:"/register-lost"},{default:ge(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item perdido"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Rl,alt:""})])],-1)])),_:1})}const pd=we(fd,[["render",dd]]),ae=Fn({searchQuery:"",activeCategory:null,activeLocation:null}),hd=e=>{ae.searchQuery=e},md=e=>{ae.activeCategory==e?ae.activeCategory=null:ae.activeCategory=e},gd=e=>{ae.activeLocation==e?ae.activeLocation=null:ae.activeLocation=e},bd={name:"SearchBar",setup(){return{filtersState:ae,setSearchQuery:hd,setActiveCategory:md,setActiveLocation:gd}},data(){return{showFilters:!1,isActive:!1,categories:[{label:"Animais",active:!1},{label:"Eletrônicos",active:!1},{label:"Mochilas e Bolsas",active:!1},{label:"Chaves",active:!1},{label:"Livros e Materiais Acadêmicos",active:!1},{label:"Documentos e Cartões",active:!1},{label:"Equipamentos Esportivos",active:!1},{label:"Roupas e Acessórios",active:!1},{label:"Itens Pessoais",active:!1},{label:"Outros",active:!1}],locations:[{label:"RU",active:!1},{label:"Biblioteca",active:!1},{label:"UED",active:!1},{label:"UAC",active:!1},{label:"LTDEA",active:!1},{label:"Centro Acadêmico",active:!1}]}},computed:{isMediumOrLarger(){return window.innerWidth>=768},searchQueryWithoutAccents(){return this.searchQuery?this.searchQuery.normalize("NFD").replace(/[\u0300-\u036f]/g,""):""}},methods:{toggleActive(){this.isActive=!this.isActive},toggleFilters(){this.showFilters=!this.showFilters},toggleFilter(e,t){e==="category"?this.categories.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1}):e==="location"&&this.locations.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1})}}},xd={class:"flex gap-2 flex-wrap mt-4"},yd=["onClick"],vd={class:"flex gap-2 flex-wrap mt-4"},_d=["onClick"];function wd(e,t,n,s,r,o){return S(),k("form",{class:Z(["absolute flex items-center",{"fixed w-full top-6 pr-8 z-50":r.isActive&&!o.isMediumOrLarger,"relative w-auto":!r.isActive||o.isMediumOrLarger}])},[f("button",{onClick:t[0]||(t[0]=i=>{o.toggleFilters(),o.toggleActive()}),class:"absolute left-3 text-gray-500 hover:text-gray-700 transition-colors z-50",type:"button"},t[5]||(t[5]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})],-1)])),Ae(f("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>s.filtersState.searchQuery=i),class:"input bg-gray-200 rounded-full px-10 py-2 my-1 border-2 border-transparent focus:outline-none focus:border-laranja placeholder-gray-500 text-gray-700 transition-all duration-300 shadow-md pr-10 w-full z-40",placeholder:"Pesquise seu item",type:"text",onInput:t[2]||(t[2]=i=>s.setSearchQuery(s.filtersState.searchQuery)),onFocus:t[3]||(t[3]=i=>r.isActive=!0),onBlur:t[4]||(t[4]=i=>{r.isActive=!1,r.showFilters=!1})},null,544),[[vt,s.filtersState.searchQuery]]),f("button",{class:Z(["absolute right-4 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 transition-colors duration-200 z-50",{"pr-8":r.isActive&&!o.isMediumOrLarger}]),type:"submit"},t[6]||(t[6]=[f("svg",{width:"17",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-labelledby":"search",class:"w-5 h-5"},[f("path",{d:"M7.667 12.667A5.333 5.333 0 107.667 2a5.333 5.333 0 000 10.667zM14.334 14l-2.9-2.9",stroke:"currentColor","stroke-width":"1.333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2),r.showFilters?(S(),k("div",{key:0,class:Z(["absolute left-0 bg-gray-200 shadow-lg rounded-xl p-4 z-30",{"w-fit mr-8":r.isActive&&!o.isMediumOrLarger,"w-full":o.isMediumOrLarger}]),style:{top:"calc(50% - 4px)"}},[f("div",xd,[t[7]||(t[7]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Categoria ",-1)),(S(!0),k(Q,null,xe(r.categories,(i,l)=>(S(),k("button",{key:l,onClick:c=>(o.toggleFilter("category",l),s.setActiveCategory(i.label)),class:Z(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},ee(i.label),11,yd))),128))]),t[9]||(t[9]=f("div",{class:"h-[2px] w-full bg-laranja mt-4"},null,-1)),f("div",vd,[t[8]||(t[8]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Local ",-1)),(S(!0),k(Q,null,xe(r.locations,(i,l)=>(S(),k("button",{key:l,onClick:c=>(o.toggleFilter("location",l),s.setActiveLocation(i.label)),class:Z(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},ee(i.label),11,_d))),128))])],2)):be("",!0)],2)}const Ed=we(bd,[["render",wd]]),Sd={name:"SearchHeader",components:{SearchBar:Ed,Logo:_t}},Cd={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between text-white gap-x-9 p-4"},Ad={class:"flex-1"};function Rd(e,t,n,s,r,o){const i=he("SearchBar"),l=he("Logo"),c=he("router-link");return S(),k("div",Cd,[f("div",Ad,[F(i)]),f("button",null,[F(c,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Hr=we(Sd,[["render",Rd]]),kd={name:"SubMenu"},Td={class:"flex pt-8 space-x-8 justify-center"};function Od(e,t,n,s,r,o){const i=he("router-link");return S(),k("div",Td,[F(i,{to:"/found",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[Se(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const Pd=we(kd,[["render",Od]]);function kl(e,t){return function(){return e.apply(t,arguments)}}const{toString:Id}=Object.prototype,{getPrototypeOf:qr}=Object,Os=(e=>t=>{const n=Id.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),nt=e=>(e=e.toLowerCase(),t=>Os(t)===e),Ps=e=>t=>typeof t===e,{isArray:fn}=Array,jn=Ps("undefined");function Md(e){return e!==null&&!jn(e)&&e.constructor!==null&&!jn(e.constructor)&&Ve(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Tl=nt("ArrayBuffer");function Ld(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Tl(e.buffer),t}const jd=Ps("string"),Ve=Ps("function"),Ol=Ps("number"),Is=e=>e!==null&&typeof e=="object",Dd=e=>e===!0||e===!1,es=e=>{if(Os(e)!=="object")return!1;const t=qr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$d=nt("Date"),Fd=nt("File"),Bd=nt("Blob"),Nd=nt("FileList"),Ud=e=>Is(e)&&Ve(e.pipe),zd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ve(e.append)&&((t=Os(e))==="formdata"||t==="object"&&Ve(e.toString)&&e.toString()==="[object FormData]"))},Hd=nt("URLSearchParams"),[qd,Vd,Kd,Wd]=["ReadableStream","Request","Response","Headers"].map(nt),Qd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Un(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),fn(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Ut=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Il=e=>!jn(e)&&e!==Ut;function gr(){const{caseless:e}=Il(this)&&this||{},t={},n=(s,r)=>{const o=e&&Pl(t,r)||r;es(t[o])&&es(s)?t[o]=gr(t[o],s):es(s)?t[o]=gr({},s):fn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(Un(t,(r,o)=>{n&&Ve(r)?e[o]=kl(r,n):e[o]=r},{allOwnKeys:s}),e),Jd=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Zd=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Xd=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&qr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Yd=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},ep=e=>{if(!e)return null;if(fn(e))return e;let t=e.length;if(!Ol(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},tp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&qr(Uint8Array)),np=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},sp=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},rp=nt("HTMLFormElement"),op=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Wo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ip=nt("RegExp"),Ml=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Un(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},lp=e=>{Ml(e,(t,n)=>{if(Ve(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Ve(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ap=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return fn(e)?s(e):s(String(e).split(t)),n},cp=()=>{},up=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Xs="abcdefghijklmnopqrstuvwxyz",Qo="0123456789",Ll={DIGIT:Qo,ALPHA:Xs,ALPHA_DIGIT:Xs+Xs.toUpperCase()+Qo},fp=(e=16,t=Ll.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function dp(e){return!!(e&&Ve(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const pp=e=>{const t=new Array(10),n=(s,r)=>{if(Is(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=fn(s)?[]:{};return Un(s,(i,l)=>{const c=n(i,r+1);!jn(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},hp=nt("AsyncFunction"),mp=e=>e&&(Is(e)||Ve(e))&&Ve(e.then)&&Ve(e.catch),jl=((e,t)=>e?setImmediate:t?((n,s)=>(Ut.addEventListener("message",({source:r,data:o})=>{r===Ut&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Ut.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ve(Ut.postMessage)),gp=typeof queueMicrotask<"u"?queueMicrotask.bind(Ut):typeof process<"u"&&process.nextTick||jl,x={isArray:fn,isArrayBuffer:Tl,isBuffer:Md,isFormData:zd,isArrayBufferView:Ld,isString:jd,isNumber:Ol,isBoolean:Dd,isObject:Is,isPlainObject:es,isReadableStream:qd,isRequest:Vd,isResponse:Kd,isHeaders:Wd,isUndefined:jn,isDate:$d,isFile:Fd,isBlob:Bd,isRegExp:ip,isFunction:Ve,isStream:Ud,isURLSearchParams:Hd,isTypedArray:tp,isFileList:Nd,forEach:Un,merge:gr,extend:Gd,trim:Qd,stripBOM:Jd,inherits:Zd,toFlatObject:Xd,kindOf:Os,kindOfTest:nt,endsWith:Yd,toArray:ep,forEachEntry:np,matchAll:sp,isHTMLForm:rp,hasOwnProperty:Wo,hasOwnProp:Wo,reduceDescriptors:Ml,freezeMethods:lp,toObjectSet:ap,toCamelCase:op,noop:cp,toFiniteNumber:up,findKey:Pl,global:Ut,isContextDefined:Il,ALPHABET:Ll,generateString:fp,isSpecCompliantForm:dp,toJSONObject:pp,isAsyncFn:hp,isThenable:mp,setImmediate:jl,asap:gp};function W(e,t,n,s,r){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),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}x.inherits(W,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:x.toJSONObject(this.config),code:this.code,status:this.status}}});const Dl=W.prototype,$l={};["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=>{$l[e]={value:e}});Object.defineProperties(W,$l);Object.defineProperty(Dl,"isAxiosError",{value:!0});W.from=(e,t,n,s,r,o)=>{const i=Object.create(Dl);return x.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),W.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const bp=null;function br(e){return x.isPlainObject(e)||x.isArray(e)}function Fl(e){return x.endsWith(e,"[]")?e.slice(0,-2):e}function Go(e,t,n){return e?e.concat(t).map(function(r,o){return r=Fl(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function xp(e){return x.isArray(e)&&!e.some(br)}const yp=x.toFlatObject(x,{},null,function(t){return/^is[A-Z]/.test(t)});function Ms(e,t,n){if(!x.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=x.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,w){return!x.isUndefined(w[E])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(t);if(!x.isFunction(r))throw new TypeError("visitor must be a function");function a(y){if(y===null)return"";if(x.isDate(y))return y.toISOString();if(!c&&x.isBlob(y))throw new W("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(y)||x.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function u(y,E,w){let I=y;if(y&&!w&&typeof y=="object"){if(x.endsWith(E,"{}"))E=s?E:E.slice(0,-2),y=JSON.stringify(y);else if(x.isArray(y)&&xp(y)||(x.isFileList(y)||x.endsWith(E,"[]"))&&(I=x.toArray(y)))return E=Fl(E),I.forEach(function(O,L){!(x.isUndefined(O)||O===null)&&t.append(i===!0?Go([E],L,o):i===null?E:E+"[]",a(O))}),!1}return br(y)?!0:(t.append(Go(w,E,o),a(y)),!1)}const d=[],g=Object.assign(yp,{defaultVisitor:u,convertValue:a,isVisitable:br});function m(y,E){if(!x.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error("Circular reference detected in "+E.join("."));d.push(y),x.forEach(y,function(I,T){(!(x.isUndefined(I)||I===null)&&r.call(t,I,x.isString(T)?T.trim():T,E,g))===!0&&m(I,E?E.concat(T):[T])}),d.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Jo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Vr(e,t){this._pairs=[],e&&Ms(e,this,t)}const Bl=Vr.prototype;Bl.append=function(t,n){this._pairs.push([t,n])};Bl.toString=function(t){const n=t?function(s){return t.call(this,s,Jo)}:Jo;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function vp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Nl(e,t,n){if(!t)return e;const s=n&&n.encode||vp;x.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=x.isURLSearchParams(t)?t.toString():new Vr(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Zo{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){x.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Ul={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_p=typeof URLSearchParams<"u"?URLSearchParams:Vr,wp=typeof FormData<"u"?FormData:null,Ep=typeof Blob<"u"?Blob:null,Sp={isBrowser:!0,classes:{URLSearchParams:_p,FormData:wp,Blob:Ep},protocols:["http","https","file","blob","url","data"]},Kr=typeof window<"u"&&typeof document<"u",xr=typeof navigator=="object"&&navigator||void 0,Cp=Kr&&(!xr||["ReactNative","NativeScript","NS"].indexOf(xr.product)<0),Ap=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Rp=Kr&&window.location.href||"http://localhost",kp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Kr,hasStandardBrowserEnv:Cp,hasStandardBrowserWebWorkerEnv:Ap,navigator:xr,origin:Rp},Symbol.toStringTag,{value:"Module"})),Pe={...kp,...Sp};function Tp(e,t){return Ms(e,new Pe.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return Pe.isNode&&x.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Op(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Pp(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&x.isArray(r)?r.length:i,c?(x.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!x.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&x.isArray(r[i])&&(r[i]=Pp(r[i])),!l)}if(x.isFormData(e)&&x.isFunction(e.entries)){const n={};return x.forEachEntry(e,(s,r)=>{t(Op(s),r,n,0)}),n}return null}function Ip(e,t,n){if(x.isString(e))try{return(t||JSON.parse)(e),x.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const zn={transitional:Ul,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=x.isObject(t);if(o&&x.isHTMLForm(t)&&(t=new FormData(t)),x.isFormData(t))return r?JSON.stringify(zl(t)):t;if(x.isArrayBuffer(t)||x.isBuffer(t)||x.isStream(t)||x.isFile(t)||x.isBlob(t)||x.isReadableStream(t))return t;if(x.isArrayBufferView(t))return t.buffer;if(x.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Tp(t,this.formSerializer).toString();if((l=x.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ms(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Ip(t)):t}],transformResponse:[function(t){const n=this.transitional||zn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(x.isResponse(t)||x.isReadableStream(t))return t;if(t&&x.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?W.from(l,W.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Pe.classes.FormData,Blob:Pe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],e=>{zn.headers[e]={}});const Mp=x.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"]),Lp=e=>{const t={};let n,s,r;return e&&e.split(` -`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Mp[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Xo=Symbol("internals");function xn(e){return e&&String(e).trim().toLowerCase()}function ts(e){return e===!1||e==null?e:x.isArray(e)?e.map(ts):String(e)}function jp(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Dp=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ys(e,t,n,s,r){if(x.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!x.isString(t)){if(x.isString(s))return t.indexOf(s)!==-1;if(x.isRegExp(s))return s.test(t)}}function $p(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Fp(e,t){const n=x.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class $e{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,a){const u=xn(c);if(!u)throw new Error("header name must be a non-empty string");const d=x.findKey(r,u);(!d||r[d]===void 0||a===!0||a===void 0&&r[d]!==!1)&&(r[d||c]=ts(l))}const i=(l,c)=>x.forEach(l,(a,u)=>o(a,u,c));if(x.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(x.isString(t)&&(t=t.trim())&&!Dp(t))i(Lp(t),n);else if(x.isHeaders(t))for(const[l,c]of t.entries())o(c,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=xn(t),t){const s=x.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return jp(r);if(x.isFunction(n))return n.call(this,r,s);if(x.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=xn(t),t){const s=x.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Ys(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=xn(i),i){const l=x.findKey(s,i);l&&(!n||Ys(s,s[l],l,n))&&(delete s[l],r=!0)}}return x.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||Ys(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return x.forEach(this,(r,o)=>{const i=x.findKey(s,o);if(i){n[i]=ts(r),delete n[o];return}const l=t?$p(o):String(o).trim();l!==o&&delete n[o],n[l]=ts(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return x.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&x.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Xo]=this[Xo]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=xn(i);s[l]||(Fp(r,i),s[l]=!0)}return x.isArray(t)?t.forEach(o):o(t),this}}$e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors($e.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});x.freezeMethods($e);function er(e,t){const n=this||zn,s=t||n,r=$e.from(s.headers);let o=s.data;return x.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Hl(e){return!!(e&&e.__CANCEL__)}function dn(e,t,n){W.call(this,e??"canceled",W.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(dn,W,{__CANCEL__:!0});function ql(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Bp(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Np(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=s[o];i||(i=a),n[r]=c,s[r]=a;let d=o,g=0;for(;d!==r;)g+=n[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),a-i{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,a)};return[(...a)=>{const u=Date.now(),d=u-n;d>=s?i(a,u):(r=a,o||(o=setTimeout(()=>{o=null,i(r)},s-d)))},()=>r&&i(r)]}const ps=(e,t,n=3)=>{let s=0;const r=Np(50,250);return Up(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,a=r(c),u=i<=l;s=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},Yo=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},ei=e=>(...t)=>x.asap(()=>e(...t)),zp=Pe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Pe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Pe.origin),Pe.navigator&&/(msie|trident)/i.test(Pe.navigator.userAgent)):()=>!0,Hp=Pe.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),x.isString(s)&&i.push("path="+s),x.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function qp(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Vp(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Vl(e,t){return e&&!qp(t)?Vp(e,t):t}const ti=e=>e instanceof $e?{...e}:e;function Wt(e,t){t=t||{};const n={};function s(a,u,d,g){return x.isPlainObject(a)&&x.isPlainObject(u)?x.merge.call({caseless:g},a,u):x.isPlainObject(u)?x.merge({},u):x.isArray(u)?u.slice():u}function r(a,u,d,g){if(x.isUndefined(u)){if(!x.isUndefined(a))return s(void 0,a,d,g)}else return s(a,u,d,g)}function o(a,u){if(!x.isUndefined(u))return s(void 0,u)}function i(a,u){if(x.isUndefined(u)){if(!x.isUndefined(a))return s(void 0,a)}else return s(void 0,u)}function l(a,u,d){if(d in t)return s(a,u);if(d in e)return s(void 0,a)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(a,u,d)=>r(ti(a),ti(u),d,!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,g=d(e[u],t[u],u);x.isUndefined(g)&&d!==l||(n[u]=g)}),n}const Kl=e=>{const t=Wt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=$e.from(i),t.url=Nl(Vl(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(x.isFormData(n)){if(Pe.hasStandardBrowserEnv||Pe.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[a,...u]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([a||"multipart/form-data",...u].join("; "))}}if(Pe.hasStandardBrowserEnv&&(s&&x.isFunction(s)&&(s=s(t)),s||s!==!1&&zp(t.url))){const a=r&&o&&Hp.read(o);a&&i.set(r,a)}return t},Kp=typeof XMLHttpRequest<"u",Wp=Kp&&function(e){return new Promise(function(n,s){const r=Kl(e);let o=r.data;const i=$e.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:a}=r,u,d,g,m,y;function E(){m&&m(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let w=new XMLHttpRequest;w.open(r.method.toUpperCase(),r.url,!0),w.timeout=r.timeout;function I(){if(!w)return;const O=$e.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),V={data:!l||l==="text"||l==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:O,config:e,request:w};ql(function(G){n(G),E()},function(G){s(G),E()},V),w=null}"onloadend"in w?w.onloadend=I:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(I)},w.onabort=function(){w&&(s(new W("Request aborted",W.ECONNABORTED,e,w)),w=null)},w.onerror=function(){s(new W("Network Error",W.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let L=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const V=r.transitional||Ul;r.timeoutErrorMessage&&(L=r.timeoutErrorMessage),s(new W(L,V.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,w)),w=null},o===void 0&&i.setContentType(null),"setRequestHeader"in w&&x.forEach(i.toJSON(),function(L,V){w.setRequestHeader(V,L)}),x.isUndefined(r.withCredentials)||(w.withCredentials=!!r.withCredentials),l&&l!=="json"&&(w.responseType=r.responseType),a&&([g,y]=ps(a,!0),w.addEventListener("progress",g)),c&&w.upload&&([d,m]=ps(c),w.upload.addEventListener("progress",d),w.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(u=O=>{w&&(s(!O||O.type?new dn(null,e,w):O),w.abort(),w=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const T=Bp(r.url);if(T&&Pe.protocols.indexOf(T)===-1){s(new W("Unsupported protocol "+T+":",W.ERR_BAD_REQUEST,e));return}w.send(o||null)})},Qp=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(a){if(!r){r=!0,l();const u=a instanceof Error?a:this.reason;s.abort(u instanceof W?u:new dn(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>x.asap(l),c}},Gp=function*(e,t){let n=e.byteLength;if(n{const r=Jp(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:a,value:u}=await r.next();if(a){l(),c.close();return}let d=u.byteLength;if(n){let g=o+=d;n(g)}c.enqueue(new Uint8Array(u))}catch(a){throw l(a),a}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Ls=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Wl=Ls&&typeof ReadableStream=="function",Xp=Ls&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ql=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Yp=Wl&&Ql(()=>{let e=!1;const t=new Request(Pe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),si=64*1024,yr=Wl&&Ql(()=>x.isReadableStream(new Response("").body)),hs={stream:yr&&(e=>e.body)};Ls&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!hs[t]&&(hs[t]=x.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new W(`Response type '${t}' is not supported`,W.ERR_NOT_SUPPORT,s)})})})(new Response);const eh=async e=>{if(e==null)return 0;if(x.isBlob(e))return e.size;if(x.isSpecCompliantForm(e))return(await new Request(Pe.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(x.isArrayBufferView(e)||x.isArrayBuffer(e))return e.byteLength;if(x.isURLSearchParams(e)&&(e=e+""),x.isString(e))return(await Xp(e)).byteLength},th=async(e,t)=>{const n=x.toFiniteNumber(e.getContentLength());return n??eh(t)},nh=Ls&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:a,headers:u,withCredentials:d="same-origin",fetchOptions:g}=Kl(e);a=a?(a+"").toLowerCase():"text";let m=Qp([r,o&&o.toAbortSignal()],i),y;const E=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let w;try{if(c&&Yp&&n!=="get"&&n!=="head"&&(w=await th(u,s))!==0){let V=new Request(t,{method:"POST",body:s,duplex:"half"}),Y;if(x.isFormData(s)&&(Y=V.headers.get("content-type"))&&u.setContentType(Y),V.body){const[G,_e]=Yo(w,ps(ei(c)));s=ni(V.body,si,G,_e)}}x.isString(d)||(d=d?"include":"omit");const I="credentials"in Request.prototype;y=new Request(t,{...g,signal:m,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:I?d:void 0});let T=await fetch(y);const O=yr&&(a==="stream"||a==="response");if(yr&&(l||O&&E)){const V={};["status","statusText","headers"].forEach(Je=>{V[Je]=T[Je]});const Y=x.toFiniteNumber(T.headers.get("content-length")),[G,_e]=l&&Yo(Y,ps(ei(l),!0))||[];T=new Response(ni(T.body,si,G,()=>{_e&&_e(),E&&E()}),V)}a=a||"text";let L=await hs[x.findKey(hs,a)||"text"](T,e);return!O&&E&&E(),await new Promise((V,Y)=>{ql(V,Y,{data:L,headers:$e.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(I){throw E&&E(),I&&I.name==="TypeError"&&/fetch/i.test(I.message)?Object.assign(new W("Network Error",W.ERR_NETWORK,e,y),{cause:I.cause||I}):W.from(I,I&&I.code,e,y)}}),vr={http:bp,xhr:Wp,fetch:nh};x.forEach(vr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ri=e=>`- ${e}`,sh=e=>x.isFunction(e)||e===null||e===!1,Gl={getAdapter:e=>{e=x.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : -`+o.map(ri).join(` -`):" "+ri(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:vr};function tr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new dn(null,e)}function oi(e){return tr(e),e.headers=$e.from(e.headers),e.data=er.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Gl.getAdapter(e.adapter||zn.adapter)(e).then(function(s){return tr(e),s.data=er.call(e,e.transformResponse,s),s.headers=$e.from(s.headers),s},function(s){return Hl(s)||(tr(e),s&&s.response&&(s.response.data=er.call(e,e.transformResponse,s.response),s.response.headers=$e.from(s.response.headers))),Promise.reject(s)})}const Jl="1.7.8",js={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{js[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const ii={};js.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Jl+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new W(r(i," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!ii[i]&&(ii[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};js.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function rh(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new W("option "+o+" must be "+c,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+o,W.ERR_BAD_OPTION)}}const ns={assertOptions:rh,validators:js},at=ns.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new Zo,response:new Zo}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Wt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&ns.assertOptions(s,{silentJSONParsing:at.transitional(at.boolean),forcedJSONParsing:at.transitional(at.boolean),clarifyTimeoutError:at.transitional(at.boolean)},!1),r!=null&&(x.isFunction(r)?n.paramsSerializer={serialize:r}:ns.assertOptions(r,{encode:at.function,serialize:at.function},!0)),ns.assertOptions(n,{baseUrl:at.spelling("baseURL"),withXsrfToken:at.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&x.merge(o.common,o[n.method]);o&&x.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=$e.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(c=c&&E.synchronous,l.unshift(E.fulfilled,E.rejected))});const a=[];this.interceptors.response.forEach(function(E){a.push(E.fulfilled,E.rejected)});let u,d=0,g;if(!c){const y=[oi.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,a),g=y.length,u=Promise.resolve(n);d{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new dn(o,i,l),n(s.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Wr(function(r){t=r}),cancel:t}}}function oh(e){return function(n){return e.apply(null,n)}}function ih(e){return x.isObject(e)&&e.isAxiosError===!0}const _r={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};Object.entries(_r).forEach(([e,t])=>{_r[t]=e});function Zl(e){const t=new qt(e),n=kl(qt.prototype.request,t);return x.extend(n,qt.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Zl(Wt(e,r))},n}const pe=Zl(zn);pe.Axios=qt;pe.CanceledError=dn;pe.CancelToken=Wr;pe.isCancel=Hl;pe.VERSION=Jl;pe.toFormData=Ms;pe.AxiosError=W;pe.Cancel=pe.CanceledError;pe.all=function(t){return Promise.all(t)};pe.spread=oh;pe.isAxiosError=ih;pe.mergeConfig=Wt;pe.AxiosHeaders=$e;pe.formToJSON=e=>zl(x.isHTMLForm(e)?new FormData(e):e);pe.getAdapter=Gl.getAdapter;pe.HttpStatusCode=_r;pe.default=pe;const Hn="http://localhost:8000/api/items",lh=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...ae.searchQuery&&{search:ae.searchQuery},...ae.activeCategory&&{category_name:ae.activeCategory},...ae.activeLocation&&{location_name:ae.activeLocation}};return(await pe.get(`${Hn}/lost/`,{params:r})).data},ah=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...ae.searchQuery&&{search:ae.searchQuery},...ae.activeCategory&&{category_name:ae.activeCategory},...ae.activeLocation&&{location_name:ae.activeLocation}};return(await pe.get(`${Hn}/found/`,{params:r})).data},ch=async()=>{try{return(await pe.get(`${Hn}/found/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},uh=async()=>{try{return(await pe.get(`${Hn}/lost/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},Xl=async e=>{try{await pe.delete(`${Hn}/${e}/`)}catch(t){throw console.error("Erro ao deletar o item:",t),t}},Ds=e=>{const t=new Date,n=new Date(e),s=Math.floor((t-n)/1e3);if(s<60)return"Agora a pouco";if(s<3600){const r=Math.floor(s/60);return`Há ${r} minuto${r>1?"s":""}`}else if(s<86400){const r=Math.floor(s/3600);return`Há ${r} hora${r>1?"s":""}`}else{const r=Math.floor(s/86400);return`Há ${r} dia${r>1?"s":""}`}},qn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAACLCAYAAADCvR0YAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAASASURBVHhe7dxrT9RoHMbhinjCs0g8YyDE7/91MCoqalBjIB5BRTf/pjWsy+7OndhOX1xX0kynM74x/PL0edrOic3NzZ8NMLOF7hWYkWggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooHQic3NzZ/dPgNYWFhoLl++3L4O5cePH82HDx+a79+/d0cYkmgGdOrUqeb+/fuDBtM7PDxsXr161Xz58qU7wlBEM6C7d+82S0tL7Ujw8ePH7uifdfLkyeb06dNtoBXO48ePu08YimgG9ODBg/b13bt37TaUOv27ceNGu//kyROnaQOzEAAh0UBINBO3uLjYnDt3rt2YBtFMVE3sayFhfX29uXfvXrutra01ly5d6r7BvIhmgvpgauXtqDp+8+bN5sqVK90R5kE0E7S8vNwGUkvVL168aB4+fNg8f/68+fbt26/Px7j2w/H8z0/QhQsX2te6yv/58+d2f39/v9nZ2Wn369rM2bNn233GJ5oJq5HmqN/fMx+imaAaVUpN+vtRp07H+guYdZrWf4fxiWaCXr9+3Y4qdRp2+/bt9s6CjY2NX6dku7u7Rp05Es0E1Ujy7Nmzf9x8WaG8fPmy2dvb644wD6KZqApne3u72draalfQ6vXRo0fNp0+fum8wL6IZWc1Nzpw5M/MV/oqnVtD65WbmTzQjqljq+Zra+iv8dZvMLGpRoOY3tZ0/f747yjyIZiQXL15sQ+kvWpbar2P/F8HKykp7J0CtpNV2586d5tq1a92njE00I6hR4tatW+2pWZ1mPX36tJ3o136F828R9MvMV69ebd/XqtnBwUG7f/369WZ1dXXmkYo/RzQjqDBKrYZVLPWQWP3x1wS/n6tUBDWi9CqYuv+sHjAr9RDb27dv23/fP9BWS9CzjFT8WaIZSY0StRp29PpKBVMR9I9C14hSo0ctEtS8p78u8+bNm789+Vn79XsA/UjVXwBlHKIZQQVTo8RxKqIK4PfRo5/71P1mx12XqdCOjlSMRzQj6Och/6WiqUD6kahea2R6//59+/44FUxdv6koGY9oJqQCqdO1iqAWC2aJrXz9+rXbYwyimZgaPepUzi/KTJdoICSaAfXzk37JeSi1PM14/FjggI4+5z/kKlcfZb8wwLBEM6D6Y65whh5pSgVTq23mQsMTzQhqtBkynAqmnuTsTwcZlmggZAYJIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAORpvkL2ph89ykfsE8AAAAASUVORK5CYII=",fh={class:"min-h-screen"},dh={class:"fixed w-full top-0 z-10"},ph={class:"pt-24 pb-8"},hh={class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},mh={class:"flex w-full justify-start sm:justify-center"},gh={class:"ml-24 transform -translate-x-1/2 flex gap-4 z-10"},bh={class:"fixed bottom-0 w-full"},xh={__name:"Lost",setup(e){const t=X([]),n=X(1),s=X(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=ae,d=await lh({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[ae.searchQuery,ae.activeCategory,ae.activeLocation],()=>{n.value=1,r()}),jt(()=>r(n.value)),(l,c)=>(S(),k("div",fh,[f("div",dh,[F(Hr)]),f("div",ph,[F(Pd)]),f("div",hh,[(S(!0),k(Q,null,xe(t.value,a=>(S(),Ge(Ts,{key:a.id,name:a.name,location:a.location_name,time:Me(Ds)(a.created_at),image:a.image_urls[0]||Me(qn),id:a.id},null,8,["name","location","time","image","id"]))),128))]),f("div",mh,[f("div",gh,[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),F(pd),f("div",bh,[F(Et,{activeIcon:"search"})])]))}},yh={props:{customClass:{name:"ButtonAdd",type:String}}};function vh(e,t,n,s,r,o){const i=he("router-link");return S(),Ge(i,{to:"/register-found"},{default:ge(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item achado"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:Rl,alt:""})])],-1)])),_:1})}const _h=we(yh,[["render",vh]]),wh={name:"SubMenu"},Eh={class:"flex pt-8 space-x-8 justify-center"};function Sh(e,t,n,s,r,o){const i=he("router-link");return S(),k("div",Eh,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),F(i,{to:"/lost",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[Se(" Perdidos ")])),_:1})])}const Ch=we(wh,[["render",Sh]]),Ah={class:"min-h-screen"},Rh={class:"fixed w-full top-0 z-10"},kh={class:"pt-24 pb-8"},Th={class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Oh={class:"flex w-full justify-start sm:justify-center"},Ph={class:"bottom-32 ml-24 transform -translate-x-1/2 flex gap-4 z-10"},Ih={class:"fixed bottom-0 w-full"},Mh={__name:"Found",setup(e){const t=X([]),n=X(1),s=X(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=ae,d=await ah({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[ae.searchQuery,ae.activeCategory,ae.activeLocation],()=>{n.value=1,r()}),jt(()=>r(n.value)),(l,c)=>(S(),k("div",Ah,[f("div",Rh,[F(Hr)]),f("div",kh,[F(Ch)]),f("div",Th,[(S(!0),k(Q,null,xe(t.value,a=>(S(),Ge(Ts,{key:a.id,name:a.name,location:a.location_name,time:Me(Ds)(a.created_at),image:a.image_urls[0]||Me(qn),id:a.id},null,8,["name","location","time","image","id"]))),128))]),f("div",Oh,[f("div",Ph,[(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(S(),k("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),F(_h),f("div",Ih,[F(Et,{activeIcon:"search"})])]))}};class Yl{constructor(t){this.entity=t}validate(){for(const t of this.entity.requiredFields){const n=this.entity[t];if(!n||n==="")return!1}return!0}toFormData(){const t=new FormData;for(const[n,s]of Object.entries(this.entity))n!=="requiredFields"&&s!==void 0&&s!==null&&(Array.isArray(s)?s.forEach((r,o)=>{t.append(`${n}[${o}]`,r)}):t.append(n,s??null));return t}setFieldValue(t,n){this.entity[t]=n}}class ea{constructor(t=null,n="",s="",r="",o="",i="",l="",c=null,a=null,u="",d="",g=["name","category","location"]){this.user=t,this.name=n,this.category=s,this.location=r,this.color=o,this.brand=l,this.description=c,this.images=a,this.status=u,this.found_lost_date=i,this.barcode=d,this.requiredFields=g}}const Lh={props:{type:{type:String,default:"info",validator:e=>["success","error","info","warning"].includes(e)},message:{type:String,required:!0},duration:{type:Number,default:3e3}},data(){return{visible:!0}},computed:{alertClasses(){return{success:"bg-green-200 border-r-4 border-green-600 text-green-600",error:"bg-red-200 border-r-4 border-red-600 text-red-600",info:"bg-blue-500",warning:"bg-yellow-500 text-black"}},alertClassesText(){return{success:"text-green-600",error:"text-red-600",info:"text-blue-600",warning:"text-black-600"}}},mounted(){this.duration>0&&setTimeout(()=>{this.closeAlert()},this.duration)},methods:{closeAlert(){this.visible=!1,this.$emit("closed")}}};function jh(e,t,n,s,r,o){return r.visible?(S(),k("div",{key:0,class:Z(["fixed top-4 right-4 z-50 px-4 py-3 rounded flex items-center justify-between font-inter",o.alertClasses[n.type]]),role:"alert"},[f("p",null,ee(n.message),1),f("button",{onClick:t[0]||(t[0]=(...i)=>o.closeAlert&&o.closeAlert(...i)),class:Z(["ml-4 font-bold focus:outline-none",o.alertClassesText[n.type]])}," ✕ ",2)],2)):be("",!0)}const Dh=we(Lh,[["render",jh]]),ye=pe.create({baseURL:"http://localhost:8000/api",withCredentials:!0});ye.interceptors.response.use(e=>e,e=>(e.response.status===401&&na.push({name:"Login"}),Promise.reject(e)));const Pt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='currentColor'%20class='size-6%20stroke-white'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m19.5%208.25-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e",ta="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23FFFFFF'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",$h={name:"FormComponent",data(){return{item:new ea,foundTime:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ye.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ye.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ye.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ye.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="lost";const e=new Yl(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}e.foundLostDate&&this.setFoundLostDate();const t=e.toFormData();try{await ye.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/lost")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},setFoundLostDate(){const[e,t,n]=this.item.foundLostDate.split("-").map(Number),[s,r]=this.lostTime.split(":").map(Number);this.item.foundLostDate=new Date(n,t-1,e,s??0,r??0)},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},Fh={class:"grid md:grid-cols-4 gap-4"},Bh={class:"mb-4 col-span-2"},Nh={class:"block relative mb-4 col-span-2"},Uh=["value"],zh={class:"block relative mb-4 col-span-2"},Hh=["value"],qh={class:"block relative mb-4 col-span-2"},Vh=["value"],Kh={class:"block relative mb-4 col-span-2"},Wh=["value"],Qh={class:"mb-4 col-span-2"},Gh={class:"mb-4 col-span-2"},Jh={class:"mb-4 col-span-2"},Zh=["disabled"],Xh={class:"flex flex-wrap gap-4 col-span-3"},Yh=["src"],em=["onClick"],tm={class:"col-span-4"};function nm(e,t,n,s,r,o){var l,c;const i=he("Alert");return S(),k(Q,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",Fh,[f("div",Bh,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Item "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[vt,r.item.name]])]),f("div",Nh,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"category",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.categories,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,Uh))),128))],34),[[Ot,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",zh,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Local "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"location",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.locations,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,Hh))),128))],34),[[Ot,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",qh,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Ae(f("select",{id:"color",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.colors,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,Vh))),128))],34),[[Ot,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Kh,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Ae(f("select",{id:"brand",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.brands,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,Wh))),128))],34),[[Ot,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Qh,[t[34]||(t[34]=f("label",{for:"foundLostDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi perdido",-1)),Ae(f("input",{id:"foundLostDate",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundLostDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundLostDate=a),type:"date",name:"foundLostDate"},null,2),[[vt,r.item.foundLostDate]])]),f("div",Gh,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi perdido",-1)),Ae(f("input",{id:"foundTime",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[vt,r.foundTime]])]),f("div",Jh,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Ae(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[vt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:Z(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ta,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=Se(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,Zh)],2)]),f("div",Xh,[(S(!0),k(Q,null,xe(r.previews,(a,u)=>(S(),k("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,Yh),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:zr,alt:""},null,-1)]),8,em)]))),128))]),f("div",tm,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(S(),Ge(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):be("",!0),r.formSubmitted?(S(),Ge(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):be("",!0)],64)}const sm=we($h,[["render",nm]]),Vn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23FFFFFF'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m11.25%209-3%203m0%200%203%203m-3-3h7.5M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200Z'%20/%3e%3c/svg%3e",rm={name:"LostHeader",components:{Logo:_t},props:{text:String}},om={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},im={class:"font-inter font-semibold text-2xl"},lm={class:"ml-auto"};function am(e,t,n,s,r,o){const i=he("router-link"),l=he("Logo");return S(),k("div",om,[F(i,{to:"/lost",class:"inline-block"},{default:ge(()=>t[0]||(t[0]=[f("img",{src:Vn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",im,ee(n.text??"Cadastro de item perdido"),1)]),f("button",lm,[F(i,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const cm=we(rm,[["render",am]]),um={class:"fixed w-full top-0",style:{"z-index":"1"}},fm={class:"px-6 py-[120px]",style:{"z-index":"2"}},dm={class:"fixed bottom-0 w-full"},pm={__name:"Register-Lost",setup(e){return(t,n)=>(S(),k(Q,null,[f("div",um,[F(cm)]),f("div",fm,[F(sm)]),f("div",dm,[F(Et,{activeIcon:"search"})])],64))}},hm={name:"FormComponent",data(){return{item:new ea,foundTime:"",foundDate:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ye.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ye.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ye.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ye.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="found";const e=new Yl(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}if(this.item.foundDate){const n=this.formatFoundLostDate();e.setFieldValue("found_lost_date",n)}const t=e.toFormData();try{await ye.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/found")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},formatFoundLostDate(){var d;const[e,t,n]=this.item.foundDate.split("-").map(Number),[s,r]=(d=this.foundTime)==null?void 0:d.split(":").map(Number),o=new Date(e,t-1,n,s??0,r??0),i=o.getTimezoneOffset(),l=i>0?"-":"+",c=Math.abs(i),a=String(Math.floor(c/60)).padStart(2,"0"),u=String(c%60).padStart(2,"0");return`${o.getFullYear()}-${String(o.getMonth()+1).padStart(2,"0")}-${String(o.getDate()).padStart(2,"0")}T${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}${l}${a}${u}`},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},mm={class:"grid md:grid-cols-4 gap-4"},gm={class:"mb-4 col-span-2"},bm={class:"block relative mb-4 col-span-2"},xm=["value"],ym={class:"block relative mb-4 col-span-2"},vm=["value"],_m={class:"block relative mb-4 col-span-2"},wm=["value"],Em={class:"block relative mb-4 col-span-2"},Sm=["value"],Cm={class:"mb-4 col-span-2"},Am={class:"mb-4 col-span-2"},Rm={class:"mb-4 col-span-2"},km=["disabled"],Tm={class:"flex flex-wrap gap-4 col-span-3"},Om=["src"],Pm=["onClick"],Im={class:"col-span-4"};function Mm(e,t,n,s,r,o){var l,c;const i=he("Alert");return S(),k(Q,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",mm,[f("div",gm,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Item "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[vt,r.item.name]])]),f("div",bm,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"category",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.categories,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,xm))),128))],34),[[Ot,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",ym,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[Se("Local "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"location",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.locations,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,vm))),128))],34),[[Ot,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",_m,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Ae(f("select",{id:"color",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.colors,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,wm))),128))],34),[[Ot,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Em,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Ae(f("select",{id:"brand",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(S(!0),k(Q,null,xe(r.brands,a=>(S(),k("option",{key:a.id,value:a.id,class:"block text-gray-700"},ee(a.name),9,Sm))),128))],34),[[Ot,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Cm,[t[34]||(t[34]=f("label",{for:"foundDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi achado",-1)),Ae(f("input",{id:"foundDate",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundDate=a),type:"date",name:"foundDate"},null,2),[[vt,r.item.foundDate]])]),f("div",Am,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi achado",-1)),Ae(f("input",{id:"foundTime",class:Z(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[vt,r.foundTime]])]),f("div",Rm,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Ae(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[vt,r.item.description]])]),f("div",null,[f("label",{for:"images",class:Z(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ta,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=Se(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,km)],2)]),f("div",Tm,[(S(!0),k(Q,null,xe(r.previews,(a,u)=>(S(),k("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,Om),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:zr,alt:""},null,-1)]),8,Pm)]))),128))]),f("div",Im,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(S(),Ge(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):be("",!0),r.formSubmitted?(S(),Ge(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):be("",!0)],64)}const Lm=we(hm,[["render",Mm]]),jm={name:"FoundHeader",components:{Logo:_t},props:{text:String}},Dm={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},$m={class:"font-inter font-semibold text-2xl"},Fm={class:"ml-auto"};function Bm(e,t,n,s,r,o){const i=he("router-link"),l=he("Logo");return S(),k("div",Dm,[F(i,{to:"/found",class:"inline-block"},{default:ge(()=>t[0]||(t[0]=[f("img",{src:Vn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",$m,ee(n.text??"Cadastro de item achado"),1)]),f("button",Fm,[F(i,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Nm=we(jm,[["render",Bm]]),Um={class:"fixed w-full top-0",style:{"z-index":"1"}},zm={class:"px-6 py-[120px]",style:{"z-index":"2"}},Hm={class:"fixed bottom-0 w-full"},qm={__name:"Register-Found",setup(e){return(t,n)=>(S(),k(Q,null,[f("div",Um,[F(Nm)]),f("div",zm,[F(Lm)]),f("div",Hm,[F(Et,{activeIcon:"search"})])],64))}},Vm={class:"flex flex-col items-center px-6 pt-10 lg:pt-16"},Km={class:"w-24 h-24 lg:w-32 lg:h-32 rounded-full flex items-center justify-center border-4 border-laranja overflow-hidden"},Wm=["src"],Qm={key:1,class:"w-full h-full bg-cinza2 flex items-center justify-center text-cinza3 text-sm lg:text-lg"},Gm={class:"text-xl lg:text-3xl font-bold text-azul mt-4 lg:mt-6"},Jm={class:"text-sm lg:text-lg text-cinza3"},Zm={key:0,class:"text-sm lg:text-lg text-cinza3"},Xm={class:"pt-[30px] lg:pt-[50px] flex flex-col items-center w-full mt-6 space-y-4 lg:space-y-6"},Ym={class:"fixed bottom-0 w-full"},eg={__name:"User",setup(e){const t=X({foto:"",first_name:"",last_name:"",email:"",username:"",matricula:null});async function n(){try{console.log("Buscando dados do usuário logado...");const s=await ye.get("/auth/user/");console.log("Dados do usuário recebidos:",s.data),t.value={foto:s.data.foto||null,first_name:s.data.first_name,last_name:s.data.last_name,email:s.data.email,username:s.data.username,matricula:s.data.matricula}}catch(s){console.error("Erro ao carregar dados do usuário:",s)}}return jt(n),(s,r)=>{const o=he("router-link");return S(),k("div",Vm,[f("div",Km,[t.value.foto?(S(),k("img",{key:0,src:t.value.foto,alt:"Foto do Usuário",class:"w-full h-full object-cover"},null,8,Wm)):(S(),k("div",Qm," Foto Padrão "))]),f("h1",Gm,ee(t.value.first_name||t.value.last_name?t.value.first_name+" "+t.value.last_name:t.value.username),1),f("p",Jm,ee(t.value.email||"Email não disponível"),1),t.value.matricula?(S(),k("p",Zm," Matrícula: "+ee(t.value.matricula),1)):be("",!0),f("div",Xm,[F(o,{to:"/user-items-lost",class:"w-full flex justify-center"},{default:ge(()=>r[0]||(r[0]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Meus itens ativos ",-1)])),_:1}),r[2]||(r[2]=f("a",{href:"mailto:acheiunb2024@gmail.com",class:"w-full flex justify-center"},[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Reportar um problema ")],-1)),F(o,{to:"/",class:"w-full flex justify-center"},{default:ge(()=>r[1]||(r[1]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Sair da Conta ",-1)])),_:1})]),r[3]||(r[3]=f("div",{class:"h-16 lg:h-24"},null,-1)),f("div",Ym,[F(Et,{activeIcon:"user"})])])}}},tg={};function ng(e,t){return"chats"}const sg=we(tg,[["render",ng]]),rg={name:"ItemHeader",components:{Logo:_t},props:{title:{type:String,required:!0}},methods:{goBack(){this.$router.back()}}},og={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center text-white p-4 md:p-6"},ig={class:"flex items-center w-1/4"},lg={class:"flex-grow flex justify-center"},ag={class:"font-inter font-semibold text-lg md:text-2xl text-center break-words"},cg={class:"flex items-center w-1/4 justify-end"};function ug(e,t,n,s,r,o){const i=he("Logo"),l=he("router-link");return S(),k("div",og,[f("div",ig,[f("img",{onClick:t[0]||(t[0]=(...c)=>o.goBack&&o.goBack(...c)),src:Vn,alt:"Voltar",class:"w-[30px] h-[30px] text-white cursor-pointer"})]),f("div",lg,[f("span",ag,ee(n.title),1)]),f("div",cg,[F(l,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(i,{class:"pr-2 md:pr-4",sizeClass:"text-xl md:text-2xl"})]),_:1})])])}const fg=we(rg,[["render",ug]]),dg={key:0,class:"fixed w-full top-0 z-[1]"},pg={key:1,class:"px-6 py-[120px] flex flex-col items-center gap-6"},hg={class:"w-full md:flex md:gap-8 md:max-w-4xl"},mg={class:"w-full max-w-md md:max-w-none md:w-1/2 relative"},gg={key:0,class:"w-full h-64"},bg=["src"],xg=["src","alt"],yg={key:2,class:"md:hidden overflow-hidden relative"},vg=["src","alt"],_g={key:0,class:"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2"},wg={class:"w-full md:w-1/2 mt-6 md:mt-0"},Eg={class:"text-lg md:text-2xl font-bold text-left"},Sg={class:"text-sm md:text-base text-gray-500 text-left mt-2"},Cg={key:0,class:"text-sm md:text-base text-gray-500 text-left mt-1"},Ag={key:1,class:"text-sm md:text-base text-gray-500 text-left mt-1"},Rg={class:"flex flex-wrap gap-2 justify-start mt-4"},kg={key:0,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-blue-500"},Tg={key:1,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-laranja"},Og={key:2,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-gray-500"},Pg={class:"text-sm md:text-base text-gray-700 text-left mt-4"},Ig={class:"fixed bottom-0 w-full"},Mg={__name:"ListItem",setup(e){const t=Al(),n=Ur(),s=X(null),r=X(""),o=X(null),i=X(0),l=X(window.innerWidth<768),c=X(!1),a=w=>{const I=new Date(w);return`${I.toLocaleDateString("pt-BR",{timeZone:"America/Sao_Paulo"})} às ${I.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit",timeZone:"America/Sao_Paulo"})}`},u=()=>{i.value=(i.value+1)%s.value.image_urls.length},d=()=>{i.value=(i.value-1+s.value.image_urls.length)%s.value.image_urls.length},g=()=>{l.value=window.innerWidth<768};async function m(){try{const w=await ye.get(`/items/${t.query.idItem}/`);s.value=w.data,r.value=s.value.status,c.value=!0,console.log("Item carregado:",s.value)}catch(w){console.error("Erro ao carregar item:",w)}}async function y(){try{const w=await ye.get("/auth/user/");o.value=w.data,console.log("Usuário atual:",o.value)}catch(w){console.error("Erro ao buscar usuário:",w)}}const E=async()=>{var w,I,T,O;try{if(!s.value||!s.value.id){console.error("Item inválido ou não carregado:",s.value);return}if(!((w=o.value)!=null&&w.id)||!((I=s.value)!=null&&I.user_id)){console.error("IDs de usuário inválidos:",{currentUser:o.value,item:s.value});return}console.log("Item atual (ID):",s.value.id),console.log("Dono do item (user_id):",s.value.user_id),console.log("Usuário atual (ID):",o.value.id);const L={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Parâmetros para busca de chat:",L);const Y=(await ye.get("/chat/chatrooms/",{params:L})).data;if(console.log("Chats encontrados:",Y),Y&&Y.length>0){n.push(`/chat/${Y[0].id}?itemId=${s.value.id}`);return}const G={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Dados para criação de chat:",G);const _e=await ye.post("/chat/chatrooms/",G);if(console.log("Resposta da criação de chat:",_e.data),(T=_e.data)!=null&&T.id)n.push(`/chat/${_e.data.id}?itemId=${s.value.id}`);else throw new Error("Resposta inválida ao criar chatroom")}catch(L){console.error("Erro ao criar/aceder chat:",((O=L.response)==null?void 0:O.data)||L.message),alert("Ocorreu um erro ao iniciar o chat. Por favor, tente novamente.")}};return jt(async()=>{await y(),await m(),window.addEventListener("resize",g)}),zi(()=>{window.removeEventListener("resize",g)}),(w,I)=>(S(),k(Q,null,[c.value?(S(),k("div",dg,[F(fg,{title:r.value==="found"?"Item Achado":"Item Perdido"},null,8,["title"])])):be("",!0),s.value?(S(),k("div",pg,[f("div",hg,[f("div",mg,[!s.value.image_urls||s.value.image_urls.length===0?(S(),k("div",gg,[f("img",{src:Me(qn),alt:"Imagem não disponível",class:"w-full h-full object-contain"},null,8,bg)])):(S(),k("div",{key:1,class:Z(["hidden md:grid",s.value.image_urls.length===1?"grid-cols-1":"grid-cols-2 gap-4"])},[(S(!0),k(Q,null,xe(s.value.image_urls.slice(0,2),(T,O)=>(S(),k("img",{key:O,src:T,alt:`Imagem ${O+1} do item`,class:"h-64 w-full object-cover rounded-lg"},null,8,xg))),128))],2)),s.value.image_urls&&s.value.image_urls.length>0?(S(),k("div",yg,[f("div",{class:"flex transition-transform duration-300 ease-out snap-x snap-mandatory",style:$n({transform:`translateX(-${i.value*100}%)`})},[(S(!0),k(Q,null,xe(s.value.image_urls,(T,O)=>(S(),k("div",{key:O,class:"w-full flex-shrink-0 relative snap-start"},[f("img",{src:T,alt:`Imagem ${O+1} do item`,class:"w-full h-64 object-cover rounded-lg"},null,8,vg)]))),128))],4),s.value.image_urls.length>1?(S(),k("div",_g,[(S(!0),k(Q,null,xe(s.value.image_urls,(T,O)=>(S(),k("div",{key:O,class:Z(["w-2 h-2 rounded-full transition-colors duration-300",i.value===O?"bg-white":"bg-gray-300"])},null,2))),128))])):be("",!0),s.value.image_urls.length>1?(S(),k("button",{key:1,onClick:d,class:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," ← ")):be("",!0),s.value.image_urls.length>1?(S(),k("button",{key:2,onClick:u,class:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," → ")):be("",!0)])):be("",!0)]),f("div",wg,[f("h1",Eg,ee(s.value.name),1),f("p",Sg," Achado em: "+ee(s.value.location_name||"Não especificado"),1),s.value.found_lost_date&&r.value==="found"?(S(),k("p",Cg," Data do achado: "+ee(a(s.value.found_lost_date)),1)):s.value.found_lost_date&&r.value==="lost"?(S(),k("p",Ag," Data da perda: "+ee(a(s.value.found_lost_date)),1)):be("",!0),f("div",Rg,[s.value.category_name?(S(),k("span",kg," Categoria: "+ee(s.value.category_name),1)):be("",!0),s.value.brand_name?(S(),k("span",Tg," Marca: "+ee(s.value.brand_name),1)):be("",!0),s.value.color_name?(S(),k("span",Og," Cor: "+ee(s.value.color_name),1)):be("",!0)]),f("p",Pg,ee(s.value.description),1)])]),f("button",{class:"bg-laranja text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl",onClick:E}," É meu item ")])):be("",!0),f("div",Ig,[F(Et,{activeIcon:r.value==="found"?"found":"lost"},null,8,["activeIcon"])])],64))}},Lg={name:"SubMenu"},jg={class:"flex pt-8 space-x-8 justify-center"};function Dg(e,t,n,s,r,o){const i=he("router-link");return S(),k("div",jg,[F(i,{to:"/user-items-found",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[Se(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const $g=we(Lg,[["render",Dg]]),Fg={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},Bg={class:"pb-8 pt-24"},Ng={class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},Ug={class:"fixed bottom-0 w-full"},zg={__name:"UserItems-Lost",setup(e){const t=X([]),n=X(!1);X(!1);const s=X(""),r=async()=>{try{const i=await uh();t.value=i}catch{s.value="Erro ao carregar itens perdidos.",n.value=!0}},o=async i=>{try{await Xl(i),myItemsFound.value=myItemsFound.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return jt(()=>r()),(i,l)=>{const c=he("router-link"),a=he("ButtonAdd");return S(),k(Q,null,[f("div",Fg,[F(c,{to:"/user",class:"inline-block"},{default:ge(()=>l[0]||(l[0]=[f("img",{src:Vn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[F(c,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(_t,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",Bg,[F($g)]),f("div",Ng,[(S(!0),k(Q,null,xe(t.value,u=>(S(),Ge(Ts,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Me(Ds)(u.created_at),image:u.image_urls[0]||Me(qn),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))]),F(a),f("div",Ug,[F(Et,{activeIcon:"search"})])],64)}}},Hg={name:"SubMenu"},qg={class:"flex pt-8 space-x-8 justify-center"};function Vg(e,t,n,s,r,o){const i=he("router-link");return S(),k("div",qg,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),F(i,{to:"/user-items-lost",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[Se(" Perdidos ")])),_:1})])}const Kg=we(Hg,[["render",Vg]]),Wg={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},Qg={class:"pb-8 pt-24"},Gg={class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},Jg={class:"fixed bottom-0 w-full"},Zg={__name:"UserItems-Found",setup(e){const t=X([]),n=X(!1);X(!1);const s=X(""),r=async()=>{try{const i=await ch();t.value=i}catch{s.value="Erro ao carregar itens encontrados.",n.value=!0}},o=async i=>{try{await Xl(i),t.value=t.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return jt(()=>r()),(i,l)=>{const c=he("router-link"),a=he("ButtonAdd");return S(),k(Q,null,[f("div",Wg,[F(c,{to:"/user",class:"inline-block"},{default:ge(()=>l[0]||(l[0]=[f("img",{src:Vn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[F(c,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[F(_t,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",Qg,[F(Kg)]),f("div",Gg,[(S(!0),k(Q,null,xe(t.value,u=>(S(),Ge(Ts,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Me(Ds)(u.created_at),image:u.image_urls[0]||Me(qn),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))]),F(a),f("div",Jg,[F(Et,{activeIcon:"search"})])],64)}}},li={__name:"Message",setup(e){const t=Ur(),n=Al(),s=X(n.params.chatroomId),r=X({name:"Carregando...",profile_picture:""}),o=X({}),i=X([]);X(""),X(["Ainda está com o item?","Posso te entregar na faculdade?"]);const l=X(n.query.participant_2),c=X(n.query.item_id);Ht(()=>n.params.chatroomId,m=>{s.value=m,d()});const a=async()=>{try{const m=await ye.get("/api/users/me/");o.value={id:m.data.id,name:m.data.nome,profile_picture:m.data.foto||"https://via.placeholder.com/40"}}catch(m){console.error("Erro ao buscar usuário logado:",m)}},u=async m=>{try{const y=await ye.get(`/api/users/${m}/`);return{id:y.data.id,name:y.data.nome,profile_picture:y.data.foto||"https://via.placeholder.com/40"}}catch(y){return console.error("Erro ao buscar usuário do chat:",y),{name:"Usuário desconhecido",profile_picture:"https://via.placeholder.com/40"}}},d=async()=>{if(!s.value){console.log("❌ Nenhum chatroomId na URL. Criando novo chat..."),await g();return}try{console.log(`🔍 Buscando chatroom com ID: ${s.value}`);const m=await ye.get(`/chat/chatrooms/${s.value}/`);console.log("✅ Dados do chat recebidos:",m.data);const y=m.data.participant_1===o.value.id?m.data.participant_2:m.data.participant_1;r.value=await u(y),i.value=m.data.messages}catch(m){console.error("Erro ao buscar chat:",m)}},g=async()=>{if(!l.value||!c.value){console.error("⚠️ Erro: participant_2 ou item_id não foram passados na URL.");return}try{console.log("🔨 Criando novo chatroom...");const m=await ye.post("/chat/chatrooms/",{participant_1:o.value.id,participant_2:l.value,item_id:c.value});s.value=m.data.id,t.replace(`/chat/${s.value}`),console.log("✅ Novo chatroom criado:",m.data),await d()}catch(m){console.error("Erro ao criar chatroom:",m)}};return jt(async()=>{await a(),await d()}),()=>{}}},Xg=[{path:"/",name:"Login",component:Ko},{path:"/about",name:"About",component:td,meta:{requiresAuth:!0}},{path:"/lost",name:"Lost",component:xh,meta:{requiresAuth:!0}},{path:"/found",name:"Found",component:Mh,meta:{requiresAuth:!0}},{path:"/register-lost",name:"RegisterLost",component:pm,meta:{requiresAuth:!0}},{path:"/register-found",name:"RegisterFound",component:qm,meta:{requiresAuth:!0}},{path:"/user",name:"User",component:eg,meta:{requiresAuth:!0}},{path:"/chats",name:"Chats",component:sg,meta:{requiresAuth:!0}},{path:"/list-item",name:"ListItem",component:Mg,meta:{requiresAuth:!0}},{path:"/user-items-lost",name:"UserItemsLost",component:zg},{path:"/user-items-found",name:"UserItemsFound",component:Zg},{path:"/chat/new",name:"NewChat",component:li,meta:{requiresAuth:!0}},{path:"/chat/:chatroomId",name:"Chat",component:li,meta:{requiresAuth:!0},props:!0},{path:"/:catchAll(.*)",name:"NotFound",component:Ko}],na=Sf({history:ef(),routes:Xg}),$s=vu(Af);$s.use(na);$s.component("Header",Hr);$s.component("Alert",Dh);$s.mount("#app"); diff --git a/API/AcheiUnB/static/dist/js/index-BnoWY_TY.js b/API/AcheiUnB/static/dist/js/index-BnoWY_TY.js deleted file mode 100644 index 7f7c9271..00000000 --- a/API/AcheiUnB/static/dist/js/index-BnoWY_TY.js +++ /dev/null @@ -1,26 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** -* @vue/shared v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Er(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ce={},tn=[],ft=()=>{},ia=()=>!1,gs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sr=e=>e.startsWith("onUpdate:"),Re=Object.assign,Cr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},la=Object.prototype.hasOwnProperty,se=(e,t)=>la.call(e,t),H=Array.isArray,nn=e=>Dn(e)==="[object Map]",bs=e=>Dn(e)==="[object Set]",Jr=e=>Dn(e)==="[object Date]",K=e=>typeof e=="function",we=e=>typeof e=="string",dt=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",li=e=>(de(e)||K(e))&&K(e.then)&&K(e.catch),ai=Object.prototype.toString,Dn=e=>ai.call(e),aa=e=>Dn(e).slice(8,-1),ci=e=>Dn(e)==="[object Object]",Ar=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vn=Er(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ys=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ca=/-(\w)/g,Ge=ys(e=>e.replace(ca,(t,n)=>n?n.toUpperCase():"")),ua=/\B([A-Z])/g,Qt=ys(e=>e.replace(ua,"-$1").toLowerCase()),xs=ys(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bs=ys(e=>e?`on${xs(e)}`:""),It=(e,t)=>!Object.is(e,t),Zn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},rs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Zr;const vs=()=>Zr||(Zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fn(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(da);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function X(e){let t="";if(we(e))t=e;else if(H(e))for(let n=0;n_s(n,t))}const di=e=>!!(e&&e.__v_isRef===!0),Z=e=>we(e)?e:e==null?"":H(e)||de(e)&&(e.toString===ai||!K(e.toString))?di(e)?Z(e.value):JSON.stringify(e,pi,2):String(e),pi=(e,t)=>di(t)?pi(e,t.value):nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Ns(s,o)+" =>"]=r,n),{})}:bs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ns(n))}:dt(t)?Ns(t):de(t)&&!H(t)&&!ci(t)?String(t):t,Ns=(e,t="")=>{var n;return dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let He;class xa{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=He,!t&&He&&(this.index=(He.scopes||(He.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(wn){let t=wn;for(wn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;_n;){let t=_n;for(_n=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function bi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function yi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Tr(s),_a(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function sr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===kn))return;e.globalVersion=kn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!sr(e)){e.flags&=-3;return}const n=fe,s=Ye;fe=e,Ye=!0;try{bi(e);const r=e.fn(e._value);(t.version===0||It(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{fe=n,Ye=s,yi(e),e.flags&=-3}}function Tr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Tr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function _a(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ye=!0;const vi=[];function Mt(){vi.push(Ye),Ye=!1}function jt(){const e=vi.pop();Ye=e===void 0?!0:e}function Xr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=fe;fe=void 0;try{t()}finally{fe=n}}}let kn=0;class wa{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Or{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!fe||!Ye||fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==fe)n=this.activeLink=new wa(fe,this),fe.deps?(n.prevDep=fe.depsTail,fe.depsTail.nextDep=n,fe.depsTail=n):fe.deps=fe.depsTail=n,_i(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=fe.depsTail,n.nextDep=void 0,fe.depsTail.nextDep=n,fe.depsTail=n,fe.deps===n&&(fe.deps=s)}return n}trigger(t){this.version++,kn++,this.notify(t)}notify(t){Rr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{kr()}}}function _i(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)_i(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const rr=new WeakMap,zt=Symbol(""),or=Symbol(""),Tn=Symbol("");function Oe(e,t,n){if(Ye&&fe){let s=rr.get(e);s||rr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Or),r.map=s,r.key=n),r.track()}}function yt(e,t,n,s,r,o){const i=rr.get(e);if(!i){kn++;return}const l=c=>{c&&c.trigger()};if(Rr(),t==="clear")i.forEach(l);else{const c=H(e),a=c&&Ar(n);if(c&&n==="length"){const u=Number(s);i.forEach((f,m)=>{(m==="length"||m===Tn||!dt(m)&&m>=u)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),a&&l(i.get(Tn)),t){case"add":c?a&&l(i.get("length")):(l(i.get(zt)),nn(e)&&l(i.get(or)));break;case"delete":c||(l(i.get(zt)),nn(e)&&l(i.get(or)));break;case"set":nn(e)&&l(i.get(zt));break}}kr()}function Xt(e){const t=ne(e);return t===e?t:(Oe(t,"iterate",Tn),Qe(e)?t:t.map(Pe))}function ws(e){return Oe(e=ne(e),"iterate",Tn),e}const Ea={__proto__:null,[Symbol.iterator](){return zs(this,Symbol.iterator,Pe)},concat(...e){return Xt(this).concat(...e.map(t=>H(t)?Xt(t):t))},entries(){return zs(this,"entries",e=>(e[1]=Pe(e[1]),e))},every(e,t){return mt(this,"every",e,t,void 0,arguments)},filter(e,t){return mt(this,"filter",e,t,n=>n.map(Pe),arguments)},find(e,t){return mt(this,"find",e,t,Pe,arguments)},findIndex(e,t){return mt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return mt(this,"findLast",e,t,Pe,arguments)},findLastIndex(e,t){return mt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return mt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Hs(this,"includes",e)},indexOf(...e){return Hs(this,"indexOf",e)},join(e){return Xt(this).join(e)},lastIndexOf(...e){return Hs(this,"lastIndexOf",e)},map(e,t){return mt(this,"map",e,t,void 0,arguments)},pop(){return mn(this,"pop")},push(...e){return mn(this,"push",e)},reduce(e,...t){return Yr(this,"reduce",e,t)},reduceRight(e,...t){return Yr(this,"reduceRight",e,t)},shift(){return mn(this,"shift")},some(e,t){return mt(this,"some",e,t,void 0,arguments)},splice(...e){return mn(this,"splice",e)},toReversed(){return Xt(this).toReversed()},toSorted(e){return Xt(this).toSorted(e)},toSpliced(...e){return Xt(this).toSpliced(...e)},unshift(...e){return mn(this,"unshift",e)},values(){return zs(this,"values",Pe)}};function zs(e,t,n){const s=ws(e),r=s[t]();return s!==e&&!Qe(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const Sa=Array.prototype;function mt(e,t,n,s,r,o){const i=ws(e),l=i!==e&&!Qe(e),c=i[t];if(c!==Sa[t]){const f=c.apply(e,o);return l?Pe(f):f}let a=n;i!==e&&(l?a=function(f,m){return n.call(this,Pe(f),m,e)}:n.length>2&&(a=function(f,m){return n.call(this,f,m,e)}));const u=c.call(i,a,s);return l&&r?r(u):u}function Yr(e,t,n,s){const r=ws(e);let o=n;return r!==e&&(Qe(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,Pe(l),c,e)}),r[t](o,...s)}function Hs(e,t,n){const s=ne(e);Oe(s,"iterate",Tn);const r=s[t](...n);return(r===-1||r===!1)&&Mr(n[0])?(n[0]=ne(n[0]),s[t](...n)):r}function mn(e,t,n=[]){Mt(),Rr();const s=ne(e)[t].apply(e,n);return kr(),jt(),s}const Ca=Er("__proto__,__v_isRef,__isVue"),wi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dt));function Aa(e){dt(e)||(e=String(e));const t=ne(this);return Oe(t,"has",e),t.hasOwnProperty(e)}class Ei{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?$a:Ri:o?Ai:Ci).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=H(t);if(!r){let c;if(i&&(c=Ea[n]))return c;if(n==="hasOwnProperty")return Aa}const l=Reflect.get(t,n,je(t)?t:s);return(dt(n)?wi.has(n):Ca(n))||(r||Oe(t,"get",n),o)?l:je(l)?i&&Ar(n)?l:l.value:de(l)?r?Ti(l):Bn(l):l}}class Si extends Ei{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Vt(o);if(!Qe(s)&&!Vt(s)&&(o=ne(o),s=ne(s)),!H(t)&&je(o)&&!je(s))return c?!1:(o.value=s,!0)}const i=H(t)&&Ar(n)?Number(n)e,Qn=e=>Reflect.getPrototypeOf(e);function Pa(e,t,n){return function(...s){const r=this.__v_raw,o=ne(r),i=nn(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),u=n?ir:t?lr:Pe;return!t&&Oe(o,"iterate",c?or:zt),{next(){const{value:f,done:m}=a.next();return m?{value:f,done:m}:{value:l?[u(f[0]),u(f[1])]:u(f),done:m}},[Symbol.iterator](){return this}}}}function Gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ia(e,t){const n={get(r){const o=this.__v_raw,i=ne(o),l=ne(r);e||(It(r,l)&&Oe(i,"get",r),Oe(i,"get",l));const{has:c}=Qn(i),a=t?ir:e?lr:Pe;if(c.call(i,r))return a(o.get(r));if(c.call(i,l))return a(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Oe(ne(r),"iterate",zt),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=ne(o),l=ne(r);return e||(It(r,l)&&Oe(i,"has",r),Oe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=ne(l),a=t?ir:e?lr:Pe;return!e&&Oe(c,"iterate",zt),l.forEach((u,f)=>r.call(o,a(u),a(f),i))}};return Re(n,e?{add:Gn("add"),set:Gn("set"),delete:Gn("delete"),clear:Gn("clear")}:{add(r){!t&&!Qe(r)&&!Vt(r)&&(r=ne(r));const o=ne(this);return Qn(o).has.call(o,r)||(o.add(r),yt(o,"add",r,r)),this},set(r,o){!t&&!Qe(o)&&!Vt(o)&&(o=ne(o));const i=ne(this),{has:l,get:c}=Qn(i);let a=l.call(i,r);a||(r=ne(r),a=l.call(i,r));const u=c.call(i,r);return i.set(r,o),a?It(o,u)&&yt(i,"set",r,o):yt(i,"add",r,o),this},delete(r){const o=ne(this),{has:i,get:l}=Qn(o);let c=i.call(o,r);c||(r=ne(r),c=i.call(o,r)),l&&l.call(o,r);const a=o.delete(r);return c&&yt(o,"delete",r,void 0),a},clear(){const r=ne(this),o=r.size!==0,i=r.clear();return o&&yt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Pa(r,e,t)}),n}function Pr(e,t){const n=Ia(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(se(n,r)&&r in s?n:s,r,o)}const Ma={get:Pr(!1,!1)},ja={get:Pr(!1,!0)},La={get:Pr(!0,!1)};const Ci=new WeakMap,Ai=new WeakMap,Ri=new WeakMap,$a=new WeakMap;function Da(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fa(e){return e.__v_skip||!Object.isExtensible(e)?0:Da(aa(e))}function Bn(e){return Vt(e)?e:Ir(e,!1,ka,Ma,Ci)}function ki(e){return Ir(e,!1,Oa,ja,Ai)}function Ti(e){return Ir(e,!0,Ta,La,Ri)}function Ir(e,t,n,s,r){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Fa(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function sn(e){return Vt(e)?sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Qe(e){return!!(e&&e.__v_isShallow)}function Mr(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function Ba(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&ui(e,"__v_skip",!0),e}const Pe=e=>de(e)?Bn(e):e,lr=e=>de(e)?Ti(e):e;function je(e){return e?e.__v_isRef===!0:!1}function ee(e){return Oi(e,!1)}function Na(e){return Oi(e,!0)}function Oi(e,t){return je(e)?e:new Ua(e,t)}class Ua{constructor(t,n){this.dep=new Or,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:Pe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Qe(t)||Vt(t);t=s?t:ne(t),It(t,n)&&(this._rawValue=t,this._value=s?t:Pe(t),this.dep.trigger())}}function Ae(e){return je(e)?e.value:e}const za={get:(e,t,n)=>t==="__v_raw"?e:Ae(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return je(r)&&!je(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Pi(e){return sn(e)?e:new Proxy(e,za)}class Ha{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Or(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&fe!==this)return gi(this,!0),!0}get value(){const t=this.dep.track();return xi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function qa(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new Ha(s,r,n)}const Jn={},os=new WeakMap;let Bt;function Va(e,t=!1,n=Bt){if(n){let s=os.get(n);s||os.set(n,s=[]),s.push(e)}}function Ka(e,t,n=ce){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,a=j=>r?j:Qe(j)||r===!1||r===0?xt(j,1):xt(j);let u,f,m,g,x=!1,S=!1;if(je(e)?(f=()=>e.value,x=Qe(e)):sn(e)?(f=()=>a(e),x=!0):H(e)?(S=!0,x=e.some(j=>sn(j)||Qe(j)),f=()=>e.map(j=>{if(je(j))return j.value;if(sn(j))return a(j);if(K(j))return c?c(j,2):j()})):K(e)?t?f=c?()=>c(e,2):e:f=()=>{if(m){Mt();try{m()}finally{jt()}}const j=Bt;Bt=u;try{return c?c(e,3,[g]):e(g)}finally{Bt=j}}:f=ft,t&&r){const j=f,V=r===!0?1/0:r;f=()=>xt(j(),V)}const E=va(),I=()=>{u.stop(),E&&E.active&&Cr(E.effects,u)};if(o&&t){const j=t;t=(...V)=>{j(...V),I()}}let T=S?new Array(e.length).fill(Jn):Jn;const O=j=>{if(!(!(u.flags&1)||!u.dirty&&!j))if(t){const V=u.run();if(r||x||(S?V.some((Y,G)=>It(Y,T[G])):It(V,T))){m&&m();const Y=Bt;Bt=u;try{const G=[V,T===Jn?void 0:S&&T[0]===Jn?[]:T,g];c?c(t,3,G):t(...G),T=V}finally{Bt=Y}}}else u.run()};return l&&l(O),u=new hi(f),u.scheduler=i?()=>i(O,!1):O,g=j=>Va(j,!1,u),m=u.onStop=()=>{const j=os.get(u);if(j){if(c)c(j,4);else for(const V of j)V();os.delete(u)}},t?s?O(!0):T=u.run():i?i(O.bind(null,!0),!0):u.run(),I.pause=u.pause.bind(u),I.resume=u.resume.bind(u),I.stop=I,I}function xt(e,t=1/0,n){if(t<=0||!de(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,je(e))xt(e.value,t,n);else if(H(e))for(let s=0;s{xt(s,t,n)});else if(ci(e)){for(const s in e)xt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&xt(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Nn(e,t,n,s){try{return s?e(...s):e()}catch(r){Es(r,t,n)}}function pt(e,t,n,s){if(K(e)){const r=Nn(e,t,n,s);return r&&li(r)&&r.catch(o=>{Es(o,t,n)}),r}if(H(e)){const r=[];for(let o=0;o>>1,r=$e[s],o=On(r);o=On(n)?$e.push(e):$e.splice(Qa(t),0,e),e.flags|=1,Mi()}}function Mi(){is||(is=Ii.then(Li))}function Ga(e){H(e)?rn.push(...e):Rt&&e.id===-1?Rt.splice(Yt+1,0,e):e.flags&1||(rn.push(e),e.flags|=1),Mi()}function eo(e,t,n=ct+1){for(;n<$e.length;n++){const s=$e[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;$e.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function ji(e){if(rn.length){const t=[...new Set(rn)].sort((n,s)=>On(n)-On(s));if(rn.length=0,Rt){Rt.push(...t);return}for(Rt=t,Yt=0;Yte.id==null?e.flags&2?-1:1/0:e.id;function Li(e){try{for(ct=0;ct<$e.length;ct++){const t=$e[ct];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Nn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ct<$e.length;ct++){const t=$e[ct];t&&(t.flags&=-2)}ct=-1,$e.length=0,ji(),is=null,($e.length||rn.length)&&Li()}}let qe=null,$i=null;function ls(e){const t=qe;return qe=e,$i=e&&e.type.__scopeId||null,t}function be(e,t=qe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&co(-1);const o=ls(t);let i;try{i=e(...r)}finally{ls(o),s._d&&co(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ke(e,t){if(qe===null)return e;const n=Rs(qe),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport;function $r(e,t){e.shapeFlag&6&&e.component?(e.transition=t,$r(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function Di(e,t){return K(e)?Re({name:e.name},t,{setup:e}):e}function Fi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function as(e,t,n,s,r=!1){if(H(e)){e.forEach((x,S)=>as(x,t&&(H(t)?t[S]:t),n,s,r));return}if(En(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&as(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Rs(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===ce?l.refs={}:l.refs,f=l.setupState,m=ne(f),g=f===ce?()=>!1:x=>se(m,x);if(a!=null&&a!==c&&(we(a)?(u[a]=null,g(a)&&(f[a]=null)):je(a)&&(a.value=null)),K(c))Nn(c,l,12,[i,u]);else{const x=we(c),S=je(c);if(x||S){const E=()=>{if(e.f){const I=x?g(c)?f[c]:u[c]:c.value;r?H(I)&&Cr(I,o):H(I)?I.includes(o)||I.push(o):x?(u[c]=[o],g(c)&&(f[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else x?(u[c]=i,g(c)&&(f[c]=i)):S&&(c.value=i,e.k&&(u[e.k]=i))};i?(E.id=-1,ze(E,n)):E()}}}vs().requestIdleCallback;vs().cancelIdleCallback;const En=e=>!!e.type.__asyncLoader,Bi=e=>e.type.__isKeepAlive;function Xa(e,t){Ni(e,"a",t)}function Ya(e,t){Ni(e,"da",t)}function Ni(e,t,n=Ie){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ss(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Bi(r.parent.vnode)&&ec(s,t,n,r),r=r.parent}}function ec(e,t,n,s){const r=Ss(t,e,s,!0);zi(()=>{Cr(s[t],r)},n)}function Ss(e,t,n=Ie,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Mt();const l=Un(n),c=pt(t,n,e,i);return l(),jt(),c});return s?r.unshift(o):r.push(o),o}}const wt=e=>(t,n=Ie)=>{(!In||e==="sp")&&Ss(e,(...s)=>t(...s),n)},tc=wt("bm"),Lt=wt("m"),nc=wt("bu"),sc=wt("u"),Ui=wt("bum"),zi=wt("um"),rc=wt("sp"),oc=wt("rtg"),ic=wt("rtc");function lc(e,t=Ie){Ss("ec",e,t)}const ac="components";function he(e,t){return uc(ac,e,!0,t)||e}const cc=Symbol.for("v-ndc");function uc(e,t,n=!0,s=!1){const r=qe||Ie;if(r){const o=r.type;{const l=Jc(o,!1);if(l&&(l===t||l===Ge(t)||l===xs(Ge(t))))return o}const i=to(r[e]||o[e],t)||to(r.appContext[e],t);return!i&&s?o:i}}function to(e,t){return e&&(e[t]||e[Ge(t)]||e[xs(Ge(t))])}function xe(e,t,n,s){let r;const o=n,i=H(e);if(i||we(e)){const l=i&&sn(e);let c=!1;l&&(c=!Qe(e),e=ws(e)),r=new Array(e.length);for(let a=0,u=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;ce?al(e)?Rs(e):ar(e.parent):null,Sn=Re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ar(e.parent),$root:e=>ar(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Dr(e),$forceUpdate:e=>e.f||(e.f=()=>{Lr(e.update)}),$nextTick:e=>e.n||(e.n=jr.bind(e.proxy)),$watch:e=>Pc.bind(e)}),qs=(e,t)=>e!==ce&&!e.__isScriptSetup&&se(e,t),fc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(qs(s,t))return i[t]=1,s[t];if(r!==ce&&se(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&se(a,t))return i[t]=3,o[t];if(n!==ce&&se(n,t))return i[t]=4,n[t];cr&&(i[t]=0)}}const u=Sn[t];let f,m;if(u)return t==="$attrs"&&Oe(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ce&&se(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,se(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return qs(r,t)?(r[t]=n,!0):s!==ce&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ce&&se(e,i)||qs(t,i)||(l=o[0])&&se(l,i)||se(s,i)||se(Sn,i)||se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function no(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let cr=!0;function dc(e){const t=Dr(e),n=e.proxy,s=e.ctx;cr=!1,t.beforeCreate&&so(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:f,mounted:m,beforeUpdate:g,updated:x,activated:S,deactivated:E,beforeDestroy:I,beforeUnmount:T,destroyed:O,unmounted:j,render:V,renderTracked:Y,renderTriggered:G,errorCaptured:Se,serverPrefetch:Je,expose:st,inheritAttrs:St,components:$t,directives:rt,filters:pn}=t;if(a&&pc(a,s,null),i)for(const le in i){const te=i[le];K(te)&&(s[le]=te.bind(n))}if(r){const le=r.call(n,n);de(le)&&(e.data=Bn(le))}if(cr=!0,o)for(const le in o){const te=o[le],ht=K(te)?te.bind(n,n):K(te.get)?te.get.bind(n,n):ft,Ct=!K(te)&&K(te.set)?te.set.bind(n):ft,ot=Xe({get:ht,set:Ct});Object.defineProperty(s,le,{enumerable:!0,configurable:!0,get:()=>ot.value,set:De=>ot.value=De})}if(l)for(const le in l)Hi(l[le],s,n,le);if(c){const le=K(c)?c.call(n):c;Reflect.ownKeys(le).forEach(te=>{Xn(te,le[te])})}u&&so(u,e,"c");function Ce(le,te){H(te)?te.forEach(ht=>le(ht.bind(n))):te&&le(te.bind(n))}if(Ce(tc,f),Ce(Lt,m),Ce(nc,g),Ce(sc,x),Ce(Xa,S),Ce(Ya,E),Ce(lc,Se),Ce(ic,Y),Ce(oc,G),Ce(Ui,T),Ce(zi,j),Ce(rc,Je),H(st))if(st.length){const le=e.exposed||(e.exposed={});st.forEach(te=>{Object.defineProperty(le,te,{get:()=>n[te],set:ht=>n[te]=ht})})}else e.exposed||(e.exposed={});V&&e.render===ft&&(e.render=V),St!=null&&(e.inheritAttrs=St),$t&&(e.components=$t),rt&&(e.directives=rt),Je&&Fi(e)}function pc(e,t,n=ft){H(e)&&(e=ur(e));for(const s in e){const r=e[s];let o;de(r)?"default"in r?o=et(r.from||s,r.default,!0):o=et(r.from||s):o=et(r),je(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function so(e,t,n){pt(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Hi(e,t,n,s){let r=s.includes(".")?sl(n,s):()=>n[s];if(we(e)){const o=t[e];K(o)&&Ht(r,o)}else if(K(e))Ht(r,e.bind(n));else if(de(e))if(H(e))e.forEach(o=>Hi(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Ht(r,o,e)}}function Dr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>cs(c,a,i,!0)),cs(c,t,i)),de(t)&&o.set(t,c),c}function cs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&cs(e,o,n,!0),r&&r.forEach(i=>cs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=hc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const hc={data:ro,props:oo,emits:oo,methods:xn,computed:xn,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:xn,directives:xn,watch:gc,provide:ro,inject:mc};function ro(e,t){return t?e?function(){return Re(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function mc(e,t){return xn(ur(e),ur(t))}function ur(e){if(H(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const Vi={},Ki=()=>Object.create(Vi),Wi=e=>Object.getPrototypeOf(e)===Vi;function xc(e,t,n,s=!1){const r={},o=Ki();e.propsDefaults=Object.create(null),Qi(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:ki(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function vc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ne(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[m,g]=Gi(f,t,!0);Re(i,m),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return de(e)&&s.set(e,tn),tn;if(H(o))for(let u=0;ue[0]==="_"||e==="$stable",Fr=e=>H(e)?e.map(ut):[ut(e)],wc=(e,t,n)=>{if(t._n)return t;const s=be((...r)=>Fr(t(...r)),n);return s._c=!1,s},Zi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ji(r))continue;const o=e[r];if(K(o))t[r]=wc(r,o,s);else if(o!=null){const i=Fr(o);t[r]=()=>i}}},Xi=(e,t)=>{const n=Fr(t);e.slots.default=()=>n},Yi=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Ec=(e,t,n)=>{const s=e.slots=Ki();if(e.vnode.shapeFlag&32){const r=t._;r?(Yi(s,t,n),n&&ui(s,"_",r,!0)):Zi(t,s)}else t&&Xi(e,t)},Sc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ce;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Yi(r,t,n):(o=!t.$stable,Zi(t,r)),i=t}else t&&(Xi(e,t),i={default:1});if(o)for(const l in r)!Ji(l)&&i[l]==null&&delete r[l]},ze=Fc;function Cc(e){return Ac(e)}function Ac(e,t){const n=vs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:f,nextSibling:m,setScopeId:g=ft,insertStaticContent:x}=e,S=(p,h,b,C=null,v=null,A=null,L=void 0,M=null,P=!!h.dynamicChildren)=>{if(p===h)return;p&&!gn(p,h)&&(C=w(p),De(p,v,A,!0),p=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:k,ref:z,shapeFlag:D}=h;switch(k){case As:E(p,h,b,C);break;case Kt:I(p,h,b,C);break;case Ws:p==null&&T(h,b,C,L);break;case Q:$t(p,h,b,C,v,A,L,M,P);break;default:D&1?V(p,h,b,C,v,A,L,M,P):D&6?rt(p,h,b,C,v,A,L,M,P):(D&64||D&128)&&k.process(p,h,b,C,v,A,L,M,P,N)}z!=null&&v&&as(z,p&&p.ref,A,h||p,!h)},E=(p,h,b,C)=>{if(p==null)s(h.el=l(h.children),b,C);else{const v=h.el=p.el;h.children!==p.children&&a(v,h.children)}},I=(p,h,b,C)=>{p==null?s(h.el=c(h.children||""),b,C):h.el=p.el},T=(p,h,b,C)=>{[p.el,p.anchor]=x(p.children,h,b,C,p.el,p.anchor)},O=({el:p,anchor:h},b,C)=>{let v;for(;p&&p!==h;)v=m(p),s(p,b,C),p=v;s(h,b,C)},j=({el:p,anchor:h})=>{let b;for(;p&&p!==h;)b=m(p),r(p),p=b;r(h)},V=(p,h,b,C,v,A,L,M,P)=>{h.type==="svg"?L="svg":h.type==="math"&&(L="mathml"),p==null?Y(h,b,C,v,A,L,M,P):Je(p,h,v,A,L,M,P)},Y=(p,h,b,C,v,A,L,M)=>{let P,k;const{props:z,shapeFlag:D,transition:U,dirs:q}=p;if(P=p.el=i(p.type,A,z&&z.is,z),D&8?u(P,p.children):D&16&&Se(p.children,P,null,C,v,Vs(p,A),L,M),q&&Dt(p,null,C,"created"),G(P,p,p.scopeId,L,C),z){for(const ue in z)ue!=="value"&&!vn(ue)&&o(P,ue,null,z[ue],A,C);"value"in z&&o(P,"value",null,z.value,A),(k=z.onVnodeBeforeMount)&<(k,C,p)}q&&Dt(p,null,C,"beforeMount");const J=Rc(v,U);J&&U.beforeEnter(P),s(P,h,b),((k=z&&z.onVnodeMounted)||J||q)&&ze(()=>{k&<(k,C,p),J&&U.enter(P),q&&Dt(p,null,C,"mounted")},v)},G=(p,h,b,C,v)=>{if(b&&g(p,b),C)for(let A=0;A{for(let k=P;k{const M=h.el=p.el;let{patchFlag:P,dynamicChildren:k,dirs:z}=h;P|=p.patchFlag&16;const D=p.props||ce,U=h.props||ce;let q;if(b&&Ft(b,!1),(q=U.onVnodeBeforeUpdate)&<(q,b,h,p),z&&Dt(h,p,b,"beforeUpdate"),b&&Ft(b,!0),(D.innerHTML&&U.innerHTML==null||D.textContent&&U.textContent==null)&&u(M,""),k?st(p.dynamicChildren,k,M,b,C,Vs(h,v),A):L||te(p,h,M,null,b,C,Vs(h,v),A,!1),P>0){if(P&16)St(M,D,U,b,v);else if(P&2&&D.class!==U.class&&o(M,"class",null,U.class,v),P&4&&o(M,"style",D.style,U.style,v),P&8){const J=h.dynamicProps;for(let ue=0;ue{q&<(q,b,h,p),z&&Dt(h,p,b,"updated")},C)},st=(p,h,b,C,v,A,L)=>{for(let M=0;M{if(h!==b){if(h!==ce)for(const A in h)!vn(A)&&!(A in b)&&o(p,A,h[A],null,v,C);for(const A in b){if(vn(A))continue;const L=b[A],M=h[A];L!==M&&A!=="value"&&o(p,A,M,L,v,C)}"value"in b&&o(p,"value",h.value,b.value,v)}},$t=(p,h,b,C,v,A,L,M,P)=>{const k=h.el=p?p.el:l(""),z=h.anchor=p?p.anchor:l("");let{patchFlag:D,dynamicChildren:U,slotScopeIds:q}=h;q&&(M=M?M.concat(q):q),p==null?(s(k,b,C),s(z,b,C),Se(h.children||[],b,z,v,A,L,M,P)):D>0&&D&64&&U&&p.dynamicChildren?(st(p.dynamicChildren,U,b,v,A,L,M),(h.key!=null||v&&h===v.subTree)&&el(p,h,!0)):te(p,h,b,z,v,A,L,M,P)},rt=(p,h,b,C,v,A,L,M,P)=>{h.slotScopeIds=M,p==null?h.shapeFlag&512?v.ctx.activate(h,b,C,L,P):pn(h,b,C,v,A,L,P):Gt(p,h,P)},pn=(p,h,b,C,v,A,L)=>{const M=p.component=Vc(p,C,v);if(Bi(p)&&(M.ctx.renderer=N),Kc(M,!1,L),M.asyncDep){if(v&&v.registerDep(M,Ce,L),!p.el){const P=M.subTree=F(Kt);I(null,P,h,b)}}else Ce(M,p,h,b,v,A,L)},Gt=(p,h,b)=>{const C=h.component=p.component;if($c(p,h,b))if(C.asyncDep&&!C.asyncResolved){le(C,h,b);return}else C.next=h,C.update();else h.el=p.el,C.vnode=h},Ce=(p,h,b,C,v,A,L)=>{const M=()=>{if(p.isMounted){let{next:D,bu:U,u:q,parent:J,vnode:ue}=p;{const Ne=tl(p);if(Ne){D&&(D.el=ue.el,le(p,D,L)),Ne.asyncDep.then(()=>{p.isUnmounted||M()});return}}let oe=D,Be;Ft(p,!1),D?(D.el=ue.el,le(p,D,L)):D=ue,U&&Zn(U),(Be=D.props&&D.props.onVnodeBeforeUpdate)&<(Be,J,D,ue),Ft(p,!0);const Te=Ks(p),Ze=p.subTree;p.subTree=Te,S(Ze,Te,f(Ze.el),w(Ze),p,v,A),D.el=Te.el,oe===null&&Dc(p,Te.el),q&&ze(q,v),(Be=D.props&&D.props.onVnodeUpdated)&&ze(()=>lt(Be,J,D,ue),v)}else{let D;const{el:U,props:q}=h,{bm:J,m:ue,parent:oe,root:Be,type:Te}=p,Ze=En(h);if(Ft(p,!1),J&&Zn(J),!Ze&&(D=q&&q.onVnodeBeforeMount)&<(D,oe,h),Ft(p,!0),U&&me){const Ne=()=>{p.subTree=Ks(p),me(U,p.subTree,p,v,null)};Ze&&Te.__asyncHydrate?Te.__asyncHydrate(U,p,Ne):Ne()}else{Be.ce&&Be.ce._injectChildStyle(Te);const Ne=p.subTree=Ks(p);S(null,Ne,b,C,p,v,A),h.el=Ne.el}if(ue&&ze(ue,v),!Ze&&(D=q&&q.onVnodeMounted)){const Ne=h;ze(()=>lt(D,oe,Ne),v)}(h.shapeFlag&256||oe&&En(oe.vnode)&&oe.vnode.shapeFlag&256)&&p.a&&ze(p.a,v),p.isMounted=!0,h=b=C=null}};p.scope.on();const P=p.effect=new hi(M);p.scope.off();const k=p.update=P.run.bind(P),z=p.job=P.runIfDirty.bind(P);z.i=p,z.id=p.uid,P.scheduler=()=>Lr(z),Ft(p,!0),k()},le=(p,h,b)=>{h.component=p;const C=p.vnode.props;p.vnode=h,p.next=null,vc(p,h.props,C,b),Sc(p,h.children,b),Mt(),eo(p),jt()},te=(p,h,b,C,v,A,L,M,P=!1)=>{const k=p&&p.children,z=p?p.shapeFlag:0,D=h.children,{patchFlag:U,shapeFlag:q}=h;if(U>0){if(U&128){Ct(k,D,b,C,v,A,L,M,P);return}else if(U&256){ht(k,D,b,C,v,A,L,M,P);return}}q&8?(z&16&&We(k,v,A),D!==k&&u(b,D)):z&16?q&16?Ct(k,D,b,C,v,A,L,M,P):We(k,v,A,!0):(z&8&&u(b,""),q&16&&Se(D,b,C,v,A,L,M,P))},ht=(p,h,b,C,v,A,L,M,P)=>{p=p||tn,h=h||tn;const k=p.length,z=h.length,D=Math.min(k,z);let U;for(U=0;Uz?We(p,v,A,!0,!1,D):Se(h,b,C,v,A,L,M,P,D)},Ct=(p,h,b,C,v,A,L,M,P)=>{let k=0;const z=h.length;let D=p.length-1,U=z-1;for(;k<=D&&k<=U;){const q=p[k],J=h[k]=P?kt(h[k]):ut(h[k]);if(gn(q,J))S(q,J,b,null,v,A,L,M,P);else break;k++}for(;k<=D&&k<=U;){const q=p[D],J=h[U]=P?kt(h[U]):ut(h[U]);if(gn(q,J))S(q,J,b,null,v,A,L,M,P);else break;D--,U--}if(k>D){if(k<=U){const q=U+1,J=qU)for(;k<=D;)De(p[k],v,A,!0),k++;else{const q=k,J=k,ue=new Map;for(k=J;k<=U;k++){const Ue=h[k]=P?kt(h[k]):ut(h[k]);Ue.key!=null&&ue.set(Ue.key,k)}let oe,Be=0;const Te=U-J+1;let Ze=!1,Ne=0;const hn=new Array(Te);for(k=0;k=Te){De(Ue,v,A,!0);continue}let it;if(Ue.key!=null)it=ue.get(Ue.key);else for(oe=J;oe<=U;oe++)if(hn[oe-J]===0&&gn(Ue,h[oe])){it=oe;break}it===void 0?De(Ue,v,A,!0):(hn[it-J]=k+1,it>=Ne?Ne=it:Ze=!0,S(Ue,h[it],b,null,v,A,L,M,P),Be++)}const Qr=Ze?kc(hn):tn;for(oe=Qr.length-1,k=Te-1;k>=0;k--){const Ue=J+k,it=h[Ue],Gr=Ue+1{const{el:A,type:L,transition:M,children:P,shapeFlag:k}=p;if(k&6){ot(p.component.subTree,h,b,C);return}if(k&128){p.suspense.move(h,b,C);return}if(k&64){L.move(p,h,b,N);return}if(L===Q){s(A,h,b);for(let D=0;DM.enter(A),v);else{const{leave:D,delayLeave:U,afterLeave:q}=M,J=()=>s(A,h,b),ue=()=>{D(A,()=>{J(),q&&q()})};U?U(A,J,ue):ue()}else s(A,h,b)},De=(p,h,b,C=!1,v=!1)=>{const{type:A,props:L,ref:M,children:P,dynamicChildren:k,shapeFlag:z,patchFlag:D,dirs:U,cacheIndex:q}=p;if(D===-2&&(v=!1),M!=null&&as(M,null,b,p,!0),q!=null&&(h.renderCache[q]=void 0),z&256){h.ctx.deactivate(p);return}const J=z&1&&U,ue=!En(p);let oe;if(ue&&(oe=L&&L.onVnodeBeforeUnmount)&<(oe,h,p),z&6)Wn(p.component,b,C);else{if(z&128){p.suspense.unmount(b,C);return}J&&Dt(p,null,h,"beforeUnmount"),z&64?p.type.remove(p,h,b,N,C):k&&!k.hasOnce&&(A!==Q||D>0&&D&64)?We(k,h,b,!1,!0):(A===Q&&D&384||!v&&z&16)&&We(P,h,b),C&&Jt(p)}(ue&&(oe=L&&L.onVnodeUnmounted)||J)&&ze(()=>{oe&<(oe,h,p),J&&Dt(p,null,h,"unmounted")},b)},Jt=p=>{const{type:h,el:b,anchor:C,transition:v}=p;if(h===Q){Zt(b,C);return}if(h===Ws){j(p);return}const A=()=>{r(b),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(p.shapeFlag&1&&v&&!v.persisted){const{leave:L,delayLeave:M}=v,P=()=>L(b,A);M?M(p.el,A,P):P()}else A()},Zt=(p,h)=>{let b;for(;p!==h;)b=m(p),r(p),p=b;r(h)},Wn=(p,h,b)=>{const{bum:C,scope:v,job:A,subTree:L,um:M,m:P,a:k}=p;lo(P),lo(k),C&&Zn(C),v.stop(),A&&(A.flags|=8,De(L,p,h,b)),M&&ze(M,h),ze(()=>{p.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},We=(p,h,b,C=!1,v=!1,A=0)=>{for(let L=A;L{if(p.shapeFlag&6)return w(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const h=m(p.anchor||p.el),b=h&&h[Ja];return b?m(b):h};let B=!1;const $=(p,h,b)=>{p==null?h._vnode&&De(h._vnode,null,null,!0):S(h._vnode||null,p,h,null,null,null,b),h._vnode=p,B||(B=!0,eo(),ji(),B=!1)},N={p:S,um:De,m:ot,r:Jt,mt:pn,mc:Se,pc:te,pbc:st,n:w,o:e};let re,me;return{render:$,hydrate:re,createApp:yc($,re)}}function Vs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ft({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Rc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function el(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function tl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:tl(t)}function lo(e){if(e)for(let t=0;tet(Tc);function Ht(e,t,n){return nl(e,t,n)}function nl(e,t,n=ce){const{immediate:s,deep:r,flush:o,once:i}=n,l=Re({},n),c=t&&s||!t&&o!=="post";let a;if(In){if(o==="sync"){const g=Oc();a=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=ft,g.resume=ft,g.pause=ft,g}}const u=Ie;l.call=(g,x,S)=>pt(g,u,x,S);let f=!1;o==="post"?l.scheduler=g=>{ze(g,u&&u.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(g,x)=>{x?g():Lr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const m=Ka(e,t,l);return In&&(a?a.push(m):c&&m()),m}function Pc(e,t,n){const s=this.proxy,r=we(e)?e.includes(".")?sl(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Un(this),l=nl(r,o.bind(s),n);return i(),l}function sl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ge(t)}Modifiers`]||e[`${Qt(t)}Modifiers`];function Mc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ce;let r=n;const o=t.startsWith("update:"),i=o&&Ic(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>we(u)?u.trim():u)),i.number&&(r=n.map(rs)));let l,c=s[l=Bs(t)]||s[l=Bs(Ge(t))];!c&&o&&(c=s[l=Bs(Qt(t))]),c&&pt(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,pt(a,e,6,r)}}function rl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=a=>{const u=rl(a,t,!0);u&&(l=!0,Re(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(de(e)&&s.set(e,null),null):(H(o)?o.forEach(c=>i[c]=null):Re(i,o),de(e)&&s.set(e,i),i)}function Cs(e,t){return!e||!gs(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Qt(t))||se(e,t))}function Ks(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:u,props:f,data:m,setupState:g,ctx:x,inheritAttrs:S}=e,E=ls(e);let I,T;try{if(n.shapeFlag&4){const j=r||s,V=j;I=ut(a.call(V,j,u,f,g,m,x)),T=l}else{const j=t;I=ut(j.length>1?j(f,{attrs:l,slots:i,emit:c}):j(f,null)),T=t.props?l:jc(l)}}catch(j){Cn.length=0,Es(j,e,1),I=F(Kt)}let O=I;if(T&&S!==!1){const j=Object.keys(T),{shapeFlag:V}=O;j.length&&V&7&&(o&&j.some(Sr)&&(T=Lc(T,o)),O=an(O,T,!1,!0))}return n.dirs&&(O=an(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&$r(O,n.transition),I=O,ls(E),I}const jc=e=>{let t;for(const n in e)(n==="class"||n==="style"||gs(n))&&((t||(t={}))[n]=e[n]);return t},Lc=(e,t)=>{const n={};for(const s in e)(!Sr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function $c(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ao(s,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Fc(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):Ga(e)}const Q=Symbol.for("v-fgt"),As=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),Ws=Symbol.for("v-stc"),Cn=[];let Ve=null;function _(e=!1){Cn.push(Ve=e?null:[])}function Bc(){Cn.pop(),Ve=Cn[Cn.length-1]||null}let Pn=1;function co(e,t=!1){Pn+=e,e<0&&Ve&&t&&(Ve.hasOnce=!0)}function il(e){return e.dynamicChildren=Pn>0?Ve||tn:null,Bc(),Pn>0&&Ve&&Ve.push(e),e}function R(e,t,n,s,r,o){return il(d(e,t,n,s,r,o,!0))}function _e(e,t,n,s,r){return il(F(e,t,n,s,r,!0))}function us(e){return e?e.__v_isVNode===!0:!1}function gn(e,t){return e.type===t.type&&e.key===t.key}const ll=({key:e})=>e??null,Yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||je(e)||K(e)?{i:qe,r:e,k:t,f:!!n}:e:null);function d(e,t=null,n=null,s=0,r=null,o=e===Q?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ll(t),ref:t&&Yn(t),scopeId:$i,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:qe};return l?(Br(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=we(n)?8:16),Pn>0&&!i&&Ve&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ve.push(c),c}const F=Nc;function Nc(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===cc)&&(e=Kt),us(e)){const l=an(e,t,!0);return n&&Br(l,n),Pn>0&&!o&&Ve&&(l.shapeFlag&6?Ve[Ve.indexOf(e)]=l:Ve.push(l)),l.patchFlag=-2,l}if(Zc(e)&&(e=e.__vccOpts),t){t=Uc(t);let{class:l,style:c}=t;l&&!we(l)&&(t.class=X(l)),de(c)&&(Mr(c)&&!H(c)&&(c=Re({},c)),t.style=Fn(c))}const i=we(e)?1:ol(e)?128:Za(e)?64:de(e)?4:K(e)?2:0;return d(e,t,n,s,r,i,o,!0)}function Uc(e){return e?Mr(e)||Wi(e)?Re({},e):e:null}function an(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?zc(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ll(a),ref:t&&t.ref?n&&o?H(o)?o.concat(Yn(t)):[o,Yn(t)]:Yn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Q?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&an(e.ssContent),ssFallback:e.ssFallback&&an(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&$r(u,c.clone(u)),u}function ye(e=" ",t=0){return F(As,null,e,t)}function ge(e="",t=!1){return t?(_(),_e(Kt,null,e)):F(Kt,null,e)}function ut(e){return e==null||typeof e=="boolean"?F(Kt):H(e)?F(Q,null,e.slice()):us(e)?kt(e):F(As,null,String(e))}function kt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:an(e)}function Br(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Br(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Wi(t)?t._ctx=qe:r===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:qe},n=32):(t=String(t),s&64?(n=16,t=[ye(t)]):n=8);e.children=t,e.shapeFlag|=n}function zc(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};fs=t("__VUE_INSTANCE_SETTERS__",n=>Ie=n),dr=t("__VUE_SSR_SETTERS__",n=>In=n)}const Un=e=>{const t=Ie;return fs(e),e.scope.on(),()=>{e.scope.off(),fs(t)}},uo=()=>{Ie&&Ie.scope.off(),fs(null)};function al(e){return e.vnode.shapeFlag&4}let In=!1;function Kc(e,t=!1,n=!1){t&&dr(t);const{props:s,children:r}=e.vnode,o=al(e);xc(e,s,o,t),Ec(e,r,n);const i=o?Wc(e,t):void 0;return t&&dr(!1),i}function Wc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fc);const{setup:s}=n;if(s){Mt();const r=e.setupContext=s.length>1?Gc(e):null,o=Un(e),i=Nn(s,e,0,[e.props,r]),l=li(i);if(jt(),o(),(l||e.sp)&&!En(e)&&Fi(e),l){if(i.then(uo,uo),t)return i.then(c=>{fo(e,c,t)}).catch(c=>{Es(c,e,0)});e.asyncDep=i}else fo(e,i,t)}else cl(e,t)}function fo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=Pi(t)),cl(e,n)}let po;function cl(e,t,n){const s=e.type;if(!e.render){if(!t&&po&&!s.render){const r=s.template||Dr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=Re(Re({isCustomElement:o,delimiters:l},i),c);s.render=po(r,a)}}e.render=s.render||ft}{const r=Un(e);Mt();try{dc(e)}finally{jt(),r()}}}const Qc={get(e,t){return Oe(e,"get",""),e[t]}};function Gc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Qc),slots:e.slots,emit:e.emit,expose:t}}function Rs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Pi(Ba(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sn)return Sn[n](e)},has(t,n){return n in t||n in Sn}})):e.proxy}function Jc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Zc(e){return K(e)&&"__vccOpts"in e}const Xe=(e,t)=>qa(e,t,In);function ul(e,t,n){const s=arguments.length;return s===2?de(t)&&!H(t)?us(t)?F(e,null,[t]):F(e,t):F(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&us(n)&&(n=[n]),F(e,t,n))}const Xc="3.5.13";/** -* @vue/runtime-dom v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let pr;const ho=typeof window<"u"&&window.trustedTypes;if(ho)try{pr=ho.createPolicy("vue",{createHTML:e=>e})}catch{}const fl=pr?e=>pr.createHTML(e):e=>e,Yc="http://www.w3.org/2000/svg",eu="http://www.w3.org/1998/Math/MathML",bt=typeof document<"u"?document:null,mo=bt&&bt.createElement("template"),tu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?bt.createElementNS(Yc,e):t==="mathml"?bt.createElementNS(eu,e):n?bt.createElement(e,{is:n}):bt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>bt.createTextNode(e),createComment:e=>bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{mo.innerHTML=fl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=mo.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},nu=Symbol("_vtc");function su(e,t,n){const s=e[nu];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const go=Symbol("_vod"),ru=Symbol("_vsh"),ou=Symbol(""),iu=/(^|;)\s*display\s*:/;function lu(e,t,n){const s=e.style,r=we(n);let o=!1;if(n&&!r){if(t)if(we(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&es(s,l,"")}else for(const i in t)n[i]==null&&es(s,i,"");for(const i in n)i==="display"&&(o=!0),es(s,i,n[i])}else if(r){if(t!==n){const i=s[ou];i&&(n+=";"+i),s.cssText=n,o=iu.test(n)}}else t&&e.removeAttribute("style");go in e&&(e[go]=o?s.display:"",e[ru]&&(s.display="none"))}const bo=/\s*!important$/;function es(e,t,n){if(H(n))n.forEach(s=>es(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=au(e,t);bo.test(n)?e.setProperty(Qt(s),n.replace(bo,""),"important"):e[s]=n}}const yo=["Webkit","Moz","ms"],Qs={};function au(e,t){const n=Qs[t];if(n)return n;let s=Ge(t);if(s!=="filter"&&s in e)return Qs[t]=s;s=xs(s);for(let r=0;rGs||(du.then(()=>Gs=0),Gs=Date.now());function hu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;pt(mu(s,n.value),t,5,[s])};return n.value=e,n.attached=pu(),n}function mu(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const So=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gu=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?su(e,s,i):t==="style"?lu(e,n,s):gs(t)?Sr(t)||uu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bu(e,t,s,i))?(_o(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&vo(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!we(s))?_o(e,Ge(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),vo(e,t,s,i))};function bu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&So(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return So(t)&&we(n)?!1:t in e}const ds=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>Zn(t,n):t};function yu(e){e.target.composing=!0}function Co(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ln=Symbol("_assign"),vt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ln]=ds(r);const o=s||r.props&&r.props.type==="number";Nt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=rs(l)),e[ln](l)}),n&&Nt(e,"change",()=>{e.value=e.value.trim()}),t||(Nt(e,"compositionstart",yu),Nt(e,"compositionend",Co),Nt(e,"change",Co))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ln]=ds(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?rs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Ot={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=bs(t);Nt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?rs(ps(i)):ps(i));e[ln](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,jr(()=>{e._assigning=!1})}),e[ln]=ds(s)},mounted(e,{value:t}){Ao(e,t)},beforeUpdate(e,t,n){e[ln]=ds(n)},updated(e,{value:t}){e._assigning||Ao(e,t)}};function Ao(e,t){const n=e.multiple,s=H(t);if(!(n&&!s&&!bs(t))){for(let r=0,o=e.options.length;rString(a)===String(l)):i.selected=ya(t,l)>-1}else i.selected=t.has(l);else if(_s(ps(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ps(e){return"_value"in e?e._value:e.value}const xu=["ctrl","shift","alt","meta"],vu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>xu.some(n=>e[`${n}Key`]&&!t.includes(n))},_u=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const t=Eu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Au(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Cu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Cu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Au(e){return we(e)?document.querySelector(e):e}/*! - * vue-router v4.4.5 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const en=typeof document<"u";function dl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ru(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&dl(e.default)}const ie=Object.assign;function Js(e,t){const n={};for(const s in t){const r=t[s];n[s]=tt(r)?r.map(e):e(r)}return n}const An=()=>{},tt=Array.isArray,pl=/#/g,ku=/&/g,Tu=/\//g,Ou=/=/g,Pu=/\?/g,hl=/\+/g,Iu=/%5B/g,Mu=/%5D/g,ml=/%5E/g,ju=/%60/g,gl=/%7B/g,Lu=/%7C/g,bl=/%7D/g,$u=/%20/g;function Nr(e){return encodeURI(""+e).replace(Lu,"|").replace(Iu,"[").replace(Mu,"]")}function Du(e){return Nr(e).replace(gl,"{").replace(bl,"}").replace(ml,"^")}function hr(e){return Nr(e).replace(hl,"%2B").replace($u,"+").replace(pl,"%23").replace(ku,"%26").replace(ju,"`").replace(gl,"{").replace(bl,"}").replace(ml,"^")}function Fu(e){return hr(e).replace(Ou,"%3D")}function Bu(e){return Nr(e).replace(pl,"%23").replace(Pu,"%3F")}function Nu(e){return e==null?"":Bu(e).replace(Tu,"%2F")}function Mn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Uu=/\/$/,zu=e=>e.replace(Uu,"");function Zs(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Ku(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Mn(i)}}function Hu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ko(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&cn(t.matched[s],n.matched[r])&&yl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function cn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function yl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Vu(e[n],t[n]))return!1;return!0}function Vu(e,t){return tt(e)?To(e,t):tt(t)?To(t,e):e===t}function To(e,t){return tt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ku(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const At={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var jn;(function(e){e.pop="pop",e.push="push"})(jn||(jn={}));var Rn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rn||(Rn={}));function Wu(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zu(e)}const Qu=/^[^#]+#/;function Gu(e,t){return e.replace(Qu,"#")+t}function Ju(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ks=()=>({left:window.scrollX,top:window.scrollY});function Zu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Ju(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Oo(e,t){return(history.state?history.state.position-t:-1)+e}const mr=new Map;function Xu(e,t){mr.set(e,t)}function Yu(e){const t=mr.get(e);return mr.delete(e),t}let ef=()=>location.protocol+"//"+location.host;function xl(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),ko(c,"")}return ko(n,e)+s+r}function tf(e,t,n,s){let r=[],o=[],i=null;const l=({state:m})=>{const g=xl(e,location),x=n.value,S=t.value;let E=0;if(m){if(n.value=g,t.value=m,i&&i===x){i=null;return}E=S?m.position-S.position:0}else s(g);r.forEach(I=>{I(n.value,x,{delta:E,type:jn.pop,direction:E?E>0?Rn.forward:Rn.back:Rn.unknown})})};function c(){i=n.value}function a(m){r.push(m);const g=()=>{const x=r.indexOf(m);x>-1&&r.splice(x,1)};return o.push(g),g}function u(){const{history:m}=window;m.state&&m.replaceState(ie({},m.state,{scroll:ks()}),"")}function f(){for(const m of o)m();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:a,destroy:f}}function Po(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ks():null}}function nf(e){const{history:t,location:n}=window,s={value:xl(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const f=e.indexOf("#"),m=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:ef()+e+c;try{t[u?"replaceState":"pushState"](a,"",m),r.value=a}catch(g){console.error(g),n[u?"replace":"assign"](m)}}function i(c,a){const u=ie({},t.state,Po(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,u,!0),s.value=c}function l(c,a){const u=ie({},r.value,t.state,{forward:c,scroll:ks()});o(u.current,u,!0);const f=ie({},Po(s.value,c,null),{position:u.position+1},a);o(c,f,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function sf(e){e=Wu(e);const t=nf(e),n=tf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ie({location:"",base:e,go:s,createHref:Gu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function rf(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),sf(e)}function of(e){return typeof e=="string"||e&&typeof e=="object"}function vl(e){return typeof e=="string"||typeof e=="symbol"}const _l=Symbol("");var Io;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Io||(Io={}));function un(e,t){return ie(new Error,{type:e,[_l]:!0},t)}function gt(e,t){return e instanceof Error&&_l in e&&(t==null||!!(e.type&t))}const Mo="[^/]+?",lf={sensitive:!1,strict:!1,start:!0,end:!0},af=/[.+*?^${}()[\]/\\]/g;function cf(e,t){const n=ie({},lf,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function wl(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ff={type:0,value:""},df=/[a-zA-Z0-9_]/;function pf(e){if(!e)return[[]];if(e==="/")return[[ff]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",u="";function f(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function m(){a+=c}for(;l{i(O)}:An}function i(f){if(vl(f)){const m=s.get(f);m&&(s.delete(f),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(f);m>-1&&(n.splice(m,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const m=yf(f,n);n.splice(m,0,f),f.record.name&&!Do(f)&&s.set(f.record.name,f)}function a(f,m){let g,x={},S,E;if("name"in f&&f.name){if(g=s.get(f.name),!g)throw un(1,{location:f});E=g.record.name,x=ie(Lo(m.params,g.keys.filter(O=>!O.optional).concat(g.parent?g.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),f.params&&Lo(f.params,g.keys.map(O=>O.name))),S=g.stringify(x)}else if(f.path!=null)S=f.path,g=n.find(O=>O.re.test(S)),g&&(x=g.parse(S),E=g.record.name);else{if(g=m.name?s.get(m.name):n.find(O=>O.re.test(m.path)),!g)throw un(1,{location:f,currentLocation:m});E=g.record.name,x=ie({},m.params,f.params),S=g.stringify(x)}const I=[];let T=g;for(;T;)I.unshift(T.record),T=T.parent;return{name:E,path:S,params:x,matched:I,meta:bf(I)}}e.forEach(f=>o(f));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Lo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function $o(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:gf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function gf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Do(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bf(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function Fo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function yf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;wl(e,t[o])<0?s=o:n=o+1}const r=xf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function xf(e){let t=e;for(;t=t.parent;)if(El(t)&&wl(e,t)===0)return t}function El({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function vf(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&hr(o)):[s&&hr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function _f(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=tt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const wf=Symbol(""),No=Symbol(""),Ts=Symbol(""),Ur=Symbol(""),gr=Symbol("");function bn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Tt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=m=>{m===!1?c(un(4,{from:n,to:t})):m instanceof Error?c(m):of(m)?c(un(2,{from:t,to:m})):(i&&s.enterCallbacks[r]===i&&typeof m=="function"&&i.push(m),l())},u=o(()=>e.call(s&&s.instances[r],t,n,a));let f=Promise.resolve(u);e.length<3&&(f=f.then(a)),f.catch(m=>c(m))})}function Xs(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(dl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Tt(u,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=Ru(u)?u.default:u;i.mods[l]=u,i.components[l]=f;const g=(f.__vccOpts||f)[t];return g&&Tt(g,n,s,i,l,r)()}))}}return o}function Uo(e){const t=et(Ts),n=et(Ur),s=Xe(()=>{const c=Ae(e.to);return t.resolve(c)}),r=Xe(()=>{const{matched:c}=s.value,{length:a}=c,u=c[a-1],f=n.matched;if(!u||!f.length)return-1;const m=f.findIndex(cn.bind(null,u));if(m>-1)return m;const g=zo(c[a-2]);return a>1&&zo(u)===g&&f[f.length-1].path!==g?f.findIndex(cn.bind(null,c[a-2])):m}),o=Xe(()=>r.value>-1&&Af(n.params,s.value.params)),i=Xe(()=>r.value>-1&&r.value===n.matched.length-1&&yl(n.params,s.value.params));function l(c={}){return Cf(c)?t[Ae(e.replace)?"replace":"push"](Ae(e.to)).catch(An):Promise.resolve()}return{route:s,href:Xe(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const Ef=Di({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Uo,setup(e,{slots:t}){const n=Bn(Uo(e)),{options:s}=et(Ts),r=Xe(()=>({[Ho(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ho(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ul("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Sf=Ef;function Cf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Af(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!tt(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function zo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ho=(e,t,n)=>e??t??n,Rf=Di({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=et(gr),r=Xe(()=>e.route||s.value),o=et(No,0),i=Xe(()=>{let a=Ae(o);const{matched:u}=r.value;let f;for(;(f=u[a])&&!f.components;)a++;return a}),l=Xe(()=>r.value.matched[i.value]);Xn(No,Xe(()=>i.value+1)),Xn(wf,l),Xn(gr,r);const c=ee();return Ht(()=>[c.value,l.value,e.name],([a,u,f],[m,g,x])=>{u&&(u.instances[f]=a,g&&g!==u&&a&&a===m&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),a&&u&&(!g||!cn(u,g)||!m)&&(u.enterCallbacks[f]||[]).forEach(S=>S(a))},{flush:"post"}),()=>{const a=r.value,u=e.name,f=l.value,m=f&&f.components[u];if(!m)return qo(n.default,{Component:m,route:a});const g=f.props[u],x=g?g===!0?a.params:typeof g=="function"?g(a):g:null,E=ul(m,ie({},x,t,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return qo(n.default,{Component:E,route:a})||E}}});function qo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Sl=Rf;function kf(e){const t=mf(e.routes,e),n=e.parseQuery||vf,s=e.stringifyQuery||Bo,r=e.history,o=bn(),i=bn(),l=bn(),c=Na(At);let a=At;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Js.bind(null,w=>""+w),f=Js.bind(null,Nu),m=Js.bind(null,Mn);function g(w,B){let $,N;return vl(w)?($=t.getRecordMatcher(w),N=B):N=w,t.addRoute(N,$)}function x(w){const B=t.getRecordMatcher(w);B&&t.removeRoute(B)}function S(){return t.getRoutes().map(w=>w.record)}function E(w){return!!t.getRecordMatcher(w)}function I(w,B){if(B=ie({},B||c.value),typeof w=="string"){const h=Zs(n,w,B.path),b=t.resolve({path:h.path},B),C=r.createHref(h.fullPath);return ie(h,b,{params:m(b.params),hash:Mn(h.hash),redirectedFrom:void 0,href:C})}let $;if(w.path!=null)$=ie({},w,{path:Zs(n,w.path,B.path).path});else{const h=ie({},w.params);for(const b in h)h[b]==null&&delete h[b];$=ie({},w,{params:f(h)}),B.params=f(B.params)}const N=t.resolve($,B),re=w.hash||"";N.params=u(m(N.params));const me=Hu(s,ie({},w,{hash:Du(re),path:N.path})),p=r.createHref(me);return ie({fullPath:me,hash:re,query:s===Bo?_f(w.query):w.query||{}},N,{redirectedFrom:void 0,href:p})}function T(w){return typeof w=="string"?Zs(n,w,c.value.path):ie({},w)}function O(w,B){if(a!==w)return un(8,{from:B,to:w})}function j(w){return G(w)}function V(w){return j(ie(T(w),{replace:!0}))}function Y(w){const B=w.matched[w.matched.length-1];if(B&&B.redirect){const{redirect:$}=B;let N=typeof $=="function"?$(w):$;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=T(N):{path:N},N.params={}),ie({query:w.query,hash:w.hash,params:N.path!=null?{}:w.params},N)}}function G(w,B){const $=a=I(w),N=c.value,re=w.state,me=w.force,p=w.replace===!0,h=Y($);if(h)return G(ie(T(h),{state:typeof h=="object"?ie({},re,h.state):re,force:me,replace:p}),B||$);const b=$;b.redirectedFrom=B;let C;return!me&&qu(s,N,$)&&(C=un(16,{to:b,from:N}),ot(N,N,!0,!1)),(C?Promise.resolve(C):st(b,N)).catch(v=>gt(v)?gt(v,2)?v:Ct(v):te(v,b,N)).then(v=>{if(v){if(gt(v,2))return G(ie({replace:p},T(v.to),{state:typeof v.to=="object"?ie({},re,v.to.state):re,force:me}),B||b)}else v=$t(b,N,!0,p,re);return St(b,N,v),v})}function Se(w,B){const $=O(w,B);return $?Promise.reject($):Promise.resolve()}function Je(w){const B=Zt.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(w):w()}function st(w,B){let $;const[N,re,me]=Tf(w,B);$=Xs(N.reverse(),"beforeRouteLeave",w,B);for(const h of N)h.leaveGuards.forEach(b=>{$.push(Tt(b,w,B))});const p=Se.bind(null,w,B);return $.push(p),We($).then(()=>{$=[];for(const h of o.list())$.push(Tt(h,w,B));return $.push(p),We($)}).then(()=>{$=Xs(re,"beforeRouteUpdate",w,B);for(const h of re)h.updateGuards.forEach(b=>{$.push(Tt(b,w,B))});return $.push(p),We($)}).then(()=>{$=[];for(const h of me)if(h.beforeEnter)if(tt(h.beforeEnter))for(const b of h.beforeEnter)$.push(Tt(b,w,B));else $.push(Tt(h.beforeEnter,w,B));return $.push(p),We($)}).then(()=>(w.matched.forEach(h=>h.enterCallbacks={}),$=Xs(me,"beforeRouteEnter",w,B,Je),$.push(p),We($))).then(()=>{$=[];for(const h of i.list())$.push(Tt(h,w,B));return $.push(p),We($)}).catch(h=>gt(h,8)?h:Promise.reject(h))}function St(w,B,$){l.list().forEach(N=>Je(()=>N(w,B,$)))}function $t(w,B,$,N,re){const me=O(w,B);if(me)return me;const p=B===At,h=en?history.state:{};$&&(N||p?r.replace(w.fullPath,ie({scroll:p&&h&&h.scroll},re)):r.push(w.fullPath,re)),c.value=w,ot(w,B,$,p),Ct()}let rt;function pn(){rt||(rt=r.listen((w,B,$)=>{if(!Wn.listening)return;const N=I(w),re=Y(N);if(re){G(ie(re,{replace:!0}),N).catch(An);return}a=N;const me=c.value;en&&Xu(Oo(me.fullPath,$.delta),ks()),st(N,me).catch(p=>gt(p,12)?p:gt(p,2)?(G(p.to,N).then(h=>{gt(h,20)&&!$.delta&&$.type===jn.pop&&r.go(-1,!1)}).catch(An),Promise.reject()):($.delta&&r.go(-$.delta,!1),te(p,N,me))).then(p=>{p=p||$t(N,me,!1),p&&($.delta&&!gt(p,8)?r.go(-$.delta,!1):$.type===jn.pop&>(p,20)&&r.go(-1,!1)),St(N,me,p)}).catch(An)}))}let Gt=bn(),Ce=bn(),le;function te(w,B,$){Ct(w);const N=Ce.list();return N.length?N.forEach(re=>re(w,B,$)):console.error(w),Promise.reject(w)}function ht(){return le&&c.value!==At?Promise.resolve():new Promise((w,B)=>{Gt.add([w,B])})}function Ct(w){return le||(le=!w,pn(),Gt.list().forEach(([B,$])=>w?$(w):B()),Gt.reset()),w}function ot(w,B,$,N){const{scrollBehavior:re}=e;if(!en||!re)return Promise.resolve();const me=!$&&Yu(Oo(w.fullPath,0))||(N||!$)&&history.state&&history.state.scroll||null;return jr().then(()=>re(w,B,me)).then(p=>p&&Zu(p)).catch(p=>te(p,w,B))}const De=w=>r.go(w);let Jt;const Zt=new Set,Wn={currentRoute:c,listening:!0,addRoute:g,removeRoute:x,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:S,resolve:I,options:e,push:j,replace:V,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Ce.add,isReady:ht,install(w){const B=this;w.component("RouterLink",Sf),w.component("RouterView",Sl),w.config.globalProperties.$router=B,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>Ae(c)}),en&&!Jt&&c.value===At&&(Jt=!0,j(r.location).catch(re=>{}));const $={};for(const re in At)Object.defineProperty($,re,{get:()=>c.value[re],enumerable:!0});w.provide(Ts,B),w.provide(Ur,ki($)),w.provide(gr,c);const N=w.unmount;Zt.add(w),w.unmount=function(){Zt.delete(w),Zt.size<1&&(a=At,rt&&rt(),rt=null,c.value=At,Jt=!1,le=!1),N()}}};function We(w){return w.reduce((B,$)=>B.then(()=>Je($)),Promise.resolve())}return Wn}function Tf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;icn(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>cn(a,c))||r.push(c))}return[n,s,r]}function Cl(){return et(Ts)}function Al(e){return et(Ur)}const Of={__name:"App",setup(e){return(t,n)=>(_(),_e(Ae(Sl)))}},Pf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2023%2023'%3e%3cpath%20fill='%23f3f3f3'%20d='M0%200h23v23H0z'/%3e%3cpath%20fill='%23f35325'%20d='M1%201h10v10H1z'/%3e%3cpath%20fill='%2381bc06'%20d='M12%201h10v10H12z'/%3e%3cpath%20fill='%2305a6f0'%20d='M1%2012h10v10H1z'/%3e%3cpath%20fill='%23ffba08'%20d='M12%2012h10v10H12z'/%3e%3c/svg%3e",Ee=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},If={props:{customClass:{type:String},sizeClass:{type:String,default:"text-5xl"}}},Mf={class:"flex space-x-1"};function jf(e,t,n,s,r,o){return _(),R("div",Mf,[d("h1",{class:X([n.customClass||"text-light"])},[d("span",{class:X(["italic",n.sizeClass])},"Achei",2)],2),d("h1",{class:X([n.customClass||"text-light"])},[d("span",{class:X(["font-bold",n.sizeClass])},"UnB",2)],2)])}const _t=Ee(If,[["render",jf]]),Lf={id:"transition-screen",class:"fixed inset-0 flex items-center justify-center z-50"},$f={class:"fixed inset-0 flex items-center justify-center z-50"},Df={id:"main-content",class:"telaInteira bg-azul text-white p-4 min-h-screen hidden"},Ff={class:"titulo flex space-x-1 mt-20 mb-20 ml-8 md:flex md:justify-center md:mb-52"},Bf={__name:"Login",setup(e){window.addEventListener("load",()=>{const n=document.getElementById("transition-screen"),s=document.getElementById("main-content");setTimeout(()=>{n.classList.add("fade-out")},500),n.addEventListener("animationend",()=>{n.classList.add("hidden"),s.classList.remove("hidden"),s.classList.add("fade-in")})});function t(){window.location.href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=f1b79927-10ff-4601-a361-f9cab58fb250&scope=User.Read&response_type=code&state=Zay5NfY4tSn7JgvO&domain=alunos.unb.br"}return(n,s)=>(_(),R(Q,null,[d("div",Lf,[d("div",$f,[F(_t,{customClass:"text-azul"})])]),d("div",Df,[d("div",Ff,[F(_t)]),s[1]||(s[1]=d("div",{class:"slogan max-w-72 ml-8 md:mr-8 md:max-w-none md:w-auto md:text-center"},[d("p",{class:"text-5xl font-bold mb-4 md:text-6xl"},"Perdeu algo no campus?"),d("p",{class:"text-5xl italic font-light mb-4 md:text-6xl"},"A gente te ajuda!")],-1)),d("div",{class:"flex justify-center mt-52"},[d("button",{onClick:t,class:"flex items-center rounded-full bg-gray-50 px-5 py-3 text-md font-medium text-azul ring-1 ring-inset ring-gray-500/10"},s[0]||(s[0]=[d("img",{src:Pf,alt:"Logo Microsoft",class:"h-6 w-auto mr-2"},null,-1),ye(" Entre com a conta da Microsoft ")]))])])],64))}},Vo=Ee(Bf,[["__scopeId","data-v-cdb7a9e0"]]),Nf={name:"AboutHeader",props:{text:String}},Uf={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-center text-white p-6"},zf={class:"font-inter font-semibold text-2xl"};function Hf(e,t,n,s,r,o){return _(),R("div",Uf,[d("div",null,[d("span",zf,Z(n.text?n.text:"Sobre o projeto"),1)])])}const qf=Ee(Nf,[["render",Hf]]),Vf={name:"MainMenu",props:{activeIcon:String}},Kf={class:"h-full bg-azul shadow-md rounded-t-xl flex items-center justify-center text-white gap-x-9 p-8"};function Wf(e,t,n,s,r,o){const i=he("router-link");return _(),R("div",Kf,[F(i,{to:"/found",class:"no-underline"},{default:be(()=>[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="search"}])},t[0]||(t[0]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"},null,-1)]),2))]),_:1}),F(i,{to:"/user",class:"no-underline"},{default:be(()=>[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="user"}])},t[1]||(t[1]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"},null,-1)]),2))]),_:1}),F(i,{to:"/about",class:"no-underline"},{default:be(()=>[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="info"}])},t[2]||(t[2]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"},null,-1)]),2))]),_:1}),F(i,{to:"/chats",class:"no-underline"},{default:be(()=>[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="chat"}])},t[3]||(t[3]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"},null,-1)]),2))]),_:1})])}const Et=Ee(Vf,[["render",Wf]]),Qf="/static/dist/assets/Favicon-DZaE_dAz.png",Gf={class:"relative min-h-screen"},Jf={class:"fixed w-full top-0",style:{"z-index":"1"}},Zf={class:"pt-[120px] flex justify-center my-6 text-azul"},Xf={class:"max-w-4xl mx-auto mt-10 p-5 pb-[140px]"},Yf={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"},ed=["href"],td=["src","alt"],nd={class:"text-center mt-2"},sd={class:"font-inter font-medium"},rd={class:"fixed bottom-0 w-full"},od={__name:"About",setup(e){const t=ee(Qf),n=[{name:"Ana Elisa Ramos",github:"https://github.com/anaelisaramos",image:"https://github.com/anaelisaramos.png"},{name:"Davi Camilo",github:"https://github.com/DaviCamilo23",image:"https://github.com/DaviCamilo23.png"},{name:"Euller Júlio da Silva",github:"https://github.com/potatoyz908",image:"https://github.com/potatoyz908.png"},{name:"Leonardo Ramiro",github:"https://github.com/leoramiroo",image:"https://github.com/leoramiroo.png"},{name:"Pedro Everton",github:"https://github.com/pedroeverton217",image:"https://github.com/pedroeverton217.png"},{name:"Pedro Martins Silva",github:"https://github.com/314dro",image:"https://github.com/314dro.png"},{name:"Tiago Balieiro",github:"https://github.com/TiagoBalieiro",image:"https://github.com/TiagoBalieiro.png"}];return(s,r)=>{const o=he("ButtonAdd");return _(),R("div",Gf,[d("div",{class:"absolute inset-0 bg-no-repeat bg-cover bg-center opacity-10 z-[-1]",style:Fn({backgroundImage:`url(${t.value})`,backgroundSize:s.isLargeScreen?"50%":"contain",backgroundAttachment:"fixed"})},null,4),d("div",Jf,[F(qf)]),d("div",Zf,[F(_t)]),r[2]||(r[2]=d("span",{class:"font-inter text-azul text-center flex justify-center items-center mx-auto max-w-3xl sm:px-0 px-4 md:max-w-2xl mt-7"},[ye(" Somos um grupo da disciplina Métodos de Desenvolvimento de Software da Universidade de Brasília."),d("br"),ye(" Temos como objetivo solucionar um dos problemas da faculdade, que é a falta de ferramentas para organizar itens achados e perdidos pelos estudantes."),d("br"),ye(" Com o AcheiUnB você consegue de forma simples e intuitiva procurar pelo seu item perdido ou cadastrar um item que você encontrou. ")],-1)),r[3]||(r[3]=d("div",{class:"flex justify-center mt-6"},[d("a",{href:"https://unb-mds.github.io/2024-2-AcheiUnB/CONTRIBUTING/",target:"_blank",class:"bg-laranja text-white font-semibold px-8 py-3 text-lg lg:text-xl rounded-full hover:bg-azulEscuro transition hover:text-white duration-300 shadow-md hover:scale-110 transition-transform"}," Como Contribuir? ")],-1)),d("div",Xf,[r[1]||(r[1]=d("div",{class:"text-azul text-lg text-center font-semibold mb-7"},"Criado por:",-1)),d("div",Yf,[(_(),R(Q,null,xe(n,i=>d("div",{key:i.name,class:"flex flex-col items-center"},[d("a",{href:i.github,target:"_blank"},[d("img",{src:i.image,alt:i.name,class:"w-[100px] rounded-full hover:scale-110 transition-transform"},null,8,td)],8,ed),d("div",nd,[d("p",sd,Z(i.name),1),r[0]||(r[0]=d("p",{class:"text-sm text-cinza3"},"Engenharia de Software",-1))])])),64))])]),F(o),d("div",rd,[F(Et,{activeIcon:"info"})])])}}},zr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%238899a8'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m14.74%209-.346%209m-4.788%200L9.26%209m9.968-3.21c.342.052.682.107%201.022.166m-1.022-.165L18.16%2019.673a2.25%202.25%200%200%201-2.244%202.077H8.084a2.25%202.25%200%200%201-2.244-2.077L4.772%205.79m14.456%200a48.108%2048.108%200%200%200-3.478-.397m-12%20.562c.34-.059.68-.114%201.022-.165m0%200a48.11%2048.11%200%200%201%203.478-.397m7.5%200v-.916c0-1.18-.91-2.164-2.09-2.201a51.964%2051.964%200%200%200-3.32%200c-1.18.037-2.09%201.022-2.09%202.201v.916m7.5%200a48.667%2048.667%200%200%200-7.5%200'%20/%3e%3c/svg%3e",id="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23133E78'%20%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M15%2010.5a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z'%20/%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%2010.5c0%207.142-7.5%2011.25-7.5%2011.25S4.5%2017.642%204.5%2010.5a7.5%207.5%200%201%201%2015%200Z'%20/%3e%3c/svg%3e",ld={name:"ItemCard",props:{id:Number,image:String,name:String,time:String,location:String,isMyItem:{type:Boolean,default:!1}},methods:{viewItemDetails(){this.$router.push({name:"ListItem",query:{idItem:this.id}})}},methods:{viewItemDetails(){this.$router.push({name:"ListItem",query:{idItem:this.id}})}}},ad={class:"w-full h-[120px] bg-cinza2 rounded-sm flex justify-center items-start"},cd=["src"],ud={class:"text-azul font-bold font-inter mt-1 truncate"},fd={class:"flex items-start"},dd={class:"text-azul font-inter text-sm"},pd={class:"text-right font-inter font-bold text-xs text-cinza3 p-1 flex justify-end items-center"};function hd(e,t,n,s,r,o){return _(),R("div",{class:"w-[170px] sm:w-[190px] h-[230px] bg-cinza1 rounded-sm shadow-complete p-2 flex flex-col relative z-0",onClick:t[1]||(t[1]=i=>o.viewItemDetails())},[d("div",ad,[d("img",{src:n.image,class:"rounded-sm w-full h-full max-w-full max-h-full object-cover"},null,8,cd)]),n.isMyItem?(_(),R("button",{key:0,class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-10 h-10 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:t[0]||(t[0]=_u(i=>e.$emit("delete",n.id),["stop"]))},t[2]||(t[2]=[d("img",{src:zr,alt:"Excluir"},null,-1)]))):ge("",!0),t[4]||(t[4]=d("div",{class:"h-[2px] w-1/4 bg-laranja mt-4"},null,-1)),d("div",ud,Z(n.name),1),d("div",fd,[t[3]||(t[3]=d("img",{src:id,alt:"",class:"w-[15px] h-[15px] mr-1"},null,-1)),d("div",dd,Z(n.location),1)]),d("span",pd,[n.isMyItem?ge("",!0):(_(),R(Q,{key:0},[ye(Z(n.time),1)],64))])])}const Os=Ee(ld,[["render",hd]]),Rl="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23133E78'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",md={props:{customClass:{name:"ButtonAdd",type:String}}};function gd(e,t,n,s,r,o){const i=he("router-link");return _(),_e(i,{to:"/register-lost"},{default:be(()=>t[0]||(t[0]=[d("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[d("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item perdido"),d("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[d("img",{src:Rl,alt:""})])],-1)])),_:1})}const bd=Ee(md,[["render",gd]]),ae=Bn({searchQuery:"",activeCategory:null,activeLocation:null}),yd=e=>{ae.searchQuery=e},xd=e=>{ae.activeCategory==e?ae.activeCategory=null:ae.activeCategory=e},vd=e=>{ae.activeLocation==e?ae.activeLocation=null:ae.activeLocation=e},_d={name:"SearchBar",setup(){return{filtersState:ae,setSearchQuery:yd,setActiveCategory:xd,setActiveLocation:vd}},data(){return{showFilters:!1,isActive:!1,categories:[{label:"Animais",active:!1},{label:"Eletrônicos",active:!1},{label:"Mochilas e Bolsas",active:!1},{label:"Chaves",active:!1},{label:"Livros e Materiais Acadêmicos",active:!1},{label:"Documentos e Cartões",active:!1},{label:"Equipamentos Esportivos",active:!1},{label:"Roupas e Acessórios",active:!1},{label:"Itens Pessoais",active:!1},{label:"Outros",active:!1}],locations:[{label:"RU",active:!1},{label:"Biblioteca",active:!1},{label:"UED",active:!1},{label:"UAC",active:!1},{label:"LTDEA",active:!1},{label:"Centro Acadêmico",active:!1}]}},computed:{isMediumOrLarger(){return window.innerWidth>=768},searchQueryWithoutAccents(){return this.searchQuery?this.searchQuery.normalize("NFD").replace(/[\u0300-\u036f]/g,""):""}},methods:{toggleActive(){this.isActive=!this.isActive},toggleFilters(){this.showFilters=!this.showFilters},toggleFilter(e,t){e==="category"?this.categories.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1}):e==="location"&&this.locations.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1})}}},wd={class:"flex gap-2 flex-wrap mt-4"},Ed=["onClick"],Sd={class:"flex gap-2 flex-wrap mt-4"},Cd=["onClick"];function Ad(e,t,n,s,r,o){return _(),R("form",{class:X(["absolute flex items-center",{"fixed w-full top-6 pr-8 z-50":r.isActive&&!o.isMediumOrLarger,"relative w-auto":!r.isActive||o.isMediumOrLarger}])},[d("button",{onClick:t[0]||(t[0]=i=>{o.toggleFilters(),o.toggleActive()}),class:"absolute left-3 text-gray-500 hover:text-gray-700 transition-colors z-50",type:"button"},t[5]||(t[5]=[d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})],-1)])),ke(d("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>s.filtersState.searchQuery=i),class:"input bg-gray-200 rounded-full px-10 py-2 my-1 border-2 border-transparent focus:outline-none focus:border-laranja placeholder-gray-500 text-gray-700 transition-all duration-300 shadow-md pr-10 w-full z-40",placeholder:"Pesquise seu item",type:"text",onInput:t[2]||(t[2]=i=>s.setSearchQuery(s.filtersState.searchQuery)),onFocus:t[3]||(t[3]=i=>r.isActive=!0),onBlur:t[4]||(t[4]=i=>{r.isActive=!1,r.showFilters=!1})},null,544),[[vt,s.filtersState.searchQuery]]),d("button",{class:X(["absolute right-4 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 transition-colors duration-200 z-50",{"pr-8":r.isActive&&!o.isMediumOrLarger}]),type:"submit"},t[6]||(t[6]=[d("svg",{width:"17",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-labelledby":"search",class:"w-5 h-5"},[d("path",{d:"M7.667 12.667A5.333 5.333 0 107.667 2a5.333 5.333 0 000 10.667zM14.334 14l-2.9-2.9",stroke:"currentColor","stroke-width":"1.333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2),r.showFilters?(_(),R("div",{key:0,class:X(["absolute left-0 bg-gray-200 shadow-lg rounded-xl p-4 z-30",{"w-fit mr-8":r.isActive&&!o.isMediumOrLarger,"w-full":o.isMediumOrLarger}]),style:{top:"calc(50% - 4px)"}},[d("div",wd,[t[7]||(t[7]=d("span",{class:"w-full text-azul text-2xl font-bold"},"Categoria ",-1)),(_(!0),R(Q,null,xe(r.categories,(i,l)=>(_(),R("button",{key:l,onClick:c=>(o.toggleFilter("category",l),s.setActiveCategory(i.label)),class:X(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},Z(i.label),11,Ed))),128))]),t[9]||(t[9]=d("div",{class:"h-[2px] w-full bg-laranja mt-4"},null,-1)),d("div",Sd,[t[8]||(t[8]=d("span",{class:"w-full text-azul text-2xl font-bold"},"Local ",-1)),(_(!0),R(Q,null,xe(r.locations,(i,l)=>(_(),R("button",{key:l,onClick:c=>(o.toggleFilter("location",l),s.setActiveLocation(i.label)),class:X(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},Z(i.label),11,Cd))),128))])],2)):ge("",!0)],2)}const Rd=Ee(_d,[["render",Ad]]),kd={name:"SearchHeader",components:{SearchBar:Rd,Logo:_t}},Td={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between text-white gap-x-9 p-4"},Od={class:"flex-1"};function Pd(e,t,n,s,r,o){const i=he("SearchBar"),l=he("Logo"),c=he("router-link");return _(),R("div",Td,[d("div",Od,[F(i)]),d("button",null,[F(c,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Hr=Ee(kd,[["render",Pd]]),Id={name:"SubMenu"},Md={class:"flex pt-8 space-x-8 justify-center"};function jd(e,t,n,s,r,o){const i=he("router-link");return _(),R("div",Md,[F(i,{to:"/found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[ye(" Achados ")])),_:1}),t[1]||(t[1]=d("div",{class:"flex-col space-y-1"},[d("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),d("div",{class:"h-[2px] bg-laranja"})],-1))])}const Ld=Ee(Id,[["render",jd]]);function kl(e,t){return function(){return e.apply(t,arguments)}}const{toString:$d}=Object.prototype,{getPrototypeOf:qr}=Object,Ps=(e=>t=>{const n=$d.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),nt=e=>(e=e.toLowerCase(),t=>Ps(t)===e),Is=e=>t=>typeof t===e,{isArray:fn}=Array,Ln=Is("undefined");function Dd(e){return e!==null&&!Ln(e)&&e.constructor!==null&&!Ln(e.constructor)&&Ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Tl=nt("ArrayBuffer");function Fd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Tl(e.buffer),t}const Bd=Is("string"),Ke=Is("function"),Ol=Is("number"),Ms=e=>e!==null&&typeof e=="object",Nd=e=>e===!0||e===!1,ts=e=>{if(Ps(e)!=="object")return!1;const t=qr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ud=nt("Date"),zd=nt("File"),Hd=nt("Blob"),qd=nt("FileList"),Vd=e=>Ms(e)&&Ke(e.pipe),Kd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ke(e.append)&&((t=Ps(e))==="formdata"||t==="object"&&Ke(e.toString)&&e.toString()==="[object FormData]"))},Wd=nt("URLSearchParams"),[Qd,Gd,Jd,Zd]=["ReadableStream","Request","Response","Headers"].map(nt),Xd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),fn(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Ut=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Il=e=>!Ln(e)&&e!==Ut;function br(){const{caseless:e}=Il(this)&&this||{},t={},n=(s,r)=>{const o=e&&Pl(t,r)||r;ts(t[o])&&ts(s)?t[o]=br(t[o],s):ts(s)?t[o]=br({},s):fn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(zn(t,(r,o)=>{n&&Ke(r)?e[o]=kl(r,n):e[o]=r},{allOwnKeys:s}),e),ep=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),tp=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},np=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&qr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},sp=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},rp=e=>{if(!e)return null;if(fn(e))return e;let t=e.length;if(!Ol(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},op=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&qr(Uint8Array)),ip=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},lp=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},ap=nt("HTMLFormElement"),cp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Ko=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),up=nt("RegExp"),Ml=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};zn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},fp=e=>{Ml(e,(t,n)=>{if(Ke(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Ke(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},dp=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return fn(e)?s(e):s(String(e).split(t)),n},pp=()=>{},hp=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ys="abcdefghijklmnopqrstuvwxyz",Wo="0123456789",jl={DIGIT:Wo,ALPHA:Ys,ALPHA_DIGIT:Ys+Ys.toUpperCase()+Wo},mp=(e=16,t=jl.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function gp(e){return!!(e&&Ke(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const bp=e=>{const t=new Array(10),n=(s,r)=>{if(Ms(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=fn(s)?[]:{};return zn(s,(i,l)=>{const c=n(i,r+1);!Ln(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},yp=nt("AsyncFunction"),xp=e=>e&&(Ms(e)||Ke(e))&&Ke(e.then)&&Ke(e.catch),Ll=((e,t)=>e?setImmediate:t?((n,s)=>(Ut.addEventListener("message",({source:r,data:o})=>{r===Ut&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Ut.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ke(Ut.postMessage)),vp=typeof queueMicrotask<"u"?queueMicrotask.bind(Ut):typeof process<"u"&&process.nextTick||Ll,y={isArray:fn,isArrayBuffer:Tl,isBuffer:Dd,isFormData:Kd,isArrayBufferView:Fd,isString:Bd,isNumber:Ol,isBoolean:Nd,isObject:Ms,isPlainObject:ts,isReadableStream:Qd,isRequest:Gd,isResponse:Jd,isHeaders:Zd,isUndefined:Ln,isDate:Ud,isFile:zd,isBlob:Hd,isRegExp:up,isFunction:Ke,isStream:Vd,isURLSearchParams:Wd,isTypedArray:op,isFileList:qd,forEach:zn,merge:br,extend:Yd,trim:Xd,stripBOM:ep,inherits:tp,toFlatObject:np,kindOf:Ps,kindOfTest:nt,endsWith:sp,toArray:rp,forEachEntry:ip,matchAll:lp,isHTMLForm:ap,hasOwnProperty:Ko,hasOwnProp:Ko,reduceDescriptors:Ml,freezeMethods:fp,toObjectSet:dp,toCamelCase:cp,noop:pp,toFiniteNumber:hp,findKey:Pl,global:Ut,isContextDefined:Il,ALPHABET:jl,generateString:mp,isSpecCompliantForm:gp,toJSONObject:bp,isAsyncFn:yp,isThenable:xp,setImmediate:Ll,asap:vp};function W(e,t,n,s,r){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),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}y.inherits(W,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:y.toJSONObject(this.config),code:this.code,status:this.status}}});const $l=W.prototype,Dl={};["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=>{Dl[e]={value:e}});Object.defineProperties(W,Dl);Object.defineProperty($l,"isAxiosError",{value:!0});W.from=(e,t,n,s,r,o)=>{const i=Object.create($l);return y.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),W.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const _p=null;function yr(e){return y.isPlainObject(e)||y.isArray(e)}function Fl(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function Qo(e,t,n){return e?e.concat(t).map(function(r,o){return r=Fl(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function wp(e){return y.isArray(e)&&!e.some(yr)}const Ep=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function js(e,t,n){if(!y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,E){return!y.isUndefined(E[S])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(t);if(!y.isFunction(r))throw new TypeError("visitor must be a function");function a(x){if(x===null)return"";if(y.isDate(x))return x.toISOString();if(!c&&y.isBlob(x))throw new W("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(x)||y.isTypedArray(x)?c&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function u(x,S,E){let I=x;if(x&&!E&&typeof x=="object"){if(y.endsWith(S,"{}"))S=s?S:S.slice(0,-2),x=JSON.stringify(x);else if(y.isArray(x)&&wp(x)||(y.isFileList(x)||y.endsWith(S,"[]"))&&(I=y.toArray(x)))return S=Fl(S),I.forEach(function(O,j){!(y.isUndefined(O)||O===null)&&t.append(i===!0?Qo([S],j,o):i===null?S:S+"[]",a(O))}),!1}return yr(x)?!0:(t.append(Qo(E,S,o),a(x)),!1)}const f=[],m=Object.assign(Ep,{defaultVisitor:u,convertValue:a,isVisitable:yr});function g(x,S){if(!y.isUndefined(x)){if(f.indexOf(x)!==-1)throw Error("Circular reference detected in "+S.join("."));f.push(x),y.forEach(x,function(I,T){(!(y.isUndefined(I)||I===null)&&r.call(t,I,y.isString(T)?T.trim():T,S,m))===!0&&g(I,S?S.concat(T):[T])}),f.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Go(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Vr(e,t){this._pairs=[],e&&js(e,this,t)}const Bl=Vr.prototype;Bl.append=function(t,n){this._pairs.push([t,n])};Bl.toString=function(t){const n=t?function(s){return t.call(this,s,Go)}:Go;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Sp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Nl(e,t,n){if(!t)return e;const s=n&&n.encode||Sp;y.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=y.isURLSearchParams(t)?t.toString():new Vr(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Jo{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){y.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Ul={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cp=typeof URLSearchParams<"u"?URLSearchParams:Vr,Ap=typeof FormData<"u"?FormData:null,Rp=typeof Blob<"u"?Blob:null,kp={isBrowser:!0,classes:{URLSearchParams:Cp,FormData:Ap,Blob:Rp},protocols:["http","https","file","blob","url","data"]},Kr=typeof window<"u"&&typeof document<"u",xr=typeof navigator=="object"&&navigator||void 0,Tp=Kr&&(!xr||["ReactNative","NativeScript","NS"].indexOf(xr.product)<0),Op=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Pp=Kr&&window.location.href||"http://localhost",Ip=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Kr,hasStandardBrowserEnv:Tp,hasStandardBrowserWebWorkerEnv:Op,navigator:xr,origin:Pp},Symbol.toStringTag,{value:"Module"})),Me={...Ip,...kp};function Mp(e,t){return js(e,new Me.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return Me.isNode&&y.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function jp(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Lp(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&y.isArray(r)?r.length:i,c?(y.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!y.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&y.isArray(r[i])&&(r[i]=Lp(r[i])),!l)}if(y.isFormData(e)&&y.isFunction(e.entries)){const n={};return y.forEachEntry(e,(s,r)=>{t(jp(s),r,n,0)}),n}return null}function $p(e,t,n){if(y.isString(e))try{return(t||JSON.parse)(e),y.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const Hn={transitional:Ul,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=y.isObject(t);if(o&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return r?JSON.stringify(zl(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)||y.isReadableStream(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Mp(t,this.formSerializer).toString();if((l=y.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return js(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),$p(t)):t}],transformResponse:[function(t){const n=this.transitional||Hn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(y.isResponse(t)||y.isReadableStream(t))return t;if(t&&y.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?W.from(l,W.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Me.classes.FormData,Blob:Me.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],e=>{Hn.headers[e]={}});const Dp=y.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"]),Fp=e=>{const t={};let n,s,r;return e&&e.split(` -`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Dp[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Zo=Symbol("internals");function yn(e){return e&&String(e).trim().toLowerCase()}function ns(e){return e===!1||e==null?e:y.isArray(e)?e.map(ns):String(e)}function Bp(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Np=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function er(e,t,n,s,r){if(y.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!y.isString(t)){if(y.isString(s))return t.indexOf(s)!==-1;if(y.isRegExp(s))return s.test(t)}}function Up(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function zp(e,t){const n=y.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class Fe{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,a){const u=yn(c);if(!u)throw new Error("header name must be a non-empty string");const f=y.findKey(r,u);(!f||r[f]===void 0||a===!0||a===void 0&&r[f]!==!1)&&(r[f||c]=ns(l))}const i=(l,c)=>y.forEach(l,(a,u)=>o(a,u,c));if(y.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(y.isString(t)&&(t=t.trim())&&!Np(t))i(Fp(t),n);else if(y.isHeaders(t))for(const[l,c]of t.entries())o(c,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=yn(t),t){const s=y.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Bp(r);if(y.isFunction(n))return n.call(this,r,s);if(y.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=yn(t),t){const s=y.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||er(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=yn(i),i){const l=y.findKey(s,i);l&&(!n||er(s,s[l],l,n))&&(delete s[l],r=!0)}}return y.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||er(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return y.forEach(this,(r,o)=>{const i=y.findKey(s,o);if(i){n[i]=ns(r),delete n[o];return}const l=t?Up(o):String(o).trim();l!==o&&delete n[o],n[l]=ns(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return y.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&y.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Zo]=this[Zo]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=yn(i);s[l]||(zp(r,i),s[l]=!0)}return y.isArray(t)?t.forEach(o):o(t),this}}Fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);y.reduceDescriptors(Fe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});y.freezeMethods(Fe);function tr(e,t){const n=this||Hn,s=t||n,r=Fe.from(s.headers);let o=s.data;return y.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Hl(e){return!!(e&&e.__CANCEL__)}function dn(e,t,n){W.call(this,e??"canceled",W.ERR_CANCELED,t,n),this.name="CanceledError"}y.inherits(dn,W,{__CANCEL__:!0});function ql(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Hp(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function qp(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=s[o];i||(i=a),n[r]=c,s[r]=a;let f=o,m=0;for(;f!==r;)m+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),a-i{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,a)};return[(...a)=>{const u=Date.now(),f=u-n;f>=s?i(a,u):(r=a,o||(o=setTimeout(()=>{o=null,i(r)},s-f)))},()=>r&&i(r)]}const hs=(e,t,n=3)=>{let s=0;const r=qp(50,250);return Vp(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,a=r(c),u=i<=l;s=i;const f={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},Xo=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Yo=e=>(...t)=>y.asap(()=>e(...t)),Kp=Me.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Me.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Me.origin),Me.navigator&&/(msie|trident)/i.test(Me.navigator.userAgent)):()=>!0,Wp=Me.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];y.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),y.isString(s)&&i.push("path="+s),y.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Qp(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Gp(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Vl(e,t){return e&&!Qp(t)?Gp(e,t):t}const ei=e=>e instanceof Fe?{...e}:e;function Wt(e,t){t=t||{};const n={};function s(a,u,f,m){return y.isPlainObject(a)&&y.isPlainObject(u)?y.merge.call({caseless:m},a,u):y.isPlainObject(u)?y.merge({},u):y.isArray(u)?u.slice():u}function r(a,u,f,m){if(y.isUndefined(u)){if(!y.isUndefined(a))return s(void 0,a,f,m)}else return s(a,u,f,m)}function o(a,u){if(!y.isUndefined(u))return s(void 0,u)}function i(a,u){if(y.isUndefined(u)){if(!y.isUndefined(a))return s(void 0,a)}else return s(void 0,u)}function l(a,u,f){if(f in t)return s(a,u);if(f in e)return s(void 0,a)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(a,u,f)=>r(ei(a),ei(u),f,!0)};return y.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=c[u]||r,m=f(e[u],t[u],u);y.isUndefined(m)&&f!==l||(n[u]=m)}),n}const Kl=e=>{const t=Wt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Fe.from(i),t.url=Nl(Vl(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(y.isFormData(n)){if(Me.hasStandardBrowserEnv||Me.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[a,...u]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([a||"multipart/form-data",...u].join("; "))}}if(Me.hasStandardBrowserEnv&&(s&&y.isFunction(s)&&(s=s(t)),s||s!==!1&&Kp(t.url))){const a=r&&o&&Wp.read(o);a&&i.set(r,a)}return t},Jp=typeof XMLHttpRequest<"u",Zp=Jp&&function(e){return new Promise(function(n,s){const r=Kl(e);let o=r.data;const i=Fe.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:a}=r,u,f,m,g,x;function S(){g&&g(),x&&x(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let E=new XMLHttpRequest;E.open(r.method.toUpperCase(),r.url,!0),E.timeout=r.timeout;function I(){if(!E)return;const O=Fe.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),V={data:!l||l==="text"||l==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:O,config:e,request:E};ql(function(G){n(G),S()},function(G){s(G),S()},V),E=null}"onloadend"in E?E.onloadend=I:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(I)},E.onabort=function(){E&&(s(new W("Request aborted",W.ECONNABORTED,e,E)),E=null)},E.onerror=function(){s(new W("Network Error",W.ERR_NETWORK,e,E)),E=null},E.ontimeout=function(){let j=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const V=r.transitional||Ul;r.timeoutErrorMessage&&(j=r.timeoutErrorMessage),s(new W(j,V.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,E)),E=null},o===void 0&&i.setContentType(null),"setRequestHeader"in E&&y.forEach(i.toJSON(),function(j,V){E.setRequestHeader(V,j)}),y.isUndefined(r.withCredentials)||(E.withCredentials=!!r.withCredentials),l&&l!=="json"&&(E.responseType=r.responseType),a&&([m,x]=hs(a,!0),E.addEventListener("progress",m)),c&&E.upload&&([f,g]=hs(c),E.upload.addEventListener("progress",f),E.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(u=O=>{E&&(s(!O||O.type?new dn(null,e,E):O),E.abort(),E=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const T=Hp(r.url);if(T&&Me.protocols.indexOf(T)===-1){s(new W("Unsupported protocol "+T+":",W.ERR_BAD_REQUEST,e));return}E.send(o||null)})},Xp=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(a){if(!r){r=!0,l();const u=a instanceof Error?a:this.reason;s.abort(u instanceof W?u:new dn(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>y.asap(l),c}},Yp=function*(e,t){let n=e.byteLength;if(n{const r=eh(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:a,value:u}=await r.next();if(a){l(),c.close();return}let f=u.byteLength;if(n){let m=o+=f;n(m)}c.enqueue(new Uint8Array(u))}catch(a){throw l(a),a}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Ls=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Wl=Ls&&typeof ReadableStream=="function",nh=Ls&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ql=(e,...t)=>{try{return!!e(...t)}catch{return!1}},sh=Wl&&Ql(()=>{let e=!1;const t=new Request(Me.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ni=64*1024,vr=Wl&&Ql(()=>y.isReadableStream(new Response("").body)),ms={stream:vr&&(e=>e.body)};Ls&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ms[t]&&(ms[t]=y.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new W(`Response type '${t}' is not supported`,W.ERR_NOT_SUPPORT,s)})})})(new Response);const rh=async e=>{if(e==null)return 0;if(y.isBlob(e))return e.size;if(y.isSpecCompliantForm(e))return(await new Request(Me.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(y.isArrayBufferView(e)||y.isArrayBuffer(e))return e.byteLength;if(y.isURLSearchParams(e)&&(e=e+""),y.isString(e))return(await nh(e)).byteLength},oh=async(e,t)=>{const n=y.toFiniteNumber(e.getContentLength());return n??rh(t)},ih=Ls&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:a,headers:u,withCredentials:f="same-origin",fetchOptions:m}=Kl(e);a=a?(a+"").toLowerCase():"text";let g=Xp([r,o&&o.toAbortSignal()],i),x;const S=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let E;try{if(c&&sh&&n!=="get"&&n!=="head"&&(E=await oh(u,s))!==0){let V=new Request(t,{method:"POST",body:s,duplex:"half"}),Y;if(y.isFormData(s)&&(Y=V.headers.get("content-type"))&&u.setContentType(Y),V.body){const[G,Se]=Xo(E,hs(Yo(c)));s=ti(V.body,ni,G,Se)}}y.isString(f)||(f=f?"include":"omit");const I="credentials"in Request.prototype;x=new Request(t,{...m,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:I?f:void 0});let T=await fetch(x);const O=vr&&(a==="stream"||a==="response");if(vr&&(l||O&&S)){const V={};["status","statusText","headers"].forEach(Je=>{V[Je]=T[Je]});const Y=y.toFiniteNumber(T.headers.get("content-length")),[G,Se]=l&&Xo(Y,hs(Yo(l),!0))||[];T=new Response(ti(T.body,ni,G,()=>{Se&&Se(),S&&S()}),V)}a=a||"text";let j=await ms[y.findKey(ms,a)||"text"](T,e);return!O&&S&&S(),await new Promise((V,Y)=>{ql(V,Y,{data:j,headers:Fe.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:x})})}catch(I){throw S&&S(),I&&I.name==="TypeError"&&/fetch/i.test(I.message)?Object.assign(new W("Network Error",W.ERR_NETWORK,e,x),{cause:I.cause||I}):W.from(I,I&&I.code,e,x)}}),_r={http:_p,xhr:Zp,fetch:ih};y.forEach(_r,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const si=e=>`- ${e}`,lh=e=>y.isFunction(e)||e===null||e===!1,Gl={getAdapter:e=>{e=y.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : -`+o.map(si).join(` -`):" "+si(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:_r};function nr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new dn(null,e)}function ri(e){return nr(e),e.headers=Fe.from(e.headers),e.data=tr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Gl.getAdapter(e.adapter||Hn.adapter)(e).then(function(s){return nr(e),s.data=tr.call(e,e.transformResponse,s),s.headers=Fe.from(s.headers),s},function(s){return Hl(s)||(nr(e),s&&s.response&&(s.response.data=tr.call(e,e.transformResponse,s.response),s.response.headers=Fe.from(s.response.headers))),Promise.reject(s)})}const Jl="1.7.8",$s={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$s[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const oi={};$s.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Jl+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new W(r(i," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!oi[i]&&(oi[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};$s.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function ah(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new W("option "+o+" must be "+c,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+o,W.ERR_BAD_OPTION)}}const ss={assertOptions:ah,validators:$s},at=ss.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new Jo,response:new Jo}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Wt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&ss.assertOptions(s,{silentJSONParsing:at.transitional(at.boolean),forcedJSONParsing:at.transitional(at.boolean),clarifyTimeoutError:at.transitional(at.boolean)},!1),r!=null&&(y.isFunction(r)?n.paramsSerializer={serialize:r}:ss.assertOptions(r,{encode:at.function,serialize:at.function},!0)),ss.assertOptions(n,{baseUrl:at.spelling("baseURL"),withXsrfToken:at.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&y.merge(o.common,o[n.method]);o&&y.forEach(["delete","get","head","post","put","patch","common"],x=>{delete o[x]}),n.headers=Fe.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(n)===!1||(c=c&&S.synchronous,l.unshift(S.fulfilled,S.rejected))});const a=[];this.interceptors.response.forEach(function(S){a.push(S.fulfilled,S.rejected)});let u,f=0,m;if(!c){const x=[ri.bind(this),void 0];for(x.unshift.apply(x,l),x.push.apply(x,a),m=x.length,u=Promise.resolve(n);f{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new dn(o,i,l),n(s.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Wr(function(r){t=r}),cancel:t}}}function ch(e){return function(n){return e.apply(null,n)}}function uh(e){return y.isObject(e)&&e.isAxiosError===!0}const wr={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};Object.entries(wr).forEach(([e,t])=>{wr[t]=e});function Zl(e){const t=new qt(e),n=kl(qt.prototype.request,t);return y.extend(n,qt.prototype,t,{allOwnKeys:!0}),y.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Zl(Wt(e,r))},n}const pe=Zl(Hn);pe.Axios=qt;pe.CanceledError=dn;pe.CancelToken=Wr;pe.isCancel=Hl;pe.VERSION=Jl;pe.toFormData=js;pe.AxiosError=W;pe.Cancel=pe.CanceledError;pe.all=function(t){return Promise.all(t)};pe.spread=ch;pe.isAxiosError=uh;pe.mergeConfig=Wt;pe.AxiosHeaders=Fe;pe.formToJSON=e=>zl(y.isHTMLForm(e)?new FormData(e):e);pe.getAdapter=Gl.getAdapter;pe.HttpStatusCode=wr;pe.default=pe;const qn="http://localhost:8000/api/items",fh=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...ae.searchQuery&&{search:ae.searchQuery},...ae.activeCategory&&{category_name:ae.activeCategory},...ae.activeLocation&&{location_name:ae.activeLocation}};return(await pe.get(`${qn}/lost/`,{params:r})).data},dh=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...ae.searchQuery&&{search:ae.searchQuery},...ae.activeCategory&&{category_name:ae.activeCategory},...ae.activeLocation&&{location_name:ae.activeLocation}};return(await pe.get(`${qn}/found/`,{params:r})).data},ph=async()=>{try{return(await pe.get(`${qn}/found/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},hh=async()=>{try{return(await pe.get(`${qn}/lost/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},Xl=async e=>{try{await pe.delete(`${qn}/${e}/`)}catch(t){throw console.error("Erro ao deletar o item:",t),t}},Ds=e=>{const t=new Date,n=new Date(e),s=Math.floor((t-n)/1e3);if(s<60)return"Agora a pouco";if(s<3600){const r=Math.floor(s/60);return`Há ${r} minuto${r>1?"s":""}`}else if(s<86400){const r=Math.floor(s/3600);return`Há ${r} hora${r>1?"s":""}`}else{const r=Math.floor(s/86400);return`Há ${r} dia${r>1?"s":""}`}},Vn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAACLCAYAAADCvR0YAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAASASURBVHhe7dxrT9RoHMbhinjCs0g8YyDE7/91MCoqalBjIB5BRTf/pjWsy+7OndhOX1xX0kynM74x/PL0edrOic3NzZ8NMLOF7hWYkWggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooHQic3NzZ/dPgNYWFhoLl++3L4O5cePH82HDx+a79+/d0cYkmgGdOrUqeb+/fuDBtM7PDxsXr161Xz58qU7wlBEM6C7d+82S0tL7Ujw8ePH7uifdfLkyeb06dNtoBXO48ePu08YimgG9ODBg/b13bt37TaUOv27ceNGu//kyROnaQOzEAAh0UBINBO3uLjYnDt3rt2YBtFMVE3sayFhfX29uXfvXrutra01ly5d6r7BvIhmgvpgauXtqDp+8+bN5sqVK90R5kE0E7S8vNwGUkvVL168aB4+fNg8f/68+fbt26/Px7j2w/H8z0/QhQsX2te6yv/58+d2f39/v9nZ2Wn369rM2bNn233GJ5oJq5HmqN/fMx+imaAaVUpN+vtRp07H+guYdZrWf4fxiWaCXr9+3Y4qdRp2+/bt9s6CjY2NX6dku7u7Rp05Es0E1Ujy7Nmzf9x8WaG8fPmy2dvb644wD6KZqApne3u72draalfQ6vXRo0fNp0+fum8wL6IZWc1Nzpw5M/MV/oqnVtD65WbmTzQjqljq+Zra+iv8dZvMLGpRoOY3tZ0/f747yjyIZiQXL15sQ+kvWpbar2P/F8HKykp7J0CtpNV2586d5tq1a92njE00I6hR4tatW+2pWZ1mPX36tJ3o136F828R9MvMV69ebd/XqtnBwUG7f/369WZ1dXXmkYo/RzQjqDBKrYZVLPWQWP3x1wS/n6tUBDWi9CqYuv+sHjAr9RDb27dv23/fP9BWS9CzjFT8WaIZSY0StRp29PpKBVMR9I9C14hSo0ctEtS8p78u8+bNm789+Vn79XsA/UjVXwBlHKIZQQVTo8RxKqIK4PfRo5/71P1mx12XqdCOjlSMRzQj6Och/6WiqUD6kahea2R6//59+/44FUxdv6koGY9oJqQCqdO1iqAWC2aJrXz9+rXbYwyimZgaPepUzi/KTJdoICSaAfXzk37JeSi1PM14/FjggI4+5z/kKlcfZb8wwLBEM6D6Y65whh5pSgVTq23mQsMTzQhqtBkynAqmnuTsTwcZlmggZAYJIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAORpvkL2ph89ykfsE8AAAAASUVORK5CYII=",Yl="/static/dist/assets/found-and-lost-box-BB3OpleO.jpg",mh={class:"flex flex-col items-center justify-center h-64 text-center"},gh=["src"],bh={class:"text-cinza3 font-inter text-lg"},ea={__name:"Empty-State",props:{message:String},setup(e){return(t,n)=>(_(),R("div",mh,[d("img",{src:Ae(Yl),class:"w-40 h-40 mb-4"},null,8,gh),d("p",bh,[n[0]||(n[0]=ye(" Parece que o ")),n[1]||(n[1]=d("span",{class:"text-azul font-bold"},"AcheiUnB",-1)),ye(" "+Z(e.message),1)])]))}},yh={class:"min-h-screen"},xh={class:"fixed w-full top-0 z-10"},vh={class:"pt-24 pb-8"},_h={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},wh={class:"flex w-full justify-start sm:justify-center"},Eh={class:"ml-24 transform -translate-x-1/2 flex gap-4 z-10"},Sh={class:"fixed bottom-0 w-full"},Ch={__name:"Lost",setup(e){const t=ee([]),n=ee(1),s=ee(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=ae,f=await fh({page:l,search:c,category_name:a,location_name:u});t.value=f.results,s.value=Math.ceil(f.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[ae.searchQuery,ae.activeCategory,ae.activeLocation],()=>{n.value=1,r()}),Lt(()=>r(n.value)),(l,c)=>(_(),R("div",yh,[d("div",xh,[F(Hr)]),d("div",vh,[F(Ld)]),t.value.length===0?(_(),_e(ea,{key:0,message:"está sem itens perdidos... Você pode adicionar um!"})):(_(),R("div",_h,[(_(!0),R(Q,null,xe(t.value,a=>(_(),_e(Os,{key:a.id,name:a.name,location:a.location_name,time:Ae(Ds)(a.created_at),image:a.image_urls[0]||Ae(Vn),id:a.id},null,8,["name","location","time","image","id"]))),128))])),d("div",wh,[d("div",Eh,[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),F(bd),d("div",Sh,[F(Et,{activeIcon:"search"})])]))}},Ah={props:{customClass:{name:"ButtonAdd",type:String}}};function Rh(e,t,n,s,r,o){const i=he("router-link");return _(),_e(i,{to:"/register-found"},{default:be(()=>t[0]||(t[0]=[d("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[d("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item achado"),d("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[d("img",{src:Rl,alt:""})])],-1)])),_:1})}const kh=Ee(Ah,[["render",Rh]]),Th={name:"SubMenu"},Oh={class:"flex pt-8 space-x-8 justify-center"};function Ph(e,t,n,s,r,o){const i=he("router-link");return _(),R("div",Oh,[t[1]||(t[1]=d("div",{class:"flex-col space-y-1"},[d("span",{class:"font-inter font-bold text-laranja"},"Achados"),d("div",{class:"h-[2px] bg-laranja"})],-1)),F(i,{to:"/lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[ye(" Perdidos ")])),_:1})])}const Ih=Ee(Th,[["render",Ph]]),Mh={class:"min-h-screen"},jh={class:"fixed w-full top-0 z-10"},Lh={class:"pt-24 pb-8"},$h={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Dh={class:"flex w-full justify-start sm:justify-center"},Fh={class:"bottom-32 ml-24 transform -translate-x-1/2 flex gap-4 z-10"},Bh={class:"fixed bottom-0 w-full"},Nh={__name:"Found",setup(e){const t=ee([]),n=ee(1),s=ee(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=ae,f=await dh({page:l,search:c,category_name:a,location_name:u});t.value=f.results,s.value=Math.ceil(f.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[ae.searchQuery,ae.activeCategory,ae.activeLocation],()=>{n.value=1,r()}),Lt(()=>r(n.value)),(l,c)=>(_(),R("div",Mh,[d("div",jh,[F(Hr)]),d("div",Lh,[F(Ih)]),t.value.length===0?(_(),_e(ea,{key:0,message:"está sem itens achados... Você pode adicionar um!"})):(_(),R("div",$h,[(_(!0),R(Q,null,xe(t.value,a=>(_(),_e(Os,{key:a.id,name:a.name,location:a.location_name,time:Ae(Ds)(a.created_at),image:a.image_urls[0]||Ae(Vn),id:a.id},null,8,["name","location","time","image","id"]))),128))])),d("div",Dh,[d("div",Fh,[(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(_(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[d("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),F(kh),d("div",Bh,[F(Et,{activeIcon:"search"})])]))}};class ta{constructor(t){this.entity=t}validate(){for(const t of this.entity.requiredFields){const n=this.entity[t];if(!n||n==="")return!1}return!0}toFormData(){const t=new FormData;for(const[n,s]of Object.entries(this.entity))n!=="requiredFields"&&s!==void 0&&s!==null&&(Array.isArray(s)?s.forEach((r,o)=>{t.append(`${n}[${o}]`,r)}):t.append(n,s??null));return t}setFieldValue(t,n){this.entity[t]=n}}class na{constructor(t=null,n="",s="",r="",o="",i="",l="",c=null,a=null,u="",f="",m=["name","category","location"]){this.user=t,this.name=n,this.category=s,this.location=r,this.color=o,this.brand=l,this.description=c,this.images=a,this.status=u,this.found_lost_date=i,this.barcode=f,this.requiredFields=m}}const Uh={props:{type:{type:String,default:"info",validator:e=>["success","error","info","warning"].includes(e)},message:{type:String,required:!0},duration:{type:Number,default:3e3}},data(){return{visible:!0}},computed:{alertClasses(){return{success:"bg-green-200 border-r-4 border-green-600 text-green-600",error:"bg-red-200 border-r-4 border-red-600 text-red-600",info:"bg-blue-500",warning:"bg-yellow-500 text-black"}},alertClassesText(){return{success:"text-green-600",error:"text-red-600",info:"text-blue-600",warning:"text-black-600"}}},mounted(){this.duration>0&&setTimeout(()=>{this.closeAlert()},this.duration)},methods:{closeAlert(){this.visible=!1,this.$emit("closed")}}};function zh(e,t,n,s,r,o){return r.visible?(_(),R("div",{key:0,class:X(["fixed top-4 right-4 z-50 px-4 py-3 rounded flex items-center justify-between font-inter",o.alertClasses[n.type]]),role:"alert"},[d("p",null,Z(n.message),1),d("button",{onClick:t[0]||(t[0]=(...i)=>o.closeAlert&&o.closeAlert(...i)),class:X(["ml-4 font-bold focus:outline-none",o.alertClassesText[n.type]])}," ✕ ",2)],2)):ge("",!0)}const $n=Ee(Uh,[["render",zh]]),ve=pe.create({baseURL:"http://localhost:8000/api",withCredentials:!0});ve.interceptors.response.use(e=>e,e=>(e.response.status===401&&oa.push({name:"Login"}),Promise.reject(e)));const Pt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='currentColor'%20class='size-6%20stroke-white'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m19.5%208.25-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e",sa="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23FFFFFF'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",Hh={name:"FormComponent",data(){return{item:new na,foundTime:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ve.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ve.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ve.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ve.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="lost";const e=new ta(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}e.foundLostDate&&this.setFoundLostDate();const t=e.toFormData();try{await ve.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/lost")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},setFoundLostDate(){const[e,t,n]=this.item.foundLostDate.split("-").map(Number),[s,r]=this.lostTime.split(":").map(Number);this.item.foundLostDate=new Date(n,t-1,e,s??0,r??0)},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},qh={class:"grid md:grid-cols-4 gap-4"},Vh={class:"mb-4 col-span-2"},Kh={class:"block relative mb-4 col-span-2"},Wh=["value"],Qh={class:"block relative mb-4 col-span-2"},Gh=["value"],Jh={class:"block relative mb-4 col-span-2"},Zh=["value"],Xh={class:"block relative mb-4 col-span-2"},Yh=["value"],em={class:"mb-4 col-span-2"},tm={class:"mb-4 col-span-2"},nm={class:"mb-4 col-span-2"},sm=["disabled"],rm={class:"flex flex-wrap gap-4 col-span-3"},om=["src"],im=["onClick"],lm={class:"col-span-4"};function am(e,t,n,s,r,o){var l,c;const i=he("Alert");return _(),R(Q,null,[d("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[d("div",qh,[d("div",Vh,[t[17]||(t[17]=d("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Item "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[vt,r.item.name]])]),d("div",Kh,[t[20]||(t[20]=d("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Categoria "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("select",{id:"category",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=d("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.categories,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Wh))),128))],34),[[Ot,r.item.category]]),t[21]||(t[21]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),d("div",Qh,[t[24]||(t[24]=d("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Local "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("select",{id:"location",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.locations,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Gh))),128))],34),[[Ot,r.item.location]]),t[25]||(t[25]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),d("div",Jh,[t[28]||(t[28]=d("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),ke(d("select",{id:"color",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.colors,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Zh))),128))],34),[[Ot,r.item.color]]),t[29]||(t[29]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),d("div",Xh,[t[32]||(t[32]=d("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),ke(d("select",{id:"brand",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.brands,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Yh))),128))],34),[[Ot,r.item.brand]]),t[33]||(t[33]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),d("div",em,[t[34]||(t[34]=d("label",{for:"foundLostDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi perdido",-1)),ke(d("input",{id:"foundLostDate",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundLostDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundLostDate=a),type:"date",name:"foundLostDate"},null,2),[[vt,r.item.foundLostDate]])]),d("div",tm,[t[35]||(t[35]=d("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi perdido",-1)),ke(d("input",{id:"foundTime",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[vt,r.foundTime]])]),d("div",nm,[t[36]||(t[36]=d("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),ke(d("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[vt,r.item.description]])]),d("div",null,[d("label",{for:"images",class:X(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=d("img",{src:sa,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=ye(" Adicionar imagens ")),d("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,sm)],2)]),d("div",rm,[(_(!0),R(Q,null,xe(r.previews,(a,u)=>(_(),R("div",{key:u,class:"w-64 h-64 border rounded relative"},[d("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,om),d("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:f=>o.removeImage(u)},t[39]||(t[39]=[d("img",{src:zr,alt:""},null,-1)]),8,im)]))),128))]),d("div",lm,[d("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(_(),_e(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):ge("",!0),r.formSubmitted?(_(),_e(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):ge("",!0)],64)}const cm=Ee(Hh,[["render",am]]),Kn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23FFFFFF'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m11.25%209-3%203m0%200%203%203m-3-3h7.5M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200Z'%20/%3e%3c/svg%3e",um={name:"LostHeader",components:{Logo:_t},props:{text:String}},fm={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},dm={class:"font-inter font-semibold text-2xl"},pm={class:"ml-auto"};function hm(e,t,n,s,r,o){const i=he("router-link"),l=he("Logo");return _(),R("div",fm,[F(i,{to:"/lost",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[d("img",{src:Kn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),d("div",null,[d("span",dm,Z(n.text??"Cadastro de item perdido"),1)]),d("button",pm,[F(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const mm=Ee(um,[["render",hm]]),gm={class:"fixed w-full top-0",style:{"z-index":"1"}},bm={class:"px-6 py-[120px]",style:{"z-index":"2"}},ym={class:"fixed bottom-0 w-full"},xm={__name:"Register-Lost",setup(e){return(t,n)=>(_(),R(Q,null,[d("div",gm,[F(mm)]),d("div",bm,[F(cm)]),d("div",ym,[F(Et,{activeIcon:"search"})])],64))}},vm={name:"FormComponent",data(){return{item:new na,foundTime:"",foundDate:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await ve.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await ve.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await ve.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await ve.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="found";const e=new ta(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}if(this.item.foundDate){const n=this.formatFoundLostDate();e.setFieldValue("found_lost_date",n)}const t=e.toFormData();try{await ve.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/found")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},formatFoundLostDate(){var f;const[e,t,n]=this.item.foundDate.split("-").map(Number),[s,r]=(f=this.foundTime)==null?void 0:f.split(":").map(Number),o=new Date(e,t-1,n,s??0,r??0),i=o.getTimezoneOffset(),l=i>0?"-":"+",c=Math.abs(i),a=String(Math.floor(c/60)).padStart(2,"0"),u=String(c%60).padStart(2,"0");return`${o.getFullYear()}-${String(o.getMonth()+1).padStart(2,"0")}-${String(o.getDate()).padStart(2,"0")}T${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}${l}${a}${u}`},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},_m={class:"grid md:grid-cols-4 gap-4"},wm={class:"mb-4 col-span-2"},Em={class:"block relative mb-4 col-span-2"},Sm=["value"],Cm={class:"block relative mb-4 col-span-2"},Am=["value"],Rm={class:"block relative mb-4 col-span-2"},km=["value"],Tm={class:"block relative mb-4 col-span-2"},Om=["value"],Pm={class:"mb-4 col-span-2"},Im={class:"mb-4 col-span-2"},Mm={class:"mb-4 col-span-2"},jm=["disabled"],Lm={class:"flex flex-wrap gap-4 col-span-3"},$m=["src"],Dm=["onClick"],Fm={class:"col-span-4"};function Bm(e,t,n,s,r,o){var l,c;const i=he("Alert");return _(),R(Q,null,[d("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[d("div",_m,[d("div",wm,[t[17]||(t[17]=d("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Item "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[vt,r.item.name]])]),d("div",Em,[t[20]||(t[20]=d("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Categoria "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("select",{id:"category",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=d("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.categories,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Sm))),128))],34),[[Ot,r.item.category]]),t[21]||(t[21]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),d("div",Cm,[t[24]||(t[24]=d("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[ye("Local "),d("span",{class:"text-red-500"},"*")],-1)),ke(d("select",{id:"location",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.locations,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Am))),128))],34),[[Ot,r.item.location]]),t[25]||(t[25]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),d("div",Rm,[t[28]||(t[28]=d("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),ke(d("select",{id:"color",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.colors,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,km))),128))],34),[[Ot,r.item.color]]),t[29]||(t[29]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),d("div",Tm,[t[32]||(t[32]=d("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),ke(d("select",{id:"brand",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=d("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=d("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),R(Q,null,xe(r.brands,a=>(_(),R("option",{key:a.id,value:a.id,class:"block text-gray-700"},Z(a.name),9,Om))),128))],34),[[Ot,r.item.brand]]),t[33]||(t[33]=d("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[d("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),d("div",Pm,[t[34]||(t[34]=d("label",{for:"foundDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi achado",-1)),ke(d("input",{id:"foundDate",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundDate=a),type:"date",name:"foundDate"},null,2),[[vt,r.item.foundDate]])]),d("div",Im,[t[35]||(t[35]=d("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi achado",-1)),ke(d("input",{id:"foundTime",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[vt,r.foundTime]])]),d("div",Mm,[t[36]||(t[36]=d("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),ke(d("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[vt,r.item.description]])]),d("div",null,[d("label",{for:"images",class:X(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=d("img",{src:sa,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=ye(" Adicionar imagens ")),d("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,jm)],2)]),d("div",Lm,[(_(!0),R(Q,null,xe(r.previews,(a,u)=>(_(),R("div",{key:u,class:"w-64 h-64 border rounded relative"},[d("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,$m),d("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:f=>o.removeImage(u)},t[39]||(t[39]=[d("img",{src:zr,alt:""},null,-1)]),8,Dm)]))),128))]),d("div",Fm,[d("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(_(),_e(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):ge("",!0),r.formSubmitted?(_(),_e(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):ge("",!0)],64)}const Nm=Ee(vm,[["render",Bm]]),Um={name:"FoundHeader",components:{Logo:_t},props:{text:String}},zm={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},Hm={class:"font-inter font-semibold text-2xl"},qm={class:"ml-auto"};function Vm(e,t,n,s,r,o){const i=he("router-link"),l=he("Logo");return _(),R("div",zm,[F(i,{to:"/found",class:"inline-block"},{default:be(()=>t[0]||(t[0]=[d("img",{src:Kn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),d("div",null,[d("span",Hm,Z(n.text??"Cadastro de item achado"),1)]),d("button",qm,[F(i,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Km=Ee(Um,[["render",Vm]]),Wm={class:"fixed w-full top-0",style:{"z-index":"1"}},Qm={class:"px-6 py-[120px]",style:{"z-index":"2"}},Gm={class:"fixed bottom-0 w-full"},Jm={__name:"Register-Found",setup(e){return(t,n)=>(_(),R(Q,null,[d("div",Wm,[F(Km)]),d("div",Qm,[F(Nm)]),d("div",Gm,[F(Et,{activeIcon:"search"})])],64))}},Zm={class:"flex flex-col items-center px-6 pt-10 lg:pt-16"},Xm={class:"w-24 h-24 lg:w-32 lg:h-32 rounded-full flex items-center justify-center border-4 border-laranja overflow-hidden"},Ym=["src"],eg={key:1,class:"w-full h-full bg-cinza2 flex items-center justify-center text-cinza3 text-sm lg:text-lg"},tg={class:"text-xl lg:text-3xl font-bold text-azul mt-4 lg:mt-6"},ng={class:"text-sm lg:text-lg text-cinza3"},sg={key:0,class:"text-sm lg:text-lg text-cinza3"},rg={class:"pt-[30px] lg:pt-[50px] flex flex-col items-center w-full mt-6 space-y-4 lg:space-y-6"},og={class:"fixed bottom-0 w-full"},ig={__name:"User",setup(e){const t=ee({foto:"",first_name:"",last_name:"",email:"",username:"",matricula:null});async function n(){try{console.log("Buscando dados do usuário logado...");const s=await ve.get("/auth/user/");console.log("Dados do usuário recebidos:",s.data),t.value={foto:s.data.foto||null,first_name:s.data.first_name,last_name:s.data.last_name,email:s.data.email,username:s.data.username,matricula:s.data.matricula}}catch(s){console.error("Erro ao carregar dados do usuário:",s)}}return Lt(n),(s,r)=>{const o=he("router-link");return _(),R("div",Zm,[d("div",Xm,[t.value.foto?(_(),R("img",{key:0,src:t.value.foto,alt:"Foto do Usuário",class:"w-full h-full object-cover"},null,8,Ym)):(_(),R("div",eg," Foto Padrão "))]),d("h1",tg,Z(t.value.first_name||t.value.last_name?t.value.first_name+" "+t.value.last_name:t.value.username),1),d("p",ng,Z(t.value.email||"Email não disponível"),1),t.value.matricula?(_(),R("p",sg," Matrícula: "+Z(t.value.matricula),1)):ge("",!0),d("div",rg,[F(o,{to:"/user-items-lost",class:"w-full flex justify-center"},{default:be(()=>r[0]||(r[0]=[d("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Meus itens ativos ",-1)])),_:1}),r[2]||(r[2]=d("a",{href:"mailto:acheiunb2024@gmail.com",class:"w-full flex justify-center"},[d("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Reportar um problema ")],-1)),F(o,{to:"/",class:"w-full flex justify-center"},{default:be(()=>r[1]||(r[1]=[d("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Sair da Conta ",-1)])),_:1})]),r[3]||(r[3]=d("div",{class:"h-16 lg:h-24"},null,-1)),d("div",og,[F(Et,{activeIcon:"user"})])])}}},lg={};function ag(e,t){return"chats"}const cg=Ee(lg,[["render",ag]]),ug={name:"ItemHeader",components:{Logo:_t},props:{title:{type:String,required:!0}},methods:{goBack(){this.$router.back()}}},fg={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center text-white p-4 md:p-6"},dg={class:"flex items-center w-1/4"},pg={class:"flex-grow flex justify-center"},hg={class:"font-inter font-semibold text-lg md:text-2xl text-center break-words"},mg={class:"flex items-center w-1/4 justify-end"};function gg(e,t,n,s,r,o){const i=he("Logo"),l=he("router-link");return _(),R("div",fg,[d("div",dg,[d("img",{onClick:t[0]||(t[0]=(...c)=>o.goBack&&o.goBack(...c)),src:Kn,alt:"Voltar",class:"w-[30px] h-[30px] text-white cursor-pointer"})]),d("div",pg,[d("span",hg,Z(n.title),1)]),d("div",mg,[F(l,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(i,{class:"pr-2 md:pr-4",sizeClass:"text-xl md:text-2xl"})]),_:1})])])}const bg=Ee(ug,[["render",gg]]),yg={key:0,class:"fixed w-full top-0 z-[1]"},xg={key:1,class:"px-6 py-[120px] flex flex-col items-center gap-6"},vg={class:"w-full md:flex md:gap-8 md:max-w-4xl"},_g={class:"w-full max-w-md md:max-w-none md:w-1/2 relative"},wg={key:0,class:"w-full h-64"},Eg=["src"],Sg=["src","alt"],Cg={key:2,class:"md:hidden overflow-hidden relative"},Ag=["src","alt"],Rg={key:0,class:"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2"},kg={class:"w-full md:w-1/2 mt-6 md:mt-0"},Tg={class:"text-lg md:text-2xl font-bold text-left"},Og={class:"text-sm md:text-base text-gray-500 text-left mt-2"},Pg={key:0,class:"text-sm md:text-base text-gray-500 text-left mt-1"},Ig={key:1,class:"text-sm md:text-base text-gray-500 text-left mt-1"},Mg={class:"flex flex-wrap gap-2 justify-start mt-4"},jg={key:0,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-blue-500"},Lg={key:1,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-laranja"},$g={key:2,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-gray-500"},Dg={class:"text-sm md:text-base text-gray-700 text-left mt-4"},Fg={class:"fixed bottom-0 w-full"},Bg={__name:"ListItem",setup(e){const t=Al(),n=Cl(),s=ee(null),r=ee(""),o=ee(null),i=ee(0),l=ee(window.innerWidth<768),c=ee(!1),a=E=>{const I=new Date(E);return`${I.toLocaleDateString("pt-BR",{timeZone:"America/Sao_Paulo"})} às ${I.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit",timeZone:"America/Sao_Paulo"})}`},u=()=>{i.value=(i.value+1)%s.value.image_urls.length},f=()=>{i.value=(i.value-1+s.value.image_urls.length)%s.value.image_urls.length},m=()=>{l.value=window.innerWidth<768};async function g(){try{const E=await ve.get(`/items/${t.query.idItem}/`);s.value=E.data,r.value=s.value.status,c.value=!0,console.log("Item carregado:",s.value)}catch(E){console.error("Erro ao carregar item:",E)}}async function x(){try{const E=await ve.get("/auth/user/");o.value=E.data,console.log("Usuário atual:",o.value)}catch(E){console.error("Erro ao buscar usuário:",E)}}const S=async()=>{var E,I,T,O;try{if(!s.value||!s.value.id){console.error("Item inválido ou não carregado:",s.value);return}if(!((E=o.value)!=null&&E.id)||!((I=s.value)!=null&&I.user_id)){console.error("IDs de usuário inválidos:",{currentUser:o.value,item:s.value});return}console.log("Item atual (ID):",s.value.id),console.log("Dono do item (user_id):",s.value.user_id),console.log("Usuário atual (ID):",o.value.id);const j={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Parâmetros para busca de chat:",j);const Y=(await ve.get("/chat/chatrooms/",{params:j})).data;if(console.log("Chats encontrados:",Y),Y&&Y.length>0){n.push(`/chat/${Y[0].id}?itemId=${s.value.id}`);return}const G={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Dados para criação de chat:",G);const Se=await ve.post("/chat/chatrooms/",G);if(console.log("Resposta da criação de chat:",Se.data),(T=Se.data)!=null&&T.id)n.push(`/chat/${Se.data.id}?itemId=${s.value.id}`);else throw new Error("Resposta inválida ao criar chatroom")}catch(j){console.error("Erro ao criar/aceder chat:",((O=j.response)==null?void 0:O.data)||j.message),alert("Ocorreu um erro ao iniciar o chat. Por favor, tente novamente.")}};return Lt(async()=>{await x(),await g(),window.addEventListener("resize",m)}),Ui(()=>{window.removeEventListener("resize",m)}),(E,I)=>(_(),R(Q,null,[c.value?(_(),R("div",yg,[F(bg,{title:r.value==="found"?"Item Achado":"Item Perdido"},null,8,["title"])])):ge("",!0),s.value?(_(),R("div",xg,[d("div",vg,[d("div",_g,[!s.value.image_urls||s.value.image_urls.length===0?(_(),R("div",wg,[d("img",{src:Ae(Vn),alt:"Imagem não disponível",class:"w-full h-full object-contain"},null,8,Eg)])):(_(),R("div",{key:1,class:X(["hidden md:grid",s.value.image_urls.length===1?"grid-cols-1":"grid-cols-2 gap-4"])},[(_(!0),R(Q,null,xe(s.value.image_urls.slice(0,2),(T,O)=>(_(),R("img",{key:O,src:T,alt:`Imagem ${O+1} do item`,class:"h-64 w-full object-cover rounded-lg"},null,8,Sg))),128))],2)),s.value.image_urls&&s.value.image_urls.length>0?(_(),R("div",Cg,[d("div",{class:"flex transition-transform duration-300 ease-out snap-x snap-mandatory",style:Fn({transform:`translateX(-${i.value*100}%)`})},[(_(!0),R(Q,null,xe(s.value.image_urls,(T,O)=>(_(),R("div",{key:O,class:"w-full flex-shrink-0 relative snap-start"},[d("img",{src:T,alt:`Imagem ${O+1} do item`,class:"w-full h-64 object-cover rounded-lg"},null,8,Ag)]))),128))],4),s.value.image_urls.length>1?(_(),R("div",Rg,[(_(!0),R(Q,null,xe(s.value.image_urls,(T,O)=>(_(),R("div",{key:O,class:X(["w-2 h-2 rounded-full transition-colors duration-300",i.value===O?"bg-white":"bg-gray-300"])},null,2))),128))])):ge("",!0),s.value.image_urls.length>1?(_(),R("button",{key:1,onClick:f,class:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," ← ")):ge("",!0),s.value.image_urls.length>1?(_(),R("button",{key:2,onClick:u,class:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," → ")):ge("",!0)])):ge("",!0)]),d("div",kg,[d("h1",Tg,Z(s.value.name),1),d("p",Og," Achado em: "+Z(s.value.location_name||"Não especificado"),1),s.value.found_lost_date&&r.value==="found"?(_(),R("p",Pg," Data do achado: "+Z(a(s.value.found_lost_date)),1)):s.value.found_lost_date&&r.value==="lost"?(_(),R("p",Ig," Data da perda: "+Z(a(s.value.found_lost_date)),1)):ge("",!0),d("div",Mg,[s.value.category_name?(_(),R("span",jg," Categoria: "+Z(s.value.category_name),1)):ge("",!0),s.value.brand_name?(_(),R("span",Lg," Marca: "+Z(s.value.brand_name),1)):ge("",!0),s.value.color_name?(_(),R("span",$g," Cor: "+Z(s.value.color_name),1)):ge("",!0)]),d("p",Dg,Z(s.value.description),1)])]),d("button",{class:"bg-laranja text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl",onClick:S}," É meu item ")])):ge("",!0),d("div",Fg,[F(Et,{activeIcon:r.value==="found"?"found":"lost"},null,8,["activeIcon"])])],64))}},Ng={name:"SubMenu"},Ug={class:"flex pt-8 space-x-8 justify-center"};function zg(e,t,n,s,r,o){const i=he("router-link");return _(),R("div",Ug,[F(i,{to:"/user-items-found",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[ye(" Achados ")])),_:1}),t[1]||(t[1]=d("div",{class:"flex-col space-y-1"},[d("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),d("div",{class:"h-[2px] bg-laranja"})],-1))])}const Hg=Ee(Ng,[["render",zg]]),qg={class:"flex flex-col items-center justify-center h-64 text-center"},Vg=["src"],Kg={class:"text-cinza3 font-inter text-lg"},Wg={class:"text-azul font-bold"},ra={__name:"Empty-State-User",props:{message:String,highlightText:String},setup(e){return(t,n)=>(_(),R("div",qg,[d("img",{src:Ae(Yl),class:"w-40 h-40 mb-4"},null,8,Vg),d("p",Kg,[ye(" Parece que você não tem itens "+Z(e.message)+" ",1),d("span",Wg,Z(e.highlightText),1)])]))}},Qg={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},Gg={class:"pb-8 pt-24"},Jg={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},Zg={class:"fixed bottom-0 w-full"},Xg={__name:"UserItems-Lost",setup(e){const t=ee([]),n=ee(!1),s=ee(!1),r=ee(""),o=async()=>{try{const c=await hh();t.value=c}catch{r.value="Erro ao carregar itens perdidos.",n.value=!0}},i=c=>{confirm("Você tem certeza que deseja deletar este item?")&&l(c)},l=async c=>{try{await Xl(c),t.value=t.value.filter(a=>a.id!==c),r.value="Item deletado com sucesso.",s.value=!0}catch{r.value="Erro ao deletar o item.",n.value=!0}};return Lt(()=>o()),(c,a)=>{const u=he("router-link"),f=he("ButtonAdd");return _(),R("div",null,[d("div",Qg,[F(u,{to:"/user",class:"inline-block"},{default:be(()=>a[2]||(a[2]=[d("img",{src:Kn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),a[3]||(a[3]=d("h1",{class:"text-2xl font-bold text-center flex-1"},"Meus Itens",-1)),d("button",null,[F(u,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(_t,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),d("div",Gg,[F(Hg)]),t.value.length===0?(_(),_e(ra,{key:0,message:"perdidos registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(_(),R("div",Jg,[(_(!0),R(Q,null,xe(t.value,m=>(_(),_e(Os,{key:m.id,id:m.id,name:m.name,location:m.location_name,time:Ae(Ds)(m.created_at),image:m.image_urls[0]||Ae(Vn),isMyItem:!0,onDelete:i},null,8,["id","name","location","time","image"]))),128))])),F(f),d("div",Zg,[F(Et,{activeIcon:"search"})]),n.value?(_(),_e($n,{key:2,type:"error",message:r.value,onClosed:a[0]||(a[0]=m=>n.value=!1)},null,8,["message"])):ge("",!0),s.value?(_(),_e($n,{key:3,type:"success",message:"Item deletado com sucesso.",onClosed:a[1]||(a[1]=m=>s.value=!1)})):ge("",!0)])}}},Yg={name:"SubMenu"},e0={class:"flex pt-8 space-x-8 justify-center"};function t0(e,t,n,s,r,o){const i=he("router-link");return _(),R("div",e0,[t[1]||(t[1]=d("div",{class:"flex-col space-y-1"},[d("span",{class:"font-inter font-bold text-laranja"},"Achados"),d("div",{class:"h-[2px] bg-laranja"})],-1)),F(i,{to:"/user-items-lost",class:"no-underline font-inter font-bold text-cinza3"},{default:be(()=>t[0]||(t[0]=[ye(" Perdidos ")])),_:1})])}const n0=Ee(Yg,[["render",t0]]),s0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},r0={class:"pb-8 pt-24"},o0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},i0={class:"fixed bottom-0 w-full"},l0={__name:"UserItems-Found",setup(e){const t=ee([]),n=ee(!1),s=ee(!1),r=ee(""),o=async()=>{try{const c=await ph();t.value=c}catch{r.value="Erro ao carregar itens encontrados.",n.value=!0}},i=c=>{confirm("Você tem certeza que deseja deletar este item?")&&l(c)},l=async c=>{try{await Xl(c),t.value=t.value.filter(a=>a.id!==c),r.value="Item deletado com sucesso.",s.value=!0}catch{r.value="Erro ao deletar o item.",n.value=!0}};return Lt(()=>o()),(c,a)=>{const u=he("router-link"),f=he("ButtonAdd");return _(),R(Q,null,[d("div",s0,[F(u,{to:"/user",class:"inline-block"},{default:be(()=>a[2]||(a[2]=[d("img",{src:Kn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),a[3]||(a[3]=d("h1",{class:"text-2xl font-bold text-center flex-1"},"Meus Itens",-1)),d("button",null,[F(u,{to:"/about",class:"no-underline text-white"},{default:be(()=>[F(_t,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),d("div",r0,[F(n0)]),t.value.length===0?(_(),_e(ra,{key:0,message:"achados registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(_(),R("div",o0,[(_(!0),R(Q,null,xe(t.value,m=>(_(),_e(Os,{key:m.id,id:m.id,name:m.name,location:m.location_name,time:Ae(Ds)(m.created_at),image:m.image_urls[0]||Ae(Vn),isMyItem:!0,onDelete:i},null,8,["id","name","location","time","image"]))),128))])),F(f),d("div",i0,[F(Et,{activeIcon:"search"})]),n.value?(_(),_e($n,{key:2,type:"error",message:r.value,onClosed:a[0]||(a[0]=m=>n.value=!1)},null,8,["message"])):ge("",!0),s.value?(_(),_e($n,{key:3,type:"success",message:"Item deletado com sucesso.",onClosed:a[1]||(a[1]=m=>s.value=!1)})):ge("",!0)],64)}}},ii={__name:"Message",setup(e){const t=Cl(),n=Al(),s=ee(n.params.chatroomId),r=ee({name:"Carregando...",profile_picture:""}),o=ee({}),i=ee([]);ee(""),ee(["Ainda está com o item?","Posso te entregar na faculdade?"]);const l=ee(n.query.participant_2),c=ee(n.query.item_id);Ht(()=>n.params.chatroomId,g=>{s.value=g,f()});const a=async()=>{try{const g=await ve.get("/api/users/me/");o.value={id:g.data.id,name:g.data.nome,profile_picture:g.data.foto||"https://via.placeholder.com/40"}}catch(g){console.error("Erro ao buscar usuário logado:",g)}},u=async g=>{try{const x=await ve.get(`/api/users/${g}/`);return{id:x.data.id,name:x.data.nome,profile_picture:x.data.foto||"https://via.placeholder.com/40"}}catch(x){return console.error("Erro ao buscar usuário do chat:",x),{name:"Usuário desconhecido",profile_picture:"https://via.placeholder.com/40"}}},f=async()=>{if(!s.value){console.log("❌ Nenhum chatroomId na URL. Criando novo chat..."),await m();return}try{console.log(`🔍 Buscando chatroom com ID: ${s.value}`);const g=await ve.get(`/chat/chatrooms/${s.value}/`);console.log("✅ Dados do chat recebidos:",g.data);const x=g.data.participant_1===o.value.id?g.data.participant_2:g.data.participant_1;r.value=await u(x),i.value=g.data.messages}catch(g){console.error("Erro ao buscar chat:",g)}},m=async()=>{if(!l.value||!c.value){console.error("⚠️ Erro: participant_2 ou item_id não foram passados na URL.");return}try{console.log("🔨 Criando novo chatroom...");const g=await ve.post("/chat/chatrooms/",{participant_1:o.value.id,participant_2:l.value,item_id:c.value});s.value=g.data.id,t.replace(`/chat/${s.value}`),console.log("✅ Novo chatroom criado:",g.data),await f()}catch(g){console.error("Erro ao criar chatroom:",g)}};return Lt(async()=>{await a(),await f()}),()=>{}}},a0=[{path:"/",name:"Login",component:Vo},{path:"/about",name:"About",component:od,meta:{requiresAuth:!0}},{path:"/lost",name:"Lost",component:Ch,meta:{requiresAuth:!0}},{path:"/found",name:"Found",component:Nh,meta:{requiresAuth:!0}},{path:"/register-lost",name:"RegisterLost",component:xm,meta:{requiresAuth:!0}},{path:"/register-found",name:"RegisterFound",component:Jm,meta:{requiresAuth:!0}},{path:"/user",name:"User",component:ig,meta:{requiresAuth:!0}},{path:"/chats",name:"Chats",component:cg,meta:{requiresAuth:!0}},{path:"/list-item",name:"ListItem",component:Bg,meta:{requiresAuth:!0}},{path:"/user-items-lost",name:"UserItemsLost",component:Xg},{path:"/user-items-found",name:"UserItemsFound",component:l0},{path:"/chat/new",name:"NewChat",component:ii,meta:{requiresAuth:!0}},{path:"/chat/:chatroomId",name:"Chat",component:ii,meta:{requiresAuth:!0},props:!0},{path:"/:catchAll(.*)",name:"NotFound",component:Vo}],oa=kf({history:rf(),routes:a0}),Fs=Su(Of);Fs.use(oa);Fs.component("Header",Hr);Fs.component("Alert",$n);Fs.mount("#app"); diff --git a/API/AcheiUnB/static/dist/js/index-DdAcjziC.js b/API/AcheiUnB/static/dist/js/index-DdAcjziC.js new file mode 100644 index 00000000..853e4170 --- /dev/null +++ b/API/AcheiUnB/static/dist/js/index-DdAcjziC.js @@ -0,0 +1,26 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Sr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ue={},tn=[],dt=()=>{},aa=()=>!1,ms=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Cr=e=>e.startsWith("onUpdate:"),Re=Object.assign,Ar=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ca=Object.prototype.hasOwnProperty,se=(e,t)=>ca.call(e,t),H=Array.isArray,nn=e=>Fn(e)==="[object Map]",gs=e=>Fn(e)==="[object Set]",Xr=e=>Fn(e)==="[object Date]",K=e=>typeof e=="function",_e=e=>typeof e=="string",pt=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",ui=e=>(pe(e)||K(e))&&K(e.then)&&K(e.catch),fi=Object.prototype.toString,Fn=e=>fi.call(e),ua=e=>Fn(e).slice(8,-1),di=e=>Fn(e)==="[object Object]",Rr=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,wn=Sr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fa=/-(\w)/g,Ge=bs(e=>e.replace(fa,(t,n)=>n?n.toUpperCase():"")),da=/\B([A-Z])/g,jt=bs(e=>e.replace(da,"-$1").toLowerCase()),xs=bs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bs=bs(e=>e?`on${xs(e)}`:""),$t=(e,t)=>!Object.is(e,t),Jn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ss=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let eo;const ys=()=>eo||(eo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bn(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(ha);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function X(e){let t="";if(_e(e))t=e;else if(H(e))for(let n=0;nvs(n,t))}const mi=e=>!!(e&&e.__v_isRef===!0),G=e=>_e(e)?e:e==null?"":H(e)||pe(e)&&(e.toString===fi||!K(e.toString))?mi(e)?G(e.value):JSON.stringify(e,gi,2):String(e),gi=(e,t)=>mi(t)?gi(e,t.value):nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Ns(s,o)+" =>"]=r,n),{})}:gs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ns(n))}:pt(t)?Ns(t):pe(t)&&!H(t)&&!di(t)?String(t):t,Ns=(e,t="")=>{var n;return pt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let He;class _a{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=He,!t&&He&&(this.index=(He.scopes||(He.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Sn){let t=Sn;for(Sn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;En;){let t=En;for(En=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function vi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function _i(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Or(s),Ea(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function sr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(wi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function wi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===On))return;e.globalVersion=On;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!sr(e)){e.flags&=-3;return}const n=de,s=Xe;de=e,Xe=!0;try{vi(e);const r=e.fn(e._value);(t.version===0||$t(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{de=n,Xe=s,_i(e),e.flags&=-3}}function Or(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Or(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ea(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Xe=!0;const Ei=[];function Mt(){Ei.push(Xe),Xe=!1}function Lt(){const e=Ei.pop();Xe=e===void 0?!0:e}function to(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=de;de=void 0;try{t()}finally{de=n}}}let On=0;class Sa{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ir{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!de||!Xe||de===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==de)n=this.activeLink=new Sa(de,this),de.deps?(n.prevDep=de.depsTail,de.depsTail.nextDep=n,de.depsTail=n):de.deps=de.depsTail=n,Si(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=de.depsTail,n.nextDep=void 0,de.depsTail.nextDep=n,de.depsTail=n,de.deps===n&&(de.deps=s)}return n}trigger(t){this.version++,On++,this.notify(t)}notify(t){kr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Tr()}}}function Si(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Si(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const rr=new WeakMap,Ht=Symbol(""),or=Symbol(""),In=Symbol("");function Oe(e,t,n){if(Xe&&de){let s=rr.get(e);s||rr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ir),r.map=s,r.key=n),r.track()}}function wt(e,t,n,s,r,o){const i=rr.get(e);if(!i){On++;return}const l=c=>{c&&c.trigger()};if(kr(),t==="clear")i.forEach(l);else{const c=H(e),a=c&&Rr(n);if(c&&n==="length"){const u=Number(s);i.forEach((d,m)=>{(m==="length"||m===In||!pt(m)&&m>=u)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),a&&l(i.get(In)),t){case"add":c?a&&l(i.get("length")):(l(i.get(Ht)),nn(e)&&l(i.get(or)));break;case"delete":c||(l(i.get(Ht)),nn(e)&&l(i.get(or)));break;case"set":nn(e)&&l(i.get(Ht));break}}Tr()}function Yt(e){const t=ne(e);return t===e?t:(Oe(t,"iterate",In),Qe(e)?t:t.map(Ie))}function _s(e){return Oe(e=ne(e),"iterate",In),e}const Ca={__proto__:null,[Symbol.iterator](){return zs(this,Symbol.iterator,Ie)},concat(...e){return Yt(this).concat(...e.map(t=>H(t)?Yt(t):t))},entries(){return zs(this,"entries",e=>(e[1]=Ie(e[1]),e))},every(e,t){return yt(this,"every",e,t,void 0,arguments)},filter(e,t){return yt(this,"filter",e,t,n=>n.map(Ie),arguments)},find(e,t){return yt(this,"find",e,t,Ie,arguments)},findIndex(e,t){return yt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return yt(this,"findLast",e,t,Ie,arguments)},findLastIndex(e,t){return yt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return yt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Hs(this,"includes",e)},indexOf(...e){return Hs(this,"indexOf",e)},join(e){return Yt(this).join(e)},lastIndexOf(...e){return Hs(this,"lastIndexOf",e)},map(e,t){return yt(this,"map",e,t,void 0,arguments)},pop(){return bn(this,"pop")},push(...e){return bn(this,"push",e)},reduce(e,...t){return no(this,"reduce",e,t)},reduceRight(e,...t){return no(this,"reduceRight",e,t)},shift(){return bn(this,"shift")},some(e,t){return yt(this,"some",e,t,void 0,arguments)},splice(...e){return bn(this,"splice",e)},toReversed(){return Yt(this).toReversed()},toSorted(e){return Yt(this).toSorted(e)},toSpliced(...e){return Yt(this).toSpliced(...e)},unshift(...e){return bn(this,"unshift",e)},values(){return zs(this,"values",Ie)}};function zs(e,t,n){const s=_s(e),r=s[t]();return s!==e&&!Qe(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const Aa=Array.prototype;function yt(e,t,n,s,r,o){const i=_s(e),l=i!==e&&!Qe(e),c=i[t];if(c!==Aa[t]){const d=c.apply(e,o);return l?Ie(d):d}let a=n;i!==e&&(l?a=function(d,m){return n.call(this,Ie(d),m,e)}:n.length>2&&(a=function(d,m){return n.call(this,d,m,e)}));const u=c.call(i,a,s);return l&&r?r(u):u}function no(e,t,n,s){const r=_s(e);let o=n;return r!==e&&(Qe(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,Ie(l),c,e)}),r[t](o,...s)}function Hs(e,t,n){const s=ne(e);Oe(s,"iterate",In);const r=s[t](...n);return(r===-1||r===!1)&&jr(n[0])?(n[0]=ne(n[0]),s[t](...n)):r}function bn(e,t,n=[]){Mt(),kr();const s=ne(e)[t].apply(e,n);return Tr(),Lt(),s}const Ra=Sr("__proto__,__v_isRef,__isVue"),Ci=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pt));function ka(e){pt(e)||(e=String(e));const t=ne(this);return Oe(t,"has",e),t.hasOwnProperty(e)}class Ai{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Fa:Oi:o?Ti:ki).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=H(t);if(!r){let c;if(i&&(c=Ca[n]))return c;if(n==="hasOwnProperty")return ka}const l=Reflect.get(t,n,je(t)?t:s);return(pt(n)?Ci.has(n):Ra(n))||(r||Oe(t,"get",n),o)?l:je(l)?i&&Rr(n)?l:l.value:pe(l)?r?Pi(l):Nn(l):l}}class Ri extends Ai{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Vt(o);if(!Qe(s)&&!Vt(s)&&(o=ne(o),s=ne(s)),!H(t)&&je(o)&&!je(s))return c?!1:(o.value=s,!0)}const i=H(t)&&Rr(n)?Number(n)e,Wn=e=>Reflect.getPrototypeOf(e);function $a(e,t,n){return function(...s){const r=this.__v_raw,o=ne(r),i=nn(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),u=n?ir:t?lr:Ie;return!t&&Oe(o,"iterate",c?or:Ht),{next(){const{value:d,done:m}=a.next();return m?{value:d,done:m}:{value:l?[u(d[0]),u(d[1])]:u(d),done:m}},[Symbol.iterator](){return this}}}}function Qn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ja(e,t){const n={get(r){const o=this.__v_raw,i=ne(o),l=ne(r);e||($t(r,l)&&Oe(i,"get",r),Oe(i,"get",l));const{has:c}=Wn(i),a=t?ir:e?lr:Ie;if(c.call(i,r))return a(o.get(r));if(c.call(i,l))return a(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Oe(ne(r),"iterate",Ht),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=ne(o),l=ne(r);return e||($t(r,l)&&Oe(i,"has",r),Oe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=ne(l),a=t?ir:e?lr:Ie;return!e&&Oe(c,"iterate",Ht),l.forEach((u,d)=>r.call(o,a(u),a(d),i))}};return Re(n,e?{add:Qn("add"),set:Qn("set"),delete:Qn("delete"),clear:Qn("clear")}:{add(r){!t&&!Qe(r)&&!Vt(r)&&(r=ne(r));const o=ne(this);return Wn(o).has.call(o,r)||(o.add(r),wt(o,"add",r,r)),this},set(r,o){!t&&!Qe(o)&&!Vt(o)&&(o=ne(o));const i=ne(this),{has:l,get:c}=Wn(i);let a=l.call(i,r);a||(r=ne(r),a=l.call(i,r));const u=c.call(i,r);return i.set(r,o),a?$t(o,u)&&wt(i,"set",r,o):wt(i,"add",r,o),this},delete(r){const o=ne(this),{has:i,get:l}=Wn(o);let c=i.call(o,r);c||(r=ne(r),c=i.call(o,r)),l&&l.call(o,r);const a=o.delete(r);return c&&wt(o,"delete",r,void 0),a},clear(){const r=ne(this),o=r.size!==0,i=r.clear();return o&&wt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=$a(r,e,t)}),n}function Pr(e,t){const n=ja(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(se(n,r)&&r in s?n:s,r,o)}const Ma={get:Pr(!1,!1)},La={get:Pr(!1,!0)},Da={get:Pr(!0,!1)};const ki=new WeakMap,Ti=new WeakMap,Oi=new WeakMap,Fa=new WeakMap;function Ba(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Na(e){return e.__v_skip||!Object.isExtensible(e)?0:Ba(ua(e))}function Nn(e){return Vt(e)?e:$r(e,!1,Oa,Ma,ki)}function Ii(e){return $r(e,!1,Pa,La,Ti)}function Pi(e){return $r(e,!0,Ia,Da,Oi)}function $r(e,t,n,s,r){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Na(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function sn(e){return Vt(e)?sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Qe(e){return!!(e&&e.__v_isShallow)}function jr(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function Ua(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&pi(e,"__v_skip",!0),e}const Ie=e=>pe(e)?Nn(e):e,lr=e=>pe(e)?Pi(e):e;function je(e){return e?e.__v_isRef===!0:!1}function J(e){return $i(e,!1)}function za(e){return $i(e,!0)}function $i(e,t){return je(e)?e:new Ha(e,t)}class Ha{constructor(t,n){this.dep=new Ir,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:Ie(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Qe(t)||Vt(t);t=s?t:ne(t),$t(t,n)&&(this._rawValue=t,this._value=s?t:Ie(t),this.dep.trigger())}}function Ee(e){return je(e)?e.value:e}const qa={get:(e,t,n)=>t==="__v_raw"?e:Ee(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return je(r)&&!je(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ji(e){return sn(e)?e:new Proxy(e,qa)}class Va{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ir(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=On-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&de!==this)return yi(this,!0),!0}get value(){const t=this.dep.track();return wi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ka(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new Va(s,r,n)}const Gn={},rs=new WeakMap;let Nt;function Wa(e,t=!1,n=Nt){if(n){let s=rs.get(n);s||rs.set(n,s=[]),s.push(e)}}function Qa(e,t,n=ue){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,a=j=>r?j:Qe(j)||r===!1||r===0?Et(j,1):Et(j);let u,d,m,g,v=!1,w=!1;if(je(e)?(d=()=>e.value,v=Qe(e)):sn(e)?(d=()=>a(e),v=!0):H(e)?(w=!0,v=e.some(j=>sn(j)||Qe(j)),d=()=>e.map(j=>{if(je(j))return j.value;if(sn(j))return a(j);if(K(j))return c?c(j,2):j()})):K(e)?t?d=c?()=>c(e,2):e:d=()=>{if(m){Mt();try{m()}finally{Lt()}}const j=Nt;Nt=u;try{return c?c(e,3,[g]):e(g)}finally{Nt=j}}:d=dt,t&&r){const j=d,V=r===!0?1/0:r;d=()=>Et(j(),V)}const x=wa(),R=()=>{u.stop(),x&&x.active&&Ar(x.effects,u)};if(o&&t){const j=t;t=(...V)=>{j(...V),R()}}let O=w?new Array(e.length).fill(Gn):Gn;const I=j=>{if(!(!(u.flags&1)||!u.dirty&&!j))if(t){const V=u.run();if(r||v||(w?V.some((ee,Z)=>$t(ee,O[Z])):$t(V,O))){m&&m();const ee=Nt;Nt=u;try{const Z=[V,O===Gn?void 0:w&&O[0]===Gn?[]:O,g];c?c(t,3,Z):t(...Z),O=V}finally{Nt=ee}}}else u.run()};return l&&l(I),u=new bi(d),u.scheduler=i?()=>i(I,!1):I,g=j=>Wa(j,!1,u),m=u.onStop=()=>{const j=rs.get(u);if(j){if(c)c(j,4);else for(const V of j)V();rs.delete(u)}},t?s?I(!0):O=u.run():i?i(I.bind(null,!0),!0):u.run(),R.pause=u.pause.bind(u),R.resume=u.resume.bind(u),R.stop=R,R}function Et(e,t=1/0,n){if(t<=0||!pe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,je(e))Et(e.value,t,n);else if(H(e))for(let s=0;s{Et(s,t,n)});else if(di(e)){for(const s in e)Et(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Et(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Un(e,t,n,s){try{return s?e(...s):e()}catch(r){ws(r,t,n)}}function ht(e,t,n,s){if(K(e)){const r=Un(e,t,n,s);return r&&ui(r)&&r.catch(o=>{ws(o,t,n)}),r}if(H(e)){const r=[];for(let o=0;o>>1,r=Le[s],o=Pn(r);o=Pn(n)?Le.push(e):Le.splice(Ja(t),0,e),e.flags|=1,Li()}}function Li(){os||(os=Mi.then(Fi))}function Za(e){H(e)?rn.push(...e):kt&&e.id===-1?kt.splice(Xt+1,0,e):e.flags&1||(rn.push(e),e.flags|=1),Li()}function so(e,t,n=ct+1){for(;nPn(n)-Pn(s));if(rn.length=0,kt){kt.push(...t);return}for(kt=t,Xt=0;Xte.id==null?e.flags&2?-1:1/0:e.id;function Fi(e){try{for(ct=0;ct{s._d&&po(-1);const o=is(t);let i;try{i=e(...r)}finally{is(o),s._d&&po(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ae(e,t){if(qe===null)return e;const n=As(qe),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport;function Dr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Dr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function Ni(e,t){return K(e)?Re({name:e.name},t,{setup:e}):e}function Ui(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ls(e,t,n,s,r=!1){if(H(e)){e.forEach((v,w)=>ls(v,t&&(H(t)?t[w]:t),n,s,r));return}if(Cn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&ls(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?As(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===ue?l.refs={}:l.refs,d=l.setupState,m=ne(d),g=d===ue?()=>!1:v=>se(m,v);if(a!=null&&a!==c&&(_e(a)?(u[a]=null,g(a)&&(d[a]=null)):je(a)&&(a.value=null)),K(c))Un(c,l,12,[i,u]);else{const v=_e(c),w=je(c);if(v||w){const x=()=>{if(e.f){const R=v?g(c)?d[c]:u[c]:c.value;r?H(R)&&Ar(R,o):H(R)?R.includes(o)||R.push(o):v?(u[c]=[o],g(c)&&(d[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else v?(u[c]=i,g(c)&&(d[c]=i)):w&&(c.value=i,e.k&&(u[e.k]=i))};i?(x.id=-1,ze(x,n)):x()}}}ys().requestIdleCallback;ys().cancelIdleCallback;const Cn=e=>!!e.type.__asyncLoader,zi=e=>e.type.__isKeepAlive;function ec(e,t){Hi(e,"a",t)}function tc(e,t){Hi(e,"da",t)}function Hi(e,t,n=Pe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Es(t,s,n),n){let r=n.parent;for(;r&&r.parent;)zi(r.parent.vnode)&&nc(s,t,n,r),r=r.parent}}function nc(e,t,n,s){const r=Es(t,e,s,!0);Vi(()=>{Ar(s[t],r)},n)}function Es(e,t,n=Pe,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Mt();const l=zn(n),c=ht(t,n,e,i);return l(),Lt(),c});return s?r.unshift(o):r.push(o),o}}const St=e=>(t,n=Pe)=>{(!jn||e==="sp")&&Es(e,(...s)=>t(...s),n)},sc=St("bm"),gt=St("m"),rc=St("bu"),oc=St("u"),qi=St("bum"),Vi=St("um"),ic=St("sp"),lc=St("rtg"),ac=St("rtc");function cc(e,t=Pe){Es("ec",e,t)}const uc="components";function he(e,t){return dc(uc,e,!0,t)||e}const fc=Symbol.for("v-ndc");function dc(e,t,n=!0,s=!1){const r=qe||Pe;if(r){const o=r.type;{const l=Xc(o,!1);if(l&&(l===t||l===Ge(t)||l===xs(Ge(t))))return o}const i=ro(r[e]||o[e],t)||ro(r.appContext[e],t);return!i&&s?o:i}}function ro(e,t){return e&&(e[t]||e[Ge(t)]||e[xs(Ge(t))])}function xe(e,t,n,s){let r;const o=n,i=H(e);if(i||_e(e)){const l=i&&sn(e);let c=!1;l&&(c=!Qe(e),e=_s(e)),r=new Array(e.length);for(let a=0,u=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;ce?ul(e)?As(e):ar(e.parent):null,An=Re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ar(e.parent),$root:e=>ar(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Fr(e),$forceUpdate:e=>e.f||(e.f=()=>{Lr(e.update)}),$nextTick:e=>e.n||(e.n=Mr.bind(e.proxy)),$watch:e=>jc.bind(e)}),qs=(e,t)=>e!==ue&&!e.__isScriptSetup&&se(e,t),pc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(qs(s,t))return i[t]=1,s[t];if(r!==ue&&se(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&se(a,t))return i[t]=3,o[t];if(n!==ue&&se(n,t))return i[t]=4,n[t];cr&&(i[t]=0)}}const u=An[t];let d,m;if(u)return t==="$attrs"&&Oe(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==ue&&se(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,se(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return qs(r,t)?(r[t]=n,!0):s!==ue&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ue&&se(e,i)||qs(t,i)||(l=o[0])&&se(l,i)||se(s,i)||se(An,i)||se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function oo(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let cr=!0;function hc(e){const t=Fr(e),n=e.proxy,s=e.ctx;cr=!1,t.beforeCreate&&io(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:d,mounted:m,beforeUpdate:g,updated:v,activated:w,deactivated:x,beforeDestroy:R,beforeUnmount:O,destroyed:I,unmounted:j,render:V,renderTracked:ee,renderTriggered:Z,errorCaptured:we,serverPrefetch:Je,expose:st,inheritAttrs:Ct,components:Dt,directives:rt,filters:mn}=t;if(a&&mc(a,s,null),i)for(const ae in i){const te=i[ae];K(te)&&(s[ae]=te.bind(n))}if(r){const ae=r.call(n,n);pe(ae)&&(e.data=Nn(ae))}if(cr=!0,o)for(const ae in o){const te=o[ae],xt=K(te)?te.bind(n,n):K(te.get)?te.get.bind(n,n):dt,At=!K(te)&&K(te.set)?te.set.bind(n):dt,ot=Ye({get:xt,set:At});Object.defineProperty(s,ae,{enumerable:!0,configurable:!0,get:()=>ot.value,set:De=>ot.value=De})}if(l)for(const ae in l)Ki(l[ae],s,n,ae);if(c){const ae=K(c)?c.call(n):c;Reflect.ownKeys(ae).forEach(te=>{Zn(te,ae[te])})}u&&io(u,e,"c");function Ce(ae,te){H(te)?te.forEach(xt=>ae(xt.bind(n))):te&&ae(te.bind(n))}if(Ce(sc,d),Ce(gt,m),Ce(rc,g),Ce(oc,v),Ce(ec,w),Ce(tc,x),Ce(cc,we),Ce(ac,ee),Ce(lc,Z),Ce(qi,O),Ce(Vi,j),Ce(ic,Je),H(st))if(st.length){const ae=e.exposed||(e.exposed={});st.forEach(te=>{Object.defineProperty(ae,te,{get:()=>n[te],set:xt=>n[te]=xt})})}else e.exposed||(e.exposed={});V&&e.render===dt&&(e.render=V),Ct!=null&&(e.inheritAttrs=Ct),Dt&&(e.components=Dt),rt&&(e.directives=rt),Je&&Ui(e)}function mc(e,t,n=dt){H(e)&&(e=ur(e));for(const s in e){const r=e[s];let o;pe(r)?"default"in r?o=et(r.from||s,r.default,!0):o=et(r.from||s):o=et(r),je(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function io(e,t,n){ht(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ki(e,t,n,s){let r=s.includes(".")?ol(n,s):()=>n[s];if(_e(e)){const o=t[e];K(o)&&ln(r,o)}else if(K(e))ln(r,e.bind(n));else if(pe(e))if(H(e))e.forEach(o=>Ki(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&ln(r,o,e)}}function Fr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>as(c,a,i,!0)),as(c,t,i)),pe(t)&&o.set(t,c),c}function as(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&as(e,o,n,!0),r&&r.forEach(i=>as(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=gc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const gc={data:lo,props:ao,emits:ao,methods:_n,computed:_n,beforeCreate:Me,created:Me,beforeMount:Me,mounted:Me,beforeUpdate:Me,updated:Me,beforeDestroy:Me,beforeUnmount:Me,destroyed:Me,unmounted:Me,activated:Me,deactivated:Me,errorCaptured:Me,serverPrefetch:Me,components:_n,directives:_n,watch:xc,provide:lo,inject:bc};function lo(e,t){return t?e?function(){return Re(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function bc(e,t){return _n(ur(e),ur(t))}function ur(e){if(H(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const Qi={},Gi=()=>Object.create(Qi),Ji=e=>Object.getPrototypeOf(e)===Qi;function _c(e,t,n,s=!1){const r={},o=Gi();e.propsDefaults=Object.create(null),Zi(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Ii(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function wc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ne(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[m,g]=Yi(d,t,!0);Re(i,m),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return pe(e)&&s.set(e,tn),tn;if(H(o))for(let u=0;ue[0]==="_"||e==="$stable",Br=e=>H(e)?e.map(ut):[ut(e)],Sc=(e,t,n)=>{if(t._n)return t;const s=ge((...r)=>Br(t(...r)),n);return s._c=!1,s},el=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Xi(r))continue;const o=e[r];if(K(o))t[r]=Sc(r,o,s);else if(o!=null){const i=Br(o);t[r]=()=>i}}},tl=(e,t)=>{const n=Br(t);e.slots.default=()=>n},nl=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Cc=(e,t,n)=>{const s=e.slots=Gi();if(e.vnode.shapeFlag&32){const r=t._;r?(nl(s,t,n),n&&pi(s,"_",r,!0)):el(t,s)}else t&&tl(e,t)},Ac=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ue;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:nl(r,t,n):(o=!t.$stable,el(t,r)),i=t}else t&&(tl(e,t),i={default:1});if(o)for(const l in r)!Xi(l)&&i[l]==null&&delete r[l]},ze=Uc;function Rc(e){return kc(e)}function kc(e,t){const n=ys();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:d,nextSibling:m,setScopeId:g=dt,insertStaticContent:v}=e,w=(p,h,b,A=null,E=null,k=null,M=void 0,$=null,P=!!h.dynamicChildren)=>{if(p===h)return;p&&!xn(p,h)&&(A=S(p),De(p,E,k,!0),p=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:T,ref:z,shapeFlag:F}=h;switch(T){case Cs:x(p,h,b,A);break;case Kt:R(p,h,b,A);break;case Ws:p==null&&O(h,b,A,M);break;case Q:Dt(p,h,b,A,E,k,M,$,P);break;default:F&1?V(p,h,b,A,E,k,M,$,P):F&6?rt(p,h,b,A,E,k,M,$,P):(F&64||F&128)&&T.process(p,h,b,A,E,k,M,$,P,N)}z!=null&&E&&ls(z,p&&p.ref,k,h||p,!h)},x=(p,h,b,A)=>{if(p==null)s(h.el=l(h.children),b,A);else{const E=h.el=p.el;h.children!==p.children&&a(E,h.children)}},R=(p,h,b,A)=>{p==null?s(h.el=c(h.children||""),b,A):h.el=p.el},O=(p,h,b,A)=>{[p.el,p.anchor]=v(p.children,h,b,A,p.el,p.anchor)},I=({el:p,anchor:h},b,A)=>{let E;for(;p&&p!==h;)E=m(p),s(p,b,A),p=E;s(h,b,A)},j=({el:p,anchor:h})=>{let b;for(;p&&p!==h;)b=m(p),r(p),p=b;r(h)},V=(p,h,b,A,E,k,M,$,P)=>{h.type==="svg"?M="svg":h.type==="math"&&(M="mathml"),p==null?ee(h,b,A,E,k,M,$,P):Je(p,h,E,k,M,$,P)},ee=(p,h,b,A,E,k,M,$)=>{let P,T;const{props:z,shapeFlag:F,transition:U,dirs:q}=p;if(P=p.el=i(p.type,k,z&&z.is,z),F&8?u(P,p.children):F&16&&we(p.children,P,null,A,E,Vs(p,k),M,$),q&&Ft(p,null,A,"created"),Z(P,p,p.scopeId,M,A),z){for(const fe in z)fe!=="value"&&!wn(fe)&&o(P,fe,null,z[fe],k,A);"value"in z&&o(P,"value",null,z.value,k),(T=z.onVnodeBeforeMount)&<(T,A,p)}q&&Ft(p,null,A,"beforeMount");const Y=Tc(E,U);Y&&U.beforeEnter(P),s(P,h,b),((T=z&&z.onVnodeMounted)||Y||q)&&ze(()=>{T&<(T,A,p),Y&&U.enter(P),q&&Ft(p,null,A,"mounted")},E)},Z=(p,h,b,A,E)=>{if(b&&g(p,b),A)for(let k=0;k{for(let T=P;T{const $=h.el=p.el;let{patchFlag:P,dynamicChildren:T,dirs:z}=h;P|=p.patchFlag&16;const F=p.props||ue,U=h.props||ue;let q;if(b&&Bt(b,!1),(q=U.onVnodeBeforeUpdate)&<(q,b,h,p),z&&Ft(h,p,b,"beforeUpdate"),b&&Bt(b,!0),(F.innerHTML&&U.innerHTML==null||F.textContent&&U.textContent==null)&&u($,""),T?st(p.dynamicChildren,T,$,b,A,Vs(h,E),k):M||te(p,h,$,null,b,A,Vs(h,E),k,!1),P>0){if(P&16)Ct($,F,U,b,E);else if(P&2&&F.class!==U.class&&o($,"class",null,U.class,E),P&4&&o($,"style",F.style,U.style,E),P&8){const Y=h.dynamicProps;for(let fe=0;fe{q&<(q,b,h,p),z&&Ft(h,p,b,"updated")},A)},st=(p,h,b,A,E,k,M)=>{for(let $=0;${if(h!==b){if(h!==ue)for(const k in h)!wn(k)&&!(k in b)&&o(p,k,h[k],null,E,A);for(const k in b){if(wn(k))continue;const M=b[k],$=h[k];M!==$&&k!=="value"&&o(p,k,$,M,E,A)}"value"in b&&o(p,"value",h.value,b.value,E)}},Dt=(p,h,b,A,E,k,M,$,P)=>{const T=h.el=p?p.el:l(""),z=h.anchor=p?p.anchor:l("");let{patchFlag:F,dynamicChildren:U,slotScopeIds:q}=h;q&&($=$?$.concat(q):q),p==null?(s(T,b,A),s(z,b,A),we(h.children||[],b,z,E,k,M,$,P)):F>0&&F&64&&U&&p.dynamicChildren?(st(p.dynamicChildren,U,b,E,k,M,$),(h.key!=null||E&&h===E.subTree)&&sl(p,h,!0)):te(p,h,b,z,E,k,M,$,P)},rt=(p,h,b,A,E,k,M,$,P)=>{h.slotScopeIds=$,p==null?h.shapeFlag&512?E.ctx.activate(h,b,A,M,P):mn(h,b,A,E,k,M,P):Gt(p,h,P)},mn=(p,h,b,A,E,k,M)=>{const $=p.component=Qc(p,A,E);if(zi(p)&&($.ctx.renderer=N),Gc($,!1,M),$.asyncDep){if(E&&E.registerDep($,Ce,M),!p.el){const P=$.subTree=L(Kt);R(null,P,h,b)}}else Ce($,p,h,b,E,k,M)},Gt=(p,h,b)=>{const A=h.component=p.component;if(Bc(p,h,b))if(A.asyncDep&&!A.asyncResolved){ae(A,h,b);return}else A.next=h,A.update();else h.el=p.el,A.vnode=h},Ce=(p,h,b,A,E,k,M)=>{const $=()=>{if(p.isMounted){let{next:F,bu:U,u:q,parent:Y,vnode:fe}=p;{const Ne=rl(p);if(Ne){F&&(F.el=fe.el,ae(p,F,M)),Ne.asyncDep.then(()=>{p.isUnmounted||$()});return}}let oe=F,Be;Bt(p,!1),F?(F.el=fe.el,ae(p,F,M)):F=fe,U&&Jn(U),(Be=F.props&&F.props.onVnodeBeforeUpdate)&<(Be,Y,F,fe),Bt(p,!0);const Te=Ks(p),Ze=p.subTree;p.subTree=Te,w(Ze,Te,d(Ze.el),S(Ze),p,E,k),F.el=Te.el,oe===null&&Nc(p,Te.el),q&&ze(q,E),(Be=F.props&&F.props.onVnodeUpdated)&&ze(()=>lt(Be,Y,F,fe),E)}else{let F;const{el:U,props:q}=h,{bm:Y,m:fe,parent:oe,root:Be,type:Te}=p,Ze=Cn(h);if(Bt(p,!1),Y&&Jn(Y),!Ze&&(F=q&&q.onVnodeBeforeMount)&<(F,oe,h),Bt(p,!0),U&&be){const Ne=()=>{p.subTree=Ks(p),be(U,p.subTree,p,E,null)};Ze&&Te.__asyncHydrate?Te.__asyncHydrate(U,p,Ne):Ne()}else{Be.ce&&Be.ce._injectChildStyle(Te);const Ne=p.subTree=Ks(p);w(null,Ne,b,A,p,E,k),h.el=Ne.el}if(fe&&ze(fe,E),!Ze&&(F=q&&q.onVnodeMounted)){const Ne=h;ze(()=>lt(F,oe,Ne),E)}(h.shapeFlag&256||oe&&Cn(oe.vnode)&&oe.vnode.shapeFlag&256)&&p.a&&ze(p.a,E),p.isMounted=!0,h=b=A=null}};p.scope.on();const P=p.effect=new bi($);p.scope.off();const T=p.update=P.run.bind(P),z=p.job=P.runIfDirty.bind(P);z.i=p,z.id=p.uid,P.scheduler=()=>Lr(z),Bt(p,!0),T()},ae=(p,h,b)=>{h.component=p;const A=p.vnode.props;p.vnode=h,p.next=null,wc(p,h.props,A,b),Ac(p,h.children,b),Mt(),so(p),Lt()},te=(p,h,b,A,E,k,M,$,P=!1)=>{const T=p&&p.children,z=p?p.shapeFlag:0,F=h.children,{patchFlag:U,shapeFlag:q}=h;if(U>0){if(U&128){At(T,F,b,A,E,k,M,$,P);return}else if(U&256){xt(T,F,b,A,E,k,M,$,P);return}}q&8?(z&16&&We(T,E,k),F!==T&&u(b,F)):z&16?q&16?At(T,F,b,A,E,k,M,$,P):We(T,E,k,!0):(z&8&&u(b,""),q&16&&we(F,b,A,E,k,M,$,P))},xt=(p,h,b,A,E,k,M,$,P)=>{p=p||tn,h=h||tn;const T=p.length,z=h.length,F=Math.min(T,z);let U;for(U=0;Uz?We(p,E,k,!0,!1,F):we(h,b,A,E,k,M,$,P,F)},At=(p,h,b,A,E,k,M,$,P)=>{let T=0;const z=h.length;let F=p.length-1,U=z-1;for(;T<=F&&T<=U;){const q=p[T],Y=h[T]=P?Tt(h[T]):ut(h[T]);if(xn(q,Y))w(q,Y,b,null,E,k,M,$,P);else break;T++}for(;T<=F&&T<=U;){const q=p[F],Y=h[U]=P?Tt(h[U]):ut(h[U]);if(xn(q,Y))w(q,Y,b,null,E,k,M,$,P);else break;F--,U--}if(T>F){if(T<=U){const q=U+1,Y=qU)for(;T<=F;)De(p[T],E,k,!0),T++;else{const q=T,Y=T,fe=new Map;for(T=Y;T<=U;T++){const Ue=h[T]=P?Tt(h[T]):ut(h[T]);Ue.key!=null&&fe.set(Ue.key,T)}let oe,Be=0;const Te=U-Y+1;let Ze=!1,Ne=0;const gn=new Array(Te);for(T=0;T=Te){De(Ue,E,k,!0);continue}let it;if(Ue.key!=null)it=fe.get(Ue.key);else for(oe=Y;oe<=U;oe++)if(gn[oe-Y]===0&&xn(Ue,h[oe])){it=oe;break}it===void 0?De(Ue,E,k,!0):(gn[it-Y]=T+1,it>=Ne?Ne=it:Ze=!0,w(Ue,h[it],b,null,E,k,M,$,P),Be++)}const Zr=Ze?Oc(gn):tn;for(oe=Zr.length-1,T=Te-1;T>=0;T--){const Ue=Y+T,it=h[Ue],Yr=Ue+1{const{el:k,type:M,transition:$,children:P,shapeFlag:T}=p;if(T&6){ot(p.component.subTree,h,b,A);return}if(T&128){p.suspense.move(h,b,A);return}if(T&64){M.move(p,h,b,N);return}if(M===Q){s(k,h,b);for(let F=0;F$.enter(k),E);else{const{leave:F,delayLeave:U,afterLeave:q}=$,Y=()=>s(k,h,b),fe=()=>{F(k,()=>{Y(),q&&q()})};U?U(k,Y,fe):fe()}else s(k,h,b)},De=(p,h,b,A=!1,E=!1)=>{const{type:k,props:M,ref:$,children:P,dynamicChildren:T,shapeFlag:z,patchFlag:F,dirs:U,cacheIndex:q}=p;if(F===-2&&(E=!1),$!=null&&ls($,null,b,p,!0),q!=null&&(h.renderCache[q]=void 0),z&256){h.ctx.deactivate(p);return}const Y=z&1&&U,fe=!Cn(p);let oe;if(fe&&(oe=M&&M.onVnodeBeforeUnmount)&<(oe,h,p),z&6)Kn(p.component,b,A);else{if(z&128){p.suspense.unmount(b,A);return}Y&&Ft(p,null,h,"beforeUnmount"),z&64?p.type.remove(p,h,b,N,A):T&&!T.hasOnce&&(k!==Q||F>0&&F&64)?We(T,h,b,!1,!0):(k===Q&&F&384||!E&&z&16)&&We(P,h,b),A&&Jt(p)}(fe&&(oe=M&&M.onVnodeUnmounted)||Y)&&ze(()=>{oe&<(oe,h,p),Y&&Ft(p,null,h,"unmounted")},b)},Jt=p=>{const{type:h,el:b,anchor:A,transition:E}=p;if(h===Q){Zt(b,A);return}if(h===Ws){j(p);return}const k=()=>{r(b),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(p.shapeFlag&1&&E&&!E.persisted){const{leave:M,delayLeave:$}=E,P=()=>M(b,k);$?$(p.el,k,P):P()}else k()},Zt=(p,h)=>{let b;for(;p!==h;)b=m(p),r(p),p=b;r(h)},Kn=(p,h,b)=>{const{bum:A,scope:E,job:k,subTree:M,um:$,m:P,a:T}=p;uo(P),uo(T),A&&Jn(A),E.stop(),k&&(k.flags|=8,De(M,p,h,b)),$&&ze($,h),ze(()=>{p.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},We=(p,h,b,A=!1,E=!1,k=0)=>{for(let M=k;M{if(p.shapeFlag&6)return S(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const h=m(p.anchor||p.el),b=h&&h[Ya];return b?m(b):h};let B=!1;const D=(p,h,b)=>{p==null?h._vnode&&De(h._vnode,null,null,!0):w(h._vnode||null,p,h,null,null,null,b),h._vnode=p,B||(B=!0,so(),Di(),B=!1)},N={p:w,um:De,m:ot,r:Jt,mt:mn,mc:we,pc:te,pbc:st,n:S,o:e};let re,be;return{render:D,hydrate:re,createApp:vc(D,re)}}function Vs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Bt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Tc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function sl(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function rl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:rl(t)}function uo(e){if(e)for(let t=0;tet(Ic);function $c(e,t){return Nr(e,null,t)}function ln(e,t,n){return Nr(e,t,n)}function Nr(e,t,n=ue){const{immediate:s,deep:r,flush:o,once:i}=n,l=Re({},n),c=t&&s||!t&&o!=="post";let a;if(jn){if(o==="sync"){const g=Pc();a=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=dt,g.resume=dt,g.pause=dt,g}}const u=Pe;l.call=(g,v,w)=>ht(g,u,v,w);let d=!1;o==="post"?l.scheduler=g=>{ze(g,u&&u.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(g,v)=>{v?g():Lr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),d&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const m=Qa(e,t,l);return jn&&(a?a.push(m):c&&m()),m}function jc(e,t,n){const s=this.proxy,r=_e(e)?e.includes(".")?ol(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=zn(this),l=Nr(r,o.bind(s),n);return i(),l}function ol(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ge(t)}Modifiers`]||e[`${jt(t)}Modifiers`];function Lc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ue;let r=n;const o=t.startsWith("update:"),i=o&&Mc(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>_e(u)?u.trim():u)),i.number&&(r=n.map(ss)));let l,c=s[l=Bs(t)]||s[l=Bs(Ge(t))];!c&&o&&(c=s[l=Bs(jt(t))]),c&&ht(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ht(a,e,6,r)}}function il(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=a=>{const u=il(a,t,!0);u&&(l=!0,Re(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(pe(e)&&s.set(e,null),null):(H(o)?o.forEach(c=>i[c]=null):Re(i,o),pe(e)&&s.set(e,i),i)}function Ss(e,t){return!e||!ms(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,jt(t))||se(e,t))}function Ks(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:u,props:d,data:m,setupState:g,ctx:v,inheritAttrs:w}=e,x=is(e);let R,O;try{if(n.shapeFlag&4){const j=r||s,V=j;R=ut(a.call(V,j,u,d,g,m,v)),O=l}else{const j=t;R=ut(j.length>1?j(d,{attrs:l,slots:i,emit:c}):j(d,null)),O=t.props?l:Dc(l)}}catch(j){Rn.length=0,ws(j,e,1),R=L(Kt)}let I=R;if(O&&w!==!1){const j=Object.keys(O),{shapeFlag:V}=I;j.length&&V&7&&(o&&j.some(Cr)&&(O=Fc(O,o)),I=cn(I,O,!1,!0))}return n.dirs&&(I=cn(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&Dr(I,n.transition),R=I,is(x),R}const Dc=e=>{let t;for(const n in e)(n==="class"||n==="style"||ms(n))&&((t||(t={}))[n]=e[n]);return t},Fc=(e,t)=>{const n={};for(const s in e)(!Cr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Bc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?fo(s,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Uc(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):Za(e)}const Q=Symbol.for("v-fgt"),Cs=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),Ws=Symbol.for("v-stc"),Rn=[];let Ve=null;function _(e=!1){Rn.push(Ve=e?null:[])}function zc(){Rn.pop(),Ve=Rn[Rn.length-1]||null}let $n=1;function po(e,t=!1){$n+=e,e<0&&Ve&&t&&(Ve.hasOnce=!0)}function al(e){return e.dynamicChildren=$n>0?Ve||tn:null,zc(),$n>0&&Ve&&Ve.push(e),e}function C(e,t,n,s,r,o){return al(f(e,t,n,s,r,o,!0))}function ke(e,t,n,s,r){return al(L(e,t,n,s,r,!0))}function cs(e){return e?e.__v_isVNode===!0:!1}function xn(e,t){return e.type===t.type&&e.key===t.key}const cl=({key:e})=>e??null,Yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||je(e)||K(e)?{i:qe,r:e,k:t,f:!!n}:e:null);function f(e,t=null,n=null,s=0,r=null,o=e===Q?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&cl(t),ref:t&&Yn(t),scopeId:Bi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:qe};return l?(Ur(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=_e(n)?8:16),$n>0&&!i&&Ve&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ve.push(c),c}const L=Hc;function Hc(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===fc)&&(e=Kt),cs(e)){const l=cn(e,t,!0);return n&&Ur(l,n),$n>0&&!o&&Ve&&(l.shapeFlag&6?Ve[Ve.indexOf(e)]=l:Ve.push(l)),l.patchFlag=-2,l}if(eu(e)&&(e=e.__vccOpts),t){t=qc(t);let{class:l,style:c}=t;l&&!_e(l)&&(t.class=X(l)),pe(c)&&(jr(c)&&!H(c)&&(c=Re({},c)),t.style=Bn(c))}const i=_e(e)?1:ll(e)?128:Xa(e)?64:pe(e)?4:K(e)?2:0;return f(e,t,n,s,r,i,o,!0)}function qc(e){return e?jr(e)||Ji(e)?Re({},e):e:null}function cn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?Vc(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&cl(a),ref:t&&t.ref?n&&o?H(o)?o.concat(Yn(t)):[o,Yn(t)]:Yn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Q?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Dr(u,c.clone(u)),u}function ve(e=" ",t=0){return L(Cs,null,e,t)}function ye(e="",t=!1){return t?(_(),ke(Kt,null,e)):L(Kt,null,e)}function ut(e){return e==null||typeof e=="boolean"?L(Kt):H(e)?L(Q,null,e.slice()):cs(e)?Tt(e):L(Cs,null,String(e))}function Tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function Ur(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ur(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ji(t)?t._ctx=qe:r===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:qe},n=32):(t=String(t),s&64?(n=16,t=[ve(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vc(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};us=t("__VUE_INSTANCE_SETTERS__",n=>Pe=n),dr=t("__VUE_SSR_SETTERS__",n=>jn=n)}const zn=e=>{const t=Pe;return us(e),e.scope.on(),()=>{e.scope.off(),us(t)}},ho=()=>{Pe&&Pe.scope.off(),us(null)};function ul(e){return e.vnode.shapeFlag&4}let jn=!1;function Gc(e,t=!1,n=!1){t&&dr(t);const{props:s,children:r}=e.vnode,o=ul(e);_c(e,s,o,t),Cc(e,r,n);const i=o?Jc(e,t):void 0;return t&&dr(!1),i}function Jc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pc);const{setup:s}=n;if(s){Mt();const r=e.setupContext=s.length>1?Yc(e):null,o=zn(e),i=Un(s,e,0,[e.props,r]),l=ui(i);if(Lt(),o(),(l||e.sp)&&!Cn(e)&&Ui(e),l){if(i.then(ho,ho),t)return i.then(c=>{mo(e,c,t)}).catch(c=>{ws(c,e,0)});e.asyncDep=i}else mo(e,i,t)}else fl(e,t)}function mo(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=ji(t)),fl(e,n)}let go;function fl(e,t,n){const s=e.type;if(!e.render){if(!t&&go&&!s.render){const r=s.template||Fr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=Re(Re({isCustomElement:o,delimiters:l},i),c);s.render=go(r,a)}}e.render=s.render||dt}{const r=zn(e);Mt();try{hc(e)}finally{Lt(),r()}}}const Zc={get(e,t){return Oe(e,"get",""),e[t]}};function Yc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Zc),slots:e.slots,emit:e.emit,expose:t}}function As(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ji(Ua(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in An)return An[n](e)},has(t,n){return n in t||n in An}})):e.proxy}function Xc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function eu(e){return K(e)&&"__vccOpts"in e}const Ye=(e,t)=>Ka(e,t,jn);function dl(e,t,n){const s=arguments.length;return s===2?pe(t)&&!H(t)?cs(t)?L(e,null,[t]):L(e,t):L(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&cs(n)&&(n=[n]),L(e,t,n))}const tu="3.5.13";/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let pr;const bo=typeof window<"u"&&window.trustedTypes;if(bo)try{pr=bo.createPolicy("vue",{createHTML:e=>e})}catch{}const pl=pr?e=>pr.createHTML(e):e=>e,nu="http://www.w3.org/2000/svg",su="http://www.w3.org/1998/Math/MathML",_t=typeof document<"u"?document:null,xo=_t&&_t.createElement("template"),ru={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?_t.createElementNS(nu,e):t==="mathml"?_t.createElementNS(su,e):n?_t.createElement(e,{is:n}):_t.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>_t.createTextNode(e),createComment:e=>_t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{xo.innerHTML=pl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=xo.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ou=Symbol("_vtc");function iu(e,t,n){const s=e[ou];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const yo=Symbol("_vod"),lu=Symbol("_vsh"),au=Symbol(""),cu=/(^|;)\s*display\s*:/;function uu(e,t,n){const s=e.style,r=_e(n);let o=!1;if(n&&!r){if(t)if(_e(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Xn(s,l,"")}else for(const i in t)n[i]==null&&Xn(s,i,"");for(const i in n)i==="display"&&(o=!0),Xn(s,i,n[i])}else if(r){if(t!==n){const i=s[au];i&&(n+=";"+i),s.cssText=n,o=cu.test(n)}}else t&&e.removeAttribute("style");yo in e&&(e[yo]=o?s.display:"",e[lu]&&(s.display="none"))}const vo=/\s*!important$/;function Xn(e,t,n){if(H(n))n.forEach(s=>Xn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=fu(e,t);vo.test(n)?e.setProperty(jt(s),n.replace(vo,""),"important"):e[s]=n}}const _o=["Webkit","Moz","ms"],Qs={};function fu(e,t){const n=Qs[t];if(n)return n;let s=Ge(t);if(s!=="filter"&&s in e)return Qs[t]=s;s=xs(s);for(let r=0;r<_o.length;r++){const o=_o[r]+s;if(o in e)return Qs[t]=o}return t}const wo="http://www.w3.org/1999/xlink";function Eo(e,t,n,s,r,o=xa(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(wo,t.slice(6,t.length)):e.setAttributeNS(wo,t,n):n==null||o&&!hi(n)?e.removeAttribute(t):e.setAttribute(t,o?"":pt(n)?String(n):n)}function So(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?pl(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=hi(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function Ut(e,t,n,s){e.addEventListener(t,n,s)}function du(e,t,n,s){e.removeEventListener(t,n,s)}const Co=Symbol("_vei");function pu(e,t,n,s,r=null){const o=e[Co]||(e[Co]={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=hu(t);if(s){const a=o[t]=bu(s,r);Ut(e,l,a,c)}else i&&(du(e,l,i,c),o[t]=void 0)}}const Ao=/(?:Once|Passive|Capture)$/;function hu(e){let t;if(Ao.test(e)){t={};let s;for(;s=e.match(Ao);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):jt(e.slice(2)),t]}let Gs=0;const mu=Promise.resolve(),gu=()=>Gs||(mu.then(()=>Gs=0),Gs=Date.now());function bu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ht(xu(s,n.value),t,5,[s])};return n.value=e,n.attached=gu(),n}function xu(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Ro=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,yu=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?iu(e,s,i):t==="style"?uu(e,n,s):ms(t)?Cr(t)||pu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vu(e,t,s,i))?(So(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Eo(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!_e(s))?So(e,Ge(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Eo(e,t,s,i))};function vu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ro(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Ro(t)&&_e(n)?!1:t in e}const fs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>Jn(t,n):t};function _u(e){e.target.composing=!0}function ko(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const an=Symbol("_assign"),ft={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[an]=fs(r);const o=s||r.props&&r.props.type==="number";Ut(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=ss(l)),e[an](l)}),n&&Ut(e,"change",()=>{e.value=e.value.trim()}),t||(Ut(e,"compositionstart",_u),Ut(e,"compositionend",ko),Ut(e,"change",ko))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[an]=fs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?ss(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},It={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=gs(t);Ut(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ss(ds(i)):ds(i));e[an](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Mr(()=>{e._assigning=!1})}),e[an]=fs(s)},mounted(e,{value:t}){To(e,t)},beforeUpdate(e,t,n){e[an]=fs(n)},updated(e,{value:t}){e._assigning||To(e,t)}};function To(e,t){const n=e.multiple,s=H(t);if(!(n&&!s&&!gs(t))){for(let r=0,o=e.options.length;rString(a)===String(l)):i.selected=va(t,l)>-1}else i.selected=t.has(l);else if(vs(ds(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ds(e){return"_value"in e?e._value:e.value}const wu=["ctrl","shift","alt","meta"],Eu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>wu.some(n=>e[`${n}Key`]&&!t.includes(n))},Oo=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=jt(r.key);if(t.some(i=>i===o||Su[i]===o))return e(r)})},Au=Re({patchProp:yu},ru);let Io;function Ru(){return Io||(Io=Rc(Au))}const ku=(...e)=>{const t=Ru().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ou(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Tu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Tu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ou(e){return _e(e)?document.querySelector(e):e}/*! + * vue-router v4.4.5 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const en=typeof document<"u";function hl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Iu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&hl(e.default)}const ie=Object.assign;function Js(e,t){const n={};for(const s in t){const r=t[s];n[s]=tt(r)?r.map(e):e(r)}return n}const kn=()=>{},tt=Array.isArray,ml=/#/g,Pu=/&/g,$u=/\//g,ju=/=/g,Mu=/\?/g,gl=/\+/g,Lu=/%5B/g,Du=/%5D/g,bl=/%5E/g,Fu=/%60/g,xl=/%7B/g,Bu=/%7C/g,yl=/%7D/g,Nu=/%20/g;function zr(e){return encodeURI(""+e).replace(Bu,"|").replace(Lu,"[").replace(Du,"]")}function Uu(e){return zr(e).replace(xl,"{").replace(yl,"}").replace(bl,"^")}function hr(e){return zr(e).replace(gl,"%2B").replace(Nu,"+").replace(ml,"%23").replace(Pu,"%26").replace(Fu,"`").replace(xl,"{").replace(yl,"}").replace(bl,"^")}function zu(e){return hr(e).replace(ju,"%3D")}function Hu(e){return zr(e).replace(ml,"%23").replace(Mu,"%3F")}function qu(e){return e==null?"":Hu(e).replace($u,"%2F")}function Mn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Vu=/\/$/,Ku=e=>e.replace(Vu,"");function Zs(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Ju(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Mn(i)}}function Wu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Po(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Qu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&un(t.matched[s],n.matched[r])&&vl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function un(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Gu(e[n],t[n]))return!1;return!0}function Gu(e,t){return tt(e)?$o(e,t):tt(t)?$o(t,e):e===t}function $o(e,t){return tt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ju(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Rt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ln;(function(e){e.pop="pop",e.push="push"})(Ln||(Ln={}));var Tn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tn||(Tn={}));function Zu(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ku(e)}const Yu=/^[^#]+#/;function Xu(e,t){return e.replace(Yu,"#")+t}function ef(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Rs=()=>({left:window.scrollX,top:window.scrollY});function tf(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=ef(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function jo(e,t){return(history.state?history.state.position-t:-1)+e}const mr=new Map;function nf(e,t){mr.set(e,t)}function sf(e){const t=mr.get(e);return mr.delete(e),t}let rf=()=>location.protocol+"//"+location.host;function _l(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Po(c,"")}return Po(n,e)+s+r}function of(e,t,n,s){let r=[],o=[],i=null;const l=({state:m})=>{const g=_l(e,location),v=n.value,w=t.value;let x=0;if(m){if(n.value=g,t.value=m,i&&i===v){i=null;return}x=w?m.position-w.position:0}else s(g);r.forEach(R=>{R(n.value,v,{delta:x,type:Ln.pop,direction:x?x>0?Tn.forward:Tn.back:Tn.unknown})})};function c(){i=n.value}function a(m){r.push(m);const g=()=>{const v=r.indexOf(m);v>-1&&r.splice(v,1)};return o.push(g),g}function u(){const{history:m}=window;m.state&&m.replaceState(ie({},m.state,{scroll:Rs()}),"")}function d(){for(const m of o)m();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:a,destroy:d}}function Mo(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Rs():null}}function lf(e){const{history:t,location:n}=window,s={value:_l(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,u){const d=e.indexOf("#"),m=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:rf()+e+c;try{t[u?"replaceState":"pushState"](a,"",m),r.value=a}catch(g){console.error(g),n[u?"replace":"assign"](m)}}function i(c,a){const u=ie({},t.state,Mo(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,u,!0),s.value=c}function l(c,a){const u=ie({},r.value,t.state,{forward:c,scroll:Rs()});o(u.current,u,!0);const d=ie({},Mo(s.value,c,null),{position:u.position+1},a);o(c,d,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function af(e){e=Zu(e);const t=lf(e),n=of(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ie({location:"",base:e,go:s,createHref:Xu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function cf(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),af(e)}function uf(e){return typeof e=="string"||e&&typeof e=="object"}function wl(e){return typeof e=="string"||typeof e=="symbol"}const El=Symbol("");var Lo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Lo||(Lo={}));function fn(e,t){return ie(new Error,{type:e,[El]:!0},t)}function vt(e,t){return e instanceof Error&&El in e&&(t==null||!!(e.type&t))}const Do="[^/]+?",ff={sensitive:!1,strict:!1,start:!0,end:!0},df=/[.+*?^${}()[\]/\\]/g;function pf(e,t){const n=ie({},ff,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function Sl(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const mf={type:0,value:""},gf=/[a-zA-Z0-9_]/;function bf(e){if(!e)return[[]];if(e==="/")return[[mf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",u="";function d(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function m(){a+=c}for(;l{i(I)}:kn}function i(d){if(wl(d)){const m=s.get(d);m&&(s.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function c(d){const m=wf(d,n);n.splice(m,0,d),d.record.name&&!Uo(d)&&s.set(d.record.name,d)}function a(d,m){let g,v={},w,x;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw fn(1,{location:d});x=g.record.name,v=ie(Bo(m.params,g.keys.filter(I=>!I.optional).concat(g.parent?g.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),d.params&&Bo(d.params,g.keys.map(I=>I.name))),w=g.stringify(v)}else if(d.path!=null)w=d.path,g=n.find(I=>I.re.test(w)),g&&(v=g.parse(w),x=g.record.name);else{if(g=m.name?s.get(m.name):n.find(I=>I.re.test(m.path)),!g)throw fn(1,{location:d,currentLocation:m});x=g.record.name,v=ie({},m.params,d.params),w=g.stringify(v)}const R=[];let O=g;for(;O;)R.unshift(O.record),O=O.parent;return{name:x,path:w,params:v,matched:R,meta:_f(R)}}e.forEach(d=>o(d));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Bo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function No(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:vf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function vf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Uo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function _f(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function zo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function wf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Sl(e,t[o])<0?s=o:n=o+1}const r=Ef(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Ef(e){let t=e;for(;t=t.parent;)if(Cl(t)&&Sl(e,t)===0)return t}function Cl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Sf(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&hr(o)):[s&&hr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Cf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=tt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Af=Symbol(""),qo=Symbol(""),ks=Symbol(""),Hr=Symbol(""),gr=Symbol("");function yn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=m=>{m===!1?c(fn(4,{from:n,to:t})):m instanceof Error?c(m):uf(m)?c(fn(2,{from:t,to:m})):(i&&s.enterCallbacks[r]===i&&typeof m=="function"&&i.push(m),l())},u=o(()=>e.call(s&&s.instances[r],t,n,a));let d=Promise.resolve(u);e.length<3&&(d=d.then(a)),d.catch(m=>c(m))})}function Ys(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(hl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Ot(u,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=Iu(u)?u.default:u;i.mods[l]=u,i.components[l]=d;const g=(d.__vccOpts||d)[t];return g&&Ot(g,n,s,i,l,r)()}))}}return o}function Vo(e){const t=et(ks),n=et(Hr),s=Ye(()=>{const c=Ee(e.to);return t.resolve(c)}),r=Ye(()=>{const{matched:c}=s.value,{length:a}=c,u=c[a-1],d=n.matched;if(!u||!d.length)return-1;const m=d.findIndex(un.bind(null,u));if(m>-1)return m;const g=Ko(c[a-2]);return a>1&&Ko(u)===g&&d[d.length-1].path!==g?d.findIndex(un.bind(null,c[a-2])):m}),o=Ye(()=>r.value>-1&&Of(n.params,s.value.params)),i=Ye(()=>r.value>-1&&r.value===n.matched.length-1&&vl(n.params,s.value.params));function l(c={}){return Tf(c)?t[Ee(e.replace)?"replace":"push"](Ee(e.to)).catch(kn):Promise.resolve()}return{route:s,href:Ye(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const Rf=Ni({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Vo,setup(e,{slots:t}){const n=Nn(Vo(e)),{options:s}=et(ks),r=Ye(()=>({[Wo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Wo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:dl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),kf=Rf;function Tf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Of(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!tt(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Ko(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Wo=(e,t,n)=>e??t??n,If=Ni({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=et(gr),r=Ye(()=>e.route||s.value),o=et(qo,0),i=Ye(()=>{let a=Ee(o);const{matched:u}=r.value;let d;for(;(d=u[a])&&!d.components;)a++;return a}),l=Ye(()=>r.value.matched[i.value]);Zn(qo,Ye(()=>i.value+1)),Zn(Af,l),Zn(gr,r);const c=J();return ln(()=>[c.value,l.value,e.name],([a,u,d],[m,g,v])=>{u&&(u.instances[d]=a,g&&g!==u&&a&&a===m&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),a&&u&&(!g||!un(u,g)||!m)&&(u.enterCallbacks[d]||[]).forEach(w=>w(a))},{flush:"post"}),()=>{const a=r.value,u=e.name,d=l.value,m=d&&d.components[u];if(!m)return Qo(n.default,{Component:m,route:a});const g=d.props[u],v=g?g===!0?a.params:typeof g=="function"?g(a):g:null,x=dl(m,ie({},v,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(d.instances[u]=null)},ref:c}));return Qo(n.default,{Component:x,route:a})||x}}});function Qo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Al=If;function Pf(e){const t=yf(e.routes,e),n=e.parseQuery||Sf,s=e.stringifyQuery||Ho,r=e.history,o=yn(),i=yn(),l=yn(),c=za(Rt);let a=Rt;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Js.bind(null,S=>""+S),d=Js.bind(null,qu),m=Js.bind(null,Mn);function g(S,B){let D,N;return wl(S)?(D=t.getRecordMatcher(S),N=B):N=S,t.addRoute(N,D)}function v(S){const B=t.getRecordMatcher(S);B&&t.removeRoute(B)}function w(){return t.getRoutes().map(S=>S.record)}function x(S){return!!t.getRecordMatcher(S)}function R(S,B){if(B=ie({},B||c.value),typeof S=="string"){const h=Zs(n,S,B.path),b=t.resolve({path:h.path},B),A=r.createHref(h.fullPath);return ie(h,b,{params:m(b.params),hash:Mn(h.hash),redirectedFrom:void 0,href:A})}let D;if(S.path!=null)D=ie({},S,{path:Zs(n,S.path,B.path).path});else{const h=ie({},S.params);for(const b in h)h[b]==null&&delete h[b];D=ie({},S,{params:d(h)}),B.params=d(B.params)}const N=t.resolve(D,B),re=S.hash||"";N.params=u(m(N.params));const be=Wu(s,ie({},S,{hash:Uu(re),path:N.path})),p=r.createHref(be);return ie({fullPath:be,hash:re,query:s===Ho?Cf(S.query):S.query||{}},N,{redirectedFrom:void 0,href:p})}function O(S){return typeof S=="string"?Zs(n,S,c.value.path):ie({},S)}function I(S,B){if(a!==S)return fn(8,{from:B,to:S})}function j(S){return Z(S)}function V(S){return j(ie(O(S),{replace:!0}))}function ee(S){const B=S.matched[S.matched.length-1];if(B&&B.redirect){const{redirect:D}=B;let N=typeof D=="function"?D(S):D;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=O(N):{path:N},N.params={}),ie({query:S.query,hash:S.hash,params:N.path!=null?{}:S.params},N)}}function Z(S,B){const D=a=R(S),N=c.value,re=S.state,be=S.force,p=S.replace===!0,h=ee(D);if(h)return Z(ie(O(h),{state:typeof h=="object"?ie({},re,h.state):re,force:be,replace:p}),B||D);const b=D;b.redirectedFrom=B;let A;return!be&&Qu(s,N,D)&&(A=fn(16,{to:b,from:N}),ot(N,N,!0,!1)),(A?Promise.resolve(A):st(b,N)).catch(E=>vt(E)?vt(E,2)?E:At(E):te(E,b,N)).then(E=>{if(E){if(vt(E,2))return Z(ie({replace:p},O(E.to),{state:typeof E.to=="object"?ie({},re,E.to.state):re,force:be}),B||b)}else E=Dt(b,N,!0,p,re);return Ct(b,N,E),E})}function we(S,B){const D=I(S,B);return D?Promise.reject(D):Promise.resolve()}function Je(S){const B=Zt.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(S):S()}function st(S,B){let D;const[N,re,be]=$f(S,B);D=Ys(N.reverse(),"beforeRouteLeave",S,B);for(const h of N)h.leaveGuards.forEach(b=>{D.push(Ot(b,S,B))});const p=we.bind(null,S,B);return D.push(p),We(D).then(()=>{D=[];for(const h of o.list())D.push(Ot(h,S,B));return D.push(p),We(D)}).then(()=>{D=Ys(re,"beforeRouteUpdate",S,B);for(const h of re)h.updateGuards.forEach(b=>{D.push(Ot(b,S,B))});return D.push(p),We(D)}).then(()=>{D=[];for(const h of be)if(h.beforeEnter)if(tt(h.beforeEnter))for(const b of h.beforeEnter)D.push(Ot(b,S,B));else D.push(Ot(h.beforeEnter,S,B));return D.push(p),We(D)}).then(()=>(S.matched.forEach(h=>h.enterCallbacks={}),D=Ys(be,"beforeRouteEnter",S,B,Je),D.push(p),We(D))).then(()=>{D=[];for(const h of i.list())D.push(Ot(h,S,B));return D.push(p),We(D)}).catch(h=>vt(h,8)?h:Promise.reject(h))}function Ct(S,B,D){l.list().forEach(N=>Je(()=>N(S,B,D)))}function Dt(S,B,D,N,re){const be=I(S,B);if(be)return be;const p=B===Rt,h=en?history.state:{};D&&(N||p?r.replace(S.fullPath,ie({scroll:p&&h&&h.scroll},re)):r.push(S.fullPath,re)),c.value=S,ot(S,B,D,p),At()}let rt;function mn(){rt||(rt=r.listen((S,B,D)=>{if(!Kn.listening)return;const N=R(S),re=ee(N);if(re){Z(ie(re,{replace:!0}),N).catch(kn);return}a=N;const be=c.value;en&&nf(jo(be.fullPath,D.delta),Rs()),st(N,be).catch(p=>vt(p,12)?p:vt(p,2)?(Z(p.to,N).then(h=>{vt(h,20)&&!D.delta&&D.type===Ln.pop&&r.go(-1,!1)}).catch(kn),Promise.reject()):(D.delta&&r.go(-D.delta,!1),te(p,N,be))).then(p=>{p=p||Dt(N,be,!1),p&&(D.delta&&!vt(p,8)?r.go(-D.delta,!1):D.type===Ln.pop&&vt(p,20)&&r.go(-1,!1)),Ct(N,be,p)}).catch(kn)}))}let Gt=yn(),Ce=yn(),ae;function te(S,B,D){At(S);const N=Ce.list();return N.length?N.forEach(re=>re(S,B,D)):console.error(S),Promise.reject(S)}function xt(){return ae&&c.value!==Rt?Promise.resolve():new Promise((S,B)=>{Gt.add([S,B])})}function At(S){return ae||(ae=!S,mn(),Gt.list().forEach(([B,D])=>S?D(S):B()),Gt.reset()),S}function ot(S,B,D,N){const{scrollBehavior:re}=e;if(!en||!re)return Promise.resolve();const be=!D&&sf(jo(S.fullPath,0))||(N||!D)&&history.state&&history.state.scroll||null;return Mr().then(()=>re(S,B,be)).then(p=>p&&tf(p)).catch(p=>te(p,S,B))}const De=S=>r.go(S);let Jt;const Zt=new Set,Kn={currentRoute:c,listening:!0,addRoute:g,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:w,resolve:R,options:e,push:j,replace:V,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Ce.add,isReady:xt,install(S){const B=this;S.component("RouterLink",kf),S.component("RouterView",Al),S.config.globalProperties.$router=B,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>Ee(c)}),en&&!Jt&&c.value===Rt&&(Jt=!0,j(r.location).catch(re=>{}));const D={};for(const re in Rt)Object.defineProperty(D,re,{get:()=>c.value[re],enumerable:!0});S.provide(ks,B),S.provide(Hr,Ii(D)),S.provide(gr,c);const N=S.unmount;Zt.add(S),S.unmount=function(){Zt.delete(S),Zt.size<1&&(a=Rt,rt&&rt(),rt=null,c.value=Rt,Jt=!1,ae=!1),N()}}};function We(S){return S.reduce((B,D)=>B.then(()=>Je(D)),Promise.resolve())}return Kn}function $f(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iun(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>un(a,c))||r.push(c))}return[n,s,r]}function Ts(){return et(ks)}function qr(e){return et(Hr)}const jf={__name:"App",setup(e){return(t,n)=>(_(),ke(Ee(Al)))}},Mf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2023%2023'%3e%3cpath%20fill='%23f3f3f3'%20d='M0%200h23v23H0z'/%3e%3cpath%20fill='%23f35325'%20d='M1%201h10v10H1z'/%3e%3cpath%20fill='%2381bc06'%20d='M12%201h10v10H12z'/%3e%3cpath%20fill='%2305a6f0'%20d='M1%2012h10v10H1z'/%3e%3cpath%20fill='%23ffba08'%20d='M12%2012h10v10H12z'/%3e%3c/svg%3e",Se=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Lf={props:{customClass:{type:String},sizeClass:{type:String,default:"text-5xl"}}},Df={class:"flex space-x-1"};function Ff(e,t,n,s,r,o){return _(),C("div",Df,[f("h1",{class:X([n.customClass||"text-light"])},[f("span",{class:X(["italic",n.sizeClass])},"Achei",2)],2),f("h1",{class:X([n.customClass||"text-light"])},[f("span",{class:X(["font-bold",n.sizeClass])},"UnB",2)],2)])}const mt=Se(Lf,[["render",Ff]]),Bf={id:"transition-screen",class:"fixed inset-0 flex items-center justify-center z-50"},Nf={class:"fixed inset-0 flex items-center justify-center z-50"},Uf={id:"main-content",class:"telaInteira bg-azul text-white p-4 min-h-screen hidden"},zf={class:"titulo flex space-x-1 mt-20 mb-20 ml-8 md:flex md:justify-center md:mb-52"},Hf={__name:"Login",setup(e){window.addEventListener("load",()=>{const n=document.getElementById("transition-screen"),s=document.getElementById("main-content");setTimeout(()=>{n.classList.add("fade-out")},500),n.addEventListener("animationend",()=>{n.classList.add("hidden"),s.classList.remove("hidden"),s.classList.add("fade-in")})});function t(){window.location.href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=f1b79927-10ff-4601-a361-f9cab58fb250&scope=User.Read&response_type=code&state=Zay5NfY4tSn7JgvO&domain=alunos.unb.br"}return(n,s)=>(_(),C(Q,null,[f("div",Bf,[f("div",Nf,[L(mt,{customClass:"text-azul"})])]),f("div",Uf,[f("div",zf,[L(mt)]),s[1]||(s[1]=f("div",{class:"slogan max-w-72 ml-8 md:mr-8 md:max-w-none md:w-auto md:text-center"},[f("p",{class:"text-5xl font-bold mb-4 md:text-6xl"},"Perdeu algo no campus?"),f("p",{class:"text-5xl italic font-light mb-4 md:text-6xl"},"A gente te ajuda!")],-1)),f("div",{class:"flex justify-center mt-52"},[f("button",{onClick:t,class:"flex items-center rounded-full bg-gray-50 px-5 py-3 text-md font-medium text-azul ring-1 ring-inset ring-gray-500/10"},s[0]||(s[0]=[f("img",{src:Mf,alt:"Logo Microsoft",class:"h-6 w-auto mr-2"},null,-1),ve(" Entre com a conta da Microsoft ")]))])])],64))}},qf=Se(Hf,[["__scopeId","data-v-cdb7a9e0"]]),Vf={name:"AboutHeader",props:{text:String}},Kf={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-center text-white p-6"},Wf={class:"font-inter font-semibold text-2xl"};function Qf(e,t,n,s,r,o){return _(),C("div",Kf,[f("div",null,[f("span",Wf,G(n.text?n.text:"Sobre o projeto"),1)])])}const Gf=Se(Vf,[["render",Qf]]),Jf={name:"MainMenu",props:{activeIcon:String}},Zf={class:"h-full bg-azul shadow-md rounded-t-xl flex items-center justify-center text-white gap-x-9 p-8"};function Yf(e,t,n,s,r,o){const i=he("router-link");return _(),C("div",Zf,[L(i,{to:"/found",class:"no-underline"},{default:ge(()=>[(_(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="search"}])},t[0]||(t[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"},null,-1)]),2))]),_:1}),L(i,{to:"/user",class:"no-underline"},{default:ge(()=>[(_(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="user"}])},t[1]||(t[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"},null,-1)]),2))]),_:1}),L(i,{to:"/about",class:"no-underline"},{default:ge(()=>[(_(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="info"}])},t[2]||(t[2]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"},null,-1)]),2))]),_:1}),L(i,{to:"/chats",class:"no-underline"},{default:ge(()=>[(_(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:X(["size-6 hover:text-laranja hover:cursor-pointer",{"text-laranja":n.activeIcon=="chat"}])},t[3]||(t[3]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"},null,-1)]),2))]),_:1})])}const bt=Se(Jf,[["render",Yf]]),Rl="/static/dist/assets/Favicon-DZaE_dAz.png",Xf={class:"relative min-h-screen"},ed={class:"fixed w-full top-0",style:{"z-index":"1"}},td={class:"pt-[120px] flex justify-center my-6 text-azul"},nd={class:"max-w-4xl mx-auto mt-10 p-5 pb-[140px]"},sd={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"},rd=["href"],od=["src","alt"],id={class:"text-center mt-2"},ld={class:"font-inter font-medium"},ad={class:"fixed bottom-0 w-full"},cd={__name:"About",setup(e){const t=J(Rl),n=[{name:"Ana Elisa Ramos",github:"https://github.com/anaelisaramos",image:"https://github.com/anaelisaramos.png"},{name:"Davi Camilo",github:"https://github.com/DaviCamilo23",image:"https://github.com/DaviCamilo23.png"},{name:"Euller Júlio da Silva",github:"https://github.com/potatoyz908",image:"https://github.com/potatoyz908.png"},{name:"Leonardo Ramiro",github:"https://github.com/leoramiroo",image:"https://github.com/leoramiroo.png"},{name:"Pedro Everton",github:"https://github.com/pedroeverton217",image:"https://github.com/pedroeverton217.png"},{name:"Pedro Martins Silva",github:"https://github.com/314dro",image:"https://github.com/314dro.png"},{name:"Tiago Balieiro",github:"https://github.com/TiagoBalieiro",image:"https://github.com/TiagoBalieiro.png"}];return(s,r)=>{const o=he("ButtonAdd");return _(),C("div",Xf,[f("div",{class:"absolute inset-0 bg-no-repeat bg-cover bg-center opacity-10 z-[-1]",style:Bn({backgroundImage:`url(${t.value})`,backgroundSize:s.isLargeScreen?"50%":"contain",backgroundAttachment:"fixed"})},null,4),f("div",ed,[L(Gf)]),f("div",td,[L(mt)]),r[2]||(r[2]=f("span",{class:"font-inter text-azul text-center flex justify-center items-center mx-auto max-w-3xl sm:px-0 px-4 md:max-w-2xl mt-7"},[ve(" Somos um grupo da disciplina Métodos de Desenvolvimento de Software da Universidade de Brasília."),f("br"),ve(" Temos como objetivo solucionar um dos problemas da faculdade, que é a falta de ferramentas para organizar itens achados e perdidos pelos estudantes."),f("br"),ve(" Com o AcheiUnB você consegue de forma simples e intuitiva procurar pelo seu item perdido ou cadastrar um item que você encontrou. ")],-1)),r[3]||(r[3]=f("div",{class:"flex justify-center mt-6"},[f("a",{href:"https://unb-mds.github.io/2024-2-AcheiUnB/CONTRIBUTING/",target:"_blank",class:"bg-laranja text-white font-semibold px-8 py-3 text-lg lg:text-xl rounded-full hover:bg-azulEscuro transition hover:text-white duration-300 shadow-md hover:scale-110 transition-transform"}," Como Contribuir? ")],-1)),f("div",nd,[r[1]||(r[1]=f("div",{class:"text-azul text-lg text-center font-semibold mb-7"},"Criado por:",-1)),f("div",sd,[(_(),C(Q,null,xe(n,i=>f("div",{key:i.name,class:"flex flex-col items-center"},[f("a",{href:i.github,target:"_blank"},[f("img",{src:i.image,alt:i.name,class:"w-[100px] rounded-full hover:scale-110 transition-transform"},null,8,od)],8,rd),f("div",id,[f("p",ld,G(i.name),1),r[0]||(r[0]=f("p",{class:"text-sm text-cinza3"},"Engenharia de Software",-1))])])),64))])]),L(o),f("div",ad,[L(bt,{activeIcon:"info"})])])}}},Vr="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%238899a8'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m14.74%209-.346%209m-4.788%200L9.26%209m9.968-3.21c.342.052.682.107%201.022.166m-1.022-.165L18.16%2019.673a2.25%202.25%200%200%201-2.244%202.077H8.084a2.25%202.25%200%200%201-2.244-2.077L4.772%205.79m14.456%200a48.108%2048.108%200%200%200-3.478-.397m-12%20.562c.34-.059.68-.114%201.022-.165m0%200a48.11%2048.11%200%200%201%203.478-.397m7.5%200v-.916c0-1.18-.91-2.164-2.09-2.201a51.964%2051.964%200%200%200-3.32%200c-1.18.037-2.09%201.022-2.09%202.201v.916m7.5%200a48.667%2048.667%200%200%200-7.5%200'%20/%3e%3c/svg%3e",ud="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23133E78'%20%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M15%2010.5a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z'%20/%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%2010.5c0%207.142-7.5%2011.25-7.5%2011.25S4.5%2017.642%204.5%2010.5a7.5%207.5%200%201%201%2015%200Z'%20/%3e%3c/svg%3e",fd={class:"w-full h-[120px] bg-cinza2 rounded-sm flex justify-center items-start"},dd=["src"],pd={key:1,class:"fixed inset-0 flex items-center justify-center"},hd={class:"flex flex-col sm:flex-row justify-center mt-4 gap-4"},md={class:"text-azul font-bold font-inter mt-1 truncate"},gd={class:"flex items-start"},bd={class:"text-azul font-inter text-sm"},xd={class:"text-right font-inter font-bold text-xs text-cinza3 p-1 flex justify-end items-center"},Os={__name:"Item-Card",props:{id:Number,image:String,name:String,time:String,location:String,isMyItem:{type:Boolean,default:!1}},emits:["delete"],setup(e,{emit:t}){const n=e,s=t,r=Ts(),o=J(!1),i=()=>{o.value||r.push({name:"ListItem",query:{idItem:n.id}})},l=()=>{s("delete",n.id),o.value=!1};return(c,a)=>(_(),C("div",{class:"w-[170px] sm:w-[190px] h-[230px] bg-cinza1 rounded-sm shadow-complete p-2 flex flex-col relative z-0",onClick:a[3]||(a[3]=u=>i())},[f("div",fd,[f("img",{src:e.image,class:"rounded-sm w-full h-full max-w-full max-h-full object-cover"},null,8,dd)]),e.isMyItem?(_(),C("button",{key:0,class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-7 h-7 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:a[0]||(a[0]=Oo(u=>o.value=!0,["stop"]))},a[4]||(a[4]=[f("img",{src:Vr,alt:"Excluir"},null,-1)]))):ye("",!0),o.value?(_(),C("div",pd,[f("div",{class:"bg-azul p-6 rounded-lg shadow-lg w-full max-w-sm sm:max-w-md lg:max-w-lg text-center",onClick:a[2]||(a[2]=Oo(()=>{},["stop"]))},[a[5]||(a[5]=f("p",{class:"text-white font-inter text-lg"}," Você realmente deseja excluir este item do AcheiUnB? ",-1)),f("div",hd,[f("button",{class:"bg-red-500 text-white font-inter px-4 py-2 rounded-md hover:bg-red-600 transition w-full sm:w-auto",onClick:l}," Excluir "),f("button",{class:"bg-white font-inter px-4 py-2 rounded-md hover:bg-gray-200 transition w-full sm:w-auto",onClick:a[1]||(a[1]=u=>o.value=!1)}," Cancelar ")])])])):ye("",!0),a[7]||(a[7]=f("div",{class:"h-[2px] w-1/4 bg-laranja mt-4"},null,-1)),f("div",md,G(e.name),1),f("div",gd,[a[6]||(a[6]=f("img",{src:ud,alt:"",class:"w-[15px] h-[15px] mr-1"},null,-1)),f("div",bd,G(e.location),1)]),f("span",xd,[e.isMyItem?ye("",!0):(_(),C(Q,{key:0},[ve(G(e.time),1)],64))])]))}},kl="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23133E78'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",yd={props:{customClass:{name:"ButtonAdd",type:String}}};function vd(e,t,n,s,r,o){const i=he("router-link");return _(),ke(i,{to:"/register-lost"},{default:ge(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item perdido"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:kl,alt:""})])],-1)])),_:1})}const _d=Se(yd,[["render",vd]]),ce=Nn({searchQuery:"",activeCategory:null,activeLocation:null}),wd=e=>{ce.searchQuery=e},Ed=e=>{ce.activeCategory==e?ce.activeCategory=null:ce.activeCategory=e},Sd=e=>{ce.activeLocation==e?ce.activeLocation=null:ce.activeLocation=e},Cd={name:"SearchBar",setup(){return{filtersState:ce,setSearchQuery:wd,setActiveCategory:Ed,setActiveLocation:Sd}},data(){return{showFilters:!1,isActive:!1,categories:[{label:"Animais",active:!1},{label:"Eletrônicos",active:!1},{label:"Mochilas e Bolsas",active:!1},{label:"Chaves",active:!1},{label:"Livros e Materiais Acadêmicos",active:!1},{label:"Documentos e Cartões",active:!1},{label:"Equipamentos Esportivos",active:!1},{label:"Roupas e Acessórios",active:!1},{label:"Itens Pessoais",active:!1},{label:"Outros",active:!1}],locations:[{label:"RU",active:!1},{label:"Biblioteca",active:!1},{label:"UED",active:!1},{label:"UAC",active:!1},{label:"LTDEA",active:!1},{label:"Centro Acadêmico",active:!1}]}},computed:{isMediumOrLarger(){return window.innerWidth>=768},searchQueryWithoutAccents(){return this.searchQuery?this.searchQuery.normalize("NFD").replace(/[\u0300-\u036f]/g,""):""}},methods:{toggleActive(){this.isActive=!this.isActive},toggleFilters(){this.showFilters=!this.showFilters},toggleFilter(e,t){e==="category"?this.categories.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1}):e==="location"&&this.locations.forEach((n,s)=>{s===t?n.active=!n.active:n.active=!1})}}},Ad={class:"flex gap-2 flex-wrap mt-4"},Rd=["onClick"],kd={class:"flex gap-2 flex-wrap mt-4"},Td=["onClick"];function Od(e,t,n,s,r,o){return _(),C("form",{class:X(["absolute flex items-center",{"fixed w-full top-6 pr-8 z-50":r.isActive&&!o.isMediumOrLarger,"relative w-auto":!r.isActive||o.isMediumOrLarger}])},[f("button",{onClick:t[0]||(t[0]=i=>{o.toggleFilters(),o.toggleActive()}),class:"absolute left-3 text-gray-500 hover:text-gray-700 transition-colors z-50",type:"button"},t[5]||(t[5]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})],-1)])),Ae(f("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>s.filtersState.searchQuery=i),class:"input bg-gray-200 rounded-full px-10 py-2 my-1 border-2 border-transparent focus:outline-none focus:border-laranja placeholder-gray-500 text-gray-700 transition-all duration-300 shadow-md pr-10 w-full z-40",placeholder:"Pesquise seu item",type:"text",onInput:t[2]||(t[2]=i=>s.setSearchQuery(s.filtersState.searchQuery)),onFocus:t[3]||(t[3]=i=>r.isActive=!0),onBlur:t[4]||(t[4]=i=>{r.isActive=!1,r.showFilters=!1})},null,544),[[ft,s.filtersState.searchQuery]]),f("button",{class:X(["absolute right-4 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 transition-colors duration-200 z-50",{"pr-8":r.isActive&&!o.isMediumOrLarger}]),type:"submit"},t[6]||(t[6]=[f("svg",{width:"17",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-labelledby":"search",class:"w-5 h-5"},[f("path",{d:"M7.667 12.667A5.333 5.333 0 107.667 2a5.333 5.333 0 000 10.667zM14.334 14l-2.9-2.9",stroke:"currentColor","stroke-width":"1.333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2),r.showFilters?(_(),C("div",{key:0,class:X(["absolute left-0 bg-gray-200 shadow-lg rounded-xl p-4 z-30",{"w-fit mr-8":r.isActive&&!o.isMediumOrLarger,"w-full":o.isMediumOrLarger}]),style:{top:"calc(50% - 4px)"}},[f("div",Ad,[t[7]||(t[7]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Categoria ",-1)),(_(!0),C(Q,null,xe(r.categories,(i,l)=>(_(),C("button",{key:l,onClick:c=>(o.toggleFilter("category",l),s.setActiveCategory(i.label)),class:X(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},G(i.label),11,Rd))),128))]),t[9]||(t[9]=f("div",{class:"h-[2px] w-full bg-laranja mt-4"},null,-1)),f("div",kd,[t[8]||(t[8]=f("span",{class:"w-full text-azul text-2xl font-bold"},"Local ",-1)),(_(!0),C(Q,null,xe(r.locations,(i,l)=>(_(),C("button",{key:l,onClick:c=>(o.toggleFilter("location",l),s.setActiveLocation(i.label)),class:X(["px-4 py-2 rounded-full border text-sm",i.active?"bg-laranja text-azul border-black":"bg-gray-200 text-azul border-black"])},G(i.label),11,Td))),128))])],2)):ye("",!0)],2)}const Id=Se(Cd,[["render",Od]]),Pd={name:"SearchHeader",components:{SearchBar:Id,Logo:mt}},$d={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between text-white gap-x-9 p-4"},jd={class:"flex-1"};function Md(e,t,n,s,r,o){const i=he("SearchBar"),l=he("Logo"),c=he("router-link");return _(),C("div",$d,[f("div",jd,[L(i)]),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Kr=Se(Pd,[["render",Md]]),Ld={name:"SubMenu"},Dd={class:"flex pt-8 space-x-8 justify-center"};function Fd(e,t,n,s,r,o){const i=he("router-link");return _(),C("div",Dd,[L(i,{to:"/found",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[ve(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const Bd=Se(Ld,[["render",Fd]]);function Tl(e,t){return function(){return e.apply(t,arguments)}}const{toString:Nd}=Object.prototype,{getPrototypeOf:Wr}=Object,Is=(e=>t=>{const n=Nd.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),nt=e=>(e=e.toLowerCase(),t=>Is(t)===e),Ps=e=>t=>typeof t===e,{isArray:dn}=Array,Dn=Ps("undefined");function Ud(e){return e!==null&&!Dn(e)&&e.constructor!==null&&!Dn(e.constructor)&&Ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ol=nt("ArrayBuffer");function zd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ol(e.buffer),t}const Hd=Ps("string"),Ke=Ps("function"),Il=Ps("number"),$s=e=>e!==null&&typeof e=="object",qd=e=>e===!0||e===!1,es=e=>{if(Is(e)!=="object")return!1;const t=Wr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Vd=nt("Date"),Kd=nt("File"),Wd=nt("Blob"),Qd=nt("FileList"),Gd=e=>$s(e)&&Ke(e.pipe),Jd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ke(e.append)&&((t=Is(e))==="formdata"||t==="object"&&Ke(e.toString)&&e.toString()==="[object FormData]"))},Zd=nt("URLSearchParams"),[Yd,Xd,ep,tp]=["ReadableStream","Request","Response","Headers"].map(nt),np=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Hn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),dn(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const zt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,$l=e=>!Dn(e)&&e!==zt;function br(){const{caseless:e}=$l(this)&&this||{},t={},n=(s,r)=>{const o=e&&Pl(t,r)||r;es(t[o])&&es(s)?t[o]=br(t[o],s):es(s)?t[o]=br({},s):dn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(Hn(t,(r,o)=>{n&&Ke(r)?e[o]=Tl(r,n):e[o]=r},{allOwnKeys:s}),e),rp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),op=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},ip=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Wr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},lp=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},ap=e=>{if(!e)return null;if(dn(e))return e;let t=e.length;if(!Il(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},cp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Wr(Uint8Array)),up=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},fp=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},dp=nt("HTMLFormElement"),pp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Go=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),hp=nt("RegExp"),jl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Hn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},mp=e=>{jl(e,(t,n)=>{if(Ke(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Ke(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},gp=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return dn(e)?s(e):s(String(e).split(t)),n},bp=()=>{},xp=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Xs="abcdefghijklmnopqrstuvwxyz",Jo="0123456789",Ml={DIGIT:Jo,ALPHA:Xs,ALPHA_DIGIT:Xs+Xs.toUpperCase()+Jo},yp=(e=16,t=Ml.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function vp(e){return!!(e&&Ke(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const _p=e=>{const t=new Array(10),n=(s,r)=>{if($s(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=dn(s)?[]:{};return Hn(s,(i,l)=>{const c=n(i,r+1);!Dn(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},wp=nt("AsyncFunction"),Ep=e=>e&&($s(e)||Ke(e))&&Ke(e.then)&&Ke(e.catch),Ll=((e,t)=>e?setImmediate:t?((n,s)=>(zt.addEventListener("message",({source:r,data:o})=>{r===zt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),zt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ke(zt.postMessage)),Sp=typeof queueMicrotask<"u"?queueMicrotask.bind(zt):typeof process<"u"&&process.nextTick||Ll,y={isArray:dn,isArrayBuffer:Ol,isBuffer:Ud,isFormData:Jd,isArrayBufferView:zd,isString:Hd,isNumber:Il,isBoolean:qd,isObject:$s,isPlainObject:es,isReadableStream:Yd,isRequest:Xd,isResponse:ep,isHeaders:tp,isUndefined:Dn,isDate:Vd,isFile:Kd,isBlob:Wd,isRegExp:hp,isFunction:Ke,isStream:Gd,isURLSearchParams:Zd,isTypedArray:cp,isFileList:Qd,forEach:Hn,merge:br,extend:sp,trim:np,stripBOM:rp,inherits:op,toFlatObject:ip,kindOf:Is,kindOfTest:nt,endsWith:lp,toArray:ap,forEachEntry:up,matchAll:fp,isHTMLForm:dp,hasOwnProperty:Go,hasOwnProp:Go,reduceDescriptors:jl,freezeMethods:mp,toObjectSet:gp,toCamelCase:pp,noop:bp,toFiniteNumber:xp,findKey:Pl,global:zt,isContextDefined:$l,ALPHABET:Ml,generateString:yp,isSpecCompliantForm:vp,toJSONObject:_p,isAsyncFn:wp,isThenable:Ep,setImmediate:Ll,asap:Sp};function W(e,t,n,s,r){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),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}y.inherits(W,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:y.toJSONObject(this.config),code:this.code,status:this.status}}});const Dl=W.prototype,Fl={};["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=>{Fl[e]={value:e}});Object.defineProperties(W,Fl);Object.defineProperty(Dl,"isAxiosError",{value:!0});W.from=(e,t,n,s,r,o)=>{const i=Object.create(Dl);return y.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),W.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Cp=null;function xr(e){return y.isPlainObject(e)||y.isArray(e)}function Bl(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function Zo(e,t,n){return e?e.concat(t).map(function(r,o){return r=Bl(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Ap(e){return y.isArray(e)&&!e.some(xr)}const Rp=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function js(e,t,n){if(!y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,x){return!y.isUndefined(x[w])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(t);if(!y.isFunction(r))throw new TypeError("visitor must be a function");function a(v){if(v===null)return"";if(y.isDate(v))return v.toISOString();if(!c&&y.isBlob(v))throw new W("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(v)||y.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function u(v,w,x){let R=v;if(v&&!x&&typeof v=="object"){if(y.endsWith(w,"{}"))w=s?w:w.slice(0,-2),v=JSON.stringify(v);else if(y.isArray(v)&&Ap(v)||(y.isFileList(v)||y.endsWith(w,"[]"))&&(R=y.toArray(v)))return w=Bl(w),R.forEach(function(I,j){!(y.isUndefined(I)||I===null)&&t.append(i===!0?Zo([w],j,o):i===null?w:w+"[]",a(I))}),!1}return xr(v)?!0:(t.append(Zo(x,w,o),a(v)),!1)}const d=[],m=Object.assign(Rp,{defaultVisitor:u,convertValue:a,isVisitable:xr});function g(v,w){if(!y.isUndefined(v)){if(d.indexOf(v)!==-1)throw Error("Circular reference detected in "+w.join("."));d.push(v),y.forEach(v,function(R,O){(!(y.isUndefined(R)||R===null)&&r.call(t,R,y.isString(O)?O.trim():O,w,m))===!0&&g(R,w?w.concat(O):[O])}),d.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Yo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Qr(e,t){this._pairs=[],e&&js(e,this,t)}const Nl=Qr.prototype;Nl.append=function(t,n){this._pairs.push([t,n])};Nl.toString=function(t){const n=t?function(s){return t.call(this,s,Yo)}:Yo;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function kp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ul(e,t,n){if(!t)return e;const s=n&&n.encode||kp;y.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=y.isURLSearchParams(t)?t.toString():new Qr(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Xo{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){y.forEach(this.handlers,function(s){s!==null&&t(s)})}}const zl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Tp=typeof URLSearchParams<"u"?URLSearchParams:Qr,Op=typeof FormData<"u"?FormData:null,Ip=typeof Blob<"u"?Blob:null,Pp={isBrowser:!0,classes:{URLSearchParams:Tp,FormData:Op,Blob:Ip},protocols:["http","https","file","blob","url","data"]},Gr=typeof window<"u"&&typeof document<"u",yr=typeof navigator=="object"&&navigator||void 0,$p=Gr&&(!yr||["ReactNative","NativeScript","NS"].indexOf(yr.product)<0),jp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Mp=Gr&&window.location.href||"http://localhost",Lp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Gr,hasStandardBrowserEnv:$p,hasStandardBrowserWebWorkerEnv:jp,navigator:yr,origin:Mp},Symbol.toStringTag,{value:"Module"})),$e={...Lp,...Pp};function Dp(e,t){return js(e,new $e.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return $e.isNode&&y.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Fp(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Bp(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&y.isArray(r)?r.length:i,c?(y.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!y.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&y.isArray(r[i])&&(r[i]=Bp(r[i])),!l)}if(y.isFormData(e)&&y.isFunction(e.entries)){const n={};return y.forEachEntry(e,(s,r)=>{t(Fp(s),r,n,0)}),n}return null}function Np(e,t,n){if(y.isString(e))try{return(t||JSON.parse)(e),y.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const qn={transitional:zl,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=y.isObject(t);if(o&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return r?JSON.stringify(Hl(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)||y.isReadableStream(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Dp(t,this.formSerializer).toString();if((l=y.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return js(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Np(t)):t}],transformResponse:[function(t){const n=this.transitional||qn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(y.isResponse(t)||y.isReadableStream(t))return t;if(t&&y.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?W.from(l,W.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$e.classes.FormData,Blob:$e.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],e=>{qn.headers[e]={}});const Up=y.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"]),zp=e=>{const t={};let n,s,r;return e&&e.split(` +`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Up[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},ei=Symbol("internals");function vn(e){return e&&String(e).trim().toLowerCase()}function ts(e){return e===!1||e==null?e:y.isArray(e)?e.map(ts):String(e)}function Hp(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const qp=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function er(e,t,n,s,r){if(y.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!y.isString(t)){if(y.isString(s))return t.indexOf(s)!==-1;if(y.isRegExp(s))return s.test(t)}}function Vp(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Kp(e,t){const n=y.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class Fe{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,a){const u=vn(c);if(!u)throw new Error("header name must be a non-empty string");const d=y.findKey(r,u);(!d||r[d]===void 0||a===!0||a===void 0&&r[d]!==!1)&&(r[d||c]=ts(l))}const i=(l,c)=>y.forEach(l,(a,u)=>o(a,u,c));if(y.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(y.isString(t)&&(t=t.trim())&&!qp(t))i(zp(t),n);else if(y.isHeaders(t))for(const[l,c]of t.entries())o(c,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=vn(t),t){const s=y.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Hp(r);if(y.isFunction(n))return n.call(this,r,s);if(y.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vn(t),t){const s=y.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||er(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=vn(i),i){const l=y.findKey(s,i);l&&(!n||er(s,s[l],l,n))&&(delete s[l],r=!0)}}return y.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||er(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return y.forEach(this,(r,o)=>{const i=y.findKey(s,o);if(i){n[i]=ts(r),delete n[o];return}const l=t?Vp(o):String(o).trim();l!==o&&delete n[o],n[l]=ts(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return y.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&y.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[ei]=this[ei]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=vn(i);s[l]||(Kp(r,i),s[l]=!0)}return y.isArray(t)?t.forEach(o):o(t),this}}Fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);y.reduceDescriptors(Fe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});y.freezeMethods(Fe);function tr(e,t){const n=this||qn,s=t||n,r=Fe.from(s.headers);let o=s.data;return y.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function ql(e){return!!(e&&e.__CANCEL__)}function pn(e,t,n){W.call(this,e??"canceled",W.ERR_CANCELED,t,n),this.name="CanceledError"}y.inherits(pn,W,{__CANCEL__:!0});function Vl(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Wp(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Qp(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=s[o];i||(i=a),n[r]=c,s[r]=a;let d=o,m=0;for(;d!==r;)m+=n[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),a-i{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,a)};return[(...a)=>{const u=Date.now(),d=u-n;d>=s?i(a,u):(r=a,o||(o=setTimeout(()=>{o=null,i(r)},s-d)))},()=>r&&i(r)]}const ps=(e,t,n=3)=>{let s=0;const r=Qp(50,250);return Gp(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,a=r(c),u=i<=l;s=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},ti=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},ni=e=>(...t)=>y.asap(()=>e(...t)),Jp=$e.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,$e.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL($e.origin),$e.navigator&&/(msie|trident)/i.test($e.navigator.userAgent)):()=>!0,Zp=$e.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];y.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),y.isString(s)&&i.push("path="+s),y.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Yp(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Xp(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Kl(e,t){return e&&!Yp(t)?Xp(e,t):t}const si=e=>e instanceof Fe?{...e}:e;function Wt(e,t){t=t||{};const n={};function s(a,u,d,m){return y.isPlainObject(a)&&y.isPlainObject(u)?y.merge.call({caseless:m},a,u):y.isPlainObject(u)?y.merge({},u):y.isArray(u)?u.slice():u}function r(a,u,d,m){if(y.isUndefined(u)){if(!y.isUndefined(a))return s(void 0,a,d,m)}else return s(a,u,d,m)}function o(a,u){if(!y.isUndefined(u))return s(void 0,u)}function i(a,u){if(y.isUndefined(u)){if(!y.isUndefined(a))return s(void 0,a)}else return s(void 0,u)}function l(a,u,d){if(d in t)return s(a,u);if(d in e)return s(void 0,a)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(a,u,d)=>r(si(a),si(u),d,!0)};return y.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,m=d(e[u],t[u],u);y.isUndefined(m)&&d!==l||(n[u]=m)}),n}const Wl=e=>{const t=Wt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Fe.from(i),t.url=Ul(Kl(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(y.isFormData(n)){if($e.hasStandardBrowserEnv||$e.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[a,...u]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([a||"multipart/form-data",...u].join("; "))}}if($e.hasStandardBrowserEnv&&(s&&y.isFunction(s)&&(s=s(t)),s||s!==!1&&Jp(t.url))){const a=r&&o&&Zp.read(o);a&&i.set(r,a)}return t},eh=typeof XMLHttpRequest<"u",th=eh&&function(e){return new Promise(function(n,s){const r=Wl(e);let o=r.data;const i=Fe.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:a}=r,u,d,m,g,v;function w(){g&&g(),v&&v(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let x=new XMLHttpRequest;x.open(r.method.toUpperCase(),r.url,!0),x.timeout=r.timeout;function R(){if(!x)return;const I=Fe.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),V={data:!l||l==="text"||l==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:I,config:e,request:x};Vl(function(Z){n(Z),w()},function(Z){s(Z),w()},V),x=null}"onloadend"in x?x.onloadend=R:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(R)},x.onabort=function(){x&&(s(new W("Request aborted",W.ECONNABORTED,e,x)),x=null)},x.onerror=function(){s(new W("Network Error",W.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let j=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const V=r.transitional||zl;r.timeoutErrorMessage&&(j=r.timeoutErrorMessage),s(new W(j,V.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,x)),x=null},o===void 0&&i.setContentType(null),"setRequestHeader"in x&&y.forEach(i.toJSON(),function(j,V){x.setRequestHeader(V,j)}),y.isUndefined(r.withCredentials)||(x.withCredentials=!!r.withCredentials),l&&l!=="json"&&(x.responseType=r.responseType),a&&([m,v]=ps(a,!0),x.addEventListener("progress",m)),c&&x.upload&&([d,g]=ps(c),x.upload.addEventListener("progress",d),x.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(u=I=>{x&&(s(!I||I.type?new pn(null,e,x):I),x.abort(),x=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const O=Wp(r.url);if(O&&$e.protocols.indexOf(O)===-1){s(new W("Unsupported protocol "+O+":",W.ERR_BAD_REQUEST,e));return}x.send(o||null)})},nh=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(a){if(!r){r=!0,l();const u=a instanceof Error?a:this.reason;s.abort(u instanceof W?u:new pn(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>y.asap(l),c}},sh=function*(e,t){let n=e.byteLength;if(n{const r=rh(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:a,value:u}=await r.next();if(a){l(),c.close();return}let d=u.byteLength;if(n){let m=o+=d;n(m)}c.enqueue(new Uint8Array(u))}catch(a){throw l(a),a}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},Ms=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ql=Ms&&typeof ReadableStream=="function",ih=Ms&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Gl=(e,...t)=>{try{return!!e(...t)}catch{return!1}},lh=Ql&&Gl(()=>{let e=!1;const t=new Request($e.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),oi=64*1024,vr=Ql&&Gl(()=>y.isReadableStream(new Response("").body)),hs={stream:vr&&(e=>e.body)};Ms&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!hs[t]&&(hs[t]=y.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new W(`Response type '${t}' is not supported`,W.ERR_NOT_SUPPORT,s)})})})(new Response);const ah=async e=>{if(e==null)return 0;if(y.isBlob(e))return e.size;if(y.isSpecCompliantForm(e))return(await new Request($e.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(y.isArrayBufferView(e)||y.isArrayBuffer(e))return e.byteLength;if(y.isURLSearchParams(e)&&(e=e+""),y.isString(e))return(await ih(e)).byteLength},ch=async(e,t)=>{const n=y.toFiniteNumber(e.getContentLength());return n??ah(t)},uh=Ms&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:a,headers:u,withCredentials:d="same-origin",fetchOptions:m}=Wl(e);a=a?(a+"").toLowerCase():"text";let g=nh([r,o&&o.toAbortSignal()],i),v;const w=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let x;try{if(c&&lh&&n!=="get"&&n!=="head"&&(x=await ch(u,s))!==0){let V=new Request(t,{method:"POST",body:s,duplex:"half"}),ee;if(y.isFormData(s)&&(ee=V.headers.get("content-type"))&&u.setContentType(ee),V.body){const[Z,we]=ti(x,ps(ni(c)));s=ri(V.body,oi,Z,we)}}y.isString(d)||(d=d?"include":"omit");const R="credentials"in Request.prototype;v=new Request(t,{...m,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:R?d:void 0});let O=await fetch(v);const I=vr&&(a==="stream"||a==="response");if(vr&&(l||I&&w)){const V={};["status","statusText","headers"].forEach(Je=>{V[Je]=O[Je]});const ee=y.toFiniteNumber(O.headers.get("content-length")),[Z,we]=l&&ti(ee,ps(ni(l),!0))||[];O=new Response(ri(O.body,oi,Z,()=>{we&&we(),w&&w()}),V)}a=a||"text";let j=await hs[y.findKey(hs,a)||"text"](O,e);return!I&&w&&w(),await new Promise((V,ee)=>{Vl(V,ee,{data:j,headers:Fe.from(O.headers),status:O.status,statusText:O.statusText,config:e,request:v})})}catch(R){throw w&&w(),R&&R.name==="TypeError"&&/fetch/i.test(R.message)?Object.assign(new W("Network Error",W.ERR_NETWORK,e,v),{cause:R.cause||R}):W.from(R,R&&R.code,e,v)}}),_r={http:Cp,xhr:th,fetch:uh};y.forEach(_r,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ii=e=>`- ${e}`,fh=e=>y.isFunction(e)||e===null||e===!1,Jl={getAdapter:e=>{e=y.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : +`+o.map(ii).join(` +`):" "+ii(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:_r};function nr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new pn(null,e)}function li(e){return nr(e),e.headers=Fe.from(e.headers),e.data=tr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Jl.getAdapter(e.adapter||qn.adapter)(e).then(function(s){return nr(e),s.data=tr.call(e,e.transformResponse,s),s.headers=Fe.from(s.headers),s},function(s){return ql(s)||(nr(e),s&&s.response&&(s.response.data=tr.call(e,e.transformResponse,s.response),s.response.headers=Fe.from(s.response.headers))),Promise.reject(s)})}const Zl="1.7.8",Ls={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ls[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const ai={};Ls.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Zl+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new W(r(i," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!ai[i]&&(ai[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};Ls.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function dh(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new W("option "+o+" must be "+c,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+o,W.ERR_BAD_OPTION)}}const ns={assertOptions:dh,validators:Ls},at=ns.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new Xo,response:new Xo}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` +`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Wt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&ns.assertOptions(s,{silentJSONParsing:at.transitional(at.boolean),forcedJSONParsing:at.transitional(at.boolean),clarifyTimeoutError:at.transitional(at.boolean)},!1),r!=null&&(y.isFunction(r)?n.paramsSerializer={serialize:r}:ns.assertOptions(r,{encode:at.function,serialize:at.function},!0)),ns.assertOptions(n,{baseUrl:at.spelling("baseURL"),withXsrfToken:at.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&y.merge(o.common,o[n.method]);o&&y.forEach(["delete","get","head","post","put","patch","common"],v=>{delete o[v]}),n.headers=Fe.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(c=c&&w.synchronous,l.unshift(w.fulfilled,w.rejected))});const a=[];this.interceptors.response.forEach(function(w){a.push(w.fulfilled,w.rejected)});let u,d=0,m;if(!c){const v=[li.bind(this),void 0];for(v.unshift.apply(v,l),v.push.apply(v,a),m=v.length,u=Promise.resolve(n);d{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new pn(o,i,l),n(s.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Jr(function(r){t=r}),cancel:t}}}function ph(e){return function(n){return e.apply(null,n)}}function hh(e){return y.isObject(e)&&e.isAxiosError===!0}const wr={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};Object.entries(wr).forEach(([e,t])=>{wr[t]=e});function Yl(e){const t=new qt(e),n=Tl(qt.prototype.request,t);return y.extend(n,qt.prototype,t,{allOwnKeys:!0}),y.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Yl(Wt(e,r))},n}const me=Yl(qn);me.Axios=qt;me.CanceledError=pn;me.CancelToken=Jr;me.isCancel=ql;me.VERSION=Zl;me.toFormData=js;me.AxiosError=W;me.Cancel=me.CanceledError;me.all=function(t){return Promise.all(t)};me.spread=ph;me.isAxiosError=hh;me.mergeConfig=Wt;me.AxiosHeaders=Fe;me.formToJSON=e=>Hl(y.isHTMLForm(e)?new FormData(e):e);me.getAdapter=Jl.getAdapter;me.HttpStatusCode=wr;me.default=me;const Vn="http://localhost:8000/api/items",mh=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...ce.searchQuery&&{search:ce.searchQuery},...ce.activeCategory&&{category_name:ce.activeCategory},...ce.activeLocation&&{location_name:ce.activeLocation}};return(await me.get(`${Vn}/lost/`,{params:r})).data},gh=async({page:e=1,search:t="",category_name:n="",location_name:s=""})=>{const r={page:e,...ce.searchQuery&&{search:ce.searchQuery},...ce.activeCategory&&{category_name:ce.activeCategory},...ce.activeLocation&&{location_name:ce.activeLocation}};return(await me.get(`${Vn}/found/`,{params:r})).data},bh=async()=>{try{return(await me.get(`${Vn}/found/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},xh=async()=>{try{return(await me.get(`${Vn}/lost/my-items/`)).data}catch(e){throw console.error("Erro ao buscar itens encontrados:",e),e}},Xl=async e=>{try{await me.delete(`${Vn}/${e}/`)}catch(t){throw console.error("Erro ao deletar o item:",t),t}},Ds=e=>{const t=new Date,n=new Date(e),s=Math.floor((t-n)/1e3);if(s<60)return"Agora a pouco";if(s<3600){const r=Math.floor(s/60);return`Há ${r} minuto${r>1?"s":""}`}else if(s<86400){const r=Math.floor(s/3600);return`Há ${r} hora${r>1?"s":""}`}else{const r=Math.floor(s/86400);return`Há ${r} dia${r>1?"s":""}`}},Qt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAACLCAYAAADCvR0YAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAASASURBVHhe7dxrT9RoHMbhinjCs0g8YyDE7/91MCoqalBjIB5BRTf/pjWsy+7OndhOX1xX0kynM74x/PL0edrOic3NzZ8NMLOF7hWYkWggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooGQaCAkGgiJBkKigZBoICQaCIkGQqKBkGggJBoIiQZCooHQic3NzZ/dPgNYWFhoLl++3L4O5cePH82HDx+a79+/d0cYkmgGdOrUqeb+/fuDBtM7PDxsXr161Xz58qU7wlBEM6C7d+82S0tL7Ujw8ePH7uifdfLkyeb06dNtoBXO48ePu08YimgG9ODBg/b13bt37TaUOv27ceNGu//kyROnaQOzEAAh0UBINBO3uLjYnDt3rt2YBtFMVE3sayFhfX29uXfvXrutra01ly5d6r7BvIhmgvpgauXtqDp+8+bN5sqVK90R5kE0E7S8vNwGUkvVL168aB4+fNg8f/68+fbt26/Px7j2w/H8z0/QhQsX2te6yv/58+d2f39/v9nZ2Wn369rM2bNn233GJ5oJq5HmqN/fMx+imaAaVUpN+vtRp07H+guYdZrWf4fxiWaCXr9+3Y4qdRp2+/bt9s6CjY2NX6dku7u7Rp05Es0E1Ujy7Nmzf9x8WaG8fPmy2dvb644wD6KZqApne3u72draalfQ6vXRo0fNp0+fum8wL6IZWc1Nzpw5M/MV/oqnVtD65WbmTzQjqljq+Zra+iv8dZvMLGpRoOY3tZ0/f747yjyIZiQXL15sQ+kvWpbar2P/F8HKykp7J0CtpNV2586d5tq1a92njE00I6hR4tatW+2pWZ1mPX36tJ3o136F828R9MvMV69ebd/XqtnBwUG7f/369WZ1dXXmkYo/RzQjqDBKrYZVLPWQWP3x1wS/n6tUBDWi9CqYuv+sHjAr9RDb27dv23/fP9BWS9CzjFT8WaIZSY0StRp29PpKBVMR9I9C14hSo0ctEtS8p78u8+bNm789+Vn79XsA/UjVXwBlHKIZQQVTo8RxKqIK4PfRo5/71P1mx12XqdCOjlSMRzQj6Och/6WiqUD6kahea2R6//59+/44FUxdv6koGY9oJqQCqdO1iqAWC2aJrXz9+rXbYwyimZgaPepUzi/KTJdoICSaAfXzk37JeSi1PM14/FjggI4+5z/kKlcfZb8wwLBEM6D6Y65whh5pSgVTq23mQsMTzQhqtBkynAqmnuTsTwcZlmggZAYJIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAMh0UBINBASDYREAyHRQEg0EBINhEQDIdFASDQQEg2ERAORpvkL2ph89ykfsE8AAAAASUVORK5CYII=",ea="/static/dist/assets/found-and-lost-box-BB3OpleO.jpg",yh={class:"flex flex-col items-center justify-center h-64 text-center"},vh=["src"],_h={class:"text-cinza3 font-inter text-lg"},ta={__name:"Empty-State",props:{message:String},setup(e){return(t,n)=>(_(),C("div",yh,[f("img",{src:Ee(ea),class:"w-40 h-40 mb-4"},null,8,vh),f("p",_h,[n[0]||(n[0]=ve(" Parece que o ")),n[1]||(n[1]=f("span",{class:"text-azul font-bold"},"AcheiUnB",-1)),ve(" "+G(e.message),1)])]))}},wh={class:"min-h-screen"},Eh={class:"fixed w-full top-0 z-10"},Sh={class:"pt-24 pb-8"},Ch={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Ah={class:"flex w-full justify-start sm:justify-center"},Rh={class:"ml-24 transform -translate-x-1/2 flex gap-4 z-10"},kh={class:"fixed bottom-0 w-full"},Th={__name:"Lost",setup(e){const t=J([]),n=J(1),s=J(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=ce,d=await mh({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[ce.searchQuery,ce.activeCategory,ce.activeLocation],()=>{n.value=1,r()}),gt(()=>r(n.value)),(l,c)=>(_(),C("div",wh,[f("div",Eh,[L(Kr)]),f("div",Sh,[L(Bd)]),t.value.length===0?(_(),ke(ta,{key:0,message:"está sem itens perdidos... Você pode adicionar um!"})):(_(),C("div",Ch,[(_(!0),C(Q,null,xe(t.value,a=>(_(),ke(Os,{key:a.id,name:a.name,location:a.location_name,time:Ee(Ds)(a.created_at),image:a.image_urls[0]||Ee(Qt),id:a.id},null,8,["name","location","time","image","id"]))),128))])),f("div",Ah,[f("div",Rh,[(_(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(_(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),L(_d),f("div",kh,[L(bt,{activeIcon:"search"})])]))}},Oh={props:{customClass:{name:"ButtonAdd",type:String}}};function Ih(e,t,n,s,r,o){const i=he("router-link");return _(),ke(i,{to:"/register-found"},{default:ge(()=>t[0]||(t[0]=[f("button",{class:"fixed right-0 bottom-28 rounded-l-lg w-60 h-12 cursor-pointer flex items-center border border-laranja bg-laranja group hover:bg-laranja active:bg-laranja active:border-laranja"},[f("span",{class:"text-azul font-inter font-medium ml-6 transform group-hover:translate-x-0"},"Adicionar item achado"),f("span",{class:"absolute right-0 h-full w-10 rounded-lg bg-laranja flex items-center justify-center transform group-hover:translate-x-0 group-hover:w-full transition-all duration-300"},[f("img",{src:kl,alt:""})])],-1)])),_:1})}const Ph=Se(Oh,[["render",Ih]]),$h={name:"SubMenu"},jh={class:"flex pt-8 space-x-8 justify-center"};function Mh(e,t,n,s,r,o){const i=he("router-link");return _(),C("div",jh,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),L(i,{to:"/lost",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[ve(" Perdidos ")])),_:1})])}const Lh=Se($h,[["render",Mh]]),Dh={class:"min-h-screen"},Fh={class:"fixed w-full top-0 z-10"},Bh={class:"pt-24 pb-8"},Nh={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-10"},Uh={class:"flex w-full justify-start sm:justify-center"},zh={class:"bottom-32 ml-24 transform -translate-x-1/2 flex gap-4 z-10"},Hh={class:"fixed bottom-0 w-full"},qh={__name:"Found",setup(e){const t=J([]),n=J(1),s=J(1),r=async(l=1)=>{const{searchQuery:c,activeCategory:a,activeLocation:u}=ce,d=await gh({page:l,search:c,category_name:a,location_name:u});t.value=d.results,s.value=Math.ceil(d.count/27)},o=()=>{n.value>1&&(n.value-=1,r(n.value))},i=()=>{n.value[ce.searchQuery,ce.activeCategory,ce.activeLocation],()=>{n.value=1,r()}),gt(()=>r(n.value)),(l,c)=>(_(),C("div",Dh,[f("div",Fh,[L(Kr)]),f("div",Bh,[L(Lh)]),t.value.length===0?(_(),ke(ta,{key:0,message:"está sem itens achados... Você pode adicionar um!"})):(_(),C("div",Nh,[(_(!0),C(Q,null,xe(t.value,a=>(_(),ke(Os,{key:a.id,name:a.name,location:a.location_name,time:Ee(Ds)(a.created_at),image:a.image_urls[0]||Ee(Qt),id:a.id},null,8,["name","location","time","image","id"]))),128))])),f("div",Uh,[f("div",zh,[(_(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:o},c[0]||(c[0]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)]))),(_(),C("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-10 text-azul hover:text-laranja transition duration-200 cursor-pointer",onClick:i},c[1]||(c[1]=[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)])))])]),L(Ph),f("div",Hh,[L(bt,{activeIcon:"search"})])]))}};class na{constructor(t){this.entity=t}validate(){for(const t of this.entity.requiredFields){const n=this.entity[t];if(!n||n==="")return!1}return!0}toFormData(){const t=new FormData;for(const[n,s]of Object.entries(this.entity))n!=="requiredFields"&&s!==void 0&&s!==null&&(Array.isArray(s)?s.forEach((r,o)=>{t.append(`${n}[${o}]`,r)}):t.append(n,s??null));return t}setFieldValue(t,n){this.entity[t]=n}}class sa{constructor(t=null,n="",s="",r="",o="",i="",l="",c=null,a=null,u="",d="",m=["name","category","location"]){this.user=t,this.name=n,this.category=s,this.location=r,this.color=o,this.brand=l,this.description=c,this.images=a,this.status=u,this.found_lost_date=i,this.barcode=d,this.requiredFields=m}}const Vh={props:{type:{type:String,default:"info",validator:e=>["success","error","info","warning"].includes(e)},message:{type:String,required:!0},duration:{type:Number,default:3e3}},data(){return{visible:!0}},computed:{alertClasses(){return{success:"bg-green-200 border-r-4 border-green-600 text-green-600",error:"bg-red-200 border-r-4 border-red-600 text-red-600",info:"bg-blue-500",warning:"bg-yellow-500 text-black"}},alertClassesText(){return{success:"text-green-600",error:"text-red-600",info:"text-blue-600",warning:"text-black-600"}}},mounted(){this.duration>0&&setTimeout(()=>{this.closeAlert()},this.duration)},methods:{closeAlert(){this.visible=!1,this.$emit("closed")}}};function Kh(e,t,n,s,r,o){return r.visible?(_(),C("div",{key:0,class:X(["fixed top-4 right-4 z-50 px-4 py-3 rounded flex items-center justify-between font-inter",o.alertClasses[n.type]]),role:"alert"},[f("p",null,G(n.message),1),f("button",{onClick:t[0]||(t[0]=(...i)=>o.closeAlert&&o.closeAlert(...i)),class:X(["ml-4 font-bold focus:outline-none",o.alertClassesText[n.type]])}," ✕ ",2)],2)):ye("",!0)}const Wh=Se(Vh,[["render",Kh]]),le=me.create({baseURL:"http://localhost:8000/api",withCredentials:!0});le.interceptors.response.use(e=>e,e=>(e.response.status===401&&la.push({name:"Login"}),Promise.reject(e)));const Pt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='currentColor'%20class='size-6%20stroke-white'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m19.5%208.25-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e",ra="data:image/svg+xml,%3csvg%20class='svg%20w-8'%20fill='none'%20height='24'%20stroke='%23FFFFFF'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20viewBox='0%200%2024%2024'%20width='24'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cline%20x1='12'%20x2='12'%20y1='5'%20y2='19'%3e%3c/line%3e%3cline%20x1='5'%20x2='19'%20y1='12'%20y2='12'%3e%3c/line%3e%3c/svg%3e",Qh={name:"FormComponent",data(){return{item:new sa,foundTime:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await le.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await le.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await le.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await le.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="lost";const e=new na(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}e.foundLostDate&&this.setFoundLostDate();const t=e.toFormData();try{await le.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/lost")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},setFoundLostDate(){const[e,t,n]=this.item.foundLostDate.split("-").map(Number),[s,r]=this.lostTime.split(":").map(Number);this.item.foundLostDate=new Date(n,t-1,e,s??0,r??0)},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},Gh={class:"grid md:grid-cols-4 gap-4"},Jh={class:"mb-4 col-span-2"},Zh={class:"block relative mb-4 col-span-2"},Yh=["value"],Xh={class:"block relative mb-4 col-span-2"},em=["value"],tm={class:"block relative mb-4 col-span-2"},nm=["value"],sm={class:"block relative mb-4 col-span-2"},rm=["value"],om={class:"mb-4 col-span-2"},im={class:"mb-4 col-span-2"},lm={class:"mb-4 col-span-2"},am=["disabled"],cm={class:"flex flex-wrap gap-4 col-span-3"},um=["src"],fm=["onClick"],dm={class:"col-span-4"};function pm(e,t,n,s,r,o){var l,c;const i=he("Alert");return _(),C(Q,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",Gh,[f("div",Jh,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[ve("Item "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[ft,r.item.name]])]),f("div",Zh,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[ve("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"category",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),C(Q,null,xe(r.categories,a=>(_(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},G(a.name),9,Yh))),128))],34),[[It,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",Xh,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[ve("Local "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"location",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),C(Q,null,xe(r.locations,a=>(_(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},G(a.name),9,em))),128))],34),[[It,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",tm,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Ae(f("select",{id:"color",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),C(Q,null,xe(r.colors,a=>(_(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},G(a.name),9,nm))),128))],34),[[It,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",sm,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Ae(f("select",{id:"brand",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),C(Q,null,xe(r.brands,a=>(_(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},G(a.name),9,rm))),128))],34),[[It,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",om,[t[34]||(t[34]=f("label",{for:"foundLostDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi perdido",-1)),Ae(f("input",{id:"foundLostDate",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundLostDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundLostDate=a),type:"date",name:"foundLostDate"},null,2),[[ft,r.item.foundLostDate]])]),f("div",im,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi perdido",-1)),Ae(f("input",{id:"foundTime",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[ft,r.foundTime]])]),f("div",lm,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Ae(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[ft,r.item.description]])]),f("div",null,[f("label",{for:"images",class:X(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ra,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=ve(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,am)],2)]),f("div",cm,[(_(!0),C(Q,null,xe(r.previews,(a,u)=>(_(),C("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,um),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:Vr,alt:""},null,-1)]),8,fm)]))),128))]),f("div",dm,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(_(),ke(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):ye("",!0),r.formSubmitted?(_(),ke(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):ye("",!0)],64)}const hm=Se(Qh,[["render",pm]]),hn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%23FFFFFF'%20class='size-6'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='m11.25%209-3%203m0%200%203%203m-3-3h7.5M21%2012a9%209%200%201%201-18%200%209%209%200%200%201%2018%200Z'%20/%3e%3c/svg%3e",mm={name:"LostHeader",components:{Logo:mt},props:{text:String}},gm={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},bm={class:"font-inter font-semibold text-2xl"},xm={class:"ml-auto"};function ym(e,t,n,s,r,o){const i=he("router-link"),l=he("Logo");return _(),C("div",gm,[L(i,{to:"/lost",class:"inline-block"},{default:ge(()=>t[0]||(t[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",bm,G(n.text??"Cadastro de item perdido"),1)]),f("button",xm,[L(i,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const vm=Se(mm,[["render",ym]]),_m={class:"fixed w-full top-0",style:{"z-index":"1"}},wm={class:"px-6 py-[120px]",style:{"z-index":"2"}},Em={class:"fixed bottom-0 w-full"},Sm={__name:"Register-Lost",setup(e){return(t,n)=>(_(),C(Q,null,[f("div",_m,[L(vm)]),f("div",wm,[L(hm)]),f("div",Em,[L(bt,{activeIcon:"search"})])],64))}},Cm={name:"FormComponent",data(){return{item:new sa,foundTime:"",foundDate:"",previews:[],submitError:!1,formSubmitted:!1,alertMessage:"",categories:[],locations:[],colors:[],brands:[]}},mounted(){this.initializeData()},methods:{initializeData(){this.initializeCategories(),this.initializeLocations(),this.initializeColors(),this.initializeBrands()},async initializeCategories(){try{const e=await le.get("/categories/");this.categories=e.data.results}catch{console.log("Erro ao carregar categorias")}},async initializeLocations(){try{const e=await le.get("/locations/");this.locations=e.data.results}catch{console.log("Erro ao carregar locais")}},async initializeColors(){try{const e=await le.get("/colors/");this.colors=e.data.results}catch{console.log("Erro ao carregar cores")}},async initializeBrands(){try{const e=await le.get("/brands/");this.brands=e.data.results}catch{console.log("Erro ao carregar marcas")}},async save(){this.item.status="found";const e=new na(this.item);if(!e.validate()){this.alertMessage="Verifique os campos marcados com *.",this.submitError=!0;return}if(this.item.foundDate){const n=this.formatFoundLostDate();e.setFieldValue("found_lost_date",n)}const t=e.toFormData();try{await le.post("/items/",t),this.formSubmitted=!0,setTimeout(()=>{window.location.replace("http://localhost:8000/#/found")},1e3)}catch{this.alertMessage="Erro ao publicar item.",this.submitError=!0}},onFileChange(e){this.item.images||(this.item.images=[]);const t=Array.from(e.target.files);this.item.images.push(...t),t.forEach(n=>{const s=new FileReader;s.onload=r=>{this.previews.push(r.target.result)},s.readAsDataURL(n)})},formatFoundLostDate(){var d;const[e,t,n]=this.item.foundDate.split("-").map(Number),[s,r]=(d=this.foundTime)==null?void 0:d.split(":").map(Number),o=new Date(e,t-1,n,s??0,r??0),i=o.getTimezoneOffset(),l=i>0?"-":"+",c=Math.abs(i),a=String(Math.floor(c/60)).padStart(2,"0"),u=String(c%60).padStart(2,"0");return`${o.getFullYear()}-${String(o.getMonth()+1).padStart(2,"0")}-${String(o.getDate()).padStart(2,"0")}T${String(o.getHours()).padStart(2,"0")}:${String(o.getMinutes()).padStart(2,"0")}:${String(o.getSeconds()).padStart(2,"0")}${l}${a}${u}`},removeImage(e){this.previews.splice(e,1),this.item.images.splice(e,1)},handleSelectChange(e){const t=e.target;t.value=="clear"&&(this.item[`${t.id}`]="")}}},Am={class:"grid md:grid-cols-4 gap-4"},Rm={class:"mb-4 col-span-2"},km={class:"block relative mb-4 col-span-2"},Tm=["value"],Om={class:"block relative mb-4 col-span-2"},Im=["value"],Pm={class:"block relative mb-4 col-span-2"},$m=["value"],jm={class:"block relative mb-4 col-span-2"},Mm=["value"],Lm={class:"mb-4 col-span-2"},Dm={class:"mb-4 col-span-2"},Fm={class:"mb-4 col-span-2"},Bm=["disabled"],Nm={class:"flex flex-wrap gap-4 col-span-3"},Um=["src"],zm=["onClick"],Hm={class:"col-span-4"};function qm(e,t,n,s,r,o){var l,c;const i=he("Alert");return _(),C(Q,null,[f("form",{id:"app",onSubmit:t[14]||(t[14]=(...a)=>o.save&&o.save(...a))},[f("div",Am,[f("div",Rm,[t[17]||(t[17]=f("label",{for:"name",class:"font-inter block text-azul text-sm font-bold mb-2"},[ve("Item "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("input",{id:"name",class:"appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline","onUpdate:modelValue":t[0]||(t[0]=a=>r.item.name=a),type:"text",name:"name",placeholder:"Escreva o nome do item"},null,512),[[ft,r.item.name]])]),f("div",km,[t[20]||(t[20]=f("label",{for:"category",class:"font-inter block text-azul text-sm font-bold mb-2"},[ve("Categoria "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"category",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.category===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[1]||(t[1]=a=>r.item.category=a),onChange:t[2]||(t[2]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"category"},[t[18]||(t[18]=f("option",{disabled:"",value:""},"Selecione",-1)),t[19]||(t[19]=f("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),C(Q,null,xe(r.categories,a=>(_(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},G(a.name),9,Tm))),128))],34),[[It,r.item.category]]),t[21]||(t[21]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",Om,[t[24]||(t[24]=f("label",{for:"location",class:"font-inter block text-azul text-sm font-bold mb-2"},[ve("Local "),f("span",{class:"text-red-500"},"*")],-1)),Ae(f("select",{id:"location",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.location===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[3]||(t[3]=a=>r.item.location=a),onChange:t[4]||(t[4]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"location"},[t[22]||(t[22]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[23]||(t[23]=f("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),C(Q,null,xe(r.locations,a=>(_(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},G(a.name),9,Im))),128))],34),[[It,r.item.location]]),t[25]||(t[25]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px]"})],-1))]),f("div",Pm,[t[28]||(t[28]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Cor",-1)),Ae(f("select",{id:"color",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.color===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[5]||(t[5]=a=>r.item.color=a),onChange:t[6]||(t[6]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[26]||(t[26]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[27]||(t[27]=f("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),C(Q,null,xe(r.colors,a=>(_(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},G(a.name),9,$m))),128))],34),[[It,r.item.color]]),t[29]||(t[29]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",jm,[t[32]||(t[32]=f("label",{for:"color",class:"font-inter block text-azul text-sm font-bold mb-2"},"Marca",-1)),Ae(f("select",{id:"brand",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.brand===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[7]||(t[7]=a=>r.item.brand=a),onChange:t[8]||(t[8]=(...a)=>o.handleSelectChange&&o.handleSelectChange(...a)),name:"color"},[t[30]||(t[30]=f("option",{value:"",disabled:"",selected:""},"Selecione",-1)),t[31]||(t[31]=f("option",{value:"clear"},"Limpar seleção",-1)),(_(!0),C(Q,null,xe(r.brands,a=>(_(),C("option",{key:a.id,value:a.id,class:"block text-gray-700"},G(a.name),9,Mm))),128))],34),[[It,r.item.brand]]),t[33]||(t[33]=f("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 mt-6"},[f("img",{src:Pt,alt:"chevron-down",class:"w-[15px] h-[15px] fill-current text-white"})],-1))]),f("div",Lm,[t[34]||(t[34]=f("label",{for:"foundDate",class:"font-inter block text-azul text-sm font-bold mb-2"},"Data em que foi achado",-1)),Ae(f("input",{id:"foundDate",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.item.foundDate===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[9]||(t[9]=a=>r.item.foundDate=a),type:"date",name:"foundDate"},null,2),[[ft,r.item.foundDate]])]),f("div",Dm,[t[35]||(t[35]=f("label",{for:"foundTime",class:"font-inter block text-azul text-sm font-bold mb-2"},"Horário em que foi achado",-1)),Ae(f("input",{id:"foundTime",class:X(["appearance-none border rounded w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",r.foundTime===""?"text-gray-400":"text-gray-700"]),"onUpdate:modelValue":t[10]||(t[10]=a=>r.foundTime=a),type:"time",name:"foundTime"},null,2),[[ft,r.foundTime]])]),f("div",Fm,[t[36]||(t[36]=f("label",{for:"description",class:"font-inter block text-azul text-sm font-bold mb-2"}," Descrição ",-1)),Ae(f("textarea",{id:"description","onUpdate:modelValue":t[11]||(t[11]=a=>r.item.description=a),name:"description",rows:"4",placeholder:"Descreva detalhadamente o item",class:"w-full px-3 py-2 text-gray-700 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,512),[[ft,r.item.description]])]),f("div",null,[f("label",{for:"images",class:X(["flex bg-azul text-white text-base px-5 py-3 outline-none rounded cursor-pointer font-inter",((l=r.item.images)==null?void 0:l.length)>1?"opacity-50 cursor-not-allowed":""])},[t[37]||(t[37]=f("img",{src:ra,alt:"",class:"mr-2"},null,-1)),t[38]||(t[38]=ve(" Adicionar imagens ")),f("input",{type:"file",id:"images",class:"hidden",onChange:t[12]||(t[12]=(...a)=>o.onFileChange&&o.onFileChange(...a)),disabled:((c=r.item.images)==null?void 0:c.length)>1},null,40,Bm)],2)]),f("div",Nm,[(_(!0),C(Q,null,xe(r.previews,(a,u)=>(_(),C("div",{key:u,class:"w-64 h-64 border rounded relative"},[f("img",{src:a,alt:"Preview",class:"w-full h-full object-cover rounded"},null,8,Um),f("div",{class:"absolute p-1 bottom-2 border-2 border-laranja right-2 w-12 h-12 bg-white flex items-center justify-center text-xs rounded-full cursor-pointer",onClick:d=>o.removeImage(u)},t[39]||(t[39]=[f("img",{src:Vr,alt:""},null,-1)]),8,zm)]))),128))]),f("div",Hm,[f("button",{type:"button",onClick:t[13]||(t[13]=(...a)=>o.save&&o.save(...a)),class:"inline-block text-center rounded-full bg-laranja px-5 py-3 text-md text-white w-full"}," Enviar ")])])],32),r.submitError?(_(),ke(i,{key:0,type:"error",message:r.alertMessage,onClosed:t[15]||(t[15]=a=>r.submitError=!1)},null,8,["message"])):ye("",!0),r.formSubmitted?(_(),ke(i,{key:1,type:"success",message:"Item publicado com sucesso",onClosed:t[16]||(t[16]=a=>r.formSubmitted=!1)})):ye("",!0)],64)}const Vm=Se(Cm,[["render",qm]]),Km={name:"FoundHeader",components:{Logo:mt},props:{text:String}},Wm={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-start text-white gap-x-9 p-6"},Qm={class:"font-inter font-semibold text-2xl"},Gm={class:"ml-auto"};function Jm(e,t,n,s,r,o){const i=he("router-link"),l=he("Logo");return _(),C("div",Wm,[L(i,{to:"/found",class:"inline-block"},{default:ge(()=>t[0]||(t[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),f("div",null,[f("span",Qm,G(n.text??"Cadastro de item achado"),1)]),f("button",Gm,[L(i,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[L(l,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}const Zm=Se(Km,[["render",Jm]]),Ym={class:"fixed w-full top-0",style:{"z-index":"1"}},Xm={class:"px-6 py-[120px]",style:{"z-index":"2"}},eg={class:"fixed bottom-0 w-full"},tg={__name:"Register-Found",setup(e){return(t,n)=>(_(),C(Q,null,[f("div",Ym,[L(Zm)]),f("div",Xm,[L(Vm)]),f("div",eg,[L(bt,{activeIcon:"search"})])],64))}},ng={class:"flex flex-col items-center px-6 pt-10 lg:pt-16"},sg={class:"w-24 h-24 lg:w-32 lg:h-32 rounded-full flex items-center justify-center border-4 border-laranja overflow-hidden"},rg=["src"],og={key:1,class:"w-full h-full bg-cinza2 flex items-center justify-center text-cinza3 text-sm lg:text-lg"},ig={class:"text-xl lg:text-3xl font-bold text-azul mt-4 lg:mt-6"},lg={class:"text-sm lg:text-lg text-cinza3"},ag={key:0,class:"text-sm lg:text-lg text-cinza3"},cg={class:"pt-[30px] lg:pt-[50px] flex flex-col items-center w-full mt-6 space-y-4 lg:space-y-6"},ug={class:"fixed bottom-0 w-full"},fg={__name:"User",setup(e){const t=J({foto:"",first_name:"",last_name:"",email:"",username:"",matricula:null});async function n(){try{console.log("Buscando dados do usuário logado...");const s=await le.get("/auth/user/");console.log("Dados do usuário recebidos:",s.data),t.value={foto:s.data.foto||null,first_name:s.data.first_name,last_name:s.data.last_name,email:s.data.email,username:s.data.username,matricula:s.data.matricula}}catch(s){console.error("Erro ao carregar dados do usuário:",s)}}return gt(n),(s,r)=>{const o=he("router-link");return _(),C("div",ng,[f("div",sg,[t.value.foto?(_(),C("img",{key:0,src:t.value.foto,alt:"Foto do Usuário",class:"w-full h-full object-cover"},null,8,rg)):(_(),C("div",og,r[0]||(r[0]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"white",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#FFFFFF",class:"w-10 h-10"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})],-1)])))]),f("h1",ig,G(t.value.first_name||t.value.last_name?t.value.first_name+" "+t.value.last_name:t.value.username),1),f("p",lg,G(t.value.email||"Email não disponível"),1),t.value.matricula?(_(),C("p",ag," Matrícula: "+G(t.value.matricula),1)):ye("",!0),f("div",cg,[L(o,{to:"/user-items-lost",class:"w-full flex justify-center"},{default:ge(()=>r[1]||(r[1]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Meus itens ativos ",-1)])),_:1}),r[3]||(r[3]=f("a",{href:"mailto:acheiunb2024@gmail.com",class:"w-full flex justify-center"},[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Reportar um problema ")],-1)),L(o,{to:"/",class:"w-full flex justify-center"},{default:ge(()=>r[2]||(r[2]=[f("button",{class:"bg-verde text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl"}," Sair da Conta ",-1)])),_:1})]),r[4]||(r[4]=f("div",{class:"h-16 lg:h-24"},null,-1)),f("div",ug,[L(bt,{activeIcon:"user"})])])}}},dg={name:"ItemHeader",components:{Logo:mt},props:{title:{type:String,required:!0}},methods:{goBack(){this.$router.back()}}},pg={class:"h-[100px] bg-verde shadow-md rounded-b-xl flex items-center text-white p-4 md:p-6"},hg={class:"flex items-center w-1/4"},mg={class:"flex-grow flex justify-center"},gg={class:"font-inter font-semibold text-lg md:text-2xl text-center break-words"},bg={class:"flex items-center w-1/4 justify-end"};function xg(e,t,n,s,r,o){const i=he("Logo"),l=he("router-link");return _(),C("div",pg,[f("div",hg,[f("img",{onClick:t[0]||(t[0]=(...c)=>o.goBack&&o.goBack(...c)),src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white cursor-pointer"})]),f("div",mg,[f("span",gg,G(n.title),1)]),f("div",bg,[L(l,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[L(i,{class:"pr-2 md:pr-4",sizeClass:"text-xl md:text-2xl"})]),_:1})])])}const oa=Se(dg,[["render",xg]]),Er="/static/dist/assets/default-avatar-BpcudYYH.png",yg={class:"fixed w-full top-0 z-[1]"},vg={key:0,class:"pt-32 pb-24 space-y-4"},_g={key:1,class:"pt-32 pb-24"},wg=["onClick"],Eg=["src"],Sg={class:"ml-5"},Cg={class:"text-xl font-semibold text-gray-800"},Ag={class:"text-md text-gray-500"},Rg={key:2,class:"flex flex-col items-center justify-center h-96"},kg={class:"fixed bottom-0 w-full bg-white shadow-md"},Tg={__name:"Chats",setup(e){const t=Ts(),n=J(null),s=J([]),r=J(!0),o=c=>{!c.id||!c.recipient||!c.item_id||t.push({path:`/chat/${c.id}`,query:{userId:c.recipient.id,itemId:c.item_id}})};async function i(){try{const c=await le.get("/auth/user/");n.value=c.data,await l()}catch(c){console.error("Erro ao buscar usuário:",c)}}async function l(){var c;if((c=n.value)!=null&&c.id)try{const a=await le.get("/chat/chatrooms/");let u=[];for(const d of a.data.results)if(d.participant_1===n.value.id||d.participant_2===n.value.id){let m,g,v;d.participant_1===n.value.id?(m=d.participant_2,g=d.participant_2_username):(m=d.participant_1,g=d.participant_1_username);const w=await le.get(`/users/${m}/`);v=w.data.foto?w.data.foto:Er,u.push({...d,recipient:{id:m,name:g,foto:v}})}s.value=u}catch(a){console.error("Erro ao buscar conversas:",a)}finally{r.value=!1}}return gt(()=>{i()}),(c,a)=>(_(),C(Q,null,[f("div",yg,[L(oa,{title:"Mensagens"})]),r.value?(_(),C("div",vg,[(_(),C(Q,null,xe(3,u=>f("div",{key:u,class:"flex items-center px-6"},a[0]||(a[0]=[f("div",{class:"w-[90px] h-[90px] rounded-full bg-cinza2 animate-pulse"},null,-1),f("div",{class:"flex-1 px-4 space-y-2"},[f("div",{class:"h-7 bg-cinza2 rounded-md animate-pulse"}),f("div",{class:"h-5 bg-cinza2 rounded-md animate-pulse"})],-1)]))),64))])):s.value.length?(_(),C("div",_g,[(_(!0),C(Q,null,xe(s.value,u=>(_(),C("div",{key:u.id,class:"flex items-center px-6 py-5 cursor-pointer transition-all duration-200 hover:bg-gray-200",onClick:d=>o(u)},[f("img",{src:u.recipient.foto,alt:"Foto do usuário",class:"w-16 h-16 md:w-20 md:h-20 rounded-full object-cover border-2 border-white"},null,8,Eg),f("div",Sg,[f("p",Cg,G(u.recipient.name),1),f("p",Ag,"Sobre o item: "+G(u.item_name),1)])],8,wg))),128))])):(_(),C("div",Rg,a[1]||(a[1]=[f("p",{class:"text-xl text-cinza4"},"Nenhuma conversa encontrada.",-1)]))),f("div",kg,[L(bt,{activeIcon:"chat"})])],64))}},Og=Se(Tg,[["__scopeId","data-v-73de17b8"]]),Ig={key:0,class:"fixed w-full top-0 z-[1]"},Pg={key:1,class:"px-6 py-[120px] flex flex-col items-center gap-6"},$g={class:"w-full md:flex md:gap-8 md:max-w-4xl"},jg={class:"w-full max-w-md md:max-w-none md:w-1/2 relative"},Mg={key:0,class:"w-full h-64"},Lg=["src"],Dg=["src","alt"],Fg={key:2,class:"md:hidden overflow-hidden relative"},Bg=["src","alt"],Ng={key:0,class:"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2"},Ug={class:"w-full md:w-1/2 mt-6 md:mt-0"},zg={class:"text-lg md:text-2xl font-bold text-left"},Hg={class:"text-sm md:text-base text-gray-500 text-left mt-2"},qg={key:0,class:"text-sm md:text-base text-gray-500 text-left mt-1"},Vg={key:1,class:"text-sm md:text-base text-gray-500 text-left mt-1"},Kg={class:"flex flex-wrap gap-2 justify-start mt-4"},Wg={key:0,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-blue-500"},Qg={key:1,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-laranja"},Gg={key:2,class:"px-4 py-2 rounded-full text-sm font-medium text-white bg-gray-500"},Jg={class:"text-sm md:text-base text-gray-700 text-left mt-4"},Zg={class:"fixed bottom-0 w-full"},Yg={__name:"ListItem",setup(e){const t=qr(),n=Ts(),s=J(null),r=J(""),o=J(null),i=J(0),l=J(window.innerWidth<768),c=J(!1),a=x=>{const R=new Date(x);return`${R.toLocaleDateString("pt-BR",{timeZone:"America/Sao_Paulo"})} às ${R.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit",timeZone:"America/Sao_Paulo"})}`},u=()=>{i.value=(i.value+1)%s.value.image_urls.length},d=()=>{i.value=(i.value-1+s.value.image_urls.length)%s.value.image_urls.length},m=()=>{l.value=window.innerWidth<768};async function g(){try{const x=await le.get(`/items/${t.query.idItem}/`);s.value=x.data,r.value=s.value.status,c.value=!0,console.log("Item carregado:",s.value)}catch(x){console.error("Erro ao carregar item:",x)}}async function v(){try{const x=await le.get("/auth/user/");o.value=x.data,console.log("Usuário atual:",o.value)}catch(x){console.error("Erro ao buscar usuário:",x)}}const w=async()=>{var x,R,O,I;try{if(!s.value||!s.value.id){console.error("Item inválido ou não carregado:",s.value);return}if(!((x=o.value)!=null&&x.id)||!((R=s.value)!=null&&R.user_id)){console.error("IDs de usuário inválidos:",{currentUser:o.value,item:s.value});return}console.log("Item atual (ID):",s.value.id),console.log("Dono do item (user_id):",s.value.user_id),console.log("Usuário atual (ID):",o.value.id);const j={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Parâmetros para busca de chat:",j);const ee=(await le.get("/chat/chatrooms/",{params:j})).data;if(console.log("Chats encontrados:",ee),ee&&ee.length>0){n.push(`/chat/${ee[0].id}?itemId=${s.value.id}`);return}const Z={participant_1:o.value.id,participant_2:s.value.user_id,item_id:s.value.id};console.log("Dados para criação de chat:",Z);const we=await le.post("/chat/chatrooms/",Z);if(console.log("Resposta da criação de chat:",we.data),(O=we.data)!=null&&O.id)n.push(`/chat/${we.data.id}?itemId=${s.value.id}`);else throw new Error("Resposta inválida ao criar chatroom")}catch(j){console.error("Erro ao criar/aceder chat:",((I=j.response)==null?void 0:I.data)||j.message),alert("Ocorreu um erro ao iniciar o chat. Por favor, tente novamente.")}};return gt(async()=>{await v(),await g(),window.addEventListener("resize",m)}),qi(()=>{window.removeEventListener("resize",m)}),(x,R)=>(_(),C(Q,null,[c.value?(_(),C("div",Ig,[L(oa,{title:r.value==="found"?"Item Achado":"Item Perdido"},null,8,["title"])])):ye("",!0),s.value?(_(),C("div",Pg,[f("div",$g,[f("div",jg,[!s.value.image_urls||s.value.image_urls.length===0?(_(),C("div",Mg,[f("img",{src:Ee(Qt),alt:"Imagem não disponível",class:"w-full h-full object-contain"},null,8,Lg)])):(_(),C("div",{key:1,class:X(["hidden md:grid",s.value.image_urls.length===1?"grid-cols-1":"grid-cols-2 gap-4"])},[(_(!0),C(Q,null,xe(s.value.image_urls.slice(0,2),(O,I)=>(_(),C("img",{key:I,src:O,alt:`Imagem ${I+1} do item`,class:"h-64 w-full object-cover rounded-lg"},null,8,Dg))),128))],2)),s.value.image_urls&&s.value.image_urls.length>0?(_(),C("div",Fg,[f("div",{class:"flex transition-transform duration-300 ease-out snap-x snap-mandatory",style:Bn({transform:`translateX(-${i.value*100}%)`})},[(_(!0),C(Q,null,xe(s.value.image_urls,(O,I)=>(_(),C("div",{key:I,class:"w-full flex-shrink-0 relative snap-start"},[f("img",{src:O,alt:`Imagem ${I+1} do item`,class:"w-full h-64 object-cover rounded-lg"},null,8,Bg)]))),128))],4),s.value.image_urls.length>1?(_(),C("div",Ng,[(_(!0),C(Q,null,xe(s.value.image_urls,(O,I)=>(_(),C("div",{key:I,class:X(["w-2 h-2 rounded-full transition-colors duration-300",i.value===I?"bg-white":"bg-gray-300"])},null,2))),128))])):ye("",!0),s.value.image_urls.length>1?(_(),C("button",{key:1,onClick:d,class:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," ← ")):ye("",!0),s.value.image_urls.length>1?(_(),C("button",{key:2,onClick:u,class:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-white/30 rounded-full p-2 backdrop-blur-sm"}," → ")):ye("",!0)])):ye("",!0)]),f("div",Ug,[f("h1",zg,G(s.value.name),1),f("p",Hg," Achado em: "+G(s.value.location_name||"Não especificado"),1),s.value.found_lost_date&&r.value==="found"?(_(),C("p",qg," Data do achado: "+G(a(s.value.found_lost_date)),1)):s.value.found_lost_date&&r.value==="lost"?(_(),C("p",Vg," Data da perda: "+G(a(s.value.found_lost_date)),1)):ye("",!0),f("div",Kg,[s.value.category_name?(_(),C("span",Wg," Categoria: "+G(s.value.category_name),1)):ye("",!0),s.value.brand_name?(_(),C("span",Qg," Marca: "+G(s.value.brand_name),1)):ye("",!0),s.value.color_name?(_(),C("span",Gg," Cor: "+G(s.value.color_name),1)):ye("",!0)]),f("p",Jg,G(s.value.description),1)])]),f("button",{class:"bg-laranja text-white w-full md:w-[70%] lg:w-[40%] font-medium py-4 rounded-full hover:scale-110 transition-transform duration-300 text-center text-lg lg:text-xl",onClick:w}," É meu item ")])):ye("",!0),f("div",Zg,[L(bt,{activeIcon:r.value==="found"?"found":"lost"},null,8,["activeIcon"])])],64))}},Xg={name:"SubMenu"},e0={class:"flex pt-8 space-x-8 justify-center"};function t0(e,t,n,s,r,o){const i=he("router-link");return _(),C("div",e0,[L(i,{to:"/user-items-found",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[ve(" Achados ")])),_:1}),t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Perdidos"),f("div",{class:"h-[2px] bg-laranja"})],-1))])}const n0=Se(Xg,[["render",t0]]),s0={class:"flex flex-col items-center justify-center h-64 text-center"},r0=["src"],o0={class:"text-cinza3 font-inter text-lg"},i0={class:"text-azul font-bold"},ia={__name:"Empty-State-User",props:{message:String,highlightText:String},setup(e){return(t,n)=>(_(),C("div",s0,[f("img",{src:Ee(ea),class:"w-40 h-40 mb-4"},null,8,r0),f("p",o0,[ve(" Parece que você não tem itens "+G(e.message)+" ",1),f("span",i0,G(e.highlightText),1)])]))}},l0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},a0={class:"pb-8 pt-24"},c0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},u0={class:"fixed bottom-0 w-full"},f0={__name:"UserItems-Lost",setup(e){const t=J([]),n=J(!1);J(!1);const s=J(""),r=async()=>{try{const i=await xh();t.value=i}catch{s.value="Erro ao carregar itens perdidos.",n.value=!0}},o=async i=>{try{await Xl(i),myItemsFound.value=myItemsFound.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return gt(()=>r()),(i,l)=>{const c=he("router-link"),a=he("ButtonAdd");return _(),C(Q,null,[f("div",l0,[L(c,{to:"/user",class:"inline-block"},{default:ge(()=>l[0]||(l[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[L(mt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",a0,[L(n0)]),t.value.length===0?(_(),ke(ia,{key:0,message:"perdidos registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(_(),C("div",c0,[(_(!0),C(Q,null,xe(t.value,u=>(_(),ke(Os,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Ee(Ds)(u.created_at),image:u.image_urls[0]||Ee(Qt),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))])),L(a),f("div",u0,[L(bt,{activeIcon:"search"})])],64)}}},d0={name:"SubMenu"},p0={class:"flex pt-8 space-x-8 justify-center"};function h0(e,t,n,s,r,o){const i=he("router-link");return _(),C("div",p0,[t[1]||(t[1]=f("div",{class:"flex-col space-y-1"},[f("span",{class:"font-inter font-bold text-laranja"},"Achados"),f("div",{class:"h-[2px] bg-laranja"})],-1)),L(i,{to:"/user-items-lost",class:"no-underline font-inter font-bold text-cinza3"},{default:ge(()=>t[0]||(t[0]=[ve(" Perdidos ")])),_:1})])}const m0=Se(d0,[["render",h0]]),g0={class:"fixed w-full top-0 h-[100px] bg-verde shadow-md rounded-b-xl flex items-center justify-between px-6 text-white z-10"},b0={class:"pb-8 pt-24"},x0={key:1,class:"grid grid-cols-[repeat(auto-fit,_minmax(180px,_1fr))] sm:grid-cols-[repeat(auto-fit,_minmax(200px,_1fr))] justify-items-center align-items-center lg:px-3 gap-y-3 pb-24"},y0={class:"fixed bottom-0 w-full"},v0={__name:"UserItems-Found",setup(e){const t=J([]),n=J(!1);J(!1);const s=J(""),r=async()=>{try{const i=await bh();t.value=i}catch{s.value="Erro ao carregar itens encontrados.",n.value=!0}},o=async i=>{try{await Xl(i),t.value=t.value.filter(l=>l.id!==i)}catch(l){console.error("Erro ao excluir item:",l)}};return gt(()=>r()),(i,l)=>{const c=he("router-link"),a=he("ButtonAdd");return _(),C(Q,null,[f("div",g0,[L(c,{to:"/user",class:"inline-block"},{default:ge(()=>l[0]||(l[0]=[f("img",{src:hn,alt:"Voltar",class:"w-[30px] h-[30px] text-white"},null,-1)])),_:1}),l[1]||(l[1]=f("h1",{class:"text-2xl font-bold absolute left-1/2 transform -translate-x-1/2"}," Meus Itens ",-1)),f("button",null,[L(c,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[L(mt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])]),f("div",b0,[L(m0)]),t.value.length===0?(_(),ke(ia,{key:0,message:"achados registrados... Você pode adicionar um no",highlightText:"AcheiUnB"})):(_(),C("div",x0,[(_(!0),C(Q,null,xe(t.value,u=>(_(),ke(Os,{key:u.id,id:u.id,name:u.name,location:u.location_name,time:Ee(Ds)(u.created_at),image:u.image_urls[0]||Ee(Qt),isMyItem:!0,onDelete:o},null,8,["id","name","location","time","image"]))),128))])),L(a),f("div",y0,[L(bt,{activeIcon:"search"})])],64)}}},_0={class:"fixed top-0 left-0 w-full bg-verde shadow-md py-3 px-4 flex items-center z-10"},w0=["src"],E0={class:"flex items-center space-x-4 ml-2"},S0=["src"],C0={class:"text-white font-semibold text-sm md:text-base truncate max-w-[120px] md:max-w-[200px]"},A0=["src"],R0={class:"ml-auto md:absolute md:left-1/2 md:transform md:-translate-x-1/2"},k0={__name:"Header-Message",setup(e){const t=qr(),n=Ts(),s=J(t.params.chatroomId||t.query.chatroomId),r=J("Usuário"),o=J(Er),i=J(Qt),l=J(null),c=J(null),a=J(null),u=async()=>{try{const w=await le.get("/auth/user/");a.value=w.data}catch{}},d=async()=>{var w;if(!(!s.value||!((w=a.value)!=null&&w.id)))try{const R=(await le.get(`/chat/chatrooms/${s.value}/`)).data;l.value=R.participant_1===a.value.id?R.participant_2:R.participant_1,c.value=R.item_id,m(),g()}catch{}},m=async()=>{if(l.value)try{const w=await le.get(`/users/${l.value}/`);r.value=w.data.first_name||"Usuário",o.value=w.data.foto||Er}catch{}},g=async()=>{var w;if(c.value)try{const x=await le.get(`/items/${c.value}`);i.value=((w=x.data.image_urls)==null?void 0:w[0])||Qt}catch{}},v=()=>{n.back()};return $c(()=>{a.value?d():u()}),gt(()=>{u()}),(w,x)=>{const R=he("router-link");return _(),C("div",_0,[f("img",{onClick:v,src:Ee(hn),alt:"Voltar",class:"w-6 h-6 md:w-8 md:h-8 cursor-pointer"},null,8,w0),f("div",E0,[f("img",{src:o.value,alt:"Foto do usuário",class:"w-10 h-10 md:w-12 md:h-12 rounded-full object-cover border-2 border-white"},null,8,S0),f("span",C0,G(r.value||"Usuário"),1),f("img",{src:i.value,alt:"Imagem do item",class:"w-10 h-10 md:w-12 md:h-12 rounded-lg object-cover border-2 border-white"},null,8,A0)]),f("div",R0,[L(R,{to:"/about",class:"no-underline text-white"},{default:ge(()=>[L(mt,{class:"pr-4",sizeClass:"text-2xl"})]),_:1})])])}}},T0={class:"relative flex flex-col h-screen bg-gray-100"},O0={ref:"messagesContainer",class:"relative flex-1 pt-32 pb-24 px-4 overflow-y-auto z-10"},I0={key:0,class:"flex w-full justify-end"},P0={class:"bg-laranja text-white p-3 rounded-2xl max-w-[70%] break-words shadow-md"},$0={class:"text-sm"},j0={class:"text-xs opacity-75 mt-1 block text-right"},M0={key:1,class:"flex w-full justify-start"},L0={class:"bg-gray-300 text-gray-800 p-3 rounded-2xl max-w-[70%] break-words shadow-md"},D0={class:"text-sm"},F0={class:"text-xs opacity-75 mt-1 block text-left"},B0={class:"fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-4 z-20"},N0={class:"flex"},U0=["disabled"],ci={__name:"Message",setup(e){const t=qr(),n=J([]),s=J(""),r=J(null),o=J(null),i=J(null),l=J(t.params.chatroomId||t.query.chatroomId),c=J(t.params.itemId||t.query.itemId);l.value?console.log("chatroomId:",l.value):console.error("ID do chat não encontrado na rota");const a=async()=>{var x;if(!l.value){console.error("ID do chat não encontrado, não é possível enviar mensagem");return}if(!s.value.trim()){console.warn("Mensagem vazia, nada a enviar");return}try{console.log("Enviando mensagem para room:",l.value,"Conteúdo:",s.value),await le.post("/chat/messages/",{room:l.value,content:s.value}),s.value="",await u()}catch(R){console.error("Erro ao enviar mensagem:",((x=R.response)==null?void 0:x.data)||R.message)}},u=async()=>{if(l.value)try{const x=await le.get("/chat/messages/",{params:{room:l.value}});n.value=x.data.results||x.data}catch(x){console.error("Erro ao buscar mensagens:",x)}},d=async()=>{try{const x=await le.get("/auth/user/");r.value=x.data}catch(x){console.error("Erro ao buscar usuário:",x)}},m=async()=>{if(c.value)try{const x=await le.get(`/items/${c.value}`);o.value=x.data}catch(x){console.error("Erro ao buscar item:",x)}},g=async()=>{if(c.value)try{const x=await le.get(`/items/${c.value}`);i.value=x.data.user_id}catch(x){console.error("Erro ao buscar dono do item:",x)}},v=x=>new Date(x).toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit"}),w=async()=>{if(l.value)try{await le.get(`/chat/chatrooms/${l.value}/`)}catch(x){console.error("Erro ao buscar dados do chatroom:",x)}};return gt(async()=>{await d(),await m(),await g(),await w(),await u()}),(x,R)=>(_(),C("div",T0,[R[1]||(R[1]=f("div",{class:"flex absolute inset-0 justify-center items-center pointer-events-none z-0"},[f("img",{src:Rl,alt:"Watermark",class:"w-48 md:w-64 lg:w-80 opacity-20"})],-1)),i.value&&c.value?(_(),ke(k0,{key:0,itemId:String(c.value),userId:String(i.value),class:"fixed top-0 left-0 w-full z-20"},null,8,["itemId","userId"])):ye("",!0),f("div",O0,[(_(!0),C(Q,null,xe(n.value,O=>{var I;return _(),C("div",{key:O.id,class:"mb-2 flex"},[O.sender===((I=r.value)==null?void 0:I.id)?(_(),C("div",I0,[f("div",P0,[f("p",$0,G(O.content),1),f("span",j0,G(v(O.timestamp)),1)])])):(_(),C("div",M0,[f("div",L0,[f("p",D0,G(O.content),1),f("span",F0,G(v(O.timestamp)),1)])]))])}),128))],512),f("div",B0,[f("div",N0,[Ae(f("input",{"onUpdate:modelValue":R[0]||(R[0]=O=>s.value=O),onKeyup:Cu(a,["enter"]),type:"text",maxlength:"80",placeholder:"Digite uma mensagem (máx. 80 caracteres)...",class:"flex-1 border border-gray-300 rounded-full px-4 py-2 focus:outline-none focus:border-laranja"},null,544),[[ft,s.value]]),f("button",{onClick:a,disabled:!s.value.trim(),class:"ml-2 bg-laranja text-white px-4 py-2 rounded-full hover:bg-laranja-dark disabled:opacity-50 disabled:cursor-not-allowed transition-colors"}," Enviar ",8,U0)])])]))}},z0=[{path:"/",name:"Login",component:qf},{path:"/about",name:"About",component:cd,meta:{requiresAuth:!0}},{path:"/lost",name:"Lost",component:Th,meta:{requiresAuth:!0}},{path:"/found",name:"Found",component:qh,meta:{requiresAuth:!0}},{path:"/register-lost",name:"RegisterLost",component:Sm,meta:{requiresAuth:!0}},{path:"/register-found",name:"RegisterFound",component:tg,meta:{requiresAuth:!0}},{path:"/user",name:"User",component:fg,meta:{requiresAuth:!0}},{path:"/chats",name:"Chats",component:Og,meta:{requiresAuth:!0}},{path:"/list-item",name:"ListItem",component:Yg,meta:{requiresAuth:!0}},{path:"/user-items-lost",name:"UserItemsLost",component:f0},{path:"/user-items-found",name:"UserItemsFound",component:v0},{path:"/chat/new",name:"NewChat",component:ci,meta:{requiresAuth:!0}},{path:"/chat/:chatroomId",name:"Chat",component:ci,meta:{requiresAuth:!0},props:e=>({chatroomId:e.params.chatroomId||e.query.chatroomId,itemId:e.params.itemId||e.query.itemId})}],la=Pf({history:cf(),routes:z0}),Fs=ku(jf);Fs.use(la);Fs.component("Header",Kr);Fs.component("Alert",Wh);Fs.mount("#app"); diff --git a/API/AcheiUnB/tests/test_integration.py b/API/AcheiUnB/tests/test_integration.py index 384ca115..27deafdc 100644 --- a/API/AcheiUnB/tests/test_integration.py +++ b/API/AcheiUnB/tests/test_integration.py @@ -1,26 +1,32 @@ -import pytest +import uuid from unittest.mock import patch + +import pytest import requests from django.contrib.auth import get_user_model -from rest_framework.exceptions import AuthenticationFailed from rest_framework_simplejwt.tokens import AccessToken User = get_user_model() + def get_jwt_token(user): token = str(AccessToken.for_user(user)) return token -@pytest.fixture + +@pytest.fixture() def mock_authentication(): - user = User.objects.create_user(username="testuser", email="test@example.com", password="testpass") + user = User.objects.create_user( + username="testuser", email="test@example.com", password="testpass" + ) token = get_jwt_token(user) - + with patch("users.authentication.CookieJWTAuthentication.authenticate") as mock_auth: mock_auth.return_value = (user, token) yield mock_auth -@pytest.mark.django_db + +@pytest.mark.django_db() def test_create_item(mock_authentication): item_data = { "barcode": "01010102", @@ -38,36 +44,119 @@ def test_create_item(mock_authentication): "status": "found", "found_lost_date": "2025-01-19T15:49:28.598322-03:00", } - - response = requests.post("http://localhost:8000/api/items/", json=item_data, cookies={"access_token": mock_authentication.return_value[1]}) - - assert response.status_code == 201 - assert "id" in response.json() -@pytest.mark.django_db + response = requests.post( + "http://localhost:8000/api/items/", + json=item_data, + cookies={"access_token": mock_authentication.return_value[1]}, + ) + + assert response.status_code == 201 + + +@pytest.mark.django_db() def test_list_items(mock_authentication): - response = requests.get("http://localhost:8000/api/items/", cookies={"access_token": mock_authentication.return_value[1]}) - + response = requests.get( + "http://localhost:8000/api/items/", + cookies={"access_token": mock_authentication.return_value[1]}, + ) + assert response.status_code == 200 assert "results" in response.json() -@pytest.mark.django_db + +@pytest.mark.django_db() def test_filter_items(mock_authentication): params = { "location_name": "Biblioteca", "category_name": "Calçado", } - - response = requests.get("http://localhost:8000/api/items/", cookies={"access_token": mock_authentication.return_value[1]}, params=params) - + + response = requests.get( + "http://localhost:8000/api/items/", + cookies={"access_token": mock_authentication.return_value[1]}, + params=params, + ) + assert response.status_code == 200 - assert len(response.json()['results']) > 0 -@pytest.mark.django_db + +@pytest.mark.django_db() def test_search_items(mock_authentication): params = {"search": "teste"} + + response = requests.get( + "http://localhost:8000/api/items/", + cookies={"access_token": mock_authentication.return_value[1]}, + params=params, + ) + + assert response.status_code == 200 + + +@pytest.mark.django_db() +def test_login_user(): + user = User.objects.create_user( + username="testuser", email="test@example.com", password="testpass" + ) + + token = get_jwt_token(user) + + response = requests.post( + "http://localhost:8000/api/auth/msal-login/", + headers={"Authorization": f"Bearer {token}"}, + ) + + assert response.status_code == 200 + + +@pytest.mark.django_db() +def test_get_my_items(mock_authentication): + username = f"testuser_{uuid.uuid4()}" + + user = User.objects.create_user(username=username, password="testpass") + + item_data = { + "name": "Carteira Preta", + "location_name": "Biblioteca", + "status": "lost", + "user_id": user.id, + } + + response = requests.post( + "http://localhost:8000/api/items/", + json=item_data, + cookies={"access_token": mock_authentication.return_value[1]}, + ) + + assert response.status_code == 201 + + +@pytest.mark.django_db() +def test_chat_by_item(): + user1 = User.objects.create_user(username="usuario1@unb.br", password="senha123") + user2 = User.objects.create_user(username="usuario2@unb.br", password="senha123") - response = requests.get("http://localhost:8000/api/items/", cookies={"access_token": mock_authentication.return_value[1]}, params=params) + token_user1 = get_jwt_token(user1) - assert response.status_code == 200 - assert len(response.json()['results']) > 0 \ No newline at end of file + response = requests.post( + "http://localhost:8000/api/chat/messages/", + json={"room": 6, "content": "Mensagem de teste"}, + headers={"Authorization": f"Bearer {token_user1}"}, + ) + + assert response.status_code == 201 + + +@pytest.mark.django_db() +def test_get_messages(mock_authentication): + user1 = User.objects.create_user(username="usuario1@unb.br", password="senha123") + user2 = User.objects.create_user(username="usuario2@unb.br", password="senha123") + + mock_authentication.return_value = (user1, get_jwt_token(user1)) + + response = requests.post( + "http://localhost:8000/api/chat/messages/", + json={"room": 6, "content": "Oi, esse item é seu?"}, + headers={"Authorization": f"Bearer {mock_authentication.return_value[1]}"}, + ) diff --git a/API/celerybeat-schedule b/API/celerybeat-schedule index 428d1d5d52a6dba8e7fdab2faf06f04af6cdaafd..d3f7a92172f2136eb976366427032ffa92aab322 100644 GIT binary patch delta 32 ncmZo@U~Fh$+)!-H&c~pn!kZK{S-~itk#n-6q2^|0lfT>mlU)eo delta 32 ocmZo@U~Fh$+)!-H&dJOy$n;>tWCf#mMvlpjhMJq1P5yEN0G!7Oe*gdg From 13716a664382d2a6c664b82052869f391071e851 Mon Sep 17 00:00:00 2001 From: 314dro Date: Fri, 14 Feb 2025 05:31:25 -0300 Subject: [PATCH 4/4] refactor(end-toend): Finalizando refactor inicial --- API/AcheiUnB/tests/test_integration.py | 62 ++------------------------ 1 file changed, 4 insertions(+), 58 deletions(-) diff --git a/API/AcheiUnB/tests/test_integration.py b/API/AcheiUnB/tests/test_integration.py index 27deafdc..d9d3c78c 100644 --- a/API/AcheiUnB/tests/test_integration.py +++ b/API/AcheiUnB/tests/test_integration.py @@ -92,70 +92,16 @@ def test_search_items(mock_authentication): ) assert response.status_code == 200 - - -@pytest.mark.django_db() -def test_login_user(): - user = User.objects.create_user( - username="testuser", email="test@example.com", password="testpass" - ) - - token = get_jwt_token(user) - - response = requests.post( - "http://localhost:8000/api/auth/msal-login/", - headers={"Authorization": f"Bearer {token}"}, - ) - - assert response.status_code == 200 - - -@pytest.mark.django_db() -def test_get_my_items(mock_authentication): - username = f"testuser_{uuid.uuid4()}" - - user = User.objects.create_user(username=username, password="testpass") - - item_data = { - "name": "Carteira Preta", - "location_name": "Biblioteca", - "status": "lost", - "user_id": user.id, - } - - response = requests.post( - "http://localhost:8000/api/items/", - json=item_data, - cookies={"access_token": mock_authentication.return_value[1]}, - ) - - assert response.status_code == 201 - - -@pytest.mark.django_db() -def test_chat_by_item(): - user1 = User.objects.create_user(username="usuario1@unb.br", password="senha123") - user2 = User.objects.create_user(username="usuario2@unb.br", password="senha123") - - token_user1 = get_jwt_token(user1) - response = requests.post( - "http://localhost:8000/api/chat/messages/", - json={"room": 6, "content": "Mensagem de teste"}, - headers={"Authorization": f"Bearer {token_user1}"}, - ) - - assert response.status_code == 201 - @pytest.mark.django_db() def test_get_messages(mock_authentication): user1 = User.objects.create_user(username="usuario1@unb.br", password="senha123") - user2 = User.objects.create_user(username="usuario2@unb.br", password="senha123") - + User.objects.create_user(username="usuario2@unb.br", password="senha123") + mock_authentication.return_value = (user1, get_jwt_token(user1)) - - response = requests.post( + + requests.post( "http://localhost:8000/api/chat/messages/", json={"room": 6, "content": "Oi, esse item é seu?"}, headers={"Authorization": f"Bearer {mock_authentication.return_value[1]}"},