From e69e1623b5490130f3882556dbef30959976c992 Mon Sep 17 00:00:00 2001 From: fabio Date: Thu, 19 Mar 2026 19:13:39 +0100 Subject: [PATCH] feat: add tooltip component and related position engine - Introduced a new tooltip component (QTooltip) in logo-DdmK5n0b.js for enhanced UI interactions. - Added position engine logic in position-engine-BHgB6lrx.js to manage tooltip positioning dynamically. - Implemented selection utility in selection-DrSF90ET.js to handle text selection across different browsers. - Created a use-quasar hook in use-quasar-B5tVCAcV.js for improved integration with Quasar framework. --- backend/internal/http/static/spa/about/index.html | 4 ++-- .../internal/http/static/spa/assets/AboutUsPage-2zvnAMYl.js | 1 + .../internal/http/static/spa/assets/AboutUsPage-Bwj-ymKd.js | 1 - .../{AdminLayout-e_bAwum9.js => AdminLayout-DN9f9DOf.js} | 2 +- ...EndpointsPage-C6oIckuV.js => ApiEndpointsPage-JesCyaiy.js} | 2 +- .../assets/{ClosePopup-B5ubkw_-.js => ClosePopup-DV5_zFD6.js} | 2 +- .../internal/http/static/spa/assets/ContactUsPage-B3eNo5Fm.js | 1 + .../internal/http/static/spa/assets/ContactUsPage-CGgRgy8m.js | 1 - backend/internal/http/static/spa/assets/DevLayout-6orPgqWc.js | 1 + backend/internal/http/static/spa/assets/DevLayout-CXkxSOTr.js | 1 - .../http/static/spa/assets/DoctorDetailPage-BUBFnryG.js | 1 - .../http/static/spa/assets/DoctorDetailPage-DNWM4IpO.js | 1 + .../internal/http/static/spa/assets/DoctorsPage-CbYjO5rH.js | 1 - .../internal/http/static/spa/assets/DoctorsPage-Mx2NaaFf.js | 1 + .../{ErrorNotFound-dqvwBGco.js => ErrorNotFound-C1ZsCLAD.js} | 2 +- .../internal/http/static/spa/assets/HomeHeader-F2sD99DF.js | 1 - .../internal/http/static/spa/assets/HomeHeader-oAwoUp8W.js | 1 + backend/internal/http/static/spa/assets/IndexPage-CWe5wEqb.js | 1 - backend/internal/http/static/spa/assets/IndexPage-DfNuzFub.js | 1 + .../assets/{IndexPage-DE6ucgFI.js => IndexPage-HuzieOt1.js} | 2 +- backend/internal/http/static/spa/assets/IndexPage-qHfbNmL8.js | 1 + backend/internal/http/static/spa/assets/IndexPage-xIT21-b4.js | 1 - .../assets/{LoginPage-ClfsMK2o.js => LoginPage-BgmpoZun.js} | 2 +- .../internal/http/static/spa/assets/MailDebugPage-DwRhtT-c.js | 1 - .../internal/http/static/spa/assets/MailDebugPage-DxWNUslA.js | 1 + .../internal/http/static/spa/assets/MainLayout-BUVfGOmu.css | 1 + .../internal/http/static/spa/assets/MainLayout-BlbPIMKP.js | 1 - .../internal/http/static/spa/assets/MainLayout-BqadnCMs.js | 1 + .../internal/http/static/spa/assets/MainLayout-CrFccAPR.css | 1 - .../spa/assets/{QBadge-DHHd1R2R.js => QBadge-2h1D8yZx.js} | 2 +- backend/internal/http/static/spa/assets/QDrawer-1VLwP6kh.js | 1 + backend/internal/http/static/spa/assets/QDrawer-BR2j4Akr.js | 1 - .../spa/assets/{QForm-uiBLv4qC.js => QForm-CgLsd63I.js} | 2 +- backend/internal/http/static/spa/assets/QLayout-BeBUeNGB.js | 1 - backend/internal/http/static/spa/assets/QLayout-DZVoSyXn.js | 1 + ...LinearProgress-DPykyK-Y.js => QLinearProgress-BW3XWqZ_.js} | 2 +- .../spa/assets/{QPage-D3501MqH.js => QPage-B68JuyjH.js} | 2 +- ...ResizeObserver-CyV47ipF.js => QResizeObserver-CenQZ1Fm.js} | 2 +- .../spa/assets/{QSelect-B-H7KBd7.js => QSelect-Bmx_AjWr.js} | 2 +- .../spa/assets/{QToolbar-k3h3juC8.js => QToolbar-DdNWxglI.js} | 2 +- backend/internal/http/static/spa/assets/QTooltip-D2MBGu_Z.js | 1 - ...sswordPage-Bh9nckCd.js => RecoverPasswordPage-CJDwxHNJ.js} | 2 +- .../http/static/spa/assets/ResetPasswordPage-DC-tQ0cd.js | 1 + .../http/static/spa/assets/ResetPasswordPage-bCDSDRjo.js | 1 - .../internal/http/static/spa/assets/ServicesPage-C1Wj__Px.js | 1 - .../internal/http/static/spa/assets/ServicesPage-CEUh_7ZB.js | 1 + .../assets/{SignupPage-BnglUC4l.js => SignupPage-B_w5JCSL.js} | 2 +- .../assets/{UsersPage-Cq7pEaZT.js => UsersPage-COHOm8T7.js} | 2 +- .../spa/assets/{format-BipdGd1G.js => format-DaKpMo2W.js} | 2 +- .../static/spa/assets/{i18n-Xm0BG4P7.js => i18n-BdDWi-np.js} | 2 +- .../spa/assets/{index-B9vdjdfJ.js => index-DAvBaevK.js} | 4 ++-- backend/internal/http/static/spa/assets/logo-DdmK5n0b.js | 1 + ...osition-engine-CFuXolvx.js => position-engine-BHgB6lrx.js} | 2 +- .../assets/{selection-HrszS3Ie.js => selection-DrSF90ET.js} | 2 +- .../internal/http/static/spa/assets/use-quasar-B5tVCAcV.js | 1 + .../internal/http/static/spa/assets/use-quasar-BoyshCFo.js | 1 - backend/internal/http/static/spa/contact/index.html | 4 ++-- backend/internal/http/static/spa/doctordetails/index.html | 4 ++-- backend/internal/http/static/spa/doctors/index.html | 4 ++-- backend/internal/http/static/spa/index.html | 4 ++-- backend/internal/http/static/spa/login/index.html | 4 ++-- backend/internal/http/static/spa/recoverpassword/index.html | 4 ++-- backend/internal/http/static/spa/services/index.html | 4 ++-- backend/internal/http/static/spa/signup/index.html | 4 ++-- frontend/src/layouts/MainLayout.vue | 4 ++-- 65 files changed, 59 insertions(+), 59 deletions(-) create mode 100644 backend/internal/http/static/spa/assets/AboutUsPage-2zvnAMYl.js delete mode 100644 backend/internal/http/static/spa/assets/AboutUsPage-Bwj-ymKd.js rename backend/internal/http/static/spa/assets/{AdminLayout-e_bAwum9.js => AdminLayout-DN9f9DOf.js} (70%) rename backend/internal/http/static/spa/assets/{ApiEndpointsPage-C6oIckuV.js => ApiEndpointsPage-JesCyaiy.js} (79%) rename backend/internal/http/static/spa/assets/{ClosePopup-B5ubkw_-.js => ClosePopup-DV5_zFD6.js} (90%) create mode 100644 backend/internal/http/static/spa/assets/ContactUsPage-B3eNo5Fm.js delete mode 100644 backend/internal/http/static/spa/assets/ContactUsPage-CGgRgy8m.js create mode 100644 backend/internal/http/static/spa/assets/DevLayout-6orPgqWc.js delete mode 100644 backend/internal/http/static/spa/assets/DevLayout-CXkxSOTr.js delete mode 100644 backend/internal/http/static/spa/assets/DoctorDetailPage-BUBFnryG.js create mode 100644 backend/internal/http/static/spa/assets/DoctorDetailPage-DNWM4IpO.js delete mode 100644 backend/internal/http/static/spa/assets/DoctorsPage-CbYjO5rH.js create mode 100644 backend/internal/http/static/spa/assets/DoctorsPage-Mx2NaaFf.js rename backend/internal/http/static/spa/assets/{ErrorNotFound-dqvwBGco.js => ErrorNotFound-C1ZsCLAD.js} (55%) delete mode 100644 backend/internal/http/static/spa/assets/HomeHeader-F2sD99DF.js create mode 100644 backend/internal/http/static/spa/assets/HomeHeader-oAwoUp8W.js delete mode 100644 backend/internal/http/static/spa/assets/IndexPage-CWe5wEqb.js create mode 100644 backend/internal/http/static/spa/assets/IndexPage-DfNuzFub.js rename backend/internal/http/static/spa/assets/{IndexPage-DE6ucgFI.js => IndexPage-HuzieOt1.js} (88%) create mode 100644 backend/internal/http/static/spa/assets/IndexPage-qHfbNmL8.js delete mode 100644 backend/internal/http/static/spa/assets/IndexPage-xIT21-b4.js rename backend/internal/http/static/spa/assets/{LoginPage-ClfsMK2o.js => LoginPage-BgmpoZun.js} (60%) delete mode 100644 backend/internal/http/static/spa/assets/MailDebugPage-DwRhtT-c.js create mode 100644 backend/internal/http/static/spa/assets/MailDebugPage-DxWNUslA.js create mode 100644 backend/internal/http/static/spa/assets/MainLayout-BUVfGOmu.css delete mode 100644 backend/internal/http/static/spa/assets/MainLayout-BlbPIMKP.js create mode 100644 backend/internal/http/static/spa/assets/MainLayout-BqadnCMs.js delete mode 100644 backend/internal/http/static/spa/assets/MainLayout-CrFccAPR.css rename backend/internal/http/static/spa/assets/{QBadge-DHHd1R2R.js => QBadge-2h1D8yZx.js} (93%) create mode 100644 backend/internal/http/static/spa/assets/QDrawer-1VLwP6kh.js delete mode 100644 backend/internal/http/static/spa/assets/QDrawer-BR2j4Akr.js rename backend/internal/http/static/spa/assets/{QForm-uiBLv4qC.js => QForm-CgLsd63I.js} (71%) delete mode 100644 backend/internal/http/static/spa/assets/QLayout-BeBUeNGB.js create mode 100644 backend/internal/http/static/spa/assets/QLayout-DZVoSyXn.js rename backend/internal/http/static/spa/assets/{QLinearProgress-DPykyK-Y.js => QLinearProgress-BW3XWqZ_.js} (87%) rename backend/internal/http/static/spa/assets/{QPage-D3501MqH.js => QPage-B68JuyjH.js} (92%) rename backend/internal/http/static/spa/assets/{QResizeObserver-CyV47ipF.js => QResizeObserver-CenQZ1Fm.js} (85%) rename backend/internal/http/static/spa/assets/{QSelect-B-H7KBd7.js => QSelect-Bmx_AjWr.js} (87%) rename backend/internal/http/static/spa/assets/{QToolbar-k3h3juC8.js => QToolbar-DdNWxglI.js} (78%) delete mode 100644 backend/internal/http/static/spa/assets/QTooltip-D2MBGu_Z.js rename backend/internal/http/static/spa/assets/{RecoverPasswordPage-Bh9nckCd.js => RecoverPasswordPage-CJDwxHNJ.js} (54%) create mode 100644 backend/internal/http/static/spa/assets/ResetPasswordPage-DC-tQ0cd.js delete mode 100644 backend/internal/http/static/spa/assets/ResetPasswordPage-bCDSDRjo.js delete mode 100644 backend/internal/http/static/spa/assets/ServicesPage-C1Wj__Px.js create mode 100644 backend/internal/http/static/spa/assets/ServicesPage-CEUh_7ZB.js rename backend/internal/http/static/spa/assets/{SignupPage-BnglUC4l.js => SignupPage-B_w5JCSL.js} (81%) rename backend/internal/http/static/spa/assets/{UsersPage-Cq7pEaZT.js => UsersPage-COHOm8T7.js} (99%) rename backend/internal/http/static/spa/assets/{format-BipdGd1G.js => format-DaKpMo2W.js} (87%) rename backend/internal/http/static/spa/assets/{i18n-Xm0BG4P7.js => i18n-BdDWi-np.js} (98%) rename backend/internal/http/static/spa/assets/{index-B9vdjdfJ.js => index-DAvBaevK.js} (98%) create mode 100644 backend/internal/http/static/spa/assets/logo-DdmK5n0b.js rename backend/internal/http/static/spa/assets/{position-engine-CFuXolvx.js => position-engine-BHgB6lrx.js} (94%) rename backend/internal/http/static/spa/assets/{selection-HrszS3Ie.js => selection-DrSF90ET.js} (80%) create mode 100644 backend/internal/http/static/spa/assets/use-quasar-B5tVCAcV.js delete mode 100644 backend/internal/http/static/spa/assets/use-quasar-BoyshCFo.js diff --git a/backend/internal/http/static/spa/about/index.html b/backend/internal/http/static/spa/about/index.html index ab4fda9..6fca139 100644 --- a/backend/internal/http/static/spa/about/index.html +++ b/backend/internal/http/static/spa/about/index.html @@ -1,3 +1,3 @@ -Frontend APP +Frontend APP -
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
About Omnimed

Healthcare built around clarity, empathy, and outcomes

We combine medical excellence with a human approach, designing every visit around trust, prevention, and long-term wellbeing.

25k+
patients supported every year
98%
patient satisfaction score
40+
specialists across key disciplines
Medical consultation
Clinical care team
15+ years
of integrated patient care
What drives us

A modern clinic with standards patients can feel

Our model is simple: faster access, clearer communication, coordinated care, and decisions guided by evidence.

Clear medical guidance

Clear medical guidance

We explain options, next steps, and tradeoffs in language patients can act on.

Coordinated treatment

Coordinated treatment

Primary care, specialist input, and follow-up planning stay connected end to end.

Prevention first

Prevention first

We focus on early detection and continuity, not only on treating symptoms.

How we work

A care journey designed to reduce friction

Book and prepare
01

Book and prepare

Schedule quickly and arrive with the right context already shared with the care team.

Assess and listen
02

Assess and listen

Every consultation starts with careful listening and a structured clinical review.

Plan the treatment
03

Plan the treatment

We define a practical treatment path with timelines, referrals, and measurable goals.

Follow through
04

Follow through

Ongoing monitoring helps patients stay informed, supported, and on track.

Our people

Specialists who bring confidence to every appointment

Dr. Amelia Carter
Dr. Amelia Carter
Internal Medicine
Dr. Julian Meyer
Dr. Julian Meyer
Cardiology
Dr. Sofia Bennett
Dr. Sofia Bennett
Pediatrics
Dr. Ethan Rossi
Dr. Ethan Rossi
Preventive Care
\ No newline at end of file +
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
About Omnimed

Healthcare built around clarity, empathy, and outcomes

We combine medical excellence with a human approach, designing every visit around trust, prevention, and long-term wellbeing.

25k+
patients supported every year
98%
patient satisfaction score
40+
specialists across key disciplines
Medical consultation
Clinical care team
15+ years
of integrated patient care
What drives us

A modern clinic with standards patients can feel

Our model is simple: faster access, clearer communication, coordinated care, and decisions guided by evidence.

Clear medical guidance

Clear medical guidance

We explain options, next steps, and tradeoffs in language patients can act on.

Coordinated treatment

Coordinated treatment

Primary care, specialist input, and follow-up planning stay connected end to end.

Prevention first

Prevention first

We focus on early detection and continuity, not only on treating symptoms.

How we work

A care journey designed to reduce friction

Book and prepare
01

Book and prepare

Schedule quickly and arrive with the right context already shared with the care team.

Assess and listen
02

Assess and listen

Every consultation starts with careful listening and a structured clinical review.

Plan the treatment
03

Plan the treatment

We define a practical treatment path with timelines, referrals, and measurable goals.

Follow through
04

Follow through

Ongoing monitoring helps patients stay informed, supported, and on track.

Our people

Specialists who bring confidence to every appointment

Dr. Amelia Carter
Dr. Amelia Carter
Internal Medicine
Dr. Julian Meyer
Dr. Julian Meyer
Cardiology
Dr. Sofia Bennett
Dr. Sofia Bennett
Pediatrics
Dr. Ethan Rossi
Dr. Ethan Rossi
Preventive Care
\ No newline at end of file diff --git a/backend/internal/http/static/spa/assets/AboutUsPage-2zvnAMYl.js b/backend/internal/http/static/spa/assets/AboutUsPage-2zvnAMYl.js new file mode 100644 index 0000000..a70cc5b --- /dev/null +++ b/backend/internal/http/static/spa/assets/AboutUsPage-2zvnAMYl.js @@ -0,0 +1 @@ +import{a as C,h as l,i as v,j as i,k as a,m as e,Q as m,s as c,G as r,H as d,F as n,t as o,n as g}from"./index-DAvBaevK.js";import{Q as f}from"./QPage-B68JuyjH.js";import{H as V,a as y}from"./HomeHeader-oAwoUp8W.js";import{t as H}from"./team-1-CMaNLVo5.js";import{t as w,a as b,b as k}from"./team-4-BDlfXLz_.js";import{_ as x}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./logo-DdmK5n0b.js";import"./position-engine-BHgB6lrx.js";import"./selection-DrSF90ET.js";import"./QToolbar-DdNWxglI.js";const B="/assets/about-img-1-Bg9mkIhK.jpg",M="/assets/about-img-2-BboiNeez.jpg",P="data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%200%2034%2034'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_91_178)'%3e%3cpath%20d='M14.5006%200.247498H2.05201C0.920734%200.247498%200%201.16824%200%202.2995V6.78527C0%207.91653%200.920734%208.83727%202.05201%208.83727H2.22922V27.7051C2.22922%2031.0396%204.94213%2033.7525%208.27664%2033.7525C11.6111%2033.7525%2014.3234%2031.0396%2014.3234%2027.7051V8.83727H14.5006C15.6319%208.83727%2016.5526%207.91654%2016.5526%206.78527V2.2995C16.5526%201.16824%2015.6319%200.247498%2014.5006%200.247498ZM13.3001%2027.7051C13.3001%2030.4753%2011.0469%2032.7291%208.27665%2032.7291C5.50644%2032.7291%203.25257%2030.4753%203.25257%2027.7051V8.83727H13.3001V27.7051ZM15.5293%206.78527C15.5293%207.35223%2015.0676%207.81394%2014.5006%207.81394C12.1761%207.81394%206.51387%207.81394%202.05201%207.81394C1.48504%207.81394%201.02334%207.35224%201.02334%206.78527V2.2995C1.02334%201.73254%201.48503%201.27083%202.05201%201.27083H2.45441V3.25688C2.45441%203.53936%202.6836%203.76855%202.96608%203.76855C3.24857%203.76855%203.47775%203.53936%203.47775%203.25688V1.27083H5.10936V6.16367C5.10936%206.44615%205.33855%206.67534%205.62104%206.67534C5.90352%206.67534%206.13271%206.44616%206.13271%206.16367V1.27083H7.76498V3.25688C7.76498%203.53936%207.99416%203.76855%208.27666%203.76855C8.55915%203.76855%208.78833%203.53936%208.78833%203.25688V1.27083H10.4199V6.16367C10.4199%206.44615%2010.6491%206.67534%2010.9316%206.67534C11.2141%206.67534%2011.4433%206.44616%2011.4433%206.16367V1.27083H13.0749V3.25688C13.0749%203.53936%2013.3041%203.76855%2013.5866%203.76855C13.869%203.76855%2014.0982%203.53936%2014.0982%203.25688V1.27083H14.5006C15.0676%201.27083%2015.5293%201.73253%2015.5293%202.2995L15.5293%206.78527Z'%20fill='%234753BF'/%3e%3cpath%20d='M6.63637%2026.0995H9.91625C10.8423%2026.0995%2011.5952%2025.3466%2011.5952%2024.4205V14.3457C11.5952%2013.4197%2010.8423%2012.6668%209.91625%2012.6668H6.63637C5.7103%2012.6668%204.95746%2013.4197%204.95746%2014.3457V24.4205C4.95746%2025.3466%205.7103%2026.0995%206.63637%2026.0995ZM5.98079%2014.3457C5.98079%2013.984%206.2746%2013.6901%206.63637%2013.6901H9.91625C10.278%2013.6901%2010.5718%2013.984%2010.5718%2014.3457V24.4205C10.5718%2024.7823%2010.278%2025.0761%209.91625%2025.0761H6.63637C6.2746%2025.0761%205.98079%2024.7823%205.98079%2024.4205V14.3457Z'%20fill='%234753BF'/%3e%3cpath%20d='M31.9487%200.247498H19.5001C18.3688%200.247498%2017.4481%201.16823%2017.4481%202.2995V6.78527C17.4481%207.91653%2018.3688%208.83727%2019.5001%208.83727H19.6773V27.7051C19.6773%2031.0396%2022.3895%2033.7525%2025.724%2033.7525C29.0585%2033.7525%2031.7715%2031.0396%2031.7715%2027.7051V8.83727H31.9487C33.0799%208.83727%2034%207.91654%2034%206.78527V2.2995C34%201.16824%2033.0799%200.247498%2031.9487%200.247498ZM30.7481%2027.7051C30.7481%2030.4753%2028.4942%2032.7291%2025.724%2032.7291C22.9538%2032.7291%2020.7006%2030.4753%2020.7006%2027.7051V8.83727H30.7481V27.7051ZM32.9767%206.78527C32.9767%207.35223%2032.5156%207.81394%2031.9487%207.81394C28.3074%207.81394%2025.6975%207.81394%2019.5001%207.81394C18.9331%207.81394%2018.4714%207.35224%2018.4714%206.78527V2.2995C18.4714%201.73254%2018.9331%201.27083%2019.5001%201.27083H19.9018V3.25688C19.9018%203.53936%2020.131%203.76855%2020.4135%203.76855C20.696%203.76855%2020.9251%203.53936%2020.9251%203.25688V1.27083H22.5574V6.16367C22.5574%206.44615%2022.7866%206.67534%2023.0691%206.67534C23.3516%206.67534%2023.5808%206.44616%2023.5808%206.16367V1.27083H25.2124V3.25688C25.2124%203.53936%2025.4416%203.76855%2025.724%203.76855C26.0065%203.76855%2026.2357%203.53936%2026.2357%203.25688V1.27083H27.868V6.16367C27.868%206.44615%2028.0972%206.67534%2028.3796%206.67534C28.6621%206.67534%2028.8913%206.44616%2028.8913%206.16367V1.27083H30.5229V3.25688C30.5229%203.53936%2030.7521%203.76855%2031.0346%203.76855C31.3171%203.76855%2031.5463%203.53936%2031.5463%203.25688V1.27083H31.9487C32.5156%201.27083%2032.9767%201.73253%2032.9767%202.2995L32.9767%206.78527Z'%20fill='%234753BF'/%3e%3cpath%20d='M24.0844%2026.0995H27.3643C28.2904%2026.0995%2029.0432%2025.3466%2029.0432%2024.4205V14.3457C29.0432%2013.4197%2028.2904%2012.6668%2027.3643%2012.6668H24.0844C23.1584%2012.6668%2022.4055%2013.4197%2022.4055%2014.3457V24.4205C22.4055%2025.3466%2023.1584%2026.0995%2024.0844%2026.0995ZM23.4289%2014.3457C23.4289%2013.984%2023.7227%2013.6901%2024.0844%2013.6901H27.3643C27.7261%2013.6901%2028.0199%2013.984%2028.0199%2014.3457V24.4205C28.0199%2024.7823%2027.7261%2025.0761%2027.3643%2025.0761H24.0844C23.7227%2025.0761%2023.4289%2024.7823%2023.4289%2024.4205V14.3457Z'%20fill='%234753BF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_91_178'%3e%3crect%20width='34'%20height='34'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",I="/assets/icon-about-info-2-xhkDUeRt.svg",Z="/assets/icon-about-info-3-DWJgo5gs.svg",j="/assets/work-step-img-1-BTXGLo3T.jpg",F="/assets/work-step-img-2-BmLBMPhT.jpg",A="/assets/work-step-img-3-B1BPr4WH.jpg",D="/assets/work-step-img-4-BbeUh9vy.jpg",W={class:"hero-section"},q={class:"page-shell"},L={class:"row items-center q-col-gutter-xl"},Q={class:"col-12 col-lg-6"},S={class:"hero-copy"},O={class:"hero-actions"},U={class:"stats-row"},E={class:"stat-value"},N={class:"stat-label"},T={class:"col-12 col-lg-6"},G={class:"hero-visual"},J={class:"hero-image-main"},R=["src"],z={class:"hero-image-secondary"},K=["src"],X={class:"values-section"},Y={class:"page-shell"},$={class:"row q-col-gutter-lg"},e2=["src","alt"],t2={class:"value-title"},s2={class:"value-text"},a2={class:"journey-section"},o2={class:"page-shell"},i2={class:"row q-col-gutter-lg"},l2=["src","alt"],n2={class:"step-number"},c2={class:"step-title"},r2={class:"step-text"},d2={class:"team-section"},m2={class:"page-shell"},g2={class:"row q-col-gutter-lg"},u2=["src","alt"],p2={class:"team-content"},h2={class:"team-name"},_2={class:"team-role"},C2=C({__name:"AboutUsPage",setup(v2){const u=[{value:"25k+",label:"patients supported every year"},{value:"98%",label:"patient satisfaction score"},{value:"40+",label:"specialists across key disciplines"}],p=[{icon:P,title:"Clear medical guidance",text:"We explain options, next steps, and tradeoffs in language patients can act on."},{icon:I,title:"Coordinated treatment",text:"Primary care, specialist input, and follow-up planning stay connected end to end."},{icon:Z,title:"Prevention first",text:"We focus on early detection and continuity, not only on treating symptoms."}],h=[{number:"01",title:"Book and prepare",text:"Schedule quickly and arrive with the right context already shared with the care team.",image:j},{number:"02",title:"Assess and listen",text:"Every consultation starts with careful listening and a structured clinical review.",image:F},{number:"03",title:"Plan the treatment",text:"We define a practical treatment path with timelines, referrals, and measurable goals.",image:A},{number:"04",title:"Follow through",text:"Ongoing monitoring helps patients stay informed, supported, and on track.",image:D}],_=[{name:"Dr. Amelia Carter",role:"Internal Medicine",image:H},{name:"Dr. Julian Meyer",role:"Cardiology",image:w},{name:"Dr. Sofia Bennett",role:"Pediatrics",image:b},{name:"Dr. Ethan Rossi",role:"Preventive Care",image:k}];return(f2,s)=>(l(),v(f,{class:"about-page"},{default:i(()=>[a(V),e("section",W,[e("div",q,[e("div",L,[e("div",Q,[e("div",S,[s[0]||(s[0]=e("div",{class:"eyebrow"},"About Omnimed",-1)),s[1]||(s[1]=e("h1",{class:"hero-title"},"Healthcare built around clarity, empathy, and outcomes",-1)),s[2]||(s[2]=e("p",{class:"hero-text"}," We combine medical excellence with a human approach, designing every visit around trust, prevention, and long-term wellbeing. ",-1)),e("div",O,[a(m,{unelevated:"",rounded:"","no-caps":"",color:"primary",label:"Book a consultation"}),a(m,{outline:"",rounded:"","no-caps":"",color:"primary",label:"Meet our team"})]),e("div",U,[(l(),c(r,null,d(u,t=>a(n,{key:t.label,flat:"",class:"stat-card"},{default:i(()=>[e("div",E,o(t.value),1),e("div",N,o(t.label),1)]),_:2},1024)),64))])])]),e("div",T,[e("div",G,[e("div",J,[e("img",{src:g(B),alt:"Medical consultation"},null,8,R)]),e("div",z,[e("img",{src:g(M),alt:"Clinical care team"},null,8,K)]),a(n,{flat:"",class:"floating-summary"},{default:i(()=>[...s[3]||(s[3]=[e("div",{class:"floating-summary-value"},"15+ years",-1),e("div",{class:"floating-summary-label"},"of integrated patient care",-1)])]),_:1})])])])])]),e("section",X,[e("div",Y,[s[4]||(s[4]=e("div",{class:"section-heading"},[e("div",{class:"section-kicker"},"What drives us"),e("h2",{class:"section-title"},"A modern clinic with standards patients can feel"),e("p",{class:"section-text"}," Our model is simple: faster access, clearer communication, coordinated care, and decisions guided by evidence. ")],-1)),e("div",$,[(l(),c(r,null,d(p,t=>e("div",{key:t.title,class:"col-12 col-md-4"},[a(n,{flat:"",class:"value-card"},{default:i(()=>[e("img",{class:"value-icon",src:t.icon,alt:t.title},null,8,e2),e("h3",t2,o(t.title),1),e("p",s2,o(t.text),1)]),_:2},1024)])),64))])])]),e("section",a2,[e("div",o2,[s[5]||(s[5]=e("div",{class:"section-heading align-center"},[e("div",{class:"section-kicker"},"How we work"),e("h2",{class:"section-title"},"A care journey designed to reduce friction")],-1)),e("div",i2,[(l(),c(r,null,d(h,t=>e("div",{key:t.title,class:"col-12 col-sm-6 col-lg-3"},[a(n,{flat:"",class:"step-card"},{default:i(()=>[e("img",{class:"step-image",src:t.image,alt:t.title},null,8,l2),e("div",n2,o(t.number),1),e("h3",c2,o(t.title),1),e("p",r2,o(t.text),1)]),_:2},1024)])),64))])])]),e("section",d2,[e("div",m2,[s[6]||(s[6]=e("div",{class:"section-heading"},[e("div",{class:"section-kicker"},"Our people"),e("h2",{class:"section-title"},"Specialists who bring confidence to every appointment")],-1)),e("div",g2,[(l(),c(r,null,d(_,t=>e("div",{key:t.name,class:"col-12 col-sm-6 col-lg-3"},[a(n,{flat:"",class:"team-card"},{default:i(()=>[e("img",{class:"team-image",src:t.image,alt:t.name},null,8,u2),e("div",p2,[e("div",h2,o(t.name),1),e("div",_2,o(t.role),1)])]),_:2},1024)])),64))])])]),a(y)]),_:1}))}}),I2=x(C2,[["__scopeId","data-v-75f77401"]]);export{I2 as default}; diff --git a/backend/internal/http/static/spa/assets/AboutUsPage-Bwj-ymKd.js b/backend/internal/http/static/spa/assets/AboutUsPage-Bwj-ymKd.js deleted file mode 100644 index 0d17a22..0000000 --- a/backend/internal/http/static/spa/assets/AboutUsPage-Bwj-ymKd.js +++ /dev/null @@ -1 +0,0 @@ -import{a as C,h as l,i as v,j as i,k as a,m as e,Q as m,q as c,F as r,G as d,E as n,t as o,H as g}from"./index-B9vdjdfJ.js";import{Q as f}from"./QPage-D3501MqH.js";import{H as V,a as y}from"./HomeHeader-F2sD99DF.js";import{t as H}from"./team-1-CMaNLVo5.js";import{t as w,a as b,b as k}from"./team-4-BDlfXLz_.js";import{_ as x}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./QTooltip-D2MBGu_Z.js";import"./position-engine-CFuXolvx.js";import"./selection-HrszS3Ie.js";import"./QToolbar-k3h3juC8.js";const B="/assets/about-img-1-Bg9mkIhK.jpg",M="/assets/about-img-2-BboiNeez.jpg",P="data:image/svg+xml,%3csvg%20width='34'%20height='34'%20viewBox='0%200%2034%2034'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_91_178)'%3e%3cpath%20d='M14.5006%200.247498H2.05201C0.920734%200.247498%200%201.16824%200%202.2995V6.78527C0%207.91653%200.920734%208.83727%202.05201%208.83727H2.22922V27.7051C2.22922%2031.0396%204.94213%2033.7525%208.27664%2033.7525C11.6111%2033.7525%2014.3234%2031.0396%2014.3234%2027.7051V8.83727H14.5006C15.6319%208.83727%2016.5526%207.91654%2016.5526%206.78527V2.2995C16.5526%201.16824%2015.6319%200.247498%2014.5006%200.247498ZM13.3001%2027.7051C13.3001%2030.4753%2011.0469%2032.7291%208.27665%2032.7291C5.50644%2032.7291%203.25257%2030.4753%203.25257%2027.7051V8.83727H13.3001V27.7051ZM15.5293%206.78527C15.5293%207.35223%2015.0676%207.81394%2014.5006%207.81394C12.1761%207.81394%206.51387%207.81394%202.05201%207.81394C1.48504%207.81394%201.02334%207.35224%201.02334%206.78527V2.2995C1.02334%201.73254%201.48503%201.27083%202.05201%201.27083H2.45441V3.25688C2.45441%203.53936%202.6836%203.76855%202.96608%203.76855C3.24857%203.76855%203.47775%203.53936%203.47775%203.25688V1.27083H5.10936V6.16367C5.10936%206.44615%205.33855%206.67534%205.62104%206.67534C5.90352%206.67534%206.13271%206.44616%206.13271%206.16367V1.27083H7.76498V3.25688C7.76498%203.53936%207.99416%203.76855%208.27666%203.76855C8.55915%203.76855%208.78833%203.53936%208.78833%203.25688V1.27083H10.4199V6.16367C10.4199%206.44615%2010.6491%206.67534%2010.9316%206.67534C11.2141%206.67534%2011.4433%206.44616%2011.4433%206.16367V1.27083H13.0749V3.25688C13.0749%203.53936%2013.3041%203.76855%2013.5866%203.76855C13.869%203.76855%2014.0982%203.53936%2014.0982%203.25688V1.27083H14.5006C15.0676%201.27083%2015.5293%201.73253%2015.5293%202.2995L15.5293%206.78527Z'%20fill='%234753BF'/%3e%3cpath%20d='M6.63637%2026.0995H9.91625C10.8423%2026.0995%2011.5952%2025.3466%2011.5952%2024.4205V14.3457C11.5952%2013.4197%2010.8423%2012.6668%209.91625%2012.6668H6.63637C5.7103%2012.6668%204.95746%2013.4197%204.95746%2014.3457V24.4205C4.95746%2025.3466%205.7103%2026.0995%206.63637%2026.0995ZM5.98079%2014.3457C5.98079%2013.984%206.2746%2013.6901%206.63637%2013.6901H9.91625C10.278%2013.6901%2010.5718%2013.984%2010.5718%2014.3457V24.4205C10.5718%2024.7823%2010.278%2025.0761%209.91625%2025.0761H6.63637C6.2746%2025.0761%205.98079%2024.7823%205.98079%2024.4205V14.3457Z'%20fill='%234753BF'/%3e%3cpath%20d='M31.9487%200.247498H19.5001C18.3688%200.247498%2017.4481%201.16823%2017.4481%202.2995V6.78527C17.4481%207.91653%2018.3688%208.83727%2019.5001%208.83727H19.6773V27.7051C19.6773%2031.0396%2022.3895%2033.7525%2025.724%2033.7525C29.0585%2033.7525%2031.7715%2031.0396%2031.7715%2027.7051V8.83727H31.9487C33.0799%208.83727%2034%207.91654%2034%206.78527V2.2995C34%201.16824%2033.0799%200.247498%2031.9487%200.247498ZM30.7481%2027.7051C30.7481%2030.4753%2028.4942%2032.7291%2025.724%2032.7291C22.9538%2032.7291%2020.7006%2030.4753%2020.7006%2027.7051V8.83727H30.7481V27.7051ZM32.9767%206.78527C32.9767%207.35223%2032.5156%207.81394%2031.9487%207.81394C28.3074%207.81394%2025.6975%207.81394%2019.5001%207.81394C18.9331%207.81394%2018.4714%207.35224%2018.4714%206.78527V2.2995C18.4714%201.73254%2018.9331%201.27083%2019.5001%201.27083H19.9018V3.25688C19.9018%203.53936%2020.131%203.76855%2020.4135%203.76855C20.696%203.76855%2020.9251%203.53936%2020.9251%203.25688V1.27083H22.5574V6.16367C22.5574%206.44615%2022.7866%206.67534%2023.0691%206.67534C23.3516%206.67534%2023.5808%206.44616%2023.5808%206.16367V1.27083H25.2124V3.25688C25.2124%203.53936%2025.4416%203.76855%2025.724%203.76855C26.0065%203.76855%2026.2357%203.53936%2026.2357%203.25688V1.27083H27.868V6.16367C27.868%206.44615%2028.0972%206.67534%2028.3796%206.67534C28.6621%206.67534%2028.8913%206.44616%2028.8913%206.16367V1.27083H30.5229V3.25688C30.5229%203.53936%2030.7521%203.76855%2031.0346%203.76855C31.3171%203.76855%2031.5463%203.53936%2031.5463%203.25688V1.27083H31.9487C32.5156%201.27083%2032.9767%201.73253%2032.9767%202.2995L32.9767%206.78527Z'%20fill='%234753BF'/%3e%3cpath%20d='M24.0844%2026.0995H27.3643C28.2904%2026.0995%2029.0432%2025.3466%2029.0432%2024.4205V14.3457C29.0432%2013.4197%2028.2904%2012.6668%2027.3643%2012.6668H24.0844C23.1584%2012.6668%2022.4055%2013.4197%2022.4055%2014.3457V24.4205C22.4055%2025.3466%2023.1584%2026.0995%2024.0844%2026.0995ZM23.4289%2014.3457C23.4289%2013.984%2023.7227%2013.6901%2024.0844%2013.6901H27.3643C27.7261%2013.6901%2028.0199%2013.984%2028.0199%2014.3457V24.4205C28.0199%2024.7823%2027.7261%2025.0761%2027.3643%2025.0761H24.0844C23.7227%2025.0761%2023.4289%2024.7823%2023.4289%2024.4205V14.3457Z'%20fill='%234753BF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_91_178'%3e%3crect%20width='34'%20height='34'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",I="/assets/icon-about-info-2-xhkDUeRt.svg",Z="/assets/icon-about-info-3-DWJgo5gs.svg",j="/assets/work-step-img-1-BTXGLo3T.jpg",F="/assets/work-step-img-2-BmLBMPhT.jpg",A="/assets/work-step-img-3-B1BPr4WH.jpg",D="/assets/work-step-img-4-BbeUh9vy.jpg",W={class:"hero-section"},q={class:"page-shell"},L={class:"row items-center q-col-gutter-xl"},Q={class:"col-12 col-lg-6"},S={class:"hero-copy"},E={class:"hero-actions"},O={class:"stats-row"},U={class:"stat-value"},N={class:"stat-label"},T={class:"col-12 col-lg-6"},G={class:"hero-visual"},J={class:"hero-image-main"},R=["src"],z={class:"hero-image-secondary"},K=["src"],X={class:"values-section"},Y={class:"page-shell"},$={class:"row q-col-gutter-lg"},e2=["src","alt"],t2={class:"value-title"},s2={class:"value-text"},a2={class:"journey-section"},o2={class:"page-shell"},i2={class:"row q-col-gutter-lg"},l2=["src","alt"],n2={class:"step-number"},c2={class:"step-title"},r2={class:"step-text"},d2={class:"team-section"},m2={class:"page-shell"},g2={class:"row q-col-gutter-lg"},u2=["src","alt"],p2={class:"team-content"},h2={class:"team-name"},_2={class:"team-role"},C2=C({__name:"AboutUsPage",setup(v2){const u=[{value:"25k+",label:"patients supported every year"},{value:"98%",label:"patient satisfaction score"},{value:"40+",label:"specialists across key disciplines"}],p=[{icon:P,title:"Clear medical guidance",text:"We explain options, next steps, and tradeoffs in language patients can act on."},{icon:I,title:"Coordinated treatment",text:"Primary care, specialist input, and follow-up planning stay connected end to end."},{icon:Z,title:"Prevention first",text:"We focus on early detection and continuity, not only on treating symptoms."}],h=[{number:"01",title:"Book and prepare",text:"Schedule quickly and arrive with the right context already shared with the care team.",image:j},{number:"02",title:"Assess and listen",text:"Every consultation starts with careful listening and a structured clinical review.",image:F},{number:"03",title:"Plan the treatment",text:"We define a practical treatment path with timelines, referrals, and measurable goals.",image:A},{number:"04",title:"Follow through",text:"Ongoing monitoring helps patients stay informed, supported, and on track.",image:D}],_=[{name:"Dr. Amelia Carter",role:"Internal Medicine",image:H},{name:"Dr. Julian Meyer",role:"Cardiology",image:w},{name:"Dr. Sofia Bennett",role:"Pediatrics",image:b},{name:"Dr. Ethan Rossi",role:"Preventive Care",image:k}];return(f2,s)=>(l(),v(f,{class:"about-page"},{default:i(()=>[a(V),e("section",W,[e("div",q,[e("div",L,[e("div",Q,[e("div",S,[s[0]||(s[0]=e("div",{class:"eyebrow"},"About Omnimed",-1)),s[1]||(s[1]=e("h1",{class:"hero-title"},"Healthcare built around clarity, empathy, and outcomes",-1)),s[2]||(s[2]=e("p",{class:"hero-text"}," We combine medical excellence with a human approach, designing every visit around trust, prevention, and long-term wellbeing. ",-1)),e("div",E,[a(m,{unelevated:"",rounded:"","no-caps":"",color:"primary",label:"Book a consultation"}),a(m,{outline:"",rounded:"","no-caps":"",color:"primary",label:"Meet our team"})]),e("div",O,[(l(),c(r,null,d(u,t=>a(n,{key:t.label,flat:"",class:"stat-card"},{default:i(()=>[e("div",U,o(t.value),1),e("div",N,o(t.label),1)]),_:2},1024)),64))])])]),e("div",T,[e("div",G,[e("div",J,[e("img",{src:g(B),alt:"Medical consultation"},null,8,R)]),e("div",z,[e("img",{src:g(M),alt:"Clinical care team"},null,8,K)]),a(n,{flat:"",class:"floating-summary"},{default:i(()=>[...s[3]||(s[3]=[e("div",{class:"floating-summary-value"},"15+ years",-1),e("div",{class:"floating-summary-label"},"of integrated patient care",-1)])]),_:1})])])])])]),e("section",X,[e("div",Y,[s[4]||(s[4]=e("div",{class:"section-heading"},[e("div",{class:"section-kicker"},"What drives us"),e("h2",{class:"section-title"},"A modern clinic with standards patients can feel"),e("p",{class:"section-text"}," Our model is simple: faster access, clearer communication, coordinated care, and decisions guided by evidence. ")],-1)),e("div",$,[(l(),c(r,null,d(p,t=>e("div",{key:t.title,class:"col-12 col-md-4"},[a(n,{flat:"",class:"value-card"},{default:i(()=>[e("img",{class:"value-icon",src:t.icon,alt:t.title},null,8,e2),e("h3",t2,o(t.title),1),e("p",s2,o(t.text),1)]),_:2},1024)])),64))])])]),e("section",a2,[e("div",o2,[s[5]||(s[5]=e("div",{class:"section-heading align-center"},[e("div",{class:"section-kicker"},"How we work"),e("h2",{class:"section-title"},"A care journey designed to reduce friction")],-1)),e("div",i2,[(l(),c(r,null,d(h,t=>e("div",{key:t.title,class:"col-12 col-sm-6 col-lg-3"},[a(n,{flat:"",class:"step-card"},{default:i(()=>[e("img",{class:"step-image",src:t.image,alt:t.title},null,8,l2),e("div",n2,o(t.number),1),e("h3",c2,o(t.title),1),e("p",r2,o(t.text),1)]),_:2},1024)])),64))])])]),e("section",d2,[e("div",m2,[s[6]||(s[6]=e("div",{class:"section-heading"},[e("div",{class:"section-kicker"},"Our people"),e("h2",{class:"section-title"},"Specialists who bring confidence to every appointment")],-1)),e("div",g2,[(l(),c(r,null,d(_,t=>e("div",{key:t.name,class:"col-12 col-sm-6 col-lg-3"},[a(n,{flat:"",class:"team-card"},{default:i(()=>[e("img",{class:"team-image",src:t.image,alt:t.name},null,8,u2),e("div",p2,[e("div",h2,o(t.name),1),e("div",_2,o(t.role),1)])]),_:2},1024)])),64))])])]),a(y)]),_:1}))}}),I2=x(C2,[["__scopeId","data-v-75f77401"]]);export{I2 as default}; diff --git a/backend/internal/http/static/spa/assets/AdminLayout-e_bAwum9.js b/backend/internal/http/static/spa/assets/AdminLayout-DN9f9DOf.js similarity index 70% rename from backend/internal/http/static/spa/assets/AdminLayout-e_bAwum9.js rename to backend/internal/http/static/spa/assets/AdminLayout-DN9f9DOf.js index 7be5d99..b54e0df 100644 --- a/backend/internal/http/static/spa/assets/AdminLayout-e_bAwum9.js +++ b/backend/internal/http/static/spa/assets/AdminLayout-DN9f9DOf.js @@ -1 +1 @@ -import{a as v,u as Q,g as b,h as k,i as g,j as e,k as a,Q as w,H as o,n as u,t as n,m as x,x as i,C}from"./index-B9vdjdfJ.js";import{Q as L,a as V,b as D,c as I}from"./QLayout-BeBUeNGB.js";import{Q as T}from"./QToolbar-k3h3juC8.js";import{b as r,Q as f,a as l}from"./format-BipdGd1G.js";import{Q as h}from"./QResizeObserver-CyV47ipF.js";import{Q as B}from"./QDrawer-BR2j4Akr.js";import"./touch-BjYP5sR0.js";import"./selection-HrszS3Ie.js";const F=v({__name:"AdminLayout",setup(y){const{t}=Q(),d=C(!1);function m(){d.value=!d.value}return(p,s)=>{const _=b("router-view");return k(),g(I,{view:"lHh Lpr lFf"},{default:e(()=>[a(L,{elevated:""},{default:e(()=>[a(T,null,{default:e(()=>[a(w,{flat:"",dense:"",round:"",icon:"menu","aria-label":o(t)("app.menu"),onClick:m},null,8,["aria-label"]),a(V,null,{default:e(()=>[u(n(o(t)("app.title"))+" Admin",1)]),_:1}),x("div",null,"Quasar v"+n(p.$q.version),1)]),_:1})]),_:1}),a(B,{modelValue:d.value,"onUpdate:modelValue":s[0]||(s[0]=c=>d.value=c),"show-if-above":"",bordered:""},{default:e(()=>[a(h,null,{default:e(()=>[a(r,{header:""},{default:e(()=>[u(n(o(t)("app.links")),1)]),_:1}),a(f,{clickable:"",to:"/",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"home"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[u(n(o(t)("app.home")),1)]),_:1})]),_:1})]),_:1}),a(f,{clickable:"",to:"/dev/api/endpoints",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"api"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[u(n(o(t)("dev.apiEndpointsTester")),1)]),_:1})]),_:1})]),_:1}),a(f,{clickable:"",to:"/dev/api/mail-debug",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"mail"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[u(n(o(t)("dev.mailDebug")),1)]),_:1})]),_:1})]),_:1}),a(f,{clickable:"",to:"/admin/users",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"manage_accounts"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[...s[1]||(s[1]=[u("Users",-1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),a(D,null,{default:e(()=>[a(_)]),_:1})]),_:1})}}});export{F as default}; +import{a as v,u as Q,g as b,h as k,i as g,j as e,k as a,Q as w,n as o,p as u,t as n,m as x,y as i,D}from"./index-DAvBaevK.js";import{Q as L,a as V,b as C,c as I}from"./QLayout-DZVoSyXn.js";import{Q as T}from"./QToolbar-DdNWxglI.js";import{b as r,Q as f,a as l}from"./format-DaKpMo2W.js";import{Q as h}from"./QResizeObserver-CenQZ1Fm.js";import{Q as y}from"./QDrawer-1VLwP6kh.js";import"./touch-BjYP5sR0.js";import"./selection-DrSF90ET.js";const F=v({__name:"AdminLayout",setup(B){const{t}=Q(),d=D(!1);function m(){d.value=!d.value}return(p,s)=>{const _=b("router-view");return k(),g(I,{view:"lHh Lpr lFf"},{default:e(()=>[a(L,{elevated:""},{default:e(()=>[a(T,null,{default:e(()=>[a(w,{flat:"",dense:"",round:"",icon:"menu","aria-label":o(t)("app.menu"),onClick:m},null,8,["aria-label"]),a(V,null,{default:e(()=>[u(n(o(t)("app.title"))+" Admin",1)]),_:1}),x("div",null,"Quasar v"+n(p.$q.version),1)]),_:1})]),_:1}),a(y,{modelValue:d.value,"onUpdate:modelValue":s[0]||(s[0]=c=>d.value=c),"show-if-above":"",bordered:""},{default:e(()=>[a(h,null,{default:e(()=>[a(r,{header:""},{default:e(()=>[u(n(o(t)("app.links")),1)]),_:1}),a(f,{clickable:"",to:"/",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"home"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[u(n(o(t)("app.home")),1)]),_:1})]),_:1})]),_:1}),a(f,{clickable:"",to:"/dev/api/endpoints",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"api"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[u(n(o(t)("dev.apiEndpointsTester")),1)]),_:1})]),_:1})]),_:1}),a(f,{clickable:"",to:"/dev/api/mail-debug",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"mail"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[u(n(o(t)("dev.mailDebug")),1)]),_:1})]),_:1})]),_:1}),a(f,{clickable:"",to:"/admin/users",exact:""},{default:e(()=>[a(l,{avatar:""},{default:e(()=>[a(i,{name:"manage_accounts"})]),_:1}),a(l,null,{default:e(()=>[a(r,null,{default:e(()=>[...s[1]||(s[1]=[u("Users",-1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),a(C,null,{default:e(()=>[a(_)]),_:1})]),_:1})}}});export{F as default}; diff --git a/backend/internal/http/static/spa/assets/ApiEndpointsPage-C6oIckuV.js b/backend/internal/http/static/spa/assets/ApiEndpointsPage-JesCyaiy.js similarity index 79% rename from backend/internal/http/static/spa/assets/ApiEndpointsPage-C6oIckuV.js rename to backend/internal/http/static/spa/assets/ApiEndpointsPage-JesCyaiy.js index a0eaa28..dc6b365 100644 --- a/backend/internal/http/static/spa/assets/ApiEndpointsPage-C6oIckuV.js +++ b/backend/internal/http/static/spa/assets/ApiEndpointsPage-JesCyaiy.js @@ -1 +1 @@ -import{Q as D}from"./QBadge-DHHd1R2R.js";import{a as I,h as n,i as S,j as o,m as s,n as x,q as p,F as E,G as O,k as r,E as N,a3 as h,t as i,s as C,J as V,a6 as Q,Q as T,a7 as J,v as L,K as U,C as y}from"./index-B9vdjdfJ.js";import{Q as B}from"./QPage-D3501MqH.js";import{C as A}from"./ClosePopup-B5ubkw_-.js";import{f as F,b as M,l as $,c as q,d as j,m as H,a as W,h as X,r as Y}from"./api-RGUeM09o.js";import{_ as Z}from"./_plugin-vue_export-helper-DlAUqK2U.js";const K={class:"page-shell"},ee={class:"cards-grid"},ae={class:"head-main"},te={class:"text-h6"},se={class:"text-caption text-grey-7"},le={key:0,class:"no-fields"},re={key:1,class:"field-grid"},oe={class:"text-h6"},ne={class:"text-caption"},ie={class:"result-block"},de={class:"result-block"},ue=I({__name:"ApiEndpointsPage",setup(pe){const g=[{key:"forgotPassword",name:"forgotPassword",method:"POST",path:"/auth/password/forgot",signature:"Typescript: TSEndpoint= path=/auth/password/forgot; name=forgotPassword; method=POST",fields:[{key:"email",label:"Email",type:"text",placeholder:"user@example.com"}],defaults:{email:""},call:e=>F(e),buildPayload:e=>({email:String(e.email??"")})},{key:"metrics",name:"metrics",method:"GET",path:"/metrics",signature:"Typescript: TSEndpoint= path=/metrics; name=metrics; method=GET",fields:[],defaults:{},call:()=>M(),buildPayload:()=>null},{key:"login",name:"login",method:"POST",path:"/auth/login",signature:"Typescript: TSEndpoint= path=/auth/login; name=login; method=POST",fields:[{key:"username",label:"Username",type:"text",placeholder:"utente"},{key:"password",label:"Password",type:"password",placeholder:"********"}],defaults:{username:"",password:""},call:e=>$(e),buildPayload:e=>({username:String(e.username??""),password:String(e.password??"")})},{key:"refresh",name:"refresh",method:"POST",path:"/auth/refresh",signature:"Typescript: TSEndpoint= path=/auth/refresh; name=refresh; method=POST",fields:[{key:"refresh_token",label:"Refresh token",type:"textarea",hint:"Incolla il token completo"}],defaults:{refresh_token:""},call:e=>q(e),buildPayload:e=>({refresh_token:String(e.refresh_token??"")})},{key:"listUsers",name:"listUsers",method:"POST",path:"/admin/users",signature:"Typescript: TSEndpoint= path=/admin/users; name=listUsers; method=POST",fields:[{key:"page",label:"Page",type:"number",placeholder:"1"},{key:"pageSize",label:"Page size",type:"number",placeholder:"10"}],defaults:{page:1,pageSize:10},call:e=>j(e),buildPayload:e=>({page:Number(e.page??1),pageSize:Number(e.pageSize??10)})},{key:"me",name:"me",method:"GET",path:"/auth/me",signature:"Typescript: TSEndpoint= path=/auth/me; name=me; method=GET",fields:[],defaults:{},call:()=>H(),buildPayload:()=>null},{key:"resetPassword",name:"resetPassword",method:"POST",path:"/auth/password/reset",signature:"Typescript: TSEndpoint= path=/auth/password/reset; name=resetPassword; method=POST",fields:[{key:"token",label:"Token",type:"textarea"},{key:"password",label:"Nuova password",type:"password"}],defaults:{token:"",password:""},call:e=>W(e),buildPayload:e=>({token:String(e.token??""),password:String(e.password??"")})},{key:"health",name:"health",method:"GET",path:"/health",signature:"Typescript: TSEndpoint= path=/health; name=health; method=GET",fields:[],defaults:{},call:()=>X(),buildPayload:()=>null},{key:"register",name:"register",method:"POST",path:"/auth/register",signature:"Typescript: TSEndpoint= path=/auth/register; name=register; method=POST",fields:[{key:"name",label:"Name",type:"text"},{key:"email",label:"Email",type:"text"},{key:"password",label:"Password",type:"password"},{key:"roles",label:"Roles (comma separated)",type:"text",placeholder:"admin,editor"},{key:"status",label:"Status",type:"text",placeholder:"pending | active | disabled"},{key:"types",label:"Types (comma separated)",type:"text",placeholder:"internal,staff"},{key:"avatar",label:"Avatar URL",type:"text"},{key:"details",label:"Details JSON",type:"textarea",hint:"Lascia vuoto per null",placeholder:'{"title":"Sig.","firstName":"Mario","lastName":"Rossi","address":"Via Roma 1","city":"Roma","zipCode":"00100","country":"IT","phone":"+39..."}'},{key:"preferences",label:"Preferences JSON",type:"textarea",hint:"Lascia vuoto per null",placeholder:'{"useIdle":true,"idleTimeout":15,"useIdlePassword":false,"idlePin":"","useDirectLogin":true,"useQuadcodeLogin":false,"sendNoticesMail":true,"language":"it"}'}],defaults:{name:"",email:"",password:"",roles:"user",status:"pending",types:"default",avatar:"",details:"",preferences:""},call:e=>Y(e),buildPayload:e=>({name:String(e.name??""),email:String(e.email??""),password:String(e.password??""),roles:_(String(e.roles??"")),status:String(e.status??"pending"),types:_(String(e.types??"")),avatar:R(String(e.avatar??"")),details:w(String(e.details??"")),preferences:w(String(e.preferences??""))})}],d=U({}),c=U({});for(const e of g)d[e.key]={...e.defaults},c[e.key]=!1;const f=y(!1),m=y({name:"",method:"",path:""}),P=y(null),k=y(null);function _(e){return e.split(",").map(t=>t.trim()).filter(t=>t.length>0)}function R(e){return e.trim()===""?null:e}function w(e){if(e.trim()==="")return null;try{return JSON.parse(e)}catch{return{_raw:e}}}function z(e){const t=g.find(a=>a.key===e);t&&(d[e]={...t.defaults})}function u(e){return d[e]||(d[e]={}),d[e]}async function G(e){c[e.key]=!0;const t=e.buildPayload(u(e.key));m.value={name:e.name,method:e.method,path:e.path},P.value=t;try{const a=await e.call(t);k.value=a}catch(a){k.value={error:a instanceof Error?a.message:String(a)}}finally{c[e.key]=!1,f.value=!0}}function v(e){if(typeof e=="string")return e;try{return JSON.stringify(e,null,2)}catch{return String(e)}}return(e,t)=>(n(),S(B,{class:"api-tester-page"},{default:o(()=>[s("div",K,[t[1]||(t[1]=s("header",{class:"page-header"},[s("p",{class:"eyebrow"},"Developer tools"),s("h1",null,"API Endpoints Tester"),s("p",{class:"subtitle"},[x(" Lista endpoint generata da "),s("strong",null,"src/api/api.ts"),x(" con form payload, esecuzione rapida e risposta formattata. ")])],-1)),s("section",ee,[(n(),p(E,null,O(g,a=>r(N,{key:a.key,flat:"",bordered:"",class:"endpoint-card"},{default:o(()=>[r(h,{class:"card-head"},{default:o(()=>[s("div",ae,[r(D,{color:a.method==="GET"?"positive":"primary","text-color":"white",label:a.method},null,8,["color","label"]),s("code",null,i(a.path),1)]),s("div",te,i(a.name),1),s("div",se,i(a.signature),1)]),_:2},1024),r(C),r(h,{class:"card-body"},{default:o(()=>[a.fields.length===0?(n(),p("div",le," Nessun dato richiesto da questo endpoint. ")):(n(),p("div",re,[(n(!0),p(E,null,O(a.fields,l=>(n(),p("div",{key:`${a.key}-${l.key}`,class:"field-item"},[l.type!=="number"?(n(),S(V,{key:0,modelValue:u(a.key)[l.key],"onUpdate:modelValue":b=>u(a.key)[l.key]=b,label:l.label,type:l.type,hint:l.hint,placeholder:l.placeholder,dense:"",outlined:"",autogrow:""},null,8,["modelValue","onUpdate:modelValue","label","type","hint","placeholder"])):(n(),S(V,{key:1,modelValue:u(a.key)[l.key],"onUpdate:modelValue":b=>u(a.key)[l.key]=b,modelModifiers:{number:!0},label:l.label,type:"number",hint:l.hint,placeholder:l.placeholder,dense:"",outlined:""},null,8,["modelValue","onUpdate:modelValue","label","hint","placeholder"]))]))),128))]))]),_:2},1024),r(Q,{align:"between",class:"card-actions"},{default:o(()=>[r(T,{flat:"",color:"secondary",icon:"restart_alt",label:"Reset",onClick:l=>z(a.key)},null,8,["onClick"]),r(T,{color:"accent",icon:"play_arrow",label:"Test",loading:c[a.key],onClick:l=>G(a)},null,8,["loading","onClick"])]),_:2},1024)]),_:2},1024)),64))])]),r(J,{modelValue:f.value,"onUpdate:modelValue":t[0]||(t[0]=a=>f.value=a),maximized:""},{default:o(()=>[r(N,{class:"result-card"},{default:o(()=>[r(h,{class:"result-header"},{default:o(()=>[t[2]||(t[2]=s("div",{class:"text-overline"},"Risultato endpoint",-1)),s("div",oe,i(m.value.name),1),s("div",ne,i(m.value.method)+" "+i(m.value.path),1)]),_:1}),r(C),r(h,{class:"result-body"},{default:o(()=>[s("div",ie,[t[3]||(t[3]=s("h3",null,"Payload inviato",-1)),s("pre",null,i(v(P.value)),1)]),s("div",de,[t[4]||(t[4]=s("h3",null,"Risposta",-1)),s("pre",null,i(v(k.value)),1)])]),_:1}),r(Q,{align:"right"},{default:o(()=>[L(r(T,{flat:"",color:"primary",label:"Chiudi"},null,512),[[A]])]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}))}}),ke=Z(ue,[["__scopeId","data-v-a5a44d8d"]]);export{ke as default}; +import{Q as G}from"./QBadge-2h1D8yZx.js";import{a as I,h as n,i as S,j as o,m as s,p as x,s as u,G as E,H as O,k as r,F as N,a3 as h,t as i,v as V,J as C,a6 as Q,Q as T,a7 as J,x as L,K as U,D as y}from"./index-DAvBaevK.js";import{Q as B}from"./QPage-B68JuyjH.js";import{C as A}from"./ClosePopup-DV5_zFD6.js";import{f as F,b as M,l as $,c as j,d as q,m as H,a as W,h as X,r as Y}from"./api-RGUeM09o.js";import{_ as Z}from"./_plugin-vue_export-helper-DlAUqK2U.js";const K={class:"page-shell"},ee={class:"cards-grid"},ae={class:"head-main"},te={class:"text-h6"},se={class:"text-caption text-grey-7"},le={key:0,class:"no-fields"},re={key:1,class:"field-grid"},oe={class:"text-h6"},ne={class:"text-caption"},ie={class:"result-block"},de={class:"result-block"},pe=I({__name:"ApiEndpointsPage",setup(ue){const g=[{key:"forgotPassword",name:"forgotPassword",method:"POST",path:"/auth/password/forgot",signature:"Typescript: TSEndpoint= path=/auth/password/forgot; name=forgotPassword; method=POST",fields:[{key:"email",label:"Email",type:"text",placeholder:"user@example.com"}],defaults:{email:""},call:e=>F(e),buildPayload:e=>({email:String(e.email??"")})},{key:"metrics",name:"metrics",method:"GET",path:"/metrics",signature:"Typescript: TSEndpoint= path=/metrics; name=metrics; method=GET",fields:[],defaults:{},call:()=>M(),buildPayload:()=>null},{key:"login",name:"login",method:"POST",path:"/auth/login",signature:"Typescript: TSEndpoint= path=/auth/login; name=login; method=POST",fields:[{key:"username",label:"Username",type:"text",placeholder:"utente"},{key:"password",label:"Password",type:"password",placeholder:"********"}],defaults:{username:"",password:""},call:e=>$(e),buildPayload:e=>({username:String(e.username??""),password:String(e.password??"")})},{key:"refresh",name:"refresh",method:"POST",path:"/auth/refresh",signature:"Typescript: TSEndpoint= path=/auth/refresh; name=refresh; method=POST",fields:[{key:"refresh_token",label:"Refresh token",type:"textarea",hint:"Incolla il token completo"}],defaults:{refresh_token:""},call:e=>j(e),buildPayload:e=>({refresh_token:String(e.refresh_token??"")})},{key:"listUsers",name:"listUsers",method:"POST",path:"/admin/users",signature:"Typescript: TSEndpoint= path=/admin/users; name=listUsers; method=POST",fields:[{key:"page",label:"Page",type:"number",placeholder:"1"},{key:"pageSize",label:"Page size",type:"number",placeholder:"10"}],defaults:{page:1,pageSize:10},call:e=>q(e),buildPayload:e=>({page:Number(e.page??1),pageSize:Number(e.pageSize??10)})},{key:"me",name:"me",method:"GET",path:"/auth/me",signature:"Typescript: TSEndpoint= path=/auth/me; name=me; method=GET",fields:[],defaults:{},call:()=>H(),buildPayload:()=>null},{key:"resetPassword",name:"resetPassword",method:"POST",path:"/auth/password/reset",signature:"Typescript: TSEndpoint= path=/auth/password/reset; name=resetPassword; method=POST",fields:[{key:"token",label:"Token",type:"textarea"},{key:"password",label:"Nuova password",type:"password"}],defaults:{token:"",password:""},call:e=>W(e),buildPayload:e=>({token:String(e.token??""),password:String(e.password??"")})},{key:"health",name:"health",method:"GET",path:"/health",signature:"Typescript: TSEndpoint= path=/health; name=health; method=GET",fields:[],defaults:{},call:()=>X(),buildPayload:()=>null},{key:"register",name:"register",method:"POST",path:"/auth/register",signature:"Typescript: TSEndpoint= path=/auth/register; name=register; method=POST",fields:[{key:"name",label:"Name",type:"text"},{key:"email",label:"Email",type:"text"},{key:"password",label:"Password",type:"password"},{key:"roles",label:"Roles (comma separated)",type:"text",placeholder:"admin,editor"},{key:"status",label:"Status",type:"text",placeholder:"pending | active | disabled"},{key:"types",label:"Types (comma separated)",type:"text",placeholder:"internal,staff"},{key:"avatar",label:"Avatar URL",type:"text"},{key:"details",label:"Details JSON",type:"textarea",hint:"Lascia vuoto per null",placeholder:'{"title":"Sig.","firstName":"Mario","lastName":"Rossi","address":"Via Roma 1","city":"Roma","zipCode":"00100","country":"IT","phone":"+39..."}'},{key:"preferences",label:"Preferences JSON",type:"textarea",hint:"Lascia vuoto per null",placeholder:'{"useIdle":true,"idleTimeout":15,"useIdlePassword":false,"idlePin":"","useDirectLogin":true,"useQuadcodeLogin":false,"sendNoticesMail":true,"language":"it"}'}],defaults:{name:"",email:"",password:"",roles:"user",status:"pending",types:"default",avatar:"",details:"",preferences:""},call:e=>Y(e),buildPayload:e=>({name:String(e.name??""),email:String(e.email??""),password:String(e.password??""),roles:_(String(e.roles??"")),status:String(e.status??"pending"),types:_(String(e.types??"")),avatar:R(String(e.avatar??"")),details:w(String(e.details??"")),preferences:w(String(e.preferences??""))})}],d=U({}),c=U({});for(const e of g)d[e.key]={...e.defaults},c[e.key]=!1;const f=y(!1),m=y({name:"",method:"",path:""}),P=y(null),k=y(null);function _(e){return e.split(",").map(t=>t.trim()).filter(t=>t.length>0)}function R(e){return e.trim()===""?null:e}function w(e){if(e.trim()==="")return null;try{return JSON.parse(e)}catch{return{_raw:e}}}function z(e){const t=g.find(a=>a.key===e);t&&(d[e]={...t.defaults})}function p(e){return d[e]||(d[e]={}),d[e]}async function D(e){c[e.key]=!0;const t=e.buildPayload(p(e.key));m.value={name:e.name,method:e.method,path:e.path},P.value=t;try{const a=await e.call(t);k.value=a}catch(a){k.value={error:a instanceof Error?a.message:String(a)}}finally{c[e.key]=!1,f.value=!0}}function v(e){if(typeof e=="string")return e;try{return JSON.stringify(e,null,2)}catch{return String(e)}}return(e,t)=>(n(),S(B,{class:"api-tester-page"},{default:o(()=>[s("div",K,[t[1]||(t[1]=s("header",{class:"page-header"},[s("p",{class:"eyebrow"},"Developer tools"),s("h1",null,"API Endpoints Tester"),s("p",{class:"subtitle"},[x(" Lista endpoint generata da "),s("strong",null,"src/api/api.ts"),x(" con form payload, esecuzione rapida e risposta formattata. ")])],-1)),s("section",ee,[(n(),u(E,null,O(g,a=>r(N,{key:a.key,flat:"",bordered:"",class:"endpoint-card"},{default:o(()=>[r(h,{class:"card-head"},{default:o(()=>[s("div",ae,[r(G,{color:a.method==="GET"?"positive":"primary","text-color":"white",label:a.method},null,8,["color","label"]),s("code",null,i(a.path),1)]),s("div",te,i(a.name),1),s("div",se,i(a.signature),1)]),_:2},1024),r(V),r(h,{class:"card-body"},{default:o(()=>[a.fields.length===0?(n(),u("div",le," Nessun dato richiesto da questo endpoint. ")):(n(),u("div",re,[(n(!0),u(E,null,O(a.fields,l=>(n(),u("div",{key:`${a.key}-${l.key}`,class:"field-item"},[l.type!=="number"?(n(),S(C,{key:0,modelValue:p(a.key)[l.key],"onUpdate:modelValue":b=>p(a.key)[l.key]=b,label:l.label,type:l.type,hint:l.hint,placeholder:l.placeholder,dense:"",outlined:"",autogrow:""},null,8,["modelValue","onUpdate:modelValue","label","type","hint","placeholder"])):(n(),S(C,{key:1,modelValue:p(a.key)[l.key],"onUpdate:modelValue":b=>p(a.key)[l.key]=b,modelModifiers:{number:!0},label:l.label,type:"number",hint:l.hint,placeholder:l.placeholder,dense:"",outlined:""},null,8,["modelValue","onUpdate:modelValue","label","hint","placeholder"]))]))),128))]))]),_:2},1024),r(Q,{align:"between",class:"card-actions"},{default:o(()=>[r(T,{flat:"",color:"secondary",icon:"restart_alt",label:"Reset",onClick:l=>z(a.key)},null,8,["onClick"]),r(T,{color:"accent",icon:"play_arrow",label:"Test",loading:c[a.key],onClick:l=>D(a)},null,8,["loading","onClick"])]),_:2},1024)]),_:2},1024)),64))])]),r(J,{modelValue:f.value,"onUpdate:modelValue":t[0]||(t[0]=a=>f.value=a),maximized:""},{default:o(()=>[r(N,{class:"result-card"},{default:o(()=>[r(h,{class:"result-header"},{default:o(()=>[t[2]||(t[2]=s("div",{class:"text-overline"},"Risultato endpoint",-1)),s("div",oe,i(m.value.name),1),s("div",ne,i(m.value.method)+" "+i(m.value.path),1)]),_:1}),r(V),r(h,{class:"result-body"},{default:o(()=>[s("div",ie,[t[3]||(t[3]=s("h3",null,"Payload inviato",-1)),s("pre",null,i(v(P.value)),1)]),s("div",de,[t[4]||(t[4]=s("h3",null,"Risposta",-1)),s("pre",null,i(v(k.value)),1)])]),_:1}),r(Q,{align:"right"},{default:o(()=>[L(r(T,{flat:"",color:"primary",label:"Chiudi"},null,512),[[A]])]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}))}}),ke=Z(pe,[["__scopeId","data-v-a5a44d8d"]]);export{ke as default}; diff --git a/backend/internal/http/static/spa/assets/ClosePopup-B5ubkw_-.js b/backend/internal/http/static/spa/assets/ClosePopup-DV5_zFD6.js similarity index 90% rename from backend/internal/http/static/spa/assets/ClosePopup-B5ubkw_-.js rename to backend/internal/http/static/spa/assets/ClosePopup-DV5_zFD6.js index 1fb78cc..60f2cfd 100644 --- a/backend/internal/http/static/spa/assets/ClosePopup-B5ubkw_-.js +++ b/backend/internal/http/static/spa/assets/ClosePopup-DV5_zFD6.js @@ -1 +1 @@ -import{a8 as s,aK as a,aW as d,aX as c}from"./index-B9vdjdfJ.js";function p(e){if(e===!1)return 0;if(e===!0||e===void 0)return 1;const t=parseInt(e,10);return isNaN(t)?0:t}const u=s({name:"close-popup",beforeMount(e,{value:t}){const o={depth:p(t),handler(r){o.depth!==0&&setTimeout(()=>{const n=d(e);n!==void 0&&c(n,r,o.depth)})},handlerKey(r){a(r,13)===!0&&o.handler(r)}};e.__qclosepopup=o,e.addEventListener("click",o.handler),e.addEventListener("keyup",o.handlerKey)},updated(e,{value:t,oldValue:o}){t!==o&&(e.__qclosepopup.depth=p(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}});export{u as C}; +import{a8 as s,aK as a,aW as d,aX as c}from"./index-DAvBaevK.js";function p(e){if(e===!1)return 0;if(e===!0||e===void 0)return 1;const t=parseInt(e,10);return isNaN(t)?0:t}const u=s({name:"close-popup",beforeMount(e,{value:t}){const o={depth:p(t),handler(r){o.depth!==0&&setTimeout(()=>{const n=d(e);n!==void 0&&c(n,r,o.depth)})},handlerKey(r){a(r,13)===!0&&o.handler(r)}};e.__qclosepopup=o,e.addEventListener("click",o.handler),e.addEventListener("keyup",o.handlerKey)},updated(e,{value:t,oldValue:o}){t!==o&&(e.__qclosepopup.depth=p(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}});export{u as C}; diff --git a/backend/internal/http/static/spa/assets/ContactUsPage-B3eNo5Fm.js b/backend/internal/http/static/spa/assets/ContactUsPage-B3eNo5Fm.js new file mode 100644 index 0000000..2031754 --- /dev/null +++ b/backend/internal/http/static/spa/assets/ContactUsPage-B3eNo5Fm.js @@ -0,0 +1 @@ +import{a as h,h as i,i as b,j as l,k as o,m as e,s as d,G as m,H as u,F as r,t as c,Q as p,p as v,I as _,J as n,K as k}from"./index-DAvBaevK.js";import{Q as x}from"./logo-DdmK5n0b.js";import{Q as y}from"./QForm-CgLsd63I.js";import{Q as V}from"./QPage-B68JuyjH.js";import{H as w,p as C,l as I,m as Q,f as U,i as E,w as F,a as H}from"./HomeHeader-oAwoUp8W.js";import{_ as P}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./position-engine-BHgB6lrx.js";import"./selection-DrSF90ET.js";import"./QToolbar-DdNWxglI.js";const B={class:"contact-section"},S={class:"page-shell"},W={class:"contact-layout"},z={class:"contact-info-panel"},q={class:"contact-info-list"},N=["src","alt"],R={class:"contact-card-title"},T={class:"contact-card-text"},A={class:"social-row"},G={class:"social-links"},L=["src","alt"],M={class:"form-grid"},j={class:"reach-section"},D={class:"page-shell"},J="https://maps.google.com/maps?q=403%20Port%20Washington%20Road%2C%20Canada&z=14&output=embed",K=h({__name:"ContactUsPage",setup(O){const s=k({name:"",email:"",phone:"",message:""}),f=[{title:"Contact details",text:"+01-787-582-568",icon:C},{title:"Address",text:"403, Port Washington Road, Canada",icon:I},{title:"Email us",text:"info@domain.com",icon:Q}],g=[{icon:U,label:"Facebook"},{icon:E,label:"Instagram"},{icon:F,label:"WhatsApp"}];return(X,t)=>(i(),b(V,{class:"contact-page"},{default:l(()=>[o(w),e("section",B,[e("div",S,[e("div",W,[e("div",z,[t[6]||(t[6]=e("div",{class:"section-kicker"},"Contact us",-1)),t[7]||(t[7]=e("h1",{class:"section-title"},"Reach out for questions, appointments, or support",-1)),t[8]||(t[8]=e("p",{class:"section-text"}," We take the time to understand your individual needs and goals, creating customized treatment plans to help you achieve optimal health and peace of mind. ",-1)),e("div",q,[(i(),d(m,null,u(f,a=>o(r,{key:a.title,flat:"",class:"contact-info-card"},{default:l(()=>[e("img",{class:"contact-icon",src:a.icon,alt:a.title},null,8,N),e("div",null,[e("div",R,c(a.title),1),e("div",T,c(a.text),1)])]),_:2},1024)),64))]),e("div",A,[t[5]||(t[5]=e("span",{class:"social-label"},"Follow us:",-1)),e("div",G,[(i(),d(m,null,u(g,a=>o(p,{key:a.label,round:"",flat:"",dense:"",class:"social-btn","aria-label":a.label},{default:l(()=>[o(x,null,{default:l(()=>[v(c(a.label),1)]),_:2},1024),e("img",{class:"social-icon",src:a.icon,alt:a.label},null,8,L)]),_:2},1032,["aria-label"])),64))])])]),o(r,{flat:"",class:"contact-form-card"},{default:l(()=>[t[9]||(t[9]=e("div",{class:"form-kicker"},"Contact form",-1)),t[10]||(t[10]=e("h2",{class:"form-title"},"Send us a message",-1)),t[11]||(t[11]=e("p",{class:"form-text"}," Share your question and our team will get back to you with the most relevant next step. ",-1)),o(y,{class:"contact-form",onSubmit:t[4]||(t[4]=_(()=>{},["prevent"]))},{default:l(()=>[o(n,{modelValue:s.name,"onUpdate:modelValue":t[0]||(t[0]=a=>s.name=a),outlined:"",label:"Full name",placeholder:"Enter your name"},null,8,["modelValue"]),e("div",M,[o(n,{modelValue:s.email,"onUpdate:modelValue":t[1]||(t[1]=a=>s.email=a),outlined:"",type:"email",label:"Email",placeholder:"Enter your email"},null,8,["modelValue"]),o(n,{modelValue:s.phone,"onUpdate:modelValue":t[2]||(t[2]=a=>s.phone=a),outlined:"",label:"Phone",placeholder:"Enter your number"},null,8,["modelValue"])]),o(n,{modelValue:s.message,"onUpdate:modelValue":t[3]||(t[3]=a=>s.message=a),outlined:"",autogrow:"",type:"textarea",label:"Message",placeholder:"Write message..."},null,8,["modelValue"]),o(p,{unelevated:"",rounded:"","no-caps":"",color:"primary",label:"Submit now",class:"submit-btn"})]),_:1})]),_:1})])])]),e("section",j,[e("div",D,[t[12]||(t[12]=e("div",{class:"reach-heading"},[e("div",{class:"section-kicker"},"How to reach us"),e("h2",{class:"section-title center"},"Get in touch with us"),e("p",{class:"section-text center"}," The goal of our clinic is to deliver compassionate care and exceptional medical services, including general consultations, specialized treatments, and preventive care. ")],-1)),o(r,{flat:"",class:"map-card"},{default:l(()=>[e("iframe",{class:"map-frame",src:J,title:"Clinic location map",loading:"lazy",referrerpolicy:"no-referrer-when-downgrade"})]),_:1})])]),o(H)]),_:1}))}}),ne=P(K,[["__scopeId","data-v-c049bad3"]]);export{ne as default}; diff --git a/backend/internal/http/static/spa/assets/ContactUsPage-CGgRgy8m.js b/backend/internal/http/static/spa/assets/ContactUsPage-CGgRgy8m.js deleted file mode 100644 index a91913c..0000000 --- a/backend/internal/http/static/spa/assets/ContactUsPage-CGgRgy8m.js +++ /dev/null @@ -1 +0,0 @@ -import{a as h,h as i,i as b,j as l,k as o,m as e,q as d,F as m,G as u,E as r,t as c,Q as p,n as v,I as _,J as n,K as k}from"./index-B9vdjdfJ.js";import{Q as x}from"./QTooltip-D2MBGu_Z.js";import{Q as y}from"./QForm-uiBLv4qC.js";import{Q as V}from"./QPage-D3501MqH.js";import{H as w,p as C,l as I,m as Q,f as U,i as E,w as F,a as P}from"./HomeHeader-F2sD99DF.js";import{_ as B}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./position-engine-CFuXolvx.js";import"./selection-HrszS3Ie.js";import"./QToolbar-k3h3juC8.js";const H={class:"contact-section"},S={class:"page-shell"},W={class:"contact-layout"},q={class:"contact-info-panel"},z={class:"contact-info-list"},N=["src","alt"],R={class:"contact-card-title"},T={class:"contact-card-text"},A={class:"social-row"},G={class:"social-links"},L=["src","alt"],M={class:"form-grid"},j={class:"reach-section"},D={class:"page-shell"},J="https://maps.google.com/maps?q=403%20Port%20Washington%20Road%2C%20Canada&z=14&output=embed",K=h({__name:"ContactUsPage",setup(O){const s=k({name:"",email:"",phone:"",message:""}),f=[{title:"Contact details",text:"+01-787-582-568",icon:C},{title:"Address",text:"403, Port Washington Road, Canada",icon:I},{title:"Email us",text:"info@domain.com",icon:Q}],g=[{icon:U,label:"Facebook"},{icon:E,label:"Instagram"},{icon:F,label:"WhatsApp"}];return(X,t)=>(i(),b(V,{class:"contact-page"},{default:l(()=>[o(w),e("section",H,[e("div",S,[e("div",W,[e("div",q,[t[6]||(t[6]=e("div",{class:"section-kicker"},"Contact us",-1)),t[7]||(t[7]=e("h1",{class:"section-title"},"Reach out for questions, appointments, or support",-1)),t[8]||(t[8]=e("p",{class:"section-text"}," We take the time to understand your individual needs and goals, creating customized treatment plans to help you achieve optimal health and peace of mind. ",-1)),e("div",z,[(i(),d(m,null,u(f,a=>o(r,{key:a.title,flat:"",class:"contact-info-card"},{default:l(()=>[e("img",{class:"contact-icon",src:a.icon,alt:a.title},null,8,N),e("div",null,[e("div",R,c(a.title),1),e("div",T,c(a.text),1)])]),_:2},1024)),64))]),e("div",A,[t[5]||(t[5]=e("span",{class:"social-label"},"Follow us:",-1)),e("div",G,[(i(),d(m,null,u(g,a=>o(p,{key:a.label,round:"",flat:"",dense:"",class:"social-btn","aria-label":a.label},{default:l(()=>[o(x,null,{default:l(()=>[v(c(a.label),1)]),_:2},1024),e("img",{class:"social-icon",src:a.icon,alt:a.label},null,8,L)]),_:2},1032,["aria-label"])),64))])])]),o(r,{flat:"",class:"contact-form-card"},{default:l(()=>[t[9]||(t[9]=e("div",{class:"form-kicker"},"Contact form",-1)),t[10]||(t[10]=e("h2",{class:"form-title"},"Send us a message",-1)),t[11]||(t[11]=e("p",{class:"form-text"}," Share your question and our team will get back to you with the most relevant next step. ",-1)),o(y,{class:"contact-form",onSubmit:t[4]||(t[4]=_(()=>{},["prevent"]))},{default:l(()=>[o(n,{modelValue:s.name,"onUpdate:modelValue":t[0]||(t[0]=a=>s.name=a),outlined:"",label:"Full name",placeholder:"Enter your name"},null,8,["modelValue"]),e("div",M,[o(n,{modelValue:s.email,"onUpdate:modelValue":t[1]||(t[1]=a=>s.email=a),outlined:"",type:"email",label:"Email",placeholder:"Enter your email"},null,8,["modelValue"]),o(n,{modelValue:s.phone,"onUpdate:modelValue":t[2]||(t[2]=a=>s.phone=a),outlined:"",label:"Phone",placeholder:"Enter your number"},null,8,["modelValue"])]),o(n,{modelValue:s.message,"onUpdate:modelValue":t[3]||(t[3]=a=>s.message=a),outlined:"",autogrow:"",type:"textarea",label:"Message",placeholder:"Write message..."},null,8,["modelValue"]),o(p,{unelevated:"",rounded:"","no-caps":"",color:"primary",label:"Submit now",class:"submit-btn"})]),_:1})]),_:1})])])]),e("section",j,[e("div",D,[t[12]||(t[12]=e("div",{class:"reach-heading"},[e("div",{class:"section-kicker"},"How to reach us"),e("h2",{class:"section-title center"},"Get in touch with us"),e("p",{class:"section-text center"}," The goal of our clinic is to deliver compassionate care and exceptional medical services, including general consultations, specialized treatments, and preventive care. ")],-1)),o(r,{flat:"",class:"map-card"},{default:l(()=>[e("iframe",{class:"map-frame",src:J,title:"Clinic location map",loading:"lazy",referrerpolicy:"no-referrer-when-downgrade"})]),_:1})])]),o(P)]),_:1}))}}),ne=B(K,[["__scopeId","data-v-c049bad3"]]);export{ne as default}; diff --git a/backend/internal/http/static/spa/assets/DevLayout-6orPgqWc.js b/backend/internal/http/static/spa/assets/DevLayout-6orPgqWc.js new file mode 100644 index 0000000..7da4572 --- /dev/null +++ b/backend/internal/http/static/spa/assets/DevLayout-6orPgqWc.js @@ -0,0 +1 @@ +import{a as v,u as Q,g as b,h as k,i as w,j as a,k as e,Q as g,n as t,p as n,t as o,m as D,y as d,D as h}from"./index-DAvBaevK.js";import{Q as x,a as L,b as V,c as C}from"./QLayout-DZVoSyXn.js";import{Q as I}from"./QToolbar-DdNWxglI.js";import{b as s,Q as i,a as u}from"./format-DaKpMo2W.js";import{Q as T}from"./QResizeObserver-CenQZ1Fm.js";import{Q as y}from"./QDrawer-1VLwP6kh.js";import"./touch-BjYP5sR0.js";import"./selection-DrSF90ET.js";const P=v({__name:"DevLayout",setup(B){const{t:l}=Q(),r=h(!1);function m(){r.value=!r.value}return(p,f)=>{const _=b("router-view");return k(),w(C,{view:"lHh Lpr lFf"},{default:a(()=>[e(x,{elevated:""},{default:a(()=>[e(I,null,{default:a(()=>[e(g,{flat:"",dense:"",round:"",icon:"menu","aria-label":t(l)("app.menu"),onClick:m},null,8,["aria-label"]),e(L,null,{default:a(()=>[n(o(t(l)("app.title")),1)]),_:1}),D("div",null,"Quasar v"+o(p.$q.version),1)]),_:1})]),_:1}),e(y,{modelValue:r.value,"onUpdate:modelValue":f[0]||(f[0]=c=>r.value=c),"show-if-above":"",bordered:""},{default:a(()=>[e(T,null,{default:a(()=>[e(s,{header:""},{default:a(()=>[n(o(t(l)("app.links")),1)]),_:1}),e(i,{clickable:"",to:"/",exact:""},{default:a(()=>[e(u,{avatar:""},{default:a(()=>[e(d,{name:"home"})]),_:1}),e(u,null,{default:a(()=>[e(s,null,{default:a(()=>[n(o(t(l)("app.home")),1)]),_:1})]),_:1})]),_:1}),e(i,{clickable:"",to:"/dev/api/endpoints",exact:""},{default:a(()=>[e(u,{avatar:""},{default:a(()=>[e(d,{name:"api"})]),_:1}),e(u,null,{default:a(()=>[e(s,null,{default:a(()=>[n(o(t(l)("dev.apiEndpointsTester")),1)]),_:1})]),_:1})]),_:1}),e(i,{clickable:"",to:"/dev/api/mail-debug",exact:""},{default:a(()=>[e(u,{avatar:""},{default:a(()=>[e(d,{name:"mail"})]),_:1}),e(u,null,{default:a(()=>[e(s,null,{default:a(()=>[n(o(t(l)("dev.mailDebug")),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),e(V,null,{default:a(()=>[e(_)]),_:1})]),_:1})}}});export{P as default}; diff --git a/backend/internal/http/static/spa/assets/DevLayout-CXkxSOTr.js b/backend/internal/http/static/spa/assets/DevLayout-CXkxSOTr.js deleted file mode 100644 index a2e75ac..0000000 --- a/backend/internal/http/static/spa/assets/DevLayout-CXkxSOTr.js +++ /dev/null @@ -1 +0,0 @@ -import{a as v,u as Q,g as b,h as k,i as w,j as a,k as e,Q as g,H as t,n,t as o,m as x,x as d,C as h}from"./index-B9vdjdfJ.js";import{Q as C,a as D,b as L,c as V}from"./QLayout-BeBUeNGB.js";import{Q as I}from"./QToolbar-k3h3juC8.js";import{b as s,Q as i,a as u}from"./format-BipdGd1G.js";import{Q as T}from"./QResizeObserver-CyV47ipF.js";import{Q as B}from"./QDrawer-BR2j4Akr.js";import"./touch-BjYP5sR0.js";import"./selection-HrszS3Ie.js";const P=v({__name:"DevLayout",setup(y){const{t:l}=Q(),r=h(!1);function m(){r.value=!r.value}return(p,f)=>{const _=b("router-view");return k(),w(V,{view:"lHh Lpr lFf"},{default:a(()=>[e(C,{elevated:""},{default:a(()=>[e(I,null,{default:a(()=>[e(g,{flat:"",dense:"",round:"",icon:"menu","aria-label":t(l)("app.menu"),onClick:m},null,8,["aria-label"]),e(D,null,{default:a(()=>[n(o(t(l)("app.title")),1)]),_:1}),x("div",null,"Quasar v"+o(p.$q.version),1)]),_:1})]),_:1}),e(B,{modelValue:r.value,"onUpdate:modelValue":f[0]||(f[0]=c=>r.value=c),"show-if-above":"",bordered:""},{default:a(()=>[e(T,null,{default:a(()=>[e(s,{header:""},{default:a(()=>[n(o(t(l)("app.links")),1)]),_:1}),e(i,{clickable:"",to:"/",exact:""},{default:a(()=>[e(u,{avatar:""},{default:a(()=>[e(d,{name:"home"})]),_:1}),e(u,null,{default:a(()=>[e(s,null,{default:a(()=>[n(o(t(l)("app.home")),1)]),_:1})]),_:1})]),_:1}),e(i,{clickable:"",to:"/dev/api/endpoints",exact:""},{default:a(()=>[e(u,{avatar:""},{default:a(()=>[e(d,{name:"api"})]),_:1}),e(u,null,{default:a(()=>[e(s,null,{default:a(()=>[n(o(t(l)("dev.apiEndpointsTester")),1)]),_:1})]),_:1})]),_:1}),e(i,{clickable:"",to:"/dev/api/mail-debug",exact:""},{default:a(()=>[e(u,{avatar:""},{default:a(()=>[e(d,{name:"mail"})]),_:1}),e(u,null,{default:a(()=>[e(s,null,{default:a(()=>[n(o(t(l)("dev.mailDebug")),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),e(L,null,{default:a(()=>[e(_)]),_:1})]),_:1})}}});export{P as default}; diff --git a/backend/internal/http/static/spa/assets/DoctorDetailPage-BUBFnryG.js b/backend/internal/http/static/spa/assets/DoctorDetailPage-BUBFnryG.js deleted file mode 100644 index baadb53..0000000 --- a/backend/internal/http/static/spa/assets/DoctorDetailPage-BUBFnryG.js +++ /dev/null @@ -1 +0,0 @@ -import{Q as y}from"./QTooltip-D2MBGu_Z.js";import{a as x,h as i,i as k,j as n,k as l,m as e,E as p,q as r,F as c,G as d,t as o,Q as b,n as w,x as V,I as P,J as u,K as E}from"./index-B9vdjdfJ.js";import{Q}from"./QLinearProgress-DPykyK-Y.js";import{Q as I}from"./QForm-uiBLv4qC.js";import{Q as D}from"./QPage-D3501MqH.js";import{H,i as M,f as U,w as q,a as F}from"./HomeHeader-F2sD99DF.js";import{t as N}from"./team-1-CMaNLVo5.js";import{_ as S}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./position-engine-CFuXolvx.js";import"./selection-HrszS3Ie.js";import"./QToolbar-k3h3juC8.js";const B={class:"profile-section"},C={class:"page-shell"},L={class:"row q-col-gutter-xl"},z={class:"col-12 col-lg-4"},G={class:"sidebar-image-wrap"},T=["src","alt"],j={class:"sidebar-body"},A={class:"sidebar-label"},J={class:"sidebar-value"},K={class:"sidebar-footer"},W={class:"social-links"},X=["src","alt"],O={class:"col-12 col-lg-8"},R={class:"content-stack"},Y={class:"row q-col-gutter-lg"},Z={class:"col-12 col-md-6"},$={class:"content-card"},ee={class:"timeline-title"},se={class:"timeline-text"},te={class:"col-12 col-md-6"},le={class:"content-card"},ae={class:"skill-head"},oe={class:"content-section"},ie={class:"expertise-list"},ne={class:"form-grid"},re=x({__name:"DoctorDetailPage",setup(ce){const m={name:"Dr. Esther Howard",image:N},f=[{label:"Name",value:"Dr. Esther Howard"},{label:"Position",value:"Psychologist"},{label:"Phone",value:"+91-123 456 7890"},{label:"E-mail",value:"info@domain.com"},{label:"Experience",value:"16 years"}],h=[{icon:M,label:"X / Twitter"},{icon:U,label:"LinkedIn"},{icon:q,label:"Pinterest"}],v=[{title:"Graduate intern · 2013 - 2020",text:"At Institution Name focused on family counseling and conflict resolution techniques."},{title:"Licensed psychologist · 2020 - present",text:"At Institution Name focused on family counseling and conflict resolution techniques."}],g=[{label:"Psychologist",value:56},{label:"Success case",value:89},{label:"Therapy specialist",value:85}],_=["Experienced professionals","Client-centered approach","Safe and confidential environment","Commitment to growth"],a=E({name:"",email:"",phone:"",message:""});return(de,s)=>(i(),k(D,{class:"doctor-detail-page"},{default:n(()=>[l(H),e("section",B,[e("div",C,[e("div",L,[e("div",z,[l(p,{flat:"",class:"sidebar-card"},{default:n(()=>[e("div",G,[e("img",{class:"sidebar-image",src:m.image,alt:m.name},null,8,T)]),e("div",j,[(i(),r(c,null,d(f,t=>e("div",{key:t.label,class:"sidebar-row"},[e("span",A,o(t.label),1),e("span",J,o(t.value),1)])),64))]),e("div",K,[s[5]||(s[5]=e("span",{class:"sidebar-follow"},"Follow us:",-1)),e("div",W,[(i(),r(c,null,d(h,t=>l(b,{key:t.label,round:"",flat:"",dense:"",class:"social-btn","aria-label":t.label},{default:n(()=>[l(y,null,{default:n(()=>[w(o(t.label),1)]),_:2},1024),e("img",{class:"social-icon",src:t.icon,alt:t.label},null,8,X)]),_:2},1032,["aria-label"])),64))])])]),_:1})]),e("div",O,[e("div",R,[s[15]||(s[15]=e("section",{class:"content-section"},[e("div",{class:"section-kicker"},"Personal biography"),e("h1",{class:"section-title"},"Personal biography"),e("p",{class:"section-text"}," Dr. Esther Howard is a highly experienced Psychologist with over 12 years of expertise in assessing and treating a wide range of emotional and behavioral conditions. She focuses on creating personalized treatment plans that balance evidence-based methods with an empathetic, human-centered approach. Her practice combines careful evaluation, practical therapeutic tools, and continuity of care to help patients make sustainable progress through anxiety, depression, trauma, and major life transitions. ")],-1)),e("div",Y,[e("div",Z,[e("section",$,[s[6]||(s[6]=e("div",{class:"section-kicker"},"My experience",-1)),s[7]||(s[7]=e("h2",{class:"card-title"},"My experience",-1)),(i(),r(c,null,d(v,t=>e("div",{key:t.title,class:"timeline-item"},[e("div",ee,o(t.title),1),e("p",se,o(t.text),1)])),64))])]),e("div",te,[e("section",le,[s[8]||(s[8]=e("div",{class:"section-kicker"},"My skills",-1)),s[9]||(s[9]=e("h2",{class:"card-title"},"My skills",-1)),(i(),r(c,null,d(g,t=>e("div",{key:t.label,class:"skill-item"},[e("div",ae,[e("span",null,o(t.label),1),e("span",null,o(t.value)+"%",1)]),l(Q,{rounded:"",size:"10px",color:"primary",value:t.value/100,class:"skill-bar"},null,8,["value"])])),64))])])]),e("section",oe,[s[10]||(s[10]=e("div",{class:"section-kicker"},"My expertise area & feature",-1)),s[11]||(s[11]=e("h2",{class:"section-title small"},"My expertise area & feature",-1)),s[12]||(s[12]=e("p",{class:"section-text"}," Esther specializes in cognitive-behavioral therapy, trauma recovery, and mindfulness techniques, offering tailored support for individuals dealing with anxiety, depression, and life transitions. ",-1)),e("div",ie,[(i(),r(c,null,d(_,t=>e("div",{key:t,class:"expertise-item"},[l(V,{name:"check_circle",color:"positive",size:"20px"}),e("span",null,o(t),1)])),64))])]),l(p,{flat:"",class:"contact-card"},{default:n(()=>[s[13]||(s[13]=e("div",{class:"section-kicker"},"Get into touch with me",-1)),s[14]||(s[14]=e("h2",{class:"section-title small"},"Get into touch with me",-1)),l(I,{class:"contact-form",onSubmit:s[4]||(s[4]=P(()=>{},["prevent"]))},{default:n(()=>[l(u,{modelValue:a.name,"onUpdate:modelValue":s[0]||(s[0]=t=>a.name=t),outlined:"",label:"Full name",placeholder:"Enter your name"},null,8,["modelValue"]),e("div",ne,[l(u,{modelValue:a.email,"onUpdate:modelValue":s[1]||(s[1]=t=>a.email=t),outlined:"",type:"email",label:"Email",placeholder:"Enter your email"},null,8,["modelValue"]),l(u,{modelValue:a.phone,"onUpdate:modelValue":s[2]||(s[2]=t=>a.phone=t),outlined:"",label:"Phone",placeholder:"Enter your number"},null,8,["modelValue"])]),l(u,{modelValue:a.message,"onUpdate:modelValue":s[3]||(s[3]=t=>a.message=t),outlined:"",autogrow:"",type:"textarea",label:"Message",placeholder:"Write message..."},null,8,["modelValue"]),l(b,{unelevated:"",rounded:"","no-caps":"",color:"primary",label:"Submit now",class:"submit-btn"})]),_:1})]),_:1})])])])])]),l(F)]),_:1}))}}),ke=S(re,[["__scopeId","data-v-ccd287cb"]]);export{ke as default}; diff --git a/backend/internal/http/static/spa/assets/DoctorDetailPage-DNWM4IpO.js b/backend/internal/http/static/spa/assets/DoctorDetailPage-DNWM4IpO.js new file mode 100644 index 0000000..53843b0 --- /dev/null +++ b/backend/internal/http/static/spa/assets/DoctorDetailPage-DNWM4IpO.js @@ -0,0 +1 @@ +import{Q as _}from"./logo-DdmK5n0b.js";import{a as k,h as i,i as x,j as n,k as l,m as e,F as p,s as r,G as c,H as d,t as o,Q as b,p as w,y as V,I as P,J as u,K as Q}from"./index-DAvBaevK.js";import{Q as E}from"./QLinearProgress-BW3XWqZ_.js";import{Q as I}from"./QForm-CgLsd63I.js";import{Q as D}from"./QPage-B68JuyjH.js";import{H,i as M,f as U,w as F,a as N}from"./HomeHeader-oAwoUp8W.js";import{t as S}from"./team-1-CMaNLVo5.js";import{_ as q}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./position-engine-BHgB6lrx.js";import"./selection-DrSF90ET.js";import"./QToolbar-DdNWxglI.js";const B={class:"profile-section"},C={class:"page-shell"},L={class:"row q-col-gutter-xl"},z={class:"col-12 col-lg-4"},G={class:"sidebar-image-wrap"},T=["src","alt"],j={class:"sidebar-body"},A={class:"sidebar-label"},J={class:"sidebar-value"},K={class:"sidebar-footer"},W={class:"social-links"},X=["src","alt"],O={class:"col-12 col-lg-8"},R={class:"content-stack"},Y={class:"row q-col-gutter-lg"},Z={class:"col-12 col-md-6"},$={class:"content-card"},ee={class:"timeline-title"},se={class:"timeline-text"},te={class:"col-12 col-md-6"},le={class:"content-card"},ae={class:"skill-head"},oe={class:"content-section"},ie={class:"expertise-list"},ne={class:"form-grid"},re=k({__name:"DoctorDetailPage",setup(ce){const m={name:"Dr. Esther Howard",image:S},f=[{label:"Name",value:"Dr. Esther Howard"},{label:"Position",value:"Psychologist"},{label:"Phone",value:"+91-123 456 7890"},{label:"E-mail",value:"info@domain.com"},{label:"Experience",value:"16 years"}],h=[{icon:M,label:"X / Twitter"},{icon:U,label:"LinkedIn"},{icon:F,label:"Pinterest"}],v=[{title:"Graduate intern · 2013 - 2020",text:"At Institution Name focused on family counseling and conflict resolution techniques."},{title:"Licensed psychologist · 2020 - present",text:"At Institution Name focused on family counseling and conflict resolution techniques."}],g=[{label:"Psychologist",value:56},{label:"Success case",value:89},{label:"Therapy specialist",value:85}],y=["Experienced professionals","Client-centered approach","Safe and confidential environment","Commitment to growth"],a=Q({name:"",email:"",phone:"",message:""});return(de,s)=>(i(),x(D,{class:"doctor-detail-page"},{default:n(()=>[l(H),e("section",B,[e("div",C,[e("div",L,[e("div",z,[l(p,{flat:"",class:"sidebar-card"},{default:n(()=>[e("div",G,[e("img",{class:"sidebar-image",src:m.image,alt:m.name},null,8,T)]),e("div",j,[(i(),r(c,null,d(f,t=>e("div",{key:t.label,class:"sidebar-row"},[e("span",A,o(t.label),1),e("span",J,o(t.value),1)])),64))]),e("div",K,[s[5]||(s[5]=e("span",{class:"sidebar-follow"},"Follow us:",-1)),e("div",W,[(i(),r(c,null,d(h,t=>l(b,{key:t.label,round:"",flat:"",dense:"",class:"social-btn","aria-label":t.label},{default:n(()=>[l(_,null,{default:n(()=>[w(o(t.label),1)]),_:2},1024),e("img",{class:"social-icon",src:t.icon,alt:t.label},null,8,X)]),_:2},1032,["aria-label"])),64))])])]),_:1})]),e("div",O,[e("div",R,[s[15]||(s[15]=e("section",{class:"content-section"},[e("div",{class:"section-kicker"},"Personal biography"),e("h1",{class:"section-title"},"Personal biography"),e("p",{class:"section-text"}," Dr. Esther Howard is a highly experienced Psychologist with over 12 years of expertise in assessing and treating a wide range of emotional and behavioral conditions. She focuses on creating personalized treatment plans that balance evidence-based methods with an empathetic, human-centered approach. Her practice combines careful evaluation, practical therapeutic tools, and continuity of care to help patients make sustainable progress through anxiety, depression, trauma, and major life transitions. ")],-1)),e("div",Y,[e("div",Z,[e("section",$,[s[6]||(s[6]=e("div",{class:"section-kicker"},"My experience",-1)),s[7]||(s[7]=e("h2",{class:"card-title"},"My experience",-1)),(i(),r(c,null,d(v,t=>e("div",{key:t.title,class:"timeline-item"},[e("div",ee,o(t.title),1),e("p",se,o(t.text),1)])),64))])]),e("div",te,[e("section",le,[s[8]||(s[8]=e("div",{class:"section-kicker"},"My skills",-1)),s[9]||(s[9]=e("h2",{class:"card-title"},"My skills",-1)),(i(),r(c,null,d(g,t=>e("div",{key:t.label,class:"skill-item"},[e("div",ae,[e("span",null,o(t.label),1),e("span",null,o(t.value)+"%",1)]),l(E,{rounded:"",size:"10px",color:"primary",value:t.value/100,class:"skill-bar"},null,8,["value"])])),64))])])]),e("section",oe,[s[10]||(s[10]=e("div",{class:"section-kicker"},"My expertise area & feature",-1)),s[11]||(s[11]=e("h2",{class:"section-title small"},"My expertise area & feature",-1)),s[12]||(s[12]=e("p",{class:"section-text"}," Esther specializes in cognitive-behavioral therapy, trauma recovery, and mindfulness techniques, offering tailored support for individuals dealing with anxiety, depression, and life transitions. ",-1)),e("div",ie,[(i(),r(c,null,d(y,t=>e("div",{key:t,class:"expertise-item"},[l(V,{name:"check_circle",color:"positive",size:"20px"}),e("span",null,o(t),1)])),64))])]),l(p,{flat:"",class:"contact-card"},{default:n(()=>[s[13]||(s[13]=e("div",{class:"section-kicker"},"Get into touch with me",-1)),s[14]||(s[14]=e("h2",{class:"section-title small"},"Get into touch with me",-1)),l(I,{class:"contact-form",onSubmit:s[4]||(s[4]=P(()=>{},["prevent"]))},{default:n(()=>[l(u,{modelValue:a.name,"onUpdate:modelValue":s[0]||(s[0]=t=>a.name=t),outlined:"",label:"Full name",placeholder:"Enter your name"},null,8,["modelValue"]),e("div",ne,[l(u,{modelValue:a.email,"onUpdate:modelValue":s[1]||(s[1]=t=>a.email=t),outlined:"",type:"email",label:"Email",placeholder:"Enter your email"},null,8,["modelValue"]),l(u,{modelValue:a.phone,"onUpdate:modelValue":s[2]||(s[2]=t=>a.phone=t),outlined:"",label:"Phone",placeholder:"Enter your number"},null,8,["modelValue"])]),l(u,{modelValue:a.message,"onUpdate:modelValue":s[3]||(s[3]=t=>a.message=t),outlined:"",autogrow:"",type:"textarea",label:"Message",placeholder:"Write message..."},null,8,["modelValue"]),l(b,{unelevated:"",rounded:"","no-caps":"",color:"primary",label:"Submit now",class:"submit-btn"})]),_:1})]),_:1})])])])])]),l(N)]),_:1}))}}),xe=q(re,[["__scopeId","data-v-ccd287cb"]]);export{xe as default}; diff --git a/backend/internal/http/static/spa/assets/DoctorsPage-CbYjO5rH.js b/backend/internal/http/static/spa/assets/DoctorsPage-CbYjO5rH.js deleted file mode 100644 index f7ea661..0000000 --- a/backend/internal/http/static/spa/assets/DoctorsPage-CbYjO5rH.js +++ /dev/null @@ -1 +0,0 @@ -import{a as k,g as v,h as l,i as D,j as s,k as a,m as e,q as r,F as n,G as m,E as w,Q as d,n as p,t as i}from"./index-B9vdjdfJ.js";import{Q}from"./QTooltip-D2MBGu_Z.js";import{Q as x}from"./QPage-D3501MqH.js";import{H as C,i as I,f as B,w as H,a as F}from"./HomeHeader-F2sD99DF.js";import{t as _}from"./team-1-CMaNLVo5.js";import{t as h,a as g,b as u}from"./team-4-BDlfXLz_.js";import{_ as N}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./position-engine-CFuXolvx.js";import"./selection-HrszS3Ie.js";import"./QToolbar-k3h3juC8.js";const O={class:"team-section"},P={class:"page-shell"},A={class:"row q-col-gutter-lg"},E={class:"doctor-image-wrap"},J=["src","alt"],L={class:"doctor-body"},M={class:"social-links"},S=["src","alt"],U={class:"doctor-content"},V={class:"doctor-name"},W={class:"doctor-specialty"},q=k({__name:"DoctorsPage",setup(T){const f=[{icon:I,label:"Instagram"},{icon:B,label:"Facebook"},{icon:H,label:"WhatsApp"}],y=[{name:"Dr. Esther Howard",specialty:"Ophthalmology",image:_},{name:"Dr. Jenny Wilson",specialty:"Anesthesiology",image:h},{name:"Dr. Kristin Watson",specialty:"Infectious Disease",image:g},{name:"Dr. Arlene McCoy",specialty:"Cardiology",image:u},{name:"Dr. Michael Johnson",specialty:"Orthopedics",image:_},{name:"Dr. Sarah Lee",specialty:"Pediatrics",image:h},{name:"Dr. James Smith",specialty:"Neurology",image:g},{name:"Dr. Rachel Davis",specialty:"Dermatology",image:u}];return(j,c)=>{const b=v("router-link");return l(),D(x,{class:"doctors-page"},{default:s(()=>[a(C),c[0]||(c[0]=e("section",{class:"hero-section"},[e("div",{class:"page-shell"},[e("div",{class:"hero-panel"},[e("div",{class:"section-kicker"},"Our doctors"),e("h1",{class:"hero-title"},"Meet the specialists behind our standard of care"),e("p",{class:"hero-text"}," Our medical team brings together diverse specialties with one shared goal: delivering care that is precise, collaborative, and genuinely human. ")])])],-1)),e("section",O,[e("div",P,[e("div",A,[(l(),r(n,null,m(y,t=>e("div",{key:t.name,class:"col-12 col-sm-6 col-lg-3"},[a(w,{flat:"",class:"doctor-card"},{default:s(()=>[a(d,{class:"doctor-link",flat:"","no-caps":"",to:"/doctordetails"},{default:s(()=>[e("div",E,[e("img",{class:"doctor-image",src:t.image,alt:t.name},null,8,J)])]),_:2},1024),e("div",L,[e("div",M,[(l(),r(n,null,m(f,o=>a(d,{key:o.label,round:"",flat:"",dense:"",class:"social-btn","aria-label":o.label},{default:s(()=>[a(Q,null,{default:s(()=>[p(i(o.label),1)]),_:2},1024),e("img",{class:"social-icon",src:o.icon,alt:o.label},null,8,S)]),_:2},1032,["aria-label"])),64))]),e("div",U,[e("h3",V,[a(b,{class:"doctor-name-link",to:"/doctordetails"},{default:s(()=>[p(i(t.name),1)]),_:2},1024)]),e("p",W,i(t.specialty),1)])])]),_:2},1024)])),64))])])]),a(F)]),_:1})}}}),se=N(q,[["__scopeId","data-v-8073e649"]]);export{se as default}; diff --git a/backend/internal/http/static/spa/assets/DoctorsPage-Mx2NaaFf.js b/backend/internal/http/static/spa/assets/DoctorsPage-Mx2NaaFf.js new file mode 100644 index 0000000..a443d31 --- /dev/null +++ b/backend/internal/http/static/spa/assets/DoctorsPage-Mx2NaaFf.js @@ -0,0 +1 @@ +import{a as k,g as v,h as l,i as D,j as s,k as a,m as e,s as r,G as n,H as m,F as w,Q as d,p,t as i}from"./index-DAvBaevK.js";import{Q}from"./logo-DdmK5n0b.js";import{Q as x}from"./QPage-B68JuyjH.js";import{H as C,i as H,f as I,w as B,a as F}from"./HomeHeader-oAwoUp8W.js";import{t as _}from"./team-1-CMaNLVo5.js";import{t as h,a as g,b as u}from"./team-4-BDlfXLz_.js";import{_ as N}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./position-engine-BHgB6lrx.js";import"./selection-DrSF90ET.js";import"./QToolbar-DdNWxglI.js";const O={class:"team-section"},P={class:"page-shell"},A={class:"row q-col-gutter-lg"},J={class:"doctor-image-wrap"},L=["src","alt"],M={class:"doctor-body"},S={class:"social-links"},U=["src","alt"],V={class:"doctor-content"},W={class:"doctor-name"},E={class:"doctor-specialty"},T=k({__name:"DoctorsPage",setup(j){const f=[{icon:H,label:"Instagram"},{icon:I,label:"Facebook"},{icon:B,label:"WhatsApp"}],y=[{name:"Dr. Esther Howard",specialty:"Ophthalmology",image:_},{name:"Dr. Jenny Wilson",specialty:"Anesthesiology",image:h},{name:"Dr. Kristin Watson",specialty:"Infectious Disease",image:g},{name:"Dr. Arlene McCoy",specialty:"Cardiology",image:u},{name:"Dr. Michael Johnson",specialty:"Orthopedics",image:_},{name:"Dr. Sarah Lee",specialty:"Pediatrics",image:h},{name:"Dr. James Smith",specialty:"Neurology",image:g},{name:"Dr. Rachel Davis",specialty:"Dermatology",image:u}];return(q,c)=>{const b=v("router-link");return l(),D(x,{class:"doctors-page"},{default:s(()=>[a(C),c[0]||(c[0]=e("section",{class:"hero-section"},[e("div",{class:"page-shell"},[e("div",{class:"hero-panel"},[e("div",{class:"section-kicker"},"Our doctors"),e("h1",{class:"hero-title"},"Meet the specialists behind our standard of care"),e("p",{class:"hero-text"}," Our medical team brings together diverse specialties with one shared goal: delivering care that is precise, collaborative, and genuinely human. ")])])],-1)),e("section",O,[e("div",P,[e("div",A,[(l(),r(n,null,m(y,t=>e("div",{key:t.name,class:"col-12 col-sm-6 col-lg-3"},[a(w,{flat:"",class:"doctor-card"},{default:s(()=>[a(d,{class:"doctor-link",flat:"","no-caps":"",to:"/doctordetails"},{default:s(()=>[e("div",J,[e("img",{class:"doctor-image",src:t.image,alt:t.name},null,8,L)])]),_:2},1024),e("div",M,[e("div",S,[(l(),r(n,null,m(f,o=>a(d,{key:o.label,round:"",flat:"",dense:"",class:"social-btn","aria-label":o.label},{default:s(()=>[a(Q,null,{default:s(()=>[p(i(o.label),1)]),_:2},1024),e("img",{class:"social-icon",src:o.icon,alt:o.label},null,8,U)]),_:2},1032,["aria-label"])),64))]),e("div",V,[e("h3",W,[a(b,{class:"doctor-name-link",to:"/doctordetails"},{default:s(()=>[p(i(t.name),1)]),_:2},1024)]),e("p",E,i(t.specialty),1)])])]),_:2},1024)])),64))])])]),a(F)]),_:1})}}}),se=N(T,[["__scopeId","data-v-8073e649"]]);export{se as default}; diff --git a/backend/internal/http/static/spa/assets/ErrorNotFound-dqvwBGco.js b/backend/internal/http/static/spa/assets/ErrorNotFound-C1ZsCLAD.js similarity index 55% rename from backend/internal/http/static/spa/assets/ErrorNotFound-dqvwBGco.js rename to backend/internal/http/static/spa/assets/ErrorNotFound-C1ZsCLAD.js index 1571ddb..3edc1fb 100644 --- a/backend/internal/http/static/spa/assets/ErrorNotFound-dqvwBGco.js +++ b/backend/internal/http/static/spa/assets/ErrorNotFound-C1ZsCLAD.js @@ -1 +1 @@ -import{a as l,u as n,h as a,q as r,m as e,t as c,H as s,k as i,Q as u}from"./index-B9vdjdfJ.js";const d={class:"fullscreen bg-blue text-white text-center q-pa-md flex flex-center"},p={class:"text-h2",style:{opacity:"0.4"}},x=l({__name:"ErrorNotFound",setup(m){const{t}=n();return(_,o)=>(a(),r("div",d,[e("div",null,[o[0]||(o[0]=e("div",{style:{"font-size":"30vh"}},"404",-1)),e("div",p,c(s(t)("error.notFound")),1),i(u,{class:"q-mt-xl",color:"white","text-color":"blue",unelevated:"",to:"/",label:s(t)("error.goHome"),"no-caps":""},null,8,["label"])])]))}});export{x as default}; +import{a as n,u as l,h as a,s as r,m as e,t as c,n as s,k as i,Q as u}from"./index-DAvBaevK.js";const d={class:"fullscreen bg-blue text-white text-center q-pa-md flex flex-center"},p={class:"text-h2",style:{opacity:"0.4"}},x=n({__name:"ErrorNotFound",setup(m){const{t}=l();return(_,o)=>(a(),r("div",d,[e("div",null,[o[0]||(o[0]=e("div",{style:{"font-size":"30vh"}},"404",-1)),e("div",p,c(s(t)("error.notFound")),1),i(u,{class:"q-mt-xl",color:"white","text-color":"blue",unelevated:"",to:"/",label:s(t)("error.goHome"),"no-caps":""},null,8,["label"])])]))}});export{x as default}; diff --git a/backend/internal/http/static/spa/assets/HomeHeader-F2sD99DF.js b/backend/internal/http/static/spa/assets/HomeHeader-F2sD99DF.js deleted file mode 100644 index 738c867..0000000 --- a/backend/internal/http/static/spa/assets/HomeHeader-F2sD99DF.js +++ /dev/null @@ -1 +0,0 @@ -import{Q as C}from"./QTooltip-D2MBGu_Z.js";import{a as w,g as y,h as i,q as r,m as o,H,F as d,G as p,k as e,j as a,n as c,t as h,Q as v,L as $,M as I,x as u}from"./index-B9vdjdfJ.js";import{_ as k}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{Q}from"./QToolbar-k3h3juC8.js";const z="/assets/logo-7g001S5W.png",B="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M25.8293%2023.4637C25.8293%2023.4637%2024.381%2024.8862%2024.026%2025.3033C23.4478%2025.9203%2022.7666%2026.2116%2021.8736%2026.2116C21.7877%2026.2116%2021.6961%2026.2116%2021.6102%2026.2059C19.91%2026.0974%2018.33%2025.4347%2017.145%2024.8691C13.9049%2023.3037%2011.0598%2021.0814%208.69549%2018.2649C6.74339%2015.9169%205.43818%2013.746%204.57376%2011.4151C4.04137%209.99263%203.84673%208.88432%203.9326%207.83886C3.98985%207.17044%204.24745%206.61629%204.7226%206.14212L6.67469%204.19401C6.9552%203.93121%207.25288%203.78839%207.54484%203.78839C7.90549%203.78839%208.19744%204.00548%208.38063%204.1883C8.38636%204.19401%208.39208%204.19972%208.39781%204.20544C8.74701%204.53107%209.07904%204.86813%209.42824%205.22805C9.6057%205.41086%209.78889%205.59368%209.97208%205.7822L11.5349%207.34183C12.1417%207.9474%2012.1417%208.50727%2011.5349%209.11284C11.3689%209.27851%2011.2086%209.44419%2011.0426%209.60415C10.5617%2010.0955%2010.9395%209.71848%2010.4414%2010.1641C10.43%2010.1755%2010.4185%2010.1812%2010.4128%2010.1927C9.92048%2010.684%2010.0121%2011.1639%2010.1151%2011.4895C10.1208%2011.5066%2010.1266%2011.5238%2010.1323%2011.5409C10.5387%2012.5235%2011.1112%2013.449%2011.9813%2014.5516L11.9871%2014.5573C13.5671%2016.4997%2015.2329%2018.0136%2017.0705%2019.1734C17.3052%2019.3219%2017.5457%2019.4419%2017.7747%2019.5561C17.9807%2019.659%2018.1754%2019.7561%2018.3414%2019.8589C18.3643%2019.8703%2018.3872%2019.8875%2018.4101%2019.8989C18.6047%2019.996%2018.7879%2020.0417%2018.9768%2020.0417C19.452%2020.0417%2019.7497%2019.7447%2019.847%2019.6475L20.9691%2018.5277C21.1637%2018.3335%2021.4728%2018.0993%2021.8335%2018.0993C22.1884%2018.0993%2022.4804%2018.3221%2022.6578%2018.5163C22.6636%2018.522%2022.6636%2018.522%2022.6693%2018.5277L25.8236%2021.6756C26.4132%2022.2583%2025.8293%2023.4637%2025.8293%2023.4637Z'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",A="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.9999%2027C14.9999%2027%2024.3913%2018.6522%2024.3913%2012.3913C24.3913%207.20463%2020.1866%203%2014.9999%203C9.81327%203%205.60864%207.20463%205.60864%2012.3913C5.60864%2018.6522%2014.9999%2027%2014.9999%2027Z'%20stroke='white'%20stroke-width='2'/%3e%3cpath%20d='M18.0003%2012.0002C18.0003%2013.657%2016.6572%2015.0002%2015.0003%2015.0002C13.3435%2015.0002%2012.0003%2013.657%2012.0003%2012.0002C12.0003%2010.3433%2013.3435%209.00019%2015.0003%209.00019C16.6572%209.00019%2018.0003%2010.3433%2018.0003%2012.0002Z'%20stroke='white'%20stroke-width='2'/%3e%3c/svg%3e",U="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.85938%208.4375L14.1995%2014.4253C14.6811%2014.7711%2015.3189%2014.7711%2015.8005%2014.4253L24.1406%208.4375M6.5625%2023.75H23.4375C24.9908%2023.75%2026.25%2022.4442%2026.25%2020.8333V9.16667C26.25%207.55584%2024.9908%206.25%2023.4375%206.25H6.5625C5.0092%206.25%203.75%207.55584%203.75%209.16667V20.8333C3.75%2022.4442%205.0092%2023.75%206.5625%2023.75Z'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",x="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20width='48px'%20height='48px'%3e%3cpath%20fill='%23039be5'%20d='M24%205A19%2019%200%201%200%2024%2043A19%2019%200%201%200%2024%205Z'/%3e%3cpath%20fill='%23fff'%20d='M26.572,29.036h4.917l0.772-4.995h-5.69v-2.73c0-2.075,0.678-3.915,2.619-3.915h3.119v-4.359c-0.548-0.074-1.707-0.236-3.897-0.236c-4.573,0-7.254,2.415-7.254,7.917v3.323h-4.701v4.995h4.701v13.729C22.089,42.905,23.032,43,24,43c0.875,0,1.729-0.08,2.572-0.194V29.036z'/%3e%3c/svg%3e",L="/assets/instagram-t8lEWnnA.svg",M="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20width='48px'%20height='48px'%20fill-rule='evenodd'%20clip-rule='evenodd'%3e%3cpath%20fill='%23fff'%20d='M4.868,43.303l2.694-9.835C5.9,30.59,5.026,27.324,5.027,23.979C5.032,13.514,13.548,5,24.014,5c5.079,0.002,9.845,1.979,13.43,5.566c3.584,3.588,5.558,8.356,5.556,13.428c-0.004,10.465-8.522,18.98-18.986,18.98c-0.001,0,0,0,0,0h-0.008c-3.177-0.001-6.3-0.798-9.073-2.311L4.868,43.303z'/%3e%3cpath%20fill='%23fff'%20d='M4.868,43.803c-0.132,0-0.26-0.052-0.355-0.148c-0.125-0.127-0.174-0.312-0.127-0.483l2.639-9.636c-1.636-2.906-2.499-6.206-2.497-9.556C4.532,13.238,13.273,4.5,24.014,4.5c5.21,0.002,10.105,2.031,13.784,5.713c3.679,3.683,5.704,8.577,5.702,13.781c-0.004,10.741-8.746,19.48-19.486,19.48c-3.189-0.001-6.344-0.788-9.144-2.277l-9.875,2.589C4.953,43.798,4.911,43.803,4.868,43.803z'/%3e%3cpath%20fill='%23cfd8dc'%20d='M24.014,5c5.079,0.002,9.845,1.979,13.43,5.566c3.584,3.588,5.558,8.356,5.556,13.428c-0.004,10.465-8.522,18.98-18.986,18.98h-0.008c-3.177-0.001-6.3-0.798-9.073-2.311L4.868,43.303l2.694-9.835C5.9,30.59,5.026,27.324,5.027,23.979C5.032,13.514,13.548,5,24.014,5%20M24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974%20M24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974%20M24.014,4C24.014,4,24.014,4,24.014,4C12.998,4,4.032,12.962,4.027,23.979c-0.001,3.367,0.849,6.685,2.461,9.622l-2.585,9.439c-0.094,0.345,0.002,0.713,0.254,0.967c0.19,0.192,0.447,0.297,0.711,0.297c0.085,0,0.17-0.011,0.254-0.033l9.687-2.54c2.828,1.468,5.998,2.243,9.197,2.244c11.024,0,19.99-8.963,19.995-19.98c0.002-5.339-2.075-10.359-5.848-14.135C34.378,6.083,29.357,4.002,24.014,4L24.014,4z'/%3e%3cpath%20fill='%2340c351'%20d='M35.176,12.832c-2.98-2.982-6.941-4.625-11.157-4.626c-8.704,0-15.783,7.076-15.787,15.774c-0.001,2.981,0.833,5.883,2.413,8.396l0.376,0.597l-1.595,5.821l5.973-1.566l0.577,0.342c2.422,1.438,5.2,2.198,8.032,2.199h0.006c8.698,0,15.777-7.077,15.78-15.776C39.795,19.778,38.156,15.814,35.176,12.832z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M19.268,16.045c-0.355-0.79-0.729-0.806-1.068-0.82c-0.277-0.012-0.593-0.011-0.909-0.011c-0.316,0-0.83,0.119-1.265,0.594c-0.435,0.475-1.661,1.622-1.661,3.956c0,2.334,1.7,4.59,1.937,4.906c0.237,0.316,3.282,5.259,8.104,7.161c4.007,1.58,4.823,1.266,5.693,1.187c0.87-0.079,2.807-1.147,3.202-2.255c0.395-1.108,0.395-2.057,0.277-2.255c-0.119-0.198-0.435-0.316-0.909-0.554s-2.807-1.385-3.242-1.543c-0.435-0.158-0.751-0.237-1.068,0.238c-0.316,0.474-1.225,1.543-1.502,1.859c-0.277,0.317-0.554,0.357-1.028,0.119c-0.474-0.238-2.002-0.738-3.815-2.354c-1.41-1.257-2.362-2.81-2.639-3.285c-0.277-0.474-0.03-0.731,0.208-0.968c0.213-0.213,0.474-0.554,0.712-0.831c0.237-0.277,0.316-0.475,0.474-0.791c0.158-0.317,0.079-0.594-0.04-0.831C20.612,19.329,19.69,16.983,19.268,16.045z'%20clip-rule='evenodd'/%3e%3c/svg%3e",F={class:"home-footer"},S={class:"page-shell"},V={class:"footer-card"},W={class:"row q-col-gutter-xl"},D={class:"col-12 col-lg-5"},Z={class:"footer-brand"},q=["src"],E={class:"col-6 col-md-4 col-lg-2"},N={class:"footer-group"},T={class:"footer-links"},j={class:"col-6 col-md-4 col-lg-2"},R={class:"footer-group"},O={class:"footer-links"},P={class:"col-12 col-md-4 col-lg-3"},G={class:"footer-group"},J={class:"footer-contact-list"},K=["src","alt"],X={class:"footer-contact-text"},Y={class:"footer-social-band"},o0={class:"footer-social-links"},t0=["src","alt"],s0={class:"footer-meta"},e0={class:"footer-legal"},l0=w({__name:"HomeFooter",setup(g){const _=[{label:"Doctors",to:"/doctors"},{label:"Diagnostics",to:"/services"},{label:"Caregiver",to:"/services"},{label:"Hospitality",to:"/about"},{label:"Emergency",to:"/contact"}],m=[{label:"Home",to:"/"},{label:"About us",to:"/about"},{label:"Services",to:"/services"},{label:"Doctors",to:"/doctors"},{label:"Contact",to:"/contact"}],b=[{label:"Mail",text:"info@domain.com",icon:U},{label:"Phone",text:"+1 (213) 465 789",icon:B},{label:"Location",text:"2464 Royal Ln. Mesa, New Jersey",icon:A}],n=[{icon:M,label:"WhatsApp"},{icon:x,label:"Facebook"},{icon:L,label:"Instagram"}];return(l,t)=>{const f=y("router-link");return i(),r("footer",F,[o("div",S,[o("div",V,[o("div",W,[o("div",D,[o("div",Z,[o("img",{class:"footer-logo",src:H(z),alt:"Omnimed footer logo"},null,8,q),t[0]||(t[0]=o("p",{class:"footer-description"}," We offer a wide range of healthcare services to meet your needs. ",-1))])]),o("div",E,[o("div",N,[t[1]||(t[1]=o("h3",{class:"footer-title"},"Healthcare",-1)),o("div",T,[(i(),r(d,null,p(_,s=>e(f,{key:s.label,class:"footer-link",to:s.to},{default:a(()=>[c(h(s.label),1)]),_:2},1032,["to"])),64))])])]),o("div",j,[o("div",R,[t[2]||(t[2]=o("h3",{class:"footer-title"},"Quick Links",-1)),o("div",O,[(i(),r(d,null,p(m,s=>e(f,{key:s.label,class:"footer-link",to:s.to},{default:a(()=>[c(h(s.label),1)]),_:2},1032,["to"])),64))])])]),o("div",P,[o("div",G,[t[3]||(t[3]=o("h3",{class:"footer-title"},"Contact Us",-1)),o("div",J,[(i(),r(d,null,p(b,s=>o("div",{key:s.text,class:"footer-contact-item"},[o("img",{class:"footer-contact-icon",src:s.icon,alt:s.label},null,8,K),o("span",X,h(s.text),1)])),64))])])])]),o("div",Y,[t[4]||(t[4]=o("div",{class:"footer-line"},null,-1)),o("div",o0,[(i(),r(d,null,p(n,s=>e(v,{key:s.label,round:"",flat:"",class:"social-btn","aria-label":s.label},{default:a(()=>[e(C,null,{default:a(()=>[c(h(s.label),1)]),_:2},1024),o("img",{class:"social-icon",src:s.icon,alt:s.label},null,8,t0)]),_:2},1032,["aria-label"])),64))]),t[5]||(t[5]=o("div",{class:"footer-line"},null,-1))]),o("div",s0,[t[8]||(t[8]=o("div",{class:"footer-copyright"}," Copyright © 2024 All Rights Reserved. ",-1)),o("div",e0,[e(f,{class:"footer-legal-link",to:"/privacy"},{default:a(()=>[...t[6]||(t[6]=[c(" Privacy policy ",-1)])]),_:1}),e(f,{class:"footer-legal-link",to:"/terms"},{default:a(()=>[...t[7]||(t[7]=[c(" Terms & conditions ",-1)])]),_:1})])])])])])}}}),L0=k(l0,[["__scopeId","data-v-5238fbeb"]]),a0=$({name:"QSpace",setup(){const g=I("div",{class:"q-space"});return()=>g}}),c0={class:"home-header"},n0={class:"topbar-section"},i0={class:"page-shell topbar-row"},r0={class:"topbar-group"},d0={class:"topbar-item"},p0={class:"topbar-item"},h0={class:"topbar-group topbar-group-end"},f0={class:"social-links"},v0=["src","alt"],g0={class:"topbar-item"},_0={class:"header-section"},m0={class:"page-shell"},u0={class:"desktop-nav gt-sm"},b0=w({__name:"HomeHeader",setup(g){const _=[{label:"Home",link:"/"},{label:"About Us",link:"/about"},{label:"Services",link:"/services"},{label:"Doctors",link:"/doctors"},{label:"Contact Us",link:"/contact"}],m=[{icon:L,label:"Instagram"},{icon:x,label:"Facebook"},{icon:M,label:"WhatsApp"}];return(b,n)=>(i(),r("div",c0,[o("section",n0,[o("div",i0,[o("div",r0,[o("div",d0,[e(u,{name:"schedule",size:"18px"}),n[0]||(n[0]=o("span",null,[o("strong",null,"Working Hour:"),c(" 08:00am to 09:00pm")],-1))]),o("div",p0,[e(u,{name:"mail",size:"18px"}),n[1]||(n[1]=o("span",null,[o("strong",null,"Email:"),c(" info@domainname.com")],-1))])]),o("div",h0,[o("div",f0,[(i(),r(d,null,p(m,l=>e(v,{key:l.label,round:"",flat:"",dense:"",class:"social-btn","aria-label":l.label},{default:a(()=>[e(C,null,{default:a(()=>[c(h(l.label),1)]),_:2},1024),o("img",{class:"social-icon",src:l.icon,alt:l.label},null,8,v0)]),_:2},1032,["aria-label"])),64))]),o("div",g0,[e(u,{name:"call",size:"18px"}),n[2]||(n[2]=o("span",null,[o("strong",null,"Contact:"),c(" +123 (456) 789")],-1))])])])]),o("section",_0,[o("div",m0,[e(Q,{class:"header-toolbar"},{default:a(()=>[o("div",u0,[(i(),r(d,null,p(_,l=>e(v,{key:l.label,flat:"","no-caps":"",class:"nav-btn",label:l.label,to:l.link},null,8,["label","to"])),64))]),e(a0),e(v,{class:"lt-md",flat:"",round:"",dense:"",icon:"menu","aria-label":"Open navigation"})]),_:1})])])]))}}),M0=k(b0,[["__scopeId","data-v-326e0fe8"]]);export{M0 as H,L0 as a,x as f,L as i,A as l,U as m,B as p,M as w}; diff --git a/backend/internal/http/static/spa/assets/HomeHeader-oAwoUp8W.js b/backend/internal/http/static/spa/assets/HomeHeader-oAwoUp8W.js new file mode 100644 index 0000000..32496b1 --- /dev/null +++ b/backend/internal/http/static/spa/assets/HomeHeader-oAwoUp8W.js @@ -0,0 +1 @@ +import{f as M,Q as C}from"./logo-DdmK5n0b.js";import{a as w,g as H,h as i,s as r,m as o,n as $,G as d,H as p,k as e,j as a,p as c,t as h,Q as v,L as I,M as Q,y as u}from"./index-DAvBaevK.js";import{_ as k}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{Q as z}from"./QToolbar-DdNWxglI.js";const B="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M25.8293%2023.4637C25.8293%2023.4637%2024.381%2024.8862%2024.026%2025.3033C23.4478%2025.9203%2022.7666%2026.2116%2021.8736%2026.2116C21.7877%2026.2116%2021.6961%2026.2116%2021.6102%2026.2059C19.91%2026.0974%2018.33%2025.4347%2017.145%2024.8691C13.9049%2023.3037%2011.0598%2021.0814%208.69549%2018.2649C6.74339%2015.9169%205.43818%2013.746%204.57376%2011.4151C4.04137%209.99263%203.84673%208.88432%203.9326%207.83886C3.98985%207.17044%204.24745%206.61629%204.7226%206.14212L6.67469%204.19401C6.9552%203.93121%207.25288%203.78839%207.54484%203.78839C7.90549%203.78839%208.19744%204.00548%208.38063%204.1883C8.38636%204.19401%208.39208%204.19972%208.39781%204.20544C8.74701%204.53107%209.07904%204.86813%209.42824%205.22805C9.6057%205.41086%209.78889%205.59368%209.97208%205.7822L11.5349%207.34183C12.1417%207.9474%2012.1417%208.50727%2011.5349%209.11284C11.3689%209.27851%2011.2086%209.44419%2011.0426%209.60415C10.5617%2010.0955%2010.9395%209.71848%2010.4414%2010.1641C10.43%2010.1755%2010.4185%2010.1812%2010.4128%2010.1927C9.92048%2010.684%2010.0121%2011.1639%2010.1151%2011.4895C10.1208%2011.5066%2010.1266%2011.5238%2010.1323%2011.5409C10.5387%2012.5235%2011.1112%2013.449%2011.9813%2014.5516L11.9871%2014.5573C13.5671%2016.4997%2015.2329%2018.0136%2017.0705%2019.1734C17.3052%2019.3219%2017.5457%2019.4419%2017.7747%2019.5561C17.9807%2019.659%2018.1754%2019.7561%2018.3414%2019.8589C18.3643%2019.8703%2018.3872%2019.8875%2018.4101%2019.8989C18.6047%2019.996%2018.7879%2020.0417%2018.9768%2020.0417C19.452%2020.0417%2019.7497%2019.7447%2019.847%2019.6475L20.9691%2018.5277C21.1637%2018.3335%2021.4728%2018.0993%2021.8335%2018.0993C22.1884%2018.0993%2022.4804%2018.3221%2022.6578%2018.5163C22.6636%2018.522%2022.6636%2018.522%2022.6693%2018.5277L25.8236%2021.6756C26.4132%2022.2583%2025.8293%2023.4637%2025.8293%2023.4637Z'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",A="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.9999%2027C14.9999%2027%2024.3913%2018.6522%2024.3913%2012.3913C24.3913%207.20463%2020.1866%203%2014.9999%203C9.81327%203%205.60864%207.20463%205.60864%2012.3913C5.60864%2018.6522%2014.9999%2027%2014.9999%2027Z'%20stroke='white'%20stroke-width='2'/%3e%3cpath%20d='M18.0003%2012.0002C18.0003%2013.657%2016.6572%2015.0002%2015.0003%2015.0002C13.3435%2015.0002%2012.0003%2013.657%2012.0003%2012.0002C12.0003%2010.3433%2013.3435%209.00019%2015.0003%209.00019C16.6572%209.00019%2018.0003%2010.3433%2018.0003%2012.0002Z'%20stroke='white'%20stroke-width='2'/%3e%3c/svg%3e",U="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.85938%208.4375L14.1995%2014.4253C14.6811%2014.7711%2015.3189%2014.7711%2015.8005%2014.4253L24.1406%208.4375M6.5625%2023.75H23.4375C24.9908%2023.75%2026.25%2022.4442%2026.25%2020.8333V9.16667C26.25%207.55584%2024.9908%206.25%2023.4375%206.25H6.5625C5.0092%206.25%203.75%207.55584%203.75%209.16667V20.8333C3.75%2022.4442%205.0092%2023.75%206.5625%2023.75Z'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",x="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20width='48px'%20height='48px'%3e%3cpath%20fill='%23039be5'%20d='M24%205A19%2019%200%201%200%2024%2043A19%2019%200%201%200%2024%205Z'/%3e%3cpath%20fill='%23fff'%20d='M26.572,29.036h4.917l0.772-4.995h-5.69v-2.73c0-2.075,0.678-3.915,2.619-3.915h3.119v-4.359c-0.548-0.074-1.707-0.236-3.897-0.236c-4.573,0-7.254,2.415-7.254,7.917v3.323h-4.701v4.995h4.701v13.729C22.089,42.905,23.032,43,24,43c0.875,0,1.729-0.08,2.572-0.194V29.036z'/%3e%3c/svg%3e",L="/assets/instagram-t8lEWnnA.svg",y="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20width='48px'%20height='48px'%20fill-rule='evenodd'%20clip-rule='evenodd'%3e%3cpath%20fill='%23fff'%20d='M4.868,43.303l2.694-9.835C5.9,30.59,5.026,27.324,5.027,23.979C5.032,13.514,13.548,5,24.014,5c5.079,0.002,9.845,1.979,13.43,5.566c3.584,3.588,5.558,8.356,5.556,13.428c-0.004,10.465-8.522,18.98-18.986,18.98c-0.001,0,0,0,0,0h-0.008c-3.177-0.001-6.3-0.798-9.073-2.311L4.868,43.303z'/%3e%3cpath%20fill='%23fff'%20d='M4.868,43.803c-0.132,0-0.26-0.052-0.355-0.148c-0.125-0.127-0.174-0.312-0.127-0.483l2.639-9.636c-1.636-2.906-2.499-6.206-2.497-9.556C4.532,13.238,13.273,4.5,24.014,4.5c5.21,0.002,10.105,2.031,13.784,5.713c3.679,3.683,5.704,8.577,5.702,13.781c-0.004,10.741-8.746,19.48-19.486,19.48c-3.189-0.001-6.344-0.788-9.144-2.277l-9.875,2.589C4.953,43.798,4.911,43.803,4.868,43.803z'/%3e%3cpath%20fill='%23cfd8dc'%20d='M24.014,5c5.079,0.002,9.845,1.979,13.43,5.566c3.584,3.588,5.558,8.356,5.556,13.428c-0.004,10.465-8.522,18.98-18.986,18.98h-0.008c-3.177-0.001-6.3-0.798-9.073-2.311L4.868,43.303l2.694-9.835C5.9,30.59,5.026,27.324,5.027,23.979C5.032,13.514,13.548,5,24.014,5%20M24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974%20M24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974C24.014,42.974,24.014,42.974,24.014,42.974%20M24.014,4C24.014,4,24.014,4,24.014,4C12.998,4,4.032,12.962,4.027,23.979c-0.001,3.367,0.849,6.685,2.461,9.622l-2.585,9.439c-0.094,0.345,0.002,0.713,0.254,0.967c0.19,0.192,0.447,0.297,0.711,0.297c0.085,0,0.17-0.011,0.254-0.033l9.687-2.54c2.828,1.468,5.998,2.243,9.197,2.244c11.024,0,19.99-8.963,19.995-19.98c0.002-5.339-2.075-10.359-5.848-14.135C34.378,6.083,29.357,4.002,24.014,4L24.014,4z'/%3e%3cpath%20fill='%2340c351'%20d='M35.176,12.832c-2.98-2.982-6.941-4.625-11.157-4.626c-8.704,0-15.783,7.076-15.787,15.774c-0.001,2.981,0.833,5.883,2.413,8.396l0.376,0.597l-1.595,5.821l5.973-1.566l0.577,0.342c2.422,1.438,5.2,2.198,8.032,2.199h0.006c8.698,0,15.777-7.077,15.78-15.776C39.795,19.778,38.156,15.814,35.176,12.832z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M19.268,16.045c-0.355-0.79-0.729-0.806-1.068-0.82c-0.277-0.012-0.593-0.011-0.909-0.011c-0.316,0-0.83,0.119-1.265,0.594c-0.435,0.475-1.661,1.622-1.661,3.956c0,2.334,1.7,4.59,1.937,4.906c0.237,0.316,3.282,5.259,8.104,7.161c4.007,1.58,4.823,1.266,5.693,1.187c0.87-0.079,2.807-1.147,3.202-2.255c0.395-1.108,0.395-2.057,0.277-2.255c-0.119-0.198-0.435-0.316-0.909-0.554s-2.807-1.385-3.242-1.543c-0.435-0.158-0.751-0.237-1.068,0.238c-0.316,0.474-1.225,1.543-1.502,1.859c-0.277,0.317-0.554,0.357-1.028,0.119c-0.474-0.238-2.002-0.738-3.815-2.354c-1.41-1.257-2.362-2.81-2.639-3.285c-0.277-0.474-0.03-0.731,0.208-0.968c0.213-0.213,0.474-0.554,0.712-0.831c0.237-0.277,0.316-0.475,0.474-0.791c0.158-0.317,0.079-0.594-0.04-0.831C20.612,19.329,19.69,16.983,19.268,16.045z'%20clip-rule='evenodd'/%3e%3c/svg%3e",V={class:"home-footer"},D={class:"page-shell"},F={class:"footer-card"},S={class:"row q-col-gutter-xl"},W={class:"col-12 col-lg-5"},Z={class:"footer-brand"},E=["src"],N={class:"col-6 col-md-4 col-lg-2"},T={class:"footer-group"},j={class:"footer-links"},q={class:"col-6 col-md-4 col-lg-2"},R={class:"footer-group"},O={class:"footer-links"},P={class:"col-12 col-md-4 col-lg-3"},G={class:"footer-group"},J={class:"footer-contact-list"},K=["src","alt"],X={class:"footer-contact-text"},Y={class:"footer-social-band"},o0={class:"footer-social-links"},t0=["src","alt"],s0={class:"footer-meta"},e0={class:"footer-legal"},l0=w({__name:"HomeFooter",setup(_){const g=[{label:"Doctors",to:"/doctors"},{label:"Diagnostics",to:"/services"},{label:"Caregiver",to:"/services"},{label:"Hospitality",to:"/about"},{label:"Emergency",to:"/contact"}],m=[{label:"Home",to:"/"},{label:"About us",to:"/about"},{label:"Services",to:"/services"},{label:"Doctors",to:"/doctors"},{label:"Contact",to:"/contact"}],b=[{label:"Mail",text:"info@domain.com",icon:U},{label:"Phone",text:"+1 (213) 465 789",icon:B},{label:"Location",text:"2464 Royal Ln. Mesa, New Jersey",icon:A}],n=[{icon:y,label:"WhatsApp"},{icon:x,label:"Facebook"},{icon:L,label:"Instagram"}];return(l,t)=>{const f=H("router-link");return i(),r("footer",V,[o("div",D,[o("div",F,[o("div",S,[o("div",W,[o("div",Z,[o("img",{class:"footer-logo",src:$(M),alt:"Omnimed footer logo"},null,8,E),t[0]||(t[0]=o("p",{class:"footer-description"}," We offer a wide range of healthcare services to meet your needs. ",-1))])]),o("div",N,[o("div",T,[t[1]||(t[1]=o("h3",{class:"footer-title"},"Healthcare",-1)),o("div",j,[(i(),r(d,null,p(g,s=>e(f,{key:s.label,class:"footer-link",to:s.to},{default:a(()=>[c(h(s.label),1)]),_:2},1032,["to"])),64))])])]),o("div",q,[o("div",R,[t[2]||(t[2]=o("h3",{class:"footer-title"},"Quick Links",-1)),o("div",O,[(i(),r(d,null,p(m,s=>e(f,{key:s.label,class:"footer-link",to:s.to},{default:a(()=>[c(h(s.label),1)]),_:2},1032,["to"])),64))])])]),o("div",P,[o("div",G,[t[3]||(t[3]=o("h3",{class:"footer-title"},"Contact Us",-1)),o("div",J,[(i(),r(d,null,p(b,s=>o("div",{key:s.text,class:"footer-contact-item"},[o("img",{class:"footer-contact-icon",src:s.icon,alt:s.label},null,8,K),o("span",X,h(s.text),1)])),64))])])])]),o("div",Y,[t[4]||(t[4]=o("div",{class:"footer-line"},null,-1)),o("div",o0,[(i(),r(d,null,p(n,s=>e(v,{key:s.label,round:"",flat:"",class:"social-btn","aria-label":s.label},{default:a(()=>[e(C,null,{default:a(()=>[c(h(s.label),1)]),_:2},1024),o("img",{class:"social-icon",src:s.icon,alt:s.label},null,8,t0)]),_:2},1032,["aria-label"])),64))]),t[5]||(t[5]=o("div",{class:"footer-line"},null,-1))]),o("div",s0,[t[8]||(t[8]=o("div",{class:"footer-copyright"}," Copyright © 2024 All Rights Reserved. ",-1)),o("div",e0,[e(f,{class:"footer-legal-link",to:"/privacy"},{default:a(()=>[...t[6]||(t[6]=[c(" Privacy policy ",-1)])]),_:1}),e(f,{class:"footer-legal-link",to:"/terms"},{default:a(()=>[...t[7]||(t[7]=[c(" Terms & conditions ",-1)])]),_:1})])])])])])}}}),L0=k(l0,[["__scopeId","data-v-5238fbeb"]]),a0=I({name:"QSpace",setup(){const _=Q("div",{class:"q-space"});return()=>_}}),c0={class:"home-header"},n0={class:"topbar-section"},i0={class:"page-shell topbar-row"},r0={class:"topbar-group"},d0={class:"topbar-item"},p0={class:"topbar-item"},h0={class:"topbar-group topbar-group-end"},f0={class:"social-links"},v0=["src","alt"],_0={class:"topbar-item"},g0={class:"header-section"},m0={class:"page-shell"},u0={class:"desktop-nav gt-sm"},b0=w({__name:"HomeHeader",setup(_){const g=[{label:"Home",link:"/"},{label:"About Us",link:"/about"},{label:"Services",link:"/services"},{label:"Doctors",link:"/doctors"},{label:"Contact Us",link:"/contact"}],m=[{icon:L,label:"Instagram"},{icon:x,label:"Facebook"},{icon:y,label:"WhatsApp"}];return(b,n)=>(i(),r("div",c0,[o("section",n0,[o("div",i0,[o("div",r0,[o("div",d0,[e(u,{name:"schedule",size:"18px"}),n[0]||(n[0]=o("span",null,[o("strong",null,"Working Hour:"),c(" 08:00am to 09:00pm")],-1))]),o("div",p0,[e(u,{name:"mail",size:"18px"}),n[1]||(n[1]=o("span",null,[o("strong",null,"Email:"),c(" info@domainname.com")],-1))])]),o("div",h0,[o("div",f0,[(i(),r(d,null,p(m,l=>e(v,{key:l.label,round:"",flat:"",dense:"",class:"social-btn","aria-label":l.label},{default:a(()=>[e(C,null,{default:a(()=>[c(h(l.label),1)]),_:2},1024),o("img",{class:"social-icon",src:l.icon,alt:l.label},null,8,v0)]),_:2},1032,["aria-label"])),64))]),o("div",_0,[e(u,{name:"call",size:"18px"}),n[2]||(n[2]=o("span",null,[o("strong",null,"Contact:"),c(" +123 (456) 789")],-1))])])])]),o("section",g0,[o("div",m0,[e(z,{class:"header-toolbar"},{default:a(()=>[o("div",u0,[(i(),r(d,null,p(g,l=>e(v,{key:l.label,flat:"","no-caps":"",class:"nav-btn",label:l.label,to:l.link},null,8,["label","to"])),64))]),e(a0),e(v,{class:"lt-md",flat:"",round:"",dense:"",icon:"menu","aria-label":"Open navigation"})]),_:1})])])]))}}),y0=k(b0,[["__scopeId","data-v-326e0fe8"]]);export{y0 as H,L0 as a,x as f,L as i,A as l,U as m,B as p,y as w}; diff --git a/backend/internal/http/static/spa/assets/IndexPage-CWe5wEqb.js b/backend/internal/http/static/spa/assets/IndexPage-CWe5wEqb.js deleted file mode 100644 index d55b4e7..0000000 --- a/backend/internal/http/static/spa/assets/IndexPage-CWe5wEqb.js +++ /dev/null @@ -1 +0,0 @@ -import{Q as e}from"./QPage-D3501MqH.js";import{a,h as t,i as o}from"./index-B9vdjdfJ.js";const p=a({__name:"IndexPage",setup(r){return(s,n)=>(t(),o(e,{class:"row items-center justify-evenly"}))}});export{p as default}; diff --git a/backend/internal/http/static/spa/assets/IndexPage-DfNuzFub.js b/backend/internal/http/static/spa/assets/IndexPage-DfNuzFub.js new file mode 100644 index 0000000..0e01158 --- /dev/null +++ b/backend/internal/http/static/spa/assets/IndexPage-DfNuzFub.js @@ -0,0 +1 @@ +import{Q as e}from"./QPage-B68JuyjH.js";import{a,h as t,i as o}from"./index-DAvBaevK.js";const p=a({__name:"IndexPage",setup(r){return(s,n)=>(t(),o(e,{class:"row items-center justify-evenly"}))}});export{p as default}; diff --git a/backend/internal/http/static/spa/assets/IndexPage-DE6ucgFI.js b/backend/internal/http/static/spa/assets/IndexPage-HuzieOt1.js similarity index 88% rename from backend/internal/http/static/spa/assets/IndexPage-DE6ucgFI.js rename to backend/internal/http/static/spa/assets/IndexPage-HuzieOt1.js index 6827b37..16befb6 100644 --- a/backend/internal/http/static/spa/assets/IndexPage-DE6ucgFI.js +++ b/backend/internal/http/static/spa/assets/IndexPage-HuzieOt1.js @@ -1 +1 @@ -import{h as i,i as o,j as s,m as e,k as a,E as r,a3 as d,Q as n}from"./index-B9vdjdfJ.js";import{Q as l}from"./QPage-D3501MqH.js";import{_ as c}from"./_plugin-vue_export-helper-DlAUqK2U.js";const m={},u={class:"admin-index-shell"},p={class:"col-12 col-md-auto"};function f(x,t){return i(),o(l,{class:"admin-index-page"},{default:s(()=>[e("div",u,[t[1]||(t[1]=e("p",{class:"eyebrow"},"Admin",-1)),t[2]||(t[2]=e("h1",null,"Control Center",-1)),t[3]||(t[3]=e("p",{class:"subtitle"},"Accesso rapido agli strumenti di amministrazione del backend.",-1)),a(r,{flat:"",bordered:"",class:"admin-entry-card"},{default:s(()=>[a(d,{class:"row items-center justify-between q-col-gutter-md"},{default:s(()=>[t[0]||(t[0]=e("div",{class:"col-12 col-md"},[e("div",{class:"text-overline text-primary"},"Gestione utenti"),e("div",{class:"text-h6"},"Users"),e("div",{class:"text-body2 text-grey-7"}," Crea, modifica ed elimina utenti con dettagli e preferenze. ")],-1)),e("div",p,[a(n,{color:"primary",icon:"manage_accounts",label:"Apri pagina utenti",to:"/admin/users"})])]),_:1})]),_:1})])]),_:1})}const v=c(m,[["render",f],["__scopeId","data-v-bdd1e17c"]]);export{v as default}; +import{h as i,i as o,j as s,m as e,k as a,F as r,a3 as d,Q as n}from"./index-DAvBaevK.js";import{Q as l}from"./QPage-B68JuyjH.js";import{_ as c}from"./_plugin-vue_export-helper-DlAUqK2U.js";const m={},u={class:"admin-index-shell"},p={class:"col-12 col-md-auto"};function f(x,t){return i(),o(l,{class:"admin-index-page"},{default:s(()=>[e("div",u,[t[1]||(t[1]=e("p",{class:"eyebrow"},"Admin",-1)),t[2]||(t[2]=e("h1",null,"Control Center",-1)),t[3]||(t[3]=e("p",{class:"subtitle"},"Accesso rapido agli strumenti di amministrazione del backend.",-1)),a(r,{flat:"",bordered:"",class:"admin-entry-card"},{default:s(()=>[a(d,{class:"row items-center justify-between q-col-gutter-md"},{default:s(()=>[t[0]||(t[0]=e("div",{class:"col-12 col-md"},[e("div",{class:"text-overline text-primary"},"Gestione utenti"),e("div",{class:"text-h6"},"Users"),e("div",{class:"text-body2 text-grey-7"}," Crea, modifica ed elimina utenti con dettagli e preferenze. ")],-1)),e("div",p,[a(n,{color:"primary",icon:"manage_accounts",label:"Apri pagina utenti",to:"/admin/users"})])]),_:1})]),_:1})])]),_:1})}const v=c(m,[["render",f],["__scopeId","data-v-bdd1e17c"]]);export{v as default}; diff --git a/backend/internal/http/static/spa/assets/IndexPage-qHfbNmL8.js b/backend/internal/http/static/spa/assets/IndexPage-qHfbNmL8.js new file mode 100644 index 0000000..6feaacd --- /dev/null +++ b/backend/internal/http/static/spa/assets/IndexPage-qHfbNmL8.js @@ -0,0 +1 @@ +import{a as i,h as t,i as c,j as r,k as a,m as s,Q as l,F as d,s as p,G as m,H as u,y as _,n as g}from"./index-DAvBaevK.js";import{Q as h}from"./QPage-B68JuyjH.js";import{H as v,a as b}from"./HomeHeader-oAwoUp8W.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./logo-DdmK5n0b.js";import"./position-engine-BHgB6lrx.js";import"./selection-DrSF90ET.js";import"./QToolbar-DdNWxglI.js";const k="/assets/hero-img-D6ekzwy-.png",y={class:"hero-section"},x={class:"page-shell"},w={class:"row items-center q-col-gutter-xl"},B={class:"col-12 col-lg-6"},H={class:"hero-copy"},Q={class:"hero-actions"},C={class:"rating-stars","aria-label":"5 star rating"},I={class:"col-12 col-lg-6"},U={class:"hero-visual"},A={class:"hero-image-wrap"},E=["src"],F=i({__name:"IndexPage",setup(P){const n=[{label:"Home",link:"/"},{label:"About Us",link:"/about"},{label:"Services",link:"/services"},{label:"Doctors",link:"/doctors"},{label:"Contact Us",link:"/contact"}];return(q,e)=>(t(),c(h,{class:"index-page"},{default:r(()=>[a(v),s("section",y,[s("div",x,[s("div",w,[s("div",B,[s("div",H,[e[2]||(e[2]=s("div",{class:"eyebrow"},"Care that feels human, expertise you can trust",-1)),e[3]||(e[3]=s("h1",{class:"hero-title"},"Expert medical care you can rely on",-1)),e[4]||(e[4]=s("p",{class:"hero-text"}," Experience healthcare you can trust. Our dedicated team provides compassionate, high-quality care. ",-1)),s("div",Q,[a(l,{unelevated:"",rounded:"","no-caps":"",color:"primary",label:"Book an appointment"}),a(l,{outline:"",rounded:"","no-caps":"",color:"primary",label:"About us",to:n.find(o=>o.label==="About Us")?.link},null,8,["to"])]),a(d,{flat:"",class:"rating-card"},{default:r(()=>[e[0]||(e[0]=s("div",{class:"rating-copy"},[s("span",{class:"rating-label"},"Google Rating"),s("span",{class:"rating-score"},"5.0")],-1)),s("div",C,[(t(),p(m,null,u(5,o=>a(_,{key:o,name:"star",color:"warning"})),64))]),e[1]||(e[1]=s("div",{class:"rating-caption"},"based on 500 reviews",-1))]),_:1})])]),s("div",I,[s("div",U,[s("div",A,[s("img",{class:"hero-image",src:g(k),alt:"Medical team"},null,8,E)])])])])])]),a(b)]),_:1}))}}),O=f(F,[["__scopeId","data-v-c2a126e0"]]);export{O as default}; diff --git a/backend/internal/http/static/spa/assets/IndexPage-xIT21-b4.js b/backend/internal/http/static/spa/assets/IndexPage-xIT21-b4.js deleted file mode 100644 index fe2e695..0000000 --- a/backend/internal/http/static/spa/assets/IndexPage-xIT21-b4.js +++ /dev/null @@ -1 +0,0 @@ -import{a as i,h as t,i as c,j as r,k as a,m as s,Q as l,E as d,q as p,F as m,G as u,x as _,H as g}from"./index-B9vdjdfJ.js";import{Q as h}from"./QPage-D3501MqH.js";import{H as v,a as b}from"./HomeHeader-F2sD99DF.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./QTooltip-D2MBGu_Z.js";import"./position-engine-CFuXolvx.js";import"./selection-HrszS3Ie.js";import"./QToolbar-k3h3juC8.js";const k="/assets/hero-img-D6ekzwy-.png",x={class:"hero-section"},y={class:"page-shell"},w={class:"row items-center q-col-gutter-xl"},B={class:"col-12 col-lg-6"},H={class:"hero-copy"},Q={class:"hero-actions"},C={class:"rating-stars","aria-label":"5 star rating"},I={class:"col-12 col-lg-6"},E={class:"hero-visual"},U={class:"hero-image-wrap"},q=["src"],A=i({__name:"IndexPage",setup(F){const n=[{label:"Home",link:"/"},{label:"About Us",link:"/about"},{label:"Services",link:"/services"},{label:"Doctors",link:"/doctors"},{label:"Contact Us",link:"/contact"}];return(P,e)=>(t(),c(h,{class:"index-page"},{default:r(()=>[a(v),s("section",x,[s("div",y,[s("div",w,[s("div",B,[s("div",H,[e[2]||(e[2]=s("div",{class:"eyebrow"},"Care that feels human, expertise you can trust",-1)),e[3]||(e[3]=s("h1",{class:"hero-title"},"Expert medical care you can rely on",-1)),e[4]||(e[4]=s("p",{class:"hero-text"}," Experience healthcare you can trust. Our dedicated team provides compassionate, high-quality care. ",-1)),s("div",Q,[a(l,{unelevated:"",rounded:"","no-caps":"",color:"primary",label:"Book an appointment"}),a(l,{outline:"",rounded:"","no-caps":"",color:"primary",label:"About us",to:n.find(o=>o.label==="About Us")?.link},null,8,["to"])]),a(d,{flat:"",class:"rating-card"},{default:r(()=>[e[0]||(e[0]=s("div",{class:"rating-copy"},[s("span",{class:"rating-label"},"Google Rating"),s("span",{class:"rating-score"},"5.0")],-1)),s("div",C,[(t(),p(m,null,u(5,o=>a(_,{key:o,name:"star",color:"warning"})),64))]),e[1]||(e[1]=s("div",{class:"rating-caption"},"based on 500 reviews",-1))]),_:1})])]),s("div",I,[s("div",E,[s("div",U,[s("img",{class:"hero-image",src:g(k),alt:"Medical team"},null,8,q)])])])])])]),a(b)]),_:1}))}}),O=f(A,[["__scopeId","data-v-c2a126e0"]]);export{O as default}; diff --git a/backend/internal/http/static/spa/assets/LoginPage-ClfsMK2o.js b/backend/internal/http/static/spa/assets/LoginPage-BgmpoZun.js similarity index 60% rename from backend/internal/http/static/spa/assets/LoginPage-ClfsMK2o.js rename to backend/internal/http/static/spa/assets/LoginPage-BgmpoZun.js index 4c117aa..b739781 100644 --- a/backend/internal/http/static/spa/assets/LoginPage-ClfsMK2o.js +++ b/backend/internal/http/static/spa/assets/LoginPage-BgmpoZun.js @@ -1 +1 @@ -import{a as y,b as _,g as b,h as x,i as Q,j as s,m as n,k as e,E as V,a3 as u,s as p,I as C,J as f,x as k,Q as P,n as c,C as v,K as h}from"./index-B9vdjdfJ.js";import{Q as B}from"./QForm-uiBLv4qC.js";import{Q as E}from"./QPage-D3501MqH.js";import{u as I}from"./use-quasar-BoyshCFo.js";import{l as L}from"./api-RGUeM09o.js";import{_ as S}from"./_plugin-vue_export-helper-DlAUqK2U.js";const A={class:"auth-shell"},N=y({__name:"LoginPage",setup(U){const g=_(),d=I(),i=v(!1),r=v(!1),o=h({username:"",password:""});async function w(){i.value=!0;try{const t=await L({username:o.username.trim(),password:o.password});if(t.error)throw new Error(t.error);d.notify({type:"positive",message:"Login effettuato."}),await g.push("/")}catch(t){d.notify({type:"negative",message:t instanceof Error?t.message:String(t)})}finally{i.value=!1}}return(t,a)=>{const m=b("router-link");return x(),Q(E,{class:"auth-page"},{default:s(()=>[n("div",A,[e(V,{flat:"",bordered:"",class:"auth-card"},{default:s(()=>[e(u,null,{default:s(()=>[...a[3]||(a[3]=[n("div",{class:"text-overline text-primary"},"Accesso",-1),n("div",{class:"text-h4"},"Login",-1),n("div",{class:"text-body2 text-grey-7"},"Accedi con email e password.",-1)])]),_:1}),e(p),e(u,null,{default:s(()=>[e(B,{class:"auth-form",onSubmit:C(w,["prevent"])},{default:s(()=>[e(f,{modelValue:o.username,"onUpdate:modelValue":a[0]||(a[0]=l=>o.username=l),outlined:"",type:"email",label:"Email",autocomplete:"username"},null,8,["modelValue"]),e(f,{modelValue:o.password,"onUpdate:modelValue":a[2]||(a[2]=l=>o.password=l),outlined:"",type:r.value?"text":"password",label:"Password",autocomplete:"current-password"},{append:s(()=>[e(k,{name:r.value?"visibility_off":"visibility",class:"cursor-pointer",onClick:a[1]||(a[1]=l=>r.value=!r.value)},null,8,["name"])]),_:1},8,["modelValue","type"]),e(P,{color:"primary",label:"Accedi",type:"submit",loading:i.value},null,8,["loading"])]),_:1})]),_:1}),e(p),e(u,{class:"auth-links"},{default:s(()=>[e(m,{to:"/recoverpassword"},{default:s(()=>[...a[4]||(a[4]=[c("Password dimenticata?",-1)])]),_:1}),e(m,{to:"/signup"},{default:s(()=>[...a[5]||(a[5]=[c("Crea account",-1)])]),_:1})]),_:1})]),_:1})])]),_:1})}}}),M=S(N,[["__scopeId","data-v-e726952b"]]);export{M as default}; +import{a as y,b as _,g as b,h as Q,i as x,j as s,m as n,k as e,F as V,a3 as u,v as p,I as k,J as f,y as C,Q as P,p as c,D as v,K as h}from"./index-DAvBaevK.js";import{Q as B}from"./QForm-CgLsd63I.js";import{Q as I}from"./QPage-B68JuyjH.js";import{u as L}from"./use-quasar-B5tVCAcV.js";import{l as S}from"./api-RGUeM09o.js";import{_ as A}from"./_plugin-vue_export-helper-DlAUqK2U.js";const E={class:"auth-shell"},N=y({__name:"LoginPage",setup(F){const g=_(),d=L(),i=v(!1),r=v(!1),o=h({username:"",password:""});async function w(){i.value=!0;try{const t=await S({username:o.username.trim(),password:o.password});if(t.error)throw new Error(t.error);d.notify({type:"positive",message:"Login effettuato."}),await g.push("/")}catch(t){d.notify({type:"negative",message:t instanceof Error?t.message:String(t)})}finally{i.value=!1}}return(t,a)=>{const m=b("router-link");return Q(),x(I,{class:"auth-page"},{default:s(()=>[n("div",E,[e(V,{flat:"",bordered:"",class:"auth-card"},{default:s(()=>[e(u,null,{default:s(()=>[...a[3]||(a[3]=[n("div",{class:"text-overline text-primary"},"Accesso",-1),n("div",{class:"text-h4"},"Login",-1),n("div",{class:"text-body2 text-grey-7"},"Accedi con email e password.",-1)])]),_:1}),e(p),e(u,null,{default:s(()=>[e(B,{class:"auth-form",onSubmit:k(w,["prevent"])},{default:s(()=>[e(f,{modelValue:o.username,"onUpdate:modelValue":a[0]||(a[0]=l=>o.username=l),outlined:"",type:"email",label:"Email",autocomplete:"username"},null,8,["modelValue"]),e(f,{modelValue:o.password,"onUpdate:modelValue":a[2]||(a[2]=l=>o.password=l),outlined:"",type:r.value?"text":"password",label:"Password",autocomplete:"current-password"},{append:s(()=>[e(C,{name:r.value?"visibility_off":"visibility",class:"cursor-pointer",onClick:a[1]||(a[1]=l=>r.value=!r.value)},null,8,["name"])]),_:1},8,["modelValue","type"]),e(P,{color:"primary",label:"Accedi",type:"submit",loading:i.value},null,8,["loading"])]),_:1})]),_:1}),e(p),e(u,{class:"auth-links"},{default:s(()=>[e(m,{to:"/recoverpassword"},{default:s(()=>[...a[4]||(a[4]=[c("Password dimenticata?",-1)])]),_:1}),e(m,{to:"/signup"},{default:s(()=>[...a[5]||(a[5]=[c("Crea account",-1)])]),_:1})]),_:1})]),_:1})])]),_:1})}}}),K=A(N,[["__scopeId","data-v-e726952b"]]);export{K as default}; diff --git a/backend/internal/http/static/spa/assets/MailDebugPage-DwRhtT-c.js b/backend/internal/http/static/spa/assets/MailDebugPage-DwRhtT-c.js deleted file mode 100644 index c538bb9..0000000 --- a/backend/internal/http/static/spa/assets/MailDebugPage-DwRhtT-c.js +++ /dev/null @@ -1 +0,0 @@ -import{a as V,o as A,h as r,i as H,j as f,m as t,n as v,k as n,E as F,a3 as w,Q as x,s as P,q as m,t as g,y as z,C as b,D as y}from"./index-B9vdjdfJ.js";import{a as Z}from"./QSelect-B-H7KBd7.js";import{Q as j}from"./QPage-D3501MqH.js";import{u as q}from"./use-quasar-BoyshCFo.js";import{e as I}from"./api-RGUeM09o.js";import{_ as R}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./format-BipdGd1G.js";import"./position-engine-CFuXolvx.js";import"./selection-HrszS3Ie.js";const O={class:"mail-debug-shell"},U={key:0,class:"error-box"},G={key:1,class:"empty-state"},J={key:2,class:"preview-grid"},K={class:"meta-column"},W={key:0,class:"meta-line"},X={key:1,class:"meta-line"},Y={class:"preview-column"},ee=["srcdoc"],ae=V({__name:"MailDebugPage",setup(le){const M=q(),p=b(!1),o=b([]),s=b(null),u=b(""),$=y(()=>o.value.map((a,e)=>({label:N(a.name||`Mail ${e+1}`).displayName,value:e}))),i=y(()=>s.value===null?null:o.value[s.value]??null),c=y(()=>i.value?N(i.value.name):{displayName:"",email:null,localDate:null}),C=y(()=>S(i.value?.content??""));function S(a){const e='';return/]*>/i.test(a)?a.replace(/]*>/i,l=>`${l}${e}`):`${e}${a}`}function N(a){const e=a.replace(/\.eml$/i,""),l=e.match(/^(\d{10,20})_(.+)$/);let d=e,_=null;l?.[1]&&l[2]&&(_=l[1],d=l[2]);const k=d.replace(/_at_/gi,"@"),h=k.match(/[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/),E=(_?L(_):null)??Q(e);return{displayName:h?.[0]??k,email:h?h[0]:null,localDate:E}}function L(a){const e=Number(a);if(!Number.isFinite(e))return null;let l=e;a.length>=19?l=Math.floor(e/1e6):a.length>=16?l=Math.floor(e/1e3):a.length<=10&&(l=e*1e3);const d=new Date(l);return Number.isNaN(d.getTime())?null:d.toLocaleString()}function Q(a){const e=a.match(/(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z?)/);if(e)return D(e[0]);const l=a.match(/(\d{4}-\d{2}-\d{2}[ _]\d{2}[-:]\d{2}[-:]\d{2})/);return l?D(l[0]):null}function D(a){const e=a.replace(" ","T").replace(/(T\d{2})-(\d{2})-(\d{2})$/,"$1:$2:$3"),l=new Date(e);return Number.isNaN(l.getTime())?a:l.toLocaleString()}async function T(){p.value=!0,u.value="";try{const a=await I();if(a.error){u.value=a.error,o.value=[],s.value=null;return}o.value=Array.isArray(a.data)?a.data:[],s.value=o.value.length>0?0:null}catch(a){u.value=a instanceof Error?a.message:String(a),o.value=[],s.value=null}finally{p.value=!1}}async function B(){if(i.value)try{await navigator.clipboard.writeText(i.value.content),M.notify({type:"positive",message:"HTML copiato negli appunti",position:"top-right"})}catch{M.notify({type:"negative",message:"Copia non riuscita",position:"top-right"})}}return A(async()=>{await T()}),(a,e)=>(r(),H(j,{class:"mail-debug-page"},{default:f(()=>[t("div",O,[e[5]||(e[5]=t("header",{class:"mail-debug-header"},[t("p",{class:"eyebrow"},"Developer tools"),t("h1",null,"Mail Debug"),t("p",{class:"subtitle"},[v(" Seleziona una mail da "),t("strong",null,"/maildebug"),v(" e visualizza l'HTML renderizzato. ")])],-1)),n(F,{flat:"",bordered:"",class:"mail-debug-card"},{default:f(()=>[n(w,{class:"controls"},{default:f(()=>[n(x,{color:"primary",icon:"refresh",label:"Aggiorna lista",loading:p.value,onClick:T},null,8,["loading"]),n(Z,{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=l=>s.value=l),options:$.value,"option-label":"label","option-value":"value","emit-value":"","map-options":"",outlined:"",dense:"",label:"Seleziona mail",class:"mail-select",disable:p.value||o.value.length===0},null,8,["modelValue","options","disable"])]),_:1}),n(P),n(w,null,{default:f(()=>[u.value?(r(),m("div",U,g(u.value),1)):i.value?(r(),m("div",J,[t("div",K,[e[3]||(e[3]=t("p",{class:"meta-label"},"Nome mail",-1)),t("h2",null,g(c.value.displayName),1),c.value.email?(r(),m("p",W,[e[1]||(e[1]=t("strong",null,"Email:",-1)),v(" "+g(c.value.email),1)])):z("",!0),c.value.localDate?(r(),m("p",X,[e[2]||(e[2]=t("strong",null,"Data locale:",-1)),v(" "+g(c.value.localDate),1)])):z("",!0),n(x,{flat:"",color:"secondary",icon:"content_copy",label:"Copia HTML",onClick:B})]),t("div",Y,[e[4]||(e[4]=t("p",{class:"meta-label"},"Render HTML",-1)),t("iframe",{class:"preview-frame",srcdoc:C.value,sandbox:"allow-popups allow-popups-to-escape-sandbox",title:"Mail HTML preview"},null,8,ee)])])):(r(),m("div",G,"Nessuna mail selezionata."))]),_:1})]),_:1})])]),_:1}))}}),fe=R(ae,[["__scopeId","data-v-1b5b3a76"]]);export{fe as default}; diff --git a/backend/internal/http/static/spa/assets/MailDebugPage-DxWNUslA.js b/backend/internal/http/static/spa/assets/MailDebugPage-DxWNUslA.js new file mode 100644 index 0000000..89128e6 --- /dev/null +++ b/backend/internal/http/static/spa/assets/MailDebugPage-DxWNUslA.js @@ -0,0 +1 @@ +import{a as V,o as A,h as r,i as H,j as v,m as t,p as f,k as n,F,a3 as w,Q as z,v as P,s as m,t as g,z as x,D as b,E as _}from"./index-DAvBaevK.js";import{a as Z}from"./QSelect-Bmx_AjWr.js";import{Q as j}from"./QPage-B68JuyjH.js";import{u as I}from"./use-quasar-B5tVCAcV.js";import{e as R}from"./api-RGUeM09o.js";import{_ as q}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./format-DaKpMo2W.js";import"./position-engine-BHgB6lrx.js";import"./selection-DrSF90ET.js";const O={class:"mail-debug-shell"},U={key:0,class:"error-box"},G={key:1,class:"empty-state"},J={key:2,class:"preview-grid"},K={class:"meta-column"},W={key:0,class:"meta-line"},X={key:1,class:"meta-line"},Y={class:"preview-column"},ee=["srcdoc"],ae=V({__name:"MailDebugPage",setup(le){const M=I(),p=b(!1),o=b([]),s=b(null),u=b(""),$=_(()=>o.value.map((a,e)=>({label:N(a.name||`Mail ${e+1}`).displayName,value:e}))),i=_(()=>s.value===null?null:o.value[s.value]??null),c=_(()=>i.value?N(i.value.name):{displayName:"",email:null,localDate:null}),S=_(()=>C(i.value?.content??""));function C(a){const e='';return/]*>/i.test(a)?a.replace(/]*>/i,l=>`${l}${e}`):`${e}${a}`}function N(a){const e=a.replace(/\.eml$/i,""),l=e.match(/^(\d{10,20})_(.+)$/);let d=e,y=null;l?.[1]&&l[2]&&(y=l[1],d=l[2]);const k=d.replace(/_at_/gi,"@"),h=k.match(/[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/),E=(y?L(y):null)??Q(e);return{displayName:h?.[0]??k,email:h?h[0]:null,localDate:E}}function L(a){const e=Number(a);if(!Number.isFinite(e))return null;let l=e;a.length>=19?l=Math.floor(e/1e6):a.length>=16?l=Math.floor(e/1e3):a.length<=10&&(l=e*1e3);const d=new Date(l);return Number.isNaN(d.getTime())?null:d.toLocaleString()}function Q(a){const e=a.match(/(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z?)/);if(e)return D(e[0]);const l=a.match(/(\d{4}-\d{2}-\d{2}[ _]\d{2}[-:]\d{2}[-:]\d{2})/);return l?D(l[0]):null}function D(a){const e=a.replace(" ","T").replace(/(T\d{2})-(\d{2})-(\d{2})$/,"$1:$2:$3"),l=new Date(e);return Number.isNaN(l.getTime())?a:l.toLocaleString()}async function T(){p.value=!0,u.value="";try{const a=await R();if(a.error){u.value=a.error,o.value=[],s.value=null;return}o.value=Array.isArray(a.data)?a.data:[],s.value=o.value.length>0?0:null}catch(a){u.value=a instanceof Error?a.message:String(a),o.value=[],s.value=null}finally{p.value=!1}}async function B(){if(i.value)try{await navigator.clipboard.writeText(i.value.content),M.notify({type:"positive",message:"HTML copiato negli appunti",position:"top-right"})}catch{M.notify({type:"negative",message:"Copia non riuscita",position:"top-right"})}}return A(async()=>{await T()}),(a,e)=>(r(),H(j,{class:"mail-debug-page"},{default:v(()=>[t("div",O,[e[5]||(e[5]=t("header",{class:"mail-debug-header"},[t("p",{class:"eyebrow"},"Developer tools"),t("h1",null,"Mail Debug"),t("p",{class:"subtitle"},[f(" Seleziona una mail da "),t("strong",null,"/maildebug"),f(" e visualizza l'HTML renderizzato. ")])],-1)),n(F,{flat:"",bordered:"",class:"mail-debug-card"},{default:v(()=>[n(w,{class:"controls"},{default:v(()=>[n(z,{color:"primary",icon:"refresh",label:"Aggiorna lista",loading:p.value,onClick:T},null,8,["loading"]),n(Z,{modelValue:s.value,"onUpdate:modelValue":e[0]||(e[0]=l=>s.value=l),options:$.value,"option-label":"label","option-value":"value","emit-value":"","map-options":"",outlined:"",dense:"",label:"Seleziona mail",class:"mail-select",disable:p.value||o.value.length===0},null,8,["modelValue","options","disable"])]),_:1}),n(P),n(w,null,{default:v(()=>[u.value?(r(),m("div",U,g(u.value),1)):i.value?(r(),m("div",J,[t("div",K,[e[3]||(e[3]=t("p",{class:"meta-label"},"Nome mail",-1)),t("h2",null,g(c.value.displayName),1),c.value.email?(r(),m("p",W,[e[1]||(e[1]=t("strong",null,"Email:",-1)),f(" "+g(c.value.email),1)])):x("",!0),c.value.localDate?(r(),m("p",X,[e[2]||(e[2]=t("strong",null,"Data locale:",-1)),f(" "+g(c.value.localDate),1)])):x("",!0),n(z,{flat:"",color:"secondary",icon:"content_copy",label:"Copia HTML",onClick:B})]),t("div",Y,[e[4]||(e[4]=t("p",{class:"meta-label"},"Render HTML",-1)),t("iframe",{class:"preview-frame",srcdoc:S.value,sandbox:"allow-popups allow-popups-to-escape-sandbox",title:"Mail HTML preview"},null,8,ee)])])):(r(),m("div",G,"Nessuna mail selezionata."))]),_:1})]),_:1})])]),_:1}))}}),ve=q(ae,[["__scopeId","data-v-1b5b3a76"]]);export{ve as default}; diff --git a/backend/internal/http/static/spa/assets/MainLayout-BUVfGOmu.css b/backend/internal/http/static/spa/assets/MainLayout-BUVfGOmu.css new file mode 100644 index 0000000..5f62dae --- /dev/null +++ b/backend/internal/http/static/spa/assets/MainLayout-BUVfGOmu.css @@ -0,0 +1 @@ +.lang-fallback[data-v-1941e633]{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:22px;padding:0 4px;border:1px solid currentColor;border-radius:4px;font-size:10px;line-height:1;font-weight:700}.border[data-v-1941e633]{border:1px solid #fff;border-radius:4px}.q-select i.q-icon[data-v-1941e633]{color:#fff!important}.user-avatar[data-v-1941e633]{background:linear-gradient(135deg,#0d47a1,#26a69a);color:#fff;font-size:.78rem;font-weight:700}.brand-logo-tb[data-v-1941e633]{height:42px;width:auto} diff --git a/backend/internal/http/static/spa/assets/MainLayout-BlbPIMKP.js b/backend/internal/http/static/spa/assets/MainLayout-BlbPIMKP.js deleted file mode 100644 index 6383beb..0000000 --- a/backend/internal/http/static/spa/assets/MainLayout-BlbPIMKP.js +++ /dev/null @@ -1 +0,0 @@ -import{Q as F,a as A,b as T,c as E}from"./QLayout-BeBUeNGB.js";import{Q as P}from"./QTooltip-D2MBGu_Z.js";import{a as U,u as q,b as N,e as D,f as R,o as $,w as j,g as O,h as i,i as u,j as e,k as t,m as c,n as r,t as n,Q as x,p as W,q as f,s as G,v as y,x as b,y as J,z as K,A as X,B as M,C as Y,D as h}from"./index-B9vdjdfJ.js";import{Q as v,a as d,b as m}from"./format-BipdGd1G.js";import{Q as Z}from"./QResizeObserver-CyV47ipF.js";import{Q as e0,a as t0}from"./QSelect-B-H7KBd7.js";import{Q as a0}from"./QToolbar-k3h3juC8.js";import{C as k}from"./ClosePopup-B5ubkw_-.js";import{m as l0}from"./api-RGUeM09o.js";import{_ as s0}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./position-engine-CFuXolvx.js";import"./selection-HrszS3Ie.js";const o0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-ch'%20viewBox='0%200%20640%20480'%3e%3cg%20fill-rule='evenodd'%20stroke-width='1pt'%3e%3cpath%20fill='red'%20d='M0%200h640v480H0z'/%3e%3cg%20fill='%23fff'%3e%3cpath%20d='M170%20195h300v90H170z'/%3e%3cpath%20d='M275%2090h90v300h-90z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",i0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-de'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23fc0'%20d='M0%20320h640v160H0z'/%3e%3cpath%20fill='%23000001'%20d='M0%200h640v160H0z'/%3e%3cpath%20fill='red'%20d='M0%20160h640v160H0z'/%3e%3c/svg%3e",n0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-gb'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23012169'%20d='M0%200h640v480H0z'/%3e%3cpath%20fill='%23FFF'%20d='m75%200%20244%20181L562%200h78v62L400%20241l240%20178v61h-80L320%20301%2081%20480H0v-60l239-178L0%2064V0z'/%3e%3cpath%20fill='%23C8102E'%20d='m424%20281%20216%20159v40L369%20281zm-184%2020%206%2035L54%20480H0zM640%200v3L391%20191l2-44L590%200zM0%200l239%20176h-60L0%2042z'/%3e%3cpath%20fill='%23FFF'%20d='M241%200v480h160V0zM0%20160v160h640V160z'/%3e%3cpath%20fill='%23C8102E'%20d='M0%20193v96h640v-96zM273%200v480h96V0z'/%3e%3c/svg%3e",r0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-us'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23bd3d44'%20d='M0%200h640v480H0'/%3e%3cpath%20stroke='%23fff'%20stroke-width='37'%20d='M0%2055.3h640M0%20129h640M0%20203h640M0%20277h640M0%20351h640M0%20425h640'/%3e%3cpath%20fill='%23192f5d'%20d='M0%200h364.8v258.5H0'/%3e%3cmarker%20id='us-a'%20markerHeight='30'%20markerWidth='30'%3e%3cpath%20fill='%23fff'%20d='m14%200%209%2027L0%2010h28L5%2027z'/%3e%3c/marker%3e%3cpath%20fill='none'%20marker-mid='url(%23us-a)'%20d='m0%200%2016%2011h61%2061%2061%2061%2060L47%2037h61%2061%2060%2061L16%2063h61%2061%2061%2061%2060L47%2089h61%2061%2060%2061L16%20115h61%2061%2061%2061%2060L47%20141h61%2061%2060%2061L16%20166h61%2061%2061%2061%2060L47%20192h61%2061%2060%2061L16%20218h61%2061%2061%2061%2060z'/%3e%3c/svg%3e",d0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-fr'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23fff'%20d='M0%200h640v480H0z'/%3e%3cpath%20fill='%23000091'%20d='M0%200h213.3v480H0z'/%3e%3cpath%20fill='%23e1000f'%20d='M426.7%200H640v480H426.7z'/%3e%3c/svg%3e",c0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-it'%20viewBox='0%200%20640%20480'%3e%3cg%20fill-rule='evenodd'%20stroke-width='1pt'%3e%3cpath%20fill='%23fff'%20d='M0%200h640v480H0z'/%3e%3cpath%20fill='%23009246'%20d='M0%200h213.3v480H0z'/%3e%3cpath%20fill='%23ce2b37'%20d='M426.7%200H640v480H426.7z'/%3e%3c/g%3e%3c/svg%3e",f0={class:"q-ml-md"},u0=["src","alt"],g0={key:1},h0={class:"q-ml-md"},v0={class:"row items-center no-wrap"},m0=["src","alt"],p0={key:1,class:"lang-fallback"},_0={class:"bold text-white q-ml-md"},w0=["src","alt"],x0={key:1,class:"lang-fallback"},y0=U({__name:"MainLayout",setup(b0){const{t:z}=q(),L=N(),Q=D(),p=R(),o=Y(null),_=h({get:()=>p.language,set:s=>{p.setLanguage(s)}}),H=Object.assign({"../assets/flags/ch.svg":o0,"../assets/flags/de.svg":i0,"../assets/flags/en.svg":n0,"../assets/flags/en_us.svg":r0,"../assets/flags/fr.svg":d0,"../assets/flags/it.svg":c0}),S=[{code:"it",short_name:"IT",flag:"it.svg",style:"width:32px;height:22px;"},{code:"en",short_name:"EN",flag:"en.svg",style:"width:32px;height:22px;"},{code:"en_us",short_name:"EN",flag:"en_us.svg",style:"width:32px;height:22px;"},{code:"de",short_name:"DE",flag:"de.svg",style:"width:32px;height:22px;"},{code:"de_ch",short_name:"DE",flag:"ch.svg",style:"width:22px;height:22px;object-fit: cover;"},{code:"fr",short_name:"FR",flag:"fr.svg",style:"width:32px;height:22px;"},{code:"fr_ch",short_name:"FR",flag:"ch.svg",style:"width:22px;height:22px;object-fit: cover;"}],C=h(()=>S.map(s=>({label:z(`language.${s.code}`),value:s.code,flagSrc:H[`../assets/flags/${s.flag}`]??null,flagStyle:s.style,short_name:s.short_name}))),B=h(()=>o.value?.roles.includes("admin")??!1),V=h(()=>{const l=(o.value?.name?.trim()||o.value?.email?.trim()||"?").split(/\s+/).filter(Boolean),g=l[0]??"",a=l[1]??"";return l.length>1?`${g.charAt(0)}${a.charAt(0)}`.toUpperCase():g.slice(0,2).toUpperCase()});$(async()=>{await w()}),j(()=>Q.fullPath,async()=>{await w()});async function w(){if(typeof window>"u"||!window.localStorage.getItem("Auth-Token")){o.value=null;return}const s=await l0();o.value=s.error?null:s.data}async function I(){typeof window<"u"&&window.localStorage.removeItem("Auth-Token"),o.value=null,await L.push("/")}return(s,l)=>{const g=O("router-view");return i(),u(E,{view:"lHh Lpr lFf"},{default:e(()=>[t(F,{elevated:""},{default:e(()=>[t(a0,null,{default:e(()=>[l[5]||(l[5]=c("img",{"data-v-2373a833":"",class:"brand-logo-tb",src:"/src/assets/home/logo.png",alt:"Omnimed logo"},null,-1)),t(A,null,{default:e(()=>[...l[1]||(l[1]=[r(" Omnimed ",-1)])]),_:1}),c("div",null,"Quasar v"+n(s.$q.version),1),c("div",f0,[o.value?(i(),u(x,{key:1,flat:"",round:"",dense:""},{default:e(()=>[t(W,{size:"34px",class:"user-avatar"},{default:e(()=>[o.value.avatar?(i(),f("img",{key:0,src:o.value.avatar,alt:o.value.name},null,8,u0)):(i(),f("span",g0,n(V.value),1))]),_:1}),t(e0,{anchor:"bottom right",self:"top right"},{default:e(()=>[t(Z,{dense:"",style:{"min-width":"190px"}},{default:e(()=>[t(v,null,{default:e(()=>[t(d,null,{default:e(()=>[t(m,null,{default:e(()=>[r(n(o.value.name),1)]),_:1}),t(m,{caption:""},{default:e(()=>[r(n(o.value.email),1)]),_:1})]),_:1})]),_:1}),t(G),B.value?y((i(),u(v,{key:0,clickable:"",to:"/admin"},{default:e(()=>[t(d,{avatar:""},{default:e(()=>[t(b,{name:"admin_panel_settings"})]),_:1}),t(d,null,{default:e(()=>[...l[3]||(l[3]=[r("Admin",-1)])]),_:1})]),_:1})),[[k]]):J("",!0),y((i(),u(v,{clickable:"",onClick:I},{default:e(()=>[t(d,{avatar:""},{default:e(()=>[t(b,{name:"logout"})]),_:1}),t(d,null,{default:e(()=>[...l[4]||(l[4]=[r("Logout",-1)])]),_:1})]),_:1})),[[k]])]),_:1})]),_:1})]),_:1})):(i(),u(x,{key:0,flat:"",round:"",color:"white",icon:"lock",to:"/login"},{default:e(()=>[t(P,null,{default:e(()=>[...l[2]||(l[2]=[r("Login",-1)])]),_:1})]),_:1}))]),c("div",h0,[t(t0,{modelValue:_.value,"onUpdate:modelValue":l[0]||(l[0]=a=>_.value=a),options:C.value,"option-label":"label","option-value":"value","emit-value":"","map-options":"",class:"q-select",dark:""},{"selected-item":e(a=>[c("div",v0,[a.opt.flagSrc?(i(),f("img",{key:0,class:"border",src:a.opt.flagSrc,alt:a.opt.label,style:M(a.opt.flagStyle)},null,12,m0)):(i(),f("span",p0,n(a.opt.value.toUpperCase()),1)),c("span",_0,n(a.opt.short_name),1)])]),option:e(a=>[t(v,K(X(a.itemProps)),{default:e(()=>[t(d,{avatar:""},{default:e(()=>[a.opt.flagSrc?(i(),f("img",{key:0,src:a.opt.flagSrc,alt:a.opt.label,style:M(a.opt.flagStyle)},null,12,w0)):(i(),f("span",x0,n(a.opt.value.toUpperCase()),1))]),_:2},1024),t(d,null,{default:e(()=>[t(m,null,{default:e(()=>[r(n(a.opt.label),1)]),_:2},1024)]),_:2},1024)]),_:2},1040)]),_:1},8,["modelValue","options"])])]),_:1})]),_:1}),t(T,null,{default:e(()=>[t(g)]),_:1})]),_:1})}}}),A0=s0(y0,[["__scopeId","data-v-3669e2f9"]]);export{A0 as default}; diff --git a/backend/internal/http/static/spa/assets/MainLayout-BqadnCMs.js b/backend/internal/http/static/spa/assets/MainLayout-BqadnCMs.js new file mode 100644 index 0000000..a72e63e --- /dev/null +++ b/backend/internal/http/static/spa/assets/MainLayout-BqadnCMs.js @@ -0,0 +1 @@ +import{Q as F,a as A,b as E,c as T}from"./QLayout-DZVoSyXn.js";import{f as U,Q as P}from"./logo-DdmK5n0b.js";import{a as q,u as N,b as D,e as R,f as $,o as j,w as O,g as W,h as i,i as u,j as e,k as t,m as c,n as G,p as r,t as n,Q as x,q as J,s as f,v as K,x as y,y as b,z as X,A as Y,B as Z,C as M,D as e0,E as h}from"./index-DAvBaevK.js";import{Q as v,a as d,b as m}from"./format-DaKpMo2W.js";import{Q as t0}from"./QResizeObserver-CenQZ1Fm.js";import{Q as a0,a as l0}from"./QSelect-Bmx_AjWr.js";import{Q as s0}from"./QToolbar-DdNWxglI.js";import{C as k}from"./ClosePopup-DV5_zFD6.js";import{m as o0}from"./api-RGUeM09o.js";import{_ as i0}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./position-engine-BHgB6lrx.js";import"./selection-DrSF90ET.js";const n0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-ch'%20viewBox='0%200%20640%20480'%3e%3cg%20fill-rule='evenodd'%20stroke-width='1pt'%3e%3cpath%20fill='red'%20d='M0%200h640v480H0z'/%3e%3cg%20fill='%23fff'%3e%3cpath%20d='M170%20195h300v90H170z'/%3e%3cpath%20d='M275%2090h90v300h-90z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",r0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-de'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23fc0'%20d='M0%20320h640v160H0z'/%3e%3cpath%20fill='%23000001'%20d='M0%200h640v160H0z'/%3e%3cpath%20fill='red'%20d='M0%20160h640v160H0z'/%3e%3c/svg%3e",d0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-gb'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23012169'%20d='M0%200h640v480H0z'/%3e%3cpath%20fill='%23FFF'%20d='m75%200%20244%20181L562%200h78v62L400%20241l240%20178v61h-80L320%20301%2081%20480H0v-60l239-178L0%2064V0z'/%3e%3cpath%20fill='%23C8102E'%20d='m424%20281%20216%20159v40L369%20281zm-184%2020%206%2035L54%20480H0zM640%200v3L391%20191l2-44L590%200zM0%200l239%20176h-60L0%2042z'/%3e%3cpath%20fill='%23FFF'%20d='M241%200v480h160V0zM0%20160v160h640V160z'/%3e%3cpath%20fill='%23C8102E'%20d='M0%20193v96h640v-96zM273%200v480h96V0z'/%3e%3c/svg%3e",c0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-us'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23bd3d44'%20d='M0%200h640v480H0'/%3e%3cpath%20stroke='%23fff'%20stroke-width='37'%20d='M0%2055.3h640M0%20129h640M0%20203h640M0%20277h640M0%20351h640M0%20425h640'/%3e%3cpath%20fill='%23192f5d'%20d='M0%200h364.8v258.5H0'/%3e%3cmarker%20id='us-a'%20markerHeight='30'%20markerWidth='30'%3e%3cpath%20fill='%23fff'%20d='m14%200%209%2027L0%2010h28L5%2027z'/%3e%3c/marker%3e%3cpath%20fill='none'%20marker-mid='url(%23us-a)'%20d='m0%200%2016%2011h61%2061%2061%2061%2060L47%2037h61%2061%2060%2061L16%2063h61%2061%2061%2061%2060L47%2089h61%2061%2060%2061L16%20115h61%2061%2061%2061%2060L47%20141h61%2061%2060%2061L16%20166h61%2061%2061%2061%2060L47%20192h61%2061%2060%2061L16%20218h61%2061%2061%2061%2060z'/%3e%3c/svg%3e",f0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-fr'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23fff'%20d='M0%200h640v480H0z'/%3e%3cpath%20fill='%23000091'%20d='M0%200h213.3v480H0z'/%3e%3cpath%20fill='%23e1000f'%20d='M426.7%200H640v480H426.7z'/%3e%3c/svg%3e",u0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-it'%20viewBox='0%200%20640%20480'%3e%3cg%20fill-rule='evenodd'%20stroke-width='1pt'%3e%3cpath%20fill='%23fff'%20d='M0%200h640v480H0z'/%3e%3cpath%20fill='%23009246'%20d='M0%200h213.3v480H0z'/%3e%3cpath%20fill='%23ce2b37'%20d='M426.7%200H640v480H426.7z'/%3e%3c/g%3e%3c/svg%3e",g0=["src"],h0={class:"q-ml-md"},v0=["src","alt"],m0={key:1},p0={class:"q-ml-md"},_0={class:"row items-center no-wrap"},w0=["src","alt"],x0={key:1,class:"lang-fallback"},y0={class:"bold text-white q-ml-md"},b0=["src","alt"],M0={key:1,class:"lang-fallback"},k0=q({__name:"MainLayout",setup(L0){const{t:L}=N(),z=D(),Q=R(),p=$(),o=e0(null),_=h({get:()=>p.language,set:s=>{p.setLanguage(s)}}),H=Object.assign({"../assets/flags/ch.svg":n0,"../assets/flags/de.svg":r0,"../assets/flags/en.svg":d0,"../assets/flags/en_us.svg":c0,"../assets/flags/fr.svg":f0,"../assets/flags/it.svg":u0}),S=[{code:"it",short_name:"IT",flag:"it.svg",style:"width:32px;height:22px;"},{code:"en",short_name:"EN",flag:"en.svg",style:"width:32px;height:22px;"},{code:"en_us",short_name:"EN",flag:"en_us.svg",style:"width:32px;height:22px;"},{code:"de",short_name:"DE",flag:"de.svg",style:"width:32px;height:22px;"},{code:"de_ch",short_name:"DE",flag:"ch.svg",style:"width:22px;height:22px;object-fit: cover;"},{code:"fr",short_name:"FR",flag:"fr.svg",style:"width:32px;height:22px;"},{code:"fr_ch",short_name:"FR",flag:"ch.svg",style:"width:22px;height:22px;object-fit: cover;"}],C=h(()=>S.map(s=>({label:L(`language.${s.code}`),value:s.code,flagSrc:H[`../assets/flags/${s.flag}`]??null,flagStyle:s.style,short_name:s.short_name}))),B=h(()=>o.value?.roles.includes("admin")??!1),V=h(()=>{const l=(o.value?.name?.trim()||o.value?.email?.trim()||"?").split(/\s+/).filter(Boolean),g=l[0]??"",a=l[1]??"";return l.length>1?`${g.charAt(0)}${a.charAt(0)}`.toUpperCase():g.slice(0,2).toUpperCase()});j(async()=>{await w()}),O(()=>Q.fullPath,async()=>{await w()});async function w(){if(typeof window>"u"||!window.localStorage.getItem("Auth-Token")){o.value=null;return}const s=await o0();o.value=s.error?null:s.data}async function I(){typeof window<"u"&&window.localStorage.removeItem("Auth-Token"),o.value=null,await z.push("/")}return(s,l)=>{const g=W("router-view");return i(),u(T,{view:"lHh Lpr lFf"},{default:e(()=>[t(F,{elevated:""},{default:e(()=>[t(s0,null,{default:e(()=>[c("img",{"data-v-2373a833":"",class:"brand-logo-tb",src:G(U),alt:"Omnimed logo"},null,8,g0),t(A,null,{default:e(()=>[...l[1]||(l[1]=[r(" Omnimed ",-1)])]),_:1}),c("div",null,"Quasar v"+n(s.$q.version),1),c("div",h0,[o.value?(i(),u(x,{key:1,flat:"",round:"",dense:""},{default:e(()=>[t(J,{size:"34px",class:"user-avatar"},{default:e(()=>[o.value.avatar?(i(),f("img",{key:0,src:o.value.avatar,alt:o.value.name},null,8,v0)):(i(),f("span",m0,n(V.value),1))]),_:1}),t(a0,{anchor:"bottom right",self:"top right"},{default:e(()=>[t(t0,{dense:"",style:{"min-width":"190px"}},{default:e(()=>[t(v,null,{default:e(()=>[t(d,null,{default:e(()=>[t(m,null,{default:e(()=>[r(n(o.value.name),1)]),_:1}),t(m,{caption:""},{default:e(()=>[r(n(o.value.email),1)]),_:1})]),_:1})]),_:1}),t(K),B.value?y((i(),u(v,{key:0,clickable:"",to:"/admin"},{default:e(()=>[t(d,{avatar:""},{default:e(()=>[t(b,{name:"admin_panel_settings"})]),_:1}),t(d,null,{default:e(()=>[...l[3]||(l[3]=[r("Admin",-1)])]),_:1})]),_:1})),[[k]]):X("",!0),y((i(),u(v,{clickable:"",onClick:I},{default:e(()=>[t(d,{avatar:""},{default:e(()=>[t(b,{name:"logout"})]),_:1}),t(d,null,{default:e(()=>[...l[4]||(l[4]=[r("Logout",-1)])]),_:1})]),_:1})),[[k]])]),_:1})]),_:1})]),_:1})):(i(),u(x,{key:0,flat:"",round:"",color:"white",icon:"lock",to:"/login"},{default:e(()=>[t(P,null,{default:e(()=>[...l[2]||(l[2]=[r("Login",-1)])]),_:1})]),_:1}))]),c("div",p0,[t(l0,{modelValue:_.value,"onUpdate:modelValue":l[0]||(l[0]=a=>_.value=a),options:C.value,"option-label":"label","option-value":"value","emit-value":"","map-options":"",class:"q-select",dark:""},{"selected-item":e(a=>[c("div",_0,[a.opt.flagSrc?(i(),f("img",{key:0,class:"border",src:a.opt.flagSrc,alt:a.opt.label,style:M(a.opt.flagStyle)},null,12,w0)):(i(),f("span",x0,n(a.opt.value.toUpperCase()),1)),c("span",y0,n(a.opt.short_name),1)])]),option:e(a=>[t(v,Y(Z(a.itemProps)),{default:e(()=>[t(d,{avatar:""},{default:e(()=>[a.opt.flagSrc?(i(),f("img",{key:0,src:a.opt.flagSrc,alt:a.opt.label,style:M(a.opt.flagStyle)},null,12,b0)):(i(),f("span",M0,n(a.opt.value.toUpperCase()),1))]),_:2},1024),t(d,null,{default:e(()=>[t(m,null,{default:e(()=>[r(n(a.opt.label),1)]),_:2},1024)]),_:2},1024)]),_:2},1040)]),_:1},8,["modelValue","options"])])]),_:1})]),_:1}),t(E,null,{default:e(()=>[t(g)]),_:1})]),_:1})}}}),U0=i0(k0,[["__scopeId","data-v-1941e633"]]);export{U0 as default}; diff --git a/backend/internal/http/static/spa/assets/MainLayout-CrFccAPR.css b/backend/internal/http/static/spa/assets/MainLayout-CrFccAPR.css deleted file mode 100644 index 9a92db4..0000000 --- a/backend/internal/http/static/spa/assets/MainLayout-CrFccAPR.css +++ /dev/null @@ -1 +0,0 @@ -.lang-fallback[data-v-3669e2f9]{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:22px;padding:0 4px;border:1px solid currentColor;border-radius:4px;font-size:10px;line-height:1;font-weight:700}.border[data-v-3669e2f9]{border:1px solid #fff;border-radius:4px}.q-select i.q-icon[data-v-3669e2f9]{color:#fff!important}.user-avatar[data-v-3669e2f9]{background:linear-gradient(135deg,#0d47a1,#26a69a);color:#fff;font-size:.78rem;font-weight:700}.brand-logo-tb[data-v-3669e2f9]{height:42px;width:auto} diff --git a/backend/internal/http/static/spa/assets/QBadge-DHHd1R2R.js b/backend/internal/http/static/spa/assets/QBadge-2h1D8yZx.js similarity index 93% rename from backend/internal/http/static/spa/assets/QBadge-DHHd1R2R.js rename to backend/internal/http/static/spa/assets/QBadge-2h1D8yZx.js index 9491c02..9ff321e 100644 --- a/backend/internal/http/static/spa/assets/QBadge-DHHd1R2R.js +++ b/backend/internal/http/static/spa/assets/QBadge-2h1D8yZx.js @@ -1 +1 @@ -import{L as i,M as r,ax as u,D as l}from"./index-B9vdjdfJ.js";const d=["top","middle","bottom"],c=i({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>d.includes(e)}},setup(e,{slots:a}){const n=l(()=>e.align!==void 0?{verticalAlign:e.align}:null),o=l(()=>{const t=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(t!==void 0?` text-${t}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>r("div",{class:o.value,style:n.value,role:"status","aria-label":e.label},u(a.default,e.label!==void 0?[e.label]:[]))}});export{c as Q}; +import{L as i,M as r,ax as u,E as l}from"./index-DAvBaevK.js";const d=["top","middle","bottom"],c=i({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>d.includes(e)}},setup(e,{slots:a}){const n=l(()=>e.align!==void 0?{verticalAlign:e.align}:null),o=l(()=>{const t=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(t!==void 0?` text-${t}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>r("div",{class:o.value,style:n.value,role:"status","aria-label":e.label},u(a.default,e.label!==void 0?[e.label]:[]))}});export{c as Q}; diff --git a/backend/internal/http/static/spa/assets/QDrawer-1VLwP6kh.js b/backend/internal/http/static/spa/assets/QDrawer-1VLwP6kh.js new file mode 100644 index 0000000..ccf65db --- /dev/null +++ b/backend/internal/http/static/spa/assets/QDrawer-1VLwP6kh.js @@ -0,0 +1 @@ +import{a8 as De,X as N,a9 as $,aa as R,ab as Ee,Y as P,ac as Z,ad as re,ae as U,af as Oe,a2 as $e,L as Le,N as _e,ag as Ae,R as Pe,T as We,ah as Fe,ai as K,aj as ze,D,U as Xe,ak as Ye,w as y,a4 as le,o as Ie,W as He,x as Ve,M as W,al as se,a1 as Qe,$ as je,am as Ne,E as v,an as Re}from"./index-DAvBaevK.js";import{g as de,s as ce}from"./touch-BjYP5sR0.js";import{c as Ue}from"./selection-DrSF90ET.js";import{c as F}from"./format-DaKpMo2W.js";function G(a,o,r){const p=Z(a);let e,u=p.left-o.event.x,l=p.top-o.event.y,f=Math.abs(u),m=Math.abs(l);const s=o.direction;s.horizontal===!0&&s.vertical!==!0?e=u<0?"left":"right":s.horizontal!==!0&&s.vertical===!0?e=l<0?"up":"down":s.up===!0&&l<0?(e="up",f>m&&(s.left===!0&&u<0?e="left":s.right===!0&&u>0&&(e="right"))):s.down===!0&&l>0?(e="down",f>m&&(s.left===!0&&u<0?e="left":s.right===!0&&u>0&&(e="right"))):s.left===!0&&u<0?(e="left",f0&&(e="down"))):s.right===!0&&u>0&&(e="right",f0&&(e="down")));let n=!1;if(e===void 0&&r===!1){if(o.event.isFirst===!0||o.event.lastDir===void 0)return{};e=o.event.lastDir,n=!0,e==="left"||e==="right"?(p.left-=u,f=0,u=0):(p.top-=l,m=0,l=0)}return{synthetic:n,payload:{evt:a,touch:o.event.mouse!==!0,mouse:o.event.mouse===!0,position:p,direction:e,isFirst:o.event.isFirst,isFinal:r===!0,duration:Date.now()-o.event.time,distance:{x:f,y:m},offset:{x:u,y:l},delta:{x:p.left-o.event.lastX,y:p.top-o.event.lastY}}}}let Ke=0;const J=De({name:"touch-pan",beforeMount(a,{value:o,modifiers:r}){if(r.mouse!==!0&&$.has.touch!==!0)return;function p(u,l){r.mouse===!0&&l===!0?$e(u):(r.stop===!0&&U(u),r.prevent===!0&&re(u))}const e={uid:"qvtp_"+Ke++,handler:o,modifiers:r,direction:de(r),noop:Ee,mouseStart(u){ce(u,e)&&Oe(u)&&(P(e,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),e.start(u,!0))},touchStart(u){if(ce(u,e)){const l=u.target;P(e,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","passiveCapture"],[l,"touchend","end","passiveCapture"]]),e.start(u)}},start(u,l){if($.is.firefox===!0&&R(a,!0),e.lastEvt=u,l===!0||r.stop===!0){if(e.direction.all!==!0&&(l!==!0||e.modifiers.mouseAllDir!==!0&&e.modifiers.mousealldir!==!0)){const s=u.type.indexOf("mouse")!==-1?new MouseEvent(u.type,u):new TouchEvent(u.type,u);u.defaultPrevented===!0&&re(s),u.cancelBubble===!0&&U(s),Object.assign(s,{qKeyEvent:u.qKeyEvent,qClickOutside:u.qClickOutside,qAnchorHandled:u.qAnchorHandled,qClonedBy:u.qClonedBy===void 0?[e.uid]:u.qClonedBy.concat(e.uid)}),e.initialEvent={target:u.target,event:s}}U(u)}const{left:f,top:m}=Z(u);e.event={x:f,y:m,time:Date.now(),mouse:l===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:f,lastY:m}},move(u){if(e.event===void 0)return;const l=Z(u),f=l.left-e.event.x,m=l.top-e.event.y;if(f===0&&m===0)return;e.lastEvt=u;const s=e.event.mouse===!0,n=()=>{p(u,s);let b;r.preserveCursor!==!0&&r.preservecursor!==!0&&(b=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),s===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ue(),e.styleCleanup=d=>{if(e.styleCleanup=void 0,b!==void 0&&(document.documentElement.style.cursor=b),document.body.classList.remove("non-selectable"),s===!0){const B=()=>{document.body.classList.remove("no-pointer-events--children")};d!==void 0?setTimeout(()=>{B(),d()},50):B()}else d!==void 0&&d()}};if(e.event.detected===!0){e.event.isFirst!==!0&&p(u,e.event.mouse);const{payload:b,synthetic:d}=G(u,e,!1);b!==void 0&&(e.handler(b)===!1?e.end(u):(e.styleCleanup===void 0&&e.event.isFirst===!0&&n(),e.event.lastX=b.position.left,e.event.lastY=b.position.top,e.event.lastDir=d===!0?void 0:b.direction,e.event.isFirst=!1));return}if(e.direction.all===!0||s===!0&&(e.modifiers.mouseAllDir===!0||e.modifiers.mousealldir===!0)){n(),e.event.detected=!0,e.move(u);return}const q=Math.abs(f),h=Math.abs(m);q!==h&&(e.direction.horizontal===!0&&q>h||e.direction.vertical===!0&&q0||e.direction.left===!0&&q>h&&f<0||e.direction.right===!0&&q>h&&f>0?(e.event.detected=!0,e.move(u)):e.end(u,!0))},end(u,l){if(e.event!==void 0){if(N(e,"temp"),$.is.firefox===!0&&R(a,!1),l===!0)e.styleCleanup?.(),e.event.detected!==!0&&e.initialEvent!==void 0&&e.initialEvent.target.dispatchEvent(e.initialEvent.event);else if(e.event.detected===!0){e.event.isFirst===!0&&e.handler(G(u===void 0?e.lastEvt:u,e).payload);const{payload:f}=G(u===void 0?e.lastEvt:u,e,!0),m=()=>{e.handler(f)};e.styleCleanup!==void 0?e.styleCleanup(m):m()}e.event=void 0,e.initialEvent=void 0,e.lastEvt=void 0}}};if(a.__qtouchpan=e,r.mouse===!0){const u=r.mouseCapture===!0||r.mousecapture===!0?"Capture":"";P(e,"main",[[a,"mousedown","mouseStart",`passive${u}`]])}$.has.touch===!0&&P(e,"main",[[a,"touchstart","touchStart",`passive${r.capture===!0?"Capture":""}`],[a,"touchmove","noop","notPassiveCapture"]])},updated(a,o){const r=a.__qtouchpan;r!==void 0&&(o.oldValue!==o.value&&(typeof value!="function"&&r.end(),r.handler=o.value),r.direction=de(o.modifiers))},beforeUnmount(a){const o=a.__qtouchpan;o!==void 0&&(o.event!==void 0&&o.end(),N(o,"main"),N(o,"temp"),$.is.firefox===!0&&R(a,!1),o.styleCleanup?.(),delete a.__qtouchpan)}}),ve=150,at=Le({name:"QDrawer",inheritAttrs:!1,props:{...Pe,...Ae,side:{type:String,default:"left",validator:a=>["left","right"].includes(a)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:a=>["default","desktop","mobile"].includes(a),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[..._e,"onLayout","miniState"],setup(a,{slots:o,emit:r,attrs:p}){const e=je(),{proxy:{$q:u}}=e,l=Re(a,u),{preventBodyScroll:f}=Ne(),{registerTimeout:m,removeTimeout:s}=We(),n=Fe(ze,K);if(n===K)return console.error("QDrawer needs to be child of QLayout"),K;let q,h=null,b;const d=D(a.behavior==="mobile"||a.behavior!=="desktop"&&n.totalWidth.value<=a.breakpoint),B=v(()=>a.mini===!0&&d.value!==!0),g=v(()=>B.value===!0?a.miniWidth:a.width),c=D(a.showIfAbove===!0&&d.value===!1?!0:a.modelValue===!0),ee=v(()=>a.persistent!==!0&&(d.value===!0||he.value===!0));function te(t,i){if(fe(),t!==!1&&n.animate(),C(0),d.value===!0){const w=n.instances[_.value];w?.belowBreakpoint===!0&&w.hide(!1),S(1),n.isContainer.value!==!0&&f(!0)}else S(0),t!==!1&&V(!1);m(()=>{t!==!1&&V(!0),i!==!0&&r("show",t)},ve)}function ae(t,i){me(),t!==!1&&n.animate(),S(0),C(x.value*g.value),Q(),i!==!0?m(()=>{r("hide",t)},ve):s()}const{show:z,hide:E}=Xe({showing:c,hideOnRouteChange:ee,handleShow:te,handleHide:ae}),{addToHistory:fe,removeFromHistory:me}=Ye(c,E,ee),L={belowBreakpoint:d,hide:E},k=v(()=>a.side==="right"),x=v(()=>(u.lang.rtl===!0?-1:1)*(k.value===!0?1:-1)),ue=D(0),T=D(!1),X=D(!1),ne=D(g.value*x.value),_=v(()=>k.value===!0?"left":"right"),Y=v(()=>c.value===!0&&d.value===!1&&a.overlay===!1?a.miniToOverlay===!0?a.miniWidth:g.value:0),I=v(()=>a.overlay===!0||a.miniToOverlay===!0||n.view.value.indexOf(k.value?"R":"L")!==-1||u.platform.is.ios===!0&&n.isContainer.value===!0),O=v(()=>a.overlay===!1&&c.value===!0&&d.value===!1),he=v(()=>a.overlay===!0&&c.value===!0&&d.value===!1),ye=v(()=>"fullscreen q-drawer__backdrop"+(c.value===!1&&T.value===!1?" hidden":"")),be=v(()=>({backgroundColor:`rgba(0,0,0,${ue.value*.4})`})),ie=v(()=>k.value===!0?n.rows.value.top[2]==="r":n.rows.value.top[0]==="l"),pe=v(()=>k.value===!0?n.rows.value.bottom[2]==="r":n.rows.value.bottom[0]==="l"),we=v(()=>{const t={};return n.header.space===!0&&ie.value===!1&&(I.value===!0?t.top=`${n.header.offset}px`:n.header.space===!0&&(t.top=`${n.header.size}px`)),n.footer.space===!0&&pe.value===!1&&(I.value===!0?t.bottom=`${n.footer.offset}px`:n.footer.space===!0&&(t.bottom=`${n.footer.size}px`)),t}),ge=v(()=>{const t={width:`${g.value}px`,transform:`translateX(${ne.value}px)`};return d.value===!0?t:Object.assign(t,we.value)}),Ce=v(()=>"q-drawer__content fit "+(n.isContainer.value!==!0?"scroll":"overflow-auto")),qe=v(()=>`q-drawer q-drawer--${a.side}`+(X.value===!0?" q-drawer--mini-animate":"")+(a.bordered===!0?" q-drawer--bordered":"")+(l.value===!0?" q-drawer--dark q-dark":"")+(T.value===!0?" no-transition":c.value===!0?"":" q-layout--prevent-focus")+(d.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${B.value===!0?"mini":"standard"}`+(I.value===!0||O.value!==!0?" fixed":"")+(a.overlay===!0||a.miniToOverlay===!0?" q-drawer--on-top":"")+(ie.value===!0?" q-drawer--top-padding":""))),ke=v(()=>{const t=u.lang.rtl===!0?a.side:_.value;return[[J,xe,void 0,{[t]:!0,mouse:!0}]]}),Be=v(()=>{const t=u.lang.rtl===!0?_.value:a.side;return[[J,oe,void 0,{[t]:!0,mouse:!0}]]}),Se=v(()=>{const t=u.lang.rtl===!0?_.value:a.side;return[[J,oe,void 0,{[t]:!0,mouse:!0,mouseAllDir:!0}]]});function H(){Te(d,a.behavior==="mobile"||a.behavior!=="desktop"&&n.totalWidth.value<=a.breakpoint)}y(d,t=>{t===!0?(q=c.value,c.value===!0&&E(!1)):a.overlay===!1&&a.behavior!=="mobile"&&q!==!1&&(c.value===!0?(C(0),S(0),Q()):z(!1))}),y(()=>a.side,(t,i)=>{n.instances[i]===L&&(n.instances[i]=void 0,n[i].space=!1,n[i].offset=0),n.instances[t]=L,n[t].size=g.value,n[t].space=O.value,n[t].offset=Y.value}),y(n.totalWidth,()=>{(n.isContainer.value===!0||document.qScrollPrevented!==!0)&&H()}),y(()=>a.behavior+a.breakpoint,H),y(n.isContainer,t=>{c.value===!0&&f(t!==!0),t===!0&&H()}),y(n.scrollbarWidth,()=>{C(c.value===!0?0:void 0)}),y(Y,t=>{M("offset",t)}),y(O,t=>{r("onLayout",t),M("space",t)}),y(k,()=>{C()}),y(g,t=>{C(),j(a.miniToOverlay,t)}),y(()=>a.miniToOverlay,t=>{j(t,g.value)}),y(()=>u.lang.rtl,()=>{C()}),y(()=>a.mini,()=>{a.noMiniAnimation||a.modelValue===!0&&(Me(),n.animate())}),y(B,t=>{r("miniState",t)});function C(t){t===void 0?le(()=>{t=c.value===!0?0:g.value,C(x.value*t)}):(n.isContainer.value===!0&&k.value===!0&&(d.value===!0||Math.abs(t)===g.value)&&(t+=x.value*n.scrollbarWidth.value),ne.value=t)}function S(t){ue.value=t}function V(t){const i=t===!0?"remove":n.isContainer.value!==!0?"add":"";i!==""&&document.body.classList[i]("q-body--drawer-toggle")}function Me(){h!==null&&clearTimeout(h),e.proxy&&e.proxy.$el&&e.proxy.$el.classList.add("q-drawer--mini-animate"),X.value=!0,h=setTimeout(()=>{h=null,X.value=!1,e?.proxy?.$el?.classList.remove("q-drawer--mini-animate")},150)}function xe(t){if(c.value!==!1)return;const i=g.value,w=F(t.distance.x,0,i);if(t.isFinal===!0){w>=Math.min(75,i)===!0?z():(n.animate(),S(0),C(x.value*i)),T.value=!1;return}C((u.lang.rtl===!0?k.value!==!0:k.value)?Math.max(i-w,0):Math.min(0,w-i)),S(F(w/i,0,1)),t.isFirst===!0&&(T.value=!0)}function oe(t){if(c.value!==!0)return;const i=g.value,w=t.direction===a.side,A=(u.lang.rtl===!0?w!==!0:w)?F(t.distance.x,0,i):0;if(t.isFinal===!0){Math.abs(A){r("onLayout",O.value),r("miniState",B.value),q=a.showIfAbove===!0;const t=()=>{(c.value===!0?te:ae)(!1,!0)};if(n.totalWidth.value!==0){le(t);return}b=y(n.totalWidth,()=>{b(),b=void 0,c.value===!1&&a.showIfAbove===!0&&d.value===!1?z(!1):t()})}),He(()=>{b?.(),h!==null&&(clearTimeout(h),h=null),c.value===!0&&Q(),n.instances[a.side]===L&&(n.instances[a.side]=void 0,M("size",0),M("offset",0),M("space",!1))}),()=>{const t=[];d.value===!0&&(a.noSwipeOpen===!1&&t.push(Ve(W("div",{key:"open",class:`q-drawer__opener fixed-${a.side}`,"aria-hidden":"true"}),ke.value)),t.push(se("div",{ref:"backdrop",class:ye.value,style:be.value,"aria-hidden":"true",onClick:E},void 0,"backdrop",a.noSwipeBackdrop!==!0&&c.value===!0,()=>Se.value)));const i=B.value===!0&&o.mini!==void 0,w=[W("div",{...p,key:""+i,class:[Ce.value,p.class]},i===!0?o.mini():Qe(o.default))];return a.elevated===!0&&c.value===!0&&w.push(W("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),t.push(se("aside",{ref:"content",class:qe.value,style:ge.value},w,"contentclose",a.noSwipeClose!==!0&&d.value===!0,()=>Be.value)),W("div",{class:"q-drawer-container"},t)}}});export{at as Q}; diff --git a/backend/internal/http/static/spa/assets/QDrawer-BR2j4Akr.js b/backend/internal/http/static/spa/assets/QDrawer-BR2j4Akr.js deleted file mode 100644 index 230f3a1..0000000 --- a/backend/internal/http/static/spa/assets/QDrawer-BR2j4Akr.js +++ /dev/null @@ -1 +0,0 @@ -import{a8 as De,X as N,a9 as $,aa as R,ab as Ee,Y as P,ac as Z,ad as re,ae as U,af as Oe,a2 as $e,L as Le,N as _e,ag as Ae,R as Pe,T as We,ah as Fe,ai as K,aj as ze,C as D,U as Xe,ak as Ye,w as y,a4 as le,o as Ie,W as He,v as Ve,M as W,al as se,a1 as Qe,$ as je,am as Ne,D as v,an as Re}from"./index-B9vdjdfJ.js";import{g as de,s as ce}from"./touch-BjYP5sR0.js";import{c as Ue}from"./selection-HrszS3Ie.js";import{c as F}from"./format-BipdGd1G.js";function G(a,o,r){const p=Z(a);let e,u=p.left-o.event.x,l=p.top-o.event.y,f=Math.abs(u),m=Math.abs(l);const s=o.direction;s.horizontal===!0&&s.vertical!==!0?e=u<0?"left":"right":s.horizontal!==!0&&s.vertical===!0?e=l<0?"up":"down":s.up===!0&&l<0?(e="up",f>m&&(s.left===!0&&u<0?e="left":s.right===!0&&u>0&&(e="right"))):s.down===!0&&l>0?(e="down",f>m&&(s.left===!0&&u<0?e="left":s.right===!0&&u>0&&(e="right"))):s.left===!0&&u<0?(e="left",f0&&(e="down"))):s.right===!0&&u>0&&(e="right",f0&&(e="down")));let n=!1;if(e===void 0&&r===!1){if(o.event.isFirst===!0||o.event.lastDir===void 0)return{};e=o.event.lastDir,n=!0,e==="left"||e==="right"?(p.left-=u,f=0,u=0):(p.top-=l,m=0,l=0)}return{synthetic:n,payload:{evt:a,touch:o.event.mouse!==!0,mouse:o.event.mouse===!0,position:p,direction:e,isFirst:o.event.isFirst,isFinal:r===!0,duration:Date.now()-o.event.time,distance:{x:f,y:m},offset:{x:u,y:l},delta:{x:p.left-o.event.lastX,y:p.top-o.event.lastY}}}}let Ke=0;const J=De({name:"touch-pan",beforeMount(a,{value:o,modifiers:r}){if(r.mouse!==!0&&$.has.touch!==!0)return;function p(u,l){r.mouse===!0&&l===!0?$e(u):(r.stop===!0&&U(u),r.prevent===!0&&re(u))}const e={uid:"qvtp_"+Ke++,handler:o,modifiers:r,direction:de(r),noop:Ee,mouseStart(u){ce(u,e)&&Oe(u)&&(P(e,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),e.start(u,!0))},touchStart(u){if(ce(u,e)){const l=u.target;P(e,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","passiveCapture"],[l,"touchend","end","passiveCapture"]]),e.start(u)}},start(u,l){if($.is.firefox===!0&&R(a,!0),e.lastEvt=u,l===!0||r.stop===!0){if(e.direction.all!==!0&&(l!==!0||e.modifiers.mouseAllDir!==!0&&e.modifiers.mousealldir!==!0)){const s=u.type.indexOf("mouse")!==-1?new MouseEvent(u.type,u):new TouchEvent(u.type,u);u.defaultPrevented===!0&&re(s),u.cancelBubble===!0&&U(s),Object.assign(s,{qKeyEvent:u.qKeyEvent,qClickOutside:u.qClickOutside,qAnchorHandled:u.qAnchorHandled,qClonedBy:u.qClonedBy===void 0?[e.uid]:u.qClonedBy.concat(e.uid)}),e.initialEvent={target:u.target,event:s}}U(u)}const{left:f,top:m}=Z(u);e.event={x:f,y:m,time:Date.now(),mouse:l===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:f,lastY:m}},move(u){if(e.event===void 0)return;const l=Z(u),f=l.left-e.event.x,m=l.top-e.event.y;if(f===0&&m===0)return;e.lastEvt=u;const s=e.event.mouse===!0,n=()=>{p(u,s);let b;r.preserveCursor!==!0&&r.preservecursor!==!0&&(b=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),s===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ue(),e.styleCleanup=d=>{if(e.styleCleanup=void 0,b!==void 0&&(document.documentElement.style.cursor=b),document.body.classList.remove("non-selectable"),s===!0){const B=()=>{document.body.classList.remove("no-pointer-events--children")};d!==void 0?setTimeout(()=>{B(),d()},50):B()}else d!==void 0&&d()}};if(e.event.detected===!0){e.event.isFirst!==!0&&p(u,e.event.mouse);const{payload:b,synthetic:d}=G(u,e,!1);b!==void 0&&(e.handler(b)===!1?e.end(u):(e.styleCleanup===void 0&&e.event.isFirst===!0&&n(),e.event.lastX=b.position.left,e.event.lastY=b.position.top,e.event.lastDir=d===!0?void 0:b.direction,e.event.isFirst=!1));return}if(e.direction.all===!0||s===!0&&(e.modifiers.mouseAllDir===!0||e.modifiers.mousealldir===!0)){n(),e.event.detected=!0,e.move(u);return}const q=Math.abs(f),h=Math.abs(m);q!==h&&(e.direction.horizontal===!0&&q>h||e.direction.vertical===!0&&q0||e.direction.left===!0&&q>h&&f<0||e.direction.right===!0&&q>h&&f>0?(e.event.detected=!0,e.move(u)):e.end(u,!0))},end(u,l){if(e.event!==void 0){if(N(e,"temp"),$.is.firefox===!0&&R(a,!1),l===!0)e.styleCleanup?.(),e.event.detected!==!0&&e.initialEvent!==void 0&&e.initialEvent.target.dispatchEvent(e.initialEvent.event);else if(e.event.detected===!0){e.event.isFirst===!0&&e.handler(G(u===void 0?e.lastEvt:u,e).payload);const{payload:f}=G(u===void 0?e.lastEvt:u,e,!0),m=()=>{e.handler(f)};e.styleCleanup!==void 0?e.styleCleanup(m):m()}e.event=void 0,e.initialEvent=void 0,e.lastEvt=void 0}}};if(a.__qtouchpan=e,r.mouse===!0){const u=r.mouseCapture===!0||r.mousecapture===!0?"Capture":"";P(e,"main",[[a,"mousedown","mouseStart",`passive${u}`]])}$.has.touch===!0&&P(e,"main",[[a,"touchstart","touchStart",`passive${r.capture===!0?"Capture":""}`],[a,"touchmove","noop","notPassiveCapture"]])},updated(a,o){const r=a.__qtouchpan;r!==void 0&&(o.oldValue!==o.value&&(typeof value!="function"&&r.end(),r.handler=o.value),r.direction=de(o.modifiers))},beforeUnmount(a){const o=a.__qtouchpan;o!==void 0&&(o.event!==void 0&&o.end(),N(o,"main"),N(o,"temp"),$.is.firefox===!0&&R(a,!1),o.styleCleanup?.(),delete a.__qtouchpan)}}),ve=150,at=Le({name:"QDrawer",inheritAttrs:!1,props:{...Pe,...Ae,side:{type:String,default:"left",validator:a=>["left","right"].includes(a)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:a=>["default","desktop","mobile"].includes(a),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[..._e,"onLayout","miniState"],setup(a,{slots:o,emit:r,attrs:p}){const e=je(),{proxy:{$q:u}}=e,l=Re(a,u),{preventBodyScroll:f}=Ne(),{registerTimeout:m,removeTimeout:s}=We(),n=Fe(ze,K);if(n===K)return console.error("QDrawer needs to be child of QLayout"),K;let q,h=null,b;const d=D(a.behavior==="mobile"||a.behavior!=="desktop"&&n.totalWidth.value<=a.breakpoint),B=v(()=>a.mini===!0&&d.value!==!0),g=v(()=>B.value===!0?a.miniWidth:a.width),c=D(a.showIfAbove===!0&&d.value===!1?!0:a.modelValue===!0),ee=v(()=>a.persistent!==!0&&(d.value===!0||he.value===!0));function te(t,i){if(fe(),t!==!1&&n.animate(),C(0),d.value===!0){const w=n.instances[_.value];w?.belowBreakpoint===!0&&w.hide(!1),S(1),n.isContainer.value!==!0&&f(!0)}else S(0),t!==!1&&V(!1);m(()=>{t!==!1&&V(!0),i!==!0&&r("show",t)},ve)}function ae(t,i){me(),t!==!1&&n.animate(),S(0),C(x.value*g.value),Q(),i!==!0?m(()=>{r("hide",t)},ve):s()}const{show:z,hide:E}=Xe({showing:c,hideOnRouteChange:ee,handleShow:te,handleHide:ae}),{addToHistory:fe,removeFromHistory:me}=Ye(c,E,ee),L={belowBreakpoint:d,hide:E},k=v(()=>a.side==="right"),x=v(()=>(u.lang.rtl===!0?-1:1)*(k.value===!0?1:-1)),ue=D(0),T=D(!1),X=D(!1),ne=D(g.value*x.value),_=v(()=>k.value===!0?"left":"right"),Y=v(()=>c.value===!0&&d.value===!1&&a.overlay===!1?a.miniToOverlay===!0?a.miniWidth:g.value:0),I=v(()=>a.overlay===!0||a.miniToOverlay===!0||n.view.value.indexOf(k.value?"R":"L")!==-1||u.platform.is.ios===!0&&n.isContainer.value===!0),O=v(()=>a.overlay===!1&&c.value===!0&&d.value===!1),he=v(()=>a.overlay===!0&&c.value===!0&&d.value===!1),ye=v(()=>"fullscreen q-drawer__backdrop"+(c.value===!1&&T.value===!1?" hidden":"")),be=v(()=>({backgroundColor:`rgba(0,0,0,${ue.value*.4})`})),ie=v(()=>k.value===!0?n.rows.value.top[2]==="r":n.rows.value.top[0]==="l"),pe=v(()=>k.value===!0?n.rows.value.bottom[2]==="r":n.rows.value.bottom[0]==="l"),we=v(()=>{const t={};return n.header.space===!0&&ie.value===!1&&(I.value===!0?t.top=`${n.header.offset}px`:n.header.space===!0&&(t.top=`${n.header.size}px`)),n.footer.space===!0&&pe.value===!1&&(I.value===!0?t.bottom=`${n.footer.offset}px`:n.footer.space===!0&&(t.bottom=`${n.footer.size}px`)),t}),ge=v(()=>{const t={width:`${g.value}px`,transform:`translateX(${ne.value}px)`};return d.value===!0?t:Object.assign(t,we.value)}),Ce=v(()=>"q-drawer__content fit "+(n.isContainer.value!==!0?"scroll":"overflow-auto")),qe=v(()=>`q-drawer q-drawer--${a.side}`+(X.value===!0?" q-drawer--mini-animate":"")+(a.bordered===!0?" q-drawer--bordered":"")+(l.value===!0?" q-drawer--dark q-dark":"")+(T.value===!0?" no-transition":c.value===!0?"":" q-layout--prevent-focus")+(d.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${B.value===!0?"mini":"standard"}`+(I.value===!0||O.value!==!0?" fixed":"")+(a.overlay===!0||a.miniToOverlay===!0?" q-drawer--on-top":"")+(ie.value===!0?" q-drawer--top-padding":""))),ke=v(()=>{const t=u.lang.rtl===!0?a.side:_.value;return[[J,xe,void 0,{[t]:!0,mouse:!0}]]}),Be=v(()=>{const t=u.lang.rtl===!0?_.value:a.side;return[[J,oe,void 0,{[t]:!0,mouse:!0}]]}),Se=v(()=>{const t=u.lang.rtl===!0?_.value:a.side;return[[J,oe,void 0,{[t]:!0,mouse:!0,mouseAllDir:!0}]]});function H(){Te(d,a.behavior==="mobile"||a.behavior!=="desktop"&&n.totalWidth.value<=a.breakpoint)}y(d,t=>{t===!0?(q=c.value,c.value===!0&&E(!1)):a.overlay===!1&&a.behavior!=="mobile"&&q!==!1&&(c.value===!0?(C(0),S(0),Q()):z(!1))}),y(()=>a.side,(t,i)=>{n.instances[i]===L&&(n.instances[i]=void 0,n[i].space=!1,n[i].offset=0),n.instances[t]=L,n[t].size=g.value,n[t].space=O.value,n[t].offset=Y.value}),y(n.totalWidth,()=>{(n.isContainer.value===!0||document.qScrollPrevented!==!0)&&H()}),y(()=>a.behavior+a.breakpoint,H),y(n.isContainer,t=>{c.value===!0&&f(t!==!0),t===!0&&H()}),y(n.scrollbarWidth,()=>{C(c.value===!0?0:void 0)}),y(Y,t=>{M("offset",t)}),y(O,t=>{r("onLayout",t),M("space",t)}),y(k,()=>{C()}),y(g,t=>{C(),j(a.miniToOverlay,t)}),y(()=>a.miniToOverlay,t=>{j(t,g.value)}),y(()=>u.lang.rtl,()=>{C()}),y(()=>a.mini,()=>{a.noMiniAnimation||a.modelValue===!0&&(Me(),n.animate())}),y(B,t=>{r("miniState",t)});function C(t){t===void 0?le(()=>{t=c.value===!0?0:g.value,C(x.value*t)}):(n.isContainer.value===!0&&k.value===!0&&(d.value===!0||Math.abs(t)===g.value)&&(t+=x.value*n.scrollbarWidth.value),ne.value=t)}function S(t){ue.value=t}function V(t){const i=t===!0?"remove":n.isContainer.value!==!0?"add":"";i!==""&&document.body.classList[i]("q-body--drawer-toggle")}function Me(){h!==null&&clearTimeout(h),e.proxy&&e.proxy.$el&&e.proxy.$el.classList.add("q-drawer--mini-animate"),X.value=!0,h=setTimeout(()=>{h=null,X.value=!1,e?.proxy?.$el?.classList.remove("q-drawer--mini-animate")},150)}function xe(t){if(c.value!==!1)return;const i=g.value,w=F(t.distance.x,0,i);if(t.isFinal===!0){w>=Math.min(75,i)===!0?z():(n.animate(),S(0),C(x.value*i)),T.value=!1;return}C((u.lang.rtl===!0?k.value!==!0:k.value)?Math.max(i-w,0):Math.min(0,w-i)),S(F(w/i,0,1)),t.isFirst===!0&&(T.value=!0)}function oe(t){if(c.value!==!0)return;const i=g.value,w=t.direction===a.side,A=(u.lang.rtl===!0?w!==!0:w)?F(t.distance.x,0,i):0;if(t.isFinal===!0){Math.abs(A){r("onLayout",O.value),r("miniState",B.value),q=a.showIfAbove===!0;const t=()=>{(c.value===!0?te:ae)(!1,!0)};if(n.totalWidth.value!==0){le(t);return}b=y(n.totalWidth,()=>{b(),b=void 0,c.value===!1&&a.showIfAbove===!0&&d.value===!1?z(!1):t()})}),He(()=>{b?.(),h!==null&&(clearTimeout(h),h=null),c.value===!0&&Q(),n.instances[a.side]===L&&(n.instances[a.side]=void 0,M("size",0),M("offset",0),M("space",!1))}),()=>{const t=[];d.value===!0&&(a.noSwipeOpen===!1&&t.push(Ve(W("div",{key:"open",class:`q-drawer__opener fixed-${a.side}`,"aria-hidden":"true"}),ke.value)),t.push(se("div",{ref:"backdrop",class:ye.value,style:be.value,"aria-hidden":"true",onClick:E},void 0,"backdrop",a.noSwipeBackdrop!==!0&&c.value===!0,()=>Se.value)));const i=B.value===!0&&o.mini!==void 0,w=[W("div",{...p,key:""+i,class:[Ce.value,p.class]},i===!0?o.mini():Qe(o.default))];return a.elevated===!0&&c.value===!0&&w.push(W("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),t.push(se("aside",{ref:"content",class:qe.value,style:ge.value},w,"contentclose",a.noSwipeClose!==!0&&d.value===!0,()=>Be.value)),W("div",{class:"q-drawer-container"},t)}}});export{at as Q}; diff --git a/backend/internal/http/static/spa/assets/QForm-uiBLv4qC.js b/backend/internal/http/static/spa/assets/QForm-CgLsd63I.js similarity index 71% rename from backend/internal/http/static/spa/assets/QForm-uiBLv4qC.js rename to backend/internal/http/static/spa/assets/QForm-CgLsd63I.js index 502b5a8..b05669e 100644 --- a/backend/internal/http/static/spa/assets/QForm-uiBLv4qC.js +++ b/backend/internal/http/static/spa/assets/QForm-CgLsd63I.js @@ -1 +1 @@ -import{L as E,aA as P,az as A,o as q,M as V,a1 as B,$ as I,C as R,aT as Q,a2 as S,a4 as $,aU as j,ap as D,aV as M}from"./index-B9vdjdfJ.js";const k=E({name:"QForm",props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean,onSubmit:Function},emits:["reset","validationSuccess","validationError"],setup(r,{slots:C,emit:l}){const F=I(),u=R(null);let i=0;const s=[];function d(e){const a=typeof e=="boolean"?e:r.noErrorFocus!==!0,f=++i,x=(t,o)=>{l(`validation${t===!0?"Success":"Error"}`,o)},h=t=>{const o=t.validate();return typeof o.then=="function"?o.then(n=>({valid:n,comp:t}),n=>({valid:!1,comp:t,err:n})):Promise.resolve({valid:o,comp:t})};return(r.greedy===!0?Promise.all(s.map(h)).then(t=>t.filter(o=>o.valid!==!0)):s.reduce((t,o)=>t.then(()=>h(o).then(n=>{if(n.valid===!1)return Promise.reject(n)})),Promise.resolve()).catch(t=>[t])).then(t=>{if(t===void 0||t.length===0)return f===i&&x(!0),!0;if(f===i){const{comp:o,err:n}=t[0];if(n!==void 0&&console.error(n),x(!1,o),a===!0){const g=t.find(({comp:p})=>typeof p.focus=="function"&&Q(p.$)===!1);g!==void 0&&g.comp.focus()}}return!1})}function v(){i++,s.forEach(e=>{typeof e.resetValidation=="function"&&e.resetValidation()})}function m(e){e!==void 0&&S(e);const a=i+1;d().then(f=>{a===i&&f===!0&&(r.onSubmit!==void 0?l("submit",e):e?.target!==void 0&&typeof e.target.submit=="function"&&e.target.submit())})}function b(e){e!==void 0&&S(e),l("reset"),$(()=>{v(),r.autofocus===!0&&r.noResetFocus!==!0&&c()})}function c(){j(()=>{if(u.value===null)return;(u.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||u.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||u.value.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(u.value.querySelectorAll("[tabindex]"),a=>a.tabIndex!==-1))?.focus({preventScroll:!0})})}D(M,{bindComponent(e){s.push(e)},unbindComponent(e){const a=s.indexOf(e);a!==-1&&s.splice(a,1)}});let y=!1;return P(()=>{y=!0}),A(()=>{y===!0&&r.autofocus===!0&&c()}),q(()=>{r.autofocus===!0&&c()}),Object.assign(F.proxy,{validate:d,resetValidation:v,submit:m,reset:b,focus:c,getValidationComponents:()=>s}),()=>V("form",{class:"q-form",ref:u,onSubmit:m,onReset:b},B(C.default))}});export{k as Q}; +import{L as E,aA as P,az as A,o as q,M as V,a1 as B,$ as I,D as R,aT as D,a2 as S,a4 as Q,aU as $,ap as j,aV as M}from"./index-DAvBaevK.js";const k=E({name:"QForm",props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean,onSubmit:Function},emits:["reset","validationSuccess","validationError"],setup(r,{slots:F,emit:l}){const C=I(),u=R(null);let i=0;const s=[];function d(e){const a=typeof e=="boolean"?e:r.noErrorFocus!==!0,f=++i,x=(t,o)=>{l(`validation${t===!0?"Success":"Error"}`,o)},h=t=>{const o=t.validate();return typeof o.then=="function"?o.then(n=>({valid:n,comp:t}),n=>({valid:!1,comp:t,err:n})):Promise.resolve({valid:o,comp:t})};return(r.greedy===!0?Promise.all(s.map(h)).then(t=>t.filter(o=>o.valid!==!0)):s.reduce((t,o)=>t.then(()=>h(o).then(n=>{if(n.valid===!1)return Promise.reject(n)})),Promise.resolve()).catch(t=>[t])).then(t=>{if(t===void 0||t.length===0)return f===i&&x(!0),!0;if(f===i){const{comp:o,err:n}=t[0];if(n!==void 0&&console.error(n),x(!1,o),a===!0){const g=t.find(({comp:p})=>typeof p.focus=="function"&&D(p.$)===!1);g!==void 0&&g.comp.focus()}}return!1})}function v(){i++,s.forEach(e=>{typeof e.resetValidation=="function"&&e.resetValidation()})}function m(e){e!==void 0&&S(e);const a=i+1;d().then(f=>{a===i&&f===!0&&(r.onSubmit!==void 0?l("submit",e):e?.target!==void 0&&typeof e.target.submit=="function"&&e.target.submit())})}function b(e){e!==void 0&&S(e),l("reset"),Q(()=>{v(),r.autofocus===!0&&r.noResetFocus!==!0&&c()})}function c(){$(()=>{if(u.value===null)return;(u.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||u.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||u.value.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(u.value.querySelectorAll("[tabindex]"),a=>a.tabIndex!==-1))?.focus({preventScroll:!0})})}j(M,{bindComponent(e){s.push(e)},unbindComponent(e){const a=s.indexOf(e);a!==-1&&s.splice(a,1)}});let y=!1;return P(()=>{y=!0}),A(()=>{y===!0&&r.autofocus===!0&&c()}),q(()=>{r.autofocus===!0&&c()}),Object.assign(C.proxy,{validate:d,resetValidation:v,submit:m,reset:b,focus:c,getValidationComponents:()=>s}),()=>V("form",{class:"q-form",ref:u,onSubmit:m,onReset:b},B(F.default))}});export{k as Q}; diff --git a/backend/internal/http/static/spa/assets/QLayout-BeBUeNGB.js b/backend/internal/http/static/spa/assets/QLayout-BeBUeNGB.js deleted file mode 100644 index 5543e87..0000000 --- a/backend/internal/http/static/spa/assets/QLayout-BeBUeNGB.js +++ /dev/null @@ -1 +0,0 @@ -import{L as C,M as f,a1 as E,D as c,$ as P,ah as M,ai as $,aj as B,C as z,w as x,W,ao as j,ap as N,aq as k,O as K,Z as U,ar as A,o as D,ab as I,as as Z,at as G,au as J,av as V,aw as X,ax as Y,K as L}from"./index-B9vdjdfJ.js";import{a as O}from"./QResizeObserver-CyV47ipF.js";const le=C({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:y}){const a=c(()=>"q-toolbar__title ellipsis"+(e.shrink===!0?" col-shrink":""));return()=>f("div",{class:a.value},E(y.default))}}),ae=C({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:y,emit:a}){const{proxy:{$q:n}}=P(),o=M(B,$);if(o===$)return console.error("QHeader needs to be child of QLayout"),$;const r=z(parseInt(e.heightHint,10)),u=z(!0),b=c(()=>e.reveal===!0||o.view.value.indexOf("H")!==-1||n.platform.is.ios&&o.isContainer.value===!0),h=c(()=>{if(e.modelValue!==!0)return 0;if(b.value===!0)return u.value===!0?r.value:0;const t=r.value-o.scroll.value.position;return t>0?t:0}),s=c(()=>e.modelValue!==!0||b.value===!0&&u.value!==!0),T=c(()=>e.modelValue===!0&&s.value===!0&&e.reveal===!0),p=c(()=>"q-header q-layout__section--marginal "+(b.value===!0?"fixed":"absolute")+"-top"+(e.bordered===!0?" q-header--bordered":"")+(s.value===!0?" q-header--hidden":"")+(e.modelValue!==!0?" q-layout--prevent-focus":"")),S=c(()=>{const t=o.rows.value.top,v={};return t[0]==="l"&&o.left.space===!0&&(v[n.lang.rtl===!0?"right":"left"]=`${o.left.size}px`),t[2]==="r"&&o.right.space===!0&&(v[n.lang.rtl===!0?"left":"right"]=`${o.right.size}px`),v});function i(t,v){o.update("header",t,v)}function g(t,v){t.value!==v&&(t.value=v)}function Q({height:t}){g(r,t),i("size",t)}function H(t){T.value===!0&&g(u,!0),a("focusin",t)}x(()=>e.modelValue,t=>{i("space",t),g(u,!0),o.animate()}),x(h,t=>{i("offset",t)}),x(()=>e.reveal,t=>{t===!1&&g(u,e.modelValue)}),x(u,t=>{o.animate(),a("reveal",t)}),x(o.scroll,t=>{e.reveal===!0&&g(u,t.direction==="up"||t.position<=e.revealOffset||t.position-t.inflectionPoint<100)});const q={};return o.instances.header=q,e.modelValue===!0&&i("size",r.value),i("space",e.modelValue),i("offset",h.value),W(()=>{o.instances.header===q&&(o.instances.header=void 0,i("size",0),i("offset",0),i("space",!1))}),()=>{const t=j(y.default,[]);return e.elevated===!0&&t.push(f("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),t.push(f(O,{debounce:0,onResize:Q})),f("header",{class:p.value,style:S.value,onFocusin:H},t)}}}),ie=C({name:"QPageContainer",setup(e,{slots:y}){const{proxy:{$q:a}}=P(),n=M(B,$);if(n===$)return console.error("QPageContainer needs to be child of QLayout"),$;N(k,!0);const o=c(()=>{const r={};return n.header.space===!0&&(r.paddingTop=`${n.header.size}px`),n.right.space===!0&&(r[`padding${a.lang.rtl===!0?"Left":"Right"}`]=`${n.right.size}px`),n.footer.space===!0&&(r.paddingBottom=`${n.footer.size}px`),n.left.space===!0&&(r[`padding${a.lang.rtl===!0?"Right":"Left"}`]=`${n.left.size}px`),r});return()=>f("div",{class:"q-page-container",style:o.value},E(y.default))}}),{passive:_}=A,ee=["both","horizontal","vertical"],te=C({name:"QScrollObserver",props:{axis:{type:String,validator:e=>ee.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:K},emits:["scroll"],setup(e,{emit:y}){const a={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let n=null,o,r;x(()=>e.scrollTarget,()=>{h(),b()});function u(){n?.();const p=Math.max(0,Z(o)),S=G(o),i={top:p-a.position.top,left:S-a.position.left};if(e.axis==="vertical"&&i.top===0||e.axis==="horizontal"&&i.left===0)return;const g=Math.abs(i.top)>=Math.abs(i.left)?i.top<0?"up":"down":i.left<0?"left":"right";a.position={top:p,left:S},a.directionChanged=a.direction!==g,a.delta=i,a.directionChanged===!0&&(a.direction=g,a.inflectionPoint=a.position),y("scroll",{...a})}function b(){o=U(r,e.scrollTarget),o.addEventListener("scroll",s,_),s(!0)}function h(){o!==void 0&&(o.removeEventListener("scroll",s,_),o=void 0)}function s(p){if(p===!0||e.debounce===0||e.debounce==="0")u();else if(n===null){const[S,i]=e.debounce?[setTimeout(u,e.debounce),clearTimeout]:[requestAnimationFrame(u),cancelAnimationFrame];n=()=>{i(S),n=null}}}const{proxy:T}=P();return x(()=>T.$q.lang.rtl,u),D(()=>{r=T.$el.parentNode,b()}),W(()=>{n?.(),h()}),Object.assign(T,{trigger:s,getPosition:()=>a}),I}}),re=C({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:y,emit:a}){const{proxy:{$q:n}}=P(),o=z(null),r=z(n.screen.height),u=z(e.container===!0?0:n.screen.width),b=z({position:0,direction:"down",inflectionPoint:0}),h=z(0),s=z(J.value===!0?0:V()),T=c(()=>"q-layout q-layout--"+(e.container===!0?"containerized":"standard")),p=c(()=>e.container===!1?{minHeight:n.screen.height+"px"}:null),S=c(()=>s.value!==0?{[n.lang.rtl===!0?"left":"right"]:`${s.value}px`}:null),i=c(()=>s.value!==0?{[n.lang.rtl===!0?"right":"left"]:0,[n.lang.rtl===!0?"left":"right"]:`-${s.value}px`,width:`calc(100% + ${s.value}px)`}:null);function g(l){if(e.container===!0||document.qScrollPrevented!==!0){const d={position:l.position.top,direction:l.direction,directionChanged:l.directionChanged,inflectionPoint:l.inflectionPoint.top,delta:l.delta.top};b.value=d,e.onScroll!==void 0&&a("scroll",d)}}function Q(l){const{height:d,width:w}=l;let m=!1;r.value!==d&&(m=!0,r.value=d,e.onScrollHeight!==void 0&&a("scrollHeight",d),q()),u.value!==w&&(m=!0,u.value=w),m===!0&&e.onResize!==void 0&&a("resize",l)}function H({height:l}){h.value!==l&&(h.value=l,q())}function q(){if(e.container===!0){const l=r.value>h.value?V():0;s.value!==l&&(s.value=l)}}let t=null;const v={instances:{},view:c(()=>e.view),isContainer:c(()=>e.container),rootRef:o,height:r,containerHeight:h,scrollbarWidth:s,totalWidth:c(()=>u.value+s.value),rows:c(()=>{const l=e.view.toLowerCase().split(" ");return{top:l[0].split(""),middle:l[1].split(""),bottom:l[2].split("")}}),header:L({size:0,offset:0,space:!1}),right:L({size:300,offset:0,space:!1}),footer:L({size:0,offset:0,space:!1}),left:L({size:300,offset:0,space:!1}),scroll:b,animate(){t!==null?clearTimeout(t):document.body.classList.add("q-body--layout-animate"),t=setTimeout(()=>{t=null,document.body.classList.remove("q-body--layout-animate")},155)},update(l,d,w){v[l][d]=w}};if(N(B,v),V()>0){let l=function(){m=null,R.classList.remove("hide-scrollbar")},d=function(){if(m===null){if(R.scrollHeight>n.screen.height)return;R.classList.add("hide-scrollbar")}else clearTimeout(m);m=setTimeout(l,300)},w=function(F){m!==null&&F==="remove"&&(clearTimeout(m),l()),window[`${F}EventListener`]("resize",d)},m=null;const R=document.body;x(()=>e.container!==!0?"add":"remove",w),e.container!==!0&&w("add"),X(()=>{w("remove")})}return()=>{const l=Y(y.default,[f(te,{onScroll:g}),f(O,{onResize:Q})]),d=f("div",{class:T.value,style:p.value,ref:e.container===!0?void 0:o,tabindex:-1},l);return e.container===!0?f("div",{class:"q-layout-container overflow-hidden",ref:o},[f(O,{onResize:H}),f("div",{class:"absolute-full",style:S.value},[f("div",{class:"scroll",style:i.value},[d])])]):d}}});export{ae as Q,le as a,ie as b,re as c}; diff --git a/backend/internal/http/static/spa/assets/QLayout-DZVoSyXn.js b/backend/internal/http/static/spa/assets/QLayout-DZVoSyXn.js new file mode 100644 index 0000000..f998f51 --- /dev/null +++ b/backend/internal/http/static/spa/assets/QLayout-DZVoSyXn.js @@ -0,0 +1 @@ +import{L,M as f,a1 as _,E as c,$ as P,ah as M,ai as $,aj as B,D as z,w as x,W,ao as j,ap as N,aq as k,O as K,Z as U,ar as A,o as D,ab as I,as as Z,at as G,au as J,av as V,aw as X,ax as Y,K as C}from"./index-DAvBaevK.js";import{a as O}from"./QResizeObserver-CenQZ1Fm.js";const le=L({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:y}){const a=c(()=>"q-toolbar__title ellipsis"+(e.shrink===!0?" col-shrink":""));return()=>f("div",{class:a.value},_(y.default))}}),ae=L({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:y,emit:a}){const{proxy:{$q:n}}=P(),o=M(B,$);if(o===$)return console.error("QHeader needs to be child of QLayout"),$;const r=z(parseInt(e.heightHint,10)),u=z(!0),b=c(()=>e.reveal===!0||o.view.value.indexOf("H")!==-1||n.platform.is.ios&&o.isContainer.value===!0),h=c(()=>{if(e.modelValue!==!0)return 0;if(b.value===!0)return u.value===!0?r.value:0;const t=r.value-o.scroll.value.position;return t>0?t:0}),s=c(()=>e.modelValue!==!0||b.value===!0&&u.value!==!0),T=c(()=>e.modelValue===!0&&s.value===!0&&e.reveal===!0),p=c(()=>"q-header q-layout__section--marginal "+(b.value===!0?"fixed":"absolute")+"-top"+(e.bordered===!0?" q-header--bordered":"")+(s.value===!0?" q-header--hidden":"")+(e.modelValue!==!0?" q-layout--prevent-focus":"")),S=c(()=>{const t=o.rows.value.top,v={};return t[0]==="l"&&o.left.space===!0&&(v[n.lang.rtl===!0?"right":"left"]=`${o.left.size}px`),t[2]==="r"&&o.right.space===!0&&(v[n.lang.rtl===!0?"left":"right"]=`${o.right.size}px`),v});function i(t,v){o.update("header",t,v)}function g(t,v){t.value!==v&&(t.value=v)}function Q({height:t}){g(r,t),i("size",t)}function H(t){T.value===!0&&g(u,!0),a("focusin",t)}x(()=>e.modelValue,t=>{i("space",t),g(u,!0),o.animate()}),x(h,t=>{i("offset",t)}),x(()=>e.reveal,t=>{t===!1&&g(u,e.modelValue)}),x(u,t=>{o.animate(),a("reveal",t)}),x(o.scroll,t=>{e.reveal===!0&&g(u,t.direction==="up"||t.position<=e.revealOffset||t.position-t.inflectionPoint<100)});const q={};return o.instances.header=q,e.modelValue===!0&&i("size",r.value),i("space",e.modelValue),i("offset",h.value),W(()=>{o.instances.header===q&&(o.instances.header=void 0,i("size",0),i("offset",0),i("space",!1))}),()=>{const t=j(y.default,[]);return e.elevated===!0&&t.push(f("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),t.push(f(O,{debounce:0,onResize:Q})),f("header",{class:p.value,style:S.value,onFocusin:H},t)}}}),ie=L({name:"QPageContainer",setup(e,{slots:y}){const{proxy:{$q:a}}=P(),n=M(B,$);if(n===$)return console.error("QPageContainer needs to be child of QLayout"),$;N(k,!0);const o=c(()=>{const r={};return n.header.space===!0&&(r.paddingTop=`${n.header.size}px`),n.right.space===!0&&(r[`padding${a.lang.rtl===!0?"Left":"Right"}`]=`${n.right.size}px`),n.footer.space===!0&&(r.paddingBottom=`${n.footer.size}px`),n.left.space===!0&&(r[`padding${a.lang.rtl===!0?"Right":"Left"}`]=`${n.left.size}px`),r});return()=>f("div",{class:"q-page-container",style:o.value},_(y.default))}}),{passive:E}=A,ee=["both","horizontal","vertical"],te=L({name:"QScrollObserver",props:{axis:{type:String,validator:e=>ee.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:K},emits:["scroll"],setup(e,{emit:y}){const a={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let n=null,o,r;x(()=>e.scrollTarget,()=>{h(),b()});function u(){n?.();const p=Math.max(0,Z(o)),S=G(o),i={top:p-a.position.top,left:S-a.position.left};if(e.axis==="vertical"&&i.top===0||e.axis==="horizontal"&&i.left===0)return;const g=Math.abs(i.top)>=Math.abs(i.left)?i.top<0?"up":"down":i.left<0?"left":"right";a.position={top:p,left:S},a.directionChanged=a.direction!==g,a.delta=i,a.directionChanged===!0&&(a.direction=g,a.inflectionPoint=a.position),y("scroll",{...a})}function b(){o=U(r,e.scrollTarget),o.addEventListener("scroll",s,E),s(!0)}function h(){o!==void 0&&(o.removeEventListener("scroll",s,E),o=void 0)}function s(p){if(p===!0||e.debounce===0||e.debounce==="0")u();else if(n===null){const[S,i]=e.debounce?[setTimeout(u,e.debounce),clearTimeout]:[requestAnimationFrame(u),cancelAnimationFrame];n=()=>{i(S),n=null}}}const{proxy:T}=P();return x(()=>T.$q.lang.rtl,u),D(()=>{r=T.$el.parentNode,b()}),W(()=>{n?.(),h()}),Object.assign(T,{trigger:s,getPosition:()=>a}),I}}),re=L({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:y,emit:a}){const{proxy:{$q:n}}=P(),o=z(null),r=z(n.screen.height),u=z(e.container===!0?0:n.screen.width),b=z({position:0,direction:"down",inflectionPoint:0}),h=z(0),s=z(J.value===!0?0:V()),T=c(()=>"q-layout q-layout--"+(e.container===!0?"containerized":"standard")),p=c(()=>e.container===!1?{minHeight:n.screen.height+"px"}:null),S=c(()=>s.value!==0?{[n.lang.rtl===!0?"left":"right"]:`${s.value}px`}:null),i=c(()=>s.value!==0?{[n.lang.rtl===!0?"right":"left"]:0,[n.lang.rtl===!0?"left":"right"]:`-${s.value}px`,width:`calc(100% + ${s.value}px)`}:null);function g(l){if(e.container===!0||document.qScrollPrevented!==!0){const d={position:l.position.top,direction:l.direction,directionChanged:l.directionChanged,inflectionPoint:l.inflectionPoint.top,delta:l.delta.top};b.value=d,e.onScroll!==void 0&&a("scroll",d)}}function Q(l){const{height:d,width:w}=l;let m=!1;r.value!==d&&(m=!0,r.value=d,e.onScrollHeight!==void 0&&a("scrollHeight",d),q()),u.value!==w&&(m=!0,u.value=w),m===!0&&e.onResize!==void 0&&a("resize",l)}function H({height:l}){h.value!==l&&(h.value=l,q())}function q(){if(e.container===!0){const l=r.value>h.value?V():0;s.value!==l&&(s.value=l)}}let t=null;const v={instances:{},view:c(()=>e.view),isContainer:c(()=>e.container),rootRef:o,height:r,containerHeight:h,scrollbarWidth:s,totalWidth:c(()=>u.value+s.value),rows:c(()=>{const l=e.view.toLowerCase().split(" ");return{top:l[0].split(""),middle:l[1].split(""),bottom:l[2].split("")}}),header:C({size:0,offset:0,space:!1}),right:C({size:300,offset:0,space:!1}),footer:C({size:0,offset:0,space:!1}),left:C({size:300,offset:0,space:!1}),scroll:b,animate(){t!==null?clearTimeout(t):document.body.classList.add("q-body--layout-animate"),t=setTimeout(()=>{t=null,document.body.classList.remove("q-body--layout-animate")},155)},update(l,d,w){v[l][d]=w}};if(N(B,v),V()>0){let l=function(){m=null,R.classList.remove("hide-scrollbar")},d=function(){if(m===null){if(R.scrollHeight>n.screen.height)return;R.classList.add("hide-scrollbar")}else clearTimeout(m);m=setTimeout(l,300)},w=function(F){m!==null&&F==="remove"&&(clearTimeout(m),l()),window[`${F}EventListener`]("resize",d)},m=null;const R=document.body;x(()=>e.container!==!0?"add":"remove",w),e.container!==!0&&w("add"),X(()=>{w("remove")})}return()=>{const l=Y(y.default,[f(te,{onScroll:g}),f(O,{onResize:Q})]),d=f("div",{class:T.value,style:p.value,ref:e.container===!0?void 0:o,tabindex:-1},l);return e.container===!0?f("div",{class:"q-layout-container overflow-hidden",ref:o},[f(O,{onResize:H}),f("div",{class:"absolute-full",style:S.value},[f("div",{class:"scroll",style:i.value},[d])])]):d}}});export{ae as Q,le as a,ie as b,re as c}; diff --git a/backend/internal/http/static/spa/assets/QLinearProgress-DPykyK-Y.js b/backend/internal/http/static/spa/assets/QLinearProgress-BW3XWqZ_.js similarity index 87% rename from backend/internal/http/static/spa/assets/QLinearProgress-DPykyK-Y.js rename to backend/internal/http/static/spa/assets/QLinearProgress-BW3XWqZ_.js index ac53cbc..4e74c1a 100644 --- a/backend/internal/http/static/spa/assets/QLinearProgress-DPykyK-Y.js +++ b/backend/internal/http/static/spa/assets/QLinearProgress-BW3XWqZ_.js @@ -1 +1 @@ -import{L as S,aR as b,ag as k,$ as h,an as x,M as t,ax as C,D as r,aS as B}from"./index-B9vdjdfJ.js";const w={xs:2,sm:4,md:6,lg:10,xl:14};function c(e,s,a){return{transform:s===!0?`translateX(${a.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const D=S({name:"QLinearProgress",props:{...k,...b,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:s}){const{proxy:a}=h(),d=x(e,a.$q),u=B(e,w),l=r(()=>e.indeterminate===!0||e.query===!0),o=r(()=>e.reverse!==e.query),v=r(()=>({...u.value!==null?u.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),m=r(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),g=r(()=>c(e.buffer!==void 0?e.buffer:1,o.value,a.$q)),n=r(()=>`with${e.instantFeedback===!0?"out":""}-transition`),f=r(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${n.value} q-linear-progress__track--${d.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),q=r(()=>c(l.value===!0?1:e.value,o.value,a.$q)),$=r(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${n.value} q-linear-progress__model--${l.value===!0?"in":""}determinate`),y=r(()=>({width:`${e.value*100}%`})),_=r(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${n.value}`);return()=>{const i=[t("div",{class:f.value,style:g.value}),t("div",{class:$.value,style:q.value})];return e.stripe===!0&&l.value===!1&&i.push(t("div",{class:_.value,style:y.value})),t("div",{class:m.value,style:v.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},C(s.default,i))}}});export{D as Q}; +import{L as S,aR as b,ag as k,$ as h,an as x,M as t,ax as C,E as r,aS as B}from"./index-DAvBaevK.js";const w={xs:2,sm:4,md:6,lg:10,xl:14};function c(e,s,a){return{transform:s===!0?`translateX(${a.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const P=S({name:"QLinearProgress",props:{...k,...b,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:s}){const{proxy:a}=h(),d=x(e,a.$q),u=B(e,w),l=r(()=>e.indeterminate===!0||e.query===!0),o=r(()=>e.reverse!==e.query),v=r(()=>({...u.value!==null?u.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),m=r(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),g=r(()=>c(e.buffer!==void 0?e.buffer:1,o.value,a.$q)),n=r(()=>`with${e.instantFeedback===!0?"out":""}-transition`),f=r(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${n.value} q-linear-progress__track--${d.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),q=r(()=>c(l.value===!0?1:e.value,o.value,a.$q)),$=r(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${n.value} q-linear-progress__model--${l.value===!0?"in":""}determinate`),y=r(()=>({width:`${e.value*100}%`})),_=r(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${n.value}`);return()=>{const i=[t("div",{class:f.value,style:g.value}),t("div",{class:$.value,style:q.value})];return e.stripe===!0&&l.value===!1&&i.push(t("div",{class:_.value,style:y.value})),t("div",{class:m.value,style:v.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},C(s.default,i))}}});export{P as Q}; diff --git a/backend/internal/http/static/spa/assets/QPage-D3501MqH.js b/backend/internal/http/static/spa/assets/QPage-B68JuyjH.js similarity index 92% rename from backend/internal/http/static/spa/assets/QPage-D3501MqH.js rename to backend/internal/http/static/spa/assets/QPage-B68JuyjH.js index b6079ba..460e2b9 100644 --- a/backend/internal/http/static/spa/assets/QPage-D3501MqH.js +++ b/backend/internal/http/static/spa/assets/QPage-B68JuyjH.js @@ -1 +1 @@ -import{L as g,$ as h,ah as r,ai as t,aj as p,aq as d,M as y,a1 as f,D as s}from"./index-B9vdjdfJ.js";const C=g({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(n,{slots:i}){const{proxy:{$q:o}}=h(),e=r(p,t);if(e===t)return console.error("QPage needs to be a deep child of QLayout"),t;if(r(d,t)===t)return console.error("QPage needs to be child of QPageContainer"),t;const c=s(()=>{const a=(e.header.space===!0?e.header.size:0)+(e.footer.space===!0?e.footer.size:0);if(typeof n.styleFn=="function"){const l=e.isContainer.value===!0?e.containerHeight.value:o.screen.height;return n.styleFn(a,l)}return{minHeight:e.isContainer.value===!0?e.containerHeight.value-a+"px":o.screen.height===0?a!==0?`calc(100vh - ${a}px)`:"100vh":o.screen.height-a+"px"}}),u=s(()=>`q-page${n.padding===!0?" q-layout-padding":""}`);return()=>y("main",{class:u.value,style:c.value},f(i.default))}});export{C as Q}; +import{L as g,$ as h,ah as r,ai as t,aj as p,aq as d,M as y,a1 as f,E as s}from"./index-DAvBaevK.js";const C=g({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(n,{slots:i}){const{proxy:{$q:o}}=h(),e=r(p,t);if(e===t)return console.error("QPage needs to be a deep child of QLayout"),t;if(r(d,t)===t)return console.error("QPage needs to be child of QPageContainer"),t;const c=s(()=>{const a=(e.header.space===!0?e.header.size:0)+(e.footer.space===!0?e.footer.size:0);if(typeof n.styleFn=="function"){const l=e.isContainer.value===!0?e.containerHeight.value:o.screen.height;return n.styleFn(a,l)}return{minHeight:e.isContainer.value===!0?e.containerHeight.value-a+"px":o.screen.height===0?a!==0?`calc(100vh - ${a}px)`:"100vh":o.screen.height-a+"px"}}),u=s(()=>`q-page${n.padding===!0?" q-layout-padding":""}`);return()=>y("main",{class:u.value,style:c.value},f(i.default))}});export{C as Q}; diff --git a/backend/internal/http/static/spa/assets/QResizeObserver-CyV47ipF.js b/backend/internal/http/static/spa/assets/QResizeObserver-CenQZ1Fm.js similarity index 85% rename from backend/internal/http/static/spa/assets/QResizeObserver-CyV47ipF.js rename to backend/internal/http/static/spa/assets/QResizeObserver-CenQZ1Fm.js index 0c8ea3c..087ad16 100644 --- a/backend/internal/http/static/spa/assets/QResizeObserver-CyV47ipF.js +++ b/backend/internal/http/static/spa/assets/QResizeObserver-CenQZ1Fm.js @@ -1 +1 @@ -import{L as p,ag as w,an as x,M as y,a1 as L,$ as z,D as v,C as k,au as D,o as f,W as b,ab as O,a4 as m,ar as g}from"./index-B9vdjdfJ.js";const E=["ul","ol"],Q=p({name:"QList",props:{...w,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:u}){const s=z(),n=x(e,s.proxy.$q),r=v(()=>E.includes(e.tag)?null:"list"),o=v(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(n.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>y(e.tag,{class:o.value,role:r.value},L(u.default))}});function B(){const e=k(!D.value);return e.value===!1&&f(()=>{e.value=!0}),{isHydrated:e}}const q=typeof ResizeObserver<"u",h=q===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},R=p({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:u}){let s=null,n,r={width:-1,height:-1};function o(t){t===!0||e.debounce===0||e.debounce==="0"?l():s===null&&(s=setTimeout(l,e.debounce))}function l(){if(s!==null&&(clearTimeout(s),s=null),n){const{offsetWidth:t,offsetHeight:i}=n;(t!==r.width||i!==r.height)&&(r={width:t,height:i},u("resize",r))}}const{proxy:d}=z();if(d.trigger=o,q===!0){let t;const i=c=>{n=d.$el.parentNode,n?(t=new ResizeObserver(o),t.observe(n),l()):c!==!0&&m(()=>{i(!0)})};return f(()=>{i()}),b(()=>{s!==null&&clearTimeout(s),t!==void 0&&(t.disconnect!==void 0?t.disconnect():n&&t.unobserve(n))}),O}else{let t=function(){s!==null&&(clearTimeout(s),s=null),a!==void 0&&(a.removeEventListener!==void 0&&a.removeEventListener("resize",o,g.passive),a=void 0)},i=function(){t(),n?.contentDocument&&(a=n.contentDocument.defaultView,a.addEventListener("resize",o,g.passive),l())};const{isHydrated:c}=B();let a;return f(()=>{m(()=>{n=d.$el,n&&i()})}),b(t),()=>{if(c.value===!0)return y("object",{class:"q--avoid-card-border",style:h.style,tabindex:-1,type:"text/html",data:h.url,"aria-hidden":"true",onLoad:i})}}}});export{Q,R as a}; +import{L as p,ag as w,an as x,M as y,a1 as L,$ as z,E as v,D as k,au as D,o as f,W as b,ab as E,a4 as m,ar as g}from"./index-DAvBaevK.js";const O=["ul","ol"],Q=p({name:"QList",props:{...w,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:u}){const s=z(),n=x(e,s.proxy.$q),r=v(()=>O.includes(e.tag)?null:"list"),o=v(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(n.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>y(e.tag,{class:o.value,role:r.value},L(u.default))}});function B(){const e=k(!D.value);return e.value===!1&&f(()=>{e.value=!0}),{isHydrated:e}}const q=typeof ResizeObserver<"u",h=q===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},R=p({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:u}){let s=null,n,r={width:-1,height:-1};function o(t){t===!0||e.debounce===0||e.debounce==="0"?l():s===null&&(s=setTimeout(l,e.debounce))}function l(){if(s!==null&&(clearTimeout(s),s=null),n){const{offsetWidth:t,offsetHeight:i}=n;(t!==r.width||i!==r.height)&&(r={width:t,height:i},u("resize",r))}}const{proxy:d}=z();if(d.trigger=o,q===!0){let t;const i=c=>{n=d.$el.parentNode,n?(t=new ResizeObserver(o),t.observe(n),l()):c!==!0&&m(()=>{i(!0)})};return f(()=>{i()}),b(()=>{s!==null&&clearTimeout(s),t!==void 0&&(t.disconnect!==void 0?t.disconnect():n&&t.unobserve(n))}),E}else{let t=function(){s!==null&&(clearTimeout(s),s=null),a!==void 0&&(a.removeEventListener!==void 0&&a.removeEventListener("resize",o,g.passive),a=void 0)},i=function(){t(),n?.contentDocument&&(a=n.contentDocument.defaultView,a.addEventListener("resize",o,g.passive),l())};const{isHydrated:c}=B();let a;return f(()=>{m(()=>{n=d.$el,n&&i()})}),b(t),()=>{if(c.value===!0)return y("object",{class:"q--avoid-card-border",style:h.style,tabindex:-1,type:"text/html",data:h.url,"aria-hidden":"true",onLoad:i})}}}});export{Q,R as a}; diff --git a/backend/internal/http/static/spa/assets/QSelect-B-H7KBd7.js b/backend/internal/http/static/spa/assets/QSelect-Bmx_AjWr.js similarity index 87% rename from backend/internal/http/static/spa/assets/QSelect-B-H7KBd7.js rename to backend/internal/http/static/spa/assets/QSelect-Bmx_AjWr.js index cece798..ca829f2 100644 --- a/backend/internal/http/static/spa/assets/QSelect-B-H7KBd7.js +++ b/backend/internal/http/static/spa/assets/QSelect-Bmx_AjWr.js @@ -1 +1 @@ -import{L as Re,N as Lt,O as Kt,P as $t,ag as yt,R as Nt,S as jt,T as Qt,U as Ut,V as Wt,w as ae,aY as Xt,aZ as st,a_ as Yt,ac as Zt,a$ as Jt,Z as Gt,M as V,a1 as el,_ as tl,W as Ue,$ as Pe,C as E,D as d,a0 as ll,aU as ul,b0 as nl,an as bt,b1 as ol,a2 as oe,b2 as wt,b3 as We,b4 as Ct,b5 as Vt,aR as al,al as il,aS as rl,x as Ee,b6 as sl,aJ as cl,a4 as ne,b7 as dl,ay as fl,aA as vl,az as ml,ab as Sl,b8 as gl,b9 as ze,ba as hl,bb as yl,ad as Ne,bc as ct,bd as bl,aK as wl,ae as Ve,aL as Cl,a7 as Vl,ax as xl,be as kl}from"./index-B9vdjdfJ.js";import{n as dt,a as ql,b as Al,Q as Ol}from"./format-BipdGd1G.js";import{v as zl,a as ft,e as Fl,b as Tl,c as Ml,d as pl,r as vt,s as Bl,p as mt}from"./position-engine-CFuXolvx.js";const Il=Re({name:"QMenu",inheritAttrs:!1,props:{...Fl,...Nt,...yt,...$t,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:ft},self:{type:String,validator:ft},offset:{type:Array,validator:zl},scrollTarget:Kt,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Lt,"click","escapeKey"],setup(e,{slots:c,emit:r,attrs:v}){let k=null,i,z,h;const y=Pe(),{proxy:F}=y,{$q:s}=F,S=E(null),w=E(!1),x=d(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),T=bt(e,s),{registerTick:H,removeTick:f}=jt(),{registerTimeout:D}=Qt(),{transitionProps:U,transitionStyle:L}=ll(e),{localScrollTarget:M,changeScrollEvent:me,unconfigureScrollTarget:_}=Tl(e,g),{anchorEl:$,canShow:J}=Ml({showing:w}),{hide:te}=Ut({showing:w,canShow:J,handleShow:se,handleHide:l,hideOnRouteChange:x,processOnMount:!0}),{showPortal:W,hidePortal:ie,renderPortal:K}=Wt(y,S,B,"menu"),G={anchorEl:$,innerRef:S,onClickOutside(u){if(e.persistent!==!0&&w.value===!0)return te(u),(u.type==="touchstart"||u.target.classList.contains("q-dialog__backdrop"))&&oe(u),!0}},re=d(()=>mt(e.anchor||(e.cover===!0?"center middle":"bottom start"),s.lang.rtl)),le=d(()=>e.cover===!0?re.value:mt(e.self||"top start",s.lang.rtl)),j=d(()=>(e.square===!0?" q-menu--square":"")+(T.value===!0?" q-menu--dark q-dark":"")),ke=d(()=>e.autoClose===!0?{onClick:q}:{}),ue=d(()=>w.value===!0&&e.persistent!==!0);ae(ue,u=>{u===!0?(Xt(C),pl(G)):(st(C),vt(G))});function X(){ul(()=>{let u=S.value;u&&u.contains(document.activeElement)!==!0&&(u=u.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||u.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||u.querySelector("[autofocus], [data-autofocus]")||u,u.focus({preventScroll:!0}))})}function se(u){if(k=e.noRefocus===!1?document.activeElement:null,Yt(p),W(),g(),i=void 0,u!==void 0&&(e.touchPosition||e.contextMenu)){const R=Zt(u);if(R.left!==void 0){const{top:Y,left:Se}=$.value.getBoundingClientRect();i={left:R.left-Se,top:R.top-Y}}}z===void 0&&(z=ae(()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl,m)),e.noFocus!==!0&&document.activeElement.blur(),H(()=>{m(),e.noFocus!==!0&&X()}),D(()=>{s.platform.is.ios===!0&&(h=e.autoClose,S.value.click()),m(),W(!0),r("show",u)},e.transitionDuration)}function l(u){f(),ie(),n(!0),k!==null&&(u===void 0||u.qClickOutside!==!0)&&(((u?.type.indexOf("key")===0?k.closest('[tabindex]:not([tabindex^="-"])'):void 0)||k).focus(),k=null),D(()=>{ie(!0),r("hide",u)},e.transitionDuration)}function n(u){i=void 0,z!==void 0&&(z(),z=void 0),(u===!0||w.value===!0)&&(Jt(p),_(),vt(G),st(C)),u!==!0&&(k=null)}function g(){($.value!==null||e.scrollTarget!==void 0)&&(M.value=Gt($.value,e.scrollTarget),me(M.value,m))}function q(u){h!==!0?(nl(F,u),r("click",u)):h=!1}function p(u){ue.value===!0&&e.noFocus!==!0&&ol(S.value,u.target)!==!0&&X()}function C(u){e.noEscDismiss!==!0&&(r("escapeKey"),te(u))}function m(){Bl({targetEl:S.value,offset:e.offset,anchorEl:$.value,anchorOrigin:re.value,selfOrigin:le.value,absoluteOffset:i,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function B(){return V(tl,U.value,()=>w.value===!0?V("div",{role:"menu",...v,ref:S,tabindex:-1,class:["q-menu q-position-engine scroll"+j.value,v.class],style:[v.style,L.value],...ke.value},el(c.default)):null)}return Ue(n),Object.assign(F,{focus:X,updatePosition:m}),K}}),El=Re({name:"QField",inheritAttrs:!1,props:{...We,tag:{type:String,default:"label"}},emits:wt,setup(){return Ct(Vt({tagProp:!0}))}}),_l={xs:8,sm:10,md:14,lg:20,xl:24},Rl=Re({name:"QChip",props:{...yt,...al,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:c,emit:r}){const{proxy:{$q:v}}=Pe(),k=bt(e,v),i=rl(e,_l),z=d(()=>e.selected===!0||e.icon!==void 0),h=d(()=>e.selected===!0?e.iconSelected||v.iconSet.chip.selected:e.icon),y=d(()=>e.iconRemove||v.iconSet.chip.remove),F=d(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),s=d(()=>{const f=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(f?` text-${f} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(F.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(k.value===!0?" q-chip--dark q-dark":"")}),S=d(()=>{const f=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},D={...f,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||v.lang.label.remove};return{chip:f,remove:D}});function w(f){f.keyCode===13&&x(f)}function x(f){e.disable||(r("update:selected",!e.selected),r("click",f))}function T(f){(f.keyCode===void 0||f.keyCode===13)&&(oe(f),e.disable===!1&&(r("update:modelValue",!1),r("remove")))}function H(){const f=[];F.value===!0&&f.push(V("div",{class:"q-focus-helper"})),z.value===!0&&f.push(V(Ee,{class:"q-chip__icon q-chip__icon--left",name:h.value}));const D=e.label!==void 0?[V("div",{class:"ellipsis"},[e.label])]:void 0;return f.push(V("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},sl(c.default,D))),e.iconRight&&f.push(V(Ee,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&f.push(V(Ee,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:y.value,...S.value.remove,onClick:T,onKeyup:T})),f}return()=>{if(e.modelValue===!1)return;const f={class:s.value,style:i.value};return F.value===!0&&Object.assign(f,S.value.chip,{onClick:x,onKeyup:w}),il("div",f,H(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[cl,e.ripple]])}}});let _e=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const c=document.createElement("div");Object.assign(c.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(c),e.scrollLeft=-1e3,_e=e.scrollLeft>=0,e.remove()}const Q=1e3,Pl=["start","center","end","start-force","center-force","end-force"],xt=Array.prototype.filter,Dl=window.getComputedStyle(document.body).overflowAnchor===void 0?Sl:function(e,c){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const r=e.children||[];xt.call(r,k=>k.dataset&&k.dataset.qVsAnchor!==void 0).forEach(k=>{delete k.dataset.qVsAnchor});const v=r[c];v?.dataset&&(v.dataset.qVsAnchor="")}))};function xe(e,c){return e+c}function je(e,c,r,v,k,i,z,h){const y=e===window?document.scrollingElement||document.documentElement:e,F=k===!0?"offsetWidth":"offsetHeight",s={scrollStart:0,scrollViewSize:-z-h,scrollMaxSize:0,offsetStart:-z,offsetEnd:-h};if(k===!0?(e===window?(s.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,s.scrollViewSize+=document.documentElement.clientWidth):(s.scrollStart=y.scrollLeft,s.scrollViewSize+=y.clientWidth),s.scrollMaxSize=y.scrollWidth,i===!0&&(s.scrollStart=(_e===!0?s.scrollMaxSize-s.scrollViewSize:0)-s.scrollStart)):(e===window?(s.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,s.scrollViewSize+=document.documentElement.clientHeight):(s.scrollStart=y.scrollTop,s.scrollViewSize+=y.clientHeight),s.scrollMaxSize=y.scrollHeight),r!==null)for(let S=r.previousElementSibling;S!==null;S=S.previousElementSibling)S.classList.contains("q-virtual-scroll--skip")===!1&&(s.offsetStart+=S[F]);if(v!==null)for(let S=v.nextElementSibling;S!==null;S=S.nextElementSibling)S.classList.contains("q-virtual-scroll--skip")===!1&&(s.offsetEnd+=S[F]);if(c!==e){const S=y.getBoundingClientRect(),w=c.getBoundingClientRect();k===!0?(s.offsetStart+=w.left-S.left,s.offsetEnd-=w.width):(s.offsetStart+=w.top-S.top,s.offsetEnd-=w.height),e!==window&&(s.offsetStart+=s.scrollStart),s.offsetEnd+=s.scrollMaxSize-s.offsetStart}return s}function St(e,c,r,v){c==="end"&&(c=(e===window?document.body:e)[r===!0?"scrollWidth":"scrollHeight"]),e===window?r===!0?(v===!0&&(c=(_e===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-c),window.scrollTo(c,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,c):r===!0?(v===!0&&(c=(_e===!0?e.scrollWidth-e.offsetWidth:0)-c),e.scrollLeft=c):e.scrollTop=c}function Fe(e,c,r,v){if(r>=v)return 0;const k=c.length,i=Math.floor(r/Q),z=Math.floor((v-1)/Q)+1;let h=e.slice(i,z).reduce(xe,0);return r%Q!==0&&(h-=c.slice(i*Q,r).reduce(xe,0)),v%Q!==0&&v!==k&&(h-=c.slice(v,z*Q).reduce(xe,0)),h}const kt={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},Ql=Object.keys(kt),gt={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...kt};function Hl({virtualScrollLength:e,getVirtualScrollTarget:c,getVirtualScrollEl:r,virtualScrollItemSizeComputed:v}){const k=Pe(),{props:i,emit:z,proxy:h}=k,{$q:y}=h;let F,s,S,w=[],x;const T=E(0),H=E(0),f=E({}),D=E(null),U=E(null),L=E(null),M=E({from:0,to:0}),me=d(()=>i.tableColspan!==void 0?i.tableColspan:100);v===void 0&&(v=d(()=>i.virtualScrollItemSize));const _=d(()=>v.value+";"+i.virtualScrollHorizontal),$=d(()=>_.value+";"+i.virtualScrollSliceRatioBefore+";"+i.virtualScrollSliceRatioAfter);ae($,()=>{j()}),ae(_,J);function J(){le(s,!0)}function te(l){le(l===void 0?s:l)}function W(l,n){const g=c();if(g==null||g.nodeType===8)return;const q=je(g,r(),D.value,U.value,i.virtualScrollHorizontal,y.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd);S!==q.scrollViewSize&&j(q.scrollViewSize),K(g,q,Math.min(e.value-1,Math.max(0,parseInt(l,10)||0)),0,Pl.indexOf(n)!==-1?n:s!==-1&&l>s?"end":"start")}function ie(){const l=c();if(l==null||l.nodeType===8)return;const n=je(l,r(),D.value,U.value,i.virtualScrollHorizontal,y.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd),g=e.value-1,q=n.scrollMaxSize-n.offsetStart-n.offsetEnd-H.value;if(F===n.scrollStart)return;if(n.scrollMaxSize<=0){K(l,n,0,0);return}S!==n.scrollViewSize&&j(n.scrollViewSize),G(M.value.from);const p=Math.floor(n.scrollMaxSize-Math.max(n.scrollViewSize,n.offsetEnd)-Math.min(x[g],n.scrollViewSize/2));if(p>0&&Math.ceil(n.scrollStart)>=p){K(l,n,g,n.scrollMaxSize-n.offsetEnd-w.reduce(xe,0));return}let C=0,m=n.scrollStart-n.offsetStart,B=m;if(m<=q&&m+n.scrollViewSize>=T.value)m-=T.value,C=M.value.from,B=m;else for(let u=0;m>=w[u]&&C0&&C-n.scrollViewSize?(C++,B=m):B=x[C]+m;K(l,n,C,B)}function K(l,n,g,q,p){const C=typeof p=="string"&&p.indexOf("-force")!==-1,m=C===!0?p.replace("-force",""):p,B=m!==void 0?m:"start";let u=Math.max(0,g-f.value[B]),R=u+f.value.total;R>e.value&&(R=e.value,u=Math.max(0,R-f.value.total)),F=n.scrollStart;const Y=u!==M.value.from||R!==M.value.to;if(Y===!1&&m===void 0){ue(g);return}const{activeElement:Se}=document,ee=L.value;Y===!0&&ee!==null&&ee!==Se&&ee.contains(Se)===!0&&(ee.addEventListener("focusout",re),setTimeout(()=>{ee?.removeEventListener("focusout",re)})),Dl(ee,g-u);const Te=m!==void 0?x.slice(u,g).reduce(xe,0):0;if(Y===!0){const ce=R>=M.value.from&&u<=M.value.to?M.value.to:R;M.value={from:u,to:ce},T.value=Fe(w,x,0,u),H.value=Fe(w,x,R,e.value),requestAnimationFrame(()=>{M.value.to!==R&&F===n.scrollStart&&(M.value={from:M.value.from,to:R},H.value=Fe(w,x,R,e.value))})}requestAnimationFrame(()=>{if(F!==n.scrollStart)return;Y===!0&&G(u);const ce=x.slice(u,g).reduce(xe,0),de=ce+n.offsetStart+T.value,Me=de+x[g];let qe=de+q;if(m!==void 0){const De=ce-Te,Ae=n.scrollStart+De;qe=C!==!0&&Aeu.classList&&u.classList.contains("q-virtual-scroll--skip")===!1),q=g.length,p=i.virtualScrollHorizontal===!0?u=>u.getBoundingClientRect().width:u=>u.offsetHeight;let C=l,m,B;for(let u=0;u=q;C--)x[C]=g;const p=Math.floor((e.value-1)/Q);w=[];for(let C=0;C<=p;C++){let m=0;const B=Math.min((C+1)*Q,e.value);for(let u=C*Q;u=0?(G(M.value.from),ne(()=>{W(l)})):X()}function j(l){if(l===void 0&&typeof window<"u"){const m=c();m!=null&&m.nodeType!==8&&(l=je(m,r(),D.value,U.value,i.virtualScrollHorizontal,y.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd).scrollViewSize)}S=l;const n=parseFloat(i.virtualScrollSliceRatioBefore)||0,g=parseFloat(i.virtualScrollSliceRatioAfter)||0,q=1+n+g,p=l===void 0||l<=0?1:Math.ceil(l/v.value),C=Math.max(1,p,Math.ceil((i.virtualScrollSliceSize>0?i.virtualScrollSliceSize:10)/q));f.value={total:Math.ceil(C*q),start:Math.ceil(C*n),center:Math.ceil(C*(.5+n)),end:Math.ceil(C*(1+n)),view:p}}function ke(l,n){const g=i.virtualScrollHorizontal===!0?"width":"height",q={["--q-virtual-scroll-item-"+g]:v.value+"px"};return[l==="tbody"?V(l,{class:"q-virtual-scroll__padding",key:"before",ref:D},[V("tr",[V("td",{style:{[g]:`${T.value}px`,...q},colspan:me.value})])]):V(l,{class:"q-virtual-scroll__padding",key:"before",ref:D,style:{[g]:`${T.value}px`,...q}}),V(l,{class:"q-virtual-scroll__content",key:"content",ref:L,tabindex:-1},n.flat()),l==="tbody"?V(l,{class:"q-virtual-scroll__padding",key:"after",ref:U},[V("tr",[V("td",{style:{[g]:`${H.value}px`,...q},colspan:me.value})])]):V(l,{class:"q-virtual-scroll__padding",key:"after",ref:U,style:{[g]:`${H.value}px`,...q}})]}function ue(l){s!==l&&(i.onVirtualScroll!==void 0&&z("virtualScroll",{index:l,from:M.value.from,to:M.value.to-1,direction:l{j()});let se=!1;return vl(()=>{se=!0}),ml(()=>{if(se!==!0)return;const l=c();F!==void 0&&l!==void 0&&l!==null&&l.nodeType!==8?St(l,F,i.virtualScrollHorizontal,y.lang.rtl):W(s)}),Ue(()=>{X.cancel()}),Object.assign(h,{scrollTo:W,reset:J,refresh:te}),{virtualScrollSliceRange:M,virtualScrollSliceSizeComputed:f,setVirtualScrollSize:j,onVirtualScrollEvt:X,localResetVirtualScroll:le,padVirtualScroll:ke,scrollTo:W,reset:J,refresh:te}}const ht=e=>["add","add-unique","toggle"].includes(e),Ll=".*+?^${}()|[]\\",Kl=Object.keys(We);function Qe(e,c){if(typeof e=="function")return e;const r=e!==void 0?e:c;return v=>v!==null&&typeof v=="object"&&r in v?v[r]:v}const Ul=Re({name:"QSelect",inheritAttrs:!1,props:{...gt,...gl,...We,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:ht},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:gt.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...wt,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:c,emit:r}){const{proxy:v}=Pe(),{$q:k}=v,i=E(!1),z=E(!1),h=E(-1),y=E(""),F=E(!1),s=E(!1);let S=null,w=null,x,T,H,f=null,D,U,L,M;const me=E(null),_=E(null),$=E(null),J=E(null),te=E(null),W=bl(e),ie=kl(nt),K=d(()=>Array.isArray(e.options)?e.options.length:0),G=d(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:re,virtualScrollSliceSizeComputed:le,localResetVirtualScroll:j,padVirtualScroll:ke,onVirtualScrollEvt:ue,scrollTo:X,setVirtualScrollSize:se}=Hl({virtualScrollLength:K,getVirtualScrollTarget:zt,getVirtualScrollEl:lt,virtualScrollItemSizeComputed:G}),l=Vt(),n=d(()=>{const t=e.mapOptions===!0&&e.multiple!==!0,o=e.modelValue!==void 0&&(e.modelValue!==null||t===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const a=e.mapOptions===!0&&x!==void 0?x:[],b=o.map(O=>Ot(O,a));return e.modelValue===null&&t===!0?b.filter(O=>O!==null):b}return o}),g=d(()=>{const t={};return Kl.forEach(o=>{const a=e[o];a!==void 0&&(t[o]=a)}),t}),q=d(()=>e.optionsDark===null?l.isDark.value:e.optionsDark),p=d(()=>ct(n.value)),C=d(()=>{let t="q-field__input q-placeholder col";return e.hideSelected===!0||n.value.length===0?[t,e.inputClass]:(t+=" q-field__input--padding",e.inputClass===void 0?t:[t,e.inputClass])}),m=d(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),B=d(()=>K.value===0),u=d(()=>n.value.map(t=>N.value(t)).join(", ")),R=d(()=>e.displayValue!==void 0?e.displayValue:u.value),Y=d(()=>e.optionsHtml===!0?()=>!0:t=>t?.html===!0),Se=d(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||n.value.some(Y.value))),ee=d(()=>l.focused.value===!0?e.tabindex:-1),Te=d(()=>{const t={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":i.value===!0?"true":"false","aria-controls":`${l.targetUid.value}_lb`};return h.value>=0&&(t["aria-activedescendant"]=`${l.targetUid.value}_${h.value}`),t}),ce=d(()=>({id:`${l.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),de=d(()=>n.value.map((t,o)=>({index:o,opt:t,html:Y.value(t),selected:!0,removeAtIndex:At,toggleOption:fe,tabindex:ee.value}))),Me=d(()=>{if(K.value===0)return[];const{from:t,to:o}=re.value;return e.options.slice(t,o).map((a,b)=>{const O=ge.value(a)===!0,A=Le(a)===!0,P=t+b,I={clickable:!0,active:A,activeClass:Ae.value,manualFocus:!0,focused:!1,disable:O,tabindex:-1,dense:e.optionsDense,dark:q.value,role:"option","aria-selected":A===!0?"true":"false",id:`${l.targetUid.value}_${P}`,onClick:()=>{fe(a)}};return O!==!0&&(h.value===P&&(I.focused=!0),k.platform.is.desktop===!0&&(I.onMousemove=()=>{i.value===!0&&he(P)})),{index:P,opt:a,html:Y.value(a),label:N.value(a),selected:I.active,focused:I.focused,toggleOption:fe,setOptionIndex:he,itemProps:I}})}),qe=d(()=>e.dropdownIcon!==void 0?e.dropdownIcon:k.iconSet.arrow.dropdown),De=d(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),Ae=d(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),Z=d(()=>Qe(e.optionValue,"value")),N=d(()=>Qe(e.optionLabel,"label")),ge=d(()=>Qe(e.optionDisable,"disable")),pe=d(()=>n.value.map(Z.value)),qt=d(()=>{const t={onInput:nt,onChange:ie,onKeydown:tt,onKeyup:Ge,onKeypress:et,onFocus:Ze,onClick(o){T===!0&&Ve(o)}};return t.onCompositionstart=t.onCompositionupdate=t.onCompositionend=ie,t});ae(n,t=>{x=t,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&l.innerLoading.value!==!0&&(z.value!==!0&&i.value!==!0||p.value!==!0)&&(H!==!0&&Ce(),(z.value===!0||i.value===!0)&&ye(""))},{immediate:!0}),ae(()=>e.fillInput,Ce),ae(i,Ke),ae(K,Ht);function Xe(t){return e.emitValue===!0?Z.value(t):t}function He(t){if(t!==-1&&t=e.maxValues)return;const b=e.modelValue.slice();r("add",{index:b.length,value:a}),b.push(a),r("update:modelValue",b)}function fe(t,o){if(l.editable.value!==!0||t===void 0||ge.value(t)===!0)return;const a=Z.value(t);if(e.multiple!==!0){o!==!0&&(Oe(e.fillInput===!0?N.value(t):"",!0,!0),ve()),_.value?.focus(),(n.value.length===0||ze(Z.value(n.value[0]),a)!==!0)&&r("update:modelValue",e.emitValue===!0?a:t);return}if((T!==!0||F.value===!0)&&l.focus(),Ze(),n.value.length===0){const A=e.emitValue===!0?a:t;r("add",{index:0,value:A}),r("update:modelValue",e.multiple===!0?[A]:A);return}const b=e.modelValue.slice(),O=pe.value.findIndex(A=>ze(A,a));if(O!==-1)r("remove",{index:O,value:b.splice(O,1)[0]});else{if(e.maxValues!==void 0&&b.length>=e.maxValues)return;const A=e.emitValue===!0?a:t;r("add",{index:b.length,value:A}),b.push(A)}r("update:modelValue",b)}function he(t){if(k.platform.is.desktop!==!0)return;const o=t!==-1&&t=0?N.value(e.options[a]):D,!0))}}function Ot(t,o){const a=b=>ze(Z.value(b),t);return e.options.find(a)||o.find(a)||t}function Le(t){const o=Z.value(t);return pe.value.find(a=>ze(a,o))!==void 0}function Ze(t){e.useInput===!0&&_.value!==null&&(t===void 0||_.value===t.target&&t.target.value===u.value)&&_.value.select()}function Je(t){wl(t,27)===!0&&i.value===!0&&(Ve(t),ve(),Ce()),r("keyup",t)}function Ge(t){const{value:o}=t.target;if(t.keyCode!==void 0){Je(t);return}if(t.target.value="",S!==null&&(clearTimeout(S),S=null),w!==null&&(clearTimeout(w),w=null),Ce(),typeof o=="string"&&o.length!==0){const a=o.toLocaleLowerCase(),b=A=>{const P=e.options.find(I=>String(A.value(I)).toLocaleLowerCase()===a);return P===void 0?!1:(n.value.indexOf(P)===-1?fe(P):ve(),!0)},O=A=>{b(Z)!==!0&&A!==!0&&b(N)!==!0&&ye(o,!0,()=>O(!0))};O()}else l.clearValue(t)}function et(t){r("keypress",t)}function tt(t){if(r("keydown",t),Cl(t)===!0)return;const o=y.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),a=t.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(h.value!==-1||o===!0);if(t.keyCode===27){Ne(t);return}if(t.keyCode===9&&a===!1){be();return}if(t.target===void 0||t.target.id!==l.targetUid.value||l.editable.value!==!0)return;if(t.keyCode===40&&l.innerLoading.value!==!0&&i.value===!1){oe(t),we();return}if(t.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&y.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?He(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&r("update:modelValue",null);return}(t.keyCode===35||t.keyCode===36)&&(typeof y.value!="string"||y.value.length===0)&&(oe(t),h.value=-1,Be(t.keyCode===36?1:-1,e.multiple)),(t.keyCode===33||t.keyCode===34)&&le.value!==void 0&&(oe(t),h.value=Math.max(-1,Math.min(K.value,h.value+(t.keyCode===33?-1:1)*le.value.view)),Be(t.keyCode===33?1:-1,e.multiple)),(t.keyCode===38||t.keyCode===40)&&(oe(t),Be(t.keyCode===38?-1:1,e.multiple));const b=K.value;if((L===void 0||M0&&e.useInput!==!0&&t.key!==void 0&&t.key.length===1&&t.altKey===!1&&t.ctrlKey===!1&&t.metaKey===!1&&(t.keyCode!==32||L.length!==0)){i.value!==!0&&we(t);const O=t.key.toLocaleLowerCase(),A=L.length===1&&L[0]===O;M=Date.now()+1500,A===!1&&(oe(t),L+=O);const P=new RegExp("^"+L.split("").map($e=>Ll.indexOf($e)!==-1?"\\"+$e:$e).join(".*"),"i");let I=h.value;if(A===!0||I<0||P.test(N.value(e.options[I]))!==!0)do I=dt(I+1,-1,b-1);while(I!==h.value&&(ge.value(e.options[I])===!0||P.test(N.value(e.options[I]))!==!0));h.value!==I&&ne(()=>{he(I),X(I),I>=0&&e.useInput===!0&&e.fillInput===!0&&Ie(N.value(e.options[I]),!0)});return}if(!(t.keyCode!==13&&(t.keyCode!==32||e.useInput===!0||L!=="")&&(t.keyCode!==9||a===!1))){if(t.keyCode!==9&&oe(t),h.value!==-1&&h.value{if(P){if(ht(P)!==!0)return}else P=e.newValueMode;if(Oe("",e.multiple!==!0,!0),A==null)return;(P==="toggle"?fe:Ye)(A,P==="add-unique"),e.multiple!==!0&&(_.value?.focus(),ve())};if(e.onNewValue!==void 0?r("newValue",y.value,O):O(y.value),e.multiple!==!0)return}i.value===!0?be():l.innerLoading.value!==!0&&we()}}function lt(){return T===!0?te.value:$.value!==null&&$.value.contentEl!==null?$.value.contentEl:void 0}function zt(){return lt()}function Ft(){return e.hideSelected===!0?[]:c["selected-item"]!==void 0?de.value.map(t=>c["selected-item"](t)).slice():c.selected!==void 0?[].concat(c.selected()):e.useChips===!0?de.value.map((t,o)=>V(Rl,{key:"option-"+o,removable:l.editable.value===!0&&ge.value(t.opt)!==!0,dense:!0,textColor:e.color,tabindex:ee.value,onRemove(){t.removeAtIndex(o)}},()=>V("span",{class:"ellipsis",[t.html===!0?"innerHTML":"textContent"]:N.value(t.opt)}))):[V("span",{class:"ellipsis",[Se.value===!0?"innerHTML":"textContent"]:R.value})]}function ut(){if(B.value===!0)return c["no-option"]!==void 0?c["no-option"]({inputValue:y.value}):void 0;const t=c.option!==void 0?c.option:a=>V(Ol,{key:a.index,...a.itemProps},()=>V(ql,()=>V(Al,()=>V("span",{[a.html===!0?"innerHTML":"textContent"]:a.label}))));let o=ke("div",Me.value.map(t));return c["before-options"]!==void 0&&(o=c["before-options"]().concat(o)),xl(c["after-options"],o)}function Tt(t,o){const a=o===!0?{...Te.value,...l.splitAttrs.attributes.value}:void 0,b={ref:o===!0?_:void 0,key:"i_t",class:C.value,style:e.inputStyle,value:y.value!==void 0?y.value:"",type:"search",...a,id:o===!0?l.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":t===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...qt.value};return t!==!0&&T===!0&&(Array.isArray(b.class)===!0?b.class=[...b.class,"no-pointer-events"]:b.class+=" no-pointer-events"),V("input",b)}function nt(t){S!==null&&(clearTimeout(S),S=null),w!==null&&(clearTimeout(w),w=null),!(t&&t.target&&t.target.qComposing===!0)&&(Ie(t.target.value||""),H=!0,D=y.value,l.focused.value!==!0&&(T!==!0||F.value===!0)&&l.focus(),e.onFilter!==void 0&&(S=setTimeout(()=>{S=null,ye(y.value)},e.inputDebounce)))}function Ie(t,o){y.value!==t&&(y.value=t,o===!0||e.inputDebounce===0||e.inputDebounce==="0"?r("inputValue",t):w=setTimeout(()=>{w=null,r("inputValue",t)},e.inputDebounce))}function Oe(t,o,a){H=a!==!0,e.useInput===!0&&(Ie(t,!0),(o===!0||a!==!0)&&(D=t),o!==!0&&ye(t))}function ye(t,o,a){if(e.onFilter===void 0||o!==!0&&l.focused.value!==!0)return;l.innerLoading.value===!0?r("filterAbort"):(l.innerLoading.value=!0,s.value=!0),t!==""&&e.multiple!==!0&&n.value.length!==0&&H!==!0&&t===N.value(n.value[0])&&(t="");const b=setTimeout(()=>{i.value===!0&&(i.value=!1)},10);f!==null&&clearTimeout(f),f=b,r("filter",t,(O,A)=>{(o===!0||l.focused.value===!0)&&f===b&&(clearTimeout(f),typeof O=="function"&&O(),s.value=!1,ne(()=>{l.innerLoading.value=!1,l.editable.value===!0&&(o===!0?i.value===!0&&ve():i.value===!0?Ke(!0):i.value=!0),typeof A=="function"&&ne(()=>{A(v)}),typeof a=="function"&&ne(()=>{a(v)})}))},()=>{l.focused.value===!0&&f===b&&(clearTimeout(f),l.innerLoading.value=!1,s.value=!1),i.value===!0&&(i.value=!1)})}function Mt(){return V(Il,{ref:$,class:m.value,style:e.popupContentStyle,modelValue:i.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&B.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:q.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:De.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...ce.value,onScrollPassive:ue,onBeforeShow:at,onBeforeHide:pt,onShow:Bt},ut)}function pt(t){it(t),be()}function Bt(){se()}function It(t){Ve(t),_.value?.focus(),F.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function Et(t){Ve(t),ne(()=>{F.value=!1})}function _t(){const t=[V(El,{class:`col-auto ${l.fieldClass.value}`,...g.value,for:l.targetUid.value,dark:q.value,square:!0,loading:s.value,itemAligned:!1,filled:!0,stackLabel:y.value.length!==0,...l.splitAttrs.listeners.value,onFocus:It,onBlur:Et},{...c,rawControl:()=>l.getControl(!0),before:void 0,after:void 0})];return i.value===!0&&t.push(V("div",{ref:te,class:m.value+" scroll",style:e.popupContentStyle,...ce.value,onClick:Ne,onScrollPassive:ue},ut())),V(Vl,{ref:J,modelValue:z.value,position:e.useInput===!0?"top":void 0,transitionShow:U,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:at,onBeforeHide:Rt,onHide:Pt,onShow:Dt},()=>V("div",{class:"q-select__dialog"+(q.value===!0?" q-select__dialog--dark q-dark":"")+(F.value===!0?" q-select__dialog--focused":"")},t))}function Rt(t){it(t),J.value!==null&&J.value.__updateRefocusTarget(l.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),l.focused.value=!1}function Pt(t){ve(),l.focused.value===!1&&r("blur",t),Ce()}function Dt(){const t=document.activeElement;(t===null||t.id!==l.targetUid.value)&&_.value!==null&&_.value!==t&&_.value.focus(),se()}function be(){z.value!==!0&&(h.value=-1,i.value===!0&&(i.value=!1),l.focused.value===!1&&(f!==null&&(clearTimeout(f),f=null),l.innerLoading.value===!0&&(r("filterAbort"),l.innerLoading.value=!1,s.value=!1)))}function we(t){l.editable.value===!0&&(T===!0?(l.onControlFocusin(t),z.value=!0,ne(()=>{l.focus()})):l.focus(),e.onFilter!==void 0?ye(y.value):(B.value!==!0||c["no-option"]!==void 0)&&(i.value=!0))}function ve(){z.value=!1,be()}function Ce(){e.useInput===!0&&Oe(e.multiple!==!0&&e.fillInput===!0&&n.value.length!==0&&N.value(n.value[0])||"",!0,!0)}function Ke(t){let o=-1;if(t===!0){if(n.value.length!==0){const a=Z.value(n.value[0]);o=e.options.findIndex(b=>ze(Z.value(b),a))}j(o)}he(o)}function Ht(t,o){i.value===!0&&l.innerLoading.value===!1&&(j(-1,!0),ne(()=>{i.value===!0&&l.innerLoading.value===!1&&(t>o?j():Ke(!0))}))}function ot(){z.value===!1&&$.value!==null&&$.value.updatePosition()}function at(t){t!==void 0&&Ve(t),r("popupShow",t),l.hasPopupOpen=!0,l.onControlFocusin(t)}function it(t){t!==void 0&&Ve(t),r("popupHide",t),l.hasPopupOpen=!1,l.onControlFocusout(t)}function rt(){T=k.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?c["no-option"]!==void 0||e.onFilter!==void 0||B.value===!1:!0),U=k.platform.is.ios===!0&&T===!0&&e.useInput===!0?"fade":e.transitionShow}return hl(rt),yl(ot),rt(),Ue(()=>{S!==null&&clearTimeout(S),w!==null&&clearTimeout(w)}),Object.assign(v,{showPopup:we,hidePopup:ve,removeAtIndex:He,add:Ye,toggleOption:fe,getOptionIndex:()=>h.value,setOptionIndex:he,moveOptionSelection:Be,filter:ye,updateMenuPosition:ot,updateInputValue:Oe,isOptionSelected:Le,getEmittingOptionValue:Xe,isOptionDisabled:(...t)=>ge.value.apply(null,t)===!0,getOptionValue:(...t)=>Z.value.apply(null,t),getOptionLabel:(...t)=>N.value.apply(null,t)}),Object.assign(l,{innerValue:n,fieldClass:d(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:me,targetRef:_,hasValue:p,showPopup:we,floatingLabel:d(()=>e.hideSelected!==!0&&p.value===!0||typeof y.value=="number"||y.value.length!==0||ct(e.displayValue)),getControlChild:()=>{if(l.editable.value!==!1&&(z.value===!0||B.value!==!0||c["no-option"]!==void 0))return T===!0?_t():Mt();l.hasPopupOpen===!0&&(l.hasPopupOpen=!1)},controlEvents:{onFocusin(t){l.onControlFocusin(t)},onFocusout(t){l.onControlFocusout(t,()=>{Ce(),be()})},onClick(t){if(Ne(t),T!==!0&&i.value===!0){be(),_.value?.focus();return}we(t)}},getControl:t=>{const o=Ft(),a=t===!0||z.value!==!0||T!==!0;if(e.useInput===!0)o.push(Tt(t,a));else if(l.editable.value===!0){const O=a===!0?Te.value:void 0;o.push(V("input",{ref:a===!0?_:void 0,key:"d_t",class:"q-select__focus-target",id:a===!0?l.targetUid.value:void 0,value:R.value,readonly:!0,"data-autofocus":t===!0||e.autofocus===!0||void 0,...O,onKeydown:tt,onKeyup:Je,onKeypress:et})),a===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&o.push(V("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Ge}))}if(W.value!==void 0&&e.disable!==!0&&pe.value.length!==0){const O=pe.value.map(A=>V("option",{value:A,selected:!0}));o.push(V("select",{class:"hidden",name:W.value,multiple:e.multiple},O))}const b=e.useInput===!0||a!==!0?void 0:l.splitAttrs.attributes.value;return V("div",{class:"q-field__native row items-center",...b,...l.splitAttrs.listeners.value},o)},getInnerAppend:()=>e.loading!==!0&&s.value!==!0&&e.hideDropdownIcon!==!0?[V(Ee,{class:"q-select__dropdown-icon"+(i.value===!0?" rotate-180":""),name:qe.value})]:null}),Ct(l)}});export{Il as Q,Ul as a,Hl as b,Ql as c,_e as r,gt as u}; +import{L as Re,N as Lt,O as Kt,P as $t,ag as yt,R as Nt,S as jt,T as Qt,U as Ut,V as Wt,w as ae,aY as Xt,aZ as st,a_ as Yt,ac as Zt,a$ as Jt,Z as Gt,M as V,a1 as el,_ as tl,W as Ue,$ as Pe,D as E,E as d,a0 as ll,aU as ul,b0 as nl,an as bt,b1 as ol,a2 as oe,b2 as wt,b3 as We,b4 as Ct,b5 as Vt,aR as al,al as il,aS as rl,y as Ee,b6 as sl,aJ as cl,a4 as ne,b7 as dl,ay as fl,aA as vl,az as ml,ab as Sl,b8 as gl,b9 as ze,ba as hl,bb as yl,ad as Ne,bc as ct,bd as bl,aK as wl,ae as Ve,aL as Cl,a7 as Vl,ax as kl,be as xl}from"./index-DAvBaevK.js";import{n as dt,a as ql,b as Al,Q as Ol}from"./format-DaKpMo2W.js";import{v as zl,a as ft,e as Fl,b as Tl,c as Ml,d as pl,r as vt,s as Bl,p as mt}from"./position-engine-BHgB6lrx.js";const Il=Re({name:"QMenu",inheritAttrs:!1,props:{...Fl,...Nt,...yt,...$t,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:ft},self:{type:String,validator:ft},offset:{type:Array,validator:zl},scrollTarget:Kt,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Lt,"click","escapeKey"],setup(e,{slots:c,emit:r,attrs:v}){let x=null,i,z,h;const y=Pe(),{proxy:F}=y,{$q:s}=F,S=E(null),w=E(!1),k=d(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),T=bt(e,s),{registerTick:H,removeTick:f}=jt(),{registerTimeout:D}=Qt(),{transitionProps:U,transitionStyle:L}=ll(e),{localScrollTarget:M,changeScrollEvent:me,unconfigureScrollTarget:_}=Tl(e,g),{anchorEl:$,canShow:J}=Ml({showing:w}),{hide:te}=Ut({showing:w,canShow:J,handleShow:se,handleHide:l,hideOnRouteChange:k,processOnMount:!0}),{showPortal:W,hidePortal:ie,renderPortal:K}=Wt(y,S,B,"menu"),G={anchorEl:$,innerRef:S,onClickOutside(u){if(e.persistent!==!0&&w.value===!0)return te(u),(u.type==="touchstart"||u.target.classList.contains("q-dialog__backdrop"))&&oe(u),!0}},re=d(()=>mt(e.anchor||(e.cover===!0?"center middle":"bottom start"),s.lang.rtl)),le=d(()=>e.cover===!0?re.value:mt(e.self||"top start",s.lang.rtl)),j=d(()=>(e.square===!0?" q-menu--square":"")+(T.value===!0?" q-menu--dark q-dark":"")),xe=d(()=>e.autoClose===!0?{onClick:q}:{}),ue=d(()=>w.value===!0&&e.persistent!==!0);ae(ue,u=>{u===!0?(Xt(C),pl(G)):(st(C),vt(G))});function X(){ul(()=>{let u=S.value;u&&u.contains(document.activeElement)!==!0&&(u=u.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||u.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||u.querySelector("[autofocus], [data-autofocus]")||u,u.focus({preventScroll:!0}))})}function se(u){if(x=e.noRefocus===!1?document.activeElement:null,Yt(p),W(),g(),i=void 0,u!==void 0&&(e.touchPosition||e.contextMenu)){const R=Zt(u);if(R.left!==void 0){const{top:Y,left:Se}=$.value.getBoundingClientRect();i={left:R.left-Se,top:R.top-Y}}}z===void 0&&(z=ae(()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl,m)),e.noFocus!==!0&&document.activeElement.blur(),H(()=>{m(),e.noFocus!==!0&&X()}),D(()=>{s.platform.is.ios===!0&&(h=e.autoClose,S.value.click()),m(),W(!0),r("show",u)},e.transitionDuration)}function l(u){f(),ie(),n(!0),x!==null&&(u===void 0||u.qClickOutside!==!0)&&(((u?.type.indexOf("key")===0?x.closest('[tabindex]:not([tabindex^="-"])'):void 0)||x).focus(),x=null),D(()=>{ie(!0),r("hide",u)},e.transitionDuration)}function n(u){i=void 0,z!==void 0&&(z(),z=void 0),(u===!0||w.value===!0)&&(Jt(p),_(),vt(G),st(C)),u!==!0&&(x=null)}function g(){($.value!==null||e.scrollTarget!==void 0)&&(M.value=Gt($.value,e.scrollTarget),me(M.value,m))}function q(u){h!==!0?(nl(F,u),r("click",u)):h=!1}function p(u){ue.value===!0&&e.noFocus!==!0&&ol(S.value,u.target)!==!0&&X()}function C(u){e.noEscDismiss!==!0&&(r("escapeKey"),te(u))}function m(){Bl({targetEl:S.value,offset:e.offset,anchorEl:$.value,anchorOrigin:re.value,selfOrigin:le.value,absoluteOffset:i,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function B(){return V(tl,U.value,()=>w.value===!0?V("div",{role:"menu",...v,ref:S,tabindex:-1,class:["q-menu q-position-engine scroll"+j.value,v.class],style:[v.style,L.value],...xe.value},el(c.default)):null)}return Ue(n),Object.assign(F,{focus:X,updatePosition:m}),K}}),El=Re({name:"QField",inheritAttrs:!1,props:{...We,tag:{type:String,default:"label"}},emits:wt,setup(){return Ct(Vt({tagProp:!0}))}}),_l={xs:8,sm:10,md:14,lg:20,xl:24},Rl=Re({name:"QChip",props:{...yt,...al,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:c,emit:r}){const{proxy:{$q:v}}=Pe(),x=bt(e,v),i=rl(e,_l),z=d(()=>e.selected===!0||e.icon!==void 0),h=d(()=>e.selected===!0?e.iconSelected||v.iconSet.chip.selected:e.icon),y=d(()=>e.iconRemove||v.iconSet.chip.remove),F=d(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),s=d(()=>{const f=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(f?` text-${f} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(F.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(x.value===!0?" q-chip--dark q-dark":"")}),S=d(()=>{const f=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},D={...f,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||v.lang.label.remove};return{chip:f,remove:D}});function w(f){f.keyCode===13&&k(f)}function k(f){e.disable||(r("update:selected",!e.selected),r("click",f))}function T(f){(f.keyCode===void 0||f.keyCode===13)&&(oe(f),e.disable===!1&&(r("update:modelValue",!1),r("remove")))}function H(){const f=[];F.value===!0&&f.push(V("div",{class:"q-focus-helper"})),z.value===!0&&f.push(V(Ee,{class:"q-chip__icon q-chip__icon--left",name:h.value}));const D=e.label!==void 0?[V("div",{class:"ellipsis"},[e.label])]:void 0;return f.push(V("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},sl(c.default,D))),e.iconRight&&f.push(V(Ee,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&f.push(V(Ee,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:y.value,...S.value.remove,onClick:T,onKeyup:T})),f}return()=>{if(e.modelValue===!1)return;const f={class:s.value,style:i.value};return F.value===!0&&Object.assign(f,S.value.chip,{onClick:k,onKeyup:w}),il("div",f,H(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[cl,e.ripple]])}}});let _e=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const c=document.createElement("div");Object.assign(c.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(c),e.scrollLeft=-1e3,_e=e.scrollLeft>=0,e.remove()}const Q=1e3,Pl=["start","center","end","start-force","center-force","end-force"],kt=Array.prototype.filter,Dl=window.getComputedStyle(document.body).overflowAnchor===void 0?Sl:function(e,c){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const r=e.children||[];kt.call(r,x=>x.dataset&&x.dataset.qVsAnchor!==void 0).forEach(x=>{delete x.dataset.qVsAnchor});const v=r[c];v?.dataset&&(v.dataset.qVsAnchor="")}))};function ke(e,c){return e+c}function je(e,c,r,v,x,i,z,h){const y=e===window?document.scrollingElement||document.documentElement:e,F=x===!0?"offsetWidth":"offsetHeight",s={scrollStart:0,scrollViewSize:-z-h,scrollMaxSize:0,offsetStart:-z,offsetEnd:-h};if(x===!0?(e===window?(s.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,s.scrollViewSize+=document.documentElement.clientWidth):(s.scrollStart=y.scrollLeft,s.scrollViewSize+=y.clientWidth),s.scrollMaxSize=y.scrollWidth,i===!0&&(s.scrollStart=(_e===!0?s.scrollMaxSize-s.scrollViewSize:0)-s.scrollStart)):(e===window?(s.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,s.scrollViewSize+=document.documentElement.clientHeight):(s.scrollStart=y.scrollTop,s.scrollViewSize+=y.clientHeight),s.scrollMaxSize=y.scrollHeight),r!==null)for(let S=r.previousElementSibling;S!==null;S=S.previousElementSibling)S.classList.contains("q-virtual-scroll--skip")===!1&&(s.offsetStart+=S[F]);if(v!==null)for(let S=v.nextElementSibling;S!==null;S=S.nextElementSibling)S.classList.contains("q-virtual-scroll--skip")===!1&&(s.offsetEnd+=S[F]);if(c!==e){const S=y.getBoundingClientRect(),w=c.getBoundingClientRect();x===!0?(s.offsetStart+=w.left-S.left,s.offsetEnd-=w.width):(s.offsetStart+=w.top-S.top,s.offsetEnd-=w.height),e!==window&&(s.offsetStart+=s.scrollStart),s.offsetEnd+=s.scrollMaxSize-s.offsetStart}return s}function St(e,c,r,v){c==="end"&&(c=(e===window?document.body:e)[r===!0?"scrollWidth":"scrollHeight"]),e===window?r===!0?(v===!0&&(c=(_e===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-c),window.scrollTo(c,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,c):r===!0?(v===!0&&(c=(_e===!0?e.scrollWidth-e.offsetWidth:0)-c),e.scrollLeft=c):e.scrollTop=c}function Fe(e,c,r,v){if(r>=v)return 0;const x=c.length,i=Math.floor(r/Q),z=Math.floor((v-1)/Q)+1;let h=e.slice(i,z).reduce(ke,0);return r%Q!==0&&(h-=c.slice(i*Q,r).reduce(ke,0)),v%Q!==0&&v!==x&&(h-=c.slice(v,z*Q).reduce(ke,0)),h}const xt={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},Ql=Object.keys(xt),gt={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...xt};function Hl({virtualScrollLength:e,getVirtualScrollTarget:c,getVirtualScrollEl:r,virtualScrollItemSizeComputed:v}){const x=Pe(),{props:i,emit:z,proxy:h}=x,{$q:y}=h;let F,s,S,w=[],k;const T=E(0),H=E(0),f=E({}),D=E(null),U=E(null),L=E(null),M=E({from:0,to:0}),me=d(()=>i.tableColspan!==void 0?i.tableColspan:100);v===void 0&&(v=d(()=>i.virtualScrollItemSize));const _=d(()=>v.value+";"+i.virtualScrollHorizontal),$=d(()=>_.value+";"+i.virtualScrollSliceRatioBefore+";"+i.virtualScrollSliceRatioAfter);ae($,()=>{j()}),ae(_,J);function J(){le(s,!0)}function te(l){le(l===void 0?s:l)}function W(l,n){const g=c();if(g==null||g.nodeType===8)return;const q=je(g,r(),D.value,U.value,i.virtualScrollHorizontal,y.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd);S!==q.scrollViewSize&&j(q.scrollViewSize),K(g,q,Math.min(e.value-1,Math.max(0,parseInt(l,10)||0)),0,Pl.indexOf(n)!==-1?n:s!==-1&&l>s?"end":"start")}function ie(){const l=c();if(l==null||l.nodeType===8)return;const n=je(l,r(),D.value,U.value,i.virtualScrollHorizontal,y.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd),g=e.value-1,q=n.scrollMaxSize-n.offsetStart-n.offsetEnd-H.value;if(F===n.scrollStart)return;if(n.scrollMaxSize<=0){K(l,n,0,0);return}S!==n.scrollViewSize&&j(n.scrollViewSize),G(M.value.from);const p=Math.floor(n.scrollMaxSize-Math.max(n.scrollViewSize,n.offsetEnd)-Math.min(k[g],n.scrollViewSize/2));if(p>0&&Math.ceil(n.scrollStart)>=p){K(l,n,g,n.scrollMaxSize-n.offsetEnd-w.reduce(ke,0));return}let C=0,m=n.scrollStart-n.offsetStart,B=m;if(m<=q&&m+n.scrollViewSize>=T.value)m-=T.value,C=M.value.from,B=m;else for(let u=0;m>=w[u]&&C0&&C-n.scrollViewSize?(C++,B=m):B=k[C]+m;K(l,n,C,B)}function K(l,n,g,q,p){const C=typeof p=="string"&&p.indexOf("-force")!==-1,m=C===!0?p.replace("-force",""):p,B=m!==void 0?m:"start";let u=Math.max(0,g-f.value[B]),R=u+f.value.total;R>e.value&&(R=e.value,u=Math.max(0,R-f.value.total)),F=n.scrollStart;const Y=u!==M.value.from||R!==M.value.to;if(Y===!1&&m===void 0){ue(g);return}const{activeElement:Se}=document,ee=L.value;Y===!0&&ee!==null&&ee!==Se&&ee.contains(Se)===!0&&(ee.addEventListener("focusout",re),setTimeout(()=>{ee?.removeEventListener("focusout",re)})),Dl(ee,g-u);const Te=m!==void 0?k.slice(u,g).reduce(ke,0):0;if(Y===!0){const ce=R>=M.value.from&&u<=M.value.to?M.value.to:R;M.value={from:u,to:ce},T.value=Fe(w,k,0,u),H.value=Fe(w,k,R,e.value),requestAnimationFrame(()=>{M.value.to!==R&&F===n.scrollStart&&(M.value={from:M.value.from,to:R},H.value=Fe(w,k,R,e.value))})}requestAnimationFrame(()=>{if(F!==n.scrollStart)return;Y===!0&&G(u);const ce=k.slice(u,g).reduce(ke,0),de=ce+n.offsetStart+T.value,Me=de+k[g];let qe=de+q;if(m!==void 0){const De=ce-Te,Ae=n.scrollStart+De;qe=C!==!0&&Aeu.classList&&u.classList.contains("q-virtual-scroll--skip")===!1),q=g.length,p=i.virtualScrollHorizontal===!0?u=>u.getBoundingClientRect().width:u=>u.offsetHeight;let C=l,m,B;for(let u=0;u=q;C--)k[C]=g;const p=Math.floor((e.value-1)/Q);w=[];for(let C=0;C<=p;C++){let m=0;const B=Math.min((C+1)*Q,e.value);for(let u=C*Q;u=0?(G(M.value.from),ne(()=>{W(l)})):X()}function j(l){if(l===void 0&&typeof window<"u"){const m=c();m!=null&&m.nodeType!==8&&(l=je(m,r(),D.value,U.value,i.virtualScrollHorizontal,y.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd).scrollViewSize)}S=l;const n=parseFloat(i.virtualScrollSliceRatioBefore)||0,g=parseFloat(i.virtualScrollSliceRatioAfter)||0,q=1+n+g,p=l===void 0||l<=0?1:Math.ceil(l/v.value),C=Math.max(1,p,Math.ceil((i.virtualScrollSliceSize>0?i.virtualScrollSliceSize:10)/q));f.value={total:Math.ceil(C*q),start:Math.ceil(C*n),center:Math.ceil(C*(.5+n)),end:Math.ceil(C*(1+n)),view:p}}function xe(l,n){const g=i.virtualScrollHorizontal===!0?"width":"height",q={["--q-virtual-scroll-item-"+g]:v.value+"px"};return[l==="tbody"?V(l,{class:"q-virtual-scroll__padding",key:"before",ref:D},[V("tr",[V("td",{style:{[g]:`${T.value}px`,...q},colspan:me.value})])]):V(l,{class:"q-virtual-scroll__padding",key:"before",ref:D,style:{[g]:`${T.value}px`,...q}}),V(l,{class:"q-virtual-scroll__content",key:"content",ref:L,tabindex:-1},n.flat()),l==="tbody"?V(l,{class:"q-virtual-scroll__padding",key:"after",ref:U},[V("tr",[V("td",{style:{[g]:`${H.value}px`,...q},colspan:me.value})])]):V(l,{class:"q-virtual-scroll__padding",key:"after",ref:U,style:{[g]:`${H.value}px`,...q}})]}function ue(l){s!==l&&(i.onVirtualScroll!==void 0&&z("virtualScroll",{index:l,from:M.value.from,to:M.value.to-1,direction:l{j()});let se=!1;return vl(()=>{se=!0}),ml(()=>{if(se!==!0)return;const l=c();F!==void 0&&l!==void 0&&l!==null&&l.nodeType!==8?St(l,F,i.virtualScrollHorizontal,y.lang.rtl):W(s)}),Ue(()=>{X.cancel()}),Object.assign(h,{scrollTo:W,reset:J,refresh:te}),{virtualScrollSliceRange:M,virtualScrollSliceSizeComputed:f,setVirtualScrollSize:j,onVirtualScrollEvt:X,localResetVirtualScroll:le,padVirtualScroll:xe,scrollTo:W,reset:J,refresh:te}}const ht=e=>["add","add-unique","toggle"].includes(e),Ll=".*+?^${}()|[]\\",Kl=Object.keys(We);function Qe(e,c){if(typeof e=="function")return e;const r=e!==void 0?e:c;return v=>v!==null&&typeof v=="object"&&r in v?v[r]:v}const Ul=Re({name:"QSelect",inheritAttrs:!1,props:{...gt,...gl,...We,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:ht},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:gt.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...wt,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:c,emit:r}){const{proxy:v}=Pe(),{$q:x}=v,i=E(!1),z=E(!1),h=E(-1),y=E(""),F=E(!1),s=E(!1);let S=null,w=null,k,T,H,f=null,D,U,L,M;const me=E(null),_=E(null),$=E(null),J=E(null),te=E(null),W=bl(e),ie=xl(nt),K=d(()=>Array.isArray(e.options)?e.options.length:0),G=d(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:re,virtualScrollSliceSizeComputed:le,localResetVirtualScroll:j,padVirtualScroll:xe,onVirtualScrollEvt:ue,scrollTo:X,setVirtualScrollSize:se}=Hl({virtualScrollLength:K,getVirtualScrollTarget:zt,getVirtualScrollEl:lt,virtualScrollItemSizeComputed:G}),l=Vt(),n=d(()=>{const t=e.mapOptions===!0&&e.multiple!==!0,o=e.modelValue!==void 0&&(e.modelValue!==null||t===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const a=e.mapOptions===!0&&k!==void 0?k:[],b=o.map(O=>Ot(O,a));return e.modelValue===null&&t===!0?b.filter(O=>O!==null):b}return o}),g=d(()=>{const t={};return Kl.forEach(o=>{const a=e[o];a!==void 0&&(t[o]=a)}),t}),q=d(()=>e.optionsDark===null?l.isDark.value:e.optionsDark),p=d(()=>ct(n.value)),C=d(()=>{let t="q-field__input q-placeholder col";return e.hideSelected===!0||n.value.length===0?[t,e.inputClass]:(t+=" q-field__input--padding",e.inputClass===void 0?t:[t,e.inputClass])}),m=d(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),B=d(()=>K.value===0),u=d(()=>n.value.map(t=>N.value(t)).join(", ")),R=d(()=>e.displayValue!==void 0?e.displayValue:u.value),Y=d(()=>e.optionsHtml===!0?()=>!0:t=>t?.html===!0),Se=d(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||n.value.some(Y.value))),ee=d(()=>l.focused.value===!0?e.tabindex:-1),Te=d(()=>{const t={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":i.value===!0?"true":"false","aria-controls":`${l.targetUid.value}_lb`};return h.value>=0&&(t["aria-activedescendant"]=`${l.targetUid.value}_${h.value}`),t}),ce=d(()=>({id:`${l.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),de=d(()=>n.value.map((t,o)=>({index:o,opt:t,html:Y.value(t),selected:!0,removeAtIndex:At,toggleOption:fe,tabindex:ee.value}))),Me=d(()=>{if(K.value===0)return[];const{from:t,to:o}=re.value;return e.options.slice(t,o).map((a,b)=>{const O=ge.value(a)===!0,A=Le(a)===!0,P=t+b,I={clickable:!0,active:A,activeClass:Ae.value,manualFocus:!0,focused:!1,disable:O,tabindex:-1,dense:e.optionsDense,dark:q.value,role:"option","aria-selected":A===!0?"true":"false",id:`${l.targetUid.value}_${P}`,onClick:()=>{fe(a)}};return O!==!0&&(h.value===P&&(I.focused=!0),x.platform.is.desktop===!0&&(I.onMousemove=()=>{i.value===!0&&he(P)})),{index:P,opt:a,html:Y.value(a),label:N.value(a),selected:I.active,focused:I.focused,toggleOption:fe,setOptionIndex:he,itemProps:I}})}),qe=d(()=>e.dropdownIcon!==void 0?e.dropdownIcon:x.iconSet.arrow.dropdown),De=d(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),Ae=d(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),Z=d(()=>Qe(e.optionValue,"value")),N=d(()=>Qe(e.optionLabel,"label")),ge=d(()=>Qe(e.optionDisable,"disable")),pe=d(()=>n.value.map(Z.value)),qt=d(()=>{const t={onInput:nt,onChange:ie,onKeydown:tt,onKeyup:Ge,onKeypress:et,onFocus:Ze,onClick(o){T===!0&&Ve(o)}};return t.onCompositionstart=t.onCompositionupdate=t.onCompositionend=ie,t});ae(n,t=>{k=t,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&l.innerLoading.value!==!0&&(z.value!==!0&&i.value!==!0||p.value!==!0)&&(H!==!0&&Ce(),(z.value===!0||i.value===!0)&&ye(""))},{immediate:!0}),ae(()=>e.fillInput,Ce),ae(i,Ke),ae(K,Ht);function Xe(t){return e.emitValue===!0?Z.value(t):t}function He(t){if(t!==-1&&t=e.maxValues)return;const b=e.modelValue.slice();r("add",{index:b.length,value:a}),b.push(a),r("update:modelValue",b)}function fe(t,o){if(l.editable.value!==!0||t===void 0||ge.value(t)===!0)return;const a=Z.value(t);if(e.multiple!==!0){o!==!0&&(Oe(e.fillInput===!0?N.value(t):"",!0,!0),ve()),_.value?.focus(),(n.value.length===0||ze(Z.value(n.value[0]),a)!==!0)&&r("update:modelValue",e.emitValue===!0?a:t);return}if((T!==!0||F.value===!0)&&l.focus(),Ze(),n.value.length===0){const A=e.emitValue===!0?a:t;r("add",{index:0,value:A}),r("update:modelValue",e.multiple===!0?[A]:A);return}const b=e.modelValue.slice(),O=pe.value.findIndex(A=>ze(A,a));if(O!==-1)r("remove",{index:O,value:b.splice(O,1)[0]});else{if(e.maxValues!==void 0&&b.length>=e.maxValues)return;const A=e.emitValue===!0?a:t;r("add",{index:b.length,value:A}),b.push(A)}r("update:modelValue",b)}function he(t){if(x.platform.is.desktop!==!0)return;const o=t!==-1&&t=0?N.value(e.options[a]):D,!0))}}function Ot(t,o){const a=b=>ze(Z.value(b),t);return e.options.find(a)||o.find(a)||t}function Le(t){const o=Z.value(t);return pe.value.find(a=>ze(a,o))!==void 0}function Ze(t){e.useInput===!0&&_.value!==null&&(t===void 0||_.value===t.target&&t.target.value===u.value)&&_.value.select()}function Je(t){wl(t,27)===!0&&i.value===!0&&(Ve(t),ve(),Ce()),r("keyup",t)}function Ge(t){const{value:o}=t.target;if(t.keyCode!==void 0){Je(t);return}if(t.target.value="",S!==null&&(clearTimeout(S),S=null),w!==null&&(clearTimeout(w),w=null),Ce(),typeof o=="string"&&o.length!==0){const a=o.toLocaleLowerCase(),b=A=>{const P=e.options.find(I=>String(A.value(I)).toLocaleLowerCase()===a);return P===void 0?!1:(n.value.indexOf(P)===-1?fe(P):ve(),!0)},O=A=>{b(Z)!==!0&&A!==!0&&b(N)!==!0&&ye(o,!0,()=>O(!0))};O()}else l.clearValue(t)}function et(t){r("keypress",t)}function tt(t){if(r("keydown",t),Cl(t)===!0)return;const o=y.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),a=t.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(h.value!==-1||o===!0);if(t.keyCode===27){Ne(t);return}if(t.keyCode===9&&a===!1){be();return}if(t.target===void 0||t.target.id!==l.targetUid.value||l.editable.value!==!0)return;if(t.keyCode===40&&l.innerLoading.value!==!0&&i.value===!1){oe(t),we();return}if(t.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&y.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?He(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&r("update:modelValue",null);return}(t.keyCode===35||t.keyCode===36)&&(typeof y.value!="string"||y.value.length===0)&&(oe(t),h.value=-1,Be(t.keyCode===36?1:-1,e.multiple)),(t.keyCode===33||t.keyCode===34)&&le.value!==void 0&&(oe(t),h.value=Math.max(-1,Math.min(K.value,h.value+(t.keyCode===33?-1:1)*le.value.view)),Be(t.keyCode===33?1:-1,e.multiple)),(t.keyCode===38||t.keyCode===40)&&(oe(t),Be(t.keyCode===38?-1:1,e.multiple));const b=K.value;if((L===void 0||M0&&e.useInput!==!0&&t.key!==void 0&&t.key.length===1&&t.altKey===!1&&t.ctrlKey===!1&&t.metaKey===!1&&(t.keyCode!==32||L.length!==0)){i.value!==!0&&we(t);const O=t.key.toLocaleLowerCase(),A=L.length===1&&L[0]===O;M=Date.now()+1500,A===!1&&(oe(t),L+=O);const P=new RegExp("^"+L.split("").map($e=>Ll.indexOf($e)!==-1?"\\"+$e:$e).join(".*"),"i");let I=h.value;if(A===!0||I<0||P.test(N.value(e.options[I]))!==!0)do I=dt(I+1,-1,b-1);while(I!==h.value&&(ge.value(e.options[I])===!0||P.test(N.value(e.options[I]))!==!0));h.value!==I&&ne(()=>{he(I),X(I),I>=0&&e.useInput===!0&&e.fillInput===!0&&Ie(N.value(e.options[I]),!0)});return}if(!(t.keyCode!==13&&(t.keyCode!==32||e.useInput===!0||L!=="")&&(t.keyCode!==9||a===!1))){if(t.keyCode!==9&&oe(t),h.value!==-1&&h.value{if(P){if(ht(P)!==!0)return}else P=e.newValueMode;if(Oe("",e.multiple!==!0,!0),A==null)return;(P==="toggle"?fe:Ye)(A,P==="add-unique"),e.multiple!==!0&&(_.value?.focus(),ve())};if(e.onNewValue!==void 0?r("newValue",y.value,O):O(y.value),e.multiple!==!0)return}i.value===!0?be():l.innerLoading.value!==!0&&we()}}function lt(){return T===!0?te.value:$.value!==null&&$.value.contentEl!==null?$.value.contentEl:void 0}function zt(){return lt()}function Ft(){return e.hideSelected===!0?[]:c["selected-item"]!==void 0?de.value.map(t=>c["selected-item"](t)).slice():c.selected!==void 0?[].concat(c.selected()):e.useChips===!0?de.value.map((t,o)=>V(Rl,{key:"option-"+o,removable:l.editable.value===!0&&ge.value(t.opt)!==!0,dense:!0,textColor:e.color,tabindex:ee.value,onRemove(){t.removeAtIndex(o)}},()=>V("span",{class:"ellipsis",[t.html===!0?"innerHTML":"textContent"]:N.value(t.opt)}))):[V("span",{class:"ellipsis",[Se.value===!0?"innerHTML":"textContent"]:R.value})]}function ut(){if(B.value===!0)return c["no-option"]!==void 0?c["no-option"]({inputValue:y.value}):void 0;const t=c.option!==void 0?c.option:a=>V(Ol,{key:a.index,...a.itemProps},()=>V(ql,()=>V(Al,()=>V("span",{[a.html===!0?"innerHTML":"textContent"]:a.label}))));let o=xe("div",Me.value.map(t));return c["before-options"]!==void 0&&(o=c["before-options"]().concat(o)),kl(c["after-options"],o)}function Tt(t,o){const a=o===!0?{...Te.value,...l.splitAttrs.attributes.value}:void 0,b={ref:o===!0?_:void 0,key:"i_t",class:C.value,style:e.inputStyle,value:y.value!==void 0?y.value:"",type:"search",...a,id:o===!0?l.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":t===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...qt.value};return t!==!0&&T===!0&&(Array.isArray(b.class)===!0?b.class=[...b.class,"no-pointer-events"]:b.class+=" no-pointer-events"),V("input",b)}function nt(t){S!==null&&(clearTimeout(S),S=null),w!==null&&(clearTimeout(w),w=null),!(t&&t.target&&t.target.qComposing===!0)&&(Ie(t.target.value||""),H=!0,D=y.value,l.focused.value!==!0&&(T!==!0||F.value===!0)&&l.focus(),e.onFilter!==void 0&&(S=setTimeout(()=>{S=null,ye(y.value)},e.inputDebounce)))}function Ie(t,o){y.value!==t&&(y.value=t,o===!0||e.inputDebounce===0||e.inputDebounce==="0"?r("inputValue",t):w=setTimeout(()=>{w=null,r("inputValue",t)},e.inputDebounce))}function Oe(t,o,a){H=a!==!0,e.useInput===!0&&(Ie(t,!0),(o===!0||a!==!0)&&(D=t),o!==!0&&ye(t))}function ye(t,o,a){if(e.onFilter===void 0||o!==!0&&l.focused.value!==!0)return;l.innerLoading.value===!0?r("filterAbort"):(l.innerLoading.value=!0,s.value=!0),t!==""&&e.multiple!==!0&&n.value.length!==0&&H!==!0&&t===N.value(n.value[0])&&(t="");const b=setTimeout(()=>{i.value===!0&&(i.value=!1)},10);f!==null&&clearTimeout(f),f=b,r("filter",t,(O,A)=>{(o===!0||l.focused.value===!0)&&f===b&&(clearTimeout(f),typeof O=="function"&&O(),s.value=!1,ne(()=>{l.innerLoading.value=!1,l.editable.value===!0&&(o===!0?i.value===!0&&ve():i.value===!0?Ke(!0):i.value=!0),typeof A=="function"&&ne(()=>{A(v)}),typeof a=="function"&&ne(()=>{a(v)})}))},()=>{l.focused.value===!0&&f===b&&(clearTimeout(f),l.innerLoading.value=!1,s.value=!1),i.value===!0&&(i.value=!1)})}function Mt(){return V(Il,{ref:$,class:m.value,style:e.popupContentStyle,modelValue:i.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&B.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:q.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:De.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...ce.value,onScrollPassive:ue,onBeforeShow:at,onBeforeHide:pt,onShow:Bt},ut)}function pt(t){it(t),be()}function Bt(){se()}function It(t){Ve(t),_.value?.focus(),F.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function Et(t){Ve(t),ne(()=>{F.value=!1})}function _t(){const t=[V(El,{class:`col-auto ${l.fieldClass.value}`,...g.value,for:l.targetUid.value,dark:q.value,square:!0,loading:s.value,itemAligned:!1,filled:!0,stackLabel:y.value.length!==0,...l.splitAttrs.listeners.value,onFocus:It,onBlur:Et},{...c,rawControl:()=>l.getControl(!0),before:void 0,after:void 0})];return i.value===!0&&t.push(V("div",{ref:te,class:m.value+" scroll",style:e.popupContentStyle,...ce.value,onClick:Ne,onScrollPassive:ue},ut())),V(Vl,{ref:J,modelValue:z.value,position:e.useInput===!0?"top":void 0,transitionShow:U,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:at,onBeforeHide:Rt,onHide:Pt,onShow:Dt},()=>V("div",{class:"q-select__dialog"+(q.value===!0?" q-select__dialog--dark q-dark":"")+(F.value===!0?" q-select__dialog--focused":"")},t))}function Rt(t){it(t),J.value!==null&&J.value.__updateRefocusTarget(l.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),l.focused.value=!1}function Pt(t){ve(),l.focused.value===!1&&r("blur",t),Ce()}function Dt(){const t=document.activeElement;(t===null||t.id!==l.targetUid.value)&&_.value!==null&&_.value!==t&&_.value.focus(),se()}function be(){z.value!==!0&&(h.value=-1,i.value===!0&&(i.value=!1),l.focused.value===!1&&(f!==null&&(clearTimeout(f),f=null),l.innerLoading.value===!0&&(r("filterAbort"),l.innerLoading.value=!1,s.value=!1)))}function we(t){l.editable.value===!0&&(T===!0?(l.onControlFocusin(t),z.value=!0,ne(()=>{l.focus()})):l.focus(),e.onFilter!==void 0?ye(y.value):(B.value!==!0||c["no-option"]!==void 0)&&(i.value=!0))}function ve(){z.value=!1,be()}function Ce(){e.useInput===!0&&Oe(e.multiple!==!0&&e.fillInput===!0&&n.value.length!==0&&N.value(n.value[0])||"",!0,!0)}function Ke(t){let o=-1;if(t===!0){if(n.value.length!==0){const a=Z.value(n.value[0]);o=e.options.findIndex(b=>ze(Z.value(b),a))}j(o)}he(o)}function Ht(t,o){i.value===!0&&l.innerLoading.value===!1&&(j(-1,!0),ne(()=>{i.value===!0&&l.innerLoading.value===!1&&(t>o?j():Ke(!0))}))}function ot(){z.value===!1&&$.value!==null&&$.value.updatePosition()}function at(t){t!==void 0&&Ve(t),r("popupShow",t),l.hasPopupOpen=!0,l.onControlFocusin(t)}function it(t){t!==void 0&&Ve(t),r("popupHide",t),l.hasPopupOpen=!1,l.onControlFocusout(t)}function rt(){T=x.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?c["no-option"]!==void 0||e.onFilter!==void 0||B.value===!1:!0),U=x.platform.is.ios===!0&&T===!0&&e.useInput===!0?"fade":e.transitionShow}return hl(rt),yl(ot),rt(),Ue(()=>{S!==null&&clearTimeout(S),w!==null&&clearTimeout(w)}),Object.assign(v,{showPopup:we,hidePopup:ve,removeAtIndex:He,add:Ye,toggleOption:fe,getOptionIndex:()=>h.value,setOptionIndex:he,moveOptionSelection:Be,filter:ye,updateMenuPosition:ot,updateInputValue:Oe,isOptionSelected:Le,getEmittingOptionValue:Xe,isOptionDisabled:(...t)=>ge.value.apply(null,t)===!0,getOptionValue:(...t)=>Z.value.apply(null,t),getOptionLabel:(...t)=>N.value.apply(null,t)}),Object.assign(l,{innerValue:n,fieldClass:d(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:me,targetRef:_,hasValue:p,showPopup:we,floatingLabel:d(()=>e.hideSelected!==!0&&p.value===!0||typeof y.value=="number"||y.value.length!==0||ct(e.displayValue)),getControlChild:()=>{if(l.editable.value!==!1&&(z.value===!0||B.value!==!0||c["no-option"]!==void 0))return T===!0?_t():Mt();l.hasPopupOpen===!0&&(l.hasPopupOpen=!1)},controlEvents:{onFocusin(t){l.onControlFocusin(t)},onFocusout(t){l.onControlFocusout(t,()=>{Ce(),be()})},onClick(t){if(Ne(t),T!==!0&&i.value===!0){be(),_.value?.focus();return}we(t)}},getControl:t=>{const o=Ft(),a=t===!0||z.value!==!0||T!==!0;if(e.useInput===!0)o.push(Tt(t,a));else if(l.editable.value===!0){const O=a===!0?Te.value:void 0;o.push(V("input",{ref:a===!0?_:void 0,key:"d_t",class:"q-select__focus-target",id:a===!0?l.targetUid.value:void 0,value:R.value,readonly:!0,"data-autofocus":t===!0||e.autofocus===!0||void 0,...O,onKeydown:tt,onKeyup:Je,onKeypress:et})),a===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&o.push(V("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Ge}))}if(W.value!==void 0&&e.disable!==!0&&pe.value.length!==0){const O=pe.value.map(A=>V("option",{value:A,selected:!0}));o.push(V("select",{class:"hidden",name:W.value,multiple:e.multiple},O))}const b=e.useInput===!0||a!==!0?void 0:l.splitAttrs.attributes.value;return V("div",{class:"q-field__native row items-center",...b,...l.splitAttrs.listeners.value},o)},getInnerAppend:()=>e.loading!==!0&&s.value!==!0&&e.hideDropdownIcon!==!0?[V(Ee,{class:"q-select__dropdown-icon"+(i.value===!0?" rotate-180":""),name:qe.value})]:null}),Ct(l)}});export{Il as Q,Ul as a,Hl as b,Ql as c,_e as r,gt as u}; diff --git a/backend/internal/http/static/spa/assets/QToolbar-k3h3juC8.js b/backend/internal/http/static/spa/assets/QToolbar-DdNWxglI.js similarity index 78% rename from backend/internal/http/static/spa/assets/QToolbar-k3h3juC8.js rename to backend/internal/http/static/spa/assets/QToolbar-DdNWxglI.js index ee96284..d33ebf1 100644 --- a/backend/internal/http/static/spa/assets/QToolbar-k3h3juC8.js +++ b/backend/internal/http/static/spa/assets/QToolbar-DdNWxglI.js @@ -1 +1 @@ -import{L as a,M as s,a1 as r,D as l}from"./index-B9vdjdfJ.js";const p=a({name:"QToolbar",props:{inset:Boolean},setup(o,{slots:e}){const t=l(()=>"q-toolbar row no-wrap items-center"+(o.inset===!0?" q-toolbar--inset":""));return()=>s("div",{class:t.value,role:"toolbar"},r(e.default))}});export{p as Q}; +import{L as a,M as s,a1 as r,E as l}from"./index-DAvBaevK.js";const p=a({name:"QToolbar",props:{inset:Boolean},setup(o,{slots:e}){const t=l(()=>"q-toolbar row no-wrap items-center"+(o.inset===!0?" q-toolbar--inset":""));return()=>s("div",{class:t.value,role:"toolbar"},r(e.default))}});export{p as Q}; diff --git a/backend/internal/http/static/spa/assets/QTooltip-D2MBGu_Z.js b/backend/internal/http/static/spa/assets/QTooltip-D2MBGu_Z.js deleted file mode 100644 index 4be890e..0000000 --- a/backend/internal/http/static/spa/assets/QTooltip-D2MBGu_Z.js +++ /dev/null @@ -1 +0,0 @@ -import{L as te,N as oe,O as ae,P as T,R as ne,S as ie,T as se,U as le,V as re,w as C,W as E,X as k,Y as x,Z as ue,M as H,_ as ce,$ as de,C as A,D as f,a0 as fe,a1 as he,a2 as ve}from"./index-B9vdjdfJ.js";import{v as me,a as D,u as ge,b as Te,c as ye,d as pe,r as M,s as Se,p as q}from"./position-engine-CFuXolvx.js";import{c as L}from"./selection-HrszS3Ie.js";const Oe=te({name:"QTooltip",inheritAttrs:!1,props:{...ge,...ne,...T,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...T.transitionShow,default:"jump-down"},transitionHide:{...T.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:D},self:{type:String,default:"top middle",validator:D},offset:{type:Array,default:()=>[14,14],validator:me},scrollTarget:ae,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...oe],setup(e,{slots:j,emit:y,attrs:h}){let i,s;const v=de(),{proxy:{$q:o}}=v,l=A(null),c=A(!1),W=f(()=>q(e.anchor,o.lang.rtl)),N=f(()=>q(e.self,o.lang.rtl)),Q=f(()=>e.persistent!==!0),{registerTick:R,removeTick:_}=ie(),{registerTimeout:d}=se(),{transitionProps:B,transitionStyle:U}=fe(e),{localScrollTarget:p,changeScrollEvent:V,unconfigureScrollTarget:$}=Te(e,w),{anchorEl:a,canShow:I,anchorEvents:r}=ye({showing:c,configureAnchorEl:J}),{show:X,hide:m}=le({showing:c,canShow:I,handleShow:Z,handleHide:z,hideOnRouteChange:Q,processOnMount:!0});Object.assign(r,{delayShow:F,delayHide:G});const{showPortal:S,hidePortal:b,renderPortal:Y}=re(v,l,ee,"tooltip");if(o.platform.is.mobile===!0){const t={anchorEl:a,innerRef:l,onClickOutside(n){return m(n),n.target.classList.contains("q-dialog__backdrop")&&ve(n),!0}},g=f(()=>e.modelValue===null&&e.persistent!==!0&&c.value===!0);C(g,n=>{(n===!0?pe:M)(t)}),E(()=>{M(t)})}function Z(t){S(),R(()=>{s=new MutationObserver(()=>u()),s.observe(l.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),u(),w()}),i===void 0&&(i=C(()=>o.screen.width+"|"+o.screen.height+"|"+e.self+"|"+e.anchor+"|"+o.lang.rtl,u)),d(()=>{S(!0),y("show",t)},e.transitionDuration)}function z(t){_(),b(),P(),d(()=>{b(!0),y("hide",t)},e.transitionDuration)}function P(){s!==void 0&&(s.disconnect(),s=void 0),i!==void 0&&(i(),i=void 0),$(),k(r,"tooltipTemp")}function u(){Se({targetEl:l.value,offset:e.offset,anchorEl:a.value,anchorOrigin:W.value,selfOrigin:N.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function F(t){if(o.platform.is.mobile===!0){L(),document.body.classList.add("non-selectable");const g=a.value,n=["touchmove","touchcancel","touchend","click"].map(O=>[g,O,"delayHide","passiveCapture"]);x(r,"tooltipTemp",n)}d(()=>{X(t)},e.delay)}function G(t){o.platform.is.mobile===!0&&(k(r,"tooltipTemp"),L(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),d(()=>{m(t)},e.hideDelay)}function J(){if(e.noParentEvent===!0||a.value===null)return;const t=o.platform.is.mobile===!0?[[a.value,"touchstart","delayShow","passive"]]:[[a.value,"mouseenter","delayShow","passive"],[a.value,"mouseleave","delayHide","passive"]];x(r,"anchor",t)}function w(){if(a.value!==null||e.scrollTarget!==void 0){p.value=ue(a.value,e.scrollTarget);const t=e.noParentEvent===!0?u:m;V(p.value,t)}}function K(){return c.value===!0?H("div",{...h,ref:l,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",h.class],style:[h.style,U.value],role:"tooltip"},he(j.default)):null}function ee(){return H(ce,B.value,K)}return E(P),Object.assign(v.proxy,{updatePosition:u}),Y}});export{Oe as Q}; diff --git a/backend/internal/http/static/spa/assets/RecoverPasswordPage-Bh9nckCd.js b/backend/internal/http/static/spa/assets/RecoverPasswordPage-CJDwxHNJ.js similarity index 54% rename from backend/internal/http/static/spa/assets/RecoverPasswordPage-Bh9nckCd.js rename to backend/internal/http/static/spa/assets/RecoverPasswordPage-CJDwxHNJ.js index 5daaa24..96a39b3 100644 --- a/backend/internal/http/static/spa/assets/RecoverPasswordPage-Bh9nckCd.js +++ b/backend/internal/http/static/spa/assets/RecoverPasswordPage-CJDwxHNJ.js @@ -1 +1 @@ -import{a as y,g as x,h as r,i as u,j as s,m as o,k as a,E as Q,a3 as d,s as c,I as k,J as w,Q as p,q as b,x as C,n as V,y as h,C as m}from"./index-B9vdjdfJ.js";import{Q as E}from"./QForm-uiBLv4qC.js";import{Q as I}from"./QPage-D3501MqH.js";import{u as P}from"./use-quasar-BoyshCFo.js";import{f as B}from"./api-RGUeM09o.js";import{_ as S}from"./_plugin-vue_export-helper-DlAUqK2U.js";const z={class:"auth-shell"},N={key:1,class:"success-state"},R=y({__name:"RecoverPasswordPage",setup(q){const f=P(),l=m(!1),i=m(""),n=m(!1);async function v(){l.value=!0;try{const t=await B({email:i.value.trim()});if(t.error)throw new Error(t.error);n.value=!0}catch(t){f.notify({type:"negative",message:t instanceof Error?t.message:String(t)})}finally{l.value=!1}}return(t,e)=>{const g=x("router-link");return r(),u(I,{class:"auth-page"},{default:s(()=>[o("div",z,[a(Q,{flat:"",bordered:"",class:"auth-card"},{default:s(()=>[a(d,null,{default:s(()=>[...e[1]||(e[1]=[o("div",{class:"text-overline text-primary"},"Recupero",-1),o("div",{class:"text-h4"},"Recover password",-1),o("div",{class:"text-body2 text-grey-7"},"Invia la mail di recupero password.",-1)])]),_:1}),a(c),a(d,null,{default:s(()=>[n.value?(r(),b("div",N,[a(C,{name:"mark_email_read",size:"56px",color:"positive"}),e[2]||(e[2]=o("div",{class:"text-h6"},"Email inviata",-1)),e[3]||(e[3]=o("div",{class:"text-body2 text-grey-7"}," Se l'indirizzo esiste, riceverai un messaggio con le istruzioni per reimpostare la password. ",-1)),a(p,{color:"primary",label:"Home",to:"/"})])):(r(),u(E,{key:0,class:"auth-form",onSubmit:k(v,["prevent"])},{default:s(()=>[a(w,{modelValue:i.value,"onUpdate:modelValue":e[0]||(e[0]=_=>i.value=_),outlined:"",type:"email",label:"Email",autocomplete:"email"},null,8,["modelValue"]),a(p,{color:"primary",label:"Invia email",type:"submit",loading:l.value},null,8,["loading"])]),_:1}))]),_:1}),a(c),n.value?h("",!0):(r(),u(d,{key:0,class:"auth-links"},{default:s(()=>[a(g,{to:"/login"},{default:s(()=>[...e[4]||(e[4]=[V("Torna al login",-1)])]),_:1})]),_:1}))]),_:1})])]),_:1})}}}),U=S(R,[["__scopeId","data-v-d3af4c7f"]]);export{U as default}; +import{a as y,g as x,h as r,i as u,j as s,m as o,k as a,F as Q,a3 as d,v as c,I as k,J as w,Q as p,s as b,y as V,p as h,z as C,D as m}from"./index-DAvBaevK.js";import{Q as I}from"./QForm-CgLsd63I.js";import{Q as P}from"./QPage-B68JuyjH.js";import{u as z}from"./use-quasar-B5tVCAcV.js";import{f as B}from"./api-RGUeM09o.js";import{_ as E}from"./_plugin-vue_export-helper-DlAUqK2U.js";const S={class:"auth-shell"},N={key:1,class:"success-state"},R=y({__name:"RecoverPasswordPage",setup(F){const f=z(),l=m(!1),i=m(""),n=m(!1);async function v(){l.value=!0;try{const t=await B({email:i.value.trim()});if(t.error)throw new Error(t.error);n.value=!0}catch(t){f.notify({type:"negative",message:t instanceof Error?t.message:String(t)})}finally{l.value=!1}}return(t,e)=>{const g=x("router-link");return r(),u(P,{class:"auth-page"},{default:s(()=>[o("div",S,[a(Q,{flat:"",bordered:"",class:"auth-card"},{default:s(()=>[a(d,null,{default:s(()=>[...e[1]||(e[1]=[o("div",{class:"text-overline text-primary"},"Recupero",-1),o("div",{class:"text-h4"},"Recover password",-1),o("div",{class:"text-body2 text-grey-7"},"Invia la mail di recupero password.",-1)])]),_:1}),a(c),a(d,null,{default:s(()=>[n.value?(r(),b("div",N,[a(V,{name:"mark_email_read",size:"56px",color:"positive"}),e[2]||(e[2]=o("div",{class:"text-h6"},"Email inviata",-1)),e[3]||(e[3]=o("div",{class:"text-body2 text-grey-7"}," Se l'indirizzo esiste, riceverai un messaggio con le istruzioni per reimpostare la password. ",-1)),a(p,{color:"primary",label:"Home",to:"/"})])):(r(),u(I,{key:0,class:"auth-form",onSubmit:k(v,["prevent"])},{default:s(()=>[a(w,{modelValue:i.value,"onUpdate:modelValue":e[0]||(e[0]=_=>i.value=_),outlined:"",type:"email",label:"Email",autocomplete:"email"},null,8,["modelValue"]),a(p,{color:"primary",label:"Invia email",type:"submit",loading:l.value},null,8,["loading"])]),_:1}))]),_:1}),a(c),n.value?C("",!0):(r(),u(d,{key:0,class:"auth-links"},{default:s(()=>[a(g,{to:"/login"},{default:s(()=>[...e[4]||(e[4]=[h("Torna al login",-1)])]),_:1})]),_:1}))]),_:1})])]),_:1})}}}),M=E(R,[["__scopeId","data-v-d3af4c7f"]]);export{M as default}; diff --git a/backend/internal/http/static/spa/assets/ResetPasswordPage-DC-tQ0cd.js b/backend/internal/http/static/spa/assets/ResetPasswordPage-DC-tQ0cd.js new file mode 100644 index 0000000..5df5f15 --- /dev/null +++ b/backend/internal/http/static/spa/assets/ResetPasswordPage-DC-tQ0cd.js @@ -0,0 +1 @@ +import{a as R,e as h,D as t,h as f,i as I,j as n,m,k as s,F as A,a3 as w,v as B,J as g,y,s as k,t as _,z as b,a6 as S,Q as T,E as N}from"./index-DAvBaevK.js";import{Q as U}from"./QPage-B68JuyjH.js";import{a as E}from"./api-RGUeM09o.js";import{_ as F}from"./_plugin-vue_export-helper-DlAUqK2U.js";const L={class:"page-shell"},q={key:0,class:"msg msg-error"},D={key:1,class:"msg msg-success"},M=R({__name:"ResetPasswordPage",setup($){const V=h(),u=t(P()),r=t(""),d=t(""),p=t(!1),c=t(!1),v=t(!1),o=t(""),i=t(""),C=N(()=>u.value.trim().length>0?"Token caricato da URL, puoi comunque modificarlo.":"Inserisci il token ricevuto via email.");function P(){const e=V.query.token;return typeof e=="string"?e:Array.isArray(e)&&e.length>0?String(e[0]):""}function Q(){return o.value="",i.value="",u.value.trim()?r.value?r.value.length<8?(o.value="La password deve avere almeno 8 caratteri.",!1):r.value!==d.value?(o.value="Le password non coincidono.",!1):!0:(o.value="Inserisci una nuova password.",!1):(o.value="Token mancante.",!1)}async function x(){if(Q()){p.value=!0,o.value="",i.value="";try{const e=await E({token:u.value.trim(),password:r.value});if(e.error){o.value=e.error;return}i.value=e.data?.message||"Password aggiornata con successo.",r.value="",d.value=""}catch(e){o.value=e instanceof Error?e.message:String(e)}finally{p.value=!1}}}return(e,a)=>(f(),I(U,{class:"reset-password-page"},{default:n(()=>[m("div",L,[s(A,{flat:"",bordered:"",class:"reset-card"},{default:n(()=>[s(w,{class:"card-head"},{default:n(()=>[...a[5]||(a[5]=[m("p",{class:"eyebrow"},"Account security",-1),m("h1",null,"Reset Password",-1),m("p",{class:"subtitle"},"Imposta una nuova password usando il token ricevuto via email.",-1)])]),_:1}),s(B),s(w,{class:"card-body"},{default:n(()=>[s(g,{modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=l=>u.value=l),label:"Token",outlined:"",autogrow:"",type:"textarea",hint:C.value},null,8,["modelValue","hint"]),s(g,{modelValue:r.value,"onUpdate:modelValue":a[2]||(a[2]=l=>r.value=l),label:"Nuova password",outlined:"",type:c.value?"text":"password"},{append:n(()=>[s(y,{name:c.value?"visibility_off":"visibility",class:"cursor-pointer",onClick:a[1]||(a[1]=l=>c.value=!c.value)},null,8,["name"])]),_:1},8,["modelValue","type"]),s(g,{modelValue:d.value,"onUpdate:modelValue":a[4]||(a[4]=l=>d.value=l),label:"Conferma password",outlined:"",type:v.value?"text":"password"},{append:n(()=>[s(y,{name:v.value?"visibility_off":"visibility",class:"cursor-pointer",onClick:a[3]||(a[3]=l=>v.value=!v.value)},null,8,["name"])]),_:1},8,["modelValue","type"]),o.value?(f(),k("div",q,_(o.value),1)):b("",!0),i.value?(f(),k("div",D,_(i.value),1)):b("",!0)]),_:1}),s(S,{align:"right",class:"card-actions"},{default:n(()=>[s(T,{color:"primary",icon:"lock_reset",label:"Aggiorna password",loading:p.value,onClick:x},null,8,["loading"])]),_:1})]),_:1})])]),_:1}))}}),G=F(M,[["__scopeId","data-v-7f13b293"]]);export{G as default}; diff --git a/backend/internal/http/static/spa/assets/ResetPasswordPage-bCDSDRjo.js b/backend/internal/http/static/spa/assets/ResetPasswordPage-bCDSDRjo.js deleted file mode 100644 index 2cbf7ba..0000000 --- a/backend/internal/http/static/spa/assets/ResetPasswordPage-bCDSDRjo.js +++ /dev/null @@ -1 +0,0 @@ -import{a as R,e as h,C as t,h as f,i as I,j as n,m,k as s,E as A,a3 as w,s as B,J as g,x as y,q as k,t as _,y as b,a6 as S,Q as T,D as N}from"./index-B9vdjdfJ.js";import{Q as U}from"./QPage-D3501MqH.js";import{a as q}from"./api-RGUeM09o.js";import{_ as E}from"./_plugin-vue_export-helper-DlAUqK2U.js";const L={class:"page-shell"},D={key:0,class:"msg msg-error"},F={key:1,class:"msg msg-success"},M=R({__name:"ResetPasswordPage",setup($){const C=h(),u=t(P()),r=t(""),d=t(""),p=t(!1),c=t(!1),v=t(!1),o=t(""),i=t(""),V=N(()=>u.value.trim().length>0?"Token caricato da URL, puoi comunque modificarlo.":"Inserisci il token ricevuto via email.");function P(){const e=C.query.token;return typeof e=="string"?e:Array.isArray(e)&&e.length>0?String(e[0]):""}function Q(){return o.value="",i.value="",u.value.trim()?r.value?r.value.length<8?(o.value="La password deve avere almeno 8 caratteri.",!1):r.value!==d.value?(o.value="Le password non coincidono.",!1):!0:(o.value="Inserisci una nuova password.",!1):(o.value="Token mancante.",!1)}async function x(){if(Q()){p.value=!0,o.value="",i.value="";try{const e=await q({token:u.value.trim(),password:r.value});if(e.error){o.value=e.error;return}i.value=e.data?.message||"Password aggiornata con successo.",r.value="",d.value=""}catch(e){o.value=e instanceof Error?e.message:String(e)}finally{p.value=!1}}}return(e,a)=>(f(),I(U,{class:"reset-password-page"},{default:n(()=>[m("div",L,[s(A,{flat:"",bordered:"",class:"reset-card"},{default:n(()=>[s(w,{class:"card-head"},{default:n(()=>[...a[5]||(a[5]=[m("p",{class:"eyebrow"},"Account security",-1),m("h1",null,"Reset Password",-1),m("p",{class:"subtitle"},"Imposta una nuova password usando il token ricevuto via email.",-1)])]),_:1}),s(B),s(w,{class:"card-body"},{default:n(()=>[s(g,{modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=l=>u.value=l),label:"Token",outlined:"",autogrow:"",type:"textarea",hint:V.value},null,8,["modelValue","hint"]),s(g,{modelValue:r.value,"onUpdate:modelValue":a[2]||(a[2]=l=>r.value=l),label:"Nuova password",outlined:"",type:c.value?"text":"password"},{append:n(()=>[s(y,{name:c.value?"visibility_off":"visibility",class:"cursor-pointer",onClick:a[1]||(a[1]=l=>c.value=!c.value)},null,8,["name"])]),_:1},8,["modelValue","type"]),s(g,{modelValue:d.value,"onUpdate:modelValue":a[4]||(a[4]=l=>d.value=l),label:"Conferma password",outlined:"",type:v.value?"text":"password"},{append:n(()=>[s(y,{name:v.value?"visibility_off":"visibility",class:"cursor-pointer",onClick:a[3]||(a[3]=l=>v.value=!v.value)},null,8,["name"])]),_:1},8,["modelValue","type"]),o.value?(f(),k("div",D,_(o.value),1)):b("",!0),i.value?(f(),k("div",F,_(i.value),1)):b("",!0)]),_:1}),s(S,{align:"right",class:"card-actions"},{default:n(()=>[s(T,{color:"primary",icon:"lock_reset",label:"Aggiorna password",loading:p.value,onClick:x},null,8,["loading"])]),_:1})]),_:1})])]),_:1}))}}),G=E(M,[["__scopeId","data-v-7f13b293"]]);export{G as default}; diff --git a/backend/internal/http/static/spa/assets/ServicesPage-C1Wj__Px.js b/backend/internal/http/static/spa/assets/ServicesPage-C1Wj__Px.js deleted file mode 100644 index 8a2306f..0000000 --- a/backend/internal/http/static/spa/assets/ServicesPage-C1Wj__Px.js +++ /dev/null @@ -1 +0,0 @@ -import{a as v,h as c,i as _,j as o,k as i,m as e,q as l,F as r,G as d,E as n,t as a,x as f,Q as h,H as p}from"./index-B9vdjdfJ.js";import{Q as w}from"./QPage-D3501MqH.js";import{H as x,a as y}from"./HomeHeader-F2sD99DF.js";import{_ as b}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./QTooltip-D2MBGu_Z.js";import"./position-engine-CFuXolvx.js";import"./selection-HrszS3Ie.js";import"./QToolbar-k3h3juC8.js";const V="/assets/service-img-1-DW0zEdQo.jpg",H="/assets/service-img-2-C5-3A23e.jpg",k="/assets/service-img-3-Dqdyjcu5.jpg",L="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_91_250)'%3e%3cpath%20d='M3.09457%2015.7447V24.7065C3.09457%2027.0981%205.04036%2029.0436%207.43196%2029.0436H22.5765C24.9681%2029.0436%2026.9139%2027.0981%2026.9139%2024.7065V15.7909C28.0334%2015.9588%2029.0676%2015.436%2029.6225%2014.5229C30.3317%2013.3554%2030.0164%2011.819%2028.8887%2010.9494L16.6457%201.51404C15.68%200.770549%2014.3304%200.770549%2013.363%201.51404L1.04818%2011.005C-0.163%2011.9386%20-0.363318%2013.7051%200.650725%2014.888C1.25191%2015.5892%202.18956%2015.8786%203.09457%2015.7447ZM26.0648%2024.7065C26.0648%2026.6299%2024.4999%2028.1945%2022.5765%2028.1945H7.43196C5.50856%2028.1945%203.94364%2026.6299%203.94364%2024.7065V15.5102C4.07355%2015.4413%204.20318%2015.359%204.33308%2015.2628C17.9979%204.73311%206.52612%2013.5731%2014.4619%207.45781C14.7809%207.21127%2015.2275%207.21127%2015.5465%207.45781C16.6336%208.29551%2024.734%2014.5374%2025.6779%2015.2647C25.8009%2015.3595%2025.9305%2015.4415%2026.0648%2015.5128L26.0648%2024.7065ZM1.56668%2011.6777L13.881%202.18704C14.5429%201.67766%2015.4666%201.67738%2016.1275%202.18677L28.3702%2011.6219C29.1421%2012.217%2029.3732%2013.2977%2028.8967%2014.0821C28.3148%2015.0394%2027.0826%2015.2419%2026.2309%2014.6146C26.018%2014.4578%2016.1219%206.82761%2016.0653%206.78397C15.4435%206.30522%2014.5719%206.30015%2013.9434%206.78397C10.1578%209.70159%207.71493%2011.5843%203.91324%2014.5142C3.09544%2015.1447%201.92068%2015.0648%201.29528%2014.3352C0.601938%2013.5262%200.735776%2012.3175%201.56668%2011.6777Z'%20fill='white'/%3e%3cpath%20d='M19.6233%2016.4671C19.204%2015.7426%2018.272%2015.4919%2017.5468%2015.9099L16.5244%2016.4994V15.3211C16.5244%2014.495%2015.8655%2013.8013%2015.0045%2013.8013C14.164%2013.8013%2013.4802%2014.4831%2013.4802%2015.3211V16.4986L12.4556%2015.9063C11.7188%2015.4986%2010.7868%2015.7739%2010.3858%2016.4668C9.96154%2017.1986%2010.2143%2018.129%2010.943%2018.5449L11.9642%2019.1337L10.9424%2019.7229C10.221%2020.1401%209.96083%2021.0717%2010.3852%2021.8039C10.8034%2022.5309%2011.7337%2022.7794%2012.4628%2022.3572L13.4802%2021.7688V22.9462C13.4802%2023.7656%2014.1488%2024.4705%2015.0045%2024.4705C15.8425%2024.4705%2016.5244%2023.7867%2016.5244%2022.9462V21.7677L17.5423%2022.3547C18.2562%2022.7785%2019.2027%2022.5316%2019.6233%2021.8047C19.6238%2021.8041%2019.6244%2021.8033%2019.6247%2021.8025C20.0401%2021.0742%2019.7897%2020.1411%2019.0661%2019.7224L18.0448%2019.1337L19.0669%2018.5444C19.7489%2018.149%2020.0655%2017.2641%2019.6233%2016.4671ZM18.6421%2017.8092L16.9829%2018.7658C16.7006%2018.9289%2016.699%2019.3375%2016.9829%2019.5015L18.6415%2020.4576C18.9616%2020.6428%2019.0719%2021.0568%2018.8878%2021.3807C18.7104%2021.6856%2018.2825%2021.8064%2017.9707%2021.6217L16.3118%2020.6649C16.0304%2020.5022%2015.6753%2020.7058%2015.6753%2021.0327V22.9462C15.6753%2023.3185%2015.3743%2023.6214%2015.0045%2023.6214C14.6311%2023.6214%2014.3293%2023.3112%2014.3293%2022.9462V21.0327C14.3293%2020.7063%2013.9751%2020.5023%2013.6922%2020.6651L12.0378%2021.6223C11.7164%2021.807%2011.3073%2021.7031%2011.1204%2021.3796C10.9316%2021.0515%2011.0492%2020.6419%2011.367%2020.4581L13.0261%2019.5015C13.3084%2019.3385%2013.3101%2018.9298%2013.0261%2018.7658L11.3653%2017.8084C11.0438%2017.6247%2010.9329%2017.2168%2011.1204%2016.8921C11.3006%2016.5809%2011.7091%2016.4637%2012.0377%2016.6453L13.6922%2017.6019C13.9758%2017.7649%2014.3293%2017.5605%2014.3293%2017.2343V15.3211C14.3293%2014.9513%2014.6322%2014.6503%2015.0045%2014.6503C15.3888%2014.6503%2015.6753%2014.9551%2015.6753%2015.3211V17.2343C15.6753%2017.5611%2016.0302%2017.765%2016.3118%2017.6022L17.9705%2016.6456C18.2919%2016.461%2018.7032%2016.5724%2018.8845%2016.8852C19.0858%2017.2491%2018.9461%2017.6331%2018.6421%2017.8092Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_91_250'%3e%3crect%20width='30'%20height='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",M="/assets/icon-service-2-CyvmgH6D.svg",Z="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_91_238)'%3e%3cpath%20d='M15.0024%2030C15.8797%2030%2016.5934%2029.2863%2016.5934%2028.409V26.3388H18.0344C18.8302%2026.3388%2019.4778%2025.6912%2019.4778%2024.8951V24.1731H21.6587C24.1057%2024.1731%2026.0961%2022.1824%2026.0961%2019.7357V4.44332C26.0961%201.99339%2024.1057%200%2021.6587%200H8.34722C5.89729%200%203.9039%201.99339%203.9039%204.44332V19.7357C3.9039%2022.1824%205.89729%2024.1731%208.34722%2024.1731H10.5263V24.8951C10.5263%2025.6912%2011.1739%2026.3388%2011.9703%2026.3388H13.4114V28.409C13.4114%2029.2863%2014.125%2030%2015.0024%2030ZM15.6791%2028.409C15.6791%2028.7822%2015.3756%2029.0857%2015.0024%2029.0857C14.6292%2029.0857%2014.3256%2028.7822%2014.3256%2028.409V26.3397H15.6791L15.6791%2028.409ZM8.34722%2023.2588C6.40144%2023.2588%204.81816%2021.6782%204.81816%2019.7357V4.44332C4.81816%202.49724%206.40144%200.914256%208.34722%200.914256H21.6587C23.6015%200.914256%2025.1818%202.49724%2025.1818%204.44332V19.7357C25.1818%2021.6782%2023.6015%2023.2588%2021.6587%2023.2588H19.4778V22.5389C19.4778%2021.7428%2018.8302%2021.0952%2018.0344%2021.0952H18.0326H11.9703H11.9679C11.2048%2021.0952%2010.5263%2021.7249%2010.5263%2022.5389V23.2588L8.34722%2023.2588ZM11.4406%2024.8951C11.4407%2024.8325%2011.4437%2022.4086%2011.4436%2022.5395C11.4436%2022.2351%2011.7039%2022.0095%2011.9703%2022.0095H18.0326C18.3249%2022.0095%2018.563%2022.2473%2018.563%2022.5395C18.563%2022.6021%2018.5636%2025.026%2018.5636%2024.8951C18.5636%2025.187%2018.3261%2025.4245%2018.0344%2025.4245H11.9703C11.6781%2025.4245%2011.4406%2025.187%2011.4406%2024.8951Z'%20fill='white'/%3e%3cpath%20d='M22.6545%2016.2311V6.0763C22.6545%204.66652%2021.5076%203.51953%2020.0981%203.51953H9.90671C8.49663%203.51953%207.34964%204.66652%207.34964%206.0763V16.2311C7.34964%2017.6408%208.49663%2018.7878%209.90671%2018.7878H20.0981C21.5076%2018.7878%2022.6545%2017.6408%2022.6545%2016.2311ZM8.2639%2016.2311V6.0763C8.2639%205.17067%209.00078%204.43379%209.90671%204.43379H20.0981C21.0034%204.43379%2021.7403%205.17067%2021.7403%206.0763V16.2311C21.7403%2017.1367%2021.0034%2017.8736%2020.0981%2017.8736H9.90671C9.00078%2017.8736%208.2639%2017.1367%208.2639%2016.2311Z'%20fill='white'/%3e%3cpath%20d='M14.0875%207.44292C12.9917%208.85835%2011.6852%2010.7976%2011.6852%2011.9973C11.6852%2013.8261%2013.1733%2015.3141%2015.0024%2015.3141C16.8315%2015.3141%2018.3195%2013.8261%2018.3195%2011.9973C18.3195%2010.7976%2017.013%208.85836%2015.9172%207.44263C15.4591%206.85146%2014.5553%206.83776%2014.0875%207.44292ZM15.0024%2014.3999C13.6774%2014.3999%2012.5995%2013.3219%2012.5995%2011.9973C12.5995%2011.2839%2013.4262%209.79077%2014.8101%208.00243C14.9093%207.87519%2015.0964%207.87644%2015.1946%208.00243C16.5785%209.79076%2017.4053%2011.2839%2017.4053%2011.9973C17.4053%2013.3219%2016.3273%2014.3999%2015.0024%2014.3999Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_91_238'%3e%3crect%20width='30'%20height='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",I="/assets/cta-img-1-Bi1YsVtQ.png",P="/assets/cta-img-2-Brfqav_y.png",q="/assets/icon-faq-cta-HccIooJi.svg",B={class:"hero-section"},S={class:"page-shell"},Q={class:"hero-panel"},D={class:"row items-center q-col-gutter-xl"},F={class:"col-12 col-lg-5"},j={class:"hero-summary"},E={class:"metric-value"},A={class:"metric-label"},R={class:"services-section"},z={class:"page-shell"},N={class:"row q-col-gutter-lg"},W=["src","alt"],G={class:"service-content"},J=["src","alt"],O={class:"service-title"},T={class:"service-text"},U={class:"service-points"},Y={class:"workflow-section"},K={class:"page-shell"},X={class:"workflow-grid"},$={class:"workflow-number"},e2={class:"workflow-title"},t2={class:"workflow-text"},s2={class:"cta-section"},i2={class:"page-shell"},a2={class:"row items-center q-col-gutter-xl"},c2={class:"col-12 col-lg-7"},o2={class:"cta-copy"},l2={class:"cta-actions"},n2={class:"col-12 col-lg-5"},r2={class:"cta-visual"},d2=["src"],p2=["src"],g2=["src"],h2=v({__name:"ServicesPage",setup(C2){const C=[{value:"40+",label:"clinical professionals available"},{value:"12",label:"coordinated service areas"},{value:"24h",label:"average response for triage requests"}],u=[{title:"Preventive and primary care",text:"Routine checkups, early screening, and continuous care planning for long-term health.",image:V,icon:L,points:["Annual assessments","Vaccination guidance","Chronic care monitoring"]},{title:"Specialist consultations",text:"Access to focused expertise with clear coordination between disciplines and follow-up.",image:H,icon:M,points:["Cardiology and internal medicine","Pediatric support","Referral coordination"]},{title:"Diagnostics and treatment planning",text:"Accurate evaluation backed by practical treatment plans patients can actually follow.",image:k,icon:Z,points:["Clinical diagnostics","Evidence-based plans","Post-visit support"]}],m=[{number:"01",title:"Understand the need",text:"We start with symptoms, history, urgency, and the service path that best fits the case."},{number:"02",title:"Route to the right team",text:"Patients are matched to the most appropriate clinician instead of navigating care alone."},{number:"03",title:"Deliver coordinated care",text:"Diagnostics, consultation, and treatment planning happen with clear ownership and timing."},{number:"04",title:"Stay present after the visit",text:"Follow-up instructions and next actions remain visible, simple, and easy to execute."}];return(u2,s)=>(c(),_(w,{class:"services-page"},{default:o(()=>[i(x),e("section",B,[e("div",S,[e("div",Q,[e("div",D,[s[0]||(s[0]=e("div",{class:"col-12 col-lg-7"},[e("div",{class:"eyebrow"},"Our services"),e("h1",{class:"hero-title"},"Specialized care designed around real patient needs"),e("p",{class:"hero-text"}," From prevention and diagnostics to treatment planning and follow-up, we build integrated services that make care simpler to access and easier to trust. ")],-1)),e("div",F,[e("div",j,[(c(),l(r,null,d(C,t=>i(n,{key:t.label,flat:"",class:"metric-card"},{default:o(()=>[e("div",E,a(t.value),1),e("div",A,a(t.label),1)]),_:2},1024)),64))])])])])])]),e("section",R,[e("div",z,[s[1]||(s[1]=e("div",{class:"section-heading"},[e("div",{class:"section-kicker"},"Clinical areas"),e("h2",{class:"section-title"},"Core services patients rely on every day"),e("p",{class:"section-text"}," Each service line is built to combine fast access, specialist expertise, and clear next steps after every appointment. ")],-1)),e("div",N,[(c(),l(r,null,d(u,t=>e("div",{key:t.title,class:"col-12 col-md-6 col-lg-4"},[i(n,{flat:"",class:"service-card"},{default:o(()=>[e("img",{class:"service-image",src:t.image,alt:t.title},null,8,W),e("div",G,[e("img",{class:"service-icon",src:t.icon,alt:t.title},null,8,J),e("h3",O,a(t.title),1),e("p",T,a(t.text),1),e("ul",U,[(c(!0),l(r,null,d(t.points,g=>(c(),l("li",{key:g},[i(f,{name:"check_circle",color:"positive",size:"18px"}),e("span",null,a(g),1)]))),128))])])]),_:2},1024)])),64))])])]),e("section",Y,[e("div",K,[s[2]||(s[2]=e("div",{class:"section-heading align-center"},[e("div",{class:"section-kicker"},"Service model"),e("h2",{class:"section-title"},"How we turn expertise into a better patient experience")],-1)),e("div",X,[(c(),l(r,null,d(m,t=>i(n,{key:t.title,flat:"",class:"workflow-card"},{default:o(()=>[e("div",$,a(t.number),1),e("h3",e2,a(t.title),1),e("p",t2,a(t.text),1)]),_:2},1024)),64))])])]),e("section",s2,[e("div",i2,[i(n,{flat:"",class:"cta-card"},{default:o(()=>[e("div",a2,[e("div",c2,[e("div",o2,[s[3]||(s[3]=e("div",{class:"section-kicker"},"Need guidance?",-1)),s[4]||(s[4]=e("h2",{class:"cta-title"},"We help patients find the right service without the usual confusion",-1)),s[5]||(s[5]=e("p",{class:"cta-text"}," Tell us what you need and our team will direct you to the right specialist, timing, and next step. ",-1)),e("div",l2,[i(h,{unelevated:"",rounded:"","no-caps":"",color:"primary",label:"Request an appointment"}),i(h,{outline:"",rounded:"","no-caps":"",color:"primary",label:"Contact us"})])])]),e("div",n2,[e("div",r2,[e("img",{class:"cta-image-main",src:p(I),alt:"Medical assistance"},null,8,d2),e("img",{class:"cta-image-secondary",src:p(P),alt:"Patient support"},null,8,p2),i(n,{flat:"",class:"cta-badge"},{default:o(()=>[e("img",{class:"cta-badge-icon",src:p(q),alt:"Support icon"},null,8,g2),s[6]||(s[6]=e("div",null,[e("div",{class:"cta-badge-title"},"Fast triage support"),e("div",{class:"cta-badge-text"},"Guidance within one working day")],-1))]),_:1})])])])]),_:1})])]),i(y)]),_:1}))}}),V2=b(h2,[["__scopeId","data-v-9d56fed6"]]);export{V2 as default}; diff --git a/backend/internal/http/static/spa/assets/ServicesPage-CEUh_7ZB.js b/backend/internal/http/static/spa/assets/ServicesPage-CEUh_7ZB.js new file mode 100644 index 0000000..4468f99 --- /dev/null +++ b/backend/internal/http/static/spa/assets/ServicesPage-CEUh_7ZB.js @@ -0,0 +1 @@ +import{a as v,h as c,i as _,j as o,k as i,m as e,s as l,G as r,H as d,F as n,t as a,y as f,Q as h,n as p}from"./index-DAvBaevK.js";import{Q as w}from"./QPage-B68JuyjH.js";import{H as x,a as y}from"./HomeHeader-oAwoUp8W.js";import{_ as b}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./logo-DdmK5n0b.js";import"./position-engine-BHgB6lrx.js";import"./selection-DrSF90ET.js";import"./QToolbar-DdNWxglI.js";const V="/assets/service-img-1-DW0zEdQo.jpg",H="/assets/service-img-2-C5-3A23e.jpg",k="/assets/service-img-3-Dqdyjcu5.jpg",L="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_91_250)'%3e%3cpath%20d='M3.09457%2015.7447V24.7065C3.09457%2027.0981%205.04036%2029.0436%207.43196%2029.0436H22.5765C24.9681%2029.0436%2026.9139%2027.0981%2026.9139%2024.7065V15.7909C28.0334%2015.9588%2029.0676%2015.436%2029.6225%2014.5229C30.3317%2013.3554%2030.0164%2011.819%2028.8887%2010.9494L16.6457%201.51404C15.68%200.770549%2014.3304%200.770549%2013.363%201.51404L1.04818%2011.005C-0.163%2011.9386%20-0.363318%2013.7051%200.650725%2014.888C1.25191%2015.5892%202.18956%2015.8786%203.09457%2015.7447ZM26.0648%2024.7065C26.0648%2026.6299%2024.4999%2028.1945%2022.5765%2028.1945H7.43196C5.50856%2028.1945%203.94364%2026.6299%203.94364%2024.7065V15.5102C4.07355%2015.4413%204.20318%2015.359%204.33308%2015.2628C17.9979%204.73311%206.52612%2013.5731%2014.4619%207.45781C14.7809%207.21127%2015.2275%207.21127%2015.5465%207.45781C16.6336%208.29551%2024.734%2014.5374%2025.6779%2015.2647C25.8009%2015.3595%2025.9305%2015.4415%2026.0648%2015.5128L26.0648%2024.7065ZM1.56668%2011.6777L13.881%202.18704C14.5429%201.67766%2015.4666%201.67738%2016.1275%202.18677L28.3702%2011.6219C29.1421%2012.217%2029.3732%2013.2977%2028.8967%2014.0821C28.3148%2015.0394%2027.0826%2015.2419%2026.2309%2014.6146C26.018%2014.4578%2016.1219%206.82761%2016.0653%206.78397C15.4435%206.30522%2014.5719%206.30015%2013.9434%206.78397C10.1578%209.70159%207.71493%2011.5843%203.91324%2014.5142C3.09544%2015.1447%201.92068%2015.0648%201.29528%2014.3352C0.601938%2013.5262%200.735776%2012.3175%201.56668%2011.6777Z'%20fill='white'/%3e%3cpath%20d='M19.6233%2016.4671C19.204%2015.7426%2018.272%2015.4919%2017.5468%2015.9099L16.5244%2016.4994V15.3211C16.5244%2014.495%2015.8655%2013.8013%2015.0045%2013.8013C14.164%2013.8013%2013.4802%2014.4831%2013.4802%2015.3211V16.4986L12.4556%2015.9063C11.7188%2015.4986%2010.7868%2015.7739%2010.3858%2016.4668C9.96154%2017.1986%2010.2143%2018.129%2010.943%2018.5449L11.9642%2019.1337L10.9424%2019.7229C10.221%2020.1401%209.96083%2021.0717%2010.3852%2021.8039C10.8034%2022.5309%2011.7337%2022.7794%2012.4628%2022.3572L13.4802%2021.7688V22.9462C13.4802%2023.7656%2014.1488%2024.4705%2015.0045%2024.4705C15.8425%2024.4705%2016.5244%2023.7867%2016.5244%2022.9462V21.7677L17.5423%2022.3547C18.2562%2022.7785%2019.2027%2022.5316%2019.6233%2021.8047C19.6238%2021.8041%2019.6244%2021.8033%2019.6247%2021.8025C20.0401%2021.0742%2019.7897%2020.1411%2019.0661%2019.7224L18.0448%2019.1337L19.0669%2018.5444C19.7489%2018.149%2020.0655%2017.2641%2019.6233%2016.4671ZM18.6421%2017.8092L16.9829%2018.7658C16.7006%2018.9289%2016.699%2019.3375%2016.9829%2019.5015L18.6415%2020.4576C18.9616%2020.6428%2019.0719%2021.0568%2018.8878%2021.3807C18.7104%2021.6856%2018.2825%2021.8064%2017.9707%2021.6217L16.3118%2020.6649C16.0304%2020.5022%2015.6753%2020.7058%2015.6753%2021.0327V22.9462C15.6753%2023.3185%2015.3743%2023.6214%2015.0045%2023.6214C14.6311%2023.6214%2014.3293%2023.3112%2014.3293%2022.9462V21.0327C14.3293%2020.7063%2013.9751%2020.5023%2013.6922%2020.6651L12.0378%2021.6223C11.7164%2021.807%2011.3073%2021.7031%2011.1204%2021.3796C10.9316%2021.0515%2011.0492%2020.6419%2011.367%2020.4581L13.0261%2019.5015C13.3084%2019.3385%2013.3101%2018.9298%2013.0261%2018.7658L11.3653%2017.8084C11.0438%2017.6247%2010.9329%2017.2168%2011.1204%2016.8921C11.3006%2016.5809%2011.7091%2016.4637%2012.0377%2016.6453L13.6922%2017.6019C13.9758%2017.7649%2014.3293%2017.5605%2014.3293%2017.2343V15.3211C14.3293%2014.9513%2014.6322%2014.6503%2015.0045%2014.6503C15.3888%2014.6503%2015.6753%2014.9551%2015.6753%2015.3211V17.2343C15.6753%2017.5611%2016.0302%2017.765%2016.3118%2017.6022L17.9705%2016.6456C18.2919%2016.461%2018.7032%2016.5724%2018.8845%2016.8852C19.0858%2017.2491%2018.9461%2017.6331%2018.6421%2017.8092Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_91_250'%3e%3crect%20width='30'%20height='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",M="/assets/icon-service-2-CyvmgH6D.svg",Z="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_91_238)'%3e%3cpath%20d='M15.0024%2030C15.8797%2030%2016.5934%2029.2863%2016.5934%2028.409V26.3388H18.0344C18.8302%2026.3388%2019.4778%2025.6912%2019.4778%2024.8951V24.1731H21.6587C24.1057%2024.1731%2026.0961%2022.1824%2026.0961%2019.7357V4.44332C26.0961%201.99339%2024.1057%200%2021.6587%200H8.34722C5.89729%200%203.9039%201.99339%203.9039%204.44332V19.7357C3.9039%2022.1824%205.89729%2024.1731%208.34722%2024.1731H10.5263V24.8951C10.5263%2025.6912%2011.1739%2026.3388%2011.9703%2026.3388H13.4114V28.409C13.4114%2029.2863%2014.125%2030%2015.0024%2030ZM15.6791%2028.409C15.6791%2028.7822%2015.3756%2029.0857%2015.0024%2029.0857C14.6292%2029.0857%2014.3256%2028.7822%2014.3256%2028.409V26.3397H15.6791L15.6791%2028.409ZM8.34722%2023.2588C6.40144%2023.2588%204.81816%2021.6782%204.81816%2019.7357V4.44332C4.81816%202.49724%206.40144%200.914256%208.34722%200.914256H21.6587C23.6015%200.914256%2025.1818%202.49724%2025.1818%204.44332V19.7357C25.1818%2021.6782%2023.6015%2023.2588%2021.6587%2023.2588H19.4778V22.5389C19.4778%2021.7428%2018.8302%2021.0952%2018.0344%2021.0952H18.0326H11.9703H11.9679C11.2048%2021.0952%2010.5263%2021.7249%2010.5263%2022.5389V23.2588L8.34722%2023.2588ZM11.4406%2024.8951C11.4407%2024.8325%2011.4437%2022.4086%2011.4436%2022.5395C11.4436%2022.2351%2011.7039%2022.0095%2011.9703%2022.0095H18.0326C18.3249%2022.0095%2018.563%2022.2473%2018.563%2022.5395C18.563%2022.6021%2018.5636%2025.026%2018.5636%2024.8951C18.5636%2025.187%2018.3261%2025.4245%2018.0344%2025.4245H11.9703C11.6781%2025.4245%2011.4406%2025.187%2011.4406%2024.8951Z'%20fill='white'/%3e%3cpath%20d='M22.6545%2016.2311V6.0763C22.6545%204.66652%2021.5076%203.51953%2020.0981%203.51953H9.90671C8.49663%203.51953%207.34964%204.66652%207.34964%206.0763V16.2311C7.34964%2017.6408%208.49663%2018.7878%209.90671%2018.7878H20.0981C21.5076%2018.7878%2022.6545%2017.6408%2022.6545%2016.2311ZM8.2639%2016.2311V6.0763C8.2639%205.17067%209.00078%204.43379%209.90671%204.43379H20.0981C21.0034%204.43379%2021.7403%205.17067%2021.7403%206.0763V16.2311C21.7403%2017.1367%2021.0034%2017.8736%2020.0981%2017.8736H9.90671C9.00078%2017.8736%208.2639%2017.1367%208.2639%2016.2311Z'%20fill='white'/%3e%3cpath%20d='M14.0875%207.44292C12.9917%208.85835%2011.6852%2010.7976%2011.6852%2011.9973C11.6852%2013.8261%2013.1733%2015.3141%2015.0024%2015.3141C16.8315%2015.3141%2018.3195%2013.8261%2018.3195%2011.9973C18.3195%2010.7976%2017.013%208.85836%2015.9172%207.44263C15.4591%206.85146%2014.5553%206.83776%2014.0875%207.44292ZM15.0024%2014.3999C13.6774%2014.3999%2012.5995%2013.3219%2012.5995%2011.9973C12.5995%2011.2839%2013.4262%209.79077%2014.8101%208.00243C14.9093%207.87519%2015.0964%207.87644%2015.1946%208.00243C16.5785%209.79076%2017.4053%2011.2839%2017.4053%2011.9973C17.4053%2013.3219%2016.3273%2014.3999%2015.0024%2014.3999Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_91_238'%3e%3crect%20width='30'%20height='30'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",I="/assets/cta-img-1-Bi1YsVtQ.png",P="/assets/cta-img-2-Brfqav_y.png",B="/assets/icon-faq-cta-HccIooJi.svg",S={class:"hero-section"},q={class:"page-shell"},Q={class:"hero-panel"},D={class:"row items-center q-col-gutter-xl"},F={class:"col-12 col-lg-5"},j={class:"hero-summary"},A={class:"metric-value"},E={class:"metric-label"},R={class:"services-section"},z={class:"page-shell"},N={class:"row q-col-gutter-lg"},W=["src","alt"],G={class:"service-content"},J=["src","alt"],O={class:"service-title"},T={class:"service-text"},U={class:"service-points"},Y={class:"workflow-section"},K={class:"page-shell"},X={class:"workflow-grid"},$={class:"workflow-number"},e2={class:"workflow-title"},t2={class:"workflow-text"},s2={class:"cta-section"},i2={class:"page-shell"},a2={class:"row items-center q-col-gutter-xl"},c2={class:"col-12 col-lg-7"},o2={class:"cta-copy"},l2={class:"cta-actions"},n2={class:"col-12 col-lg-5"},r2={class:"cta-visual"},d2=["src"],p2=["src"],g2=["src"],h2=v({__name:"ServicesPage",setup(C2){const C=[{value:"40+",label:"clinical professionals available"},{value:"12",label:"coordinated service areas"},{value:"24h",label:"average response for triage requests"}],u=[{title:"Preventive and primary care",text:"Routine checkups, early screening, and continuous care planning for long-term health.",image:V,icon:L,points:["Annual assessments","Vaccination guidance","Chronic care monitoring"]},{title:"Specialist consultations",text:"Access to focused expertise with clear coordination between disciplines and follow-up.",image:H,icon:M,points:["Cardiology and internal medicine","Pediatric support","Referral coordination"]},{title:"Diagnostics and treatment planning",text:"Accurate evaluation backed by practical treatment plans patients can actually follow.",image:k,icon:Z,points:["Clinical diagnostics","Evidence-based plans","Post-visit support"]}],m=[{number:"01",title:"Understand the need",text:"We start with symptoms, history, urgency, and the service path that best fits the case."},{number:"02",title:"Route to the right team",text:"Patients are matched to the most appropriate clinician instead of navigating care alone."},{number:"03",title:"Deliver coordinated care",text:"Diagnostics, consultation, and treatment planning happen with clear ownership and timing."},{number:"04",title:"Stay present after the visit",text:"Follow-up instructions and next actions remain visible, simple, and easy to execute."}];return(u2,s)=>(c(),_(w,{class:"services-page"},{default:o(()=>[i(x),e("section",S,[e("div",q,[e("div",Q,[e("div",D,[s[0]||(s[0]=e("div",{class:"col-12 col-lg-7"},[e("div",{class:"eyebrow"},"Our services"),e("h1",{class:"hero-title"},"Specialized care designed around real patient needs"),e("p",{class:"hero-text"}," From prevention and diagnostics to treatment planning and follow-up, we build integrated services that make care simpler to access and easier to trust. ")],-1)),e("div",F,[e("div",j,[(c(),l(r,null,d(C,t=>i(n,{key:t.label,flat:"",class:"metric-card"},{default:o(()=>[e("div",A,a(t.value),1),e("div",E,a(t.label),1)]),_:2},1024)),64))])])])])])]),e("section",R,[e("div",z,[s[1]||(s[1]=e("div",{class:"section-heading"},[e("div",{class:"section-kicker"},"Clinical areas"),e("h2",{class:"section-title"},"Core services patients rely on every day"),e("p",{class:"section-text"}," Each service line is built to combine fast access, specialist expertise, and clear next steps after every appointment. ")],-1)),e("div",N,[(c(),l(r,null,d(u,t=>e("div",{key:t.title,class:"col-12 col-md-6 col-lg-4"},[i(n,{flat:"",class:"service-card"},{default:o(()=>[e("img",{class:"service-image",src:t.image,alt:t.title},null,8,W),e("div",G,[e("img",{class:"service-icon",src:t.icon,alt:t.title},null,8,J),e("h3",O,a(t.title),1),e("p",T,a(t.text),1),e("ul",U,[(c(!0),l(r,null,d(t.points,g=>(c(),l("li",{key:g},[i(f,{name:"check_circle",color:"positive",size:"18px"}),e("span",null,a(g),1)]))),128))])])]),_:2},1024)])),64))])])]),e("section",Y,[e("div",K,[s[2]||(s[2]=e("div",{class:"section-heading align-center"},[e("div",{class:"section-kicker"},"Service model"),e("h2",{class:"section-title"},"How we turn expertise into a better patient experience")],-1)),e("div",X,[(c(),l(r,null,d(m,t=>i(n,{key:t.title,flat:"",class:"workflow-card"},{default:o(()=>[e("div",$,a(t.number),1),e("h3",e2,a(t.title),1),e("p",t2,a(t.text),1)]),_:2},1024)),64))])])]),e("section",s2,[e("div",i2,[i(n,{flat:"",class:"cta-card"},{default:o(()=>[e("div",a2,[e("div",c2,[e("div",o2,[s[3]||(s[3]=e("div",{class:"section-kicker"},"Need guidance?",-1)),s[4]||(s[4]=e("h2",{class:"cta-title"},"We help patients find the right service without the usual confusion",-1)),s[5]||(s[5]=e("p",{class:"cta-text"}," Tell us what you need and our team will direct you to the right specialist, timing, and next step. ",-1)),e("div",l2,[i(h,{unelevated:"",rounded:"","no-caps":"",color:"primary",label:"Request an appointment"}),i(h,{outline:"",rounded:"","no-caps":"",color:"primary",label:"Contact us"})])])]),e("div",n2,[e("div",r2,[e("img",{class:"cta-image-main",src:p(I),alt:"Medical assistance"},null,8,d2),e("img",{class:"cta-image-secondary",src:p(P),alt:"Patient support"},null,8,p2),i(n,{flat:"",class:"cta-badge"},{default:o(()=>[e("img",{class:"cta-badge-icon",src:p(B),alt:"Support icon"},null,8,g2),s[6]||(s[6]=e("div",null,[e("div",{class:"cta-badge-title"},"Fast triage support"),e("div",{class:"cta-badge-text"},"Guidance within one working day")],-1))]),_:1})])])])]),_:1})])]),i(y)]),_:1}))}}),V2=b(h2,[["__scopeId","data-v-9d56fed6"]]);export{V2 as default}; diff --git a/backend/internal/http/static/spa/assets/SignupPage-BnglUC4l.js b/backend/internal/http/static/spa/assets/SignupPage-B_w5JCSL.js similarity index 81% rename from backend/internal/http/static/spa/assets/SignupPage-BnglUC4l.js rename to backend/internal/http/static/spa/assets/SignupPage-B_w5JCSL.js index f9b1d8f..4378df1 100644 --- a/backend/internal/http/static/spa/assets/SignupPage-BnglUC4l.js +++ b/backend/internal/http/static/spa/assets/SignupPage-B_w5JCSL.js @@ -1 +1 @@ -import{a as V,o as N,w as b,a4 as x,h as d,i as g,j as i,m as l,k as t,E as Q,a3 as w,s as C,I as k,J as n,a5 as _,Q as p,q as P,x as S,C as c,K as U}from"./index-B9vdjdfJ.js";import{Q as E}from"./QForm-uiBLv4qC.js";import{Q as h}from"./QPage-D3501MqH.js";import{u as z}from"./use-quasar-BoyshCFo.js";import{E as B,r as I}from"./api-RGUeM09o.js";import{_ as R}from"./_plugin-vue_export-helper-DlAUqK2U.js";const T={class:"auth-shell auth-shell-wide"},F={class:"auth-actions"},L={key:1,class:"success-state"},$={class:"success-actions"},q=V({__name:"SignupPage",setup(M){const r=z(),m=c(!1),u=c(!1),f=c(),e=U({firstName:"",lastName:"",email:"",password:"",confirmPassword:"",acceptTerms:!1});N(async()=>{await y()}),b(u,async o=>{o||await y()});async function v(){if(!e.firstName.trim()||!e.lastName.trim()||!e.email.trim()){r.notify({type:"negative",message:"Compila tutti i campi obbligatori."});return}if(e.password.length<8){r.notify({type:"negative",message:"La password deve contenere almeno 8 caratteri."});return}if(e.password!==e.confirmPassword){r.notify({type:"negative",message:"Le password non coincidono."});return}if(!e.acceptTerms){r.notify({type:"negative",message:"Devi accettare le condizioni."});return}m.value=!0;try{const o={name:`${e.firstName.trim()} ${e.lastName.trim()}`.trim(),email:e.email.trim(),password:e.password,roles:["user"],status:B.UserStatusPending,types:["internal"],avatar:null,details:{title:"",firstName:e.firstName.trim(),lastName:e.lastName.trim(),address:"",city:"",zipCode:"",country:"",phone:""},preferences:null},a=await I(o);if(a.error)throw new Error(a.error);u.value=!0}catch(o){r.notify({type:"negative",message:o instanceof Error?o.message:String(o)})}finally{m.value=!1}}async function y(){await x(),f.value?.focus?.()}return(o,a)=>(d(),g(h,{class:"auth-page"},{default:i(()=>[l("div",T,[t(Q,{flat:"",bordered:"",class:"auth-card"},{default:i(()=>[t(w,null,{default:i(()=>[...a[6]||(a[6]=[l("div",{class:"text-overline text-primary"},"Registrazione",-1),l("div",{class:"text-h4"},"Sign up",-1),l("div",{class:"text-body2 text-grey-7"},"Crea un nuovo utente.",-1)])]),_:1}),t(C),t(w,null,{default:i(()=>[u.value?(d(),P("div",L,[t(S,{name:"task_alt",size:"56px",color:"positive"}),a[7]||(a[7]=l("div",{class:"text-h6"},"Registrazione completata",-1)),a[8]||(a[8]=l("div",{class:"text-body2 text-grey-7"}," Il tuo account e stato creato con successo. ",-1)),l("div",$,[t(p,{flat:"",color:"primary",label:"Home",to:"/"}),t(p,{color:"primary",label:"Login",to:"/login"})])])):(d(),g(E,{key:0,class:"auth-form",autocomplete:"off",onSubmit:k(v,["prevent"])},{default:i(()=>[t(n,{ref_key:"firstNameRef",ref:f,modelValue:e.firstName,"onUpdate:modelValue":a[0]||(a[0]=s=>e.firstName=s),outlined:"",label:"Nome",autocomplete:"off"},null,8,["modelValue"]),t(n,{modelValue:e.lastName,"onUpdate:modelValue":a[1]||(a[1]=s=>e.lastName=s),outlined:"",label:"Cognome",autocomplete:"off"},null,8,["modelValue"]),t(n,{modelValue:e.email,"onUpdate:modelValue":a[2]||(a[2]=s=>e.email=s),outlined:"",type:"email",label:"Email",autocomplete:"off"},null,8,["modelValue"]),t(n,{modelValue:e.password,"onUpdate:modelValue":a[3]||(a[3]=s=>e.password=s),outlined:"",type:"password",label:"Password",autocomplete:"new-password"},null,8,["modelValue"]),t(n,{modelValue:e.confirmPassword,"onUpdate:modelValue":a[4]||(a[4]=s=>e.confirmPassword=s),outlined:"",type:"password",label:"Ripeti password",autocomplete:"new-password"},null,8,["modelValue"]),t(_,{modelValue:e.acceptTerms,"onUpdate:modelValue":a[5]||(a[5]=s=>e.acceptTerms=s),label:"Accetto le condizioni"},null,8,["modelValue"]),l("div",F,[t(p,{color:"primary",label:"Crea account",type:"submit",loading:m.value},null,8,["loading"])])]),_:1}))]),_:1})]),_:1})])]),_:1}))}}),G=R(q,[["__scopeId","data-v-72d36ea8"]]);export{G as default}; +import{a as V,o as N,w as b,a4 as x,h as d,i as g,j as i,m as l,k as t,F as Q,a3 as w,v as k,I as C,J as n,a5 as _,Q as p,s as P,y as S,D as c,K as U}from"./index-DAvBaevK.js";import{Q as h}from"./QForm-CgLsd63I.js";import{Q as z}from"./QPage-B68JuyjH.js";import{u as E}from"./use-quasar-B5tVCAcV.js";import{E as B,r as I}from"./api-RGUeM09o.js";import{_ as R}from"./_plugin-vue_export-helper-DlAUqK2U.js";const T={class:"auth-shell auth-shell-wide"},F={class:"auth-actions"},L={key:1,class:"success-state"},$={class:"success-actions"},D=V({__name:"SignupPage",setup(M){const r=E(),m=c(!1),u=c(!1),f=c(),e=U({firstName:"",lastName:"",email:"",password:"",confirmPassword:"",acceptTerms:!1});N(async()=>{await y()}),b(u,async o=>{o||await y()});async function v(){if(!e.firstName.trim()||!e.lastName.trim()||!e.email.trim()){r.notify({type:"negative",message:"Compila tutti i campi obbligatori."});return}if(e.password.length<8){r.notify({type:"negative",message:"La password deve contenere almeno 8 caratteri."});return}if(e.password!==e.confirmPassword){r.notify({type:"negative",message:"Le password non coincidono."});return}if(!e.acceptTerms){r.notify({type:"negative",message:"Devi accettare le condizioni."});return}m.value=!0;try{const o={name:`${e.firstName.trim()} ${e.lastName.trim()}`.trim(),email:e.email.trim(),password:e.password,roles:["user"],status:B.UserStatusPending,types:["internal"],avatar:null,details:{title:"",firstName:e.firstName.trim(),lastName:e.lastName.trim(),address:"",city:"",zipCode:"",country:"",phone:""},preferences:null},a=await I(o);if(a.error)throw new Error(a.error);u.value=!0}catch(o){r.notify({type:"negative",message:o instanceof Error?o.message:String(o)})}finally{m.value=!1}}async function y(){await x(),f.value?.focus?.()}return(o,a)=>(d(),g(z,{class:"auth-page"},{default:i(()=>[l("div",T,[t(Q,{flat:"",bordered:"",class:"auth-card"},{default:i(()=>[t(w,null,{default:i(()=>[...a[6]||(a[6]=[l("div",{class:"text-overline text-primary"},"Registrazione",-1),l("div",{class:"text-h4"},"Sign up",-1),l("div",{class:"text-body2 text-grey-7"},"Crea un nuovo utente.",-1)])]),_:1}),t(k),t(w,null,{default:i(()=>[u.value?(d(),P("div",L,[t(S,{name:"task_alt",size:"56px",color:"positive"}),a[7]||(a[7]=l("div",{class:"text-h6"},"Registrazione completata",-1)),a[8]||(a[8]=l("div",{class:"text-body2 text-grey-7"}," Il tuo account e stato creato con successo. ",-1)),l("div",$,[t(p,{flat:"",color:"primary",label:"Home",to:"/"}),t(p,{color:"primary",label:"Login",to:"/login"})])])):(d(),g(h,{key:0,class:"auth-form",autocomplete:"off",onSubmit:C(v,["prevent"])},{default:i(()=>[t(n,{ref_key:"firstNameRef",ref:f,modelValue:e.firstName,"onUpdate:modelValue":a[0]||(a[0]=s=>e.firstName=s),outlined:"",label:"Nome",autocomplete:"off"},null,8,["modelValue"]),t(n,{modelValue:e.lastName,"onUpdate:modelValue":a[1]||(a[1]=s=>e.lastName=s),outlined:"",label:"Cognome",autocomplete:"off"},null,8,["modelValue"]),t(n,{modelValue:e.email,"onUpdate:modelValue":a[2]||(a[2]=s=>e.email=s),outlined:"",type:"email",label:"Email",autocomplete:"off"},null,8,["modelValue"]),t(n,{modelValue:e.password,"onUpdate:modelValue":a[3]||(a[3]=s=>e.password=s),outlined:"",type:"password",label:"Password",autocomplete:"new-password"},null,8,["modelValue"]),t(n,{modelValue:e.confirmPassword,"onUpdate:modelValue":a[4]||(a[4]=s=>e.confirmPassword=s),outlined:"",type:"password",label:"Ripeti password",autocomplete:"new-password"},null,8,["modelValue"]),t(_,{modelValue:e.acceptTerms,"onUpdate:modelValue":a[5]||(a[5]=s=>e.acceptTerms=s),label:"Accetto le condizioni"},null,8,["modelValue"]),l("div",F,[t(p,{color:"primary",label:"Crea account",type:"submit",loading:m.value},null,8,["loading"])])]),_:1}))]),_:1})]),_:1})])]),_:1}))}}),G=R(D,[["__scopeId","data-v-72d36ea8"]]);export{G as default}; diff --git a/backend/internal/http/static/spa/assets/UsersPage-Cq7pEaZT.js b/backend/internal/http/static/spa/assets/UsersPage-COHOm8T7.js similarity index 99% rename from backend/internal/http/static/spa/assets/UsersPage-Cq7pEaZT.js rename to backend/internal/http/static/spa/assets/UsersPage-COHOm8T7.js index 0017b30..f253196 100644 --- a/backend/internal/http/static/spa/assets/UsersPage-Cq7pEaZT.js +++ b/backend/internal/http/static/spa/assets/UsersPage-COHOm8T7.js @@ -1,2 +1,2 @@ -import{L as ze,M as S,a1 as je,$ as $e,D as M,ao as ji,x as _e,ag as xa,an as Ca,O as zi,w as me,Z as $i,ar as Ea,ay as li,o as Xt,az as si,aA as ui,W as qt,C as $,ax as ci,aB as Fi,aC as Ra,aD as Hi,aE as sa,aF as Na,a4 as Sa,aG as Wi,a5 as Kt,aH as xt,Q as de,s as vt,ah as Qi,ai as Zt,aI as di,v as Ae,aJ as Xi,aK as Yi,aL as Gi,a2 as Ht,S as Jt,T as ua,ap as Ki,a8 as Zi,X as ea,a9 as Ct,aa as ta,ab as Ji,Y as It,ac as Aa,af as er,_ as tr,aM as ar,aN as ir,al as rr,a as fi,h as re,q as Ee,m as k,B as nr,aO as ca,aP as Oa,i as Me,j as E,k as y,E as St,a3 as Ie,J as ce,n as _t,H as Dt,t as ue,F as or,G as lr,a7 as Ut,I as sr,y as aa,aQ as Ze,a6 as Va,K as jt}from"./index-B9vdjdfJ.js";import{Q as qa}from"./QBadge-DHHd1R2R.js";import{Q as Tt,a as Ne}from"./format-BipdGd1G.js";import{Q as hi,a as ur}from"./QResizeObserver-CyV47ipF.js";import{u as cr,b as dr,a as Wt,c as vi,r as fr,Q as hr}from"./QSelect-B-H7KBd7.js";import{Q as vr}from"./QLinearProgress-DPykyK-Y.js";import{g as La,s as Ba}from"./touch-BjYP5sR0.js";import{c as mr}from"./selection-HrszS3Ie.js";import{Q as gr}from"./QForm-uiBLv4qC.js";import{Q as pr}from"./QPage-D3501MqH.js";import{C as Ue}from"./ClosePopup-B5ubkw_-.js";import{u as br}from"./use-quasar-BoyshCFo.js";import{d as wr,E as Je,g as yr,u as ia,i as xr,j as Cr}from"./api-RGUeM09o.js";import{_ as Sr}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./position-engine-CFuXolvx.js";const ft=ze({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const i=$e(),a=M(()=>"q-td"+(e.autoWidth===!0?" q-table--col-auto-width":"")+(e.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(e.props===void 0)return S("td",{class:a.value},je(t.default));const n=i.vnode.key,r=(e.props.colsMap!==void 0?e.props.colsMap[n]:null)||e.props.col;if(r===void 0)return;const{row:o}=e.props;return S("td",{class:a.value+r.__tdClass(o),style:r.__tdStyle(o)},je(t.default))}}}),_r=ze({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:i}){const a=$e(),{proxy:{$q:n}}=a,r=o=>{i("click",o)};return()=>{if(e.props===void 0)return S("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:r},je(t.default));let o,s;const u=a.vnode.key;if(u){if(o=e.props.colsMap[u],o===void 0)return}else o=e.props.col;if(o.sortable===!0){const l=o.align==="right"?"unshift":"push";s=ji(t.default,[]),s[l](S(_e,{class:o.__iconClass,name:n.iconSet.table.arrowUp}))}else s=je(t.default);const v={class:o.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:o.headerStyle,onClick:l=>{o.sortable===!0&&e.props.sort(o),r(l)}};return S("th",v,s)}}}),Dr=["horizontal","vertical","cell","none"],Tr=ze({name:"QMarkupTable",props:{...xa,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>Dr.includes(e)}},setup(e,{slots:t}){const i=$e(),a=Ca(e,i.proxy.$q),n=M(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(a.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(e.dense===!0?" q-table--dense":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")+(e.square===!0?" q-table--square":"")+(e.wrapCells===!1?" q-table--no-wrap":""));return()=>S("div",{class:n.value},[S("table",{class:"q-table"},je(t.default))])}});function mi(e,t){return S("div",e,[S("table",{class:"q-table"},t)])}const Pr={list:hi,table:Tr},Mr=["list","table","__qtable"],kr=ze({name:"QVirtualScroll",props:{...cr,type:{type:String,default:"list",validator:e=>Mr.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:zi},setup(e,{slots:t,attrs:i}){let a;const n=$(null),r=M(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:o,localResetVirtualScroll:s,padVirtualScroll:u,onVirtualScrollEvt:v}=dr({virtualScrollLength:r,getVirtualScrollTarget:x,getVirtualScrollEl:w}),l=M(()=>{if(r.value===0)return[];const B=(T,V)=>({index:o.value.from+V,item:T});return e.itemsFn===void 0?e.items.slice(o.value.from,o.value.to).map(B):e.itemsFn(o.value.from,o.value.to-o.value.from).map(B)}),d=M(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),f=M(()=>e.scrollTarget!==void 0?{}:{tabindex:0});me(r,()=>{s()}),me(()=>e.scrollTarget,()=>{C(),D()});function w(){return n.value.$el||n.value}function x(){return a}function D(){a=$i(w(),e.scrollTarget),a.addEventListener("scroll",v,Ea.passive)}function C(){a!==void 0&&(a.removeEventListener("scroll",v,Ea.passive),a=void 0)}function O(){let B=u(e.type==="list"?"div":"tbody",l.value.map(t.default));return t.before!==void 0&&(B=t.before().concat(B)),ci(t.after,B)}return li(()=>{s()}),Xt(()=>{D()}),si(()=>{D()}),ui(()=>{C()}),qt(()=>{C()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?mi({ref:n,class:"q-table__middle "+d.value},O()):S(Pr[e.type],{...i,ref:n,class:[i.class,d.value],...f.value},O)}}});let Pt=0;const Er={fullscreen:Boolean,noRouteFullscreenExit:Boolean},Rr=["update:fullscreen","fullscreen"];function Nr(){const e=$e(),{props:t,emit:i,proxy:a}=e;let n,r,o;const s=$(!1);Fi(e)===!0&&me(()=>a.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&l()}),me(()=>t.fullscreen,d=>{s.value!==d&&u()}),me(s,d=>{i("update:fullscreen",d),i("fullscreen",d)});function u(){s.value===!0?l():v()}function v(){s.value!==!0&&(s.value=!0,o=a.$el.parentNode,o.replaceChild(r,a.$el),document.body.appendChild(a.$el),Pt++,Pt===1&&document.body.classList.add("q-body--fullscreen-mixin"),n={handler:l},Ra.add(n))}function l(){s.value===!0&&(n!==void 0&&(Ra.remove(n),n=void 0),o.replaceChild(a.$el,r),s.value=!1,Pt=Math.max(0,Pt-1),Pt===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),a.$el.scrollIntoView!==void 0&&setTimeout(()=>{a.$el.scrollIntoView()})))}return li(()=>{r=document.createElement("span")}),Xt(()=>{t.fullscreen===!0&&v()}),qt(l),Object.assign(a,{toggleFullscreen:u,setFullscreen:v,exitFullscreen:l}),{inFullscreen:s,toggleFullscreen:u}}function Ar(e,t){return new Date(e)-new Date(t)}const Or={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function Vr(e,t,i,a){const n=M(()=>{const{sortBy:s}=t.value;return s&&i.value.find(u=>u.name===s)||null}),r=M(()=>e.sortMethod!==void 0?e.sortMethod:(s,u,v)=>{const l=i.value.find(w=>w.name===u);if(l===void 0||l.field===void 0)return s;const d=v===!0?-1:1,f=typeof l.field=="function"?w=>l.field(w):w=>w[l.field];return s.sort((w,x)=>{let D=f(w),C=f(x);return l.rawSort!==void 0?l.rawSort(D,C,w,x)*d:D==null?-1*d:C==null?1*d:l.sort!==void 0?l.sort(D,C,w,x)*d:sa(D)===!0&&sa(C)===!0?(D-C)*d:Na(D)===!0&&Na(C)===!0?Ar(D,C)*d:typeof D=="boolean"&&typeof C=="boolean"?(D-C)*d:([D,C]=[D,C].map(O=>(O+"").toLocaleString().toLowerCase()),Df.name===s);d?.sortOrder&&(u=d.sortOrder)}let{sortBy:v,descending:l}=t.value;v!==s?(v=s,l=u==="da"):e.binaryStateSort===!0?l=!l:l===!0?u==="ad"?v=null:l=!1:u==="ad"?l=!0:v=null,a({sortBy:v,descending:l,page:1})}return{columnToSort:n,computedSortMethod:r,sort:o}}const qr={filter:[String,Object],filterMethod:Function};function Lr(e,t){const i=M(()=>e.filterMethod!==void 0?e.filterMethod:(a,n,r,o)=>{const s=n?n.toLowerCase():"";return a.filter(u=>r.some(v=>{const l=o(v,u)+"";return(l==="undefined"||l==="null"?"":l.toLowerCase()).indexOf(s)!==-1}))});return me(()=>e.filter,()=>{Sa(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:i}}function Br(e,t){for(const i in t)if(t[i]!==e[i])return!1;return!0}function Ia(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const Ir={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function Ur(e,t){const{props:i,emit:a}=e,n=$(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:i.rowsPerPageOptions.length!==0?i.rowsPerPageOptions[0]:5},i.pagination)),r=M(()=>{const l=i["onUpdate:pagination"]!==void 0?{...n.value,...i.pagination}:n.value;return Ia(l)}),o=M(()=>r.value.rowsNumber!==void 0);function s(l){u({pagination:l,filter:i.filter})}function u(l={}){Sa(()=>{a("request",{pagination:l.pagination||r.value,filter:l.filter||i.filter,getCellValue:t})})}function v(l,d){const f=Ia({...r.value,...l});if(Br(r.value,f)===!0){o.value===!0&&d===!0&&s(f);return}if(o.value===!0){s(f);return}i.pagination!==void 0&&i["onUpdate:pagination"]!==void 0?a("update:pagination",f):n.value=f}return{innerPagination:n,computedPagination:r,isServerSide:o,requestServerInteraction:u,setPagination:v}}function jr(e,t,i,a,n,r){const{props:o,emit:s,proxy:{$q:u}}=e,v=M(()=>a.value===!0?i.value.rowsNumber||0:r.value),l=M(()=>{const{page:V,rowsPerPage:A}=i.value;return(V-1)*A}),d=M(()=>{const{page:V,rowsPerPage:A}=i.value;return V*A}),f=M(()=>i.value.page===1),w=M(()=>i.value.rowsPerPage===0?1:Math.max(1,Math.ceil(v.value/i.value.rowsPerPage))),x=M(()=>d.value===0?!0:i.value.page>=w.value),D=M(()=>(o.rowsPerPageOptions.includes(t.value.rowsPerPage)?o.rowsPerPageOptions:[t.value.rowsPerPage].concat(o.rowsPerPageOptions)).map(A=>({label:A===0?u.lang.table.allRows:""+A,value:A})));me(w,(V,A)=>{if(V===A)return;const b=i.value.page;V&&!b?n({page:1}):V1&&n({page:V-1})}function B(){const{page:V,rowsPerPage:A}=i.value;d.value>0&&V*A["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},$r=["update:selected","selection"];function Fr(e,t,i,a){const n=M(()=>{const x={};return e.selected.map(a.value).forEach(D=>{x[D]=!0}),x}),r=M(()=>e.selection!=="none"),o=M(()=>e.selection==="single"),s=M(()=>e.selection==="multiple"),u=M(()=>i.value.length!==0&&i.value.every(x=>n.value[a.value(x)]===!0)),v=M(()=>u.value!==!0&&i.value.some(x=>n.value[a.value(x)]===!0)),l=M(()=>e.selected.length);function d(x){return n.value[x]===!0}function f(){t("update:selected",[])}function w(x,D,C,O){t("selection",{rows:D,added:C,keys:x,evt:O});const B=o.value===!0?C===!0?D:[]:C===!0?e.selected.concat(D):e.selected.filter(T=>x.includes(a.value(T))===!1);t("update:selected",B)}return{hasSelectionMode:r,singleSelection:o,multipleSelection:s,allRowsSelected:u,someRowsSelected:v,rowsSelectedNumber:l,isRowSelected:d,clearSelection:f,updateSelection:w}}function Ua(e){return Array.isArray(e)?e.slice():[]}const Hr={expanded:Array},Wr=["update:expanded"];function Qr(e,t){const i=$(Ua(e.expanded));me(()=>e.expanded,o=>{i.value=Ua(o)});function a(o){return i.value.includes(o)}function n(o){e.expanded!==void 0?t("update:expanded",o):i.value=o}function r(o,s){const u=i.value.slice(),v=u.indexOf(o);s===!0?v===-1&&(u.push(o),n(u)):v!==-1&&(u.splice(v,1),n(u))}return{isRowExpanded:a,setExpanded:n,updateExpanded:r}}const Xr={visibleColumns:Array};function Yr(e,t,i){const a=M(()=>{if(e.columns!==void 0)return e.columns;const s=e.rows[0];return s!==void 0?Object.keys(s).map(u=>({name:u,label:u.toUpperCase(),field:u,align:sa(s[u])?"right":"left",sortable:!0})):[]}),n=M(()=>{const{sortBy:s,descending:u}=t.value;return(e.visibleColumns!==void 0?a.value.filter(l=>l.required===!0||e.visibleColumns.includes(l.name)===!0):a.value).map(l=>{const d=l.align||"right",f=`text-${d}`;return{...l,align:d,__iconClass:`q-table__sort-icon q-table__sort-icon--${d}`,__thClass:f+(l.headerClasses!==void 0?" "+l.headerClasses:"")+(l.sortable===!0?" sortable":"")+(l.name===s?` sorted ${u===!0?"sort-desc":""}`:""),__tdStyle:l.style!==void 0?typeof l.style!="function"?()=>l.style:l.style:()=>null,__tdClass:l.classes!==void 0?typeof l.classes!="function"?()=>f+" "+l.classes:w=>f+" "+l.classes(w):()=>f}})}),r=M(()=>{const s={};return n.value.forEach(u=>{s[u.name]=u}),s}),o=M(()=>e.tableColspan!==void 0?e.tableColspan:n.value.length+(i.value===!0?1:0));return{colList:a,computedCols:n,computedColsMap:r,computedColspan:o}}const zt="q-table__bottom row items-center",gi={};vi.forEach(e=>{gi[e]={}});const Gr=ze({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...gi,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],tableRowStyleFn:Function,tableRowClassFn:Function,cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],cardStyleFn:Function,cardClassFn:Function,hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...xa,...Er,...Xr,...qr,...Ir,...Hr,...zr,...Or},emits:["request","virtualScroll",...Rr,...Wr,...$r],setup(e,{slots:t,emit:i}){const a=$e(),{proxy:{$q:n}}=a,r=Ca(e,n),{inFullscreen:o,toggleFullscreen:s}=Nr(),u=M(()=>typeof e.rowKey=="function"?e.rowKey:g=>g[e.rowKey]),v=$(null),l=$(null),d=M(()=>e.grid!==!0&&e.virtualScroll===!0),f=M(()=>" q-table__card"+(r.value===!0?" q-table__card--dark q-dark":"")+(e.square===!0?" q-table--square":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")),w=M(()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(e.grid===!0?" q-table--grid":f.value)+(r.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(o.value===!0?" fullscreen scroll":"")),x=M(()=>w.value+(e.loading===!0?" q-table--loading":""));me(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+w.value,()=>{d.value===!0&&l.value?.reset()});const{innerPagination:D,computedPagination:C,isServerSide:O,requestServerInteraction:B,setPagination:T}=Ur(a,m),{computedFilterMethod:V}=Lr(e,T),{isRowExpanded:A,setExpanded:b,updateExpanded:q}=Qr(e,i),L=M(()=>{let g=e.rows;if(O.value===!0||g.length===0)return g;const{sortBy:P,descending:I}=C.value;return e.filter&&(g=V.value(g,e.filter,te.value,m)),He.value!==null&&(g=qe.value(e.rows===g?g.slice():g,P,I)),g}),ee=M(()=>L.value.length),Y=M(()=>{let g=L.value;if(O.value===!0)return g;const{rowsPerPage:P}=C.value;return P!==0&&(Le.value===0&&e.rows!==g?g.length>Be.value&&(g=g.slice(0,Be.value)):g=g.slice(Le.value,Be.value)),g}),{hasSelectionMode:oe,singleSelection:ve,multipleSelection:he,allRowsSelected:N,someRowsSelected:p,rowsSelectedNumber:H,isRowSelected:le,clearSelection:xe,updateSelection:ge}=Fr(e,i,Y,u),{colList:Fe,computedCols:te,computedColsMap:pe,computedColspan:Re}=Yr(e,C,oe),{columnToSort:He,computedSortMethod:qe,sort:be}=Vr(e,C,Fe,T),{firstRowIndex:Le,lastRowIndex:Be,isFirstPage:We,isLastPage:Qe,pagesNumber:Ce,computedRowsPerPageOptions:wt,computedRowsNumber:Xe,firstPage:De,prevPage:Ye,nextPage:it,lastPage:Ge}=jr(a,D,C,O,T,ee),rt=M(()=>Y.value.length===0),ut=M(()=>{const g={};return vi.forEach(P=>{g[P]=e[P]}),g.virtualScrollItemSize===void 0&&(g.virtualScrollItemSize=e.dense===!0?28:48),g});function ct(){d.value===!0&&l.value.reset()}function Ke(){if(e.grid===!0)return Ii();const g=e.hideHeader!==!0?Te:null;if(d.value===!0){const I=t["top-row"],U=t["bottom-row"],F={default:ne=>X(ne.item,t.body,ne.index)};if(I!==void 0){const ne=S("tbody",I({cols:te.value}));F.before=g===null?()=>ne:()=>[g()].concat(ne)}else g!==null&&(F.before=g);return U!==void 0&&(F.after=()=>S("tbody",U({cols:te.value}))),S(kr,{ref:l,class:e.tableClass,style:e.tableStyle,...ut.value,scrollTarget:e.virtualScrollTarget,items:Y.value,type:"__qtable",tableColspan:Re.value,onVirtualScroll:R},F)}const P=[G()];return g!==null&&P.unshift(g()),mi({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},P)}function _(g,P){if(l.value!==null){l.value.scrollTo(g,P);return}g=parseInt(g,10);const I=v.value.querySelector(`tbody tr:nth-of-type(${g+1})`);if(I!==null){const U=v.value.querySelector(".q-table__middle.scroll"),F=I.offsetTop-e.virtualScrollStickySizeStart,ne=F{const nt=t[`body-cell-${ie.name}`],Bt=nt!==void 0?nt:ne;return Bt!==void 0?Bt(z({key:U,row:g,pageIndex:I,col:ie})):S("td",{class:ie.__tdClass(g),style:ie.__tdStyle(g)},m(ie,g))});if(oe.value===!0){const ie=t["body-selection"],nt=ie!==void 0?ie(h({key:U,row:g,pageIndex:I})):[S(Kt,{modelValue:F,color:e.color,dark:r.value,dense:e.dense,"onUpdate:modelValue":(Bt,Ui)=>{ge([U],[g],Bt,Ui)}})];ae.unshift(S("td",{class:"q-table--col-auto-width"},nt))}const Pe={key:U,class:{selected:F}};if(e.onRowClick!==void 0&&(Pe.class["cursor-pointer"]=!0,Pe.onClick=ie=>{i("rowClick",ie,g,I)}),e.onRowDblclick!==void 0&&(Pe.class["cursor-pointer"]=!0,Pe.onDblclick=ie=>{i("rowDblclick",ie,g,I)}),e.onRowContextmenu!==void 0&&(Pe.class["cursor-pointer"]=!0,Pe.onContextmenu=ie=>{i("rowContextmenu",ie,g,I)}),e.tableRowStyleFn!==void 0&&(Pe.style=e.tableRowStyleFn(g)),e.tableRowClassFn!==void 0){const ie=e.tableRowClassFn(g);ie&&(Pe.class[ie]=!0)}return S("tr",Pe,ae)}function G(){const g=t.body,P=t["top-row"],I=t["bottom-row"];let U=Y.value.map((F,ne)=>X(F,g,ne));return P!==void 0&&(U=P({cols:te.value}).concat(U)),I!==void 0&&(U=U.concat(I({cols:te.value}))),S("tbody",U)}function W(g){return c(g),g.cols=g.cols.map(P=>xt({...P},"value",()=>m(P,g.row))),g}function z(g){return c(g),xt(g,"value",()=>m(g.col,g.row)),g}function h(g){return c(g),g}function c(g){Object.assign(g,{cols:te.value,colsMap:pe.value,sort:be,rowIndex:Le.value+g.pageIndex,color:e.color,dark:r.value,dense:e.dense}),oe.value===!0&&xt(g,"selected",()=>le(g.key),(P,I)=>{ge([g.key],[g.row],P,I)}),xt(g,"expand",()=>A(g.key),P=>{q(g.key,P)})}function m(g,P){const I=typeof g.field=="function"?g.field(P):P[g.field];return g.format!==void 0?g.format(I,P):I}const K=M(()=>({pagination:C.value,pagesNumber:Ce.value,isFirstPage:We.value,isLastPage:Qe.value,firstPage:De,prevPage:Ye,nextPage:it,lastPage:Ge,inFullscreen:o.value,toggleFullscreen:s}));function yt(){const g=t.top,P=t["top-left"],I=t["top-right"],U=t["top-selection"],F=oe.value===!0&&U!==void 0&&H.value>0,ne="q-table__top relative-position row items-center";if(g!==void 0)return S("div",{class:ne},[g(K.value)]);let ae;if(F===!0?ae=U(K.value).slice():(ae=[],P!==void 0?ae.push(S("div",{class:"q-table__control"},[P(K.value)])):e.title&&ae.push(S("div",{class:"q-table__control"},[S("div",{class:["q-table__title",e.titleClass]},e.title)]))),I!==void 0&&(ae.push(S("div",{class:"q-table__separator col"})),ae.push(S("div",{class:"q-table__control"},[I(K.value)]))),ae.length!==0)return S("div",{class:ne},ae)}const dt=M(()=>p.value===!0?null:N.value);function Te(){const g=Oi();return e.loading===!0&&t.loading===void 0&&g.push(S("tr",{class:"q-table__progress"},[S("th",{class:"relative-position",colspan:Re.value},j())])),S("thead",g)}function Oi(){const g=t.header,P=t["header-cell"];if(g!==void 0)return g(Gt({header:!0})).slice();const I=te.value.map(U=>{const F=t[`header-cell-${U.name}`],ne=F!==void 0?F:P,ae=Gt({col:U});return ne!==void 0?ne(ae):S(_r,{key:U.name,props:ae},()=>U.label)});if(ve.value===!0&&e.grid!==!0)I.unshift(S("th",{class:"q-table--col-auto-width"}," "));else if(he.value===!0){const U=t["header-selection"],F=U!==void 0?U(Gt({})):[S(Kt,{color:e.color,modelValue:dt.value,dark:r.value,dense:e.dense,"onUpdate:modelValue":ka})];I.unshift(S("th",{class:"q-table--col-auto-width"},F))}return[S("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},I)]}function Gt(g){return Object.assign(g,{cols:te.value,sort:be,colsMap:pe.value,color:e.color,dark:r.value,dense:e.dense}),he.value===!0&&xt(g,"selected",()=>dt.value,ka),g}function ka(g){p.value===!0&&(g=!1),ge(Y.value.map(u.value),Y.value,g)}const Lt=M(()=>{const g=[e.iconFirstPage||n.iconSet.table.firstPage,e.iconPrevPage||n.iconSet.table.prevPage,e.iconNextPage||n.iconSet.table.nextPage,e.iconLastPage||n.iconSet.table.lastPage];return n.lang.rtl===!0?g.reverse():g});function Vi(){if(e.hideBottom===!0)return;if(rt.value===!0){if(e.hideNoData===!0)return;const I=e.loading===!0?e.loadingLabel||n.lang.table.loading:e.filter?e.noResultsLabel||n.lang.table.noResults:e.noDataLabel||n.lang.table.noData,U=t["no-data"],F=U!==void 0?[U({message:I,icon:n.iconSet.table.warning,filter:e.filter})]:[S(_e,{class:"q-table__bottom-nodata-icon",name:n.iconSet.table.warning}),I];return S("div",{class:zt+" q-table__bottom--nodata"},F)}const g=t.bottom;if(g!==void 0)return S("div",{class:zt},[g(K.value)]);const P=e.hideSelectedBanner!==!0&&oe.value===!0&&H.value>0?[S("div",{class:"q-table__control"},[S("div",[(e.selectedRowsLabel||n.lang.table.selectedRecords)(H.value)])])]:[];if(e.hidePagination!==!0)return S("div",{class:zt+" justify-end"},Li(P));if(P.length!==0)return S("div",{class:zt},P)}function qi(g){T({page:1,rowsPerPage:g.value})}function Li(g){let P;const{rowsPerPage:I}=C.value,U=e.paginationLabel||n.lang.table.pagination,F=t.pagination,ne=e.rowsPerPageOptions.length>1;if(g.push(S("div",{class:"q-table__separator col"})),ne===!0&&g.push(S("div",{class:"q-table__control"},[S("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||n.lang.table.recordsPerPage]),S(Wt,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:I,options:wt.value,displayValue:I===0?n.lang.table.allRows:I,dark:r.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":qi})])),F!==void 0)P=F(K.value);else if(P=[S("span",I!==0?{class:"q-table__bottom-item"}:{},[I?U(Le.value+1,Math.min(Be.value,Xe.value),Xe.value):U(1,ee.value,Xe.value)])],I!==0&&Ce.value>1){const ae={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(ae.size="sm"),Ce.value>2&&P.push(S(de,{key:"pgFirst",...ae,icon:Lt.value[0],disable:We.value,"aria-label":n.lang.pagination.first,onClick:De})),P.push(S(de,{key:"pgPrev",...ae,icon:Lt.value[1],disable:We.value,"aria-label":n.lang.pagination.prev,onClick:Ye}),S(de,{key:"pgNext",...ae,icon:Lt.value[2],disable:Qe.value,"aria-label":n.lang.pagination.next,onClick:it})),Ce.value>2&&P.push(S(de,{key:"pgLast",...ae,icon:Lt.value[3],disable:Qe.value,"aria-label":n.lang.pagination.last,onClick:Ge}))}return g.push(S("div",{class:"q-table__control"},P)),g}function Bi(){const g=e.gridHeader===!0?[S("table",{class:"q-table"},[Te()])]:e.loading===!0&&t.loading===void 0?j():void 0;return S("div",{class:"q-table__middle"},g)}function Ii(){const g=t.item!==void 0?t.item:P=>{const I=P.cols.map(F=>S("div",{class:"q-table__grid-item-row"},[S("div",{class:"q-table__grid-item-title"},[F.label]),S("div",{class:"q-table__grid-item-value"},[F.value])]));if(oe.value===!0){const F=t["body-selection"],ne=F!==void 0?F(P):[S(Kt,{modelValue:P.selected,color:e.color,dark:r.value,dense:e.dense,"onUpdate:modelValue":(ae,Pe)=>{ge([P.key],[P.row],ae,Pe)}})];I.unshift(S("div",{class:"q-table__grid-item-row"},ne),S(vt,{dark:r.value}))}const U={class:["q-table__grid-item-card"+f.value,e.cardClass],style:e.cardStyle};if(e.cardStyleFn!==void 0&&(U.style=[U.style,e.cardStyleFn(P.row)]),e.cardClassFn!==void 0){const F=e.cardClassFn(P.row);F&&(U.class[0]+=` ${F}`)}return(e.onRowClick!==void 0||e.onRowDblclick!==void 0||e.onRowContextmenu!==void 0)&&(U.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(U.onClick=F=>{i("RowClick",F,P.row,P.pageIndex)}),e.onRowDblclick!==void 0&&(U.onDblclick=F=>{i("RowDblclick",F,P.row,P.pageIndex)}),e.onRowContextmenu!==void 0&&(U.onContextmenu=F=>{i("rowContextmenu",F,P.row,P.pageIndex)})),S("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(P.selected===!0?" q-table__grid-item--selected":"")},[S("div",U,I)])};return S("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},Y.value.map((P,I)=>g(W({key:u.value(P),row:P,pageIndex:I}))))}return Object.assign(a.proxy,{requestServerInteraction:B,setPagination:T,firstPage:De,prevPage:Ye,nextPage:it,lastPage:Ge,isRowSelected:le,clearSelection:xe,isRowExpanded:A,setExpanded:b,sort:be,resetVirtualScroll:ct,scrollTo:_,getCellValue:m}),Wi(a.proxy,{filteredSortedRows:()=>L.value,computedRows:()=>Y.value,computedRowsNumber:()=>Xe.value}),()=>{const g=[yt()],P={ref:v,class:x.value};return e.grid===!0?g.push(Bi()):Object.assign(P,{class:[P.class,e.cardClass],style:e.cardStyle}),g.push(Ke(),Vi()),e.loading===!0&&t.loading!==void 0&&g.push(t.loading()),S("div",P,g)}}});let Kr=0;const Zr=["click","keydown"],Jr={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${Kr++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function en(e,t,i,a){const n=Qi(di,Zt);if(n===Zt)return console.error("QTab/QRouteTab component needs to be child of QTabs"),Zt;const{proxy:r}=$e(),o=$(null),s=$(null),u=$(null),v=M(()=>e.disable===!0||e.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},e.ripple===!0?{}:e.ripple)),l=M(()=>n.currentModel.value===e.name),d=M(()=>"q-tab relative-position self-stretch flex flex-center text-center"+(l.value===!0?" q-tab--active"+(n.tabProps.value.activeClass?" "+n.tabProps.value.activeClass:"")+(n.tabProps.value.activeColor?` text-${n.tabProps.value.activeColor}`:"")+(n.tabProps.value.activeBgColor?` bg-${n.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&n.tabProps.value.inlineLabel===!1?" q-tab--full":"")+(e.noCaps===!0||n.tabProps.value.noCaps===!0?" q-tab--no-caps":"")+(e.disable===!0?" disabled":" q-focusable q-hoverable cursor-pointer")),f=M(()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(n.tabProps.value.inlineLabel===!0?"row no-wrap q-tab__content--inline":"column")+(e.contentClass!==void 0?` ${e.contentClass}`:"")),w=M(()=>e.disable===!0||n.hasFocus.value===!0||l.value===!1&&n.hasActiveTab.value===!0?-1:e.tabindex||0);function x(T,V){if(V!==!0&&T?.qAvoidFocus!==!0&&o.value?.focus(),e.disable!==!0){n.updateModel({name:e.name}),i("click",T);return}}function D(T){Yi(T,[13,32])?x(T,!0):Gi(T)!==!0&&T.keyCode>=35&&T.keyCode<=40&&T.altKey!==!0&&T.metaKey!==!0&&n.onKbdNavigate(T.keyCode,r.$el)===!0&&Ht(T),i("keydown",T)}function C(){const T=n.tabProps.value.narrowIndicator,V=[],A=S("div",{ref:u,class:["q-tab__indicator",n.tabProps.value.indicatorClass]});e.icon!==void 0&&V.push(S(_e,{class:"q-tab__icon",name:e.icon})),e.label!==void 0&&V.push(S("div",{class:"q-tab__label"},e.label)),e.alert!==!1&&V.push(e.alertIcon!==void 0?S(_e,{class:"q-tab__alert-icon",color:e.alert!==!0?e.alert:void 0,name:e.alertIcon}):S("div",{class:"q-tab__alert"+(e.alert!==!0?` text-${e.alert}`:"")})),T===!0&&V.push(A);const b=[S("div",{class:"q-focus-helper",tabindex:-1,ref:o}),S("div",{class:f.value},ci(t.default,V))];return T===!1&&b.push(A),b}const O={name:M(()=>e.name),rootRef:s,tabIndicatorRef:u,routeData:a};qt(()=>{n.unregisterTab(O)}),Xt(()=>{n.registerTab(O)});function B(T,V){const A={ref:s,class:d.value,tabindex:w.value,role:"tab","aria-selected":l.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:x,onKeydown:D,...V};return Ae(S(T,A,C()),[[Xi,v.value]])}return{renderTab:B,$tabs:n}}const ra=ze({name:"QTab",props:Jr,emits:Zr,setup(e,{slots:t,emit:i}){const{renderTab:a}=en(e,t,i);return()=>a("div")}});function tn(e,t,i){const a=i===!0?["left","right"]:["top","bottom"];return`absolute-${t===!0?a[0]:a[1]}${e?` text-${e}`:""}`}const an=["left","center","right","justify"],rn=ze({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>an.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:i}){const{proxy:a}=$e(),{$q:n}=a,{registerTick:r}=Jt(),{registerTick:o}=Jt(),{registerTick:s}=Jt(),{registerTimeout:u,removeTimeout:v}=ua(),{registerTimeout:l,removeTimeout:d}=ua(),f=$(null),w=$(null),x=$(e.modelValue),D=$(!1),C=$(!0),O=$(!1),B=$(!1),T=[],V=$(0),A=$(!1);let b=null,q=null,L;const ee=M(()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:tn(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps})),Y=M(()=>{const _=V.value,R=x.value;for(let j=0;j<_;j++)if(T[j].name.value===R)return!0;return!1}),oe=M(()=>`q-tabs__content--align-${D.value===!0?"left":B.value===!0?"justify":e.align}`),ve=M(()=>`q-tabs row no-wrap items-center q-tabs--${D.value===!0?"":"not-"}scrollable q-tabs--${e.vertical===!0?"vertical":"horizontal"} q-tabs__arrows--${e.outsideArrows===!0?"outside":"inside"} q-tabs--mobile-with${e.mobileArrows===!0?"":"out"}-arrows`+(e.dense===!0?" q-tabs--dense":"")+(e.shrink===!0?" col-shrink":"")+(e.stretch===!0?" self-stretch":"")),he=M(()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+oe.value+(e.contentClass!==void 0?` ${e.contentClass}`:"")),N=M(()=>e.vertical===!0?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}),p=M(()=>e.vertical!==!0&&n.lang.rtl===!0),H=M(()=>fr===!1&&p.value===!0);me(p,pe),me(()=>e.modelValue,_=>{le({name:_,setCurrent:!0,skipEmit:!0})}),me(()=>e.outsideArrows,xe);function le({name:_,setCurrent:R,skipEmit:j}){x.value!==_&&(j!==!0&&e["onUpdate:modelValue"]!==void 0&&i("update:modelValue",_),(R===!0||e["onUpdate:modelValue"]===void 0)&&(Fe(x.value,_),x.value=_))}function xe(){r(()=>{f.value&&ge({width:f.value.offsetWidth,height:f.value.offsetHeight})})}function ge(_){if(N.value===void 0||w.value===null)return;const R=_[N.value.container],j=Math.min(w.value[N.value.scroll],Array.prototype.reduce.call(w.value.children,(G,W)=>G+(W[N.value.content]||0),0)),X=R>0&&j>R;D.value=X,X===!0&&o(pe),B.value=RG.name.value===_):null,X=R!=null&&R!==""?T.find(G=>G.name.value===R):null;if(Ke===!0)Ke=!1;else if(j&&X){const G=j.tabIndicatorRef.value,W=X.tabIndicatorRef.value;b!==null&&(clearTimeout(b),b=null),G.style.transition="none",G.style.transform="none",W.style.transition="none",W.style.transform="none";const z=G.getBoundingClientRect(),h=W.getBoundingClientRect();W.style.transform=e.vertical===!0?`translate3d(0,${z.top-h.top}px,0) scale3d(1,${h.height?z.height/h.height:1},1)`:`translate3d(${z.left-h.left}px,0,0) scale3d(${h.width?z.width/h.width:1},1,1)`,s(()=>{b=setTimeout(()=>{b=null,W.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",W.style.transform="none"},70)})}X&&D.value===!0&&te(X.rootRef.value)}function te(_){const{left:R,width:j,top:X,height:G}=w.value.getBoundingClientRect(),W=_.getBoundingClientRect();let z=e.vertical===!0?W.top-X:W.left-R;if(z<0){w.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.floor(z),pe();return}z+=e.vertical===!0?W.height-G:W.width-j,z>0&&(w.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.ceil(z),pe())}function pe(){const _=w.value;if(_===null)return;const R=_.getBoundingClientRect(),j=e.vertical===!0?_.scrollTop:Math.abs(_.scrollLeft);p.value===!0?(C.value=Math.ceil(j+R.width)<_.scrollWidth-1,O.value=j>0):(C.value=j>0,O.value=e.vertical===!0?Math.ceil(j+R.height)<_.scrollHeight:Math.ceil(j+R.width)<_.scrollWidth)}function Re(_){q!==null&&clearInterval(q),q=setInterval(()=>{We(_)===!0&&be()},5)}function He(){Re(H.value===!0?Number.MAX_SAFE_INTEGER:0)}function qe(){Re(H.value===!0?0:Number.MAX_SAFE_INTEGER)}function be(){q!==null&&(clearInterval(q),q=null)}function Le(_,R){const j=Array.prototype.filter.call(w.value.children,h=>h===R||h.matches&&h.matches(".q-tab.q-focusable")===!0),X=j.length;if(X===0)return;if(_===36)return te(j[0]),j[0].focus(),!0;if(_===35)return te(j[X-1]),j[X-1].focus(),!0;const G=_===(e.vertical===!0?38:37),W=_===(e.vertical===!0?40:39),z=G===!0?-1:W===!0?1:void 0;if(z!==void 0){const h=p.value===!0?-1:1,c=j.indexOf(R)+z*h;return c>=0&&cH.value===!0?{get:_=>Math.abs(_.scrollLeft),set:(_,R)=>{_.scrollLeft=-R}}:e.vertical===!0?{get:_=>_.scrollTop,set:(_,R)=>{_.scrollTop=R}}:{get:_=>_.scrollLeft,set:(_,R)=>{_.scrollLeft=R}});function We(_){const R=w.value,{get:j,set:X}=Be.value;let G=!1,W=j(R);const z=_=_)&&(G=!0,W=_),X(R,W),pe(),G}function Qe(_,R){for(const j in _)if(_[j]!==R[j])return!1;return!0}function Ce(){let _=null,R={matchedLen:0,queryDiff:9999,hrefLen:0};const j=T.filter(z=>z.routeData?.hasRouterLink.value===!0),{hash:X,query:G}=a.$route,W=Object.keys(G).length;for(const z of j){const h=z.routeData.exact.value===!0;if(z.routeData[h===!0?"linkIsExactActive":"linkIsActive"].value!==!0)continue;const{hash:c,query:m,matched:K,href:yt}=z.routeData.resolvedLink.value,dt=Object.keys(m).length;if(h===!0){if(c!==X||dt!==W||Qe(G,m)===!1)continue;_=z.name.value;break}if(c!==""&&c!==X||dt!==0&&Qe(m,G)===!1)continue;const Te={matchedLen:K.length,queryDiff:W-dt,hrefLen:yt.length-c.length};if(Te.matchedLen>R.matchedLen){_=z.name.value,R=Te;continue}else if(Te.matchedLen!==R.matchedLen)continue;if(Te.queryDiffR.hrefLen&&(_=z.name.value,R=Te)}if(_===null&&T.some(z=>z.routeData===void 0&&z.name.value===x.value)===!0){Ke=!1;return}le({name:_,setCurrent:!0})}function wt(_){if(v(),A.value!==!0&&f.value!==null&&_.target&&typeof _.target.closest=="function"){const R=_.target.closest(".q-tab");R&&f.value.contains(R)===!0&&(A.value=!0,D.value===!0&&te(R))}}function Xe(){u(()=>{A.value=!1},30)}function De(){rt.avoidRouteWatcher===!1?l(Ce):d()}function Ye(){if(L===void 0){const _=me(()=>a.$route.fullPath,De);L=()=>{_(),L=void 0}}}function it(_){T.push(_),V.value++,xe(),_.routeData===void 0||a.$route===void 0?l(()=>{if(D.value===!0){const R=x.value,j=R!=null&&R!==""?T.find(X=>X.name.value===R):null;j&&te(j.rootRef.value)}}):(Ye(),_.routeData.hasRouterLink.value===!0&&De())}function Ge(_){T.splice(T.indexOf(_),1),V.value--,xe(),L!==void 0&&_.routeData!==void 0&&(T.every(R=>R.routeData===void 0)===!0&&L(),De())}const rt={currentModel:x,tabProps:ee,hasFocus:A,hasActiveTab:Y,registerTab:it,unregisterTab:Ge,verifyRouteModel:De,updateModel:le,onKbdNavigate:Le,avoidRouteWatcher:!1};Ki(di,rt);function ut(){b!==null&&clearTimeout(b),be(),L?.()}let ct,Ke;return qt(ut),ui(()=>{ct=L!==void 0,ut()}),si(()=>{ct===!0&&(Ye(),Ke=!0,De()),xe()}),()=>S("div",{ref:f,class:ve.value,role:"tablist",onFocusin:wt,onFocusout:Xe},[S(ur,{onResize:ge}),S("div",{ref:w,class:he.value,onScroll:pe},je(t.default)),S(_e,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(C.value===!0?"":" q-tabs__arrow--faded"),name:e.leftIcon||n.iconSet.tabs[e.vertical===!0?"up":"left"],onMousedownPassive:He,onTouchstartPassive:He,onMouseupPassive:be,onMouseleavePassive:be,onTouchendPassive:be}),S(_e,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(O.value===!0?"":" q-tabs__arrow--faded"),name:e.rightIcon||n.iconSet.tabs[e.vertical===!0?"down":"right"],onMousedownPassive:qe,onTouchstartPassive:qe,onMouseupPassive:be,onMouseleavePassive:be,onTouchendPassive:be})])}});function nn(e){const t=[.06,6,50];return typeof e=="string"&&e.length&&e.split(":").forEach((i,a)=>{const n=parseFloat(i);n&&(t[a]=n)}),t}const on=Zi({name:"touch-swipe",beforeMount(e,{value:t,arg:i,modifiers:a}){if(a.mouse!==!0&&Ct.has.touch!==!0)return;const n=a.mouseCapture===!0?"Capture":"",r={handler:t,sensitivity:nn(i),direction:La(a),noop:Ji,mouseStart(o){Ba(o,r)&&er(o)&&(It(r,"temp",[[document,"mousemove","move",`notPassive${n}`],[document,"mouseup","end","notPassiveCapture"]]),r.start(o,!0))},touchStart(o){if(Ba(o,r)){const s=o.target;It(r,"temp",[[s,"touchmove","move","notPassiveCapture"],[s,"touchcancel","end","notPassiveCapture"],[s,"touchend","end","notPassiveCapture"]]),r.start(o)}},start(o,s){Ct.is.firefox===!0&&ta(e,!0);const u=Aa(o);r.event={x:u.left,y:u.top,time:Date.now(),mouse:s===!0,dir:!1}},move(o){if(r.event===void 0)return;if(r.event.dir!==!1){Ht(o);return}const s=Date.now()-r.event.time;if(s===0)return;const u=Aa(o),v=u.left-r.event.x,l=Math.abs(v),d=u.top-r.event.y,f=Math.abs(d);if(r.event.mouse!==!0){if(lr.sensitivity[0]&&(r.event.dir=d<0?"up":"down"),r.direction.horizontal===!0&&l>f&&f<100&&w>r.sensitivity[0]&&(r.event.dir=v<0?"left":"right"),r.direction.up===!0&&lr.sensitivity[0]&&(r.event.dir="up"),r.direction.down===!0&&l0&&l<100&&x>r.sensitivity[0]&&(r.event.dir="down"),r.direction.left===!0&&l>f&&v<0&&f<100&&w>r.sensitivity[0]&&(r.event.dir="left"),r.direction.right===!0&&l>f&&v>0&&f<100&&w>r.sensitivity[0]&&(r.event.dir="right"),r.event.dir!==!1?(Ht(o),r.event.mouse===!0&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),mr(),r.styleCleanup=D=>{r.styleCleanup=void 0,document.body.classList.remove("non-selectable");const C=()=>{document.body.classList.remove("no-pointer-events--children")};D===!0?setTimeout(C,50):C()}),r.handler({evt:o,touch:r.event.mouse!==!0,mouse:r.event.mouse,direction:r.event.dir,duration:s,distance:{x:l,y:f}})):r.end(o)},end(o){r.event!==void 0&&(ea(r,"temp"),Ct.is.firefox===!0&&ta(e,!1),r.styleCleanup?.(!0),o!==void 0&&r.event.dir!==!1&&Ht(o),r.event=void 0)}};if(e.__qtouchswipe=r,a.mouse===!0){const o=a.mouseCapture===!0||a.mousecapture===!0?"Capture":"";It(r,"main",[[e,"mousedown","mouseStart",`passive${o}`]])}Ct.has.touch===!0&&It(r,"main",[[e,"touchstart","touchStart",`passive${a.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const i=e.__qtouchswipe;i!==void 0&&(t.oldValue!==t.value&&(typeof t.value!="function"&&i.end(),i.handler=t.value),i.direction=La(t.modifiers))},beforeUnmount(e){const t=e.__qtouchswipe;t!==void 0&&(ea(t,"main"),ea(t,"temp"),Ct.is.firefox===!0&&ta(e,!1),t.styleCleanup?.(),delete e.__qtouchswipe)}});function ln(){let e=Object.create(null);return{getCache:(t,i)=>e[t]===void 0?e[t]=typeof i=="function"?i():i:e[t],setCache(t,i){e[t]=i},hasCache(t){return Object.hasOwnProperty.call(e,t)},clearCache(t){t!==void 0?delete e[t]:e=Object.create(null)}}}const sn={name:{required:!0},disable:Boolean},ja={setup(e,{slots:t}){return()=>S("div",{class:"q-panel scroll",role:"tabpanel"},je(t.default))}},un={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},cn=["update:modelValue","beforeTransition","transition"];function dn(){const{props:e,emit:t,proxy:i}=$e(),{getCache:a}=ln(),{registerTimeout:n}=ua();let r,o;const s=$(null),u={value:null};function v(N){const p=e.vertical===!0?"up":"left";L((i.$q.lang.rtl===!0?-1:1)*(N.direction===p?1:-1))}const l=M(()=>[[on,v,void 0,{horizontal:e.vertical!==!0,vertical:e.vertical,mouse:!0}]]),d=M(()=>e.transitionPrev||`slide-${e.vertical===!0?"down":"right"}`),f=M(()=>e.transitionNext||`slide-${e.vertical===!0?"up":"left"}`),w=M(()=>`--q-transition-duration: ${e.transitionDuration}ms`),x=M(()=>typeof e.modelValue=="string"||typeof e.modelValue=="number"?e.modelValue:String(e.modelValue)),D=M(()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax})),C=M(()=>e.keepAliveInclude!==void 0||e.keepAliveExclude!==void 0);me(()=>e.modelValue,(N,p)=>{const H=V(N)===!0?A(N):-1;o!==!0&&q(H===-1?0:H{t("transition",N,p)},e.transitionDuration))});function O(){L(1)}function B(){L(-1)}function T(N){t("update:modelValue",N)}function V(N){return N!=null&&N!==""}function A(N){return r.findIndex(p=>p.props.name===N&&p.props.disable!==""&&p.props.disable!==!0)}function b(){return r.filter(N=>N.props.disable!==""&&N.props.disable!==!0)}function q(N){const p=N!==0&&e.animated===!0&&u.value!==-1?"q-transition--"+(N===-1?d.value:f.value):null;s.value!==p&&(s.value=p)}function L(N,p=u.value){let H=p+N;for(;H!==-1&&H{o=!1});return}H+=N}e.infinite===!0&&r.length!==0&&p!==-1&&p!==r.length&&L(N,N===-1?r.length:-1)}function ee(){const N=A(e.modelValue);return u.value!==N&&(u.value=N),!0}function Y(){const N=V(e.modelValue)===!0&&ee()&&r[u.value];return e.keepAlive===!0?[S(ir,D.value,[S(C.value===!0?a(x.value,()=>({...ja,name:x.value})):ja,{key:x.value,style:w.value},()=>N)])]:[S("div",{class:"q-panel scroll",style:w.value,key:x.value,role:"tabpanel"},[N])]}function oe(){if(r.length!==0)return e.animated===!0?[S(tr,{name:s.value},Y)]:Y()}function ve(N){return r=ar(je(N.default,[])).filter(p=>p.props!==null&&p.props.slot===void 0&&V(p.props.name)===!0),r.length}function he(){return r}return Object.assign(i,{next:O,previous:B,goTo:T}),{panelIndex:u,panelDirectives:l,updatePanelsList:ve,updatePanelIndex:ee,getPanelContent:oe,getEnabledPanels:b,getPanels:he,isValidPanelName:V,keepAliveProps:D,needsUniqueKeepAliveWrapper:C,goToPanelByOffset:L,goToPanel:T,nextPanel:O,previousPanel:B}}const na=ze({name:"QTabPanel",props:sn,setup(e,{slots:t}){return()=>S("div",{class:"q-tab-panel",role:"tabpanel"},je(t.default))}}),fn=ze({name:"QTabPanels",props:{...un,...xa},emits:cn,setup(e,{slots:t}){const i=$e(),a=Ca(e,i.proxy.$q),{updatePanelsList:n,getPanelContent:r,panelDirectives:o}=dn(),s=M(()=>"q-tab-panels q-panel-parent"+(a.value===!0?" q-tab-panels--dark q-dark":""));return()=>(n(t),rr("div",{class:s.value},r(),"pan",e.swipeable,()=>o.value))}});function za(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),i.push.apply(i,a)}return i}function pi(e){for(var t=1;te.length)&&(t=e.length);for(var i=0,a=new Array(t);i"q-td"+(e.autoWidth===!0?" q-table--col-auto-width":"")+(e.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(e.props===void 0)return S("td",{class:a.value},je(t.default));const n=i.vnode.key,r=(e.props.colsMap!==void 0?e.props.colsMap[n]:null)||e.props.col;if(r===void 0)return;const{row:o}=e.props;return S("td",{class:a.value+r.__tdClass(o),style:r.__tdStyle(o)},je(t.default))}}}),_r=ze({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:i}){const a=$e(),{proxy:{$q:n}}=a,r=o=>{i("click",o)};return()=>{if(e.props===void 0)return S("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:r},je(t.default));let o,s;const u=a.vnode.key;if(u){if(o=e.props.colsMap[u],o===void 0)return}else o=e.props.col;if(o.sortable===!0){const l=o.align==="right"?"unshift":"push";s=ji(t.default,[]),s[l](S(_e,{class:o.__iconClass,name:n.iconSet.table.arrowUp}))}else s=je(t.default);const v={class:o.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:o.headerStyle,onClick:l=>{o.sortable===!0&&e.props.sort(o),r(l)}};return S("th",v,s)}}}),Dr=["horizontal","vertical","cell","none"],Tr=ze({name:"QMarkupTable",props:{...xa,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>Dr.includes(e)}},setup(e,{slots:t}){const i=$e(),a=Ca(e,i.proxy.$q),n=M(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(a.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(e.dense===!0?" q-table--dense":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")+(e.square===!0?" q-table--square":"")+(e.wrapCells===!1?" q-table--no-wrap":""));return()=>S("div",{class:n.value},[S("table",{class:"q-table"},je(t.default))])}});function mi(e,t){return S("div",e,[S("table",{class:"q-table"},t)])}const Pr={list:hi,table:Tr},Mr=["list","table","__qtable"],kr=ze({name:"QVirtualScroll",props:{...cr,type:{type:String,default:"list",validator:e=>Mr.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:zi},setup(e,{slots:t,attrs:i}){let a;const n=$(null),r=M(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:o,localResetVirtualScroll:s,padVirtualScroll:u,onVirtualScrollEvt:v}=dr({virtualScrollLength:r,getVirtualScrollTarget:x,getVirtualScrollEl:w}),l=M(()=>{if(r.value===0)return[];const B=(T,V)=>({index:o.value.from+V,item:T});return e.itemsFn===void 0?e.items.slice(o.value.from,o.value.to).map(B):e.itemsFn(o.value.from,o.value.to-o.value.from).map(B)}),d=M(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),f=M(()=>e.scrollTarget!==void 0?{}:{tabindex:0});me(r,()=>{s()}),me(()=>e.scrollTarget,()=>{C(),D()});function w(){return n.value.$el||n.value}function x(){return a}function D(){a=$i(w(),e.scrollTarget),a.addEventListener("scroll",v,Ea.passive)}function C(){a!==void 0&&(a.removeEventListener("scroll",v,Ea.passive),a=void 0)}function O(){let B=u(e.type==="list"?"div":"tbody",l.value.map(t.default));return t.before!==void 0&&(B=t.before().concat(B)),ci(t.after,B)}return li(()=>{s()}),Xt(()=>{D()}),si(()=>{D()}),ui(()=>{C()}),qt(()=>{C()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?mi({ref:n,class:"q-table__middle "+d.value},O()):S(Pr[e.type],{...i,ref:n,class:[i.class,d.value],...f.value},O)}}});let Pt=0;const Er={fullscreen:Boolean,noRouteFullscreenExit:Boolean},Rr=["update:fullscreen","fullscreen"];function Nr(){const e=$e(),{props:t,emit:i,proxy:a}=e;let n,r,o;const s=$(!1);Fi(e)===!0&&me(()=>a.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&l()}),me(()=>t.fullscreen,d=>{s.value!==d&&u()}),me(s,d=>{i("update:fullscreen",d),i("fullscreen",d)});function u(){s.value===!0?l():v()}function v(){s.value!==!0&&(s.value=!0,o=a.$el.parentNode,o.replaceChild(r,a.$el),document.body.appendChild(a.$el),Pt++,Pt===1&&document.body.classList.add("q-body--fullscreen-mixin"),n={handler:l},Ra.add(n))}function l(){s.value===!0&&(n!==void 0&&(Ra.remove(n),n=void 0),o.replaceChild(a.$el,r),s.value=!1,Pt=Math.max(0,Pt-1),Pt===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),a.$el.scrollIntoView!==void 0&&setTimeout(()=>{a.$el.scrollIntoView()})))}return li(()=>{r=document.createElement("span")}),Xt(()=>{t.fullscreen===!0&&v()}),qt(l),Object.assign(a,{toggleFullscreen:u,setFullscreen:v,exitFullscreen:l}),{inFullscreen:s,toggleFullscreen:u}}function Ar(e,t){return new Date(e)-new Date(t)}const Or={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function Vr(e,t,i,a){const n=M(()=>{const{sortBy:s}=t.value;return s&&i.value.find(u=>u.name===s)||null}),r=M(()=>e.sortMethod!==void 0?e.sortMethod:(s,u,v)=>{const l=i.value.find(w=>w.name===u);if(l===void 0||l.field===void 0)return s;const d=v===!0?-1:1,f=typeof l.field=="function"?w=>l.field(w):w=>w[l.field];return s.sort((w,x)=>{let D=f(w),C=f(x);return l.rawSort!==void 0?l.rawSort(D,C,w,x)*d:D==null?-1*d:C==null?1*d:l.sort!==void 0?l.sort(D,C,w,x)*d:sa(D)===!0&&sa(C)===!0?(D-C)*d:Na(D)===!0&&Na(C)===!0?Ar(D,C)*d:typeof D=="boolean"&&typeof C=="boolean"?(D-C)*d:([D,C]=[D,C].map(O=>(O+"").toLocaleString().toLowerCase()),Df.name===s);d?.sortOrder&&(u=d.sortOrder)}let{sortBy:v,descending:l}=t.value;v!==s?(v=s,l=u==="da"):e.binaryStateSort===!0?l=!l:l===!0?u==="ad"?v=null:l=!1:u==="ad"?l=!0:v=null,a({sortBy:v,descending:l,page:1})}return{columnToSort:n,computedSortMethod:r,sort:o}}const qr={filter:[String,Object],filterMethod:Function};function Lr(e,t){const i=M(()=>e.filterMethod!==void 0?e.filterMethod:(a,n,r,o)=>{const s=n?n.toLowerCase():"";return a.filter(u=>r.some(v=>{const l=o(v,u)+"";return(l==="undefined"||l==="null"?"":l.toLowerCase()).indexOf(s)!==-1}))});return me(()=>e.filter,()=>{Sa(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:i}}function Br(e,t){for(const i in t)if(t[i]!==e[i])return!1;return!0}function Ia(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const Ir={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function Ur(e,t){const{props:i,emit:a}=e,n=$(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:i.rowsPerPageOptions.length!==0?i.rowsPerPageOptions[0]:5},i.pagination)),r=M(()=>{const l=i["onUpdate:pagination"]!==void 0?{...n.value,...i.pagination}:n.value;return Ia(l)}),o=M(()=>r.value.rowsNumber!==void 0);function s(l){u({pagination:l,filter:i.filter})}function u(l={}){Sa(()=>{a("request",{pagination:l.pagination||r.value,filter:l.filter||i.filter,getCellValue:t})})}function v(l,d){const f=Ia({...r.value,...l});if(Br(r.value,f)===!0){o.value===!0&&d===!0&&s(f);return}if(o.value===!0){s(f);return}i.pagination!==void 0&&i["onUpdate:pagination"]!==void 0?a("update:pagination",f):n.value=f}return{innerPagination:n,computedPagination:r,isServerSide:o,requestServerInteraction:u,setPagination:v}}function jr(e,t,i,a,n,r){const{props:o,emit:s,proxy:{$q:u}}=e,v=M(()=>a.value===!0?i.value.rowsNumber||0:r.value),l=M(()=>{const{page:V,rowsPerPage:A}=i.value;return(V-1)*A}),d=M(()=>{const{page:V,rowsPerPage:A}=i.value;return V*A}),f=M(()=>i.value.page===1),w=M(()=>i.value.rowsPerPage===0?1:Math.max(1,Math.ceil(v.value/i.value.rowsPerPage))),x=M(()=>d.value===0?!0:i.value.page>=w.value),D=M(()=>(o.rowsPerPageOptions.includes(t.value.rowsPerPage)?o.rowsPerPageOptions:[t.value.rowsPerPage].concat(o.rowsPerPageOptions)).map(A=>({label:A===0?u.lang.table.allRows:""+A,value:A})));me(w,(V,A)=>{if(V===A)return;const b=i.value.page;V&&!b?n({page:1}):V1&&n({page:V-1})}function B(){const{page:V,rowsPerPage:A}=i.value;d.value>0&&V*A["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},$r=["update:selected","selection"];function Fr(e,t,i,a){const n=M(()=>{const x={};return e.selected.map(a.value).forEach(D=>{x[D]=!0}),x}),r=M(()=>e.selection!=="none"),o=M(()=>e.selection==="single"),s=M(()=>e.selection==="multiple"),u=M(()=>i.value.length!==0&&i.value.every(x=>n.value[a.value(x)]===!0)),v=M(()=>u.value!==!0&&i.value.some(x=>n.value[a.value(x)]===!0)),l=M(()=>e.selected.length);function d(x){return n.value[x]===!0}function f(){t("update:selected",[])}function w(x,D,C,O){t("selection",{rows:D,added:C,keys:x,evt:O});const B=o.value===!0?C===!0?D:[]:C===!0?e.selected.concat(D):e.selected.filter(T=>x.includes(a.value(T))===!1);t("update:selected",B)}return{hasSelectionMode:r,singleSelection:o,multipleSelection:s,allRowsSelected:u,someRowsSelected:v,rowsSelectedNumber:l,isRowSelected:d,clearSelection:f,updateSelection:w}}function Ua(e){return Array.isArray(e)?e.slice():[]}const Hr={expanded:Array},Wr=["update:expanded"];function Qr(e,t){const i=$(Ua(e.expanded));me(()=>e.expanded,o=>{i.value=Ua(o)});function a(o){return i.value.includes(o)}function n(o){e.expanded!==void 0?t("update:expanded",o):i.value=o}function r(o,s){const u=i.value.slice(),v=u.indexOf(o);s===!0?v===-1&&(u.push(o),n(u)):v!==-1&&(u.splice(v,1),n(u))}return{isRowExpanded:a,setExpanded:n,updateExpanded:r}}const Xr={visibleColumns:Array};function Yr(e,t,i){const a=M(()=>{if(e.columns!==void 0)return e.columns;const s=e.rows[0];return s!==void 0?Object.keys(s).map(u=>({name:u,label:u.toUpperCase(),field:u,align:sa(s[u])?"right":"left",sortable:!0})):[]}),n=M(()=>{const{sortBy:s,descending:u}=t.value;return(e.visibleColumns!==void 0?a.value.filter(l=>l.required===!0||e.visibleColumns.includes(l.name)===!0):a.value).map(l=>{const d=l.align||"right",f=`text-${d}`;return{...l,align:d,__iconClass:`q-table__sort-icon q-table__sort-icon--${d}`,__thClass:f+(l.headerClasses!==void 0?" "+l.headerClasses:"")+(l.sortable===!0?" sortable":"")+(l.name===s?` sorted ${u===!0?"sort-desc":""}`:""),__tdStyle:l.style!==void 0?typeof l.style!="function"?()=>l.style:l.style:()=>null,__tdClass:l.classes!==void 0?typeof l.classes!="function"?()=>f+" "+l.classes:w=>f+" "+l.classes(w):()=>f}})}),r=M(()=>{const s={};return n.value.forEach(u=>{s[u.name]=u}),s}),o=M(()=>e.tableColspan!==void 0?e.tableColspan:n.value.length+(i.value===!0?1:0));return{colList:a,computedCols:n,computedColsMap:r,computedColspan:o}}const zt="q-table__bottom row items-center",gi={};vi.forEach(e=>{gi[e]={}});const Gr=ze({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...gi,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],tableRowStyleFn:Function,tableRowClassFn:Function,cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],cardStyleFn:Function,cardClassFn:Function,hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...xa,...Er,...Xr,...qr,...Ir,...Hr,...zr,...Or},emits:["request","virtualScroll",...Rr,...Wr,...$r],setup(e,{slots:t,emit:i}){const a=$e(),{proxy:{$q:n}}=a,r=Ca(e,n),{inFullscreen:o,toggleFullscreen:s}=Nr(),u=M(()=>typeof e.rowKey=="function"?e.rowKey:g=>g[e.rowKey]),v=$(null),l=$(null),d=M(()=>e.grid!==!0&&e.virtualScroll===!0),f=M(()=>" q-table__card"+(r.value===!0?" q-table__card--dark q-dark":"")+(e.square===!0?" q-table--square":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")),w=M(()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(e.grid===!0?" q-table--grid":f.value)+(r.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(o.value===!0?" fullscreen scroll":"")),x=M(()=>w.value+(e.loading===!0?" q-table--loading":""));me(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+w.value,()=>{d.value===!0&&l.value?.reset()});const{innerPagination:D,computedPagination:C,isServerSide:O,requestServerInteraction:B,setPagination:T}=Ur(a,m),{computedFilterMethod:V}=Lr(e,T),{isRowExpanded:A,setExpanded:b,updateExpanded:q}=Qr(e,i),L=M(()=>{let g=e.rows;if(O.value===!0||g.length===0)return g;const{sortBy:P,descending:I}=C.value;return e.filter&&(g=V.value(g,e.filter,te.value,m)),He.value!==null&&(g=qe.value(e.rows===g?g.slice():g,P,I)),g}),ee=M(()=>L.value.length),Y=M(()=>{let g=L.value;if(O.value===!0)return g;const{rowsPerPage:P}=C.value;return P!==0&&(Le.value===0&&e.rows!==g?g.length>Be.value&&(g=g.slice(0,Be.value)):g=g.slice(Le.value,Be.value)),g}),{hasSelectionMode:oe,singleSelection:ve,multipleSelection:he,allRowsSelected:N,someRowsSelected:p,rowsSelectedNumber:H,isRowSelected:le,clearSelection:xe,updateSelection:ge}=Fr(e,i,Y,u),{colList:Fe,computedCols:te,computedColsMap:pe,computedColspan:Re}=Yr(e,C,oe),{columnToSort:He,computedSortMethod:qe,sort:be}=Vr(e,C,Fe,T),{firstRowIndex:Le,lastRowIndex:Be,isFirstPage:We,isLastPage:Qe,pagesNumber:Ce,computedRowsPerPageOptions:wt,computedRowsNumber:Xe,firstPage:De,prevPage:Ye,nextPage:it,lastPage:Ge}=jr(a,D,C,O,T,ee),rt=M(()=>Y.value.length===0),ut=M(()=>{const g={};return vi.forEach(P=>{g[P]=e[P]}),g.virtualScrollItemSize===void 0&&(g.virtualScrollItemSize=e.dense===!0?28:48),g});function ct(){d.value===!0&&l.value.reset()}function Ke(){if(e.grid===!0)return Ii();const g=e.hideHeader!==!0?Te:null;if(d.value===!0){const I=t["top-row"],U=t["bottom-row"],F={default:ne=>X(ne.item,t.body,ne.index)};if(I!==void 0){const ne=S("tbody",I({cols:te.value}));F.before=g===null?()=>ne:()=>[g()].concat(ne)}else g!==null&&(F.before=g);return U!==void 0&&(F.after=()=>S("tbody",U({cols:te.value}))),S(kr,{ref:l,class:e.tableClass,style:e.tableStyle,...ut.value,scrollTarget:e.virtualScrollTarget,items:Y.value,type:"__qtable",tableColspan:Re.value,onVirtualScroll:R},F)}const P=[G()];return g!==null&&P.unshift(g()),mi({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},P)}function _(g,P){if(l.value!==null){l.value.scrollTo(g,P);return}g=parseInt(g,10);const I=v.value.querySelector(`tbody tr:nth-of-type(${g+1})`);if(I!==null){const U=v.value.querySelector(".q-table__middle.scroll"),F=I.offsetTop-e.virtualScrollStickySizeStart,ne=F{const nt=t[`body-cell-${ie.name}`],Bt=nt!==void 0?nt:ne;return Bt!==void 0?Bt(z({key:U,row:g,pageIndex:I,col:ie})):S("td",{class:ie.__tdClass(g),style:ie.__tdStyle(g)},m(ie,g))});if(oe.value===!0){const ie=t["body-selection"],nt=ie!==void 0?ie(h({key:U,row:g,pageIndex:I})):[S(Kt,{modelValue:F,color:e.color,dark:r.value,dense:e.dense,"onUpdate:modelValue":(Bt,Ui)=>{ge([U],[g],Bt,Ui)}})];ae.unshift(S("td",{class:"q-table--col-auto-width"},nt))}const Pe={key:U,class:{selected:F}};if(e.onRowClick!==void 0&&(Pe.class["cursor-pointer"]=!0,Pe.onClick=ie=>{i("rowClick",ie,g,I)}),e.onRowDblclick!==void 0&&(Pe.class["cursor-pointer"]=!0,Pe.onDblclick=ie=>{i("rowDblclick",ie,g,I)}),e.onRowContextmenu!==void 0&&(Pe.class["cursor-pointer"]=!0,Pe.onContextmenu=ie=>{i("rowContextmenu",ie,g,I)}),e.tableRowStyleFn!==void 0&&(Pe.style=e.tableRowStyleFn(g)),e.tableRowClassFn!==void 0){const ie=e.tableRowClassFn(g);ie&&(Pe.class[ie]=!0)}return S("tr",Pe,ae)}function G(){const g=t.body,P=t["top-row"],I=t["bottom-row"];let U=Y.value.map((F,ne)=>X(F,g,ne));return P!==void 0&&(U=P({cols:te.value}).concat(U)),I!==void 0&&(U=U.concat(I({cols:te.value}))),S("tbody",U)}function W(g){return c(g),g.cols=g.cols.map(P=>xt({...P},"value",()=>m(P,g.row))),g}function z(g){return c(g),xt(g,"value",()=>m(g.col,g.row)),g}function h(g){return c(g),g}function c(g){Object.assign(g,{cols:te.value,colsMap:pe.value,sort:be,rowIndex:Le.value+g.pageIndex,color:e.color,dark:r.value,dense:e.dense}),oe.value===!0&&xt(g,"selected",()=>le(g.key),(P,I)=>{ge([g.key],[g.row],P,I)}),xt(g,"expand",()=>A(g.key),P=>{q(g.key,P)})}function m(g,P){const I=typeof g.field=="function"?g.field(P):P[g.field];return g.format!==void 0?g.format(I,P):I}const K=M(()=>({pagination:C.value,pagesNumber:Ce.value,isFirstPage:We.value,isLastPage:Qe.value,firstPage:De,prevPage:Ye,nextPage:it,lastPage:Ge,inFullscreen:o.value,toggleFullscreen:s}));function yt(){const g=t.top,P=t["top-left"],I=t["top-right"],U=t["top-selection"],F=oe.value===!0&&U!==void 0&&H.value>0,ne="q-table__top relative-position row items-center";if(g!==void 0)return S("div",{class:ne},[g(K.value)]);let ae;if(F===!0?ae=U(K.value).slice():(ae=[],P!==void 0?ae.push(S("div",{class:"q-table__control"},[P(K.value)])):e.title&&ae.push(S("div",{class:"q-table__control"},[S("div",{class:["q-table__title",e.titleClass]},e.title)]))),I!==void 0&&(ae.push(S("div",{class:"q-table__separator col"})),ae.push(S("div",{class:"q-table__control"},[I(K.value)]))),ae.length!==0)return S("div",{class:ne},ae)}const dt=M(()=>p.value===!0?null:N.value);function Te(){const g=Oi();return e.loading===!0&&t.loading===void 0&&g.push(S("tr",{class:"q-table__progress"},[S("th",{class:"relative-position",colspan:Re.value},j())])),S("thead",g)}function Oi(){const g=t.header,P=t["header-cell"];if(g!==void 0)return g(Gt({header:!0})).slice();const I=te.value.map(U=>{const F=t[`header-cell-${U.name}`],ne=F!==void 0?F:P,ae=Gt({col:U});return ne!==void 0?ne(ae):S(_r,{key:U.name,props:ae},()=>U.label)});if(ve.value===!0&&e.grid!==!0)I.unshift(S("th",{class:"q-table--col-auto-width"}," "));else if(he.value===!0){const U=t["header-selection"],F=U!==void 0?U(Gt({})):[S(Kt,{color:e.color,modelValue:dt.value,dark:r.value,dense:e.dense,"onUpdate:modelValue":ka})];I.unshift(S("th",{class:"q-table--col-auto-width"},F))}return[S("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},I)]}function Gt(g){return Object.assign(g,{cols:te.value,sort:be,colsMap:pe.value,color:e.color,dark:r.value,dense:e.dense}),he.value===!0&&xt(g,"selected",()=>dt.value,ka),g}function ka(g){p.value===!0&&(g=!1),ge(Y.value.map(u.value),Y.value,g)}const Lt=M(()=>{const g=[e.iconFirstPage||n.iconSet.table.firstPage,e.iconPrevPage||n.iconSet.table.prevPage,e.iconNextPage||n.iconSet.table.nextPage,e.iconLastPage||n.iconSet.table.lastPage];return n.lang.rtl===!0?g.reverse():g});function Vi(){if(e.hideBottom===!0)return;if(rt.value===!0){if(e.hideNoData===!0)return;const I=e.loading===!0?e.loadingLabel||n.lang.table.loading:e.filter?e.noResultsLabel||n.lang.table.noResults:e.noDataLabel||n.lang.table.noData,U=t["no-data"],F=U!==void 0?[U({message:I,icon:n.iconSet.table.warning,filter:e.filter})]:[S(_e,{class:"q-table__bottom-nodata-icon",name:n.iconSet.table.warning}),I];return S("div",{class:zt+" q-table__bottom--nodata"},F)}const g=t.bottom;if(g!==void 0)return S("div",{class:zt},[g(K.value)]);const P=e.hideSelectedBanner!==!0&&oe.value===!0&&H.value>0?[S("div",{class:"q-table__control"},[S("div",[(e.selectedRowsLabel||n.lang.table.selectedRecords)(H.value)])])]:[];if(e.hidePagination!==!0)return S("div",{class:zt+" justify-end"},Li(P));if(P.length!==0)return S("div",{class:zt},P)}function qi(g){T({page:1,rowsPerPage:g.value})}function Li(g){let P;const{rowsPerPage:I}=C.value,U=e.paginationLabel||n.lang.table.pagination,F=t.pagination,ne=e.rowsPerPageOptions.length>1;if(g.push(S("div",{class:"q-table__separator col"})),ne===!0&&g.push(S("div",{class:"q-table__control"},[S("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||n.lang.table.recordsPerPage]),S(Wt,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:I,options:wt.value,displayValue:I===0?n.lang.table.allRows:I,dark:r.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":qi})])),F!==void 0)P=F(K.value);else if(P=[S("span",I!==0?{class:"q-table__bottom-item"}:{},[I?U(Le.value+1,Math.min(Be.value,Xe.value),Xe.value):U(1,ee.value,Xe.value)])],I!==0&&Ce.value>1){const ae={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(ae.size="sm"),Ce.value>2&&P.push(S(de,{key:"pgFirst",...ae,icon:Lt.value[0],disable:We.value,"aria-label":n.lang.pagination.first,onClick:De})),P.push(S(de,{key:"pgPrev",...ae,icon:Lt.value[1],disable:We.value,"aria-label":n.lang.pagination.prev,onClick:Ye}),S(de,{key:"pgNext",...ae,icon:Lt.value[2],disable:Qe.value,"aria-label":n.lang.pagination.next,onClick:it})),Ce.value>2&&P.push(S(de,{key:"pgLast",...ae,icon:Lt.value[3],disable:Qe.value,"aria-label":n.lang.pagination.last,onClick:Ge}))}return g.push(S("div",{class:"q-table__control"},P)),g}function Bi(){const g=e.gridHeader===!0?[S("table",{class:"q-table"},[Te()])]:e.loading===!0&&t.loading===void 0?j():void 0;return S("div",{class:"q-table__middle"},g)}function Ii(){const g=t.item!==void 0?t.item:P=>{const I=P.cols.map(F=>S("div",{class:"q-table__grid-item-row"},[S("div",{class:"q-table__grid-item-title"},[F.label]),S("div",{class:"q-table__grid-item-value"},[F.value])]));if(oe.value===!0){const F=t["body-selection"],ne=F!==void 0?F(P):[S(Kt,{modelValue:P.selected,color:e.color,dark:r.value,dense:e.dense,"onUpdate:modelValue":(ae,Pe)=>{ge([P.key],[P.row],ae,Pe)}})];I.unshift(S("div",{class:"q-table__grid-item-row"},ne),S(vt,{dark:r.value}))}const U={class:["q-table__grid-item-card"+f.value,e.cardClass],style:e.cardStyle};if(e.cardStyleFn!==void 0&&(U.style=[U.style,e.cardStyleFn(P.row)]),e.cardClassFn!==void 0){const F=e.cardClassFn(P.row);F&&(U.class[0]+=` ${F}`)}return(e.onRowClick!==void 0||e.onRowDblclick!==void 0||e.onRowContextmenu!==void 0)&&(U.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(U.onClick=F=>{i("RowClick",F,P.row,P.pageIndex)}),e.onRowDblclick!==void 0&&(U.onDblclick=F=>{i("RowDblclick",F,P.row,P.pageIndex)}),e.onRowContextmenu!==void 0&&(U.onContextmenu=F=>{i("rowContextmenu",F,P.row,P.pageIndex)})),S("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(P.selected===!0?" q-table__grid-item--selected":"")},[S("div",U,I)])};return S("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},Y.value.map((P,I)=>g(W({key:u.value(P),row:P,pageIndex:I}))))}return Object.assign(a.proxy,{requestServerInteraction:B,setPagination:T,firstPage:De,prevPage:Ye,nextPage:it,lastPage:Ge,isRowSelected:le,clearSelection:xe,isRowExpanded:A,setExpanded:b,sort:be,resetVirtualScroll:ct,scrollTo:_,getCellValue:m}),Wi(a.proxy,{filteredSortedRows:()=>L.value,computedRows:()=>Y.value,computedRowsNumber:()=>Xe.value}),()=>{const g=[yt()],P={ref:v,class:x.value};return e.grid===!0?g.push(Bi()):Object.assign(P,{class:[P.class,e.cardClass],style:e.cardStyle}),g.push(Ke(),Vi()),e.loading===!0&&t.loading!==void 0&&g.push(t.loading()),S("div",P,g)}}});let Kr=0;const Zr=["click","keydown"],Jr={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${Kr++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function en(e,t,i,a){const n=Qi(di,Zt);if(n===Zt)return console.error("QTab/QRouteTab component needs to be child of QTabs"),Zt;const{proxy:r}=$e(),o=$(null),s=$(null),u=$(null),v=M(()=>e.disable===!0||e.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},e.ripple===!0?{}:e.ripple)),l=M(()=>n.currentModel.value===e.name),d=M(()=>"q-tab relative-position self-stretch flex flex-center text-center"+(l.value===!0?" q-tab--active"+(n.tabProps.value.activeClass?" "+n.tabProps.value.activeClass:"")+(n.tabProps.value.activeColor?` text-${n.tabProps.value.activeColor}`:"")+(n.tabProps.value.activeBgColor?` bg-${n.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&n.tabProps.value.inlineLabel===!1?" q-tab--full":"")+(e.noCaps===!0||n.tabProps.value.noCaps===!0?" q-tab--no-caps":"")+(e.disable===!0?" disabled":" q-focusable q-hoverable cursor-pointer")),f=M(()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(n.tabProps.value.inlineLabel===!0?"row no-wrap q-tab__content--inline":"column")+(e.contentClass!==void 0?` ${e.contentClass}`:"")),w=M(()=>e.disable===!0||n.hasFocus.value===!0||l.value===!1&&n.hasActiveTab.value===!0?-1:e.tabindex||0);function x(T,V){if(V!==!0&&T?.qAvoidFocus!==!0&&o.value?.focus(),e.disable!==!0){n.updateModel({name:e.name}),i("click",T);return}}function D(T){Yi(T,[13,32])?x(T,!0):Gi(T)!==!0&&T.keyCode>=35&&T.keyCode<=40&&T.altKey!==!0&&T.metaKey!==!0&&n.onKbdNavigate(T.keyCode,r.$el)===!0&&Ht(T),i("keydown",T)}function C(){const T=n.tabProps.value.narrowIndicator,V=[],A=S("div",{ref:u,class:["q-tab__indicator",n.tabProps.value.indicatorClass]});e.icon!==void 0&&V.push(S(_e,{class:"q-tab__icon",name:e.icon})),e.label!==void 0&&V.push(S("div",{class:"q-tab__label"},e.label)),e.alert!==!1&&V.push(e.alertIcon!==void 0?S(_e,{class:"q-tab__alert-icon",color:e.alert!==!0?e.alert:void 0,name:e.alertIcon}):S("div",{class:"q-tab__alert"+(e.alert!==!0?` text-${e.alert}`:"")})),T===!0&&V.push(A);const b=[S("div",{class:"q-focus-helper",tabindex:-1,ref:o}),S("div",{class:f.value},ci(t.default,V))];return T===!1&&b.push(A),b}const O={name:M(()=>e.name),rootRef:s,tabIndicatorRef:u,routeData:a};qt(()=>{n.unregisterTab(O)}),Xt(()=>{n.registerTab(O)});function B(T,V){const A={ref:s,class:d.value,tabindex:w.value,role:"tab","aria-selected":l.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:x,onKeydown:D,...V};return Ae(S(T,A,C()),[[Xi,v.value]])}return{renderTab:B,$tabs:n}}const ra=ze({name:"QTab",props:Jr,emits:Zr,setup(e,{slots:t,emit:i}){const{renderTab:a}=en(e,t,i);return()=>a("div")}});function tn(e,t,i){const a=i===!0?["left","right"]:["top","bottom"];return`absolute-${t===!0?a[0]:a[1]}${e?` text-${e}`:""}`}const an=["left","center","right","justify"],rn=ze({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>an.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:i}){const{proxy:a}=$e(),{$q:n}=a,{registerTick:r}=Jt(),{registerTick:o}=Jt(),{registerTick:s}=Jt(),{registerTimeout:u,removeTimeout:v}=ua(),{registerTimeout:l,removeTimeout:d}=ua(),f=$(null),w=$(null),x=$(e.modelValue),D=$(!1),C=$(!0),O=$(!1),B=$(!1),T=[],V=$(0),A=$(!1);let b=null,q=null,L;const ee=M(()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:tn(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps})),Y=M(()=>{const _=V.value,R=x.value;for(let j=0;j<_;j++)if(T[j].name.value===R)return!0;return!1}),oe=M(()=>`q-tabs__content--align-${D.value===!0?"left":B.value===!0?"justify":e.align}`),ve=M(()=>`q-tabs row no-wrap items-center q-tabs--${D.value===!0?"":"not-"}scrollable q-tabs--${e.vertical===!0?"vertical":"horizontal"} q-tabs__arrows--${e.outsideArrows===!0?"outside":"inside"} q-tabs--mobile-with${e.mobileArrows===!0?"":"out"}-arrows`+(e.dense===!0?" q-tabs--dense":"")+(e.shrink===!0?" col-shrink":"")+(e.stretch===!0?" self-stretch":"")),he=M(()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+oe.value+(e.contentClass!==void 0?` ${e.contentClass}`:"")),N=M(()=>e.vertical===!0?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}),p=M(()=>e.vertical!==!0&&n.lang.rtl===!0),H=M(()=>fr===!1&&p.value===!0);me(p,pe),me(()=>e.modelValue,_=>{le({name:_,setCurrent:!0,skipEmit:!0})}),me(()=>e.outsideArrows,xe);function le({name:_,setCurrent:R,skipEmit:j}){x.value!==_&&(j!==!0&&e["onUpdate:modelValue"]!==void 0&&i("update:modelValue",_),(R===!0||e["onUpdate:modelValue"]===void 0)&&(Fe(x.value,_),x.value=_))}function xe(){r(()=>{f.value&&ge({width:f.value.offsetWidth,height:f.value.offsetHeight})})}function ge(_){if(N.value===void 0||w.value===null)return;const R=_[N.value.container],j=Math.min(w.value[N.value.scroll],Array.prototype.reduce.call(w.value.children,(G,W)=>G+(W[N.value.content]||0),0)),X=R>0&&j>R;D.value=X,X===!0&&o(pe),B.value=RG.name.value===_):null,X=R!=null&&R!==""?T.find(G=>G.name.value===R):null;if(Ke===!0)Ke=!1;else if(j&&X){const G=j.tabIndicatorRef.value,W=X.tabIndicatorRef.value;b!==null&&(clearTimeout(b),b=null),G.style.transition="none",G.style.transform="none",W.style.transition="none",W.style.transform="none";const z=G.getBoundingClientRect(),h=W.getBoundingClientRect();W.style.transform=e.vertical===!0?`translate3d(0,${z.top-h.top}px,0) scale3d(1,${h.height?z.height/h.height:1},1)`:`translate3d(${z.left-h.left}px,0,0) scale3d(${h.width?z.width/h.width:1},1,1)`,s(()=>{b=setTimeout(()=>{b=null,W.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",W.style.transform="none"},70)})}X&&D.value===!0&&te(X.rootRef.value)}function te(_){const{left:R,width:j,top:X,height:G}=w.value.getBoundingClientRect(),W=_.getBoundingClientRect();let z=e.vertical===!0?W.top-X:W.left-R;if(z<0){w.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.floor(z),pe();return}z+=e.vertical===!0?W.height-G:W.width-j,z>0&&(w.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.ceil(z),pe())}function pe(){const _=w.value;if(_===null)return;const R=_.getBoundingClientRect(),j=e.vertical===!0?_.scrollTop:Math.abs(_.scrollLeft);p.value===!0?(C.value=Math.ceil(j+R.width)<_.scrollWidth-1,O.value=j>0):(C.value=j>0,O.value=e.vertical===!0?Math.ceil(j+R.height)<_.scrollHeight:Math.ceil(j+R.width)<_.scrollWidth)}function Re(_){q!==null&&clearInterval(q),q=setInterval(()=>{We(_)===!0&&be()},5)}function He(){Re(H.value===!0?Number.MAX_SAFE_INTEGER:0)}function qe(){Re(H.value===!0?0:Number.MAX_SAFE_INTEGER)}function be(){q!==null&&(clearInterval(q),q=null)}function Le(_,R){const j=Array.prototype.filter.call(w.value.children,h=>h===R||h.matches&&h.matches(".q-tab.q-focusable")===!0),X=j.length;if(X===0)return;if(_===36)return te(j[0]),j[0].focus(),!0;if(_===35)return te(j[X-1]),j[X-1].focus(),!0;const G=_===(e.vertical===!0?38:37),W=_===(e.vertical===!0?40:39),z=G===!0?-1:W===!0?1:void 0;if(z!==void 0){const h=p.value===!0?-1:1,c=j.indexOf(R)+z*h;return c>=0&&cH.value===!0?{get:_=>Math.abs(_.scrollLeft),set:(_,R)=>{_.scrollLeft=-R}}:e.vertical===!0?{get:_=>_.scrollTop,set:(_,R)=>{_.scrollTop=R}}:{get:_=>_.scrollLeft,set:(_,R)=>{_.scrollLeft=R}});function We(_){const R=w.value,{get:j,set:X}=Be.value;let G=!1,W=j(R);const z=_=_)&&(G=!0,W=_),X(R,W),pe(),G}function Qe(_,R){for(const j in _)if(_[j]!==R[j])return!1;return!0}function Ce(){let _=null,R={matchedLen:0,queryDiff:9999,hrefLen:0};const j=T.filter(z=>z.routeData?.hasRouterLink.value===!0),{hash:X,query:G}=a.$route,W=Object.keys(G).length;for(const z of j){const h=z.routeData.exact.value===!0;if(z.routeData[h===!0?"linkIsExactActive":"linkIsActive"].value!==!0)continue;const{hash:c,query:m,matched:K,href:yt}=z.routeData.resolvedLink.value,dt=Object.keys(m).length;if(h===!0){if(c!==X||dt!==W||Qe(G,m)===!1)continue;_=z.name.value;break}if(c!==""&&c!==X||dt!==0&&Qe(m,G)===!1)continue;const Te={matchedLen:K.length,queryDiff:W-dt,hrefLen:yt.length-c.length};if(Te.matchedLen>R.matchedLen){_=z.name.value,R=Te;continue}else if(Te.matchedLen!==R.matchedLen)continue;if(Te.queryDiffR.hrefLen&&(_=z.name.value,R=Te)}if(_===null&&T.some(z=>z.routeData===void 0&&z.name.value===x.value)===!0){Ke=!1;return}le({name:_,setCurrent:!0})}function wt(_){if(v(),A.value!==!0&&f.value!==null&&_.target&&typeof _.target.closest=="function"){const R=_.target.closest(".q-tab");R&&f.value.contains(R)===!0&&(A.value=!0,D.value===!0&&te(R))}}function Xe(){u(()=>{A.value=!1},30)}function De(){rt.avoidRouteWatcher===!1?l(Ce):d()}function Ye(){if(L===void 0){const _=me(()=>a.$route.fullPath,De);L=()=>{_(),L=void 0}}}function it(_){T.push(_),V.value++,xe(),_.routeData===void 0||a.$route===void 0?l(()=>{if(D.value===!0){const R=x.value,j=R!=null&&R!==""?T.find(X=>X.name.value===R):null;j&&te(j.rootRef.value)}}):(Ye(),_.routeData.hasRouterLink.value===!0&&De())}function Ge(_){T.splice(T.indexOf(_),1),V.value--,xe(),L!==void 0&&_.routeData!==void 0&&(T.every(R=>R.routeData===void 0)===!0&&L(),De())}const rt={currentModel:x,tabProps:ee,hasFocus:A,hasActiveTab:Y,registerTab:it,unregisterTab:Ge,verifyRouteModel:De,updateModel:le,onKbdNavigate:Le,avoidRouteWatcher:!1};Ki(di,rt);function ut(){b!==null&&clearTimeout(b),be(),L?.()}let ct,Ke;return qt(ut),ui(()=>{ct=L!==void 0,ut()}),si(()=>{ct===!0&&(Ye(),Ke=!0,De()),xe()}),()=>S("div",{ref:f,class:ve.value,role:"tablist",onFocusin:wt,onFocusout:Xe},[S(ur,{onResize:ge}),S("div",{ref:w,class:he.value,onScroll:pe},je(t.default)),S(_e,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(C.value===!0?"":" q-tabs__arrow--faded"),name:e.leftIcon||n.iconSet.tabs[e.vertical===!0?"up":"left"],onMousedownPassive:He,onTouchstartPassive:He,onMouseupPassive:be,onMouseleavePassive:be,onTouchendPassive:be}),S(_e,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(O.value===!0?"":" q-tabs__arrow--faded"),name:e.rightIcon||n.iconSet.tabs[e.vertical===!0?"down":"right"],onMousedownPassive:qe,onTouchstartPassive:qe,onMouseupPassive:be,onMouseleavePassive:be,onTouchendPassive:be})])}});function nn(e){const t=[.06,6,50];return typeof e=="string"&&e.length&&e.split(":").forEach((i,a)=>{const n=parseFloat(i);n&&(t[a]=n)}),t}const on=Zi({name:"touch-swipe",beforeMount(e,{value:t,arg:i,modifiers:a}){if(a.mouse!==!0&&Ct.has.touch!==!0)return;const n=a.mouseCapture===!0?"Capture":"",r={handler:t,sensitivity:nn(i),direction:La(a),noop:Ji,mouseStart(o){Ba(o,r)&&er(o)&&(It(r,"temp",[[document,"mousemove","move",`notPassive${n}`],[document,"mouseup","end","notPassiveCapture"]]),r.start(o,!0))},touchStart(o){if(Ba(o,r)){const s=o.target;It(r,"temp",[[s,"touchmove","move","notPassiveCapture"],[s,"touchcancel","end","notPassiveCapture"],[s,"touchend","end","notPassiveCapture"]]),r.start(o)}},start(o,s){Ct.is.firefox===!0&&ta(e,!0);const u=Aa(o);r.event={x:u.left,y:u.top,time:Date.now(),mouse:s===!0,dir:!1}},move(o){if(r.event===void 0)return;if(r.event.dir!==!1){Ht(o);return}const s=Date.now()-r.event.time;if(s===0)return;const u=Aa(o),v=u.left-r.event.x,l=Math.abs(v),d=u.top-r.event.y,f=Math.abs(d);if(r.event.mouse!==!0){if(lr.sensitivity[0]&&(r.event.dir=d<0?"up":"down"),r.direction.horizontal===!0&&l>f&&f<100&&w>r.sensitivity[0]&&(r.event.dir=v<0?"left":"right"),r.direction.up===!0&&lr.sensitivity[0]&&(r.event.dir="up"),r.direction.down===!0&&l0&&l<100&&x>r.sensitivity[0]&&(r.event.dir="down"),r.direction.left===!0&&l>f&&v<0&&f<100&&w>r.sensitivity[0]&&(r.event.dir="left"),r.direction.right===!0&&l>f&&v>0&&f<100&&w>r.sensitivity[0]&&(r.event.dir="right"),r.event.dir!==!1?(Ht(o),r.event.mouse===!0&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),mr(),r.styleCleanup=D=>{r.styleCleanup=void 0,document.body.classList.remove("non-selectable");const C=()=>{document.body.classList.remove("no-pointer-events--children")};D===!0?setTimeout(C,50):C()}),r.handler({evt:o,touch:r.event.mouse!==!0,mouse:r.event.mouse,direction:r.event.dir,duration:s,distance:{x:l,y:f}})):r.end(o)},end(o){r.event!==void 0&&(ea(r,"temp"),Ct.is.firefox===!0&&ta(e,!1),r.styleCleanup?.(!0),o!==void 0&&r.event.dir!==!1&&Ht(o),r.event=void 0)}};if(e.__qtouchswipe=r,a.mouse===!0){const o=a.mouseCapture===!0||a.mousecapture===!0?"Capture":"";It(r,"main",[[e,"mousedown","mouseStart",`passive${o}`]])}Ct.has.touch===!0&&It(r,"main",[[e,"touchstart","touchStart",`passive${a.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const i=e.__qtouchswipe;i!==void 0&&(t.oldValue!==t.value&&(typeof t.value!="function"&&i.end(),i.handler=t.value),i.direction=La(t.modifiers))},beforeUnmount(e){const t=e.__qtouchswipe;t!==void 0&&(ea(t,"main"),ea(t,"temp"),Ct.is.firefox===!0&&ta(e,!1),t.styleCleanup?.(),delete e.__qtouchswipe)}});function ln(){let e=Object.create(null);return{getCache:(t,i)=>e[t]===void 0?e[t]=typeof i=="function"?i():i:e[t],setCache(t,i){e[t]=i},hasCache(t){return Object.hasOwnProperty.call(e,t)},clearCache(t){t!==void 0?delete e[t]:e=Object.create(null)}}}const sn={name:{required:!0},disable:Boolean},ja={setup(e,{slots:t}){return()=>S("div",{class:"q-panel scroll",role:"tabpanel"},je(t.default))}},un={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},cn=["update:modelValue","beforeTransition","transition"];function dn(){const{props:e,emit:t,proxy:i}=$e(),{getCache:a}=ln(),{registerTimeout:n}=ua();let r,o;const s=$(null),u={value:null};function v(N){const p=e.vertical===!0?"up":"left";L((i.$q.lang.rtl===!0?-1:1)*(N.direction===p?1:-1))}const l=M(()=>[[on,v,void 0,{horizontal:e.vertical!==!0,vertical:e.vertical,mouse:!0}]]),d=M(()=>e.transitionPrev||`slide-${e.vertical===!0?"down":"right"}`),f=M(()=>e.transitionNext||`slide-${e.vertical===!0?"up":"left"}`),w=M(()=>`--q-transition-duration: ${e.transitionDuration}ms`),x=M(()=>typeof e.modelValue=="string"||typeof e.modelValue=="number"?e.modelValue:String(e.modelValue)),D=M(()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax})),C=M(()=>e.keepAliveInclude!==void 0||e.keepAliveExclude!==void 0);me(()=>e.modelValue,(N,p)=>{const H=V(N)===!0?A(N):-1;o!==!0&&q(H===-1?0:H{t("transition",N,p)},e.transitionDuration))});function O(){L(1)}function B(){L(-1)}function T(N){t("update:modelValue",N)}function V(N){return N!=null&&N!==""}function A(N){return r.findIndex(p=>p.props.name===N&&p.props.disable!==""&&p.props.disable!==!0)}function b(){return r.filter(N=>N.props.disable!==""&&N.props.disable!==!0)}function q(N){const p=N!==0&&e.animated===!0&&u.value!==-1?"q-transition--"+(N===-1?d.value:f.value):null;s.value!==p&&(s.value=p)}function L(N,p=u.value){let H=p+N;for(;H!==-1&&H{o=!1});return}H+=N}e.infinite===!0&&r.length!==0&&p!==-1&&p!==r.length&&L(N,N===-1?r.length:-1)}function ee(){const N=A(e.modelValue);return u.value!==N&&(u.value=N),!0}function Y(){const N=V(e.modelValue)===!0&&ee()&&r[u.value];return e.keepAlive===!0?[S(ir,D.value,[S(C.value===!0?a(x.value,()=>({...ja,name:x.value})):ja,{key:x.value,style:w.value},()=>N)])]:[S("div",{class:"q-panel scroll",style:w.value,key:x.value,role:"tabpanel"},[N])]}function oe(){if(r.length!==0)return e.animated===!0?[S(tr,{name:s.value},Y)]:Y()}function ve(N){return r=ar(je(N.default,[])).filter(p=>p.props!==null&&p.props.slot===void 0&&V(p.props.name)===!0),r.length}function he(){return r}return Object.assign(i,{next:O,previous:B,goTo:T}),{panelIndex:u,panelDirectives:l,updatePanelsList:ve,updatePanelIndex:ee,getPanelContent:oe,getEnabledPanels:b,getPanels:he,isValidPanelName:V,keepAliveProps:D,needsUniqueKeepAliveWrapper:C,goToPanelByOffset:L,goToPanel:T,nextPanel:O,previousPanel:B}}const na=ze({name:"QTabPanel",props:sn,setup(e,{slots:t}){return()=>S("div",{class:"q-tab-panel",role:"tabpanel"},je(t.default))}}),fn=ze({name:"QTabPanels",props:{...un,...xa},emits:cn,setup(e,{slots:t}){const i=$e(),a=Ca(e,i.proxy.$q),{updatePanelsList:n,getPanelContent:r,panelDirectives:o}=dn(),s=M(()=>"q-tab-panels q-panel-parent"+(a.value===!0?" q-tab-panels--dark q-dark":""));return()=>(n(t),rr("div",{class:s.value},r(),"pan",e.swipeable,()=>o.value))}});function za(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),i.push.apply(i,a)}return i}function pi(e){for(var t=1;te.length)&&(t=e.length);for(var i=0,a=new Array(t);i
',En=Number.isNaN||Ve.isNaN;function Q(e){return typeof e=="number"&&!En(e)}var ti=function(t){return t>0&&t<1/0};function oa(e){return typeof e>"u"}function st(e){return da(e)==="object"&&e!==null}var Rn=Object.prototype.hasOwnProperty;function mt(e){if(!st(e))return!1;try{var t=e.constructor,i=t.prototype;return t&&i&&Rn.call(i,"isPrototypeOf")}catch{return!1}}function we(e){return typeof e=="function"}var Nn=Array.prototype.slice;function Pi(e){return Array.from?Array.from(e):Nn.call(e)}function se(e,t){return e&&we(t)&&(Array.isArray(e)||Q(e.length)?Pi(e).forEach(function(i,a){t.call(e,i,a,e)}):st(e)&&Object.keys(e).forEach(function(i){t.call(e,e[i],i,e)})),e}var J=Object.assign||function(t){for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;n0&&a.forEach(function(r){st(r)&&Object.keys(r).forEach(function(o){t[o]=r[o]})}),t},An=/\.\d*(?:0|9){12}\d*$/;function pt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return An.test(e)?Math.round(e*t)/t:e}var On=/^width|height|left|top|marginLeft|marginTop$/;function tt(e,t){var i=e.style;se(t,function(a,n){On.test(n)&&Q(a)&&(a="".concat(a,"px")),i[n]=a})}function Vn(e,t){return e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function fe(e,t){if(t){if(Q(e.length)){se(e,function(a){fe(a,t)});return}if(e.classList){e.classList.add(t);return}var i=e.className.trim();i?i.indexOf(t)<0&&(e.className="".concat(i," ").concat(t)):e.className=t}}function Oe(e,t){if(t){if(Q(e.length)){se(e,function(i){Oe(i,t)});return}if(e.classList){e.classList.remove(t);return}e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,""))}}function gt(e,t,i){if(t){if(Q(e.length)){se(e,function(a){gt(a,t,i)});return}i?fe(e,t):Oe(e,t)}}var qn=/([a-z\d])([A-Z])/g;function Ma(e){return e.replace(qn,"$1-$2").toLowerCase()}function ya(e,t){return st(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Ma(t)))}function Vt(e,t,i){st(i)?e[t]=i:e.dataset?e.dataset[t]=i:e.setAttribute("data-".concat(Ma(t)),i)}function Ln(e,t){if(st(e[t]))try{delete e[t]}catch{e[t]=void 0}else if(e.dataset)try{delete e.dataset[t]}catch{e.dataset[t]=void 0}else e.removeAttribute("data-".concat(Ma(t)))}var Mi=/\s\s*/,ki=(function(){var e=!1;if(Yt){var t=!1,i=function(){},a=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(r){t=r}});Ve.addEventListener("test",i,a),Ve.removeEventListener("test",i,a)}return e})();function ke(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=i;t.trim().split(Mi).forEach(function(r){if(!ki){var o=e.listeners;o&&o[r]&&o[r][i]&&(n=o[r][i],delete o[r][i],Object.keys(o[r]).length===0&&delete o[r],Object.keys(o).length===0&&delete e.listeners)}e.removeEventListener(r,n,a)})}function Se(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=i;t.trim().split(Mi).forEach(function(r){if(a.once&&!ki){var o=e.listeners,s=o===void 0?{}:o;n=function(){delete s[r][i],e.removeEventListener(r,n,a);for(var v=arguments.length,l=new Array(v),d=0;dMath.abs(i)&&(i=f)})}),i}function Ft(e,t){var i=e.pageX,a=e.pageY,n={endX:i,endY:a};return t?n:pi({startX:i,startY:a},n)}function Un(e){var t=0,i=0,a=0;return se(e,function(n){var r=n.startX,o=n.startY;t+=r,i+=o,a+=1}),t/=a,i/=a,{pageX:t,pageY:i}}function at(e){var t=e.aspectRatio,i=e.height,a=e.width,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",r=ti(a),o=ti(i);if(r&&o){var s=i*t;n==="contain"&&s>a||n==="cover"&&s90?{width:u,height:s}:{width:s,height:u}}function zn(e,t,i,a){var n=t.aspectRatio,r=t.naturalWidth,o=t.naturalHeight,s=t.rotate,u=s===void 0?0:s,v=t.scaleX,l=v===void 0?1:v,d=t.scaleY,f=d===void 0?1:d,w=i.aspectRatio,x=i.naturalWidth,D=i.naturalHeight,C=a.fillColor,O=C===void 0?"transparent":C,B=a.imageSmoothingEnabled,T=B===void 0?!0:B,V=a.imageSmoothingQuality,A=V===void 0?"low":V,b=a.maxWidth,q=b===void 0?1/0:b,L=a.maxHeight,ee=L===void 0?1/0:L,Y=a.minWidth,oe=Y===void 0?0:Y,ve=a.minHeight,he=ve===void 0?0:ve,N=document.createElement("canvas"),p=N.getContext("2d"),H=at({aspectRatio:w,width:q,height:ee}),le=at({aspectRatio:w,width:oe,height:he},"cover"),xe=Math.min(H.width,Math.max(le.width,x)),ge=Math.min(H.height,Math.max(le.height,D)),Fe=at({aspectRatio:n,width:q,height:ee}),te=at({aspectRatio:n,width:oe,height:he},"cover"),pe=Math.min(Fe.width,Math.max(te.width,r)),Re=Math.min(Fe.height,Math.max(te.height,o)),He=[-pe/2,-Re/2,pe,Re];return N.width=pt(xe),N.height=pt(ge),p.fillStyle=O,p.fillRect(0,0,xe,ge),p.save(),p.translate(xe/2,ge/2),p.rotate(u*Math.PI/180),p.scale(l,f),p.imageSmoothingEnabled=T,p.imageSmoothingQuality=A,p.drawImage.apply(p,[e].concat(wi(He.map(function(qe){return Math.floor(pt(qe))})))),p.restore(),N}var Ri=String.fromCharCode;function $n(e,t,i){var a="";i+=t;for(var n=t;n0;)i.push(Ri.apply(null,Pi(n.subarray(0,a)))),n=n.subarray(a);return"data:".concat(t,";base64,").concat(btoa(i.join("")))}function Qn(e){var t=new DataView(e),i;try{var a,n,r;if(t.getUint8(0)===255&&t.getUint8(1)===216)for(var o=t.byteLength,s=2;s+1=8&&(r=v+d)}}}if(r){var f=t.getUint16(r,a),w,x;for(x=0;x=0?r:Di),height:Math.max(a.offsetHeight,o>=0?o:Ti)};this.containerData=s,tt(n,{width:s.width,height:s.height}),fe(t,ye),Oe(n,ye)},initCanvas:function(){var t=this.containerData,i=this.imageData,a=this.options.viewMode,n=Math.abs(i.rotate)%180===90,r=n?i.naturalHeight:i.naturalWidth,o=n?i.naturalWidth:i.naturalHeight,s=r/o,u=t.width,v=t.height;t.height*s>t.width?a===3?u=t.height*s:v=t.width/s:a===3?v=t.width/s:u=t.height*s;var l={aspectRatio:s,naturalWidth:r,naturalHeight:o,width:u,height:v};this.canvasData=l,this.limited=a===1||a===2,this.limitCanvas(!0,!0),l.width=Math.min(Math.max(l.width,l.minWidth),l.maxWidth),l.height=Math.min(Math.max(l.height,l.minHeight),l.maxHeight),l.left=(t.width-l.width)/2,l.top=(t.height-l.height)/2,l.oldLeft=l.left,l.oldTop=l.top,this.initialCanvasData=J({},l)},limitCanvas:function(t,i){var a=this.options,n=this.containerData,r=this.canvasData,o=this.cropBoxData,s=a.viewMode,u=r.aspectRatio,v=this.cropped&&o;if(t){var l=Number(a.minCanvasWidth)||0,d=Number(a.minCanvasHeight)||0;s>1?(l=Math.max(l,n.width),d=Math.max(d,n.height),s===3&&(d*u>l?l=d*u:d=l/u)):s>0&&(l?l=Math.max(l,v?o.width:0):d?d=Math.max(d,v?o.height:0):v&&(l=o.width,d=o.height,d*u>l?l=d*u:d=l/u));var f=at({aspectRatio:u,width:l,height:d});l=f.width,d=f.height,r.minWidth=l,r.minHeight=d,r.maxWidth=1/0,r.maxHeight=1/0}if(i)if(s>(v?0:1)){var w=n.width-r.width,x=n.height-r.height;r.minLeft=Math.min(0,w),r.minTop=Math.min(0,x),r.maxLeft=Math.max(0,w),r.maxTop=Math.max(0,x),v&&this.limited&&(r.minLeft=Math.min(o.left,o.left+(o.width-r.width)),r.minTop=Math.min(o.top,o.top+(o.height-r.height)),r.maxLeft=o.left,r.maxTop=o.top,s===2&&(r.width>=n.width&&(r.minLeft=Math.min(0,w),r.maxLeft=Math.max(0,w)),r.height>=n.height&&(r.minTop=Math.min(0,x),r.maxTop=Math.max(0,x))))}else r.minLeft=-r.width,r.minTop=-r.height,r.maxLeft=n.width,r.maxTop=n.height},renderCanvas:function(t,i){var a=this.canvasData,n=this.imageData;if(i){var r=jn({width:n.naturalWidth*Math.abs(n.scaleX||1),height:n.naturalHeight*Math.abs(n.scaleY||1),degree:n.rotate||0}),o=r.width,s=r.height,u=a.width*(o/a.naturalWidth),v=a.height*(s/a.naturalHeight);a.left-=(u-a.width)/2,a.top-=(v-a.height)/2,a.width=u,a.height=v,a.aspectRatio=o/s,a.naturalWidth=o,a.naturalHeight=s,this.limitCanvas(!0,!1)}(a.width>a.maxWidth||a.widtha.maxHeight||a.heighti.width?r.height=r.width/a:r.width=r.height*a),this.cropBoxData=r,this.limitCropBox(!0,!0),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),r.width=Math.max(r.minWidth,r.width*n),r.height=Math.max(r.minHeight,r.height*n),r.left=i.left+(i.width-r.width)/2,r.top=i.top+(i.height-r.height)/2,r.oldLeft=r.left,r.oldTop=r.top,this.initialCropBoxData=J({},r)},limitCropBox:function(t,i){var a=this.options,n=this.containerData,r=this.canvasData,o=this.cropBoxData,s=this.limited,u=a.aspectRatio;if(t){var v=Number(a.minCropBoxWidth)||0,l=Number(a.minCropBoxHeight)||0,d=s?Math.min(n.width,r.width,r.width+r.left,n.width-r.left):n.width,f=s?Math.min(n.height,r.height,r.height+r.top,n.height-r.top):n.height;v=Math.min(v,n.width),l=Math.min(l,n.height),u&&(v&&l?l*u>v?l=v/u:v=l*u:v?l=v/u:l&&(v=l*u),f*u>d?f=d/u:d=f*u),o.minWidth=Math.min(v,d),o.minHeight=Math.min(l,f),o.maxWidth=d,o.maxHeight=f}i&&(s?(o.minLeft=Math.max(0,r.left),o.minTop=Math.max(0,r.top),o.maxLeft=Math.min(n.width,r.left+r.width)-o.width,o.maxTop=Math.min(n.height,r.top+r.height)-o.height):(o.minLeft=0,o.minTop=0,o.maxLeft=n.width-o.width,o.maxTop=n.height-o.height))},renderCropBox:function(){var t=this.options,i=this.containerData,a=this.cropBoxData;(a.width>a.maxWidth||a.widtha.maxHeight||a.height=i.width&&a.height>=i.height?xi:Ta),tt(this.cropBox,J({width:a.width,height:a.height},At({translateX:a.left,translateY:a.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),bt(this.element,ma,this.getData())}},Gn={initPreview:function(){var t=this.element,i=this.crossOrigin,a=this.options.preview,n=i?this.crossOriginUrl:this.url,r=t.alt||"The image to preview",o=document.createElement("img");if(i&&(o.crossOrigin=i),o.src=n,o.alt=r,this.viewBox.appendChild(o),this.viewBoxImage=o,!!a){var s=a;typeof a=="string"?s=t.ownerDocument.querySelectorAll(a):a.querySelector&&(s=[a]),this.previews=s,se(s,function(u){var v=document.createElement("img");Vt(u,$t,{width:u.offsetWidth,height:u.offsetHeight,html:u.innerHTML}),i&&(v.crossOrigin=i),v.src=n,v.alt=r,v.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',u.innerHTML="",u.appendChild(v)})}},resetPreview:function(){se(this.previews,function(t){var i=ya(t,$t);tt(t,{width:i.width,height:i.height}),t.innerHTML=i.html,Ln(t,$t)})},preview:function(){var t=this.imageData,i=this.canvasData,a=this.cropBoxData,n=a.width,r=a.height,o=t.width,s=t.height,u=a.left-i.left-t.left,v=a.top-i.top-t.top;!this.cropped||this.disabled||(tt(this.viewBoxImage,J({width:o,height:s},At(J({translateX:-u,translateY:-v},t)))),se(this.previews,function(l){var d=ya(l,$t),f=d.width,w=d.height,x=f,D=w,C=1;n&&(C=f/n,D=r*C),r&&D>w&&(C=w/r,x=n*C,D=w),tt(l,{width:x,height:D}),tt(l.getElementsByTagName("img")[0],J({width:o*C,height:s*C},At(J({translateX:-u*C,translateY:-v*C},t))))}))}},Kn={bind:function(){var t=this.element,i=this.options,a=this.cropper;we(i.cropstart)&&Se(t,ba,i.cropstart),we(i.cropmove)&&Se(t,pa,i.cropmove),we(i.cropend)&&Se(t,ga,i.cropend),we(i.crop)&&Se(t,ma,i.crop),we(i.zoom)&&Se(t,wa,i.zoom),Se(a,Qa,this.onCropStart=this.cropStart.bind(this)),i.zoomable&&i.zoomOnWheel&&Se(a,Za,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),i.toggleDragModeOnDblclick&&Se(a,Wa,this.onDblclick=this.dblclick.bind(this)),Se(t.ownerDocument,Xa,this.onCropMove=this.cropMove.bind(this)),Se(t.ownerDocument,Ya,this.onCropEnd=this.cropEnd.bind(this)),i.responsive&&Se(window,Ka,this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,i=this.options,a=this.cropper;we(i.cropstart)&&ke(t,ba,i.cropstart),we(i.cropmove)&&ke(t,pa,i.cropmove),we(i.cropend)&&ke(t,ga,i.cropend),we(i.crop)&&ke(t,ma,i.crop),we(i.zoom)&&ke(t,wa,i.zoom),ke(a,Qa,this.onCropStart),i.zoomable&&i.zoomOnWheel&&ke(a,Za,this.onWheel,{passive:!1,capture:!0}),i.toggleDragModeOnDblclick&&ke(a,Wa,this.onDblclick),ke(t.ownerDocument,Xa,this.onCropMove),ke(t.ownerDocument,Ya,this.onCropEnd),i.responsive&&ke(window,Ka,this.onResize)}},Zn={resize:function(){if(!this.disabled){var t=this.options,i=this.container,a=this.containerData,n=i.offsetWidth/a.width,r=i.offsetHeight/a.height,o=Math.abs(n-1)>Math.abs(r-1)?n:r;if(o!==1){var s,u;t.restore&&(s=this.getCanvasData(),u=this.getCropBoxData()),this.render(),t.restore&&(this.setCanvasData(se(s,function(v,l){s[l]=v*o})),this.setCropBoxData(se(u,function(v,l){u[l]=v*o})))}}},dblclick:function(){this.disabled||this.options.dragMode===_i||this.setDragMode(Vn(this.dragBox,ha)?Si:Pa)},wheel:function(t){var i=this,a=Number(this.options.wheelZoomRatio)||.1,n=1;this.disabled||(t.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){i.wheeling=!1},50),t.deltaY?n=t.deltaY>0?1:-1:t.wheelDelta?n=-t.wheelDelta/120:t.detail&&(n=t.detail>0?1:-1),this.zoom(-n*a,t)))},cropStart:function(t){var i=t.buttons,a=t.button;if(!(this.disabled||(t.type==="mousedown"||t.type==="pointerdown"&&t.pointerType==="mouse")&&(Q(i)&&i!==1||Q(a)&&a!==0||t.ctrlKey))){var n=this.options,r=this.pointers,o;t.changedTouches?se(t.changedTouches,function(s){r[s.identifier]=Ft(s)}):r[t.pointerId||0]=Ft(t),Object.keys(r).length>1&&n.zoomable&&n.zoomOnTouch?o=Ci:o=ya(t.target,Ot),Dn.test(o)&&bt(this.element,ba,{originalEvent:t,action:o})!==!1&&(t.preventDefault(),this.action=o,this.cropping=!1,o===yi&&(this.cropping=!0,fe(this.dragBox,Qt)))}},cropMove:function(t){var i=this.action;if(!(this.disabled||!i)){var a=this.pointers;t.preventDefault(),bt(this.element,pa,{originalEvent:t,action:i})!==!1&&(t.changedTouches?se(t.changedTouches,function(n){J(a[n.identifier]||{},Ft(n,!0))}):J(a[t.pointerId||0]||{},Ft(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var i=this.action,a=this.pointers;t.changedTouches?se(t.changedTouches,function(n){delete a[n.identifier]}):delete a[t.pointerId||0],i&&(t.preventDefault(),Object.keys(a).length||(this.action=""),this.cropping&&(this.cropping=!1,gt(this.dragBox,Qt,this.cropped&&this.options.modal)),bt(this.element,ga,{originalEvent:t,action:i}))}}},Jn={change:function(t){var i=this.options,a=this.canvasData,n=this.containerData,r=this.cropBoxData,o=this.pointers,s=this.action,u=i.aspectRatio,v=r.left,l=r.top,d=r.width,f=r.height,w=v+d,x=l+f,D=0,C=0,O=n.width,B=n.height,T=!0,V;!u&&t.shiftKey&&(u=d&&f?d/f:1),this.limited&&(D=r.minLeft,C=r.minTop,O=D+Math.min(n.width,a.width,a.left+a.width),B=C+Math.min(n.height,a.height,a.top+a.height));var A=o[Object.keys(o)[0]],b={x:A.endX-A.startX,y:A.endY-A.startY},q=function(ee){switch(ee){case ot:w+b.x>O&&(b.x=O-w);break;case lt:v+b.xB&&(b.y=B-x);break}};switch(s){case Ta:v+=b.x,l+=b.y;break;case ot:if(b.x>=0&&(w>=O||u&&(l<=C||x>=B))){T=!1;break}q(ot),d+=b.x,d<0&&(s=lt,d=-d,v-=d),u&&(f=d/u,l+=(r.height-f)/2);break;case et:if(b.y<=0&&(l<=C||u&&(v<=D||w>=O))){T=!1;break}q(et),f-=b.y,l+=b.y,f<0&&(s=ht,f=-f,l-=f),u&&(d=f*u,v+=(r.width-d)/2);break;case lt:if(b.x<=0&&(v<=D||u&&(l<=C||x>=B))){T=!1;break}q(lt),d-=b.x,v+=b.x,d<0&&(s=ot,d=-d,v-=d),u&&(f=d/u,l+=(r.height-f)/2);break;case ht:if(b.y>=0&&(x>=B||u&&(v<=D||w>=O))){T=!1;break}q(ht),f+=b.y,f<0&&(s=et,f=-f,l-=f),u&&(d=f*u,v+=(r.width-d)/2);break;case Mt:if(u){if(b.y<=0&&(l<=C||w>=O)){T=!1;break}q(et),f-=b.y,l+=b.y,d=f*u}else q(et),q(ot),b.x>=0?wC&&(f-=b.y,l+=b.y):(f-=b.y,l+=b.y);d<0&&f<0?(s=Rt,f=-f,d=-d,l-=f,v-=d):d<0?(s=kt,d=-d,v-=d):f<0&&(s=Et,f=-f,l-=f);break;case kt:if(u){if(b.y<=0&&(l<=C||v<=D)){T=!1;break}q(et),f-=b.y,l+=b.y,d=f*u,v+=r.width-d}else q(et),q(lt),b.x<=0?v>D?(d-=b.x,v+=b.x):b.y<=0&&l<=C&&(T=!1):(d-=b.x,v+=b.x),b.y<=0?l>C&&(f-=b.y,l+=b.y):(f-=b.y,l+=b.y);d<0&&f<0?(s=Et,f=-f,d=-d,l-=f,v-=d):d<0?(s=Mt,d=-d,v-=d):f<0&&(s=Rt,f=-f,l-=f);break;case Rt:if(u){if(b.x<=0&&(v<=D||x>=B)){T=!1;break}q(lt),d-=b.x,v+=b.x,f=d/u}else q(ht),q(lt),b.x<=0?v>D?(d-=b.x,v+=b.x):b.y>=0&&x>=B&&(T=!1):(d-=b.x,v+=b.x),b.y>=0?x=0&&(w>=O||x>=B)){T=!1;break}q(ot),d+=b.x,f=d/u}else q(ht),q(ot),b.x>=0?w=0&&x>=B&&(T=!1):d+=b.x,b.y>=0?x0?s=b.y>0?Et:Mt:b.x<0&&(v-=d,s=b.y>0?Rt:kt),b.y<0&&(l-=f),this.cropped||(Oe(this.cropBox,ye),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}T&&(r.width=d,r.height=f,r.left=v,r.top=l,this.action=s,this.renderCropBox()),se(o,function(L){L.startX=L.endX,L.startY=L.endY})}},eo={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&fe(this.dragBox,Qt),Oe(this.cropBox,ye),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=J({},this.initialImageData),this.canvasData=J({},this.initialCanvasData),this.cropBoxData=J({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(J(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Oe(this.dragBox,Qt),fe(this.cropBox,ye)),this},replace:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&t&&(this.isImg&&(this.element.src=t),i?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,se(this.previews,function(a){a.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Oe(this.cropper,Fa)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,fe(this.cropper,Fa)),this},destroy:function(){var t=this.element;return t[Z]?(t[Z]=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,a=this.canvasData,n=a.left,r=a.top;return this.moveTo(oa(t)?t:n+Number(t),oa(i)?i:r+Number(i))},moveTo:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,a=this.canvasData,n=!1;return t=Number(t),i=Number(i),this.ready&&!this.disabled&&this.options.movable&&(Q(t)&&(a.left=t,n=!0),Q(i)&&(a.top=i,n=!0),n&&this.renderCanvas(!0)),this},zoom:function(t,i){var a=this.canvasData;return t=Number(t),t<0?t=1/(1-t):t=1+t,this.zoomTo(a.width*t/a.naturalWidth,null,i)},zoomTo:function(t,i,a){var n=this.options,r=this.canvasData,o=r.width,s=r.height,u=r.naturalWidth,v=r.naturalHeight;if(t=Number(t),t>=0&&this.ready&&!this.disabled&&n.zoomable){var l=u*t,d=v*t;if(bt(this.element,wa,{ratio:t,oldRatio:o/u,originalEvent:a})===!1)return this;if(a){var f=this.pointers,w=Ei(this.cropper),x=f&&Object.keys(f).length?Un(f):{pageX:a.pageX,pageY:a.pageY};r.left-=(l-o)*((x.pageX-w.left-r.left)/o),r.top-=(d-s)*((x.pageY-w.top-r.top)/s)}else mt(i)&&Q(i.x)&&Q(i.y)?(r.left-=(l-o)*((i.x-r.left)/o),r.top-=(d-s)*((i.y-r.top)/s)):(r.left-=(l-o)/2,r.top-=(d-s)/2);r.width=l,r.height=d,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return t=Number(t),Q(t)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var i=this.imageData.scaleY;return this.scale(t,Q(i)?i:1)},scaleY:function(t){var i=this.imageData.scaleX;return this.scale(Q(i)?i:1,t)},scale:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,a=this.imageData,n=!1;return t=Number(t),i=Number(i),this.ready&&!this.disabled&&this.options.scalable&&(Q(t)&&(a.scaleX=t,n=!0),Q(i)&&(a.scaleY=i,n=!0),n&&this.renderCanvas(!0,!0)),this},getData:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=this.options,a=this.imageData,n=this.canvasData,r=this.cropBoxData,o;if(this.ready&&this.cropped){o={x:r.left-n.left,y:r.top-n.top,width:r.width,height:r.height};var s=a.width/a.naturalWidth;if(se(o,function(l,d){o[d]=l/s}),t){var u=Math.round(o.y+o.height),v=Math.round(o.x+o.width);o.x=Math.round(o.x),o.y=Math.round(o.y),o.width=v-o.x,o.height=u-o.y}}else o={x:0,y:0,width:0,height:0};return i.rotatable&&(o.rotate=a.rotate||0),i.scalable&&(o.scaleX=a.scaleX||1,o.scaleY=a.scaleY||1),o},setData:function(t){var i=this.options,a=this.imageData,n=this.canvasData,r={};if(this.ready&&!this.disabled&&mt(t)){var o=!1;i.rotatable&&Q(t.rotate)&&t.rotate!==a.rotate&&(a.rotate=t.rotate,o=!0),i.scalable&&(Q(t.scaleX)&&t.scaleX!==a.scaleX&&(a.scaleX=t.scaleX,o=!0),Q(t.scaleY)&&t.scaleY!==a.scaleY&&(a.scaleY=t.scaleY,o=!0)),o&&this.renderCanvas(!0,!0);var s=a.width/a.naturalWidth;Q(t.x)&&(r.left=t.x*s+n.left),Q(t.y)&&(r.top=t.y*s+n.top),Q(t.width)&&(r.width=t.width*s),Q(t.height)&&(r.height=t.height*s),this.setCropBoxData(r)}return this},getContainerData:function(){return this.ready?J({},this.containerData):{}},getImageData:function(){return this.sized?J({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,i={};return this.ready&&se(["left","top","width","height","naturalWidth","naturalHeight"],function(a){i[a]=t[a]}),i},setCanvasData:function(t){var i=this.canvasData,a=i.aspectRatio;return this.ready&&!this.disabled&&mt(t)&&(Q(t.left)&&(i.left=t.left),Q(t.top)&&(i.top=t.top),Q(t.width)?(i.width=t.width,i.height=t.width/a):Q(t.height)&&(i.height=t.height,i.width=t.height*a),this.renderCanvas(!0)),this},getCropBoxData:function(){var t=this.cropBoxData,i;return this.ready&&this.cropped&&(i={left:t.left,top:t.top,width:t.width,height:t.height}),i||{}},setCropBoxData:function(t){var i=this.cropBoxData,a=this.options.aspectRatio,n,r;return this.ready&&this.cropped&&!this.disabled&&mt(t)&&(Q(t.left)&&(i.left=t.left),Q(t.top)&&(i.top=t.top),Q(t.width)&&t.width!==i.width&&(n=!0,i.width=t.width),Q(t.height)&&t.height!==i.height&&(r=!0,i.height=t.height),a&&(n?i.height=i.width/a:r&&(i.width=i.height*a)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var i=this.canvasData,a=zn(this.image,this.imageData,i,t);if(!this.cropped)return a;var n=this.getData(t.rounded),r=n.x,o=n.y,s=n.width,u=n.height,v=a.width/Math.floor(i.naturalWidth);v!==1&&(r*=v,o*=v,s*=v,u*=v);var l=s/u,d=at({aspectRatio:l,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),f=at({aspectRatio:l,width:t.minWidth||0,height:t.minHeight||0},"cover"),w=at({aspectRatio:l,width:t.width||(v!==1?a.width:s),height:t.height||(v!==1?a.height:u)}),x=w.width,D=w.height;x=Math.min(d.width,Math.max(f.width,x)),D=Math.min(d.height,Math.max(f.height,D));var C=document.createElement("canvas"),O=C.getContext("2d");C.width=pt(x),C.height=pt(D),O.fillStyle=t.fillColor||"transparent",O.fillRect(0,0,x,D);var B=t.imageSmoothingEnabled,T=B===void 0?!0:B,V=t.imageSmoothingQuality;O.imageSmoothingEnabled=T,V&&(O.imageSmoothingQuality=V);var A=a.width,b=a.height,q=r,L=o,ee,Y,oe,ve,he,N;q<=-s||q>A?(q=0,ee=0,oe=0,he=0):q<=0?(oe=-q,q=0,ee=Math.min(A,s+q),he=ee):q<=A&&(oe=0,ee=Math.min(s,A-q),he=ee),ee<=0||L<=-u||L>b?(L=0,Y=0,ve=0,N=0):L<=0?(ve=-L,L=0,Y=Math.min(b,u+L),N=Y):L<=b&&(ve=0,Y=Math.min(u,b-L),N=Y);var p=[q,L,ee,Y];if(he>0&&N>0){var H=x/s;p.push(oe*H,ve*H,he*H,N*H)}return O.drawImage.apply(O,[a].concat(wi(p.map(function(le){return Math.floor(pt(le))})))),C},setAspectRatio:function(t){var i=this.options;return!this.disabled&&!oa(t)&&(i.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var i=this.options,a=this.dragBox,n=this.face;if(this.ready&&!this.disabled){var r=t===Pa,o=i.movable&&t===Si;t=r||o?t:_i,i.dragMode=t,Vt(a,Ot,t),gt(a,ha,r),gt(a,va,o),i.cropBoxMovable||(Vt(n,Ot,t),gt(n,ha,r),gt(n,va,o))}return this}},to=Ve.Cropper,Ni=(function(){function e(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(vn(this,e),!t||!Mn.test(t.tagName))throw new Error("The first argument is required and must be an or element.");this.element=t,this.options=J({},ei,mt(i)&&i),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return mn(e,[{key:"init",value:function(){var i=this.element,a=i.tagName.toLowerCase(),n;if(!i[Z]){if(i[Z]=this,a==="img"){if(this.isImg=!0,n=i.getAttribute("src")||"",this.originalUrl=n,!n)return;n=i.src}else a==="canvas"&&window.HTMLCanvasElement&&(n=i.toDataURL());this.load(n)}}},{key:"load",value:function(i){var a=this;if(i){this.url=i,this.imageData={};var n=this.element,r=this.options;if(!r.rotatable&&!r.scalable&&(r.checkOrientation=!1),!r.checkOrientation||!window.ArrayBuffer){this.clone();return}if(Tn.test(i)){Pn.test(i)?this.read(Hn(i)):this.clone();return}var o=new XMLHttpRequest,s=this.clone.bind(this);this.reloading=!0,this.xhr=o,o.onabort=s,o.onerror=s,o.ontimeout=s,o.onprogress=function(){o.getResponseHeader("content-type")!==Ja&&o.abort()},o.onload=function(){a.read(o.response)},o.onloadend=function(){a.reloading=!1,a.xhr=null},r.checkCrossOrigin&&ai(i)&&n.crossOrigin&&(i=ii(i)),o.open("GET",i,!0),o.responseType="arraybuffer",o.withCredentials=n.crossOrigin==="use-credentials",o.send()}}},{key:"read",value:function(i){var a=this.options,n=this.imageData,r=Qn(i),o=0,s=1,u=1;if(r>1){this.url=Wn(i,Ja);var v=Xn(r);o=v.rotate,s=v.scaleX,u=v.scaleY}a.rotatable&&(n.rotate=o),a.scalable&&(n.scaleX=s,n.scaleY=u),this.clone()}},{key:"clone",value:function(){var i=this.element,a=this.url,n=i.crossOrigin,r=a;this.options.checkCrossOrigin&&ai(a)&&(n||(n="anonymous"),r=ii(a)),this.crossOrigin=n,this.crossOriginUrl=r;var o=document.createElement("img");n&&(o.crossOrigin=n),o.src=r||a,o.alt=i.alt||"The image to crop",this.image=o,o.onload=this.start.bind(this),o.onerror=this.stop.bind(this),fe(o,Ha),i.parentNode.insertBefore(o,i.nextSibling)}},{key:"start",value:function(){var i=this,a=this.image;a.onload=null,a.onerror=null,this.sizing=!0;var n=Ve.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Ve.navigator.userAgent),r=function(v,l){J(i.imageData,{naturalWidth:v,naturalHeight:l,aspectRatio:v/l}),i.initialImageData=J({},i.imageData),i.sizing=!1,i.sized=!0,i.build()};if(a.naturalWidth&&!n){r(a.naturalWidth,a.naturalHeight);return}var o=document.createElement("img"),s=document.body||document.documentElement;this.sizingImage=o,o.onload=function(){r(o.width,o.height),n||s.removeChild(o)},o.src=a.src,n||(o.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",s.appendChild(o))}},{key:"stop",value:function(){var i=this.image;i.onload=null,i.onerror=null,i.parentNode.removeChild(i),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var i=this.element,a=this.options,n=this.image,r=i.parentNode,o=document.createElement("div");o.innerHTML=kn;var s=o.querySelector(".".concat(Z,"-container")),u=s.querySelector(".".concat(Z,"-canvas")),v=s.querySelector(".".concat(Z,"-drag-box")),l=s.querySelector(".".concat(Z,"-crop-box")),d=l.querySelector(".".concat(Z,"-face"));this.container=r,this.cropper=s,this.canvas=u,this.dragBox=v,this.cropBox=l,this.viewBox=s.querySelector(".".concat(Z,"-view-box")),this.face=d,u.appendChild(n),fe(i,ye),r.insertBefore(s,i.nextSibling),Oe(n,Ha),this.initPreview(),this.bind(),a.initialAspectRatio=Math.max(0,a.initialAspectRatio)||NaN,a.aspectRatio=Math.max(0,a.aspectRatio)||NaN,a.viewMode=Math.max(0,Math.min(3,Math.round(a.viewMode)))||0,fe(l,ye),a.guides||fe(l.getElementsByClassName("".concat(Z,"-dashed")),ye),a.center||fe(l.getElementsByClassName("".concat(Z,"-center")),ye),a.background&&fe(s,"".concat(Z,"-bg")),a.highlight||fe(d,xn),a.cropBoxMovable&&(fe(d,va),Vt(d,Ot,Ta)),a.cropBoxResizable||(fe(l.getElementsByClassName("".concat(Z,"-line")),ye),fe(l.getElementsByClassName("".concat(Z,"-point")),ye)),this.render(),this.ready=!0,this.setDragMode(a.dragMode),a.autoCrop&&this.crop(),this.setData(a.data),we(a.ready)&&Se(i,Ga,a.ready,{once:!0}),bt(i,Ga)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var i=this.cropper.parentNode;i&&i.removeChild(this.cropper),Oe(this.element,ye)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=to,e}},{key:"setDefaults",value:function(i){J(ei,mt(i)&&i)}}])})();J(Ni.prototype,Yn,Gn,Kn,Zn,Jn,eo);const Ai=e=>Object.prototype.toString.call(e).slice(8,-1)==="Object",ao={"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"]},io=(()=>{let e={};for(let[t,i]of Object.entries(ao))for(let a of i){let n=a.startsWith("*")?a.slice(1):a;n in e||(e[n]=t)}return e})(),Nt="image/png",ro=e=>{try{if(e.startsWith("data")&&e.includes("base64")){let t=e.split(",")[0].match(/data:(.*);base64/);return t?t[1].trim():Nt}return e.startsWith("blob:")?Nt:io[e.split("?")[0].split(".").pop()?.toLowerCase()??""]??Nt}catch{return Nt}},ri=({mode:e,dataURI:t})=>e==="round"?Nt:ro(t),ni=e=>{let t=document.createElement("canvas"),i=t.getContext("2d");if(!i)return t;let{width:a,height:n}=e;return t.width=a,t.height=n,i.imageSmoothingEnabled=!0,i.drawImage(e,0,0,a,n),i.globalCompositeOperation="destination-in",i.beginPath(),i.arc(a/2,n/2,Math.min(a,n)/2,0,2*Math.PI,!0),i.fill(),t},oi=(e,t={})=>{if(!Ai(e))return t;let{mode:i,width:a,height:n}=e;switch(i){case"fixedSize":case"round":t.width=a,t.height=n;break}return t},no=["src"],oo=fi({name:"VuePictureCropper",__name:"index",props:{img:{},boxStyle:{default:()=>({})},options:{default:()=>({})},presetMode:{default:()=>({})}},setup(e,{expose:t}){let i=e,a=Oa(null),n=Oa(null),r=$(""),o=(f={})=>{if(!a.value)return"";f=oi(i.presetMode,f);try{let w=a.value.getCroppedCanvas(f);return i.presetMode.mode==="round"&&(w=ni(w)),w.toDataURL(r.value)}catch{return""}},s=(f={})=>a.value?(f=oi(i.presetMode,f),new Promise(w=>{try{let x=a.value.getCroppedCanvas(f);i.presetMode.mode==="round"&&(x=ni(x)),x.toBlob(D=>w(D),r.value)}catch{w(null)}})):Promise.resolve(null),u=async(f={})=>{let{fileName:w}=f,x=r.value.replace(/image\//,""),D=w?`${w}.${x}`:`cropped-${Date.now()}.${x}`,C=await s(f);return C?new File([C],D,{type:r.value}):null},v=()=>{a.value&&(a.value.getDataURL=o,a.value.getBlob=s,a.value.getFile=u)},l=()=>{if(!Ai(i.presetMode)||!a.value)return;let{mode:f,width:w,height:x}=i.presetMode;(f==="fixedSize"||f==="round")&&a.value.setCropBoxData({width:w,height:x})},d=async()=>{if(await Sa(),n.value)try{a.value=new Ni(n.value,i.options),v(),r.value=ri({mode:i.presetMode.mode,dataURI:i.img}),n.value.addEventListener("ready",l)}catch(f){console.error(f)}};return me(()=>i.img,f=>{if(!f){a.value?.destroy(),a.value=null;return}if(!a.value){d();return}try{a.value.replace(i.img),r.value=ri({mode:i.presetMode.mode,dataURI:i.img}),v()}catch(w){console.error(w)}},{immediate:!0}),qt(()=>{n.value?.removeEventListener("ready",l),a.value?.destroy(),a.value=null}),t({cropper:a}),(f,w)=>(re(),Ee("div",{class:ca(["vpc-root",e.presetMode.mode==="round"&&"vpc-round-mode"]),style:nr(e.boxStyle)},[k("img",{ref_key:"imgElement",ref:n,class:"vpc-img",src:e.img},null,8,no)],6))}});var lo=oo;const so={class:"users-shell"},uo={class:"users-header"},co={class:"header-actions"},fo={class:"user-cell"},ho={class:"user-avatar-thumb"},vo=["src","alt"],mo={key:1},go={class:"user-meta"},po={class:"text-weight-medium"},bo={class:"text-caption text-grey-7"},wo={class:"badge-row"},yo={class:"text-caption text-grey-7"},xo={class:"text-caption text-grey-7"},Co={class:"editor-toolbar"},So={class:"editor-headline"},_o={class:"text-overline"},Do={class:"text-h5"},To={class:"text-caption"},Po={class:"editor-toolbar-actions"},Mo={class:"form-section"},ko={class:"section-grid"},Eo={key:1,class:"avatar-inline-card span-2"},Ro={class:"avatar-inline-preview"},No=["src","alt"],Ao={key:1},Oo={class:"avatar-inline-meta"},Vo={class:"text-caption text-grey-7"},qo={class:"form-section"},Lo={class:"section-heading"},Bo={class:"form-section"},Io={class:"section-heading"},Uo={class:"text-h6"},jo={class:"text-h6"},zo={class:"text-caption"},$o={class:"text-body2 text-grey-7"},Fo={class:"editor-toolbar"},Ho={class:"editor-headline"},Wo={class:"text-h5"},Qo={class:"editor-toolbar-actions"},Xo={class:"avatar-toolbar"},Yo={class:"avatar-file-name"},Go={class:"avatar-editor-grid"},Ko={class:"avatar-cropper-shell"},Zo={key:0,class:"avatar-cropper-box"},Jo={key:1,class:"avatar-empty-state"},el={class:"avatar-preview-shell"},tl={class:"avatar-preview-disc"},al=["src"],il={key:1},rl=fi({__name:"UsersPage",setup(e){const t=br(),i=$(!1),a=$(!1),n=$(!1),r=$(!1),o=$(!1),s=$(!1),u=$("create"),v=$("account"),l=$(""),d=$([]),f=$(!0),w=$(!0),x=$(""),D=$(""),C=jt({uuid:"",email:"",status:""}),O=$(!1),B=jt({uuid:"",email:""}),T=$(null),V=$(null),A=$(""),b=$(""),q=$(null),L=$({sortBy:"name",descending:!1,page:1,rowsPerPage:10,rowsNumber:0}),ee=Object.values(Je),Y=["admin","manager","user"],oe=["internal","external"],ve={width:"100%",height:"100%",backgroundColor:"#f3f7fb",margin:"0 auto"},he={mode:"round",width:320,height:320},N=[{name:"name",label:"Utente",field:"name",align:"left",sortable:!0},{name:"status",label:"Status",field:"status",align:"left",sortable:!0},{name:"roles",label:"Roles",field:h=>h.roles.join(", "),align:"left"},{name:"details",label:"Details",field:h=>Be(h),align:"left"},{name:"preferences",label:"Preferences",field:h=>h.preferences?.language??"",align:"left"},{name:"actions",label:"",field:"uuid",align:"right"}],p=jt(xe()),H=jt({password:"",confirmPassword:""}),le=M(()=>({name:p.name.trim(),email:p.email.trim(),password:u.value==="create"?p.password:"",status:p.status,roles:te(p.roles),types:te(p.types),avatar:pe(p.avatar),details:f.value?Re(p.details):null,preferences:w.value?He(p.preferences):null}));Xt(async()=>{await Ce()});function xe(){return{uuid:"",name:"",email:"",password:"",status:Je.UserStatusPending,roles:["user"],types:["internal"],avatar:"",details:{title:"",firstName:"",lastName:"",address:"",city:"",zipCode:"",country:"",phone:""},preferences:{useIdle:!1,idleTimeout:0,useIdlePassword:!1,idlePin:"",useDirectLogin:!1,useQuadcodeLogin:!1,sendNoticesMail:!1,language:"it"}}}function ge(h){const c=h?Fe(h):xe();Object.assign(p,c),f.value=!!h?.details||!h,w.value=!!h?.preferences||!h}function Fe(h){return{uuid:h.uuid,name:h.name,email:h.email,password:"",status:h.status,roles:[...h.roles],types:[...h.types],avatar:h.avatar??"",details:{title:h.details?.title??"",firstName:h.details?.firstName??"",lastName:h.details?.lastName??"",address:h.details?.address??"",city:h.details?.city??"",zipCode:h.details?.zipCode??"",country:h.details?.country??"",phone:h.details?.phone??""},preferences:{useIdle:h.preferences?.useIdle??!1,idleTimeout:h.preferences?.idleTimeout??0,useIdlePassword:h.preferences?.useIdlePassword??!1,idlePin:h.preferences?.idlePin??"",useDirectLogin:h.preferences?.useDirectLogin??!1,useQuadcodeLogin:h.preferences?.useQuadcodeLogin??!1,sendNoticesMail:h.preferences?.sendNoticesMail??!1,language:h.preferences?.language??"it"}}}function te(h){return h.map(c=>c.trim()).filter(Boolean)}function pe(h){const c=h.trim();return c===""?null:c}function Re(h){const c={title:h.title.trim(),firstName:h.firstName.trim(),lastName:h.lastName.trim(),address:h.address.trim(),city:h.city.trim(),zipCode:h.zipCode.trim(),country:h.country.trim(),phone:h.phone.trim()};return Object.values(c).some(Boolean)?c:null}function He(h){const c={useIdle:h.useIdle,idleTimeout:Number(h.idleTimeout)||0,useIdlePassword:h.useIdlePassword,idlePin:h.idlePin.trim(),useDirectLogin:h.useDirectLogin,useQuadcodeLogin:h.useQuadcodeLogin,sendNoticesMail:h.sendNoticesMail,language:h.language.trim()};return c.useIdle||c.idleTimeout>0||c.useIdlePassword||c.idlePin!==""||c.useDirectLogin||c.useQuadcodeLogin||c.sendNoticesMail||c.language!==""?c:null}function qe(){b.value=q.value?.cropper?.getDataURL?.({width:220,height:220,rounded:!0})||A.value}const be={viewMode:1,dragMode:"move",aspectRatio:1,autoCropArea:.9,background:!1,movable:!0,zoomable:!0,scalable:!1,guides:!1,ready:()=>{qe()},crop:()=>{qe()}};function Le(h,c=""){return{name:h.name,email:h.email,password:c,status:h.status,roles:[...h.roles],types:[...h.types],avatar:h.avatar??null,details:h.details?{title:h.details.title,firstName:h.details.firstName,lastName:h.details.lastName,address:h.details.address,city:h.details.city,zipCode:h.details.zipCode,country:h.details.country,phone:h.details.phone}:null,preferences:h.preferences?{useIdle:h.preferences.useIdle,idleTimeout:h.preferences.idleTimeout,useIdlePassword:h.preferences.useIdlePassword,idlePin:h.preferences.idlePin,useDirectLogin:h.preferences.useDirectLogin,useQuadcodeLogin:h.preferences.useQuadcodeLogin,sendNoticesMail:h.preferences.sendNoticesMail,language:h.preferences.language}:null}}function Be(h){const c=[h.details?.title,h.details?.firstName,h.details?.lastName].filter(Boolean);return c.length>0?c.join(" "):"Nessun dettaglio"}function We(h){const m=(h.name.trim()||h.email.trim()).split(/\s+/).filter(Boolean),K=m[0]??"",yt=m[1]??"";return m.length===0?"?":m.length===1?K.slice(0,2).toUpperCase():`${K.charAt(0)}${yt.charAt(0)}`.toUpperCase()}function Qe(h){switch(h){case Je.UserStatusActive:return"positive";case Je.UserStatusDisabled:return"negative";default:return"warning"}}async function Ce(){i.value=!0;try{const h={page:Number(L.value?.page)||1,pageSize:Number(L.value?.rowsPerPage)||10},c=await wr(h);if(c.error)throw new Error(c.error);d.value=Array.isArray(c.data?.items)?c.data.items:[],L.value={...L.value,page:c.data?.page??h.page,rowsPerPage:c.data?.pageSize??h.pageSize,rowsNumber:d.value.length{A.value=typeof K.result=="string"?K.result:"",b.value=A.value},K.readAsDataURL(m)}function R(){q.value?.cropper?.reset?.()}async function j(){if(!A.value){t.notify({type:"negative",message:"Seleziona un’immagine prima di salvare."});return}a.value=!0;try{const h=await W(B.uuid),c=q.value?.cropper?.getDataURL?.({width:256,height:256,rounded:!0})||A.value,m=await ia(h.uuid,{...Le(h),avatar:c});if(m.error)throw new Error(m.error);b.value=c,s.value=!1,t.notify({type:"positive",message:`Avatar aggiornato per ${m.data.email}.`}),await Ce()}catch(h){z(h)}finally{a.value=!1}}function X(h){C.uuid=h.uuid,C.email=h.email,C.status=h.status,O.value=h.status===Je.UserStatusDisabled,o.value=!0}async function G(){a.value=!0;try{const h={action:O.value?"block":"unblock"},c=await xr(C.uuid,h);if(c.error)throw new Error(c.error);o.value=!1,t.notify({type:"positive",message:O.value?`Utente ${c.data.email} bloccato.`:`Utente ${c.data.email} sbloccato.`}),await Ce()}catch(h){z(h)}finally{a.value=!1}}async function W(h){const c=await Cr(h);if(c.error)throw new Error(c.error);return c.data}function z(h){t.notify({type:"negative",message:h instanceof Error?h.message:String(h)})}return(h,c)=>(re(),Me(pr,{class:"users-page"},{default:E(()=>[k("div",so,[k("header",uo,[c[37]||(c[37]=k("div",null,[k("p",{class:"eyebrow"},"Admin"),k("h1",null,"Users"),k("p",{class:"subtitle"}," Gestione completa degli utenti con profilo, dettagli anagrafici e preferenze. ")],-1)),k("div",co,[y(de,{flat:"",color:"primary",icon:"refresh",label:"Aggiorna",loading:i.value,onClick:Ce},null,8,["loading"]),y(de,{color:"primary",icon:"person_add",label:"Nuovo utente",onClick:Xe})])]),y(St,{flat:"",bordered:"",class:"users-card"},{default:E(()=>[y(Ie,{class:"toolbar"},{default:E(()=>[y(ce,{modelValue:l.value,"onUpdate:modelValue":c[0]||(c[0]=m=>l.value=m),outlined:"",dense:"",clearable:"",debounce:"200",placeholder:"Cerca per nome, email, ruoli, lingua",class:"toolbar-search"},{prepend:E(()=>[y(_e,{name:"search"})]),_:1},8,["modelValue"])]),_:1}),y(vt),y(Gr,{flat:"",rows:d.value,columns:N,"row-key":"uuid",loading:i.value,filter:l.value,pagination:L.value,"onUpdate:pagination":c[1]||(c[1]=m=>L.value=m),"rows-per-page-options":[10,20,50,100],onRequest:wt,"binary-state-sort":"","wrap-cells":""},{"body-cell-name":E(m=>[y(ft,{props:m},{default:E(()=>[k("div",fo,[k("div",ho,[m.row.avatar?(re(),Ee("img",{key:0,src:m.row.avatar,alt:m.row.name},null,8,vo)):(re(),Ee("span",mo,ue(We(m.row)),1))]),k("div",go,[k("div",po,ue(m.row.name),1),k("div",bo,ue(m.row.email),1)])])]),_:2},1032,["props"])]),"body-cell-status":E(m=>[y(ft,{props:m},{default:E(()=>[y(qa,{color:Qe(m.row.status),"text-color":"white",label:m.row.status},null,8,["color","label"])]),_:2},1032,["props"])]),"body-cell-roles":E(m=>[y(ft,{props:m},{default:E(()=>[k("div",wo,[(re(!0),Ee(or,null,lr(m.row.roles,K=>(re(),Me(qa,{key:`${m.row.uuid}-${K}`,color:"blue-8","text-color":"white",label:K},null,8,["label"]))),128))])]),_:2},1032,["props"])]),"body-cell-details":E(m=>[y(ft,{props:m},{default:E(()=>[k("div",null,ue(Be(m.row)),1),k("div",yo,ue(m.row.details?.city||"Nessuna citta"),1)]),_:2},1032,["props"])]),"body-cell-preferences":E(m=>[y(ft,{props:m},{default:E(()=>[k("div",null,ue(m.row.preferences?.language||"n/a"),1),k("div",xo," Idle: "+ue(m.row.preferences?.useIdle?"on":"off"),1)]),_:2},1032,["props"])]),"body-cell-actions":E(m=>[y(ft,{props:m,class:"actions-cell"},{default:E(()=>[y(de,{flat:"",round:"",dense:"",icon:"more_vert",color:"grey-8"},{default:E(()=>[y(hr,{anchor:"bottom right",self:"top right"},{default:E(()=>[y(hi,{dense:"",class:"user-action-menu"},{default:E(()=>[Ae((re(),Me(Tt,{clickable:"",onClick:K=>Ye(m.row.uuid)},{default:E(()=>[y(Ne,{avatar:""},{default:E(()=>[y(_e,{name:"visibility"})]),_:1}),y(Ne,null,{default:E(()=>[...c[38]||(c[38]=[_t("Show",-1)])]),_:1})]),_:1},8,["onClick"])),[[Ue]]),Ae((re(),Me(Tt,{clickable:"",onClick:K=>De(m.row.uuid)},{default:E(()=>[y(Ne,{avatar:""},{default:E(()=>[y(_e,{name:"edit"})]),_:1}),y(Ne,null,{default:E(()=>[...c[39]||(c[39]=[_t("Edit",-1)])]),_:1})]),_:1},8,["onClick"])),[[Ue]]),Ae((re(),Me(Tt,{clickable:"",onClick:K=>Ge(m.row.uuid)},{default:E(()=>[y(Ne,{avatar:""},{default:E(()=>[y(_e,{name:"add_a_photo"})]),_:1}),y(Ne,null,{default:E(()=>[...c[40]||(c[40]=[_t("Edit avatar",-1)])]),_:1})]),_:1},8,["onClick"])),[[Ue]]),Ae((re(),Me(Tt,{clickable:"",onClick:K=>it(m.row.uuid)},{default:E(()=>[y(Ne,{avatar:""},{default:E(()=>[y(_e,{name:"password"})]),_:1}),y(Ne,null,{default:E(()=>[...c[41]||(c[41]=[_t("Change password",-1)])]),_:1})]),_:1},8,["onClick"])),[[Ue]]),Ae((re(),Me(Tt,{clickable:"",onClick:K=>X(m.row)},{default:E(()=>[y(Ne,{avatar:""},{default:E(()=>[y(_e,{name:m.row.status===Dt(Je).UserStatusDisabled?"lock_open":"block",color:m.row.status===Dt(Je).UserStatusDisabled?"positive":"negative"},null,8,["name","color"])]),_:2},1024),y(Ne,null,{default:E(()=>[_t(ue(m.row.status===Dt(Je).UserStatusDisabled?"Unblock user":"Block user"),1)]),_:2},1024)]),_:2},1032,["onClick"])),[[Ue]])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["props"])]),"no-data":E(()=>[...c[42]||(c[42]=[k("div",{class:"full-width row flex-center q-pa-lg text-grey-7"}," Nessun utente disponibile. ",-1)])]),_:1},8,["rows","loading","filter","pagination"])]),_:1})]),y(Ut,{modelValue:n.value,"onUpdate:modelValue":c[30]||(c[30]=m=>n.value=m)},{default:E(()=>[y(St,{class:"editor-card modal-card"},{default:E(()=>[y(gr,{class:"form-grid",onSubmit:sr(ut,["prevent"])},{default:E(()=>[y(Ie,{class:"editor-header"},{default:E(()=>[k("div",Co,[k("div",So,[k("div",_o,ue(u.value==="create"?"Nuovo utente":u.value==="edit"?"Modifica utente":"Dettaglio utente"),1),k("div",Do,ue(p.name||"Profilo utente"),1),k("div",To,ue(p.email||"Compila i dati di base"),1)])]),k("div",Po,[Ae(y(de,{flat:"",color:"white",label:"Chiudi"},null,512),[[Ue]]),u.value!=="view"?(re(),Me(de,{key:0,color:"white","text-color":"primary",unelevated:"",loading:a.value,label:u.value==="create"?"Crea utente":"Salva modifiche",type:"submit"},null,8,["loading","label"])):aa("",!0)]),y(rn,{modelValue:v.value,"onUpdate:modelValue":c[2]||(c[2]=m=>v.value=m),dense:"",align:"left","inline-label":"","active-color":"primary","indicator-color":"primary",class:"editor-tabs"},{default:E(()=>[y(ra,{name:"account",icon:"person",label:"Account"}),y(ra,{name:"details",icon:"badge",label:"Details"}),y(ra,{name:"preferences",icon:"tune",label:"Preferences"})]),_:1},8,["modelValue"])]),_:1}),y(vt),y(Ie,{class:"editor-body"},{default:E(()=>[y(fn,{modelValue:v.value,"onUpdate:modelValue":c[29]||(c[29]=m=>v.value=m),animated:"",class:"editor-panels"},{default:E(()=>[y(na,{name:"account"},{default:E(()=>[k("section",Mo,[c[44]||(c[44]=k("h2",null,"Account",-1)),k("div",ko,[y(ce,{modelValue:p.name,"onUpdate:modelValue":c[3]||(c[3]=m=>p.name=m),outlined:"",label:"Nome",readonly:u.value==="view"},null,8,["modelValue","readonly"]),y(ce,{modelValue:p.email,"onUpdate:modelValue":c[4]||(c[4]=m=>p.email=m),outlined:"",label:"Email",type:"email",readonly:u.value==="view"},null,8,["modelValue","readonly"]),u.value==="create"?(re(),Me(ce,{key:0,modelValue:p.password,"onUpdate:modelValue":c[5]||(c[5]=m=>p.password=m),outlined:"",label:"Password",type:"password",hint:"Minimo 8 caratteri"},null,8,["modelValue"])):aa("",!0),u.value!=="create"?(re(),Ee("div",Eo,[k("div",Ro,[p.avatar?(re(),Ee("img",{key:0,src:p.avatar,alt:p.name},null,8,No)):(re(),Ee("span",Ao,ue(We(p)),1))]),k("div",Oo,[c[43]||(c[43]=k("div",{class:"text-subtitle2"},"Avatar",-1)),k("div",Vo,ue(p.avatar?"Avatar profilo impostato":"Nessun avatar impostato"),1)]),u.value==="edit"?(re(),Me(de,{key:0,flat:"",color:"primary",icon:"add_a_photo",label:"Modifica",onClick:c[6]||(c[6]=m=>Ge(p.uuid))})):aa("",!0)])):(re(),Me(ce,{key:2,modelValue:p.avatar,"onUpdate:modelValue":c[7]||(c[7]=m=>p.avatar=m),outlined:"",label:"Avatar URL"},null,8,["modelValue"])),y(Wt,{modelValue:p.status,"onUpdate:modelValue":c[8]||(c[8]=m=>p.status=m),outlined:"",label:"Status",options:Dt(ee),readonly:u.value==="view"},null,8,["modelValue","options","readonly"]),y(Wt,{modelValue:p.roles,"onUpdate:modelValue":c[9]||(c[9]=m=>p.roles=m),outlined:"",multiple:"","use-input":"","use-chips":"","new-value-mode":"add-unique",label:"Roles",options:Y,readonly:u.value==="view"},null,8,["modelValue","readonly"]),y(Wt,{modelValue:p.types,"onUpdate:modelValue":c[10]||(c[10]=m=>p.types=m),outlined:"",multiple:"","use-input":"","use-chips":"","new-value-mode":"add-unique",label:"Types",options:oe,readonly:u.value==="view"},null,8,["modelValue","readonly"])])])]),_:1}),y(na,{name:"details"},{default:E(()=>[k("section",qo,[k("div",Lo,[c[45]||(c[45]=k("h2",null,"Details",-1)),y(Ze,{modelValue:f.value,"onUpdate:modelValue":c[11]||(c[11]=m=>f.value=m),label:"Abilita details",disable:u.value==="view"},null,8,["modelValue","disable"])]),k("div",{class:ca(["section-grid",{disabled:!f.value}])},[y(ce,{modelValue:p.details.title,"onUpdate:modelValue":c[12]||(c[12]=m=>p.details.title=m),outlined:"",label:"Title",disable:!f.value||u.value==="view"},null,8,["modelValue","disable"]),y(ce,{modelValue:p.details.firstName,"onUpdate:modelValue":c[13]||(c[13]=m=>p.details.firstName=m),outlined:"",label:"First name",disable:!f.value||u.value==="view"},null,8,["modelValue","disable"]),y(ce,{modelValue:p.details.lastName,"onUpdate:modelValue":c[14]||(c[14]=m=>p.details.lastName=m),outlined:"",label:"Last name",disable:!f.value||u.value==="view"},null,8,["modelValue","disable"]),y(ce,{modelValue:p.details.phone,"onUpdate:modelValue":c[15]||(c[15]=m=>p.details.phone=m),outlined:"",label:"Phone",disable:!f.value||u.value==="view"},null,8,["modelValue","disable"]),y(ce,{modelValue:p.details.address,"onUpdate:modelValue":c[16]||(c[16]=m=>p.details.address=m),outlined:"",label:"Address",class:"span-2",disable:!f.value||u.value==="view"},null,8,["modelValue","disable"]),y(ce,{modelValue:p.details.city,"onUpdate:modelValue":c[17]||(c[17]=m=>p.details.city=m),outlined:"",label:"City",disable:!f.value||u.value==="view"},null,8,["modelValue","disable"]),y(ce,{modelValue:p.details.zipCode,"onUpdate:modelValue":c[18]||(c[18]=m=>p.details.zipCode=m),outlined:"",label:"Zip code",disable:!f.value||u.value==="view"},null,8,["modelValue","disable"]),y(ce,{modelValue:p.details.country,"onUpdate:modelValue":c[19]||(c[19]=m=>p.details.country=m),outlined:"",label:"Country",disable:!f.value||u.value==="view"},null,8,["modelValue","disable"])],2)])]),_:1}),y(na,{name:"preferences"},{default:E(()=>[k("section",Bo,[k("div",Io,[c[46]||(c[46]=k("h2",null,"Preferences",-1)),y(Ze,{modelValue:w.value,"onUpdate:modelValue":c[20]||(c[20]=m=>w.value=m),label:"Abilita preferences",disable:u.value==="view"},null,8,["modelValue","disable"])]),k("div",{class:ca(["section-grid",{disabled:!w.value}])},[y(ce,{modelValue:p.preferences.language,"onUpdate:modelValue":c[21]||(c[21]=m=>p.preferences.language=m),outlined:"",label:"Language",disable:!w.value||u.value==="view"},null,8,["modelValue","disable"]),y(ce,{modelValue:p.preferences.idleTimeout,"onUpdate:modelValue":c[22]||(c[22]=m=>p.preferences.idleTimeout=m),modelModifiers:{number:!0},outlined:"",type:"number",label:"Idle timeout",disable:!w.value||u.value==="view"},null,8,["modelValue","disable"]),y(ce,{modelValue:p.preferences.idlePin,"onUpdate:modelValue":c[23]||(c[23]=m=>p.preferences.idlePin=m),outlined:"",label:"Idle pin",disable:!w.value||u.value==="view"},null,8,["modelValue","disable"]),y(Ze,{modelValue:p.preferences.useIdle,"onUpdate:modelValue":c[24]||(c[24]=m=>p.preferences.useIdle=m),label:"Use idle",disable:!w.value||u.value==="view"},null,8,["modelValue","disable"]),y(Ze,{modelValue:p.preferences.useIdlePassword,"onUpdate:modelValue":c[25]||(c[25]=m=>p.preferences.useIdlePassword=m),label:"Use idle password",disable:!w.value||u.value==="view"},null,8,["modelValue","disable"]),y(Ze,{modelValue:p.preferences.useDirectLogin,"onUpdate:modelValue":c[26]||(c[26]=m=>p.preferences.useDirectLogin=m),label:"Use direct login",disable:!w.value||u.value==="view"},null,8,["modelValue","disable"]),y(Ze,{modelValue:p.preferences.useQuadcodeLogin,"onUpdate:modelValue":c[27]||(c[27]=m=>p.preferences.useQuadcodeLogin=m),label:"Use quadcode login",disable:!w.value||u.value==="view"},null,8,["modelValue","disable"]),y(Ze,{modelValue:p.preferences.sendNoticesMail,"onUpdate:modelValue":c[28]||(c[28]=m=>p.preferences.sendNoticesMail=m),label:"Send notices mail",disable:!w.value||u.value==="view"},null,8,["modelValue","disable"])],2)])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),y(Ut,{modelValue:r.value,"onUpdate:modelValue":c[33]||(c[33]=m=>r.value=m)},{default:E(()=>[y(St,{class:"password-card modal-card"},{default:E(()=>[y(Ie,null,{default:E(()=>[c[47]||(c[47]=k("div",{class:"text-overline text-primary"},"Change password",-1)),k("div",Uo,ue(D.value||"User"),1)]),_:1}),y(vt),y(Ie,{class:"password-grid"},{default:E(()=>[y(ce,{modelValue:H.password,"onUpdate:modelValue":c[31]||(c[31]=m=>H.password=m),outlined:"",type:"password",label:"New password",hint:"Minimo 8 caratteri"},null,8,["modelValue"]),y(ce,{modelValue:H.confirmPassword,"onUpdate:modelValue":c[32]||(c[32]=m=>H.confirmPassword=m),outlined:"",type:"password",label:"Confirm password"},null,8,["modelValue"])]),_:1}),y(Va,{align:"right"},{default:E(()=>[Ae(y(de,{flat:"",color:"grey-7",label:"Chiudi"},null,512),[[Ue]]),y(de,{color:"primary",label:"Salva password",loading:a.value,onClick:ct},null,8,["loading"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),y(Ut,{modelValue:o.value,"onUpdate:modelValue":c[35]||(c[35]=m=>o.value=m)},{default:E(()=>[y(St,{class:"password-card modal-card"},{default:E(()=>[y(Ie,null,{default:E(()=>[c[48]||(c[48]=k("div",{class:"text-overline text-primary"},"User access",-1)),k("div",jo,ue(C.email||"User"),1),k("div",zo," Stato attuale: "+ue(C.status||"n/a"),1)]),_:1}),y(vt),y(Ie,{class:"password-grid"},{default:E(()=>[y(Ze,{modelValue:O.value,"onUpdate:modelValue":c[34]||(c[34]=m=>O.value=m),"checked-icon":"block","unchecked-icon":"lock_open",color:"negative",label:O.value?"Utente bloccato":"Utente attivo"},null,8,["modelValue","label"]),k("div",$o,ue(O.value?"L’utente non potra piu accedere finche non verra sbloccato.":"L’utente potra accedere normalmente."),1)]),_:1}),y(Va,{align:"right"},{default:E(()=>[Ae(y(de,{flat:"",color:"grey-7",label:"Chiudi"},null,512),[[Ue]]),y(de,{color:"primary",loading:a.value,label:O.value?"Salva blocco":"Salva sblocco",onClick:G},null,8,["loading","label"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),y(Ut,{modelValue:s.value,"onUpdate:modelValue":c[36]||(c[36]=m=>s.value=m)},{default:E(()=>[y(St,{class:"editor-card modal-card"},{default:E(()=>[y(Ie,{class:"editor-header"},{default:E(()=>[k("div",Fo,[k("div",Ho,[c[49]||(c[49]=k("div",{class:"text-overline"},"Avatar editor",-1)),k("div",Wo,ue(B.email||"User avatar"),1),c[50]||(c[50]=k("div",{class:"text-caption"},"Ritaglio circolare per il profilo utente",-1))])]),k("div",Qo,[Ae(y(de,{flat:"",color:"white",label:"Chiudi"},null,512),[[Ue]]),y(de,{color:"white","text-color":"primary",unelevated:"",disable:!A.value,loading:a.value,label:"Salva avatar",onClick:j},null,8,["disable","loading"])])]),_:1}),y(vt),y(Ie,{class:"avatar-editor-body"},{default:E(()=>[k("div",Xo,[k("input",{ref_key:"avatarFileInputRef",ref:V,class:"visually-hidden",type:"file",accept:"image/*",onChange:_},null,544),y(de,{color:"primary",icon:"upload",label:"Carica immagine",onClick:Ke}),k("div",Yo,ue(T.value?.name||"Nessun file selezionato"),1),y(de,{flat:"",color:"primary",icon:"restart_alt",label:"Reset crop",disable:!A.value,onClick:R},null,8,["disable"])]),k("div",Go,[k("div",Ko,[A.value?(re(),Ee("div",Zo,[y(Dt(lo),{ref_key:"avatarCropperRef",ref:q,img:A.value,"box-style":ve,options:be,"preset-mode":he},null,8,["img"])])):(re(),Ee("div",Jo," Seleziona un’immagine per modificare l’avatar. "))]),k("div",el,[c[51]||(c[51]=k("div",{class:"avatar-preview-title"},"Anteprima",-1)),k("div",tl,[b.value?(re(),Ee("img",{key:0,src:b.value,alt:"Avatar preview"},null,8,al)):(re(),Ee("span",il,"No avatar"))])])])]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}))}}),yl=Sr(rl,[["__scopeId","data-v-d2d94a40"]]);export{yl as default}; diff --git a/backend/internal/http/static/spa/assets/format-BipdGd1G.js b/backend/internal/http/static/spa/assets/format-DaKpMo2W.js similarity index 87% rename from backend/internal/http/static/spa/assets/format-BipdGd1G.js rename to backend/internal/http/static/spa/assets/format-DaKpMo2W.js index f8a2c24..7889988 100644 --- a/backend/internal/http/static/spa/assets/format-BipdGd1G.js +++ b/backend/internal/http/static/spa/assets/format-DaKpMo2W.js @@ -1 +1 @@ -import{L as v,M as c,a1 as q,D as u,bh as w,ag as I,$ as E,bi as Q,C as f,aK as S,a2 as K,ao as R,an as $}from"./index-B9vdjdfJ.js";const D=v({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:a}){const n=u(()=>parseInt(e.lines,10)),i=u(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(n.value===1?" ellipsis":"")),l=u(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>c("div",{style:l.value,class:i.value},q(a.default))}}),M=v({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:a}){const n=u(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>c("div",{class:n.value},q(a.default))}}),j=v({name:"QItem",props:{...I,...w,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:a,emit:n}){const{proxy:{$q:i}}=E(),l=$(e,i),{hasLink:d,linkAttrs:k,linkClass:h,linkTag:_,navigateOnClick:y}=Q(),o=f(null),r=f(null),m=u(()=>e.clickable===!0||d.value===!0||e.tag==="label"),s=u(()=>e.disable!==!0&&m.value===!0),g=u(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(l.value===!0?" q-item--dark":"")+(d.value===!0&&e.active===null?h.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(s.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),B=u(()=>e.insetLevel===void 0?null:{["padding"+(i.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function x(t){s.value===!0&&(r.value!==null&&t.qAvoidFocus!==!0&&(t.qKeyEvent!==!0&&document.activeElement===o.value?r.value.focus():document.activeElement===r.value&&o.value.focus()),y(t))}function C(t){if(s.value===!0&&S(t,[13,32])===!0){K(t),t.qKeyEvent=!0;const b=new MouseEvent("click",t);b.qKeyEvent=!0,o.value.dispatchEvent(b)}n("keyup",t)}function L(){const t=R(a.default,[]);return s.value===!0&&t.unshift(c("div",{class:"q-focus-helper",tabindex:-1,ref:r})),t}return()=>{const t={ref:o,class:g.value,style:B.value,role:"listitem",onClick:x,onKeyup:C};return s.value===!0?(t.tabindex=e.tabindex||"0",Object.assign(t,k.value)):m.value===!0&&(t["aria-disabled"]="true"),c(_.value,t,L())}}});function F(e,a,n){return n<=a?a:Math.min(n,Math.max(a,e))}function N(e,a,n){if(n<=a)return a;const i=n-a+1;let l=a+(e-a)%i;return lparseInt(e.lines,10)),i=u(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(n.value===1?" ellipsis":"")),l=u(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>c("div",{style:l.value,class:i.value},q(a.default))}}),M=v({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:a}){const n=u(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>c("div",{class:n.value},q(a.default))}}),j=v({name:"QItem",props:{...I,...w,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:a,emit:n}){const{proxy:{$q:i}}=E(),l=$(e,i),{hasLink:d,linkAttrs:k,linkClass:h,linkTag:_,navigateOnClick:y}=Q(),o=f(null),r=f(null),m=u(()=>e.clickable===!0||d.value===!0||e.tag==="label"),s=u(()=>e.disable!==!0&&m.value===!0),g=u(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(l.value===!0?" q-item--dark":"")+(d.value===!0&&e.active===null?h.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(s.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),B=u(()=>e.insetLevel===void 0?null:{["padding"+(i.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function x(t){s.value===!0&&(r.value!==null&&t.qAvoidFocus!==!0&&(t.qKeyEvent!==!0&&document.activeElement===o.value?r.value.focus():document.activeElement===r.value&&o.value.focus()),y(t))}function L(t){if(s.value===!0&&S(t,[13,32])===!0){K(t),t.qKeyEvent=!0;const b=new MouseEvent("click",t);b.qKeyEvent=!0,o.value.dispatchEvent(b)}n("keyup",t)}function C(){const t=R(a.default,[]);return s.value===!0&&t.unshift(c("div",{class:"q-focus-helper",tabindex:-1,ref:r})),t}return()=>{const t={ref:o,class:g.value,style:B.value,role:"listitem",onClick:x,onKeyup:L};return s.value===!0?(t.tabindex=e.tabindex||"0",Object.assign(t,k.value)):m.value===!0&&(t["aria-disabled"]="true"),c(_.value,t,C())}}});function F(e,a,n){return n<=a?a:Math.min(n,Math.max(a,e))}function N(e,a,n){if(n<=a)return a;const i=n-a+1;let l=a+(e-a)%i;return l{const i=o({locale:t(a()),messages:g});e.use(i)});export{h as default}; +import{d as n,c as o,r as t,l as a}from"./index-DAvBaevK.js";const s={app:{title:"Quasar App",menu:"Menue",links:"Links",home:"Startseite",devSection:"Entwicklungsbereich"},language:{it:"Italienisch",en:"Englisch",en_us:"Englisch USA",de:"Deutsch",de_ch:"Deutsch CH",fr:"Franzoesisch",fr_ch:"Franzoesisch CH"},home:{welcome:"Willkommen!",cardTitle:"Unser sich verandernder Planet",cardSubtitle:"von John Doe",imageTitle:"Titel",imageSubhead:"Untertitel",action1:"Aktion 1",action2:"Aktion 2",lorem:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},dev:{apiEndpointsTester:"API Endpoints Tester",mailDebug:"Mail Debug"},error:{notFound:"Hoppla. Hier gibt es nichts...",goHome:"Zur Startseite"},common:{failed:"Aktion fehlgeschlagen",success:"Aktion erfolgreich"}},c={app:{title:"Quasar App",menu:"Menue",links:"Links",home:"Startseite",devSection:"Entwicklungsbereich"},language:{it:"Italienisch",en:"Englisch",en_us:"Englisch USA",de:"Deutsch",de_ch:"Deutsch CH",fr:"Franzoesisch",fr_ch:"Franzoesisch CH"},home:{welcome:"Willkommen!",cardTitle:"Unser sich verandernder Planet",cardSubtitle:"von John Doe",imageTitle:"Titel",imageSubhead:"Untertitel",action1:"Aktion 1",action2:"Aktion 2",lorem:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},dev:{apiEndpointsTester:"API Endpoints Tester",mailDebug:"Mail Debug"},error:{notFound:"Hoppla. Hier gibt es nichts...",goHome:"Zur Startseite"},common:{failed:"Aktion fehlgeschlagen",success:"Aktion erfolgreich"}},l={app:{title:"Quasar App",menu:"Menu",links:"Links",home:"Home",devSection:"Development section"},language:{it:"Italiano",en:"English",en_us:"English USA",de:"Deutsch",de_ch:"Deutsch CH",fr:"Francais",fr_ch:"Francais CH"},home:{welcome:"Welcome!",cardTitle:"Our Changing Planet",cardSubtitle:"by John Doe",imageTitle:"Title",imageSubhead:"Subhead",action1:"Action 1",action2:"Action 2",lorem:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},dev:{apiEndpointsTester:"API Endpoints Tester",mailDebug:"Mail Debug"},error:{notFound:"Oops. Nothing here...",goHome:"Go Home"},common:{failed:"Action failed",success:"Action was successful"}},r={app:{title:"Quasar App",menu:"Menu",links:"Links",home:"Home",devSection:"Development section"},language:{it:"Italian",en:"English",en_us:"English USA",de:"German",de_ch:"German CH",fr:"French",fr_ch:"French CH"},home:{welcome:"Welcome!",cardTitle:"Our Changing Planet",cardSubtitle:"by John Doe",imageTitle:"Title",imageSubhead:"Subhead",action1:"Action 1",action2:"Action 2",lorem:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},dev:{apiEndpointsTester:"API Endpoints Tester",mailDebug:"Mail Debug"},error:{notFound:"Oops. Nothing here...",goHome:"Go Home"},common:{failed:"Action failed",success:"Action was successful"}},u={app:{title:"Quasar App",menu:"Menu",links:"Liens",home:"Accueil",devSection:"Section developpement"},language:{it:"Italien",en:"Anglais",en_us:"Anglais USA",de:"Allemand",de_ch:"Allemand CH",fr:"Francais",fr_ch:"Francais CH"},home:{welcome:"Bienvenue !",cardTitle:"Notre planete en mutation",cardSubtitle:"par John Doe",imageTitle:"Titre",imageSubhead:"Sous-titre",action1:"Action 1",action2:"Action 2",lorem:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},dev:{apiEndpointsTester:"Testeur API Endpoints",mailDebug:"Debug Mail"},error:{notFound:"Oups. Rien ici...",goHome:"Retour accueil"},common:{failed:"Action echouee",success:"Action reussie"}},d={app:{title:"Quasar App",menu:"Menu",links:"Liens",home:"Accueil",devSection:"Section developpement"},language:{it:"Italien",en:"Anglais",en_us:"Anglais USA",de:"Allemand",de_ch:"Allemand CH",fr:"Francais",fr_ch:"Francais CH"},home:{welcome:"Bienvenue !",cardTitle:"Notre planete en mutation",cardSubtitle:"par John Doe",imageTitle:"Titre",imageSubhead:"Sous-titre",action1:"Action 1",action2:"Action 2",lorem:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},dev:{apiEndpointsTester:"Testeur API Endpoints",mailDebug:"Debug Mail"},error:{notFound:"Oups. Rien ici...",goHome:"Retour accueil"},common:{failed:"Action echouee",success:"Action reussie"}},m={app:{title:"Quasar App",menu:"Menu",links:"Link",home:"Home",devSection:"Sezione sviluppo"},language:{it:"Italiano",en:"English",en_us:"English USA",de:"Deutsch",de_ch:"Deutsch CH",fr:"Francais",fr_ch:"Francais CH"},home:{welcome:"Benvenuto!",cardTitle:"Il nostro pianeta che cambia",cardSubtitle:"di John Doe",imageTitle:"Titolo",imageSubhead:"Sottotitolo",action1:"Azione 1",action2:"Azione 2",lorem:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},dev:{apiEndpointsTester:"Tester API Endpoints",mailDebug:"Debug Mail"},error:{notFound:"Ops. Non c e nulla qui...",goHome:"Torna alla Home"},common:{failed:"Azione fallita",success:"Azione completata con successo"}},g={it:m,en:l,en_us:r,de:s,de_ch:c,fr:u,fr_ch:d},h=n(({app:e})=>{const i=o({locale:t(a()),messages:g});e.use(i)});export{h as default}; diff --git a/backend/internal/http/static/spa/assets/index-B9vdjdfJ.js b/backend/internal/http/static/spa/assets/index-DAvBaevK.js similarity index 98% rename from backend/internal/http/static/spa/assets/index-B9vdjdfJ.js rename to backend/internal/http/static/spa/assets/index-DAvBaevK.js index 2293503..41e3025 100644 --- a/backend/internal/http/static/spa/assets/index-B9vdjdfJ.js +++ b/backend/internal/http/static/spa/assets/index-DAvBaevK.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MainLayout-BlbPIMKP.js","assets/QLayout-BeBUeNGB.js","assets/QResizeObserver-CyV47ipF.js","assets/QTooltip-D2MBGu_Z.js","assets/position-engine-CFuXolvx.js","assets/selection-HrszS3Ie.js","assets/format-BipdGd1G.js","assets/QSelect-B-H7KBd7.js","assets/QToolbar-k3h3juC8.js","assets/ClosePopup-B5ubkw_-.js","assets/api-RGUeM09o.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/MainLayout-CrFccAPR.css","assets/IndexPage-xIT21-b4.js","assets/QPage-D3501MqH.js","assets/HomeHeader-F2sD99DF.js","assets/HomeHeader-CzzvZK70.css","assets/IndexPage-DnAgFSQ-.css","assets/AboutUsPage-Bwj-ymKd.js","assets/team-1-CMaNLVo5.js","assets/team-4-BDlfXLz_.js","assets/AboutUsPage-BH0yEEbx.css","assets/ServicesPage-C1Wj__Px.js","assets/ServicesPage-DAWy2Xhp.css","assets/DoctorsPage-CbYjO5rH.js","assets/DoctorsPage-DHzbb8aG.css","assets/DoctorDetailPage-BUBFnryG.js","assets/QLinearProgress-DPykyK-Y.js","assets/QForm-uiBLv4qC.js","assets/DoctorDetailPage-Cjwb6JKF.css","assets/ContactUsPage-CGgRgy8m.js","assets/ContactUsPage-B5Y6EbXq.css","assets/LoginPage-ClfsMK2o.js","assets/use-quasar-BoyshCFo.js","assets/LoginPage-BZ9IbcZT.css","assets/SignupPage-BnglUC4l.js","assets/SignupPage-BdSQ-zc-.css","assets/RecoverPasswordPage-Bh9nckCd.js","assets/RecoverPasswordPage-DrvyyIKj.css","assets/DevLayout-CXkxSOTr.js","assets/QDrawer-BR2j4Akr.js","assets/touch-BjYP5sR0.js","assets/IndexPage-CWe5wEqb.js","assets/ResetPasswordPage-bCDSDRjo.js","assets/ResetPasswordPage-DMBJffyk.css","assets/ApiEndpointsPage-C6oIckuV.js","assets/QBadge-DHHd1R2R.js","assets/ApiEndpointsPage-gOL3JcKs.css","assets/MailDebugPage-DwRhtT-c.js","assets/MailDebugPage-_Fae84OI.css","assets/AdminLayout-e_bAwum9.js","assets/IndexPage-DE6ucgFI.js","assets/IndexPage-JYcDosFI.css","assets/UsersPage-Cq7pEaZT.js","assets/UsersPage-CyhBpEuA.css"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MainLayout-BqadnCMs.js","assets/QLayout-DZVoSyXn.js","assets/QResizeObserver-CenQZ1Fm.js","assets/logo-DdmK5n0b.js","assets/position-engine-BHgB6lrx.js","assets/selection-DrSF90ET.js","assets/format-DaKpMo2W.js","assets/QSelect-Bmx_AjWr.js","assets/QToolbar-DdNWxglI.js","assets/ClosePopup-DV5_zFD6.js","assets/api-RGUeM09o.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/MainLayout-BUVfGOmu.css","assets/IndexPage-qHfbNmL8.js","assets/QPage-B68JuyjH.js","assets/HomeHeader-oAwoUp8W.js","assets/HomeHeader-CzzvZK70.css","assets/IndexPage-DnAgFSQ-.css","assets/AboutUsPage-2zvnAMYl.js","assets/team-1-CMaNLVo5.js","assets/team-4-BDlfXLz_.js","assets/AboutUsPage-BH0yEEbx.css","assets/ServicesPage-CEUh_7ZB.js","assets/ServicesPage-DAWy2Xhp.css","assets/DoctorsPage-Mx2NaaFf.js","assets/DoctorsPage-DHzbb8aG.css","assets/DoctorDetailPage-DNWM4IpO.js","assets/QLinearProgress-BW3XWqZ_.js","assets/QForm-CgLsd63I.js","assets/DoctorDetailPage-Cjwb6JKF.css","assets/ContactUsPage-B3eNo5Fm.js","assets/ContactUsPage-B5Y6EbXq.css","assets/LoginPage-BgmpoZun.js","assets/use-quasar-B5tVCAcV.js","assets/LoginPage-BZ9IbcZT.css","assets/SignupPage-B_w5JCSL.js","assets/SignupPage-BdSQ-zc-.css","assets/RecoverPasswordPage-CJDwxHNJ.js","assets/RecoverPasswordPage-DrvyyIKj.css","assets/DevLayout-6orPgqWc.js","assets/QDrawer-1VLwP6kh.js","assets/touch-BjYP5sR0.js","assets/IndexPage-DfNuzFub.js","assets/ResetPasswordPage-DC-tQ0cd.js","assets/ResetPasswordPage-DMBJffyk.css","assets/ApiEndpointsPage-JesCyaiy.js","assets/QBadge-2h1D8yZx.js","assets/ApiEndpointsPage-gOL3JcKs.css","assets/MailDebugPage-DxWNUslA.js","assets/MailDebugPage-_Fae84OI.css","assets/AdminLayout-DN9f9DOf.js","assets/IndexPage-HuzieOt1.js","assets/IndexPage-JYcDosFI.css","assets/UsersPage-COHOm8T7.js","assets/UsersPage-CyhBpEuA.css"])))=>i.map(i=>d[i]); const Dd=(function(){const t=typeof document<"u"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"})(),$d=function(e){return"/"+e},Sl={},Ne=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let a=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");o=a(n.map(u=>{if(u=$d(u),u in Sl)return;Sl[u]=!0;const c=u.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":Dd,c||(d.as="script"),d.crossOrigin="",d.href=u,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((g,y)=>{d.addEventListener("load",g),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return o.then(i=>{for(const l of i||[])l.status==="rejected"&&s(l.reason);return t().catch(s)})};function Bi(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ce={},lr=[],jt=()=>{},Vu=()=>!1,Xo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ji=e=>e.startsWith("onUpdate:"),De=Object.assign,Ui=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Fd=Object.prototype.hasOwnProperty,_e=(e,t)=>Fd.call(e,t),se=Array.isArray,ar=e=>vr(e)==="[object Map]",Bu=e=>vr(e)==="[object Set]",kl=e=>vr(e)==="[object Date]",qd=e=>vr(e)==="[object RegExp]",ae=e=>typeof e=="function",xe=e=>typeof e=="string",Kt=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",ju=e=>(be(e)||ae(e))&&ae(e.then)&&ae(e.catch),Uu=Object.prototype.toString,vr=e=>Uu.call(e),Vd=e=>vr(e).slice(8,-1),Hu=e=>vr(e)==="[object Object]",Jo=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lr=Bi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zo=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Bd=/-\w/g,tt=Zo(e=>e.replace(Bd,t=>t.slice(1).toUpperCase())),jd=/\B([A-Z])/g,Hn=Zo(e=>e.replace(jd,"-$1").toLowerCase()),es=Zo(e=>e.charAt(0).toUpperCase()+e.slice(1)),ys=Zo(e=>e?`on${es(e)}`:""),Bt=(e,t)=>!Object.is(e,t),Pr=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ud=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Hd=e=>{const t=xe(e)?Number(e):NaN;return isNaN(t)?e:t};let xl;const ts=()=>xl||(xl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ns(e){if(se(e)){const t={};for(let n=0;n{if(n){const r=n.split(Kd);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function rs(e){let t="";if(xe(e))t=e;else if(se(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Jd=e=>xe(e)?e:e==null?"":se(e)||be(e)&&(e.toString===Uu||!ae(e.toString))?Gu(e)?Jd(e.value):JSON.stringify(e,zu,2):String(e),zu=(e,t)=>Gu(t)?zu(e,t.value):ar(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Es(r,s)+" =>"]=o,n),{})}:Bu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Es(n))}:Kt(t)?Es(t):be(t)&&!se(t)&&!Hu(t)?String(t):t,Es=(e,t="")=>{var n;return Kt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let We;class Qu{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=We,!t&&We&&(this.index=(We.scopes||(We.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&&--this._on===0&&(We=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(Nr){let t=Nr;for(Nr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ir;){let t=Ir;for(Ir=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function ec(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function tc(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),zi(r),eh(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function ni(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(nc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function nc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Br)||(e.globalVersion=Br,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ni(e))))return;e.flags|=2;const t=e.dep,n=Se,r=At;Se=e,At=!0;try{ec(e);const o=e.fn(e._value);(t.version===0||Bt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Se=n,At=r,tc(e),e.flags&=-3}}function zi(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)zi(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function eh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let At=!0;const rc=[];function ln(){rc.push(At),At=!1}function an(){const e=rc.pop();At=e===void 0?!0:e}function Tl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Se;Se=void 0;try{t()}finally{Se=n}}}let Br=0;class th{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 Qi{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,this.__v_skip=!0}track(t){if(!Se||!At||Se===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Se)n=this.activeLink=new th(Se,this),Se.deps?(n.prevDep=Se.depsTail,Se.depsTail.nextDep=n,Se.depsTail=n):Se.deps=Se.depsTail=n,oc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Se.depsTail,n.nextDep=void 0,Se.depsTail.nextDep=n,Se.depsTail=n,Se.deps===n&&(Se.deps=r)}return n}trigger(t){this.version++,Br++,this.notify(t)}notify(t){Ki();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Gi()}}}function oc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)oc(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Io=new WeakMap,qn=Symbol(""),ri=Symbol(""),jr=Symbol("");function Ke(e,t,n){if(At&&Se){let r=Io.get(e);r||Io.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Qi),o.map=r,o.key=n),o.track()}}function en(e,t,n,r,o,s){const i=Io.get(e);if(!i){Br++;return}const l=a=>{a&&a.trigger()};if(Ki(),t==="clear")i.forEach(l);else{const a=se(e),u=a&&Jo(n);if(a&&n==="length"){const c=Number(r);i.forEach((f,d)=>{(d==="length"||d===jr||!Kt(d)&&d>=c)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(jr)),t){case"add":a?u&&l(i.get("length")):(l(i.get(qn)),ar(e)&&l(i.get(ri)));break;case"delete":a||(l(i.get(qn)),ar(e)&&l(i.get(ri)));break;case"set":ar(e)&&l(i.get(qn));break}}Gi()}function nh(e,t){const n=Io.get(e);return n&&n.get(t)}function Jn(e){const t=ue(e);return t===e?t:(Ke(t,"iterate",jr),mt(e)?t:t.map(Rt))}function os(e){return Ke(e=ue(e),"iterate",jr),e}function qt(e,t){return un(e)?cr(on(e)?Rt(t):t):Rt(t)}const rh={__proto__:null,[Symbol.iterator](){return Cs(this,Symbol.iterator,e=>qt(this,e))},concat(...e){return Jn(this).concat(...e.map(t=>se(t)?Jn(t):t))},entries(){return Cs(this,"entries",e=>(e[1]=qt(this,e[1]),e))},every(e,t){return zt(this,"every",e,t,void 0,arguments)},filter(e,t){return zt(this,"filter",e,t,n=>n.map(r=>qt(this,r)),arguments)},find(e,t){return zt(this,"find",e,t,n=>qt(this,n),arguments)},findIndex(e,t){return zt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return zt(this,"findLast",e,t,n=>qt(this,n),arguments)},findLastIndex(e,t){return zt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return zt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ss(this,"includes",e)},indexOf(...e){return Ss(this,"indexOf",e)},join(e){return Jn(this).join(e)},lastIndexOf(...e){return Ss(this,"lastIndexOf",e)},map(e,t){return zt(this,"map",e,t,void 0,arguments)},pop(){return br(this,"pop")},push(...e){return br(this,"push",e)},reduce(e,...t){return Al(this,"reduce",e,t)},reduceRight(e,...t){return Al(this,"reduceRight",e,t)},shift(){return br(this,"shift")},some(e,t){return zt(this,"some",e,t,void 0,arguments)},splice(...e){return br(this,"splice",e)},toReversed(){return Jn(this).toReversed()},toSorted(e){return Jn(this).toSorted(e)},toSpliced(...e){return Jn(this).toSpliced(...e)},unshift(...e){return br(this,"unshift",e)},values(){return Cs(this,"values",e=>qt(this,e))}};function Cs(e,t,n){const r=os(e),o=r[t]();return r!==e&&!mt(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const oh=Array.prototype;function zt(e,t,n,r,o,s){const i=os(e),l=i!==e&&!mt(e),a=i[t];if(a!==oh[t]){const f=a.apply(e,s);return l?Rt(f):f}let u=n;i!==e&&(l?u=function(f,d){return n.call(this,qt(e,f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=a.call(i,u,r);return l&&o?o(c):c}function Al(e,t,n,r){const o=os(e),s=o!==e&&!mt(e);let i=n,l=!1;o!==e&&(s?(l=r.length===0,i=function(u,c,f){return l&&(l=!1,u=qt(e,u)),n.call(this,u,qt(e,c),f,e)}):n.length>3&&(i=function(u,c,f){return n.call(this,u,c,f,e)}));const a=o[t](i,...r);return l?qt(e,a):a}function Ss(e,t,n){const r=ue(e);Ke(r,"iterate",jr);const o=r[t](...n);return(o===-1||o===!1)&&ss(n[0])?(n[0]=ue(n[0]),r[t](...n)):o}function br(e,t,n=[]){ln(),Ki();const r=ue(e)[t].apply(e,n);return Gi(),an(),r}const sh=Bi("__proto__,__v_isRef,__isVue"),sc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Kt));function ih(e){Kt(e)||(e=String(e));const t=ue(this);return Ke(t,"has",e),t.hasOwnProperty(e)}class ic{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?ph:cc:s?uc:ac).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=se(t);if(!o){let a;if(i&&(a=rh[n]))return a;if(n==="hasOwnProperty")return ih}const l=Reflect.get(t,n,Ae(t)?t:r);if((Kt(n)?sc.has(n):sh(n))||(o||Ke(t,"get",n),s))return l;if(Ae(l)){const a=i&&Jo(n)?l:l.value;return o&&be(a)?si(a):a}return be(l)?o?si(l):Wn(l):l}}class lc extends ic{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=se(t)&&Jo(n);if(!this._isShallow){const u=un(s);if(!mt(r)&&!un(r)&&(s=ue(s),r=ue(r)),!i&&Ae(s)&&!Ae(r))return u||(s.value=r),!0}const l=i?Number(n)e,ao=e=>Reflect.getPrototypeOf(e);function fh(e,t,n){return function(...r){const o=this.__v_raw,s=ue(o),i=ar(s),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=o[e](...r),c=n?oi:t?cr:Rt;return!t&&Ke(s,"iterate",a?ri:qn),De(Object.create(u),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:l?[c(f[0]),c(f[1])]:c(f),done:d}}})}}function uo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function dh(e,t){const n={get(o){const s=this.__v_raw,i=ue(s),l=ue(o);e||(Bt(o,l)&&Ke(i,"get",o),Ke(i,"get",l));const{has:a}=ao(i),u=t?oi:e?cr:Rt;if(a.call(i,o))return u(s.get(o));if(a.call(i,l))return u(s.get(l));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Ke(ue(o),"iterate",qn),o.size},has(o){const s=this.__v_raw,i=ue(s),l=ue(o);return e||(Bt(o,l)&&Ke(i,"has",o),Ke(i,"has",l)),o===l?s.has(o):s.has(o)||s.has(l)},forEach(o,s){const i=this,l=i.__v_raw,a=ue(l),u=t?oi:e?cr:Rt;return!e&&Ke(a,"iterate",qn),l.forEach((c,f)=>o.call(s,u(c),u(f),i))}};return De(n,e?{add:uo("add"),set:uo("set"),delete:uo("delete"),clear:uo("clear")}:{add(o){const s=ue(this),i=ao(s),l=ue(o),a=!t&&!mt(o)&&!un(o)?l:o;return i.has.call(s,a)||Bt(o,a)&&i.has.call(s,o)||Bt(l,a)&&i.has.call(s,l)||(s.add(a),en(s,"add",a,a)),this},set(o,s){!t&&!mt(s)&&!un(s)&&(s=ue(s));const i=ue(this),{has:l,get:a}=ao(i);let u=l.call(i,o);u||(o=ue(o),u=l.call(i,o));const c=a.call(i,o);return i.set(o,s),u?Bt(s,c)&&en(i,"set",o,s):en(i,"add",o,s),this},delete(o){const s=ue(this),{has:i,get:l}=ao(s);let a=i.call(s,o);a||(o=ue(o),a=i.call(s,o)),l&&l.call(s,o);const u=s.delete(o);return a&&en(s,"delete",o,void 0),u},clear(){const o=ue(this),s=o.size!==0,i=o.clear();return s&&en(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=fh(o,e,t)}),n}function Yi(e,t){const n=dh(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(_e(n,o)&&o in r?n:r,o,s)}const hh={get:Yi(!1,!1)},mh={get:Yi(!1,!0)},gh={get:Yi(!0,!1)};const ac=new WeakMap,uc=new WeakMap,cc=new WeakMap,ph=new WeakMap;function vh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _h(e){return e.__v_skip||!Object.isExtensible(e)?0:vh(Vd(e))}function Wn(e){return un(e)?e:Xi(e,!1,ah,hh,ac)}function fc(e){return Xi(e,!1,ch,mh,uc)}function si(e){return Xi(e,!0,uh,gh,cc)}function Xi(e,t,n,r,o){if(!be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=_h(e);if(s===0)return e;const i=o.get(e);if(i)return i;const l=new Proxy(e,s===2?r:n);return o.set(e,l),l}function on(e){return un(e)?on(e.__v_raw):!!(e&&e.__v_isReactive)}function un(e){return!!(e&&e.__v_isReadonly)}function mt(e){return!!(e&&e.__v_isShallow)}function ss(e){return e?!!e.__v_raw:!1}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function Kn(e){return!_e(e,"__v_skip")&&Object.isExtensible(e)&&Wu(e,"__v_skip",!0),e}const Rt=e=>be(e)?Wn(e):e,cr=e=>be(e)?si(e):e;function Ae(e){return e?e.__v_isRef===!0:!1}function me(e){return hc(e,!1)}function dc(e){return hc(e,!0)}function hc(e,t){return Ae(e)?e:new bh(e,t)}class bh{constructor(t,n){this.dep=new Qi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ue(t),this._value=n?t:Rt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||mt(t)||un(t);t=r?t:ue(t),Bt(t,n)&&(this._rawValue=t,this._value=r?t:Rt(t),this.dep.trigger())}}function Cn(e){return Ae(e)?e.value:e}const yh={get:(e,t,n)=>t==="__v_raw"?e:Cn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ae(o)&&!Ae(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function mc(e){return on(e)?e:new Proxy(e,yh)}function Eh(e){const t=se(e)?new Array(e.length):{};for(const n in e)t[n]=Ch(e,n);return t}class wh{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=ue(t);let o=!0,s=t;if(!se(t)||!Jo(String(n)))do o=!ss(s)||mt(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Cn(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ae(this._raw[this._key])){const n=this._object[this._key];if(Ae(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return nh(this._raw,this._key)}}function Ch(e,t,n){return new wh(e,t,n)}class Sh{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Qi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Br-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Se!==this)return Zu(this,!0),!0}get value(){const t=this.dep.track();return nc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function kh(e,t,n=!1){let r,o;return ae(e)?r=e:(r=e.get,o=e.set),new Sh(r,o,n)}const co={},No=new WeakMap;let Nn;function xh(e,t=!1,n=Nn){if(n){let r=No.get(n);r||No.set(n,r=[]),r.push(e)}}function Th(e,t,n=Ce){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:l,call:a}=n,u=v=>o?v:mt(v)||o===!1||o===0?tn(v,1):tn(v);let c,f,d,g,y=!1,C=!1;if(Ae(e)?(f=()=>e.value,y=mt(e)):on(e)?(f=()=>u(e),y=!0):se(e)?(C=!0,y=e.some(v=>on(v)||mt(v)),f=()=>e.map(v=>{if(Ae(v))return v.value;if(on(v))return u(v);if(ae(v))return a?a(v,2):v()})):ae(e)?t?f=a?()=>a(e,2):e:f=()=>{if(d){ln();try{d()}finally{an()}}const v=Nn;Nn=c;try{return a?a(e,3,[g]):e(g)}finally{Nn=v}}:f=jt,t&&o){const v=f,A=o===!0?1/0:o;f=()=>tn(v(),A)}const S=Yu(),_=()=>{c.stop(),S&&S.active&&Ui(S.effects,c)};if(s&&t){const v=t;t=(...A)=>{v(...A),_()}}let h=C?new Array(e.length).fill(co):co;const E=v=>{if(!(!(c.flags&1)||!c.dirty&&!v))if(t){const A=c.run();if(o||y||(C?A.some((P,R)=>Bt(P,h[R])):Bt(A,h))){d&&d();const P=Nn;Nn=c;try{const R=[A,h===co?void 0:C&&h[0]===co?[]:h,g];h=A,a?a(t,3,R):t(...R)}finally{Nn=P}}}else c.run()};return l&&l(E),c=new Xu(f),c.scheduler=i?()=>i(E,!1):E,g=v=>xh(v,!1,c),d=c.onStop=()=>{const v=No.get(c);if(v){if(a)a(v,4);else for(const A of v)A();No.delete(c)}},t?r?E(!0):h=c.run():i?i(E.bind(null,!0),!0):c.run(),_.pause=c.pause.bind(c),_.resume=c.resume.bind(c),_.stop=_,_}function tn(e,t=1/0,n){if(t<=0||!be(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ae(e))tn(e.value,t,n);else if(se(e))for(let r=0;r{tn(r,t,n)});else if(Hu(e)){for(const r in e)tn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&tn(e[r],t,n)}return e}function no(e,t,n,r){try{return r?e(...r):e()}catch(o){is(o,t,n)}}function Ot(e,t,n,r){if(ae(e)){const o=no(e,t,n,r);return o&&ju(o)&&o.catch(s=>{is(s,t,n)}),o}if(se(e)){const o=[];for(let s=0;s>>1,o=Je[r],s=Ur(o);s=Ur(n)?Je.push(e):Je.splice(Rh(t),0,e),e.flags|=1,pc()}}function pc(){Mo||(Mo=gc.then(_c))}function Oh(e){se(e)?ur.push(...e):vn&&e.id===-1?vn.splice(or+1,0,e):e.flags&1||(ur.push(e),e.flags|=1),pc()}function Rl(e,t,n=$t+1){for(;nUr(n)-Ur(r));if(ur.length=0,vn){vn.push(...t);return}for(vn=t,or=0;ore.id==null?e.flags&2?-1:1/0:e.id;function _c(e){try{for($t=0;$t{r._d&&Bo(-1);const s=Do(t);let i;try{i=e(...o)}finally{Do(s),r._d&&Bo(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function yc(e,t){if(ft===null)return e;const n=ds(ft),r=e.dirs||(e.dirs=[]);for(let o=0;o1)return n&&ae(t)?t.call(r&&r.proxy):t}}function Ph(){return!!(ke()||Bn)}const Ih=Symbol.for("v-scx"),Nh=()=>it(Ih);function ge(e,t,n){return Ec(e,t,n)}function Ec(e,t,n=Ce){const{immediate:r,deep:o,flush:s,once:i}=n,l=De({},n),a=t&&r||!t&&s!=="post";let u;if(Gr){if(s==="sync"){const g=Nh();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!a){const g=()=>{};return g.stop=jt,g.resume=jt,g.pause=jt,g}}const c=ze;l.call=(g,y,C)=>Ot(g,c,y,C);let f=!1;s==="post"?l.scheduler=g=>{Me(g,c&&c.suspense)}:s!=="sync"&&(f=!0,l.scheduler=(g,y)=>{y?g():Ji(g)}),l.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,c&&(g.id=c.uid,g.i=c))};const d=Th(e,t,l);return Gr&&(u?u.push(d):a&&d()),d}function Mh(e,t,n){const r=this.proxy,o=xe(e)?e.includes(".")?wc(r,e):()=>r[e]:e.bind(r,r);let s;ae(t)?s=t:(s=t.handler,n=t);const i=oo(this),l=Ec(o,s.bind(r),n);return i(),l}function wc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;oe.__isTeleport,Mr=e=>e&&(e.disabled||e.disabled===""),Ol=e=>e&&(e.defer||e.defer===""),Ll=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Pl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ii=(e,t)=>{const n=e&&e.to;return xe(n)?t?t(n):null:n},kc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,l,a,u){const{mc:c,pc:f,pbc:d,o:{insert:g,querySelector:y,createText:C,createComment:S}}=u,_=Mr(t.props);let{shapeFlag:h,children:E,dynamicChildren:v}=t;if(e==null){const A=t.el=C(""),P=t.anchor=C("");g(A,n,r),g(P,n,r);const R=(F,I)=>{h&16&&c(E,F,I,o,s,i,l,a)},H=()=>{const F=t.target=ii(t.props,y),I=li(F,t,C,g);F&&(i!=="svg"&&Ll(F)?i="svg":i!=="mathml"&&Pl(F)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(F),_||(R(F,I),ko(t,!1)))};_&&(R(n,P),ko(t,!0)),Ol(t.props)?(t.el.__isMounted=!1,Me(()=>{H(),delete t.el.__isMounted},s)):H()}else{if(Ol(t.props)&&e.el.__isMounted===!1){Me(()=>{kc.process(e,t,n,r,o,s,i,l,a,u)},s);return}t.el=e.el,t.targetStart=e.targetStart;const A=t.anchor=e.anchor,P=t.target=e.target,R=t.targetAnchor=e.targetAnchor,H=Mr(e.props),F=H?n:P,I=H?A:R;if(i==="svg"||Ll(P)?i="svg":(i==="mathml"||Pl(P))&&(i="mathml"),v?(d(e.dynamicChildren,v,F,o,s,i,l),rl(e,t,!0)):a||f(e,t,F,I,o,s,i,l,!1),_)H?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fo(t,n,A,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=ii(t.props,y);N&&fo(t,N,null,u,0)}else H&&fo(t,P,R,u,1);ko(t,_)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:l,anchor:a,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(o(u),o(c)),s&&o(a),i&16){const g=s||!Mr(d);for(let y=0;y{e.isMounted=!0}),Et(()=>{e.isUnmounting=!0}),e}const pt=[Function,Array],Tc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:pt,onEnter:pt,onAfterEnter:pt,onEnterCancelled:pt,onBeforeLeave:pt,onLeave:pt,onAfterLeave:pt,onLeaveCancelled:pt,onBeforeAppear:pt,onAppear:pt,onAfterAppear:pt,onAppearCancelled:pt},Ac=e=>{const t=e.subTree;return t.component?Ac(t.component):t},Fh={name:"BaseTransition",props:Tc,setup(e,{slots:t}){const n=ke(),r=xc();return()=>{const o=t.default&&Zi(t.default(),!0);if(!o||!o.length)return;const s=Rc(o),i=ue(e),{mode:l}=i;if(r.isLeaving)return ks(s);const a=Il(s);if(!a)return ks(s);let u=Hr(a,i,r,n,f=>u=f);a.type!==Ge&&Sn(a,u);let c=n.subTree&&Il(n.subTree);if(c&&c.type!==Ge&&!yn(c,a)&&Ac(n).type!==Ge){let f=Hr(c,i,r,n);if(Sn(c,f),l==="out-in"&&a.type!==Ge)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},ks(s);l==="in-out"&&a.type!==Ge?f.delayLeave=(d,g,y)=>{const C=Oc(r,c);C[String(c.key)]=c,d[Ft]=()=>{g(),d[Ft]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{y(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function Rc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ge){t=n;break}}return t}const qh=Fh;function Oc(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Hr(e,t,n,r,o){const{appear:s,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:g,onAfterLeave:y,onLeaveCancelled:C,onBeforeAppear:S,onAppear:_,onAfterAppear:h,onAppearCancelled:E}=t,v=String(e.key),A=Oc(n,e),P=(F,I)=>{F&&Ot(F,r,9,I)},R=(F,I)=>{const N=I[1];P(F,I),se(F)?F.every(x=>x.length<=1)&&N():F.length<=1&&N()},H={mode:i,persisted:l,beforeEnter(F){let I=a;if(!n.isMounted)if(s)I=S||a;else return;F[Ft]&&F[Ft](!0);const N=A[v];N&&yn(e,N)&&N.el[Ft]&&N.el[Ft](),P(I,[F])},enter(F){if(A[v]===e)return;let I=u,N=c,x=f;if(!n.isMounted)if(s)I=_||u,N=h||c,x=E||f;else return;let B=!1;F[yr]=Y=>{B||(B=!0,Y?P(x,[F]):P(N,[F]),H.delayedLeave&&H.delayedLeave(),F[yr]=void 0)};const q=F[yr].bind(null,!1);I?R(I,[F,q]):q()},leave(F,I){const N=String(e.key);if(F[yr]&&F[yr](!0),n.isUnmounting)return I();P(d,[F]);let x=!1;F[Ft]=q=>{x||(x=!0,I(),q?P(C,[F]):P(y,[F]),F[Ft]=void 0,A[N]===e&&delete A[N])};const B=F[Ft].bind(null,!1);A[N]=e,g?R(g,[F,B]):B()},clone(F){const I=Hr(F,t,n,r,o);return o&&o(I),I}};return H}function ks(e){if(ls(e))return e=cn(e),e.children=null,e}function Il(e){if(!ls(e))return Sc(e.type)&&e.children?Rc(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ae(n.default))return n.default()}}function Sn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Sn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Zi(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;sDr(C,t&&(se(t)?t[S]:t),n,r,o));return}if(Vn(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Dr(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?ds(r.component):r.el,i=o?null:s,{i:l,r:a}=e,u=t&&t.r,c=l.refs===Ce?l.refs={}:l.refs,f=l.setupState,d=ue(f),g=f===Ce?Vu:C=>Nl(c,C)?!1:_e(d,C),y=(C,S)=>!(S&&Nl(c,S));if(u!=null&&u!==a){if(Ml(t),xe(u))c[u]=null,g(u)&&(f[u]=null);else if(Ae(u)){const C=t;y(u,C.k)&&(u.value=null),C.k&&(c[C.k]=null)}}if(ae(a))no(a,l,12,[i,c]);else{const C=xe(a),S=Ae(a);if(C||S){const _=()=>{if(e.f){const h=C?g(a)?f[a]:c[a]:y()||!e.k?a.value:c[e.k];if(o)se(h)&&Ui(h,s);else if(se(h))h.includes(s)||h.push(s);else if(C)c[a]=[s],g(a)&&(f[a]=c[a]);else{const E=[s];y(a,e.k)&&(a.value=E),e.k&&(c[e.k]=E)}}else C?(c[a]=i,g(a)&&(f[a]=i)):S&&(y(a,e.k)&&(a.value=i),e.k&&(c[e.k]=i))};if(i){const h=()=>{_(),$o.delete(e)};h.id=-1,$o.set(e,h),Me(h,n)}else Ml(e),_()}}}function Ml(e){const t=$o.get(e);t&&(t.flags|=8,$o.delete(e))}ts().requestIdleCallback;ts().cancelIdleCallback;const Vn=e=>!!e.type.__asyncLoader,ls=e=>e.type.__isKeepAlive,Vh={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ke(),r=n.ctx;if(!r.renderer)return()=>{const h=t.default&&t.default();return h&&h.length===1?h[0]:h};const o=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:a,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(h,E,v,A,P)=>{const R=h.component;u(h,E,v,0,l),a(R.vnode,h,E,v,R,l,A,h.slotScopeIds,P),Me(()=>{R.isDeactivated=!1,R.a&&Pr(R.a);const H=h.props&&h.props.onVnodeMounted;H&&_t(H,R.parent,h)},l)},r.deactivate=h=>{const E=h.component;qo(E.m),qo(E.a),u(h,d,null,1,l),Me(()=>{E.da&&Pr(E.da);const v=h.props&&h.props.onVnodeUnmounted;v&&_t(v,E.parent,h),E.isDeactivated=!0},l)};function g(h){xs(h),c(h,n,l,!0)}function y(h){o.forEach((E,v)=>{const A=hi(Vn(E)?E.type.__asyncResolved||{}:E.type);A&&!h(A)&&C(v)})}function C(h){const E=o.get(h);E&&(!i||!yn(E,i))?g(E):i&&xs(i),o.delete(h),s.delete(h)}ge(()=>[e.include,e.exclude],([h,E])=>{h&&y(v=>Tr(h,v)),E&&y(v=>!Tr(E,v))},{flush:"post",deep:!0});let S=null;const _=()=>{S!=null&&(Vo(n.subTree.type)?Me(()=>{o.set(S,ho(n.subTree))},n.subTree.suspense):o.set(S,ho(n.subTree)))};return Gt(_),el(_),Et(()=>{o.forEach(h=>{const{subTree:E,suspense:v}=n,A=ho(E);if(h.type===A.type&&h.key===A.key){xs(A);const P=A.component.da;P&&Me(P,v);return}g(h)})}),()=>{if(S=null,!t.default)return i=null;const h=t.default(),E=h[0];if(h.length>1)return i=null,h;if(!Kr(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let v=ho(E);if(v.type===Ge)return i=null,v;const A=v.type,P=hi(Vn(v)?v.type.__asyncResolved||{}:A),{include:R,exclude:H,max:F}=e;if(R&&(!P||!Tr(R,P))||H&&P&&Tr(H,P))return v.shapeFlag&=-257,i=v,E;const I=v.key==null?A:v.key,N=o.get(I);return v.el&&(v=cn(v),E.shapeFlag&128&&(E.ssContent=v)),S=I,N?(v.el=N.el,v.component=N.component,v.transition&&Sn(v,v.transition),v.shapeFlag|=512,s.delete(I),s.add(I)):(s.add(I),F&&s.size>parseInt(F,10)&&C(s.values().next().value)),v.shapeFlag|=256,i=v,Vo(E.type)?E:v}}},c0=Vh;function Tr(e,t){return se(e)?e.some(n=>Tr(n,t)):xe(e)?e.split(",").includes(t):qd(e)?(e.lastIndex=0,e.test(t)):!1}function Pc(e,t){Ic(e,"a",t)}function as(e,t){Ic(e,"da",t)}function Ic(e,t,n=ze){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(us(t,r,n),n){let o=n.parent;for(;o&&o.parent;)ls(o.parent.vnode)&&Bh(r,t,n,o),o=o.parent}}function Bh(e,t,n,r){const o=us(t,e,r,!0);cs(()=>{Ui(r[t],o)},n)}function xs(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ho(e){return e.shapeFlag&128?e.ssContent:e}function us(e,t,n=ze,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{ln();const l=oo(n),a=Ot(t,n,e,i);return l(),an(),a});return r?o.unshift(s):o.push(s),s}}const dn=e=>(t,n=ze)=>{(!Gr||e==="sp")&&us(e,(...r)=>t(...r),n)},jh=dn("bm"),Gt=dn("m"),Nc=dn("bu"),el=dn("u"),Et=dn("bum"),cs=dn("um"),Uh=dn("sp"),Hh=dn("rtg"),Wh=dn("rtc");function Kh(e,t=ze){us("ec",e,t)}const Gh="components";function zh(e,t){return Yh(Gh,e,!0,t)||e}const Qh=Symbol.for("v-ndc");function Yh(e,t,n=!0,r=!1){const o=ft||ze;if(o){const s=o.type;{const l=hi(s,!1);if(l&&(l===t||l===tt(t)||l===es(tt(t))))return s}const i=Dl(o[e]||s[e],t)||Dl(o.appContext[e],t);return!i&&r?s:i}}function Dl(e,t){return e&&(e[t]||e[tt(t)]||e[es(tt(t))])}function f0(e,t,n,r){let o;const s=n&&n[r],i=se(e);if(i||xe(e)){const l=i&&on(e);let a=!1,u=!1;l&&(a=!mt(e),u=un(e),e=os(e)),o=new Array(e.length);for(let c=0,f=e.length;ct(l,a,void 0,s&&s[a]));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,u=l.length;ae?tf(e)?ds(e):ai(e.parent):null,$r=De(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=>ai(e.parent),$root:e=>ai(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Dc(e),$forceUpdate:e=>e.f||(e.f=()=>{Ji(e.update)}),$nextTick:e=>e.n||(e.n=rt.bind(e.proxy)),$watch:e=>Mh.bind(e)}),Ts=(e,t)=>e!==Ce&&!e.__isScriptSetup&&_e(e,t),Xh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Ts(r,t))return i[t]=1,r[t];if(o!==Ce&&_e(o,t))return i[t]=2,o[t];if(_e(s,t))return i[t]=3,s[t];if(n!==Ce&&_e(n,t))return i[t]=4,n[t];ui&&(i[t]=0)}}const u=$r[t];let c,f;if(u)return t==="$attrs"&&Ke(e.attrs,"get",""),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==Ce&&_e(n,t))return i[t]=4,n[t];if(f=a.config.globalProperties,_e(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Ts(o,t)?(o[t]=n,!0):r!==Ce&&_e(r,t)?(r[t]=n,!0):_e(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},l){let a;return!!(n[l]||e!==Ce&&l[0]!=="$"&&_e(e,l)||Ts(t,l)||_e(s,l)||_e(r,l)||_e($r,l)||_e(o.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:_e(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $l(e){return se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ui=!0;function Jh(e){const t=Dc(e),n=e.proxy,r=e.ctx;ui=!1,t.beforeCreate&&Fl(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:g,updated:y,activated:C,deactivated:S,beforeDestroy:_,beforeUnmount:h,destroyed:E,unmounted:v,render:A,renderTracked:P,renderTriggered:R,errorCaptured:H,serverPrefetch:F,expose:I,inheritAttrs:N,components:x,directives:B,filters:q}=t;if(u&&Zh(u,r,null),i)for(const Q in i){const j=i[Q];ae(j)&&(r[Q]=j.bind(n))}if(o){const Q=o.call(n,n);be(Q)&&(e.data=Wn(Q))}if(ui=!0,s)for(const Q in s){const j=s[Q],re=ae(j)?j.bind(n,n):ae(j.get)?j.get.bind(n,n):jt,ye=!ae(j)&&ae(j.set)?j.set.bind(n):jt,le=$({get:re,set:ye});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>le.value,set:z=>le.value=z})}if(l)for(const Q in l)Mc(l[Q],r,n,Q);if(a){const Q=ae(a)?a.call(n):a;Reflect.ownKeys(Q).forEach(j=>{So(j,Q[j])})}c&&Fl(c,e,"c");function ee(Q,j){se(j)?j.forEach(re=>Q(re.bind(n))):j&&Q(j.bind(n))}if(ee(jh,f),ee(Gt,d),ee(Nc,g),ee(el,y),ee(Pc,C),ee(as,S),ee(Kh,H),ee(Wh,P),ee(Hh,R),ee(Et,h),ee(cs,v),ee(Uh,F),se(I))if(I.length){const Q=e.exposed||(e.exposed={});I.forEach(j=>{Object.defineProperty(Q,j,{get:()=>n[j],set:re=>n[j]=re,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===jt&&(e.render=A),N!=null&&(e.inheritAttrs=N),x&&(e.components=x),B&&(e.directives=B),F&&Lc(e)}function Zh(e,t,n=jt){se(e)&&(e=ci(e));for(const r in e){const o=e[r];let s;be(o)?"default"in o?s=it(o.from||r,o.default,!0):s=it(o.from||r):s=it(o),Ae(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Fl(e,t,n){Ot(se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mc(e,t,n,r){let o=r.includes(".")?wc(n,r):()=>n[r];if(xe(e)){const s=t[e];ae(s)&&ge(o,s)}else if(ae(e))ge(o,e.bind(n));else if(be(e))if(se(e))e.forEach(s=>Mc(s,t,n,r));else{const s=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(s)&&ge(o,s,e)}}function Dc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(u=>Fo(a,u,i,!0)),Fo(a,t,i)),be(t)&&s.set(t,a),a}function Fo(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Fo(e,s,n,!0),o&&o.forEach(i=>Fo(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=em[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const em={data:ql,props:Vl,emits:Vl,methods:Ar,computed:Ar,beforeCreate:Ye,created:Ye,beforeMount:Ye,mounted:Ye,beforeUpdate:Ye,updated:Ye,beforeDestroy:Ye,beforeUnmount:Ye,destroyed:Ye,unmounted:Ye,activated:Ye,deactivated:Ye,errorCaptured:Ye,serverPrefetch:Ye,components:Ar,directives:Ar,watch:nm,provide:ql,inject:tm};function ql(e,t){return t?e?function(){return De(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function tm(e,t){return Ar(ci(e),ci(t))}function ci(e){if(se(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${tt(t)}Modifiers`]||e[`${Hn(t)}Modifiers`];function im(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ce;let o=n;const s=t.startsWith("update:"),i=s&&sm(r,t.slice(7));i&&(i.trim&&(o=n.map(c=>xe(c)?c.trim():c)),i.number&&(o=n.map(Ud)));let l,a=r[l=ys(t)]||r[l=ys(tt(t))];!a&&s&&(a=r[l=ys(Hn(t))]),a&&Ot(a,e,6,o);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ot(u,e,6,o)}}const lm=new WeakMap;function Fc(e,t,n=!1){const r=n?lm:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},l=!1;if(!ae(e)){const a=u=>{const c=Fc(u,t,!0);c&&(l=!0,De(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!l?(be(e)&&r.set(e,null),null):(se(s)?s.forEach(a=>i[a]=null):De(i,s),be(e)&&r.set(e,i),i)}function fs(e,t){return!e||!Xo(t)?!1:(t=t.slice(2).replace(/Once$/,""),_e(e,t[0].toLowerCase()+t.slice(1))||_e(e,Hn(t))||_e(e,t))}function Bl(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:l,emit:a,render:u,renderCache:c,props:f,data:d,setupState:g,ctx:y,inheritAttrs:C}=e,S=Do(e);let _,h;try{if(n.shapeFlag&4){const v=o||r,A=v;_=Vt(u.call(A,v,c,f,g,d,y)),h=l}else{const v=t;_=Vt(v.length>1?v(f,{attrs:l,slots:i,emit:a}):v(f,null)),h=t.props?l:am(l)}}catch(v){Fr.length=0,is(v,e,1),_=Ze(Ge)}let E=_;if(h&&C!==!1){const v=Object.keys(h),{shapeFlag:A}=E;v.length&&A&7&&(s&&v.some(ji)&&(h=um(h,s)),E=cn(E,h,!1,!0))}return n.dirs&&(E=cn(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Sn(E,n.transition),_=E,Do(S),_}const am=e=>{let t;for(const n in e)(n==="class"||n==="style"||Xo(n))&&((t||(t={}))[n]=e[n]);return t},um=(e,t)=>{const n={};for(const r in e)(!ji(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function cm(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:l,patchFlag:a}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?jl(r,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let f=0;fObject.create(Vc),jc=e=>Object.getPrototypeOf(e)===Vc;function dm(e,t,n,r=!1){const o={},s=Bc();e.propsDefaults=Object.create(null),Uc(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:fc(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function hm(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,l=ue(o),[a]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,g]=Hc(f,t,!0);De(i,d),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!a)return be(e)&&r.set(e,lr),lr;if(se(s))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",nl=e=>se(e)?e.map(Vt):[Vt(e)],gm=(e,t,n)=>{if(t._n)return t;const r=Lh((...o)=>nl(t(...o)),n);return r._c=!1,r},Wc=(e,t,n)=>{const r=e._ctx;for(const o in e){if(tl(o))continue;const s=e[o];if(ae(s))t[o]=gm(o,s,r);else if(s!=null){const i=nl(s);t[o]=()=>i}}},Kc=(e,t)=>{const n=nl(t);e.slots.default=()=>n},Gc=(e,t,n)=>{for(const r in t)(n||!tl(r))&&(e[r]=t[r])},pm=(e,t,n)=>{const r=e.slots=Bc();if(e.vnode.shapeFlag&32){const o=t._;o?(Gc(r,t,n),n&&Wu(r,"_",o,!0)):Wc(t,r)}else t&&Kc(e,t)},vm=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Ce;if(r.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:Gc(o,t,n):(s=!t.$stable,Wc(t,o)),i=t}else t&&(Kc(e,t),i={default:1});if(s)for(const l in o)!tl(l)&&i[l]==null&&delete o[l]},Me=wm;function _m(e){return bm(e)}function bm(e,t){const n=ts();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:g=jt,insertStaticContent:y}=e,C=(b,w,O,U=null,K=null,W=null,m=void 0,p=null,k=!!w.dynamicChildren)=>{if(b===w)return;b&&!yn(b,w)&&(U=M(b),z(b,K,W,!0),b=null),w.patchFlag===-2&&(k=!1,w.dynamicChildren=null);const{type:L,ref:Z,shapeFlag:G}=w;switch(L){case ro:S(b,w,O,U);break;case Ge:_(b,w,O,U);break;case Rs:b==null&&h(w,O,U,m);break;case ut:x(b,w,O,U,K,W,m,p,k);break;default:G&1?A(b,w,O,U,K,W,m,p,k):G&6?B(b,w,O,U,K,W,m,p,k):(G&64||G&128)&&L.process(b,w,O,U,K,W,m,p,k,ne)}Z!=null&&K?Dr(Z,b&&b.ref,W,w||b,!w):Z==null&&b&&b.ref!=null&&Dr(b.ref,null,W,b,!0)},S=(b,w,O,U)=>{if(b==null)r(w.el=l(w.children),O,U);else{const K=w.el=b.el;w.children!==b.children&&u(K,w.children)}},_=(b,w,O,U)=>{b==null?r(w.el=a(w.children||""),O,U):w.el=b.el},h=(b,w,O,U)=>{[b.el,b.anchor]=y(b.children,w,O,U,b.el,b.anchor)},E=({el:b,anchor:w},O,U)=>{let K;for(;b&&b!==w;)K=d(b),r(b,O,U),b=K;r(w,O,U)},v=({el:b,anchor:w})=>{let O;for(;b&&b!==w;)O=d(b),o(b),b=O;o(w)},A=(b,w,O,U,K,W,m,p,k)=>{if(w.type==="svg"?m="svg":w.type==="math"&&(m="mathml"),b==null)P(w,O,U,K,W,m,p,k);else{const L=b.el&&b.el._isVueCE?b.el:null;try{L&&L._beginPatch(),F(b,w,K,W,m,p,k)}finally{L&&L._endPatch()}}},P=(b,w,O,U,K,W,m,p)=>{let k,L;const{props:Z,shapeFlag:G,transition:T,dirs:D}=b;if(k=b.el=i(b.type,W,Z&&Z.is,Z),G&8?c(k,b.children):G&16&&H(b.children,k,null,U,K,As(b,W),m,p),D&&Rn(b,null,U,"created"),R(k,b,b.scopeId,m,U),Z){for(const ie in Z)ie!=="value"&&!Lr(ie)&&s(k,ie,null,Z[ie],W,U);"value"in Z&&s(k,"value",null,Z.value,W),(L=Z.onVnodeBeforeMount)&&_t(L,U,b)}D&&Rn(b,null,U,"beforeMount");const te=ym(K,T);te&&T.beforeEnter(k),r(k,w,O),((L=Z&&Z.onVnodeMounted)||te||D)&&Me(()=>{L&&_t(L,U,b),te&&T.enter(k),D&&Rn(b,null,U,"mounted")},K)},R=(b,w,O,U,K)=>{if(O&&g(b,O),U)for(let W=0;W{for(let L=k;L{const p=w.el=b.el;let{patchFlag:k,dynamicChildren:L,dirs:Z}=w;k|=b.patchFlag&16;const G=b.props||Ce,T=w.props||Ce;let D;if(O&&On(O,!1),(D=T.onVnodeBeforeUpdate)&&_t(D,O,w,b),Z&&Rn(w,b,O,"beforeUpdate"),O&&On(O,!0),(G.innerHTML&&T.innerHTML==null||G.textContent&&T.textContent==null)&&c(p,""),L?I(b.dynamicChildren,L,p,O,U,As(w,K),W):m||j(b,w,p,null,O,U,As(w,K),W,!1),k>0){if(k&16)N(p,G,T,O,K);else if(k&2&&G.class!==T.class&&s(p,"class",null,T.class,K),k&4&&s(p,"style",G.style,T.style,K),k&8){const te=w.dynamicProps;for(let ie=0;ie{D&&_t(D,O,w,b),Z&&Rn(w,b,O,"updated")},U)},I=(b,w,O,U,K,W,m)=>{for(let p=0;p{if(w!==O){if(w!==Ce)for(const W in w)!Lr(W)&&!(W in O)&&s(b,W,w[W],null,K,U);for(const W in O){if(Lr(W))continue;const m=O[W],p=w[W];m!==p&&W!=="value"&&s(b,W,p,m,K,U)}"value"in O&&s(b,"value",w.value,O.value,K)}},x=(b,w,O,U,K,W,m,p,k)=>{const L=w.el=b?b.el:l(""),Z=w.anchor=b?b.anchor:l("");let{patchFlag:G,dynamicChildren:T,slotScopeIds:D}=w;D&&(p=p?p.concat(D):D),b==null?(r(L,O,U),r(Z,O,U),H(w.children||[],O,Z,K,W,m,p,k)):G>0&&G&64&&T&&b.dynamicChildren&&b.dynamicChildren.length===T.length?(I(b.dynamicChildren,T,O,K,W,m,p),(w.key!=null||K&&w===K.subTree)&&rl(b,w,!0)):j(b,w,O,Z,K,W,m,p,k)},B=(b,w,O,U,K,W,m,p,k)=>{w.slotScopeIds=p,b==null?w.shapeFlag&512?K.ctx.activate(w,O,U,m,k):q(w,O,U,K,W,m,k):Y(b,w,k)},q=(b,w,O,U,K,W,m)=>{const p=b.component=Om(b,U,K);if(ls(b)&&(p.ctx.renderer=ne),Lm(p,!1,m),p.asyncDep){if(K&&K.registerDep(p,ee,m),!b.el){const k=p.subTree=Ze(Ge);_(null,k,w,O),b.placeholder=k.el}}else ee(p,b,w,O,K,W,m)},Y=(b,w,O)=>{const U=w.component=b.component;if(cm(b,w,O))if(U.asyncDep&&!U.asyncResolved){Q(U,w,O);return}else U.next=w,U.update();else w.el=b.el,U.vnode=w},ee=(b,w,O,U,K,W,m)=>{const p=()=>{if(b.isMounted){let{next:G,bu:T,u:D,parent:te,vnode:ie}=b;{const wt=zc(b);if(wt){G&&(G.el=ie.el,Q(b,G,m)),wt.asyncDep.then(()=>{Me(()=>{b.isUnmounted||L()},K)});return}}let he=G,Re;On(b,!1),G?(G.el=ie.el,Q(b,G,m)):G=ie,T&&Pr(T),(Re=G.props&&G.props.onVnodeBeforeUpdate)&&_t(Re,te,G,ie),On(b,!0);const we=Bl(b),gt=b.subTree;b.subTree=we,C(gt,we,f(gt.el),M(gt),b,K,W),G.el=we.el,he===null&&fm(b,we.el),D&&Me(D,K),(Re=G.props&&G.props.onVnodeUpdated)&&Me(()=>_t(Re,te,G,ie),K)}else{let G;const{el:T,props:D}=w,{bm:te,m:ie,parent:he,root:Re,type:we}=b,gt=Vn(w);On(b,!1),te&&Pr(te),!gt&&(G=D&&D.onVnodeBeforeMount)&&_t(G,he,w),On(b,!0);{Re.ce&&Re.ce._hasShadowRoot()&&Re.ce._injectChildStyle(we,b.parent?b.parent.type:void 0);const wt=b.subTree=Bl(b);C(null,wt,O,U,b,K,W),w.el=wt.el}if(ie&&Me(ie,K),!gt&&(G=D&&D.onVnodeMounted)){const wt=w;Me(()=>_t(G,he,wt),K)}(w.shapeFlag&256||he&&Vn(he.vnode)&&he.vnode.shapeFlag&256)&&b.a&&Me(b.a,K),b.isMounted=!0,w=O=U=null}};b.scope.on();const k=b.effect=new Xu(p);b.scope.off();const L=b.update=k.run.bind(k),Z=b.job=k.runIfDirty.bind(k);Z.i=b,Z.id=b.uid,k.scheduler=()=>Ji(Z),On(b,!0),L()},Q=(b,w,O)=>{w.component=b;const U=b.vnode.props;b.vnode=w,b.next=null,hm(b,w.props,U,O),vm(b,w.children,O),ln(),Rl(b),an()},j=(b,w,O,U,K,W,m,p,k=!1)=>{const L=b&&b.children,Z=b?b.shapeFlag:0,G=w.children,{patchFlag:T,shapeFlag:D}=w;if(T>0){if(T&128){ye(L,G,O,U,K,W,m,p,k);return}else if(T&256){re(L,G,O,U,K,W,m,p,k);return}}D&8?(Z&16&&oe(L,K,W),G!==L&&c(O,G)):Z&16?D&16?ye(L,G,O,U,K,W,m,p,k):oe(L,K,W,!0):(Z&8&&c(O,""),D&16&&H(G,O,U,K,W,m,p,k))},re=(b,w,O,U,K,W,m,p,k)=>{b=b||lr,w=w||lr;const L=b.length,Z=w.length,G=Math.min(L,Z);let T;for(T=0;TZ?oe(b,K,W,!0,!1,G):H(w,O,U,K,W,m,p,k,G)},ye=(b,w,O,U,K,W,m,p,k)=>{let L=0;const Z=w.length;let G=b.length-1,T=Z-1;for(;L<=G&&L<=T;){const D=b[L],te=w[L]=k?Zt(w[L]):Vt(w[L]);if(yn(D,te))C(D,te,O,null,K,W,m,p,k);else break;L++}for(;L<=G&&L<=T;){const D=b[G],te=w[T]=k?Zt(w[T]):Vt(w[T]);if(yn(D,te))C(D,te,O,null,K,W,m,p,k);else break;G--,T--}if(L>G){if(L<=T){const D=T+1,te=DT)for(;L<=G;)z(b[L],K,W,!0),L++;else{const D=L,te=L,ie=new Map;for(L=te;L<=T;L++){const at=w[L]=k?Zt(w[L]):Vt(w[L]);at.key!=null&&ie.set(at.key,L)}let he,Re=0;const we=T-te+1;let gt=!1,wt=0;const _r=new Array(we);for(L=0;L=we){z(at,K,W,!0);continue}let It;if(at.key!=null)It=ie.get(at.key);else for(he=te;he<=T;he++)if(_r[he-te]===0&&yn(at,w[he])){It=he;break}It===void 0?z(at,K,W,!0):(_r[It-te]=L+1,It>=wt?wt=It:gt=!0,C(at,w[It],O,null,K,W,m,p,k),Re++)}const El=gt?Em(_r):lr;for(he=El.length-1,L=we-1;L>=0;L--){const at=te+L,It=w[at],wl=w[at+1],Cl=at+1{const{el:W,type:m,transition:p,children:k,shapeFlag:L}=b;if(L&6){le(b.component.subTree,w,O,U);return}if(L&128){b.suspense.move(w,O,U);return}if(L&64){m.move(b,w,O,ne);return}if(m===ut){r(W,w,O);for(let G=0;Gp.enter(W),K);else{const{leave:G,delayLeave:T,afterLeave:D}=p,te=()=>{b.ctx.isUnmounted?o(W):r(W,w,O)},ie=()=>{W._isLeaving&&W[Ft](!0),G(W,()=>{te(),D&&D()})};T?T(W,te,ie):ie()}else r(W,w,O)},z=(b,w,O,U=!1,K=!1)=>{const{type:W,props:m,ref:p,children:k,dynamicChildren:L,shapeFlag:Z,patchFlag:G,dirs:T,cacheIndex:D}=b;if(G===-2&&(K=!1),p!=null&&(ln(),Dr(p,null,O,b,!0),an()),D!=null&&(w.renderCache[D]=void 0),Z&256){w.ctx.deactivate(b);return}const te=Z&1&&T,ie=!Vn(b);let he;if(ie&&(he=m&&m.onVnodeBeforeUnmount)&&_t(he,w,b),Z&6)Te(b.component,O,U);else{if(Z&128){b.suspense.unmount(O,U);return}te&&Rn(b,null,w,"beforeUnmount"),Z&64?b.type.remove(b,w,O,ne,U):L&&!L.hasOnce&&(W!==ut||G>0&&G&64)?oe(L,w,O,!1,!0):(W===ut&&G&384||!K&&Z&16)&&oe(k,w,O),U&&fe(b)}(ie&&(he=m&&m.onVnodeUnmounted)||te)&&Me(()=>{he&&_t(he,w,b),te&&Rn(b,null,w,"unmounted")},O)},fe=b=>{const{type:w,el:O,anchor:U,transition:K}=b;if(w===ut){Ee(O,U);return}if(w===Rs){v(b);return}const W=()=>{o(O),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(b.shapeFlag&1&&K&&!K.persisted){const{leave:m,delayLeave:p}=K,k=()=>m(O,W);p?p(b.el,W,k):k()}else W()},Ee=(b,w)=>{let O;for(;b!==w;)O=d(b),o(b),b=O;o(w)},Te=(b,w,O)=>{const{bum:U,scope:K,job:W,subTree:m,um:p,m:k,a:L}=b;qo(k),qo(L),U&&Pr(U),K.stop(),W&&(W.flags|=8,z(m,b,w,O)),p&&Me(p,w),Me(()=>{b.isUnmounted=!0},w)},oe=(b,w,O,U=!1,K=!1,W=0)=>{for(let m=W;m{if(b.shapeFlag&6)return M(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const w=d(b.anchor||b.el),O=w&&w[Cc];return O?d(O):w};let X=!1;const J=(b,w,O)=>{let U;b==null?w._vnode&&(z(w._vnode,null,null,!0),U=w._vnode.component):C(w._vnode||null,b,w,null,null,null,O),w._vnode=b,X||(X=!0,Rl(U),vc(),X=!1)},ne={p:C,um:z,m:le,r:fe,mt:q,mc:H,pc:j,pbc:I,n:M,o:e};return{render:J,hydrate:void 0,createApp:om(J)}}function As({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 On({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ym(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rl(e,t,n=!1){const r=e.children,o=t.children;if(se(r)&&se(o))for(let s=0;s>1,e[n[l]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function zc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zc(t)}function qo(e){if(e)for(let t=0;te.__isSuspense;function wm(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):Oh(e)}const ut=Symbol.for("v-fgt"),ro=Symbol.for("v-txt"),Ge=Symbol.for("v-cmt"),Rs=Symbol.for("v-stc"),Fr=[];let dt=null;function Yc(e=!1){Fr.push(dt=e?null:[])}function Cm(){Fr.pop(),dt=Fr[Fr.length-1]||null}let Wr=1;function Bo(e,t=!1){Wr+=e,e<0&&dt&&t&&(dt.hasOnce=!0)}function Xc(e){return e.dynamicChildren=Wr>0?dt||lr:null,Cm(),Wr>0&&dt&&dt.push(e),e}function d0(e,t,n,r,o,s){return Xc(ef(e,t,n,r,o,s,!0))}function Jc(e,t,n,r,o){return Xc(Ze(e,t,n,r,o,!0))}function Kr(e){return e?e.__v_isVNode===!0:!1}function yn(e,t){return e.type===t.type&&e.key===t.key}const Zc=({key:e})=>e??null,xo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?xe(e)||Ae(e)||ae(e)?{i:ft,r:e,k:t,f:!!n}:e:null);function ef(e,t=null,n=null,r=0,o=null,s=e===ut?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zc(t),ref:t&&xo(t),scopeId:bc,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:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ft};return l?(ol(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=xe(n)?8:16),Wr>0&&!i&&dt&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&dt.push(a),a}const Ze=Sm;function Sm(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Qh)&&(e=Ge),Kr(e)){const l=cn(e,t,!0);return n&&ol(l,n),Wr>0&&!s&&dt&&(l.shapeFlag&6?dt[dt.indexOf(e)]=l:dt.push(l)),l.patchFlag=-2,l}if(Mm(e)&&(e=e.__vccOpts),t){t=km(t);let{class:l,style:a}=t;l&&!xe(l)&&(t.class=rs(l)),be(a)&&(ss(a)&&!se(a)&&(a=De({},a)),t.style=ns(a))}const i=xe(e)?1:Vo(e)?128:Sc(e)?64:be(e)?4:ae(e)?2:0;return ef(e,t,n,r,o,i,s,!0)}function km(e){return e?ss(e)||jc(e)?De({},e):e:null}function cn(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:l,transition:a}=e,u=t?Tm(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Zc(u),ref:t&&t.ref?n&&s?se(s)?s.concat(xo(t)):[s,xo(t)]:xo(t):s,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!==ut?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&Sn(c,a.clone(c)),c}function xm(e=" ",t=0){return Ze(ro,null,e,t)}function h0(e="",t=!1){return t?(Yc(),Jc(Ge,null,e)):Ze(Ge,null,e)}function Vt(e){return e==null||typeof e=="boolean"?Ze(Ge):se(e)?Ze(ut,null,e.slice()):Kr(e)?Zt(e):Ze(ro,null,String(e))}function Zt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function ol(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(se(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ol(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!jc(t)?t._ctx=ft:o===3&&ft&&(ft.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:ft},n=32):(t=String(t),r&64?(n=16,t=[xm(t)]):n=8);e.children=t,e.shapeFlag|=n}function Tm(...e){const t={};for(let n=0;nze||ft;let jo,di;{const e=ts(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};jo=t("__VUE_INSTANCE_SETTERS__",n=>ze=n),di=t("__VUE_SSR_SETTERS__",n=>Gr=n)}const oo=e=>{const t=ze;return jo(e),e.scope.on(),()=>{e.scope.off(),jo(t)}},Hl=()=>{ze&&ze.scope.off(),jo(null)};function tf(e){return e.vnode.shapeFlag&4}let Gr=!1;function Lm(e,t=!1,n=!1){t&&di(t);const{props:r,children:o}=e.vnode,s=tf(e);dm(e,r,s,t),pm(e,o,n||t);const i=s?Pm(e,t):void 0;return t&&di(!1),i}function Pm(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Xh);const{setup:r}=n;if(r){ln();const o=e.setupContext=r.length>1?Nm(e):null,s=oo(e),i=no(r,e,0,[e.props,o]),l=ju(i);if(an(),s(),(l||e.sp)&&!Vn(e)&&Lc(e),l){if(i.then(Hl,Hl),t)return i.then(a=>{Wl(e,a)}).catch(a=>{is(a,e,0)});e.asyncDep=i}else Wl(e,i)}else nf(e)}function Wl(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:be(t)&&(e.setupState=mc(t)),nf(e)}function nf(e,t,n){const r=e.type;e.render||(e.render=r.render||jt);{const o=oo(e);ln();try{Jh(e)}finally{an(),o()}}}const Im={get(e,t){return Ke(e,"get",""),e[t]}};function Nm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Im),slots:e.slots,emit:e.emit,expose:t}}function ds(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(mc(Kn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $r)return $r[n](e)},has(t,n){return n in t||n in $r}})):e.proxy}function hi(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function Mm(e){return ae(e)&&"__vccOpts"in e}const $=(e,t)=>kh(e,t,Gr);function V(e,t,n){try{Bo(-1);const r=arguments.length;return r===2?be(t)&&!se(t)?Kr(t)?Ze(e,null,[t]):Ze(e,t):Ze(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Kr(n)&&(n=[n]),Ze(e,t,n))}finally{Bo(1)}}const Dm="3.5.30";let mi;const Kl=typeof window<"u"&&window.trustedTypes;if(Kl)try{mi=Kl.createPolicy("vue",{createHTML:e=>e})}catch{}const rf=mi?e=>mi.createHTML(e):e=>e,$m="http://www.w3.org/2000/svg",Fm="http://www.w3.org/1998/Math/MathML",Xt=typeof document<"u"?document:null,Gl=Xt&&Xt.createElement("template"),qm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Xt.createElementNS($m,e):t==="mathml"?Xt.createElementNS(Fm,e):n?Xt.createElement(e,{is:n}):Xt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Xt.createTextNode(e),createComment:e=>Xt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Gl.innerHTML=rf(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=Gl.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},hn="transition",Er="animation",fr=Symbol("_vtc"),of={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},sf=De({},Tc,of),Vm=e=>(e.displayName="Transition",e.props=sf,e),zr=Vm((e,{slots:t})=>V(qh,lf(e),t)),Ln=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},zl=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function lf(e){const t={};for(const x in e)x in of||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,y=Bm(o),C=y&&y[0],S=y&&y[1],{onBeforeEnter:_,onEnter:h,onEnterCancelled:E,onLeave:v,onLeaveCancelled:A,onBeforeAppear:P=_,onAppear:R=h,onAppearCancelled:H=E}=t,F=(x,B,q,Y)=>{x._enterCancelled=Y,gn(x,B?c:l),gn(x,B?u:i),q&&q()},I=(x,B)=>{x._isLeaving=!1,gn(x,f),gn(x,g),gn(x,d),B&&B()},N=x=>(B,q)=>{const Y=x?R:h,ee=()=>F(B,x,q);Ln(Y,[B,ee]),Ql(()=>{gn(B,x?a:s),Dt(B,x?c:l),zl(Y)||Yl(B,r,C,ee)})};return De(t,{onBeforeEnter(x){Ln(_,[x]),Dt(x,s),Dt(x,i)},onBeforeAppear(x){Ln(P,[x]),Dt(x,a),Dt(x,u)},onEnter:N(!1),onAppear:N(!0),onLeave(x,B){x._isLeaving=!0;const q=()=>I(x,B);Dt(x,f),x._enterCancelled?(Dt(x,d),gi(x)):(gi(x),Dt(x,d)),Ql(()=>{x._isLeaving&&(gn(x,f),Dt(x,g),zl(v)||Yl(x,r,S,q))}),Ln(v,[x,q])},onEnterCancelled(x){F(x,!1,void 0,!0),Ln(E,[x])},onAppearCancelled(x){F(x,!0,void 0,!0),Ln(H,[x])},onLeaveCancelled(x){I(x),Ln(A,[x])}})}function Bm(e){if(e==null)return null;if(be(e))return[Os(e.enter),Os(e.leave)];{const t=Os(e);return[t,t]}}function Os(e){return Hd(e)}function Dt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[fr]||(e[fr]=new Set)).add(t)}function gn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[fr];n&&(n.delete(t),n.size||(e[fr]=void 0))}function Ql(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let jm=0;function Yl(e,t,n,r){const o=e._endId=++jm,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:l,propCount:a}=af(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=g=>{g.target===e&&++c>=a&&f()};setTimeout(()=>{c(n[y]||"").split(", "),o=r(`${hn}Delay`),s=r(`${hn}Duration`),i=Xl(o,s),l=r(`${Er}Delay`),a=r(`${Er}Duration`),u=Xl(l,a);let c=null,f=0,d=0;t===hn?i>0&&(c=hn,f=i,d=s.length):t===Er?u>0&&(c=Er,f=u,d=a.length):(f=Math.max(i,u),c=f>0?i>u?hn:Er:null,d=c?c===hn?s.length:a.length:0);const g=c===hn&&/\b(?:transform|all)(?:,|$)/.test(r(`${hn}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:g}}function Xl(e,t){for(;e.lengthJl(n)+Jl(e[r])))}function Jl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function gi(e){return(e?e.ownerDocument:document).body.offsetHeight}function Um(e,t,n){const r=e[fr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Zl=Symbol("_vod"),Hm=Symbol("_vsh"),Wm=Symbol(""),Km=/(?:^|;)\s*display\s*:/;function Gm(e,t,n){const r=e.style,o=xe(n);let s=!1;if(n&&!o){if(t)if(xe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&To(r,l,"")}else for(const i in t)n[i]==null&&To(r,i,"");for(const i in n)i==="display"&&(s=!0),To(r,i,n[i])}else if(o){if(t!==n){const i=r[Wm];i&&(n+=";"+i),r.cssText=n,s=Km.test(n)}}else t&&e.removeAttribute("style");Zl in e&&(e[Zl]=s?r.display:"",e[Hm]&&(r.display="none"))}const ea=/\s*!important$/;function To(e,t,n){if(se(n))n.forEach(r=>To(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=zm(e,t);ea.test(n)?e.setProperty(Hn(r),n.replace(ea,""),"important"):e[r]=n}}const ta=["Webkit","Moz","ms"],Ls={};function zm(e,t){const n=Ls[t];if(n)return n;let r=tt(t);if(r!=="filter"&&r in e)return Ls[t]=r;r=es(r);for(let o=0;oPs||(Zm.then(()=>Ps=0),Ps=Date.now());function tg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ot(ng(r,n.value),t,5,[r])};return n.value=e,n.attached=eg(),n}function ng(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const la=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,rg=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Um(e,r,i):t==="style"?Gm(e,n,r):Xo(t)?ji(t)||Xm(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):og(e,t,r,i))?(oa(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ra(e,t,r,i,s,t!=="value")):e._isVueCE&&(sg(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!xe(r)))?oa(e,tt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ra(e,t,r,i))};function og(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&la(t)&&ae(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return la(t)&&xe(n)?!1:t in e}function sg(e,t){const n=e._def.props;if(!n)return!1;const r=tt(t);return Array.isArray(n)?n.some(o=>tt(o)===r):Object.keys(n).some(o=>tt(o)===r)}const uf=new WeakMap,cf=new WeakMap,Uo=Symbol("_moveCb"),aa=Symbol("_enterCb"),ig=e=>(delete e.props.mode,e),lg=ig({name:"TransitionGroup",props:De({},sf,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ke(),r=xc();let o,s;return el(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!dg(o[0].el,n.vnode.el,i)){o=[];return}o.forEach(ug),o.forEach(cg);const l=o.filter(fg);gi(n.vnode.el),l.forEach(a=>{const u=a.el,c=u.style;Dt(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[Uo]=d=>{d&&d.target!==u||(!d||d.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",f),u[Uo]=null,gn(u,i))};u.addEventListener("transitionend",f)}),o=[]}),()=>{const i=ue(e),l=lf(i);let a=i.tag||ut;if(o=[],s)for(let u=0;u{l.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=af(r);return s.removeChild(r),i}const hg=["ctrl","shift","alt","meta"],mg={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)=>hg.some(n=>e[`${n}Key`]&&!t.includes(n))},m0=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let i=0;i{const t=pg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=_g(r);if(!o)return;const s=t._component;!ae(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,vg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function vg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function _g(e){return xe(e)?document.querySelector(e):e}function zn(e,t,n,r){return Object.defineProperty(e,t,{get:n,set:r,enumerable:!0}),e}function g0(e,t){for(const n in t)zn(e,n,t[n]);return e}const kn=me(!1);let pi;function bg(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[4]||n[2]||"0",platform:t[0]||""}}function yg(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const hf="ontouchstart"in window||window.navigator.maxTouchPoints>0;function Eg(e){const t=e.toLowerCase(),n=yg(t),r=bg(t,n),o={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};r.browser&&(o[r.browser]=!0,o.version=r.version,o.versionNumber=parseInt(r.version,10)),r.platform&&(o[r.platform]=!0);const s=o.android||o.ios||o.bb||o.blackberry||o.ipad||o.iphone||o.ipod||o.kindle||o.playbook||o.silk||o["windows phone"];if(s===!0||t.indexOf("mobile")!==-1?o.mobile=!0:o.desktop=!0,o["windows phone"]&&(o.winphone=!0,delete o["windows phone"]),o.edga||o.edgios||o.edg?(o.edge=!0,r.browser="edge"):o.crios?(o.chrome=!0,r.browser="chrome"):o.fxios&&(o.firefox=!0,r.browser="firefox"),(o.ipod||o.ipad||o.iphone)&&(o.ios=!0),o.vivaldi&&(r.browser="vivaldi",o.vivaldi=!0),(o.chrome||o.opr||o.safari||o.vivaldi||o.mobile===!0&&o.ios!==!0&&s!==!0)&&(o.webkit=!0),o.opr&&(r.browser="opera",o.opera=!0),o.safari&&(o.blackberry||o.bb?(r.browser="blackberry",o.blackberry=!0):o.playbook?(r.browser="playbook",o.playbook=!0):o.android?(r.browser="android",o.android=!0):o.kindle?(r.browser="kindle",o.kindle=!0):o.silk&&(r.browser="silk",o.silk=!0)),o.name=r.browser,o.platform=r.platform,t.indexOf("electron")!==-1)o.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)o.bex=!0;else{if(window.Capacitor!==void 0?(o.capacitor=!0,o.nativeMobile=!0,o.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(o.cordova=!0,o.nativeMobile=!0,o.nativeMobileWrapper="cordova"),kn.value===!0&&(pi={is:{...o}}),hf===!0&&o.mac===!0&&(o.desktop===!0&&o.safari===!0||o.nativeMobile===!0&&o.android!==!0&&o.ios!==!0&&o.ipad!==!0)){delete o.mac,delete o.desktop;const i=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(o,{mobile:!0,ios:!0,platform:i,[i]:!0})}o.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete o.desktop,o.mobile=!0)}return o}const ca=navigator.userAgent||navigator.vendor||window.opera,wg={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Fe={userAgent:ca,is:Eg(ca),has:{touch:hf},within:{iframe:window.self!==window.top}},vi={install(e){const{$q:t}=e;kn.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Fe),kn.value=!1}),t.platform=Wn(this)):t.platform=this}};{let e;zn(Fe.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(vi,Fe),kn.value===!0&&(Object.assign(vi,pi,wg),pi=null)}function je(e){return Kn(Gn(e))}function Cg(e){return Kn(e)}const so=(e,t)=>{const n=Wn(e);for(const r in e)zn(t,r,()=>n[r],o=>{n[r]=o});return t},nt={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(nt,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function Qr(){}function p0(e){return e.button===0}function Sg(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function kg(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),n.tagName==="HTML")return t.push(document),t.push(window),t;n=n.parentElement}}function Ho(e){e.stopPropagation()}function En(e){e.cancelable!==!1&&e.preventDefault()}function bt(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function v0(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;const n=t===!0?r=>{r.__dragPrevented=!0,r.addEventListener("dragstart",En,nt.notPassiveCapture)}:r=>{delete r.__dragPrevented,r.removeEventListener("dragstart",En,nt.notPassiveCapture)};e.querySelectorAll("a, img").forEach(n)}function xg(e,t,n){const r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(n):n,n.forEach(o=>{o[0].addEventListener(o[1],e[o[2]],nt[o[3]])})}function Tg(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],nt[r[3]])}),e[n]=void 0)}function mf(e,t=250,n){let r=null;function o(){const s=arguments,i=()=>{r=null,e.apply(this,s)};r!==null&&clearTimeout(r),r=setTimeout(i,t)}return o.cancel=()=>{r!==null&&clearTimeout(r)},o}const Is=["sm","md","lg","xl"],{passive:fa}=nt,Ag=so({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:Qr,setDebounce:Qr,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:n}=window,r=n||window,o=document.scrollingElement||document.documentElement,s=n===void 0||Fe.is.mobile===!0?()=>[Math.max(window.innerWidth,o.clientWidth),Math.max(window.innerHeight,o.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-o.clientWidth,n.height*n.scale+window.innerHeight-o.clientHeight],i=e.config.screen?.bodyClasses===!0;this.__update=f=>{const[d,g]=s();if(g!==this.height&&(this.height=g),d!==this.width)this.width=d;else if(f!==!0)return;let y=this.sizes;this.gt.xs=d>=y.sm,this.gt.sm=d>=y.md,this.gt.md=d>=y.lg,this.gt.lg=d>=y.xl,this.lt.sm=d{Is.forEach(d=>{f[d]!==void 0&&(a[d]=f[d])})},this.setDebounce=f=>{u=f};const c=()=>{const f=getComputedStyle(document.body);f.getPropertyValue("--q-size-sm")&&Is.forEach(d=>{this.sizes[d]=parseInt(f.getPropertyValue(`--q-size-${d}`),10)}),this.setSizes=d=>{Is.forEach(g=>{d[g]&&(this.sizes[g]=d[g])}),this.__update(!0)},this.setDebounce=d=>{l!==void 0&&r.removeEventListener("resize",l,fa),l=d>0?mf(this.__update,d):this.__update,r.addEventListener("resize",l,fa)},this.setDebounce(u),Object.keys(a).length!==0?(this.setSizes(a),a=void 0):this.__update(),i===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};kn.value===!0?t.push(c):c()}}),Ue=so({isActive:!1,mode:!1},{__media:void 0,set(e){Ue.mode=e,e==="auto"?(Ue.__media===void 0&&(Ue.__media=window.matchMedia("(prefers-color-scheme: dark)"),Ue.__updateMedia=()=>{Ue.set("auto")},Ue.__media.addListener(Ue.__updateMedia)),e=Ue.__media.matches):Ue.__media!==void 0&&(Ue.__media.removeListener(Ue.__updateMedia),Ue.__media=void 0),Ue.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){Ue.set(Ue.isActive===!1)},install({$q:e,ssrContext:t}){const n=e.config.dark;e.dark=this,this.__installed!==!0&&this.set(n!==void 0?n:!1)}});function Rg(e,t,n=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let gf=!1;function Og(e){gf=e.isComposing===!0}function pf(e){return gf===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Yr(e,t){return pf(e)===!0?!1:[].concat(t).includes(e.keyCode)}function vf(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function Lg({is:e,has:t,within:n},r){const o=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const s=vf(e);s!==void 0&&o.push("platform-"+s)}if(e.nativeMobile===!0){const s=e.nativeMobileWrapper;o.push(s),o.push("native-mobile"),e.ios===!0&&(r[s]===void 0||r[s].iosStatusBarPadding!==!1)&&o.push("q-ios-padding")}else e.electron===!0?o.push("electron"):e.bex===!0&&o.push("bex");return n.iframe===!0&&o.push("within-iframe"),o}function Pg(){const{is:e}=Fe,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(e.mobile===!0){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const o=vf(e);o!==void 0&&n.add(`platform-${o}`)}}Fe.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),Fe.within.iframe===!0&&n.add("within-iframe");const r=Array.from(n).join(" ");t!==r&&(document.body.className=r)}function Ig(e){for(const t in e)Rg(t,e[t])}const Ng={install(e){if(this.__installed!==!0){if(kn.value===!0)Pg();else{const{$q:t}=e;t.config.brand!==void 0&&Ig(t.config.brand);const n=Lg(Fe,t.config);document.body.classList.add.apply(document.body.classList,n)}Fe.is.ios===!0&&document.body.addEventListener("touchstart",Qr),window.addEventListener("keydown",Og,!0)}}},_f=()=>!0;function Mg(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Dg(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function $g(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return _f;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(Mg).map(Dg)),()=>t.includes(window.location.hash)}const _i={__history:[],add:Qr,remove:Qr,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=Fe.is;if(t!==!0&&n!==!0)return;const r=e.config[t===!0?"cordova":"capacitor"];if(r?.backButton===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=i=>{i.condition===void 0&&(i.condition=_f),this.__history.push(i)},this.remove=i=>{const l=this.__history.indexOf(i);l>=0&&this.__history.splice(l,1)};const o=$g(Object.assign({backButtonExit:!0},r)),s=()=>{if(this.__history.length){const i=this.__history[this.__history.length-1];i.condition()===!0&&(this.__history.pop(),i.handler())}else o()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",s,!1)}):window.Capacitor.Plugins.App.addListener("backButton",s)}},da={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days",prevMonth:"Previous month",nextMonth:"Next month",prevYear:"Previous year",nextYear:"Next year",today:"Today",prevRangeYears:e=>`Previous ${e} years`,nextRangeYears:e=>`Next ${e} years`},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},pagination:{first:"First page",prev:"Previous page",next:"Next page",last:"Last page"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function ha(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,n)=>n===0?t.toLowerCase():n>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const _n=so({__qLang:{}},{getLocale:ha,set(e=da,t){const n={...e,rtl:e.rtl===!0,getLocale:ha};{if(n.set=_n.set,_n.__langConfig===void 0||_n.__langConfig.noHtmlAttrs!==!0){const r=document.documentElement;r.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),r.setAttribute("lang",n.isoName)}Object.assign(_n.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=_n.__qLang,_n.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(r){return Reflect.ownKeys(r).filter(o=>o!=="set"&&o!=="getLocale")}}),this.set(t||da))}}),Fg={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}},Wo=so({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=Wo.set,Object.assign(Wo.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,zn(e,"iconMapFn",()=>this.iconMapFn,r=>{this.iconMapFn=r}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(r){return Reflect.ownKeys(r).filter(o=>o!=="set")}}),this.set(t||Fg))}}),qg="_q_",_0="_q_l_",b0="_q_pc_",Vg="_q_fo_",y0="_q_tabs_";function E0(){}const Ko={};let bf=!1;function Bg(){bf=!0}function Ns(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,r;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(Ns(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let s=e.entries();for(r=s.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=s.next()}for(s=e.entries(),r=s.next();r.done!==!0;){if(Ns(r.value[1],t.get(r.value[0]))!==!0)return!1;r=s.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const s=e.entries();for(r=s.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=s.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const o=Object.keys(e).filter(s=>e[s]!==void 0);if(n=o.length,n!==Object.keys(t).filter(s=>t[s]!==void 0).length)return!1;for(r=n;r--!==0;){const s=o[r];if(Ns(e[s],t[s])!==!0)return!1}return!0}return e!==e&&t!==t}function ct(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function w0(e){return Object.prototype.toString.call(e)==="[object Date]"}function C0(e){return typeof e=="number"&&isFinite(e)}const ma=[vi,Ng,Ue,Ag,_i,_n,Wo];function sl(e,t){const n=df(e);n.config.globalProperties=t.config.globalProperties;const{reload:r,...o}=t._context;return Object.assign(n._context,o),n}function ga(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function jg(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(qg,n.$q),ga(n,ma),t.components!==void 0&&Object.values(t.components).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.component(r.name,r)}),t.directives!==void 0&&Object.values(t.directives).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.directive(r.name,r)}),t.plugins!==void 0&&ga(n,Object.values(t.plugins).filter(r=>typeof r.install=="function"&&ma.includes(r)===!1)),kn.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(r=>{r()}),n.$q.onSSRHydrated=()=>{}})}const Ug=function(e,t={}){const n={version:"2.18.6"};bf===!1?(t.config!==void 0&&Object.assign(Ko,t.config),n.config={...Ko},Bg()):n.config=t.config||{},jg(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},Hg={name:"Quasar",version:"2.18.6",install:Ug,lang:_n,iconSet:Wo};function Wg(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Kg=(e,t,n)=>Gg({l:e,k:t,s:n}),Gg=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),et=e=>typeof e=="number"&&isFinite(e),yf=e=>ll(e)==="[object Date]",pa=e=>ll(e)==="[object RegExp]",il=e=>Pe(e)&&Object.keys(e).length===0,Qn=Object.assign,zg=Object.create,lt=(e=null)=>zg(e);function va(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function _a(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Qg(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,o,s)=>`${o}="${_a(s)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,o,s)=>`${o}='${_a(s)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const Yg=Object.prototype.hasOwnProperty;function wn(e,t){return Yg.call(e,t)}const Ut=Array.isArray,Ve=e=>typeof e=="function",ce=e=>typeof e=="string",ot=e=>typeof e=="boolean",Qe=e=>e!==null&&typeof e=="object",Xg=e=>Qe(e)&&Ve(e.then)&&Ve(e.catch),Ef=Object.prototype.toString,ll=e=>Ef.call(e),Pe=e=>ll(e)==="[object Object]",Jg=e=>e==null?"":Ut(e)||Pe(e)&&e.toString===Ef?JSON.stringify(e,null,2):String(e);function al(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function Zg(e,t,n){return{line:e,column:t,offset:n}}function bi(e,t,n){return{start:e,end:t}}const ve={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},ep=17;function hs(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=e,l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=r,l}function tp(e){throw e}const Nt=" ",np="\r",He=` `,rp="\u2028",op="\u2029";function sp(e){const t=e;let n=0,r=1,o=1,s=0;const i=R=>t[R]===np&&t[R+1]===He,l=R=>t[R]===He,a=R=>t[R]===op,u=R=>t[R]===rp,c=R=>i(R)||l(R)||a(R)||u(R),f=()=>n,d=()=>r,g=()=>o,y=()=>s,C=R=>i(R)||a(R)||u(R)?He:t[R],S=()=>C(n),_=()=>C(n+s);function h(){return s=0,c(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function E(){return i(n+s)&&s++,s++,t[n+s]}function v(){n=0,r=1,o=1,s=0}function A(R=0){s=R}function P(){const R=n+s;for(;R!==n;)h();s=0}return{index:f,line:d,column:g,peekOffset:y,charAt:C,currentChar:S,currentPeek:_,next:h,peek:E,reset:v,resetPeek:A,skipToPeek:P}}const Qt=void 0,ip=".",ba="'",lp="tokenizer";function ap(e,t={}){const n=t.location!==!1,r=sp(e),o=()=>r.index(),s=()=>Zg(r.line(),r.column(),r.index()),i=s(),l=o(),a={currentType:13,offset:l,startLoc:i,endLoc:i,lastType:13,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>a,{onError:c}=t;function f(m,p,k,...L){const Z=u();if(p.column+=k,p.offset+=k,c){const G=n?bi(Z.startLoc,p):null,T=hs(m,G,{domain:lp,args:L});c(T)}}function d(m,p,k){m.endLoc=s(),m.currentType=p;const L={type:p};return n&&(L.loc=bi(m.startLoc,m.endLoc)),k!=null&&(L.value=k),L}const g=m=>d(m,13);function y(m,p){return m.currentChar()===p?(m.next(),p):(f(ve.EXPECTED_TOKEN,s(),0,p),"")}function C(m){let p="";for(;m.currentPeek()===Nt||m.currentPeek()===He;)p+=m.currentPeek(),m.peek();return p}function S(m){const p=C(m);return m.skipToPeek(),p}function _(m){if(m===Qt)return!1;const p=m.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function h(m){if(m===Qt)return!1;const p=m.charCodeAt(0);return p>=48&&p<=57}function E(m,p){const{currentType:k}=p;if(k!==2)return!1;C(m);const L=_(m.currentPeek());return m.resetPeek(),L}function v(m,p){const{currentType:k}=p;if(k!==2)return!1;C(m);const L=m.currentPeek()==="-"?m.peek():m.currentPeek(),Z=h(L);return m.resetPeek(),Z}function A(m,p){const{currentType:k}=p;if(k!==2)return!1;C(m);const L=m.currentPeek()===ba;return m.resetPeek(),L}function P(m,p){const{currentType:k}=p;if(k!==7)return!1;C(m);const L=m.currentPeek()===".";return m.resetPeek(),L}function R(m,p){const{currentType:k}=p;if(k!==8)return!1;C(m);const L=_(m.currentPeek());return m.resetPeek(),L}function H(m,p){const{currentType:k}=p;if(!(k===7||k===11))return!1;C(m);const L=m.currentPeek()===":";return m.resetPeek(),L}function F(m,p){const{currentType:k}=p;if(k!==9)return!1;const L=()=>{const G=m.currentPeek();return G==="{"?_(m.peek()):G==="@"||G==="|"||G===":"||G==="."||G===Nt||!G?!1:G===He?(m.peek(),L()):N(m,!1)},Z=L();return m.resetPeek(),Z}function I(m){C(m);const p=m.currentPeek()==="|";return m.resetPeek(),p}function N(m,p=!0){const k=(Z=!1,G="")=>{const T=m.currentPeek();return T==="{"||T==="@"||!T?Z:T==="|"?!(G===Nt||G===He):T===Nt?(m.peek(),k(!0,Nt)):T===He?(m.peek(),k(!0,He)):!0},L=k();return p&&m.resetPeek(),L}function x(m,p){const k=m.currentChar();return k===Qt?Qt:p(k)?(m.next(),k):null}function B(m){const p=m.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function q(m){return x(m,B)}function Y(m){const p=m.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36||p===45}function ee(m){return x(m,Y)}function Q(m){const p=m.charCodeAt(0);return p>=48&&p<=57}function j(m){return x(m,Q)}function re(m){const p=m.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function ye(m){return x(m,re)}function le(m){let p="",k="";for(;p=j(m);)k+=p;return k}function z(m){let p="";for(;;){const k=m.currentChar();if(k==="\\"){const L=m.peek();L==="{"||L==="}"||L==="@"||L==="|"||L==="\\"?(p+=k+L,m.next(),m.next()):(m.resetPeek(),p+=k,m.next())}else{if(k==="{"||k==="}"||k==="@"||k==="|"||!k)break;if(k===Nt||k===He)if(N(m))p+=k,m.next();else{if(I(m))break;p+=k,m.next()}else p+=k,m.next()}}return p}function fe(m){S(m);let p="",k="";for(;p=ee(m);)k+=p;const L=m.currentChar();if(L&&L!=="}"&&L!==Qt&&L!==Nt&&L!==He&&L!==" "){const Z=ne(m);return f(ve.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,k+Z),k+Z}return m.currentChar()===Qt&&f(ve.UNTERMINATED_CLOSING_BRACE,s(),0),k}function Ee(m){S(m);let p="";return m.currentChar()==="-"?(m.next(),p+=`-${le(m)}`):p+=le(m),m.currentChar()===Qt&&f(ve.UNTERMINATED_CLOSING_BRACE,s(),0),p}function Te(m){return m!==ba&&m!==He}function oe(m){S(m),y(m,"'");let p="",k="";for(;p=x(m,Te);)p==="\\"?k+=M(m):k+=p;const L=m.currentChar();return L===He||L===Qt?(f(ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),L===He&&(m.next(),y(m,"'")),k):(y(m,"'"),k)}function M(m){const p=m.currentChar();switch(p){case"\\":case"'":return m.next(),`\\${p}`;case"u":return X(m,p,4);case"U":return X(m,p,6);default:return f(ve.UNKNOWN_ESCAPE_SEQUENCE,s(),0,p),""}}function X(m,p,k){y(m,p);let L="";for(let Z=0;Z{const L=m.currentChar();return L==="{"||L==="@"||L==="|"||L==="("||L===")"||!L||L===Nt?k:(k+=L,m.next(),p(k))};return p("")}function w(m){S(m);const p=y(m,"|");return S(m),p}function O(m,p){let k=null;switch(m.currentChar()){case"{":return p.braceNest>=1&&f(ve.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),m.next(),k=d(p,2,"{"),S(m),p.braceNest++,k;case"}":return p.braceNest>0&&p.currentType===2&&f(ve.EMPTY_PLACEHOLDER,s(),0),m.next(),k=d(p,3,"}"),p.braceNest--,p.braceNest>0&&S(m),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),k;case"@":return p.braceNest>0&&f(ve.UNTERMINATED_CLOSING_BRACE,s(),0),k=U(m,p)||g(p),p.braceNest=0,k;default:{let Z=!0,G=!0,T=!0;if(I(m))return p.braceNest>0&&f(ve.UNTERMINATED_CLOSING_BRACE,s(),0),k=d(p,1,w(m)),p.braceNest=0,p.inLinked=!1,k;if(p.braceNest>0&&(p.currentType===4||p.currentType===5||p.currentType===6))return f(ve.UNTERMINATED_CLOSING_BRACE,s(),0),p.braceNest=0,K(m,p);if(Z=E(m,p))return k=d(p,4,fe(m)),S(m),k;if(G=v(m,p))return k=d(p,5,Ee(m)),S(m),k;if(T=A(m,p))return k=d(p,6,oe(m)),S(m),k;if(!Z&&!G&&!T)return k=d(p,12,ne(m)),f(ve.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,k.value),S(m),k;break}}return k}function U(m,p){const{currentType:k}=p;let L=null;const Z=m.currentChar();switch((k===7||k===8||k===11||k===9)&&(Z===He||Z===Nt)&&f(ve.INVALID_LINKED_FORMAT,s(),0),Z){case"@":return m.next(),L=d(p,7,"@"),p.inLinked=!0,L;case".":return S(m),m.next(),d(p,8,".");case":":return S(m),m.next(),d(p,9,":");default:return I(m)?(L=d(p,1,w(m)),p.braceNest=0,p.inLinked=!1,L):P(m,p)||H(m,p)?(S(m),U(m,p)):R(m,p)?(S(m),d(p,11,de(m))):F(m,p)?(S(m),Z==="{"?O(m,p)||L:d(p,10,b(m))):(k===7&&f(ve.INVALID_LINKED_FORMAT,s(),0),p.braceNest=0,p.inLinked=!1,K(m,p))}}function K(m,p){let k={type:13};if(p.braceNest>0)return O(m,p)||g(p);if(p.inLinked)return U(m,p)||g(p);switch(m.currentChar()){case"{":return O(m,p)||g(p);case"}":return f(ve.UNBALANCED_CLOSING_BRACE,s(),0),m.next(),d(p,3,"}");case"@":return U(m,p)||g(p);default:{if(I(m))return k=d(p,1,w(m)),p.braceNest=0,p.inLinked=!1,k;if(N(m))return d(p,0,z(m));break}}return k}function W(){const{currentType:m,offset:p,startLoc:k,endLoc:L}=a;return a.lastType=m,a.lastOffset=p,a.lastStartLoc=k,a.lastEndLoc=L,a.offset=o(),a.startLoc=s(),r.currentChar()===Qt?d(a,13):K(r,a)}return{nextToken:W,currentOffset:o,currentPosition:s,context:u}}const up="parser",cp=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,fp=/\\([\\@{}|])/g;function dp(e,t){return t}function hp(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function mp(e={}){const t=e.location!==!1,{onError:n}=e;function r(_,h,E,v,...A){const P=_.currentPosition();if(P.offset+=v,P.column+=v,n){const R=t?bi(E,P):null,H=hs(h,R,{domain:up,args:A});n(H)}}function o(_,h,E){const v={type:_};return t&&(v.start=h,v.end=h,v.loc={start:E,end:E}),v}function s(_,h,E,v){t&&(_.end=h,_.loc&&(_.loc.end=E))}function i(_,h){const E=_.context(),v=o(3,E.offset,E.startLoc);return v.value=h.replace(fp,dp),s(v,_.currentOffset(),_.currentPosition()),v}function l(_,h){const E=_.context(),{lastOffset:v,lastStartLoc:A}=E,P=o(5,v,A);return P.index=parseInt(h,10),_.nextToken(),s(P,_.currentOffset(),_.currentPosition()),P}function a(_,h){const E=_.context(),{lastOffset:v,lastStartLoc:A}=E,P=o(4,v,A);return P.key=h,_.nextToken(),s(P,_.currentOffset(),_.currentPosition()),P}function u(_,h){const E=_.context(),{lastOffset:v,lastStartLoc:A}=E,P=o(9,v,A);return P.value=h.replace(cp,hp),_.nextToken(),s(P,_.currentOffset(),_.currentPosition()),P}function c(_){const h=_.nextToken(),E=_.context(),{lastOffset:v,lastStartLoc:A}=E,P=o(8,v,A);return h.type!==11?(r(_,ve.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),P.value="",s(P,v,A),{nextConsumeToken:h,node:P}):(h.value==null&&r(_,ve.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Mt(h)),P.value=h.value||"",s(P,_.currentOffset(),_.currentPosition()),{node:P})}function f(_,h){const E=_.context(),v=o(7,E.offset,E.startLoc);return v.value=h,s(v,_.currentOffset(),_.currentPosition()),v}function d(_){const h=_.context(),E=o(6,h.offset,h.startLoc);let v=_.nextToken();if(v.type===8){const A=c(_);E.modifier=A.node,v=A.nextConsumeToken||_.nextToken()}switch(v.type!==9&&r(_,ve.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Mt(v)),v=_.nextToken(),v.type===2&&(v=_.nextToken()),v.type){case 10:v.value==null&&r(_,ve.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Mt(v)),E.key=f(_,v.value||"");break;case 4:v.value==null&&r(_,ve.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Mt(v)),E.key=a(_,v.value||"");break;case 5:v.value==null&&r(_,ve.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Mt(v)),E.key=l(_,v.value||"");break;case 6:v.value==null&&r(_,ve.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Mt(v)),E.key=u(_,v.value||"");break;default:{r(_,ve.UNEXPECTED_EMPTY_LINKED_KEY,h.lastStartLoc,0);const A=_.context(),P=o(7,A.offset,A.startLoc);return P.value="",s(P,A.offset,A.startLoc),E.key=P,s(E,A.offset,A.startLoc),{nextConsumeToken:v,node:E}}}return s(E,_.currentOffset(),_.currentPosition()),{node:E}}function g(_){const h=_.context(),E=h.currentType===1?_.currentOffset():h.offset,v=h.currentType===1?h.endLoc:h.startLoc,A=o(2,E,v);A.items=[];let P=null;do{const F=P||_.nextToken();switch(P=null,F.type){case 0:F.value==null&&r(_,ve.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Mt(F)),A.items.push(i(_,F.value||""));break;case 5:F.value==null&&r(_,ve.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Mt(F)),A.items.push(l(_,F.value||""));break;case 4:F.value==null&&r(_,ve.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Mt(F)),A.items.push(a(_,F.value||""));break;case 6:F.value==null&&r(_,ve.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Mt(F)),A.items.push(u(_,F.value||""));break;case 7:{const I=d(_);A.items.push(I.node),P=I.nextConsumeToken||null;break}}}while(h.currentType!==13&&h.currentType!==1);const R=h.currentType===1?h.lastOffset:_.currentOffset(),H=h.currentType===1?h.lastEndLoc:_.currentPosition();return s(A,R,H),A}function y(_,h,E,v){const A=_.context();let P=v.items.length===0;const R=o(1,h,E);R.cases=[],R.cases.push(v);do{const H=g(_);P||(P=H.items.length===0),R.cases.push(H)}while(A.currentType!==13);return P&&r(_,ve.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),s(R,_.currentOffset(),_.currentPosition()),R}function C(_){const h=_.context(),{offset:E,startLoc:v}=h,A=g(_);return h.currentType===13?A:y(_,E,v,A)}function S(_){const h=ap(_,Qn({},e)),E=h.context(),v=o(0,E.offset,E.startLoc);return t&&v.loc&&(v.loc.source=_),v.body=C(h),e.onCacheKey&&(v.cacheKey=e.onCacheKey(_)),E.currentType!==13&&r(h,ve.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,_[E.offset]||""),s(v,h.currentOffset(),h.currentPosition()),v}return{parse:S}}function Mt(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function gp(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function ya(e,t){for(let n=0;nEa(n)),e}function Ea(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function a(C,S){i.code+=C}function u(C,S=!0){const _=S?r:"";a(o?_+" ".repeat(C):_)}function c(C=!0){const S=++i.indentLevel;C&&u(S)}function f(C=!0){const S=--i.indentLevel;C&&u(S)}function d(){u(i.indentLevel)}return{context:l,push:a,indent:c,deindent:f,newline:d,helper:C=>`_${C}`,needIndent:()=>i.needIndent}}function bp(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),dr(e,t.key),t.modifier?(e.push(", "),dr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function yp(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s{const n=ce(t.mode)?t.mode:"normal",r=ce(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` -`,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],l=_p(e,{filename:r,breakLineCode:o,needIndent:s});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),i.length>0&&(l.push(`const { ${al(i.map(c=>`${c}: _${c}`),", ")} } = ctx`),l.newline()),l.push("return "),dr(l,e),l.deindent(s),l.push("}"),delete e.helpers;const{code:a,map:u}=l.context();return{ast:e,code:a,map:u?u.toJSON():void 0}};function Sp(e,t={}){const n=Qn({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,l=mp(n).parse(e);return r?(s&&vp(l),o&&sr(l),{ast:l,code:""}):(pp(l,n),Cp(l,n))}function Ht(e){return Qe(e)&&cl(e)===0&&(wn(e,"b")||wn(e,"body"))}const wf=["b","body"];function kp(e){return xn(e,wf)}const Cf=["c","cases"];function xp(e){return xn(e,Cf,[])}const Sf=["s","static"];function Tp(e){return xn(e,Sf)}const kf=["i","items"];function Ap(e){return xn(e,kf,[])}const xf=["t","type"];function cl(e){return xn(e,xf)}const Tf=["v","value"];function mo(e,t){const n=xn(e,Tf);if(n!=null)return n;throw Xr(t)}const Af=["m","modifier"];function Rp(e){return xn(e,Af)}const Rf=["k","key"];function Op(e){const t=xn(e,Rf);if(t)return t;throw Xr(6)}function xn(e,t,n){for(let r=0;rLp(n,e)}function Lp(e,t){const n=kp(t);if(n==null)throw Xr(0);if(cl(n)===1){const s=xp(n);return e.plural(s.reduce((i,l)=>[...i,wa(e,l)],[]))}else return wa(e,n)}function wa(e,t){const n=Tp(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Ap(t).reduce((o,s)=>[...o,yi(e,s)],[]);return e.normalize(r)}}function yi(e,t){const n=cl(t);switch(n){case 3:return mo(t,n);case 9:return mo(t,n);case 4:{const r=t;if(wn(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(wn(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Xr(n)}case 5:{const r=t;if(wn(r,"i")&&et(r.i))return e.interpolate(e.list(r.i));if(wn(r,"index")&&et(r.index))return e.interpolate(e.list(r.index));throw Xr(n)}case 6:{const r=t,o=Rp(r),s=Op(r);return e.linked(yi(e,s),o?yi(e,o):void 0,e.type)}case 7:return mo(t,n);case 8:return mo(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Pp=e=>e;let go=lt();function Ip(e,t={}){let n=!1;const r=t.onError||tp;return t.onError=o=>{n=!0,r(o)},{...Sp(e,t),detectError:n}}function Np(e,t){if(ce(e)){ot(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Pp)(e),o=go[r];if(o)return o;const{ast:s,detectError:i}=Ip(e,{...t,location:!1,jit:!0}),l=Ms(s);return i?l:go[r]=l}else{const n=e.cacheKey;if(n){const r=go[n];return r||(go[n]=Ms(e))}else return Ms(e)}}const nn={INVALID_ARGUMENT:ep,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Mp=24;function rn(e){return hs(e,null,void 0)}function fl(e,t){return t.locale!=null?Ca(t.locale):Ca(e.locale)}let Ds;function Ca(e){if(ce(e))return e;if(Ve(e)){if(e.resolvedOnce&&Ds!=null)return Ds;if(e.constructor.name==="Function"){const t=e();if(Xg(t))throw rn(nn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ds=t}else throw rn(nn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw rn(nn.NOT_SUPPORT_LOCALE_TYPE)}function Dp(e,t,n){return[...new Set([n,...Ut(t)?t:Qe(t)?Object.keys(t):ce(t)?[t]:[n]])]}function Ei(e,t,n){const r=ce(n)?n:Go,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Ut(i);)i=Sa(s,i,t);const l=Ut(t)||!Pe(t)?t:t.default?t.default:null;i=ce(l)?[l]:l,Ut(i)&&Sa(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Sa(e,t,n){let r=!0;for(let o=0;o{i===void 0?i=l:i+=l},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=Up(i),i===!1))return!1;d[1]()}};function g(){const y=e[n+1];if(r===5&&y==="'"||r===6&&y==='"')return n++,l="\\"+y,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&g())){if(a=jp(s),f=Tn[r],u=f[a]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(l=s,c()===!1))))return;if(r===7)return t}}const ka=new Map;function Wp(e,t){return Qe(e)?e[t]:null}function Kp(e,t){if(!Qe(e))return null;let n=ka.get(t);if(n||(n=Hp(t),n&&ka.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function zp(){return{upper:(e,t)=>t==="text"&&ce(e)?e.toUpperCase():t==="vnode"&&Qe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ce(e)?e.toLowerCase():t==="vnode"&&Qe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ce(e)?xa(e):t==="vnode"&&Qe(e)&&"__v_isVNode"in e?xa(e.children):e}}let Lf;function Qp(e){Lf=e}let Pf;function Yp(e){Pf=e}let If;function Xp(e){If=e}let Nf=null;const Ta=e=>{Nf=e},Jp=()=>Nf;let Aa=0;function Zp(e={}){const t=Ve(e.onWarn)?e.onWarn:Wg,n=ce(e.version)?e.version:Gp,r=ce(e.locale)||Ve(e.locale)?e.locale:Go,o=Ve(r)?Go:r,s=Ut(e.fallbackLocale)||Pe(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Pe(e.messages)?e.messages:$s(o),l=Pe(e.datetimeFormats)?e.datetimeFormats:$s(o),a=Pe(e.numberFormats)?e.numberFormats:$s(o),u=Qn(lt(),e.modifiers,zp()),c=e.pluralRules||lt(),f=Ve(e.missing)?e.missing:null,d=ot(e.missingWarn)||pa(e.missingWarn)?e.missingWarn:!0,g=ot(e.fallbackWarn)||pa(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,C=!!e.unresolving,S=Ve(e.postTranslation)?e.postTranslation:null,_=Pe(e.processor)?e.processor:null,h=ot(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,v=Ve(e.messageCompiler)?e.messageCompiler:Lf,A=Ve(e.messageResolver)?e.messageResolver:Pf||Wp,P=Ve(e.localeFallbacker)?e.localeFallbacker:If||Dp,R=Qe(e.fallbackContext)?e.fallbackContext:void 0,H=e,F=Qe(H.__datetimeFormatters)?H.__datetimeFormatters:new Map,I=Qe(H.__numberFormatters)?H.__numberFormatters:new Map,N=Qe(H.__meta)?H.__meta:{};Aa++;const x={version:n,cid:Aa,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:g,fallbackFormat:y,unresolving:C,postTranslation:S,processor:_,warnHtmlMessage:h,escapeParameter:E,messageCompiler:v,messageResolver:A,localeFallbacker:P,fallbackContext:R,onWarn:t,__meta:N};return x.datetimeFormats=l,x.numberFormats=a,x.__datetimeFormatters=F,x.__numberFormatters=I,x}const $s=e=>({[e]:lt()});function dl(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const l=s(e,n,t,o);return ce(l)?l:t}else return t}function wr(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ev(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function tv(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{Mf.includes(a)?i[a]=n[a]:s[a]=n[a]}),ce(r)?s.locale=r:Pe(r)&&(i=r),Pe(o)&&(i=o),[s.key||"",l,s,i]}function Oa(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function La(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:l}=e;if(!et(t[0]))return zo;const[a,u,c,f]=Ci(...t),d=ot(c.missingWarn)?c.missingWarn:e.missingWarn;ot(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const g=!!c.part,y=fl(e,c),C=i(e,o,y);if(!ce(a)||a==="")return new Intl.NumberFormat(y.replace(/!/g,""),f).format(u);let S={},_,h=null;const E="number format";for(let P=0;P{Df.includes(a)?i[a]=n[a]:s[a]=n[a]}),ce(r)?s.locale=r:Pe(r)&&(i=r),Pe(o)&&(i=o),[s.key||"",l,s,i]}function Pa(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const nv=e=>e,rv=e=>"",ov="text",sv=e=>e.length===0?"":al(e),iv=Jg;function Fs(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function lv(e){const t=et(e.pluralIndex)?e.pluralIndex:-1;return et(e.named?.count)?e.named.count:et(e.named?.n)?e.named.n:t}function av(e={}){const t=e.locale,n=lv(e),r=ce(t)&&Ve(e.pluralRules?.[t])?e.pluralRules[t]:Fs,o=r===Fs?void 0:Fs,s=_=>_[r(n,_.length,o)],i=e.list||[],l=_=>i[_],a=e.named||lt();et(e.pluralIndex)&&(a.count||=e.pluralIndex,a.n||=e.pluralIndex);const u=_=>a[_];function c(_,h){const E=Ve(e.messages)?e.messages(_,!!h):Qe(e.messages)?e.messages[_]:!1;return E||(e.parent?e.parent.message(_):rv)}const f=_=>e.modifiers?e.modifiers[_]:nv,d=Ve(e.processor?.normalize)?e.processor.normalize:sv,g=Ve(e.processor?.interpolate)?e.processor.interpolate:iv,y=ce(e.processor?.type)?e.processor.type:ov,S={list:l,named:u,plural:s,linked:(_,...h)=>{const[E,v]=h;let A="text",P="";h.length===1?Qe(E)?(P=E.modifier||P,A=E.type||A):ce(E)&&(P=E||P):h.length===2&&(ce(E)&&(P=E||P),ce(v)&&(A=v||A));const R=c(_,!0)(S),H=R===""||R===void 0?_:R,F=A==="vnode"&&Ut(H)&&P?H[0]:H;return P?f(P)(F,A):F},message:c,type:y,interpolate:g,normalize:d,values:Qn(lt(),i,a)};return S}const Ia=()=>"",sn=e=>Ve(e);function Na(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:l}=e,[a,u]=Si(...t),c=ot(u.missingWarn)?u.missingWarn:e.missingWarn,f=ot(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=ot(u.escapeParameter)?u.escapeParameter:e.escapeParameter,g=!!u.resolvedMessage,y=ce(u.default)||ot(u.default)?ot(u.default)?s?a:()=>a:u.default:n?s?a:()=>a:null,C=n||y!=null&&(ce(y)||Ve(y)),S=fl(e,u);d&&uv(u);let[_,h,E]=g?[a,S,l[S]||lt()]:$f(e,a,S,i,f,c),v=_,A=a;if(!g&&!(ce(v)||Ht(v)||sn(v))&&C&&(v=y,A=v),!g&&(!(ce(v)||Ht(v)||sn(v))||!ce(h)))return o?ms:a;let P=!1;const R=()=>{P=!0},H=sn(v)?v:Ff(e,a,h,v,A,R);if(P)return v;const F=dv(e,h,E,u),I=av(F),N=cv(e,H,I);let x=r?r(N,a):N;return d&&ce(x)&&(x=Qg(x)),x}function uv(e){Ut(e.list)?e.list=e.list.map(t=>ce(t)?va(t):t):Qe(e.named)&&Object.keys(e.named).forEach(t=>{ce(e.named[t])&&(e.named[t]=va(e.named[t]))})}function $f(e,t,n,r,o,s){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:u}=e,c=u(e,r,n);let f=lt(),d,g=null;const y="translate";for(let C=0;Cr);return u.locale=n,u.key=t,u}const a=i(r,fv(e,n,o,r,l,s));return a.locale=n,a.key=t,a.source=r,a}function cv(e,t,n){return t(n)}function Si(...e){const[t,n,r]=e,o=lt();if(!ce(t)&&!et(t)&&!sn(t)&&!Ht(t))throw rn(nn.INVALID_ARGUMENT);const s=et(t)?String(t):(sn(t),t);return et(n)?o.plural=n:ce(n)?o.default=n:Pe(n)&&!il(n)?o.named=n:Ut(n)&&(o.list=n),et(r)?o.plural=r:ce(r)?o.default=r:Pe(r)&&Qn(o,r),[s,o]}function fv(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>Kg(t,n,i)}}function dv(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:o,pluralRules:s,messages:(g,y)=>{let C=i(n,g);if(C==null&&(c||y)){const[,,S]=$f(c||e,g,t,l,a,u);C=i(S,g)}if(ce(C)||Ht(C)){let S=!1;const h=Ff(e,g,t,C,g,()=>{S=!0});return S?Ia:h}else return sn(C)?C:Ia}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),et(r.plural)&&(d.pluralIndex=r.plural),d}const Qo=typeof window<"u",An=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Jr=e=>typeof e=="number"&&isFinite(e),Ma=e=>qf(e)==="[object RegExp]",hv=e=>xt(e)&&Object.keys(e).length===0,Wt=Object.assign,mv=Object.create,ht=(e=null)=>mv(e),gv=Object.prototype.hasOwnProperty;function Yo(e,t){return gv.call(e,t)}const kt=Array.isArray,po=e=>typeof e=="function",Le=e=>typeof e=="string",Jt=e=>typeof e=="boolean",st=e=>e!==null&&typeof e=="object",pv=Object.prototype.toString,qf=e=>pv.call(e),xt=e=>qf(e)==="[object Object]",vo=e=>!st(e)||kt(e);function Ao(e,t){if(vo(e)||vo(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(st(r[s])&&!st(o[s])&&(o[s]=Array.isArray(r[s])?[]:ht()),vo(o[s])||vo(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}const vv="11.3.0",yt={UNEXPECTED_RETURN_TYPE:Mp,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Lt(e,...t){return hs(e,null,void 0)}const ki=An("__translateVNode"),xi=An("__datetimeParts"),Ti=An("__numberParts"),_v=An("__setPluralRules"),bv=An("__injectWithOption"),Ai=An("__dispose");function Zr(e){if(!st(e)||Ht(e))return e;for(const t in e)if(Yo(e,t))if(!t.includes("."))st(e[t])&&Zr(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i{if("locale"in l&&"resource"in l){const{locale:a,resource:u}=l;a?(i[a]=i[a]||ht(),Ao(u,i[a])):Ao(u,i)}else Le(l)&&Ao(JSON.parse(l),i)}),o==null&&s)for(const l in i)Yo(i,l)&&Zr(i[l]);return i}function yv(e){return e.type}function Ev(e,t,n){let r=st(t.messages)?t.messages:ht();"__i18nGlobal"in n&&(r=Vf(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(st(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(st(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Da(e){return Ze(ro,null,e,0)}function Bf(){return ke()}const $a=()=>[],wv=()=>!1;let Fa=0;function qa(e){return((t,n,r,o)=>e(n,r,Bf()||void 0,o))}function jf(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Qo?me:dc;let i=Jt(e.inheritLocale)?e.inheritLocale:!0;const l=s(t&&i?t.locale.value:Le(e.locale)?e.locale:Go),a=s(t&&i?t.fallbackLocale.value:Le(e.fallbackLocale)||kt(e.fallbackLocale)||xt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),u=s(Vf(l.value,e)),c=s(xt(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=s(xt(e.numberFormats)?e.numberFormats:{[l.value]:{}});let d=t?t.missingWarn:Jt(e.missingWarn)||Ma(e.missingWarn)?e.missingWarn:!0,g=t?t.fallbackWarn:Jt(e.fallbackWarn)||Ma(e.fallbackWarn)?e.fallbackWarn:!0,y=t?t.fallbackRoot:Jt(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,S=po(e.missing)?e.missing:null,_=po(e.missing)?qa(e.missing):null,h=po(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:Jt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const A=t?t.modifiers:xt(e.modifiers)?e.modifiers:{};let P=e.pluralRules||t&&t.pluralRules,R;R=(()=>{r&&Ta(null);const T={version:vv,locale:l.value,fallbackLocale:a.value,messages:u.value,modifiers:A,pluralRules:P,missing:_===null?void 0:_,missingWarn:d,fallbackWarn:g,fallbackFormat:C,unresolving:!0,postTranslation:h===null?void 0:h,warnHtmlMessage:E,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};T.datetimeFormats=c.value,T.numberFormats=f.value,T.__datetimeFormatters=xt(R)?R.__datetimeFormatters:void 0,T.__numberFormatters=xt(R)?R.__numberFormatters:void 0;const D=Zp(T);return r&&Ta(D),D})(),wr(R,l.value,a.value);function F(){return[l.value,a.value,u.value,c.value,f.value]}const I=$({get:()=>l.value,set:T=>{R.locale=T,l.value=T}}),N=$({get:()=>a.value,set:T=>{R.fallbackLocale=T,a.value=T,wr(R,l.value,T)}}),x=$(()=>u.value),B=$(()=>c.value),q=$(()=>f.value);function Y(){return po(h)?h:null}function ee(T){h=T,R.postTranslation=T}function Q(){return S}function j(T){T!==null&&(_=qa(T)),S=T,R.missing=_}const re=(T,D,te,ie,he,Re)=>{F();let we;try{r||(R.fallbackContext=t?Jp():void 0),we=T(R)}finally{r||(R.fallbackContext=void 0)}if(te!=="translate exists"&&Jr(we)&&we===ms||te==="translate exists"&&!we){const[gt,wt]=D();return t&&y?ie(t):he(gt)}else{if(Re(we))return we;throw Lt(yt.UNEXPECTED_RETURN_TYPE)}};function ye(...T){return re(D=>Reflect.apply(Na,null,[D,...T]),()=>Si(...T),"translate",D=>Reflect.apply(D.t,D,[...T]),D=>D,D=>Le(D))}function le(...T){const[D,te,ie]=T;if(ie&&!st(ie))throw Lt(yt.INVALID_ARGUMENT);return ye(D,te,Wt({resolvedMessage:!0},ie||{}))}function z(...T){return re(D=>Reflect.apply(Ra,null,[D,...T]),()=>wi(...T),"datetime format",D=>Reflect.apply(D.d,D,[...T]),()=>zo,D=>Le(D)||kt(D))}function fe(...T){return re(D=>Reflect.apply(La,null,[D,...T]),()=>Ci(...T),"number format",D=>Reflect.apply(D.n,D,[...T]),()=>zo,D=>Le(D)||kt(D))}function Ee(T){return T.map(D=>Le(D)||Jr(D)||Jt(D)?Da(String(D)):D)}const oe={normalize:Ee,interpolate:T=>T,type:"vnode"};function M(...T){return re(D=>{let te;const ie=D;try{ie.processor=oe,te=Reflect.apply(Na,null,[ie,...T])}finally{ie.processor=null}return te},()=>Si(...T),"translate",D=>D[ki](...T),D=>[Da(D)],D=>kt(D))}function X(...T){return re(D=>Reflect.apply(La,null,[D,...T]),()=>Ci(...T),"number format",D=>D[Ti](...T),$a,D=>Le(D)||kt(D))}function J(...T){return re(D=>Reflect.apply(Ra,null,[D,...T]),()=>wi(...T),"datetime format",D=>D[xi](...T),$a,D=>Le(D)||kt(D))}function ne(T){P=T,R.pluralRules=P}function de(T,D){return re(()=>{if(!T)return!1;const te=Le(D)?D:l.value,ie=Le(D)?[te]:Ei(R,a.value,te);for(let he=0;he[T],"translate exists",te=>Reflect.apply(te.te,te,[T,D]),wv,te=>Jt(te))}function b(T){let D=null;const te=Ei(R,a.value,l.value);for(let ie=0;ie{i&&(l.value=T,R.locale=T,wr(R,l.value,a.value))}),ge(t.fallbackLocale,T=>{i&&(a.value=T,R.fallbackLocale=T,wr(R,l.value,a.value))}));const G={id:Fa,locale:I,fallbackLocale:N,get inheritLocale(){return i},set inheritLocale(T){i=T,T&&t&&(l.value=t.locale.value,a.value=t.fallbackLocale.value,wr(R,l.value,a.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:x,get modifiers(){return A},get pluralRules(){return P||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(T){d=T,R.missingWarn=d},get fallbackWarn(){return g},set fallbackWarn(T){g=T,R.fallbackWarn=g},get fallbackRoot(){return y},set fallbackRoot(T){y=T},get fallbackFormat(){return C},set fallbackFormat(T){C=T,R.fallbackFormat=C},get warnHtmlMessage(){return E},set warnHtmlMessage(T){E=T,R.warnHtmlMessage=T},get escapeParameter(){return v},set escapeParameter(T){v=T,R.escapeParameter=T},t:ye,getLocaleMessage:O,setLocaleMessage:U,mergeLocaleMessage:K,getPostTranslationHandler:Y,setPostTranslationHandler:ee,getMissingHandler:Q,setMissingHandler:j,[_v]:ne};return G.datetimeFormats=B,G.numberFormats=q,G.rt=le,G.te=de,G.tm=w,G.d=z,G.n=fe,G.getDateTimeFormat=W,G.setDateTimeFormat=m,G.mergeDateTimeFormat=p,G.getNumberFormat=k,G.setNumberFormat=L,G.mergeNumberFormat=Z,G[bv]=n,G[ki]=M,G[xi]=J,G[Ti]=X,G}const hl={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Cv({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===ut?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},ht())}function Uf(){return ut}const Sv=Gn({name:"i18n-t",props:Wt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Jr(e)||!isNaN(e)}},hl),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||gs({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f[0]!=="_"),i=ht();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Le(e.plural)?+e.plural:e.plural);const l=Cv(t,s),a=o[ki](e.keypath,l,i),u=Wt(ht(),r),c=Le(e.tag)||st(e.tag)?e.tag:Uf();return V(c,u,a)}}}),Va=Sv;function kv(e){return kt(e)&&!Le(e[0])}function Hf(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i={part:!0};let l=ht();e.locale&&(i.locale=e.locale),Le(e.format)?i.key=e.format:st(e.format)&&(Le(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((d,g)=>n.includes(g)?Wt(ht(),d,{[g]:e.format[g]}):d,ht()));const a=r(e.value,i,l);let u=[i.key];kt(a)?u=a.map((d,g)=>{const y=o[d.type],C=y?y({[d.type]:d.value,index:g,parts:a}):[d.value];return kv(C)&&(C[0].key=`${d.type}-${g}`),C}):Le(a)&&(u=[a]);const c=Wt(ht(),s),f=Le(e.tag)||st(e.tag)?e.tag:Uf();return V(f,c,u)}}const xv=Gn({name:"i18n-n",props:Wt({value:{type:Number,required:!0},format:{type:[String,Object]}},hl),setup(e,t){const n=e.i18n||gs({useScope:e.scope,__useComponent:!0});return Hf(e,t,Df,(...r)=>n[Ti](...r))}}),Ba=xv;function Tv(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Av(e){const t=i=>{const{instance:l,value:a}=i;if(!l||!l.$)throw Lt(yt.UNEXPECTED_ERROR);const u=Tv(e,l.$),c=ja(a);return[Reflect.apply(u.t,u,[...Ua(c)]),u]};return{created:(i,l)=>{const[a,u]=t(l);Qo&&(i.__i18nWatcher=ge(u.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=u,i.textContent=a},unmounted:i=>{Qo&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const a=i.__composer,u=ja(l);i.textContent=Reflect.apply(a.t,a,[...Ua(u)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function ja(e){if(Le(e))return{path:e};if(xt(e)){if(!("path"in e))throw Lt(yt.REQUIRED_VALUE,"path");return e}else throw Lt(yt.INVALID_VALUE)}function Ua(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},l=r||{};return Le(n)&&(i.locale=n),Jr(o)&&(i.plural=o),Jr(s)&&(i.plural=s),[t,l,i]}function Rv(e,t,...n){const r=xt(n[0])?n[0]:{};(!Jt(r.globalInstall)||r.globalInstall)&&([Va.name,"I18nT"].forEach(s=>e.component(s,Va)),[Ba.name,"I18nN"].forEach(s=>e.component(s,Ba)),[Wa.name,"I18nD"].forEach(s=>e.component(s,Wa))),e.directive("t",Av(t))}const Ov=An("global-vue-i18n");function S0(e={}){const t=Jt(e.globalInjection)?e.globalInjection:!0,n=new Map,[r,o]=Lv(e),s=An("");function i(c){return n.get(c)||null}function l(c,f){n.set(c,f)}function a(c){n.delete(c)}const u={get mode(){return"composition"},async install(c,...f){if(c.__VUE_I18N_SYMBOL__=s,c.provide(c.__VUE_I18N_SYMBOL__,u),xt(f[0])){const y=f[0];u.__composerExtend=y.__composerExtend,u.__vueI18nExtend=y.__vueI18nExtend}let d=null;t&&(d=qv(c,u.global)),Rv(c,u,...f);const g=c.unmount;c.unmount=()=>{d&&d(),u.dispose(),g()}},get global(){return o},dispose(){r.stop()},__instances:n,__getInstance:i,__setInstance:l,__deleteInstance:a};return u}function gs(e={}){const t=Bf();if(t==null)throw Lt(yt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Lt(yt.NOT_INSTALLED);const n=Pv(t),r=Nv(n),o=yv(t),s=Iv(e,o);if(s==="global")return Ev(r,e,o),r;if(s==="parent"){let a=Mv(n,t,e.__useComponent);return a==null&&(a=r),a}const i=n;let l=i.__getInstance(t);if(l==null){const a=Wt({},e);"__i18n"in o&&(a.__i18n=o.__i18n),r&&(a.__root=r),l=jf(a),i.__composerExtend&&(l[Ai]=i.__composerExtend(l)),$v(i,t,l),i.__setInstance(t,l)}return l}function Lv(e,t){const n=Wi(),r=n.run(()=>jf(e));if(r==null)throw Lt(yt.UNEXPECTED_ERROR);return[n,r]}function Pv(e){const t=it(e.isCE?Ov:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Lt(e.isCE?yt.NOT_INSTALLED_WITH_PROVIDE:yt.UNEXPECTED_ERROR);return t}function Iv(e,t){return hv(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Nv(e){return e.mode==="composition"?e.global:e.global.__composer}function Mv(e,t,n=!1){let r=null;const o=t.root;let s=Dv(t,n);for(;s!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(s)),r!=null||o===s)break;s=s.parent}return r}function Dv(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function $v(e,t,n){Gt(()=>{},t),cs(()=>{const r=n;e.__deleteInstance(t);const o=r[Ai];o&&(o(),delete r[Ai])},t)}const Fv=["locale","fallbackLocale","availableLocales"],Ha=["t","rt","d","n","tm","te"];function qv(e,t){const n=Object.create(null);return Fv.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Lt(yt.UNEXPECTED_ERROR);const i=Ae(s.value)?{get(){return s.value.value},set(l){s.value.value=l}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Ha.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Lt(yt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Ha.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const Vv=Gn({name:"i18n-d",props:Wt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},hl),setup(e,t){const n=e.i18n||gs({useScope:e.scope,__useComponent:!0});return Hf(e,t,Mf,(...r)=>n[xi](...r))}}),Wa=Vv;Qp(Np);Yp(Kp);Xp(Ei);let Wf;const ps=e=>Wf=e,Kf=Symbol();function Ri(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var qr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(qr||(qr={}));function Bv(){const e=Wi(!0),t=e.run(()=>me({}));let n=[],r=[];const o=Kn({install(s){ps(o),o._a=s,s.provide(Kf,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Gf=()=>{};function Ka(e,t,n,r=Gf){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&Yu()&&Zd(o),o}function Zn(e,...t){e.forEach(n=>{n(...t)})}const jv=e=>e(),Ga=Symbol(),qs=Symbol();function Oi(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Ri(o)&&Ri(r)&&e.hasOwnProperty(n)&&!Ae(r)&&!on(r)?e[n]=Oi(o,r):e[n]=r}return e}const Uv=Symbol();function Hv(e){return!Ri(e)||!Object.prototype.hasOwnProperty.call(e,Uv)}const{assign:pn}=Object;function Wv(e){return!!(Ae(e)&&e.effect)}function Kv(e,t,n,r){const{state:o,actions:s,getters:i}=t,l=n.state.value[e];let a;function u(){l||(n.state.value[e]=o?o():{});const c=Eh(n.state.value[e]);return pn(c,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Kn($(()=>{ps(n);const g=n._s.get(e);return i[d].call(g,g)})),f),{}))}return a=zf(e,u,t,n,r,!0),a}function zf(e,t,n={},r,o,s){let i;const l=pn({actions:{}},n),a={deep:!0};let u,c,f=new Set,d=new Set,g;const y=r.state.value[e];!s&&!y&&(r.state.value[e]={});let C;function S(H){let F;u=c=!1,typeof H=="function"?(H(r.state.value[e]),F={type:qr.patchFunction,storeId:e,events:g}):(Oi(r.state.value[e],H),F={type:qr.patchObject,payload:H,storeId:e,events:g});const I=C=Symbol();rt().then(()=>{C===I&&(u=!0)}),c=!0,Zn(f,F,r.state.value[e])}const _=s?function(){const{state:F}=n,I=F?F():{};this.$patch(N=>{pn(N,I)})}:Gf;function h(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(H,F="")=>{if(Ga in H)return H[qs]=F,H;const I=function(){ps(r);const N=Array.from(arguments),x=new Set,B=new Set;function q(Q){x.add(Q)}function Y(Q){B.add(Q)}Zn(d,{args:N,name:I[qs],store:A,after:q,onError:Y});let ee;try{ee=H.apply(this&&this.$id===e?this:A,N)}catch(Q){throw Zn(B,Q),Q}return ee instanceof Promise?ee.then(Q=>(Zn(x,Q),Q)).catch(Q=>(Zn(B,Q),Promise.reject(Q))):(Zn(x,ee),ee)};return I[Ga]=!0,I[qs]=F,I},v={_p:r,$id:e,$onAction:Ka.bind(null,d),$patch:S,$reset:_,$subscribe(H,F={}){const I=Ka(f,H,F.detached,()=>N()),N=i.run(()=>ge(()=>r.state.value[e],x=>{(F.flush==="sync"?c:u)&&H({storeId:e,type:qr.direct,events:g},x)},pn({},a,F)));return I},$dispose:h},A=Wn(v);r._s.set(e,A);const R=(r._a&&r._a.runWithContext||jv)(()=>r._e.run(()=>(i=Wi()).run(()=>t({action:E}))));for(const H in R){const F=R[H];if(Ae(F)&&!Wv(F)||on(F))s||(y&&Hv(F)&&(Ae(F)?F.value=y[H]:Oi(F,y[H])),r.state.value[e][H]=F);else if(typeof F=="function"){const I=E(F,H);R[H]=I,l.actions[H]=F}}return pn(A,R),pn(ue(A),R),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:H=>{S(F=>{pn(F,H)})}}),r._p.forEach(H=>{pn(A,i.run(()=>H({store:A,app:r._a,pinia:r,options:l})))}),y&&s&&n.hydrate&&n.hydrate(A.$state,y),u=!0,c=!0,A}function Gv(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,l){const a=Ph();return i=i||(a?it(Kf,null):null),i&&ps(i),i=Wf,i._s.has(e)||(o?zf(e,t,r,i):Kv(e,r,i)),i._s.get(e)}return s.$id=e,s}const zv=["it","en","en_us","de","de_ch","fr","fr_ch"],za="it",Qf="preferences.language";function Qv(e){return zv.includes(e)}function Yv(){if(typeof localStorage>"u")return za;const e=localStorage.getItem(Qf);return e&&Qv(e)?e:za}function Xv(e){switch(e){case"it":case"en":case"en_us":case"de":case"de_ch":case"fr":case"fr_ch":return e}}const Jv=Gv("preferences",{state:()=>({language:Yv()}),actions:{setLanguage(e){this.language=e,typeof localStorage<"u"&&localStorage.setItem(Qf,e)}}}),Zv=Gn({__name:"App",setup(e){const{locale:t}=gs(),n=Jv();return ge(()=>n.language,r=>{t.value=Xv(r)},{immediate:!0}),(r,o)=>{const s=zh("router-view");return Yc(),Jc(s)}}}),ml=e=>e,k0=ml,e_=ml,t_=ml,Vs=t_(()=>Bv());const ir=typeof document<"u";function Yf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function n_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Yf(e.default)}const pe=Object.assign;function Bs(e,t){const n={};for(const r in t){const o=t[r];n[r]=Pt(o)?o.map(e):e(o)}return n}const Vr=()=>{},Pt=Array.isArray;function Qa(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let Oe=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Xf=Symbol("");Oe.MATCHER_NOT_FOUND+"",Oe.NAVIGATION_GUARD_REDIRECT+"",Oe.NAVIGATION_ABORTED+"",Oe.NAVIGATION_CANCELLED+"",Oe.NAVIGATION_DUPLICATED+"";function hr(e,t){return pe(new Error,{type:e,[Xf]:!0},t)}function Yt(e,t){return e instanceof Error&&Xf in e&&(t==null||!!(e.type&t))}const r_=["params","query","hash"];function o_(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of r_)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const s_=Symbol(""),Ya=Symbol(""),vs=Symbol(""),gl=Symbol(""),Li=Symbol("");function x0(){return it(vs)}function T0(e){return it(gl)}const Jf=/#/g,i_=/&/g,l_=/\//g,a_=/=/g,u_=/\?/g,Zf=/\+/g,c_=/%5B/g,f_=/%5D/g,ed=/%5E/g,d_=/%60/g,td=/%7B/g,h_=/%7C/g,nd=/%7D/g,m_=/%20/g;function pl(e){return e==null?"":encodeURI(""+e).replace(h_,"|").replace(c_,"[").replace(f_,"]")}function g_(e){return pl(e).replace(td,"{").replace(nd,"}").replace(ed,"^")}function Pi(e){return pl(e).replace(Zf,"%2B").replace(m_,"+").replace(Jf,"%23").replace(i_,"%26").replace(d_,"`").replace(td,"{").replace(nd,"}").replace(ed,"^")}function p_(e){return Pi(e).replace(a_,"%3D")}function v_(e){return pl(e).replace(Jf,"%23").replace(u_,"%3F")}function __(e){return v_(e).replace(l_,"%2F")}function eo(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const b_=/\/$/,y_=e=>e.replace(b_,"");function js(e,t,n="/"){let r,o={},s="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(r=t.slice(0,a),s=t.slice(a,l>0?l:t.length),o=e(s.slice(1))),l>=0&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=S_(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:eo(i)}}function E_(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Xa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function w_(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&mr(t.matched[r],n.matched[o])&&rd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function mr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!C_(e[n],t[n]))return!1;return!0}function C_(e,t){return Pt(e)?Ja(e,t):Pt(t)?Ja(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Ja(e,t){return Pt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function S_(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,l;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const mn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ii=(function(e){return e.pop="pop",e.push="push",e})({}),Us=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function k_(e){if(!e)if(ir){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),y_(e)}const x_=/^[^#]+#/;function T_(e,t){return e.replace(x_,"#")+t}function A_(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const _s=()=>({left:window.scrollX,top:window.scrollY});function R_(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=A_(o,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 Za(e,t){return(history.state?history.state.position-t:-1)+e}const Ni=new Map;function O_(e,t){Ni.set(e,t)}function L_(e){const t=Ni.get(e);return Ni.delete(e),t}function P_(e){return typeof e=="string"||e&&typeof e=="object"}function od(e){return typeof e=="string"||typeof e=="symbol"}function I_(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Pi(o)):[r&&Pi(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function N_(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Pt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function Cr(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function bn(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((l,a)=>{const u=d=>{d===!1?a(hr(Oe.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?a(d):P_(d)?a(hr(Oe.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),l())},c=s(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>a(d))})}function Hs(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Yf(a)){const u=(a.__vccOpts||a)[t];u&&s.push(bn(u,n,r,i,l,o))}else{let u=a();s.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=n_(c)?c.default:c;i.mods[l]=c,i.components[l]=f;const d=(f.__vccOpts||f)[t];return d&&bn(d,n,r,i,l,o)()}))}}return s}function M_(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;imr(u,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(u=>mr(u,a))||o.push(a))}return[n,r,o]}let D_=()=>location.protocol+"//"+location.host;function sd(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(i);return l[0]!=="/"&&(l="/"+l),Xa(l,"")}return Xa(n,e)+r+o}function $_(e,t,n,r){let o=[],s=[],i=null;const l=({state:d})=>{const g=sd(e,location),y=n.value,C=t.value;let S=0;if(d){if(n.value=g,t.value=d,i&&i===y){i=null;return}S=C?d.position-C.position:0}else r(g);o.forEach(_=>{_(n.value,y,{delta:S,type:Ii.pop,direction:S?S>0?Us.forward:Us.back:Us.unknown})})};function a(){i=n.value}function u(d){o.push(d);const g=()=>{const y=o.indexOf(d);y>-1&&o.splice(y,1)};return s.push(g),g}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(pe({},d.state,{scroll:_s()}),"")}}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:a,listen:u,destroy:f}}function tu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?_s():null}}function F_(e){const{history:t,location:n}=window,r={value:sd(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(a,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:D_()+e+a;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(g){console.error(g),n[c?"replace":"assign"](d)}}function i(a,u){s(a,pe({},t.state,tu(o.value.back,a,o.value.forward,!0),u,{position:o.value.position}),!0),r.value=a}function l(a,u){const c=pe({},o.value,t.state,{forward:a,scroll:_s()});s(c.current,c,!0),s(a,pe({},tu(r.value,a,null),{position:c.position+1},u),!1),r.value=a}return{location:r,state:o,push:l,replace:i}}function q_(e){e=k_(e);const t=F_(e),n=$_(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=pe({location:"",base:e,go:r,createHref:T_.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let Mn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var $e=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})($e||{});const V_={type:Mn.Static,value:""},B_=/[a-zA-Z0-9_]/;function j_(e){if(!e)return[[]];if(e==="/")return[[V_]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=$e.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let l=0,a,u="",c="";function f(){u&&(n===$e.Static?s.push({type:Mn.Static,value:u}):n===$e.Param||n===$e.ParamRegExp||n===$e.ParamRegExpEnd?(s.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:Mn.Param,value:u,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=a}for(;lt.length?t.length===1&&t[0]===Xe.Static+Xe.Segment?1:-1:0}function id(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const G_={strict:!1,end:!0,sensitive:!1};function z_(e,t,n){const r=W_(j_(e.path),n),o=pe(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Q_(e,t){const n=[],r=new Map;t=Qa(G_,t);function o(f){return r.get(f)}function s(f,d,g){const y=!g,C=su(f);C.aliasOf=g&&g.record;const S=Qa(t,f),_=[C];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const A of v)_.push(su(pe({},C,{components:g?g.record.components:C.components,path:A,aliasOf:g?g.record:C})))}let h,E;for(const v of _){const{path:A}=v;if(d&&A[0]!=="/"){const P=d.record.path,R=P[P.length-1]==="/"?"":"/";v.path=d.record.path+(A&&R+A)}if(h=z_(v,d,S),g?g.alias.push(h):(E=E||h,E!==h&&E.alias.push(h),y&&f.name&&!iu(h)&&i(f.name)),ld(h)&&a(h),C.children){const P=C.children;for(let R=0;R{i(E)}:Vr}function i(f){if(od(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function a(f){const d=J_(f,n);n.splice(d,0,f),f.record.name&&!iu(f)&&r.set(f.record.name,f)}function u(f,d){let g,y={},C,S;if("name"in f&&f.name){if(g=r.get(f.name),!g)throw hr(Oe.MATCHER_NOT_FOUND,{location:f});S=g.record.name,y=pe(ou(d.params,g.keys.filter(E=>!E.optional).concat(g.parent?g.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),f.params&&ou(f.params,g.keys.map(E=>E.name))),C=g.stringify(y)}else if(f.path!=null)C=f.path,g=n.find(E=>E.re.test(C)),g&&(y=g.parse(C),S=g.record.name);else{if(g=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!g)throw hr(Oe.MATCHER_NOT_FOUND,{location:f,currentLocation:d});S=g.record.name,y=pe({},d.params,f.params),C=g.stringify(y)}const _=[];let h=g;for(;h;)_.unshift(h.record),h=h.parent;return{name:S,path:C,params:y,matched:_,meta:X_(_)}}e.forEach(f=>s(f));function c(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:o}}function ou(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function su(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Y_(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 Y_(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function iu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function X_(e){return e.reduce((t,n)=>pe(t,n.meta),{})}function J_(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;id(e,t[s])<0?r=s:n=s+1}const o=Z_(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Z_(e){let t=e;for(;t=t.parent;)if(ld(t)&&id(e,t)===0)return t}function ld({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function lu(e){const t=it(vs),n=it(gl),r=$(()=>{const a=Cn(e.to);return t.resolve(a)}),o=$(()=>{const{matched:a}=r.value,{length:u}=a,c=a[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(mr.bind(null,c));if(d>-1)return d;const g=au(a[u-2]);return u>1&&au(c)===g&&f[f.length-1].path!==g?f.findIndex(mr.bind(null,a[u-2])):d}),s=$(()=>o.value>-1&&ob(n.params,r.value.params)),i=$(()=>o.value>-1&&o.value===n.matched.length-1&&rd(n.params,r.value.params));function l(a={}){if(rb(a)){const u=t[Cn(e.replace)?"replace":"push"](Cn(e.to)).catch(Vr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:$(()=>r.value.href),isActive:s,isExactActive:i,navigate:l}}function eb(e){return e.length===1?e[0]:e}const tb=Gn({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"},viewTransition:Boolean},useLink:lu,setup(e,{slots:t}){const n=Wn(lu(e)),{options:r}=it(vs),o=$(()=>({[uu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[uu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&eb(t.default(n));return e.custom?s:V("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),nb=tb;function rb(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 ob(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Pt(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function au(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const uu=(e,t,n)=>e??t??n,sb=Gn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=it(Li),o=$(()=>e.route||r.value),s=it(Ya,0),i=$(()=>{let u=Cn(s);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),l=$(()=>o.value.matched[i.value]);So(Ya,$(()=>i.value+1)),So(s_,l),So(Li,o);const a=me();return ge(()=>[a.value,l.value,e.name],([u,c,f],[d,g,y])=>{c&&(c.instances[f]=u,g&&g!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=g.leaveGuards),c.updateGuards.size||(c.updateGuards=g.updateGuards))),u&&c&&(!g||!mr(c,g)||!d)&&(c.enterCallbacks[f]||[]).forEach(C=>C(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=l.value,d=f&&f.components[c];if(!d)return cu(n.default,{Component:d,route:u});const g=f.props[c],y=g?g===!0?u.params:typeof g=="function"?g(u):g:null,S=V(d,pe({},y,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:a}));return cu(n.default,{Component:S,route:u})||S}}});function cu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ib=sb;function lb(e){const t=Q_(e.routes,e),n=e.parseQuery||I_,r=e.stringifyQuery||eu,o=e.history,s=Cr(),i=Cr(),l=Cr(),a=dc(mn);let u=mn;ir&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Bs.bind(null,M=>""+M),f=Bs.bind(null,__),d=Bs.bind(null,eo);function g(M,X){let J,ne;return od(M)?(J=t.getRecordMatcher(M),ne=X):ne=M,t.addRoute(ne,J)}function y(M){const X=t.getRecordMatcher(M);X&&t.removeRoute(X)}function C(){return t.getRoutes().map(M=>M.record)}function S(M){return!!t.getRecordMatcher(M)}function _(M,X){if(X=pe({},X||a.value),typeof M=="string"){const O=js(n,M,X.path),U=t.resolve({path:O.path},X),K=o.createHref(O.fullPath);return pe(O,U,{params:d(U.params),hash:eo(O.hash),redirectedFrom:void 0,href:K})}let J;if(M.path!=null)J=pe({},M,{path:js(n,M.path,X.path).path});else{const O=pe({},M.params);for(const U in O)O[U]==null&&delete O[U];J=pe({},M,{params:f(O)}),X.params=f(X.params)}const ne=t.resolve(J,X),de=M.hash||"";ne.params=c(d(ne.params));const b=E_(r,pe({},M,{hash:g_(de),path:ne.path})),w=o.createHref(b);return pe({fullPath:b,hash:de,query:r===eu?N_(M.query):M.query||{}},ne,{redirectedFrom:void 0,href:w})}function h(M){return typeof M=="string"?js(n,M,a.value.path):pe({},M)}function E(M,X){if(u!==M)return hr(Oe.NAVIGATION_CANCELLED,{from:X,to:M})}function v(M){return R(M)}function A(M){return v(pe(h(M),{replace:!0}))}function P(M,X){const J=M.matched[M.matched.length-1];if(J&&J.redirect){const{redirect:ne}=J;let de=typeof ne=="function"?ne(M,X):ne;return typeof de=="string"&&(de=de.includes("?")||de.includes("#")?de=h(de):{path:de},de.params={}),pe({query:M.query,hash:M.hash,params:de.path!=null?{}:M.params},de)}}function R(M,X){const J=u=_(M),ne=a.value,de=M.state,b=M.force,w=M.replace===!0,O=P(J,ne);if(O)return R(pe(h(O),{state:typeof O=="object"?pe({},de,O.state):de,force:b,replace:w}),X||J);const U=J;U.redirectedFrom=X;let K;return!b&&w_(r,ne,J)&&(K=hr(Oe.NAVIGATION_DUPLICATED,{to:U,from:ne}),le(ne,ne,!0,!1)),(K?Promise.resolve(K):I(U,ne)).catch(W=>Yt(W)?Yt(W,Oe.NAVIGATION_GUARD_REDIRECT)?W:ye(W):j(W,U,ne)).then(W=>{if(W){if(Yt(W,Oe.NAVIGATION_GUARD_REDIRECT))return R(pe({replace:w},h(W.to),{state:typeof W.to=="object"?pe({},de,W.to.state):de,force:b}),X||U)}else W=x(U,ne,!0,w,de);return N(U,ne,W),W})}function H(M,X){const J=E(M,X);return J?Promise.reject(J):Promise.resolve()}function F(M){const X=Ee.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(M):M()}function I(M,X){let J;const[ne,de,b]=M_(M,X);J=Hs(ne.reverse(),"beforeRouteLeave",M,X);for(const O of ne)O.leaveGuards.forEach(U=>{J.push(bn(U,M,X))});const w=H.bind(null,M,X);return J.push(w),oe(J).then(()=>{J=[];for(const O of s.list())J.push(bn(O,M,X));return J.push(w),oe(J)}).then(()=>{J=Hs(de,"beforeRouteUpdate",M,X);for(const O of de)O.updateGuards.forEach(U=>{J.push(bn(U,M,X))});return J.push(w),oe(J)}).then(()=>{J=[];for(const O of b)if(O.beforeEnter)if(Pt(O.beforeEnter))for(const U of O.beforeEnter)J.push(bn(U,M,X));else J.push(bn(O.beforeEnter,M,X));return J.push(w),oe(J)}).then(()=>(M.matched.forEach(O=>O.enterCallbacks={}),J=Hs(b,"beforeRouteEnter",M,X,F),J.push(w),oe(J))).then(()=>{J=[];for(const O of i.list())J.push(bn(O,M,X));return J.push(w),oe(J)}).catch(O=>Yt(O,Oe.NAVIGATION_CANCELLED)?O:Promise.reject(O))}function N(M,X,J){l.list().forEach(ne=>F(()=>ne(M,X,J)))}function x(M,X,J,ne,de){const b=E(M,X);if(b)return b;const w=X===mn,O=ir?history.state:{};J&&(ne||w?o.replace(M.fullPath,pe({scroll:w&&O&&O.scroll},de)):o.push(M.fullPath,de)),a.value=M,le(M,X,J,w),ye()}let B;function q(){B||(B=o.listen((M,X,J)=>{if(!Te.listening)return;const ne=_(M),de=P(ne,Te.currentRoute.value);if(de){R(pe(de,{replace:!0,force:!0}),ne).catch(Vr);return}u=ne;const b=a.value;ir&&O_(Za(b.fullPath,J.delta),_s()),I(ne,b).catch(w=>Yt(w,Oe.NAVIGATION_ABORTED|Oe.NAVIGATION_CANCELLED)?w:Yt(w,Oe.NAVIGATION_GUARD_REDIRECT)?(R(pe(h(w.to),{force:!0}),ne).then(O=>{Yt(O,Oe.NAVIGATION_ABORTED|Oe.NAVIGATION_DUPLICATED)&&!J.delta&&J.type===Ii.pop&&o.go(-1,!1)}).catch(Vr),Promise.reject()):(J.delta&&o.go(-J.delta,!1),j(w,ne,b))).then(w=>{w=w||x(ne,b,!1),w&&(J.delta&&!Yt(w,Oe.NAVIGATION_CANCELLED)?o.go(-J.delta,!1):J.type===Ii.pop&&Yt(w,Oe.NAVIGATION_ABORTED|Oe.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),N(ne,b,w)}).catch(Vr)}))}let Y=Cr(),ee=Cr(),Q;function j(M,X,J){ye(M);const ne=ee.list();return ne.length?ne.forEach(de=>de(M,X,J)):console.error(M),Promise.reject(M)}function re(){return Q&&a.value!==mn?Promise.resolve():new Promise((M,X)=>{Y.add([M,X])})}function ye(M){return Q||(Q=!M,q(),Y.list().forEach(([X,J])=>M?J(M):X()),Y.reset()),M}function le(M,X,J,ne){const{scrollBehavior:de}=e;if(!ir||!de)return Promise.resolve();const b=!J&&L_(Za(M.fullPath,0))||(ne||!J)&&history.state&&history.state.scroll||null;return rt().then(()=>de(M,X,b)).then(w=>w&&R_(w)).catch(w=>j(w,M,X))}const z=M=>o.go(M);let fe;const Ee=new Set,Te={currentRoute:a,listening:!0,addRoute:g,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:S,getRoutes:C,resolve:_,options:e,push:v,replace:A,go:z,back:()=>z(-1),forward:()=>z(1),beforeEach:s.add,beforeResolve:i.add,afterEach:l.add,onError:ee.add,isReady:re,install(M){M.component("RouterLink",nb),M.component("RouterView",ib),M.config.globalProperties.$router=Te,Object.defineProperty(M.config.globalProperties,"$route",{enumerable:!0,get:()=>Cn(a)}),ir&&!fe&&a.value===mn&&(fe=!0,v(o.location).catch(ne=>{}));const X={};for(const ne in mn)Object.defineProperty(X,ne,{get:()=>a.value[ne],enumerable:!0});M.provide(vs,Te),M.provide(gl,fc(X)),M.provide(Li,a);const J=M.unmount;Ee.add(M),M.unmount=function(){Ee.delete(M),Ee.size<1&&(u=mn,B&&B(),B=null,a.value=mn,fe=!1,Q=!1),J()}}};function oe(M){return M.reduce((X,J)=>X.then(()=>F(J)),Promise.resolve())}return Te}const ab=[{path:"/",component:()=>Ne(()=>import("./MainLayout-BlbPIMKP.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])),children:[{path:"",component:()=>Ne(()=>import("./IndexPage-xIT21-b4.js"),__vite__mapDeps([13,14,15,3,4,5,11,8,16,17]))},{path:"about",component:()=>Ne(()=>import("./AboutUsPage-Bwj-ymKd.js"),__vite__mapDeps([18,14,15,3,4,5,11,8,16,19,20,21]))},{path:"services",component:()=>Ne(()=>import("./ServicesPage-C1Wj__Px.js"),__vite__mapDeps([22,14,15,3,4,5,11,8,16,23]))},{path:"doctors",component:()=>Ne(()=>import("./DoctorsPage-CbYjO5rH.js"),__vite__mapDeps([24,3,4,5,14,15,11,8,16,19,20,25]))},{path:"doctordetails",component:()=>Ne(()=>import("./DoctorDetailPage-BUBFnryG.js"),__vite__mapDeps([26,3,4,5,27,28,14,15,11,8,16,19,29]))},{path:"contact",component:()=>Ne(()=>import("./ContactUsPage-CGgRgy8m.js"),__vite__mapDeps([30,3,4,5,28,14,15,11,8,16,31]))},{path:"login",component:()=>Ne(()=>import("./LoginPage-ClfsMK2o.js"),__vite__mapDeps([32,28,14,33,10,11,34]))},{path:"signup",component:()=>Ne(()=>import("./SignupPage-BnglUC4l.js"),__vite__mapDeps([35,28,14,33,10,11,36]))},{path:"recoverpassword",component:()=>Ne(()=>import("./RecoverPasswordPage-Bh9nckCd.js"),__vite__mapDeps([37,28,14,33,10,11,38]))}]},{path:"/dev",component:()=>Ne(()=>import("./DevLayout-CXkxSOTr.js"),__vite__mapDeps([39,1,2,8,6,40,41,5])),children:[{path:"",component:()=>Ne(()=>import("./IndexPage-CWe5wEqb.js"),__vite__mapDeps([42,14]))},{path:"reset-password",component:()=>Ne(()=>import("./ResetPasswordPage-bCDSDRjo.js"),__vite__mapDeps([43,14,10,11,44]))},{path:"api/endpoints",component:()=>Ne(()=>import("./ApiEndpointsPage-C6oIckuV.js"),__vite__mapDeps([45,46,14,9,10,11,47]))},{path:"api/mail-debug",component:()=>Ne(()=>import("./MailDebugPage-DwRhtT-c.js"),__vite__mapDeps([48,7,6,4,5,14,33,10,11,49]))}]},{path:"/admin",component:()=>Ne(()=>import("./AdminLayout-e_bAwum9.js"),__vite__mapDeps([50,1,2,8,6,40,41,5])),children:[{path:"",component:()=>Ne(()=>import("./IndexPage-DE6ucgFI.js"),__vite__mapDeps([51,14,11,52]))},{path:"users",component:()=>Ne(()=>import("./UsersPage-Cq7pEaZT.js"),__vite__mapDeps([53,46,6,2,7,4,5,27,41,28,14,9,33,10,11,54]))}]},{path:"/:catchAll(.*)*",component:()=>Ne(()=>import("./ErrorNotFound-dqvwBGco.js"),[])}],Ws=e_(function(){return lb({scrollBehavior:()=>({left:0,top:0}),routes:ab,history:q_("/")})});async function ub(e,t){const n=e(Zv);n.use(Hg,t);const r=typeof Vs=="function"?await Vs({}):Vs;n.use(r);const o=Kn(typeof Ws=="function"?await Ws({store:r}):Ws);return r.use(({store:s})=>{s.router=o}),{app:n,store:r,router:o}}const Mi={xs:18,sm:24,md:32,lg:38,xl:46},io={size:String};function lo(e,t=Mi){return $(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function Tt(e,t){return e!==void 0&&e()||t}function A0(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function Dn(e,t){return e!==void 0?t.concat(e()):t}function cb(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function R0(e,t,n,r,o,s){t.key=r+o;const i=V(e,t,n);return o===!0?yc(i,s()):i}const fu="0 0 24 24",Ks=e=>e,Gs=e=>`ionicons ${e}`,ad={"mdi-":e=>`mdi ${e}`,"icon-":Ks,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Gs,"ion-ios":Gs,"ion-logo":Gs,"iconfont ":Ks,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`,"i-":Ks},ud={o_:"-outlined",r_:"-round",s_:"-sharp"},cd={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},fb=new RegExp("^("+Object.keys(ad).join("|")+")"),db=new RegExp("^("+Object.keys(ud).join("|")+")"),du=new RegExp("^("+Object.keys(cd).join("|")+")"),hb=/^[Mm]\s?[-+]?\.?\d/,mb=/^img:/,gb=/^svguse:/,pb=/^ion-/,vb=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,fn=je({name:"QIcon",props:{...io,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=ke(),r=lo(e),o=$(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),s=$(()=>{let i,l=e.name;if(l==="none"||!l)return{none:!0};if(n.iconMapFn!==null){const c=n.iconMapFn(l);if(c!==void 0)if(c.icon!==void 0){if(l=c.icon,l==="none"||!l)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(hb.test(l)===!0){const[c,f=fu]=l.split("|");return{svg:!0,viewBox:f,nodes:c.split("&&").map(d=>{const[g,y,C]=d.split("@@");return V("path",{style:y,d:g,transform:C})})}}if(mb.test(l)===!0)return{img:!0,src:l.substring(4)};if(gb.test(l)===!0){const[c,f=fu]=l.split("|");return{svguse:!0,src:c.substring(7),viewBox:f}}let a=" ";const u=l.match(fb);if(u!==null)i=ad[u[1]](l);else if(vb.test(l)===!0)i=l;else if(pb.test(l)===!0)i=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${l.substring(3)}`;else if(du.test(l)===!0){i="notranslate material-symbols";const c=l.match(du);c!==null&&(l=l.substring(6),i+=cd[c[1]]),a=l}else{i="notranslate material-icons";const c=l.match(db);c!==null&&(l=l.substring(2),i+=ud[c[1]]),a=l}return{cls:i,content:a}});return()=>{const i={class:o.value,style:r.value,"aria-hidden":"true"};return s.value.none===!0?V(e.tag,i,Tt(t.default)):s.value.img===!0?V(e.tag,i,Dn(t.default,[V("img",{src:s.value.src})])):s.value.svg===!0?V(e.tag,i,Dn(t.default,[V("svg",{viewBox:s.value.viewBox||"0 0 24 24"},s.value.nodes)])):s.value.svguse===!0?V(e.tag,i,Dn(t.default,[V("svg",{viewBox:s.value.viewBox},[V("use",{"xlink:href":s.value.src})])])):(s.value.cls!==void 0&&(i.class+=" "+s.value.cls),V(e.tag,i,Dn(t.default,[s.value.content])))}}}),_b=je({name:"QAvatar",props:{...io,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=lo(e),r=$(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),o=$(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{const s=e.icon!==void 0?[V(fn,{name:e.icon})]:void 0;return V("div",{class:r.value,style:n.value},[V("div",{class:"q-avatar__content row flex-center overflow-hidden",style:o.value},cb(t.default,s))])}}}),bb={size:{type:[String,Number],default:"1em"},color:String};function yb(e){return{cSize:$(()=>e.size in Mi?`${Mi[e.size]}px`:e.size),classes:$(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const gr=je({name:"QSpinner",props:{...bb,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=yb(e);return()=>V("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[V("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Di(e,t){const n=e.style;for(const r in t)n[r]=t[r]}function Eb(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=Cn(e);if(t)return t.$el||t}function wb(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}function Cb(e,t=250){let n=!1,r;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),r=e.apply(this,arguments)),r}}function hu(e,t,n,r){n.modifiers.stop===!0&&Ho(e);const o=n.modifiers.color;let s=n.modifiers.center;s=s===!0||r===!0;const i=document.createElement("span"),l=document.createElement("span"),a=Sg(e),{left:u,top:c,width:f,height:d}=t.getBoundingClientRect(),g=Math.sqrt(f*f+d*d),y=g/2,C=`${(f-g)/2}px`,S=s?C:`${a.left-u-y}px`,_=`${(d-g)/2}px`,h=s?_:`${a.top-c-y}px`;l.className="q-ripple__inner",Di(l,{height:`${g}px`,width:`${g}px`,transform:`translate3d(${S},${h},0) scale3d(.2,.2,1)`,opacity:0}),i.className=`q-ripple${o?" text-"+o:""}`,i.setAttribute("dir","ltr"),i.appendChild(l),t.appendChild(i);const E=()=>{i.remove(),clearTimeout(v)};n.abort.push(E);let v=setTimeout(()=>{l.classList.add("q-ripple__inner--enter"),l.style.transform=`translate3d(${C},${_},0) scale3d(1,1,1)`,l.style.opacity=.2,v=setTimeout(()=>{l.classList.remove("q-ripple__inner--enter"),l.classList.add("q-ripple__inner--leave"),l.style.opacity=0,v=setTimeout(()=>{i.remove(),n.abort.splice(n.abort.indexOf(E),1)},275)},250)},50)}function mu(e,{modifiers:t,value:n,arg:r}){const o=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:o.early===!0,stop:o.stop===!0,center:o.center===!0,color:o.color||r,keyCodes:[].concat(o.keyCodes||13)}}const Sb=Cg({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const r={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(o){r.enabled===!0&&o.qSkipRipple!==!0&&o.type===(r.modifiers.early===!0?"pointerdown":"click")&&hu(o,e,r,o.qKeyEvent===!0)},keystart:Cb(o=>{r.enabled===!0&&o.qSkipRipple!==!0&&Yr(o,r.modifiers.keyCodes)===!0&&o.type===`key${r.modifiers.early===!0?"down":"up"}`&&hu(o,e,r,!0)},300)};mu(r,t),e.__qripple=r,xg(r,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&mu(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),Tg(t,"main"),delete e._qripple)}}),fd={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},kb=Object.keys(fd),dd={align:{type:String,validator:e=>kb.includes(e)}};function hd(e){return $(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${fd[t]}`})}function Ro(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function md(e,t){typeof t.type=="symbol"?Array.isArray(t.children)===!0&&t.children.forEach(n=>{md(e,n)}):e.add(t)}function O0(e){const t=new Set;return e.forEach(n=>{md(t,n)}),Array.from(t)}function gd(e){return e.appContext.config.globalProperties.$router!==void 0}function pd(e){return e.isUnmounted===!0||e.isDeactivated===!0}function gu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function pu(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function xb(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(Array.isArray(o)===!1||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function vu(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Tb(e,t){return Array.isArray(e)===!0?vu(e,t):Array.isArray(t)===!0?vu(t,e):e===t}function Ab(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(Tb(e[n],t[n])===!1)return!1;return!0}const vd={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},L0={...vd,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Rb({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=ke(),{props:r,proxy:o,emit:s}=n,i=gd(n),l=$(()=>r.disable!==!0&&r.href!==void 0),a=$(t===!0?()=>i===!0&&r.disable!==!0&&l.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!=="":()=>i===!0&&l.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""),u=$(()=>a.value===!0?h(r.to):null),c=$(()=>u.value!==null),f=$(()=>l.value===!0||c.value===!0),d=$(()=>r.type==="a"||f.value===!0?"a":r.tag||e||"div"),g=$(()=>l.value===!0?{href:r.href,target:r.target}:c.value===!0?{href:u.value.href,target:r.target}:{}),y=$(()=>{if(c.value===!1)return-1;const{matched:A}=u.value,{length:P}=A,R=A[P-1];if(R===void 0)return-1;const H=o.$route.matched;if(H.length===0)return-1;const F=H.findIndex(pu.bind(null,R));if(F!==-1)return F;const I=gu(A[P-2]);return P>1&&gu(R)===I&&H[H.length-1].path!==I?H.findIndex(pu.bind(null,A[P-2])):F}),C=$(()=>c.value===!0&&y.value!==-1&&xb(o.$route.params,u.value.params)),S=$(()=>C.value===!0&&y.value===o.$route.matched.length-1&&Ab(o.$route.params,u.value.params)),_=$(()=>c.value===!0?S.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?"":C.value===!0?` ${r.activeClass}`:"":"");function h(A){try{return o.$router.resolve(A)}catch{}return null}function E(A,{returnRouterError:P,to:R=r.to,replace:H=r.replace}={}){if(r.disable===!0)return A.preventDefault(),Promise.resolve(!1);if(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey||A.button!==void 0&&A.button!==0||r.target==="_blank")return Promise.resolve(!1);A.preventDefault();const F=o.$router[H===!0?"replace":"push"](R);return P===!0?F:F.then(()=>{}).catch(()=>{})}function v(A){if(c.value===!0){const P=R=>E(A,R);s("click",A,P),A.defaultPrevented!==!0&&P()}else s("click",A)}return{hasRouterLink:c,hasHrefLink:l,hasLink:f,linkTag:d,resolvedLink:u,linkIsActive:C,linkIsExactActive:S,linkClass:_,linkAttrs:g,getLink:h,navigateToRouterLink:E,navigateOnClick:v}}const _u={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Ob={xs:8,sm:10,md:14,lg:20,xl:24},Lb=["button","submit","reset"],Pb=/[^\s]\/[^\s]/,Ib=["flat","outline","push","unelevated"];function Nb(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const Mb={...io,...vd,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Ib.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...dd.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Db={...Mb,round:Boolean};function $b(e){const t=lo(e,Ob),n=hd(e),{hasRouterLink:r,hasLink:o,linkTag:s,linkAttrs:i,navigateOnClick:l}=Rb({fallbackTag:"button"}),a=$(()=>{const S=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},S,{padding:e.padding.split(/\s+/).map(_=>_ in _u?_u[_]+"px":_).join(" "),minWidth:"0",minHeight:"0"}):S}),u=$(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=$(()=>e.disable!==!0&&e.loading!==!0),f=$(()=>c.value===!0?e.tabindex||0:-1),d=$(()=>Nb(e,"standard")),g=$(()=>{const S={tabindex:f.value};return o.value===!0?Object.assign(S,i.value):Lb.includes(e.type)===!0&&(S.type=e.type),s.value==="a"?(e.disable===!0?S["aria-disabled"]="true":S.href===void 0&&(S.role="button"),r.value!==!0&&Pb.test(e.type)===!0&&(S.type=e.type)):e.disable===!0&&(S.disabled="",S["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(S,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),S}),y=$(()=>{let S;e.color!==void 0?e.flat===!0||e.outline===!0?S=`text-${e.textColor||e.color}`:S=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(S=`text-${e.textColor}`);const _=e.round===!0?"round":`rectangle${u.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${d.value} q-btn--${_}`+(S!==void 0?" "+S:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),C=$(()=>n.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:y,style:a,innerClasses:C,attributes:g,hasLink:o,linkTag:s,navigateOnClick:l,isActionable:c}}const{passiveCapture:vt}=nt;let er=null,tr=null,nr=null;const $i=je({name:"QBtn",props:{...Db,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:r}=ke(),{classes:o,style:s,innerClasses:i,attributes:l,hasLink:a,linkTag:u,navigateOnClick:c,isActionable:f}=$b(e),d=me(null),g=me(null);let y=null,C,S=null;const _=$(()=>e.label!==void 0&&e.label!==null&&e.label!==""),h=$(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:a.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),E=$(()=>({center:e.round})),v=$(()=>{const q=Math.max(0,Math.min(100,e.percentage));return q>0?{transition:"transform 0.6s",transform:`translateX(${q-100}%)`}:{}}),A=$(()=>{if(e.loading===!0)return{onMousedown:B,onTouchstart:B,onClick:B,onKeydown:B,onKeyup:B};if(f.value===!0){const q={onClick:R,onKeydown:H,onMousedown:I};if(r.$q.platform.has.touch===!0){const Y=e.onTouchstart!==void 0?"":"Passive";q[`onTouchstart${Y}`]=F}return q}return{onClick:bt}}),P=$(()=>({ref:d,class:"q-btn q-btn-item non-selectable no-outline "+o.value,style:s.value,...l.value,...A.value}));function R(q){if(d.value!==null){if(q!==void 0){if(q.defaultPrevented===!0)return;const Y=document.activeElement;if(e.type==="submit"&&Y!==document.body&&d.value.contains(Y)===!1&&Y.contains(d.value)===!1){q.qAvoidFocus!==!0&&d.value.focus();const ee=()=>{document.removeEventListener("keydown",bt,!0),document.removeEventListener("keyup",ee,vt),d.value?.removeEventListener("blur",ee,vt)};document.addEventListener("keydown",bt,!0),document.addEventListener("keyup",ee,vt),d.value.addEventListener("blur",ee,vt)}}c(q)}}function H(q){d.value!==null&&(n("keydown",q),Yr(q,[13,32])===!0&&tr!==d.value&&(tr!==null&&x(),q.defaultPrevented!==!0&&(q.qAvoidFocus!==!0&&d.value.focus(),tr=d.value,d.value.classList.add("q-btn--active"),document.addEventListener("keyup",N,!0),d.value.addEventListener("blur",N,vt)),bt(q)))}function F(q){d.value!==null&&(n("touchstart",q),q.defaultPrevented!==!0&&(er!==d.value&&(er!==null&&x(),er=d.value,y=q.target,y.addEventListener("touchcancel",N,vt),y.addEventListener("touchend",N,vt)),C=!0,S!==null&&clearTimeout(S),S=setTimeout(()=>{S=null,C=!1},200)))}function I(q){d.value!==null&&(q.qSkipRipple=C===!0,n("mousedown",q),q.defaultPrevented!==!0&&nr!==d.value&&(nr!==null&&x(),nr=d.value,d.value.classList.add("q-btn--active"),document.addEventListener("mouseup",N,vt)))}function N(q){if(d.value!==null&&!(q?.type==="blur"&&document.activeElement===d.value)){if(q?.type==="keyup"){if(tr===d.value&&Yr(q,[13,32])===!0){const Y=new MouseEvent("click",q);Y.qKeyEvent=!0,q.defaultPrevented===!0&&En(Y),q.cancelBubble===!0&&Ho(Y),d.value.dispatchEvent(Y),bt(q),q.qKeyEvent=!0}n("keyup",q)}x()}}function x(q){const Y=g.value;q!==!0&&(er===d.value||nr===d.value)&&Y!==null&&Y!==document.activeElement&&(Y.setAttribute("tabindex",-1),Y.focus()),er===d.value&&(y!==null&&(y.removeEventListener("touchcancel",N,vt),y.removeEventListener("touchend",N,vt)),er=y=null),nr===d.value&&(document.removeEventListener("mouseup",N,vt),nr=null),tr===d.value&&(document.removeEventListener("keyup",N,!0),d.value?.removeEventListener("blur",N,vt),tr=null),d.value?.classList.remove("q-btn--active")}function B(q){bt(q),q.qSkipRipple=!0}return Et(()=>{x(!0)}),Object.assign(r,{click:q=>{f.value===!0&&R(q)}}),()=>{let q=[];e.icon!==void 0&&q.push(V(fn,{name:e.icon,left:e.stack!==!0&&_.value===!0,role:"img"})),_.value===!0&&q.push(V("span",{class:"block"},[e.label])),q=Dn(t.default,q),e.iconRight!==void 0&&e.round===!1&&q.push(V(fn,{name:e.iconRight,right:e.stack!==!0&&_.value===!0,role:"img"}));const Y=[V("span",{class:"q-focus-helper",ref:g})];return e.loading===!0&&e.percentage!==void 0&&Y.push(V("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[V("span",{class:"q-btn__progress-indicator fit block",style:v.value})])),Y.push(V("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+i.value},q)),e.loading!==null&&Y.push(V(zr,{name:"q-transition--fade"},()=>e.loading===!0?[V("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[V(gr)])]:null)),yc(V(u.value,P.value,Y),[[Sb,h.value,void 0,E.value]])}}});let Fb=1,qb=document.body;function bs(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${Fb++}`:e,Ko.globalNodes!==void 0){const r=Ko.globalNodes.class;r!==void 0&&(n.className=r)}return qb.appendChild(n),n}function vl(e){e.remove()}let Vb=0;const Oo={},Lo={},St={},_d={},Bb=/^\s*$/,bd=[],jb=[void 0,null,!0,!1,""],_l=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],Ub=["top-left","top-right","bottom-left","bottom-right"],Rr={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function yd(e,t,n){if(!e)return Sr("parameter required");let r;const o={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(o,Oo),ct(e)===!1&&(o.type&&Object.assign(o,Rr[o.type]),e={message:e}),Object.assign(o,Rr[e.type||o.type],e),typeof o.icon=="function"&&(o.icon=o.icon(t)),o.spinner?(o.spinner===!0&&(o.spinner=gr),o.spinner=Kn(o.spinner)):o.spinner=!1,o.meta={hasMedia:!!(o.spinner!==!1||o.icon||o.avatar),hasText:bu(o.message)||bu(o.caption)},o.position){if(_l.includes(o.position)===!1)return Sr("wrong position",e)}else o.position="bottom";if(jb.includes(o.timeout)===!0)o.timeout=5e3;else{const a=Number(o.timeout);if(isNaN(a)||a<0)return Sr("wrong timeout",e);o.timeout=Number.isFinite(a)?a:0}o.timeout===0?o.progress=!1:o.progress===!0&&(o.meta.progressClass="q-notification__progress"+(o.progressClass?` ${o.progressClass}`:""),o.meta.progressStyle={animationDuration:`${o.timeout+1e3}ms`});const s=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(Oo.actions)===!0?Oo.actions:[]).concat(Array.isArray(Rr[e.type]?.actions)===!0?Rr[e.type].actions:[]),{closeBtn:i}=o;if(i&&s.push({label:typeof i=="string"?i:t.lang.label.close}),o.actions=s.map(({handler:a,noDismiss:u,...c})=>({flat:!0,...c,onClick:typeof a=="function"?()=>{a(),u!==!0&&l()}:()=>{l()}})),o.multiLine===void 0&&(o.multiLine=o.actions.length>1),Object.assign(o.meta,{class:`q-notification row items-stretch q-notification--${o.multiLine===!0?"multi-line":"standard"}`+(o.color!==void 0?` bg-${o.color}`:"")+(o.textColor!==void 0?` text-${o.textColor}`:"")+(o.classes!==void 0?` ${o.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(o.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(o.multiLine===!0?"":" col"),leftClass:o.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...o.attrs}}),o.group===!1?(o.group=void 0,o.meta.group=void 0):((o.group===void 0||o.group===!0)&&(o.group=[o.message,o.caption,o.multiline].concat(o.actions.map(a=>`${a.label}*${a.icon}`)).join("|")),o.meta.group=o.group+"|"+o.position),o.actions.length===0?o.actions=void 0:o.meta.actionsClass="q-notification__actions row items-center "+(o.multiLine===!0?"justify-end":"col-auto")+(o.meta.hasMedia===!0?" q-notification__actions--with-media":""),n!==void 0){n.notif.meta.timer&&(clearTimeout(n.notif.meta.timer),n.notif.meta.timer=void 0),o.meta.uid=n.notif.meta.uid;const a=St[o.position].value.indexOf(n.notif);St[o.position].value[a]=o}else{const a=Lo[o.meta.group];if(a===void 0){if(o.meta.uid=Vb++,o.meta.badge=1,["left","right","center"].indexOf(o.position)!==-1)St[o.position].value.splice(Math.floor(St[o.position].value.length/2),0,o);else{const u=o.position.indexOf("top")!==-1?"unshift":"push";St[o.position].value[u](o)}o.group!==void 0&&(Lo[o.meta.group]=o)}else{if(a.meta.timer&&(clearTimeout(a.meta.timer),a.meta.timer=void 0),o.badgePosition!==void 0){if(Ub.includes(o.badgePosition)===!1)return Sr("wrong badgePosition",e)}else o.badgePosition=`top-${o.position.indexOf("left")!==-1?"right":"left"}`;o.meta.uid=a.meta.uid,o.meta.badge=a.meta.badge+1,o.meta.badgeClass=`q-notification__badge q-notification__badge--${o.badgePosition}`+(o.badgeColor!==void 0?` bg-${o.badgeColor}`:"")+(o.badgeTextColor!==void 0?` text-${o.badgeTextColor}`:"")+(o.badgeClass?` ${o.badgeClass}`:"");const u=St[o.position].value.indexOf(a);St[o.position].value[u]=Lo[o.meta.group]=o}}const l=()=>{Hb(o),r=void 0};if(o.timeout>0&&(o.meta.timer=setTimeout(()=>{o.meta.timer=void 0,l()},o.timeout+1e3)),o.group!==void 0)return a=>{a!==void 0?Sr("trying to update a grouped one which is forbidden",e):l()};if(r={dismiss:l,config:e,notif:o},n!==void 0){Object.assign(n,r);return}return a=>{if(r!==void 0)if(a===void 0)r.dismiss();else{const u=Object.assign({},r.config,a,{group:!1,position:o.position});yd(u,t,r)}}}function Hb(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const t=St[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete Lo[e.meta.group];const n=bd[""+e.meta.uid];if(n){const{width:r,height:o}=getComputedStyle(n);n.style.left=`${n.offsetLeft}px`,n.style.width=r,n.style.height=o}St[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function bu(e){return e!=null&&Bb.test(e)!==!0}function Sr(e,t){return console.error(`Notify: ${e}`,t),!1}function Wb(){return je({name:"QNotifications",devtools:{hide:!0},setup(){return()=>V("div",{class:"q-notifications"},_l.map(e=>V(ag,{key:e,class:_d[e],tag:"div",name:`q-notification--${e}`},()=>St[e].value.map(t=>{const n=t.meta,r=[];if(n.hasMedia===!0&&(t.spinner!==!1?r.push(V(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+n.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?r.push(V(fn,{class:"q-notification__icon q-notification__icon--"+n.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&r.push(V(_b,{class:"q-notification__avatar q-notification__avatar--"+n.leftClass},()=>V("img",{src:t.avatar,"aria-hidden":"true"})))),n.hasText===!0){let s;const i={class:"q-notification__message col"};if(t.html===!0)i.innerHTML=t.caption?`
${t.message}
${t.caption}
`:t.message;else{const l=[t.message];s=t.caption?[V("div",l),V("div",{class:"q-notification__caption"},[t.caption])]:l}r.push(V("div",i,s))}const o=[V("div",{class:n.contentClass},r)];return t.progress===!0&&o.push(V("div",{key:`${n.uid}|p|${n.badge}`,class:n.progressClass,style:n.progressStyle})),t.actions!==void 0&&o.push(V("div",{class:n.actionsClass},t.actions.map(s=>V($i,s)))),n.badge>1&&o.push(V("div",{key:`${n.uid}|${n.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[n.badge])),V("div",{ref:s=>{bd[""+n.uid]=s},key:n.uid,class:n.class,...n.attrs},[V("div",{class:n.wrapperClass},o)])}))))}})}const Kb={setDefaults(e){ct(e)===!0&&Object.assign(Oo,e)},registerType(e,t){ct(t)===!0&&(Rr[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=n=>yd(n,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){_l.forEach(r=>{St[r]=me([]);const o=["left","center","right"].includes(r)===!0?"center":r.indexOf("top")!==-1?"top":"bottom",s=r.indexOf("left")!==-1?"start":r.indexOf("right")!==-1?"end":"center",i=["left","right"].includes(r)?`items-${r==="left"?"start":"end"} justify-center`:r==="center"?"flex-center":`items-${s}`;_d[r]=`q-notifications__list q-notifications__list--${o} fixed column no-wrap ${i}`});const n=bs("q-notify");sl(Wb(),t).mount(n)}}};function Gb(e,t,n){let r;function o(){r!==void 0&&(_i.remove(r),r=void 0)}return Et(()=>{e.value===!0&&o()}),{removeFromHistory:o,addToHistory(){r={condition:()=>n.value===!0,handler:t},_i.add(r)}}}function zb(){let e=null;const t=ke();function n(){e!==null&&(clearTimeout(e),e=null)}return as(n),Et(n),{removeTimeout:n,registerTimeout(r,o){n(),pd(t)===!1&&(e=setTimeout(()=>{e=null,r()},o))}}}function Qb(){let e;const t=ke();function n(){e=void 0}return as(n),Et(n),{removeTick:n,registerTick(r){e=r,rt(()=>{e===r&&(pd(t)===!1&&e(),e=void 0)})}}}const Yb={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Xb=["beforeShow","show","beforeHide","hide"];function Jb({showing:e,canShow:t,hideOnRouteChange:n,handleShow:r,handleHide:o,processOnMount:s}){const i=ke(),{props:l,emit:a,proxy:u}=i;let c;function f(h){e.value===!0?y(h):d(h)}function d(h){if(l.disable===!0||h?.qAnchorHandled===!0||t!==void 0&&t(h)!==!0)return;const E=l["onUpdate:modelValue"]!==void 0;E===!0&&(a("update:modelValue",!0),c=h,rt(()=>{c===h&&(c=void 0)})),(l.modelValue===null||E===!1)&&g(h)}function g(h){e.value!==!0&&(e.value=!0,a("beforeShow",h),r!==void 0?r(h):a("show",h))}function y(h){if(l.disable===!0)return;const E=l["onUpdate:modelValue"]!==void 0;E===!0&&(a("update:modelValue",!1),c=h,rt(()=>{c===h&&(c=void 0)})),(l.modelValue===null||E===!1)&&C(h)}function C(h){e.value!==!1&&(e.value=!1,a("beforeHide",h),o!==void 0?o(h):a("hide",h))}function S(h){l.disable===!0&&h===!0?l["onUpdate:modelValue"]!==void 0&&a("update:modelValue",!1):h===!0!==e.value&&(h===!0?g:C)(c)}ge(()=>l.modelValue,S),n!==void 0&&gd(i)===!0&&ge(()=>u.$route.fullPath,()=>{n.value===!0&&e.value===!0&&y()}),s===!0&&Gt(()=>{S(l.modelValue)});const _={show:d,hide:y,toggle:f};return Object.assign(u,_),_}const Zb={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function ey(e,t=()=>{},n=()=>{}){return{transitionProps:$(()=>{const r=`q-transition--${e.transitionShow||t()}`,o=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${o}-leave-from`,leaveActiveClass:`${o}-leave-active`,leaveToClass:`${o}-leave-to`}}),transitionStyle:$(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}let $n=[],to=[];function Ed(e){to=to.filter(t=>t!==e)}function ty(e){Ed(e),to.push(e)}function yu(e){Ed(e),to.length===0&&$n.length!==0&&($n[$n.length-1](),$n=[])}function bl(e){to.length===0?e():$n.push(e)}function ny(e){$n=$n.filter(t=>t!==e)}const Po=[];function P0(e){return Po.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function ry(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Ro(e)}else if(e.__qPortal===!0){const n=Ro(e);return n?.$options.name==="QPopupProxy"?(e.hide(t),n):e}e=Ro(e)}while(e!=null)}function I0(e,t,n){for(;n!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(n--,e.$options.name==="QMenu"){e=ry(e,t);continue}e.hide(t)}e=Ro(e)}}const oy=je({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function sy(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function iy(e,t,n,r){const o=me(!1),s=me(!1);let i=null;const l={},a=r==="dialog"&&sy(e);function u(f){if(f===!0){yu(l),s.value=!0;return}s.value=!1,o.value===!1&&(a===!1&&i===null&&(i=bs(!1,r)),o.value=!0,Po.push(e.proxy),ty(l))}function c(f){if(s.value=!1,f!==!0)return;yu(l),o.value=!1;const d=Po.indexOf(e.proxy);d!==-1&&Po.splice(d,1),i!==null&&(vl(i),i=null)}return cs(()=>{c(!0)}),e.proxy.__qPortal=!0,zn(e.proxy,"contentEl",()=>t.value),{showPortal:u,hidePortal:c,portalIsActive:o,portalIsAccessible:s,renderPortal:()=>a===!0?n():o.value===!0?[V($h,{to:i},V(oy,n))]:void 0}}const N0=[Element,String],ly=[null,document,document.body,document.scrollingElement,document.documentElement];function M0(e,t){let n=Eb(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return ly.includes(n)?window:n}function ay(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function uy(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let _o;function D0(){if(_o!==void 0)return _o;const e=document.createElement("p"),t=document.createElement("div");Di(e,{width:"100%",height:"200px"}),Di(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let r=e.offsetWidth;return n===r&&(r=t.clientWidth),t.remove(),_o=n-r,_o}function cy(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}let kr=0,zs,Qs,Or,Ys=!1,Eu,wu,Cu,Pn=null;function fy(e){dy(e)&&bt(e)}function dy(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=kg(e),n=e.shiftKey&&!e.deltaX,r=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),o=n||r?e.deltaY:e.deltaX;for(let s=0;s0&&i.scrollTop+i.clientHeight===i.scrollHeight:o<0&&i.scrollLeft===0?!0:o>0&&i.scrollLeft+i.clientWidth===i.scrollWidth}return!0}function Su(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function bo(e){Ys!==!0&&(Ys=!0,requestAnimationFrame(()=>{Ys=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:r}=document.scrollingElement;(Or===void 0||t!==window.innerHeight)&&(Or=n-t,document.scrollingElement.scrollTop=r),r>Or&&(document.scrollingElement.scrollTop-=Math.ceil((r-Or)/8))}))}function ku(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:r,overflowX:o}=window.getComputedStyle(t);zs=uy(window),Qs=ay(window),Eu=t.style.left,wu=t.style.top,Cu=window.location.href,t.style.left=`-${zs}px`,t.style.top=`-${Qs}px`,o!=="hidden"&&(o==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),r!=="hidden"&&(r==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Fe.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",bo,nt.passiveCapture),window.visualViewport.addEventListener("scroll",bo,nt.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Su,nt.passiveCapture))}Fe.is.desktop===!0&&Fe.is.mac===!0&&window[`${e}EventListener`]("wheel",fy,nt.notPassive),e==="remove"&&(Fe.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",bo,nt.passiveCapture),window.visualViewport.removeEventListener("scroll",bo,nt.passiveCapture)):window.removeEventListener("scroll",Su,nt.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=Eu,t.style.top=wu,window.location.href===Cu&&window.scrollTo(zs,Qs),Or=void 0)}function Fi(e){let t="add";if(e===!0){if(kr++,Pn!==null){clearTimeout(Pn),Pn=null;return}if(kr>1)return}else{if(kr===0||(kr--,kr>0))return;if(t="remove",Fe.is.ios===!0&&Fe.is.nativeMobile===!0){Pn!==null&&clearTimeout(Pn),Pn=setTimeout(()=>{ku(t),Pn=null},100);return}}ku(t)}function hy(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,Fi(t))}}}const jn=[];let pr;function my(e){pr=e.keyCode===27}function gy(){pr===!0&&(pr=!1)}function py(e){pr===!0&&(pr=!1,Yr(e,27)===!0&&jn[jn.length-1](e))}function wd(e){window[e]("keydown",my),window[e]("blur",gy),window[e]("keyup",py),pr=!1}function vy(e){Fe.is.desktop===!0&&(jn.push(e),jn.length===1&&wd("addEventListener"))}function xu(e){const t=jn.indexOf(e);t!==-1&&(jn.splice(t,1),jn.length===0&&wd("removeEventListener"))}const Un=[];function Cd(e){Un[Un.length-1](e)}function _y(e){Fe.is.desktop===!0&&(Un.push(e),Un.length===1&&document.body.addEventListener("focusin",Cd))}function Tu(e){const t=Un.indexOf(e);t!==-1&&(Un.splice(t,1),Un.length===0&&document.body.removeEventListener("focusin",Cd))}let yo=0;const by={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},Au={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},yy=je({name:"QDialog",inheritAttrs:!1,props:{...Yb,...Zb,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...Xb,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:r}){const o=ke(),s=me(null),i=me(!1),l=me(!1);let a=null,u=null,c,f;const d=$(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:g}=hy(),{registerTimeout:y}=zb(),{registerTick:C,removeTick:S}=Qb(),{transitionProps:_,transitionStyle:h}=ey(e,()=>Au[e.position][0],()=>Au[e.position][1]),E=$(()=>h.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:v,hidePortal:A,portalIsAccessible:P,renderPortal:R}=iy(o,s,Te,"dialog"),{hide:H}=Jb({showing:i,hideOnRouteChange:d,handleShow:Y,handleHide:ee,processOnMount:!0}),{addToHistory:F,removeFromHistory:I}=Gb(i,H,d),N=$(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${by[e.position]}`+(l.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),x=$(()=>i.value===!0&&e.seamless!==!0),B=$(()=>e.autoClose===!0?{onClick:z}:{}),q=$(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${x.value===!0?"modal":"seamless"}`,r.class]);ge(()=>e.maximized,oe=>{i.value===!0&&le(oe)}),ge(x,oe=>{g(oe),oe===!0?(_y(Ee),vy(re)):(Tu(Ee),xu(re))});function Y(oe){F(),u=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,le(e.maximized),v(),l.value=!0,e.noFocus!==!0?(document.activeElement?.blur(),C(Q)):S(),y(()=>{if(o.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:M,bottom:X}=document.activeElement.getBoundingClientRect(),{innerHeight:J}=window,ne=window.visualViewport!==void 0?window.visualViewport.height:J;M>0&&X>ne/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-ne,X>=J?1/0:Math.ceil(document.scrollingElement.scrollTop+X-ne/2))),document.activeElement.scrollIntoView()}f=!0,s.value.click(),f=!1}v(!0),l.value=!1,n("show",oe)},e.transitionDuration)}function ee(oe){S(),I(),ye(!0),l.value=!0,A(),u!==null&&(((oe?.type.indexOf("key")===0?u.closest('[tabindex]:not([tabindex^="-"])'):void 0)||u).focus(),u=null),y(()=>{A(!0),l.value=!1,n("hide",oe)},e.transitionDuration)}function Q(oe){bl(()=>{let M=s.value;if(M!==null){if(oe!==void 0){const X=M.querySelector(oe);if(X!==null){X.focus({preventScroll:!0});return}}M.contains(document.activeElement)!==!0&&(M=M.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||M.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||M.querySelector("[autofocus], [data-autofocus]")||M,M.focus({preventScroll:!0}))}})}function j(oe){oe&&typeof oe.focus=="function"?oe.focus({preventScroll:!0}):Q(),n("shake");const M=s.value;M!==null&&(M.classList.remove("q-animate--scale"),M.classList.add("q-animate--scale"),a!==null&&clearTimeout(a),a=setTimeout(()=>{a=null,s.value!==null&&(M.classList.remove("q-animate--scale"),Q())},170))}function re(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&j():(n("escapeKey"),H()))}function ye(oe){a!==null&&(clearTimeout(a),a=null),(oe===!0||i.value===!0)&&(le(!1),e.seamless!==!0&&(g(!1),Tu(Ee),xu(re))),oe!==!0&&(u=null)}function le(oe){oe===!0?c!==!0&&(yo<1&&document.body.classList.add("q-body--dialog"),yo++,c=!0):c===!0&&(yo<2&&document.body.classList.remove("q-body--dialog"),yo--,c=!1)}function z(oe){f!==!0&&(H(oe),n("click",oe))}function fe(oe){e.persistent!==!0&&e.noBackdropDismiss!==!0?H(oe):e.noShake!==!0&&j()}function Ee(oe){e.allowFocusOutside!==!0&&P.value===!0&&wb(s.value,oe.target)!==!0&&Q('[tabindex]:not([tabindex="-1"])')}Object.assign(o.proxy,{focus:Q,shake:j,__updateRefocusTarget(oe){u=oe||null}}),Et(ye);function Te(){return V("div",{role:"dialog","aria-modal":x.value===!0?"true":"false",...r,class:q.value},[V(zr,{name:"q-transition--fade",appear:!0},()=>x.value===!0?V("div",{class:"q-dialog__backdrop fixed-full",style:E.value,"aria-hidden":"true",tabindex:-1,onClick:fe}):null),V(zr,_.value,()=>i.value===!0?V("div",{ref:s,class:N.value,style:h.value,tabindex:-1,...B.value},Tt(t.default)):null)])}return R}}),Yn={dark:{type:Boolean,default:null}};function Xn(e,t){return $(()=>e.dark===null?t.dark.isActive:e.dark)}const Ey=je({name:"QCard",props:{...Yn,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=ke(),r=Xn(e,n),o=$(()=>"q-card"+(r.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>V(e.tag,{class:o.value},Tt(t.default))}}),xr=je({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=$(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>V(e.tag,{class:n.value},Tt(t.default))}}),wy=je({name:"QCardActions",props:{...dd,vertical:Boolean},setup(e,{slots:t}){const n=hd(e),r=$(()=>`q-card__actions ${n.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>V("div",{class:r.value},Tt(t.default))}}),Cy={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},Xs={xs:2,sm:4,md:8,lg:16,xl:24},Ru=je({name:"QSeparator",props:{...Yn,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=ke(),n=Xn(e,t.proxy.$q),r=$(()=>e.vertical===!0?"vertical":"horizontal"),o=$(()=>` q-separator--${r.value}`),s=$(()=>e.inset!==!1?`${o.value}-${Cy[e.inset]}`:""),i=$(()=>`q-separator${o.value}${s.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(n.value===!0?" q-separator--dark":"")),l=$(()=>{const a={};if(e.size!==void 0&&(a[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const u=e.spaced===!0?`${Xs.md}px`:e.spaced in Xs?`${Xs[e.spaced]}px`:e.spaced,c=e.vertical===!0?["Left","Right"]:["Top","Bottom"];a[`margin${c[0]}`]=a[`margin${c[1]}`]=u}return a});return()=>V("hr",{class:i.value,style:l.value,"aria-orientation":r.value})}});let Js,Eo=0;const Be=new Array(256);for(let e=0;e<256;e++)Be[e]=(e+256).toString(16).substring(1);const Sy=(()=>{const e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return t=>{const n=[];for(let r=t;r>0;r--)n.push(Math.floor(Math.random()*256));return n}})(),Ou=4096;function qi(){(Js===void 0||Eo+16>Ou)&&(Eo=0,Js=Sy(Ou));const e=Array.prototype.slice.call(Js,Eo,Eo+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,Be[e[0]]+Be[e[1]]+Be[e[2]]+Be[e[3]]+"-"+Be[e[4]]+Be[e[5]]+"-"+Be[e[6]]+Be[e[7]]+"-"+Be[e[8]]+Be[e[9]]+"-"+Be[e[10]]+Be[e[11]]+Be[e[12]]+Be[e[13]]+Be[e[14]]+Be[e[15]]}function ky(e){return e??null}function Lu(e,t){return e??(t===!0?`f_${qi()}`:null)}function xy({getValue:e,required:t=!0}={}){if(kn.value===!0){const n=me(e!==void 0?ky(e()):null);return t===!0&&n.value===null&&Gt(()=>{n.value=`f_${qi()}`}),e!==void 0&&ge(e,r=>{n.value=Lu(r,t)}),n}return e!==void 0?$(()=>Lu(e(),t)):me(`f_${qi()}`)}const Pu=/^on[A-Z]/;function Ty(){const{attrs:e,vnode:t}=ke(),n={listeners:me({}),attributes:me({})};function r(){const o={},s={};for(const i in e)i!=="class"&&i!=="style"&&Pu.test(i)===!1&&(o[i]=e[i]);for(const i in t.props)Pu.test(i)===!0&&(s[i]=t.props[i]);n.attributes.value=o,n.listeners.value=s}return Nc(r),r(),n}function Ay({validate:e,resetValidation:t,requiresQForm:n}){const r=it(Vg,!1);if(r!==!1){const{props:o,proxy:s}=ke();Object.assign(s,{validate:e,resetValidation:t}),ge(()=>o.disable,i=>{i===!0?(typeof t=="function"&&t(),r.unbindComponent(s)):r.bindComponent(s)}),Gt(()=>{o.disable!==!0&&r.bindComponent(s)}),Et(()=>{o.disable!==!0&&r.unbindComponent(s)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const Iu=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Nu=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Mu=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,wo=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Co=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,Zs={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>Iu.test(e),hexaColor:e=>Nu.test(e),hexOrHexaColor:e=>Mu.test(e),rgbColor:e=>wo.test(e),rgbaColor:e=>Co.test(e),rgbOrRgbaColor:e=>wo.test(e)||Co.test(e),hexOrRgbColor:e=>Iu.test(e)||wo.test(e),hexaOrRgbaColor:e=>Nu.test(e)||Co.test(e),anyColor:e=>Mu.test(e)||wo.test(e)||Co.test(e)},Ry=[!0,!1,"ondemand"],Oy={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>Ry.includes(e)}};function Ly(e,t){const{props:n,proxy:r}=ke(),o=me(!1),s=me(null),i=me(!1);Ay({validate:C,resetValidation:y});let l=0,a;const u=$(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),c=$(()=>n.disable!==!0&&u.value===!0&&t.value===!1),f=$(()=>n.error===!0||o.value===!0),d=$(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:s.value);ge(()=>n.modelValue,()=>{i.value=!0,c.value===!0&&n.lazyRules===!1&&S()});function g(){n.lazyRules!=="ondemand"&&c.value===!0&&i.value===!0&&S()}ge(()=>n.reactiveRules,_=>{_===!0?a===void 0&&(a=ge(()=>n.rules,g,{immediate:!0,deep:!0})):a!==void 0&&(a(),a=void 0)},{immediate:!0}),ge(()=>n.lazyRules,g),ge(e,_=>{_===!0?i.value=!0:c.value===!0&&n.lazyRules!=="ondemand"&&S()});function y(){l++,t.value=!1,i.value=!1,o.value=!1,s.value=null,S.cancel()}function C(_=n.modelValue){if(n.disable===!0||u.value===!1)return!0;const h=++l,E=t.value!==!0?()=>{i.value=!0}:()=>{},v=(P,R)=>{P===!0&&E(),o.value=P,s.value=R||null,t.value=!1},A=[];for(let P=0;P{if(P===void 0||Array.isArray(P)===!1||P.length===0)return h===l&&v(!1),!0;const R=P.find(H=>H===!1||typeof H=="string");return h===l&&v(R!==void 0,R),R===void 0},P=>(h===l&&(console.error(P),v(!0)),!1)))}const S=mf(C,0);return Et(()=>{a?.(),S.cancel()}),Object.assign(r,{resetValidation:y,validate:C}),zn(r,"hasError",()=>f.value),{isDirtyModel:i,hasRules:u,hasError:f,errorMessage:d,validate:C,resetValidation:y}}function Vi(e){return e!=null&&(""+e).length!==0}const Py={...Yn,...Oy,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},Iy={...Py,maxlength:[Number,String]},Ny=["update:modelValue","clear","focus","blur"];function My({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:r,proxy:o}=ke(),s=Xn(r,o.$q),i=xy({required:e,getValue:()=>r.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?$(()=>r.tag):{value:"label"},isDark:s,editable:$(()=>r.disable!==!0&&r.readonly!==!0),innerLoading:me(!1),focused:me(!1),hasPopupOpen:!1,splitAttrs:Ty(),targetUid:i,rootRef:me(null),targetRef:me(null),controlRef:me(null)}}function Dy(e){const{props:t,emit:n,slots:r,attrs:o,proxy:s}=ke(),{$q:i}=s;let l=null;e.hasValue===void 0&&(e.hasValue=$(()=>Vi(t.modelValue))),e.emitValue===void 0&&(e.emitValue=j=>{n("update:modelValue",j)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:F,onFocusout:I}),Object.assign(e,{clearValue:N,onControlFocusin:F,onControlFocusout:I,focus:R}),e.computedCounter===void 0&&(e.computedCounter=$(()=>{if(t.counter!==!1){const j=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,re=t.maxlength!==void 0?t.maxlength:t.maxValues;return j+(re!==void 0?" / "+re:"")}}));const{isDirtyModel:a,hasRules:u,hasError:c,errorMessage:f,resetValidation:d}=Ly(e.focused,e.innerLoading),g=e.floatingLabel!==void 0?$(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):$(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),y=$(()=>t.bottomSlots===!0||t.hint!==void 0||u.value===!0||t.counter===!0||t.error!==null),C=$(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),S=$(()=>`q-field row no-wrap items-start q-field--${C.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(g.value===!0?" q-field--float":"")+(h.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(c.value===!0?" q-field--error":"")+(c.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&y.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),_=$(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(c.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),h=$(()=>t.labelSlot===!0||t.label!==void 0),E=$(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&c.value!==!0?` text-${t.labelColor}`:"")),v=$(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:g.value,modelValue:t.modelValue,emitValue:e.emitValue})),A=$(()=>{const j={};return e.targetUid.value&&(j.for=e.targetUid.value),t.disable===!0&&(j["aria-disabled"]="true"),j});function P(){const j=document.activeElement;let re=e.targetRef?.value;re&&(j===null||j.id!==e.targetUid.value)&&(re.hasAttribute("tabindex")===!0||(re=re.querySelector("[tabindex]")),re!==j&&re?.focus({preventScroll:!0}))}function R(){bl(P)}function H(){ny(P);const j=document.activeElement;j!==null&&e.rootRef.value.contains(j)&&j.blur()}function F(j){l!==null&&(clearTimeout(l),l=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",j))}function I(j,re){l!==null&&clearTimeout(l),l=setTimeout(()=>{l=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,n("blur",j)),re?.())})}function N(j){bt(j),i.platform.is.mobile!==!0?(e.targetRef?.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),n("update:modelValue",null),e.changeEvent===!0&&n("change",null),n("clear",t.modelValue),rt(()=>{const re=a.value;d(),a.value=re})}function x(j){[13,32].includes(j.keyCode)&&N(j)}function B(){const j=[];return r.prepend!==void 0&&j.push(V("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:En},r.prepend())),j.push(V("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},q())),c.value===!0&&t.noErrorIcon===!1&&j.push(ee("error",[V(fn,{name:i.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?j.push(ee("inner-loading-append",r.loading!==void 0?r.loading():[V(gr,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&j.push(ee("inner-clearable-append",[V(fn,{class:"q-field__focusable-action",name:t.clearIcon||i.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":i.lang.label.clear,onKeyup:x,onClick:N})])),r.append!==void 0&&j.push(V("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:En},r.append())),e.getInnerAppend!==void 0&&j.push(ee("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&j.push(e.getControlChild()),j}function q(){const j=[];return t.prefix!==void 0&&t.prefix!==null&&j.push(V("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&j.push(e.getShadowControl()),h.value===!0&&j.push(V("div",{class:E.value},Tt(r.label,t.label))),e.getControl!==void 0?j.push(e.getControl()):r.rawControl!==void 0?j.push(r.rawControl()):r.control!==void 0&&j.push(V("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},r.control(v.value))),t.suffix!==void 0&&t.suffix!==null&&j.push(V("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),j.concat(Tt(r.default))}function Y(){let j,re;c.value===!0?f.value!==null?(j=[V("div",{role:"alert"},f.value)],re=`q--slot-error-${f.value}`):(j=Tt(r.error),re="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(j=[V("div",t.hint)],re=`q--slot-hint-${t.hint}`):(j=Tt(r.hint),re="q--slot-hint"));const ye=t.counter===!0||r.counter!==void 0;if(t.hideBottomSpace===!0&&ye===!1&&j===void 0)return;const le=V("div",{key:re,class:"q-field__messages col"},j);return V("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:En},[t.hideBottomSpace===!0?le:V(zr,{name:"q-transition--field-message"},()=>le),ye===!0?V("div",{class:"q-field__counter"},r.counter!==void 0?r.counter():e.computedCounter.value):null])}function ee(j,re){return re===null?null:V("div",{key:j,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},re)}let Q=!1;return as(()=>{Q=!0}),Pc(()=>{Q===!0&&t.autofocus===!0&&s.focus()}),t.autofocus===!0&&Gt(()=>{s.focus()}),Et(()=>{l!==null&&clearTimeout(l)}),Object.assign(s,{focus:R,blur:H}),function(){const re=e.getControl===void 0&&r.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...A.value}:A.value;return V(e.tag.value,{ref:e.rootRef,class:[S.value,o.class],style:o.style,...re},[r.before!==void 0?V("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:En},r.before()):null,V("div",{class:"q-field__inner relative-position col self-stretch"},[V("div",{ref:e.controlRef,class:_.value,tabindex:-1,...e.controlEvents},B()),y.value===!0?Y():null]),r.after!==void 0?V("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:En},r.after()):null])}}const Du={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},{tokenMap:$u,tokenKeys:$y}=Sd({"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}});function Sd(e){const t=Object.keys(e),n={};return t.forEach(r=>{const o=e[r];n[r]={...o,regex:new RegExp(o.pattern)}}),{tokenMap:n,tokenKeys:t}}function kd(e){return new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+e.join("")+"])|(.)","g")}const Fu=/[.*+?^${}()|[\]\\]/g,Fy=kd($y),Ie="",qy={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean,maskTokens:Object};function Vy(e,t,n,r){let o,s,i,l,a,u;const c=$(()=>{if(e.maskTokens===void 0||e.maskTokens===null)return{tokenMap:$u,tokenRegexMask:Fy};const{tokenMap:I}=Sd(e.maskTokens),N={...$u,...I};return{tokenMap:N,tokenRegexMask:kd(Object.keys(N))}}),f=me(null),d=me(y());function g(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}ge(()=>e.type+e.autogrow,S),ge(()=>e.mask,I=>{if(I!==void 0)_(d.value,!0);else{const N=H(d.value);S(),e.modelValue!==N&&t("update:modelValue",N)}}),ge(()=>e.fillMask+e.reverseFillMask,()=>{f.value===!0&&_(d.value,!0)}),ge(()=>e.unmaskedValue,()=>{f.value===!0&&_(d.value)});function y(){if(S(),f.value===!0){const I=P(H(e.modelValue));return e.fillMask!==!1?F(I):I}return e.modelValue}function C(I){if(I0;q--)N+=Ie;x=x.slice(0,B)+N+x.slice(B)}return x}function S(){if(f.value=e.mask!==void 0&&e.mask.length!==0&&g(),f.value===!1){l=void 0,o="",s="";return}const I=Du[e.mask]===void 0?e.mask:Du[e.mask],N=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",x=N.replace(Fu,"\\$&"),B=[],q=[],Y=[];let ee=e.reverseFillMask===!0,Q="",j="";I.replace(c.value.tokenRegexMask,(z,fe,Ee,Te,oe)=>{if(Te!==void 0){const M=c.value.tokenMap[Te];Y.push(M),j=M.negate,ee===!0&&(q.push("(?:"+j+"+)?("+M.pattern+"+)?(?:"+j+"+)?("+M.pattern+"+)?"),ee=!1),q.push("(?:"+j+"+)?("+M.pattern+")?")}else if(Ee!==void 0)Q="\\"+(Ee==="\\"?"":Ee),Y.push(Ee),B.push("([^"+Q+"]+)?"+Q+"?");else{const M=fe!==void 0?fe:oe;Q=M==="\\"?"\\\\\\\\":M.replace(Fu,"\\\\$&"),Y.push(M),B.push("([^"+Q+"]+)?"+Q+"?")}});const re=new RegExp("^"+B.join("")+"("+(Q===""?".":"[^"+Q+"]")+"+)?"+(Q===""?"":"["+Q+"]*")+"$"),ye=q.length-1,le=q.map((z,fe)=>fe===0&&e.reverseFillMask===!0?new RegExp("^"+x+"*"+z):fe===ye?new RegExp("^"+z+"("+(j===""?".":j)+"+)?"+(e.reverseFillMask===!0?"$":x+"*")):new RegExp("^"+z));i=Y,l=z=>{const fe=re.exec(e.reverseFillMask===!0?z:z.slice(0,Y.length+1));fe!==null&&(z=fe.slice(1).join(""));const Ee=[],Te=le.length;for(let oe=0,M=z;oetypeof z=="string"?z:Ie).join(""),s=o.split(Ie).join(N)}function _(I,N,x){const B=r.value,q=B.selectionEnd,Y=B.value.length-q,ee=H(I);N===!0&&S();const Q=P(ee,N),j=e.fillMask!==!1?F(Q):Q,re=d.value!==j;B.value!==j&&(B.value=j),re===!0&&(d.value=j),document.activeElement===B&&rt(()=>{if(j===s){const le=e.reverseFillMask===!0?s.length:0;B.setSelectionRange(le,le,"forward");return}if(x==="insertFromPaste"&&e.reverseFillMask!==!0){const le=B.selectionEnd;let z=q-1;for(let fe=a;fe<=z&&feQ.length?1:0:Math.max(0,j.length-(j===s?0:Math.min(Q.length,Y)+1))+1:q;B.setSelectionRange(le,le,"forward");return}if(e.reverseFillMask===!0)if(re===!0){const le=Math.max(0,j.length-(j===s?0:Math.min(Q.length,Y+1)));le===1&&q===1?B.setSelectionRange(le,le,"forward"):E.rightReverse(B,le)}else{const le=j.length-Y;B.setSelectionRange(le,le,"backward")}else if(re===!0){const le=Math.max(0,o.indexOf(Ie),Math.min(Q.length,q)-1);E.right(B,le)}else{const le=q-1;E.right(B,le)}});const ye=e.unmaskedValue===!0?H(j):j;String(e.modelValue)!==ye&&(e.modelValue!==null||ye!=="")&&n(ye,!0)}function h(I,N,x){const B=P(H(I.value));N=Math.max(0,o.indexOf(Ie),Math.min(B.length,N)),a=N,I.setSelectionRange(N,x,"forward")}const E={left(I,N){const x=o.slice(N-1).indexOf(Ie)===-1;let B=Math.max(0,N-1);for(;B>=0;B--)if(o[B]===Ie){N=B,x===!0&&N++;break}if(B<0&&o[N]!==void 0&&o[N]!==Ie)return E.right(I,0);N>=0&&I.setSelectionRange(N,N,"backward")},right(I,N){const x=I.value.length;let B=Math.min(x,N+1);for(;B<=x;B++)if(o[B]===Ie){N=B;break}else o[B-1]===Ie&&(N=B);if(B>x&&o[N-1]!==void 0&&o[N-1]!==Ie)return E.left(I,x);I.setSelectionRange(N,N,"forward")},leftReverse(I,N){const x=C(I.value.length);let B=Math.max(0,N-1);for(;B>=0;B--)if(x[B-1]===Ie){N=B;break}else if(x[B]===Ie&&(N=B,B===0))break;if(B<0&&x[N]!==void 0&&x[N]!==Ie)return E.rightReverse(I,0);N>=0&&I.setSelectionRange(N,N,"backward")},rightReverse(I,N){const x=I.value.length,B=C(x),q=B.slice(0,N+1).indexOf(Ie)===-1;let Y=Math.min(x,N+1);for(;Y<=x;Y++)if(B[Y-1]===Ie){N=Y,N>0&&q===!0&&N--;break}if(Y>x&&B[N-1]!==void 0&&B[N-1]!==Ie)return E.leftReverse(I,x);I.setSelectionRange(N,N,"forward")}};function v(I){t("click",I),u=void 0}function A(I){if(t("keydown",I),pf(I)===!0||I.altKey===!0)return;const N=r.value,x=N.selectionStart,B=N.selectionEnd;if(I.shiftKey||(u=void 0),I.keyCode===37||I.keyCode===39){I.shiftKey&&u===void 0&&(u=N.selectionDirection==="forward"?x:B);const q=E[(I.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(I.preventDefault(),q(N,u===x?B:x),I.shiftKey){const Y=N.selectionStart;N.setSelectionRange(Math.min(u,Y),Math.max(u,Y),"forward")}}else I.keyCode===8&&e.reverseFillMask!==!0&&x===B?(E.left(N,x),N.setSelectionRange(N.selectionStart,B,"backward")):I.keyCode===46&&e.reverseFillMask===!0&&x===B&&(E.rightReverse(N,B),N.setSelectionRange(x,N.selectionEnd,"forward"))}function P(I,N){if(I==null||I==="")return"";if(e.reverseFillMask===!0)return R(I,N);const x=i;let B=0,q="";for(let Y=0;Y=0&&q!==-1;ee--){const Q=x[ee];let j=I[q];if(typeof Q=="string")Y=Q+Y,N===!0&&j===Q&&q--;else if(j!==void 0&&Q.regex.test(j))do Y=(Q.transform!==void 0?Q.transform(j):j)+Y,q--,j=I[q];while(B===ee&&j!==void 0&&Q.regex.test(j));else return Y}return Y}function H(I){return typeof I!="string"||l===void 0?typeof I=="number"?l(""+I):I:l(I)}function F(I){return s.length-I.length<=0?I:e.reverseFillMask===!0&&I.length!==0?s.slice(0,-I.length)+I:I+s.slice(I.length)}return{innerValue:d,hasMask:f,moveCursorForPaste:h,updateMaskValue:_,onMaskedKeydown:A,onMaskedClick:v}}const yl={name:String};function xd(e={}){return(t,n,r)=>{t[n](V("input",{class:"hidden"+(r||""),...e.value}))}}function By(e){return $(()=>e.name||e.for)}function jy(e,t){function n(){const r=e.modelValue;try{const o="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(r)===r&&("length"in r?Array.from(r):[r]).forEach(s=>{o.items.add(s)}),{files:o.files}}catch{return{files:void 0}}}return $(()=>{if(e.type==="file")return n()})}const Uy=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,Hy=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,Wy=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Ky=/[a-z0-9_ -]$/i;function Gy(e){return function(n){if(n.type==="compositionend"||n.type==="change"){if(n.target.qComposing!==!0)return;n.target.qComposing=!1,e(n)}else n.type==="compositionupdate"&&n.target.qComposing!==!0&&typeof n.data=="string"&&(Fe.is.firefox===!0?Ky.test(n.data)===!1:Uy.test(n.data)===!0||Hy.test(n.data)===!0||Wy.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}const zy=je({name:"QInput",inheritAttrs:!1,props:{...Iy,...qy,...yl,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Ny,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:r}=ke(),{$q:o}=r,s={};let i=NaN,l,a,u=null,c;const f=me(null),d=By(e),{innerValue:g,hasMask:y,moveCursorForPaste:C,updateMaskValue:S,onMaskedKeydown:_,onMaskedClick:h}=Vy(e,t,ee,f),E=jy(e),v=$(()=>Vi(g.value)),A=Gy(q),P=My({changeEvent:!0}),R=$(()=>e.type==="textarea"||e.autogrow===!0),H=$(()=>R.value===!0||["text","search","url","tel","password"].includes(e.type)),F=$(()=>{const z={...P.splitAttrs.listeners.value,onInput:q,onPaste:B,onChange:j,onBlur:re,onFocus:Ho};return z.onCompositionstart=z.onCompositionupdate=z.onCompositionend=A,y.value===!0&&(z.onKeydown=_,z.onClick=h),e.autogrow===!0&&(z.onAnimationend=Y),z}),I=$(()=>{const z={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:d.value,...P.splitAttrs.attributes.value,id:P.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return R.value===!1&&(z.type=e.type),e.autogrow===!0&&(z.rows=1),z});ge(()=>e.type,()=>{f.value&&(f.value.value=e.modelValue)}),ge(()=>e.modelValue,z=>{if(y.value===!0){if(a===!0&&(a=!1,String(z)===i))return;S(z)}else g.value!==z&&(g.value=z,e.type==="number"&&s.hasOwnProperty("value")===!0&&(l===!0?l=!1:delete s.value));e.autogrow===!0&&rt(Q)}),ge(()=>e.autogrow,z=>{z===!0?rt(Q):f.value!==null&&n.rows>0&&(f.value.style.height="auto")}),ge(()=>e.dense,()=>{e.autogrow===!0&&rt(Q)});function N(){bl(()=>{const z=document.activeElement;f.value!==null&&f.value!==z&&(z===null||z.id!==P.targetUid.value)&&f.value.focus({preventScroll:!0})})}function x(){f.value?.select()}function B(z){if(y.value===!0&&e.reverseFillMask!==!0){const fe=z.target;C(fe,fe.selectionStart,fe.selectionEnd)}t("paste",z)}function q(z){if(!z||!z.target)return;if(e.type==="file"){t("update:modelValue",z.target.files);return}const fe=z.target.value;if(z.target.qComposing===!0){s.value=fe;return}if(y.value===!0)S(fe,!1,z.inputType);else if(ee(fe),H.value===!0&&z.target===document.activeElement){const{selectionStart:Ee,selectionEnd:Te}=z.target;Ee!==void 0&&Te!==void 0&&rt(()=>{z.target===document.activeElement&&fe.indexOf(z.target.value)===0&&z.target.setSelectionRange(Ee,Te)})}e.autogrow===!0&&Q()}function Y(z){t("animationend",z),Q()}function ee(z,fe){c=()=>{u=null,e.type!=="number"&&s.hasOwnProperty("value")===!0&&delete s.value,e.modelValue!==z&&i!==z&&(i=z,fe===!0&&(a=!0),t("update:modelValue",z),rt(()=>{i===z&&(i=NaN)})),c=void 0},e.type==="number"&&(l=!0,s.value=z),e.debounce!==void 0?(u!==null&&clearTimeout(u),s.value=z,u=setTimeout(c,e.debounce)):c()}function Q(){requestAnimationFrame(()=>{const z=f.value;if(z!==null){const fe=z.parentNode.style,{scrollTop:Ee}=z,{overflowY:Te,maxHeight:oe}=o.platform.is.firefox===!0?{}:window.getComputedStyle(z),M=Te!==void 0&&Te!=="scroll";M===!0&&(z.style.overflowY="hidden"),fe.marginBottom=z.scrollHeight-1+"px",z.style.height="1px",z.style.height=z.scrollHeight+"px",M===!0&&(z.style.overflowY=parseInt(oe,10){f.value!==null&&(f.value.value=g.value!==void 0?g.value:"")})}function ye(){return s.hasOwnProperty("value")===!0?s.value:g.value!==void 0?g.value:""}Et(()=>{re()}),Gt(()=>{e.autogrow===!0&&Q()}),Object.assign(P,{innerValue:g,fieldClass:$(()=>`q-${R.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:$(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:f,emitValue:ee,hasValue:v,floatingLabel:$(()=>v.value===!0&&(e.type!=="number"||isNaN(g.value)===!1)||Vi(e.displayValue)),getControl:()=>V(R.value===!0?"textarea":"input",{ref:f,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...I.value,...F.value,...e.type!=="file"?{value:ye()}:E.value}),getShadowControl:()=>V("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(R.value===!0?"":" text-no-wrap")},[V("span",{class:"invisible"},ye()),V("span",e.shadowText)])});const le=Dy(P);return Object.assign(r,{focus:N,select:x,getNativeElement:()=>f.value}),zn(r,"nativeEl",()=>f.value),le}});function Td(e,t){const n=me(null),r=$(()=>e.disable===!0?null:V("span",{ref:n,class:"no-outline",tabindex:-1}));function o(s){const i=t.value;s?.qAvoidFocus!==!0&&(s?.type.indexOf("key")===0?document.activeElement!==i&&i?.contains(document.activeElement)===!0&&i.focus():n.value!==null&&(s===void 0||i?.contains(s.target)===!0)&&n.value.focus())}return{refocusTargetEl:r,refocusTarget:o}}const Ad={xs:30,sm:35,md:40,lg:50,xl:60},Qy=()=>V("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[V("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),V("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]),Yy=je({name:"QRadio",props:{...Yn,...io,...yl,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:r}=ke(),o=Xn(e,r.$q),s=lo(e,Ad),i=me(null),{refocusTargetEl:l,refocusTarget:a}=Td(e,i),u=$(()=>ue(e.modelValue)===ue(e.val)),c=$(()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(e.disable===!0?" disabled":"")+(o.value===!0?" q-radio--dark":"")+(e.dense===!0?" q-radio--dense":"")+(e.leftLabel===!0?" reverse":"")),f=$(()=>{const v=e.color!==void 0&&(e.keepColor===!0||u.value===!0)?` text-${e.color}`:"";return`q-radio__inner relative-position q-radio__inner--${u.value===!0?"truthy":"falsy"}${v}`}),d=$(()=>(u.value===!0?e.checkedIcon:e.uncheckedIcon)||null),g=$(()=>e.disable===!0?-1:e.tabindex||0),y=$(()=>{const v={type:"radio"};return e.name!==void 0&&Object.assign(v,{".checked":u.value===!0,"^checked":u.value===!0?"checked":void 0,name:e.name,value:e.val}),v}),C=xd(y);function S(v){v!==void 0&&(bt(v),a(v)),e.disable!==!0&&u.value!==!0&&n("update:modelValue",e.val,v)}function _(v){(v.keyCode===13||v.keyCode===32)&&bt(v)}function h(v){(v.keyCode===13||v.keyCode===32)&&S(v)}Object.assign(r,{set:S});const E=Qy();return()=>{const v=d.value!==null?[V("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[V(fn,{class:"q-radio__icon",name:d.value})])]:[E];e.disable!==!0&&C(v,"unshift"," q-radio__native q-ma-none q-pa-none");const A=[V("div",{class:f.value,style:s.value,"aria-hidden":"true"},v)];l.value!==null&&A.push(l.value);const P=e.label!==void 0?Dn(t.default,[e.label]):Tt(t.default);return P!==void 0&&A.push(V("div",{class:"q-radio__label q-anchor--skip"},P)),V("div",{ref:i,class:c.value,tabindex:g.value,role:"radio","aria-label":e.label,"aria-checked":u.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:S,onKeydown:_,onKeyup:h},A)}}}),Rd={...Yn,...io,...yl,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>e==="tf"||e==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},Od=["update:modelValue"];function Ld(e,t){const{props:n,slots:r,emit:o,proxy:s}=ke(),{$q:i}=s,l=Xn(n,i),a=me(null),{refocusTargetEl:u,refocusTarget:c}=Td(n,a),f=lo(n,Ad),d=$(()=>n.val!==void 0&&Array.isArray(n.modelValue)),g=$(()=>{const x=ue(n.val);return d.value===!0?n.modelValue.findIndex(B=>ue(B)===x):-1}),y=$(()=>d.value===!0?g.value!==-1:ue(n.modelValue)===ue(n.trueValue)),C=$(()=>d.value===!0?g.value===-1:ue(n.modelValue)===ue(n.falseValue)),S=$(()=>y.value===!1&&C.value===!1),_=$(()=>n.disable===!0?-1:n.tabindex||0),h=$(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?" disabled":"")+(l.value===!0?` q-${e}--dark`:"")+(n.dense===!0?` q-${e}--dense`:"")+(n.leftLabel===!0?" reverse":"")),E=$(()=>{const x=y.value===!0?"truthy":C.value===!0?"falsy":"indet",B=n.color!==void 0&&(n.keepColor===!0||(e==="toggle"?y.value===!0:C.value!==!0))?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${x}${B}`}),v=$(()=>{const x={type:"checkbox"};return n.name!==void 0&&Object.assign(x,{".checked":y.value,"^checked":y.value===!0?"checked":void 0,name:n.name,value:d.value===!0?n.val:n.trueValue}),x}),A=xd(v),P=$(()=>{const x={tabindex:_.value,role:e==="toggle"?"switch":"checkbox","aria-label":n.label,"aria-checked":S.value===!0?"mixed":y.value===!0?"true":"false"};return n.disable===!0&&(x["aria-disabled"]="true"),x});function R(x){x!==void 0&&(bt(x),c(x)),n.disable!==!0&&o("update:modelValue",H(),x)}function H(){if(d.value===!0){if(y.value===!0){const x=n.modelValue.slice();return x.splice(g.value,1),x}return n.modelValue.concat([n.val])}if(y.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(C.value===!0){if(n.toggleOrder==="ft"||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder!=="ft"?n.trueValue:n.falseValue;return n.indeterminateValue}function F(x){(x.keyCode===13||x.keyCode===32)&&bt(x)}function I(x){(x.keyCode===13||x.keyCode===32)&&R(x)}const N=t(y,S);return Object.assign(s,{toggle:R}),()=>{const x=N();n.disable!==!0&&A(x,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const B=[V("div",{class:E.value,style:f.value,"aria-hidden":"true"},x)];u.value!==null&&B.push(u.value);const q=n.label!==void 0?Dn(r.default,[n.label]):Tt(r.default);return q!==void 0&&B.push(V("div",{class:`q-${e}__label q-anchor--skip`},q)),V("div",{ref:a,class:h.value,...P.value,onClick:R,onKeydown:F,onKeyup:I},B)}}const Xy=()=>V("div",{key:"svg",class:"q-checkbox__bg absolute"},[V("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[V("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),V("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),Jy=je({name:"QCheckbox",props:Rd,emits:Od,setup(e){const t=Xy();function n(r,o){const s=$(()=>(r.value===!0?e.checkedIcon:o.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>s.value!==null?[V("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[V(fn,{class:"q-checkbox__icon",name:s.value})])]:[t]}return Ld("checkbox",n)}}),Zy=je({name:"QToggle",props:{...Rd,icon:String,iconColor:String},emits:Od,setup(e){function t(n,r){const o=$(()=>(n.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||e.icon),s=$(()=>n.value===!0?e.iconColor:null);return()=>[V("div",{class:"q-toggle__track"}),V("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},o.value!==void 0?[V(fn,{name:o.value,color:s.value})]:void 0)]}return Ld("toggle",t)}}),Pd={radio:Yy,checkbox:Jy,toggle:Zy},e0=Object.keys(Pd);function ei(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return r=>r[n]}const t0=je({name:"QOptionGroup",props:{...Yn,modelValue:{required:!0},options:{type:Array,validator:e=>e.every(ct),default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],name:String,type:{type:String,default:"radio",validator:e=>e0.includes(e)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{proxy:{$q:r}}=ke(),o=Array.isArray(e.modelValue);e.type==="radio"?o===!0&&console.error("q-option-group: model should not be array"):o===!1&&console.error("q-option-group: model should be array in your case");const s=Xn(e,r),i=$(()=>Pd[e.type]),l=$(()=>ei(e.optionValue,"value")),a=$(()=>ei(e.optionLabel,"label")),u=$(()=>ei(e.optionDisable,"disable")),c=$(()=>e.options.map(y=>({val:l.value(y),name:y.name===void 0?e.name:y.name,disable:e.disable||u.value(y),leftLabel:y.leftLabel===void 0?e.leftLabel:y.leftLabel,color:y.color===void 0?e.color:y.color,checkedIcon:y.checkedIcon,uncheckedIcon:y.uncheckedIcon,dark:y.dark===void 0?s.value:y.dark,size:y.size===void 0?e.size:y.size,dense:e.dense,keepColor:y.keepColor===void 0?e.keepColor:y.keepColor}))),f=$(()=>"q-option-group q-gutter-x-sm"+(e.inline===!0?" q-option-group--inline":"")),d=$(()=>{const y={role:"group"};return e.type==="radio"&&(y.role="radiogroup",e.disable===!0&&(y["aria-disabled"]="true")),y});function g(y){t("update:modelValue",y)}return()=>V("div",{class:f.value,...d.value},e.options.map((y,C)=>{const S=n["label-"+C]!==void 0?()=>n["label-"+C](y):n.label!==void 0?()=>n.label(y):void 0;return V("div",[V(i.value,{label:S===void 0?a.value(y):null,modelValue:e.modelValue,"onUpdate:modelValue":g,...c.value[C]},S)])}))}}),n0=je({name:"DialogPluginComponent",props:{...Yn,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){const{proxy:n}=ke(),{$q:r}=n,o=Xn(e,r),s=me(null),i=me(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),l=$(()=>"q-dialog-plugin"+(o.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),a=$(()=>e.color||(o.value===!0?"amber":"primary")),u=$(()=>e.progress===!1?null:ct(e.progress)===!0?{component:e.progress.spinner||gr,props:{color:e.progress.color||a.value}}:{component:gr,props:{color:a.value}}),c=$(()=>e.prompt!==void 0||e.options!==void 0),f=$(()=>{if(c.value!==!0)return{};const{model:q,isValid:Y,items:ee,...Q}=e.prompt!==void 0?e.prompt:e.options;return Q}),d=$(()=>ct(e.ok)===!0||e.ok===!0?r.lang.label.ok:e.ok),g=$(()=>ct(e.cancel)===!0||e.cancel===!0?r.lang.label.cancel:e.cancel),y=$(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(i.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(i.value)!==!0:!1),C=$(()=>({color:a.value,label:d.value,ripple:!1,disable:y.value,...ct(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&c.value!==!0||void 0,onClick:E})),S=$(()=>({color:a.value,label:g.value,ripple:!1,...ct(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&c.value!==!0||void 0,onClick:v}));ge(()=>e.prompt&&e.prompt.model,P),ge(()=>e.options&&e.options.model,P);function _(){s.value.show()}function h(){s.value.hide()}function E(){t("ok",ue(i.value)),h()}function v(){h()}function A(){t("hide")}function P(q){i.value=q}function R(q){y.value!==!0&&e.prompt.type!=="textarea"&&Yr(q,13)===!0&&E()}function H(q,Y){return e.html===!0?V(xr,{class:q,innerHTML:Y}):V(xr,{class:q},()=>Y)}function F(){return[V(zy,{color:a.value,dense:!0,autofocus:!0,dark:o.value,...f.value,modelValue:i.value,"onUpdate:modelValue":P,onKeyup:R})]}function I(){return[V(t0,{color:a.value,options:e.options.items,dark:o.value,...f.value,modelValue:i.value,"onUpdate:modelValue":P})]}function N(){const q=[];return e.cancel&&q.push(V($i,S.value)),e.ok&&q.push(V($i,C.value)),V(wy,{class:e.stackButtons===!0?"items-end":"",vertical:e.stackButtons,align:"right"},()=>q)}function x(){const q=[];return e.title&&q.push(H("q-dialog__title",e.title)),e.progress!==!1&&q.push(V(xr,{class:"q-dialog__progress"},()=>V(u.value.component,u.value.props))),e.message&&q.push(H("q-dialog__message",e.message)),e.prompt!==void 0?q.push(V(xr,{class:"scroll q-dialog-plugin__form"},F)):e.options!==void 0&&q.push(V(Ru,{dark:o.value}),V(xr,{class:"scroll q-dialog-plugin__form"},I),V(Ru,{dark:o.value})),(e.ok||e.cancel)&&q.push(N()),q}function B(){return[V(Ey,{class:[l.value,e.cardClass],style:e.cardStyle,dark:o.value},x)]}return Object.assign(n,{show:_,hide:h}),()=>V(yy,{ref:s,onHide:A},B)}});function Id(e,t){for(const n in t)n!=="spinner"&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},Id(e[n],t[n])):e[n]=t[n]}function r0(e,t,n){return r=>{let o,s;const i=r.component!==void 0;if(i===!0){const{component:h,componentProps:E}=r;o=typeof h=="string"?n.component(h):h,s=E||{}}else{const{class:h,style:E,...v}=r;o=e,s=v,h!==void 0&&(v.cardClass=h),E!==void 0&&(v.cardStyle=E)}let l,a=!1;const u=me(null),c=bs(!1,"dialog"),f=h=>{if(u.value?.[h]!==void 0){u.value[h]();return}const E=l.$.subTree;if(E?.component){if(E.component.proxy&&E.component.proxy[h]){E.component.proxy[h]();return}if(E.component.subTree&&E.component.subTree.component&&E.component.subTree.component.proxy&&E.component.subTree.component.proxy[h]){E.component.subTree.component.proxy[h]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},d=[],g=[],y={onOk(h){return d.push(h),y},onCancel(h){return g.push(h),y},onDismiss(h){return d.push(h),g.push(h),y},hide(){return f("hide"),y},update(h){if(l!==null){if(i===!0)Object.assign(s,h);else{const{class:E,style:v,...A}=h;E!==void 0&&(A.cardClass=E),v!==void 0&&(A.cardStyle=v),Id(s,A)}l.$forceUpdate()}return y}},C=h=>{a=!0,d.forEach(E=>{E(h)})},S=()=>{_.unmount(c),vl(c),_=null,l=null,a!==!0&&g.forEach(h=>{h()})};let _=sl({name:"QGlobalDialog",setup:()=>()=>V(o,{...s,ref:u,onOk:C,onHide:S,onVnodeMounted(...h){typeof s.onVnodeMounted=="function"&&s.onVnodeMounted(...h),rt(()=>f("show"))}})},n);return l=_.mount(c),y}}const o0={install({$q:e,parentApp:t}){e.dialog=this.create=r0(n0,!0,t)}};let rr,ti,qu=0,In=null,qe={},Fn={};const Nd={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:gr,customClass:""},Md={...Nd};function s0(e){if(e?.group!==void 0&&Fn[e.group]!==void 0)return Object.assign(Fn[e.group],e);const t=ct(e)===!0&&e.ignoreDefaults===!0?{...Nd,...e}:{...Md,...e};return Fn[t.group]=t,t}const Ct=so({isActive:!1},{show(e){qe=s0(e);const{group:t}=qe;return Ct.isActive=!0,rr!==void 0?(qe.uid=qu,ti.$forceUpdate()):(qe.uid=++qu,In!==null&&clearTimeout(In),In=setTimeout(()=>{In=null;const n=bs("q-loading");rr=sl({name:"QLoading",setup(){Gt(()=>{Fi(!0)});function r(){Ct.isActive!==!0&&rr!==void 0&&(Fi(!1),rr.unmount(n),vl(n),rr=void 0,ti=void 0)}function o(){if(Ct.isActive!==!0)return null;const s=[V(qe.spinner,{class:"q-loading__spinner",color:qe.spinnerColor,size:qe.spinnerSize})];return qe.message&&s.push(V("div",{class:"q-loading__message"+(qe.messageColor?` text-${qe.messageColor}`:""),[qe.html===!0?"innerHTML":"textContent"]:qe.message})),V("div",{class:"q-loading fullscreen flex flex-center z-max "+qe.customClass.trim(),key:qe.uid},[V("div",{class:"q-loading__backdrop"+(qe.backgroundColor?` bg-${qe.backgroundColor}`:"")}),V("div",{class:"q-loading__box column items-center "+qe.boxClass},s)])}return()=>V(zr,{name:"q-transition--fade",appear:!0,onAfterLeave:r},o)}},Ct.__parentApp),ti=rr.mount(n)},qe.delay)),n=>{if(n===void 0||Object(n)!==n){Ct.hide(t);return}Ct.show({...n,group:t})}},hide(e){if(Ct.isActive===!0){if(e===void 0)Fn={};else{if(Fn[e]===void 0)return;{delete Fn[e];const t=Object.keys(Fn);if(t.length!==0){const n=t[t.length-1];Ct.show({group:n});return}}}In!==null&&(clearTimeout(In),In=null),Ct.isActive=!1}},setDefaults(e){ct(e)===!0&&Object.assign(Md,e)},install({$q:e,parentApp:t}){e.loading=this,Ct.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),i0={config:{},plugins:{Notify:Kb,Dialog:o0,Loading:Ct}},l0="/";async function a0({app:e,router:t,store:n},r){let o=!1;const s=a=>{try{return t.resolve(a).href}catch{}return Object(a)===a?null:a},i=a=>{if(o=!0,typeof a=="string"&&/^https?:\/\//.test(a)){window.location.href=a;return}const u=s(a);u!==null&&(window.location.href=u)},l=window.location.href.replace(window.location.origin,"");for(let a=0;o===!1&&a{const[t,n]=Promise.allSettled!==void 0?["allSettled",r=>r.map(o=>{if(o.status==="rejected"){console.error("[Quasar] boot error:",o.reason);return}return o.value.default})]:["all",r=>r.map(o=>o.default)];return Promise[t]([Ne(()=>import("./i18n-Xm0BG4P7.js"),[])]).then(r=>{const o=n(r).filter(s=>typeof s=="function");a0(e,o)})});export{ke as $,km as A,ns as B,me as C,$ as D,Ey as E,ut as F,f0 as G,Cn as H,m0 as I,zy as J,Wn as K,je as L,V as M,Xb as N,N0 as O,Zb as P,$i as Q,Yb as R,Qb as S,zb as T,Jb as U,iy as V,Et as W,Tg as X,xg as Y,M0 as Z,zr as _,Gn as a,Tu as a$,ey as a0,Tt as a1,bt as a2,xr as a3,rt as a4,Jy as a5,wy as a6,yy as a7,Cg as a8,Fe as a9,as as aA,gd as aB,_i as aC,ct as aD,C0 as aE,w0 as aF,g0 as aG,zn as aH,y0 as aI,Sb as aJ,Yr as aK,pf as aL,O0 as aM,c0 as aN,rs as aO,dc as aP,Zy as aQ,io as aR,lo as aS,pd as aT,bl as aU,Vg as aV,P0 as aW,I0 as aX,vy as aY,xu as aZ,_y as a_,v0 as aa,Qr as ab,Sg as ac,En as ad,Ho as ae,p0 as af,Yn as ag,it as ah,E0 as ai,_0 as aj,Gb as ak,R0 as al,hy as am,Xn as an,A0 as ao,So as ap,b0 as aq,nt as ar,ay as as,uy as at,kn as au,D0 as av,cs as aw,Dn as ax,jh as ay,Pc as az,x0 as b,ry as b0,wb as b1,Ny as b2,Iy as b3,Dy as b4,My as b5,cb as b6,mf as b7,yl as b8,Ns as b9,Nc as ba,el as bb,Vi as bc,By as bd,Gy as be,Po as bf,qg as bg,L0 as bh,Rb as bi,vi as bj,S0 as c,k0 as d,T0 as e,Jv as f,zh as g,Yc as h,Jc as i,Lh as j,Ze as k,Yv as l,ef as m,xm as n,Gt as o,_b as p,d0 as q,Xv as r,Ru as s,Jd as t,gs as u,yc as v,ge as w,fn as x,h0 as y,u0 as z}; +`,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],l=_p(e,{filename:r,breakLineCode:o,needIndent:s});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),i.length>0&&(l.push(`const { ${al(i.map(c=>`${c}: _${c}`),", ")} } = ctx`),l.newline()),l.push("return "),dr(l,e),l.deindent(s),l.push("}"),delete e.helpers;const{code:a,map:u}=l.context();return{ast:e,code:a,map:u?u.toJSON():void 0}};function Sp(e,t={}){const n=Qn({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,l=mp(n).parse(e);return r?(s&&vp(l),o&&sr(l),{ast:l,code:""}):(pp(l,n),Cp(l,n))}function Ht(e){return Qe(e)&&cl(e)===0&&(wn(e,"b")||wn(e,"body"))}const wf=["b","body"];function kp(e){return xn(e,wf)}const Cf=["c","cases"];function xp(e){return xn(e,Cf,[])}const Sf=["s","static"];function Tp(e){return xn(e,Sf)}const kf=["i","items"];function Ap(e){return xn(e,kf,[])}const xf=["t","type"];function cl(e){return xn(e,xf)}const Tf=["v","value"];function mo(e,t){const n=xn(e,Tf);if(n!=null)return n;throw Xr(t)}const Af=["m","modifier"];function Rp(e){return xn(e,Af)}const Rf=["k","key"];function Op(e){const t=xn(e,Rf);if(t)return t;throw Xr(6)}function xn(e,t,n){for(let r=0;rLp(n,e)}function Lp(e,t){const n=kp(t);if(n==null)throw Xr(0);if(cl(n)===1){const s=xp(n);return e.plural(s.reduce((i,l)=>[...i,wa(e,l)],[]))}else return wa(e,n)}function wa(e,t){const n=Tp(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Ap(t).reduce((o,s)=>[...o,yi(e,s)],[]);return e.normalize(r)}}function yi(e,t){const n=cl(t);switch(n){case 3:return mo(t,n);case 9:return mo(t,n);case 4:{const r=t;if(wn(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(wn(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Xr(n)}case 5:{const r=t;if(wn(r,"i")&&et(r.i))return e.interpolate(e.list(r.i));if(wn(r,"index")&&et(r.index))return e.interpolate(e.list(r.index));throw Xr(n)}case 6:{const r=t,o=Rp(r),s=Op(r);return e.linked(yi(e,s),o?yi(e,o):void 0,e.type)}case 7:return mo(t,n);case 8:return mo(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Pp=e=>e;let go=lt();function Ip(e,t={}){let n=!1;const r=t.onError||tp;return t.onError=o=>{n=!0,r(o)},{...Sp(e,t),detectError:n}}function Np(e,t){if(ce(e)){ot(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Pp)(e),o=go[r];if(o)return o;const{ast:s,detectError:i}=Ip(e,{...t,location:!1,jit:!0}),l=Ms(s);return i?l:go[r]=l}else{const n=e.cacheKey;if(n){const r=go[n];return r||(go[n]=Ms(e))}else return Ms(e)}}const nn={INVALID_ARGUMENT:ep,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Mp=24;function rn(e){return hs(e,null,void 0)}function fl(e,t){return t.locale!=null?Ca(t.locale):Ca(e.locale)}let Ds;function Ca(e){if(ce(e))return e;if(Ve(e)){if(e.resolvedOnce&&Ds!=null)return Ds;if(e.constructor.name==="Function"){const t=e();if(Xg(t))throw rn(nn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ds=t}else throw rn(nn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw rn(nn.NOT_SUPPORT_LOCALE_TYPE)}function Dp(e,t,n){return[...new Set([n,...Ut(t)?t:Qe(t)?Object.keys(t):ce(t)?[t]:[n]])]}function Ei(e,t,n){const r=ce(n)?n:Go,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Ut(i);)i=Sa(s,i,t);const l=Ut(t)||!Pe(t)?t:t.default?t.default:null;i=ce(l)?[l]:l,Ut(i)&&Sa(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Sa(e,t,n){let r=!0;for(let o=0;o{i===void 0?i=l:i+=l},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=Up(i),i===!1))return!1;d[1]()}};function g(){const y=e[n+1];if(r===5&&y==="'"||r===6&&y==='"')return n++,l="\\"+y,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&g())){if(a=jp(s),f=Tn[r],u=f[a]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(l=s,c()===!1))))return;if(r===7)return t}}const ka=new Map;function Wp(e,t){return Qe(e)?e[t]:null}function Kp(e,t){if(!Qe(e))return null;let n=ka.get(t);if(n||(n=Hp(t),n&&ka.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function zp(){return{upper:(e,t)=>t==="text"&&ce(e)?e.toUpperCase():t==="vnode"&&Qe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ce(e)?e.toLowerCase():t==="vnode"&&Qe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ce(e)?xa(e):t==="vnode"&&Qe(e)&&"__v_isVNode"in e?xa(e.children):e}}let Lf;function Qp(e){Lf=e}let Pf;function Yp(e){Pf=e}let If;function Xp(e){If=e}let Nf=null;const Ta=e=>{Nf=e},Jp=()=>Nf;let Aa=0;function Zp(e={}){const t=Ve(e.onWarn)?e.onWarn:Wg,n=ce(e.version)?e.version:Gp,r=ce(e.locale)||Ve(e.locale)?e.locale:Go,o=Ve(r)?Go:r,s=Ut(e.fallbackLocale)||Pe(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Pe(e.messages)?e.messages:$s(o),l=Pe(e.datetimeFormats)?e.datetimeFormats:$s(o),a=Pe(e.numberFormats)?e.numberFormats:$s(o),u=Qn(lt(),e.modifiers,zp()),c=e.pluralRules||lt(),f=Ve(e.missing)?e.missing:null,d=ot(e.missingWarn)||pa(e.missingWarn)?e.missingWarn:!0,g=ot(e.fallbackWarn)||pa(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,C=!!e.unresolving,S=Ve(e.postTranslation)?e.postTranslation:null,_=Pe(e.processor)?e.processor:null,h=ot(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,v=Ve(e.messageCompiler)?e.messageCompiler:Lf,A=Ve(e.messageResolver)?e.messageResolver:Pf||Wp,P=Ve(e.localeFallbacker)?e.localeFallbacker:If||Dp,R=Qe(e.fallbackContext)?e.fallbackContext:void 0,H=e,F=Qe(H.__datetimeFormatters)?H.__datetimeFormatters:new Map,I=Qe(H.__numberFormatters)?H.__numberFormatters:new Map,N=Qe(H.__meta)?H.__meta:{};Aa++;const x={version:n,cid:Aa,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:g,fallbackFormat:y,unresolving:C,postTranslation:S,processor:_,warnHtmlMessage:h,escapeParameter:E,messageCompiler:v,messageResolver:A,localeFallbacker:P,fallbackContext:R,onWarn:t,__meta:N};return x.datetimeFormats=l,x.numberFormats=a,x.__datetimeFormatters=F,x.__numberFormatters=I,x}const $s=e=>({[e]:lt()});function dl(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const l=s(e,n,t,o);return ce(l)?l:t}else return t}function wr(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ev(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function tv(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{Mf.includes(a)?i[a]=n[a]:s[a]=n[a]}),ce(r)?s.locale=r:Pe(r)&&(i=r),Pe(o)&&(i=o),[s.key||"",l,s,i]}function Oa(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function La(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:l}=e;if(!et(t[0]))return zo;const[a,u,c,f]=Ci(...t),d=ot(c.missingWarn)?c.missingWarn:e.missingWarn;ot(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const g=!!c.part,y=fl(e,c),C=i(e,o,y);if(!ce(a)||a==="")return new Intl.NumberFormat(y.replace(/!/g,""),f).format(u);let S={},_,h=null;const E="number format";for(let P=0;P{Df.includes(a)?i[a]=n[a]:s[a]=n[a]}),ce(r)?s.locale=r:Pe(r)&&(i=r),Pe(o)&&(i=o),[s.key||"",l,s,i]}function Pa(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const nv=e=>e,rv=e=>"",ov="text",sv=e=>e.length===0?"":al(e),iv=Jg;function Fs(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function lv(e){const t=et(e.pluralIndex)?e.pluralIndex:-1;return et(e.named?.count)?e.named.count:et(e.named?.n)?e.named.n:t}function av(e={}){const t=e.locale,n=lv(e),r=ce(t)&&Ve(e.pluralRules?.[t])?e.pluralRules[t]:Fs,o=r===Fs?void 0:Fs,s=_=>_[r(n,_.length,o)],i=e.list||[],l=_=>i[_],a=e.named||lt();et(e.pluralIndex)&&(a.count||=e.pluralIndex,a.n||=e.pluralIndex);const u=_=>a[_];function c(_,h){const E=Ve(e.messages)?e.messages(_,!!h):Qe(e.messages)?e.messages[_]:!1;return E||(e.parent?e.parent.message(_):rv)}const f=_=>e.modifiers?e.modifiers[_]:nv,d=Ve(e.processor?.normalize)?e.processor.normalize:sv,g=Ve(e.processor?.interpolate)?e.processor.interpolate:iv,y=ce(e.processor?.type)?e.processor.type:ov,S={list:l,named:u,plural:s,linked:(_,...h)=>{const[E,v]=h;let A="text",P="";h.length===1?Qe(E)?(P=E.modifier||P,A=E.type||A):ce(E)&&(P=E||P):h.length===2&&(ce(E)&&(P=E||P),ce(v)&&(A=v||A));const R=c(_,!0)(S),H=R===""||R===void 0?_:R,F=A==="vnode"&&Ut(H)&&P?H[0]:H;return P?f(P)(F,A):F},message:c,type:y,interpolate:g,normalize:d,values:Qn(lt(),i,a)};return S}const Ia=()=>"",sn=e=>Ve(e);function Na(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:l}=e,[a,u]=Si(...t),c=ot(u.missingWarn)?u.missingWarn:e.missingWarn,f=ot(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=ot(u.escapeParameter)?u.escapeParameter:e.escapeParameter,g=!!u.resolvedMessage,y=ce(u.default)||ot(u.default)?ot(u.default)?s?a:()=>a:u.default:n?s?a:()=>a:null,C=n||y!=null&&(ce(y)||Ve(y)),S=fl(e,u);d&&uv(u);let[_,h,E]=g?[a,S,l[S]||lt()]:$f(e,a,S,i,f,c),v=_,A=a;if(!g&&!(ce(v)||Ht(v)||sn(v))&&C&&(v=y,A=v),!g&&(!(ce(v)||Ht(v)||sn(v))||!ce(h)))return o?ms:a;let P=!1;const R=()=>{P=!0},H=sn(v)?v:Ff(e,a,h,v,A,R);if(P)return v;const F=dv(e,h,E,u),I=av(F),N=cv(e,H,I);let x=r?r(N,a):N;return d&&ce(x)&&(x=Qg(x)),x}function uv(e){Ut(e.list)?e.list=e.list.map(t=>ce(t)?va(t):t):Qe(e.named)&&Object.keys(e.named).forEach(t=>{ce(e.named[t])&&(e.named[t]=va(e.named[t]))})}function $f(e,t,n,r,o,s){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:u}=e,c=u(e,r,n);let f=lt(),d,g=null;const y="translate";for(let C=0;Cr);return u.locale=n,u.key=t,u}const a=i(r,fv(e,n,o,r,l,s));return a.locale=n,a.key=t,a.source=r,a}function cv(e,t,n){return t(n)}function Si(...e){const[t,n,r]=e,o=lt();if(!ce(t)&&!et(t)&&!sn(t)&&!Ht(t))throw rn(nn.INVALID_ARGUMENT);const s=et(t)?String(t):(sn(t),t);return et(n)?o.plural=n:ce(n)?o.default=n:Pe(n)&&!il(n)?o.named=n:Ut(n)&&(o.list=n),et(r)?o.plural=r:ce(r)?o.default=r:Pe(r)&&Qn(o,r),[s,o]}function fv(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>Kg(t,n,i)}}function dv(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:o,pluralRules:s,messages:(g,y)=>{let C=i(n,g);if(C==null&&(c||y)){const[,,S]=$f(c||e,g,t,l,a,u);C=i(S,g)}if(ce(C)||Ht(C)){let S=!1;const h=Ff(e,g,t,C,g,()=>{S=!0});return S?Ia:h}else return sn(C)?C:Ia}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),et(r.plural)&&(d.pluralIndex=r.plural),d}const Qo=typeof window<"u",An=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Jr=e=>typeof e=="number"&&isFinite(e),Ma=e=>qf(e)==="[object RegExp]",hv=e=>xt(e)&&Object.keys(e).length===0,Wt=Object.assign,mv=Object.create,ht=(e=null)=>mv(e),gv=Object.prototype.hasOwnProperty;function Yo(e,t){return gv.call(e,t)}const kt=Array.isArray,po=e=>typeof e=="function",Le=e=>typeof e=="string",Jt=e=>typeof e=="boolean",st=e=>e!==null&&typeof e=="object",pv=Object.prototype.toString,qf=e=>pv.call(e),xt=e=>qf(e)==="[object Object]",vo=e=>!st(e)||kt(e);function Ao(e,t){if(vo(e)||vo(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(st(r[s])&&!st(o[s])&&(o[s]=Array.isArray(r[s])?[]:ht()),vo(o[s])||vo(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}const vv="11.3.0",yt={UNEXPECTED_RETURN_TYPE:Mp,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Lt(e,...t){return hs(e,null,void 0)}const ki=An("__translateVNode"),xi=An("__datetimeParts"),Ti=An("__numberParts"),_v=An("__setPluralRules"),bv=An("__injectWithOption"),Ai=An("__dispose");function Zr(e){if(!st(e)||Ht(e))return e;for(const t in e)if(Yo(e,t))if(!t.includes("."))st(e[t])&&Zr(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i{if("locale"in l&&"resource"in l){const{locale:a,resource:u}=l;a?(i[a]=i[a]||ht(),Ao(u,i[a])):Ao(u,i)}else Le(l)&&Ao(JSON.parse(l),i)}),o==null&&s)for(const l in i)Yo(i,l)&&Zr(i[l]);return i}function yv(e){return e.type}function Ev(e,t,n){let r=st(t.messages)?t.messages:ht();"__i18nGlobal"in n&&(r=Vf(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(st(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(st(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Da(e){return Ze(ro,null,e,0)}function Bf(){return ke()}const $a=()=>[],wv=()=>!1;let Fa=0;function qa(e){return((t,n,r,o)=>e(n,r,Bf()||void 0,o))}function jf(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Qo?me:dc;let i=Jt(e.inheritLocale)?e.inheritLocale:!0;const l=s(t&&i?t.locale.value:Le(e.locale)?e.locale:Go),a=s(t&&i?t.fallbackLocale.value:Le(e.fallbackLocale)||kt(e.fallbackLocale)||xt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),u=s(Vf(l.value,e)),c=s(xt(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=s(xt(e.numberFormats)?e.numberFormats:{[l.value]:{}});let d=t?t.missingWarn:Jt(e.missingWarn)||Ma(e.missingWarn)?e.missingWarn:!0,g=t?t.fallbackWarn:Jt(e.fallbackWarn)||Ma(e.fallbackWarn)?e.fallbackWarn:!0,y=t?t.fallbackRoot:Jt(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,S=po(e.missing)?e.missing:null,_=po(e.missing)?qa(e.missing):null,h=po(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:Jt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const A=t?t.modifiers:xt(e.modifiers)?e.modifiers:{};let P=e.pluralRules||t&&t.pluralRules,R;R=(()=>{r&&Ta(null);const T={version:vv,locale:l.value,fallbackLocale:a.value,messages:u.value,modifiers:A,pluralRules:P,missing:_===null?void 0:_,missingWarn:d,fallbackWarn:g,fallbackFormat:C,unresolving:!0,postTranslation:h===null?void 0:h,warnHtmlMessage:E,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};T.datetimeFormats=c.value,T.numberFormats=f.value,T.__datetimeFormatters=xt(R)?R.__datetimeFormatters:void 0,T.__numberFormatters=xt(R)?R.__numberFormatters:void 0;const D=Zp(T);return r&&Ta(D),D})(),wr(R,l.value,a.value);function F(){return[l.value,a.value,u.value,c.value,f.value]}const I=$({get:()=>l.value,set:T=>{R.locale=T,l.value=T}}),N=$({get:()=>a.value,set:T=>{R.fallbackLocale=T,a.value=T,wr(R,l.value,T)}}),x=$(()=>u.value),B=$(()=>c.value),q=$(()=>f.value);function Y(){return po(h)?h:null}function ee(T){h=T,R.postTranslation=T}function Q(){return S}function j(T){T!==null&&(_=qa(T)),S=T,R.missing=_}const re=(T,D,te,ie,he,Re)=>{F();let we;try{r||(R.fallbackContext=t?Jp():void 0),we=T(R)}finally{r||(R.fallbackContext=void 0)}if(te!=="translate exists"&&Jr(we)&&we===ms||te==="translate exists"&&!we){const[gt,wt]=D();return t&&y?ie(t):he(gt)}else{if(Re(we))return we;throw Lt(yt.UNEXPECTED_RETURN_TYPE)}};function ye(...T){return re(D=>Reflect.apply(Na,null,[D,...T]),()=>Si(...T),"translate",D=>Reflect.apply(D.t,D,[...T]),D=>D,D=>Le(D))}function le(...T){const[D,te,ie]=T;if(ie&&!st(ie))throw Lt(yt.INVALID_ARGUMENT);return ye(D,te,Wt({resolvedMessage:!0},ie||{}))}function z(...T){return re(D=>Reflect.apply(Ra,null,[D,...T]),()=>wi(...T),"datetime format",D=>Reflect.apply(D.d,D,[...T]),()=>zo,D=>Le(D)||kt(D))}function fe(...T){return re(D=>Reflect.apply(La,null,[D,...T]),()=>Ci(...T),"number format",D=>Reflect.apply(D.n,D,[...T]),()=>zo,D=>Le(D)||kt(D))}function Ee(T){return T.map(D=>Le(D)||Jr(D)||Jt(D)?Da(String(D)):D)}const oe={normalize:Ee,interpolate:T=>T,type:"vnode"};function M(...T){return re(D=>{let te;const ie=D;try{ie.processor=oe,te=Reflect.apply(Na,null,[ie,...T])}finally{ie.processor=null}return te},()=>Si(...T),"translate",D=>D[ki](...T),D=>[Da(D)],D=>kt(D))}function X(...T){return re(D=>Reflect.apply(La,null,[D,...T]),()=>Ci(...T),"number format",D=>D[Ti](...T),$a,D=>Le(D)||kt(D))}function J(...T){return re(D=>Reflect.apply(Ra,null,[D,...T]),()=>wi(...T),"datetime format",D=>D[xi](...T),$a,D=>Le(D)||kt(D))}function ne(T){P=T,R.pluralRules=P}function de(T,D){return re(()=>{if(!T)return!1;const te=Le(D)?D:l.value,ie=Le(D)?[te]:Ei(R,a.value,te);for(let he=0;he[T],"translate exists",te=>Reflect.apply(te.te,te,[T,D]),wv,te=>Jt(te))}function b(T){let D=null;const te=Ei(R,a.value,l.value);for(let ie=0;ie{i&&(l.value=T,R.locale=T,wr(R,l.value,a.value))}),ge(t.fallbackLocale,T=>{i&&(a.value=T,R.fallbackLocale=T,wr(R,l.value,a.value))}));const G={id:Fa,locale:I,fallbackLocale:N,get inheritLocale(){return i},set inheritLocale(T){i=T,T&&t&&(l.value=t.locale.value,a.value=t.fallbackLocale.value,wr(R,l.value,a.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:x,get modifiers(){return A},get pluralRules(){return P||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(T){d=T,R.missingWarn=d},get fallbackWarn(){return g},set fallbackWarn(T){g=T,R.fallbackWarn=g},get fallbackRoot(){return y},set fallbackRoot(T){y=T},get fallbackFormat(){return C},set fallbackFormat(T){C=T,R.fallbackFormat=C},get warnHtmlMessage(){return E},set warnHtmlMessage(T){E=T,R.warnHtmlMessage=T},get escapeParameter(){return v},set escapeParameter(T){v=T,R.escapeParameter=T},t:ye,getLocaleMessage:O,setLocaleMessage:U,mergeLocaleMessage:K,getPostTranslationHandler:Y,setPostTranslationHandler:ee,getMissingHandler:Q,setMissingHandler:j,[_v]:ne};return G.datetimeFormats=B,G.numberFormats=q,G.rt=le,G.te=de,G.tm=w,G.d=z,G.n=fe,G.getDateTimeFormat=W,G.setDateTimeFormat=m,G.mergeDateTimeFormat=p,G.getNumberFormat=k,G.setNumberFormat=L,G.mergeNumberFormat=Z,G[bv]=n,G[ki]=M,G[xi]=J,G[Ti]=X,G}const hl={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Cv({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===ut?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},ht())}function Uf(){return ut}const Sv=Gn({name:"i18n-t",props:Wt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Jr(e)||!isNaN(e)}},hl),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||gs({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f[0]!=="_"),i=ht();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Le(e.plural)?+e.plural:e.plural);const l=Cv(t,s),a=o[ki](e.keypath,l,i),u=Wt(ht(),r),c=Le(e.tag)||st(e.tag)?e.tag:Uf();return V(c,u,a)}}}),Va=Sv;function kv(e){return kt(e)&&!Le(e[0])}function Hf(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i={part:!0};let l=ht();e.locale&&(i.locale=e.locale),Le(e.format)?i.key=e.format:st(e.format)&&(Le(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((d,g)=>n.includes(g)?Wt(ht(),d,{[g]:e.format[g]}):d,ht()));const a=r(e.value,i,l);let u=[i.key];kt(a)?u=a.map((d,g)=>{const y=o[d.type],C=y?y({[d.type]:d.value,index:g,parts:a}):[d.value];return kv(C)&&(C[0].key=`${d.type}-${g}`),C}):Le(a)&&(u=[a]);const c=Wt(ht(),s),f=Le(e.tag)||st(e.tag)?e.tag:Uf();return V(f,c,u)}}const xv=Gn({name:"i18n-n",props:Wt({value:{type:Number,required:!0},format:{type:[String,Object]}},hl),setup(e,t){const n=e.i18n||gs({useScope:e.scope,__useComponent:!0});return Hf(e,t,Df,(...r)=>n[Ti](...r))}}),Ba=xv;function Tv(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Av(e){const t=i=>{const{instance:l,value:a}=i;if(!l||!l.$)throw Lt(yt.UNEXPECTED_ERROR);const u=Tv(e,l.$),c=ja(a);return[Reflect.apply(u.t,u,[...Ua(c)]),u]};return{created:(i,l)=>{const[a,u]=t(l);Qo&&(i.__i18nWatcher=ge(u.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=u,i.textContent=a},unmounted:i=>{Qo&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const a=i.__composer,u=ja(l);i.textContent=Reflect.apply(a.t,a,[...Ua(u)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function ja(e){if(Le(e))return{path:e};if(xt(e)){if(!("path"in e))throw Lt(yt.REQUIRED_VALUE,"path");return e}else throw Lt(yt.INVALID_VALUE)}function Ua(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},l=r||{};return Le(n)&&(i.locale=n),Jr(o)&&(i.plural=o),Jr(s)&&(i.plural=s),[t,l,i]}function Rv(e,t,...n){const r=xt(n[0])?n[0]:{};(!Jt(r.globalInstall)||r.globalInstall)&&([Va.name,"I18nT"].forEach(s=>e.component(s,Va)),[Ba.name,"I18nN"].forEach(s=>e.component(s,Ba)),[Wa.name,"I18nD"].forEach(s=>e.component(s,Wa))),e.directive("t",Av(t))}const Ov=An("global-vue-i18n");function S0(e={}){const t=Jt(e.globalInjection)?e.globalInjection:!0,n=new Map,[r,o]=Lv(e),s=An("");function i(c){return n.get(c)||null}function l(c,f){n.set(c,f)}function a(c){n.delete(c)}const u={get mode(){return"composition"},async install(c,...f){if(c.__VUE_I18N_SYMBOL__=s,c.provide(c.__VUE_I18N_SYMBOL__,u),xt(f[0])){const y=f[0];u.__composerExtend=y.__composerExtend,u.__vueI18nExtend=y.__vueI18nExtend}let d=null;t&&(d=qv(c,u.global)),Rv(c,u,...f);const g=c.unmount;c.unmount=()=>{d&&d(),u.dispose(),g()}},get global(){return o},dispose(){r.stop()},__instances:n,__getInstance:i,__setInstance:l,__deleteInstance:a};return u}function gs(e={}){const t=Bf();if(t==null)throw Lt(yt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Lt(yt.NOT_INSTALLED);const n=Pv(t),r=Nv(n),o=yv(t),s=Iv(e,o);if(s==="global")return Ev(r,e,o),r;if(s==="parent"){let a=Mv(n,t,e.__useComponent);return a==null&&(a=r),a}const i=n;let l=i.__getInstance(t);if(l==null){const a=Wt({},e);"__i18n"in o&&(a.__i18n=o.__i18n),r&&(a.__root=r),l=jf(a),i.__composerExtend&&(l[Ai]=i.__composerExtend(l)),$v(i,t,l),i.__setInstance(t,l)}return l}function Lv(e,t){const n=Wi(),r=n.run(()=>jf(e));if(r==null)throw Lt(yt.UNEXPECTED_ERROR);return[n,r]}function Pv(e){const t=it(e.isCE?Ov:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Lt(e.isCE?yt.NOT_INSTALLED_WITH_PROVIDE:yt.UNEXPECTED_ERROR);return t}function Iv(e,t){return hv(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Nv(e){return e.mode==="composition"?e.global:e.global.__composer}function Mv(e,t,n=!1){let r=null;const o=t.root;let s=Dv(t,n);for(;s!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(s)),r!=null||o===s)break;s=s.parent}return r}function Dv(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function $v(e,t,n){Gt(()=>{},t),cs(()=>{const r=n;e.__deleteInstance(t);const o=r[Ai];o&&(o(),delete r[Ai])},t)}const Fv=["locale","fallbackLocale","availableLocales"],Ha=["t","rt","d","n","tm","te"];function qv(e,t){const n=Object.create(null);return Fv.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Lt(yt.UNEXPECTED_ERROR);const i=Ae(s.value)?{get(){return s.value.value},set(l){s.value.value=l}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Ha.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Lt(yt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Ha.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const Vv=Gn({name:"i18n-d",props:Wt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},hl),setup(e,t){const n=e.i18n||gs({useScope:e.scope,__useComponent:!0});return Hf(e,t,Mf,(...r)=>n[xi](...r))}}),Wa=Vv;Qp(Np);Yp(Kp);Xp(Ei);let Wf;const ps=e=>Wf=e,Kf=Symbol();function Ri(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var qr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(qr||(qr={}));function Bv(){const e=Wi(!0),t=e.run(()=>me({}));let n=[],r=[];const o=Kn({install(s){ps(o),o._a=s,s.provide(Kf,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Gf=()=>{};function Ka(e,t,n,r=Gf){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&Yu()&&Zd(o),o}function Zn(e,...t){e.forEach(n=>{n(...t)})}const jv=e=>e(),Ga=Symbol(),qs=Symbol();function Oi(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Ri(o)&&Ri(r)&&e.hasOwnProperty(n)&&!Ae(r)&&!on(r)?e[n]=Oi(o,r):e[n]=r}return e}const Uv=Symbol();function Hv(e){return!Ri(e)||!Object.prototype.hasOwnProperty.call(e,Uv)}const{assign:pn}=Object;function Wv(e){return!!(Ae(e)&&e.effect)}function Kv(e,t,n,r){const{state:o,actions:s,getters:i}=t,l=n.state.value[e];let a;function u(){l||(n.state.value[e]=o?o():{});const c=Eh(n.state.value[e]);return pn(c,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Kn($(()=>{ps(n);const g=n._s.get(e);return i[d].call(g,g)})),f),{}))}return a=zf(e,u,t,n,r,!0),a}function zf(e,t,n={},r,o,s){let i;const l=pn({actions:{}},n),a={deep:!0};let u,c,f=new Set,d=new Set,g;const y=r.state.value[e];!s&&!y&&(r.state.value[e]={});let C;function S(H){let F;u=c=!1,typeof H=="function"?(H(r.state.value[e]),F={type:qr.patchFunction,storeId:e,events:g}):(Oi(r.state.value[e],H),F={type:qr.patchObject,payload:H,storeId:e,events:g});const I=C=Symbol();rt().then(()=>{C===I&&(u=!0)}),c=!0,Zn(f,F,r.state.value[e])}const _=s?function(){const{state:F}=n,I=F?F():{};this.$patch(N=>{pn(N,I)})}:Gf;function h(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(H,F="")=>{if(Ga in H)return H[qs]=F,H;const I=function(){ps(r);const N=Array.from(arguments),x=new Set,B=new Set;function q(Q){x.add(Q)}function Y(Q){B.add(Q)}Zn(d,{args:N,name:I[qs],store:A,after:q,onError:Y});let ee;try{ee=H.apply(this&&this.$id===e?this:A,N)}catch(Q){throw Zn(B,Q),Q}return ee instanceof Promise?ee.then(Q=>(Zn(x,Q),Q)).catch(Q=>(Zn(B,Q),Promise.reject(Q))):(Zn(x,ee),ee)};return I[Ga]=!0,I[qs]=F,I},v={_p:r,$id:e,$onAction:Ka.bind(null,d),$patch:S,$reset:_,$subscribe(H,F={}){const I=Ka(f,H,F.detached,()=>N()),N=i.run(()=>ge(()=>r.state.value[e],x=>{(F.flush==="sync"?c:u)&&H({storeId:e,type:qr.direct,events:g},x)},pn({},a,F)));return I},$dispose:h},A=Wn(v);r._s.set(e,A);const R=(r._a&&r._a.runWithContext||jv)(()=>r._e.run(()=>(i=Wi()).run(()=>t({action:E}))));for(const H in R){const F=R[H];if(Ae(F)&&!Wv(F)||on(F))s||(y&&Hv(F)&&(Ae(F)?F.value=y[H]:Oi(F,y[H])),r.state.value[e][H]=F);else if(typeof F=="function"){const I=E(F,H);R[H]=I,l.actions[H]=F}}return pn(A,R),pn(ue(A),R),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:H=>{S(F=>{pn(F,H)})}}),r._p.forEach(H=>{pn(A,i.run(()=>H({store:A,app:r._a,pinia:r,options:l})))}),y&&s&&n.hydrate&&n.hydrate(A.$state,y),u=!0,c=!0,A}function Gv(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,l){const a=Ph();return i=i||(a?it(Kf,null):null),i&&ps(i),i=Wf,i._s.has(e)||(o?zf(e,t,r,i):Kv(e,r,i)),i._s.get(e)}return s.$id=e,s}const zv=["it","en","en_us","de","de_ch","fr","fr_ch"],za="it",Qf="preferences.language";function Qv(e){return zv.includes(e)}function Yv(){if(typeof localStorage>"u")return za;const e=localStorage.getItem(Qf);return e&&Qv(e)?e:za}function Xv(e){switch(e){case"it":case"en":case"en_us":case"de":case"de_ch":case"fr":case"fr_ch":return e}}const Jv=Gv("preferences",{state:()=>({language:Yv()}),actions:{setLanguage(e){this.language=e,typeof localStorage<"u"&&localStorage.setItem(Qf,e)}}}),Zv=Gn({__name:"App",setup(e){const{locale:t}=gs(),n=Jv();return ge(()=>n.language,r=>{t.value=Xv(r)},{immediate:!0}),(r,o)=>{const s=zh("router-view");return Yc(),Jc(s)}}}),ml=e=>e,k0=ml,e_=ml,t_=ml,Vs=t_(()=>Bv());const ir=typeof document<"u";function Yf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function n_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Yf(e.default)}const pe=Object.assign;function Bs(e,t){const n={};for(const r in t){const o=t[r];n[r]=Pt(o)?o.map(e):e(o)}return n}const Vr=()=>{},Pt=Array.isArray;function Qa(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let Oe=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Xf=Symbol("");Oe.MATCHER_NOT_FOUND+"",Oe.NAVIGATION_GUARD_REDIRECT+"",Oe.NAVIGATION_ABORTED+"",Oe.NAVIGATION_CANCELLED+"",Oe.NAVIGATION_DUPLICATED+"";function hr(e,t){return pe(new Error,{type:e,[Xf]:!0},t)}function Yt(e,t){return e instanceof Error&&Xf in e&&(t==null||!!(e.type&t))}const r_=["params","query","hash"];function o_(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of r_)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const s_=Symbol(""),Ya=Symbol(""),vs=Symbol(""),gl=Symbol(""),Li=Symbol("");function x0(){return it(vs)}function T0(e){return it(gl)}const Jf=/#/g,i_=/&/g,l_=/\//g,a_=/=/g,u_=/\?/g,Zf=/\+/g,c_=/%5B/g,f_=/%5D/g,ed=/%5E/g,d_=/%60/g,td=/%7B/g,h_=/%7C/g,nd=/%7D/g,m_=/%20/g;function pl(e){return e==null?"":encodeURI(""+e).replace(h_,"|").replace(c_,"[").replace(f_,"]")}function g_(e){return pl(e).replace(td,"{").replace(nd,"}").replace(ed,"^")}function Pi(e){return pl(e).replace(Zf,"%2B").replace(m_,"+").replace(Jf,"%23").replace(i_,"%26").replace(d_,"`").replace(td,"{").replace(nd,"}").replace(ed,"^")}function p_(e){return Pi(e).replace(a_,"%3D")}function v_(e){return pl(e).replace(Jf,"%23").replace(u_,"%3F")}function __(e){return v_(e).replace(l_,"%2F")}function eo(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const b_=/\/$/,y_=e=>e.replace(b_,"");function js(e,t,n="/"){let r,o={},s="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(r=t.slice(0,a),s=t.slice(a,l>0?l:t.length),o=e(s.slice(1))),l>=0&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=S_(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:eo(i)}}function E_(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Xa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function w_(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&mr(t.matched[r],n.matched[o])&&rd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function mr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!C_(e[n],t[n]))return!1;return!0}function C_(e,t){return Pt(e)?Ja(e,t):Pt(t)?Ja(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Ja(e,t){return Pt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function S_(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,l;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const mn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ii=(function(e){return e.pop="pop",e.push="push",e})({}),Us=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function k_(e){if(!e)if(ir){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),y_(e)}const x_=/^[^#]+#/;function T_(e,t){return e.replace(x_,"#")+t}function A_(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const _s=()=>({left:window.scrollX,top:window.scrollY});function R_(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=A_(o,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 Za(e,t){return(history.state?history.state.position-t:-1)+e}const Ni=new Map;function O_(e,t){Ni.set(e,t)}function L_(e){const t=Ni.get(e);return Ni.delete(e),t}function P_(e){return typeof e=="string"||e&&typeof e=="object"}function od(e){return typeof e=="string"||typeof e=="symbol"}function I_(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Pi(o)):[r&&Pi(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function N_(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Pt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function Cr(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function bn(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((l,a)=>{const u=d=>{d===!1?a(hr(Oe.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?a(d):P_(d)?a(hr(Oe.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),l())},c=s(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>a(d))})}function Hs(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Yf(a)){const u=(a.__vccOpts||a)[t];u&&s.push(bn(u,n,r,i,l,o))}else{let u=a();s.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=n_(c)?c.default:c;i.mods[l]=c,i.components[l]=f;const d=(f.__vccOpts||f)[t];return d&&bn(d,n,r,i,l,o)()}))}}return s}function M_(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;imr(u,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(u=>mr(u,a))||o.push(a))}return[n,r,o]}let D_=()=>location.protocol+"//"+location.host;function sd(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(i);return l[0]!=="/"&&(l="/"+l),Xa(l,"")}return Xa(n,e)+r+o}function $_(e,t,n,r){let o=[],s=[],i=null;const l=({state:d})=>{const g=sd(e,location),y=n.value,C=t.value;let S=0;if(d){if(n.value=g,t.value=d,i&&i===y){i=null;return}S=C?d.position-C.position:0}else r(g);o.forEach(_=>{_(n.value,y,{delta:S,type:Ii.pop,direction:S?S>0?Us.forward:Us.back:Us.unknown})})};function a(){i=n.value}function u(d){o.push(d);const g=()=>{const y=o.indexOf(d);y>-1&&o.splice(y,1)};return s.push(g),g}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(pe({},d.state,{scroll:_s()}),"")}}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:a,listen:u,destroy:f}}function tu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?_s():null}}function F_(e){const{history:t,location:n}=window,r={value:sd(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(a,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:D_()+e+a;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(g){console.error(g),n[c?"replace":"assign"](d)}}function i(a,u){s(a,pe({},t.state,tu(o.value.back,a,o.value.forward,!0),u,{position:o.value.position}),!0),r.value=a}function l(a,u){const c=pe({},o.value,t.state,{forward:a,scroll:_s()});s(c.current,c,!0),s(a,pe({},tu(r.value,a,null),{position:c.position+1},u),!1),r.value=a}return{location:r,state:o,push:l,replace:i}}function q_(e){e=k_(e);const t=F_(e),n=$_(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=pe({location:"",base:e,go:r,createHref:T_.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let Mn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var $e=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})($e||{});const V_={type:Mn.Static,value:""},B_=/[a-zA-Z0-9_]/;function j_(e){if(!e)return[[]];if(e==="/")return[[V_]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=$e.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let l=0,a,u="",c="";function f(){u&&(n===$e.Static?s.push({type:Mn.Static,value:u}):n===$e.Param||n===$e.ParamRegExp||n===$e.ParamRegExpEnd?(s.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:Mn.Param,value:u,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=a}for(;lt.length?t.length===1&&t[0]===Xe.Static+Xe.Segment?1:-1:0}function id(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const G_={strict:!1,end:!0,sensitive:!1};function z_(e,t,n){const r=W_(j_(e.path),n),o=pe(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Q_(e,t){const n=[],r=new Map;t=Qa(G_,t);function o(f){return r.get(f)}function s(f,d,g){const y=!g,C=su(f);C.aliasOf=g&&g.record;const S=Qa(t,f),_=[C];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const A of v)_.push(su(pe({},C,{components:g?g.record.components:C.components,path:A,aliasOf:g?g.record:C})))}let h,E;for(const v of _){const{path:A}=v;if(d&&A[0]!=="/"){const P=d.record.path,R=P[P.length-1]==="/"?"":"/";v.path=d.record.path+(A&&R+A)}if(h=z_(v,d,S),g?g.alias.push(h):(E=E||h,E!==h&&E.alias.push(h),y&&f.name&&!iu(h)&&i(f.name)),ld(h)&&a(h),C.children){const P=C.children;for(let R=0;R{i(E)}:Vr}function i(f){if(od(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function a(f){const d=J_(f,n);n.splice(d,0,f),f.record.name&&!iu(f)&&r.set(f.record.name,f)}function u(f,d){let g,y={},C,S;if("name"in f&&f.name){if(g=r.get(f.name),!g)throw hr(Oe.MATCHER_NOT_FOUND,{location:f});S=g.record.name,y=pe(ou(d.params,g.keys.filter(E=>!E.optional).concat(g.parent?g.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),f.params&&ou(f.params,g.keys.map(E=>E.name))),C=g.stringify(y)}else if(f.path!=null)C=f.path,g=n.find(E=>E.re.test(C)),g&&(y=g.parse(C),S=g.record.name);else{if(g=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!g)throw hr(Oe.MATCHER_NOT_FOUND,{location:f,currentLocation:d});S=g.record.name,y=pe({},d.params,f.params),C=g.stringify(y)}const _=[];let h=g;for(;h;)_.unshift(h.record),h=h.parent;return{name:S,path:C,params:y,matched:_,meta:X_(_)}}e.forEach(f=>s(f));function c(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:o}}function ou(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function su(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Y_(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 Y_(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function iu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function X_(e){return e.reduce((t,n)=>pe(t,n.meta),{})}function J_(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;id(e,t[s])<0?r=s:n=s+1}const o=Z_(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Z_(e){let t=e;for(;t=t.parent;)if(ld(t)&&id(e,t)===0)return t}function ld({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function lu(e){const t=it(vs),n=it(gl),r=$(()=>{const a=Cn(e.to);return t.resolve(a)}),o=$(()=>{const{matched:a}=r.value,{length:u}=a,c=a[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(mr.bind(null,c));if(d>-1)return d;const g=au(a[u-2]);return u>1&&au(c)===g&&f[f.length-1].path!==g?f.findIndex(mr.bind(null,a[u-2])):d}),s=$(()=>o.value>-1&&ob(n.params,r.value.params)),i=$(()=>o.value>-1&&o.value===n.matched.length-1&&rd(n.params,r.value.params));function l(a={}){if(rb(a)){const u=t[Cn(e.replace)?"replace":"push"](Cn(e.to)).catch(Vr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:$(()=>r.value.href),isActive:s,isExactActive:i,navigate:l}}function eb(e){return e.length===1?e[0]:e}const tb=Gn({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"},viewTransition:Boolean},useLink:lu,setup(e,{slots:t}){const n=Wn(lu(e)),{options:r}=it(vs),o=$(()=>({[uu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[uu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&eb(t.default(n));return e.custom?s:V("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),nb=tb;function rb(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 ob(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Pt(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function au(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const uu=(e,t,n)=>e??t??n,sb=Gn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=it(Li),o=$(()=>e.route||r.value),s=it(Ya,0),i=$(()=>{let u=Cn(s);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),l=$(()=>o.value.matched[i.value]);So(Ya,$(()=>i.value+1)),So(s_,l),So(Li,o);const a=me();return ge(()=>[a.value,l.value,e.name],([u,c,f],[d,g,y])=>{c&&(c.instances[f]=u,g&&g!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=g.leaveGuards),c.updateGuards.size||(c.updateGuards=g.updateGuards))),u&&c&&(!g||!mr(c,g)||!d)&&(c.enterCallbacks[f]||[]).forEach(C=>C(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=l.value,d=f&&f.components[c];if(!d)return cu(n.default,{Component:d,route:u});const g=f.props[c],y=g?g===!0?u.params:typeof g=="function"?g(u):g:null,S=V(d,pe({},y,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:a}));return cu(n.default,{Component:S,route:u})||S}}});function cu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ib=sb;function lb(e){const t=Q_(e.routes,e),n=e.parseQuery||I_,r=e.stringifyQuery||eu,o=e.history,s=Cr(),i=Cr(),l=Cr(),a=dc(mn);let u=mn;ir&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Bs.bind(null,M=>""+M),f=Bs.bind(null,__),d=Bs.bind(null,eo);function g(M,X){let J,ne;return od(M)?(J=t.getRecordMatcher(M),ne=X):ne=M,t.addRoute(ne,J)}function y(M){const X=t.getRecordMatcher(M);X&&t.removeRoute(X)}function C(){return t.getRoutes().map(M=>M.record)}function S(M){return!!t.getRecordMatcher(M)}function _(M,X){if(X=pe({},X||a.value),typeof M=="string"){const O=js(n,M,X.path),U=t.resolve({path:O.path},X),K=o.createHref(O.fullPath);return pe(O,U,{params:d(U.params),hash:eo(O.hash),redirectedFrom:void 0,href:K})}let J;if(M.path!=null)J=pe({},M,{path:js(n,M.path,X.path).path});else{const O=pe({},M.params);for(const U in O)O[U]==null&&delete O[U];J=pe({},M,{params:f(O)}),X.params=f(X.params)}const ne=t.resolve(J,X),de=M.hash||"";ne.params=c(d(ne.params));const b=E_(r,pe({},M,{hash:g_(de),path:ne.path})),w=o.createHref(b);return pe({fullPath:b,hash:de,query:r===eu?N_(M.query):M.query||{}},ne,{redirectedFrom:void 0,href:w})}function h(M){return typeof M=="string"?js(n,M,a.value.path):pe({},M)}function E(M,X){if(u!==M)return hr(Oe.NAVIGATION_CANCELLED,{from:X,to:M})}function v(M){return R(M)}function A(M){return v(pe(h(M),{replace:!0}))}function P(M,X){const J=M.matched[M.matched.length-1];if(J&&J.redirect){const{redirect:ne}=J;let de=typeof ne=="function"?ne(M,X):ne;return typeof de=="string"&&(de=de.includes("?")||de.includes("#")?de=h(de):{path:de},de.params={}),pe({query:M.query,hash:M.hash,params:de.path!=null?{}:M.params},de)}}function R(M,X){const J=u=_(M),ne=a.value,de=M.state,b=M.force,w=M.replace===!0,O=P(J,ne);if(O)return R(pe(h(O),{state:typeof O=="object"?pe({},de,O.state):de,force:b,replace:w}),X||J);const U=J;U.redirectedFrom=X;let K;return!b&&w_(r,ne,J)&&(K=hr(Oe.NAVIGATION_DUPLICATED,{to:U,from:ne}),le(ne,ne,!0,!1)),(K?Promise.resolve(K):I(U,ne)).catch(W=>Yt(W)?Yt(W,Oe.NAVIGATION_GUARD_REDIRECT)?W:ye(W):j(W,U,ne)).then(W=>{if(W){if(Yt(W,Oe.NAVIGATION_GUARD_REDIRECT))return R(pe({replace:w},h(W.to),{state:typeof W.to=="object"?pe({},de,W.to.state):de,force:b}),X||U)}else W=x(U,ne,!0,w,de);return N(U,ne,W),W})}function H(M,X){const J=E(M,X);return J?Promise.reject(J):Promise.resolve()}function F(M){const X=Ee.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(M):M()}function I(M,X){let J;const[ne,de,b]=M_(M,X);J=Hs(ne.reverse(),"beforeRouteLeave",M,X);for(const O of ne)O.leaveGuards.forEach(U=>{J.push(bn(U,M,X))});const w=H.bind(null,M,X);return J.push(w),oe(J).then(()=>{J=[];for(const O of s.list())J.push(bn(O,M,X));return J.push(w),oe(J)}).then(()=>{J=Hs(de,"beforeRouteUpdate",M,X);for(const O of de)O.updateGuards.forEach(U=>{J.push(bn(U,M,X))});return J.push(w),oe(J)}).then(()=>{J=[];for(const O of b)if(O.beforeEnter)if(Pt(O.beforeEnter))for(const U of O.beforeEnter)J.push(bn(U,M,X));else J.push(bn(O.beforeEnter,M,X));return J.push(w),oe(J)}).then(()=>(M.matched.forEach(O=>O.enterCallbacks={}),J=Hs(b,"beforeRouteEnter",M,X,F),J.push(w),oe(J))).then(()=>{J=[];for(const O of i.list())J.push(bn(O,M,X));return J.push(w),oe(J)}).catch(O=>Yt(O,Oe.NAVIGATION_CANCELLED)?O:Promise.reject(O))}function N(M,X,J){l.list().forEach(ne=>F(()=>ne(M,X,J)))}function x(M,X,J,ne,de){const b=E(M,X);if(b)return b;const w=X===mn,O=ir?history.state:{};J&&(ne||w?o.replace(M.fullPath,pe({scroll:w&&O&&O.scroll},de)):o.push(M.fullPath,de)),a.value=M,le(M,X,J,w),ye()}let B;function q(){B||(B=o.listen((M,X,J)=>{if(!Te.listening)return;const ne=_(M),de=P(ne,Te.currentRoute.value);if(de){R(pe(de,{replace:!0,force:!0}),ne).catch(Vr);return}u=ne;const b=a.value;ir&&O_(Za(b.fullPath,J.delta),_s()),I(ne,b).catch(w=>Yt(w,Oe.NAVIGATION_ABORTED|Oe.NAVIGATION_CANCELLED)?w:Yt(w,Oe.NAVIGATION_GUARD_REDIRECT)?(R(pe(h(w.to),{force:!0}),ne).then(O=>{Yt(O,Oe.NAVIGATION_ABORTED|Oe.NAVIGATION_DUPLICATED)&&!J.delta&&J.type===Ii.pop&&o.go(-1,!1)}).catch(Vr),Promise.reject()):(J.delta&&o.go(-J.delta,!1),j(w,ne,b))).then(w=>{w=w||x(ne,b,!1),w&&(J.delta&&!Yt(w,Oe.NAVIGATION_CANCELLED)?o.go(-J.delta,!1):J.type===Ii.pop&&Yt(w,Oe.NAVIGATION_ABORTED|Oe.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),N(ne,b,w)}).catch(Vr)}))}let Y=Cr(),ee=Cr(),Q;function j(M,X,J){ye(M);const ne=ee.list();return ne.length?ne.forEach(de=>de(M,X,J)):console.error(M),Promise.reject(M)}function re(){return Q&&a.value!==mn?Promise.resolve():new Promise((M,X)=>{Y.add([M,X])})}function ye(M){return Q||(Q=!M,q(),Y.list().forEach(([X,J])=>M?J(M):X()),Y.reset()),M}function le(M,X,J,ne){const{scrollBehavior:de}=e;if(!ir||!de)return Promise.resolve();const b=!J&&L_(Za(M.fullPath,0))||(ne||!J)&&history.state&&history.state.scroll||null;return rt().then(()=>de(M,X,b)).then(w=>w&&R_(w)).catch(w=>j(w,M,X))}const z=M=>o.go(M);let fe;const Ee=new Set,Te={currentRoute:a,listening:!0,addRoute:g,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:S,getRoutes:C,resolve:_,options:e,push:v,replace:A,go:z,back:()=>z(-1),forward:()=>z(1),beforeEach:s.add,beforeResolve:i.add,afterEach:l.add,onError:ee.add,isReady:re,install(M){M.component("RouterLink",nb),M.component("RouterView",ib),M.config.globalProperties.$router=Te,Object.defineProperty(M.config.globalProperties,"$route",{enumerable:!0,get:()=>Cn(a)}),ir&&!fe&&a.value===mn&&(fe=!0,v(o.location).catch(ne=>{}));const X={};for(const ne in mn)Object.defineProperty(X,ne,{get:()=>a.value[ne],enumerable:!0});M.provide(vs,Te),M.provide(gl,fc(X)),M.provide(Li,a);const J=M.unmount;Ee.add(M),M.unmount=function(){Ee.delete(M),Ee.size<1&&(u=mn,B&&B(),B=null,a.value=mn,fe=!1,Q=!1),J()}}};function oe(M){return M.reduce((X,J)=>X.then(()=>F(J)),Promise.resolve())}return Te}const ab=[{path:"/",component:()=>Ne(()=>import("./MainLayout-BqadnCMs.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])),children:[{path:"",component:()=>Ne(()=>import("./IndexPage-qHfbNmL8.js"),__vite__mapDeps([13,14,15,3,4,5,11,8,16,17]))},{path:"about",component:()=>Ne(()=>import("./AboutUsPage-2zvnAMYl.js"),__vite__mapDeps([18,14,15,3,4,5,11,8,16,19,20,21]))},{path:"services",component:()=>Ne(()=>import("./ServicesPage-CEUh_7ZB.js"),__vite__mapDeps([22,14,15,3,4,5,11,8,16,23]))},{path:"doctors",component:()=>Ne(()=>import("./DoctorsPage-Mx2NaaFf.js"),__vite__mapDeps([24,3,4,5,14,15,11,8,16,19,20,25]))},{path:"doctordetails",component:()=>Ne(()=>import("./DoctorDetailPage-DNWM4IpO.js"),__vite__mapDeps([26,3,4,5,27,28,14,15,11,8,16,19,29]))},{path:"contact",component:()=>Ne(()=>import("./ContactUsPage-B3eNo5Fm.js"),__vite__mapDeps([30,3,4,5,28,14,15,11,8,16,31]))},{path:"login",component:()=>Ne(()=>import("./LoginPage-BgmpoZun.js"),__vite__mapDeps([32,28,14,33,10,11,34]))},{path:"signup",component:()=>Ne(()=>import("./SignupPage-B_w5JCSL.js"),__vite__mapDeps([35,28,14,33,10,11,36]))},{path:"recoverpassword",component:()=>Ne(()=>import("./RecoverPasswordPage-CJDwxHNJ.js"),__vite__mapDeps([37,28,14,33,10,11,38]))}]},{path:"/dev",component:()=>Ne(()=>import("./DevLayout-6orPgqWc.js"),__vite__mapDeps([39,1,2,8,6,40,41,5])),children:[{path:"",component:()=>Ne(()=>import("./IndexPage-DfNuzFub.js"),__vite__mapDeps([42,14]))},{path:"reset-password",component:()=>Ne(()=>import("./ResetPasswordPage-DC-tQ0cd.js"),__vite__mapDeps([43,14,10,11,44]))},{path:"api/endpoints",component:()=>Ne(()=>import("./ApiEndpointsPage-JesCyaiy.js"),__vite__mapDeps([45,46,14,9,10,11,47]))},{path:"api/mail-debug",component:()=>Ne(()=>import("./MailDebugPage-DxWNUslA.js"),__vite__mapDeps([48,7,6,4,5,14,33,10,11,49]))}]},{path:"/admin",component:()=>Ne(()=>import("./AdminLayout-DN9f9DOf.js"),__vite__mapDeps([50,1,2,8,6,40,41,5])),children:[{path:"",component:()=>Ne(()=>import("./IndexPage-HuzieOt1.js"),__vite__mapDeps([51,14,11,52]))},{path:"users",component:()=>Ne(()=>import("./UsersPage-COHOm8T7.js"),__vite__mapDeps([53,46,6,2,7,4,5,27,41,28,14,9,33,10,11,54]))}]},{path:"/:catchAll(.*)*",component:()=>Ne(()=>import("./ErrorNotFound-C1ZsCLAD.js"),[])}],Ws=e_(function(){return lb({scrollBehavior:()=>({left:0,top:0}),routes:ab,history:q_("/")})});async function ub(e,t){const n=e(Zv);n.use(Hg,t);const r=typeof Vs=="function"?await Vs({}):Vs;n.use(r);const o=Kn(typeof Ws=="function"?await Ws({store:r}):Ws);return r.use(({store:s})=>{s.router=o}),{app:n,store:r,router:o}}const Mi={xs:18,sm:24,md:32,lg:38,xl:46},io={size:String};function lo(e,t=Mi){return $(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function Tt(e,t){return e!==void 0&&e()||t}function A0(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function Dn(e,t){return e!==void 0?t.concat(e()):t}function cb(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function R0(e,t,n,r,o,s){t.key=r+o;const i=V(e,t,n);return o===!0?yc(i,s()):i}const fu="0 0 24 24",Ks=e=>e,Gs=e=>`ionicons ${e}`,ad={"mdi-":e=>`mdi ${e}`,"icon-":Ks,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Gs,"ion-ios":Gs,"ion-logo":Gs,"iconfont ":Ks,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`,"i-":Ks},ud={o_:"-outlined",r_:"-round",s_:"-sharp"},cd={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},fb=new RegExp("^("+Object.keys(ad).join("|")+")"),db=new RegExp("^("+Object.keys(ud).join("|")+")"),du=new RegExp("^("+Object.keys(cd).join("|")+")"),hb=/^[Mm]\s?[-+]?\.?\d/,mb=/^img:/,gb=/^svguse:/,pb=/^ion-/,vb=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,fn=je({name:"QIcon",props:{...io,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=ke(),r=lo(e),o=$(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),s=$(()=>{let i,l=e.name;if(l==="none"||!l)return{none:!0};if(n.iconMapFn!==null){const c=n.iconMapFn(l);if(c!==void 0)if(c.icon!==void 0){if(l=c.icon,l==="none"||!l)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(hb.test(l)===!0){const[c,f=fu]=l.split("|");return{svg:!0,viewBox:f,nodes:c.split("&&").map(d=>{const[g,y,C]=d.split("@@");return V("path",{style:y,d:g,transform:C})})}}if(mb.test(l)===!0)return{img:!0,src:l.substring(4)};if(gb.test(l)===!0){const[c,f=fu]=l.split("|");return{svguse:!0,src:c.substring(7),viewBox:f}}let a=" ";const u=l.match(fb);if(u!==null)i=ad[u[1]](l);else if(vb.test(l)===!0)i=l;else if(pb.test(l)===!0)i=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${l.substring(3)}`;else if(du.test(l)===!0){i="notranslate material-symbols";const c=l.match(du);c!==null&&(l=l.substring(6),i+=cd[c[1]]),a=l}else{i="notranslate material-icons";const c=l.match(db);c!==null&&(l=l.substring(2),i+=ud[c[1]]),a=l}return{cls:i,content:a}});return()=>{const i={class:o.value,style:r.value,"aria-hidden":"true"};return s.value.none===!0?V(e.tag,i,Tt(t.default)):s.value.img===!0?V(e.tag,i,Dn(t.default,[V("img",{src:s.value.src})])):s.value.svg===!0?V(e.tag,i,Dn(t.default,[V("svg",{viewBox:s.value.viewBox||"0 0 24 24"},s.value.nodes)])):s.value.svguse===!0?V(e.tag,i,Dn(t.default,[V("svg",{viewBox:s.value.viewBox},[V("use",{"xlink:href":s.value.src})])])):(s.value.cls!==void 0&&(i.class+=" "+s.value.cls),V(e.tag,i,Dn(t.default,[s.value.content])))}}}),_b=je({name:"QAvatar",props:{...io,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=lo(e),r=$(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),o=$(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{const s=e.icon!==void 0?[V(fn,{name:e.icon})]:void 0;return V("div",{class:r.value,style:n.value},[V("div",{class:"q-avatar__content row flex-center overflow-hidden",style:o.value},cb(t.default,s))])}}}),bb={size:{type:[String,Number],default:"1em"},color:String};function yb(e){return{cSize:$(()=>e.size in Mi?`${Mi[e.size]}px`:e.size),classes:$(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const gr=je({name:"QSpinner",props:{...bb,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=yb(e);return()=>V("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[V("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Di(e,t){const n=e.style;for(const r in t)n[r]=t[r]}function Eb(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=Cn(e);if(t)return t.$el||t}function wb(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}function Cb(e,t=250){let n=!1,r;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),r=e.apply(this,arguments)),r}}function hu(e,t,n,r){n.modifiers.stop===!0&&Ho(e);const o=n.modifiers.color;let s=n.modifiers.center;s=s===!0||r===!0;const i=document.createElement("span"),l=document.createElement("span"),a=Sg(e),{left:u,top:c,width:f,height:d}=t.getBoundingClientRect(),g=Math.sqrt(f*f+d*d),y=g/2,C=`${(f-g)/2}px`,S=s?C:`${a.left-u-y}px`,_=`${(d-g)/2}px`,h=s?_:`${a.top-c-y}px`;l.className="q-ripple__inner",Di(l,{height:`${g}px`,width:`${g}px`,transform:`translate3d(${S},${h},0) scale3d(.2,.2,1)`,opacity:0}),i.className=`q-ripple${o?" text-"+o:""}`,i.setAttribute("dir","ltr"),i.appendChild(l),t.appendChild(i);const E=()=>{i.remove(),clearTimeout(v)};n.abort.push(E);let v=setTimeout(()=>{l.classList.add("q-ripple__inner--enter"),l.style.transform=`translate3d(${C},${_},0) scale3d(1,1,1)`,l.style.opacity=.2,v=setTimeout(()=>{l.classList.remove("q-ripple__inner--enter"),l.classList.add("q-ripple__inner--leave"),l.style.opacity=0,v=setTimeout(()=>{i.remove(),n.abort.splice(n.abort.indexOf(E),1)},275)},250)},50)}function mu(e,{modifiers:t,value:n,arg:r}){const o=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:o.early===!0,stop:o.stop===!0,center:o.center===!0,color:o.color||r,keyCodes:[].concat(o.keyCodes||13)}}const Sb=Cg({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const r={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(o){r.enabled===!0&&o.qSkipRipple!==!0&&o.type===(r.modifiers.early===!0?"pointerdown":"click")&&hu(o,e,r,o.qKeyEvent===!0)},keystart:Cb(o=>{r.enabled===!0&&o.qSkipRipple!==!0&&Yr(o,r.modifiers.keyCodes)===!0&&o.type===`key${r.modifiers.early===!0?"down":"up"}`&&hu(o,e,r,!0)},300)};mu(r,t),e.__qripple=r,xg(r,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&mu(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),Tg(t,"main"),delete e._qripple)}}),fd={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},kb=Object.keys(fd),dd={align:{type:String,validator:e=>kb.includes(e)}};function hd(e){return $(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${fd[t]}`})}function Ro(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function md(e,t){typeof t.type=="symbol"?Array.isArray(t.children)===!0&&t.children.forEach(n=>{md(e,n)}):e.add(t)}function O0(e){const t=new Set;return e.forEach(n=>{md(t,n)}),Array.from(t)}function gd(e){return e.appContext.config.globalProperties.$router!==void 0}function pd(e){return e.isUnmounted===!0||e.isDeactivated===!0}function gu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function pu(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function xb(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(Array.isArray(o)===!1||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function vu(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Tb(e,t){return Array.isArray(e)===!0?vu(e,t):Array.isArray(t)===!0?vu(t,e):e===t}function Ab(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(Tb(e[n],t[n])===!1)return!1;return!0}const vd={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},L0={...vd,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Rb({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=ke(),{props:r,proxy:o,emit:s}=n,i=gd(n),l=$(()=>r.disable!==!0&&r.href!==void 0),a=$(t===!0?()=>i===!0&&r.disable!==!0&&l.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!=="":()=>i===!0&&l.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""),u=$(()=>a.value===!0?h(r.to):null),c=$(()=>u.value!==null),f=$(()=>l.value===!0||c.value===!0),d=$(()=>r.type==="a"||f.value===!0?"a":r.tag||e||"div"),g=$(()=>l.value===!0?{href:r.href,target:r.target}:c.value===!0?{href:u.value.href,target:r.target}:{}),y=$(()=>{if(c.value===!1)return-1;const{matched:A}=u.value,{length:P}=A,R=A[P-1];if(R===void 0)return-1;const H=o.$route.matched;if(H.length===0)return-1;const F=H.findIndex(pu.bind(null,R));if(F!==-1)return F;const I=gu(A[P-2]);return P>1&&gu(R)===I&&H[H.length-1].path!==I?H.findIndex(pu.bind(null,A[P-2])):F}),C=$(()=>c.value===!0&&y.value!==-1&&xb(o.$route.params,u.value.params)),S=$(()=>C.value===!0&&y.value===o.$route.matched.length-1&&Ab(o.$route.params,u.value.params)),_=$(()=>c.value===!0?S.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?"":C.value===!0?` ${r.activeClass}`:"":"");function h(A){try{return o.$router.resolve(A)}catch{}return null}function E(A,{returnRouterError:P,to:R=r.to,replace:H=r.replace}={}){if(r.disable===!0)return A.preventDefault(),Promise.resolve(!1);if(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey||A.button!==void 0&&A.button!==0||r.target==="_blank")return Promise.resolve(!1);A.preventDefault();const F=o.$router[H===!0?"replace":"push"](R);return P===!0?F:F.then(()=>{}).catch(()=>{})}function v(A){if(c.value===!0){const P=R=>E(A,R);s("click",A,P),A.defaultPrevented!==!0&&P()}else s("click",A)}return{hasRouterLink:c,hasHrefLink:l,hasLink:f,linkTag:d,resolvedLink:u,linkIsActive:C,linkIsExactActive:S,linkClass:_,linkAttrs:g,getLink:h,navigateToRouterLink:E,navigateOnClick:v}}const _u={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Ob={xs:8,sm:10,md:14,lg:20,xl:24},Lb=["button","submit","reset"],Pb=/[^\s]\/[^\s]/,Ib=["flat","outline","push","unelevated"];function Nb(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const Mb={...io,...vd,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Ib.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...dd.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Db={...Mb,round:Boolean};function $b(e){const t=lo(e,Ob),n=hd(e),{hasRouterLink:r,hasLink:o,linkTag:s,linkAttrs:i,navigateOnClick:l}=Rb({fallbackTag:"button"}),a=$(()=>{const S=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},S,{padding:e.padding.split(/\s+/).map(_=>_ in _u?_u[_]+"px":_).join(" "),minWidth:"0",minHeight:"0"}):S}),u=$(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=$(()=>e.disable!==!0&&e.loading!==!0),f=$(()=>c.value===!0?e.tabindex||0:-1),d=$(()=>Nb(e,"standard")),g=$(()=>{const S={tabindex:f.value};return o.value===!0?Object.assign(S,i.value):Lb.includes(e.type)===!0&&(S.type=e.type),s.value==="a"?(e.disable===!0?S["aria-disabled"]="true":S.href===void 0&&(S.role="button"),r.value!==!0&&Pb.test(e.type)===!0&&(S.type=e.type)):e.disable===!0&&(S.disabled="",S["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(S,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),S}),y=$(()=>{let S;e.color!==void 0?e.flat===!0||e.outline===!0?S=`text-${e.textColor||e.color}`:S=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(S=`text-${e.textColor}`);const _=e.round===!0?"round":`rectangle${u.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${d.value} q-btn--${_}`+(S!==void 0?" "+S:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),C=$(()=>n.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:y,style:a,innerClasses:C,attributes:g,hasLink:o,linkTag:s,navigateOnClick:l,isActionable:c}}const{passiveCapture:vt}=nt;let er=null,tr=null,nr=null;const $i=je({name:"QBtn",props:{...Db,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:r}=ke(),{classes:o,style:s,innerClasses:i,attributes:l,hasLink:a,linkTag:u,navigateOnClick:c,isActionable:f}=$b(e),d=me(null),g=me(null);let y=null,C,S=null;const _=$(()=>e.label!==void 0&&e.label!==null&&e.label!==""),h=$(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:a.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),E=$(()=>({center:e.round})),v=$(()=>{const q=Math.max(0,Math.min(100,e.percentage));return q>0?{transition:"transform 0.6s",transform:`translateX(${q-100}%)`}:{}}),A=$(()=>{if(e.loading===!0)return{onMousedown:B,onTouchstart:B,onClick:B,onKeydown:B,onKeyup:B};if(f.value===!0){const q={onClick:R,onKeydown:H,onMousedown:I};if(r.$q.platform.has.touch===!0){const Y=e.onTouchstart!==void 0?"":"Passive";q[`onTouchstart${Y}`]=F}return q}return{onClick:bt}}),P=$(()=>({ref:d,class:"q-btn q-btn-item non-selectable no-outline "+o.value,style:s.value,...l.value,...A.value}));function R(q){if(d.value!==null){if(q!==void 0){if(q.defaultPrevented===!0)return;const Y=document.activeElement;if(e.type==="submit"&&Y!==document.body&&d.value.contains(Y)===!1&&Y.contains(d.value)===!1){q.qAvoidFocus!==!0&&d.value.focus();const ee=()=>{document.removeEventListener("keydown",bt,!0),document.removeEventListener("keyup",ee,vt),d.value?.removeEventListener("blur",ee,vt)};document.addEventListener("keydown",bt,!0),document.addEventListener("keyup",ee,vt),d.value.addEventListener("blur",ee,vt)}}c(q)}}function H(q){d.value!==null&&(n("keydown",q),Yr(q,[13,32])===!0&&tr!==d.value&&(tr!==null&&x(),q.defaultPrevented!==!0&&(q.qAvoidFocus!==!0&&d.value.focus(),tr=d.value,d.value.classList.add("q-btn--active"),document.addEventListener("keyup",N,!0),d.value.addEventListener("blur",N,vt)),bt(q)))}function F(q){d.value!==null&&(n("touchstart",q),q.defaultPrevented!==!0&&(er!==d.value&&(er!==null&&x(),er=d.value,y=q.target,y.addEventListener("touchcancel",N,vt),y.addEventListener("touchend",N,vt)),C=!0,S!==null&&clearTimeout(S),S=setTimeout(()=>{S=null,C=!1},200)))}function I(q){d.value!==null&&(q.qSkipRipple=C===!0,n("mousedown",q),q.defaultPrevented!==!0&&nr!==d.value&&(nr!==null&&x(),nr=d.value,d.value.classList.add("q-btn--active"),document.addEventListener("mouseup",N,vt)))}function N(q){if(d.value!==null&&!(q?.type==="blur"&&document.activeElement===d.value)){if(q?.type==="keyup"){if(tr===d.value&&Yr(q,[13,32])===!0){const Y=new MouseEvent("click",q);Y.qKeyEvent=!0,q.defaultPrevented===!0&&En(Y),q.cancelBubble===!0&&Ho(Y),d.value.dispatchEvent(Y),bt(q),q.qKeyEvent=!0}n("keyup",q)}x()}}function x(q){const Y=g.value;q!==!0&&(er===d.value||nr===d.value)&&Y!==null&&Y!==document.activeElement&&(Y.setAttribute("tabindex",-1),Y.focus()),er===d.value&&(y!==null&&(y.removeEventListener("touchcancel",N,vt),y.removeEventListener("touchend",N,vt)),er=y=null),nr===d.value&&(document.removeEventListener("mouseup",N,vt),nr=null),tr===d.value&&(document.removeEventListener("keyup",N,!0),d.value?.removeEventListener("blur",N,vt),tr=null),d.value?.classList.remove("q-btn--active")}function B(q){bt(q),q.qSkipRipple=!0}return Et(()=>{x(!0)}),Object.assign(r,{click:q=>{f.value===!0&&R(q)}}),()=>{let q=[];e.icon!==void 0&&q.push(V(fn,{name:e.icon,left:e.stack!==!0&&_.value===!0,role:"img"})),_.value===!0&&q.push(V("span",{class:"block"},[e.label])),q=Dn(t.default,q),e.iconRight!==void 0&&e.round===!1&&q.push(V(fn,{name:e.iconRight,right:e.stack!==!0&&_.value===!0,role:"img"}));const Y=[V("span",{class:"q-focus-helper",ref:g})];return e.loading===!0&&e.percentage!==void 0&&Y.push(V("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[V("span",{class:"q-btn__progress-indicator fit block",style:v.value})])),Y.push(V("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+i.value},q)),e.loading!==null&&Y.push(V(zr,{name:"q-transition--fade"},()=>e.loading===!0?[V("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[V(gr)])]:null)),yc(V(u.value,P.value,Y),[[Sb,h.value,void 0,E.value]])}}});let Fb=1,qb=document.body;function bs(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${Fb++}`:e,Ko.globalNodes!==void 0){const r=Ko.globalNodes.class;r!==void 0&&(n.className=r)}return qb.appendChild(n),n}function vl(e){e.remove()}let Vb=0;const Oo={},Lo={},St={},_d={},Bb=/^\s*$/,bd=[],jb=[void 0,null,!0,!1,""],_l=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],Ub=["top-left","top-right","bottom-left","bottom-right"],Rr={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function yd(e,t,n){if(!e)return Sr("parameter required");let r;const o={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(o,Oo),ct(e)===!1&&(o.type&&Object.assign(o,Rr[o.type]),e={message:e}),Object.assign(o,Rr[e.type||o.type],e),typeof o.icon=="function"&&(o.icon=o.icon(t)),o.spinner?(o.spinner===!0&&(o.spinner=gr),o.spinner=Kn(o.spinner)):o.spinner=!1,o.meta={hasMedia:!!(o.spinner!==!1||o.icon||o.avatar),hasText:bu(o.message)||bu(o.caption)},o.position){if(_l.includes(o.position)===!1)return Sr("wrong position",e)}else o.position="bottom";if(jb.includes(o.timeout)===!0)o.timeout=5e3;else{const a=Number(o.timeout);if(isNaN(a)||a<0)return Sr("wrong timeout",e);o.timeout=Number.isFinite(a)?a:0}o.timeout===0?o.progress=!1:o.progress===!0&&(o.meta.progressClass="q-notification__progress"+(o.progressClass?` ${o.progressClass}`:""),o.meta.progressStyle={animationDuration:`${o.timeout+1e3}ms`});const s=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(Oo.actions)===!0?Oo.actions:[]).concat(Array.isArray(Rr[e.type]?.actions)===!0?Rr[e.type].actions:[]),{closeBtn:i}=o;if(i&&s.push({label:typeof i=="string"?i:t.lang.label.close}),o.actions=s.map(({handler:a,noDismiss:u,...c})=>({flat:!0,...c,onClick:typeof a=="function"?()=>{a(),u!==!0&&l()}:()=>{l()}})),o.multiLine===void 0&&(o.multiLine=o.actions.length>1),Object.assign(o.meta,{class:`q-notification row items-stretch q-notification--${o.multiLine===!0?"multi-line":"standard"}`+(o.color!==void 0?` bg-${o.color}`:"")+(o.textColor!==void 0?` text-${o.textColor}`:"")+(o.classes!==void 0?` ${o.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(o.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(o.multiLine===!0?"":" col"),leftClass:o.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...o.attrs}}),o.group===!1?(o.group=void 0,o.meta.group=void 0):((o.group===void 0||o.group===!0)&&(o.group=[o.message,o.caption,o.multiline].concat(o.actions.map(a=>`${a.label}*${a.icon}`)).join("|")),o.meta.group=o.group+"|"+o.position),o.actions.length===0?o.actions=void 0:o.meta.actionsClass="q-notification__actions row items-center "+(o.multiLine===!0?"justify-end":"col-auto")+(o.meta.hasMedia===!0?" q-notification__actions--with-media":""),n!==void 0){n.notif.meta.timer&&(clearTimeout(n.notif.meta.timer),n.notif.meta.timer=void 0),o.meta.uid=n.notif.meta.uid;const a=St[o.position].value.indexOf(n.notif);St[o.position].value[a]=o}else{const a=Lo[o.meta.group];if(a===void 0){if(o.meta.uid=Vb++,o.meta.badge=1,["left","right","center"].indexOf(o.position)!==-1)St[o.position].value.splice(Math.floor(St[o.position].value.length/2),0,o);else{const u=o.position.indexOf("top")!==-1?"unshift":"push";St[o.position].value[u](o)}o.group!==void 0&&(Lo[o.meta.group]=o)}else{if(a.meta.timer&&(clearTimeout(a.meta.timer),a.meta.timer=void 0),o.badgePosition!==void 0){if(Ub.includes(o.badgePosition)===!1)return Sr("wrong badgePosition",e)}else o.badgePosition=`top-${o.position.indexOf("left")!==-1?"right":"left"}`;o.meta.uid=a.meta.uid,o.meta.badge=a.meta.badge+1,o.meta.badgeClass=`q-notification__badge q-notification__badge--${o.badgePosition}`+(o.badgeColor!==void 0?` bg-${o.badgeColor}`:"")+(o.badgeTextColor!==void 0?` text-${o.badgeTextColor}`:"")+(o.badgeClass?` ${o.badgeClass}`:"");const u=St[o.position].value.indexOf(a);St[o.position].value[u]=Lo[o.meta.group]=o}}const l=()=>{Hb(o),r=void 0};if(o.timeout>0&&(o.meta.timer=setTimeout(()=>{o.meta.timer=void 0,l()},o.timeout+1e3)),o.group!==void 0)return a=>{a!==void 0?Sr("trying to update a grouped one which is forbidden",e):l()};if(r={dismiss:l,config:e,notif:o},n!==void 0){Object.assign(n,r);return}return a=>{if(r!==void 0)if(a===void 0)r.dismiss();else{const u=Object.assign({},r.config,a,{group:!1,position:o.position});yd(u,t,r)}}}function Hb(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const t=St[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete Lo[e.meta.group];const n=bd[""+e.meta.uid];if(n){const{width:r,height:o}=getComputedStyle(n);n.style.left=`${n.offsetLeft}px`,n.style.width=r,n.style.height=o}St[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function bu(e){return e!=null&&Bb.test(e)!==!0}function Sr(e,t){return console.error(`Notify: ${e}`,t),!1}function Wb(){return je({name:"QNotifications",devtools:{hide:!0},setup(){return()=>V("div",{class:"q-notifications"},_l.map(e=>V(ag,{key:e,class:_d[e],tag:"div",name:`q-notification--${e}`},()=>St[e].value.map(t=>{const n=t.meta,r=[];if(n.hasMedia===!0&&(t.spinner!==!1?r.push(V(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+n.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?r.push(V(fn,{class:"q-notification__icon q-notification__icon--"+n.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&r.push(V(_b,{class:"q-notification__avatar q-notification__avatar--"+n.leftClass},()=>V("img",{src:t.avatar,"aria-hidden":"true"})))),n.hasText===!0){let s;const i={class:"q-notification__message col"};if(t.html===!0)i.innerHTML=t.caption?`
${t.message}
${t.caption}
`:t.message;else{const l=[t.message];s=t.caption?[V("div",l),V("div",{class:"q-notification__caption"},[t.caption])]:l}r.push(V("div",i,s))}const o=[V("div",{class:n.contentClass},r)];return t.progress===!0&&o.push(V("div",{key:`${n.uid}|p|${n.badge}`,class:n.progressClass,style:n.progressStyle})),t.actions!==void 0&&o.push(V("div",{class:n.actionsClass},t.actions.map(s=>V($i,s)))),n.badge>1&&o.push(V("div",{key:`${n.uid}|${n.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[n.badge])),V("div",{ref:s=>{bd[""+n.uid]=s},key:n.uid,class:n.class,...n.attrs},[V("div",{class:n.wrapperClass},o)])}))))}})}const Kb={setDefaults(e){ct(e)===!0&&Object.assign(Oo,e)},registerType(e,t){ct(t)===!0&&(Rr[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=n=>yd(n,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){_l.forEach(r=>{St[r]=me([]);const o=["left","center","right"].includes(r)===!0?"center":r.indexOf("top")!==-1?"top":"bottom",s=r.indexOf("left")!==-1?"start":r.indexOf("right")!==-1?"end":"center",i=["left","right"].includes(r)?`items-${r==="left"?"start":"end"} justify-center`:r==="center"?"flex-center":`items-${s}`;_d[r]=`q-notifications__list q-notifications__list--${o} fixed column no-wrap ${i}`});const n=bs("q-notify");sl(Wb(),t).mount(n)}}};function Gb(e,t,n){let r;function o(){r!==void 0&&(_i.remove(r),r=void 0)}return Et(()=>{e.value===!0&&o()}),{removeFromHistory:o,addToHistory(){r={condition:()=>n.value===!0,handler:t},_i.add(r)}}}function zb(){let e=null;const t=ke();function n(){e!==null&&(clearTimeout(e),e=null)}return as(n),Et(n),{removeTimeout:n,registerTimeout(r,o){n(),pd(t)===!1&&(e=setTimeout(()=>{e=null,r()},o))}}}function Qb(){let e;const t=ke();function n(){e=void 0}return as(n),Et(n),{removeTick:n,registerTick(r){e=r,rt(()=>{e===r&&(pd(t)===!1&&e(),e=void 0)})}}}const Yb={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Xb=["beforeShow","show","beforeHide","hide"];function Jb({showing:e,canShow:t,hideOnRouteChange:n,handleShow:r,handleHide:o,processOnMount:s}){const i=ke(),{props:l,emit:a,proxy:u}=i;let c;function f(h){e.value===!0?y(h):d(h)}function d(h){if(l.disable===!0||h?.qAnchorHandled===!0||t!==void 0&&t(h)!==!0)return;const E=l["onUpdate:modelValue"]!==void 0;E===!0&&(a("update:modelValue",!0),c=h,rt(()=>{c===h&&(c=void 0)})),(l.modelValue===null||E===!1)&&g(h)}function g(h){e.value!==!0&&(e.value=!0,a("beforeShow",h),r!==void 0?r(h):a("show",h))}function y(h){if(l.disable===!0)return;const E=l["onUpdate:modelValue"]!==void 0;E===!0&&(a("update:modelValue",!1),c=h,rt(()=>{c===h&&(c=void 0)})),(l.modelValue===null||E===!1)&&C(h)}function C(h){e.value!==!1&&(e.value=!1,a("beforeHide",h),o!==void 0?o(h):a("hide",h))}function S(h){l.disable===!0&&h===!0?l["onUpdate:modelValue"]!==void 0&&a("update:modelValue",!1):h===!0!==e.value&&(h===!0?g:C)(c)}ge(()=>l.modelValue,S),n!==void 0&&gd(i)===!0&&ge(()=>u.$route.fullPath,()=>{n.value===!0&&e.value===!0&&y()}),s===!0&&Gt(()=>{S(l.modelValue)});const _={show:d,hide:y,toggle:f};return Object.assign(u,_),_}const Zb={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function ey(e,t=()=>{},n=()=>{}){return{transitionProps:$(()=>{const r=`q-transition--${e.transitionShow||t()}`,o=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${o}-leave-from`,leaveActiveClass:`${o}-leave-active`,leaveToClass:`${o}-leave-to`}}),transitionStyle:$(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}let $n=[],to=[];function Ed(e){to=to.filter(t=>t!==e)}function ty(e){Ed(e),to.push(e)}function yu(e){Ed(e),to.length===0&&$n.length!==0&&($n[$n.length-1](),$n=[])}function bl(e){to.length===0?e():$n.push(e)}function ny(e){$n=$n.filter(t=>t!==e)}const Po=[];function P0(e){return Po.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function ry(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Ro(e)}else if(e.__qPortal===!0){const n=Ro(e);return n?.$options.name==="QPopupProxy"?(e.hide(t),n):e}e=Ro(e)}while(e!=null)}function I0(e,t,n){for(;n!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(n--,e.$options.name==="QMenu"){e=ry(e,t);continue}e.hide(t)}e=Ro(e)}}const oy=je({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function sy(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function iy(e,t,n,r){const o=me(!1),s=me(!1);let i=null;const l={},a=r==="dialog"&&sy(e);function u(f){if(f===!0){yu(l),s.value=!0;return}s.value=!1,o.value===!1&&(a===!1&&i===null&&(i=bs(!1,r)),o.value=!0,Po.push(e.proxy),ty(l))}function c(f){if(s.value=!1,f!==!0)return;yu(l),o.value=!1;const d=Po.indexOf(e.proxy);d!==-1&&Po.splice(d,1),i!==null&&(vl(i),i=null)}return cs(()=>{c(!0)}),e.proxy.__qPortal=!0,zn(e.proxy,"contentEl",()=>t.value),{showPortal:u,hidePortal:c,portalIsActive:o,portalIsAccessible:s,renderPortal:()=>a===!0?n():o.value===!0?[V($h,{to:i},V(oy,n))]:void 0}}const N0=[Element,String],ly=[null,document,document.body,document.scrollingElement,document.documentElement];function M0(e,t){let n=Eb(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return ly.includes(n)?window:n}function ay(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function uy(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let _o;function D0(){if(_o!==void 0)return _o;const e=document.createElement("p"),t=document.createElement("div");Di(e,{width:"100%",height:"200px"}),Di(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let r=e.offsetWidth;return n===r&&(r=t.clientWidth),t.remove(),_o=n-r,_o}function cy(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}let kr=0,zs,Qs,Or,Ys=!1,Eu,wu,Cu,Pn=null;function fy(e){dy(e)&&bt(e)}function dy(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=kg(e),n=e.shiftKey&&!e.deltaX,r=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),o=n||r?e.deltaY:e.deltaX;for(let s=0;s0&&i.scrollTop+i.clientHeight===i.scrollHeight:o<0&&i.scrollLeft===0?!0:o>0&&i.scrollLeft+i.clientWidth===i.scrollWidth}return!0}function Su(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function bo(e){Ys!==!0&&(Ys=!0,requestAnimationFrame(()=>{Ys=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:r}=document.scrollingElement;(Or===void 0||t!==window.innerHeight)&&(Or=n-t,document.scrollingElement.scrollTop=r),r>Or&&(document.scrollingElement.scrollTop-=Math.ceil((r-Or)/8))}))}function ku(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:r,overflowX:o}=window.getComputedStyle(t);zs=uy(window),Qs=ay(window),Eu=t.style.left,wu=t.style.top,Cu=window.location.href,t.style.left=`-${zs}px`,t.style.top=`-${Qs}px`,o!=="hidden"&&(o==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),r!=="hidden"&&(r==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Fe.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",bo,nt.passiveCapture),window.visualViewport.addEventListener("scroll",bo,nt.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Su,nt.passiveCapture))}Fe.is.desktop===!0&&Fe.is.mac===!0&&window[`${e}EventListener`]("wheel",fy,nt.notPassive),e==="remove"&&(Fe.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",bo,nt.passiveCapture),window.visualViewport.removeEventListener("scroll",bo,nt.passiveCapture)):window.removeEventListener("scroll",Su,nt.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=Eu,t.style.top=wu,window.location.href===Cu&&window.scrollTo(zs,Qs),Or=void 0)}function Fi(e){let t="add";if(e===!0){if(kr++,Pn!==null){clearTimeout(Pn),Pn=null;return}if(kr>1)return}else{if(kr===0||(kr--,kr>0))return;if(t="remove",Fe.is.ios===!0&&Fe.is.nativeMobile===!0){Pn!==null&&clearTimeout(Pn),Pn=setTimeout(()=>{ku(t),Pn=null},100);return}}ku(t)}function hy(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,Fi(t))}}}const jn=[];let pr;function my(e){pr=e.keyCode===27}function gy(){pr===!0&&(pr=!1)}function py(e){pr===!0&&(pr=!1,Yr(e,27)===!0&&jn[jn.length-1](e))}function wd(e){window[e]("keydown",my),window[e]("blur",gy),window[e]("keyup",py),pr=!1}function vy(e){Fe.is.desktop===!0&&(jn.push(e),jn.length===1&&wd("addEventListener"))}function xu(e){const t=jn.indexOf(e);t!==-1&&(jn.splice(t,1),jn.length===0&&wd("removeEventListener"))}const Un=[];function Cd(e){Un[Un.length-1](e)}function _y(e){Fe.is.desktop===!0&&(Un.push(e),Un.length===1&&document.body.addEventListener("focusin",Cd))}function Tu(e){const t=Un.indexOf(e);t!==-1&&(Un.splice(t,1),Un.length===0&&document.body.removeEventListener("focusin",Cd))}let yo=0;const by={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},Au={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},yy=je({name:"QDialog",inheritAttrs:!1,props:{...Yb,...Zb,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...Xb,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:r}){const o=ke(),s=me(null),i=me(!1),l=me(!1);let a=null,u=null,c,f;const d=$(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:g}=hy(),{registerTimeout:y}=zb(),{registerTick:C,removeTick:S}=Qb(),{transitionProps:_,transitionStyle:h}=ey(e,()=>Au[e.position][0],()=>Au[e.position][1]),E=$(()=>h.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:v,hidePortal:A,portalIsAccessible:P,renderPortal:R}=iy(o,s,Te,"dialog"),{hide:H}=Jb({showing:i,hideOnRouteChange:d,handleShow:Y,handleHide:ee,processOnMount:!0}),{addToHistory:F,removeFromHistory:I}=Gb(i,H,d),N=$(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${by[e.position]}`+(l.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),x=$(()=>i.value===!0&&e.seamless!==!0),B=$(()=>e.autoClose===!0?{onClick:z}:{}),q=$(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${x.value===!0?"modal":"seamless"}`,r.class]);ge(()=>e.maximized,oe=>{i.value===!0&&le(oe)}),ge(x,oe=>{g(oe),oe===!0?(_y(Ee),vy(re)):(Tu(Ee),xu(re))});function Y(oe){F(),u=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,le(e.maximized),v(),l.value=!0,e.noFocus!==!0?(document.activeElement?.blur(),C(Q)):S(),y(()=>{if(o.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:M,bottom:X}=document.activeElement.getBoundingClientRect(),{innerHeight:J}=window,ne=window.visualViewport!==void 0?window.visualViewport.height:J;M>0&&X>ne/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-ne,X>=J?1/0:Math.ceil(document.scrollingElement.scrollTop+X-ne/2))),document.activeElement.scrollIntoView()}f=!0,s.value.click(),f=!1}v(!0),l.value=!1,n("show",oe)},e.transitionDuration)}function ee(oe){S(),I(),ye(!0),l.value=!0,A(),u!==null&&(((oe?.type.indexOf("key")===0?u.closest('[tabindex]:not([tabindex^="-"])'):void 0)||u).focus(),u=null),y(()=>{A(!0),l.value=!1,n("hide",oe)},e.transitionDuration)}function Q(oe){bl(()=>{let M=s.value;if(M!==null){if(oe!==void 0){const X=M.querySelector(oe);if(X!==null){X.focus({preventScroll:!0});return}}M.contains(document.activeElement)!==!0&&(M=M.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||M.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||M.querySelector("[autofocus], [data-autofocus]")||M,M.focus({preventScroll:!0}))}})}function j(oe){oe&&typeof oe.focus=="function"?oe.focus({preventScroll:!0}):Q(),n("shake");const M=s.value;M!==null&&(M.classList.remove("q-animate--scale"),M.classList.add("q-animate--scale"),a!==null&&clearTimeout(a),a=setTimeout(()=>{a=null,s.value!==null&&(M.classList.remove("q-animate--scale"),Q())},170))}function re(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&j():(n("escapeKey"),H()))}function ye(oe){a!==null&&(clearTimeout(a),a=null),(oe===!0||i.value===!0)&&(le(!1),e.seamless!==!0&&(g(!1),Tu(Ee),xu(re))),oe!==!0&&(u=null)}function le(oe){oe===!0?c!==!0&&(yo<1&&document.body.classList.add("q-body--dialog"),yo++,c=!0):c===!0&&(yo<2&&document.body.classList.remove("q-body--dialog"),yo--,c=!1)}function z(oe){f!==!0&&(H(oe),n("click",oe))}function fe(oe){e.persistent!==!0&&e.noBackdropDismiss!==!0?H(oe):e.noShake!==!0&&j()}function Ee(oe){e.allowFocusOutside!==!0&&P.value===!0&&wb(s.value,oe.target)!==!0&&Q('[tabindex]:not([tabindex="-1"])')}Object.assign(o.proxy,{focus:Q,shake:j,__updateRefocusTarget(oe){u=oe||null}}),Et(ye);function Te(){return V("div",{role:"dialog","aria-modal":x.value===!0?"true":"false",...r,class:q.value},[V(zr,{name:"q-transition--fade",appear:!0},()=>x.value===!0?V("div",{class:"q-dialog__backdrop fixed-full",style:E.value,"aria-hidden":"true",tabindex:-1,onClick:fe}):null),V(zr,_.value,()=>i.value===!0?V("div",{ref:s,class:N.value,style:h.value,tabindex:-1,...B.value},Tt(t.default)):null)])}return R}}),Yn={dark:{type:Boolean,default:null}};function Xn(e,t){return $(()=>e.dark===null?t.dark.isActive:e.dark)}const Ey=je({name:"QCard",props:{...Yn,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=ke(),r=Xn(e,n),o=$(()=>"q-card"+(r.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>V(e.tag,{class:o.value},Tt(t.default))}}),xr=je({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=$(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>V(e.tag,{class:n.value},Tt(t.default))}}),wy=je({name:"QCardActions",props:{...dd,vertical:Boolean},setup(e,{slots:t}){const n=hd(e),r=$(()=>`q-card__actions ${n.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>V("div",{class:r.value},Tt(t.default))}}),Cy={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},Xs={xs:2,sm:4,md:8,lg:16,xl:24},Ru=je({name:"QSeparator",props:{...Yn,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=ke(),n=Xn(e,t.proxy.$q),r=$(()=>e.vertical===!0?"vertical":"horizontal"),o=$(()=>` q-separator--${r.value}`),s=$(()=>e.inset!==!1?`${o.value}-${Cy[e.inset]}`:""),i=$(()=>`q-separator${o.value}${s.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(n.value===!0?" q-separator--dark":"")),l=$(()=>{const a={};if(e.size!==void 0&&(a[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const u=e.spaced===!0?`${Xs.md}px`:e.spaced in Xs?`${Xs[e.spaced]}px`:e.spaced,c=e.vertical===!0?["Left","Right"]:["Top","Bottom"];a[`margin${c[0]}`]=a[`margin${c[1]}`]=u}return a});return()=>V("hr",{class:i.value,style:l.value,"aria-orientation":r.value})}});let Js,Eo=0;const Be=new Array(256);for(let e=0;e<256;e++)Be[e]=(e+256).toString(16).substring(1);const Sy=(()=>{const e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return t=>{const n=[];for(let r=t;r>0;r--)n.push(Math.floor(Math.random()*256));return n}})(),Ou=4096;function qi(){(Js===void 0||Eo+16>Ou)&&(Eo=0,Js=Sy(Ou));const e=Array.prototype.slice.call(Js,Eo,Eo+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,Be[e[0]]+Be[e[1]]+Be[e[2]]+Be[e[3]]+"-"+Be[e[4]]+Be[e[5]]+"-"+Be[e[6]]+Be[e[7]]+"-"+Be[e[8]]+Be[e[9]]+"-"+Be[e[10]]+Be[e[11]]+Be[e[12]]+Be[e[13]]+Be[e[14]]+Be[e[15]]}function ky(e){return e??null}function Lu(e,t){return e??(t===!0?`f_${qi()}`:null)}function xy({getValue:e,required:t=!0}={}){if(kn.value===!0){const n=me(e!==void 0?ky(e()):null);return t===!0&&n.value===null&&Gt(()=>{n.value=`f_${qi()}`}),e!==void 0&&ge(e,r=>{n.value=Lu(r,t)}),n}return e!==void 0?$(()=>Lu(e(),t)):me(`f_${qi()}`)}const Pu=/^on[A-Z]/;function Ty(){const{attrs:e,vnode:t}=ke(),n={listeners:me({}),attributes:me({})};function r(){const o={},s={};for(const i in e)i!=="class"&&i!=="style"&&Pu.test(i)===!1&&(o[i]=e[i]);for(const i in t.props)Pu.test(i)===!0&&(s[i]=t.props[i]);n.attributes.value=o,n.listeners.value=s}return Nc(r),r(),n}function Ay({validate:e,resetValidation:t,requiresQForm:n}){const r=it(Vg,!1);if(r!==!1){const{props:o,proxy:s}=ke();Object.assign(s,{validate:e,resetValidation:t}),ge(()=>o.disable,i=>{i===!0?(typeof t=="function"&&t(),r.unbindComponent(s)):r.bindComponent(s)}),Gt(()=>{o.disable!==!0&&r.bindComponent(s)}),Et(()=>{o.disable!==!0&&r.unbindComponent(s)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const Iu=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Nu=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Mu=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,wo=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Co=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,Zs={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>Iu.test(e),hexaColor:e=>Nu.test(e),hexOrHexaColor:e=>Mu.test(e),rgbColor:e=>wo.test(e),rgbaColor:e=>Co.test(e),rgbOrRgbaColor:e=>wo.test(e)||Co.test(e),hexOrRgbColor:e=>Iu.test(e)||wo.test(e),hexaOrRgbaColor:e=>Nu.test(e)||Co.test(e),anyColor:e=>Mu.test(e)||wo.test(e)||Co.test(e)},Ry=[!0,!1,"ondemand"],Oy={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>Ry.includes(e)}};function Ly(e,t){const{props:n,proxy:r}=ke(),o=me(!1),s=me(null),i=me(!1);Ay({validate:C,resetValidation:y});let l=0,a;const u=$(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),c=$(()=>n.disable!==!0&&u.value===!0&&t.value===!1),f=$(()=>n.error===!0||o.value===!0),d=$(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:s.value);ge(()=>n.modelValue,()=>{i.value=!0,c.value===!0&&n.lazyRules===!1&&S()});function g(){n.lazyRules!=="ondemand"&&c.value===!0&&i.value===!0&&S()}ge(()=>n.reactiveRules,_=>{_===!0?a===void 0&&(a=ge(()=>n.rules,g,{immediate:!0,deep:!0})):a!==void 0&&(a(),a=void 0)},{immediate:!0}),ge(()=>n.lazyRules,g),ge(e,_=>{_===!0?i.value=!0:c.value===!0&&n.lazyRules!=="ondemand"&&S()});function y(){l++,t.value=!1,i.value=!1,o.value=!1,s.value=null,S.cancel()}function C(_=n.modelValue){if(n.disable===!0||u.value===!1)return!0;const h=++l,E=t.value!==!0?()=>{i.value=!0}:()=>{},v=(P,R)=>{P===!0&&E(),o.value=P,s.value=R||null,t.value=!1},A=[];for(let P=0;P{if(P===void 0||Array.isArray(P)===!1||P.length===0)return h===l&&v(!1),!0;const R=P.find(H=>H===!1||typeof H=="string");return h===l&&v(R!==void 0,R),R===void 0},P=>(h===l&&(console.error(P),v(!0)),!1)))}const S=mf(C,0);return Et(()=>{a?.(),S.cancel()}),Object.assign(r,{resetValidation:y,validate:C}),zn(r,"hasError",()=>f.value),{isDirtyModel:i,hasRules:u,hasError:f,errorMessage:d,validate:C,resetValidation:y}}function Vi(e){return e!=null&&(""+e).length!==0}const Py={...Yn,...Oy,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},Iy={...Py,maxlength:[Number,String]},Ny=["update:modelValue","clear","focus","blur"];function My({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:r,proxy:o}=ke(),s=Xn(r,o.$q),i=xy({required:e,getValue:()=>r.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?$(()=>r.tag):{value:"label"},isDark:s,editable:$(()=>r.disable!==!0&&r.readonly!==!0),innerLoading:me(!1),focused:me(!1),hasPopupOpen:!1,splitAttrs:Ty(),targetUid:i,rootRef:me(null),targetRef:me(null),controlRef:me(null)}}function Dy(e){const{props:t,emit:n,slots:r,attrs:o,proxy:s}=ke(),{$q:i}=s;let l=null;e.hasValue===void 0&&(e.hasValue=$(()=>Vi(t.modelValue))),e.emitValue===void 0&&(e.emitValue=j=>{n("update:modelValue",j)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:F,onFocusout:I}),Object.assign(e,{clearValue:N,onControlFocusin:F,onControlFocusout:I,focus:R}),e.computedCounter===void 0&&(e.computedCounter=$(()=>{if(t.counter!==!1){const j=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,re=t.maxlength!==void 0?t.maxlength:t.maxValues;return j+(re!==void 0?" / "+re:"")}}));const{isDirtyModel:a,hasRules:u,hasError:c,errorMessage:f,resetValidation:d}=Ly(e.focused,e.innerLoading),g=e.floatingLabel!==void 0?$(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):$(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),y=$(()=>t.bottomSlots===!0||t.hint!==void 0||u.value===!0||t.counter===!0||t.error!==null),C=$(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),S=$(()=>`q-field row no-wrap items-start q-field--${C.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(g.value===!0?" q-field--float":"")+(h.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(c.value===!0?" q-field--error":"")+(c.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&y.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),_=$(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(c.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),h=$(()=>t.labelSlot===!0||t.label!==void 0),E=$(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&c.value!==!0?` text-${t.labelColor}`:"")),v=$(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:g.value,modelValue:t.modelValue,emitValue:e.emitValue})),A=$(()=>{const j={};return e.targetUid.value&&(j.for=e.targetUid.value),t.disable===!0&&(j["aria-disabled"]="true"),j});function P(){const j=document.activeElement;let re=e.targetRef?.value;re&&(j===null||j.id!==e.targetUid.value)&&(re.hasAttribute("tabindex")===!0||(re=re.querySelector("[tabindex]")),re!==j&&re?.focus({preventScroll:!0}))}function R(){bl(P)}function H(){ny(P);const j=document.activeElement;j!==null&&e.rootRef.value.contains(j)&&j.blur()}function F(j){l!==null&&(clearTimeout(l),l=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",j))}function I(j,re){l!==null&&clearTimeout(l),l=setTimeout(()=>{l=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,n("blur",j)),re?.())})}function N(j){bt(j),i.platform.is.mobile!==!0?(e.targetRef?.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),n("update:modelValue",null),e.changeEvent===!0&&n("change",null),n("clear",t.modelValue),rt(()=>{const re=a.value;d(),a.value=re})}function x(j){[13,32].includes(j.keyCode)&&N(j)}function B(){const j=[];return r.prepend!==void 0&&j.push(V("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:En},r.prepend())),j.push(V("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},q())),c.value===!0&&t.noErrorIcon===!1&&j.push(ee("error",[V(fn,{name:i.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?j.push(ee("inner-loading-append",r.loading!==void 0?r.loading():[V(gr,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&j.push(ee("inner-clearable-append",[V(fn,{class:"q-field__focusable-action",name:t.clearIcon||i.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":i.lang.label.clear,onKeyup:x,onClick:N})])),r.append!==void 0&&j.push(V("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:En},r.append())),e.getInnerAppend!==void 0&&j.push(ee("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&j.push(e.getControlChild()),j}function q(){const j=[];return t.prefix!==void 0&&t.prefix!==null&&j.push(V("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&j.push(e.getShadowControl()),h.value===!0&&j.push(V("div",{class:E.value},Tt(r.label,t.label))),e.getControl!==void 0?j.push(e.getControl()):r.rawControl!==void 0?j.push(r.rawControl()):r.control!==void 0&&j.push(V("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},r.control(v.value))),t.suffix!==void 0&&t.suffix!==null&&j.push(V("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),j.concat(Tt(r.default))}function Y(){let j,re;c.value===!0?f.value!==null?(j=[V("div",{role:"alert"},f.value)],re=`q--slot-error-${f.value}`):(j=Tt(r.error),re="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(j=[V("div",t.hint)],re=`q--slot-hint-${t.hint}`):(j=Tt(r.hint),re="q--slot-hint"));const ye=t.counter===!0||r.counter!==void 0;if(t.hideBottomSpace===!0&&ye===!1&&j===void 0)return;const le=V("div",{key:re,class:"q-field__messages col"},j);return V("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:En},[t.hideBottomSpace===!0?le:V(zr,{name:"q-transition--field-message"},()=>le),ye===!0?V("div",{class:"q-field__counter"},r.counter!==void 0?r.counter():e.computedCounter.value):null])}function ee(j,re){return re===null?null:V("div",{key:j,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},re)}let Q=!1;return as(()=>{Q=!0}),Pc(()=>{Q===!0&&t.autofocus===!0&&s.focus()}),t.autofocus===!0&&Gt(()=>{s.focus()}),Et(()=>{l!==null&&clearTimeout(l)}),Object.assign(s,{focus:R,blur:H}),function(){const re=e.getControl===void 0&&r.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...A.value}:A.value;return V(e.tag.value,{ref:e.rootRef,class:[S.value,o.class],style:o.style,...re},[r.before!==void 0?V("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:En},r.before()):null,V("div",{class:"q-field__inner relative-position col self-stretch"},[V("div",{ref:e.controlRef,class:_.value,tabindex:-1,...e.controlEvents},B()),y.value===!0?Y():null]),r.after!==void 0?V("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:En},r.after()):null])}}const Du={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},{tokenMap:$u,tokenKeys:$y}=Sd({"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}});function Sd(e){const t=Object.keys(e),n={};return t.forEach(r=>{const o=e[r];n[r]={...o,regex:new RegExp(o.pattern)}}),{tokenMap:n,tokenKeys:t}}function kd(e){return new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+e.join("")+"])|(.)","g")}const Fu=/[.*+?^${}()|[\]\\]/g,Fy=kd($y),Ie="",qy={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean,maskTokens:Object};function Vy(e,t,n,r){let o,s,i,l,a,u;const c=$(()=>{if(e.maskTokens===void 0||e.maskTokens===null)return{tokenMap:$u,tokenRegexMask:Fy};const{tokenMap:I}=Sd(e.maskTokens),N={...$u,...I};return{tokenMap:N,tokenRegexMask:kd(Object.keys(N))}}),f=me(null),d=me(y());function g(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}ge(()=>e.type+e.autogrow,S),ge(()=>e.mask,I=>{if(I!==void 0)_(d.value,!0);else{const N=H(d.value);S(),e.modelValue!==N&&t("update:modelValue",N)}}),ge(()=>e.fillMask+e.reverseFillMask,()=>{f.value===!0&&_(d.value,!0)}),ge(()=>e.unmaskedValue,()=>{f.value===!0&&_(d.value)});function y(){if(S(),f.value===!0){const I=P(H(e.modelValue));return e.fillMask!==!1?F(I):I}return e.modelValue}function C(I){if(I0;q--)N+=Ie;x=x.slice(0,B)+N+x.slice(B)}return x}function S(){if(f.value=e.mask!==void 0&&e.mask.length!==0&&g(),f.value===!1){l=void 0,o="",s="";return}const I=Du[e.mask]===void 0?e.mask:Du[e.mask],N=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",x=N.replace(Fu,"\\$&"),B=[],q=[],Y=[];let ee=e.reverseFillMask===!0,Q="",j="";I.replace(c.value.tokenRegexMask,(z,fe,Ee,Te,oe)=>{if(Te!==void 0){const M=c.value.tokenMap[Te];Y.push(M),j=M.negate,ee===!0&&(q.push("(?:"+j+"+)?("+M.pattern+"+)?(?:"+j+"+)?("+M.pattern+"+)?"),ee=!1),q.push("(?:"+j+"+)?("+M.pattern+")?")}else if(Ee!==void 0)Q="\\"+(Ee==="\\"?"":Ee),Y.push(Ee),B.push("([^"+Q+"]+)?"+Q+"?");else{const M=fe!==void 0?fe:oe;Q=M==="\\"?"\\\\\\\\":M.replace(Fu,"\\\\$&"),Y.push(M),B.push("([^"+Q+"]+)?"+Q+"?")}});const re=new RegExp("^"+B.join("")+"("+(Q===""?".":"[^"+Q+"]")+"+)?"+(Q===""?"":"["+Q+"]*")+"$"),ye=q.length-1,le=q.map((z,fe)=>fe===0&&e.reverseFillMask===!0?new RegExp("^"+x+"*"+z):fe===ye?new RegExp("^"+z+"("+(j===""?".":j)+"+)?"+(e.reverseFillMask===!0?"$":x+"*")):new RegExp("^"+z));i=Y,l=z=>{const fe=re.exec(e.reverseFillMask===!0?z:z.slice(0,Y.length+1));fe!==null&&(z=fe.slice(1).join(""));const Ee=[],Te=le.length;for(let oe=0,M=z;oetypeof z=="string"?z:Ie).join(""),s=o.split(Ie).join(N)}function _(I,N,x){const B=r.value,q=B.selectionEnd,Y=B.value.length-q,ee=H(I);N===!0&&S();const Q=P(ee,N),j=e.fillMask!==!1?F(Q):Q,re=d.value!==j;B.value!==j&&(B.value=j),re===!0&&(d.value=j),document.activeElement===B&&rt(()=>{if(j===s){const le=e.reverseFillMask===!0?s.length:0;B.setSelectionRange(le,le,"forward");return}if(x==="insertFromPaste"&&e.reverseFillMask!==!0){const le=B.selectionEnd;let z=q-1;for(let fe=a;fe<=z&&feQ.length?1:0:Math.max(0,j.length-(j===s?0:Math.min(Q.length,Y)+1))+1:q;B.setSelectionRange(le,le,"forward");return}if(e.reverseFillMask===!0)if(re===!0){const le=Math.max(0,j.length-(j===s?0:Math.min(Q.length,Y+1)));le===1&&q===1?B.setSelectionRange(le,le,"forward"):E.rightReverse(B,le)}else{const le=j.length-Y;B.setSelectionRange(le,le,"backward")}else if(re===!0){const le=Math.max(0,o.indexOf(Ie),Math.min(Q.length,q)-1);E.right(B,le)}else{const le=q-1;E.right(B,le)}});const ye=e.unmaskedValue===!0?H(j):j;String(e.modelValue)!==ye&&(e.modelValue!==null||ye!=="")&&n(ye,!0)}function h(I,N,x){const B=P(H(I.value));N=Math.max(0,o.indexOf(Ie),Math.min(B.length,N)),a=N,I.setSelectionRange(N,x,"forward")}const E={left(I,N){const x=o.slice(N-1).indexOf(Ie)===-1;let B=Math.max(0,N-1);for(;B>=0;B--)if(o[B]===Ie){N=B,x===!0&&N++;break}if(B<0&&o[N]!==void 0&&o[N]!==Ie)return E.right(I,0);N>=0&&I.setSelectionRange(N,N,"backward")},right(I,N){const x=I.value.length;let B=Math.min(x,N+1);for(;B<=x;B++)if(o[B]===Ie){N=B;break}else o[B-1]===Ie&&(N=B);if(B>x&&o[N-1]!==void 0&&o[N-1]!==Ie)return E.left(I,x);I.setSelectionRange(N,N,"forward")},leftReverse(I,N){const x=C(I.value.length);let B=Math.max(0,N-1);for(;B>=0;B--)if(x[B-1]===Ie){N=B;break}else if(x[B]===Ie&&(N=B,B===0))break;if(B<0&&x[N]!==void 0&&x[N]!==Ie)return E.rightReverse(I,0);N>=0&&I.setSelectionRange(N,N,"backward")},rightReverse(I,N){const x=I.value.length,B=C(x),q=B.slice(0,N+1).indexOf(Ie)===-1;let Y=Math.min(x,N+1);for(;Y<=x;Y++)if(B[Y-1]===Ie){N=Y,N>0&&q===!0&&N--;break}if(Y>x&&B[N-1]!==void 0&&B[N-1]!==Ie)return E.leftReverse(I,x);I.setSelectionRange(N,N,"forward")}};function v(I){t("click",I),u=void 0}function A(I){if(t("keydown",I),pf(I)===!0||I.altKey===!0)return;const N=r.value,x=N.selectionStart,B=N.selectionEnd;if(I.shiftKey||(u=void 0),I.keyCode===37||I.keyCode===39){I.shiftKey&&u===void 0&&(u=N.selectionDirection==="forward"?x:B);const q=E[(I.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(I.preventDefault(),q(N,u===x?B:x),I.shiftKey){const Y=N.selectionStart;N.setSelectionRange(Math.min(u,Y),Math.max(u,Y),"forward")}}else I.keyCode===8&&e.reverseFillMask!==!0&&x===B?(E.left(N,x),N.setSelectionRange(N.selectionStart,B,"backward")):I.keyCode===46&&e.reverseFillMask===!0&&x===B&&(E.rightReverse(N,B),N.setSelectionRange(x,N.selectionEnd,"forward"))}function P(I,N){if(I==null||I==="")return"";if(e.reverseFillMask===!0)return R(I,N);const x=i;let B=0,q="";for(let Y=0;Y=0&&q!==-1;ee--){const Q=x[ee];let j=I[q];if(typeof Q=="string")Y=Q+Y,N===!0&&j===Q&&q--;else if(j!==void 0&&Q.regex.test(j))do Y=(Q.transform!==void 0?Q.transform(j):j)+Y,q--,j=I[q];while(B===ee&&j!==void 0&&Q.regex.test(j));else return Y}return Y}function H(I){return typeof I!="string"||l===void 0?typeof I=="number"?l(""+I):I:l(I)}function F(I){return s.length-I.length<=0?I:e.reverseFillMask===!0&&I.length!==0?s.slice(0,-I.length)+I:I+s.slice(I.length)}return{innerValue:d,hasMask:f,moveCursorForPaste:h,updateMaskValue:_,onMaskedKeydown:A,onMaskedClick:v}}const yl={name:String};function xd(e={}){return(t,n,r)=>{t[n](V("input",{class:"hidden"+(r||""),...e.value}))}}function By(e){return $(()=>e.name||e.for)}function jy(e,t){function n(){const r=e.modelValue;try{const o="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(r)===r&&("length"in r?Array.from(r):[r]).forEach(s=>{o.items.add(s)}),{files:o.files}}catch{return{files:void 0}}}return $(()=>{if(e.type==="file")return n()})}const Uy=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,Hy=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,Wy=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Ky=/[a-z0-9_ -]$/i;function Gy(e){return function(n){if(n.type==="compositionend"||n.type==="change"){if(n.target.qComposing!==!0)return;n.target.qComposing=!1,e(n)}else n.type==="compositionupdate"&&n.target.qComposing!==!0&&typeof n.data=="string"&&(Fe.is.firefox===!0?Ky.test(n.data)===!1:Uy.test(n.data)===!0||Hy.test(n.data)===!0||Wy.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}const zy=je({name:"QInput",inheritAttrs:!1,props:{...Iy,...qy,...yl,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Ny,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:r}=ke(),{$q:o}=r,s={};let i=NaN,l,a,u=null,c;const f=me(null),d=By(e),{innerValue:g,hasMask:y,moveCursorForPaste:C,updateMaskValue:S,onMaskedKeydown:_,onMaskedClick:h}=Vy(e,t,ee,f),E=jy(e),v=$(()=>Vi(g.value)),A=Gy(q),P=My({changeEvent:!0}),R=$(()=>e.type==="textarea"||e.autogrow===!0),H=$(()=>R.value===!0||["text","search","url","tel","password"].includes(e.type)),F=$(()=>{const z={...P.splitAttrs.listeners.value,onInput:q,onPaste:B,onChange:j,onBlur:re,onFocus:Ho};return z.onCompositionstart=z.onCompositionupdate=z.onCompositionend=A,y.value===!0&&(z.onKeydown=_,z.onClick=h),e.autogrow===!0&&(z.onAnimationend=Y),z}),I=$(()=>{const z={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:d.value,...P.splitAttrs.attributes.value,id:P.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return R.value===!1&&(z.type=e.type),e.autogrow===!0&&(z.rows=1),z});ge(()=>e.type,()=>{f.value&&(f.value.value=e.modelValue)}),ge(()=>e.modelValue,z=>{if(y.value===!0){if(a===!0&&(a=!1,String(z)===i))return;S(z)}else g.value!==z&&(g.value=z,e.type==="number"&&s.hasOwnProperty("value")===!0&&(l===!0?l=!1:delete s.value));e.autogrow===!0&&rt(Q)}),ge(()=>e.autogrow,z=>{z===!0?rt(Q):f.value!==null&&n.rows>0&&(f.value.style.height="auto")}),ge(()=>e.dense,()=>{e.autogrow===!0&&rt(Q)});function N(){bl(()=>{const z=document.activeElement;f.value!==null&&f.value!==z&&(z===null||z.id!==P.targetUid.value)&&f.value.focus({preventScroll:!0})})}function x(){f.value?.select()}function B(z){if(y.value===!0&&e.reverseFillMask!==!0){const fe=z.target;C(fe,fe.selectionStart,fe.selectionEnd)}t("paste",z)}function q(z){if(!z||!z.target)return;if(e.type==="file"){t("update:modelValue",z.target.files);return}const fe=z.target.value;if(z.target.qComposing===!0){s.value=fe;return}if(y.value===!0)S(fe,!1,z.inputType);else if(ee(fe),H.value===!0&&z.target===document.activeElement){const{selectionStart:Ee,selectionEnd:Te}=z.target;Ee!==void 0&&Te!==void 0&&rt(()=>{z.target===document.activeElement&&fe.indexOf(z.target.value)===0&&z.target.setSelectionRange(Ee,Te)})}e.autogrow===!0&&Q()}function Y(z){t("animationend",z),Q()}function ee(z,fe){c=()=>{u=null,e.type!=="number"&&s.hasOwnProperty("value")===!0&&delete s.value,e.modelValue!==z&&i!==z&&(i=z,fe===!0&&(a=!0),t("update:modelValue",z),rt(()=>{i===z&&(i=NaN)})),c=void 0},e.type==="number"&&(l=!0,s.value=z),e.debounce!==void 0?(u!==null&&clearTimeout(u),s.value=z,u=setTimeout(c,e.debounce)):c()}function Q(){requestAnimationFrame(()=>{const z=f.value;if(z!==null){const fe=z.parentNode.style,{scrollTop:Ee}=z,{overflowY:Te,maxHeight:oe}=o.platform.is.firefox===!0?{}:window.getComputedStyle(z),M=Te!==void 0&&Te!=="scroll";M===!0&&(z.style.overflowY="hidden"),fe.marginBottom=z.scrollHeight-1+"px",z.style.height="1px",z.style.height=z.scrollHeight+"px",M===!0&&(z.style.overflowY=parseInt(oe,10){f.value!==null&&(f.value.value=g.value!==void 0?g.value:"")})}function ye(){return s.hasOwnProperty("value")===!0?s.value:g.value!==void 0?g.value:""}Et(()=>{re()}),Gt(()=>{e.autogrow===!0&&Q()}),Object.assign(P,{innerValue:g,fieldClass:$(()=>`q-${R.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:$(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:f,emitValue:ee,hasValue:v,floatingLabel:$(()=>v.value===!0&&(e.type!=="number"||isNaN(g.value)===!1)||Vi(e.displayValue)),getControl:()=>V(R.value===!0?"textarea":"input",{ref:f,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...I.value,...F.value,...e.type!=="file"?{value:ye()}:E.value}),getShadowControl:()=>V("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(R.value===!0?"":" text-no-wrap")},[V("span",{class:"invisible"},ye()),V("span",e.shadowText)])});const le=Dy(P);return Object.assign(r,{focus:N,select:x,getNativeElement:()=>f.value}),zn(r,"nativeEl",()=>f.value),le}});function Td(e,t){const n=me(null),r=$(()=>e.disable===!0?null:V("span",{ref:n,class:"no-outline",tabindex:-1}));function o(s){const i=t.value;s?.qAvoidFocus!==!0&&(s?.type.indexOf("key")===0?document.activeElement!==i&&i?.contains(document.activeElement)===!0&&i.focus():n.value!==null&&(s===void 0||i?.contains(s.target)===!0)&&n.value.focus())}return{refocusTargetEl:r,refocusTarget:o}}const Ad={xs:30,sm:35,md:40,lg:50,xl:60},Qy=()=>V("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[V("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),V("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]),Yy=je({name:"QRadio",props:{...Yn,...io,...yl,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:r}=ke(),o=Xn(e,r.$q),s=lo(e,Ad),i=me(null),{refocusTargetEl:l,refocusTarget:a}=Td(e,i),u=$(()=>ue(e.modelValue)===ue(e.val)),c=$(()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(e.disable===!0?" disabled":"")+(o.value===!0?" q-radio--dark":"")+(e.dense===!0?" q-radio--dense":"")+(e.leftLabel===!0?" reverse":"")),f=$(()=>{const v=e.color!==void 0&&(e.keepColor===!0||u.value===!0)?` text-${e.color}`:"";return`q-radio__inner relative-position q-radio__inner--${u.value===!0?"truthy":"falsy"}${v}`}),d=$(()=>(u.value===!0?e.checkedIcon:e.uncheckedIcon)||null),g=$(()=>e.disable===!0?-1:e.tabindex||0),y=$(()=>{const v={type:"radio"};return e.name!==void 0&&Object.assign(v,{".checked":u.value===!0,"^checked":u.value===!0?"checked":void 0,name:e.name,value:e.val}),v}),C=xd(y);function S(v){v!==void 0&&(bt(v),a(v)),e.disable!==!0&&u.value!==!0&&n("update:modelValue",e.val,v)}function _(v){(v.keyCode===13||v.keyCode===32)&&bt(v)}function h(v){(v.keyCode===13||v.keyCode===32)&&S(v)}Object.assign(r,{set:S});const E=Qy();return()=>{const v=d.value!==null?[V("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[V(fn,{class:"q-radio__icon",name:d.value})])]:[E];e.disable!==!0&&C(v,"unshift"," q-radio__native q-ma-none q-pa-none");const A=[V("div",{class:f.value,style:s.value,"aria-hidden":"true"},v)];l.value!==null&&A.push(l.value);const P=e.label!==void 0?Dn(t.default,[e.label]):Tt(t.default);return P!==void 0&&A.push(V("div",{class:"q-radio__label q-anchor--skip"},P)),V("div",{ref:i,class:c.value,tabindex:g.value,role:"radio","aria-label":e.label,"aria-checked":u.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:S,onKeydown:_,onKeyup:h},A)}}}),Rd={...Yn,...io,...yl,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>e==="tf"||e==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},Od=["update:modelValue"];function Ld(e,t){const{props:n,slots:r,emit:o,proxy:s}=ke(),{$q:i}=s,l=Xn(n,i),a=me(null),{refocusTargetEl:u,refocusTarget:c}=Td(n,a),f=lo(n,Ad),d=$(()=>n.val!==void 0&&Array.isArray(n.modelValue)),g=$(()=>{const x=ue(n.val);return d.value===!0?n.modelValue.findIndex(B=>ue(B)===x):-1}),y=$(()=>d.value===!0?g.value!==-1:ue(n.modelValue)===ue(n.trueValue)),C=$(()=>d.value===!0?g.value===-1:ue(n.modelValue)===ue(n.falseValue)),S=$(()=>y.value===!1&&C.value===!1),_=$(()=>n.disable===!0?-1:n.tabindex||0),h=$(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?" disabled":"")+(l.value===!0?` q-${e}--dark`:"")+(n.dense===!0?` q-${e}--dense`:"")+(n.leftLabel===!0?" reverse":"")),E=$(()=>{const x=y.value===!0?"truthy":C.value===!0?"falsy":"indet",B=n.color!==void 0&&(n.keepColor===!0||(e==="toggle"?y.value===!0:C.value!==!0))?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${x}${B}`}),v=$(()=>{const x={type:"checkbox"};return n.name!==void 0&&Object.assign(x,{".checked":y.value,"^checked":y.value===!0?"checked":void 0,name:n.name,value:d.value===!0?n.val:n.trueValue}),x}),A=xd(v),P=$(()=>{const x={tabindex:_.value,role:e==="toggle"?"switch":"checkbox","aria-label":n.label,"aria-checked":S.value===!0?"mixed":y.value===!0?"true":"false"};return n.disable===!0&&(x["aria-disabled"]="true"),x});function R(x){x!==void 0&&(bt(x),c(x)),n.disable!==!0&&o("update:modelValue",H(),x)}function H(){if(d.value===!0){if(y.value===!0){const x=n.modelValue.slice();return x.splice(g.value,1),x}return n.modelValue.concat([n.val])}if(y.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(C.value===!0){if(n.toggleOrder==="ft"||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder!=="ft"?n.trueValue:n.falseValue;return n.indeterminateValue}function F(x){(x.keyCode===13||x.keyCode===32)&&bt(x)}function I(x){(x.keyCode===13||x.keyCode===32)&&R(x)}const N=t(y,S);return Object.assign(s,{toggle:R}),()=>{const x=N();n.disable!==!0&&A(x,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const B=[V("div",{class:E.value,style:f.value,"aria-hidden":"true"},x)];u.value!==null&&B.push(u.value);const q=n.label!==void 0?Dn(r.default,[n.label]):Tt(r.default);return q!==void 0&&B.push(V("div",{class:`q-${e}__label q-anchor--skip`},q)),V("div",{ref:a,class:h.value,...P.value,onClick:R,onKeydown:F,onKeyup:I},B)}}const Xy=()=>V("div",{key:"svg",class:"q-checkbox__bg absolute"},[V("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[V("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),V("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),Jy=je({name:"QCheckbox",props:Rd,emits:Od,setup(e){const t=Xy();function n(r,o){const s=$(()=>(r.value===!0?e.checkedIcon:o.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>s.value!==null?[V("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[V(fn,{class:"q-checkbox__icon",name:s.value})])]:[t]}return Ld("checkbox",n)}}),Zy=je({name:"QToggle",props:{...Rd,icon:String,iconColor:String},emits:Od,setup(e){function t(n,r){const o=$(()=>(n.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||e.icon),s=$(()=>n.value===!0?e.iconColor:null);return()=>[V("div",{class:"q-toggle__track"}),V("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},o.value!==void 0?[V(fn,{name:o.value,color:s.value})]:void 0)]}return Ld("toggle",t)}}),Pd={radio:Yy,checkbox:Jy,toggle:Zy},e0=Object.keys(Pd);function ei(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return r=>r[n]}const t0=je({name:"QOptionGroup",props:{...Yn,modelValue:{required:!0},options:{type:Array,validator:e=>e.every(ct),default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],name:String,type:{type:String,default:"radio",validator:e=>e0.includes(e)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{proxy:{$q:r}}=ke(),o=Array.isArray(e.modelValue);e.type==="radio"?o===!0&&console.error("q-option-group: model should not be array"):o===!1&&console.error("q-option-group: model should be array in your case");const s=Xn(e,r),i=$(()=>Pd[e.type]),l=$(()=>ei(e.optionValue,"value")),a=$(()=>ei(e.optionLabel,"label")),u=$(()=>ei(e.optionDisable,"disable")),c=$(()=>e.options.map(y=>({val:l.value(y),name:y.name===void 0?e.name:y.name,disable:e.disable||u.value(y),leftLabel:y.leftLabel===void 0?e.leftLabel:y.leftLabel,color:y.color===void 0?e.color:y.color,checkedIcon:y.checkedIcon,uncheckedIcon:y.uncheckedIcon,dark:y.dark===void 0?s.value:y.dark,size:y.size===void 0?e.size:y.size,dense:e.dense,keepColor:y.keepColor===void 0?e.keepColor:y.keepColor}))),f=$(()=>"q-option-group q-gutter-x-sm"+(e.inline===!0?" q-option-group--inline":"")),d=$(()=>{const y={role:"group"};return e.type==="radio"&&(y.role="radiogroup",e.disable===!0&&(y["aria-disabled"]="true")),y});function g(y){t("update:modelValue",y)}return()=>V("div",{class:f.value,...d.value},e.options.map((y,C)=>{const S=n["label-"+C]!==void 0?()=>n["label-"+C](y):n.label!==void 0?()=>n.label(y):void 0;return V("div",[V(i.value,{label:S===void 0?a.value(y):null,modelValue:e.modelValue,"onUpdate:modelValue":g,...c.value[C]},S)])}))}}),n0=je({name:"DialogPluginComponent",props:{...Yn,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){const{proxy:n}=ke(),{$q:r}=n,o=Xn(e,r),s=me(null),i=me(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),l=$(()=>"q-dialog-plugin"+(o.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),a=$(()=>e.color||(o.value===!0?"amber":"primary")),u=$(()=>e.progress===!1?null:ct(e.progress)===!0?{component:e.progress.spinner||gr,props:{color:e.progress.color||a.value}}:{component:gr,props:{color:a.value}}),c=$(()=>e.prompt!==void 0||e.options!==void 0),f=$(()=>{if(c.value!==!0)return{};const{model:q,isValid:Y,items:ee,...Q}=e.prompt!==void 0?e.prompt:e.options;return Q}),d=$(()=>ct(e.ok)===!0||e.ok===!0?r.lang.label.ok:e.ok),g=$(()=>ct(e.cancel)===!0||e.cancel===!0?r.lang.label.cancel:e.cancel),y=$(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(i.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(i.value)!==!0:!1),C=$(()=>({color:a.value,label:d.value,ripple:!1,disable:y.value,...ct(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&c.value!==!0||void 0,onClick:E})),S=$(()=>({color:a.value,label:g.value,ripple:!1,...ct(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&c.value!==!0||void 0,onClick:v}));ge(()=>e.prompt&&e.prompt.model,P),ge(()=>e.options&&e.options.model,P);function _(){s.value.show()}function h(){s.value.hide()}function E(){t("ok",ue(i.value)),h()}function v(){h()}function A(){t("hide")}function P(q){i.value=q}function R(q){y.value!==!0&&e.prompt.type!=="textarea"&&Yr(q,13)===!0&&E()}function H(q,Y){return e.html===!0?V(xr,{class:q,innerHTML:Y}):V(xr,{class:q},()=>Y)}function F(){return[V(zy,{color:a.value,dense:!0,autofocus:!0,dark:o.value,...f.value,modelValue:i.value,"onUpdate:modelValue":P,onKeyup:R})]}function I(){return[V(t0,{color:a.value,options:e.options.items,dark:o.value,...f.value,modelValue:i.value,"onUpdate:modelValue":P})]}function N(){const q=[];return e.cancel&&q.push(V($i,S.value)),e.ok&&q.push(V($i,C.value)),V(wy,{class:e.stackButtons===!0?"items-end":"",vertical:e.stackButtons,align:"right"},()=>q)}function x(){const q=[];return e.title&&q.push(H("q-dialog__title",e.title)),e.progress!==!1&&q.push(V(xr,{class:"q-dialog__progress"},()=>V(u.value.component,u.value.props))),e.message&&q.push(H("q-dialog__message",e.message)),e.prompt!==void 0?q.push(V(xr,{class:"scroll q-dialog-plugin__form"},F)):e.options!==void 0&&q.push(V(Ru,{dark:o.value}),V(xr,{class:"scroll q-dialog-plugin__form"},I),V(Ru,{dark:o.value})),(e.ok||e.cancel)&&q.push(N()),q}function B(){return[V(Ey,{class:[l.value,e.cardClass],style:e.cardStyle,dark:o.value},x)]}return Object.assign(n,{show:_,hide:h}),()=>V(yy,{ref:s,onHide:A},B)}});function Id(e,t){for(const n in t)n!=="spinner"&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},Id(e[n],t[n])):e[n]=t[n]}function r0(e,t,n){return r=>{let o,s;const i=r.component!==void 0;if(i===!0){const{component:h,componentProps:E}=r;o=typeof h=="string"?n.component(h):h,s=E||{}}else{const{class:h,style:E,...v}=r;o=e,s=v,h!==void 0&&(v.cardClass=h),E!==void 0&&(v.cardStyle=E)}let l,a=!1;const u=me(null),c=bs(!1,"dialog"),f=h=>{if(u.value?.[h]!==void 0){u.value[h]();return}const E=l.$.subTree;if(E?.component){if(E.component.proxy&&E.component.proxy[h]){E.component.proxy[h]();return}if(E.component.subTree&&E.component.subTree.component&&E.component.subTree.component.proxy&&E.component.subTree.component.proxy[h]){E.component.subTree.component.proxy[h]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},d=[],g=[],y={onOk(h){return d.push(h),y},onCancel(h){return g.push(h),y},onDismiss(h){return d.push(h),g.push(h),y},hide(){return f("hide"),y},update(h){if(l!==null){if(i===!0)Object.assign(s,h);else{const{class:E,style:v,...A}=h;E!==void 0&&(A.cardClass=E),v!==void 0&&(A.cardStyle=v),Id(s,A)}l.$forceUpdate()}return y}},C=h=>{a=!0,d.forEach(E=>{E(h)})},S=()=>{_.unmount(c),vl(c),_=null,l=null,a!==!0&&g.forEach(h=>{h()})};let _=sl({name:"QGlobalDialog",setup:()=>()=>V(o,{...s,ref:u,onOk:C,onHide:S,onVnodeMounted(...h){typeof s.onVnodeMounted=="function"&&s.onVnodeMounted(...h),rt(()=>f("show"))}})},n);return l=_.mount(c),y}}const o0={install({$q:e,parentApp:t}){e.dialog=this.create=r0(n0,!0,t)}};let rr,ti,qu=0,In=null,qe={},Fn={};const Nd={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:gr,customClass:""},Md={...Nd};function s0(e){if(e?.group!==void 0&&Fn[e.group]!==void 0)return Object.assign(Fn[e.group],e);const t=ct(e)===!0&&e.ignoreDefaults===!0?{...Nd,...e}:{...Md,...e};return Fn[t.group]=t,t}const Ct=so({isActive:!1},{show(e){qe=s0(e);const{group:t}=qe;return Ct.isActive=!0,rr!==void 0?(qe.uid=qu,ti.$forceUpdate()):(qe.uid=++qu,In!==null&&clearTimeout(In),In=setTimeout(()=>{In=null;const n=bs("q-loading");rr=sl({name:"QLoading",setup(){Gt(()=>{Fi(!0)});function r(){Ct.isActive!==!0&&rr!==void 0&&(Fi(!1),rr.unmount(n),vl(n),rr=void 0,ti=void 0)}function o(){if(Ct.isActive!==!0)return null;const s=[V(qe.spinner,{class:"q-loading__spinner",color:qe.spinnerColor,size:qe.spinnerSize})];return qe.message&&s.push(V("div",{class:"q-loading__message"+(qe.messageColor?` text-${qe.messageColor}`:""),[qe.html===!0?"innerHTML":"textContent"]:qe.message})),V("div",{class:"q-loading fullscreen flex flex-center z-max "+qe.customClass.trim(),key:qe.uid},[V("div",{class:"q-loading__backdrop"+(qe.backgroundColor?` bg-${qe.backgroundColor}`:"")}),V("div",{class:"q-loading__box column items-center "+qe.boxClass},s)])}return()=>V(zr,{name:"q-transition--fade",appear:!0,onAfterLeave:r},o)}},Ct.__parentApp),ti=rr.mount(n)},qe.delay)),n=>{if(n===void 0||Object(n)!==n){Ct.hide(t);return}Ct.show({...n,group:t})}},hide(e){if(Ct.isActive===!0){if(e===void 0)Fn={};else{if(Fn[e]===void 0)return;{delete Fn[e];const t=Object.keys(Fn);if(t.length!==0){const n=t[t.length-1];Ct.show({group:n});return}}}In!==null&&(clearTimeout(In),In=null),Ct.isActive=!1}},setDefaults(e){ct(e)===!0&&Object.assign(Md,e)},install({$q:e,parentApp:t}){e.loading=this,Ct.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),i0={config:{},plugins:{Notify:Kb,Dialog:o0,Loading:Ct}},l0="/";async function a0({app:e,router:t,store:n},r){let o=!1;const s=a=>{try{return t.resolve(a).href}catch{}return Object(a)===a?null:a},i=a=>{if(o=!0,typeof a=="string"&&/^https?:\/\//.test(a)){window.location.href=a;return}const u=s(a);u!==null&&(window.location.href=u)},l=window.location.href.replace(window.location.origin,"");for(let a=0;o===!1&&a{const[t,n]=Promise.allSettled!==void 0?["allSettled",r=>r.map(o=>{if(o.status==="rejected"){console.error("[Quasar] boot error:",o.reason);return}return o.value.default})]:["all",r=>r.map(o=>o.default)];return Promise[t]([Ne(()=>import("./i18n-BdDWi-np.js"),[])]).then(r=>{const o=n(r).filter(s=>typeof s=="function");a0(e,o)})});export{ke as $,u0 as A,km as B,ns as C,me as D,$ as E,Ey as F,ut as G,f0 as H,m0 as I,zy as J,Wn as K,je as L,V as M,Xb as N,N0 as O,Zb as P,$i as Q,Yb as R,Qb as S,zb as T,Jb as U,iy as V,Et as W,Tg as X,xg as Y,M0 as Z,zr as _,Gn as a,Tu as a$,ey as a0,Tt as a1,bt as a2,xr as a3,rt as a4,Jy as a5,wy as a6,yy as a7,Cg as a8,Fe as a9,as as aA,gd as aB,_i as aC,ct as aD,C0 as aE,w0 as aF,g0 as aG,zn as aH,y0 as aI,Sb as aJ,Yr as aK,pf as aL,O0 as aM,c0 as aN,rs as aO,dc as aP,Zy as aQ,io as aR,lo as aS,pd as aT,bl as aU,Vg as aV,P0 as aW,I0 as aX,vy as aY,xu as aZ,_y as a_,v0 as aa,Qr as ab,Sg as ac,En as ad,Ho as ae,p0 as af,Yn as ag,it as ah,E0 as ai,_0 as aj,Gb as ak,R0 as al,hy as am,Xn as an,A0 as ao,So as ap,b0 as aq,nt as ar,ay as as,uy as at,kn as au,D0 as av,cs as aw,Dn as ax,jh as ay,Pc as az,x0 as b,ry as b0,wb as b1,Ny as b2,Iy as b3,Dy as b4,My as b5,cb as b6,mf as b7,yl as b8,Ns as b9,Nc as ba,el as bb,Vi as bc,By as bd,Gy as be,Po as bf,qg as bg,L0 as bh,Rb as bi,vi as bj,S0 as c,k0 as d,T0 as e,Jv as f,zh as g,Yc as h,Jc as i,Lh as j,Ze as k,Yv as l,ef as m,Cn as n,Gt as o,xm as p,_b as q,Xv as r,d0 as s,Jd as t,gs as u,Ru as v,ge as w,yc as x,fn as y,h0 as z}; diff --git a/backend/internal/http/static/spa/assets/logo-DdmK5n0b.js b/backend/internal/http/static/spa/assets/logo-DdmK5n0b.js new file mode 100644 index 0000000..d085945 --- /dev/null +++ b/backend/internal/http/static/spa/assets/logo-DdmK5n0b.js @@ -0,0 +1 @@ +import{L as te,N as oe,O as ae,P as T,R as ne,S as ie,T as se,U as le,V as re,w as E,W as C,X as k,Y as x,Z as ue,M as H,_ as ce,$ as de,D as A,E as f,a0 as fe,a1 as he,a2 as ve}from"./index-DAvBaevK.js";import{v as ge,a as D,u as me,b as Te,c as pe,d as ye,r as L,s as Se,p as M}from"./position-engine-BHgB6lrx.js";import{c as q}from"./selection-DrSF90ET.js";const Oe=te({name:"QTooltip",inheritAttrs:!1,props:{...me,...ne,...T,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...T.transitionShow,default:"jump-down"},transitionHide:{...T.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:D},self:{type:String,default:"top middle",validator:D},offset:{type:Array,default:()=>[14,14],validator:ge},scrollTarget:ae,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...oe],setup(e,{slots:W,emit:p,attrs:h}){let i,s;const v=de(),{proxy:{$q:o}}=v,l=A(null),c=A(!1),j=f(()=>M(e.anchor,o.lang.rtl)),N=f(()=>M(e.self,o.lang.rtl)),Q=f(()=>e.persistent!==!0),{registerTick:R,removeTick:U}=ie(),{registerTimeout:d}=se(),{transitionProps:_,transitionStyle:B}=fe(e),{localScrollTarget:y,changeScrollEvent:V,unconfigureScrollTarget:$}=Te(e,w),{anchorEl:a,canShow:I,anchorEvents:r}=pe({showing:c,configureAnchorEl:J}),{show:X,hide:g}=le({showing:c,canShow:I,handleShow:Z,handleHide:z,hideOnRouteChange:Q,processOnMount:!0});Object.assign(r,{delayShow:F,delayHide:G});const{showPortal:S,hidePortal:b,renderPortal:Y}=re(v,l,ee,"tooltip");if(o.platform.is.mobile===!0){const t={anchorEl:a,innerRef:l,onClickOutside(n){return g(n),n.target.classList.contains("q-dialog__backdrop")&&ve(n),!0}},m=f(()=>e.modelValue===null&&e.persistent!==!0&&c.value===!0);E(m,n=>{(n===!0?ye:L)(t)}),C(()=>{L(t)})}function Z(t){S(),R(()=>{s=new MutationObserver(()=>u()),s.observe(l.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),u(),w()}),i===void 0&&(i=E(()=>o.screen.width+"|"+o.screen.height+"|"+e.self+"|"+e.anchor+"|"+o.lang.rtl,u)),d(()=>{S(!0),p("show",t)},e.transitionDuration)}function z(t){U(),b(),P(),d(()=>{b(!0),p("hide",t)},e.transitionDuration)}function P(){s!==void 0&&(s.disconnect(),s=void 0),i!==void 0&&(i(),i=void 0),$(),k(r,"tooltipTemp")}function u(){Se({targetEl:l.value,offset:e.offset,anchorEl:a.value,anchorOrigin:j.value,selfOrigin:N.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function F(t){if(o.platform.is.mobile===!0){q(),document.body.classList.add("non-selectable");const m=a.value,n=["touchmove","touchcancel","touchend","click"].map(O=>[m,O,"delayHide","passiveCapture"]);x(r,"tooltipTemp",n)}d(()=>{X(t)},e.delay)}function G(t){o.platform.is.mobile===!0&&(k(r,"tooltipTemp"),q(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),d(()=>{g(t)},e.hideDelay)}function J(){if(e.noParentEvent===!0||a.value===null)return;const t=o.platform.is.mobile===!0?[[a.value,"touchstart","delayShow","passive"]]:[[a.value,"mouseenter","delayShow","passive"],[a.value,"mouseleave","delayHide","passive"]];x(r,"anchor",t)}function w(){if(a.value!==null||e.scrollTarget!==void 0){y.value=ue(a.value,e.scrollTarget);const t=e.noParentEvent===!0?u:g;V(y.value,t)}}function K(){return c.value===!0?H("div",{...h,ref:l,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",h.class],style:[h.style,B.value],role:"tooltip"},he(W.default)):null}function ee(){return H(ce,_.value,K)}return C(P),Object.assign(v.proxy,{updatePosition:u}),Y}}),Ee="/assets/logo-7g001S5W.png";export{Oe as Q,Ee as f}; diff --git a/backend/internal/http/static/spa/assets/position-engine-CFuXolvx.js b/backend/internal/http/static/spa/assets/position-engine-BHgB6lrx.js similarity index 94% rename from backend/internal/http/static/spa/assets/position-engine-CFuXolvx.js rename to backend/internal/http/static/spa/assets/position-engine-BHgB6lrx.js index d7ba689..5d99dc7 100644 --- a/backend/internal/http/static/spa/assets/position-engine-CFuXolvx.js +++ b/backend/internal/http/static/spa/assets/position-engine-BHgB6lrx.js @@ -1 +1 @@ -import{c as I}from"./selection-HrszS3Ie.js";import{$ as X,ad as k,Y as $,a4 as Y,aK as N,w as E,o as Q,W as j,C as K,X as D,ar as L,bf as A,a9 as F,av as U}from"./index-B9vdjdfJ.js";const G={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},lt={...G,contextMenu:Boolean};function nt({showing:t,avoidEmit:l,configureAnchorEl:n}){const{props:e,proxy:a,emit:s}=X(),o=K(null);let c=null;function d(i){return o.value===null?!1:i===void 0||i.touches===void 0||i.touches.length<=1}const u={};n===void 0&&(Object.assign(u,{hide(i){a.hide(i)},toggle(i){a.toggle(i),i.qAnchorHandled=!0},toggleKey(i){N(i,13)===!0&&u.toggle(i)},contextClick(i){a.hide(i),k(i),Y(()=>{a.show(i),i.qAnchorHandled=!0})},prevent:k,mobileTouch(i){if(u.mobileCleanup(i),d(i)!==!0)return;a.hide(i),o.value.classList.add("non-selectable");const r=i.target;$(u,"anchor",[[r,"touchmove","mobileCleanup","passive"],[r,"touchend","mobileCleanup","passive"],[r,"touchcancel","mobileCleanup","passive"],[o.value,"contextmenu","prevent","notPassive"]]),c=setTimeout(()=>{c=null,a.show(i),i.qAnchorHandled=!0},300)},mobileCleanup(i){o.value.classList.remove("non-selectable"),c!==null&&(clearTimeout(c),c=null),t.value===!0&&i!==void 0&&I()}}),n=function(i=e.contextMenu){if(e.noParentEvent===!0||o.value===null)return;let r;i===!0?a.$q.platform.is.mobile===!0?r=[[o.value,"touchstart","mobileTouch","passive"]]:r=[[o.value,"mousedown","hide","passive"],[o.value,"contextmenu","contextClick","notPassive"]]:r=[[o.value,"click","toggle","passive"],[o.value,"keyup","toggleKey","passive"]],$(u,"anchor",r)});function f(){D(u,"anchor")}function y(i){for(o.value=i;o.value.classList.contains("q-anchor--skip");)o.value=o.value.parentNode;n()}function p(){if(e.target===!1||e.target===""||a.$el.parentNode===null)o.value=null;else if(e.target===!0)y(a.$el.parentNode);else{let i=e.target;if(typeof e.target=="string")try{i=document.querySelector(e.target)}catch{i=void 0}i!=null?(o.value=i.$el||i,n()):(o.value=null,console.error(`Anchor: target "${e.target}" not found`))}}return E(()=>e.contextMenu,i=>{o.value!==null&&(f(),n(i))}),E(()=>e.target,()=>{o.value!==null&&f(),p()}),E(()=>e.noParentEvent,i=>{o.value!==null&&(i===!0?f():n())}),Q(()=>{p(),l!==!0&&e.modelValue===!0&&o.value===null&&s("update:modelValue",!1)}),j(()=>{c!==null&&clearTimeout(c),f()}),{anchorEl:o,canShow:d,anchorEvents:u}}function it(t,l){const n=K(null);let e;function a(c,d){const u=`${d!==void 0?"add":"remove"}EventListener`,f=d!==void 0?d:e;c!==window&&c[u]("scroll",f,L.passive),window[u]("scroll",f,L.passive),e=d}function s(){n.value!==null&&(a(n.value),n.value=null)}const o=E(()=>t.noParentEvent,()=>{n.value!==null&&(s(),l())});return j(o),{localScrollTarget:n,unconfigureScrollTarget:s,changeScrollEvent:a}}const{notPassiveCapture:W}=L,g=[];function M(t){const l=t.target;if(l===void 0||l.nodeType===8||l.classList.contains("no-pointer-events")===!0)return;let n=A.length-1;for(;n>=0;){const e=A[n].$;if(e.type.name==="QTooltip"){n--;continue}if(e.type.name!=="QDialog")break;if(e.props.seamless!==!0)return;n--}for(let e=g.length-1;e>=0;e--){const a=g[e];if((a.anchorEl.value===null||a.anchorEl.value.contains(l)===!1)&&(l===document.body||a.innerRef.value!==null&&a.innerRef.value.contains(l)===!1))t.qClickOutside=!0,a.onClickOutside(t);else return}}function ot(t){g.push(t),g.length===1&&(document.addEventListener("mousedown",M,W),document.addEventListener("touchstart",M,W))}function at(t){const l=g.findIndex(n=>n===t);l!==-1&&(g.splice(l,1),g.length===0&&(document.removeEventListener("mousedown",M,W),document.removeEventListener("touchstart",M,W)))}let q,B;function rt(t){const l=t.split(" ");return l.length!==2?!1:["top","center","bottom"].includes(l[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(l[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function ut(t){return t?!(t.length!==2||typeof t[0]!="number"||typeof t[1]!="number"):!0}const z={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(t=>{z[`${t}#ltr`]=t,z[`${t}#rtl`]=t});function st(t,l){const n=t.split(" ");return{vertical:n[0],horizontal:z[`${n[1]}#${l===!0?"rtl":"ltr"}`]}}function J(t,l){let{top:n,left:e,right:a,bottom:s,width:o,height:c}=t.getBoundingClientRect();return l!==void 0&&(n-=l[1],e-=l[0],s+=l[1],a+=l[0],o+=l[0],c+=l[1]),{top:n,bottom:s,height:c,left:e,right:a,width:o,middle:e+(a-e)/2,center:n+(s-n)/2}}function Z(t,l,n){let{top:e,left:a}=t.getBoundingClientRect();return e+=l.top,a+=l.left,n!==void 0&&(e+=n[1],a+=n[0]),{top:e,bottom:e+1,height:1,left:a,right:a+1,width:1,middle:a,center:e}}function _(t,l){return{top:0,center:l/2,bottom:l,left:0,middle:t/2,right:t}}function P(t,l,n,e){return{top:t[n.vertical]-l[e.vertical],left:t[n.horizontal]-l[e.horizontal]}}function O(t,l=0){if(t.targetEl===null||t.anchorEl===null||l>5)return;if(t.targetEl.offsetHeight===0||t.targetEl.offsetWidth===0){setTimeout(()=>{O(t,l+1)},10);return}const{targetEl:n,offset:e,anchorEl:a,anchorOrigin:s,selfOrigin:o,absoluteOffset:c,fit:d,cover:u,maxHeight:f,maxWidth:y}=t;if(F.is.ios===!0&&window.visualViewport!==void 0){const H=document.body.style,{offsetLeft:b,offsetTop:v}=window.visualViewport;b!==q&&(H.setProperty("--q-pe-left",b+"px"),q=b),v!==B&&(H.setProperty("--q-pe-top",v+"px"),B=v)}const{scrollLeft:p,scrollTop:i}=n,r=c===void 0?J(a,u===!0?[0,0]:e):Z(a,c,e);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:y,maxHeight:f,visibility:"visible"});const{offsetWidth:S,offsetHeight:T}=n,{elWidth:R,elHeight:V}=d===!0||u===!0?{elWidth:Math.max(r.width,S),elHeight:u===!0?Math.max(r.height,T):T}:{elWidth:S,elHeight:T};let m={maxWidth:y,maxHeight:f};(d===!0||u===!0)&&(m.minWidth=r.width+"px",u===!0&&(m.minHeight=r.height+"px")),Object.assign(n.style,m);const x=_(R,V);let h=P(r,x,s,o);if(c===void 0||e===void 0)C(h,r,x,s,o);else{const{top:H,left:b}=h;C(h,r,x,s,o);let v=!1;if(h.top!==H){v=!0;const w=2*e[1];r.center=r.top-=w,r.bottom-=w+2}if(h.left!==b){v=!0;const w=2*e[0];r.middle=r.left-=w,r.right-=w+2}v===!0&&(h=P(r,x,s,o),C(h,r,x,s,o))}m={top:h.top+"px",left:h.left+"px"},h.maxHeight!==void 0&&(m.maxHeight=h.maxHeight+"px",r.height>h.maxHeight&&(m.minHeight=m.maxHeight)),h.maxWidth!==void 0&&(m.maxWidth=h.maxWidth+"px",r.width>h.maxWidth&&(m.minWidth=m.maxWidth)),Object.assign(n.style,m),n.scrollTop!==i&&(n.scrollTop=i),n.scrollLeft!==p&&(n.scrollLeft=p)}function C(t,l,n,e,a){const s=n.bottom,o=n.right,c=U(),d=window.innerHeight-c,u=document.body.clientWidth;if(t.top<0||t.top+s>d)if(a.vertical==="center")t.top=l[e.vertical]>d/2?Math.max(0,d-s):0,t.maxHeight=Math.min(s,d);else if(l[e.vertical]>d/2){const f=Math.min(d,e.vertical==="center"?l.center:e.vertical===a.vertical?l.bottom:l.top);t.maxHeight=Math.min(s,f),t.top=Math.max(0,f-s)}else t.top=Math.max(0,e.vertical==="center"?l.center:e.vertical===a.vertical?l.top:l.bottom),t.maxHeight=Math.min(s,d-t.top);if(t.left<0||t.left+o>u)if(t.maxWidth=Math.min(o,u),a.horizontal==="middle")t.left=l[e.horizontal]>u/2?Math.max(0,u-o):0;else if(l[e.horizontal]>u/2){const f=Math.min(u,e.horizontal==="middle"?l.middle:e.horizontal===a.horizontal?l.right:l.left);t.maxWidth=Math.min(o,f),t.left=Math.max(0,f-t.maxWidth)}else t.left=Math.max(0,e.horizontal==="middle"?l.middle:e.horizontal===a.horizontal?l.left:l.right),t.maxWidth=Math.min(o,u-t.left)}export{rt as a,it as b,nt as c,ot as d,lt as e,st as p,at as r,O as s,G as u,ut as v}; +import{c as I}from"./selection-DrSF90ET.js";import{$ as X,ad as k,Y as $,a4 as Y,aK as D,w as E,o as N,W as j,D as K,X as Q,ar as L,bf as A,a9 as F,av as U}from"./index-DAvBaevK.js";const G={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},lt={...G,contextMenu:Boolean};function nt({showing:t,avoidEmit:l,configureAnchorEl:n}){const{props:e,proxy:a,emit:s}=X(),o=K(null);let c=null;function d(i){return o.value===null?!1:i===void 0||i.touches===void 0||i.touches.length<=1}const u={};n===void 0&&(Object.assign(u,{hide(i){a.hide(i)},toggle(i){a.toggle(i),i.qAnchorHandled=!0},toggleKey(i){D(i,13)===!0&&u.toggle(i)},contextClick(i){a.hide(i),k(i),Y(()=>{a.show(i),i.qAnchorHandled=!0})},prevent:k,mobileTouch(i){if(u.mobileCleanup(i),d(i)!==!0)return;a.hide(i),o.value.classList.add("non-selectable");const r=i.target;$(u,"anchor",[[r,"touchmove","mobileCleanup","passive"],[r,"touchend","mobileCleanup","passive"],[r,"touchcancel","mobileCleanup","passive"],[o.value,"contextmenu","prevent","notPassive"]]),c=setTimeout(()=>{c=null,a.show(i),i.qAnchorHandled=!0},300)},mobileCleanup(i){o.value.classList.remove("non-selectable"),c!==null&&(clearTimeout(c),c=null),t.value===!0&&i!==void 0&&I()}}),n=function(i=e.contextMenu){if(e.noParentEvent===!0||o.value===null)return;let r;i===!0?a.$q.platform.is.mobile===!0?r=[[o.value,"touchstart","mobileTouch","passive"]]:r=[[o.value,"mousedown","hide","passive"],[o.value,"contextmenu","contextClick","notPassive"]]:r=[[o.value,"click","toggle","passive"],[o.value,"keyup","toggleKey","passive"]],$(u,"anchor",r)});function f(){Q(u,"anchor")}function y(i){for(o.value=i;o.value.classList.contains("q-anchor--skip");)o.value=o.value.parentNode;n()}function p(){if(e.target===!1||e.target===""||a.$el.parentNode===null)o.value=null;else if(e.target===!0)y(a.$el.parentNode);else{let i=e.target;if(typeof e.target=="string")try{i=document.querySelector(e.target)}catch{i=void 0}i!=null?(o.value=i.$el||i,n()):(o.value=null,console.error(`Anchor: target "${e.target}" not found`))}}return E(()=>e.contextMenu,i=>{o.value!==null&&(f(),n(i))}),E(()=>e.target,()=>{o.value!==null&&f(),p()}),E(()=>e.noParentEvent,i=>{o.value!==null&&(i===!0?f():n())}),N(()=>{p(),l!==!0&&e.modelValue===!0&&o.value===null&&s("update:modelValue",!1)}),j(()=>{c!==null&&clearTimeout(c),f()}),{anchorEl:o,canShow:d,anchorEvents:u}}function it(t,l){const n=K(null);let e;function a(c,d){const u=`${d!==void 0?"add":"remove"}EventListener`,f=d!==void 0?d:e;c!==window&&c[u]("scroll",f,L.passive),window[u]("scroll",f,L.passive),e=d}function s(){n.value!==null&&(a(n.value),n.value=null)}const o=E(()=>t.noParentEvent,()=>{n.value!==null&&(s(),l())});return j(o),{localScrollTarget:n,unconfigureScrollTarget:s,changeScrollEvent:a}}const{notPassiveCapture:W}=L,g=[];function M(t){const l=t.target;if(l===void 0||l.nodeType===8||l.classList.contains("no-pointer-events")===!0)return;let n=A.length-1;for(;n>=0;){const e=A[n].$;if(e.type.name==="QTooltip"){n--;continue}if(e.type.name!=="QDialog")break;if(e.props.seamless!==!0)return;n--}for(let e=g.length-1;e>=0;e--){const a=g[e];if((a.anchorEl.value===null||a.anchorEl.value.contains(l)===!1)&&(l===document.body||a.innerRef.value!==null&&a.innerRef.value.contains(l)===!1))t.qClickOutside=!0,a.onClickOutside(t);else return}}function ot(t){g.push(t),g.length===1&&(document.addEventListener("mousedown",M,W),document.addEventListener("touchstart",M,W))}function at(t){const l=g.findIndex(n=>n===t);l!==-1&&(g.splice(l,1),g.length===0&&(document.removeEventListener("mousedown",M,W),document.removeEventListener("touchstart",M,W)))}let q,B;function rt(t){const l=t.split(" ");return l.length!==2?!1:["top","center","bottom"].includes(l[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(l[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function ut(t){return t?!(t.length!==2||typeof t[0]!="number"||typeof t[1]!="number"):!0}const z={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(t=>{z[`${t}#ltr`]=t,z[`${t}#rtl`]=t});function st(t,l){const n=t.split(" ");return{vertical:n[0],horizontal:z[`${n[1]}#${l===!0?"rtl":"ltr"}`]}}function J(t,l){let{top:n,left:e,right:a,bottom:s,width:o,height:c}=t.getBoundingClientRect();return l!==void 0&&(n-=l[1],e-=l[0],s+=l[1],a+=l[0],o+=l[0],c+=l[1]),{top:n,bottom:s,height:c,left:e,right:a,width:o,middle:e+(a-e)/2,center:n+(s-n)/2}}function Z(t,l,n){let{top:e,left:a}=t.getBoundingClientRect();return e+=l.top,a+=l.left,n!==void 0&&(e+=n[1],a+=n[0]),{top:e,bottom:e+1,height:1,left:a,right:a+1,width:1,middle:a,center:e}}function _(t,l){return{top:0,center:l/2,bottom:l,left:0,middle:t/2,right:t}}function P(t,l,n,e){return{top:t[n.vertical]-l[e.vertical],left:t[n.horizontal]-l[e.horizontal]}}function O(t,l=0){if(t.targetEl===null||t.anchorEl===null||l>5)return;if(t.targetEl.offsetHeight===0||t.targetEl.offsetWidth===0){setTimeout(()=>{O(t,l+1)},10);return}const{targetEl:n,offset:e,anchorEl:a,anchorOrigin:s,selfOrigin:o,absoluteOffset:c,fit:d,cover:u,maxHeight:f,maxWidth:y}=t;if(F.is.ios===!0&&window.visualViewport!==void 0){const H=document.body.style,{offsetLeft:b,offsetTop:v}=window.visualViewport;b!==q&&(H.setProperty("--q-pe-left",b+"px"),q=b),v!==B&&(H.setProperty("--q-pe-top",v+"px"),B=v)}const{scrollLeft:p,scrollTop:i}=n,r=c===void 0?J(a,u===!0?[0,0]:e):Z(a,c,e);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:y,maxHeight:f,visibility:"visible"});const{offsetWidth:S,offsetHeight:T}=n,{elWidth:R,elHeight:V}=d===!0||u===!0?{elWidth:Math.max(r.width,S),elHeight:u===!0?Math.max(r.height,T):T}:{elWidth:S,elHeight:T};let m={maxWidth:y,maxHeight:f};(d===!0||u===!0)&&(m.minWidth=r.width+"px",u===!0&&(m.minHeight=r.height+"px")),Object.assign(n.style,m);const x=_(R,V);let h=P(r,x,s,o);if(c===void 0||e===void 0)C(h,r,x,s,o);else{const{top:H,left:b}=h;C(h,r,x,s,o);let v=!1;if(h.top!==H){v=!0;const w=2*e[1];r.center=r.top-=w,r.bottom-=w+2}if(h.left!==b){v=!0;const w=2*e[0];r.middle=r.left-=w,r.right-=w+2}v===!0&&(h=P(r,x,s,o),C(h,r,x,s,o))}m={top:h.top+"px",left:h.left+"px"},h.maxHeight!==void 0&&(m.maxHeight=h.maxHeight+"px",r.height>h.maxHeight&&(m.minHeight=m.maxHeight)),h.maxWidth!==void 0&&(m.maxWidth=h.maxWidth+"px",r.width>h.maxWidth&&(m.minWidth=m.maxWidth)),Object.assign(n.style,m),n.scrollTop!==i&&(n.scrollTop=i),n.scrollLeft!==p&&(n.scrollLeft=p)}function C(t,l,n,e,a){const s=n.bottom,o=n.right,c=U(),d=window.innerHeight-c,u=document.body.clientWidth;if(t.top<0||t.top+s>d)if(a.vertical==="center")t.top=l[e.vertical]>d/2?Math.max(0,d-s):0,t.maxHeight=Math.min(s,d);else if(l[e.vertical]>d/2){const f=Math.min(d,e.vertical==="center"?l.center:e.vertical===a.vertical?l.bottom:l.top);t.maxHeight=Math.min(s,f),t.top=Math.max(0,f-s)}else t.top=Math.max(0,e.vertical==="center"?l.center:e.vertical===a.vertical?l.top:l.bottom),t.maxHeight=Math.min(s,d-t.top);if(t.left<0||t.left+o>u)if(t.maxWidth=Math.min(o,u),a.horizontal==="middle")t.left=l[e.horizontal]>u/2?Math.max(0,u-o):0;else if(l[e.horizontal]>u/2){const f=Math.min(u,e.horizontal==="middle"?l.middle:e.horizontal===a.horizontal?l.right:l.left);t.maxWidth=Math.min(o,f),t.left=Math.max(0,f-t.maxWidth)}else t.left=Math.max(0,e.horizontal==="middle"?l.middle:e.horizontal===a.horizontal?l.left:l.right),t.maxWidth=Math.min(o,u-t.left)}export{rt as a,it as b,nt as c,ot as d,lt as e,st as p,at as r,O as s,G as u,ut as v}; diff --git a/backend/internal/http/static/spa/assets/selection-HrszS3Ie.js b/backend/internal/http/static/spa/assets/selection-DrSF90ET.js similarity index 80% rename from backend/internal/http/static/spa/assets/selection-HrszS3Ie.js rename to backend/internal/http/static/spa/assets/selection-DrSF90ET.js index 41df4bd..31c8d1e 100644 --- a/backend/internal/http/static/spa/assets/selection-HrszS3Ie.js +++ b/backend/internal/http/static/spa/assets/selection-DrSF90ET.js @@ -1 +1 @@ -import{bj as o}from"./index-B9vdjdfJ.js";function i(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),o.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}export{i as c}; +import{bj as o}from"./index-DAvBaevK.js";function i(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),o.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}export{i as c}; diff --git a/backend/internal/http/static/spa/assets/use-quasar-B5tVCAcV.js b/backend/internal/http/static/spa/assets/use-quasar-B5tVCAcV.js new file mode 100644 index 0000000..e1d22aa --- /dev/null +++ b/backend/internal/http/static/spa/assets/use-quasar-B5tVCAcV.js @@ -0,0 +1 @@ +import{ah as a,bg as r}from"./index-DAvBaevK.js";function u(){return a(r)}export{u}; diff --git a/backend/internal/http/static/spa/assets/use-quasar-BoyshCFo.js b/backend/internal/http/static/spa/assets/use-quasar-BoyshCFo.js deleted file mode 100644 index 42d64c8..0000000 --- a/backend/internal/http/static/spa/assets/use-quasar-BoyshCFo.js +++ /dev/null @@ -1 +0,0 @@ -import{ah as a,bg as r}from"./index-B9vdjdfJ.js";function u(){return a(r)}export{u}; diff --git a/backend/internal/http/static/spa/contact/index.html b/backend/internal/http/static/spa/contact/index.html index a2cdb8a..f9e4df8 100644 --- a/backend/internal/http/static/spa/contact/index.html +++ b/backend/internal/http/static/spa/contact/index.html @@ -1,3 +1,3 @@ -Frontend APP +Frontend APP -
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
Contact us

Reach out for questions, appointments, or support

We take the time to understand your individual needs and goals, creating customized treatment plans to help you achieve optimal health and peace of mind.

Contact details
Contact details
+01-787-582-568
Address
Address
403, Port Washington Road, Canada
Email us
Email us
info@domain.com
Contact form

Send us a message

Share your question and our team will get back to you with the most relevant next step.

How to reach us

Get in touch with us

The goal of our clinic is to deliver compassionate care and exceptional medical services, including general consultations, specialized treatments, and preventive care.

\ No newline at end of file +
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
Contact us

Reach out for questions, appointments, or support

We take the time to understand your individual needs and goals, creating customized treatment plans to help you achieve optimal health and peace of mind.

Contact details
Contact details
+01-787-582-568
Address
Address
403, Port Washington Road, Canada
Email us
Email us
info@domain.com
Contact form

Send us a message

Share your question and our team will get back to you with the most relevant next step.

How to reach us

Get in touch with us

The goal of our clinic is to deliver compassionate care and exceptional medical services, including general consultations, specialized treatments, and preventive care.

\ No newline at end of file diff --git a/backend/internal/http/static/spa/doctordetails/index.html b/backend/internal/http/static/spa/doctordetails/index.html index 0eab5f5..c780a30 100644 --- a/backend/internal/http/static/spa/doctordetails/index.html +++ b/backend/internal/http/static/spa/doctordetails/index.html @@ -1,3 +1,3 @@ -Frontend APP +Frontend APP -
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
Personal biography

Personal biography

Dr. Esther Howard is a highly experienced Psychologist with over 12 years of expertise in assessing and treating a wide range of emotional and behavioral conditions. She focuses on creating personalized treatment plans that balance evidence-based methods with an empathetic, human-centered approach. Her practice combines careful evaluation, practical therapeutic tools, and continuity of care to help patients make sustainable progress through anxiety, depression, trauma, and major life transitions.

My experience

My experience

Graduate intern · 2013 - 2020

At Institution Name focused on family counseling and conflict resolution techniques.

Licensed psychologist · 2020 - present

At Institution Name focused on family counseling and conflict resolution techniques.

My skills

My skills

Psychologist56%
Success case89%
Therapy specialist85%
My expertise area & feature

My expertise area & feature

Esther specializes in cognitive-behavioral therapy, trauma recovery, and mindfulness techniques, offering tailored support for individuals dealing with anxiety, depression, and life transitions.

Experienced professionals
Client-centered approach
Safe and confidential environment
Commitment to growth
Get into touch with me

Get into touch with me

\ No newline at end of file +
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
Personal biography

Personal biography

Dr. Esther Howard is a highly experienced Psychologist with over 12 years of expertise in assessing and treating a wide range of emotional and behavioral conditions. She focuses on creating personalized treatment plans that balance evidence-based methods with an empathetic, human-centered approach. Her practice combines careful evaluation, practical therapeutic tools, and continuity of care to help patients make sustainable progress through anxiety, depression, trauma, and major life transitions.

My experience

My experience

Graduate intern · 2013 - 2020

At Institution Name focused on family counseling and conflict resolution techniques.

Licensed psychologist · 2020 - present

At Institution Name focused on family counseling and conflict resolution techniques.

My skills

My skills

Psychologist56%
Success case89%
Therapy specialist85%
My expertise area & feature

My expertise area & feature

Esther specializes in cognitive-behavioral therapy, trauma recovery, and mindfulness techniques, offering tailored support for individuals dealing with anxiety, depression, and life transitions.

Experienced professionals
Client-centered approach
Safe and confidential environment
Commitment to growth
Get into touch with me

Get into touch with me

\ No newline at end of file diff --git a/backend/internal/http/static/spa/doctors/index.html b/backend/internal/http/static/spa/doctors/index.html index 41431fa..460a500 100644 --- a/backend/internal/http/static/spa/doctors/index.html +++ b/backend/internal/http/static/spa/doctors/index.html @@ -1,3 +1,3 @@ -Frontend APP +Frontend APP -
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
Our doctors

Meet the specialists behind our standard of care

Our medical team brings together diverse specialties with one shared goal: delivering care that is precise, collaborative, and genuinely human.

Dr. Esther Howard

Dr. Esther Howard

Ophthalmology

Dr. Jenny Wilson

Dr. Jenny Wilson

Anesthesiology

Dr. Kristin Watson

Dr. Kristin Watson

Infectious Disease

Dr. Sarah Lee

Dr. Sarah Lee

Pediatrics

Dr. Rachel Davis

Dr. Rachel Davis

Dermatology

\ No newline at end of file +
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
Our doctors

Meet the specialists behind our standard of care

Our medical team brings together diverse specialties with one shared goal: delivering care that is precise, collaborative, and genuinely human.

Dr. Esther Howard

Dr. Esther Howard

Ophthalmology

Dr. Jenny Wilson

Dr. Jenny Wilson

Anesthesiology

Dr. Kristin Watson

Dr. Kristin Watson

Infectious Disease

Dr. Sarah Lee

Dr. Sarah Lee

Pediatrics

Dr. Rachel Davis

Dr. Rachel Davis

Dermatology

\ No newline at end of file diff --git a/backend/internal/http/static/spa/index.html b/backend/internal/http/static/spa/index.html index 40755c3..8fe49b6 100644 --- a/backend/internal/http/static/spa/index.html +++ b/backend/internal/http/static/spa/index.html @@ -1,3 +1,3 @@ -Frontend APP +Frontend APP -
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
Care that feels human, expertise you can trust

Expert medical care you can rely on

Experience healthcare you can trust. Our dedicated team provides compassionate, high-quality care.

About us
Google Rating5.0
based on 500 reviews
Medical team
\ No newline at end of file +
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
Care that feels human, expertise you can trust

Expert medical care you can rely on

Experience healthcare you can trust. Our dedicated team provides compassionate, high-quality care.

About us
Google Rating5.0
based on 500 reviews
Medical team
\ No newline at end of file diff --git a/backend/internal/http/static/spa/login/index.html b/backend/internal/http/static/spa/login/index.html index 7783d13..bb27db2 100644 --- a/backend/internal/http/static/spa/login/index.html +++ b/backend/internal/http/static/spa/login/index.html @@ -1,3 +1,3 @@ -Frontend APP +Frontend APP -
Accesso
Login
Accedi con email e password.


\ No newline at end of file +
Accesso
Login
Accedi con email e password.


\ No newline at end of file diff --git a/backend/internal/http/static/spa/recoverpassword/index.html b/backend/internal/http/static/spa/recoverpassword/index.html index 0a221a3..d7b5118 100644 --- a/backend/internal/http/static/spa/recoverpassword/index.html +++ b/backend/internal/http/static/spa/recoverpassword/index.html @@ -1,3 +1,3 @@ -Frontend APP +Frontend APP -
Recupero
Recover password
Invia la mail di recupero password.


\ No newline at end of file +
Recupero
Recover password
Invia la mail di recupero password.


\ No newline at end of file diff --git a/backend/internal/http/static/spa/services/index.html b/backend/internal/http/static/spa/services/index.html index ad4eb41..b2468c5 100644 --- a/backend/internal/http/static/spa/services/index.html +++ b/backend/internal/http/static/spa/services/index.html @@ -1,3 +1,3 @@ -Frontend APP +Frontend APP -
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
Our services

Specialized care designed around real patient needs

From prevention and diagnostics to treatment planning and follow-up, we build integrated services that make care simpler to access and easier to trust.

40+
clinical professionals available
12
coordinated service areas
24h
average response for triage requests
Clinical areas

Core services patients rely on every day

Each service line is built to combine fast access, specialist expertise, and clear next steps after every appointment.

Preventive and primary care
Preventive and primary care

Preventive and primary care

Routine checkups, early screening, and continuous care planning for long-term health.

  • Annual assessments
  • Vaccination guidance
  • Chronic care monitoring
Specialist consultations
Specialist consultations

Specialist consultations

Access to focused expertise with clear coordination between disciplines and follow-up.

  • Cardiology and internal medicine
  • Pediatric support
  • Referral coordination
Diagnostics and treatment planning
Diagnostics and treatment planning

Diagnostics and treatment planning

Accurate evaluation backed by practical treatment plans patients can actually follow.

  • Clinical diagnostics
  • Evidence-based plans
  • Post-visit support
Service model

How we turn expertise into a better patient experience

01

Understand the need

We start with symptoms, history, urgency, and the service path that best fits the case.

02

Route to the right team

Patients are matched to the most appropriate clinician instead of navigating care alone.

03

Deliver coordinated care

Diagnostics, consultation, and treatment planning happen with clear ownership and timing.

04

Stay present after the visit

Follow-up instructions and next actions remain visible, simple, and easy to execute.

Need guidance?

We help patients find the right service without the usual confusion

Tell us what you need and our team will direct you to the right specialist, timing, and next step.

Medical assistancePatient support
Support icon
Fast triage support
Guidance within one working day
\ No newline at end of file +
Working Hour: 08:00am to 09:00pm
Email: info@domainname.com
Contact: +123 (456) 789
Our services

Specialized care designed around real patient needs

From prevention and diagnostics to treatment planning and follow-up, we build integrated services that make care simpler to access and easier to trust.

40+
clinical professionals available
12
coordinated service areas
24h
average response for triage requests
Clinical areas

Core services patients rely on every day

Each service line is built to combine fast access, specialist expertise, and clear next steps after every appointment.

Preventive and primary care
Preventive and primary care

Preventive and primary care

Routine checkups, early screening, and continuous care planning for long-term health.

  • Annual assessments
  • Vaccination guidance
  • Chronic care monitoring
Specialist consultations
Specialist consultations

Specialist consultations

Access to focused expertise with clear coordination between disciplines and follow-up.

  • Cardiology and internal medicine
  • Pediatric support
  • Referral coordination
Diagnostics and treatment planning
Diagnostics and treatment planning

Diagnostics and treatment planning

Accurate evaluation backed by practical treatment plans patients can actually follow.

  • Clinical diagnostics
  • Evidence-based plans
  • Post-visit support
Service model

How we turn expertise into a better patient experience

01

Understand the need

We start with symptoms, history, urgency, and the service path that best fits the case.

02

Route to the right team

Patients are matched to the most appropriate clinician instead of navigating care alone.

03

Deliver coordinated care

Diagnostics, consultation, and treatment planning happen with clear ownership and timing.

04

Stay present after the visit

Follow-up instructions and next actions remain visible, simple, and easy to execute.

Need guidance?

We help patients find the right service without the usual confusion

Tell us what you need and our team will direct you to the right specialist, timing, and next step.

Medical assistancePatient support
Support icon
Fast triage support
Guidance within one working day
\ No newline at end of file diff --git a/backend/internal/http/static/spa/signup/index.html b/backend/internal/http/static/spa/signup/index.html index e3ff27a..f2a4644 100644 --- a/backend/internal/http/static/spa/signup/index.html +++ b/backend/internal/http/static/spa/signup/index.html @@ -1,3 +1,3 @@ -Frontend APP +Frontend APP -
Registrazione
Sign up
Crea un nuovo utente.

\ No newline at end of file +
Registrazione
Sign up
Crea un nuovo utente.

\ No newline at end of file diff --git a/frontend/src/layouts/MainLayout.vue b/frontend/src/layouts/MainLayout.vue index ffba5f3..da5700a 100644 --- a/frontend/src/layouts/MainLayout.vue +++ b/frontend/src/layouts/MainLayout.vue @@ -2,7 +2,7 @@ - Omnimed logo + Omnimed logo Omnimed
Quasar v{{ $q.version }}
@@ -107,7 +107,7 @@ import { computed, onMounted, ref, watch } from 'vue'; import { useI18n } from 'vue-i18n'; import { useRouter, useRoute } from 'vue-router'; - +import LogoUrl from 'src/assets/home/logo.png'; import { me, type UserShort } from 'src/api/api'; import { usePreferencesStore, type LanguageCode } from 'src/stores/preferences-store';