codex 1.5.0rc1__py3-none-any.whl → 1.5.0rc2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of codex might be problematic. Click here for more details.
- codex/integrity.py +1 -1
- codex/logger/loggerd.py +1 -1
- codex/migrations/0026_comicbox_1.py +41 -19
- codex/serializers/opds/authentication.py +3 -3
- codex/serializers/opds/v2.py +1 -1
- codex/serializers/opds/v2_unused.py +1 -1
- codex/settings/settings.py +0 -5
- codex/static_root/assets/VCheckbox-Flv8K2j6.89239120bde3.css +1 -0
- codex/static_root/assets/VCheckbox-Flv8K2j6.89239120bde3.css.br +0 -0
- codex/static_root/assets/VCheckbox-Flv8K2j6.css +1 -0
- codex/static_root/assets/VCheckbox-Flv8K2j6.css.br +0 -0
- codex/static_root/assets/VCheckbox-MGquS0QE.fa4200601992.js +1 -0
- codex/static_root/assets/VCheckbox-MGquS0QE.fa4200601992.js.br +0 -0
- codex/static_root/assets/VCheckbox-MGquS0QE.fa4200601992.js.gz +0 -0
- codex/static_root/assets/VCheckbox-MGquS0QE.js +1 -0
- codex/static_root/assets/VCheckbox-MGquS0QE.js.br +0 -0
- codex/static_root/assets/VCheckbox-MGquS0QE.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-yxvU5omH.988a7b938375.js +1 -0
- codex/static_root/assets/VCheckboxBtn-yxvU5omH.988a7b938375.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-yxvU5omH.988a7b938375.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-yxvU5omH.js +1 -0
- codex/static_root/assets/VCheckboxBtn-yxvU5omH.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-yxvU5omH.js.gz +0 -0
- codex/static_root/assets/VCombobox-JDYDwU3-.5b3aabc73eeb.css +1 -0
- codex/static_root/assets/VCombobox-JDYDwU3-.5b3aabc73eeb.css.br +0 -0
- codex/static_root/assets/VCombobox-JDYDwU3-.5b3aabc73eeb.css.gz +0 -0
- codex/static_root/assets/VCombobox-JDYDwU3-.css +1 -0
- codex/static_root/assets/VCombobox-JDYDwU3-.css.br +0 -0
- codex/static_root/assets/VCombobox-JDYDwU3-.css.gz +0 -0
- codex/static_root/assets/VCombobox-w65JObkI.97abe248659d.js +1 -0
- codex/static_root/assets/VCombobox-w65JObkI.97abe248659d.js.br +0 -0
- codex/static_root/assets/VCombobox-w65JObkI.97abe248659d.js.gz +0 -0
- codex/static_root/assets/VCombobox-w65JObkI.js +1 -0
- codex/static_root/assets/VCombobox-w65JObkI.js.br +0 -0
- codex/static_root/assets/VCombobox-w65JObkI.js.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-cJ9EDO4X.1a711f5f2fc0.css +1 -0
- codex/static_root/assets/VDataTableVirtual-cJ9EDO4X.1a711f5f2fc0.css.br +0 -0
- codex/static_root/assets/VDataTableVirtual-cJ9EDO4X.1a711f5f2fc0.css.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-cJ9EDO4X.css +1 -0
- codex/static_root/assets/VDataTableVirtual-cJ9EDO4X.css.br +0 -0
- codex/static_root/assets/VDataTableVirtual-cJ9EDO4X.css.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-oL2PAKTi.a8a17160d7ef.js +1 -0
- codex/static_root/assets/VDataTableVirtual-oL2PAKTi.a8a17160d7ef.js.br +0 -0
- codex/static_root/assets/VDataTableVirtual-oL2PAKTi.a8a17160d7ef.js.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-oL2PAKTi.js +1 -0
- codex/static_root/assets/VDataTableVirtual-oL2PAKTi.js.br +0 -0
- codex/static_root/assets/VDataTableVirtual-oL2PAKTi.js.gz +0 -0
- codex/static_root/assets/VExpansionPanel-EX1vU7wN.f746ab10168a.js +1 -0
- codex/static_root/assets/VExpansionPanel-EX1vU7wN.f746ab10168a.js.br +0 -0
- codex/static_root/assets/VExpansionPanel-EX1vU7wN.f746ab10168a.js.gz +0 -0
- codex/static_root/assets/VExpansionPanel-EX1vU7wN.js +1 -0
- codex/static_root/assets/VExpansionPanel-EX1vU7wN.js.br +0 -0
- codex/static_root/assets/VExpansionPanel-EX1vU7wN.js.gz +0 -0
- codex/static_root/assets/VExpansionPanel-gdSap9-6.212a9add7ff2.css +1 -0
- codex/static_root/assets/VExpansionPanel-gdSap9-6.212a9add7ff2.css.br +0 -0
- codex/static_root/assets/VExpansionPanel-gdSap9-6.212a9add7ff2.css.gz +0 -0
- codex/static_root/assets/VExpansionPanel-gdSap9-6.css +1 -0
- codex/static_root/assets/VExpansionPanel-gdSap9-6.css.br +0 -0
- codex/static_root/assets/VExpansionPanel-gdSap9-6.css.gz +0 -0
- codex/static_root/assets/VMain-VT-qZQ__.c0547e61f15f.js +1 -0
- codex/static_root/assets/VMain-VT-qZQ__.c0547e61f15f.js.br +0 -0
- codex/static_root/assets/VMain-VT-qZQ__.c0547e61f15f.js.gz +0 -0
- codex/static_root/assets/VMain-VT-qZQ__.js +1 -0
- codex/static_root/assets/VMain-VT-qZQ__.js.br +0 -0
- codex/static_root/assets/VMain-VT-qZQ__.js.gz +0 -0
- codex/static_root/assets/VMain-crd-1eHM.a00e206f3cfa.css +1 -0
- codex/static_root/assets/VMain-crd-1eHM.a00e206f3cfa.css.br +0 -0
- codex/static_root/assets/VMain-crd-1eHM.a00e206f3cfa.css.gz +0 -0
- codex/static_root/assets/VMain-crd-1eHM.css +1 -0
- codex/static_root/assets/VMain-crd-1eHM.css.br +0 -0
- codex/static_root/assets/VMain-crd-1eHM.css.gz +0 -0
- codex/static_root/assets/VRadioGroup-Itqj_Vrv.8e3741381961.css +1 -0
- codex/static_root/assets/VRadioGroup-Itqj_Vrv.8e3741381961.css.br +0 -0
- codex/static_root/assets/VRadioGroup-Itqj_Vrv.8e3741381961.css.gz +0 -0
- codex/static_root/assets/VRadioGroup-Itqj_Vrv.css +1 -0
- codex/static_root/assets/VRadioGroup-Itqj_Vrv.css.br +0 -0
- codex/static_root/assets/VRadioGroup-Itqj_Vrv.css.gz +0 -0
- codex/static_root/assets/VRadioGroup-TtGu5WYN.82313d607c3b.js +1 -0
- codex/static_root/assets/VRadioGroup-TtGu5WYN.82313d607c3b.js.br +3 -0
- codex/static_root/assets/VRadioGroup-TtGu5WYN.82313d607c3b.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-TtGu5WYN.js +1 -0
- codex/static_root/assets/VRadioGroup-TtGu5WYN.js.br +3 -0
- codex/static_root/assets/VRadioGroup-TtGu5WYN.js.gz +0 -0
- codex/static_root/assets/VSelect-3jR8Um8C.0c8560b189db.css +1 -0
- codex/static_root/assets/VSelect-3jR8Um8C.0c8560b189db.css.br +0 -0
- codex/static_root/assets/VSelect-3jR8Um8C.0c8560b189db.css.gz +0 -0
- codex/static_root/assets/VSelect-3jR8Um8C.css +1 -0
- codex/static_root/assets/VSelect-3jR8Um8C.css.br +0 -0
- codex/static_root/assets/VSelect-3jR8Um8C.css.gz +0 -0
- codex/static_root/assets/VSelect-Yw9YsgjJ.343b4b0ef067.js +1 -0
- codex/static_root/assets/VSelect-Yw9YsgjJ.343b4b0ef067.js.br +0 -0
- codex/static_root/assets/VSelect-Yw9YsgjJ.343b4b0ef067.js.gz +0 -0
- codex/static_root/assets/VSelect-Yw9YsgjJ.js +1 -0
- codex/static_root/assets/VSelect-Yw9YsgjJ.js.br +0 -0
- codex/static_root/assets/VSelect-Yw9YsgjJ.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-9CzKd8rG.94ddb0376ad2.js +1 -0
- codex/static_root/assets/VSelectionControl-9CzKd8rG.94ddb0376ad2.js.br +0 -0
- codex/static_root/assets/VSelectionControl-9CzKd8rG.94ddb0376ad2.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-9CzKd8rG.js +1 -0
- codex/static_root/assets/VSelectionControl-9CzKd8rG.js.br +0 -0
- codex/static_root/assets/VSelectionControl-9CzKd8rG.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-RavvtvCK.9687c77461fc.css +1 -0
- codex/static_root/assets/VSelectionControl-RavvtvCK.9687c77461fc.css.br +0 -0
- codex/static_root/assets/VSelectionControl-RavvtvCK.9687c77461fc.css.gz +0 -0
- codex/static_root/assets/VSelectionControl-RavvtvCK.css +1 -0
- codex/static_root/assets/VSelectionControl-RavvtvCK.css.br +0 -0
- codex/static_root/assets/VSelectionControl-RavvtvCK.css.gz +0 -0
- codex/static_root/assets/VTable-aiByCThw.85589025b93b.css +1 -0
- codex/static_root/assets/VTable-aiByCThw.85589025b93b.css.br +0 -0
- codex/static_root/assets/VTable-aiByCThw.85589025b93b.css.gz +0 -0
- codex/static_root/assets/VTable-aiByCThw.css +1 -0
- codex/static_root/assets/VTable-aiByCThw.css.br +0 -0
- codex/static_root/assets/VTable-aiByCThw.css.gz +0 -0
- codex/static_root/assets/VTable-q30xy1Qm.a295a3c5b1fd.js +1 -0
- codex/static_root/assets/VTable-q30xy1Qm.a295a3c5b1fd.js.br +0 -0
- codex/static_root/assets/VTable-q30xy1Qm.a295a3c5b1fd.js.gz +0 -0
- codex/static_root/assets/VTable-q30xy1Qm.js +1 -0
- codex/static_root/assets/VTable-q30xy1Qm.js.br +0 -0
- codex/static_root/assets/VTable-q30xy1Qm.js.gz +0 -0
- codex/static_root/assets/VTextField-1s8i2nK8.28e3377981c8.js +1 -0
- codex/static_root/assets/VTextField-1s8i2nK8.28e3377981c8.js.br +0 -0
- codex/static_root/assets/VTextField-1s8i2nK8.28e3377981c8.js.gz +0 -0
- codex/static_root/assets/VTextField-1s8i2nK8.js +1 -0
- codex/static_root/assets/VTextField-1s8i2nK8.js.br +0 -0
- codex/static_root/assets/VTextField-1s8i2nK8.js.gz +0 -0
- codex/static_root/assets/VTextField-8NJPNEpH.190723039dea.css +1 -0
- codex/static_root/assets/VTextField-8NJPNEpH.190723039dea.css.br +0 -0
- codex/static_root/assets/VTextField-8NJPNEpH.190723039dea.css.gz +0 -0
- codex/static_root/assets/VTextField-8NJPNEpH.css +1 -0
- codex/static_root/assets/VTextField-8NJPNEpH.css.br +0 -0
- codex/static_root/assets/VTextField-8NJPNEpH.css.gz +0 -0
- codex/static_root/assets/VToolbar-BBzymioO.ec12d95a725e.js +7 -0
- codex/static_root/assets/VToolbar-BBzymioO.ec12d95a725e.js.br +0 -0
- codex/static_root/assets/VToolbar-BBzymioO.ec12d95a725e.js.gz +0 -0
- codex/static_root/assets/VToolbar-BBzymioO.js +7 -0
- codex/static_root/assets/VToolbar-BBzymioO.js.br +0 -0
- codex/static_root/assets/VToolbar-BBzymioO.js.gz +0 -0
- codex/static_root/assets/VToolbar-PLads6MY.css +1 -0
- codex/static_root/assets/VToolbar-PLads6MY.css.br +0 -0
- codex/static_root/assets/VToolbar-PLads6MY.css.gz +0 -0
- codex/static_root/assets/VToolbar-PLads6MY.ebe8dfc407e8.css +1 -0
- codex/static_root/assets/VToolbar-PLads6MY.ebe8dfc407e8.css.br +0 -0
- codex/static_root/assets/VToolbar-PLads6MY.ebe8dfc407e8.css.gz +0 -0
- codex/static_root/assets/VWindowItem--TlRwQ5R.css +1 -0
- codex/static_root/assets/VWindowItem--TlRwQ5R.css.br +0 -0
- codex/static_root/assets/VWindowItem--TlRwQ5R.css.gz +0 -0
- codex/static_root/assets/VWindowItem--TlRwQ5R.fe195e056b07.css +1 -0
- codex/static_root/assets/VWindowItem--TlRwQ5R.fe195e056b07.css.br +0 -0
- codex/static_root/assets/VWindowItem--TlRwQ5R.fe195e056b07.css.gz +0 -0
- codex/static_root/assets/VWindowItem-J3hy1lxS.b8e6081f6afc.js +1 -0
- codex/static_root/assets/VWindowItem-J3hy1lxS.b8e6081f6afc.js.br +0 -0
- codex/static_root/assets/VWindowItem-J3hy1lxS.b8e6081f6afc.js.gz +0 -0
- codex/static_root/assets/VWindowItem-J3hy1lxS.js +1 -0
- codex/static_root/assets/VWindowItem-J3hy1lxS.js.br +0 -0
- codex/static_root/assets/VWindowItem-J3hy1lxS.js.gz +0 -0
- codex/static_root/assets/admin-MwCSFwIp.6de10f13b01b.css +1 -0
- codex/static_root/assets/admin-MwCSFwIp.6de10f13b01b.css.br +0 -0
- codex/static_root/assets/admin-MwCSFwIp.6de10f13b01b.css.gz +0 -0
- codex/static_root/assets/admin-MwCSFwIp.css +1 -0
- codex/static_root/assets/admin-MwCSFwIp.css.br +0 -0
- codex/static_root/assets/admin-MwCSFwIp.css.gz +0 -0
- codex/static_root/assets/admin-NMv29Iqq.9918d0dee7ba.js +1 -0
- codex/static_root/assets/admin-NMv29Iqq.9918d0dee7ba.js.br +0 -0
- codex/static_root/assets/admin-NMv29Iqq.9918d0dee7ba.js.gz +0 -0
- codex/static_root/assets/admin-NMv29Iqq.js +1 -0
- codex/static_root/assets/admin-NMv29Iqq.js.br +0 -0
- codex/static_root/assets/admin-NMv29Iqq.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.a2371ad685d2.js +33 -0
- codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.a2371ad685d2.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.a2371ad685d2.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.js +33 -0
- codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-JjJ1iA6R.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-qf94Ysts.c0696c636fab.css +1 -0
- codex/static_root/assets/admin-drawer-panel-qf94Ysts.c0696c636fab.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-qf94Ysts.c0696c636fab.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-qf94Ysts.css +1 -0
- codex/static_root/assets/admin-drawer-panel-qf94Ysts.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-qf94Ysts.css.gz +0 -0
- codex/static_root/assets/{browser-LpHrL2zI.11f261776acd.css → browser-hLiDgCIH.6dd225a38a22.css} +1 -1
- codex/static_root/assets/browser-hLiDgCIH.6dd225a38a22.css.br +0 -0
- codex/static_root/assets/{browser-LpHrL2zI.11f261776acd.css.gz → browser-hLiDgCIH.6dd225a38a22.css.gz} +0 -0
- codex/static_root/assets/{browser-LpHrL2zI.css → browser-hLiDgCIH.css} +1 -1
- codex/static_root/assets/browser-hLiDgCIH.css.br +0 -0
- codex/static_root/assets/{browser-LpHrL2zI.css.gz → browser-hLiDgCIH.css.gz} +0 -0
- codex/static_root/assets/browser-zvI8XpnW.3f264709f471.js +1 -0
- codex/static_root/assets/browser-zvI8XpnW.3f264709f471.js.br +0 -0
- codex/static_root/assets/browser-zvI8XpnW.3f264709f471.js.gz +0 -0
- codex/static_root/assets/browser-zvI8XpnW.js +1 -0
- codex/static_root/assets/browser-zvI8XpnW.js.br +0 -0
- codex/static_root/assets/browser-zvI8XpnW.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-9i9SZGmU.83b35cb4309c.js +1 -0
- codex/static_root/assets/change-password-dialog-9i9SZGmU.83b35cb4309c.js.br +0 -0
- codex/static_root/assets/change-password-dialog-9i9SZGmU.83b35cb4309c.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-9i9SZGmU.js +1 -0
- codex/static_root/assets/change-password-dialog-9i9SZGmU.js.br +0 -0
- codex/static_root/assets/change-password-dialog-9i9SZGmU.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-UZr5DYqw.2fead58a78c7.css +1 -0
- codex/static_root/assets/change-password-dialog-UZr5DYqw.2fead58a78c7.css.br +0 -0
- codex/static_root/assets/change-password-dialog-UZr5DYqw.2fead58a78c7.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-UZr5DYqw.css +1 -0
- codex/static_root/assets/change-password-dialog-UZr5DYqw.css.br +0 -0
- codex/static_root/assets/change-password-dialog-UZr5DYqw.css.gz +0 -0
- codex/static_root/assets/confirm-dialog-3RjVRgsv.46d811c7f837.js +1 -0
- codex/static_root/assets/confirm-dialog-3RjVRgsv.46d811c7f837.js.br +0 -0
- codex/static_root/assets/confirm-dialog-3RjVRgsv.46d811c7f837.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-3RjVRgsv.js +1 -0
- codex/static_root/assets/confirm-dialog-3RjVRgsv.js.br +0 -0
- codex/static_root/assets/confirm-dialog-3RjVRgsv.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-ZoXnSwsX.7c2103d319d4.css +1 -0
- codex/static_root/assets/confirm-dialog-ZoXnSwsX.css +1 -0
- codex/static_root/assets/confirm-footer-IJHq21-K.8e9be6e41786.js +1 -0
- codex/static_root/assets/confirm-footer-IJHq21-K.8e9be6e41786.js.br +0 -0
- codex/static_root/assets/confirm-footer-IJHq21-K.8e9be6e41786.js.gz +0 -0
- codex/static_root/assets/confirm-footer-IJHq21-K.js +1 -0
- codex/static_root/assets/confirm-footer-IJHq21-K.js.br +0 -0
- codex/static_root/assets/confirm-footer-IJHq21-K.js.gz +0 -0
- codex/static_root/assets/confirm-footer-wmmDHzIL.04fb93e7daf3.css +1 -0
- codex/static_root/assets/confirm-footer-wmmDHzIL.04fb93e7daf3.css.br +0 -0
- codex/static_root/assets/confirm-footer-wmmDHzIL.04fb93e7daf3.css.gz +0 -0
- codex/static_root/assets/confirm-footer-wmmDHzIL.css +1 -0
- codex/static_root/assets/confirm-footer-wmmDHzIL.css.br +0 -0
- codex/static_root/assets/confirm-footer-wmmDHzIL.css.gz +0 -0
- codex/static_root/assets/datetime-column-Vln78oZ2.a4a94ba57c73.css +1 -0
- codex/static_root/assets/datetime-column-Vln78oZ2.a4a94ba57c73.css.br +0 -0
- codex/static_root/assets/datetime-column-Vln78oZ2.css +1 -0
- codex/static_root/assets/datetime-column-Vln78oZ2.css.br +0 -0
- codex/static_root/assets/datetime-column-hS6FHx6v.1158c5db4d07.js +1 -0
- codex/static_root/assets/datetime-column-hS6FHx6v.1158c5db4d07.js.br +0 -0
- codex/static_root/assets/datetime-column-hS6FHx6v.1158c5db4d07.js.gz +0 -0
- codex/static_root/assets/datetime-column-hS6FHx6v.js +1 -0
- codex/static_root/assets/datetime-column-hS6FHx6v.js.br +0 -0
- codex/static_root/assets/datetime-column-hS6FHx6v.js.gz +0 -0
- codex/static_root/assets/filter-jwn1nJiw.5001415d600e.js +1 -0
- codex/static_root/assets/filter-jwn1nJiw.5001415d600e.js.br +0 -0
- codex/static_root/assets/filter-jwn1nJiw.5001415d600e.js.gz +0 -0
- codex/static_root/assets/filter-jwn1nJiw.js +1 -0
- codex/static_root/assets/filter-jwn1nJiw.js.br +0 -0
- codex/static_root/assets/filter-jwn1nJiw.js.gz +0 -0
- codex/static_root/assets/flag-tab--ch0e4rD.58776d26590c.js +1 -0
- codex/static_root/assets/flag-tab--ch0e4rD.58776d26590c.js.br +0 -0
- codex/static_root/assets/flag-tab--ch0e4rD.58776d26590c.js.gz +0 -0
- codex/static_root/assets/flag-tab--ch0e4rD.js +1 -0
- codex/static_root/assets/flag-tab--ch0e4rD.js.br +0 -0
- codex/static_root/assets/flag-tab--ch0e4rD.js.gz +0 -0
- codex/static_root/assets/flag-tab-Iblj4w2l.6bf1e65123e6.css +1 -0
- codex/static_root/assets/flag-tab-Iblj4w2l.6bf1e65123e6.css.br +1 -0
- codex/static_root/assets/flag-tab-Iblj4w2l.6bf1e65123e6.css.gz +0 -0
- codex/static_root/assets/flag-tab-Iblj4w2l.css +1 -0
- codex/static_root/assets/flag-tab-Iblj4w2l.css.br +1 -0
- codex/static_root/assets/flag-tab-Iblj4w2l.css.gz +0 -0
- codex/static_root/assets/group-tab-ArQ1w79f.cc06faf5e6b9.js +1 -0
- codex/static_root/assets/group-tab-ArQ1w79f.cc06faf5e6b9.js.br +0 -0
- codex/static_root/assets/group-tab-ArQ1w79f.cc06faf5e6b9.js.gz +0 -0
- codex/static_root/assets/group-tab-ArQ1w79f.js +1 -0
- codex/static_root/assets/group-tab-ArQ1w79f.js.br +0 -0
- codex/static_root/assets/group-tab-ArQ1w79f.js.gz +0 -0
- codex/static_root/assets/group-tab-Nw18UnrX.5fc2cfa31669.css +1 -0
- codex/static_root/assets/group-tab-Nw18UnrX.5fc2cfa31669.css.br +0 -0
- codex/static_root/assets/group-tab-Nw18UnrX.5fc2cfa31669.css.gz +0 -0
- codex/static_root/assets/group-tab-Nw18UnrX.css +1 -0
- codex/static_root/assets/group-tab-Nw18UnrX.css.br +0 -0
- codex/static_root/assets/group-tab-Nw18UnrX.css.gz +0 -0
- codex/static_root/assets/http-error--_xFbHmk.4ac657568407.js +1 -0
- codex/static_root/assets/http-error--_xFbHmk.4ac657568407.js.br +0 -0
- codex/static_root/assets/http-error--_xFbHmk.4ac657568407.js.gz +0 -0
- codex/static_root/assets/http-error--_xFbHmk.js +1 -0
- codex/static_root/assets/http-error--_xFbHmk.js.br +0 -0
- codex/static_root/assets/http-error--_xFbHmk.js.gz +0 -0
- codex/static_root/assets/index-RrPhDVxT.36d50c91b2c1.js +1 -0
- codex/static_root/assets/index-RrPhDVxT.36d50c91b2c1.js.br +0 -0
- codex/static_root/assets/index-RrPhDVxT.36d50c91b2c1.js.gz +0 -0
- codex/static_root/assets/index-RrPhDVxT.js +1 -0
- codex/static_root/assets/index-RrPhDVxT.js.br +0 -0
- codex/static_root/assets/index-RrPhDVxT.js.gz +0 -0
- codex/static_root/assets/library-tab-2Sg7UOb_.c8123e4bc5a4.css +1 -0
- codex/static_root/assets/library-tab-2Sg7UOb_.c8123e4bc5a4.css.br +3 -0
- codex/static_root/assets/library-tab-2Sg7UOb_.c8123e4bc5a4.css.gz +0 -0
- codex/static_root/assets/library-tab-2Sg7UOb_.css +1 -0
- codex/static_root/assets/library-tab-2Sg7UOb_.css.br +3 -0
- codex/static_root/assets/library-tab-2Sg7UOb_.css.gz +0 -0
- codex/static_root/assets/library-tab-DTSk7xJH.c19461f4ea09.js +1 -0
- codex/static_root/assets/library-tab-DTSk7xJH.c19461f4ea09.js.br +0 -0
- codex/static_root/assets/library-tab-DTSk7xJH.c19461f4ea09.js.gz +0 -0
- codex/static_root/assets/library-tab-DTSk7xJH.js +1 -0
- codex/static_root/assets/library-tab-DTSk7xJH.js.br +0 -0
- codex/static_root/assets/library-tab-DTSk7xJH.js.gz +0 -0
- codex/static_root/assets/main-fEXxBNBg.d57876a83567.js +37 -0
- codex/static_root/assets/main-fEXxBNBg.d57876a83567.js.br +0 -0
- codex/static_root/assets/main-fEXxBNBg.d57876a83567.js.gz +0 -0
- codex/static_root/assets/main-fEXxBNBg.js +37 -0
- codex/static_root/assets/main-fEXxBNBg.js.br +0 -0
- codex/static_root/assets/main-fEXxBNBg.js.gz +0 -0
- codex/static_root/assets/{metadata-dialog-h6Ksq8nL.042fed116504.css → metadata-dialog-GoqskInA.4e2d05d79644.css} +1 -1
- codex/static_root/assets/metadata-dialog-GoqskInA.4e2d05d79644.css.br +0 -0
- codex/static_root/assets/metadata-dialog-GoqskInA.4e2d05d79644.css.gz +0 -0
- codex/static_root/assets/{metadata-dialog-h6Ksq8nL.css → metadata-dialog-GoqskInA.css} +1 -1
- codex/static_root/assets/metadata-dialog-GoqskInA.css.br +0 -0
- codex/static_root/assets/metadata-dialog-GoqskInA.css.gz +0 -0
- codex/static_root/assets/metadata-dialog-JnnKcg8a.ab72001734ab.js +1 -0
- codex/static_root/assets/metadata-dialog-JnnKcg8a.ab72001734ab.js.br +0 -0
- codex/static_root/assets/metadata-dialog-JnnKcg8a.ab72001734ab.js.gz +0 -0
- codex/static_root/assets/metadata-dialog-JnnKcg8a.js +1 -0
- codex/static_root/assets/metadata-dialog-JnnKcg8a.js.br +0 -0
- codex/static_root/assets/metadata-dialog-JnnKcg8a.js.gz +0 -0
- codex/static_root/assets/{page-pdf-8DCW311Z.58ff7f64f5c7.js → page-pdf-g4F4Ke5z.389bdaf4fdf0.js} +1 -1
- codex/static_root/assets/page-pdf-g4F4Ke5z.389bdaf4fdf0.js.br +0 -0
- codex/static_root/assets/page-pdf-g4F4Ke5z.389bdaf4fdf0.js.gz +0 -0
- codex/static_root/assets/{page-pdf-8DCW311Z.js → page-pdf-g4F4Ke5z.js} +1 -1
- codex/static_root/assets/page-pdf-g4F4Ke5z.js.br +0 -0
- codex/static_root/assets/page-pdf-g4F4Ke5z.js.gz +0 -0
- codex/static_root/assets/reader-QLyUuSWQ.9e6c0e79fcc4.js +7 -0
- codex/static_root/assets/reader-QLyUuSWQ.9e6c0e79fcc4.js.br +0 -0
- codex/static_root/assets/reader-QLyUuSWQ.9e6c0e79fcc4.js.gz +0 -0
- codex/static_root/assets/reader-QLyUuSWQ.js +7 -0
- codex/static_root/assets/reader-QLyUuSWQ.js.br +0 -0
- codex/static_root/assets/reader-QLyUuSWQ.js.gz +0 -0
- codex/static_root/assets/stats-tab-Uk5KYfnH.577928e85d6f.js +1 -0
- codex/static_root/assets/stats-tab-Uk5KYfnH.577928e85d6f.js.br +0 -0
- codex/static_root/assets/stats-tab-Uk5KYfnH.577928e85d6f.js.gz +0 -0
- codex/static_root/assets/stats-tab-Uk5KYfnH.js +1 -0
- codex/static_root/assets/stats-tab-Uk5KYfnH.js.br +0 -0
- codex/static_root/assets/stats-tab-Uk5KYfnH.js.gz +0 -0
- codex/static_root/assets/stats-tab-p4QMYgdc.2f98833311d8.css +1 -0
- codex/static_root/assets/stats-tab-p4QMYgdc.2f98833311d8.css.br +0 -0
- codex/static_root/assets/stats-tab-p4QMYgdc.2f98833311d8.css.gz +0 -0
- codex/static_root/assets/stats-tab-p4QMYgdc.css +1 -0
- codex/static_root/assets/stats-tab-p4QMYgdc.css.br +0 -0
- codex/static_root/assets/stats-tab-p4QMYgdc.css.gz +0 -0
- codex/static_root/assets/task-tab-ZlzQK_L_.11bd9219039b.css +1 -0
- codex/static_root/assets/task-tab-ZlzQK_L_.11bd9219039b.css.br +4 -0
- codex/static_root/assets/task-tab-ZlzQK_L_.11bd9219039b.css.gz +0 -0
- codex/static_root/assets/task-tab-ZlzQK_L_.css +1 -0
- codex/static_root/assets/task-tab-ZlzQK_L_.css.br +4 -0
- codex/static_root/assets/task-tab-ZlzQK_L_.css.gz +0 -0
- codex/static_root/assets/task-tab-yrzb0Yg7.acca63d69906.js +1 -0
- codex/static_root/assets/task-tab-yrzb0Yg7.acca63d69906.js.br +0 -0
- codex/static_root/assets/task-tab-yrzb0Yg7.acca63d69906.js.gz +0 -0
- codex/static_root/assets/task-tab-yrzb0Yg7.js +1 -0
- codex/static_root/assets/task-tab-yrzb0Yg7.js.br +0 -0
- codex/static_root/assets/task-tab-yrzb0Yg7.js.gz +0 -0
- codex/static_root/assets/to-case-FdEoSAB7.98a284e67723.js +1 -0
- codex/static_root/assets/to-case-FdEoSAB7.98a284e67723.js.br +0 -0
- codex/static_root/assets/to-case-FdEoSAB7.js +1 -0
- codex/static_root/assets/to-case-FdEoSAB7.js.br +0 -0
- codex/static_root/assets/user-tab-tjEgknk-.03270572c181.js +1 -0
- codex/static_root/assets/user-tab-tjEgknk-.03270572c181.js.br +0 -0
- codex/static_root/assets/user-tab-tjEgknk-.03270572c181.js.gz +0 -0
- codex/static_root/assets/user-tab-tjEgknk-.js +1 -0
- codex/static_root/assets/user-tab-tjEgknk-.js.br +0 -0
- codex/static_root/assets/user-tab-tjEgknk-.js.gz +0 -0
- codex/static_root/manifest.e029798eeec1.json +572 -0
- codex/static_root/manifest.e029798eeec1.json.br +0 -0
- codex/static_root/manifest.e029798eeec1.json.gz +0 -0
- codex/static_root/manifest.json +572 -0
- codex/static_root/manifest.json.br +0 -0
- codex/static_root/manifest.json.gz +0 -0
- codex/static_root/staticfiles.json +1 -1
- codex/views/browser/metadata.py +17 -12
- codex/views/const.py +2 -0
- codex/views/cover.py +1 -1
- codex/views/opds/const.py +0 -1
- codex/views/opds/v1/feed.py +2 -5
- codex/views/opds/v2/feed.py +2 -1
- codex/views/opds/v2/links.py +3 -2
- codex/views/reader/page.py +2 -2
- codex/views/template.py +1 -1
- {codex-1.5.0rc1.dist-info → codex-1.5.0rc2.dist-info}/METADATA +29 -27
- {codex-1.5.0rc1.dist-info → codex-1.5.0rc2.dist-info}/RECORD +372 -117
- codex/static_root/admin/css/codex-admin-dark.4d45b3679935.css +0 -51
- codex/static_root/admin/css/codex-admin-dark.4d45b3679935.css.br +0 -0
- codex/static_root/admin/css/codex-admin-dark.4d45b3679935.css.gz +0 -0
- codex/static_root/admin/css/codex-admin-dark.css +0 -51
- codex/static_root/admin/css/codex-admin-dark.css.br +0 -0
- codex/static_root/admin/css/codex-admin-dark.css.gz +0 -0
- codex/static_root/admin/css/codex-admin.7ad6b144bf84.css +0 -60
- codex/static_root/admin/css/codex-admin.7ad6b144bf84.css.br +0 -0
- codex/static_root/admin/css/codex-admin.7ad6b144bf84.css.gz +0 -0
- codex/static_root/admin/css/codex-admin.css +0 -60
- codex/static_root/admin/css/codex-admin.css.br +0 -0
- codex/static_root/admin/css/codex-admin.css.gz +0 -0
- codex/static_root/admin/css/queue-job.bee4dbac67f1.css +0 -9
- codex/static_root/admin/css/queue-job.bee4dbac67f1.css.br +0 -0
- codex/static_root/admin/css/queue-job.bee4dbac67f1.css.gz +0 -0
- codex/static_root/admin/css/queue-job.css +0 -9
- codex/static_root/admin/css/queue-job.css.br +0 -0
- codex/static_root/admin/css/queue-job.css.gz +0 -0
- codex/static_root/admin/js/queue-job.628c5e325415.js +0 -53
- codex/static_root/admin/js/queue-job.628c5e325415.js.br +0 -0
- codex/static_root/admin/js/queue-job.628c5e325415.js.gz +0 -0
- codex/static_root/admin/js/queue-job.js +0 -53
- codex/static_root/admin/js/queue-job.js.br +0 -0
- codex/static_root/admin/js/queue-job.js.gz +0 -0
- codex/static_root/assets/admin-I3RmFwkX.css +0 -1
- codex/static_root/assets/admin-I3RmFwkX.css.br +0 -0
- codex/static_root/assets/admin-I3RmFwkX.css.gz +0 -0
- codex/static_root/assets/admin-I3RmFwkX.f37f64bccd87.css +0 -1
- codex/static_root/assets/admin-I3RmFwkX.f37f64bccd87.css.br +0 -0
- codex/static_root/assets/admin-I3RmFwkX.f37f64bccd87.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-6Jzha_HG.c37134d4a58c.css +0 -1
- codex/static_root/assets/admin-drawer-panel-6Jzha_HG.c37134d4a58c.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-6Jzha_HG.c37134d4a58c.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-6Jzha_HG.css +0 -1
- codex/static_root/assets/admin-drawer-panel-6Jzha_HG.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-6Jzha_HG.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-v7PBN80C.b839d90a76e3.js +0 -1
- codex/static_root/assets/admin-drawer-panel-v7PBN80C.b839d90a76e3.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-v7PBN80C.b839d90a76e3.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-v7PBN80C.js +0 -1
- codex/static_root/assets/admin-drawer-panel-v7PBN80C.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-v7PBN80C.js.gz +0 -0
- codex/static_root/assets/admin-eKzY3vzh.6fb51913d3af.js +0 -49
- codex/static_root/assets/admin-eKzY3vzh.6fb51913d3af.js.br +0 -0
- codex/static_root/assets/admin-eKzY3vzh.6fb51913d3af.js.gz +0 -0
- codex/static_root/assets/admin-eKzY3vzh.js +0 -49
- codex/static_root/assets/admin-eKzY3vzh.js.br +0 -0
- codex/static_root/assets/admin-eKzY3vzh.js.gz +0 -0
- codex/static_root/assets/browser-2U3chfQN.9841f3b5f8bf.js +0 -1
- codex/static_root/assets/browser-2U3chfQN.9841f3b5f8bf.js.br +0 -0
- codex/static_root/assets/browser-2U3chfQN.9841f3b5f8bf.js.gz +0 -0
- codex/static_root/assets/browser-2U3chfQN.js +0 -1
- codex/static_root/assets/browser-2U3chfQN.js.br +0 -0
- codex/static_root/assets/browser-2U3chfQN.js.gz +0 -0
- codex/static_root/assets/browser-LpHrL2zI.11f261776acd.css.br +0 -0
- codex/static_root/assets/browser-LpHrL2zI.css.br +0 -0
- codex/static_root/assets/http-error-tGvBmzRt.6d163aa84451.js +0 -1
- codex/static_root/assets/http-error-tGvBmzRt.6d163aa84451.js.br +0 -0
- codex/static_root/assets/http-error-tGvBmzRt.6d163aa84451.js.gz +0 -0
- codex/static_root/assets/http-error-tGvBmzRt.js +0 -1
- codex/static_root/assets/http-error-tGvBmzRt.js.br +0 -0
- codex/static_root/assets/http-error-tGvBmzRt.js.gz +0 -0
- codex/static_root/assets/main-2hDi4F7b.a08454eeb79f.js +0 -1
- codex/static_root/assets/main-2hDi4F7b.a08454eeb79f.js.br +0 -0
- codex/static_root/assets/main-2hDi4F7b.a08454eeb79f.js.gz +0 -0
- codex/static_root/assets/main-2hDi4F7b.js +0 -1
- codex/static_root/assets/main-2hDi4F7b.js.br +0 -0
- codex/static_root/assets/main-2hDi4F7b.js.gz +0 -0
- codex/static_root/assets/metadata-dialog-LCLm-ZqL.26f9e71ba429.js +0 -1
- codex/static_root/assets/metadata-dialog-LCLm-ZqL.26f9e71ba429.js.br +0 -0
- codex/static_root/assets/metadata-dialog-LCLm-ZqL.26f9e71ba429.js.gz +0 -0
- codex/static_root/assets/metadata-dialog-LCLm-ZqL.js +0 -1
- codex/static_root/assets/metadata-dialog-LCLm-ZqL.js.br +0 -0
- codex/static_root/assets/metadata-dialog-LCLm-ZqL.js.gz +0 -0
- codex/static_root/assets/metadata-dialog-h6Ksq8nL.042fed116504.css.br +0 -0
- codex/static_root/assets/metadata-dialog-h6Ksq8nL.042fed116504.css.gz +0 -0
- codex/static_root/assets/metadata-dialog-h6Ksq8nL.css.br +0 -0
- codex/static_root/assets/metadata-dialog-h6Ksq8nL.css.gz +0 -0
- codex/static_root/assets/page-pdf-8DCW311Z.58ff7f64f5c7.js.br +0 -0
- codex/static_root/assets/page-pdf-8DCW311Z.58ff7f64f5c7.js.gz +0 -0
- codex/static_root/assets/page-pdf-8DCW311Z.js.br +0 -0
- codex/static_root/assets/page-pdf-8DCW311Z.js.gz +0 -0
- codex/static_root/assets/reader-YZw9-gq4.c6e5ac51f5b9.js +0 -7
- codex/static_root/assets/reader-YZw9-gq4.c6e5ac51f5b9.js.br +0 -0
- codex/static_root/assets/reader-YZw9-gq4.c6e5ac51f5b9.js.gz +0 -0
- codex/static_root/assets/reader-YZw9-gq4.js +0 -7
- codex/static_root/assets/reader-YZw9-gq4.js.br +0 -0
- codex/static_root/assets/reader-YZw9-gq4.js.gz +0 -0
- {codex-1.5.0rc1.dist-info → codex-1.5.0rc2.dist-info}/LICENSE +0 -0
- {codex-1.5.0rc1.dist-info → codex-1.5.0rc2.dist-info}/WHEEL +0 -0
- {codex-1.5.0rc1.dist-info → codex-1.5.0rc2.dist-info}/entry_points.txt +0 -0
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
function sc(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Ct={},bo=[],kn=()=>{},KT=()=>!1,Ga=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Lh=e=>e.startsWith("onUpdate:"),Ht=Object.assign,Oh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qT=Object.prototype.hasOwnProperty,yt=(e,t)=>qT.call(e,t),Fe=Array.isArray,_o=e=>Oo(e)==="[object Map]",Hi=e=>Oo(e)==="[object Set]",Rp=e=>Oo(e)==="[object Date]",YT=e=>Oo(e)==="[object RegExp]",Xe=e=>typeof e=="function",Nt=e=>typeof e=="string",ei=e=>typeof e=="symbol",Pt=e=>e!==null&&typeof e=="object",Dh=e=>(Pt(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),eb=Object.prototype.toString,Oo=e=>eb.call(e),ZT=e=>Oo(e).slice(8,-1),tb=e=>Oo(e)==="[object Object]",Mh=e=>Nt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ga=sc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ic=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},XT=/-(\w)/g,mn=ic(e=>e.replace(XT,(t,n)=>n?n.toUpperCase():"")),JT=/\B([A-Z])/g,Jn=ic(e=>e.replace(JT,"-$1").toLowerCase()),oi=ic(e=>e.charAt(0).toUpperCase()+e.slice(1)),pa=ic(e=>e?`on${oi(e)}`:""),Ir=(e,t)=>!Object.is(e,t),wo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Pu=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ku=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Tu=e=>{const t=Nt(e)?Number(e):NaN;return isNaN(t)?e:t};let Ip;const nb=()=>Ip||(Ip=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),QT="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",eR=sc(QT);function ja(e){if(Fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Nt(r)?sR(r):ja(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(Nt(e)||Pt(e))return e}const tR=/;(?![^(]*\))/g,nR=/:([^]+)/,rR=/\/\*[^]*?\*\//g;function sR(e){const t={};return e.replace(rR,"").split(tR).forEach(n=>{if(n){const r=n.split(nR);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Vr(e){let t="";if(Nt(e))t=e;else if(Fe(e))for(let n=0;n<e.length;n++){const r=Vr(e[n]);r&&(t+=r+" ")}else if(Pt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Fh(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Nt(t)&&(e.class=Vr(t)),n&&(e.style=ja(n)),e}const iR="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",oR=sc(iR);function rb(e){return!!e||e===""}function aR(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ti(e[r],t[r]);return n}function ti(e,t){if(e===t)return!0;let n=Rp(e),r=Rp(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ei(e),r=ei(t),n||r)return e===t;if(n=Fe(e),r=Fe(t),n||r)return n&&r?aR(e,t):!1;if(n=Pt(e),r=Pt(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const l in e){const u=e.hasOwnProperty(l),f=t.hasOwnProperty(l);if(u&&!f||!u&&f||!ti(e[l],t[l]))return!1}}return String(e)===String(t)}function oc(e,t){return e.findIndex(n=>ti(n,t))}const Te=e=>Nt(e)?e:e==null?"":Fe(e)||Pt(e)&&(e.toString===eb||!Xe(e.toString))?JSON.stringify(e,sb,2):String(e),sb=(e,t)=>t&&t.__v_isRef?sb(e,t.value):_o(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[od(r,o)+" =>"]=i,n),{})}:Hi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>od(n))}:ei(t)?od(t):Pt(t)&&!Fe(t)&&!tb(t)?String(t):t,od=(e,t="")=>{var n;return ei(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Zn;class Bh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Zn,!t&&Zn&&(this.index=(Zn.scopes||(Zn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Zn;try{return Zn=this,t()}finally{Zn=n}}}on(){Zn=this}off(){Zn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function Do(e){return new Bh(e)}function ib(e,t=Zn){t&&t.active&&t.effects.push(e)}function $h(){return Zn}function _n(e){Zn&&Zn.cleanups.push(e)}let Ti;class xo{constructor(t,n,r,i){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,ib(this,i)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,Ni();for(const t of this.deps)if(t.computed&&(lR(t.computed),this._dirtyLevel>=2))break;Ui(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Qs,n=Ti;try{return Qs=!0,Ti=this,this._runnings++,Vp(this),this.fn()}finally{Lp(this),this._runnings--,Ti=n,Qs=t}}stop(){var t;this.active&&(Vp(this),Lp(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function lR(e){return e.value}function Vp(e){e._trackId++,e._depsLength=0}function Lp(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)ob(e.deps[t],e);e.deps.length=e._depsLength}}function ob(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function uR(e,t){e.effect instanceof xo&&(e=e.effect.fn);const n=new xo(e,kn,()=>{n.dirty&&n.run()});t&&(Ht(n,t),t.scope&&ib(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function cR(e){e.effect.stop()}let Qs=!0,Md=0;const ab=[];function Ni(){ab.push(Qs),Qs=!1}function Ui(){const e=ab.pop();Qs=e===void 0?!0:e}function Hh(){Md++}function Nh(){for(Md--;!Md&&Fd.length;)Fd.shift()()}function lb(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&ob(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Fd=[];function ub(e,t,n){Hh();for(const r of e.keys())if(!(!r.allowRecurse&&r._runnings)&&r._dirtyLevel<t&&(!r._runnings||t!==2)){const i=r._dirtyLevel;r._dirtyLevel=t,i===0&&(!r._queryings||t!==2)&&(r.trigger(),r.scheduler&&Fd.push(r.scheduler))}Nh()}const cb=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ru=new WeakMap,Ri=Symbol(""),Bd=Symbol("");function Hn(e,t,n){if(Qs&&Ti){let r=Ru.get(e);r||Ru.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=cb(()=>r.delete(n))),lb(Ti,i)}}function _s(e,t,n,r,i,o){const l=Ru.get(e);if(!l)return;let u=[];if(t==="clear")u=[...l.values()];else if(n==="length"&&Fe(e)){const f=Number(r);l.forEach((d,h)=>{(h==="length"||!ei(h)&&h>=f)&&u.push(d)})}else switch(n!==void 0&&u.push(l.get(n)),t){case"add":Fe(e)?Mh(n)&&u.push(l.get("length")):(u.push(l.get(Ri)),_o(e)&&u.push(l.get(Bd)));break;case"delete":Fe(e)||(u.push(l.get(Ri)),_o(e)&&u.push(l.get(Bd)));break;case"set":_o(e)&&u.push(l.get(Ri));break}Hh();for(const f of u)f&&ub(f,3);Nh()}function fR(e,t){var n;return(n=Ru.get(e))==null?void 0:n.get(t)}const dR=sc("__proto__,__v_isRef,__isVue"),fb=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ei)),Op=hR();function hR(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=et(this);for(let o=0,l=this.length;o<l;o++)Hn(r,"get",o+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(et)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Ni(),Hh();const r=et(this)[t].apply(this,n);return Nh(),Ui(),r}}),e}function mR(e){const t=et(this);return Hn(t,"has",e),t.hasOwnProperty(e)}class db{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const i=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?yb:pb:o?gb:vb).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=Fe(t);if(!i){if(l&&yt(Op,n))return Reflect.get(Op,n,r);if(n==="hasOwnProperty")return mR}const u=Reflect.get(t,n,r);return(ei(n)?fb.has(n):dR(n))||(i||Hn(t,"get",n),o)?u:Ot(u)?l&&Mh(n)?u:u.value:Pt(u)?i?Mo(u):dn(u):u}}class hb extends db{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._shallow){const f=Di(o);if(!Ea(r)&&!Di(r)&&(o=et(o),r=et(r)),!Fe(t)&&Ot(o)&&!Ot(r))return f?!1:(o.value=r,!0)}const l=Fe(t)&&Mh(n)?Number(n)<t.length:yt(t,n),u=Reflect.set(t,n,r,i);return t===et(i)&&(l?Ir(r,o)&&_s(t,"set",n,r):_s(t,"add",n,r)),u}deleteProperty(t,n){const r=yt(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&_s(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!ei(n)||!fb.has(n))&&Hn(t,"has",n),r}ownKeys(t){return Hn(t,"iterate",Fe(t)?"length":Ri),Reflect.ownKeys(t)}}class mb extends db{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const vR=new hb,gR=new mb,pR=new hb(!0),yR=new mb(!0),Uh=e=>e,ac=e=>Reflect.getPrototypeOf(e);function tu(e,t,n=!1,r=!1){e=e.__v_raw;const i=et(e),o=et(t);n||(Ir(t,o)&&Hn(i,"get",t),Hn(i,"get",o));const{has:l}=ac(i),u=r?Uh:n?Gh:Pa;if(l.call(i,t))return u(e.get(t));if(l.call(i,o))return u(e.get(o));e!==i&&e.get(t)}function nu(e,t=!1){const n=this.__v_raw,r=et(n),i=et(e);return t||(Ir(e,i)&&Hn(r,"has",e),Hn(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function ru(e,t=!1){return e=e.__v_raw,!t&&Hn(et(e),"iterate",Ri),Reflect.get(e,"size",e)}function Dp(e){e=et(e);const t=et(this);return ac(t).has.call(t,e)||(t.add(e),_s(t,"add",e,e)),this}function Mp(e,t){t=et(t);const n=et(this),{has:r,get:i}=ac(n);let o=r.call(n,e);o||(e=et(e),o=r.call(n,e));const l=i.call(n,e);return n.set(e,t),o?Ir(t,l)&&_s(n,"set",e,t):_s(n,"add",e,t),this}function Fp(e){const t=et(this),{has:n,get:r}=ac(t);let i=n.call(t,e);i||(e=et(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&_s(t,"delete",e,void 0),o}function Bp(){const e=et(this),t=e.size!==0,n=e.clear();return t&&_s(e,"clear",void 0,void 0),n}function su(e,t){return function(r,i){const o=this,l=o.__v_raw,u=et(l),f=t?Uh:e?Gh:Pa;return!e&&Hn(u,"iterate",Ri),l.forEach((d,h)=>r.call(i,f(d),f(h),o))}}function iu(e,t,n){return function(...r){const i=this.__v_raw,o=et(i),l=_o(o),u=e==="entries"||e===Symbol.iterator&&l,f=e==="keys"&&l,d=i[e](...r),h=n?Uh:t?Gh:Pa;return!t&&Hn(o,"iterate",f?Bd:Ri),{next(){const{value:m,done:v}=d.next();return v?{value:m,done:v}:{value:u?[h(m[0]),h(m[1])]:h(m),done:v}},[Symbol.iterator](){return this}}}}function Ns(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bR(){const e={get(o){return tu(this,o)},get size(){return ru(this)},has:nu,add:Dp,set:Mp,delete:Fp,clear:Bp,forEach:su(!1,!1)},t={get(o){return tu(this,o,!1,!0)},get size(){return ru(this)},has:nu,add:Dp,set:Mp,delete:Fp,clear:Bp,forEach:su(!1,!0)},n={get(o){return tu(this,o,!0)},get size(){return ru(this,!0)},has(o){return nu.call(this,o,!0)},add:Ns("add"),set:Ns("set"),delete:Ns("delete"),clear:Ns("clear"),forEach:su(!0,!1)},r={get(o){return tu(this,o,!0,!0)},get size(){return ru(this,!0)},has(o){return nu.call(this,o,!0)},add:Ns("add"),set:Ns("set"),delete:Ns("delete"),clear:Ns("clear"),forEach:su(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=iu(o,!1,!1),n[o]=iu(o,!0,!1),t[o]=iu(o,!1,!0),r[o]=iu(o,!0,!0)}),[e,n,t,r]}const[_R,wR,SR,CR]=bR();function lc(e,t){const n=t?e?CR:SR:e?wR:_R;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(yt(n,i)&&i in r?n:r,i,o)}const xR={get:lc(!1,!1)},AR={get:lc(!1,!0)},ER={get:lc(!0,!1)},PR={get:lc(!0,!0)},vb=new WeakMap,gb=new WeakMap,pb=new WeakMap,yb=new WeakMap;function kR(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function TR(e){return e.__v_skip||!Object.isExtensible(e)?0:kR(ZT(e))}function dn(e){return Di(e)?e:uc(e,!1,vR,xR,vb)}function zh(e){return uc(e,!1,pR,AR,gb)}function Mo(e){return uc(e,!0,gR,ER,pb)}function RR(e){return uc(e,!0,yR,PR,yb)}function uc(e,t,n,r,i){if(!Pt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const l=TR(e);if(l===0)return e;const u=new Proxy(e,l===2?r:n);return i.set(e,u),u}function ws(e){return Di(e)?ws(e.__v_raw):!!(e&&e.__v_isReactive)}function Di(e){return!!(e&&e.__v_isReadonly)}function Ea(e){return!!(e&&e.__v_isShallow)}function Wh(e){return ws(e)||Di(e)}function et(e){const t=e&&e.__v_raw;return t?et(t):e}function $r(e){return Pu(e,"__v_skip",!0),e}const Pa=e=>Pt(e)?dn(e):e,Gh=e=>Pt(e)?Mo(e):e;class bb{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new xo(()=>t(this._value),()=>ka(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=et(this);return jh(t),(!t._cacheable||t.effect.dirty)&&Ir(t._value,t._value=t.effect.run())&&ka(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function IR(e,t,n=!1){let r,i;const o=Xe(e);return o?(r=e,i=kn):(r=e.get,i=e.set),new bb(r,i,o||!i,n)}function jh(e){Qs&&Ti&&(e=et(e),lb(Ti,e.dep||(e.dep=cb(()=>e.dep=void 0,e instanceof bb?e:void 0))))}function ka(e,t=3,n){e=et(e);const r=e.dep;r&&ub(r,t)}function Ot(e){return!!(e&&e.__v_isRef===!0)}function Pe(e){return _b(e,!1)}function Ve(e){return _b(e,!0)}function _b(e,t){return Ot(e)?e:new VR(e,t)}class VR{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:et(t),this._value=n?t:Pa(t)}get value(){return jh(this),this._value}set value(t){const n=this.__v_isShallow||Ea(t)||Di(t);t=n?t:et(t),Ir(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Pa(t),ka(this,3))}}function LR(e){ka(e,3)}function jt(e){return Ot(e)?e.value:e}function OR(e){return Xe(e)?e():jt(e)}const DR={get:(e,t,n)=>jt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ot(i)&&!Ot(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Kh(e){return ws(e)?e:new Proxy(e,DR)}class MR{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>jh(this),()=>ka(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function wb(e){return new MR(e)}function Ka(e){const t=Fe(e)?new Array(e.length):{};for(const n in e)t[n]=Sb(e,n);return t}class FR{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return fR(et(this._object),this._key)}}class BR{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function _e(e,t,n){return Ot(e)?e:Xe(e)?new BR(e):Pt(e)&&arguments.length>1?Sb(e,t,n):Pe(e)}function Sb(e,t,n){const r=e[t];return Ot(r)?r:new FR(e,t,n)}const $R={GET:"get",HAS:"has",ITERATE:"iterate"},HR={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};function NR(e,t){}const UR={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},zR={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Ss(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){zi(o,t,n)}return i}function er(e,t,n,r){if(Xe(e)){const o=Ss(e,t,n,r);return o&&Dh(o)&&o.catch(l=>{zi(l,t,n)}),o}const i=[];for(let o=0;o<e.length;o++)i.push(er(e[o],t,n,r));return i}function zi(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let o=t.parent;const l=t.proxy,u=`https://vuejs.org/errors/#runtime-${n}`;for(;o;){const d=o.ec;if(d){for(let h=0;h<d.length;h++)if(d[h](e,l,u)===!1)return}o=o.parent}const f=t.appContext.config.errorHandler;if(f){Ss(f,null,10,[e,l,u]);return}}WR(e,n,i,r)}function WR(e,t,n,r=!0){console.error(e)}let Ta=!1,$d=!1;const yn=[];let jr=0;const So=[];let qs=null,xi=0;const Cb=Promise.resolve();let qh=null;function Bt(e){const t=qh||Cb;return e?t.then(this?e.bind(this):e):t}function GR(e){let t=jr+1,n=yn.length;for(;t<n;){const r=t+n>>>1,i=yn[r],o=Ra(i);o<e||o===e&&i.pre?t=r+1:n=r}return t}function cc(e){(!yn.length||!yn.includes(e,Ta&&e.allowRecurse?jr+1:jr))&&(e.id==null?yn.push(e):yn.splice(GR(e.id),0,e),xb())}function xb(){!Ta&&!$d&&($d=!0,qh=Cb.then(Ab))}function jR(e){const t=yn.indexOf(e);t>jr&&yn.splice(t,1)}function Iu(e){Fe(e)?So.push(...e):(!qs||!qs.includes(e,e.allowRecurse?xi+1:xi))&&So.push(e),xb()}function $p(e,t,n=Ta?jr+1:0){for(;n<yn.length;n++){const r=yn[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;yn.splice(n,1),n--,r()}}}function Vu(e){if(So.length){const t=[...new Set(So)].sort((n,r)=>Ra(n)-Ra(r));if(So.length=0,qs){qs.push(...t);return}for(qs=t,xi=0;xi<qs.length;xi++)qs[xi]();qs=null,xi=0}}const Ra=e=>e.id==null?1/0:e.id,KR=(e,t)=>{const n=Ra(e)-Ra(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ab(e){$d=!1,Ta=!0,yn.sort(KR);try{for(jr=0;jr<yn.length;jr++){const t=yn[jr];t&&t.active!==!1&&Ss(t,null,14)}}finally{jr=0,yn.length=0,Vu(),Ta=!1,qh=null,(yn.length||So.length)&&Ab()}}function qR(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ct;let i=n;const o=t.startsWith("update:"),l=o&&t.slice(7);if(l&&l in r){const h=`${l==="modelValue"?"model":l}Modifiers`,{number:m,trim:v}=r[h]||Ct;v&&(i=n.map(y=>Nt(y)?y.trim():y)),m&&(i=n.map(ku))}let u,f=r[u=pa(t)]||r[u=pa(mn(t))];!f&&o&&(f=r[u=pa(Jn(t))]),f&&er(f,e,6,i);const d=r[u+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,er(d,e,6,i)}}function Eb(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let l={},u=!1;if(!Xe(e)){const f=d=>{const h=Eb(d,t,!0);h&&(u=!0,Ht(l,h))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!o&&!u?(Pt(e)&&r.set(e,null),null):(Fe(o)?o.forEach(f=>l[f]=null):Ht(l,o),Pt(e)&&r.set(e,l),l)}function fc(e,t){return!e||!Ga(t)?!1:(t=t.slice(2).replace(/Once$/,""),yt(e,t[0].toLowerCase()+t.slice(1))||yt(e,Jn(t))||yt(e,t))}let Jt=null,dc=null;function Ia(e){const t=Jt;return Jt=e,dc=e&&e.type.__scopeId||null,t}function Wi(e){dc=e}function Gi(){dc=null}const YR=e=>le;function le(e,t=Jt,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Kd(-1);const o=Ia(t);let l;try{l=e(...i)}finally{Ia(o),r._d&&Kd(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function yu(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[l],slots:u,attrs:f,emit:d,render:h,renderCache:m,data:v,setupState:y,ctx:b,inheritAttrs:w}=e;let x,T;const P=Ia(e);try{if(n.shapeFlag&4){const E=i||r,V=E;x=Xn(h.call(V,E,m,o,y,v,b)),T=f}else{const E=t;x=Xn(E.length>1?E(o,{attrs:f,slots:u,emit:d}):E(o,null)),T=t.props?f:XR(f)}}catch(E){_a.length=0,zi(E,e,1),x=p(vn)}let C=x;if(T&&w!==!1){const E=Object.keys(T),{shapeFlag:V}=C;E.length&&V&7&&(l&&E.some(Lh)&&(T=JR(T,l)),C=Lr(C,T))}return n.dirs&&(C=Lr(C),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),x=C,Ia(P),x}function ZR(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(As(r)){if(r.type!==vn||r.children==="v-if"){if(t)return;t=r}}else return}return t}const XR=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ga(n))&&((t||(t={}))[n]=e[n]);return t},JR=(e,t)=>{const n={};for(const r in e)(!Lh(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function QR(e,t,n){const{props:r,children:i,component:o}=e,{props:l,children:u,patchFlag:f}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return r?Hp(r,l,d):!!l;if(f&8){const h=t.dynamicProps;for(let m=0;m<h.length;m++){const v=h[m];if(l[v]!==r[v]&&!fc(d,v))return!0}}}else return(i||u)&&(!u||!u.$stable)?!0:r===l?!1:r?l?Hp(r,l,d):!0:!!l;return!1}function Hp(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(t[o]!==e[o]&&!fc(n,o))return!0}return!1}function Yh({vnode:e,parent:t},n){if(n)for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Zh="components",eI="directives";function Ft(e,t){return Xh(Zh,e,!0,t)||e}const Pb=Symbol.for("v-ndc");function ji(e){return Nt(e)?Xh(Zh,e,!1)||e:e||Pb}function Xr(e){return Xh(eI,e)}function Xh(e,t,n=!0,r=!1){const i=Jt||sn;if(i){const o=i.type;if(e===Zh){const u=Jd(o,!1);if(u&&(u===t||u===mn(t)||u===oi(mn(t))))return o}const l=Np(i[e]||o[e],t)||Np(i.appContext[e],t);return!l&&r?o:l}}function Np(e,t){return e&&(e[t]||e[mn(t)]||e[oi(mn(t))])}const kb=e=>e.__isSuspense;let Hd=0;const tI={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,l,u,f,d){e==null?rI(t,n,r,i,o,l,u,f,d):sI(e,t,n,r,i,l,u,f,d)},hydrate:iI,create:Jh,normalize:oI},nI=tI;function Va(e,t){const n=e.props&&e.props[t];Xe(n)&&n()}function rI(e,t,n,r,i,o,l,u,f){const{p:d,o:{createElement:h}}=f,m=h("div"),v=e.suspense=Jh(e,i,r,t,m,n,o,l,u,f);d(null,v.pendingBranch=e.ssContent,m,null,r,v,o,l),v.deps>0?(Va(e,"onPending"),Va(e,"onFallback"),d(null,e.ssFallback,t,n,r,null,o,l),Co(v,e.ssFallback)):v.resolve(!1,!0)}function sI(e,t,n,r,i,o,l,u,{p:f,um:d,o:{createElement:h}}){const m=t.suspense=e.suspense;m.vnode=t,t.el=e.el;const v=t.ssContent,y=t.ssFallback,{activeBranch:b,pendingBranch:w,isInFallback:x,isHydrating:T}=m;if(w)m.pendingBranch=v,Er(v,w)?(f(w,v,m.hiddenContainer,null,i,m,o,l,u),m.deps<=0?m.resolve():x&&(T||(f(b,y,n,r,i,null,o,l,u),Co(m,y)))):(m.pendingId=Hd++,T?(m.isHydrating=!1,m.activeBranch=w):d(w,i,m),m.deps=0,m.effects.length=0,m.hiddenContainer=h("div"),x?(f(null,v,m.hiddenContainer,null,i,m,o,l,u),m.deps<=0?m.resolve():(f(b,y,n,r,i,null,o,l,u),Co(m,y))):b&&Er(v,b)?(f(b,v,n,r,i,m,o,l,u),m.resolve(!0)):(f(null,v,m.hiddenContainer,null,i,m,o,l,u),m.deps<=0&&m.resolve()));else if(b&&Er(v,b))f(b,v,n,r,i,m,o,l,u),Co(m,v);else if(Va(t,"onPending"),m.pendingBranch=v,v.shapeFlag&512?m.pendingId=v.component.suspenseId:m.pendingId=Hd++,f(null,v,m.hiddenContainer,null,i,m,o,l,u),m.deps<=0)m.resolve();else{const{timeout:P,pendingId:C}=m;P>0?setTimeout(()=>{m.pendingId===C&&m.fallback(y)},P):P===0&&m.fallback(y)}}function Jh(e,t,n,r,i,o,l,u,f,d,h=!1){const{p:m,m:v,um:y,n:b,o:{parentNode:w,remove:x}}=d;let T;const P=aI(e);P&&t!=null&&t.pendingBranch&&(T=t.pendingId,t.deps++);const C=e.props?Tu(e.props.timeout):void 0,E=o,V={vnode:e,parent:t,parentComponent:n,namespace:l,container:r,hiddenContainer:i,deps:0,pendingId:Hd++,timeout:typeof C=="number"?C:-1,activeBranch:null,pendingBranch:null,isInFallback:!h,isHydrating:h,isUnmounted:!1,effects:[],resolve(k=!1,D=!1){const{vnode:L,activeBranch:M,pendingBranch:B,pendingId:j,effects:z,parentComponent:K,container:te}=V;let ce=!1;V.isHydrating?V.isHydrating=!1:k||(ce=M&&B.transition&&B.transition.mode==="out-in",ce&&(M.transition.afterLeave=()=>{j===V.pendingId&&(v(B,te,o===E?b(M):o,0),Iu(z))}),M&&(w(M.el)!==V.hiddenContainer&&(o=b(M)),y(M,K,V,!0)),ce||v(B,te,o,0)),Co(V,B),V.pendingBranch=null,V.isInFallback=!1;let Q=V.parent,ge=!1;for(;Q;){if(Q.pendingBranch){Q.effects.push(...z),ge=!0;break}Q=Q.parent}!ge&&!ce&&Iu(z),V.effects=[],P&&t&&t.pendingBranch&&T===t.pendingId&&(t.deps--,t.deps===0&&!D&&t.resolve()),Va(L,"onResolve")},fallback(k){if(!V.pendingBranch)return;const{vnode:D,activeBranch:L,parentComponent:M,container:B,namespace:j}=V;Va(D,"onFallback");const z=b(L),K=()=>{V.isInFallback&&(m(null,k,B,z,M,null,j,u,f),Co(V,k))},te=k.transition&&k.transition.mode==="out-in";te&&(L.transition.afterLeave=K),V.isInFallback=!0,y(L,M,null,!0),te||K()},move(k,D,L){V.activeBranch&&v(V.activeBranch,k,D,L),V.container=k},next(){return V.activeBranch&&b(V.activeBranch)},registerDep(k,D){const L=!!V.pendingBranch;L&&V.deps++;const M=k.vnode.el;k.asyncDep.catch(B=>{zi(B,k,0)}).then(B=>{if(k.isUnmounted||V.isUnmounted||V.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:j}=k;Zd(k,B,!1),M&&(j.el=M);const z=!M&&k.subTree.el;D(k,j,w(M||k.subTree.el),M?null:b(k.subTree),V,l,f),z&&x(z),Yh(k,j.el),L&&--V.deps===0&&V.resolve()})},unmount(k,D){V.isUnmounted=!0,V.activeBranch&&y(V.activeBranch,n,k,D),V.pendingBranch&&y(V.pendingBranch,n,k,D)}};return V}function iI(e,t,n,r,i,o,l,u,f){const d=t.suspense=Jh(t,r,n,e.parentNode,document.createElement("div"),null,i,o,l,u,!0),h=f(e,d.pendingBranch=t.ssContent,n,d,o,l);return d.deps===0&&d.resolve(!1,!0),h}function oI(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Up(r?n.default:n),e.ssFallback=r?Up(n.fallback):p(vn)}function Up(e){let t;if(Xe(e)){const n=Fi&&e._c;n&&(e._d=!1,ie()),e=e(),n&&(e._d=!0,t=$n,i0())}return Fe(e)&&(e=ZR(e)),e=Xn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Tb(e,t){t&&t.pendingBranch?Fe(e)?t.effects.push(...e):t.effects.push(e):Iu(e)}function Co(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,Yh(r,i))}function aI(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const Rb=Symbol.for("v-scx"),Ib=()=>lt(Rb);function Nn(e,t){return qa(e,null,t)}function Vb(e,t){return qa(e,null,{flush:"post"})}function Lb(e,t){return qa(e,null,{flush:"sync"})}const ou={};function $e(e,t,n){return qa(e,t,n)}function qa(e,t,{immediate:n,deep:r,flush:i,once:o,onTrack:l,onTrigger:u}=Ct){if(t&&o){const k=t;t=(...D)=>{k(...D),V()}}const f=sn,d=k=>r===!0?k:Ei(k,r===!1?1:void 0);let h,m=!1,v=!1;if(Ot(e)?(h=()=>e.value,m=Ea(e)):ws(e)?(h=()=>d(e),m=!0):Fe(e)?(v=!0,m=e.some(k=>ws(k)||Ea(k)),h=()=>e.map(k=>{if(Ot(k))return k.value;if(ws(k))return d(k);if(Xe(k))return Ss(k,f,2)})):Xe(e)?t?h=()=>Ss(e,f,2):h=()=>(y&&y(),er(e,f,3,[b])):h=kn,t&&r){const k=h;h=()=>Ei(k())}let y,b=k=>{y=C.onStop=()=>{Ss(k,f,4),y=C.onStop=void 0}},w;if(Xa)if(b=kn,t?n&&er(t,f,3,[h(),v?[]:void 0,b]):h(),i==="sync"){const k=Ib();w=k.__watcherHandles||(k.__watcherHandles=[])}else return kn;let x=v?new Array(e.length).fill(ou):ou;const T=()=>{if(!(!C.active||!C.dirty))if(t){const k=C.run();(r||m||(v?k.some((D,L)=>Ir(D,x[L])):Ir(k,x)))&&(y&&y(),er(t,f,3,[k,x===ou?void 0:v&&x[0]===ou?[]:x,b]),x=k)}else C.run()};T.allowRecurse=!!t;let P;i==="sync"?P=T:i==="post"?P=()=>fn(T,f&&f.suspense):(T.pre=!0,f&&(T.id=f.uid),P=()=>cc(T));const C=new xo(h,kn,P),E=$h(),V=()=>{C.stop(),E&&Oh(E.effects,C)};return t?n?T():x=C.run():i==="post"?fn(C.run.bind(C),f&&f.suspense):C.run(),w&&w.push(V),V}function lI(e,t,n){const r=this.proxy,i=Nt(e)?e.includes(".")?Ob(r,e):()=>r[e]:e.bind(r,r);let o;Xe(t)?o=t:(o=t.handler,n=t);const l=Bi(this),u=qa(i,o.bind(r),n);return l(),u}function Ob(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function Ei(e,t,n=0,r){if(!Pt(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Ot(e))Ei(e.value,t,n,r);else if(Fe(e))for(let i=0;i<e.length;i++)Ei(e[i],t,n,r);else if(Hi(e)||_o(e))e.forEach(i=>{Ei(i,t,n,r)});else if(tb(e))for(const i in e)Ei(e[i],t,n,r);return e}function on(e,t){if(Jt===null)return e;const n=yc(Jt)||Jt.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,l,u,f=Ct]=t[i];o&&(Xe(o)&&(o={mounted:o,updated:o}),o.deep&&Ei(l),r.push({dir:o,instance:n,value:l,oldValue:void 0,arg:u,modifiers:f}))}return e}function Gr(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let l=0;l<i.length;l++){const u=i[l];o&&(u.oldValue=o[l].value);let f=u.dir[r];f&&(Ni(),er(f,n,8,[e.el,u,e,t]),Ui())}}const Ys=Symbol("_leaveCb"),au=Symbol("_enterCb");function Qh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return nr(()=>{e.isMounted=!0}),wn(()=>{e.isUnmounting=!0}),e}const vr=[Function,Array],em={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vr,onEnter:vr,onAfterEnter:vr,onEnterCancelled:vr,onBeforeLeave:vr,onLeave:vr,onAfterLeave:vr,onLeaveCancelled:vr,onBeforeAppear:vr,onAppear:vr,onAfterAppear:vr,onAppearCancelled:vr},uI={name:"BaseTransition",props:em,setup(e,{slots:t}){const n=Jr(),r=Qh();let i;return()=>{const o=t.default&&hc(t.default(),!0);if(!o||!o.length)return;let l=o[0];if(o.length>1){for(const w of o)if(w.type!==vn){l=w;break}}const u=et(e),{mode:f}=u;if(r.isLeaving)return ad(l);const d=zp(l);if(!d)return ad(l);const h=Ao(d,u,r,n);Mi(d,h);const m=n.subTree,v=m&&zp(m);let y=!1;const{getTransitionKey:b}=d.type;if(b){const w=b();i===void 0?i=w:w!==i&&(i=w,y=!0)}if(v&&v.type!==vn&&(!Er(d,v)||y)){const w=Ao(v,u,r,n);if(Mi(v,w),f==="out-in")return r.isLeaving=!0,w.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},ad(l);f==="in-out"&&d.type!==vn&&(w.delayLeave=(x,T,P)=>{const C=Mb(r,v);C[String(v.key)]=v,x[Ys]=()=>{T(),x[Ys]=void 0,delete h.delayedLeave},h.delayedLeave=P})}return l}}},Db=uI;function Mb(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 Ao(e,t,n,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:u,onEnter:f,onAfterEnter:d,onEnterCancelled:h,onBeforeLeave:m,onLeave:v,onAfterLeave:y,onLeaveCancelled:b,onBeforeAppear:w,onAppear:x,onAfterAppear:T,onAppearCancelled:P}=t,C=String(e.key),E=Mb(n,e),V=(L,M)=>{L&&er(L,r,9,M)},k=(L,M)=>{const B=M[1];V(L,M),Fe(L)?L.every(j=>j.length<=1)&&B():L.length<=1&&B()},D={mode:o,persisted:l,beforeEnter(L){let M=u;if(!n.isMounted)if(i)M=w||u;else return;L[Ys]&&L[Ys](!0);const B=E[C];B&&Er(e,B)&&B.el[Ys]&&B.el[Ys](),V(M,[L])},enter(L){let M=f,B=d,j=h;if(!n.isMounted)if(i)M=x||f,B=T||d,j=P||h;else return;let z=!1;const K=L[au]=te=>{z||(z=!0,te?V(j,[L]):V(B,[L]),D.delayedLeave&&D.delayedLeave(),L[au]=void 0)};M?k(M,[L,K]):K()},leave(L,M){const B=String(e.key);if(L[au]&&L[au](!0),n.isUnmounting)return M();V(m,[L]);let j=!1;const z=L[Ys]=K=>{j||(j=!0,M(),K?V(b,[L]):V(y,[L]),L[Ys]=void 0,E[B]===e&&delete E[B])};E[B]=e,v?k(v,[L,z]):z()},clone(L){return Ao(L,t,n,r)}};return D}function ad(e){if(Ya(e))return e=Lr(e),e.children=null,e}function zp(e){return Ya(e)?e.children?e.children[0]:void 0:e}function Mi(e,t){e.shapeFlag&6&&e.component?Mi(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 hc(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let l=e[o];const u=n==null?l.key:String(n)+String(l.key!=null?l.key:o);l.type===He?(l.patchFlag&128&&i++,r=r.concat(hc(l.children,t,u))):(t||l.type!==vn)&&r.push(u!=null?Lr(l,{key:u}):l)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Fo(e,t){return Xe(e)?Ht({name:e.name},t,{setup:e}):e}const Ii=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function tm(e){Xe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:o,suspensible:l=!0,onError:u}=e;let f=null,d,h=0;const m=()=>(h++,f=null,v()),v=()=>{let y;return f||(y=f=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),u)return new Promise((w,x)=>{u(b,()=>w(m()),()=>x(b),h+1)});throw b}).then(b=>y!==f&&f?f:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),d=b,b)))};return Fo({name:"AsyncComponentWrapper",__asyncLoader:v,get __asyncResolved(){return d},setup(){const y=sn;if(d)return()=>ld(d,y);const b=P=>{f=null,zi(P,y,13,!r)};if(l&&y.suspense||Xa)return v().then(P=>()=>ld(P,y)).catch(P=>(b(P),()=>r?p(r,{error:P}):null));const w=Pe(!1),x=Pe(),T=Pe(!!i);return i&&setTimeout(()=>{T.value=!1},i),o!=null&&setTimeout(()=>{if(!w.value&&!x.value){const P=new Error(`Async component timed out after ${o}ms.`);b(P),x.value=P}},o),v().then(()=>{w.value=!0,y.parent&&Ya(y.parent.vnode)&&(y.parent.effect.dirty=!0,cc(y.parent.update))}).catch(P=>{b(P),x.value=P}),()=>{if(w.value&&d)return ld(d,y);if(x.value&&r)return p(r,{error:x.value});if(n&&!T.value)return p(n)}}})}function ld(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,l=p(e,r,i);return l.ref=n,l.ce=o,delete t.vnode.ce,l}const Ya=e=>e.type.__isKeepAlive,cI={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Jr(),r=n.ctx;if(!r.renderer)return()=>{const P=t.default&&t.default();return P&&P.length===1?P[0]:P};const i=new Map,o=new Set;let l=null;const u=n.suspense,{renderer:{p:f,m:d,um:h,o:{createElement:m}}}=r,v=m("div");r.activate=(P,C,E,V,k)=>{const D=P.component;d(P,C,E,0,u),f(D.vnode,P,C,E,D,u,V,P.slotScopeIds,k),fn(()=>{D.isDeactivated=!1,D.a&&wo(D.a);const L=P.props&&P.props.onVnodeMounted;L&&Fn(L,D.parent,P)},u)},r.deactivate=P=>{const C=P.component;d(P,v,null,1,u),fn(()=>{C.da&&wo(C.da);const E=P.props&&P.props.onVnodeUnmounted;E&&Fn(E,C.parent,P),C.isDeactivated=!0},u)};function y(P){ud(P),h(P,n,u,!0)}function b(P){i.forEach((C,E)=>{const V=Jd(C.type);V&&(!P||!P(V))&&w(E)})}function w(P){const C=i.get(P);!l||!Er(C,l)?y(C):l&&ud(l),i.delete(P),o.delete(P)}$e(()=>[e.include,e.exclude],([P,C])=>{P&&b(E=>ma(P,E)),C&&b(E=>!ma(C,E))},{flush:"post",deep:!0});let x=null;const T=()=>{x!=null&&i.set(x,cd(n.subTree))};return nr(T),vc(T),wn(()=>{i.forEach(P=>{const{subTree:C,suspense:E}=n,V=cd(C);if(P.type===V.type&&P.key===V.key){ud(V);const k=V.component.da;k&&fn(k,E);return}y(P)})}),()=>{if(x=null,!t.default)return null;const P=t.default(),C=P[0];if(P.length>1)return l=null,P;if(!As(C)||!(C.shapeFlag&4)&&!(C.shapeFlag&128))return l=null,C;let E=cd(C);const V=E.type,k=Jd(Ii(E)?E.type.__asyncResolved||{}:V),{include:D,exclude:L,max:M}=e;if(D&&(!k||!ma(D,k))||L&&k&&ma(L,k))return l=E,C;const B=E.key==null?V:E.key,j=i.get(B);return E.el&&(E=Lr(E),C.shapeFlag&128&&(C.ssContent=E)),x=B,j?(E.el=j.el,E.component=j.component,E.transition&&Mi(E,E.transition),E.shapeFlag|=512,o.delete(B),o.add(B)):(o.add(B),M&&o.size>parseInt(M,10)&&w(o.values().next().value)),E.shapeFlag|=256,l=E,kb(C.type)?C:E}}},fI=cI;function ma(e,t){return Fe(e)?e.some(n=>ma(n,t)):Nt(e)?e.split(",").includes(t):YT(e)?e.test(t):!1}function nm(e,t){Fb(e,"a",t)}function rm(e,t){Fb(e,"da",t)}function Fb(e,t,n=sn){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(mc(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Ya(i.parent.vnode)&&dI(r,t,n,i),i=i.parent}}function dI(e,t,n,r){const i=mc(t,e,r,!0);gc(()=>{Oh(r[t],i)},n)}function ud(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function cd(e){return e.shapeFlag&128?e.ssContent:e}function mc(e,t,n=sn,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Ni();const u=Bi(n),f=er(t,n,e,l);return u(),Ui(),f});return r?i.unshift(o):i.push(o),o}}const Es=e=>(t,n=sn)=>(!Xa||e==="sp")&&mc(e,(...r)=>t(...r),n),Za=Es("bm"),nr=Es("m"),sm=Es("bu"),vc=Es("u"),wn=Es("bum"),gc=Es("um"),Bb=Es("sp"),$b=Es("rtg"),Hb=Es("rtc");function Nb(e,t=sn){mc("ec",e,t)}function Rr(e,t,n,r){let i;const o=n&&n[r];if(Fe(e)||Nt(e)){i=new Array(e.length);for(let l=0,u=e.length;l<u;l++)i[l]=t(e[l],l,void 0,o&&o[l])}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,o&&o[l])}else if(Pt(e))if(e[Symbol.iterator])i=Array.from(e,(l,u)=>t(l,u,void 0,o&&o[u]));else{const l=Object.keys(e);i=new Array(l.length);for(let u=0,f=l.length;u<f;u++){const d=l[u];i[u]=t(e[d],d,u,o&&o[u])}}else i=[];return n&&(n[r]=i),i}function hI(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Fe(r))for(let i=0;i<r.length;i++)e[r[i].name]=r[i].fn;else r&&(e[r.name]=r.key?(...i)=>{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function mI(e,t,n={},r,i){if(Jt.isCE||Jt.parent&&Ii(Jt.parent)&&Jt.parent.isCE)return t!=="default"&&(n.name=t),p("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),ie();const l=o&&Ub(o(n)),u=Ze(He,{key:n.key||l&&l.key||`_${t}`},l||(r?r():[]),l&&e._===1?64:-2);return!i&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),o&&o._c&&(o._d=!0),u}function Ub(e){return e.some(t=>As(t)?!(t.type===vn||t.type===He&&!Ub(t.children)):!0)?e:null}function vI(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:pa(r)]=e[r];return n}const Nd=e=>e?u0(e)?yc(e)||e.proxy:Nd(e.parent):null,ya=Ht(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=>Nd(e.parent),$root:e=>Nd(e.root),$emit:e=>e.emit,$options:e=>im(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,cc(e.update)}),$nextTick:e=>e.n||(e.n=Bt.bind(e.proxy)),$watch:e=>lI.bind(e)}),fd=(e,t)=>e!==Ct&&!e.__isScriptSetup&&yt(e,t),Ud={get({_:e},t){const{ctx:n,setupState:r,data:i,props:o,accessCache:l,type:u,appContext:f}=e;let d;if(t[0]!=="$"){const y=l[t];if(y!==void 0)switch(y){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(fd(r,t))return l[t]=1,r[t];if(i!==Ct&&yt(i,t))return l[t]=2,i[t];if((d=e.propsOptions[0])&&yt(d,t))return l[t]=3,o[t];if(n!==Ct&&yt(n,t))return l[t]=4,n[t];zd&&(l[t]=0)}}const h=ya[t];let m,v;if(h)return t==="$attrs"&&Hn(e,"get",t),h(e);if((m=u.__cssModules)&&(m=m[t]))return m;if(n!==Ct&&yt(n,t))return l[t]=4,n[t];if(v=f.config.globalProperties,yt(v,t))return v[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return fd(i,t)?(i[t]=n,!0):r!==Ct&&yt(r,t)?(r[t]=n,!0):yt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},l){let u;return!!n[l]||e!==Ct&&yt(e,l)||fd(t,l)||(u=o[0])&&yt(u,l)||yt(r,l)||yt(ya,l)||yt(i.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:yt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},gI=Ht({},Ud,{get(e,t){if(t!==Symbol.unscopables)return Ud.get(e,t,e)},has(e,t){return t[0]!=="_"&&!eR(t)}});function pI(){return null}function yI(){return null}function bI(e){}function _I(e){}function wI(){return null}function SI(){}function CI(e,t){return null}function xI(){return zb().slots}function AI(){return zb().attrs}function EI(e,t,n=Ct){const r=Jr(),i=mn(t),o=Jn(t),l=wb((f,d)=>{let h;return Lb(()=>{const m=e[t];Ir(h,m)&&(h=m,d())}),{get(){return f(),n.get?n.get(h):h},set(m){const v=r.vnode.props;!(v&&(t in v||i in v||o in v)&&(`onUpdate:${t}`in v||`onUpdate:${i}`in v||`onUpdate:${o}`in v))&&Ir(m,h)&&(h=m,d()),r.emit(`update:${t}`,n.set?n.set(m):m)}}}),u=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return l[Symbol.iterator]=()=>{let f=0;return{next(){return f<2?{value:f++?e[u]||{}:l,done:!1}:{done:!0}}}},l}function zb(){const e=Jr();return e.setupContext||(e.setupContext=d0(e))}function La(e){return Fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function PI(e,t){const n=La(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?Fe(i)||Xe(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function kI(e,t){return!e||!t?e||t:Fe(e)&&Fe(t)?e.concat(t):Ht({},La(e),La(t))}function TI(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function RI(e){const t=Jr();let n=e();return Yd(),Dh(n)&&(n=n.catch(r=>{throw Bi(t),r})),[n,()=>Bi(t)]}let zd=!0;function II(e){const t=im(e),n=e.proxy,r=e.ctx;zd=!1,t.beforeCreate&&Wp(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:l,watch:u,provide:f,inject:d,created:h,beforeMount:m,mounted:v,beforeUpdate:y,updated:b,activated:w,deactivated:x,beforeDestroy:T,beforeUnmount:P,destroyed:C,unmounted:E,render:V,renderTracked:k,renderTriggered:D,errorCaptured:L,serverPrefetch:M,expose:B,inheritAttrs:j,components:z,directives:K,filters:te}=t;if(d&&VI(d,r,null),l)for(const ge in l){const U=l[ge];Xe(U)&&(r[ge]=U.bind(n))}if(i){const ge=i.call(n,n);Pt(ge)&&(e.data=dn(ge))}if(zd=!0,o)for(const ge in o){const U=o[ge],ae=Xe(U)?U.bind(n,n):Xe(U.get)?U.get.bind(n,n):kn,ye=!Xe(U)&&Xe(U.set)?U.set.bind(n):kn,ue=R({get:ae,set:ye});Object.defineProperty(r,ge,{enumerable:!0,configurable:!0,get:()=>ue.value,set:Se=>ue.value=Se})}if(u)for(const ge in u)Wb(u[ge],r,n,ge);if(f){const ge=Xe(f)?f.call(n):f;Reflect.ownKeys(ge).forEach(U=>{Et(U,ge[U])})}h&&Wp(h,e,"c");function Q(ge,U){Fe(U)?U.forEach(ae=>ge(ae.bind(n))):U&&ge(U.bind(n))}if(Q(Za,m),Q(nr,v),Q(sm,y),Q(vc,b),Q(nm,w),Q(rm,x),Q(Nb,L),Q(Hb,k),Q($b,D),Q(wn,P),Q(gc,E),Q(Bb,M),Fe(B))if(B.length){const ge=e.exposed||(e.exposed={});B.forEach(U=>{Object.defineProperty(ge,U,{get:()=>n[U],set:ae=>n[U]=ae})})}else e.exposed||(e.exposed={});V&&e.render===kn&&(e.render=V),j!=null&&(e.inheritAttrs=j),z&&(e.components=z),K&&(e.directives=K)}function VI(e,t,n=kn){Fe(e)&&(e=Wd(e));for(const r in e){const i=e[r];let o;Pt(i)?"default"in i?o=lt(i.from||r,i.default,!0):o=lt(i.from||r):o=lt(i),Ot(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function Wp(e,t,n){er(Fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Wb(e,t,n,r){const i=r.includes(".")?Ob(n,r):()=>n[r];if(Nt(e)){const o=t[e];Xe(o)&&$e(i,o)}else if(Xe(e))$e(i,e.bind(n));else if(Pt(e))if(Fe(e))e.forEach(o=>Wb(o,t,n,r));else{const o=Xe(e.handler)?e.handler.bind(n):t[e.handler];Xe(o)&&$e(i,o,e)}}function im(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,u=o.get(t);let f;return u?f=u:!i.length&&!n&&!r?f=t:(f={},i.length&&i.forEach(d=>Lu(f,d,l,!0)),Lu(f,t,l)),Pt(t)&&o.set(t,f),f}function Lu(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Lu(e,o,n,!0),i&&i.forEach(l=>Lu(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const u=LI[l]||n&&n[l];e[l]=u?u(e[l],t[l]):t[l]}return e}const LI={data:Gp,props:jp,emits:jp,methods:va,computed:va,beforeCreate:En,created:En,beforeMount:En,mounted:En,beforeUpdate:En,updated:En,beforeDestroy:En,beforeUnmount:En,destroyed:En,unmounted:En,activated:En,deactivated:En,errorCaptured:En,serverPrefetch:En,components:va,directives:va,watch:DI,provide:Gp,inject:OI};function Gp(e,t){return t?e?function(){return Ht(Xe(e)?e.call(this,this):e,Xe(t)?t.call(this,this):t)}:t:e}function OI(e,t){return va(Wd(e),Wd(t))}function Wd(e){if(Fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function En(e,t){return e?[...new Set([].concat(e,t))]:t}function va(e,t){return e?Ht(Object.create(null),e,t):t}function jp(e,t){return e?Fe(e)&&Fe(t)?[...new Set([...e,...t])]:Ht(Object.create(null),La(e),La(t??{})):t}function DI(e,t){if(!e)return t;if(!t)return e;const n=Ht(Object.create(null),e);for(const r in t)n[r]=En(e[r],t[r]);return n}function Gb(){return{app:null,config:{isNativeTag:KT,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let MI=0;function FI(e,t){return function(r,i=null){Xe(r)||(r=Ht({},r)),i!=null&&!Pt(i)&&(i=null);const o=Gb(),l=new WeakSet;let u=!1;const f=o.app={_uid:MI++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:m0,get config(){return o.config},set config(d){},use(d,...h){return l.has(d)||(d&&Xe(d.install)?(l.add(d),d.install(f,...h)):Xe(d)&&(l.add(d),d(f,...h))),f},mixin(d){return o.mixins.includes(d)||o.mixins.push(d),f},component(d,h){return h?(o.components[d]=h,f):o.components[d]},directive(d,h){return h?(o.directives[d]=h,f):o.directives[d]},mount(d,h,m){if(!u){const v=p(r,i);return v.appContext=o,m===!0?m="svg":m===!1&&(m=void 0),h&&t?t(v,d):e(v,d,m),u=!0,f._container=d,d.__vue_app__=f,yc(v.component)||v.component.proxy}},unmount(){u&&(e(null,f._container),delete f._container.__vue_app__)},provide(d,h){return o.provides[d]=h,f},runWithContext(d){Oa=f;try{return d()}finally{Oa=null}}};return f}}let Oa=null;function Et(e,t){if(sn){let n=sn.provides;const r=sn.parent&&sn.parent.provides;r===n&&(n=sn.provides=Object.create(r)),n[e]=t}}function lt(e,t,n=!1){const r=sn||Jt;if(r||Oa){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Oa._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Xe(t)?t.call(r&&r.proxy):t}}function jb(){return!!(sn||Jt||Oa)}function BI(e,t,n,r=!1){const i={},o={};Pu(o,pc,1),e.propsDefaults=Object.create(null),Kb(e,t,i,o);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);n?e.props=r?i:zh(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function $I(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:l}}=e,u=et(i),[f]=e.propsOptions;let d=!1;if((r||l>0)&&!(l&16)){if(l&8){const h=e.vnode.dynamicProps;for(let m=0;m<h.length;m++){let v=h[m];if(fc(e.emitsOptions,v))continue;const y=t[v];if(f)if(yt(o,v))y!==o[v]&&(o[v]=y,d=!0);else{const b=mn(v);i[b]=Gd(f,u,b,y,e,!1)}else y!==o[v]&&(o[v]=y,d=!0)}}}else{Kb(e,t,i,o)&&(d=!0);let h;for(const m in u)(!t||!yt(t,m)&&((h=Jn(m))===m||!yt(t,h)))&&(f?n&&(n[m]!==void 0||n[h]!==void 0)&&(i[m]=Gd(f,u,m,void 0,e,!0)):delete i[m]);if(o!==u)for(const m in o)(!t||!yt(t,m))&&(delete o[m],d=!0)}d&&_s(e,"set","$attrs")}function Kb(e,t,n,r){const[i,o]=e.propsOptions;let l=!1,u;if(t)for(let f in t){if(ga(f))continue;const d=t[f];let h;i&&yt(i,h=mn(f))?!o||!o.includes(h)?n[h]=d:(u||(u={}))[h]=d:fc(e.emitsOptions,f)||(!(f in r)||d!==r[f])&&(r[f]=d,l=!0)}if(o){const f=et(n),d=u||Ct;for(let h=0;h<o.length;h++){const m=o[h];n[m]=Gd(i,f,m,d[m],e,!yt(d,m))}}return l}function Gd(e,t,n,r,i,o){const l=e[n];if(l!=null){const u=yt(l,"default");if(u&&r===void 0){const f=l.default;if(l.type!==Function&&!l.skipFactory&&Xe(f)){const{propsDefaults:d}=i;if(n in d)r=d[n];else{const h=Bi(i);r=d[n]=f.call(null,t),h()}}else r=f}l[0]&&(o&&!u?r=!1:l[1]&&(r===""||r===Jn(n))&&(r=!0))}return r}function qb(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const o=e.props,l={},u=[];let f=!1;if(!Xe(e)){const h=m=>{f=!0;const[v,y]=qb(m,t,!0);Ht(l,v),y&&u.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!o&&!f)return Pt(e)&&r.set(e,bo),bo;if(Fe(o))for(let h=0;h<o.length;h++){const m=mn(o[h]);Kp(m)&&(l[m]=Ct)}else if(o)for(const h in o){const m=mn(h);if(Kp(m)){const v=o[h],y=l[m]=Fe(v)||Xe(v)?{type:v}:Ht({},v);if(y){const b=Zp(Boolean,y.type),w=Zp(String,y.type);y[0]=b>-1,y[1]=w<0||b<w,(b>-1||yt(y,"default"))&&u.push(m)}}}const d=[l,u];return Pt(e)&&r.set(e,d),d}function Kp(e){return e[0]!=="$"}function qp(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Yp(e,t){return qp(e)===qp(t)}function Zp(e,t){return Fe(t)?t.findIndex(n=>Yp(n,e)):Xe(t)&&Yp(t,e)?0:-1}const Yb=e=>e[0]==="_"||e==="$stable",om=e=>Fe(e)?e.map(Xn):[Xn(e)],HI=(e,t,n)=>{if(t._n)return t;const r=le((...i)=>om(t(...i)),n);return r._c=!1,r},Zb=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Yb(i))continue;const o=e[i];if(Xe(o))t[i]=HI(i,o,r);else if(o!=null){const l=om(o);t[i]=()=>l}}},Xb=(e,t)=>{const n=om(t);e.slots.default=()=>n},NI=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=et(t),Pu(t,"_",n)):Zb(t,e.slots={})}else e.slots={},t&&Xb(e,t);Pu(e.slots,pc,1)},UI=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,l=Ct;if(r.shapeFlag&32){const u=t._;u?n&&u===1?o=!1:(Ht(i,t),!n&&u===1&&delete i._):(o=!t.$stable,Zb(t,i)),l=t}else t&&(Xb(e,t),l={default:1});if(o)for(const u in i)!Yb(u)&&l[u]==null&&delete i[u]};function Ou(e,t,n,r,i=!1){if(Fe(e)){e.forEach((v,y)=>Ou(v,t&&(Fe(t)?t[y]:t),n,r,i));return}if(Ii(r)&&!i)return;const o=r.shapeFlag&4?yc(r.component)||r.component.proxy:r.el,l=i?null:o,{i:u,r:f}=e,d=t&&t.r,h=u.refs===Ct?u.refs={}:u.refs,m=u.setupState;if(d!=null&&d!==f&&(Nt(d)?(h[d]=null,yt(m,d)&&(m[d]=null)):Ot(d)&&(d.value=null)),Xe(f))Ss(f,u,12,[l,h]);else{const v=Nt(f),y=Ot(f);if(v||y){const b=()=>{if(e.f){const w=v?yt(m,f)?m[f]:h[f]:f.value;i?Fe(w)&&Oh(w,o):Fe(w)?w.includes(o)||w.push(o):v?(h[f]=[o],yt(m,f)&&(m[f]=h[f])):(f.value=[o],e.k&&(h[e.k]=f.value))}else v?(h[f]=l,yt(m,f)&&(m[f]=l)):y&&(f.value=l,e.k&&(h[e.k]=l))};l?(b.id=-1,fn(b,n)):b()}}}let Us=!1;const zI=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",WI=e=>e.namespaceURI.includes("MathML"),lu=e=>{if(zI(e))return"svg";if(WI(e))return"mathml"},uu=e=>e.nodeType===8;function GI(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:l,remove:u,insert:f,createComment:d}}=e,h=(C,E)=>{if(!E.hasChildNodes()){n(null,C,E),Vu(),E._vnode=C;return}Us=!1,m(E.firstChild,C,null,null,null),Vu(),E._vnode=C,Us&&console.error("Hydration completed but contains mismatches.")},m=(C,E,V,k,D,L=!1)=>{const M=uu(C)&&C.data==="[",B=()=>w(C,E,V,k,D,M),{type:j,ref:z,shapeFlag:K,patchFlag:te}=E;let ce=C.nodeType;E.el=C,te===-2&&(L=!1,E.dynamicChildren=null);let Q=null;switch(j){case ni:ce!==3?E.children===""?(f(E.el=i(""),l(C),C),Q=C):Q=B():(C.data!==E.children&&(Us=!0,C.data=E.children),Q=o(C));break;case vn:P(C)?(Q=o(C),T(E.el=C.content.firstChild,C,V)):ce!==8||M?Q=B():Q=o(C);break;case Vi:if(M&&(C=o(C),ce=C.nodeType),ce===1||ce===3){Q=C;const ge=!E.children.length;for(let U=0;U<E.staticCount;U++)ge&&(E.children+=Q.nodeType===1?Q.outerHTML:Q.data),U===E.staticCount-1&&(E.anchor=Q),Q=o(Q);return M?o(Q):Q}else B();break;case He:M?Q=b(C,E,V,k,D,L):Q=B();break;default:if(K&1)(ce!==1||E.type.toLowerCase()!==C.tagName.toLowerCase())&&!P(C)?Q=B():Q=v(C,E,V,k,D,L);else if(K&6){E.slotScopeIds=D;const ge=l(C);if(M?Q=x(C):uu(C)&&C.data==="teleport start"?Q=x(C,C.data,"teleport end"):Q=o(C),t(E,ge,null,V,k,lu(ge),L),Ii(E)){let U;M?(U=p(He),U.anchor=Q?Q.previousSibling:ge.lastChild):U=C.nodeType===3?De(""):p("div"),U.el=C,E.component.subTree=U}}else K&64?ce!==8?Q=B():Q=E.type.hydrate(C,E,V,k,D,L,e,y):K&128&&(Q=E.type.hydrate(C,E,V,k,lu(l(C)),D,L,e,m))}return z!=null&&Ou(z,null,k,E),Q},v=(C,E,V,k,D,L)=>{L=L||!!E.dynamicChildren;const{type:M,props:B,patchFlag:j,shapeFlag:z,dirs:K,transition:te}=E,ce=M==="input"||M==="option";if(ce||j!==-1){K&&Gr(E,null,V,"created");let Q=!1;if(P(C)){Q=t0(k,te)&&V&&V.vnode.props&&V.vnode.props.appear;const U=C.content.firstChild;Q&&te.beforeEnter(U),T(U,C,V),E.el=C=U}if(z&16&&!(B&&(B.innerHTML||B.textContent))){let U=y(C.firstChild,E,C,V,k,D,L);for(;U;){Us=!0;const ae=U;U=U.nextSibling,u(ae)}}else z&8&&C.textContent!==E.children&&(Us=!0,C.textContent=E.children);if(B)if(ce||!L||j&48)for(const U in B)(ce&&(U.endsWith("value")||U==="indeterminate")||Ga(U)&&!ga(U)||U[0]===".")&&r(C,U,null,B[U],void 0,void 0,V);else B.onClick&&r(C,"onClick",null,B.onClick,void 0,void 0,V);let ge;(ge=B&&B.onVnodeBeforeMount)&&Fn(ge,V,E),K&&Gr(E,null,V,"beforeMount"),((ge=B&&B.onVnodeMounted)||K||Q)&&Tb(()=>{ge&&Fn(ge,V,E),Q&&te.enter(C),K&&Gr(E,null,V,"mounted")},k)}return C.nextSibling},y=(C,E,V,k,D,L,M)=>{M=M||!!E.dynamicChildren;const B=E.children,j=B.length;for(let z=0;z<j;z++){const K=M?B[z]:B[z]=Xn(B[z]);if(C)C=m(C,K,k,D,L,M);else{if(K.type===ni&&!K.children)continue;Us=!0,n(null,K,V,null,k,D,lu(V),L)}}return C},b=(C,E,V,k,D,L)=>{const{slotScopeIds:M}=E;M&&(D=D?D.concat(M):M);const B=l(C),j=y(o(C),E,B,V,k,D,L);return j&&uu(j)&&j.data==="]"?o(E.anchor=j):(Us=!0,f(E.anchor=d("]"),B,j),j)},w=(C,E,V,k,D,L)=>{if(Us=!0,E.el=null,L){const j=x(C);for(;;){const z=o(C);if(z&&z!==j)u(z);else break}}const M=o(C),B=l(C);return u(C),n(null,E,B,M,V,k,lu(B),D),M},x=(C,E="[",V="]")=>{let k=0;for(;C;)if(C=o(C),C&&uu(C)&&(C.data===E&&k++,C.data===V)){if(k===0)return o(C);k--}return C},T=(C,E,V)=>{const k=E.parentNode;k&&k.replaceChild(C,E);let D=V;for(;D;)D.vnode.el===E&&(D.vnode.el=D.subTree.el=C),D=D.parent},P=C=>C.nodeType===1&&C.tagName.toLowerCase()==="template";return[h,m]}const fn=Tb;function Jb(e){return e0(e)}function Qb(e){return e0(e,GI)}function e0(e,t){const n=nb();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:l,createText:u,createComment:f,setText:d,setElementText:h,parentNode:m,nextSibling:v,setScopeId:y=kn,insertStaticContent:b}=e,w=(I,O,G,ee=null,X=null,me=null,xe=void 0,ve=null,pe=!!O.dynamicChildren)=>{if(I===O)return;I&&!Er(I,O)&&(ee=q(I),Se(I,X,me,!0),I=null),O.patchFlag===-2&&(pe=!1,O.dynamicChildren=null);const{type:de,ref:Ee,shapeFlag:je}=O;switch(de){case ni:x(I,O,G,ee);break;case vn:T(I,O,G,ee);break;case Vi:I==null&&P(O,G,ee,xe);break;case He:z(I,O,G,ee,X,me,xe,ve,pe);break;default:je&1?V(I,O,G,ee,X,me,xe,ve,pe):je&6?K(I,O,G,ee,X,me,xe,ve,pe):(je&64||je&128)&&de.process(I,O,G,ee,X,me,xe,ve,pe,Z)}Ee!=null&&X&&Ou(Ee,I&&I.ref,me,O||I,!O)},x=(I,O,G,ee)=>{if(I==null)r(O.el=u(O.children),G,ee);else{const X=O.el=I.el;O.children!==I.children&&d(X,O.children)}},T=(I,O,G,ee)=>{I==null?r(O.el=f(O.children||""),G,ee):O.el=I.el},P=(I,O,G,ee)=>{[I.el,I.anchor]=b(I.children,O,G,ee,I.el,I.anchor)},C=({el:I,anchor:O},G,ee)=>{let X;for(;I&&I!==O;)X=v(I),r(I,G,ee),I=X;r(O,G,ee)},E=({el:I,anchor:O})=>{let G;for(;I&&I!==O;)G=v(I),i(I),I=G;i(O)},V=(I,O,G,ee,X,me,xe,ve,pe)=>{O.type==="svg"?xe="svg":O.type==="math"&&(xe="mathml"),I==null?k(O,G,ee,X,me,xe,ve,pe):M(I,O,X,me,xe,ve,pe)},k=(I,O,G,ee,X,me,xe,ve)=>{let pe,de;const{props:Ee,shapeFlag:je,transition:Ue,dirs:Je}=I;if(pe=I.el=l(I.type,me,Ee&&Ee.is,Ee),je&8?h(pe,I.children):je&16&&L(I.children,pe,null,ee,X,dd(I,me),xe,ve),Je&&Gr(I,null,ee,"created"),D(pe,I,I.scopeId,xe,ee),Ee){for(const ht in Ee)ht!=="value"&&!ga(ht)&&o(pe,ht,null,Ee[ht],me,I.children,ee,X,Re);"value"in Ee&&o(pe,"value",null,Ee.value,me),(de=Ee.onVnodeBeforeMount)&&Fn(de,ee,I)}Je&&Gr(I,null,ee,"beforeMount");const rt=t0(X,Ue);rt&&Ue.beforeEnter(pe),r(pe,O,G),((de=Ee&&Ee.onVnodeMounted)||rt||Je)&&fn(()=>{de&&Fn(de,ee,I),rt&&Ue.enter(pe),Je&&Gr(I,null,ee,"mounted")},X)},D=(I,O,G,ee,X)=>{if(G&&y(I,G),ee)for(let me=0;me<ee.length;me++)y(I,ee[me]);if(X){let me=X.subTree;if(O===me){const xe=X.vnode;D(I,xe,xe.scopeId,xe.slotScopeIds,X.parent)}}},L=(I,O,G,ee,X,me,xe,ve,pe=0)=>{for(let de=pe;de<I.length;de++){const Ee=I[de]=ve?Zs(I[de]):Xn(I[de]);w(null,Ee,O,G,ee,X,me,xe,ve)}},M=(I,O,G,ee,X,me,xe)=>{const ve=O.el=I.el;let{patchFlag:pe,dynamicChildren:de,dirs:Ee}=O;pe|=I.patchFlag&16;const je=I.props||Ct,Ue=O.props||Ct;let Je;if(G&&bi(G,!1),(Je=Ue.onVnodeBeforeUpdate)&&Fn(Je,G,O,I),Ee&&Gr(O,I,G,"beforeUpdate"),G&&bi(G,!0),de?B(I.dynamicChildren,de,ve,G,ee,dd(O,X),me):xe||U(I,O,ve,null,G,ee,dd(O,X),me,!1),pe>0){if(pe&16)j(ve,O,je,Ue,G,ee,X);else if(pe&2&&je.class!==Ue.class&&o(ve,"class",null,Ue.class,X),pe&4&&o(ve,"style",je.style,Ue.style,X),pe&8){const rt=O.dynamicProps;for(let ht=0;ht<rt.length;ht++){const At=rt[ht],Wt=je[At],Sn=Ue[At];(Sn!==Wt||At==="value")&&o(ve,At,Wt,Sn,X,I.children,G,ee,Re)}}pe&1&&I.children!==O.children&&h(ve,O.children)}else!xe&&de==null&&j(ve,O,je,Ue,G,ee,X);((Je=Ue.onVnodeUpdated)||Ee)&&fn(()=>{Je&&Fn(Je,G,O,I),Ee&&Gr(O,I,G,"updated")},ee)},B=(I,O,G,ee,X,me,xe)=>{for(let ve=0;ve<O.length;ve++){const pe=I[ve],de=O[ve],Ee=pe.el&&(pe.type===He||!Er(pe,de)||pe.shapeFlag&70)?m(pe.el):G;w(pe,de,Ee,null,ee,X,me,xe,!0)}},j=(I,O,G,ee,X,me,xe)=>{if(G!==ee){if(G!==Ct)for(const ve in G)!ga(ve)&&!(ve in ee)&&o(I,ve,G[ve],null,xe,O.children,X,me,Re);for(const ve in ee){if(ga(ve))continue;const pe=ee[ve],de=G[ve];pe!==de&&ve!=="value"&&o(I,ve,de,pe,xe,O.children,X,me,Re)}"value"in ee&&o(I,"value",G.value,ee.value,xe)}},z=(I,O,G,ee,X,me,xe,ve,pe)=>{const de=O.el=I?I.el:u(""),Ee=O.anchor=I?I.anchor:u("");let{patchFlag:je,dynamicChildren:Ue,slotScopeIds:Je}=O;Je&&(ve=ve?ve.concat(Je):Je),I==null?(r(de,G,ee),r(Ee,G,ee),L(O.children||[],G,Ee,X,me,xe,ve,pe)):je>0&&je&64&&Ue&&I.dynamicChildren?(B(I.dynamicChildren,Ue,G,X,me,xe,ve),(O.key!=null||X&&O===X.subTree)&&am(I,O,!0)):U(I,O,G,Ee,X,me,xe,ve,pe)},K=(I,O,G,ee,X,me,xe,ve,pe)=>{O.slotScopeIds=ve,I==null?O.shapeFlag&512?X.ctx.activate(O,G,ee,xe,pe):te(O,G,ee,X,me,xe,pe):ce(I,O,pe)},te=(I,O,G,ee,X,me,xe)=>{const ve=I.component=l0(I,ee,X);if(Ya(I)&&(ve.ctx.renderer=Z),c0(ve),ve.asyncDep){if(X&&X.registerDep(ve,Q),!I.el){const pe=ve.subTree=p(vn);T(null,pe,O,G)}}else Q(ve,I,O,G,X,me,xe)},ce=(I,O,G)=>{const ee=O.component=I.component;if(QR(I,O,G))if(ee.asyncDep&&!ee.asyncResolved){ge(ee,O,G);return}else ee.next=O,jR(ee.update),ee.effect.dirty=!0,ee.update();else O.el=I.el,ee.vnode=O},Q=(I,O,G,ee,X,me,xe)=>{const ve=()=>{if(I.isMounted){let{next:Ee,bu:je,u:Ue,parent:Je,vnode:rt}=I;{const Nr=n0(I);if(Nr){Ee&&(Ee.el=rt.el,ge(I,Ee,xe)),Nr.asyncDep.then(()=>{I.isUnmounted||ve()});return}}let ht=Ee,At;bi(I,!1),Ee?(Ee.el=rt.el,ge(I,Ee,xe)):Ee=rt,je&&wo(je),(At=Ee.props&&Ee.props.onVnodeBeforeUpdate)&&Fn(At,Je,Ee,rt),bi(I,!0);const Wt=yu(I),Sn=I.subTree;I.subTree=Wt,w(Sn,Wt,m(Sn.el),q(Sn),I,X,me),Ee.el=Wt.el,ht===null&&Yh(I,Wt.el),Ue&&fn(Ue,X),(At=Ee.props&&Ee.props.onVnodeUpdated)&&fn(()=>Fn(At,Je,Ee,rt),X)}else{let Ee;const{el:je,props:Ue}=O,{bm:Je,m:rt,parent:ht}=I,At=Ii(O);if(bi(I,!1),Je&&wo(Je),!At&&(Ee=Ue&&Ue.onVnodeBeforeMount)&&Fn(Ee,ht,O),bi(I,!0),je&&Ne){const Wt=()=>{I.subTree=yu(I),Ne(je,I.subTree,I,X,null)};At?O.type.__asyncLoader().then(()=>!I.isUnmounted&&Wt()):Wt()}else{const Wt=I.subTree=yu(I);w(null,Wt,G,ee,I,X,me),O.el=Wt.el}if(rt&&fn(rt,X),!At&&(Ee=Ue&&Ue.onVnodeMounted)){const Wt=O;fn(()=>Fn(Ee,ht,Wt),X)}(O.shapeFlag&256||ht&&Ii(ht.vnode)&&ht.vnode.shapeFlag&256)&&I.a&&fn(I.a,X),I.isMounted=!0,O=G=ee=null}},pe=I.effect=new xo(ve,kn,()=>cc(de),I.scope),de=I.update=()=>{pe.dirty&&pe.run()};de.id=I.uid,bi(I,!0),de()},ge=(I,O,G)=>{O.component=I;const ee=I.vnode.props;I.vnode=O,I.next=null,$I(I,O.props,ee,G),UI(I,O.children,G),Ni(),$p(I),Ui()},U=(I,O,G,ee,X,me,xe,ve,pe=!1)=>{const de=I&&I.children,Ee=I?I.shapeFlag:0,je=O.children,{patchFlag:Ue,shapeFlag:Je}=O;if(Ue>0){if(Ue&128){ye(de,je,G,ee,X,me,xe,ve,pe);return}else if(Ue&256){ae(de,je,G,ee,X,me,xe,ve,pe);return}}Je&8?(Ee&16&&Re(de,X,me),je!==de&&h(G,je)):Ee&16?Je&16?ye(de,je,G,ee,X,me,xe,ve,pe):Re(de,X,me,!0):(Ee&8&&h(G,""),Je&16&&L(je,G,ee,X,me,xe,ve,pe))},ae=(I,O,G,ee,X,me,xe,ve,pe)=>{I=I||bo,O=O||bo;const de=I.length,Ee=O.length,je=Math.min(de,Ee);let Ue;for(Ue=0;Ue<je;Ue++){const Je=O[Ue]=pe?Zs(O[Ue]):Xn(O[Ue]);w(I[Ue],Je,G,null,X,me,xe,ve,pe)}de>Ee?Re(I,X,me,!0,!1,je):L(O,G,ee,X,me,xe,ve,pe,je)},ye=(I,O,G,ee,X,me,xe,ve,pe)=>{let de=0;const Ee=O.length;let je=I.length-1,Ue=Ee-1;for(;de<=je&&de<=Ue;){const Je=I[de],rt=O[de]=pe?Zs(O[de]):Xn(O[de]);if(Er(Je,rt))w(Je,rt,G,null,X,me,xe,ve,pe);else break;de++}for(;de<=je&&de<=Ue;){const Je=I[je],rt=O[Ue]=pe?Zs(O[Ue]):Xn(O[Ue]);if(Er(Je,rt))w(Je,rt,G,null,X,me,xe,ve,pe);else break;je--,Ue--}if(de>je){if(de<=Ue){const Je=Ue+1,rt=Je<Ee?O[Je].el:ee;for(;de<=Ue;)w(null,O[de]=pe?Zs(O[de]):Xn(O[de]),G,rt,X,me,xe,ve,pe),de++}}else if(de>Ue)for(;de<=je;)Se(I[de],X,me,!0),de++;else{const Je=de,rt=de,ht=new Map;for(de=rt;de<=Ue;de++){const ln=O[de]=pe?Zs(O[de]):Xn(O[de]);ln.key!=null&&ht.set(ln.key,de)}let At,Wt=0;const Sn=Ue-rt+1;let Nr=!1,Yi=0;const is=new Array(Sn);for(de=0;de<Sn;de++)is[de]=0;for(de=Je;de<=je;de++){const ln=I[de];if(Wt>=Sn){Se(ln,X,me,!0);continue}let Vn;if(ln.key!=null)Vn=ht.get(ln.key);else for(At=rt;At<=Ue;At++)if(is[At-rt]===0&&Er(ln,O[At])){Vn=At;break}Vn===void 0?Se(ln,X,me,!0):(is[Vn-rt]=de+1,Vn>=Yi?Yi=Vn:Nr=!0,w(ln,O[Vn],G,null,X,me,xe,ve,pe),Wt++)}const Zi=Nr?jI(is):bo;for(At=Zi.length-1,de=Sn-1;de>=0;de--){const ln=rt+de,Vn=O[ln],dl=ln+1<Ee?O[ln+1].el:ee;is[de]===0?w(null,Vn,G,dl,X,me,xe,ve,pe):Nr&&(At<0||de!==Zi[At]?ue(Vn,G,dl,2):At--)}}},ue=(I,O,G,ee,X=null)=>{const{el:me,type:xe,transition:ve,children:pe,shapeFlag:de}=I;if(de&6){ue(I.component.subTree,O,G,ee);return}if(de&128){I.suspense.move(O,G,ee);return}if(de&64){xe.move(I,O,G,Z);return}if(xe===He){r(me,O,G);for(let je=0;je<pe.length;je++)ue(pe[je],O,G,ee);r(I.anchor,O,G);return}if(xe===Vi){C(I,O,G);return}if(ee!==2&&de&1&&ve)if(ee===0)ve.beforeEnter(me),r(me,O,G),fn(()=>ve.enter(me),X);else{const{leave:je,delayLeave:Ue,afterLeave:Je}=ve,rt=()=>r(me,O,G),ht=()=>{je(me,()=>{rt(),Je&&Je()})};Ue?Ue(me,rt,ht):ht()}else r(me,O,G)},Se=(I,O,G,ee=!1,X=!1)=>{const{type:me,props:xe,ref:ve,children:pe,dynamicChildren:de,shapeFlag:Ee,patchFlag:je,dirs:Ue}=I;if(ve!=null&&Ou(ve,null,G,I,!0),Ee&256){O.ctx.deactivate(I);return}const Je=Ee&1&&Ue,rt=!Ii(I);let ht;if(rt&&(ht=xe&&xe.onVnodeBeforeUnmount)&&Fn(ht,O,I),Ee&6)Me(I.component,G,ee);else{if(Ee&128){I.suspense.unmount(G,ee);return}Je&&Gr(I,null,O,"beforeUnmount"),Ee&64?I.type.remove(I,O,G,X,Z,ee):de&&(me!==He||je>0&&je&64)?Re(de,O,G,!1,!0):(me===He&&je&384||!X&&Ee&16)&&Re(pe,O,G),ee&&be(I)}(rt&&(ht=xe&&xe.onVnodeUnmounted)||Je)&&fn(()=>{ht&&Fn(ht,O,I),Je&&Gr(I,null,O,"unmounted")},G)},be=I=>{const{type:O,el:G,anchor:ee,transition:X}=I;if(O===He){Oe(G,ee);return}if(O===Vi){E(I);return}const me=()=>{i(G),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(I.shapeFlag&1&&X&&!X.persisted){const{leave:xe,delayLeave:ve}=X,pe=()=>xe(G,me);ve?ve(I.el,me,pe):pe()}else me()},Oe=(I,O)=>{let G;for(;I!==O;)G=v(I),i(I),I=G;i(O)},Me=(I,O,G)=>{const{bum:ee,scope:X,update:me,subTree:xe,um:ve}=I;ee&&wo(ee),X.stop(),me&&(me.active=!1,Se(xe,I,O,G)),ve&&fn(ve,O),fn(()=>{I.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&I.asyncDep&&!I.asyncResolved&&I.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},Re=(I,O,G,ee=!1,X=!1,me=0)=>{for(let xe=me;xe<I.length;xe++)Se(I[xe],O,G,ee,X)},q=I=>I.shapeFlag&6?q(I.component.subTree):I.shapeFlag&128?I.suspense.next():v(I.anchor||I.el);let we=!1;const fe=(I,O,G)=>{I==null?O._vnode&&Se(O._vnode,null,null,!0):w(O._vnode||null,I,O,null,null,null,G),we||(we=!0,$p(),Vu(),we=!1),O._vnode=I},Z={p:w,um:Se,m:ue,r:be,mt:te,mc:L,pc:U,pbc:B,n:q,o:e};let Ce,Ne;return t&&([Ce,Ne]=t(Z)),{render:fe,hydrate:Ce,createApp:FI(fe,Ce)}}function dd({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 bi({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function t0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function am(e,t,n=!1){const r=e.children,i=t.children;if(Fe(r)&&Fe(i))for(let o=0;o<r.length;o++){const l=r[o];let u=i[o];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=i[o]=Zs(i[o]),u.el=l.el),n||am(l,u)),u.type===ni&&(u.el=l.el)}}function jI(e){const t=e.slice(),n=[0];let r,i,o,l,u;const f=e.length;for(r=0;r<f;r++){const d=e[r];if(d!==0){if(i=n[n.length-1],e[i]<d){t[r]=i,n.push(r);continue}for(o=0,l=n.length-1;o<l;)u=o+l>>1,e[n[u]]<d?o=u+1:l=u;d<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,l=n[o-1];o-- >0;)n[o]=l,l=t[l];return n}function n0(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:n0(t)}const KI=e=>e.__isTeleport,ba=e=>e&&(e.disabled||e.disabled===""),Xp=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Jp=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,jd=(e,t)=>{const n=e&&e.to;return Nt(n)?t?t(n):null:n},qI={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,l,u,f,d){const{mc:h,pc:m,pbc:v,o:{insert:y,querySelector:b,createText:w,createComment:x}}=d,T=ba(t.props);let{shapeFlag:P,children:C,dynamicChildren:E}=t;if(e==null){const V=t.el=w(""),k=t.anchor=w("");y(V,n,r),y(k,n,r);const D=t.target=jd(t.props,b),L=t.targetAnchor=w("");D&&(y(L,D),l==="svg"||Xp(D)?l="svg":(l==="mathml"||Jp(D))&&(l="mathml"));const M=(B,j)=>{P&16&&h(C,B,j,i,o,l,u,f)};T?M(n,k):D&&M(D,L)}else{t.el=e.el;const V=t.anchor=e.anchor,k=t.target=e.target,D=t.targetAnchor=e.targetAnchor,L=ba(e.props),M=L?n:k,B=L?V:D;if(l==="svg"||Xp(k)?l="svg":(l==="mathml"||Jp(k))&&(l="mathml"),E?(v(e.dynamicChildren,E,M,i,o,l,u),am(e,t,!0)):f||m(e,t,M,B,i,o,l,u,!1),T)L?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):cu(t,n,V,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const j=t.target=jd(t.props,b);j&&cu(t,j,null,d,0)}else L&&cu(t,k,D,d,1)}s0(t)},remove(e,t,n,r,{um:i,o:{remove:o}},l){const{shapeFlag:u,children:f,anchor:d,targetAnchor:h,target:m,props:v}=e;if(m&&o(h),l&&o(d),u&16){const y=l||!ba(v);for(let b=0;b<f.length;b++){const w=f[b];i(w,t,n,y,!!w.dynamicChildren)}}},move:cu,hydrate:YI};function cu(e,t,n,{o:{insert:r},m:i},o=2){o===0&&r(e.targetAnchor,t,n);const{el:l,anchor:u,shapeFlag:f,children:d,props:h}=e,m=o===2;if(m&&r(l,t,n),(!m||ba(h))&&f&16)for(let v=0;v<d.length;v++)i(d[v],t,n,2);m&&r(u,t,n)}function YI(e,t,n,r,i,o,{o:{nextSibling:l,parentNode:u,querySelector:f}},d){const h=t.target=jd(t.props,f);if(h){const m=h._lpa||h.firstChild;if(t.shapeFlag&16)if(ba(t.props))t.anchor=d(l(e),t,u(e),n,r,i,o),t.targetAnchor=m;else{t.anchor=l(e);let v=m;for(;v;)if(v=l(v),v&&v.nodeType===8&&v.data==="teleport anchor"){t.targetAnchor=v,h._lpa=t.targetAnchor&&l(t.targetAnchor);break}d(m,t,h,n,r,i,o)}s0(t)}return t.anchor&&l(t.anchor)}const r0=qI;function s0(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const He=Symbol.for("v-fgt"),ni=Symbol.for("v-txt"),vn=Symbol.for("v-cmt"),Vi=Symbol.for("v-stc"),_a=[];let $n=null;function ie(e=!1){_a.push($n=e?null:[])}function i0(){_a.pop(),$n=_a[_a.length-1]||null}let Fi=1;function Kd(e){Fi+=e}function o0(e){return e.dynamicChildren=Fi>0?$n||bo:null,i0(),Fi>0&&$n&&$n.push(e),e}function We(e,t,n,r,i,o){return o0(H(e,t,n,r,i,o,!0))}function Ze(e,t,n,r,i){return o0(p(e,t,n,r,i,!0))}function As(e){return e?e.__v_isVNode===!0:!1}function Er(e,t){return e.type===t.type&&e.key===t.key}function ZI(e){}const pc="__vInternal",a0=({key:e})=>e??null,bu=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Nt(e)||Ot(e)||Xe(e)?{i:Jt,r:e,k:t,f:!!n}:e:null);function H(e,t=null,n=null,r=0,i=null,o=e===He?0:1,l=!1,u=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&a0(t),ref:t&&bu(t),scopeId:dc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Jt};return u?(um(f,n),o&128&&e.normalize(f)):n&&(f.shapeFlag|=Nt(n)?8:16),Fi>0&&!l&&$n&&(f.patchFlag>0||o&6)&&f.patchFlag!==32&&$n.push(f),f}const p=XI;function XI(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===Pb)&&(e=vn),As(e)){const u=Lr(e,t,!0);return n&&um(u,n),Fi>0&&!o&&$n&&(u.shapeFlag&6?$n[$n.indexOf(e)]=u:$n.push(u)),u.patchFlag|=-2,u}if(iV(e)&&(e=e.__vccOpts),t){t=lm(t);let{class:u,style:f}=t;u&&!Nt(u)&&(t.class=Vr(u)),Pt(f)&&(Wh(f)&&!Fe(f)&&(f=Ht({},f)),t.style=ja(f))}const l=Nt(e)?1:kb(e)?128:KI(e)?64:Pt(e)?4:Xe(e)?2:0;return H(e,t,n,r,i,l,o,!0)}function lm(e){return e?Wh(e)||pc in e?Ht({},e):e:null}function Lr(e,t,n=!1){const{props:r,ref:i,patchFlag:o,children:l}=e,u=t?Ae(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&a0(u),ref:t&&t.ref?n&&i?Fe(i)?i.concat(bu(t)):[i,bu(t)]:bu(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Lr(e.ssContent),ssFallback:e.ssFallback&&Lr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function De(e=" ",t=0){return p(ni,null,e,t)}function JI(e,t){const n=p(Vi,null,e);return n.staticCount=t,n}function xt(e="",t=!1){return t?(ie(),Ze(vn,null,e)):p(vn,null,e)}function Xn(e){return e==null||typeof e=="boolean"?p(vn):Fe(e)?p(He,null,e.slice()):typeof e=="object"?Zs(e):p(ni,null,String(e))}function Zs(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Lr(e)}function um(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Fe(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),um(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(pc in t)?t._ctx=Jt:i===3&&Jt&&(Jt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Xe(t)?(t={default:t,_ctx:Jt},n=32):(t=String(t),r&64?(n=16,t=[De(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ae(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=Vr([t.class,r.class]));else if(i==="style")t.style=ja([t.style,r.style]);else if(Ga(i)){const o=t[i],l=r[i];l&&o!==l&&!(Fe(o)&&o.includes(l))&&(t[i]=o?[].concat(o,l):l)}else i!==""&&(t[i]=r[i])}return t}function Fn(e,t,n,r=null){er(e,t,7,[n,r])}const QI=Gb();let eV=0;function l0(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||QI,o={uid:eV++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Bh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:qb(r,i),emitsOptions:Eb(r,i),emit:null,emitted:null,propsDefaults:Ct,inheritAttrs:r.inheritAttrs,ctx:Ct,data:Ct,props:Ct,attrs:Ct,slots:Ct,refs:Ct,setupState:Ct,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=qR.bind(null,o),e.ce&&e.ce(o),o}let sn=null;const Jr=()=>sn||Jt;let Du,qd;{const e=nb(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(l=>l(o)):i[0](o)}};Du=t("__VUE_INSTANCE_SETTERS__",n=>sn=n),qd=t("__VUE_SSR_SETTERS__",n=>Xa=n)}const Bi=e=>{const t=sn;return Du(e),e.scope.on(),()=>{e.scope.off(),Du(t)}},Yd=()=>{sn&&sn.scope.off(),Du(null)};function u0(e){return e.vnode.shapeFlag&4}let Xa=!1;function c0(e,t=!1){t&&qd(t);const{props:n,children:r}=e.vnode,i=u0(e);BI(e,n,i,t),NI(e,r);const o=i?tV(e,t):void 0;return t&&qd(!1),o}function tV(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=$r(new Proxy(e.ctx,Ud));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?d0(e):null,o=Bi(e);Ni();const l=Ss(r,e,0,[e.props,i]);if(Ui(),o(),Dh(l)){if(l.then(Yd,Yd),t)return l.then(u=>{Zd(e,u,t)}).catch(u=>{zi(u,e,0)});e.asyncDep=l}else Zd(e,l,t)}else f0(e,t)}function Zd(e,t,n){Xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Pt(t)&&(e.setupState=Kh(t)),f0(e,n)}let Mu,Xd;function nV(e){Mu=e,Xd=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,gI))}}const rV=()=>!Mu;function f0(e,t,n){const r=e.type;if(!e.render){if(!t&&Mu&&!r.render){const i=r.template||im(e).template;if(i){const{isCustomElement:o,compilerOptions:l}=e.appContext.config,{delimiters:u,compilerOptions:f}=r,d=Ht(Ht({isCustomElement:o,delimiters:u},l),f);r.render=Mu(i,d)}}e.render=r.render||kn,Xd&&Xd(e)}{const i=Bi(e);Ni();try{II(e)}finally{Ui(),i()}}}function sV(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Hn(e,"get","$attrs"),t[n]}}))}function d0(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return sV(e)},slots:e.slots,emit:e.emit,expose:t}}function yc(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Kh($r(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ya)return ya[n](e)},has(t,n){return n in t||n in ya}}))}function Jd(e,t=!0){return Xe(e)?e.displayName||e.name:e.name||t&&e.__name}function iV(e){return Xe(e)&&"__vccOpts"in e}const R=(e,t)=>IR(e,t,Xa);function Ps(e,t,n){const r=arguments.length;return r===2?Pt(t)&&!Fe(t)?As(t)?p(e,null,[t]):p(e,t):p(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&As(n)&&(n=[n]),p(e,t,n))}function oV(){}function aV(e,t,n,r){const i=n[r];if(i&&h0(i,e))return i;const o=t();return o.memo=e.slice(),n[r]=o}function h0(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Ir(n[r],t[r]))return!1;return Fi>0&&$n&&$n.push(e),!0}const m0="3.4.7",lV=kn,uV=zR,cV=void 0,fV=kn,dV={createComponentInstance:l0,setupComponent:c0,renderComponentRoot:yu,setCurrentRenderingInstance:Ia,isVNode:As,normalizeVNode:Xn},hV=dV,mV=null,vV=null,gV=null,pV="http://www.w3.org/2000/svg",yV="http://www.w3.org/1998/Math/MathML",Xs=typeof document<"u"?document:null,Qp=Xs&&Xs.createElement("template"),bV={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 i=t==="svg"?Xs.createElementNS(pV,e):t==="mathml"?Xs.createElementNS(yV,e):Xs.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Xs.createTextNode(e),createComment:e=>Xs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xs.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const l=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{Qp.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const u=Qp.content;if(r==="svg"||r==="mathml"){const f=u.firstChild;for(;f.firstChild;)u.appendChild(f.firstChild);u.removeChild(f)}t.insertBefore(u,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},zs="transition",la="animation",Eo=Symbol("_vtc"),Or=(e,{slots:t})=>Ps(Db,g0(e),t);Or.displayName="Transition";const v0={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},_V=Or.props=Ht({},em,v0),_i=(e,t=[])=>{Fe(e)?e.forEach(n=>n(...t)):e&&e(...t)},e1=e=>e?Fe(e)?e.some(t=>t.length>1):e.length>1:!1;function g0(e){const t={};for(const z in e)z in v0||(t[z]=e[z]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:u=`${n}-enter-to`,appearFromClass:f=o,appearActiveClass:d=l,appearToClass:h=u,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,b=wV(i),w=b&&b[0],x=b&&b[1],{onBeforeEnter:T,onEnter:P,onEnterCancelled:C,onLeave:E,onLeaveCancelled:V,onBeforeAppear:k=T,onAppear:D=P,onAppearCancelled:L=C}=t,M=(z,K,te)=>{js(z,K?h:u),js(z,K?d:l),te&&te()},B=(z,K)=>{z._isLeaving=!1,js(z,m),js(z,y),js(z,v),K&&K()},j=z=>(K,te)=>{const ce=z?D:P,Q=()=>M(K,z,te);_i(ce,[K,Q]),t1(()=>{js(K,z?f:o),ps(K,z?h:u),e1(ce)||n1(K,r,w,Q)})};return Ht(t,{onBeforeEnter(z){_i(T,[z]),ps(z,o),ps(z,l)},onBeforeAppear(z){_i(k,[z]),ps(z,f),ps(z,d)},onEnter:j(!1),onAppear:j(!0),onLeave(z,K){z._isLeaving=!0;const te=()=>B(z,K);ps(z,m),y0(),ps(z,v),t1(()=>{z._isLeaving&&(js(z,m),ps(z,y),e1(E)||n1(z,r,x,te))}),_i(E,[z,te])},onEnterCancelled(z){M(z,!1),_i(C,[z])},onAppearCancelled(z){M(z,!0),_i(L,[z])},onLeaveCancelled(z){B(z),_i(V,[z])}})}function wV(e){if(e==null)return null;if(Pt(e))return[hd(e.enter),hd(e.leave)];{const t=hd(e);return[t,t]}}function hd(e){return Tu(e)}function ps(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Eo]||(e[Eo]=new Set)).add(t)}function js(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Eo];n&&(n.delete(t),n.size||(e[Eo]=void 0))}function t1(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let SV=0;function n1(e,t,n,r){const i=e._endId=++SV,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:l,timeout:u,propCount:f}=p0(e,t);if(!l)return r();const d=l+"end";let h=0;const m=()=>{e.removeEventListener(d,v),o()},v=y=>{y.target===e&&++h>=f&&m()};setTimeout(()=>{h<f&&m()},u+1),e.addEventListener(d,v)}function p0(e,t){const n=window.getComputedStyle(e),r=b=>(n[b]||"").split(", "),i=r(`${zs}Delay`),o=r(`${zs}Duration`),l=r1(i,o),u=r(`${la}Delay`),f=r(`${la}Duration`),d=r1(u,f);let h=null,m=0,v=0;t===zs?l>0&&(h=zs,m=l,v=o.length):t===la?d>0&&(h=la,m=d,v=f.length):(m=Math.max(l,d),h=m>0?l>d?zs:la:null,v=h?h===zs?o.length:f.length:0);const y=h===zs&&/\b(transform|all)(,|$)/.test(r(`${zs}Property`).toString());return{type:h,timeout:m,propCount:v,hasTransform:y}}function r1(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>s1(n)+s1(e[r])))}function s1(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function y0(){return document.body.offsetHeight}function CV(e,t,n){const r=e[Eo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const cm=Symbol("_vod"),yr={beforeMount(e,{value:t},{transition:n}){e[cm]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ua(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ua(e,!0),r.enter(e)):r.leave(e,()=>{ua(e,!1)}):ua(e,t))},beforeUnmount(e,{value:t}){ua(e,t)}};function ua(e,t){e.style.display=t?e[cm]:"none"}function xV(){yr.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const b0=Symbol("");function AV(e){const t=Jr();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>eh(o,i))},r=()=>{const i=e(t.proxy);Qd(t.subTree,i),n(i)};Vb(r),nr(()=>{const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),gc(()=>i.disconnect())})}function Qd(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Qd(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)eh(e.el,t);else if(e.type===He)e.children.forEach(n=>Qd(n,t));else if(e.type===Vi){let{el:n,anchor:r}=e;for(;n&&(eh(n,t),n!==r);)n=n.nextSibling}}function eh(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t)n.setProperty(`--${i}`,t[i]),r+=`--${i}: ${t[i]};`;n[b0]=r}}function EV(e,t,n){const r=e.style,i=Nt(n);if(n&&!i){if(t&&!Nt(t))for(const o in t)n[o]==null&&th(r,o,"");for(const o in n)th(r,o,n[o])}else{const o=r.display;if(i){if(t!==n){const l=r[b0];l&&(n+=";"+l),r.cssText=n}}else t&&e.removeAttribute("style");cm in e&&(r.display=o)}}const i1=/\s*!important$/;function th(e,t,n){if(Fe(n))n.forEach(r=>th(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=PV(e,t);i1.test(n)?e.setProperty(Jn(r),n.replace(i1,""),"important"):e[r]=n}}const o1=["Webkit","Moz","ms"],md={};function PV(e,t){const n=md[t];if(n)return n;let r=mn(t);if(r!=="filter"&&r in e)return md[t]=r;r=oi(r);for(let i=0;i<o1.length;i++){const o=o1[i]+r;if(o in e)return md[t]=o}return t}const a1="http://www.w3.org/1999/xlink";function kV(e,t,n,r,i){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(a1,t.slice(6,t.length)):e.setAttributeNS(a1,t,n);else{const o=oR(t);n==null||o&&!rb(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function TV(e,t,n,r,i,o,l){if(t==="innerHTML"||t==="textContent"){r&&l(r,i,o),e[t]=n??"";return}const u=e.tagName;if(t==="value"&&u!=="PROGRESS"&&!u.includes("-")){e._value=n;const d=u==="OPTION"?e.getAttribute("value"):e.value,h=n??"";d!==h&&(e.value=h),n==null&&e.removeAttribute(t);return}let f=!1;if(n===""||n==null){const d=typeof e[t];d==="boolean"?n=rb(n):n==null&&d==="string"?(n="",f=!0):d==="number"&&(n=0,f=!0)}try{e[t]=n}catch{}f&&e.removeAttribute(t)}function ys(e,t,n,r){e.addEventListener(t,n,r)}function RV(e,t,n,r){e.removeEventListener(t,n,r)}const l1=Symbol("_vei");function IV(e,t,n,r,i=null){const o=e[l1]||(e[l1]={}),l=o[t];if(r&&l)l.value=r;else{const[u,f]=VV(t);if(r){const d=o[t]=DV(r,i);ys(e,u,d,f)}else l&&(RV(e,u,l,f),o[t]=void 0)}}const u1=/(?:Once|Passive|Capture)$/;function VV(e){let t;if(u1.test(e)){t={};let r;for(;r=e.match(u1);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Jn(e.slice(2)),t]}let vd=0;const LV=Promise.resolve(),OV=()=>vd||(LV.then(()=>vd=0),vd=Date.now());function DV(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;er(MV(r,n.value),t,5,[r])};return n.value=e,n.attached=OV(),n}function MV(e,t){if(Fe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const c1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,FV=(e,t,n,r,i,o,l,u,f)=>{const d=i==="svg";t==="class"?CV(e,r,d):t==="style"?EV(e,n,r):Ga(t)?Lh(t)||IV(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):BV(e,t,r,d))?TV(e,t,r,o,l,u,f):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),kV(e,t,r,d))};function BV(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&c1(t)&&Xe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return c1(t)&&Nt(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function _0(e,t){const n=Fo(e);class r extends bc{constructor(o){super(n,o,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const $V=e=>_0(e,V0),HV=typeof HTMLElement<"u"?HTMLElement:class{};class bc extends HV{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Bt(()=>{this._connected||(rh(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const i of r)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,i=!1)=>{const{props:o,styles:l}=r;let u;if(o&&!Fe(o))for(const f in o){const d=o[f];(d===Number||d&&d.type===Number)&&(f in this._props&&(this._props[f]=Tu(this._props[f])),(u||(u=Object.create(null)))[mn(f)]=!0)}this._numberProps=u,i&&this._resolveProps(r),this._applyStyles(l),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=Fe(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of r.map(mn))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o)}})}_setAttr(t){let n=this.getAttribute(t);const r=mn(t);this._numberProps&&this._numberProps[r]&&(n=Tu(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!0){n!==this._props[t]&&(this._props[t]=n,i&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(Jn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Jn(t),n+""):n||this.removeAttribute(Jn(t))))}_update(){rh(this._createVNode(),this.shadowRoot)}_createVNode(){const t=p(this._def,Ht({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,l)=>{this.dispatchEvent(new CustomEvent(o,{detail:l}))};n.emit=(o,...l)=>{r(o,l),Jn(o)!==o&&r(Jn(o),l)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof bc){n.parent=i._instance,n.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function NV(e="$style"){{const t=Jr();if(!t)return Ct;const n=t.type.__cssModules;if(!n)return Ct;const r=n[e];return r||Ct}}const w0=new WeakMap,S0=new WeakMap,Fu=Symbol("_moveCb"),f1=Symbol("_enterCb"),C0={name:"TransitionGroup",props:Ht({},_V,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Jr(),r=Qh();let i,o;return vc(()=>{if(!i.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!jV(i[0].el,n.vnode.el,l))return;i.forEach(zV),i.forEach(WV);const u=i.filter(GV);y0(),u.forEach(f=>{const d=f.el,h=d.style;ps(d,l),h.transform=h.webkitTransform=h.transitionDuration="";const m=d[Fu]=v=>{v&&v.target!==d||(!v||/transform$/.test(v.propertyName))&&(d.removeEventListener("transitionend",m),d[Fu]=null,js(d,l))};d.addEventListener("transitionend",m)})}),()=>{const l=et(e),u=g0(l);let f=l.tag||He;i=o,o=t.default?hc(t.default()):[];for(let d=0;d<o.length;d++){const h=o[d];h.key!=null&&Mi(h,Ao(h,u,r,n))}if(i)for(let d=0;d<i.length;d++){const h=i[d];Mi(h,Ao(h,u,r,n)),w0.set(h,h.el.getBoundingClientRect())}return p(f,null,o)}}},UV=e=>delete e.mode;C0.props;const x0=C0;function zV(e){const t=e.el;t[Fu]&&t[Fu](),t[f1]&&t[f1]()}function WV(e){S0.set(e,e.el.getBoundingClientRect())}function GV(e){const t=w0.get(e),n=S0.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function jV(e,t,n){const r=e.cloneNode(),i=e[Eo];i&&i.forEach(u=>{u.split(/\s+/).forEach(f=>f&&r.classList.remove(f))}),n.split(/\s+/).forEach(u=>u&&r.classList.add(u)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:l}=p0(r);return o.removeChild(r),l}const ri=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Fe(t)?n=>wo(t,n):t};function KV(e){e.target.composing=!0}function d1(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const gr=Symbol("_assign"),Bu={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[gr]=ri(i);const o=r||i.props&&i.props.type==="number";ys(e,t?"change":"input",l=>{if(l.target.composing)return;let u=e.value;n&&(u=u.trim()),o&&(u=ku(u)),e[gr](u)}),n&&ys(e,"change",()=>{e.value=e.value.trim()}),t||(ys(e,"compositionstart",KV),ys(e,"compositionend",d1),ys(e,"change",d1))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},o){if(e[gr]=ri(o),e.composing)return;const l=i||e.type==="number"?ku(e.value):e.value,u=t??"";l!==u&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===u)||(e.value=u))}},fm={deep:!0,created(e,t,n){e[gr]=ri(n),ys(e,"change",()=>{const r=e._modelValue,i=Po(e),o=e.checked,l=e[gr];if(Fe(r)){const u=oc(r,i),f=u!==-1;if(o&&!f)l(r.concat(i));else if(!o&&f){const d=[...r];d.splice(u,1),l(d)}}else if(Hi(r)){const u=new Set(r);o?u.add(i):u.delete(i),l(u)}else l(E0(e,o))})},mounted:h1,beforeUpdate(e,t,n){e[gr]=ri(n),h1(e,t,n)}};function h1(e,{value:t,oldValue:n},r){e._modelValue=t,Fe(t)?e.checked=oc(t,r.props.value)>-1:Hi(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=ti(t,E0(e,!0)))}const dm={created(e,{value:t},n){e.checked=ti(t,n.props.value),e[gr]=ri(n),ys(e,"change",()=>{e[gr](Po(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[gr]=ri(r),t!==n&&(e.checked=ti(t,r.props.value))}},A0={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=Hi(t);ys(e,"change",()=>{const o=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>n?ku(Po(l)):Po(l));e[gr](e.multiple?i?new Set(o):o:o[0])}),e[gr]=ri(r)},mounted(e,{value:t}){m1(e,t)},beforeUpdate(e,t,n){e[gr]=ri(n)},updated(e,{value:t}){m1(e,t)}};function m1(e,t){const n=e.multiple;if(!(n&&!Fe(t)&&!Hi(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=Po(o);if(n)Fe(t)?o.selected=oc(t,l)>-1:o.selected=t.has(l);else if(ti(Po(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Po(e){return"_value"in e?e._value:e.value}function E0(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const P0={created(e,t,n){fu(e,t,n,null,"created")},mounted(e,t,n){fu(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){fu(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){fu(e,t,n,r,"updated")}};function k0(e,t){switch(e){case"SELECT":return A0;case"TEXTAREA":return Bu;default:switch(t){case"checkbox":return fm;case"radio":return dm;default:return Bu}}}function fu(e,t,n,r,i){const l=k0(e.tagName,n.props&&n.props.type)[i];l&&l(e,t,n,r)}function qV(){Bu.getSSRProps=({value:e})=>({value:e}),dm.getSSRProps=({value:e},t)=>{if(t.props&&ti(t.props.value,e))return{checked:!0}},fm.getSSRProps=({value:e},t)=>{if(Fe(e)){if(t.props&&oc(e,t.props.value)>-1)return{checked:!0}}else if(Hi(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},P0.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=k0(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const YV=["ctrl","shift","alt","meta"],ZV={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)=>YV.some(n=>e[`${n}Key`]&&!t.includes(n))},nh=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let l=0;l<t.length;l++){const u=ZV[t[l]];if(u&&u(i,t))return}return e(i,...o)})},XV={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Cs=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=Jn(i.key);if(t.some(l=>l===o||XV[l]===o))return e(i)})},T0=Ht({patchProp:FV},bV);let wa,v1=!1;function R0(){return wa||(wa=Jb(T0))}function I0(){return wa=v1?wa:Qb(T0),v1=!0,wa}const rh=(...e)=>{R0().render(...e)},V0=(...e)=>{I0().hydrate(...e)},JV=(...e)=>{const t=R0().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=O0(r);if(!i)return;const o=t._component;!Xe(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const l=n(i,!1,L0(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t},QV=(...e)=>{const t=I0().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=O0(r);if(i)return n(i,!0,L0(i))},t};function L0(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function O0(e){return Nt(e)?document.querySelector(e):e}let g1=!1;const eL=()=>{g1||(g1=!0,qV(),xV())},tL=()=>{},I7=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Db,BaseTransitionPropsValidators:em,Comment:vn,DeprecationTypes:gV,EffectScope:Bh,ErrorCodes:UR,ErrorTypeStrings:uV,Fragment:He,KeepAlive:fI,ReactiveEffect:xo,Static:Vi,Suspense:nI,Teleport:r0,Text:ni,TrackOpTypes:$R,Transition:Or,TransitionGroup:x0,TriggerOpTypes:HR,VueElement:bc,assertNumber:NR,callWithAsyncErrorHandling:er,callWithErrorHandling:Ss,camelize:mn,capitalize:oi,cloneVNode:Lr,compatUtils:vV,compile:tL,computed:R,createApp:JV,createBlock:Ze,createCommentVNode:xt,createElementBlock:We,createElementVNode:H,createHydrationRenderer:Qb,createPropsRestProxy:TI,createRenderer:Jb,createSSRApp:QV,createSlots:hI,createStaticVNode:JI,createTextVNode:De,createVNode:p,customRef:wb,defineAsyncComponent:tm,defineComponent:Fo,defineCustomElement:_0,defineEmits:yI,defineExpose:bI,defineModel:SI,defineOptions:_I,defineProps:pI,defineSSRCustomElement:$V,defineSlots:wI,devtools:cV,effect:uR,effectScope:Do,getCurrentInstance:Jr,getCurrentScope:$h,getTransitionRawChildren:hc,guardReactiveProps:lm,h:Ps,handleError:zi,hasInjectionContext:jb,hydrate:V0,initCustomFormatter:oV,initDirectivesForSSR:eL,inject:lt,isMemoSame:h0,isProxy:Wh,isReactive:ws,isReadonly:Di,isRef:Ot,isRuntimeOnly:rV,isShallow:Ea,isVNode:As,markRaw:$r,mergeDefaults:PI,mergeModels:kI,mergeProps:Ae,nextTick:Bt,normalizeClass:Vr,normalizeProps:Fh,normalizeStyle:ja,onActivated:nm,onBeforeMount:Za,onBeforeUnmount:wn,onBeforeUpdate:sm,onDeactivated:rm,onErrorCaptured:Nb,onMounted:nr,onRenderTracked:Hb,onRenderTriggered:$b,onScopeDispose:_n,onServerPrefetch:Bb,onUnmounted:gc,onUpdated:vc,openBlock:ie,popScopeId:Gi,provide:Et,proxyRefs:Kh,pushScopeId:Wi,queuePostFlushCb:Iu,reactive:dn,readonly:Mo,ref:Pe,registerRuntimeCompiler:nV,render:rh,renderList:Rr,renderSlot:mI,resolveComponent:Ft,resolveDirective:Xr,resolveDynamicComponent:ji,resolveFilter:mV,resolveTransitionHooks:Ao,setBlockTracking:Kd,setDevtoolsHook:fV,setTransitionHooks:Mi,shallowReactive:zh,shallowReadonly:RR,shallowRef:Ve,ssrContextKey:Rb,ssrUtils:hV,stop:cR,toDisplayString:Te,toHandlerKey:pa,toHandlers:vI,toRaw:et,toRef:_e,toRefs:Ka,toValue:OR,transformVNodeArgs:ZI,triggerRef:LR,unref:jt,useAttrs:AI,useCssModule:NV,useCssVars:AV,useModel:EI,useSSRContext:Ib,useSlots:xI,useTransitionState:Qh,vModelCheckbox:fm,vModelDynamic:P0,vModelRadio:dm,vModelSelect:A0,vModelText:Bu,vShow:yr,version:m0,warn:lV,watch:$e,watchEffect:Nn,watchPostEffect:Vb,watchSyncEffect:Lb,withAsyncContext:RI,withCtx:le,withDefaults:CI,withDirectives:on,withKeys:Cs,withMemo:aV,withModifiers:nh,withScopeId:YR},Symbol.toStringTag,{value:"Module"}));var nL=!1;/*!
|
|
2
|
-
* pinia v2.1.7
|
|
3
|
-
* (c) 2023 Eduardo San Martin Morote
|
|
4
|
-
* @license MIT
|
|
5
|
-
*/let D0;const _c=e=>D0=e,M0=Symbol();function sh(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Sa;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Sa||(Sa={}));function V7(){const e=Do(!0),t=e.run(()=>Pe({}));let n=[],r=[];const i=$r({install(o){_c(i),i._a=o,o.provide(M0,i),o.config.globalProperties.$pinia=i,r.forEach(l=>n.push(l)),r=[]},use(o){return!this._a&&!nL?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const F0=()=>{};function p1(e,t,n,r=F0){e.push(t);const i=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&$h()&&_n(i),i}function fo(e,...t){e.slice().forEach(n=>{n(...t)})}const rL=e=>e();function ih(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],i=e[n];sh(i)&&sh(r)&&e.hasOwnProperty(n)&&!Ot(r)&&!ws(r)?e[n]=ih(i,r):e[n]=r}return e}const sL=Symbol();function iL(e){return!sh(e)||!e.hasOwnProperty(sL)}const{assign:Ks}=Object;function oL(e){return!!(Ot(e)&&e.effect)}function aL(e,t,n,r){const{state:i,actions:o,getters:l}=t,u=n.state.value[e];let f;function d(){u||(n.state.value[e]=i?i():{});const h=Ka(n.state.value[e]);return Ks(h,o,Object.keys(l||{}).reduce((m,v)=>(m[v]=$r(R(()=>{_c(n);const y=n._s.get(e);return l[v].call(y,y)})),m),{}))}return f=B0(e,d,t,n,r,!0),f}function B0(e,t,n={},r,i,o){let l;const u=Ks({actions:{}},n),f={deep:!0};let d,h,m=[],v=[],y;const b=r.state.value[e];!o&&!b&&(r.state.value[e]={}),Pe({});let w;function x(L){let M;d=h=!1,typeof L=="function"?(L(r.state.value[e]),M={type:Sa.patchFunction,storeId:e,events:y}):(ih(r.state.value[e],L),M={type:Sa.patchObject,payload:L,storeId:e,events:y});const B=w=Symbol();Bt().then(()=>{w===B&&(d=!0)}),h=!0,fo(m,M,r.state.value[e])}const T=o?function(){const{state:M}=n,B=M?M():{};this.$patch(j=>{Ks(j,B)})}:F0;function P(){l.stop(),m=[],v=[],r._s.delete(e)}function C(L,M){return function(){_c(r);const B=Array.from(arguments),j=[],z=[];function K(Q){j.push(Q)}function te(Q){z.push(Q)}fo(v,{args:B,name:L,store:V,after:K,onError:te});let ce;try{ce=M.apply(this&&this.$id===e?this:V,B)}catch(Q){throw fo(z,Q),Q}return ce instanceof Promise?ce.then(Q=>(fo(j,Q),Q)).catch(Q=>(fo(z,Q),Promise.reject(Q))):(fo(j,ce),ce)}}const E={_p:r,$id:e,$onAction:p1.bind(null,v),$patch:x,$reset:T,$subscribe(L,M={}){const B=p1(m,L,M.detached,()=>j()),j=l.run(()=>$e(()=>r.state.value[e],z=>{(M.flush==="sync"?h:d)&&L({storeId:e,type:Sa.direct,events:y},z)},Ks({},f,M)));return B},$dispose:P},V=dn(E);r._s.set(e,V);const D=(r._a&&r._a.runWithContext||rL)(()=>r._e.run(()=>(l=Do()).run(t)));for(const L in D){const M=D[L];if(Ot(M)&&!oL(M)||ws(M))o||(b&&iL(M)&&(Ot(M)?M.value=b[L]:ih(M,b[L])),r.state.value[e][L]=M);else if(typeof M=="function"){const B=C(L,M);D[L]=B,u.actions[L]=M}}return Ks(V,D),Ks(et(V),D),Object.defineProperty(V,"$state",{get:()=>r.state.value[e],set:L=>{x(M=>{Ks(M,L)})}}),r._p.forEach(L=>{Ks(V,l.run(()=>L({store:V,app:r._a,pinia:r,options:u})))}),b&&o&&n.hydrate&&n.hydrate(V.$state,b),d=!0,h=!0,V}function Ja(e,t,n){let r,i;const o=typeof t=="function";typeof e=="string"?(r=e,i=o?n:t):(i=e,r=e.id);function l(u,f){const d=jb();return u=u||(d?lt(M0,null):null),u&&_c(u),u=D0,u._s.has(r)||(o?B0(r,t,i,u):aL(r,i,u)),u._s.get(r)}return l.$id=r,l}function kt(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(){return e(this.$pinia)[r]},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){const i=e(this.$pinia),o=t[r];return typeof o=="function"?o.call(this,i):i[o]},n),{})}const Bo=kt;function Xt(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(...i){return e(this.$pinia)[r](...i)},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...i){return e(this.$pinia)[t[r]](...i)},n),{})}function hm(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[r]},set(i){return e(this.$pinia)[r]=i}},n),{}):Object.keys(t).reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[t[r]]},set(i){return e(this.$pinia)[t[r]]=i}},n),{})}const $0=["detail","oldPassword","password","username","passwordConfirm","path"];Object.freeze($0);const lL=e=>{let t=[];if(e&&e.response&&e.response.data){let n=e.response.data;for(const r of $0)if(r in n){n=n[r];break}t=Array.isArray(n)?n.flat():[n]}else console.warn("Unable to parse error",e);return t.length===0&&(t=["Unknown error"]),t},Rt=Ja("common",{state:()=>({form:{errors:[],success:""},versions:{installed:"1.5.0-rc1",latest:void 0},timestamp:Date.now(),isSettingsDrawerOpen:!1}),getters:{isMobile:function(){return window.orientation!==void 0||navigator.userAgent.includes("IEMobile")}},actions:{async loadVersions(){await T1.getVersions(this.timestamp).then(e=>{const t=e.data;return this.versions=t}).catch(console.error)},downloadIOSPWAFix(e,t){T1.downloadIOSPWAFix(e,t)},setErrors(e){const t=lL(e);this.$patch(n=>{n.form.errors=t,n.form.success=""})},setSuccess(e){this.$patch(t=>{t.form.errors=[],t.form.success=e})},clearErrors(){this.$patch(e=>{e.form.errors=[],e.form.success=""})},setTimestamp(){this.timestamp=Date.now()}}});function H0(e,t){return function(){return e.apply(t,arguments)}}const{toString:uL}=Object.prototype,{getPrototypeOf:mm}=Object,wc=(e=>t=>{const n=uL.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Qr=e=>(e=e.toLowerCase(),t=>wc(t)===e),Sc=e=>t=>typeof t===e,{isArray:$o}=Array,Da=Sc("undefined");function cL(e){return e!==null&&!Da(e)&&e.constructor!==null&&!Da(e.constructor)&&pr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const N0=Qr("ArrayBuffer");function fL(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&N0(e.buffer),t}const dL=Sc("string"),pr=Sc("function"),U0=Sc("number"),Cc=e=>e!==null&&typeof e=="object",hL=e=>e===!0||e===!1,_u=e=>{if(wc(e)!=="object")return!1;const t=mm(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},mL=Qr("Date"),vL=Qr("File"),gL=Qr("Blob"),pL=Qr("FileList"),yL=e=>Cc(e)&&pr(e.pipe),bL=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||pr(e.append)&&((t=wc(e))==="formdata"||t==="object"&&pr(e.toString)&&e.toString()==="[object FormData]"))},_L=Qr("URLSearchParams"),wL=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qa(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),$o(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),l=o.length;let u;for(r=0;r<l;r++)u=o[r],t.call(null,e[u],u,e)}}function z0(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const W0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,G0=e=>!Da(e)&&e!==W0;function oh(){const{caseless:e}=G0(this)&&this||{},t={},n=(r,i)=>{const o=e&&z0(t,i)||i;_u(t[o])&&_u(r)?t[o]=oh(t[o],r):_u(r)?t[o]=oh({},r):$o(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Qa(arguments[r],n);return t}const SL=(e,t,n,{allOwnKeys:r}={})=>(Qa(t,(i,o)=>{n&&pr(i)?e[o]=H0(i,n):e[o]=i},{allOwnKeys:r}),e),CL=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),xL=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},AL=(e,t,n,r)=>{let i,o,l;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)l=i[o],(!r||r(l,e,t))&&!u[l]&&(t[l]=e[l],u[l]=!0);e=n!==!1&&mm(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},EL=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},PL=e=>{if(!e)return null;if($o(e))return e;let t=e.length;if(!U0(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},kL=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&mm(Uint8Array)),TL=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},RL=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},IL=Qr("HTMLFormElement"),VL=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),y1=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),LL=Qr("RegExp"),j0=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Qa(n,(i,o)=>{let l;(l=t(i,o,e))!==!1&&(r[o]=l||i)}),Object.defineProperties(e,r)},OL=e=>{j0(e,(t,n)=>{if(pr(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(pr(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},DL=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return $o(e)?r(e):r(String(e).split(t)),n},ML=()=>{},FL=(e,t)=>(e=+e,Number.isFinite(e)?e:t),gd="abcdefghijklmnopqrstuvwxyz",b1="0123456789",K0={DIGIT:b1,ALPHA:gd,ALPHA_DIGIT:gd+gd.toUpperCase()+b1},BL=(e=16,t=K0.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function $L(e){return!!(e&&pr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const HL=e=>{const t=new Array(10),n=(r,i)=>{if(Cc(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=$o(r)?[]:{};return Qa(r,(l,u)=>{const f=n(l,i+1);!Da(f)&&(o[u]=f)}),t[i]=void 0,o}}return r};return n(e,0)},NL=Qr("AsyncFunction"),UL=e=>e&&(Cc(e)||pr(e))&&pr(e.then)&&pr(e.catch),se={isArray:$o,isArrayBuffer:N0,isBuffer:cL,isFormData:bL,isArrayBufferView:fL,isString:dL,isNumber:U0,isBoolean:hL,isObject:Cc,isPlainObject:_u,isUndefined:Da,isDate:mL,isFile:vL,isBlob:gL,isRegExp:LL,isFunction:pr,isStream:yL,isURLSearchParams:_L,isTypedArray:kL,isFileList:pL,forEach:Qa,merge:oh,extend:SL,trim:wL,stripBOM:CL,inherits:xL,toFlatObject:AL,kindOf:wc,kindOfTest:Qr,endsWith:EL,toArray:PL,forEachEntry:TL,matchAll:RL,isHTMLForm:IL,hasOwnProperty:y1,hasOwnProp:y1,reduceDescriptors:j0,freezeMethods:OL,toObjectSet:DL,toCamelCase:VL,noop:ML,toFiniteNumber:FL,findKey:z0,global:W0,isContextDefined:G0,ALPHABET:K0,generateString:BL,isSpecCompliantForm:$L,toJSONObject:HL,isAsyncFn:NL,isThenable:UL};function gt(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}se.inherits(gt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:se.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const q0=gt.prototype,Y0={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Y0[e]={value:e}});Object.defineProperties(gt,Y0);Object.defineProperty(q0,"isAxiosError",{value:!0});gt.from=(e,t,n,r,i,o)=>{const l=Object.create(q0);return se.toFlatObject(e,l,function(f){return f!==Error.prototype},u=>u!=="isAxiosError"),gt.call(l,e.message,t,n,r,i),l.cause=e,l.name=e.name,o&&Object.assign(l,o),l};const zL=null;function ah(e){return se.isPlainObject(e)||se.isArray(e)}function Z0(e){return se.endsWith(e,"[]")?e.slice(0,-2):e}function _1(e,t,n){return e?e.concat(t).map(function(i,o){return i=Z0(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function WL(e){return se.isArray(e)&&!e.some(ah)}const GL=se.toFlatObject(se,{},null,function(t){return/^is[A-Z]/.test(t)});function xc(e,t,n){if(!se.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=se.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,x){return!se.isUndefined(x[w])});const r=n.metaTokens,i=n.visitor||h,o=n.dots,l=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&se.isSpecCompliantForm(t);if(!se.isFunction(i))throw new TypeError("visitor must be a function");function d(b){if(b===null)return"";if(se.isDate(b))return b.toISOString();if(!f&&se.isBlob(b))throw new gt("Blob is not supported. Use a Buffer instead.");return se.isArrayBuffer(b)||se.isTypedArray(b)?f&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function h(b,w,x){let T=b;if(b&&!x&&typeof b=="object"){if(se.endsWith(w,"{}"))w=r?w:w.slice(0,-2),b=JSON.stringify(b);else if(se.isArray(b)&&WL(b)||(se.isFileList(b)||se.endsWith(w,"[]"))&&(T=se.toArray(b)))return w=Z0(w),T.forEach(function(C,E){!(se.isUndefined(C)||C===null)&&t.append(l===!0?_1([w],E,o):l===null?w:w+"[]",d(C))}),!1}return ah(b)?!0:(t.append(_1(x,w,o),d(b)),!1)}const m=[],v=Object.assign(GL,{defaultVisitor:h,convertValue:d,isVisitable:ah});function y(b,w){if(!se.isUndefined(b)){if(m.indexOf(b)!==-1)throw Error("Circular reference detected in "+w.join("."));m.push(b),se.forEach(b,function(T,P){(!(se.isUndefined(T)||T===null)&&i.call(t,T,se.isString(P)?P.trim():P,w,v))===!0&&y(T,w?w.concat(P):[P])}),m.pop()}}if(!se.isObject(e))throw new TypeError("data must be an object");return y(e),t}function w1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function vm(e,t){this._pairs=[],e&&xc(e,this,t)}const X0=vm.prototype;X0.append=function(t,n){this._pairs.push([t,n])};X0.toString=function(t){const n=t?function(r){return t.call(this,r,w1)}:w1;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function jL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function J0(e,t,n){if(!t)return e;const r=n&&n.encode||jL,i=n&&n.serialize;let o;if(i?o=i(t,n):o=se.isURLSearchParams(t)?t.toString():new vm(t,n).toString(r),o){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class S1{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){se.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Q0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},KL=typeof URLSearchParams<"u"?URLSearchParams:vm,qL=typeof FormData<"u"?FormData:null,YL=typeof Blob<"u"?Blob:null,ZL={isBrowser:!0,classes:{URLSearchParams:KL,FormData:qL,Blob:YL},protocols:["http","https","file","blob","url","data"]},e_=typeof window<"u"&&typeof document<"u",XL=(e=>e_&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),JL=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",QL=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:e_,hasStandardBrowserEnv:XL,hasStandardBrowserWebWorkerEnv:JL},Symbol.toStringTag,{value:"Module"})),Kr={...QL,...ZL};function e5(e,t){return xc(e,new Kr.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return Kr.isNode&&se.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function t5(e){return se.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function n5(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function t_(e){function t(n,r,i,o){let l=n[o++];if(l==="__proto__")return!0;const u=Number.isFinite(+l),f=o>=n.length;return l=!l&&se.isArray(i)?i.length:l,f?(se.hasOwnProp(i,l)?i[l]=[i[l],r]:i[l]=r,!u):((!i[l]||!se.isObject(i[l]))&&(i[l]=[]),t(n,r,i[l],o)&&se.isArray(i[l])&&(i[l]=n5(i[l])),!u)}if(se.isFormData(e)&&se.isFunction(e.entries)){const n={};return se.forEachEntry(e,(r,i)=>{t(t5(r),i,n,0)}),n}return null}function r5(e,t,n){if(se.isString(e))try{return(t||JSON.parse)(e),se.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const gm={transitional:Q0,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=se.isObject(t);if(o&&se.isHTMLForm(t)&&(t=new FormData(t)),se.isFormData(t))return i&&i?JSON.stringify(t_(t)):t;if(se.isArrayBuffer(t)||se.isBuffer(t)||se.isStream(t)||se.isFile(t)||se.isBlob(t))return t;if(se.isArrayBufferView(t))return t.buffer;if(se.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return e5(t,this.formSerializer).toString();if((u=se.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return xc(u?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),r5(t)):t}],transformResponse:[function(t){const n=this.transitional||gm.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&se.isString(t)&&(r&&!this.responseType||i)){const l=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(u){if(l)throw u.name==="SyntaxError"?gt.from(u,gt.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Kr.classes.FormData,Blob:Kr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};se.forEach(["delete","get","head","post","put","patch"],e=>{gm.headers[e]={}});const pm=gm,s5=se.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),i5=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
6
|
-
`).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&s5[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},C1=Symbol("internals");function ca(e){return e&&String(e).trim().toLowerCase()}function wu(e){return e===!1||e==null?e:se.isArray(e)?e.map(wu):String(e)}function o5(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const a5=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function pd(e,t,n,r,i){if(se.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!se.isString(t)){if(se.isString(r))return t.indexOf(r)!==-1;if(se.isRegExp(r))return r.test(t)}}function l5(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function u5(e,t){const n=se.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,l){return this[r].call(this,t,i,o,l)},configurable:!0})})}class Ac{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(u,f,d){const h=ca(f);if(!h)throw new Error("header name must be a non-empty string");const m=se.findKey(i,h);(!m||i[m]===void 0||d===!0||d===void 0&&i[m]!==!1)&&(i[m||f]=wu(u))}const l=(u,f)=>se.forEach(u,(d,h)=>o(d,h,f));return se.isPlainObject(t)||t instanceof this.constructor?l(t,n):se.isString(t)&&(t=t.trim())&&!a5(t)?l(i5(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=ca(t),t){const r=se.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return o5(i);if(se.isFunction(n))return n.call(this,i,r);if(se.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ca(t),t){const r=se.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||pd(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(l){if(l=ca(l),l){const u=se.findKey(r,l);u&&(!n||pd(r,r[u],u,n))&&(delete r[u],i=!0)}}return se.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||pd(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return se.forEach(this,(i,o)=>{const l=se.findKey(r,o);if(l){n[l]=wu(i),delete n[o];return}const u=t?l5(o):String(o).trim();u!==o&&delete n[o],n[u]=wu(i),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return se.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&se.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
7
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[C1]=this[C1]={accessors:{}}).accessors,i=this.prototype;function o(l){const u=ca(l);r[u]||(u5(i,l),r[u]=!0)}return se.isArray(t)?t.forEach(o):o(t),this}}Ac.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);se.reduceDescriptors(Ac.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});se.freezeMethods(Ac);const xs=Ac;function yd(e,t){const n=this||pm,r=t||n,i=xs.from(r.headers);let o=r.data;return se.forEach(e,function(u){o=u.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function n_(e){return!!(e&&e.__CANCEL__)}function el(e,t,n){gt.call(this,e??"canceled",gt.ERR_CANCELED,t,n),this.name="CanceledError"}se.inherits(el,gt,{__CANCEL__:!0});function c5(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new gt("Request failed with status code "+n.status,[gt.ERR_BAD_REQUEST,gt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const f5=Kr.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const l=[e+"="+encodeURIComponent(t)];se.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),se.isString(r)&&l.push("path="+r),se.isString(i)&&l.push("domain="+i),o===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function d5(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function h5(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function r_(e,t){return e&&!d5(t)?h5(e,t):t}const m5=Kr.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let l=o;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(l){const u=se.isString(l)?i(l):l;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}();function v5(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function g5(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,l;return t=t!==void 0?t:1e3,function(f){const d=Date.now(),h=r[o];l||(l=d),n[i]=f,r[i]=d;let m=o,v=0;for(;m!==i;)v+=n[m++],m=m%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),d-l<t)return;const y=h&&d-h;return y?Math.round(v*1e3/y):void 0}}function x1(e,t){let n=0;const r=g5(50,250);return i=>{const o=i.loaded,l=i.lengthComputable?i.total:void 0,u=o-n,f=r(u),d=o<=l;n=o;const h={loaded:o,total:l,progress:l?o/l:void 0,bytes:u,rate:f||void 0,estimated:f&&l&&d?(l-o)/f:void 0,event:i};h[t?"download":"upload"]=!0,e(h)}}const p5=typeof XMLHttpRequest<"u",y5=p5&&function(e){return new Promise(function(n,r){let i=e.data;const o=xs.from(e.headers).normalize();let{responseType:l,withXSRFToken:u}=e,f;function d(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let h;if(se.isFormData(i)){if(Kr.hasStandardBrowserEnv||Kr.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((h=o.getContentType())!==!1){const[w,...x]=h?h.split(";").map(T=>T.trim()).filter(Boolean):[];o.setContentType([w||"multipart/form-data",...x].join("; "))}}let m=new XMLHttpRequest;if(e.auth){const w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(w+":"+x))}const v=r_(e.baseURL,e.url);m.open(e.method.toUpperCase(),J0(v,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function y(){if(!m)return;const w=xs.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),T={data:!l||l==="text"||l==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:w,config:e,request:m};c5(function(C){n(C),d()},function(C){r(C),d()},T),m=null}if("onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(y)},m.onabort=function(){m&&(r(new gt("Request aborted",gt.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new gt("Network Error",gt.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let x=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const T=e.transitional||Q0;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),r(new gt(x,T.clarifyTimeoutError?gt.ETIMEDOUT:gt.ECONNABORTED,e,m)),m=null},Kr.hasStandardBrowserEnv&&(u&&se.isFunction(u)&&(u=u(e)),u||u!==!1&&m5(v))){const w=e.xsrfHeaderName&&e.xsrfCookieName&&f5.read(e.xsrfCookieName);w&&o.set(e.xsrfHeaderName,w)}i===void 0&&o.setContentType(null),"setRequestHeader"in m&&se.forEach(o.toJSON(),function(x,T){m.setRequestHeader(T,x)}),se.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),l&&l!=="json"&&(m.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&m.addEventListener("progress",x1(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",x1(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=w=>{m&&(r(!w||w.type?new el(null,e,m):w),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const b=v5(v);if(b&&Kr.protocols.indexOf(b)===-1){r(new gt("Unsupported protocol "+b+":",gt.ERR_BAD_REQUEST,e));return}m.send(i||null)})},lh={http:zL,xhr:y5};se.forEach(lh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const A1=e=>`- ${e}`,b5=e=>se.isFunction(e)||e===null||e===!1,s_={getAdapter:e=>{e=se.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){n=e[o];let l;if(r=n,!b5(n)&&(r=lh[(l=String(n)).toLowerCase()],r===void 0))throw new gt(`Unknown adapter '${l}'`);if(r)break;i[l||"#"+o]=r}if(!r){const o=Object.entries(i).map(([u,f])=>`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let l=t?o.length>1?`since :
|
|
8
|
-
`+o.map(A1).join(`
|
|
9
|
-
`):" "+A1(o[0]):"as no adapter specified";throw new gt("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r},adapters:lh};function bd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new el(null,e)}function E1(e){return bd(e),e.headers=xs.from(e.headers),e.data=yd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),s_.getAdapter(e.adapter||pm.adapter)(e).then(function(r){return bd(e),r.data=yd.call(e,e.transformResponse,r),r.headers=xs.from(r.headers),r},function(r){return n_(r)||(bd(e),r&&r.response&&(r.response.data=yd.call(e,e.transformResponse,r.response),r.response.headers=xs.from(r.response.headers))),Promise.reject(r)})}const P1=e=>e instanceof xs?e.toJSON():e;function ko(e,t){t=t||{};const n={};function r(d,h,m){return se.isPlainObject(d)&&se.isPlainObject(h)?se.merge.call({caseless:m},d,h):se.isPlainObject(h)?se.merge({},h):se.isArray(h)?h.slice():h}function i(d,h,m){if(se.isUndefined(h)){if(!se.isUndefined(d))return r(void 0,d,m)}else return r(d,h,m)}function o(d,h){if(!se.isUndefined(h))return r(void 0,h)}function l(d,h){if(se.isUndefined(h)){if(!se.isUndefined(d))return r(void 0,d)}else return r(void 0,h)}function u(d,h,m){if(m in t)return r(d,h);if(m in e)return r(void 0,d)}const f={url:o,method:o,data:o,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:u,headers:(d,h)=>i(P1(d),P1(h),!0)};return se.forEach(Object.keys(Object.assign({},e,t)),function(h){const m=f[h]||i,v=m(e[h],t[h],h);se.isUndefined(v)&&m!==u||(n[h]=v)}),n}const i_="1.6.5",ym={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ym[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const k1={};ym.transitional=function(t,n,r){function i(o,l){return"[Axios v"+i_+"] Transitional option '"+o+"'"+l+(r?". "+r:"")}return(o,l,u)=>{if(t===!1)throw new gt(i(l," has been removed"+(n?" in "+n:"")),gt.ERR_DEPRECATED);return n&&!k1[l]&&(k1[l]=!0,console.warn(i(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,l,u):!0}};function _5(e,t,n){if(typeof e!="object")throw new gt("options must be an object",gt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],l=t[o];if(l){const u=e[o],f=u===void 0||l(u,o,e);if(f!==!0)throw new gt("option "+o+" must be "+f,gt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new gt("Unknown option "+o,gt.ERR_BAD_OPTION)}}const uh={assertOptions:_5,validators:ym},Ws=uh.validators;class $u{constructor(t){this.defaults=t,this.interceptors={request:new S1,response:new S1}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ko(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&uh.assertOptions(r,{silentJSONParsing:Ws.transitional(Ws.boolean),forcedJSONParsing:Ws.transitional(Ws.boolean),clarifyTimeoutError:Ws.transitional(Ws.boolean)},!1),i!=null&&(se.isFunction(i)?n.paramsSerializer={serialize:i}:uh.assertOptions(i,{encode:Ws.function,serialize:Ws.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=o&&se.merge(o.common,o[n.method]);o&&se.forEach(["delete","get","head","post","put","patch","common"],b=>{delete o[b]}),n.headers=xs.concat(l,o);const u=[];let f=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(f=f&&w.synchronous,u.unshift(w.fulfilled,w.rejected))});const d=[];this.interceptors.response.forEach(function(w){d.push(w.fulfilled,w.rejected)});let h,m=0,v;if(!f){const b=[E1.bind(this),void 0];for(b.unshift.apply(b,u),b.push.apply(b,d),v=b.length,h=Promise.resolve(n);m<v;)h=h.then(b[m++],b[m++]);return h}v=u.length;let y=n;for(m=0;m<v;){const b=u[m++],w=u[m++];try{y=b(y)}catch(x){w.call(this,x);break}}try{h=E1.call(this,y)}catch(b){return Promise.reject(b)}for(m=0,v=d.length;m<v;)h=h.then(d[m++],d[m++]);return h}getUri(t){t=ko(this.defaults,t);const n=r_(t.baseURL,t.url);return J0(n,t.params,t.paramsSerializer)}}se.forEach(["delete","get","head","options"],function(t){$u.prototype[t]=function(n,r){return this.request(ko(r||{},{method:t,url:n,data:(r||{}).data}))}});se.forEach(["post","put","patch"],function(t){function n(r){return function(o,l,u){return this.request(ko(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:l}))}}$u.prototype[t]=n(),$u.prototype[t+"Form"]=n(!0)});const Su=$u;class bm{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const l=new Promise(u=>{r.subscribe(u),o=u}).then(i);return l.cancel=function(){r.unsubscribe(o)},l},t(function(o,l,u){r.reason||(r.reason=new el(o,l,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new bm(function(i){t=i}),cancel:t}}}const w5=bm;function S5(e){return function(n){return e.apply(null,n)}}function C5(e){return se.isObject(e)&&e.isAxiosError===!0}const ch={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ch).forEach(([e,t])=>{ch[t]=e});const x5=ch;function o_(e){const t=new Su(e),n=H0(Su.prototype.request,t);return se.extend(n,Su.prototype,t,{allOwnKeys:!0}),se.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return o_(ko(e,i))},n}const Qt=o_(pm);Qt.Axios=Su;Qt.CanceledError=el;Qt.CancelToken=w5;Qt.isCancel=n_;Qt.VERSION=i_;Qt.toFormData=xc;Qt.AxiosError=gt;Qt.Cancel=Qt.CanceledError;Qt.all=function(t){return Promise.all(t)};Qt.spread=S5;Qt.isAxiosError=C5;Qt.mergeConfig=ko;Qt.AxiosHeaders=xs;Qt.formToJSON=e=>t_(se.isHTMLForm(e)?new FormData(e):e);Qt.getAdapter=s_.getAdapter;Qt.HttpStatusCode=x5;Qt.default=Qt;const A5={baseURL:window.CODEX.API_V3_PATH,withCredentials:!0,xsrfCookieName:"csrftoken",xsrfHeaderName:"X-CSRFTOKEN"},ot=Qt.create(A5),E5=(e,t)=>{ot.get(e,{responseType:"blob"}).then(n=>{const r=document.createElement("a"),i=new Blob([n.data],{type:"application/octet-stream"});return r.href=window.URL.createObjectURL(i),r.download=t,r.click(),window.URL.revokeObjectURL(n.data)}).catch(console.warn)},Ec=e=>`c/${e}`,_m=e=>window.CODEX.API_V3_PATH+Ec(e),rr=()=>({ts:Rt().timestamp}),P5=e=>{const t={ts:e};return ot.get("/version",{params:t})},T1={downloadIOSPWAFix:E5,getReaderBasePath:_m,getReaderPath:Ec,getTSParams:rr,getVersions:P5},k5=async()=>await ot.get("/auth/flags/"),T5=()=>Intl.DateTimeFormat().resolvedOptions().timeZone,R5=async()=>{const e={timezone:T5()};return await ot.post("/auth/timezone/",e)},I5=async e=>(e.login=e.username,await ot.post("/auth/register/",e)),V5=async e=>(e.login=e.username,await ot.post("/auth/login/",e)),L5=async()=>{const e=rr();return await ot.get("/auth/profile/",{params:e})},O5=async()=>await ot.post("/auth/logout/"),D5=async e=>await ot.post("/auth/change-password/",e),wi={changePassword:D5,getAdminFlags:k5,getProfile:L5,login:V5,logout:O5,register:I5,setTimezone:R5},bn=Ja("auth",{state:()=>({adminFlags:{registration:void 0,nonUsers:void 0},user:void 0,MIN_PASSWORD_LENGTH:4}),getters:{isCodexViewable(){return!!(this.user||this.adminFlags.nonUsers)},isUserAdmin(){return this.user&&(this.user.isStaff||this.user.isSuperuser)}},actions:{async loadAdminFlags(){await wi.getAdminFlags().then(e=>(this.adminFlags=e.data,!0)).catch(console.error)},async loadProfile(){return wi.getProfile().then(e=>(this.user=e.data,!0)).catch(console.debug)},async login(e,t=!0){const n=Rt();await wi.login(e).then(()=>(t&&n.clearErrors(),this.loadProfile())).catch(n.setErrors)},async register(e){const t=Rt();await wi.register(e).then(()=>(t.clearErrors(),this.login(e))).catch(t.setErrors)},logout(){wi.logout().then(()=>(this.user=void 0,!0)).catch(console.error)},async changePassword(e){const t={username:this.user.username,password:e.password},n=Rt();await wi.changePassword(e).then(r=>(n.setSuccess(r.data.detail),this.login(t,!1))).catch(n.setErrors)},async setTimezone(){await wi.setTimezone().catch(console.error)}}}),M5={bookmarkFilter:[{title:"All",value:"ALL",default:!0},{title:"Unread",value:"UNREAD"},{title:"In Progress",value:"IN_PROGRESS"},{title:"Read",value:"READ"}],q:"",topGroup:[{title:"Publishers",value:"p",default:!0},{title:"Imprints",value:"i"},{title:"Series",value:"s"},{title:"Volumes",value:"v"},{title:"Issues",value:"c"},{title:"Folders",value:"f"},{title:"Story Arcs",value:"a"}],settingsGroup:[{title:"Publishers",value:"p",default:!0},{title:"Imprints",value:"i"},{title:"Series",value:"s",default:!0},{title:"Volumes",value:"v"}],orderBy:[{title:"Name",value:"sort_name",default:!0},{title:"Publish Date",value:"date"},{title:"Added Time",value:"created_at",reverse:!0},{title:"Last Read",value:"bookmark_updated_at",reverse:!0},{title:"Updated Time",value:"updated_at",reverse:!0},{title:"Page Count",value:"page_count",reverse:!0},{title:"File Size",value:"size",reverse:!0},{title:"Filename",value:"path"},{title:"Critical Rating",value:"critical_rating",reverse:!0},{title:"Community Rating",value:"community_rating",reverse:!0},{title:"Age Rating",value:"age_rating"},{title:"Search Score",value:"search_score",reverse:!0},{title:"Story Arc Number",value:"story_arc_number"}],vuetifyNullCode:-1,groupNames:{p:"Publishers",i:"Imprints",s:"Series",v:"Volumes",c:"Issues",f:"Folders",a:"Story Arcs"},route:{group:"r",pk:0,page:1},identifierTypes:{comicvine:"Comic Vine",comixology:"Comixology",asin:"Amazon",gtin:"GTIN",isbn:"ISBN",upc:"UPC"}},F5={fitTo:[{title:"Fit to Screen",value:"S",default:!0},{title:"Fit to Width",value:"W"},{title:"Fit to Height",value:"H"},{title:"Original Size",value:"O"},{title:"",value:""}],readingDirection:[{title:"Left to Right",value:"ltr",default:!0},{title:"Right to Left",value:"rtl"},{title:"Top to Bottom",value:"ttb"},{title:"Bottom to Top",value:"btt"},{title:"",value:""}]},B5={LIBRARY_CHANGED:"LIBRARY_CHANGED",LIBRARIAN_STATUS:"LIBRARIAN_STATUS",FAILED_IMPORTS:"FAILED_IMPORTS"},Pn={browser:M5,reader:F5,websockets:B5},$5="modulepreload",H5=function(e){return window.CODEX.APP_PATH + "static"+"/"+e},R1={},br=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");i=Promise.all(n.map(l=>{if(l=H5(l),l in R1)return;R1[l]=!0;const u=l.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!r)for(let m=o.length-1;m>=0;m--){const v=o[m];if(v.href===l&&(!u||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${f}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":$5,u||(h.as="script",h.crossOrigin=""),h.href=l,document.head.appendChild(h),u)return new Promise((m,v)=>{h.addEventListener("load",m),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>t()).catch(o=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o})};/*!
|
|
10
|
-
* vue-router v4.2.5
|
|
11
|
-
* (c) 2023 Eduardo San Martin Morote
|
|
12
|
-
* @license MIT
|
|
13
|
-
*/const go=typeof window<"u";function N5(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const St=Object.assign;function _d(e,t){const n={};for(const r in t){const i=t[r];n[r]=Dr(i)?i.map(e):e(i)}return n}const Ca=()=>{},Dr=Array.isArray,U5=/\/$/,z5=e=>e.replace(U5,"");function wd(e,t,n="/"){let r,i={},o="",l="";const u=t.indexOf("#");let f=t.indexOf("?");return u<f&&u>=0&&(f=-1),f>-1&&(r=t.slice(0,f),o=t.slice(f+1,u>-1?u:t.length),i=e(o)),u>-1&&(r=r||t.slice(0,u),l=t.slice(u,t.length)),r=K5(r??t,n),{fullPath:r+(o&&"?")+o+l,path:r,query:i,hash:l}}function W5(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function I1(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function G5(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&To(t.matched[r],n.matched[i])&&a_(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function To(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function a_(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!j5(e[n],t[n]))return!1;return!0}function j5(e,t){return Dr(e)?V1(e,t):Dr(t)?V1(t,e):e===t}function V1(e,t){return Dr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function K5(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,l,u;for(l=0;l<r.length;l++)if(u=r[l],u!==".")if(u==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(l-(l===r.length?1:0)).join("/")}var Ma;(function(e){e.pop="pop",e.push="push"})(Ma||(Ma={}));var xa;(function(e){e.back="back",e.forward="forward",e.unknown=""})(xa||(xa={}));function q5(e){if(!e)if(go){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),z5(e)}const Y5=/^[^#]+#/;function Z5(e,t){return e.replace(Y5,"#")+t}function X5(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 Pc=()=>({left:window.pageXOffset,top:window.pageYOffset});function J5(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=X5(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function L1(e,t){return(history.state?history.state.position-t:-1)+e}const fh=new Map;function Q5(e,t){fh.set(e,t)}function eO(e){const t=fh.get(e);return fh.delete(e),t}let tO=()=>location.protocol+"//"+location.host;function l_(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let u=i.includes(e.slice(o))?e.slice(o).length:1,f=i.slice(u);return f[0]!=="/"&&(f="/"+f),I1(f,"")}return I1(n,e)+r+i}function nO(e,t,n,r){let i=[],o=[],l=null;const u=({state:v})=>{const y=l_(e,location),b=n.value,w=t.value;let x=0;if(v){if(n.value=y,t.value=v,l&&l===b){l=null;return}x=w?v.position-w.position:0}else r(y);i.forEach(T=>{T(n.value,b,{delta:x,type:Ma.pop,direction:x?x>0?xa.forward:xa.back:xa.unknown})})};function f(){l=n.value}function d(v){i.push(v);const y=()=>{const b=i.indexOf(v);b>-1&&i.splice(b,1)};return o.push(y),y}function h(){const{history:v}=window;v.state&&v.replaceState(St({},v.state,{scroll:Pc()}),"")}function m(){for(const v of o)v();o=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",h,{passive:!0}),{pauseListeners:f,listen:d,destroy:m}}function O1(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Pc():null}}function rO(e){const{history:t,location:n}=window,r={value:l_(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(f,d,h){const m=e.indexOf("#"),v=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+f:tO()+e+f;try{t[h?"replaceState":"pushState"](d,"",v),i.value=d}catch(y){console.error(y),n[h?"replace":"assign"](v)}}function l(f,d){const h=St({},t.state,O1(i.value.back,f,i.value.forward,!0),d,{position:i.value.position});o(f,h,!0),r.value=f}function u(f,d){const h=St({},i.value,t.state,{forward:f,scroll:Pc()});o(h.current,h,!0);const m=St({},O1(r.value,f,null),{position:h.position+1},d);o(f,m,!1),r.value=f}return{location:r,state:i,push:u,replace:l}}function sO(e){e=q5(e);const t=rO(e),n=nO(e,t.state,t.location,t.replace);function r(o,l=!0){l||n.pauseListeners(),history.go(o)}const i=St({location:"",base:e,go:r,createHref:Z5.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function iO(e){return typeof e=="string"||e&&typeof e=="object"}function u_(e){return typeof e=="string"||typeof e=="symbol"}const Gs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},c_=Symbol("");var D1;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(D1||(D1={}));function Ro(e,t){return St(new Error,{type:e,[c_]:!0},t)}function vs(e,t){return e instanceof Error&&c_ in e&&(t==null||!!(e.type&t))}const M1="[^/]+?",oO={sensitive:!1,strict:!1,start:!0,end:!0},aO=/[.+*?^${}()[\]/\\]/g;function lO(e,t){const n=St({},oO,t),r=[];let i=n.start?"^":"";const o=[];for(const d of e){const h=d.length?[]:[90];n.strict&&!d.length&&(i+="/");for(let m=0;m<d.length;m++){const v=d[m];let y=40+(n.sensitive?.25:0);if(v.type===0)m||(i+="/"),i+=v.value.replace(aO,"\\$&"),y+=40;else if(v.type===1){const{value:b,repeatable:w,optional:x,regexp:T}=v;o.push({name:b,repeatable:w,optional:x});const P=T||M1;if(P!==M1){y+=10;try{new RegExp(`(${P})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${b}" (${P}): `+E.message)}}let C=w?`((?:${P})(?:/(?:${P}))*)`:`(${P})`;m||(C=x&&d.length<2?`(?:/${C})`:"/"+C),x&&(C+="?"),i+=C,y+=20,x&&(y+=-8),w&&(y+=-20),P===".*"&&(y+=-50)}h.push(y)}r.push(h)}if(n.strict&&n.end){const d=r.length-1;r[d][r[d].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const l=new RegExp(i,n.sensitive?"":"i");function u(d){const h=d.match(l),m={};if(!h)return null;for(let v=1;v<h.length;v++){const y=h[v]||"",b=o[v-1];m[b.name]=y&&b.repeatable?y.split("/"):y}return m}function f(d){let h="",m=!1;for(const v of e){(!m||!h.endsWith("/"))&&(h+="/"),m=!1;for(const y of v)if(y.type===0)h+=y.value;else if(y.type===1){const{value:b,repeatable:w,optional:x}=y,T=b in d?d[b]:"";if(Dr(T)&&!w)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const P=Dr(T)?T.join("/"):T;if(!P)if(x)v.length<2&&(h.endsWith("/")?h=h.slice(0,-1):m=!0);else throw new Error(`Missing required param "${b}"`);h+=P}}return h||"/"}return{re:l,score:r,keys:o,parse:u,stringify:f}}function uO(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function cO(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const o=uO(r[n],i[n]);if(o)return o;n++}if(Math.abs(i.length-r.length)===1){if(F1(r))return 1;if(F1(i))return-1}return i.length-r.length}function F1(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const fO={type:0,value:""},dO=/[a-zA-Z0-9_]/;function hO(e){if(!e)return[[]];if(e==="/")return[[fO]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${d}": ${y}`)}let n=0,r=n;const i=[];let o;function l(){o&&i.push(o),o=[]}let u=0,f,d="",h="";function m(){d&&(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(f==="*"||f==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:h,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):t("Invalid state to consume buffer"),d="")}function v(){d+=f}for(;u<e.length;){if(f=e[u++],f==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:f==="/"?(d&&m(),l()):f===":"?(m(),n=1):v();break;case 4:v(),n=r;break;case 1:f==="("?n=2:dO.test(f)?v():(m(),n=0,f!=="*"&&f!=="?"&&f!=="+"&&u--);break;case 2:f===")"?h[h.length-1]=="\\"?h=h.slice(0,-1)+f:n=3:h+=f;break;case 3:m(),n=0,f!=="*"&&f!=="?"&&f!=="+"&&u--,h="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${d}"`),m(),l(),i}function mO(e,t,n){const r=lO(hO(e.path),n),i=St(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function vO(e,t){const n=[],r=new Map;t=H1({strict:!1,end:!0,sensitive:!1},t);function i(h){return r.get(h)}function o(h,m,v){const y=!v,b=gO(h);b.aliasOf=v&&v.record;const w=H1(t,h),x=[b];if("alias"in h){const C=typeof h.alias=="string"?[h.alias]:h.alias;for(const E of C)x.push(St({},b,{components:v?v.record.components:b.components,path:E,aliasOf:v?v.record:b}))}let T,P;for(const C of x){const{path:E}=C;if(m&&E[0]!=="/"){const V=m.record.path,k=V[V.length-1]==="/"?"":"/";C.path=m.record.path+(E&&k+E)}if(T=mO(C,m,w),v?v.alias.push(T):(P=P||T,P!==T&&P.alias.push(T),y&&h.name&&!$1(T)&&l(h.name)),b.children){const V=b.children;for(let k=0;k<V.length;k++)o(V[k],T,v&&v.children[k])}v=v||T,(T.record.components&&Object.keys(T.record.components).length||T.record.name||T.record.redirect)&&f(T)}return P?()=>{l(P)}:Ca}function l(h){if(u_(h)){const m=r.get(h);m&&(r.delete(h),n.splice(n.indexOf(m),1),m.children.forEach(l),m.alias.forEach(l))}else{const m=n.indexOf(h);m>-1&&(n.splice(m,1),h.record.name&&r.delete(h.record.name),h.children.forEach(l),h.alias.forEach(l))}}function u(){return n}function f(h){let m=0;for(;m<n.length&&cO(h,n[m])>=0&&(h.record.path!==n[m].record.path||!f_(h,n[m]));)m++;n.splice(m,0,h),h.record.name&&!$1(h)&&r.set(h.record.name,h)}function d(h,m){let v,y={},b,w;if("name"in h&&h.name){if(v=r.get(h.name),!v)throw Ro(1,{location:h});w=v.record.name,y=St(B1(m.params,v.keys.filter(P=>!P.optional).map(P=>P.name)),h.params&&B1(h.params,v.keys.map(P=>P.name))),b=v.stringify(y)}else if("path"in h)b=h.path,v=n.find(P=>P.re.test(b)),v&&(y=v.parse(b),w=v.record.name);else{if(v=m.name?r.get(m.name):n.find(P=>P.re.test(m.path)),!v)throw Ro(1,{location:h,currentLocation:m});w=v.record.name,y=St({},m.params,h.params),b=v.stringify(y)}const x=[];let T=v;for(;T;)x.unshift(T.record),T=T.parent;return{name:w,path:b,params:y,matched:x,meta:yO(x)}}return e.forEach(h=>o(h)),{addRoute:o,resolve:d,removeRoute:l,getRoutes:u,getRecordMatcher:i}}function B1(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function gO(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:pO(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function pO(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 $1(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function yO(e){return e.reduce((t,n)=>St(t,n.meta),{})}function H1(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function f_(e,t){return t.children.some(n=>n===e||f_(e,n))}const d_=/#/g,bO=/&/g,_O=/\//g,wO=/=/g,SO=/\?/g,h_=/\+/g,CO=/%5B/g,xO=/%5D/g,m_=/%5E/g,AO=/%60/g,v_=/%7B/g,EO=/%7C/g,g_=/%7D/g,PO=/%20/g;function wm(e){return encodeURI(""+e).replace(EO,"|").replace(CO,"[").replace(xO,"]")}function kO(e){return wm(e).replace(v_,"{").replace(g_,"}").replace(m_,"^")}function dh(e){return wm(e).replace(h_,"%2B").replace(PO,"+").replace(d_,"%23").replace(bO,"%26").replace(AO,"`").replace(v_,"{").replace(g_,"}").replace(m_,"^")}function TO(e){return dh(e).replace(wO,"%3D")}function RO(e){return wm(e).replace(d_,"%23").replace(SO,"%3F")}function IO(e){return e==null?"":RO(e).replace(_O,"%2F")}function Hu(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function VO(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const o=r[i].replace(h_," "),l=o.indexOf("="),u=Hu(l<0?o:o.slice(0,l)),f=l<0?null:Hu(o.slice(l+1));if(u in t){let d=t[u];Dr(d)||(d=t[u]=[d]),d.push(f)}else t[u]=f}return t}function N1(e){let t="";for(let n in e){const r=e[n];if(n=TO(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Dr(r)?r.map(o=>o&&dh(o)):[r&&dh(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function LO(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Dr(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const OO=Symbol(""),U1=Symbol(""),Sm=Symbol(""),p_=Symbol(""),hh=Symbol("");function fa(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Js(e,t,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((l,u)=>{const f=m=>{m===!1?u(Ro(4,{from:n,to:t})):m instanceof Error?u(m):iO(m)?u(Ro(2,{from:t,to:m})):(o&&r.enterCallbacks[i]===o&&typeof m=="function"&&o.push(m),l())},d=e.call(r&&r.instances[i],t,n,f);let h=Promise.resolve(d);e.length<3&&(h=h.then(f)),h.catch(m=>u(m))})}function Sd(e,t,n,r){const i=[];for(const o of e)for(const l in o.components){let u=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(DO(u)){const d=(u.__vccOpts||u)[t];d&&i.push(Js(d,n,r,o,l))}else{let f=u();i.push(()=>f.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${o.path}"`));const h=N5(d)?d.default:d;o.components[l]=h;const v=(h.__vccOpts||h)[t];return v&&Js(v,n,r,o,l)()}))}}return i}function DO(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function z1(e){const t=lt(Sm),n=lt(p_),r=R(()=>t.resolve(jt(e.to))),i=R(()=>{const{matched:f}=r.value,{length:d}=f,h=f[d-1],m=n.matched;if(!h||!m.length)return-1;const v=m.findIndex(To.bind(null,h));if(v>-1)return v;const y=W1(f[d-2]);return d>1&&W1(h)===y&&m[m.length-1].path!==y?m.findIndex(To.bind(null,f[d-2])):v}),o=R(()=>i.value>-1&&$O(n.params,r.value.params)),l=R(()=>i.value>-1&&i.value===n.matched.length-1&&a_(n.params,r.value.params));function u(f={}){return BO(f)?t[jt(e.replace)?"replace":"push"](jt(e.to)).catch(Ca):Promise.resolve()}return{route:r,href:R(()=>r.value.href),isActive:o,isExactActive:l,navigate:u}}const MO=Fo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:z1,setup(e,{slots:t}){const n=dn(z1(e)),{options:r}=lt(Sm),i=R(()=>({[G1(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[G1(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ps("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),FO=MO;function BO(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 $O(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Dr(i)||i.length!==r.length||r.some((o,l)=>o!==i[l]))return!1}return!0}function W1(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const G1=(e,t,n)=>e??t??n,HO=Fo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=lt(hh),i=R(()=>e.route||r.value),o=lt(U1,0),l=R(()=>{let d=jt(o);const{matched:h}=i.value;let m;for(;(m=h[d])&&!m.components;)d++;return d}),u=R(()=>i.value.matched[l.value]);Et(U1,R(()=>l.value+1)),Et(OO,u),Et(hh,i);const f=Pe();return $e(()=>[f.value,u.value,e.name],([d,h,m],[v,y,b])=>{h&&(h.instances[m]=d,y&&y!==h&&d&&d===v&&(h.leaveGuards.size||(h.leaveGuards=y.leaveGuards),h.updateGuards.size||(h.updateGuards=y.updateGuards))),d&&h&&(!y||!To(h,y)||!v)&&(h.enterCallbacks[m]||[]).forEach(w=>w(d))},{flush:"post"}),()=>{const d=i.value,h=e.name,m=u.value,v=m&&m.components[h];if(!v)return j1(n.default,{Component:v,route:d});const y=m.props[h],b=y?y===!0?d.params:typeof y=="function"?y(d):y:null,x=Ps(v,St({},b,t,{onVnodeUnmounted:T=>{T.component.isUnmounted&&(m.instances[h]=null)},ref:f}));return j1(n.default,{Component:x,route:d})||x}}});function j1(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const NO=HO;function UO(e){const t=vO(e.routes,e),n=e.parseQuery||VO,r=e.stringifyQuery||N1,i=e.history,o=fa(),l=fa(),u=fa(),f=Ve(Gs);let d=Gs;go&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const h=_d.bind(null,q=>""+q),m=_d.bind(null,IO),v=_d.bind(null,Hu);function y(q,we){let fe,Z;return u_(q)?(fe=t.getRecordMatcher(q),Z=we):Z=q,t.addRoute(Z,fe)}function b(q){const we=t.getRecordMatcher(q);we&&t.removeRoute(we)}function w(){return t.getRoutes().map(q=>q.record)}function x(q){return!!t.getRecordMatcher(q)}function T(q,we){if(we=St({},we||f.value),typeof q=="string"){const O=wd(n,q,we.path),G=t.resolve({path:O.path},we),ee=i.createHref(O.fullPath);return St(O,G,{params:v(G.params),hash:Hu(O.hash),redirectedFrom:void 0,href:ee})}let fe;if("path"in q)fe=St({},q,{path:wd(n,q.path,we.path).path});else{const O=St({},q.params);for(const G in O)O[G]==null&&delete O[G];fe=St({},q,{params:m(O)}),we.params=m(we.params)}const Z=t.resolve(fe,we),Ce=q.hash||"";Z.params=h(v(Z.params));const Ne=W5(r,St({},q,{hash:kO(Ce),path:Z.path})),I=i.createHref(Ne);return St({fullPath:Ne,hash:Ce,query:r===N1?LO(q.query):q.query||{}},Z,{redirectedFrom:void 0,href:I})}function P(q){return typeof q=="string"?wd(n,q,f.value.path):St({},q)}function C(q,we){if(d!==q)return Ro(8,{from:we,to:q})}function E(q){return D(q)}function V(q){return E(St(P(q),{replace:!0}))}function k(q){const we=q.matched[q.matched.length-1];if(we&&we.redirect){const{redirect:fe}=we;let Z=typeof fe=="function"?fe(q):fe;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=P(Z):{path:Z},Z.params={}),St({query:q.query,hash:q.hash,params:"path"in Z?{}:q.params},Z)}}function D(q,we){const fe=d=T(q),Z=f.value,Ce=q.state,Ne=q.force,I=q.replace===!0,O=k(fe);if(O)return D(St(P(O),{state:typeof O=="object"?St({},Ce,O.state):Ce,force:Ne,replace:I}),we||fe);const G=fe;G.redirectedFrom=we;let ee;return!Ne&&G5(r,Z,fe)&&(ee=Ro(16,{to:G,from:Z}),ue(Z,Z,!0,!1)),(ee?Promise.resolve(ee):B(G,Z)).catch(X=>vs(X)?vs(X,2)?X:ye(X):U(X,G,Z)).then(X=>{if(X){if(vs(X,2))return D(St({replace:I},P(X.to),{state:typeof X.to=="object"?St({},Ce,X.to.state):Ce,force:Ne}),we||G)}else X=z(G,Z,!0,I,Ce);return j(G,Z,X),X})}function L(q,we){const fe=C(q,we);return fe?Promise.reject(fe):Promise.resolve()}function M(q){const we=Oe.values().next().value;return we&&typeof we.runWithContext=="function"?we.runWithContext(q):q()}function B(q,we){let fe;const[Z,Ce,Ne]=zO(q,we);fe=Sd(Z.reverse(),"beforeRouteLeave",q,we);for(const O of Z)O.leaveGuards.forEach(G=>{fe.push(Js(G,q,we))});const I=L.bind(null,q,we);return fe.push(I),Re(fe).then(()=>{fe=[];for(const O of o.list())fe.push(Js(O,q,we));return fe.push(I),Re(fe)}).then(()=>{fe=Sd(Ce,"beforeRouteUpdate",q,we);for(const O of Ce)O.updateGuards.forEach(G=>{fe.push(Js(G,q,we))});return fe.push(I),Re(fe)}).then(()=>{fe=[];for(const O of Ne)if(O.beforeEnter)if(Dr(O.beforeEnter))for(const G of O.beforeEnter)fe.push(Js(G,q,we));else fe.push(Js(O.beforeEnter,q,we));return fe.push(I),Re(fe)}).then(()=>(q.matched.forEach(O=>O.enterCallbacks={}),fe=Sd(Ne,"beforeRouteEnter",q,we),fe.push(I),Re(fe))).then(()=>{fe=[];for(const O of l.list())fe.push(Js(O,q,we));return fe.push(I),Re(fe)}).catch(O=>vs(O,8)?O:Promise.reject(O))}function j(q,we,fe){u.list().forEach(Z=>M(()=>Z(q,we,fe)))}function z(q,we,fe,Z,Ce){const Ne=C(q,we);if(Ne)return Ne;const I=we===Gs,O=go?history.state:{};fe&&(Z||I?i.replace(q.fullPath,St({scroll:I&&O&&O.scroll},Ce)):i.push(q.fullPath,Ce)),f.value=q,ue(q,we,fe,I),ye()}let K;function te(){K||(K=i.listen((q,we,fe)=>{const Z=T(q),Ce=k(Z);if(Ce){D(St(Ce,{replace:!0}),Z).catch(Ca);return}d=Z;const Ne=f.value;go&&Q5(L1(Ne.fullPath,fe.delta),Pc()),B(Z,Ne).catch(I=>vs(I,12)?I:vs(I,2)?(D(I.to,Z).then(O=>{vs(O,20)&&!fe.delta&&fe.type===Ma.pop&&i.go(-1,!1)}).catch(Ca),Promise.reject()):(fe.delta&&i.go(-fe.delta,!1),U(I,Z,Ne))).then(I=>{I=I||z(Z,Ne,!1),I&&(fe.delta&&!vs(I,8)?i.go(-fe.delta,!1):fe.type===Ma.pop&&vs(I,20)&&i.go(-1,!1)),j(Z,Ne,I)}).catch(Ca)}))}let ce=fa(),Q=fa(),ge;function U(q,we,fe){ye(q);const Z=Q.list();return Z.length?Z.forEach(Ce=>Ce(q,we,fe)):console.error(q),Promise.reject(q)}function ae(){return ge&&f.value!==Gs?Promise.resolve():new Promise((q,we)=>{ce.add([q,we])})}function ye(q){return ge||(ge=!q,te(),ce.list().forEach(([we,fe])=>q?fe(q):we()),ce.reset()),q}function ue(q,we,fe,Z){const{scrollBehavior:Ce}=e;if(!go||!Ce)return Promise.resolve();const Ne=!fe&&eO(L1(q.fullPath,0))||(Z||!fe)&&history.state&&history.state.scroll||null;return Bt().then(()=>Ce(q,we,Ne)).then(I=>I&&J5(I)).catch(I=>U(I,q,we))}const Se=q=>i.go(q);let be;const Oe=new Set,Me={currentRoute:f,listening:!0,addRoute:y,removeRoute:b,hasRoute:x,getRoutes:w,resolve:T,options:e,push:E,replace:V,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:o.add,beforeResolve:l.add,afterEach:u.add,onError:Q.add,isReady:ae,install(q){const we=this;q.component("RouterLink",FO),q.component("RouterView",NO),q.config.globalProperties.$router=we,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>jt(f)}),go&&!be&&f.value===Gs&&(be=!0,E(i.location).catch(Ce=>{}));const fe={};for(const Ce in Gs)Object.defineProperty(fe,Ce,{get:()=>f.value[Ce],enumerable:!0});q.provide(Sm,we),q.provide(p_,zh(fe)),q.provide(hh,f);const Z=q.unmount;Oe.add(q),q.unmount=function(){Oe.delete(q),Oe.size<1&&(d=Gs,K&&K(),K=null,f.value=Gs,be=!1,ge=!1),Z()}}};function Re(q){return q.reduce((we,fe)=>we.then(()=>M(fe)),Promise.resolve())}return Me}function zO(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let l=0;l<o;l++){const u=t.matched[l];u&&(e.matched.find(d=>To(d,u))?r.push(u):n.push(u));const f=e.matched[l];f&&(t.matched.find(d=>To(d,f))||i.push(f))}return[n,r,i]}const WO=()=>br(()=>Promise.resolve().then(()=>L6),void 0),GO=()=>br(()=>import("./browser-2U3chfQN.js"),__vite__mapDeps([0,1,2,3])),jO=()=>br(()=>import("./http-error-tGvBmzRt.js"),__vite__mapDeps([4,5])),KO=()=>br(()=>import("./reader-YZw9-gq4.js"),__vite__mapDeps([6,1,2,7])),qO=()=>br(()=>Promise.resolve().then(()=>p8),void 0),YO=()=>br(()=>Promise.resolve().then(()=>b$),void 0),ZO=()=>br(()=>Promise.resolve().then(()=>W$),void 0),XO=()=>br(()=>Promise.resolve().then(()=>_H),void 0),JO=()=>br(()=>Promise.resolve().then(()=>VH),void 0),QO=()=>br(()=>Promise.resolve().then(()=>R7),void 0),eD={name:"browser",params:window.CODEX.LAST_ROUTE||Pn.browser.route},tD=[{name:"home",path:"/",redirect:eD},{name:"reader",path:"/c/:pk/:page",component:KO},{name:"browser",path:"/:group/:pk/:page",component:GO},{name:"admin",path:"/admin",component:WO,redirect:"/admin/libraries",children:[{name:"admin-users",path:"users",component:YO},{name:"admin-groups",path:"groups",component:ZO},{name:"admin-libraries",path:"libraries",component:XO},{name:"admin-flags",path:"flags",component:qO},{name:"admin-tasks",path:"tasks",component:JO},{name:"admin-stats",path:"stats",component:QO}]},{name:"error",path:"/error/:code",component:jO,props:!0},{name:"404",path:"/:pathMatch(.*)*",redirect:"/error/404"}],Ar=new UO({history:sO(window.CODEX.APP_PATH),routes:tD}),nD=e=>ot.post("/admin/user",e),rD=()=>{const e=rr();return ot.get("/admin/user",{params:e})},sD=(e,t)=>ot.put(`/admin/user/${e}/`,t),iD=(e,t)=>ot.put(`/admin/user/${e}/password`,t),oD=e=>ot.delete(`/admin/user/${e}/`),aD=e=>ot.post("/admin/group",e),lD=()=>{const e=rr();return ot.get("/admin/group",{params:e})},uD=(e,t)=>ot.put(`/admin/group/${e}/`,t),cD=e=>ot.delete(`/admin/group/${e}/`),fD=e=>ot.post("/admin/library",e),dD=()=>{const e=rr();return ot.get("/admin/library",{params:e})},hD=(e,t)=>ot.put(`/admin/library/${e}/`,t),mD=e=>ot.delete(`/admin/library/${e}/`),vD=(e,t)=>{const n={...rr(),path:e,showHidden:t};return ot.get("/admin/folders",{params:n})},gD=()=>{const e=rr();return ot.get("/admin/failed-import",{params:e})},pD=()=>{const e=rr();return ot.get("/admin/flag",{params:e})},yD=(e,t)=>ot.put(`/admin/flag/${e}/`,t),bD=async e=>await ot.post("/admin/librarian/task",{task:e}),_D=()=>{const e={ts:Date.now()};return ot.get("/admin/librarian/status",{params:e})},wD=(e,t)=>ot.post("/admin/librarian/task",{task:e,library_id:t}),SD=()=>ot.get("/admin/stats"),CD=()=>ot.post("/admin/api_key"),gs={changeUserPassword:iD,createGroup:aD,createLibrary:fD,createUser:nD,deleteLibrary:mD,deleteGroup:cD,deleteUser:oD,getFailedImports:gD,getFlags:pD,getFolders:vD,getGroups:lD,getLibrarianStatuses:_D,getLibraries:dD,getStats:SD,getUsers:rD,librarianTask:wD,postLibrarianTask:bD,updateAPIKey:CD,updateFlag:yD,updateGroup:uD,updateLibrary:hD,updateUser:sD},xD=e=>console.warn(e),K1={LibrarianStatus:"LibrarianStatuses",Library:"Libraries"},AD=e=>e in K1?K1[e]:e+"s",Dt=Ja("admin",{state:()=>({librarianStatuses:[],unseenFailedImports:!1,users:[],groups:[],libraries:[],failedImports:[],flags:{},folderPicker:{root:void 0,folders:[]},stats:void 0}),getters:{isUserAdmin(){return bn().isUserAdmin},librariesExist(){return this.libraries&&this.libraries.length>0}},actions:{async loadTable(e){if(!this.isUserAdmin)return!1;const t=AD(e),n="get"+t;await gs[n]().then(r=>{const i=t.charAt(0).toLowerCase()+t.slice(1);return Array.isArray(r.data)?(this[i]=r.data,!0):(console.warn(i,"response not an array"),!1)}).catch(xD)},loadTables(e){for(const t of e)this.loadTable(t)},async loadFolders(e,t){if(!this.isUserAdmin)return!1;await gs.getFolders(e,t).then(n=>(this.folderPicker=n.data,!0)).catch(Rt().setErrors)},async clearFolders(e){if(!this.isUserAdmin)return!1;this.folderPicker={root:e,folders:[""]}},async createRow(e,t){if(!this.isUserAdmin)return!1;const n="create"+e,r=Rt();await gs[n](t).then(()=>(r.clearErrors(),this.loadTable(e))).catch(r.setErrors)},async updateRow(e,t,n){if(!this.isUserAdmin)return!1;const r="update"+e,i=Rt();await gs[r](t,n).then(()=>(i.clearErrors(),this.loadTable(e))).catch(i.setErrors)},async changeUserPassword(e,t){if(!this.isUserAdmin)return!1;const n=Rt();await gs.changeUserPassword(e,t).then(r=>(n.setSuccess(r.data.detail),!0)).catch(n.setErrors)},async deleteRow(e,t){if(!this.isUserAdmin)return!1;const n="delete"+e,r=Rt();await gs[n](t).then(()=>(r.clearErrors(),this.loadTable(e))).catch(r.setErrors)},async librarianTask(e,t,n){if(!this.isUserAdmin)return!1;const r=Rt();await gs.librarianTask(e,n).then(()=>r.setSuccess(t)).catch(r.setErrors)},nameSet(e,t,n,r){const i=new Set;if(e)for(const o of e)(!r||!n||o[t]!==n[t])&&i.add(o[t]);return i},async loadStats(){await gs.getStats().then(e=>(this.stats=e.data,!0)).catch(console.warn)},async updateAPIKey(){await gs.updateAPIKey().then(()=>!0).catch(console.warn)}}});var da=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ED(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function L7(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Nu={exports:{}};/**
|
|
14
|
-
* @license
|
|
15
|
-
* Lodash <https://lodash.com/>
|
|
16
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
17
|
-
* Released under MIT license <https://lodash.com/license>
|
|
18
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
19
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
20
|
-
*/Nu.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",d=500,h="__lodash_placeholder__",m=1,v=2,y=4,b=1,w=2,x=1,T=2,P=4,C=8,E=16,V=32,k=64,D=128,L=256,M=512,B=30,j="...",z=800,K=16,te=1,ce=2,Q=3,ge=1/0,U=9007199254740991,ae=17976931348623157e292,ye=NaN,ue=4294967295,Se=ue-1,be=ue>>>1,Oe=[["ary",D],["bind",x],["bindKey",T],["curry",C],["curryRight",E],["flip",M],["partial",V],["partialRight",k],["rearg",L]],Me="[object Arguments]",Re="[object Array]",q="[object AsyncFunction]",we="[object Boolean]",fe="[object Date]",Z="[object DOMException]",Ce="[object Error]",Ne="[object Function]",I="[object GeneratorFunction]",O="[object Map]",G="[object Number]",ee="[object Null]",X="[object Object]",me="[object Promise]",xe="[object Proxy]",ve="[object RegExp]",pe="[object Set]",de="[object String]",Ee="[object Symbol]",je="[object Undefined]",Ue="[object WeakMap]",Je="[object WeakSet]",rt="[object ArrayBuffer]",ht="[object DataView]",At="[object Float32Array]",Wt="[object Float64Array]",Sn="[object Int8Array]",Nr="[object Int16Array]",Yi="[object Int32Array]",is="[object Uint8Array]",Zi="[object Uint8ClampedArray]",ln="[object Uint16Array]",Vn="[object Uint32Array]",dl=/\b__p \+= '';/g,vC=/\b(__p \+=) '' \+/g,gC=/(__e\(.*?\)|\b__t\)) \+\n'';/g,tv=/&(?:amp|lt|gt|quot|#39);/g,nv=/[&<>"']/g,pC=RegExp(tv.source),yC=RegExp(nv.source),bC=/<%-([\s\S]+?)%>/g,_C=/<%([\s\S]+?)%>/g,rv=/<%=([\s\S]+?)%>/g,wC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,SC=/^\w*$/,CC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Kc=/[\\^$.*+?()[\]{}|]/g,xC=RegExp(Kc.source),qc=/^\s+/,AC=/\s/,EC=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,PC=/\{\n\/\* \[wrapped with (.+)\] \*/,kC=/,? & /,TC=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,RC=/[()=,{}\[\]\/\s]/,IC=/\\(\\)?/g,VC=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sv=/\w*$/,LC=/^[-+]0x[0-9a-f]+$/i,OC=/^0b[01]+$/i,DC=/^\[object .+?Constructor\]$/,MC=/^0o[0-7]+$/i,FC=/^(?:0|[1-9]\d*)$/,BC=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,hl=/($^)/,$C=/['\n\r\u2028\u2029\\]/g,ml="\\ud800-\\udfff",HC="\\u0300-\\u036f",NC="\\ufe20-\\ufe2f",UC="\\u20d0-\\u20ff",iv=HC+NC+UC,ov="\\u2700-\\u27bf",av="a-z\\xdf-\\xf6\\xf8-\\xff",zC="\\xac\\xb1\\xd7\\xf7",WC="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",GC="\\u2000-\\u206f",jC=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",lv="A-Z\\xc0-\\xd6\\xd8-\\xde",uv="\\ufe0e\\ufe0f",cv=zC+WC+GC+jC,Yc="['’]",KC="["+ml+"]",fv="["+cv+"]",vl="["+iv+"]",dv="\\d+",qC="["+ov+"]",hv="["+av+"]",mv="[^"+ml+cv+dv+ov+av+lv+"]",Zc="\\ud83c[\\udffb-\\udfff]",YC="(?:"+vl+"|"+Zc+")",vv="[^"+ml+"]",Xc="(?:\\ud83c[\\udde6-\\uddff]){2}",Jc="[\\ud800-\\udbff][\\udc00-\\udfff]",Xi="["+lv+"]",gv="\\u200d",pv="(?:"+hv+"|"+mv+")",ZC="(?:"+Xi+"|"+mv+")",yv="(?:"+Yc+"(?:d|ll|m|re|s|t|ve))?",bv="(?:"+Yc+"(?:D|LL|M|RE|S|T|VE))?",_v=YC+"?",wv="["+uv+"]?",XC="(?:"+gv+"(?:"+[vv,Xc,Jc].join("|")+")"+wv+_v+")*",JC="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",QC="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Sv=wv+_v+XC,e2="(?:"+[qC,Xc,Jc].join("|")+")"+Sv,t2="(?:"+[vv+vl+"?",vl,Xc,Jc,KC].join("|")+")",n2=RegExp(Yc,"g"),r2=RegExp(vl,"g"),Qc=RegExp(Zc+"(?="+Zc+")|"+t2+Sv,"g"),s2=RegExp([Xi+"?"+hv+"+"+yv+"(?="+[fv,Xi,"$"].join("|")+")",ZC+"+"+bv+"(?="+[fv,Xi+pv,"$"].join("|")+")",Xi+"?"+pv+"+"+yv,Xi+"+"+bv,QC,JC,dv,e2].join("|"),"g"),i2=RegExp("["+gv+ml+iv+uv+"]"),o2=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,a2=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],l2=-1,Mt={};Mt[At]=Mt[Wt]=Mt[Sn]=Mt[Nr]=Mt[Yi]=Mt[is]=Mt[Zi]=Mt[ln]=Mt[Vn]=!0,Mt[Me]=Mt[Re]=Mt[rt]=Mt[we]=Mt[ht]=Mt[fe]=Mt[Ce]=Mt[Ne]=Mt[O]=Mt[G]=Mt[X]=Mt[ve]=Mt[pe]=Mt[de]=Mt[Ue]=!1;var Vt={};Vt[Me]=Vt[Re]=Vt[rt]=Vt[ht]=Vt[we]=Vt[fe]=Vt[At]=Vt[Wt]=Vt[Sn]=Vt[Nr]=Vt[Yi]=Vt[O]=Vt[G]=Vt[X]=Vt[ve]=Vt[pe]=Vt[de]=Vt[Ee]=Vt[is]=Vt[Zi]=Vt[ln]=Vt[Vn]=!0,Vt[Ce]=Vt[Ne]=Vt[Ue]=!1;var u2={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},c2={"&":"&","<":"<",">":">",'"':""","'":"'"},f2={"&":"&","<":"<",">":">",""":'"',"'":"'"},d2={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},h2=parseFloat,m2=parseInt,Cv=typeof da=="object"&&da&&da.Object===Object&&da,v2=typeof self=="object"&&self&&self.Object===Object&&self,un=Cv||v2||Function("return this")(),ef=t&&!t.nodeType&&t,ci=ef&&!0&&e&&!e.nodeType&&e,xv=ci&&ci.exports===ef,tf=xv&&Cv.process,ar=function(){try{var N=ci&&ci.require&&ci.require("util").types;return N||tf&&tf.binding&&tf.binding("util")}catch{}}(),Av=ar&&ar.isArrayBuffer,Ev=ar&&ar.isDate,Pv=ar&&ar.isMap,kv=ar&&ar.isRegExp,Tv=ar&&ar.isSet,Rv=ar&&ar.isTypedArray;function Wn(N,J,Y){switch(Y.length){case 0:return N.call(J);case 1:return N.call(J,Y[0]);case 2:return N.call(J,Y[0],Y[1]);case 3:return N.call(J,Y[0],Y[1],Y[2])}return N.apply(J,Y)}function g2(N,J,Y,Le){for(var Qe=-1,bt=N==null?0:N.length;++Qe<bt;){var nn=N[Qe];J(Le,nn,Y(nn),N)}return Le}function lr(N,J){for(var Y=-1,Le=N==null?0:N.length;++Y<Le&&J(N[Y],Y,N)!==!1;);return N}function p2(N,J){for(var Y=N==null?0:N.length;Y--&&J(N[Y],Y,N)!==!1;);return N}function Iv(N,J){for(var Y=-1,Le=N==null?0:N.length;++Y<Le;)if(!J(N[Y],Y,N))return!1;return!0}function Vs(N,J){for(var Y=-1,Le=N==null?0:N.length,Qe=0,bt=[];++Y<Le;){var nn=N[Y];J(nn,Y,N)&&(bt[Qe++]=nn)}return bt}function gl(N,J){var Y=N==null?0:N.length;return!!Y&&Ji(N,J,0)>-1}function nf(N,J,Y){for(var Le=-1,Qe=N==null?0:N.length;++Le<Qe;)if(Y(J,N[Le]))return!0;return!1}function $t(N,J){for(var Y=-1,Le=N==null?0:N.length,Qe=Array(Le);++Y<Le;)Qe[Y]=J(N[Y],Y,N);return Qe}function Ls(N,J){for(var Y=-1,Le=J.length,Qe=N.length;++Y<Le;)N[Qe+Y]=J[Y];return N}function rf(N,J,Y,Le){var Qe=-1,bt=N==null?0:N.length;for(Le&&bt&&(Y=N[++Qe]);++Qe<bt;)Y=J(Y,N[Qe],Qe,N);return Y}function y2(N,J,Y,Le){var Qe=N==null?0:N.length;for(Le&&Qe&&(Y=N[--Qe]);Qe--;)Y=J(Y,N[Qe],Qe,N);return Y}function sf(N,J){for(var Y=-1,Le=N==null?0:N.length;++Y<Le;)if(J(N[Y],Y,N))return!0;return!1}var b2=of("length");function _2(N){return N.split("")}function w2(N){return N.match(TC)||[]}function Vv(N,J,Y){var Le;return Y(N,function(Qe,bt,nn){if(J(Qe,bt,nn))return Le=bt,!1}),Le}function pl(N,J,Y,Le){for(var Qe=N.length,bt=Y+(Le?1:-1);Le?bt--:++bt<Qe;)if(J(N[bt],bt,N))return bt;return-1}function Ji(N,J,Y){return J===J?L2(N,J,Y):pl(N,Lv,Y)}function S2(N,J,Y,Le){for(var Qe=Y-1,bt=N.length;++Qe<bt;)if(Le(N[Qe],J))return Qe;return-1}function Lv(N){return N!==N}function Ov(N,J){var Y=N==null?0:N.length;return Y?lf(N,J)/Y:ye}function of(N){return function(J){return J==null?n:J[N]}}function af(N){return function(J){return N==null?n:N[J]}}function Dv(N,J,Y,Le,Qe){return Qe(N,function(bt,nn,Tt){Y=Le?(Le=!1,bt):J(Y,bt,nn,Tt)}),Y}function C2(N,J){var Y=N.length;for(N.sort(J);Y--;)N[Y]=N[Y].value;return N}function lf(N,J){for(var Y,Le=-1,Qe=N.length;++Le<Qe;){var bt=J(N[Le]);bt!==n&&(Y=Y===n?bt:Y+bt)}return Y}function uf(N,J){for(var Y=-1,Le=Array(N);++Y<N;)Le[Y]=J(Y);return Le}function x2(N,J){return $t(J,function(Y){return[Y,N[Y]]})}function Mv(N){return N&&N.slice(0,Hv(N)+1).replace(qc,"")}function Gn(N){return function(J){return N(J)}}function cf(N,J){return $t(J,function(Y){return N[Y]})}function Ko(N,J){return N.has(J)}function Fv(N,J){for(var Y=-1,Le=N.length;++Y<Le&&Ji(J,N[Y],0)>-1;);return Y}function Bv(N,J){for(var Y=N.length;Y--&&Ji(J,N[Y],0)>-1;);return Y}function A2(N,J){for(var Y=N.length,Le=0;Y--;)N[Y]===J&&++Le;return Le}var E2=af(u2),P2=af(c2);function k2(N){return"\\"+d2[N]}function T2(N,J){return N==null?n:N[J]}function Qi(N){return i2.test(N)}function R2(N){return o2.test(N)}function I2(N){for(var J,Y=[];!(J=N.next()).done;)Y.push(J.value);return Y}function ff(N){var J=-1,Y=Array(N.size);return N.forEach(function(Le,Qe){Y[++J]=[Qe,Le]}),Y}function $v(N,J){return function(Y){return N(J(Y))}}function Os(N,J){for(var Y=-1,Le=N.length,Qe=0,bt=[];++Y<Le;){var nn=N[Y];(nn===J||nn===h)&&(N[Y]=h,bt[Qe++]=Y)}return bt}function yl(N){var J=-1,Y=Array(N.size);return N.forEach(function(Le){Y[++J]=Le}),Y}function V2(N){var J=-1,Y=Array(N.size);return N.forEach(function(Le){Y[++J]=[Le,Le]}),Y}function L2(N,J,Y){for(var Le=Y-1,Qe=N.length;++Le<Qe;)if(N[Le]===J)return Le;return-1}function O2(N,J,Y){for(var Le=Y+1;Le--;)if(N[Le]===J)return Le;return Le}function eo(N){return Qi(N)?M2(N):b2(N)}function wr(N){return Qi(N)?F2(N):_2(N)}function Hv(N){for(var J=N.length;J--&&AC.test(N.charAt(J)););return J}var D2=af(f2);function M2(N){for(var J=Qc.lastIndex=0;Qc.test(N);)++J;return J}function F2(N){return N.match(Qc)||[]}function B2(N){return N.match(s2)||[]}var $2=function N(J){J=J==null?un:to.defaults(un.Object(),J,to.pick(un,a2));var Y=J.Array,Le=J.Date,Qe=J.Error,bt=J.Function,nn=J.Math,Tt=J.Object,df=J.RegExp,H2=J.String,ur=J.TypeError,bl=Y.prototype,N2=bt.prototype,no=Tt.prototype,_l=J["__core-js_shared__"],wl=N2.toString,wt=no.hasOwnProperty,U2=0,Nv=function(){var s=/[^.]+$/.exec(_l&&_l.keys&&_l.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Sl=no.toString,z2=wl.call(Tt),W2=un._,G2=df("^"+wl.call(wt).replace(Kc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cl=xv?J.Buffer:n,Ds=J.Symbol,xl=J.Uint8Array,Uv=Cl?Cl.allocUnsafe:n,Al=$v(Tt.getPrototypeOf,Tt),zv=Tt.create,Wv=no.propertyIsEnumerable,El=bl.splice,Gv=Ds?Ds.isConcatSpreadable:n,qo=Ds?Ds.iterator:n,fi=Ds?Ds.toStringTag:n,Pl=function(){try{var s=gi(Tt,"defineProperty");return s({},"",{}),s}catch{}}(),j2=J.clearTimeout!==un.clearTimeout&&J.clearTimeout,K2=Le&&Le.now!==un.Date.now&&Le.now,q2=J.setTimeout!==un.setTimeout&&J.setTimeout,kl=nn.ceil,Tl=nn.floor,hf=Tt.getOwnPropertySymbols,Y2=Cl?Cl.isBuffer:n,jv=J.isFinite,Z2=bl.join,X2=$v(Tt.keys,Tt),rn=nn.max,gn=nn.min,J2=Le.now,Q2=J.parseInt,Kv=nn.random,ex=bl.reverse,mf=gi(J,"DataView"),Yo=gi(J,"Map"),vf=gi(J,"Promise"),ro=gi(J,"Set"),Zo=gi(J,"WeakMap"),Xo=gi(Tt,"create"),Rl=Zo&&new Zo,so={},tx=pi(mf),nx=pi(Yo),rx=pi(vf),sx=pi(ro),ix=pi(Zo),Il=Ds?Ds.prototype:n,Jo=Il?Il.valueOf:n,qv=Il?Il.toString:n;function S(s){if(Gt(s)&&!tt(s)&&!(s instanceof dt)){if(s instanceof cr)return s;if(wt.call(s,"__wrapped__"))return Yg(s)}return new cr(s)}var io=function(){function s(){}return function(a){if(!zt(a))return{};if(zv)return zv(a);s.prototype=a;var c=new s;return s.prototype=n,c}}();function Vl(){}function cr(s,a){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=n}S.templateSettings={escape:bC,evaluate:_C,interpolate:rv,variable:"",imports:{_:S}},S.prototype=Vl.prototype,S.prototype.constructor=S,cr.prototype=io(Vl.prototype),cr.prototype.constructor=cr;function dt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ue,this.__views__=[]}function ox(){var s=new dt(this.__wrapped__);return s.__actions__=Ln(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Ln(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Ln(this.__views__),s}function ax(){if(this.__filtered__){var s=new dt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function lx(){var s=this.__wrapped__.value(),a=this.__dir__,c=tt(s),g=a<0,_=c?s.length:0,A=_A(0,_,this.__views__),F=A.start,$=A.end,W=$-F,ne=g?$:F-1,re=this.__iteratees__,he=re.length,ke=0,ze=gn(W,this.__takeCount__);if(!c||!g&&_==W&&ze==W)return yg(s,this.__actions__);var qe=[];e:for(;W--&&ke<ze;){ne+=a;for(var it=-1,Ye=s[ne];++it<he;){var ft=re[it],mt=ft.iteratee,qn=ft.type,An=mt(Ye);if(qn==ce)Ye=An;else if(!An){if(qn==te)continue e;break e}}qe[ke++]=Ye}return qe}dt.prototype=io(Vl.prototype),dt.prototype.constructor=dt;function di(s){var a=-1,c=s==null?0:s.length;for(this.clear();++a<c;){var g=s[a];this.set(g[0],g[1])}}function ux(){this.__data__=Xo?Xo(null):{},this.size=0}function cx(s){var a=this.has(s)&&delete this.__data__[s];return this.size-=a?1:0,a}function fx(s){var a=this.__data__;if(Xo){var c=a[s];return c===f?n:c}return wt.call(a,s)?a[s]:n}function dx(s){var a=this.__data__;return Xo?a[s]!==n:wt.call(a,s)}function hx(s,a){var c=this.__data__;return this.size+=this.has(s)?0:1,c[s]=Xo&&a===n?f:a,this}di.prototype.clear=ux,di.prototype.delete=cx,di.prototype.get=fx,di.prototype.has=dx,di.prototype.set=hx;function os(s){var a=-1,c=s==null?0:s.length;for(this.clear();++a<c;){var g=s[a];this.set(g[0],g[1])}}function mx(){this.__data__=[],this.size=0}function vx(s){var a=this.__data__,c=Ll(a,s);if(c<0)return!1;var g=a.length-1;return c==g?a.pop():El.call(a,c,1),--this.size,!0}function gx(s){var a=this.__data__,c=Ll(a,s);return c<0?n:a[c][1]}function px(s){return Ll(this.__data__,s)>-1}function yx(s,a){var c=this.__data__,g=Ll(c,s);return g<0?(++this.size,c.push([s,a])):c[g][1]=a,this}os.prototype.clear=mx,os.prototype.delete=vx,os.prototype.get=gx,os.prototype.has=px,os.prototype.set=yx;function as(s){var a=-1,c=s==null?0:s.length;for(this.clear();++a<c;){var g=s[a];this.set(g[0],g[1])}}function bx(){this.size=0,this.__data__={hash:new di,map:new(Yo||os),string:new di}}function _x(s){var a=Gl(this,s).delete(s);return this.size-=a?1:0,a}function wx(s){return Gl(this,s).get(s)}function Sx(s){return Gl(this,s).has(s)}function Cx(s,a){var c=Gl(this,s),g=c.size;return c.set(s,a),this.size+=c.size==g?0:1,this}as.prototype.clear=bx,as.prototype.delete=_x,as.prototype.get=wx,as.prototype.has=Sx,as.prototype.set=Cx;function hi(s){var a=-1,c=s==null?0:s.length;for(this.__data__=new as;++a<c;)this.add(s[a])}function xx(s){return this.__data__.set(s,f),this}function Ax(s){return this.__data__.has(s)}hi.prototype.add=hi.prototype.push=xx,hi.prototype.has=Ax;function Sr(s){var a=this.__data__=new os(s);this.size=a.size}function Ex(){this.__data__=new os,this.size=0}function Px(s){var a=this.__data__,c=a.delete(s);return this.size=a.size,c}function kx(s){return this.__data__.get(s)}function Tx(s){return this.__data__.has(s)}function Rx(s,a){var c=this.__data__;if(c instanceof os){var g=c.__data__;if(!Yo||g.length<i-1)return g.push([s,a]),this.size=++c.size,this;c=this.__data__=new as(g)}return c.set(s,a),this.size=c.size,this}Sr.prototype.clear=Ex,Sr.prototype.delete=Px,Sr.prototype.get=kx,Sr.prototype.has=Tx,Sr.prototype.set=Rx;function Yv(s,a){var c=tt(s),g=!c&&yi(s),_=!c&&!g&&Hs(s),A=!c&&!g&&!_&&uo(s),F=c||g||_||A,$=F?uf(s.length,H2):[],W=$.length;for(var ne in s)(a||wt.call(s,ne))&&!(F&&(ne=="length"||_&&(ne=="offset"||ne=="parent")||A&&(ne=="buffer"||ne=="byteLength"||ne=="byteOffset")||fs(ne,W)))&&$.push(ne);return $}function Zv(s){var a=s.length;return a?s[Ef(0,a-1)]:n}function Ix(s,a){return jl(Ln(s),mi(a,0,s.length))}function Vx(s){return jl(Ln(s))}function gf(s,a,c){(c!==n&&!Cr(s[a],c)||c===n&&!(a in s))&&ls(s,a,c)}function Qo(s,a,c){var g=s[a];(!(wt.call(s,a)&&Cr(g,c))||c===n&&!(a in s))&&ls(s,a,c)}function Ll(s,a){for(var c=s.length;c--;)if(Cr(s[c][0],a))return c;return-1}function Lx(s,a,c,g){return Ms(s,function(_,A,F){a(g,_,c(_),F)}),g}function Xv(s,a){return s&&zr(a,an(a),s)}function Ox(s,a){return s&&zr(a,Dn(a),s)}function ls(s,a,c){a=="__proto__"&&Pl?Pl(s,a,{configurable:!0,enumerable:!0,value:c,writable:!0}):s[a]=c}function pf(s,a){for(var c=-1,g=a.length,_=Y(g),A=s==null;++c<g;)_[c]=A?n:Xf(s,a[c]);return _}function mi(s,a,c){return s===s&&(c!==n&&(s=s<=c?s:c),a!==n&&(s=s>=a?s:a)),s}function fr(s,a,c,g,_,A){var F,$=a&m,W=a&v,ne=a&y;if(c&&(F=_?c(s,g,_,A):c(s)),F!==n)return F;if(!zt(s))return s;var re=tt(s);if(re){if(F=SA(s),!$)return Ln(s,F)}else{var he=pn(s),ke=he==Ne||he==I;if(Hs(s))return wg(s,$);if(he==X||he==Me||ke&&!_){if(F=W||ke?{}:Hg(s),!$)return W?fA(s,Ox(F,s)):cA(s,Xv(F,s))}else{if(!Vt[he])return _?s:{};F=CA(s,he,$)}}A||(A=new Sr);var ze=A.get(s);if(ze)return ze;A.set(s,F),vp(s)?s.forEach(function(Ye){F.add(fr(Ye,a,c,Ye,s,A))}):hp(s)&&s.forEach(function(Ye,ft){F.set(ft,fr(Ye,a,c,ft,s,A))});var qe=ne?W?Ff:Mf:W?Dn:an,it=re?n:qe(s);return lr(it||s,function(Ye,ft){it&&(ft=Ye,Ye=s[ft]),Qo(F,ft,fr(Ye,a,c,ft,s,A))}),F}function Dx(s){var a=an(s);return function(c){return Jv(c,s,a)}}function Jv(s,a,c){var g=c.length;if(s==null)return!g;for(s=Tt(s);g--;){var _=c[g],A=a[_],F=s[_];if(F===n&&!(_ in s)||!A(F))return!1}return!0}function Qv(s,a,c){if(typeof s!="function")throw new ur(l);return oa(function(){s.apply(n,c)},a)}function ea(s,a,c,g){var _=-1,A=gl,F=!0,$=s.length,W=[],ne=a.length;if(!$)return W;c&&(a=$t(a,Gn(c))),g?(A=nf,F=!1):a.length>=i&&(A=Ko,F=!1,a=new hi(a));e:for(;++_<$;){var re=s[_],he=c==null?re:c(re);if(re=g||re!==0?re:0,F&&he===he){for(var ke=ne;ke--;)if(a[ke]===he)continue e;W.push(re)}else A(a,he,g)||W.push(re)}return W}var Ms=Eg(Ur),eg=Eg(bf,!0);function Mx(s,a){var c=!0;return Ms(s,function(g,_,A){return c=!!a(g,_,A),c}),c}function Ol(s,a,c){for(var g=-1,_=s.length;++g<_;){var A=s[g],F=a(A);if(F!=null&&($===n?F===F&&!Kn(F):c(F,$)))var $=F,W=A}return W}function Fx(s,a,c,g){var _=s.length;for(c=st(c),c<0&&(c=-c>_?0:_+c),g=g===n||g>_?_:st(g),g<0&&(g+=_),g=c>g?0:pp(g);c<g;)s[c++]=a;return s}function tg(s,a){var c=[];return Ms(s,function(g,_,A){a(g,_,A)&&c.push(g)}),c}function cn(s,a,c,g,_){var A=-1,F=s.length;for(c||(c=AA),_||(_=[]);++A<F;){var $=s[A];a>0&&c($)?a>1?cn($,a-1,c,g,_):Ls(_,$):g||(_[_.length]=$)}return _}var yf=Pg(),ng=Pg(!0);function Ur(s,a){return s&&yf(s,a,an)}function bf(s,a){return s&&ng(s,a,an)}function Dl(s,a){return Vs(a,function(c){return ds(s[c])})}function vi(s,a){a=Bs(a,s);for(var c=0,g=a.length;s!=null&&c<g;)s=s[Wr(a[c++])];return c&&c==g?s:n}function rg(s,a,c){var g=a(s);return tt(s)?g:Ls(g,c(s))}function Cn(s){return s==null?s===n?je:ee:fi&&fi in Tt(s)?bA(s):VA(s)}function _f(s,a){return s>a}function Bx(s,a){return s!=null&&wt.call(s,a)}function $x(s,a){return s!=null&&a in Tt(s)}function Hx(s,a,c){return s>=gn(a,c)&&s<rn(a,c)}function wf(s,a,c){for(var g=c?nf:gl,_=s[0].length,A=s.length,F=A,$=Y(A),W=1/0,ne=[];F--;){var re=s[F];F&&a&&(re=$t(re,Gn(a))),W=gn(re.length,W),$[F]=!c&&(a||_>=120&&re.length>=120)?new hi(F&&re):n}re=s[0];var he=-1,ke=$[0];e:for(;++he<_&&ne.length<W;){var ze=re[he],qe=a?a(ze):ze;if(ze=c||ze!==0?ze:0,!(ke?Ko(ke,qe):g(ne,qe,c))){for(F=A;--F;){var it=$[F];if(!(it?Ko(it,qe):g(s[F],qe,c)))continue e}ke&&ke.push(qe),ne.push(ze)}}return ne}function Nx(s,a,c,g){return Ur(s,function(_,A,F){a(g,c(_),A,F)}),g}function ta(s,a,c){a=Bs(a,s),s=Wg(s,a);var g=s==null?s:s[Wr(hr(a))];return g==null?n:Wn(g,s,c)}function sg(s){return Gt(s)&&Cn(s)==Me}function Ux(s){return Gt(s)&&Cn(s)==rt}function zx(s){return Gt(s)&&Cn(s)==fe}function na(s,a,c,g,_){return s===a?!0:s==null||a==null||!Gt(s)&&!Gt(a)?s!==s&&a!==a:Wx(s,a,c,g,na,_)}function Wx(s,a,c,g,_,A){var F=tt(s),$=tt(a),W=F?Re:pn(s),ne=$?Re:pn(a);W=W==Me?X:W,ne=ne==Me?X:ne;var re=W==X,he=ne==X,ke=W==ne;if(ke&&Hs(s)){if(!Hs(a))return!1;F=!0,re=!1}if(ke&&!re)return A||(A=new Sr),F||uo(s)?Fg(s,a,c,g,_,A):pA(s,a,W,c,g,_,A);if(!(c&b)){var ze=re&&wt.call(s,"__wrapped__"),qe=he&&wt.call(a,"__wrapped__");if(ze||qe){var it=ze?s.value():s,Ye=qe?a.value():a;return A||(A=new Sr),_(it,Ye,c,g,A)}}return ke?(A||(A=new Sr),yA(s,a,c,g,_,A)):!1}function Gx(s){return Gt(s)&&pn(s)==O}function Sf(s,a,c,g){var _=c.length,A=_,F=!g;if(s==null)return!A;for(s=Tt(s);_--;){var $=c[_];if(F&&$[2]?$[1]!==s[$[0]]:!($[0]in s))return!1}for(;++_<A;){$=c[_];var W=$[0],ne=s[W],re=$[1];if(F&&$[2]){if(ne===n&&!(W in s))return!1}else{var he=new Sr;if(g)var ke=g(ne,re,W,s,a,he);if(!(ke===n?na(re,ne,b|w,g,he):ke))return!1}}return!0}function ig(s){if(!zt(s)||PA(s))return!1;var a=ds(s)?G2:DC;return a.test(pi(s))}function jx(s){return Gt(s)&&Cn(s)==ve}function Kx(s){return Gt(s)&&pn(s)==pe}function qx(s){return Gt(s)&&Jl(s.length)&&!!Mt[Cn(s)]}function og(s){return typeof s=="function"?s:s==null?Mn:typeof s=="object"?tt(s)?ug(s[0],s[1]):lg(s):kp(s)}function Cf(s){if(!ia(s))return X2(s);var a=[];for(var c in Tt(s))wt.call(s,c)&&c!="constructor"&&a.push(c);return a}function Yx(s){if(!zt(s))return IA(s);var a=ia(s),c=[];for(var g in s)g=="constructor"&&(a||!wt.call(s,g))||c.push(g);return c}function xf(s,a){return s<a}function ag(s,a){var c=-1,g=On(s)?Y(s.length):[];return Ms(s,function(_,A,F){g[++c]=a(_,A,F)}),g}function lg(s){var a=$f(s);return a.length==1&&a[0][2]?Ug(a[0][0],a[0][1]):function(c){return c===s||Sf(c,s,a)}}function ug(s,a){return Nf(s)&&Ng(a)?Ug(Wr(s),a):function(c){var g=Xf(c,s);return g===n&&g===a?Jf(c,s):na(a,g,b|w)}}function Ml(s,a,c,g,_){s!==a&&yf(a,function(A,F){if(_||(_=new Sr),zt(A))Zx(s,a,F,c,Ml,g,_);else{var $=g?g(zf(s,F),A,F+"",s,a,_):n;$===n&&($=A),gf(s,F,$)}},Dn)}function Zx(s,a,c,g,_,A,F){var $=zf(s,c),W=zf(a,c),ne=F.get(W);if(ne){gf(s,c,ne);return}var re=A?A($,W,c+"",s,a,F):n,he=re===n;if(he){var ke=tt(W),ze=!ke&&Hs(W),qe=!ke&&!ze&&uo(W);re=W,ke||ze||qe?tt($)?re=$:qt($)?re=Ln($):ze?(he=!1,re=wg(W,!0)):qe?(he=!1,re=Sg(W,!0)):re=[]:aa(W)||yi(W)?(re=$,yi($)?re=yp($):(!zt($)||ds($))&&(re=Hg(W))):he=!1}he&&(F.set(W,re),_(re,W,g,A,F),F.delete(W)),gf(s,c,re)}function cg(s,a){var c=s.length;if(c)return a+=a<0?c:0,fs(a,c)?s[a]:n}function fg(s,a,c){a.length?a=$t(a,function(A){return tt(A)?function(F){return vi(F,A.length===1?A[0]:A)}:A}):a=[Mn];var g=-1;a=$t(a,Gn(Ke()));var _=ag(s,function(A,F,$){var W=$t(a,function(ne){return ne(A)});return{criteria:W,index:++g,value:A}});return C2(_,function(A,F){return uA(A,F,c)})}function Xx(s,a){return dg(s,a,function(c,g){return Jf(s,g)})}function dg(s,a,c){for(var g=-1,_=a.length,A={};++g<_;){var F=a[g],$=vi(s,F);c($,F)&&ra(A,Bs(F,s),$)}return A}function Jx(s){return function(a){return vi(a,s)}}function Af(s,a,c,g){var _=g?S2:Ji,A=-1,F=a.length,$=s;for(s===a&&(a=Ln(a)),c&&($=$t(s,Gn(c)));++A<F;)for(var W=0,ne=a[A],re=c?c(ne):ne;(W=_($,re,W,g))>-1;)$!==s&&El.call($,W,1),El.call(s,W,1);return s}function hg(s,a){for(var c=s?a.length:0,g=c-1;c--;){var _=a[c];if(c==g||_!==A){var A=_;fs(_)?El.call(s,_,1):Tf(s,_)}}return s}function Ef(s,a){return s+Tl(Kv()*(a-s+1))}function Qx(s,a,c,g){for(var _=-1,A=rn(kl((a-s)/(c||1)),0),F=Y(A);A--;)F[g?A:++_]=s,s+=c;return F}function Pf(s,a){var c="";if(!s||a<1||a>U)return c;do a%2&&(c+=s),a=Tl(a/2),a&&(s+=s);while(a);return c}function at(s,a){return Wf(zg(s,a,Mn),s+"")}function eA(s){return Zv(co(s))}function tA(s,a){var c=co(s);return jl(c,mi(a,0,c.length))}function ra(s,a,c,g){if(!zt(s))return s;a=Bs(a,s);for(var _=-1,A=a.length,F=A-1,$=s;$!=null&&++_<A;){var W=Wr(a[_]),ne=c;if(W==="__proto__"||W==="constructor"||W==="prototype")return s;if(_!=F){var re=$[W];ne=g?g(re,W,$):n,ne===n&&(ne=zt(re)?re:fs(a[_+1])?[]:{})}Qo($,W,ne),$=$[W]}return s}var mg=Rl?function(s,a){return Rl.set(s,a),s}:Mn,nA=Pl?function(s,a){return Pl(s,"toString",{configurable:!0,enumerable:!1,value:ed(a),writable:!0})}:Mn;function rA(s){return jl(co(s))}function dr(s,a,c){var g=-1,_=s.length;a<0&&(a=-a>_?0:_+a),c=c>_?_:c,c<0&&(c+=_),_=a>c?0:c-a>>>0,a>>>=0;for(var A=Y(_);++g<_;)A[g]=s[g+a];return A}function sA(s,a){var c;return Ms(s,function(g,_,A){return c=a(g,_,A),!c}),!!c}function Fl(s,a,c){var g=0,_=s==null?g:s.length;if(typeof a=="number"&&a===a&&_<=be){for(;g<_;){var A=g+_>>>1,F=s[A];F!==null&&!Kn(F)&&(c?F<=a:F<a)?g=A+1:_=A}return _}return kf(s,a,Mn,c)}function kf(s,a,c,g){var _=0,A=s==null?0:s.length;if(A===0)return 0;a=c(a);for(var F=a!==a,$=a===null,W=Kn(a),ne=a===n;_<A;){var re=Tl((_+A)/2),he=c(s[re]),ke=he!==n,ze=he===null,qe=he===he,it=Kn(he);if(F)var Ye=g||qe;else ne?Ye=qe&&(g||ke):$?Ye=qe&&ke&&(g||!ze):W?Ye=qe&&ke&&!ze&&(g||!it):ze||it?Ye=!1:Ye=g?he<=a:he<a;Ye?_=re+1:A=re}return gn(A,Se)}function vg(s,a){for(var c=-1,g=s.length,_=0,A=[];++c<g;){var F=s[c],$=a?a(F):F;if(!c||!Cr($,W)){var W=$;A[_++]=F===0?0:F}}return A}function gg(s){return typeof s=="number"?s:Kn(s)?ye:+s}function jn(s){if(typeof s=="string")return s;if(tt(s))return $t(s,jn)+"";if(Kn(s))return qv?qv.call(s):"";var a=s+"";return a=="0"&&1/s==-ge?"-0":a}function Fs(s,a,c){var g=-1,_=gl,A=s.length,F=!0,$=[],W=$;if(c)F=!1,_=nf;else if(A>=i){var ne=a?null:vA(s);if(ne)return yl(ne);F=!1,_=Ko,W=new hi}else W=a?[]:$;e:for(;++g<A;){var re=s[g],he=a?a(re):re;if(re=c||re!==0?re:0,F&&he===he){for(var ke=W.length;ke--;)if(W[ke]===he)continue e;a&&W.push(he),$.push(re)}else _(W,he,c)||(W!==$&&W.push(he),$.push(re))}return $}function Tf(s,a){return a=Bs(a,s),s=Wg(s,a),s==null||delete s[Wr(hr(a))]}function pg(s,a,c,g){return ra(s,a,c(vi(s,a)),g)}function Bl(s,a,c,g){for(var _=s.length,A=g?_:-1;(g?A--:++A<_)&&a(s[A],A,s););return c?dr(s,g?0:A,g?A+1:_):dr(s,g?A+1:0,g?_:A)}function yg(s,a){var c=s;return c instanceof dt&&(c=c.value()),rf(a,function(g,_){return _.func.apply(_.thisArg,Ls([g],_.args))},c)}function Rf(s,a,c){var g=s.length;if(g<2)return g?Fs(s[0]):[];for(var _=-1,A=Y(g);++_<g;)for(var F=s[_],$=-1;++$<g;)$!=_&&(A[_]=ea(A[_]||F,s[$],a,c));return Fs(cn(A,1),a,c)}function bg(s,a,c){for(var g=-1,_=s.length,A=a.length,F={};++g<_;){var $=g<A?a[g]:n;c(F,s[g],$)}return F}function If(s){return qt(s)?s:[]}function Vf(s){return typeof s=="function"?s:Mn}function Bs(s,a){return tt(s)?s:Nf(s,a)?[s]:qg(_t(s))}var iA=at;function $s(s,a,c){var g=s.length;return c=c===n?g:c,!a&&c>=g?s:dr(s,a,c)}var _g=j2||function(s){return un.clearTimeout(s)};function wg(s,a){if(a)return s.slice();var c=s.length,g=Uv?Uv(c):new s.constructor(c);return s.copy(g),g}function Lf(s){var a=new s.constructor(s.byteLength);return new xl(a).set(new xl(s)),a}function oA(s,a){var c=a?Lf(s.buffer):s.buffer;return new s.constructor(c,s.byteOffset,s.byteLength)}function aA(s){var a=new s.constructor(s.source,sv.exec(s));return a.lastIndex=s.lastIndex,a}function lA(s){return Jo?Tt(Jo.call(s)):{}}function Sg(s,a){var c=a?Lf(s.buffer):s.buffer;return new s.constructor(c,s.byteOffset,s.length)}function Cg(s,a){if(s!==a){var c=s!==n,g=s===null,_=s===s,A=Kn(s),F=a!==n,$=a===null,W=a===a,ne=Kn(a);if(!$&&!ne&&!A&&s>a||A&&F&&W&&!$&&!ne||g&&F&&W||!c&&W||!_)return 1;if(!g&&!A&&!ne&&s<a||ne&&c&&_&&!g&&!A||$&&c&&_||!F&&_||!W)return-1}return 0}function uA(s,a,c){for(var g=-1,_=s.criteria,A=a.criteria,F=_.length,$=c.length;++g<F;){var W=Cg(_[g],A[g]);if(W){if(g>=$)return W;var ne=c[g];return W*(ne=="desc"?-1:1)}}return s.index-a.index}function xg(s,a,c,g){for(var _=-1,A=s.length,F=c.length,$=-1,W=a.length,ne=rn(A-F,0),re=Y(W+ne),he=!g;++$<W;)re[$]=a[$];for(;++_<F;)(he||_<A)&&(re[c[_]]=s[_]);for(;ne--;)re[$++]=s[_++];return re}function Ag(s,a,c,g){for(var _=-1,A=s.length,F=-1,$=c.length,W=-1,ne=a.length,re=rn(A-$,0),he=Y(re+ne),ke=!g;++_<re;)he[_]=s[_];for(var ze=_;++W<ne;)he[ze+W]=a[W];for(;++F<$;)(ke||_<A)&&(he[ze+c[F]]=s[_++]);return he}function Ln(s,a){var c=-1,g=s.length;for(a||(a=Y(g));++c<g;)a[c]=s[c];return a}function zr(s,a,c,g){var _=!c;c||(c={});for(var A=-1,F=a.length;++A<F;){var $=a[A],W=g?g(c[$],s[$],$,c,s):n;W===n&&(W=s[$]),_?ls(c,$,W):Qo(c,$,W)}return c}function cA(s,a){return zr(s,Hf(s),a)}function fA(s,a){return zr(s,Bg(s),a)}function $l(s,a){return function(c,g){var _=tt(c)?g2:Lx,A=a?a():{};return _(c,s,Ke(g,2),A)}}function oo(s){return at(function(a,c){var g=-1,_=c.length,A=_>1?c[_-1]:n,F=_>2?c[2]:n;for(A=s.length>3&&typeof A=="function"?(_--,A):n,F&&xn(c[0],c[1],F)&&(A=_<3?n:A,_=1),a=Tt(a);++g<_;){var $=c[g];$&&s(a,$,g,A)}return a})}function Eg(s,a){return function(c,g){if(c==null)return c;if(!On(c))return s(c,g);for(var _=c.length,A=a?_:-1,F=Tt(c);(a?A--:++A<_)&&g(F[A],A,F)!==!1;);return c}}function Pg(s){return function(a,c,g){for(var _=-1,A=Tt(a),F=g(a),$=F.length;$--;){var W=F[s?$:++_];if(c(A[W],W,A)===!1)break}return a}}function dA(s,a,c){var g=a&x,_=sa(s);function A(){var F=this&&this!==un&&this instanceof A?_:s;return F.apply(g?c:this,arguments)}return A}function kg(s){return function(a){a=_t(a);var c=Qi(a)?wr(a):n,g=c?c[0]:a.charAt(0),_=c?$s(c,1).join(""):a.slice(1);return g[s]()+_}}function ao(s){return function(a){return rf(Ep(Ap(a).replace(n2,"")),s,"")}}function sa(s){return function(){var a=arguments;switch(a.length){case 0:return new s;case 1:return new s(a[0]);case 2:return new s(a[0],a[1]);case 3:return new s(a[0],a[1],a[2]);case 4:return new s(a[0],a[1],a[2],a[3]);case 5:return new s(a[0],a[1],a[2],a[3],a[4]);case 6:return new s(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new s(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var c=io(s.prototype),g=s.apply(c,a);return zt(g)?g:c}}function hA(s,a,c){var g=sa(s);function _(){for(var A=arguments.length,F=Y(A),$=A,W=lo(_);$--;)F[$]=arguments[$];var ne=A<3&&F[0]!==W&&F[A-1]!==W?[]:Os(F,W);if(A-=ne.length,A<c)return Lg(s,a,Hl,_.placeholder,n,F,ne,n,n,c-A);var re=this&&this!==un&&this instanceof _?g:s;return Wn(re,this,F)}return _}function Tg(s){return function(a,c,g){var _=Tt(a);if(!On(a)){var A=Ke(c,3);a=an(a),c=function($){return A(_[$],$,_)}}var F=s(a,c,g);return F>-1?_[A?a[F]:F]:n}}function Rg(s){return cs(function(a){var c=a.length,g=c,_=cr.prototype.thru;for(s&&a.reverse();g--;){var A=a[g];if(typeof A!="function")throw new ur(l);if(_&&!F&&Wl(A)=="wrapper")var F=new cr([],!0)}for(g=F?g:c;++g<c;){A=a[g];var $=Wl(A),W=$=="wrapper"?Bf(A):n;W&&Uf(W[0])&&W[1]==(D|C|V|L)&&!W[4].length&&W[9]==1?F=F[Wl(W[0])].apply(F,W[3]):F=A.length==1&&Uf(A)?F[$]():F.thru(A)}return function(){var ne=arguments,re=ne[0];if(F&&ne.length==1&&tt(re))return F.plant(re).value();for(var he=0,ke=c?a[he].apply(this,ne):re;++he<c;)ke=a[he].call(this,ke);return ke}})}function Hl(s,a,c,g,_,A,F,$,W,ne){var re=a&D,he=a&x,ke=a&T,ze=a&(C|E),qe=a&M,it=ke?n:sa(s);function Ye(){for(var ft=arguments.length,mt=Y(ft),qn=ft;qn--;)mt[qn]=arguments[qn];if(ze)var An=lo(Ye),Yn=A2(mt,An);if(g&&(mt=xg(mt,g,_,ze)),A&&(mt=Ag(mt,A,F,ze)),ft-=Yn,ze&&ft<ne){var Yt=Os(mt,An);return Lg(s,a,Hl,Ye.placeholder,c,mt,Yt,$,W,ne-ft)}var xr=he?c:this,ms=ke?xr[s]:s;return ft=mt.length,$?mt=LA(mt,$):qe&&ft>1&&mt.reverse(),re&&W<ft&&(mt.length=W),this&&this!==un&&this instanceof Ye&&(ms=it||sa(ms)),ms.apply(xr,mt)}return Ye}function Ig(s,a){return function(c,g){return Nx(c,s,a(g),{})}}function Nl(s,a){return function(c,g){var _;if(c===n&&g===n)return a;if(c!==n&&(_=c),g!==n){if(_===n)return g;typeof c=="string"||typeof g=="string"?(c=jn(c),g=jn(g)):(c=gg(c),g=gg(g)),_=s(c,g)}return _}}function Of(s){return cs(function(a){return a=$t(a,Gn(Ke())),at(function(c){var g=this;return s(a,function(_){return Wn(_,g,c)})})})}function Ul(s,a){a=a===n?" ":jn(a);var c=a.length;if(c<2)return c?Pf(a,s):a;var g=Pf(a,kl(s/eo(a)));return Qi(a)?$s(wr(g),0,s).join(""):g.slice(0,s)}function mA(s,a,c,g){var _=a&x,A=sa(s);function F(){for(var $=-1,W=arguments.length,ne=-1,re=g.length,he=Y(re+W),ke=this&&this!==un&&this instanceof F?A:s;++ne<re;)he[ne]=g[ne];for(;W--;)he[ne++]=arguments[++$];return Wn(ke,_?c:this,he)}return F}function Vg(s){return function(a,c,g){return g&&typeof g!="number"&&xn(a,c,g)&&(c=g=n),a=hs(a),c===n?(c=a,a=0):c=hs(c),g=g===n?a<c?1:-1:hs(g),Qx(a,c,g,s)}}function zl(s){return function(a,c){return typeof a=="string"&&typeof c=="string"||(a=mr(a),c=mr(c)),s(a,c)}}function Lg(s,a,c,g,_,A,F,$,W,ne){var re=a&C,he=re?F:n,ke=re?n:F,ze=re?A:n,qe=re?n:A;a|=re?V:k,a&=~(re?k:V),a&P||(a&=~(x|T));var it=[s,a,_,ze,he,qe,ke,$,W,ne],Ye=c.apply(n,it);return Uf(s)&&Gg(Ye,it),Ye.placeholder=g,jg(Ye,s,a)}function Df(s){var a=nn[s];return function(c,g){if(c=mr(c),g=g==null?0:gn(st(g),292),g&&jv(c)){var _=(_t(c)+"e").split("e"),A=a(_[0]+"e"+(+_[1]+g));return _=(_t(A)+"e").split("e"),+(_[0]+"e"+(+_[1]-g))}return a(c)}}var vA=ro&&1/yl(new ro([,-0]))[1]==ge?function(s){return new ro(s)}:rd;function Og(s){return function(a){var c=pn(a);return c==O?ff(a):c==pe?V2(a):x2(a,s(a))}}function us(s,a,c,g,_,A,F,$){var W=a&T;if(!W&&typeof s!="function")throw new ur(l);var ne=g?g.length:0;if(ne||(a&=~(V|k),g=_=n),F=F===n?F:rn(st(F),0),$=$===n?$:st($),ne-=_?_.length:0,a&k){var re=g,he=_;g=_=n}var ke=W?n:Bf(s),ze=[s,a,c,g,_,re,he,A,F,$];if(ke&&RA(ze,ke),s=ze[0],a=ze[1],c=ze[2],g=ze[3],_=ze[4],$=ze[9]=ze[9]===n?W?0:s.length:rn(ze[9]-ne,0),!$&&a&(C|E)&&(a&=~(C|E)),!a||a==x)var qe=dA(s,a,c);else a==C||a==E?qe=hA(s,a,$):(a==V||a==(x|V))&&!_.length?qe=mA(s,a,c,g):qe=Hl.apply(n,ze);var it=ke?mg:Gg;return jg(it(qe,ze),s,a)}function Dg(s,a,c,g){return s===n||Cr(s,no[c])&&!wt.call(g,c)?a:s}function Mg(s,a,c,g,_,A){return zt(s)&&zt(a)&&(A.set(a,s),Ml(s,a,n,Mg,A),A.delete(a)),s}function gA(s){return aa(s)?n:s}function Fg(s,a,c,g,_,A){var F=c&b,$=s.length,W=a.length;if($!=W&&!(F&&W>$))return!1;var ne=A.get(s),re=A.get(a);if(ne&&re)return ne==a&&re==s;var he=-1,ke=!0,ze=c&w?new hi:n;for(A.set(s,a),A.set(a,s);++he<$;){var qe=s[he],it=a[he];if(g)var Ye=F?g(it,qe,he,a,s,A):g(qe,it,he,s,a,A);if(Ye!==n){if(Ye)continue;ke=!1;break}if(ze){if(!sf(a,function(ft,mt){if(!Ko(ze,mt)&&(qe===ft||_(qe,ft,c,g,A)))return ze.push(mt)})){ke=!1;break}}else if(!(qe===it||_(qe,it,c,g,A))){ke=!1;break}}return A.delete(s),A.delete(a),ke}function pA(s,a,c,g,_,A,F){switch(c){case ht:if(s.byteLength!=a.byteLength||s.byteOffset!=a.byteOffset)return!1;s=s.buffer,a=a.buffer;case rt:return!(s.byteLength!=a.byteLength||!A(new xl(s),new xl(a)));case we:case fe:case G:return Cr(+s,+a);case Ce:return s.name==a.name&&s.message==a.message;case ve:case de:return s==a+"";case O:var $=ff;case pe:var W=g&b;if($||($=yl),s.size!=a.size&&!W)return!1;var ne=F.get(s);if(ne)return ne==a;g|=w,F.set(s,a);var re=Fg($(s),$(a),g,_,A,F);return F.delete(s),re;case Ee:if(Jo)return Jo.call(s)==Jo.call(a)}return!1}function yA(s,a,c,g,_,A){var F=c&b,$=Mf(s),W=$.length,ne=Mf(a),re=ne.length;if(W!=re&&!F)return!1;for(var he=W;he--;){var ke=$[he];if(!(F?ke in a:wt.call(a,ke)))return!1}var ze=A.get(s),qe=A.get(a);if(ze&&qe)return ze==a&&qe==s;var it=!0;A.set(s,a),A.set(a,s);for(var Ye=F;++he<W;){ke=$[he];var ft=s[ke],mt=a[ke];if(g)var qn=F?g(mt,ft,ke,a,s,A):g(ft,mt,ke,s,a,A);if(!(qn===n?ft===mt||_(ft,mt,c,g,A):qn)){it=!1;break}Ye||(Ye=ke=="constructor")}if(it&&!Ye){var An=s.constructor,Yn=a.constructor;An!=Yn&&"constructor"in s&&"constructor"in a&&!(typeof An=="function"&&An instanceof An&&typeof Yn=="function"&&Yn instanceof Yn)&&(it=!1)}return A.delete(s),A.delete(a),it}function cs(s){return Wf(zg(s,n,Jg),s+"")}function Mf(s){return rg(s,an,Hf)}function Ff(s){return rg(s,Dn,Bg)}var Bf=Rl?function(s){return Rl.get(s)}:rd;function Wl(s){for(var a=s.name+"",c=so[a],g=wt.call(so,a)?c.length:0;g--;){var _=c[g],A=_.func;if(A==null||A==s)return _.name}return a}function lo(s){var a=wt.call(S,"placeholder")?S:s;return a.placeholder}function Ke(){var s=S.iteratee||td;return s=s===td?og:s,arguments.length?s(arguments[0],arguments[1]):s}function Gl(s,a){var c=s.__data__;return EA(a)?c[typeof a=="string"?"string":"hash"]:c.map}function $f(s){for(var a=an(s),c=a.length;c--;){var g=a[c],_=s[g];a[c]=[g,_,Ng(_)]}return a}function gi(s,a){var c=T2(s,a);return ig(c)?c:n}function bA(s){var a=wt.call(s,fi),c=s[fi];try{s[fi]=n;var g=!0}catch{}var _=Sl.call(s);return g&&(a?s[fi]=c:delete s[fi]),_}var Hf=hf?function(s){return s==null?[]:(s=Tt(s),Vs(hf(s),function(a){return Wv.call(s,a)}))}:sd,Bg=hf?function(s){for(var a=[];s;)Ls(a,Hf(s)),s=Al(s);return a}:sd,pn=Cn;(mf&&pn(new mf(new ArrayBuffer(1)))!=ht||Yo&&pn(new Yo)!=O||vf&&pn(vf.resolve())!=me||ro&&pn(new ro)!=pe||Zo&&pn(new Zo)!=Ue)&&(pn=function(s){var a=Cn(s),c=a==X?s.constructor:n,g=c?pi(c):"";if(g)switch(g){case tx:return ht;case nx:return O;case rx:return me;case sx:return pe;case ix:return Ue}return a});function _A(s,a,c){for(var g=-1,_=c.length;++g<_;){var A=c[g],F=A.size;switch(A.type){case"drop":s+=F;break;case"dropRight":a-=F;break;case"take":a=gn(a,s+F);break;case"takeRight":s=rn(s,a-F);break}}return{start:s,end:a}}function wA(s){var a=s.match(PC);return a?a[1].split(kC):[]}function $g(s,a,c){a=Bs(a,s);for(var g=-1,_=a.length,A=!1;++g<_;){var F=Wr(a[g]);if(!(A=s!=null&&c(s,F)))break;s=s[F]}return A||++g!=_?A:(_=s==null?0:s.length,!!_&&Jl(_)&&fs(F,_)&&(tt(s)||yi(s)))}function SA(s){var a=s.length,c=new s.constructor(a);return a&&typeof s[0]=="string"&&wt.call(s,"index")&&(c.index=s.index,c.input=s.input),c}function Hg(s){return typeof s.constructor=="function"&&!ia(s)?io(Al(s)):{}}function CA(s,a,c){var g=s.constructor;switch(a){case rt:return Lf(s);case we:case fe:return new g(+s);case ht:return oA(s,c);case At:case Wt:case Sn:case Nr:case Yi:case is:case Zi:case ln:case Vn:return Sg(s,c);case O:return new g;case G:case de:return new g(s);case ve:return aA(s);case pe:return new g;case Ee:return lA(s)}}function xA(s,a){var c=a.length;if(!c)return s;var g=c-1;return a[g]=(c>1?"& ":"")+a[g],a=a.join(c>2?", ":" "),s.replace(EC,`{
|
|
21
|
-
/* [wrapped with `+a+`] */
|
|
22
|
-
`)}function AA(s){return tt(s)||yi(s)||!!(Gv&&s&&s[Gv])}function fs(s,a){var c=typeof s;return a=a??U,!!a&&(c=="number"||c!="symbol"&&FC.test(s))&&s>-1&&s%1==0&&s<a}function xn(s,a,c){if(!zt(c))return!1;var g=typeof a;return(g=="number"?On(c)&&fs(a,c.length):g=="string"&&a in c)?Cr(c[a],s):!1}function Nf(s,a){if(tt(s))return!1;var c=typeof s;return c=="number"||c=="symbol"||c=="boolean"||s==null||Kn(s)?!0:SC.test(s)||!wC.test(s)||a!=null&&s in Tt(a)}function EA(s){var a=typeof s;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?s!=="__proto__":s===null}function Uf(s){var a=Wl(s),c=S[a];if(typeof c!="function"||!(a in dt.prototype))return!1;if(s===c)return!0;var g=Bf(c);return!!g&&s===g[0]}function PA(s){return!!Nv&&Nv in s}var kA=_l?ds:id;function ia(s){var a=s&&s.constructor,c=typeof a=="function"&&a.prototype||no;return s===c}function Ng(s){return s===s&&!zt(s)}function Ug(s,a){return function(c){return c==null?!1:c[s]===a&&(a!==n||s in Tt(c))}}function TA(s){var a=Zl(s,function(g){return c.size===d&&c.clear(),g}),c=a.cache;return a}function RA(s,a){var c=s[1],g=a[1],_=c|g,A=_<(x|T|D),F=g==D&&c==C||g==D&&c==L&&s[7].length<=a[8]||g==(D|L)&&a[7].length<=a[8]&&c==C;if(!(A||F))return s;g&x&&(s[2]=a[2],_|=c&x?0:P);var $=a[3];if($){var W=s[3];s[3]=W?xg(W,$,a[4]):$,s[4]=W?Os(s[3],h):a[4]}return $=a[5],$&&(W=s[5],s[5]=W?Ag(W,$,a[6]):$,s[6]=W?Os(s[5],h):a[6]),$=a[7],$&&(s[7]=$),g&D&&(s[8]=s[8]==null?a[8]:gn(s[8],a[8])),s[9]==null&&(s[9]=a[9]),s[0]=a[0],s[1]=_,s}function IA(s){var a=[];if(s!=null)for(var c in Tt(s))a.push(c);return a}function VA(s){return Sl.call(s)}function zg(s,a,c){return a=rn(a===n?s.length-1:a,0),function(){for(var g=arguments,_=-1,A=rn(g.length-a,0),F=Y(A);++_<A;)F[_]=g[a+_];_=-1;for(var $=Y(a+1);++_<a;)$[_]=g[_];return $[a]=c(F),Wn(s,this,$)}}function Wg(s,a){return a.length<2?s:vi(s,dr(a,0,-1))}function LA(s,a){for(var c=s.length,g=gn(a.length,c),_=Ln(s);g--;){var A=a[g];s[g]=fs(A,c)?_[A]:n}return s}function zf(s,a){if(!(a==="constructor"&&typeof s[a]=="function")&&a!="__proto__")return s[a]}var Gg=Kg(mg),oa=q2||function(s,a){return un.setTimeout(s,a)},Wf=Kg(nA);function jg(s,a,c){var g=a+"";return Wf(s,xA(g,OA(wA(g),c)))}function Kg(s){var a=0,c=0;return function(){var g=J2(),_=K-(g-c);if(c=g,_>0){if(++a>=z)return arguments[0]}else a=0;return s.apply(n,arguments)}}function jl(s,a){var c=-1,g=s.length,_=g-1;for(a=a===n?g:a;++c<a;){var A=Ef(c,_),F=s[A];s[A]=s[c],s[c]=F}return s.length=a,s}var qg=TA(function(s){var a=[];return s.charCodeAt(0)===46&&a.push(""),s.replace(CC,function(c,g,_,A){a.push(_?A.replace(IC,"$1"):g||c)}),a});function Wr(s){if(typeof s=="string"||Kn(s))return s;var a=s+"";return a=="0"&&1/s==-ge?"-0":a}function pi(s){if(s!=null){try{return wl.call(s)}catch{}try{return s+""}catch{}}return""}function OA(s,a){return lr(Oe,function(c){var g="_."+c[0];a&c[1]&&!gl(s,g)&&s.push(g)}),s.sort()}function Yg(s){if(s instanceof dt)return s.clone();var a=new cr(s.__wrapped__,s.__chain__);return a.__actions__=Ln(s.__actions__),a.__index__=s.__index__,a.__values__=s.__values__,a}function DA(s,a,c){(c?xn(s,a,c):a===n)?a=1:a=rn(st(a),0);var g=s==null?0:s.length;if(!g||a<1)return[];for(var _=0,A=0,F=Y(kl(g/a));_<g;)F[A++]=dr(s,_,_+=a);return F}function MA(s){for(var a=-1,c=s==null?0:s.length,g=0,_=[];++a<c;){var A=s[a];A&&(_[g++]=A)}return _}function FA(){var s=arguments.length;if(!s)return[];for(var a=Y(s-1),c=arguments[0],g=s;g--;)a[g-1]=arguments[g];return Ls(tt(c)?Ln(c):[c],cn(a,1))}var BA=at(function(s,a){return qt(s)?ea(s,cn(a,1,qt,!0)):[]}),$A=at(function(s,a){var c=hr(a);return qt(c)&&(c=n),qt(s)?ea(s,cn(a,1,qt,!0),Ke(c,2)):[]}),HA=at(function(s,a){var c=hr(a);return qt(c)&&(c=n),qt(s)?ea(s,cn(a,1,qt,!0),n,c):[]});function NA(s,a,c){var g=s==null?0:s.length;return g?(a=c||a===n?1:st(a),dr(s,a<0?0:a,g)):[]}function UA(s,a,c){var g=s==null?0:s.length;return g?(a=c||a===n?1:st(a),a=g-a,dr(s,0,a<0?0:a)):[]}function zA(s,a){return s&&s.length?Bl(s,Ke(a,3),!0,!0):[]}function WA(s,a){return s&&s.length?Bl(s,Ke(a,3),!0):[]}function GA(s,a,c,g){var _=s==null?0:s.length;return _?(c&&typeof c!="number"&&xn(s,a,c)&&(c=0,g=_),Fx(s,a,c,g)):[]}function Zg(s,a,c){var g=s==null?0:s.length;if(!g)return-1;var _=c==null?0:st(c);return _<0&&(_=rn(g+_,0)),pl(s,Ke(a,3),_)}function Xg(s,a,c){var g=s==null?0:s.length;if(!g)return-1;var _=g-1;return c!==n&&(_=st(c),_=c<0?rn(g+_,0):gn(_,g-1)),pl(s,Ke(a,3),_,!0)}function Jg(s){var a=s==null?0:s.length;return a?cn(s,1):[]}function jA(s){var a=s==null?0:s.length;return a?cn(s,ge):[]}function KA(s,a){var c=s==null?0:s.length;return c?(a=a===n?1:st(a),cn(s,a)):[]}function qA(s){for(var a=-1,c=s==null?0:s.length,g={};++a<c;){var _=s[a];g[_[0]]=_[1]}return g}function Qg(s){return s&&s.length?s[0]:n}function YA(s,a,c){var g=s==null?0:s.length;if(!g)return-1;var _=c==null?0:st(c);return _<0&&(_=rn(g+_,0)),Ji(s,a,_)}function ZA(s){var a=s==null?0:s.length;return a?dr(s,0,-1):[]}var XA=at(function(s){var a=$t(s,If);return a.length&&a[0]===s[0]?wf(a):[]}),JA=at(function(s){var a=hr(s),c=$t(s,If);return a===hr(c)?a=n:c.pop(),c.length&&c[0]===s[0]?wf(c,Ke(a,2)):[]}),QA=at(function(s){var a=hr(s),c=$t(s,If);return a=typeof a=="function"?a:n,a&&c.pop(),c.length&&c[0]===s[0]?wf(c,n,a):[]});function eE(s,a){return s==null?"":Z2.call(s,a)}function hr(s){var a=s==null?0:s.length;return a?s[a-1]:n}function tE(s,a,c){var g=s==null?0:s.length;if(!g)return-1;var _=g;return c!==n&&(_=st(c),_=_<0?rn(g+_,0):gn(_,g-1)),a===a?O2(s,a,_):pl(s,Lv,_,!0)}function nE(s,a){return s&&s.length?cg(s,st(a)):n}var rE=at(ep);function ep(s,a){return s&&s.length&&a&&a.length?Af(s,a):s}function sE(s,a,c){return s&&s.length&&a&&a.length?Af(s,a,Ke(c,2)):s}function iE(s,a,c){return s&&s.length&&a&&a.length?Af(s,a,n,c):s}var oE=cs(function(s,a){var c=s==null?0:s.length,g=pf(s,a);return hg(s,$t(a,function(_){return fs(_,c)?+_:_}).sort(Cg)),g});function aE(s,a){var c=[];if(!(s&&s.length))return c;var g=-1,_=[],A=s.length;for(a=Ke(a,3);++g<A;){var F=s[g];a(F,g,s)&&(c.push(F),_.push(g))}return hg(s,_),c}function Gf(s){return s==null?s:ex.call(s)}function lE(s,a,c){var g=s==null?0:s.length;return g?(c&&typeof c!="number"&&xn(s,a,c)?(a=0,c=g):(a=a==null?0:st(a),c=c===n?g:st(c)),dr(s,a,c)):[]}function uE(s,a){return Fl(s,a)}function cE(s,a,c){return kf(s,a,Ke(c,2))}function fE(s,a){var c=s==null?0:s.length;if(c){var g=Fl(s,a);if(g<c&&Cr(s[g],a))return g}return-1}function dE(s,a){return Fl(s,a,!0)}function hE(s,a,c){return kf(s,a,Ke(c,2),!0)}function mE(s,a){var c=s==null?0:s.length;if(c){var g=Fl(s,a,!0)-1;if(Cr(s[g],a))return g}return-1}function vE(s){return s&&s.length?vg(s):[]}function gE(s,a){return s&&s.length?vg(s,Ke(a,2)):[]}function pE(s){var a=s==null?0:s.length;return a?dr(s,1,a):[]}function yE(s,a,c){return s&&s.length?(a=c||a===n?1:st(a),dr(s,0,a<0?0:a)):[]}function bE(s,a,c){var g=s==null?0:s.length;return g?(a=c||a===n?1:st(a),a=g-a,dr(s,a<0?0:a,g)):[]}function _E(s,a){return s&&s.length?Bl(s,Ke(a,3),!1,!0):[]}function wE(s,a){return s&&s.length?Bl(s,Ke(a,3)):[]}var SE=at(function(s){return Fs(cn(s,1,qt,!0))}),CE=at(function(s){var a=hr(s);return qt(a)&&(a=n),Fs(cn(s,1,qt,!0),Ke(a,2))}),xE=at(function(s){var a=hr(s);return a=typeof a=="function"?a:n,Fs(cn(s,1,qt,!0),n,a)});function AE(s){return s&&s.length?Fs(s):[]}function EE(s,a){return s&&s.length?Fs(s,Ke(a,2)):[]}function PE(s,a){return a=typeof a=="function"?a:n,s&&s.length?Fs(s,n,a):[]}function jf(s){if(!(s&&s.length))return[];var a=0;return s=Vs(s,function(c){if(qt(c))return a=rn(c.length,a),!0}),uf(a,function(c){return $t(s,of(c))})}function tp(s,a){if(!(s&&s.length))return[];var c=jf(s);return a==null?c:$t(c,function(g){return Wn(a,n,g)})}var kE=at(function(s,a){return qt(s)?ea(s,a):[]}),TE=at(function(s){return Rf(Vs(s,qt))}),RE=at(function(s){var a=hr(s);return qt(a)&&(a=n),Rf(Vs(s,qt),Ke(a,2))}),IE=at(function(s){var a=hr(s);return a=typeof a=="function"?a:n,Rf(Vs(s,qt),n,a)}),VE=at(jf);function LE(s,a){return bg(s||[],a||[],Qo)}function OE(s,a){return bg(s||[],a||[],ra)}var DE=at(function(s){var a=s.length,c=a>1?s[a-1]:n;return c=typeof c=="function"?(s.pop(),c):n,tp(s,c)});function np(s){var a=S(s);return a.__chain__=!0,a}function ME(s,a){return a(s),s}function Kl(s,a){return a(s)}var FE=cs(function(s){var a=s.length,c=a?s[0]:0,g=this.__wrapped__,_=function(A){return pf(A,s)};return a>1||this.__actions__.length||!(g instanceof dt)||!fs(c)?this.thru(_):(g=g.slice(c,+c+(a?1:0)),g.__actions__.push({func:Kl,args:[_],thisArg:n}),new cr(g,this.__chain__).thru(function(A){return a&&!A.length&&A.push(n),A}))});function BE(){return np(this)}function $E(){return new cr(this.value(),this.__chain__)}function HE(){this.__values__===n&&(this.__values__=gp(this.value()));var s=this.__index__>=this.__values__.length,a=s?n:this.__values__[this.__index__++];return{done:s,value:a}}function NE(){return this}function UE(s){for(var a,c=this;c instanceof Vl;){var g=Yg(c);g.__index__=0,g.__values__=n,a?_.__wrapped__=g:a=g;var _=g;c=c.__wrapped__}return _.__wrapped__=s,a}function zE(){var s=this.__wrapped__;if(s instanceof dt){var a=s;return this.__actions__.length&&(a=new dt(this)),a=a.reverse(),a.__actions__.push({func:Kl,args:[Gf],thisArg:n}),new cr(a,this.__chain__)}return this.thru(Gf)}function WE(){return yg(this.__wrapped__,this.__actions__)}var GE=$l(function(s,a,c){wt.call(s,c)?++s[c]:ls(s,c,1)});function jE(s,a,c){var g=tt(s)?Iv:Mx;return c&&xn(s,a,c)&&(a=n),g(s,Ke(a,3))}function KE(s,a){var c=tt(s)?Vs:tg;return c(s,Ke(a,3))}var qE=Tg(Zg),YE=Tg(Xg);function ZE(s,a){return cn(ql(s,a),1)}function XE(s,a){return cn(ql(s,a),ge)}function JE(s,a,c){return c=c===n?1:st(c),cn(ql(s,a),c)}function rp(s,a){var c=tt(s)?lr:Ms;return c(s,Ke(a,3))}function sp(s,a){var c=tt(s)?p2:eg;return c(s,Ke(a,3))}var QE=$l(function(s,a,c){wt.call(s,c)?s[c].push(a):ls(s,c,[a])});function eP(s,a,c,g){s=On(s)?s:co(s),c=c&&!g?st(c):0;var _=s.length;return c<0&&(c=rn(_+c,0)),Ql(s)?c<=_&&s.indexOf(a,c)>-1:!!_&&Ji(s,a,c)>-1}var tP=at(function(s,a,c){var g=-1,_=typeof a=="function",A=On(s)?Y(s.length):[];return Ms(s,function(F){A[++g]=_?Wn(a,F,c):ta(F,a,c)}),A}),nP=$l(function(s,a,c){ls(s,c,a)});function ql(s,a){var c=tt(s)?$t:ag;return c(s,Ke(a,3))}function rP(s,a,c,g){return s==null?[]:(tt(a)||(a=a==null?[]:[a]),c=g?n:c,tt(c)||(c=c==null?[]:[c]),fg(s,a,c))}var sP=$l(function(s,a,c){s[c?0:1].push(a)},function(){return[[],[]]});function iP(s,a,c){var g=tt(s)?rf:Dv,_=arguments.length<3;return g(s,Ke(a,4),c,_,Ms)}function oP(s,a,c){var g=tt(s)?y2:Dv,_=arguments.length<3;return g(s,Ke(a,4),c,_,eg)}function aP(s,a){var c=tt(s)?Vs:tg;return c(s,Xl(Ke(a,3)))}function lP(s){var a=tt(s)?Zv:eA;return a(s)}function uP(s,a,c){(c?xn(s,a,c):a===n)?a=1:a=st(a);var g=tt(s)?Ix:tA;return g(s,a)}function cP(s){var a=tt(s)?Vx:rA;return a(s)}function fP(s){if(s==null)return 0;if(On(s))return Ql(s)?eo(s):s.length;var a=pn(s);return a==O||a==pe?s.size:Cf(s).length}function dP(s,a,c){var g=tt(s)?sf:sA;return c&&xn(s,a,c)&&(a=n),g(s,Ke(a,3))}var hP=at(function(s,a){if(s==null)return[];var c=a.length;return c>1&&xn(s,a[0],a[1])?a=[]:c>2&&xn(a[0],a[1],a[2])&&(a=[a[0]]),fg(s,cn(a,1),[])}),Yl=K2||function(){return un.Date.now()};function mP(s,a){if(typeof a!="function")throw new ur(l);return s=st(s),function(){if(--s<1)return a.apply(this,arguments)}}function ip(s,a,c){return a=c?n:a,a=s&&a==null?s.length:a,us(s,D,n,n,n,n,a)}function op(s,a){var c;if(typeof a!="function")throw new ur(l);return s=st(s),function(){return--s>0&&(c=a.apply(this,arguments)),s<=1&&(a=n),c}}var Kf=at(function(s,a,c){var g=x;if(c.length){var _=Os(c,lo(Kf));g|=V}return us(s,g,a,c,_)}),ap=at(function(s,a,c){var g=x|T;if(c.length){var _=Os(c,lo(ap));g|=V}return us(a,g,s,c,_)});function lp(s,a,c){a=c?n:a;var g=us(s,C,n,n,n,n,n,a);return g.placeholder=lp.placeholder,g}function up(s,a,c){a=c?n:a;var g=us(s,E,n,n,n,n,n,a);return g.placeholder=up.placeholder,g}function cp(s,a,c){var g,_,A,F,$,W,ne=0,re=!1,he=!1,ke=!0;if(typeof s!="function")throw new ur(l);a=mr(a)||0,zt(c)&&(re=!!c.leading,he="maxWait"in c,A=he?rn(mr(c.maxWait)||0,a):A,ke="trailing"in c?!!c.trailing:ke);function ze(Yt){var xr=g,ms=_;return g=_=n,ne=Yt,F=s.apply(ms,xr),F}function qe(Yt){return ne=Yt,$=oa(ft,a),re?ze(Yt):F}function it(Yt){var xr=Yt-W,ms=Yt-ne,Tp=a-xr;return he?gn(Tp,A-ms):Tp}function Ye(Yt){var xr=Yt-W,ms=Yt-ne;return W===n||xr>=a||xr<0||he&&ms>=A}function ft(){var Yt=Yl();if(Ye(Yt))return mt(Yt);$=oa(ft,it(Yt))}function mt(Yt){return $=n,ke&&g?ze(Yt):(g=_=n,F)}function qn(){$!==n&&_g($),ne=0,g=W=_=$=n}function An(){return $===n?F:mt(Yl())}function Yn(){var Yt=Yl(),xr=Ye(Yt);if(g=arguments,_=this,W=Yt,xr){if($===n)return qe(W);if(he)return _g($),$=oa(ft,a),ze(W)}return $===n&&($=oa(ft,a)),F}return Yn.cancel=qn,Yn.flush=An,Yn}var vP=at(function(s,a){return Qv(s,1,a)}),gP=at(function(s,a,c){return Qv(s,mr(a)||0,c)});function pP(s){return us(s,M)}function Zl(s,a){if(typeof s!="function"||a!=null&&typeof a!="function")throw new ur(l);var c=function(){var g=arguments,_=a?a.apply(this,g):g[0],A=c.cache;if(A.has(_))return A.get(_);var F=s.apply(this,g);return c.cache=A.set(_,F)||A,F};return c.cache=new(Zl.Cache||as),c}Zl.Cache=as;function Xl(s){if(typeof s!="function")throw new ur(l);return function(){var a=arguments;switch(a.length){case 0:return!s.call(this);case 1:return!s.call(this,a[0]);case 2:return!s.call(this,a[0],a[1]);case 3:return!s.call(this,a[0],a[1],a[2])}return!s.apply(this,a)}}function yP(s){return op(2,s)}var bP=iA(function(s,a){a=a.length==1&&tt(a[0])?$t(a[0],Gn(Ke())):$t(cn(a,1),Gn(Ke()));var c=a.length;return at(function(g){for(var _=-1,A=gn(g.length,c);++_<A;)g[_]=a[_].call(this,g[_]);return Wn(s,this,g)})}),qf=at(function(s,a){var c=Os(a,lo(qf));return us(s,V,n,a,c)}),fp=at(function(s,a){var c=Os(a,lo(fp));return us(s,k,n,a,c)}),_P=cs(function(s,a){return us(s,L,n,n,n,a)});function wP(s,a){if(typeof s!="function")throw new ur(l);return a=a===n?a:st(a),at(s,a)}function SP(s,a){if(typeof s!="function")throw new ur(l);return a=a==null?0:rn(st(a),0),at(function(c){var g=c[a],_=$s(c,0,a);return g&&Ls(_,g),Wn(s,this,_)})}function CP(s,a,c){var g=!0,_=!0;if(typeof s!="function")throw new ur(l);return zt(c)&&(g="leading"in c?!!c.leading:g,_="trailing"in c?!!c.trailing:_),cp(s,a,{leading:g,maxWait:a,trailing:_})}function xP(s){return ip(s,1)}function AP(s,a){return qf(Vf(a),s)}function EP(){if(!arguments.length)return[];var s=arguments[0];return tt(s)?s:[s]}function PP(s){return fr(s,y)}function kP(s,a){return a=typeof a=="function"?a:n,fr(s,y,a)}function TP(s){return fr(s,m|y)}function RP(s,a){return a=typeof a=="function"?a:n,fr(s,m|y,a)}function IP(s,a){return a==null||Jv(s,a,an(a))}function Cr(s,a){return s===a||s!==s&&a!==a}var VP=zl(_f),LP=zl(function(s,a){return s>=a}),yi=sg(function(){return arguments}())?sg:function(s){return Gt(s)&&wt.call(s,"callee")&&!Wv.call(s,"callee")},tt=Y.isArray,OP=Av?Gn(Av):Ux;function On(s){return s!=null&&Jl(s.length)&&!ds(s)}function qt(s){return Gt(s)&&On(s)}function DP(s){return s===!0||s===!1||Gt(s)&&Cn(s)==we}var Hs=Y2||id,MP=Ev?Gn(Ev):zx;function FP(s){return Gt(s)&&s.nodeType===1&&!aa(s)}function BP(s){if(s==null)return!0;if(On(s)&&(tt(s)||typeof s=="string"||typeof s.splice=="function"||Hs(s)||uo(s)||yi(s)))return!s.length;var a=pn(s);if(a==O||a==pe)return!s.size;if(ia(s))return!Cf(s).length;for(var c in s)if(wt.call(s,c))return!1;return!0}function $P(s,a){return na(s,a)}function HP(s,a,c){c=typeof c=="function"?c:n;var g=c?c(s,a):n;return g===n?na(s,a,n,c):!!g}function Yf(s){if(!Gt(s))return!1;var a=Cn(s);return a==Ce||a==Z||typeof s.message=="string"&&typeof s.name=="string"&&!aa(s)}function NP(s){return typeof s=="number"&&jv(s)}function ds(s){if(!zt(s))return!1;var a=Cn(s);return a==Ne||a==I||a==q||a==xe}function dp(s){return typeof s=="number"&&s==st(s)}function Jl(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=U}function zt(s){var a=typeof s;return s!=null&&(a=="object"||a=="function")}function Gt(s){return s!=null&&typeof s=="object"}var hp=Pv?Gn(Pv):Gx;function UP(s,a){return s===a||Sf(s,a,$f(a))}function zP(s,a,c){return c=typeof c=="function"?c:n,Sf(s,a,$f(a),c)}function WP(s){return mp(s)&&s!=+s}function GP(s){if(kA(s))throw new Qe(o);return ig(s)}function jP(s){return s===null}function KP(s){return s==null}function mp(s){return typeof s=="number"||Gt(s)&&Cn(s)==G}function aa(s){if(!Gt(s)||Cn(s)!=X)return!1;var a=Al(s);if(a===null)return!0;var c=wt.call(a,"constructor")&&a.constructor;return typeof c=="function"&&c instanceof c&&wl.call(c)==z2}var Zf=kv?Gn(kv):jx;function qP(s){return dp(s)&&s>=-U&&s<=U}var vp=Tv?Gn(Tv):Kx;function Ql(s){return typeof s=="string"||!tt(s)&&Gt(s)&&Cn(s)==de}function Kn(s){return typeof s=="symbol"||Gt(s)&&Cn(s)==Ee}var uo=Rv?Gn(Rv):qx;function YP(s){return s===n}function ZP(s){return Gt(s)&&pn(s)==Ue}function XP(s){return Gt(s)&&Cn(s)==Je}var JP=zl(xf),QP=zl(function(s,a){return s<=a});function gp(s){if(!s)return[];if(On(s))return Ql(s)?wr(s):Ln(s);if(qo&&s[qo])return I2(s[qo]());var a=pn(s),c=a==O?ff:a==pe?yl:co;return c(s)}function hs(s){if(!s)return s===0?s:0;if(s=mr(s),s===ge||s===-ge){var a=s<0?-1:1;return a*ae}return s===s?s:0}function st(s){var a=hs(s),c=a%1;return a===a?c?a-c:a:0}function pp(s){return s?mi(st(s),0,ue):0}function mr(s){if(typeof s=="number")return s;if(Kn(s))return ye;if(zt(s)){var a=typeof s.valueOf=="function"?s.valueOf():s;s=zt(a)?a+"":a}if(typeof s!="string")return s===0?s:+s;s=Mv(s);var c=OC.test(s);return c||MC.test(s)?m2(s.slice(2),c?2:8):LC.test(s)?ye:+s}function yp(s){return zr(s,Dn(s))}function ek(s){return s?mi(st(s),-U,U):s===0?s:0}function _t(s){return s==null?"":jn(s)}var tk=oo(function(s,a){if(ia(a)||On(a)){zr(a,an(a),s);return}for(var c in a)wt.call(a,c)&&Qo(s,c,a[c])}),bp=oo(function(s,a){zr(a,Dn(a),s)}),eu=oo(function(s,a,c,g){zr(a,Dn(a),s,g)}),nk=oo(function(s,a,c,g){zr(a,an(a),s,g)}),rk=cs(pf);function sk(s,a){var c=io(s);return a==null?c:Xv(c,a)}var ik=at(function(s,a){s=Tt(s);var c=-1,g=a.length,_=g>2?a[2]:n;for(_&&xn(a[0],a[1],_)&&(g=1);++c<g;)for(var A=a[c],F=Dn(A),$=-1,W=F.length;++$<W;){var ne=F[$],re=s[ne];(re===n||Cr(re,no[ne])&&!wt.call(s,ne))&&(s[ne]=A[ne])}return s}),ok=at(function(s){return s.push(n,Mg),Wn(_p,n,s)});function ak(s,a){return Vv(s,Ke(a,3),Ur)}function lk(s,a){return Vv(s,Ke(a,3),bf)}function uk(s,a){return s==null?s:yf(s,Ke(a,3),Dn)}function ck(s,a){return s==null?s:ng(s,Ke(a,3),Dn)}function fk(s,a){return s&&Ur(s,Ke(a,3))}function dk(s,a){return s&&bf(s,Ke(a,3))}function hk(s){return s==null?[]:Dl(s,an(s))}function mk(s){return s==null?[]:Dl(s,Dn(s))}function Xf(s,a,c){var g=s==null?n:vi(s,a);return g===n?c:g}function vk(s,a){return s!=null&&$g(s,a,Bx)}function Jf(s,a){return s!=null&&$g(s,a,$x)}var gk=Ig(function(s,a,c){a!=null&&typeof a.toString!="function"&&(a=Sl.call(a)),s[a]=c},ed(Mn)),pk=Ig(function(s,a,c){a!=null&&typeof a.toString!="function"&&(a=Sl.call(a)),wt.call(s,a)?s[a].push(c):s[a]=[c]},Ke),yk=at(ta);function an(s){return On(s)?Yv(s):Cf(s)}function Dn(s){return On(s)?Yv(s,!0):Yx(s)}function bk(s,a){var c={};return a=Ke(a,3),Ur(s,function(g,_,A){ls(c,a(g,_,A),g)}),c}function _k(s,a){var c={};return a=Ke(a,3),Ur(s,function(g,_,A){ls(c,_,a(g,_,A))}),c}var wk=oo(function(s,a,c){Ml(s,a,c)}),_p=oo(function(s,a,c,g){Ml(s,a,c,g)}),Sk=cs(function(s,a){var c={};if(s==null)return c;var g=!1;a=$t(a,function(A){return A=Bs(A,s),g||(g=A.length>1),A}),zr(s,Ff(s),c),g&&(c=fr(c,m|v|y,gA));for(var _=a.length;_--;)Tf(c,a[_]);return c});function Ck(s,a){return wp(s,Xl(Ke(a)))}var xk=cs(function(s,a){return s==null?{}:Xx(s,a)});function wp(s,a){if(s==null)return{};var c=$t(Ff(s),function(g){return[g]});return a=Ke(a),dg(s,c,function(g,_){return a(g,_[0])})}function Ak(s,a,c){a=Bs(a,s);var g=-1,_=a.length;for(_||(_=1,s=n);++g<_;){var A=s==null?n:s[Wr(a[g])];A===n&&(g=_,A=c),s=ds(A)?A.call(s):A}return s}function Ek(s,a,c){return s==null?s:ra(s,a,c)}function Pk(s,a,c,g){return g=typeof g=="function"?g:n,s==null?s:ra(s,a,c,g)}var Sp=Og(an),Cp=Og(Dn);function kk(s,a,c){var g=tt(s),_=g||Hs(s)||uo(s);if(a=Ke(a,4),c==null){var A=s&&s.constructor;_?c=g?new A:[]:zt(s)?c=ds(A)?io(Al(s)):{}:c={}}return(_?lr:Ur)(s,function(F,$,W){return a(c,F,$,W)}),c}function Tk(s,a){return s==null?!0:Tf(s,a)}function Rk(s,a,c){return s==null?s:pg(s,a,Vf(c))}function Ik(s,a,c,g){return g=typeof g=="function"?g:n,s==null?s:pg(s,a,Vf(c),g)}function co(s){return s==null?[]:cf(s,an(s))}function Vk(s){return s==null?[]:cf(s,Dn(s))}function Lk(s,a,c){return c===n&&(c=a,a=n),c!==n&&(c=mr(c),c=c===c?c:0),a!==n&&(a=mr(a),a=a===a?a:0),mi(mr(s),a,c)}function Ok(s,a,c){return a=hs(a),c===n?(c=a,a=0):c=hs(c),s=mr(s),Hx(s,a,c)}function Dk(s,a,c){if(c&&typeof c!="boolean"&&xn(s,a,c)&&(a=c=n),c===n&&(typeof a=="boolean"?(c=a,a=n):typeof s=="boolean"&&(c=s,s=n)),s===n&&a===n?(s=0,a=1):(s=hs(s),a===n?(a=s,s=0):a=hs(a)),s>a){var g=s;s=a,a=g}if(c||s%1||a%1){var _=Kv();return gn(s+_*(a-s+h2("1e-"+((_+"").length-1))),a)}return Ef(s,a)}var Mk=ao(function(s,a,c){return a=a.toLowerCase(),s+(c?xp(a):a)});function xp(s){return Qf(_t(s).toLowerCase())}function Ap(s){return s=_t(s),s&&s.replace(BC,E2).replace(r2,"")}function Fk(s,a,c){s=_t(s),a=jn(a);var g=s.length;c=c===n?g:mi(st(c),0,g);var _=c;return c-=a.length,c>=0&&s.slice(c,_)==a}function Bk(s){return s=_t(s),s&&yC.test(s)?s.replace(nv,P2):s}function $k(s){return s=_t(s),s&&xC.test(s)?s.replace(Kc,"\\$&"):s}var Hk=ao(function(s,a,c){return s+(c?"-":"")+a.toLowerCase()}),Nk=ao(function(s,a,c){return s+(c?" ":"")+a.toLowerCase()}),Uk=kg("toLowerCase");function zk(s,a,c){s=_t(s),a=st(a);var g=a?eo(s):0;if(!a||g>=a)return s;var _=(a-g)/2;return Ul(Tl(_),c)+s+Ul(kl(_),c)}function Wk(s,a,c){s=_t(s),a=st(a);var g=a?eo(s):0;return a&&g<a?s+Ul(a-g,c):s}function Gk(s,a,c){s=_t(s),a=st(a);var g=a?eo(s):0;return a&&g<a?Ul(a-g,c)+s:s}function jk(s,a,c){return c||a==null?a=0:a&&(a=+a),Q2(_t(s).replace(qc,""),a||0)}function Kk(s,a,c){return(c?xn(s,a,c):a===n)?a=1:a=st(a),Pf(_t(s),a)}function qk(){var s=arguments,a=_t(s[0]);return s.length<3?a:a.replace(s[1],s[2])}var Yk=ao(function(s,a,c){return s+(c?"_":"")+a.toLowerCase()});function Zk(s,a,c){return c&&typeof c!="number"&&xn(s,a,c)&&(a=c=n),c=c===n?ue:c>>>0,c?(s=_t(s),s&&(typeof a=="string"||a!=null&&!Zf(a))&&(a=jn(a),!a&&Qi(s))?$s(wr(s),0,c):s.split(a,c)):[]}var Xk=ao(function(s,a,c){return s+(c?" ":"")+Qf(a)});function Jk(s,a,c){return s=_t(s),c=c==null?0:mi(st(c),0,s.length),a=jn(a),s.slice(c,c+a.length)==a}function Qk(s,a,c){var g=S.templateSettings;c&&xn(s,a,c)&&(a=n),s=_t(s),a=eu({},a,g,Dg);var _=eu({},a.imports,g.imports,Dg),A=an(_),F=cf(_,A),$,W,ne=0,re=a.interpolate||hl,he="__p += '",ke=df((a.escape||hl).source+"|"+re.source+"|"+(re===rv?VC:hl).source+"|"+(a.evaluate||hl).source+"|$","g"),ze="//# sourceURL="+(wt.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++l2+"]")+`
|
|
23
|
-
`;s.replace(ke,function(Ye,ft,mt,qn,An,Yn){return mt||(mt=qn),he+=s.slice(ne,Yn).replace($C,k2),ft&&($=!0,he+=`' +
|
|
24
|
-
__e(`+ft+`) +
|
|
25
|
-
'`),An&&(W=!0,he+=`';
|
|
26
|
-
`+An+`;
|
|
27
|
-
__p += '`),mt&&(he+=`' +
|
|
28
|
-
((__t = (`+mt+`)) == null ? '' : __t) +
|
|
29
|
-
'`),ne=Yn+Ye.length,Ye}),he+=`';
|
|
30
|
-
`;var qe=wt.call(a,"variable")&&a.variable;if(!qe)he=`with (obj) {
|
|
31
|
-
`+he+`
|
|
32
|
-
}
|
|
33
|
-
`;else if(RC.test(qe))throw new Qe(u);he=(W?he.replace(dl,""):he).replace(vC,"$1").replace(gC,"$1;"),he="function("+(qe||"obj")+`) {
|
|
34
|
-
`+(qe?"":`obj || (obj = {});
|
|
35
|
-
`)+"var __t, __p = ''"+($?", __e = _.escape":"")+(W?`, __j = Array.prototype.join;
|
|
36
|
-
function print() { __p += __j.call(arguments, '') }
|
|
37
|
-
`:`;
|
|
38
|
-
`)+he+`return __p
|
|
39
|
-
}`;var it=Pp(function(){return bt(A,ze+"return "+he).apply(n,F)});if(it.source=he,Yf(it))throw it;return it}function eT(s){return _t(s).toLowerCase()}function tT(s){return _t(s).toUpperCase()}function nT(s,a,c){if(s=_t(s),s&&(c||a===n))return Mv(s);if(!s||!(a=jn(a)))return s;var g=wr(s),_=wr(a),A=Fv(g,_),F=Bv(g,_)+1;return $s(g,A,F).join("")}function rT(s,a,c){if(s=_t(s),s&&(c||a===n))return s.slice(0,Hv(s)+1);if(!s||!(a=jn(a)))return s;var g=wr(s),_=Bv(g,wr(a))+1;return $s(g,0,_).join("")}function sT(s,a,c){if(s=_t(s),s&&(c||a===n))return s.replace(qc,"");if(!s||!(a=jn(a)))return s;var g=wr(s),_=Fv(g,wr(a));return $s(g,_).join("")}function iT(s,a){var c=B,g=j;if(zt(a)){var _="separator"in a?a.separator:_;c="length"in a?st(a.length):c,g="omission"in a?jn(a.omission):g}s=_t(s);var A=s.length;if(Qi(s)){var F=wr(s);A=F.length}if(c>=A)return s;var $=c-eo(g);if($<1)return g;var W=F?$s(F,0,$).join(""):s.slice(0,$);if(_===n)return W+g;if(F&&($+=W.length-$),Zf(_)){if(s.slice($).search(_)){var ne,re=W;for(_.global||(_=df(_.source,_t(sv.exec(_))+"g")),_.lastIndex=0;ne=_.exec(re);)var he=ne.index;W=W.slice(0,he===n?$:he)}}else if(s.indexOf(jn(_),$)!=$){var ke=W.lastIndexOf(_);ke>-1&&(W=W.slice(0,ke))}return W+g}function oT(s){return s=_t(s),s&&pC.test(s)?s.replace(tv,D2):s}var aT=ao(function(s,a,c){return s+(c?" ":"")+a.toUpperCase()}),Qf=kg("toUpperCase");function Ep(s,a,c){return s=_t(s),a=c?n:a,a===n?R2(s)?B2(s):w2(s):s.match(a)||[]}var Pp=at(function(s,a){try{return Wn(s,n,a)}catch(c){return Yf(c)?c:new Qe(c)}}),lT=cs(function(s,a){return lr(a,function(c){c=Wr(c),ls(s,c,Kf(s[c],s))}),s});function uT(s){var a=s==null?0:s.length,c=Ke();return s=a?$t(s,function(g){if(typeof g[1]!="function")throw new ur(l);return[c(g[0]),g[1]]}):[],at(function(g){for(var _=-1;++_<a;){var A=s[_];if(Wn(A[0],this,g))return Wn(A[1],this,g)}})}function cT(s){return Dx(fr(s,m))}function ed(s){return function(){return s}}function fT(s,a){return s==null||s!==s?a:s}var dT=Rg(),hT=Rg(!0);function Mn(s){return s}function td(s){return og(typeof s=="function"?s:fr(s,m))}function mT(s){return lg(fr(s,m))}function vT(s,a){return ug(s,fr(a,m))}var gT=at(function(s,a){return function(c){return ta(c,s,a)}}),pT=at(function(s,a){return function(c){return ta(s,c,a)}});function nd(s,a,c){var g=an(a),_=Dl(a,g);c==null&&!(zt(a)&&(_.length||!g.length))&&(c=a,a=s,s=this,_=Dl(a,an(a)));var A=!(zt(c)&&"chain"in c)||!!c.chain,F=ds(s);return lr(_,function($){var W=a[$];s[$]=W,F&&(s.prototype[$]=function(){var ne=this.__chain__;if(A||ne){var re=s(this.__wrapped__),he=re.__actions__=Ln(this.__actions__);return he.push({func:W,args:arguments,thisArg:s}),re.__chain__=ne,re}return W.apply(s,Ls([this.value()],arguments))})}),s}function yT(){return un._===this&&(un._=W2),this}function rd(){}function bT(s){return s=st(s),at(function(a){return cg(a,s)})}var _T=Of($t),wT=Of(Iv),ST=Of(sf);function kp(s){return Nf(s)?of(Wr(s)):Jx(s)}function CT(s){return function(a){return s==null?n:vi(s,a)}}var xT=Vg(),AT=Vg(!0);function sd(){return[]}function id(){return!1}function ET(){return{}}function PT(){return""}function kT(){return!0}function TT(s,a){if(s=st(s),s<1||s>U)return[];var c=ue,g=gn(s,ue);a=Ke(a),s-=ue;for(var _=uf(g,a);++c<s;)a(c);return _}function RT(s){return tt(s)?$t(s,Wr):Kn(s)?[s]:Ln(qg(_t(s)))}function IT(s){var a=++U2;return _t(s)+a}var VT=Nl(function(s,a){return s+a},0),LT=Df("ceil"),OT=Nl(function(s,a){return s/a},1),DT=Df("floor");function MT(s){return s&&s.length?Ol(s,Mn,_f):n}function FT(s,a){return s&&s.length?Ol(s,Ke(a,2),_f):n}function BT(s){return Ov(s,Mn)}function $T(s,a){return Ov(s,Ke(a,2))}function HT(s){return s&&s.length?Ol(s,Mn,xf):n}function NT(s,a){return s&&s.length?Ol(s,Ke(a,2),xf):n}var UT=Nl(function(s,a){return s*a},1),zT=Df("round"),WT=Nl(function(s,a){return s-a},0);function GT(s){return s&&s.length?lf(s,Mn):0}function jT(s,a){return s&&s.length?lf(s,Ke(a,2)):0}return S.after=mP,S.ary=ip,S.assign=tk,S.assignIn=bp,S.assignInWith=eu,S.assignWith=nk,S.at=rk,S.before=op,S.bind=Kf,S.bindAll=lT,S.bindKey=ap,S.castArray=EP,S.chain=np,S.chunk=DA,S.compact=MA,S.concat=FA,S.cond=uT,S.conforms=cT,S.constant=ed,S.countBy=GE,S.create=sk,S.curry=lp,S.curryRight=up,S.debounce=cp,S.defaults=ik,S.defaultsDeep=ok,S.defer=vP,S.delay=gP,S.difference=BA,S.differenceBy=$A,S.differenceWith=HA,S.drop=NA,S.dropRight=UA,S.dropRightWhile=zA,S.dropWhile=WA,S.fill=GA,S.filter=KE,S.flatMap=ZE,S.flatMapDeep=XE,S.flatMapDepth=JE,S.flatten=Jg,S.flattenDeep=jA,S.flattenDepth=KA,S.flip=pP,S.flow=dT,S.flowRight=hT,S.fromPairs=qA,S.functions=hk,S.functionsIn=mk,S.groupBy=QE,S.initial=ZA,S.intersection=XA,S.intersectionBy=JA,S.intersectionWith=QA,S.invert=gk,S.invertBy=pk,S.invokeMap=tP,S.iteratee=td,S.keyBy=nP,S.keys=an,S.keysIn=Dn,S.map=ql,S.mapKeys=bk,S.mapValues=_k,S.matches=mT,S.matchesProperty=vT,S.memoize=Zl,S.merge=wk,S.mergeWith=_p,S.method=gT,S.methodOf=pT,S.mixin=nd,S.negate=Xl,S.nthArg=bT,S.omit=Sk,S.omitBy=Ck,S.once=yP,S.orderBy=rP,S.over=_T,S.overArgs=bP,S.overEvery=wT,S.overSome=ST,S.partial=qf,S.partialRight=fp,S.partition=sP,S.pick=xk,S.pickBy=wp,S.property=kp,S.propertyOf=CT,S.pull=rE,S.pullAll=ep,S.pullAllBy=sE,S.pullAllWith=iE,S.pullAt=oE,S.range=xT,S.rangeRight=AT,S.rearg=_P,S.reject=aP,S.remove=aE,S.rest=wP,S.reverse=Gf,S.sampleSize=uP,S.set=Ek,S.setWith=Pk,S.shuffle=cP,S.slice=lE,S.sortBy=hP,S.sortedUniq=vE,S.sortedUniqBy=gE,S.split=Zk,S.spread=SP,S.tail=pE,S.take=yE,S.takeRight=bE,S.takeRightWhile=_E,S.takeWhile=wE,S.tap=ME,S.throttle=CP,S.thru=Kl,S.toArray=gp,S.toPairs=Sp,S.toPairsIn=Cp,S.toPath=RT,S.toPlainObject=yp,S.transform=kk,S.unary=xP,S.union=SE,S.unionBy=CE,S.unionWith=xE,S.uniq=AE,S.uniqBy=EE,S.uniqWith=PE,S.unset=Tk,S.unzip=jf,S.unzipWith=tp,S.update=Rk,S.updateWith=Ik,S.values=co,S.valuesIn=Vk,S.without=kE,S.words=Ep,S.wrap=AP,S.xor=TE,S.xorBy=RE,S.xorWith=IE,S.zip=VE,S.zipObject=LE,S.zipObjectDeep=OE,S.zipWith=DE,S.entries=Sp,S.entriesIn=Cp,S.extend=bp,S.extendWith=eu,nd(S,S),S.add=VT,S.attempt=Pp,S.camelCase=Mk,S.capitalize=xp,S.ceil=LT,S.clamp=Lk,S.clone=PP,S.cloneDeep=TP,S.cloneDeepWith=RP,S.cloneWith=kP,S.conformsTo=IP,S.deburr=Ap,S.defaultTo=fT,S.divide=OT,S.endsWith=Fk,S.eq=Cr,S.escape=Bk,S.escapeRegExp=$k,S.every=jE,S.find=qE,S.findIndex=Zg,S.findKey=ak,S.findLast=YE,S.findLastIndex=Xg,S.findLastKey=lk,S.floor=DT,S.forEach=rp,S.forEachRight=sp,S.forIn=uk,S.forInRight=ck,S.forOwn=fk,S.forOwnRight=dk,S.get=Xf,S.gt=VP,S.gte=LP,S.has=vk,S.hasIn=Jf,S.head=Qg,S.identity=Mn,S.includes=eP,S.indexOf=YA,S.inRange=Ok,S.invoke=yk,S.isArguments=yi,S.isArray=tt,S.isArrayBuffer=OP,S.isArrayLike=On,S.isArrayLikeObject=qt,S.isBoolean=DP,S.isBuffer=Hs,S.isDate=MP,S.isElement=FP,S.isEmpty=BP,S.isEqual=$P,S.isEqualWith=HP,S.isError=Yf,S.isFinite=NP,S.isFunction=ds,S.isInteger=dp,S.isLength=Jl,S.isMap=hp,S.isMatch=UP,S.isMatchWith=zP,S.isNaN=WP,S.isNative=GP,S.isNil=KP,S.isNull=jP,S.isNumber=mp,S.isObject=zt,S.isObjectLike=Gt,S.isPlainObject=aa,S.isRegExp=Zf,S.isSafeInteger=qP,S.isSet=vp,S.isString=Ql,S.isSymbol=Kn,S.isTypedArray=uo,S.isUndefined=YP,S.isWeakMap=ZP,S.isWeakSet=XP,S.join=eE,S.kebabCase=Hk,S.last=hr,S.lastIndexOf=tE,S.lowerCase=Nk,S.lowerFirst=Uk,S.lt=JP,S.lte=QP,S.max=MT,S.maxBy=FT,S.mean=BT,S.meanBy=$T,S.min=HT,S.minBy=NT,S.stubArray=sd,S.stubFalse=id,S.stubObject=ET,S.stubString=PT,S.stubTrue=kT,S.multiply=UT,S.nth=nE,S.noConflict=yT,S.noop=rd,S.now=Yl,S.pad=zk,S.padEnd=Wk,S.padStart=Gk,S.parseInt=jk,S.random=Dk,S.reduce=iP,S.reduceRight=oP,S.repeat=Kk,S.replace=qk,S.result=Ak,S.round=zT,S.runInContext=N,S.sample=lP,S.size=fP,S.snakeCase=Yk,S.some=dP,S.sortedIndex=uE,S.sortedIndexBy=cE,S.sortedIndexOf=fE,S.sortedLastIndex=dE,S.sortedLastIndexBy=hE,S.sortedLastIndexOf=mE,S.startCase=Xk,S.startsWith=Jk,S.subtract=WT,S.sum=GT,S.sumBy=jT,S.template=Qk,S.times=TT,S.toFinite=hs,S.toInteger=st,S.toLength=pp,S.toLower=eT,S.toNumber=mr,S.toSafeInteger=ek,S.toString=_t,S.toUpper=tT,S.trim=nT,S.trimEnd=rT,S.trimStart=sT,S.truncate=iT,S.unescape=oT,S.uniqueId=IT,S.upperCase=aT,S.upperFirst=Qf,S.each=rp,S.eachRight=sp,S.first=Qg,nd(S,function(){var s={};return Ur(S,function(a,c){wt.call(S.prototype,c)||(s[c]=a)}),s}(),{chain:!1}),S.VERSION=r,lr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){S[s].placeholder=S}),lr(["drop","take"],function(s,a){dt.prototype[s]=function(c){c=c===n?1:rn(st(c),0);var g=this.__filtered__&&!a?new dt(this):this.clone();return g.__filtered__?g.__takeCount__=gn(c,g.__takeCount__):g.__views__.push({size:gn(c,ue),type:s+(g.__dir__<0?"Right":"")}),g},dt.prototype[s+"Right"]=function(c){return this.reverse()[s](c).reverse()}}),lr(["filter","map","takeWhile"],function(s,a){var c=a+1,g=c==te||c==Q;dt.prototype[s]=function(_){var A=this.clone();return A.__iteratees__.push({iteratee:Ke(_,3),type:c}),A.__filtered__=A.__filtered__||g,A}}),lr(["head","last"],function(s,a){var c="take"+(a?"Right":"");dt.prototype[s]=function(){return this[c](1).value()[0]}}),lr(["initial","tail"],function(s,a){var c="drop"+(a?"":"Right");dt.prototype[s]=function(){return this.__filtered__?new dt(this):this[c](1)}}),dt.prototype.compact=function(){return this.filter(Mn)},dt.prototype.find=function(s){return this.filter(s).head()},dt.prototype.findLast=function(s){return this.reverse().find(s)},dt.prototype.invokeMap=at(function(s,a){return typeof s=="function"?new dt(this):this.map(function(c){return ta(c,s,a)})}),dt.prototype.reject=function(s){return this.filter(Xl(Ke(s)))},dt.prototype.slice=function(s,a){s=st(s);var c=this;return c.__filtered__&&(s>0||a<0)?new dt(c):(s<0?c=c.takeRight(-s):s&&(c=c.drop(s)),a!==n&&(a=st(a),c=a<0?c.dropRight(-a):c.take(a-s)),c)},dt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},dt.prototype.toArray=function(){return this.take(ue)},Ur(dt.prototype,function(s,a){var c=/^(?:filter|find|map|reject)|While$/.test(a),g=/^(?:head|last)$/.test(a),_=S[g?"take"+(a=="last"?"Right":""):a],A=g||/^find/.test(a);_&&(S.prototype[a]=function(){var F=this.__wrapped__,$=g?[1]:arguments,W=F instanceof dt,ne=$[0],re=W||tt(F),he=function(ft){var mt=_.apply(S,Ls([ft],$));return g&&ke?mt[0]:mt};re&&c&&typeof ne=="function"&&ne.length!=1&&(W=re=!1);var ke=this.__chain__,ze=!!this.__actions__.length,qe=A&&!ke,it=W&&!ze;if(!A&&re){F=it?F:new dt(this);var Ye=s.apply(F,$);return Ye.__actions__.push({func:Kl,args:[he],thisArg:n}),new cr(Ye,ke)}return qe&&it?s.apply(this,$):(Ye=this.thru(he),qe?g?Ye.value()[0]:Ye.value():Ye)})}),lr(["pop","push","shift","sort","splice","unshift"],function(s){var a=bl[s],c=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",g=/^(?:pop|shift)$/.test(s);S.prototype[s]=function(){var _=arguments;if(g&&!this.__chain__){var A=this.value();return a.apply(tt(A)?A:[],_)}return this[c](function(F){return a.apply(tt(F)?F:[],_)})}}),Ur(dt.prototype,function(s,a){var c=S[a];if(c){var g=c.name+"";wt.call(so,g)||(so[g]=[]),so[g].push({name:a,func:c})}}),so[Hl(n,T).name]=[{name:"wrapper",func:n}],dt.prototype.clone=ox,dt.prototype.reverse=ax,dt.prototype.value=lx,S.prototype.at=FE,S.prototype.chain=BE,S.prototype.commit=$E,S.prototype.next=HE,S.prototype.plant=UE,S.prototype.reverse=zE,S.prototype.toJSON=S.prototype.valueOf=S.prototype.value=WE,S.prototype.first=S.prototype.head,qo&&(S.prototype[qo]=NE),S},to=$2();ci?((ci.exports=to)._=to,ef._=to):un._=to}).call(da)})(Nu,Nu.exports);var PD=Nu.exports;const kr=ED(PD),y_=["filters","show"];Object.freeze(y_);const b_=e=>{const t=Array.isArray(e),n=t?[]:{};for(const[r,i]of Object.entries(e)){if(i==null)continue;const o=i&&typeof i=="object",l=o?b_(i):i;(!o||Object.keys(l).length>0)&&(t?n.push(l):n[r]=l)}return n},tl=e=>{const t=b_(e);t.q===""&&delete t.q;for(const n of y_)t[n]&&(t[n]=JSON.stringify(t[n]));return t.ts=Rt().timestamp,t},kD=({group:e,pk:t},n)=>{const r=tl(n);return ot.get(`/${e}/${t}/choices_available`,{params:r})},TD=({group:e,pk:t},n,r)=>{const i=tl(r);return ot.get(`/${e}/${t}/choices/${n}`,{params:i})},RD=({group:e,pk:t,page:n},r)=>{const i=tl(r);return ot.get(`/${e}/${t}/${n}`,{params:i})},ID=({group:e,pk:t},n)=>{const r=tl(n);return ot.get(`/${e}/${t}/metadata`,{params:r})},VD=()=>{const e=tl({});return ot.get("/r/settings",{params:e})},LD=({group:e,pk:t},n)=>(n.fitTo===null&&(n.fitTo=""),ot.patch(`${e}/${t}/bookmark`,n)),Ai={getAvailableFilterChoices:kD,getFilterChoices:TD,getMetadata:ID,getSettings:VD,loadBrowserPage:RD,setGroupBookmarks:LD},Uu="rpisvc";Object.freeze(Uu);const po=[...Uu].reverse().join("");Object.freeze(po);const Cm={};for(let e of Pn.browser.settingsGroup)Cm[e.value]=e.default===!0;Object.freeze(Cm);const __=new Set([301,302,303,307,308]);Object.freeze(__);const w_=new Set([void 0,null,Pn.browser.bookmarkFilter[0].value]);Object.freeze(w_);const mh=new Set(["a","c"]);Object.freeze(mh);const OD=function(e){return!e||e<1?1:Math.floor(Math.log10(e))+1},Cd=function(e){e&&e.params&&Ar.push(e).catch(console.warn)},DD=function(){const e={};for(const t of Pn.reader.readingDirection)t.value&&(e[t.value]=t.title);return e},kc=Ja("browser",{state:()=>({choices:{static:Object.freeze({bookmark:Pn.browser.bookmarkFilter,groupNames:Pn.browser.groupNames,settingsGroup:Pn.browser.settingsGroup,readingDirection:DD(),identifierType:Pn.browser.identifierTypes}),dynamic:void 0},settings:{filters:{},q:"",topGroup:void 0,orderBy:void 0,orderReverse:void 0,show:{...Cm},twentyFourHourTime:void 0},page:{adminFlags:{folderView:void 0},browserTitle:{parentName:void 0,groupName:void 0,groupCount:void 0},coversTimestamp:0,librariesExist:void 0,modelGroup:void 0,numPages:1,groups:[],books:[],routes:{up:void 0,last:void 0}},filterMode:"base",zeroPad:0,browserPageLoaded:!1}),getters:{topGroupChoices(){const e=[];for(const t of Pn.browser.topGroup)this._isRootGroupEnabled(t.value)&&e.push(t);return e},topGroupChoicesMaxLen(){return this._maxLenChoices(Pn.browser.topGroup)},orderByChoices(e){const t=[];for(const n of Pn.browser.orderBy)n.value==="path"?e.page.adminFlags.folderView&&t.push(n):t.push(n);return t},orderByChoicesMaxLen(){return this._maxLenChoices(Pn.browser.orderBy)},filterByChoicesMaxLen(){return this._maxLenChoices(Pn.browser.bookmarkFilter)},isCodexViewable(){return bn().isCodexViewable},isDefaultBookmarkValueSelected(e){return w_.has(e.settings.filters.bookmark)},lowestShownGroup(e){let t="r";const n=po.indexOf(e.settings.topGroup);for(const[r,i]of[...po].entries())if(e.settings.show[i]){r<=n&&(t=i);break}return t},parentModelGroup(e){let t="";if(!e.page||!e.page.routes||!e.page.routes.up)return t;const n=e.page.routes.up.group,r=Uu.indexOf(n)+1,i=Uu.slice(r);for(t of i)if(e.settings.show[t])break;return t}},actions:{_maxLenChoices(e){let t=0;for(const n of e)n&&n.title&&n.title.length>t&&(t=n.title.length);return t},identifierTypeTitle(e){if(!e)return e;const t=e.toLowerCase();return this.choices.static.identifierType[t]||e},_isRootGroupEnabled(e){return mh.has(e)?!0:e=="f"?this.page.adminFlags.folderView:this.settings.show[e]},_validateFirstSearch(e){var r;if(this.q||!e.q)return;e.orderBy="search_score",e.orderReverse=!0;const t=(r=Ar.currentRoute.value.params)==null?void 0:r.group,n=new Set(mh);if(n.add(this.lowestShownGroup),!n.has(t))return{params:{group:this.lowestShownGroup,pk:0,page:1}}},_validateNewTopGroupIsParent(e,t){const r=(t||Ar.currentRoute.value).params,i=po.indexOf(this.settings.topGroup);if(r.group!=="r"||!this.settings.topGroup||i>=po.indexOf(e.topGroup))return t;const o=po.slice(i+1);let l;for(l of o)if(this.settings.show[l])break;return{params:{...r,group:l}}},_addSettings(e){this.$patch(t=>{for(let[n,r]of Object.entries(e))t.settings[n]=typeof t.settings[n]=="object"?{...t.settings[n],...r}:t.settings[n]=r})},_validateAndSaveSettings(e){let t=this._validateFirstSearch(e);return t=this._validateNewTopGroupIsParent(e,t),e&&this._addSettings(e),this.filterMode="base",t},async clearFilters(){this.settings.filters={},await this.setSettings({})},async setSettings(e){const t=this._validateAndSaveSettings(e);Rt().setTimestamp(),await(t?Cd(t):this.loadBrowserPage())},async setBookmarkFinished(e,t){this.isCodexViewable&&await Ai.setGroupBookmarks(e,{finished:t}).then(()=>(Rt().setTimestamp(),this.loadBrowserPage(),!0))},routeToPage(e){const t=kr.cloneDeep(Ar.currentRoute.value);t.params.page=e,Ar.push(t).catch(console.warn)},handlePageError(e){if(__.has(e.response.status)){console.debug(e);const t=e.response.data;t.settings&&this.setSettings(t.settings),t.route&&Cd(t.route)}else return console.error(e)},async loadSettings(){this.isCodexViewable&&(this.$patch(e=>{e.browserPageLoaded=!1,e.choices.dynamic=void 0}),await Ai.getSettings().then(e=>{const t=e.data,n=this._validateAndSaveSettings(t);return this.browserPageLoaded=!0,n?Cd(n):this.loadBrowserPage()}).catch(e=>(this.browserPageLoaded=!0,this.handlePageError(e))))},async loadBrowserPage(){if(!this.isCodexViewable)return;if(!this.browserPageLoaded)return this.loadSettings();const e=Ar.currentRoute.value.params;await Ai.loadBrowserPage(e,this.settings).then(t=>{const n=t.data,r={...t.data};return delete r.upRoute,delete r.issueNumberMax,r.routes={up:n.upRoute,last:e},r.zeroPad=OD(n.issueNumberMax),this.$patch(i=>{i.page=Object.freeze(r),i.choices.dynamic=void 0}),!0}).catch(this.handlePageError)},async loadAvailableFilterChoices(){return await Ai.getAvailableFilterChoices(Ar.currentRoute.value.params,this.settings).then(e=>(this.choices.dynamic=e.data,!0)).catch(console.error)},async loadFilterChoices(e){return await Ai.getFilterChoices(Ar.currentRoute.value.params,e,this.settings).then(t=>(this.choices.dynamic[e]=Object.freeze(t.data),!0)).catch(console.error)}}}),ct=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};function oe(e,t){return n=>Object.keys(e).reduce((r,i)=>{const l=typeof e[i]=="object"&&e[i]!=null&&!Array.isArray(e[i])?e[i]:{type:e[i]};return n&&i in n?r[i]={...l,default:n[i]}:r[i]=l,t&&!r[i].source&&(r[i].source=t),r},{})}const nt=oe({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),Lt=typeof window<"u",xm=Lt&&"IntersectionObserver"in window,MD=Lt&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function q1(e,t,n){FD(e,t),t.set(e,n)}function FD(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function BD(e,t,n){var r=S_(e,t,"set");return $D(e,r,n),n}function $D(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function Si(e,t){var n=S_(e,t,"get");return HD(e,n)}function S_(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function HD(e,t){return t.get?t.get.call(e):t.value}function C_(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let i=0;i<r;i++){if(e==null)return n;e=e[t[i]]}return e==null||e[t[r]]===void 0?n:e[t[r]]}function ai(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const n=Object.keys(e);return n.length!==Object.keys(t).length?!1:n.every(r=>ai(e[r],t[r]))}function $i(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),C_(e,t.split("."),n))}function Bn(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const i=t(e,n);return typeof i>"u"?n:i}if(typeof t=="string")return $i(e,t,n);if(Array.isArray(t))return C_(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function yo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function Be(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function zu(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Wu(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const Y1=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),Z1=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function x_(e){return Object.keys(e)}function xd(e,t){return t.every(n=>e.hasOwnProperty(n))}function A_(e,t){const n={},r=new Set(Object.keys(e));for(const i of t)r.has(i)&&(n[i]=e[i]);return n}function X1(e,t,n){const r=Object.create(null),i=Object.create(null);for(const o in e)t.some(l=>l instanceof RegExp?l.test(o):l===o)&&!(n!=null&&n.some(l=>l===o))?r[o]=e[o]:i[o]=e[o];return[r,i]}function es(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}const E_=/^on[^a-z]/,Tc=e=>E_.test(e),ND=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],UD=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function zD(e){return e.isComposing&&UD.includes(e.key)}function nl(e){const[t,n]=X1(e,[E_]),r=es(t,ND),[i,o]=X1(n,["class","style","id",/^data-/]);return Object.assign(i,t),Object.assign(o,r),[i,o]}function Tn(e){return e==null?[]:Array.isArray(e)?e:[e]}function WD(e,t){let n=0;const r=function(){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];clearTimeout(n),n=setTimeout(()=>e(...o),jt(t))};return r.clear=()=>{clearTimeout(n)},r.immediate=e,r}function Yr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function O7(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}function J1(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function Q1(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function GD(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r<e.length;)n.push(e.substr(r,t)),r+=t;return n}function Tr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const i in e)r[i]=e[i];for(const i in t){const o=e[i],l=t[i];if(zu(o)&&zu(l)){r[i]=Tr(o,l,n);continue}if(Array.isArray(o)&&Array.isArray(l)&&n){r[i]=n(o,l);continue}r[i]=l}return r}function P_(e){return e.map(t=>t.type===He?P_(t.children):t).flat()}function Li(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Li.cache.has(e))return Li.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Li.cache.set(e,t),t}Li.cache=new Map;function Aa(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Aa(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>Aa(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Aa(e,t.component.subTree).flat(1)}return[]}var du=new WeakMap,ho=new WeakMap;class jD{constructor(t){q1(this,du,{writable:!0,value:[]}),q1(this,ho,{writable:!0,value:0}),this.size=t}push(t){Si(this,du)[Si(this,ho)]=t,BD(this,ho,(Si(this,ho)+1)%this.size)}values(){return Si(this,du).slice(Si(this,ho)).concat(Si(this,du).slice(0,Si(this,ho)))}}function Am(e){const t=dn({}),n=R(e);return Nn(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),Ka(t)}function Gu(e,t){return e.includes(t)}function k_(e){return e[2].toLowerCase()+e.slice(3)}const tr=()=>[Function,Array];function ey(e,t){return t="on"+oi(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function KD(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(Array.isArray(e))for(const i of e)i(...n);else typeof e=="function"&&e(...n)}function Fa(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(r=>`${r}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function T_(e,t,n){let r,i=e.indexOf(document.activeElement);const o=t==="next"?1:-1;do i+=o,r=e[i];while((!r||r.offsetParent==null||!((n==null?void 0:n(r))??!0))&&i<e.length&&i>=0);return r}function ju(e,t){var r,i,o,l;const n=Fa(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((r=n[0])==null||r.focus());else if(t==="first")(i=n[0])==null||i.focus();else if(t==="last")(o=n.at(-1))==null||o.focus();else if(typeof t=="number")(l=n[t])==null||l.focus();else{const u=T_(n,t);u?u.focus():ju(e,t==="next"?"first":"last")}}function hu(e){return e==null||typeof e=="string"&&e.trim()===""}function qD(){}function Ku(e,t){if(!(Lt&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function Em(e){return e.some(t=>As(t)?t.type===vn?!1:t.type!==He||Em(t.children):!0)?e:null}function YD(e,t){if(!Lt||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}const R_=["top","bottom"],ZD=["start","end","left","right"];function vh(e,t){let[n,r]=e.split(" ");return r||(r=Gu(R_,n)?"start":Gu(ZD,n)?"top":"center"),{side:gh(n,t),align:gh(r,t)}}function gh(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function Ad(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function Ed(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function ty(e){return{side:e.align,align:e.side}}function ny(e){return Gu(R_,e.side)?"y":"x"}class Oi{constructor(t){let{x:n,y:r,width:i,height:o}=t;this.x=n,this.y=r,this.width=i,this.height=o}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function ry(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function I_(e){return Array.isArray(e)?new Oi({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function Pm(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),r=n.transform;if(r){let i,o,l,u,f;if(r.startsWith("matrix3d("))i=r.slice(9,-1).split(/, /),o=+i[0],l=+i[5],u=+i[12],f=+i[13];else if(r.startsWith("matrix("))i=r.slice(7,-1).split(/, /),o=+i[0],l=+i[3],u=+i[4],f=+i[5];else return new Oi(t);const d=n.transformOrigin,h=t.x-u-(1-o)*parseFloat(d),m=t.y-f-(1-l)*parseFloat(d.slice(d.indexOf(" ")+1)),v=o?t.width/o:e.offsetWidth+1,y=l?t.height/l:e.offsetHeight+1;return new Oi({x:h,y:m,width:v,height:y})}else return new Oi(t)}function Pi(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let r;try{r=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof r.finished>"u"&&(r.finished=new Promise(i=>{r.onfinish=()=>{i(r)}})),r}const Cu=new WeakMap;function XD(e,t){Object.keys(t).forEach(n=>{if(Tc(n)){const r=k_(n),i=Cu.get(e);if(t[n]==null)i==null||i.forEach(o=>{const[l,u]=o;l===r&&(e.removeEventListener(r,u),i.delete(o))});else if(!i||![...i].some(o=>o[0]===r&&o[1]===t[n])){e.addEventListener(r,t[n]);const o=i||new Set;o.add([r,t[n]]),Cu.has(e)||Cu.set(e,o)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function JD(e,t){Object.keys(t).forEach(n=>{if(Tc(n)){const r=k_(n),i=Cu.get(e);i==null||i.forEach(o=>{const[l,u]=o;l===r&&(e.removeEventListener(r,u),i.delete(o))})}else e.removeAttribute(n)})}const mo=2.4,sy=.2126729,iy=.7151522,oy=.072175,QD=.55,eM=.58,tM=.57,nM=.62,mu=.03,ay=1.45,rM=5e-4,sM=1.25,iM=1.25,ly=.078,uy=12.82051282051282,vu=.06,cy=.001;function fy(e,t){const n=(e.r/255)**mo,r=(e.g/255)**mo,i=(e.b/255)**mo,o=(t.r/255)**mo,l=(t.g/255)**mo,u=(t.b/255)**mo;let f=n*sy+r*iy+i*oy,d=o*sy+l*iy+u*oy;if(f<=mu&&(f+=(mu-f)**ay),d<=mu&&(d+=(mu-d)**ay),Math.abs(d-f)<rM)return 0;let h;if(d>f){const m=(d**QD-f**eM)*sM;h=m<cy?0:m<ly?m-m*uy*vu:m-vu}else{const m=(d**nM-f**tM)*iM;h=m>-cy?0:m>-ly?m-m*uy*vu:m+vu}return h*100}function oM(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const qu=.20689655172413793,aM=e=>e>qu**3?Math.cbrt(e):e/(3*qu**2)+4/29,lM=e=>e>qu?e**3:3*qu**2*(e-4/29);function V_(e){const t=aM,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function L_(e){const t=lM,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const uM=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],cM=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,fM=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],dM=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function O_(e){const t=Array(3),n=cM,r=uM;for(let i=0;i<3;++i)t[i]=Math.round(Yr(n(r[i][0]*e[0]+r[i][1]*e[1]+r[i][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function km(e){let{r:t,g:n,b:r}=e;const i=[0,0,0],o=dM,l=fM;t=o(t/255),n=o(n/255),r=o(r/255);for(let u=0;u<3;++u)i[u]=l[u][0]*t+l[u][1]*n+l[u][2]*r;return i}function ph(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function hM(e){return ph(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const dy=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,mM={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>hy({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>hy({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>Ba({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>Ba({h:e,s:t,v:n,a:r})};function qr(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&dy.test(e)){const{groups:t}=e.match(dy),{fn:n,values:r}=t,i=r.split(/,\s*/).map(o=>o.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(o)/100:parseFloat(o));return mM[n](...i)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),gM(t)}else if(typeof e=="object"){if(xd(e,["r","g","b"]))return e;if(xd(e,["h","s","l"]))return Ba(D_(e));if(xd(e,["h","s","v"]))return Ba(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name}
|
|
40
|
-
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Ba(e){const{h:t,s:n,v:r,a:i}=e,o=u=>{const f=(u+t/60)%6;return r-r*n*Math.max(Math.min(f,4-f,1),0)},l=[o(5),o(3),o(1)].map(u=>Math.round(u*255));return{r:l[0],g:l[1],b:l[2],a:i}}function hy(e){return Ba(D_(e))}function D_(e){const{h:t,s:n,l:r,a:i}=e,o=r+n*Math.min(r,1-r),l=o===0?0:2-2*r/o;return{h:t,s:l,v:o,a:i}}function gu(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function vM(e){let{r:t,g:n,b:r,a:i}=e;return`#${[gu(t),gu(n),gu(r),i!==void 0?gu(Math.round(i*255)):""].join("")}`}function gM(e){e=pM(e);let[t,n,r,i]=GD(e,2).map(o=>parseInt(o,16));return i=i===void 0?i:i/255,{r:t,g:n,b:r,a:i}}function pM(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=J1(J1(e,6),8,"F")),e}function yM(e,t){const n=V_(km(e));return n[0]=n[0]+t*10,O_(L_(n))}function bM(e,t){const n=V_(km(e));return n[0]=n[0]-t*10,O_(L_(n))}function _M(e){const t=qr(e);return km(t)[1]}function M_(e){const t=Math.abs(fy(qr(0),qr(e)));return Math.abs(fy(qr(16777215),qr(e)))>Math.min(t,50)?"#fff":"#000"}const Yu=Symbol.for("vuetify:defaults");function D7(e){return Pe(e)}function Tm(){const e=lt(Yu);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function In(e,t){const n=Tm(),r=Pe(e),i=R(()=>{if(jt(t==null?void 0:t.disabled))return n.value;const l=jt(t==null?void 0:t.scoped),u=jt(t==null?void 0:t.reset),f=jt(t==null?void 0:t.root);if(r.value==null&&!(l||u||f))return n.value;let d=Tr(r.value,{prev:n.value});if(l)return d;if(u||f){const h=Number(u||1/0);for(let m=0;m<=h&&!(!d||!("prev"in d));m++)d=d.prev;return d&&typeof f=="string"&&f in d&&(d=Tr(Tr(d,{prev:d}),d[f])),d}return d.prev?Tr(d.prev,d):d});return Et(Yu,i),i}function wM(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[Li(t)])<"u"}function SM(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Tm();const r=en("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const i=R(()=>{var f;return(f=n.value)==null?void 0:f[e._as??t]}),o=new Proxy(e,{get(f,d){var m,v,y,b;const h=Reflect.get(f,d);return d==="class"||d==="style"?[(m=i.value)==null?void 0:m[d],h].filter(w=>w!=null):typeof d=="string"&&!wM(r.vnode,d)?((v=i.value)==null?void 0:v[d])??((b=(y=n.value)==null?void 0:y.global)==null?void 0:b[d])??h:h}}),l=Ve();Nn(()=>{if(i.value){const f=Object.entries(i.value).filter(d=>{let[h]=d;return h.startsWith(h[0].toUpperCase())});l.value=f.length?Object.fromEntries(f):void 0}else l.value=void 0});function u(){const f=PM(Yu,r);Et(Yu,R(()=>l.value?Tr((f==null?void 0:f.value)??{},l.value):f==null?void 0:f.value))}return{props:o,provideSubDefaults:u}}function rl(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=oe(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return A_(r,t)},e.props._as=String,e.setup=function(r,i){const o=Tm();if(!o.value)return e._setup(r,i);const{props:l,provideSubDefaults:u}=SM(r,r._as??e.name,o),f=e._setup(l,i);return u(),f}}return e}function Ie(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?rl:Fo)(t)}function CM(e,t){return t.props=e,t}function F_(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return Ie()({name:n??oi(mn(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...nt()},setup(r,i){let{slots:o}=i;return()=>{var l;return Ps(r.tag,{class:[e,r.class],style:r.style},(l=o.default)==null?void 0:l.call(o))}}})}function B_(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const $a="cubic-bezier(0.4, 0, 0.2, 1)",xM="cubic-bezier(0.0, 0, 0.2, 1)",AM="cubic-bezier(0.4, 0, 1, 1)";function my(e,t,n){return Object.keys(e).filter(r=>Tc(r)&&r.endsWith(t)).reduce((r,i)=>(r[i.slice(0,-t.length)]=o=>e[i](o,n(o)),r),{})}function en(e,t){const n=Jr();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}function ts(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=en(e).type;return Li((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let $_=0,xu=new WeakMap;function sr(){const e=en("getUid");if(xu.has(e))return xu.get(e);{const t=$_++;return xu.set(e,t),t}}sr.reset=()=>{$_=0,xu=new WeakMap};function H_(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?EM(e):Rm(e))return e;e=e.parentElement}return document.scrollingElement}function Zu(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(Rm(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function Rm(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function EM(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function PM(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:en("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}function kM(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function Ge(e){const t=en("useRender");t.render=e}function si(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=Pe(),r=Pe();if(Lt){const i=new ResizeObserver(o=>{e==null||e(o,i),o.length&&(t==="content"?r.value=o[0].contentRect:r.value=o[0].target.getBoundingClientRect())});wn(()=>{i.disconnect()}),$e(n,(o,l)=>{l&&(i.unobserve(Wu(l)),r.value=void 0),o&&i.observe(Wu(o))},{flush:"post"})}return{resizeRef:n,contentRect:Mo(r)}}const Xu=Symbol.for("vuetify:layout"),N_=Symbol.for("vuetify:layout-item"),vy=1e3,M7=oe({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),U_=oe({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function TM(){const e=lt(Xu);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function z_(e){const t=lt(Xu);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${sr()}`,r=en("useLayoutItem");Et(N_,{id:n});const i=Ve(!1);rm(()=>i.value=!0),nm(()=>i.value=!1);const{layoutItemStyles:o,layoutItemScrimStyles:l}=t.register(r,{...e,active:R(()=>i.value?!1:e.active.value),id:n});return wn(()=>t.unregister(n)),{layoutItemStyles:o,layoutRect:t.layoutRect,layoutItemScrimStyles:l}}const RM=(e,t,n,r)=>{let i={top:0,left:0,right:0,bottom:0};const o=[{id:"",layer:{...i}}];for(const l of e){const u=t.get(l),f=n.get(l),d=r.get(l);if(!u||!f||!d)continue;const h={...i,[u.value]:parseInt(i[u.value],10)+(d.value?parseInt(f.value,10):0)};o.push({id:l,layer:h}),i=h}return o};function F7(e){const t=lt(Xu,null),n=R(()=>t?t.rootZIndex.value-100:vy),r=Pe([]),i=dn(new Map),o=dn(new Map),l=dn(new Map),u=dn(new Map),f=dn(new Map),{resizeRef:d,contentRect:h}=si(),m=R(()=>{const k=new Map,D=e.overlaps??[];for(const L of D.filter(M=>M.includes(":"))){const[M,B]=L.split(":");if(!r.value.includes(M)||!r.value.includes(B))continue;const j=i.get(M),z=i.get(B),K=o.get(M),te=o.get(B);!j||!z||!K||!te||(k.set(B,{position:j.value,amount:parseInt(K.value,10)}),k.set(M,{position:z.value,amount:-parseInt(te.value,10)}))}return k}),v=R(()=>{const k=[...new Set([...l.values()].map(L=>L.value))].sort((L,M)=>L-M),D=[];for(const L of k){const M=r.value.filter(B=>{var j;return((j=l.get(B))==null?void 0:j.value)===L});D.push(...M)}return RM(D,i,o,u)}),y=R(()=>!Array.from(f.values()).some(k=>k.value)),b=R(()=>v.value[v.value.length-1].layer),w=R(()=>({"--v-layout-left":Be(b.value.left),"--v-layout-right":Be(b.value.right),"--v-layout-top":Be(b.value.top),"--v-layout-bottom":Be(b.value.bottom),...y.value?void 0:{transition:"none"}})),x=R(()=>v.value.slice(1).map((k,D)=>{let{id:L}=k;const{layer:M}=v.value[D],B=o.get(L),j=i.get(L);return{id:L,...M,size:Number(B.value),position:j.value}})),T=k=>x.value.find(D=>D.id===k),P=en("createLayout"),C=Ve(!1);nr(()=>{C.value=!0}),Et(Xu,{register:(k,D)=>{let{id:L,order:M,position:B,layoutSize:j,elementSize:z,active:K,disableTransitions:te,absolute:ce}=D;l.set(L,M),i.set(L,B),o.set(L,j),u.set(L,K),te&&f.set(L,te);const ge=Aa(N_,P==null?void 0:P.vnode).indexOf(k);ge>-1?r.value.splice(ge,0,L):r.value.push(L);const U=R(()=>x.value.findIndex(Se=>Se.id===L)),ae=R(()=>n.value+v.value.length*2-U.value*2),ye=R(()=>{const Se=B.value==="left"||B.value==="right",be=B.value==="right",Oe=B.value==="bottom",Me={[B.value]:0,zIndex:ae.value,transform:`translate${Se?"X":"Y"}(${(K.value?0:-110)*(be||Oe?-1:1)}%)`,position:ce.value||n.value!==vy?"absolute":"fixed",...y.value?void 0:{transition:"none"}};if(!C.value)return Me;const Re=x.value[U.value];if(!Re)throw new Error(`[Vuetify] Could not find layout item "${L}"`);const q=m.value.get(L);return q&&(Re[q.position]+=q.amount),{...Me,height:Se?`calc(100% - ${Re.top}px - ${Re.bottom}px)`:z.value?`${z.value}px`:void 0,left:be?void 0:`${Re.left}px`,right:be?`${Re.right}px`:void 0,top:B.value!=="bottom"?`${Re.top}px`:void 0,bottom:B.value!=="top"?`${Re.bottom}px`:void 0,width:Se?z.value?`${z.value}px`:void 0:`calc(100% - ${Re.left}px - ${Re.right}px)`}}),ue=R(()=>({zIndex:ae.value-1}));return{layoutItemStyles:ye,layoutItemScrimStyles:ue,zIndex:ae}},unregister:k=>{l.delete(k),i.delete(k),o.delete(k),u.delete(k),f.delete(k),r.value=r.value.filter(D=>D!==k)},mainRect:b,mainStyles:w,getLayoutItem:T,items:x,layoutRect:h,rootZIndex:n});const E=R(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),V=R(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:E,layoutStyles:V,getLayoutItem:T,items:x,layoutRect:h,layoutRef:d}}const IM={badge:"Badge",open:"Open",close:"Close",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},VM={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function Zr(e,t){let n;function r(){n=Do(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}$e(e,i=>{i&&!n?r():i||(n==null||n.stop(),n=void 0)},{immediate:!0}),_n(()=>{n==null||n.stop()})}function pt(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:m=>m,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:m=>m;const o=en("useProxiedModel"),l=Pe(e[t]!==void 0?e[t]:n),u=Li(t),d=R(u!==t?()=>{var m,v,y,b;return e[t],!!(((m=o.vnode.props)!=null&&m.hasOwnProperty(t)||(v=o.vnode.props)!=null&&v.hasOwnProperty(u))&&((y=o.vnode.props)!=null&&y.hasOwnProperty(`onUpdate:${t}`)||(b=o.vnode.props)!=null&&b.hasOwnProperty(`onUpdate:${u}`)))}:()=>{var m,v;return e[t],!!((m=o.vnode.props)!=null&&m.hasOwnProperty(t)&&((v=o.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${t}`)))});Zr(()=>!d.value,()=>{$e(()=>e[t],m=>{l.value=m})});const h=R({get(){const m=e[t];return r(d.value?m:l.value)},set(m){const v=i(m),y=et(d.value?e[t]:l.value);y===v||r(y)===m||(l.value=v,o==null||o.emit(`update:${t}`,v))}});return Object.defineProperty(h,"externalValue",{get:()=>d.value?e[t]:l.value}),h}const gy="$vuetify.",py=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[+r])),W_=(e,t,n)=>function(r){for(var i=arguments.length,o=new Array(i>1?i-1:0),l=1;l<i;l++)o[l-1]=arguments[l];if(!r.startsWith(gy))return py(r,o);const u=r.replace(gy,""),f=e.value&&n.value[e.value],d=t.value&&n.value[t.value];let h=$i(f,u,null);return h||(`${r}${e.value}`,h=$i(d,u,null)),h||(h=r),typeof h!="string"&&(h=r),py(h,o)};function G_(e,t){return(n,r)=>new Intl.NumberFormat([e.value,t.value],r).format(n)}function Pd(e,t,n){const r=pt(e,t,e[t]??n.value);return r.value=e[t]??n.value,$e(n,i=>{e[t]==null&&(r.value=n.value)}),r}function j_(e){return t=>{const n=Pd(t,"locale",e.current),r=Pd(t,"fallback",e.fallback),i=Pd(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:i,t:W_(n,r,i),n:G_(n,r),provide:j_({current:n,fallback:r,messages:i})}}}function LM(e){const t=Ve((e==null?void 0:e.locale)??"en"),n=Ve((e==null?void 0:e.fallback)??"en"),r=Pe({en:IM,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,t:W_(t,n,r),n:G_(t,n),provide:j_({current:t,fallback:n,messages:r})}}const K_=Symbol.for("vuetify:locale");function OM(e){return e.name!=null}function B7(e){const t=e!=null&&e.adapter&&OM(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:LM(e),n=DM(t,e);return{...t,...n}}function ks(){const e=lt(K_);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function DM(e,t){const n=Pe((t==null?void 0:t.rtl)??VM),r=R(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:R(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function ns(){const e=lt(K_);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const yy=Symbol.for("vuetify:theme"),Kt=oe({theme:String},"theme");function by(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function MM(){var r,i;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:by();const t=by();if(!e)return{...t,isDisabled:!0};const n={};for(const[o,l]of Object.entries(e.themes??{})){const u=l.dark||o==="dark"?(r=t.themes)==null?void 0:r.dark:(i=t.themes)==null?void 0:i.light;n[o]=Tr(u,l)}return Tr(t,{...e,themes:n})}function $7(e){const t=MM(e),n=Pe(t.defaultTheme),r=Pe(t.themes),i=R(()=>{const h={};for(const[m,v]of Object.entries(r.value)){const y=h[m]={...v,colors:{...v.colors}};if(t.variations)for(const b of t.variations.colors){const w=y.colors[b];if(w)for(const x of["lighten","darken"]){const T=x==="lighten"?yM:bM;for(const P of yo(t.variations[x],1))y.colors[`${b}-${x}-${P}`]=vM(T(qr(w),P))}}for(const b of Object.keys(y.colors)){if(/^on-[a-z]/.test(b)||y.colors[`on-${b}`])continue;const w=`on-${b}`,x=qr(y.colors[b]);y.colors[w]=M_(x)}}return h}),o=R(()=>i.value[n.value]),l=R(()=>{const h=[];o.value.dark&&Ci(h,":root",["color-scheme: dark"]),Ci(h,":root",_y(o.value));for(const[b,w]of Object.entries(i.value))Ci(h,`.v-theme--${b}`,[`color-scheme: ${w.dark?"dark":"normal"}`,..._y(w)]);const m=[],v=[],y=new Set(Object.values(i.value).flatMap(b=>Object.keys(b.colors)));for(const b of y)/^on-[a-z]/.test(b)?Ci(v,`.${b}`,[`color: rgb(var(--v-theme-${b})) !important`]):(Ci(m,`.bg-${b}`,[`--v-theme-overlay-multiplier: var(--v-theme-${b}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${b})) !important`,`color: rgb(var(--v-theme-on-${b})) !important`]),Ci(v,`.text-${b}`,[`color: rgb(var(--v-theme-${b})) !important`]),Ci(v,`.border-${b}`,[`--v-border-color: var(--v-theme-${b})`]));return h.push(...m,...v),h.map((b,w)=>w===0?b:` ${b}`).join("")});function u(){return{style:[{children:l.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function f(h){if(t.isDisabled)return;const m=h._context.provides.usehead;if(m)if(m.push){const v=m.push(u);Lt&&$e(l,()=>{v.patch(u)})}else Lt?(m.addHeadObjs(R(u)),Nn(()=>m.updateDOM())):m.addHeadObjs(u());else{let y=function(){if(typeof document<"u"&&!v){const b=document.createElement("style");b.type="text/css",b.id="vuetify-theme-stylesheet",t.cspNonce&&b.setAttribute("nonce",t.cspNonce),v=b,document.head.appendChild(v)}v&&(v.innerHTML=l.value)},v=Lt?document.getElementById("vuetify-theme-stylesheet"):null;Lt?$e(l,y,{immediate:!0}):y()}}const d=R(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:f,isDisabled:t.isDisabled,name:n,themes:r,current:o,computedThemes:i,themeClasses:d,styles:l,global:{name:n,current:o}}}function tn(e){en("provideTheme");const t=lt(yy,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=R(()=>e.theme??t.name.value),r=R(()=>t.themes.value[n.value]),i=R(()=>t.isDisabled?void 0:`v-theme--${n.value}`),o={...t,name:n,current:r,themeClasses:i};return Et(yy,o),o}function Ci(e,t,n){e.push(`${t} {
|
|
41
|
-
`,...n.map(r=>` ${r};
|
|
42
|
-
`),`}
|
|
43
|
-
`)}function _y(e){const t=e.dark?2:1,n=e.dark?1:2,r=[];for(const[i,o]of Object.entries(e.colors)){const l=qr(o);r.push(`--v-theme-${i}: ${l.r},${l.g},${l.b}`),i.startsWith("on-")||r.push(`--v-theme-${i}-overlay-multiplier: ${_M(o)>.18?t:n}`)}for(const[i,o]of Object.entries(e.variables)){const l=typeof o=="string"&&o.startsWith("#")?qr(o):void 0,u=l?`${l.r}, ${l.g}, ${l.b}`:void 0;r.push(`--v-${i}: ${u??o}`)}return r}const yh={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function FM(e,t){const n=[];let r=[];const i=q_(e),o=Y_(e),l=(i.getDay()-yh[t.slice(-2).toUpperCase()]+7)%7,u=(o.getDay()-yh[t.slice(-2).toUpperCase()]+7)%7;for(let f=0;f<l;f++){const d=new Date(i);d.setDate(d.getDate()-(l-f)),r.push(d)}for(let f=1;f<=o.getDate();f++){const d=new Date(e.getFullYear(),e.getMonth(),f);r.push(d),r.length===7&&(n.push(r),r=[])}for(let f=1;f<7-u;f++){const d=new Date(o);d.setDate(d.getDate()+f),r.push(d)}return r.length>0&&n.push(r),n}function BM(e){const t=new Date(e);for(;t.getDay()!==0;)t.setDate(t.getDate()-1);return t}function $M(e){const t=new Date(e);for(;t.getDay()!==6;)t.setDate(t.getDate()+1);return t}function q_(e){return new Date(e.getFullYear(),e.getMonth(),1)}function Y_(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function HM(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const NM=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Z_(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(NM.test(e))return HM(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const wy=new Date(2e3,0,2);function UM(e){const t=yh[e.slice(-2).toUpperCase()];return yo(7).map(n=>{const r=new Date(wy);r.setDate(wy.getDate()+t+n);const i=new Intl.DateTimeFormat(e,{weekday:"short"}).format(r);return i.charAt(0).toUpperCase()+i.slice(1)})}function zM(e,t,n,r){const i=Z_(e)??new Date,o=r==null?void 0:r[t];if(typeof o=="function")return o(i,t,n);let l={};switch(t){case"fullDateWithWeekday":l={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"hours12h":l={hour:"numeric",hour12:!0};break;case"normalDateWithWeekday":l={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":l={day:"2-digit",month:"2-digit",year:"numeric"};break;case"monthAndDate":l={month:"long",day:"numeric"};break;case"monthAndYear":l={month:"long",year:"numeric"};break;case"month":l={month:"long"};break;case"monthShort":l={month:"short"};break;case"dayOfMonth":l={day:"numeric"};break;case"shortDate":l={year:"2-digit",month:"numeric",day:"numeric"};break;case"weekdayShort":l={weekday:"short"};break;case"year":l={year:"numeric"};break;default:l=o??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,l).format(i)}function WM(e,t){const n=e.toJsDate(t),r=n.getFullYear(),i=Q1(String(n.getMonth()+1),2,"0"),o=Q1(String(n.getDate()),2,"0");return`${r}-${i}-${o}`}function GM(e){const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)}function jM(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function KM(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function qM(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function YM(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function ZM(e,t){const n=new Date(e);return n.setMonth(n.getMonth()+t),n}function XM(e){return e.getFullYear()}function JM(e){return e.getMonth()}function QM(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function eF(e){return e.getHours()}function tF(e){return e.getMinutes()}function nF(e){return new Date(e.getFullYear(),0,1)}function rF(e){return new Date(e.getFullYear(),11,31)}function sF(e,t){return bh(e,t[0])&&oF(e,t[1])}function iF(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function bh(e,t){return e.getTime()>t.getTime()}function oF(e,t){return e.getTime()<t.getTime()}function Sy(e,t){return e.getTime()===t.getTime()}function aF(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function lF(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function uF(e,t,n){const r=new Date(e),i=new Date(t);return n==="month"?r.getMonth()-i.getMonth()+(r.getFullYear()-i.getFullYear())*12:Math.floor((r.getTime()-i.getTime())/(1e3*60*60*24))}function cF(e,t){const n=new Date(e);return n.setHours(t),n}function fF(e,t){const n=new Date(e);return n.setMinutes(t),n}function dF(e,t){const n=new Date(e);return n.setMonth(t),n}function hF(e,t){const n=new Date(e);return n.setFullYear(t),n}function mF(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function vF(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}class gF{constructor(t){this.locale=t.locale,this.formats=t.formats}date(t){return Z_(t)}toJsDate(t){return t}toISO(t){return WM(this,t)}parseISO(t){return GM(t)}addMinutes(t,n){return jM(t,n)}addHours(t,n){return KM(t,n)}addDays(t,n){return qM(t,n)}addWeeks(t,n){return YM(t,n)}addMonths(t,n){return ZM(t,n)}getWeekArray(t){return FM(t,this.locale)}startOfWeek(t){return BM(t)}endOfWeek(t){return $M(t)}startOfMonth(t){return q_(t)}endOfMonth(t){return Y_(t)}format(t,n){return zM(t,n,this.locale,this.formats)}isEqual(t,n){return Sy(t,n)}isValid(t){return iF(t)}isWithinRange(t,n){return sF(t,n)}isAfter(t,n){return bh(t,n)}isBefore(t,n){return!bh(t,n)&&!Sy(t,n)}isSameDay(t,n){return aF(t,n)}isSameMonth(t,n){return lF(t,n)}setMinutes(t,n){return fF(t,n)}setHours(t,n){return cF(t,n)}setMonth(t,n){return dF(t,n)}setYear(t,n){return hF(t,n)}getDiff(t,n,r){return uF(t,n,r)}getWeekdays(){return UM(this.locale)}getYear(t){return XM(t)}getMonth(t){return JM(t)}getNextMonth(t){return QM(t)}getHours(t){return eF(t)}getMinutes(t){return tF(t)}startOfDay(t){return mF(t)}endOfDay(t){return vF(t)}startOfYear(t){return nF(t)}endOfYear(t){return rF(t)}}const H7=Symbol.for("vuetify:date-options"),N7=Symbol.for("vuetify:date-adapter");function U7(e,t){const n=Tr({adapter:gF,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},e);return{options:n,instance:pF(n,t)}}function pF(e,t){const n=dn(typeof e.adapter=="function"?new e.adapter({locale:e.locale[t.current.value]??t.current.value,formats:e.formats}):e.adapter);return $e(t.current,r=>{n.locale=e.locale[r]??r??n.locale}),n}const yF=Symbol.for("vuetify:display"),Cy={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},bF=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Cy;return Tr(Cy,e)};function xy(e){return Lt&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function Ay(e){return Lt&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function Ey(e){const t=Lt&&!e?window.navigator.userAgent:"ssr";function n(b){return!!t.match(b)}const r=n(/android/i),i=n(/iphone|ipad|ipod/i),o=n(/cordova/i),l=n(/electron/i),u=n(/chrome/i),f=n(/edge/i),d=n(/firefox/i),h=n(/opera/i),m=n(/win/i),v=n(/mac/i),y=n(/linux/i);return{android:r,ios:i,cordova:o,electron:l,chrome:u,edge:f,firefox:d,opera:h,win:m,mac:v,linux:y,touch:MD,ssr:t==="ssr"}}function z7(e,t){const{thresholds:n,mobileBreakpoint:r}=bF(e),i=Ve(Ay(t)),o=Ve(Ey(t)),l=dn({}),u=Ve(xy(t));function f(){i.value=Ay(),u.value=xy()}function d(){f(),o.value=Ey()}return Nn(()=>{const h=u.value<n.sm,m=u.value<n.md&&!h,v=u.value<n.lg&&!(m||h),y=u.value<n.xl&&!(v||m||h),b=u.value<n.xxl&&!(y||v||m||h),w=u.value>=n.xxl,x=h?"xs":m?"sm":v?"md":y?"lg":b?"xl":"xxl",T=typeof r=="number"?r:n[r],P=u.value<T;l.xs=h,l.sm=m,l.md=v,l.lg=y,l.xl=b,l.xxl=w,l.smAndUp=!h,l.mdAndUp=!(h||m),l.lgAndUp=!(h||m||v),l.xlAndUp=!(h||m||v||y),l.smAndDown=!(v||y||b||w),l.mdAndDown=!(y||b||w),l.lgAndDown=!(b||w),l.xlAndDown=!w,l.name=x,l.height=i.value,l.width=u.value,l.mobile=P,l.mobileBreakpoint=r,l.platform=o.value,l.thresholds=n}),Lt&&window.addEventListener("resize",f,{passive:!0}),{...Ka(l),update:d,ssr:!!t}}const X_=oe({mobileBreakpoint:[Number,String]},"display");function sl(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts();const n=lt(yF);if(!n)throw new Error("Could not find Vuetify display injection");const r=R(()=>{if(!e.mobileBreakpoint)return n.mobile.value;const o=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:n.thresholds.value[e.mobileBreakpoint];return n.width.value<o}),i=R(()=>t?{[`${t}--mobile`]:r.value}:{});return{...n,displayClasses:i,mobile:r}}const _F={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",eyeDropper:"mdi-eyedropper"},wF={component:e=>Ps(Q_,{...e,class:"mdi"})},vt=[String,Function,Object,Array],SF=Symbol.for("vuetify:icons"),Rc=oe({icon:{type:vt},tag:{type:String,required:!0}},"icon"),Py=Ie()({name:"VComponentIcon",props:Rc(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return p(e.tag,null,{default:()=>{var i;return[e.icon?p(r,null,null):(i=n.default)==null?void 0:i.call(n)]}})}}}),J_=rl({name:"VSvgIcon",inheritAttrs:!1,props:Rc(),setup(e,t){let{attrs:n}=t;return()=>p(e.tag,Ae(n,{style:null}),{default:()=>[p("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?p("path",{d:r[0],"fill-opacity":r[1]},null):p("path",{d:r},null)):p("path",{d:e.icon},null)])]})}});rl({name:"VLigatureIcon",props:Rc(),setup(e){return()=>p(e.tag,null,{default:()=>[e.icon]})}});const Q_=rl({name:"VClassIcon",props:Rc(),setup(e){return()=>p(e.tag,{class:e.icon},null)}}),CF={svg:{component:J_},class:{component:Q_}};function W7(e){return Tr({defaultSet:"mdi",sets:{...CF,mdi:wF},aliases:{..._F,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},e)}const xF=e=>{const t=lt(SF);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:R(()=>{var f;const r=jt(e);if(!r)return{component:Py};let i=r;if(typeof i=="string"&&(i=i.trim(),i.startsWith("$")&&(i=(f=t.aliases)==null?void 0:f[i.slice(1)])),!i)throw new Error(`Could not find aliased icon "${r}"`);if(Array.isArray(i))return{component:J_,icon:i};if(typeof i!="string")return{component:Py,icon:i};const o=Object.keys(t.sets).find(d=>typeof i=="string"&&i.startsWith(`${d}:`)),l=o?i.slice(o.length+1):i;return{component:t.sets[o??t.defaultSet].component,icon:l}})}};var G7="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",j7="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z",K7="M13.04 10C12.64 10.25 12.26 10.55 11.9 10.9C11.57 11.24 11.27 11.61 11.03 12H8V10.5C8 10.22 8.22 10 8.5 10H13.04M20 8H2V2H20V8M18 4H4V6H18V4M5 18V9H3V20H11.82C11.24 19.4 10.8 18.72 10.5 18H5M23.39 21L22 22.39L18.88 19.32C18.19 19.75 17.37 20 16.5 20C14 20 12 18 12 15.5S14 11 16.5 11 21 13 21 15.5C21 16.38 20.75 17.21 20.31 17.9L23.39 21M19 15.5C19 14.12 17.88 13 16.5 13S14 14.12 14 15.5 15.12 18 16.5 18 19 16.88 19 15.5Z",q7="M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",AF="M18 4V20C18 21.11 17.11 22 16 22H4C2.9 22 2 21.11 2 20V4C2 2.9 2.9 2 4 2H5V9L7.5 7.5L10 9V2H16C17.1 2 18 2.89 18 4M20 17H22V15H20V17M20 7V13H22V7H20Z",EF="M13 19C13 20.1 13.3 21.12 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H7V9L9.5 7.5L12 9V2H18C19.1 2 20 2.89 20 4V13.09C19.67 13.04 19.34 13 19 13C15.69 13 13 15.69 13 19M20 20V16H18V20H16L19 23L22 20H20Z",PF="M13 19C13 20.1 13.3 21.12 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H7V9L9.5 7.5L12 9V2H18C19.1 2 20 2.89 20 4V13.09C19.67 13.04 19.34 13 19 13C15.69 13 13 15.69 13 19M19 15L16 18H18V22H20V18H22L19 15Z",Y7="M19,18H9A2,2 0 0,1 7,16V4A2,2 0 0,1 9,2H10V7L12,5.5L14,7V2H19A2,2 0 0,1 21,4V16A2,2 0 0,1 19,18M17,20V22H5A2,2 0 0,1 3,20V6H5V20H17Z",kF="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",Z7="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",X7="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",J7="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",Q7="M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M10,18L16,12L10,6L8.6,7.4L13.2,12L8.6,16.6L10,18Z",ew="M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7M7.5,13.5L9,12L11,14L15.5,9.5L17,11L11,17L7.5,13.5Z",tw="M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7Z",TF="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",eN="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",tN="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z",nN="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z",RF="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",IF="M9.1 19.7L8.8 19L9 18.6C7.1 18.1 6 17.3 6 17V14.8C7.3 15.4 8.8 15.8 10.6 16C11.3 15.2 12.2 14.5 13.1 14H12C9.6 14 7.3 13.4 6 12.5V9.6C7.5 10.4 9.6 11 12 11S16.5 10.5 18 9.6V12.4C17.7 12.6 17.4 12.8 17 13C18 13 19 13.2 20 13.6V7C20 4.8 16.4 3 12 3S4 4.8 4 7V17C4 18.8 6.4 20.3 9.7 20.8C9.5 20.5 9.3 20.1 9.1 19.7M12 5C15.9 5 18 6.5 18 7S15.9 9 12 9 6 7.5 6 7 8.1 5 12 5M17 18C17.6 18 18 18.4 18 19S17.6 20 17 20 16 19.6 16 19 16.4 18 17 18M17 15C14.3 15 11.9 16.7 11 19C11.9 21.3 14.3 23 17 23S22.1 21.3 23 19C22.1 16.7 19.7 15 17 15M17 21.5C15.6 21.5 14.5 20.4 14.5 19S15.6 16.5 17 16.5 19.5 17.6 19.5 19 18.4 21.5 17 21.5Z",VF="M12 16C12.41 16 12.81 15.97 13.21 15.94C13.4 15.18 13.72 14.46 14.16 13.83C13.47 13.94 12.74 14 12 14C9.58 14 7.3 13.4 6 12.45V9.64C7.47 10.47 9.61 11 12 11S16.53 10.47 18 9.64V11.19C18.5 11.07 19 11 19.55 11C19.7 11 19.85 11 20 11.03V7C20 4.79 16.42 3 12 3S4 4.79 4 7V17C4 19.21 7.59 21 12 21C12.66 21 13.31 20.96 13.92 20.88C13.57 20.29 13.31 19.64 13.16 18.94C12.79 19 12.41 19 12 19C8.13 19 6 17.5 6 17V14.77C7.61 15.55 9.72 16 12 16M12 5C15.87 5 18 6.5 18 7S15.87 9 12 9 6 7.5 6 7 8.13 5 12 5M23 17.5C23 18.32 22.75 19.08 22.33 19.71L21.24 18.62C21.41 18.28 21.5 17.9 21.5 17.5C21.5 16.12 20.38 15 19 15V16.5L16.75 14.25L19 12V13.5C21.21 13.5 23 15.29 23 17.5M19 18.5L21.25 20.75L19 23V21.5C16.79 21.5 15 19.71 15 17.5C15 16.68 15.25 15.92 15.67 15.29L16.76 16.38C16.59 16.72 16.5 17.1 16.5 17.5C16.5 18.88 17.62 20 19 20V18.5Z",rN="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",sN="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",iN="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z",oN="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z",aN="M12 1A2.5 2.5 0 0 0 9.5 3.5A2.5 2.5 0 0 0 11 5.79V7H7A2 2 0 0 0 5 9V9.71A2.5 2.5 0 0 0 3.5 12A2.5 2.5 0 0 0 5 14.29V15H4A2 2 0 0 0 2 17V18.21A2.5 2.5 0 0 0 .5 20.5A2.5 2.5 0 0 0 3 23A2.5 2.5 0 0 0 5.5 20.5A2.5 2.5 0 0 0 4 18.21V17H8V18.21A2.5 2.5 0 0 0 6.5 20.5A2.5 2.5 0 0 0 9 23A2.5 2.5 0 0 0 11.5 20.5A2.5 2.5 0 0 0 10 18.21V17A2 2 0 0 0 8 15H7V14.29A2.5 2.5 0 0 0 8.5 12A2.5 2.5 0 0 0 7 9.71V9H17V9.71A2.5 2.5 0 0 0 15.5 12A2.5 2.5 0 0 0 17 14.29V15H16A2 2 0 0 0 14 17V18.21A2.5 2.5 0 0 0 12.5 20.5A2.5 2.5 0 0 0 15 23A2.5 2.5 0 0 0 17.5 20.5A2.5 2.5 0 0 0 16 18.21V17H20V18.21A2.5 2.5 0 0 0 18.5 20.5A2.5 2.5 0 0 0 21 23A2.5 2.5 0 0 0 23.5 20.5A2.5 2.5 0 0 0 22 18.21V17A2 2 0 0 0 20 15H19V14.29A2.5 2.5 0 0 0 20.5 12A2.5 2.5 0 0 0 19 9.71V9A2 2 0 0 0 17 7H13V5.79A2.5 2.5 0 0 0 14.5 3.5A2.5 2.5 0 0 0 12 1M12 2.5A1 1 0 0 1 13 3.5A1 1 0 0 1 12 4.5A1 1 0 0 1 11 3.5A1 1 0 0 1 12 2.5M6 11A1 1 0 0 1 7 12A1 1 0 0 1 6 13A1 1 0 0 1 5 12A1 1 0 0 1 6 11M18 11A1 1 0 0 1 19 12A1 1 0 0 1 18 13A1 1 0 0 1 17 12A1 1 0 0 1 18 11M3 19.5A1 1 0 0 1 4 20.5A1 1 0 0 1 3 21.5A1 1 0 0 1 2 20.5A1 1 0 0 1 3 19.5M9 19.5A1 1 0 0 1 10 20.5A1 1 0 0 1 9 21.5A1 1 0 0 1 8 20.5A1 1 0 0 1 9 19.5M15 19.5A1 1 0 0 1 16 20.5A1 1 0 0 1 15 21.5A1 1 0 0 1 14 20.5A1 1 0 0 1 15 19.5M21 19.5A1 1 0 0 1 22 20.5A1 1 0 0 1 21 21.5A1 1 0 0 1 20 20.5A1 1 0 0 1 21 19.5Z",lN="M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M6,20H15L18,20V12L14,16L12,14L6,20M8,9A2,2 0 0,0 6,11A2,2 0 0,0 8,13A2,2 0 0,0 10,11A2,2 0 0,0 8,9Z",uN="M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z",cN="M3.47 5C3.25 5 3.04 5.08 2.87 5.21C2.43 5.55 2.35 6.18 2.69 6.61L2.69 6.62L7 12.14V18.05L10.64 21.71C11 22.1 11.66 22.1 12.05 21.71L12.05 21.71C12.44 21.32 12.44 20.69 12.06 20.3L9 17.22V11.45L4.27 5.39C4.08 5.14 3.78 5 3.47 5M21.62 3.22C21.43 3.08 21.22 3 21 3H7C6.78 3 6.57 3.08 6.38 3.22C5.95 3.56 5.87 4.19 6.21 4.62L11 10.75V15.87C10.96 16.16 11.06 16.47 11.29 16.7L15.3 20.71C15.69 21.1 16.32 21.1 16.71 20.71C16.94 20.5 17.04 20.18 17 19.88V10.75L21.79 4.62C22.13 4.19 22.05 3.56 21.62 3.22M15 10.05V17.58L13 15.58V10.06L9.04 5H18.96L15 10.05Z",fN="M20,18H4V8H20M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z",dN="M8,11H11V21H13V11H16L12,7L8,11M4,3V5H20V3H4Z",hN="M4,5A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5H4M4,7H20V17H4V7M5,8V10H7V8H5M8,8V10H10V8H8M11,8V10H13V8H11M14,8V10H16V8H14M17,8V10H19V8H17M5,11V13H7V11H5M8,11V13H10V11H8M11,11V13H13V11H11M14,11V13H16V11H14M17,11V13H19V11H17M8,14V16H16V14H8Z",mN="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z",vN="M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",LF="M6 20V10H18V13.09C18.33 13.04 18.66 13 19 13C19.34 13 19.67 13.04 20 13.09V10C20 8.9 19.11 8 18 8H17V6C17 3.24 14.76 1 12 1S7 3.24 7 6V8H6C4.89 8 4 8.89 4 10V20C4 21.1 4.89 22 6 22H13.81C13.46 21.39 13.22 20.72 13.09 20H6M9 6C9 4.34 10.34 3 12 3S15 4.34 15 6V8H9V6M14 15C14 16.11 13.11 17 12 17C10.89 17 10 16.1 10 15C10 13.89 10.89 13 12 13C13.11 13 14 13.9 14 15M23 18V20H20V23H18V20H15V18H18V15H20V18H23Z",OF="M12.63,2C18.16,2 22.64,6.5 22.64,12C22.64,17.5 18.16,22 12.63,22C9.12,22 6.05,20.18 4.26,17.43L5.84,16.18C7.25,18.47 9.76,20 12.64,20A8,8 0 0,0 20.64,12A8,8 0 0,0 12.64,4C8.56,4 5.2,7.06 4.71,11H7.47L3.73,14.73L0,11H2.69C3.19,5.95 7.45,2 12.63,2M15.59,10.24C16.09,10.25 16.5,10.65 16.5,11.16V15.77C16.5,16.27 16.09,16.69 15.58,16.69H10.05C9.54,16.69 9.13,16.27 9.13,15.77V11.16C9.13,10.65 9.54,10.25 10.04,10.24V9.23C10.04,7.7 11.29,6.46 12.81,6.46C14.34,6.46 15.59,7.7 15.59,9.23V10.24M12.81,7.86C12.06,7.86 11.44,8.47 11.44,9.23V10.24H14.19V9.23C14.19,8.47 13.57,7.86 12.81,7.86Z",DF="M11 7L9.6 8.4L12.2 11H2V13H12.2L9.6 15.6L11 17L16 12L11 7M20 19H12V21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3H12V5H20V19Z",MF="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",gN="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",FF="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",pN="M14,7L9,12L14,17V7Z",yN="M10,17L15,12L10,7V17Z",Ic="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",BF="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",bN="M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z",nw="M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z",_N="M3 11H15V13H3M3 18V16H21V18M3 6H9V8H3Z",wN="M3,13H15V11H3M3,6V8H21V6M3,18H9V16H3V18Z",$F="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M12.75,13.5C15.5,13.5 16.24,11.47 16.43,10.4C17.34,10.11 18,9.26 18,8.25C18,7 17,6 15.75,6C14.5,6 13.5,7 13.5,8.25C13.5,9.19 14.07,10 14.89,10.33C14.67,11 14,12 12,12C10.62,12 9.66,12.35 9,12.84V8.87C9.87,8.56 10.5,7.73 10.5,6.75C10.5,5.5 9.5,4.5 8.25,4.5C7,4.5 6,5.5 6,6.75C6,7.73 6.63,8.56 7.5,8.87V15.13C6.63,15.44 6,16.27 6,17.25C6,18.5 7,19.5 8.25,19.5C9.5,19.5 10.5,18.5 10.5,17.25C10.5,16.32 9.94,15.5 9.13,15.18C9.41,14.5 10.23,13.5 12.75,13.5M8.25,16.5A0.75,0.75 0 0,1 9,17.25A0.75,0.75 0 0,1 8.25,18A0.75,0.75 0 0,1 7.5,17.25A0.75,0.75 0 0,1 8.25,16.5M8.25,6A0.75,0.75 0 0,1 9,6.75A0.75,0.75 0 0,1 8.25,7.5A0.75,0.75 0 0,1 7.5,6.75A0.75,0.75 0 0,1 8.25,6M15.75,7.5A0.75,0.75 0 0,1 16.5,8.25A0.75,0.75 0 0,1 15.75,9A0.75,0.75 0 0,1 15,8.25A0.75,0.75 0 0,1 15.75,7.5Z",SN="M21.41 11.58L12.41 2.58A2 2 0 0 0 11 2H4A2 2 0 0 0 2 4V11A2 2 0 0 0 2.59 12.42L11.59 21.42A2 2 0 0 0 13 22A2 2 0 0 0 14.41 21.41L21.41 14.41A2 2 0 0 0 22 13A2 2 0 0 0 21.41 11.58M13 20L4 11V4H11L20 13M6.5 5A1.5 1.5 0 1 1 5 6.5A1.5 1.5 0 0 1 6.5 5Z",HF="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z";const Ts=oe({border:[Boolean,Number,String]},"border");function li(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts();return{borderClasses:R(()=>{const r=Ot(e)?e.value:e.border,i=[];if(r===!0||r==="")i.push(`${t}--border`);else if(typeof r=="string"||r===0)for(const o of String(r).split(" "))i.push(`border-${o}`);return i})}}function Im(e){return Am(()=>{const t=[],n={};if(e.value.background)if(ph(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text&&hM(e.value.background)){const r=qr(e.value.background);if(r.a==null||r.a===1){const i=M_(r);n.color=i,n.caretColor=i}}}else t.push(`bg-${e.value.background}`);return e.value.text&&(ph(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function Mr(e,t){const n=R(()=>({text:Ot(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:i}=Im(n);return{textColorClasses:r,textColorStyles:i}}function Un(e,t){const n=R(()=>({background:Ot(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:i}=Im(n);return{backgroundColorClasses:r,backgroundColorStyles:i}}const rs=oe({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Rs(e){return{elevationClasses:R(()=>{const n=Ot(e)?e.value:e.elevation,r=[];return n==null||r.push(`elevation-${n}`),r})}}const ir=oe({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function _r(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts();return{roundedClasses:R(()=>{const r=Ot(e)?e.value:e.rounded,i=[];if(r===!0||r==="")i.push(`${t}--rounded`);else if(typeof r=="string"||r===0)for(const o of String(r).split(" "))i.push(`rounded-${o}`);return i})}}const Ut=oe({tag:{type:String,default:"div"}},"tag"),NF=oe({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Ts(),...nt(),...rs(),...U_(),...ir(),...Ut({tag:"footer"}),...Kt()},"VFooter"),rw=Ie()({name:"VFooter",props:NF(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=tn(e),{backgroundColorClasses:i,backgroundColorStyles:o}=Un(_e(e,"color")),{borderClasses:l}=li(e),{elevationClasses:u}=Rs(e),{roundedClasses:f}=_r(e),d=Ve(32),{resizeRef:h}=si(y=>{y.length&&(d.value=y[0].target.clientHeight)}),m=R(()=>e.height==="auto"?d.value:parseInt(e.height,10)),{layoutItemStyles:v}=z_({id:e.name,order:R(()=>parseInt(e.order,10)),position:R(()=>"bottom"),layoutSize:m,elementSize:R(()=>e.height==="auto"?void 0:m.value),active:R(()=>e.app),absolute:_e(e,"absolute")});return Ge(()=>p(e.tag,{ref:h,class:["v-footer",r.value,i.value,l.value,u.value,f.value,e.class],style:[o.value,e.app?v.value:{height:Be(e.height)},e.style]},n)),{}}}),UF={name:"VersionFooter",data(){return{mdiOpenInNew:Ic,mdiContentCopy:RF}},computed:{...kt(Rt,{versions:e=>e.versions}),...Bo(bn,["isUserAdmin"]),outdated:function(){return this.isUserAdmin&&this.semverGreaterThan(this.versions.latest>this.versions.installed)},versionTitle:function(){return this.outdated?`v${this.versions.latest} is available`:"up to date"}},created(){this.loadVersions()},methods:{...Xt(Rt,["loadVersions"]),semverGreaterThan(e,t){try{if(!e||!t)return!1;const n=e.split("."),r=t.split(".");for(const[i,o]of n.entries())if(+o>+r[i])return!0}catch(n){console.debug("compare codex versions",e,">",t,n)}return!1}}},zF={id:"version"},WF={key:0,id:"latest"};function GF(e,t,n,r,i,o){return ie(),Ze(rw,{id:"version-footer",title:o.versionTitle},{default:le(()=>[H("div",zF,"codex v"+Te(e.versions.installed),1),o.outdated?(ie(),We("div",WF," codex v"+Te(e.versions.latest)+" is available ",1)):xt("",!0)]),_:1},8,["title"])}const sw=ct(UF,[["render",GF],["__scopeId","data-v-cd481730"]]),iw=function(e,t){navigator.clipboard.writeText(e).then(()=>(t.show=!0,setTimeout(()=>{t.show=!1},5e3),!0)).catch(console.warn)},jF=["x-small","small","default","large","x-large"],Ho=oe({size:{type:[String,Number],default:"default"}},"size");function il(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts();return Am(()=>{let n,r;return Gu(jF,e.size)?n=`${t}--size-${e.size}`:e.size&&(r={width:Be(e.size),height:Be(e.size)}),{sizeClasses:n,sizeStyles:r}})}const KF=oe({color:String,start:Boolean,end:Boolean,icon:vt,...nt(),...Ho(),...Ut({tag:"i"}),...Kt()},"VIcon"),ut=Ie()({name:"VIcon",props:KF(),setup(e,t){let{attrs:n,slots:r}=t;const i=Pe(),{themeClasses:o}=tn(e),{iconData:l}=xF(R(()=>i.value||e.icon)),{sizeClasses:u}=il(e),{textColorClasses:f,textColorStyles:d}=Mr(_e(e,"color"));return Ge(()=>{var m,v;const h=(m=r.default)==null?void 0:m.call(r);return h&&(i.value=(v=P_(h).filter(y=>y.type===ni&&y.children&&typeof y.children=="string")[0])==null?void 0:v.children),p(l.value.component,{tag:e.tag,icon:l.value.icon,class:["v-icon","notranslate",o.value,u.value,f.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[u.value?void 0:{fontSize:Be(e.size),height:Be(e.size),width:Be(e.size)},d.value,e.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[h]})}),{}}}),qF=oe({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function or(e,t,n){return Ie()({name:e,props:qF({mode:n,origin:t}),setup(r,i){let{slots:o}=i;const l={onBeforeEnter(u){r.origin&&(u.style.transformOrigin=r.origin)},onLeave(u){if(r.leaveAbsolute){const{offsetTop:f,offsetLeft:d,offsetWidth:h,offsetHeight:m}=u;u._transitionInitialStyles={position:u.style.position,top:u.style.top,left:u.style.left,width:u.style.width,height:u.style.height},u.style.position="absolute",u.style.top=`${f}px`,u.style.left=`${d}px`,u.style.width=`${h}px`,u.style.height=`${m}px`}r.hideOnLeave&&u.style.setProperty("display","none","important")},onAfterLeave(u){if(r.leaveAbsolute&&(u!=null&&u._transitionInitialStyles)){const{position:f,top:d,left:h,width:m,height:v}=u._transitionInitialStyles;delete u._transitionInitialStyles,u.style.position=f||"",u.style.top=d||"",u.style.left=h||"",u.style.width=m||"",u.style.height=v||""}}};return()=>{const u=r.group?x0:Or;return Ps(u,{name:r.disabled?"":e,css:!r.disabled,...r.group?void 0:{mode:r.mode},...r.disabled?{}:l},o.default)}}})}function ow(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ie()({name:e,props:{mode:{type:String,default:n},disabled:Boolean},setup(r,i){let{slots:o}=i;return()=>Ps(Or,{name:r.disabled?"":e,css:!r.disabled,...r.disabled?{}:t},o.default)}})}function aw(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",r=mn(`offset-${n}`);return{onBeforeEnter(l){l._parent=l.parentNode,l._initialStyle={transition:l.style.transition,overflow:l.style.overflow,[n]:l.style[n]}},onEnter(l){const u=l._initialStyle;l.style.setProperty("transition","none","important"),l.style.overflow="hidden";const f=`${l[r]}px`;l.style[n]="0",l.offsetHeight,l.style.transition=u.transition,e&&l._parent&&l._parent.classList.add(e),requestAnimationFrame(()=>{l.style[n]=f})},onAfterEnter:o,onEnterCancelled:o,onLeave(l){l._initialStyle={transition:"",overflow:l.style.overflow,[n]:l.style[n]},l.style.overflow="hidden",l.style[n]=`${l[r]}px`,l.offsetHeight,requestAnimationFrame(()=>l.style[n]="0")},onAfterLeave:i,onLeaveCancelled:i};function i(l){e&&l._parent&&l._parent.classList.remove(e),o(l)}function o(l){const u=l._initialStyle[n];l.style.overflow=l._initialStyle.overflow,u!=null&&(l.style[n]=u),delete l._initialStyle}}const YF=oe({target:[Object,Array]},"v-dialog-transition"),Vm=Ie()({name:"VDialogTransition",props:YF(),setup(e,t){let{slots:n}=t;const r={onBeforeEnter(i){i.style.pointerEvents="none",i.style.visibility="hidden"},async onEnter(i,o){var v;await new Promise(y=>requestAnimationFrame(y)),await new Promise(y=>requestAnimationFrame(y)),i.style.visibility="";const{x:l,y:u,sx:f,sy:d,speed:h}=Ty(e.target,i),m=Pi(i,[{transform:`translate(${l}px, ${u}px) scale(${f}, ${d})`,opacity:0},{}],{duration:225*h,easing:xM});(v=ky(i))==null||v.forEach(y=>{Pi(y,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*h,easing:$a})}),m.finished.then(()=>o())},onAfterEnter(i){i.style.removeProperty("pointer-events")},onBeforeLeave(i){i.style.pointerEvents="none"},async onLeave(i,o){var v;await new Promise(y=>requestAnimationFrame(y));const{x:l,y:u,sx:f,sy:d,speed:h}=Ty(e.target,i);Pi(i,[{},{transform:`translate(${l}px, ${u}px) scale(${f}, ${d})`,opacity:0}],{duration:125*h,easing:AM}).finished.then(()=>o()),(v=ky(i))==null||v.forEach(y=>{Pi(y,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*h,easing:$a})})},onAfterLeave(i){i.style.removeProperty("pointer-events")}};return()=>e.target?p(Or,Ae({name:"dialog-transition"},r,{css:!1}),n):p(Or,{name:"dialog-transition"},n)}});function ky(e){var n;const t=(n=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return t&&[...t]}function Ty(e,t){const n=I_(e),r=Pm(t),[i,o]=getComputedStyle(t).transformOrigin.split(" ").map(T=>parseFloat(T)),[l,u]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let f=n.left+n.width/2;l==="left"||u==="left"?f-=n.width/2:(l==="right"||u==="right")&&(f+=n.width/2);let d=n.top+n.height/2;l==="top"||u==="top"?d-=n.height/2:(l==="bottom"||u==="bottom")&&(d+=n.height/2);const h=n.width/r.width,m=n.height/r.height,v=Math.max(1,h,m),y=h/v||0,b=m/v||0,w=r.width*r.height/(window.innerWidth*window.innerHeight),x=w>.12?Math.min(1.5,(w-.12)*10+1):1;return{x:f-(i+r.left),y:d-(o+r.top),sx:y,sy:b,speed:x}}or("fab-transition","center center","out-in");or("dialog-bottom-transition");or("dialog-top-transition");const Ju=or("fade-transition"),ZF=or("scale-transition");or("scroll-x-transition");or("scroll-x-reverse-transition");or("scroll-y-transition");or("scroll-y-reverse-transition");const CN=or("slide-x-transition"),xN=or("slide-x-reverse-transition"),lw=or("slide-y-transition"),AN=or("slide-y-reverse-transition"),ol=ow("expand-transition",aw()),uw=ow("expand-x-transition",aw("",!0)),XF={name:"OPDSUrl",props:{title:{type:String,required:!0},subtitle:{type:String,default:void 0},url:{type:String,required:!0}},data(){return{mdiRss:nw,showTooltip:{show:!1}}},computed:{clipBoardEnabled(){return location.protocol=="https:"},clipBoardIcon(){return this.showTooltip.show?ew:tw},tooltip(){return this.clipBoardEnabled}},methods:{onClickURL(){this.clipBoardEnabled&&iw(this.url,this.showTooltip)}}},JF=["title"],QF={key:0},eB={class:"copied"},tB={key:0,class:"subtitle"},nB={class:"opdsUrl"};function rB(e,t,n,r,i,o){return ie(),We("div",{class:"opdsVersion",title:o.tooltip,onClick:t[0]||(t[0]=(...l)=>o.onClickURL&&o.onClickURL(...l))},[H("h3",null,[De(Te(n.title)+" ",1),o.clipBoardEnabled?(ie(),We("span",QF,[p(ut,{class:"clipBoardIcon",size:"small"},{default:le(()=>[De(Te(o.clipBoardIcon),1)]),_:1}),p(Ju,null,{default:le(()=>[on(H("span",eB,"Copied",512),[[yr,i.showTooltip.show]])]),_:1})])):xt("",!0)]),n.subtitle?(ie(),We("div",tB,Te(n.subtitle),1)):xt("",!0),H("div",nB,Te(n.url),1)],8,JF)}const sB=ct(XF,[["render",rB],["__scopeId","data-v-7c7d7ea4"]]),iB=[null,"default","comfortable","compact"],Hr=oe({density:{type:String,default:"default",validator:e=>iB.includes(e)}},"density");function ss(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts();return{densityClasses:R(()=>`${t}--density-${e.density}`)}}const oB=["elevated","flat","tonal","outlined","text","plain"];function Vc(e,t){return p(He,null,[e&&p("span",{key:"overlay",class:`${t}__overlay`},null),p("span",{key:"underlay",class:`${t}__underlay`},null)])}const Is=oe({color:String,variant:{type:String,default:"elevated",validator:e=>oB.includes(e)}},"variant");function Lc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts();const n=R(()=>{const{variant:o}=jt(e);return`${t}--variant-${o}`}),{colorClasses:r,colorStyles:i}=Im(R(()=>{const{variant:o,color:l}=jt(e);return{[["elevated","flat"].includes(o)?"background":"text"]:l}}));return{colorClasses:r,colorStyles:i,variantClasses:n}}const cw=oe({divided:Boolean,...Ts(),...nt(),...Hr(),...rs(),...ir(),...Ut(),...Kt(),...Is()},"VBtnGroup"),Ry=Ie()({name:"VBtnGroup",props:cw(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=tn(e),{densityClasses:i}=ss(e),{borderClasses:o}=li(e),{elevationClasses:l}=Rs(e),{roundedClasses:u}=_r(e);In({VBtn:{height:"auto",color:_e(e,"color"),density:_e(e,"density"),flat:!0,variant:_e(e,"variant")}}),Ge(()=>p(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},r.value,o.value,i.value,l.value,u.value,e.class],style:e.style},n))}}),Oc=oe({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Dc=oe({value:null,disabled:Boolean,selectedClass:String},"group-item");function Mc(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const r=en("useGroupItem");if(!r)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const i=sr();Et(Symbol.for(`${t.description}:id`),i);const o=lt(t,null);if(!o){if(!n)return o;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const l=_e(e,"value"),u=R(()=>!!(o.disabled.value||e.disabled));o.register({id:i,value:l,disabled:u},r),wn(()=>{o.unregister(i)});const f=R(()=>o.isSelected(i)),d=R(()=>f.value&&[o.selectedClass.value,e.selectedClass]);return $e(f,h=>{r.emit("group:selected",{value:h})}),{id:i,isSelected:f,toggle:()=>o.select(i,!f.value),select:h=>o.select(i,h),selectedClass:d,value:l,disabled:u,group:o}}function al(e,t){let n=!1;const r=dn([]),i=pt(e,"modelValue",[],v=>v==null?[]:fw(r,Tn(v)),v=>{const y=lB(r,v);return e.multiple?y:y[0]}),o=en("useGroup");function l(v,y){const b=v,w=Symbol.for(`${t.description}:id`),T=Aa(w,o==null?void 0:o.vnode).indexOf(y);T>-1?r.splice(T,0,b):r.push(b)}function u(v){if(n)return;f();const y=r.findIndex(b=>b.id===v);r.splice(y,1)}function f(){const v=r.find(y=>!y.disabled);v&&e.mandatory==="force"&&!i.value.length&&(i.value=[v.id])}nr(()=>{f()}),wn(()=>{n=!0});function d(v,y){const b=r.find(w=>w.id===v);if(!(y&&(b!=null&&b.disabled)))if(e.multiple){const w=i.value.slice(),x=w.findIndex(P=>P===v),T=~x;if(y=y??!T,T&&e.mandatory&&w.length<=1||!T&&e.max!=null&&w.length+1>e.max)return;x<0&&y?w.push(v):x>=0&&!y&&w.splice(x,1),i.value=w}else{const w=i.value.includes(v);if(e.mandatory&&w)return;i.value=y??!w?[v]:[]}}function h(v){if(e.multiple,i.value.length){const y=i.value[0],b=r.findIndex(T=>T.id===y);let w=(b+v)%r.length,x=r[w];for(;x.disabled&&w!==b;)w=(w+v)%r.length,x=r[w];if(x.disabled)return;i.value=[r[w].id]}else{const y=r.find(b=>!b.disabled);y&&(i.value=[y.id])}}const m={register:l,unregister:u,selected:i,select:d,disabled:_e(e,"disabled"),prev:()=>h(r.length-1),next:()=>h(1),isSelected:v=>i.value.includes(v),selectedClass:R(()=>e.selectedClass),items:R(()=>r),getItemIndex:v=>aB(r,v)};return Et(t,m),m}function aB(e,t){const n=fw(e,[t]);return n.length?e.findIndex(r=>r.id===n[0]):-1}function fw(e,t){const n=[];return t.forEach(r=>{const i=e.find(l=>ai(r,l.value)),o=e[r];(i==null?void 0:i.value)!=null?n.push(i.id):o!=null&&n.push(o.id)}),n}function lB(e,t){const n=[];return t.forEach(r=>{const i=e.findIndex(o=>o.id===r);if(~i){const o=e[i];n.push(o.value!=null?o.value:i)}}),n}const dw=Symbol.for("vuetify:v-btn-toggle"),uB=oe({...cw(),...Oc()},"VBtnToggle");Ie()({name:"VBtnToggle",props:uB(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:r,next:i,prev:o,select:l,selected:u}=al(e,dw);return Ge(()=>{const f=Ry.filterProps(e);return p(Ry,Ae({class:["v-btn-toggle",e.class]},f,{style:e.style}),{default:()=>{var d;return[(d=n.default)==null?void 0:d.call(n,{isSelected:r,next:i,prev:o,select:l,selected:u})]}})}),{next:i,prev:o,select:l}}});const cB=oe({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),hn=Ie(!1)({name:"VDefaultsProvider",props:cB(),setup(e,t){let{slots:n}=t;const{defaults:r,disabled:i,reset:o,root:l,scoped:u}=Ka(e);return In(r,{reset:o,root:l,scoped:u,disabled:i}),()=>{var f;return(f=n.default)==null?void 0:f.call(n)}}});function hw(e,t){const n=Pe(),r=Ve(!1);if(xm){const i=new IntersectionObserver(o=>{e==null||e(o,i),r.value=!!o.find(l=>l.isIntersecting)},t);wn(()=>{i.disconnect()}),$e(n,(o,l)=>{l&&(i.unobserve(l),r.value=!1),o&&i.observe(o)},{flush:"post"})}return{intersectionRef:n,isIntersecting:r}}const fB=oe({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...nt(),...Ho(),...Ut({tag:"div"}),...Kt()},"VProgressCircular"),mw=Ie()({name:"VProgressCircular",props:fB(),setup(e,t){let{slots:n}=t;const r=20,i=2*Math.PI*r,o=Pe(),{themeClasses:l}=tn(e),{sizeClasses:u,sizeStyles:f}=il(e),{textColorClasses:d,textColorStyles:h}=Mr(_e(e,"color")),{textColorClasses:m,textColorStyles:v}=Mr(_e(e,"bgColor")),{intersectionRef:y,isIntersecting:b}=hw(),{resizeRef:w,contentRect:x}=si(),T=R(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),P=R(()=>Number(e.width)),C=R(()=>f.value?Number(e.size):x.value?x.value.width:Math.max(P.value,32)),E=R(()=>r/(1-P.value/C.value)*2),V=R(()=>P.value/C.value*E.value),k=R(()=>Be((100-T.value)/100*i));return Nn(()=>{y.value=o.value,w.value=o.value}),Ge(()=>p(e.tag,{ref:o,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":b.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},l.value,u.value,d.value,e.class],style:[f.value,h.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:T.value},{default:()=>[p("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${E.value} ${E.value}`},[p("circle",{class:["v-progress-circular__underlay",m.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":V.value,"stroke-dasharray":i,"stroke-dashoffset":0},null),p("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":V.value,"stroke-dasharray":i,"stroke-dashoffset":k.value},null)]),n.default&&p("div",{class:"v-progress-circular__content"},[n.default({value:T.value})])]})),{}}}),No=oe({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Uo(e){return{dimensionStyles:R(()=>({height:Be(e.height),maxHeight:Be(e.maxHeight),maxWidth:Be(e.maxWidth),minHeight:Be(e.minHeight),minWidth:Be(e.minWidth),width:Be(e.width)}))}}const Iy={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},vw=oe({location:String},"location");function gw(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:r}=ns();return{locationStyles:R(()=>{if(!e.location)return{};const{side:o,align:l}=vh(e.location.split(" ").length>1?e.location:`${e.location} center`,r.value);function u(d){return n?n(d):0}const f={};return o!=="center"&&(t?f[Iy[o]]=`calc(100% - ${u(o)}px)`:f[o]=0),l!=="center"?t?f[Iy[l]]=`calc(100% - ${u(l)}px)`:f[l]=0:(o==="center"?f.top=f.left="50%":f[{top:"left",bottom:"left",left:"top",right:"top"}[o]]="50%",f.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[o]),f})}}const dB=oe({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...nt(),...vw({location:"top"}),...ir(),...Ut(),...Kt()},"VProgressLinear"),hB=Ie()({name:"VProgressLinear",props:dB(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=pt(e,"modelValue"),{isRtl:i,rtlClasses:o}=ns(),{themeClasses:l}=tn(e),{locationStyles:u}=gw(e),{textColorClasses:f,textColorStyles:d}=Mr(e,"color"),{backgroundColorClasses:h,backgroundColorStyles:m}=Un(R(()=>e.bgColor||e.color)),{backgroundColorClasses:v,backgroundColorStyles:y}=Un(e,"color"),{roundedClasses:b}=_r(e),{intersectionRef:w,isIntersecting:x}=hw(),T=R(()=>parseInt(e.max,10)),P=R(()=>parseInt(e.height,10)),C=R(()=>parseFloat(e.bufferValue)/T.value*100),E=R(()=>parseFloat(r.value)/T.value*100),V=R(()=>i.value!==e.reverse),k=R(()=>e.indeterminate?"fade-transition":"slide-x-transition"),D=R(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function L(M){if(!w.value)return;const{left:B,right:j,width:z}=w.value.getBoundingClientRect(),K=V.value?z-M.clientX+(j-z):M.clientX-B;r.value=Math.round(K/z*T.value)}return Ge(()=>p(e.tag,{ref:w,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&x.value,"v-progress-linear--reverse":V.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},b.value,l.value,o.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?Be(P.value):0,"--v-progress-linear-height":Be(P.value),...u.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:E.value,onClick:e.clickable&&L},{default:()=>[e.stream&&p("div",{key:"stream",class:["v-progress-linear__stream",f.value],style:{...d.value,[V.value?"left":"right"]:Be(-P.value),borderTop:`${Be(P.value/2)} dotted`,opacity:D.value,top:`calc(50% - ${Be(P.value/4)})`,width:Be(100-C.value,"%"),"--v-progress-linear-stream-to":Be(P.value*(V.value?1:-1))}},null),p("div",{class:["v-progress-linear__background",h.value],style:[m.value,{opacity:D.value,width:Be(e.stream?C.value:100,"%")}]},null),p(Or,{name:k.value},{default:()=>[e.indeterminate?p("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(M=>p("div",{key:M,class:["v-progress-linear__indeterminate",M,v.value],style:y.value},null))]):p("div",{class:["v-progress-linear__determinate",v.value],style:[y.value,{width:Be(E.value,"%")}]},null)]}),n.default&&p("div",{class:"v-progress-linear__content"},[n.default({value:E.value,buffer:C.value})])]})),{}}}),Lm=oe({loading:[Boolean,String]},"loader");function Fc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts();return{loaderClasses:R(()=>({[`${t}--loading`]:e.loading}))}}function Om(e,t){var r;let{slots:n}=t;return p("div",{class:`${e.name}__loader`},[((r=n.default)==null?void 0:r.call(n,{color:e.color,isActive:e.active}))||p(hB,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const mB=["static","relative","fixed","absolute","sticky"],vB=oe({position:{type:String,validator:e=>mB.includes(e)}},"position");function gB(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts();return{positionClasses:R(()=>e.position?`${t}--${e.position}`:void 0)}}function pB(){const e=en("useRoute");return R(()=>{var t;return(t=e==null?void 0:e.proxy)==null?void 0:t.$route})}function pw(){var e,t;return(t=(e=en("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function Dm(e,t){const n=ji("RouterLink"),r=R(()=>!!(e.href||e.to)),i=R(()=>(r==null?void 0:r.value)||ey(t,"click")||ey(e,"click"));if(typeof n=="string")return{isLink:r,isClickable:i,href:_e(e,"href")};const o=e.to?n.useLink(e):void 0,l=pB();return{isLink:r,isClickable:i,route:o==null?void 0:o.route,navigate:o==null?void 0:o.navigate,isActive:o&&R(()=>{var u,f,d;return e.exact?l.value?((d=o.isExactActive)==null?void 0:d.value)&&ai(o.route.value.query,l.value.query):(f=o.isExactActive)==null?void 0:f.value:(u=o.isActive)==null?void 0:u.value}),href:R(()=>e.to?o==null?void 0:o.route.value.href:e.href)}}const Mm=oe({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let kd=!1;function yB(e,t){let n=!1,r,i;Lt&&(Bt(()=>{window.addEventListener("popstate",o),r=e==null?void 0:e.beforeEach((l,u,f)=>{kd?n?t(f):f():setTimeout(()=>n?t(f):f()),kd=!0}),i=e==null?void 0:e.afterEach(()=>{kd=!1})}),_n(()=>{window.removeEventListener("popstate",o),r==null||r(),i==null||i()}));function o(l){var u;(u=l.state)!=null&&u.replaced||(n=!0,setTimeout(()=>n=!1))}}function bB(e,t){$e(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n&&t&&Bt(()=>{t(!0)})},{immediate:!0})}const _h=Symbol("rippleStop"),_B=80;function Vy(e,t){e.style.transform=t,e.style.webkitTransform=t}function wh(e){return e.constructor.name==="TouchEvent"}function yw(e){return e.constructor.name==="KeyboardEvent"}const wB=function(e,t){var m;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=0,i=0;if(!yw(e)){const v=t.getBoundingClientRect(),y=wh(e)?e.touches[e.touches.length-1]:e;r=y.clientX-v.left,i=y.clientY-v.top}let o=0,l=.3;(m=t._ripple)!=null&&m.circle?(l=.15,o=t.clientWidth/2,o=n.center?o:o+Math.sqrt((r-o)**2+(i-o)**2)/4):o=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const u=`${(t.clientWidth-o*2)/2}px`,f=`${(t.clientHeight-o*2)/2}px`,d=n.center?u:`${r-o}px`,h=n.center?f:`${i-o}px`;return{radius:o,scale:l,x:d,y:h,centerX:u,centerY:f}},Qu={show(e,t){var y;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((y=t==null?void 0:t._ripple)!=null&&y.enabled))return;const r=document.createElement("span"),i=document.createElement("span");r.appendChild(i),r.className="v-ripple__container",n.class&&(r.className+=` ${n.class}`);const{radius:o,scale:l,x:u,y:f,centerX:d,centerY:h}=wB(e,t,n),m=`${o*2}px`;i.className="v-ripple__animation",i.style.width=m,i.style.height=m,t.appendChild(r);const v=window.getComputedStyle(t);v&&v.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),Vy(i,`translate(${u}, ${f}) scale3d(${l},${l},${l})`),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Vy(i,`translate(${d}, ${h}) scale3d(1,1,1)`)},0)},hide(e){var o;if(!((o=e==null?void 0:e._ripple)!=null&&o.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const r=performance.now()-Number(n.dataset.activated),i=Math.max(250-r,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var u;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((u=n.parentNode)==null?void 0:u.parentNode)===e&&e.removeChild(n.parentNode)},300)},i)}};function bw(e){return typeof e>"u"||!!e}function Ha(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[_h])){if(e[_h]=!0,wh(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||yw(e),n._ripple.class&&(t.class=n._ripple.class),wh(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Qu.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var r;(r=n==null?void 0:n._ripple)!=null&&r.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},_B)}else Qu.show(e,n,t)}}function Ly(e){e[_h]=!0}function Qn(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{Qn(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),Qu.hide(t)}}function _w(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let Na=!1;function ww(e){!Na&&(e.keyCode===Y1.enter||e.keyCode===Y1.space)&&(Na=!0,Ha(e))}function Sw(e){Na=!1,Qn(e)}function Cw(e){Na&&(Na=!1,Qn(e))}function xw(e,t,n){const{value:r,modifiers:i}=t,o=bw(r);if(o||Qu.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=o,e._ripple.centered=i.center,e._ripple.circle=i.circle,zu(r)&&r.class&&(e._ripple.class=r.class),o&&!n){if(i.stop){e.addEventListener("touchstart",Ly,{passive:!0}),e.addEventListener("mousedown",Ly);return}e.addEventListener("touchstart",Ha,{passive:!0}),e.addEventListener("touchend",Qn,{passive:!0}),e.addEventListener("touchmove",_w,{passive:!0}),e.addEventListener("touchcancel",Qn),e.addEventListener("mousedown",Ha),e.addEventListener("mouseup",Qn),e.addEventListener("mouseleave",Qn),e.addEventListener("keydown",ww),e.addEventListener("keyup",Sw),e.addEventListener("blur",Cw),e.addEventListener("dragstart",Qn,{passive:!0})}else!o&&n&&Aw(e)}function Aw(e){e.removeEventListener("mousedown",Ha),e.removeEventListener("touchstart",Ha),e.removeEventListener("touchend",Qn),e.removeEventListener("touchmove",_w),e.removeEventListener("touchcancel",Qn),e.removeEventListener("mouseup",Qn),e.removeEventListener("mouseleave",Qn),e.removeEventListener("keydown",ww),e.removeEventListener("keyup",Sw),e.removeEventListener("dragstart",Qn),e.removeEventListener("blur",Cw)}function SB(e,t){xw(e,t,!1)}function CB(e){delete e._ripple,Aw(e)}function xB(e,t){if(t.value===t.oldValue)return;const n=bw(t.oldValue);xw(e,t,n)}const ll={mounted:SB,unmounted:CB,updated:xB},Ew=oe({active:{type:Boolean,default:void 0},symbol:{type:null,default:dw},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:vt,appendIcon:vt,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Ts(),...nt(),...Hr(),...No(),...rs(),...Dc(),...Lm(),...vw(),...vB(),...ir(),...Mm(),...Ho(),...Ut({tag:"button"}),...Kt(),...Is({variant:"elevated"})},"VBtn"),Zt=Ie()({name:"VBtn",directives:{Ripple:ll},props:Ew(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:i}=tn(e),{borderClasses:o}=li(e),{colorClasses:l,colorStyles:u,variantClasses:f}=Lc(e),{densityClasses:d}=ss(e),{dimensionStyles:h}=Uo(e),{elevationClasses:m}=Rs(e),{loaderClasses:v}=Fc(e),{locationStyles:y}=gw(e),{positionClasses:b}=gB(e),{roundedClasses:w}=_r(e),{sizeClasses:x,sizeStyles:T}=il(e),P=Mc(e,e.symbol,!1),C=Dm(e,n),E=R(()=>{var M;return e.active!==void 0?e.active:C.isLink.value?(M=C.isActive)==null?void 0:M.value:P==null?void 0:P.isSelected.value}),V=R(()=>(P==null?void 0:P.disabled.value)||e.disabled),k=R(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),D=R(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function L(M){var B;V.value||C.isLink.value&&(M.metaKey||M.ctrlKey||M.shiftKey||M.button!==0||n.target==="_blank")||((B=C.navigate)==null||B.call(C,M),P==null||P.toggle())}return bB(C,P==null?void 0:P.select),Ge(()=>{var te,ce;const M=C.isLink.value?"a":e.tag,B=!!(e.prependIcon||r.prepend),j=!!(e.appendIcon||r.append),z=!!(e.icon&&e.icon!==!0),K=(P==null?void 0:P.isSelected.value)&&(!C.isLink.value||((te=C.isActive)==null?void 0:te.value))||!P||((ce=C.isActive)==null?void 0:ce.value);return on(p(M,{type:M==="a"?void 0:"button",class:["v-btn",P==null?void 0:P.selectedClass.value,{"v-btn--active":E.value,"v-btn--block":e.block,"v-btn--disabled":V.value,"v-btn--elevated":k.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},i.value,o.value,K?l.value:void 0,d.value,m.value,v.value,b.value,w.value,x.value,f.value,e.class],style:[K?u.value:void 0,h.value,y.value,T.value,e.style],disabled:V.value||void 0,href:C.href.value,onClick:L,value:D.value},{default:()=>{var Q;return[Vc(!0,"v-btn"),!e.icon&&B&&p("span",{key:"prepend",class:"v-btn__prepend"},[r.prepend?p(hn,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},r.prepend):p(ut,{key:"prepend-icon",icon:e.prependIcon},null)]),p("span",{class:"v-btn__content","data-no-activator":""},[!r.default&&z?p(ut,{key:"content-icon",icon:e.icon},null):p(hn,{key:"content-defaults",disabled:!z,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var ge;return[((ge=r.default)==null?void 0:ge.call(r))??e.text]}})]),!e.icon&&j&&p("span",{key:"append",class:"v-btn__append"},[r.append?p(hn,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},r.append):p(ut,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&p("span",{key:"loader",class:"v-btn__loader"},[((Q=r.loader)==null?void 0:Q.call(r))??p(mw,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Xr("ripple"),!V.value&&e.ripple,null]])}),{}}});function Td(e,t){return{x:e.x+t.x,y:e.y+t.y}}function AB(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Oy(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:r}=e,i=r==="left"?0:r==="center"?t.width/2:r==="right"?t.width:r,o=n==="top"?0:n==="bottom"?t.height:n;return Td({x:i,y:o},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:r}=e,i=n==="left"?0:n==="right"?t.width:n,o=r==="top"?0:r==="center"?t.height/2:r==="bottom"?t.height:r;return Td({x:i,y:o},t)}return Td({x:t.width/2,y:t.height/2},t)}const Pw={static:kB,connected:RB},EB=oe({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in Pw},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function PB(e,t){const n=Pe({}),r=Pe();Lt&&Zr(()=>!!(t.isActive.value&&e.locationStrategy),o=>{var l,u;$e(()=>e.locationStrategy,o),_n(()=>{window.removeEventListener("resize",i),r.value=void 0}),window.addEventListener("resize",i,{passive:!0}),typeof e.locationStrategy=="function"?r.value=(l=e.locationStrategy(t,e,n))==null?void 0:l.updateLocation:r.value=(u=Pw[e.locationStrategy](t,e,n))==null?void 0:u.updateLocation});function i(o){var l;(l=r.value)==null||l.call(r,o)}return{contentStyles:n,updateLocation:r}}function kB(){}function TB(e,t){t?e.style.removeProperty("left"):e.style.removeProperty("right");const n=Pm(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function RB(e,t,n){(Array.isArray(e.target.value)||kM(e.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:o}=Am(()=>{const b=vh(t.location,e.isRtl.value),w=t.origin==="overlap"?b:t.origin==="auto"?Ad(b):vh(t.origin,e.isRtl.value);return b.side===w.side&&b.align===Ed(w).align?{preferredAnchor:ty(b),preferredOrigin:ty(w)}:{preferredAnchor:b,preferredOrigin:w}}),[l,u,f,d]=["minWidth","minHeight","maxWidth","maxHeight"].map(b=>R(()=>{const w=parseFloat(t[b]);return isNaN(w)?1/0:w})),h=R(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const b=t.offset.split(" ").map(parseFloat);return b.length<2&&b.push(0),b}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let m=!1;const v=new ResizeObserver(()=>{m&&y()});$e([e.target,e.contentEl],(b,w)=>{let[x,T]=b,[P,C]=w;P&&!Array.isArray(P)&&v.unobserve(P),x&&!Array.isArray(x)&&v.observe(x),C&&v.unobserve(C),T&&v.observe(T)},{immediate:!0}),_n(()=>{v.disconnect()});function y(){if(m=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>m=!0)}),!e.target.value||!e.contentEl.value)return;const b=I_(e.target.value),w=TB(e.contentEl.value,e.isRtl.value),x=Zu(e.contentEl.value),T=12;x.length||(x.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(w.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),w.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const P=x.reduce((j,z)=>{const K=z.getBoundingClientRect(),te=new Oi({x:z===document.documentElement?0:K.x,y:z===document.documentElement?0:K.y,width:z.clientWidth,height:z.clientHeight});return j?new Oi({x:Math.max(j.left,te.left),y:Math.max(j.top,te.top),width:Math.min(j.right,te.right)-Math.max(j.left,te.left),height:Math.min(j.bottom,te.bottom)-Math.max(j.top,te.top)}):te},void 0);P.x+=T,P.y+=T,P.width-=T*2,P.height-=T*2;let C={anchor:i.value,origin:o.value};function E(j){const z=new Oi(w),K=Oy(j.anchor,b),te=Oy(j.origin,z);let{x:ce,y:Q}=AB(K,te);switch(j.anchor.side){case"top":Q-=h.value[0];break;case"bottom":Q+=h.value[0];break;case"left":ce-=h.value[0];break;case"right":ce+=h.value[0];break}switch(j.anchor.align){case"top":Q-=h.value[1];break;case"bottom":Q+=h.value[1];break;case"left":ce-=h.value[1];break;case"right":ce+=h.value[1];break}return z.x+=ce,z.y+=Q,z.width=Math.min(z.width,f.value),z.height=Math.min(z.height,d.value),{overflows:ry(z,P),x:ce,y:Q}}let V=0,k=0;const D={x:0,y:0},L={x:!1,y:!1};let M=-1;for(;!(M++>10);){const{x:j,y:z,overflows:K}=E(C);V+=j,k+=z,w.x+=j,w.y+=z;{const te=ny(C.anchor),ce=K.x.before||K.x.after,Q=K.y.before||K.y.after;let ge=!1;if(["x","y"].forEach(U=>{if(U==="x"&&ce&&!L.x||U==="y"&&Q&&!L.y){const ae={anchor:{...C.anchor},origin:{...C.origin}},ye=U==="x"?te==="y"?Ed:Ad:te==="y"?Ad:Ed;ae.anchor=ye(ae.anchor),ae.origin=ye(ae.origin);const{overflows:ue}=E(ae);(ue[U].before<=K[U].before&&ue[U].after<=K[U].after||ue[U].before+ue[U].after<(K[U].before+K[U].after)/2)&&(C=ae,ge=L[U]=!0)}}),ge)continue}K.x.before&&(V+=K.x.before,w.x+=K.x.before),K.x.after&&(V-=K.x.after,w.x-=K.x.after),K.y.before&&(k+=K.y.before,w.y+=K.y.before),K.y.after&&(k-=K.y.after,w.y-=K.y.after);{const te=ry(w,P);D.x=P.width-te.x.before-te.x.after,D.y=P.height-te.y.before-te.y.after,V+=te.x.before,w.x+=te.x.before,k+=te.y.before,w.y+=te.y.before}break}const B=ny(C.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${C.anchor.side} ${C.anchor.align}`,transformOrigin:`${C.origin.side} ${C.origin.align}`,top:Be(Rd(k)),left:e.isRtl.value?void 0:Be(Rd(V)),right:e.isRtl.value?Be(Rd(-V)):void 0,minWidth:Be(B==="y"?Math.min(l.value,b.width):l.value),maxWidth:Be(Dy(Yr(D.x,l.value===1/0?0:l.value,f.value))),maxHeight:Be(Dy(Yr(D.y,u.value===1/0?0:u.value,d.value)))}),{available:D,contentBox:w}}return $e(()=>[i.value,o.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>y()),Bt(()=>{const b=y();if(!b)return;const{available:w,contentBox:x}=b;x.height>w.y&&requestAnimationFrame(()=>{y(),requestAnimationFrame(()=>{y()})})}),{updateLocation:y}}function Rd(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Dy(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let Sh=!0;const ec=[];function IB(e){!Sh||ec.length?(ec.push(e),Ch()):(Sh=!1,e(),Ch())}let My=-1;function Ch(){cancelAnimationFrame(My),My=requestAnimationFrame(()=>{const e=ec.shift();e&&e(),ec.length?Ch():Sh=!0})}const Au={none:null,close:OB,block:DB,reposition:MB},VB=oe({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Au}},"VOverlay-scroll-strategies");function LB(e,t){if(!Lt)return;let n;Nn(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=Do(),await Bt(),n.active&&n.run(()=>{var r;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(r=Au[e.scrollStrategy])==null||r.call(Au,t,e,n)}))}),_n(()=>{n==null||n.stop()})}function OB(e){function t(n){e.isActive.value=!1}kw(e.targetEl.value??e.contentEl.value,t)}function DB(e,t){var l;const n=(l=e.root.value)==null?void 0:l.offsetParent,r=[...new Set([...Zu(e.targetEl.value,t.contained?n:void 0),...Zu(e.contentEl.value,t.contained?n:void 0)])].filter(u=>!u.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,o=(u=>Rm(u)&&u)(n||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),r.forEach((u,f)=>{u.style.setProperty("--v-body-scroll-x",Be(-u.scrollLeft)),u.style.setProperty("--v-body-scroll-y",Be(-u.scrollTop)),u!==document.documentElement&&u.style.setProperty("--v-scrollbar-offset",Be(i)),u.classList.add("v-overlay-scroll-blocked")}),_n(()=>{r.forEach((u,f)=>{const d=parseFloat(u.style.getPropertyValue("--v-body-scroll-x")),h=parseFloat(u.style.getPropertyValue("--v-body-scroll-y"));u.style.removeProperty("--v-body-scroll-x"),u.style.removeProperty("--v-body-scroll-y"),u.style.removeProperty("--v-scrollbar-offset"),u.classList.remove("v-overlay-scroll-blocked"),u.scrollLeft=-d,u.scrollTop=-h}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function MB(e,t,n){let r=!1,i=-1,o=-1;function l(u){IB(()=>{var h,m;const f=performance.now();(m=(h=e.updateLocation).value)==null||m.call(h,u),r=(performance.now()-f)/(1e3/60)>2})}o=(typeof requestIdleCallback>"u"?u=>u():requestIdleCallback)(()=>{n.run(()=>{kw(e.targetEl.value??e.contentEl.value,u=>{r?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{l(u)})})):l(u)})})}),_n(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(o),cancelAnimationFrame(i)})}function kw(e,t){const n=[document,...Zu(e)];n.forEach(r=>{r.addEventListener("scroll",t,{passive:!0})}),_n(()=>{n.forEach(r=>{r.removeEventListener("scroll",t)})})}const xh=Symbol.for("vuetify:v-menu"),FB=oe({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function BB(e,t){let n=()=>{};function r(l){n==null||n();const u=Number(l?e.openDelay:e.closeDelay);return new Promise(f=>{n=YD(u,()=>{t==null||t(l),f(l)})})}function i(){return r(!0)}function o(){return r(!1)}return{clearDelay:n,runOpenDelay:i,runCloseDelay:o}}const $B=oe({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...FB()},"VOverlay-activator");function HB(e,t){let{isActive:n,isTop:r}=t;const i=en("useActivator"),o=Pe();let l=!1,u=!1,f=!0;const d=R(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),h=R(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!d.value),{runOpenDelay:m,runCloseDelay:v}=BB(e,D=>{D===(e.openOnHover&&l||d.value&&u)&&!(e.openOnHover&&n.value&&!r.value)&&(n.value!==D&&(f=!0),n.value=D)}),y=Pe(),b={onClick:D=>{D.stopPropagation(),o.value=D.currentTarget||D.target,n.value||(y.value=[D.clientX,D.clientY]),n.value=!n.value},onMouseenter:D=>{var L;(L=D.sourceCapabilities)!=null&&L.firesTouchEvents||(l=!0,o.value=D.currentTarget||D.target,m())},onMouseleave:D=>{l=!1,v()},onFocus:D=>{Ku(D.target,":focus-visible")!==!1&&(u=!0,D.stopPropagation(),o.value=D.currentTarget||D.target,m())},onBlur:D=>{u=!1,D.stopPropagation(),v()}},w=R(()=>{const D={};return h.value&&(D.onClick=b.onClick),e.openOnHover&&(D.onMouseenter=b.onMouseenter,D.onMouseleave=b.onMouseleave),d.value&&(D.onFocus=b.onFocus,D.onBlur=b.onBlur),D}),x=R(()=>{const D={};if(e.openOnHover&&(D.onMouseenter=()=>{l=!0,m()},D.onMouseleave=()=>{l=!1,v()}),d.value&&(D.onFocusin=()=>{u=!0,m()},D.onFocusout=()=>{u=!1,v()}),e.closeOnContentClick){const L=lt(xh,null);D.onClick=()=>{n.value=!1,L==null||L.closeParents()}}return D}),T=R(()=>{const D={};return e.openOnHover&&(D.onMouseenter=()=>{f&&(l=!0,f=!1,m())},D.onMouseleave=()=>{l=!1,v()}),D});$e(r,D=>{D&&(e.openOnHover&&!l&&(!d.value||!u)||d.value&&!u&&(!e.openOnHover||!l))&&(n.value=!1)}),$e(n,D=>{D||setTimeout(()=>{y.value=void 0})},{flush:"post"});const P=Pe();Nn(()=>{P.value&&Bt(()=>{o.value=Wu(P.value)})});const C=Pe(),E=R(()=>e.target==="cursor"&&y.value?y.value:C.value?Wu(C.value):Tw(e.target,i)||o.value),V=R(()=>Array.isArray(E.value)?void 0:E.value);let k;return $e(()=>!!e.activator,D=>{D&&Lt?(k=Do(),k.run(()=>{NB(e,i,{activatorEl:o,activatorEvents:w})})):k&&k.stop()},{flush:"post",immediate:!0}),_n(()=>{k==null||k.stop()}),{activatorEl:o,activatorRef:P,target:E,targetEl:V,targetRef:C,activatorEvents:w,contentEvents:x,scrimEvents:T}}function NB(e,t,n){let{activatorEl:r,activatorEvents:i}=n;$e(()=>e.activator,(f,d)=>{if(d&&f!==d){const h=u(d);h&&l(h)}f&&Bt(()=>o())},{immediate:!0}),$e(()=>e.activatorProps,()=>{o()}),_n(()=>{l()});function o(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u(),d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;f&&XD(f,Ae(i.value,d))}function l(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u(),d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;f&&JD(f,Ae(i.value,d))}function u(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const d=Tw(f,t);return r.value=(d==null?void 0:d.nodeType)===Node.ELEMENT_NODE?d:void 0,r.value}}function Tw(e,t){var r,i;if(!e)return;let n;if(e==="parent"){let o=(i=(r=t==null?void 0:t.proxy)==null?void 0:r.$el)==null?void 0:i.parentNode;for(;o!=null&&o.hasAttribute("data-no-activator");)o=o.parentNode;n=o}else typeof e=="string"?n=document.querySelector(e):"$el"in e?n=e.$el:n=e;return n}function UB(){if(!Lt)return Ve(!1);const{ssr:e}=sl();if(e){const t=Ve(!1);return nr(()=>{t.value=!0}),t}else return Ve(!0)}const Bc=oe({eager:Boolean},"lazy");function Fm(e,t){const n=Ve(!1),r=R(()=>n.value||e.eager||t.value);$e(t,()=>n.value=!0);function i(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:r,onAfterLeave:i}}function $c(){const t=en("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const Fy=Symbol.for("vuetify:stack"),ha=dn([]);function zB(e,t,n){const r=en("useStack"),i=!n,o=lt(Fy,void 0),l=dn({activeChildren:new Set});Et(Fy,l);const u=Ve(+t.value);Zr(e,()=>{var m;const h=(m=ha.at(-1))==null?void 0:m[1];u.value=h?h+10:+t.value,i&&ha.push([r.uid,u.value]),o==null||o.activeChildren.add(r.uid),_n(()=>{if(i){const v=et(ha).findIndex(y=>y[0]===r.uid);ha.splice(v,1)}o==null||o.activeChildren.delete(r.uid)})});const f=Ve(!0);i&&Nn(()=>{var m;const h=((m=ha.at(-1))==null?void 0:m[0])===r.uid;setTimeout(()=>f.value=h)});const d=R(()=>!l.activeChildren.size);return{globalTop:Mo(f),localTop:d,stackStyles:R(()=>({zIndex:u.value}))}}function WB(e){return{teleportTarget:R(()=>{const n=e.value;if(n===!0||!Lt)return;const r=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(r==null)return;let i=r.querySelector(":scope > .v-overlay-container");return i||(i=document.createElement("div"),i.className="v-overlay-container",r.appendChild(i)),i})}}const zo=oe({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),bs=(e,t)=>{let{slots:n}=t;const{transition:r,disabled:i,...o}=e,{component:l=Or,...u}=typeof r=="object"?r:{};return Ps(l,Ae(typeof r=="string"?{name:i?"":r}:u,o,{disabled:i}),n)};function GB(){return!0}function Rw(e,t,n){if(!e||Iw(e,n)===!1)return!1;const r=B_(t);if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&r.host===e.target)return!1;const i=(typeof n.value=="object"&&n.value.include||(()=>[]))();return i.push(t),!i.some(o=>o==null?void 0:o.contains(e.target))}function Iw(e,t){return(typeof t.value=="object"&&t.value.closeConditional||GB)(e)}function jB(e,t,n){const r=typeof n.value=="function"?n.value:n.value.handler;t._clickOutside.lastMousedownWasOutside&&Rw(e,t,n)&&setTimeout(()=>{Iw(e,n)&&r&&r(e)},0)}function By(e,t){const n=B_(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const KB={mounted(e,t){const n=i=>jB(i,e,t),r=i=>{e._clickOutside.lastMousedownWasOutside=Rw(i,e,t)};By(e,i=>{i.addEventListener("click",n,!0),i.addEventListener("mousedown",r,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:r}},unmounted(e,t){e._clickOutside&&(By(e,n=>{var o;if(!n||!((o=e._clickOutside)!=null&&o[t.instance.$.uid]))return;const{onClick:r,onMousedown:i}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",r,!0),n.removeEventListener("mousedown",i,!0)}),delete e._clickOutside[t.instance.$.uid])}};function qB(e){const{modelValue:t,color:n,...r}=e;return p(Or,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&p("div",Ae({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},r),null)]})}const Bm=oe({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...$B(),...nt(),...No(),...Bc(),...EB(),...VB(),...Kt(),...zo()},"VOverlay"),tc=Ie()({name:"VOverlay",directives:{ClickOutside:KB},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Bm()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:r,emit:i}=t;const o=pt(e,"modelValue"),l=R({get:()=>o.value,set:be=>{be&&e.disabled||(o.value=be)}}),{teleportTarget:u}=WB(R(()=>e.attach||e.contained)),{themeClasses:f}=tn(e),{rtlClasses:d,isRtl:h}=ns(),{hasContent:m,onAfterLeave:v}=Fm(e,l),y=Un(R(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:b,localTop:w,stackStyles:x}=zB(l,_e(e,"zIndex"),e._disableGlobalStack),{activatorEl:T,activatorRef:P,target:C,targetEl:E,targetRef:V,activatorEvents:k,contentEvents:D,scrimEvents:L}=HB(e,{isActive:l,isTop:w}),{dimensionStyles:M}=Uo(e),B=UB(),{scopeId:j}=$c();$e(()=>e.disabled,be=>{be&&(l.value=!1)});const z=Pe(),K=Pe(),{contentStyles:te,updateLocation:ce}=PB(e,{isRtl:h,contentEl:K,target:C,isActive:l});LB(e,{root:z,contentEl:K,targetEl:E,isActive:l,updateLocation:ce});function Q(be){i("click:outside",be),e.persistent?ue():l.value=!1}function ge(){return l.value&&b.value}Lt&&$e(l,be=>{be?window.addEventListener("keydown",U):window.removeEventListener("keydown",U)},{immediate:!0}),wn(()=>{Lt&&window.removeEventListener("keydown",U)});function U(be){var Oe,Me;be.key==="Escape"&&b.value&&(e.persistent?ue():(l.value=!1,(Oe=K.value)!=null&&Oe.contains(document.activeElement)&&((Me=T.value)==null||Me.focus())))}const ae=pw();Zr(()=>e.closeOnBack,()=>{yB(ae,be=>{b.value&&l.value?(be(!1),e.persistent?ue():l.value=!1):be()})});const ye=Pe();$e(()=>l.value&&(e.absolute||e.contained)&&u.value==null,be=>{if(be){const Oe=H_(z.value);Oe&&Oe!==document.scrollingElement&&(ye.value=Oe.scrollTop)}});function ue(){e.noClickAnimation||K.value&&Pi(K.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:$a})}function Se(){v(),i("afterLeave")}return Ge(()=>{var be;return p(He,null,[(be=n.activator)==null?void 0:be.call(n,{isActive:l.value,props:Ae({ref:P,targetRef:V},k.value,e.activatorProps)}),!e.disabled&&B.value&&m.value&&p(r0,{disabled:!u.value,to:u.value},{default:()=>[p("div",Ae({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":l.value,"v-overlay--contained":e.contained},f.value,d.value,e.class],style:[x.value,{top:Be(ye.value)},e.style],ref:z},j,r),[p(qB,Ae({color:y,modelValue:!!e.scrim&&l.value},L.value),null),p(bs,{appear:!0,persisted:!0,transition:e.transition,target:C.value,onAfterLeave:Se},{default:()=>{var Oe;return[on(p("div",Ae({ref:K,class:["v-overlay__content",e.contentClass],style:[M.value,te.value]},D.value,e.contentProps),[(Oe=n.default)==null?void 0:Oe.call(n,{isActive:l})]),[[yr,l.value],[Xr("click-outside"),{handler:Q,closeConditional:ge,include:()=>[T.value]}]])]}})])]})])}),{activatorEl:T,target:C,animateClick:ue,contentEl:K,globalTop:b,localTop:w,updateLocation:ce}}}),Id=Symbol("Forwarded refs");function Vd(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Wo(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e[Id]=n,new Proxy(e,{get(i,o){if(Reflect.has(i,o))return Reflect.get(i,o);if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const l of n)if(l.value&&Reflect.has(l.value,o)){const u=Reflect.get(l.value,o);return typeof u=="function"?u.bind(l.value):u}}},has(i,o){if(Reflect.has(i,o))return!0;if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const l of n)if(l.value&&Reflect.has(l.value,o))return!0;return!1},set(i,o,l){if(Reflect.has(i,o))return Reflect.set(i,o,l);if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const u of n)if(u.value&&Reflect.has(u.value,o))return Reflect.set(u.value,o,l);return!1},getOwnPropertyDescriptor(i,o){var u;const l=Reflect.getOwnPropertyDescriptor(i,o);if(l)return l;if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const f of n){if(!f.value)continue;const d=Vd(f.value,o)??("_"in f.value?Vd((u=f.value._)==null?void 0:u.setupState,o):void 0);if(d)return d}for(const f of n){const d=f.value&&f.value[Id];if(!d)continue;const h=d.slice();for(;h.length;){const m=h.shift(),v=Vd(m.value,o);if(v)return v;const y=m.value&&m.value[Id];y&&h.push(...y)}}}}})}const YB=oe({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...Bm({origin:"center center",scrollStrategy:"block",transition:{component:Vm},zIndex:2400})},"VDialog"),ul=Ie()({name:"VDialog",props:YB(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=pt(e,"modelValue"),{scopeId:i}=$c(),o=Pe();function l(f){var m,v;const d=f.relatedTarget,h=f.target;if(d!==h&&((m=o.value)!=null&&m.contentEl)&&((v=o.value)!=null&&v.globalTop)&&![document,o.value.contentEl].includes(h)&&!o.value.contentEl.contains(h)){const y=Fa(o.value.contentEl);if(!y.length)return;const b=y[0],w=y[y.length-1];d===b?w.focus():b.focus()}}Lt&&$e(()=>r.value&&e.retainFocus,f=>{f?document.addEventListener("focusin",l):document.removeEventListener("focusin",l)},{immediate:!0}),$e(r,async f=>{var d,h;await Bt(),f?(d=o.value.contentEl)==null||d.focus({preventScroll:!0}):(h=o.value.activatorEl)==null||h.focus({preventScroll:!0})});const u=R(()=>Ae({"aria-haspopup":"dialog","aria-expanded":String(r.value)},e.activatorProps));return Ge(()=>{const f=tc.filterProps(e);return p(tc,Ae({ref:o,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},f,{modelValue:r.value,"onUpdate:modelValue":d=>r.value=d,"aria-modal":"true",activatorProps:u.value,role:"dialog"},i),{activator:n.activator,default:function(){for(var d=arguments.length,h=new Array(d),m=0;m<d;m++)h[m]=arguments[m];return p(hn,{root:"VDialog"},{default:()=>{var v;return[(v=n.default)==null?void 0:v.call(n,...h)]}})}})}),Wo({},o)}}),ZB={name:"OPDSDialog",components:{OPDSUrl:sB},data(){return{mdiRss:nw,opdsV1URL:window.origin+window.CODEX.OPDS_V1_PATH,opdsV2URL:window.origin+window.CODEX.OPDS_V2_PATH}}},XB={id:"opds"};function JB(e,t,n,r,i,o){const l=Ft("OPDSUrl");return ie(),Ze(ul,{"max-width":"30em"},{activator:le(({props:u})=>[p(Zt,Ae({id:"opdsButton",icon:"",size:"small",variant:"plain"},u),{default:le(()=>[p(ut,null,{default:le(()=>[De(Te(i.mdiRss),1)]),_:1}),De(" OPDS ")]),_:2},1040)]),default:le(()=>[H("div",XB,[H("h2",null,[p(ut,{size:"x=small",class:"inline"},{default:le(()=>[De(Te(i.mdiRss),1)]),_:1}),De(" OPDS ")]),p(l,{title:"v1.2",url:i.opdsV1URL},null,8,["url"]),p(l,{title:"v2.0",url:i.opdsV2URL,subtitle:"OPDS v2 is experimental and not widely or well supported by clients"},null,8,["url"])])]),_:1})}const QB=ct(ZB,[["render",JB],["__scopeId","data-v-b21152f5"]]),e3={name:"SettingsFooter",components:{OPDSDialog:QB},data(){return{mdiOpenInNew:Ic,mdiSourceRepository:$F}},computed:{...Bo(bn,["isCodexViewable"])}},t3={id:"repo",href:"https://github.com/ajslater/codex",title:"Codex Source Repository",target:"_blank"};function n3(e,t,n,r,i,o){const l=Ft("OPDSDialog");return ie(),Ze(rw,{id:"settingsFooter"},{default:le(()=>[e.isCodexViewable?(ie(),Ze(l,{key:0})):xt("",!0),H("a",t3,[p(ut,{id:"repoIcon",size:"x-small"},{default:le(()=>[De(Te(i.mdiSourceRepository),1)]),_:1}),De(" repository"),p(ut,{color:e.$vuetify.theme.current.colors.iconsInactive,size:"x-small"},{default:le(()=>[De(Te(i.mdiOpenInNew),1)]),_:1},8,["color"])])]),_:1})}const Vw=ct(e3,[["render",n3],["__scopeId","data-v-f9eb593e"]]),r3={name:"ConfirmFooter",props:{confirmText:{type:String,required:!0},disabled:{type:Boolean,default:!1}},emits:["confirm","cancel"]},s3={class:"confirmFooter"};function i3(e,t,n,r,i,o){return ie(),We("footer",s3,[p(Zt,{class:"confirmButton",disabled:n.disabled,onClick:t[0]||(t[0]=l=>e.$emit("confirm"))},{default:le(()=>[De(Te(n.confirmText),1)]),_:1},8,["disabled"]),p(Zt,{class:"cancelButton",onClick:t[1]||(t[1]=l=>e.$emit("cancel"))},{default:le(()=>[De("Cancel")]),_:1})])}const Hc=ct(r3,[["render",i3],["__scopeId","data-v-1663262a"]]),o3={name:"SubmitFooter",components:{ConfirmFooter:Hc},props:{verb:{type:String,required:!0},table:{type:String,required:!0},disabled:{type:Boolean,default:!1}},emits:["cancel","submit"],computed:{...kt(Rt,{errors:e=>e.form.errors,success:e=>e.form.success})},beforeMount(){this.clearErrors()},methods:{...Xt(Rt,["clearErrors"])}},a3={key:0,class:"errors"},l3={key:1,class:"success"},u3={key:2};function c3(e,t,n,r,i,o){const l=Hc;return ie(),We("footer",null,[H("div",null,[e.errors&&e.errors.length>0?(ie(),We("small",a3,[(ie(!0),We(He,null,Rr(e.errors,(u,f)=>(ie(),We("div",{key:f},Te(u),1))),128))])):e.success?(ie(),We("small",l3,Te(e.success),1)):(ie(),We("small",u3," "))]),p(l,{"confirm-text":`${n.verb} ${n.table}`,disabled:n.disabled,onConfirm:t[0]||(t[0]=u=>e.$emit("submit")),onCancel:t[1]||(t[1]=u=>e.$emit("cancel"))},null,8,["confirm-text","disabled"])])}const Go=ct(o3,[["render",c3],["__scopeId","data-v-04c721a9"]]),f3={name:"CloseButton",data(){return{mdiClose:TF}}};function d3(e,t,n,r,i,o){return ie(),Ze(Zt,Ae({class:"closeButton",icon:""},e.$attrs),{default:le(()=>[p(ut,null,{default:le(()=>[De(Te(i.mdiClose),1)]),_:1})]),_:1},16)}const Lw=ct(f3,[["render",d3],["__scopeId","data-v-b81ec955"]]),Ow=Symbol.for("vuetify:form"),h3=oe({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function m3(e){const t=pt(e,"modelValue"),n=R(()=>e.disabled),r=R(()=>e.readonly),i=Ve(!1),o=Pe([]),l=Pe([]);async function u(){const h=[];let m=!0;l.value=[],i.value=!0;for(const v of o.value){const y=await v.validate();if(y.length>0&&(m=!1,h.push({id:v.id,errorMessages:y})),!m&&e.fastFail)break}return l.value=h,i.value=!1,{valid:m,errors:l.value}}function f(){o.value.forEach(h=>h.reset())}function d(){o.value.forEach(h=>h.resetValidation())}return $e(o,()=>{let h=0,m=0;const v=[];for(const y of o.value)y.isValid===!1?(m++,v.push({id:y.id,errorMessages:y.errorMessages})):y.isValid===!0&&h++;l.value=v,t.value=m>0?!1:h===o.value.length?!0:null},{deep:!0}),Et(Ow,{register:h=>{let{id:m,validate:v,reset:y,resetValidation:b}=h;o.value.some(w=>w.id===m),o.value.push({id:m,validate:v,reset:y,resetValidation:b,isValid:null,errorMessages:[]})},unregister:h=>{o.value=o.value.filter(m=>m.id!==h)},update:(h,m,v)=>{const y=o.value.find(b=>b.id===h);y&&(y.isValid=m,y.errorMessages=v)},isDisabled:n,isReadonly:r,isValidating:i,isValid:t,items:o,validateOn:_e(e,"validateOn")}),{errors:l,isDisabled:n,isReadonly:r,isValidating:i,isValid:t,items:o,validate:u,reset:f,resetValidation:d}}function $m(){return lt(Ow,null)}const v3=oe({...nt(),...h3()},"VForm"),Hm=Ie()({name:"VForm",props:v3(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=m3(e),o=Pe();function l(f){f.preventDefault(),i.reset()}function u(f){const d=f,h=i.validate();d.then=h.then.bind(h),d.catch=h.catch.bind(h),d.finally=h.finally.bind(h),r("submit",d),d.defaultPrevented||h.then(m=>{var y;let{valid:v}=m;v&&((y=o.value)==null||y.submit())}),d.preventDefault()}return Ge(()=>{var f;return p("form",{ref:o,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:l,onSubmit:u},[(f=n.default)==null?void 0:f.call(n,i)])}),Wo(i,o)}}),Ah=Symbol.for("vuetify:list");function Dw(){const e=lt(Ah,{hasPrepend:Ve(!1),updateHasPrepend:()=>null}),t={hasPrepend:Ve(!1),updateHasPrepend:n=>{n&&(t.hasPrepend.value=n)}};return Et(Ah,t),e}function Mw(){return lt(Ah,null)}const g3={open:e=>{let{id:t,value:n,opened:r,parents:i}=e;if(n){const o=new Set;o.add(t);let l=i.get(t);for(;l!=null;)o.add(l),l=i.get(l);return o}else return r.delete(t),r},select:()=>null},Fw={open:e=>{let{id:t,value:n,opened:r,parents:i}=e;if(n){let o=i.get(t);for(r.add(t);o!=null&&o!==t;)r.add(o),o=i.get(o);return r}else r.delete(t);return r},select:()=>null},p3={open:Fw.open,select:e=>{let{id:t,value:n,opened:r,parents:i}=e;if(!n)return r;const o=[];let l=i.get(t);for(;l!=null;)o.push(l),l=i.get(l);return new Set(o)}},Nm=e=>{const t={select:n=>{let{id:r,value:i,selected:o}=n;if(r=et(r),e&&!i){const l=Array.from(o.entries()).reduce((u,f)=>{let[d,h]=f;return h==="on"?[...u,d]:u},[]);if(l.length===1&&l[0]===r)return o}return o.set(r,i?"on":"off"),o},in:(n,r,i)=>{let o=new Map;for(const l of n||[])o=t.select({id:l,value:!0,selected:new Map(o),children:r,parents:i});return o},out:n=>{const r=[];for(const[i,o]of n.entries())o==="on"&&r.push(i);return r}};return t},Bw=e=>{const t=Nm(e);return{select:r=>{let{selected:i,id:o,...l}=r;o=et(o);const u=i.has(o)?new Map([[o,i.get(o)]]):new Map;return t.select({...l,id:o,selected:u})},in:(r,i,o)=>{let l=new Map;return r!=null&&r.length&&(l=t.in(r.slice(0,1),i,o)),l},out:(r,i,o)=>t.out(r,i,o)}},y3=e=>{const t=Nm(e);return{select:r=>{let{id:i,selected:o,children:l,...u}=r;return i=et(i),l.has(i)?o:t.select({id:i,selected:o,children:l,...u})},in:t.in,out:t.out}},b3=e=>{const t=Bw(e);return{select:r=>{let{id:i,selected:o,children:l,...u}=r;return i=et(i),l.has(i)?o:t.select({id:i,selected:o,children:l,...u})},in:t.in,out:t.out}},_3=e=>{const t={select:n=>{let{id:r,value:i,selected:o,children:l,parents:u}=n;r=et(r);const f=new Map(o),d=[r];for(;d.length;){const m=d.shift();o.set(m,i?"on":"off"),l.has(m)&&d.push(...l.get(m))}let h=u.get(r);for(;h;){const m=l.get(h),v=m.every(b=>o.get(b)==="on"),y=m.every(b=>!o.has(b)||o.get(b)==="off");o.set(h,v?"on":y?"off":"indeterminate"),h=u.get(h)}return e&&!i&&Array.from(o.entries()).reduce((v,y)=>{let[b,w]=y;return w==="on"?[...v,b]:v},[]).length===0?f:o},in:(n,r,i)=>{let o=new Map;for(const l of n||[])o=t.select({id:l,value:!0,selected:new Map(o),children:r,parents:i});return o},out:(n,r)=>{const i=[];for(const[o,l]of n.entries())l==="on"&&!r.has(o)&&i.push(o);return i}};return t},Ua=Symbol.for("vuetify:nested"),$w={id:Ve(),root:{register:()=>null,unregister:()=>null,parents:Pe(new Map),children:Pe(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Pe(new Set),selected:Pe(new Map),selectedValues:Pe([])}},w3=oe({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),S3=e=>{let t=!1;const n=Pe(new Map),r=Pe(new Map),i=pt(e,"opened",e.opened,m=>new Set(m),m=>[...m.values()]),o=R(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return b3(e.mandatory);case"leaf":return y3(e.mandatory);case"independent":return Nm(e.mandatory);case"single-independent":return Bw(e.mandatory);case"classic":default:return _3(e.mandatory)}}),l=R(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return p3;case"single":return g3;case"multiple":default:return Fw}}),u=pt(e,"selected",e.selected,m=>o.value.in(m,n.value,r.value),m=>o.value.out(m,n.value,r.value));wn(()=>{t=!0});function f(m){const v=[];let y=m;for(;y!=null;)v.unshift(y),y=r.value.get(y);return v}const d=en("nested"),h={id:Ve(),root:{opened:i,selected:u,selectedValues:R(()=>{const m=[];for(const[v,y]of u.value.entries())y==="on"&&m.push(v);return m}),register:(m,v,y)=>{v&&m!==v&&r.value.set(m,v),y&&n.value.set(m,[]),v!=null&&n.value.set(v,[...n.value.get(v)||[],m])},unregister:m=>{if(t)return;n.value.delete(m);const v=r.value.get(m);if(v){const y=n.value.get(v)??[];n.value.set(v,y.filter(b=>b!==m))}r.value.delete(m),i.value.delete(m)},open:(m,v,y)=>{d.emit("click:open",{id:m,value:v,path:f(m),event:y});const b=l.value.open({id:m,value:v,opened:new Set(i.value),children:n.value,parents:r.value,event:y});b&&(i.value=b)},openOnSelect:(m,v,y)=>{const b=l.value.select({id:m,value:v,selected:new Map(u.value),opened:new Set(i.value),children:n.value,parents:r.value,event:y});b&&(i.value=b)},select:(m,v,y)=>{d.emit("click:select",{id:m,value:v,path:f(m),event:y});const b=o.value.select({id:m,value:v,selected:new Map(u.value),children:n.value,parents:r.value,event:y});b&&(u.value=b),h.root.openOnSelect(m,v,y)},children:n,parents:r}};return Et(Ua,h),h.root},Hw=(e,t)=>{const n=lt(Ua,$w),r=Symbol(sr()),i=R(()=>e.value!==void 0?e.value:r),o={...n,id:i,open:(l,u)=>n.root.open(i.value,l,u),openOnSelect:(l,u)=>n.root.openOnSelect(i.value,l,u),isOpen:R(()=>n.root.opened.value.has(i.value)),parent:R(()=>n.root.parents.value.get(i.value)),select:(l,u)=>n.root.select(i.value,l,u),isSelected:R(()=>n.root.selected.value.get(et(i.value))==="on"),isIndeterminate:R(()=>n.root.selected.value.get(i.value)==="indeterminate"),isLeaf:R(()=>!n.root.children.value.get(i.value)),isGroupActivator:n.isGroupActivator};return!n.isGroupActivator&&n.root.register(i.value,n.id.value,t),wn(()=>{!n.isGroupActivator&&n.root.unregister(i.value)}),t&&Et(Ua,o),o},C3=()=>{const e=lt(Ua,$w);Et(Ua,{...e,isGroupActivator:!0})};function Nc(){const e=Ve(!1);return nr(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:R(()=>e.value?void 0:{transition:"none !important"}),isBooted:Mo(e)}}const x3=rl({name:"VListGroupActivator",setup(e,t){let{slots:n}=t;return C3(),()=>{var r;return(r=n.default)==null?void 0:r.call(n)}}}),A3=oe({activeColor:String,baseColor:String,color:String,collapseIcon:{type:vt,default:"$collapse"},expandIcon:{type:vt,default:"$expand"},prependIcon:vt,appendIcon:vt,fluid:Boolean,subgroup:Boolean,title:String,value:null,...nt(),...Ut()},"VListGroup"),$y=Ie()({name:"VListGroup",props:A3(),setup(e,t){let{slots:n}=t;const{isOpen:r,open:i,id:o}=Hw(_e(e,"value"),!0),l=R(()=>`v-list-group--id-${String(o.value)}`),u=Mw(),{isBooted:f}=Nc();function d(y){i(!r.value,y)}const h=R(()=>({onClick:d,class:"v-list-group__header",id:l.value})),m=R(()=>r.value?e.collapseIcon:e.expandIcon),v=R(()=>({VListItem:{active:r.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&m.value,appendIcon:e.appendIcon||!e.subgroup&&m.value,title:e.title,value:e.value}}));return Ge(()=>p(e.tag,{class:["v-list-group",{"v-list-group--prepend":u==null?void 0:u.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":r.value},e.class],style:e.style},{default:()=>[n.activator&&p(hn,{defaults:v.value},{default:()=>[p(x3,null,{default:()=>[n.activator({props:h.value,isOpen:r.value})]})]}),p(bs,{transition:{component:ol},disabled:!f.value},{default:()=>{var y;return[on(p("div",{class:"v-list-group__items",role:"group","aria-labelledby":l.value},[(y=n.default)==null?void 0:y.call(n)]),[[yr,r.value]])]}})]})),{}}}),E3=F_("v-list-item-subtitle"),cl=F_("v-list-item-title");function P3(e){return{aspectStyles:R(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const Nw=oe({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...nt(),...No()},"VResponsive"),Hy=Ie()({name:"VResponsive",props:Nw(),setup(e,t){let{slots:n}=t;const{aspectStyles:r}=P3(e),{dimensionStyles:i}=Uo(e);return Ge(()=>{var o;return p("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[i.value,e.style]},[p("div",{class:"v-responsive__sizer",style:r.value},null),(o=n.additional)==null?void 0:o.call(n),n.default&&p("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}});function k3(e,t){if(!xm)return;const n=t.modifiers||{},r=t.value,{handler:i,options:o}=typeof r=="object"?r:{handler:r,options:{}},l=new IntersectionObserver(function(){var m;let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],f=arguments.length>1?arguments[1]:void 0;const d=(m=e._observe)==null?void 0:m[t.instance.$.uid];if(!d)return;const h=u.some(v=>v.isIntersecting);i&&(!n.quiet||d.init)&&(!n.once||h||d.init)&&i(h,u,f),h&&n.once?Uw(e,t):d.init=!0},o);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:l},l.observe(e)}function Uw(e,t){var r;const n=(r=e._observe)==null?void 0:r[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const zw={mounted:k3,unmounted:Uw},T3=oe({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...Nw(),...nt(),...zo()},"VImg"),Ww=Ie()({name:"VImg",directives:{intersect:zw},props:T3(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:r}=t;const i=en("VImg"),o=Ve(""),l=Pe(),u=Ve(e.eager?"loading":"idle"),f=Ve(),d=Ve(),h=R(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),m=R(()=>h.value.aspect||f.value/d.value||0);$e(()=>e.src,()=>{v(u.value!=="idle")}),$e(m,(M,B)=>{!M&&B&&l.value&&T(l.value)}),Za(()=>v());function v(M){if(!(e.eager&&M)&&!(xm&&!M&&!e.eager)){if(u.value="loading",h.value.lazySrc){const B=new Image;B.src=h.value.lazySrc,T(B,null)}h.value.src&&Bt(()=>{var B;n("loadstart",((B=l.value)==null?void 0:B.currentSrc)||h.value.src),setTimeout(()=>{var j;if(!i.isUnmounted)if((j=l.value)!=null&&j.complete){if(l.value.naturalWidth||b(),u.value==="error")return;m.value||T(l.value,null),u.value==="loading"&&y()}else m.value||T(l.value),w()})})}}function y(){var M;i.isUnmounted||(w(),T(l.value),u.value="loaded",n("load",((M=l.value)==null?void 0:M.currentSrc)||h.value.src))}function b(){var M;i.isUnmounted||(u.value="error",n("error",((M=l.value)==null?void 0:M.currentSrc)||h.value.src))}function w(){const M=l.value;M&&(o.value=M.currentSrc||M.src)}let x=-1;wn(()=>{clearTimeout(x)});function T(M){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const j=()=>{if(clearTimeout(x),i.isUnmounted)return;const{naturalHeight:z,naturalWidth:K}=M;z||K?(f.value=K,d.value=z):!M.complete&&u.value==="loading"&&B!=null?x=window.setTimeout(j,B):(M.currentSrc.endsWith(".svg")||M.currentSrc.startsWith("data:image/svg+xml"))&&(f.value=1,d.value=1)};j()}const P=R(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),C=()=>{var j;if(!h.value.src||u.value==="idle")return null;const M=p("img",{class:["v-img__img",P.value],style:{objectPosition:e.position},src:h.value.src,srcset:h.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:l,onLoad:y,onError:b},null),B=(j=r.sources)==null?void 0:j.call(r);return p(bs,{transition:e.transition,appear:!0},{default:()=>[on(B?p("picture",{class:"v-img__picture"},[B,M]):M,[[yr,u.value==="loaded"]])]})},E=()=>p(bs,{transition:e.transition},{default:()=>[h.value.lazySrc&&u.value!=="loaded"&&p("img",{class:["v-img__img","v-img__img--preload",P.value],style:{objectPosition:e.position},src:h.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),V=()=>r.placeholder?p(bs,{transition:e.transition,appear:!0},{default:()=>[(u.value==="loading"||u.value==="error"&&!r.error)&&p("div",{class:"v-img__placeholder"},[r.placeholder()])]}):null,k=()=>r.error?p(bs,{transition:e.transition,appear:!0},{default:()=>[u.value==="error"&&p("div",{class:"v-img__error"},[r.error()])]}):null,D=()=>e.gradient?p("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,L=Ve(!1);{const M=$e(m,B=>{B&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{L.value=!0})}),M())})}return Ge(()=>{const M=Hy.filterProps(e);return on(p(Hy,Ae({class:["v-img",{"v-img--booting":!L.value},e.class],style:[{width:Be(e.width==="auto"?f.value:e.width)},e.style]},M,{aspectRatio:m.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>p(He,null,[p(C,null,null),p(E,null,null),p(D,null,null),p(V,null,null),p(k,null,null)]),default:r.default}),[[Xr("intersect"),{handler:v,options:e.options},null,{once:!0}]])}),{currentSrc:o,image:l,state:u,naturalWidth:f,naturalHeight:d}}}),R3=oe({start:Boolean,end:Boolean,icon:vt,image:String,text:String,...nt(),...Hr(),...ir(),...Ho(),...Ut(),...Kt(),...Is({variant:"flat"})},"VAvatar"),Io=Ie()({name:"VAvatar",props:R3(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=tn(e),{colorClasses:i,colorStyles:o,variantClasses:l}=Lc(e),{densityClasses:u}=ss(e),{roundedClasses:f}=_r(e),{sizeClasses:d,sizeStyles:h}=il(e);return Ge(()=>p(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,i.value,u.value,f.value,d.value,l.value,e.class],style:[o.value,h.value,e.style]},{default:()=>{var m;return[e.image?p(Ww,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?p(ut,{key:"icon",icon:e.icon},null):((m=n.default)==null?void 0:m.call(n))??e.text,Vc(!1,"v-avatar")]}})),{}}}),I3=oe({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:vt,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:vt,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:tr(),onClickOnce:tr(),...Ts(),...nt(),...Hr(),...No(),...rs(),...ir(),...Mm(),...Ut(),...Kt(),...Is({variant:"text"})},"VListItem"),Fr=Ie()({name:"VListItem",directives:{Ripple:ll},props:I3(),emits:{click:e=>!0},setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=Dm(e,n),l=R(()=>e.value===void 0?o.href.value:e.value),{select:u,isSelected:f,isIndeterminate:d,isGroupActivator:h,root:m,parent:v,openOnSelect:y}=Hw(l,!1),b=Mw(),w=R(()=>{var U;return e.active!==!1&&(e.active||((U=o.isActive)==null?void 0:U.value)||f.value)}),x=R(()=>e.link!==!1&&o.isLink.value),T=R(()=>!e.disabled&&e.link!==!1&&(e.link||o.isClickable.value||e.value!=null&&!!b)),P=R(()=>e.rounded||e.nav),C=R(()=>e.color??e.activeColor),E=R(()=>({color:w.value?C.value??e.baseColor:e.baseColor,variant:e.variant}));$e(()=>{var U;return(U=o.isActive)==null?void 0:U.value},U=>{U&&v.value!=null&&m.open(v.value,!0),U&&y(U)},{immediate:!0});const{themeClasses:V}=tn(e),{borderClasses:k}=li(e),{colorClasses:D,colorStyles:L,variantClasses:M}=Lc(E),{densityClasses:B}=ss(e),{dimensionStyles:j}=Uo(e),{elevationClasses:z}=Rs(e),{roundedClasses:K}=_r(P),te=R(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),ce=R(()=>({isActive:w.value,select:u,isSelected:f.value,isIndeterminate:d.value}));function Q(U){var ae;i("click",U),!(h||!T.value)&&((ae=o.navigate)==null||ae.call(o,U),e.value!=null&&u(!f.value,U))}function ge(U){(U.key==="Enter"||U.key===" ")&&(U.preventDefault(),Q(U))}return Ge(()=>{const U=x.value?"a":e.tag,ae=r.title||e.title!=null,ye=r.subtitle||e.subtitle!=null,ue=!!(e.appendAvatar||e.appendIcon),Se=!!(ue||r.append),be=!!(e.prependAvatar||e.prependIcon),Oe=!!(be||r.prepend);return b==null||b.updateHasPrepend(Oe),e.activeColor&&oM("active-color",["color","base-color"]),on(p(U,{class:["v-list-item",{"v-list-item--active":w.value,"v-list-item--disabled":e.disabled,"v-list-item--link":T.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!Oe&&(b==null?void 0:b.hasPrepend.value),"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&w.value},V.value,k.value,D.value,B.value,z.value,te.value,K.value,M.value,e.class],style:[L.value,j.value,e.style],href:o.href.value,tabindex:T.value?b?-2:0:void 0,onClick:Q,onKeydown:T.value&&!x.value&&ge},{default:()=>{var Me;return[Vc(T.value||w.value,"v-list-item"),Oe&&p("div",{key:"prepend",class:"v-list-item__prepend"},[r.prepend?p(hn,{key:"prepend-defaults",disabled:!be,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var Re;return[(Re=r.prepend)==null?void 0:Re.call(r,ce.value)]}}):p(He,null,[e.prependAvatar&&p(Io,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&p(ut,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),p("div",{class:"v-list-item__spacer"},null)]),p("div",{class:"v-list-item__content","data-no-activator":""},[ae&&p(cl,{key:"title"},{default:()=>{var Re;return[((Re=r.title)==null?void 0:Re.call(r,{title:e.title}))??e.title]}}),ye&&p(E3,{key:"subtitle"},{default:()=>{var Re;return[((Re=r.subtitle)==null?void 0:Re.call(r,{subtitle:e.subtitle}))??e.subtitle]}}),(Me=r.default)==null?void 0:Me.call(r,ce.value)]),Se&&p("div",{key:"append",class:"v-list-item__append"},[r.append?p(hn,{key:"append-defaults",disabled:!ue,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var Re;return[(Re=r.append)==null?void 0:Re.call(r,ce.value)]}}):p(He,null,[e.appendIcon&&p(ut,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&p(Io,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),p("div",{class:"v-list-item__spacer"},null)])]}}),[[Xr("ripple"),T.value&&e.ripple]])}),{}}}),V3=oe({color:String,inset:Boolean,sticky:Boolean,title:String,...nt(),...Ut()},"VListSubheader"),L3=Ie()({name:"VListSubheader",props:V3(),setup(e,t){let{slots:n}=t;const{textColorClasses:r,textColorStyles:i}=Mr(_e(e,"color"));return Ge(()=>{const o=!!(n.default||e.title);return p(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},r.value,e.class],style:[{textColorStyles:i},e.style]},{default:()=>{var l;return[o&&p("div",{class:"v-list-subheader__text"},[((l=n.default)==null?void 0:l.call(n))??e.title])]}})}),{}}}),O3=oe({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...nt(),...Kt()},"VDivider"),za=Ie()({name:"VDivider",props:O3(),setup(e,t){let{attrs:n}=t;const{themeClasses:r}=tn(e),{textColorClasses:i,textColorStyles:o}=Mr(_e(e,"color")),l=R(()=>{const u={};return e.length&&(u[e.vertical?"maxHeight":"maxWidth"]=Be(e.length)),e.thickness&&(u[e.vertical?"borderRightWidth":"borderTopWidth"]=Be(e.thickness)),u});return Ge(()=>p("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},r.value,i.value,e.class],style:[l.value,o.value,e.style],"aria-orientation":!n.role||n.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${n.role||"separator"}`},null)),{}}}),D3=oe({items:Array,returnObject:Boolean},"VListChildren"),Gw=Ie()({name:"VListChildren",props:D3(),setup(e,t){let{slots:n}=t;return Dw(),()=>{var r,i;return((r=n.default)==null?void 0:r.call(n))??((i=e.items)==null?void 0:i.map(o=>{var v,y;let{children:l,props:u,type:f,raw:d}=o;if(f==="divider")return((v=n.divider)==null?void 0:v.call(n,{props:u}))??p(za,u,null);if(f==="subheader")return((y=n.subheader)==null?void 0:y.call(n,{props:u}))??p(L3,u,null);const h={subtitle:n.subtitle?b=>{var w;return(w=n.subtitle)==null?void 0:w.call(n,{...b,item:d})}:void 0,prepend:n.prepend?b=>{var w;return(w=n.prepend)==null?void 0:w.call(n,{...b,item:d})}:void 0,append:n.append?b=>{var w;return(w=n.append)==null?void 0:w.call(n,{...b,item:d})}:void 0,title:n.title?b=>{var w;return(w=n.title)==null?void 0:w.call(n,{...b,item:d})}:void 0},m=$y.filterProps(u);return l?p($y,Ae({value:u==null?void 0:u.value},m),{activator:b=>{let{props:w}=b;const x={...u,...w,value:e.returnObject?d:u.value};return n.header?n.header({props:x}):p(Fr,x,h)},default:()=>p(Gw,{items:l},n)}):n.item?n.item({props:u}):p(Fr,Ae(u,{value:e.returnObject?d:u.value}),h)}))}}}),jw=oe({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:ai}},"list-items");function ki(e,t){const n=Bn(t,e.itemTitle,t),r=Bn(t,e.itemValue,n),i=Bn(t,e.itemChildren),o=e.itemProps===!0?typeof t=="object"&&t!=null&&!Array.isArray(t)?"children"in t?es(t,["children"]):t:void 0:Bn(t,e.itemProps),l={title:n,value:r,...o};return{title:String(l.title??""),value:l.value,props:l,children:Array.isArray(i)?Kw(e,i):void 0,raw:t}}function Kw(e,t){const n=[];for(const r of t)n.push(ki(e,r));return n}function qw(e){const t=R(()=>Kw(e,e.items)),n=R(()=>t.value.some(o=>o.value===null));function r(o){return n.value||(o=o.filter(l=>l!==null)),o.map(l=>e.returnObject&&typeof l=="string"?ki(e,l):t.value.find(u=>e.valueComparator(l,u.value))||ki(e,l))}function i(o){return e.returnObject?o.map(l=>{let{raw:u}=l;return u}):o.map(l=>{let{value:u}=l;return u})}return{items:t,transformIn:r,transformOut:i}}function M3(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function F3(e,t){const n=Bn(t,e.itemType,"item"),r=M3(t)?t:Bn(t,e.itemTitle),i=Bn(t,e.itemValue,void 0),o=Bn(t,e.itemChildren),l=e.itemProps===!0?es(t,["children"]):Bn(t,e.itemProps),u={title:r,value:i,...l};return{type:n,title:u.title,value:u.value,props:u,children:n==="item"&&o?Yw(e,o):void 0,raw:t}}function Yw(e,t){const n=[];for(const r of t)n.push(F3(e,r));return n}function B3(e){return{items:R(()=>Yw(e,e.items))}}const $3=oe({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...w3({selectStrategy:"single-leaf",openStrategy:"list"}),...Ts(),...nt(),...Hr(),...No(),...rs(),itemType:{type:String,default:"type"},...jw(),...ir(),...Ut(),...Kt(),...Is({variant:"text"})},"VList"),Zw=Ie()({name:"VList",props:$3(),emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,t){let{slots:n}=t;const{items:r}=B3(e),{themeClasses:i}=tn(e),{backgroundColorClasses:o,backgroundColorStyles:l}=Un(_e(e,"bgColor")),{borderClasses:u}=li(e),{densityClasses:f}=ss(e),{dimensionStyles:d}=Uo(e),{elevationClasses:h}=Rs(e),{roundedClasses:m}=_r(e),{open:v,select:y}=S3(e),b=R(()=>e.lines?`v-list--${e.lines}-line`:void 0),w=_e(e,"activeColor"),x=_e(e,"baseColor"),T=_e(e,"color");Dw(),In({VListGroup:{activeColor:w,baseColor:x,color:T},VListItem:{activeClass:_e(e,"activeClass"),activeColor:w,baseColor:x,color:T,density:_e(e,"density"),disabled:_e(e,"disabled"),lines:_e(e,"lines"),nav:_e(e,"nav"),slim:_e(e,"slim"),variant:_e(e,"variant")}});const P=Ve(!1),C=Pe();function E(B){P.value=!0}function V(B){P.value=!1}function k(B){var j;!P.value&&!(B.relatedTarget&&((j=C.value)!=null&&j.contains(B.relatedTarget)))&&M()}function D(B){if(C.value){if(B.key==="ArrowDown")M("next");else if(B.key==="ArrowUp")M("prev");else if(B.key==="Home")M("first");else if(B.key==="End")M("last");else return;B.preventDefault()}}function L(B){P.value=!0}function M(B){if(C.value)return ju(C.value,B)}return Ge(()=>p(e.tag,{ref:C,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav,"v-list--slim":e.slim},i.value,o.value,u.value,f.value,h.value,b.value,m.value,e.class],style:[l.value,d.value,e.style],tabindex:e.disabled||P.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:E,onFocusout:V,onFocus:k,onKeydown:D,onMousedown:L},{default:()=>[p(Gw,{items:r.value,returnObject:e.returnObject},n)]})),{open:v,select:y,focus:M}}}),H3=oe({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...nt(),...zo({transition:{component:lw}})},"VCounter"),N3=Ie()({name:"VCounter",functional:!0,props:H3(),setup(e,t){let{slots:n}=t;const r=R(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return Ge(()=>p(bs,{transition:e.transition},{default:()=>[on(p("div",{class:["v-counter",e.class],style:e.style},[n.default?n.default({counter:r.value,max:e.max,value:e.value}):r.value]),[[yr,e.active]])]})),{}}}),U3=oe({text:String,clickable:Boolean,...nt(),...Kt()},"VLabel"),Um=Ie()({name:"VLabel",props:U3(),setup(e,t){let{slots:n}=t;return Ge(()=>{var r;return p("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(r=n.default)==null?void 0:r.call(n)])}),{}}}),z3=oe({floating:Boolean,...nt()},"VFieldLabel"),pu=Ie()({name:"VFieldLabel",props:z3(),setup(e,t){let{slots:n}=t;return Ge(()=>p(Um,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},n)),{}}});function Xw(e){const{t}=ks();function n(r){let{name:i}=r;const o={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[i],l=e[`onClick:${i}`],u=l&&o?t(`$vuetify.input.${o}`,e.label??""):void 0;return p(ut,{icon:e[`${i}Icon`],"aria-label":u,onClick:l},null)}return{InputIcon:n}}const Jw=oe({focused:Boolean,"onUpdate:focused":tr()},"focus");function Uc(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts();const n=pt(e,"focused"),r=R(()=>({[`${t}--focused`]:n.value}));function i(){n.value=!0}function o(){n.value=!1}return{focusClasses:r,isFocused:n,focus:i,blur:o}}const W3=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Qw=oe({appendInnerIcon:vt,bgColor:String,clearable:Boolean,clearIcon:{type:vt,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:vt,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>W3.includes(e)},"onClick:clear":tr(),"onClick:appendInner":tr(),"onClick:prependInner":tr(),...nt(),...Lm(),...ir(),...Kt()},"VField"),eS=Ie()({name:"VField",inheritAttrs:!1,props:{id:String,...Jw(),...Qw()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{themeClasses:o}=tn(e),{loaderClasses:l}=Fc(e),{focusClasses:u,isFocused:f,focus:d,blur:h}=Uc(e),{InputIcon:m}=Xw(e),{roundedClasses:v}=_r(e),{rtlClasses:y}=ns(),b=R(()=>e.dirty||e.active),w=R(()=>!e.singleLine&&!!(e.label||i.label)),x=sr(),T=R(()=>e.id||`input-${x}`),P=R(()=>`${T.value}-messages`),C=Pe(),E=Pe(),V=Pe(),k=R(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:D,backgroundColorStyles:L}=Un(_e(e,"bgColor")),{textColorClasses:M,textColorStyles:B}=Mr(R(()=>e.error||e.disabled?void 0:b.value&&f.value?e.color:e.baseColor));$e(b,K=>{if(w.value){const te=C.value.$el,ce=E.value.$el;requestAnimationFrame(()=>{const Q=Pm(te),ge=ce.getBoundingClientRect(),U=ge.x-Q.x,ae=ge.y-Q.y-(Q.height/2-ge.height/2),ye=ge.width/.75,ue=Math.abs(ye-Q.width)>1?{maxWidth:Be(ye)}:void 0,Se=getComputedStyle(te),be=getComputedStyle(ce),Oe=parseFloat(Se.transitionDuration)*1e3||150,Me=parseFloat(be.getPropertyValue("--v-field-label-scale")),Re=be.getPropertyValue("color");te.style.visibility="visible",ce.style.visibility="hidden",Pi(te,{transform:`translate(${U}px, ${ae}px) scale(${Me})`,color:Re,...ue},{duration:Oe,easing:$a,direction:K?"normal":"reverse"}).finished.then(()=>{te.style.removeProperty("visibility"),ce.style.removeProperty("visibility")})})}},{flush:"post"});const j=R(()=>({isActive:b,isFocused:f,controlRef:V,blur:h,focus:d}));function z(K){K.target!==document.activeElement&&K.preventDefault()}return Ge(()=>{var U,ae,ye;const K=e.variant==="outlined",te=i["prepend-inner"]||e.prependInnerIcon,ce=!!(e.clearable||i.clear),Q=!!(i["append-inner"]||e.appendInnerIcon||ce),ge=()=>i.label?i.label({...j.value,label:e.label,props:{for:T.value}}):e.label;return p("div",Ae({class:["v-field",{"v-field--active":b.value,"v-field--appended":Q,"v-field--center-affix":e.centerAffix??!k.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":te,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!ge(),[`v-field--variant-${e.variant}`]:!0},o.value,D.value,u.value,l.value,v.value,y.value,e.class],style:[L.value,e.style],onClick:z},n),[p("div",{class:"v-field__overlay"},null),p(Om,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:i.loader}),te&&p("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&p(m,{key:"prepend-icon",name:"prependInner"},null),(U=i["prepend-inner"])==null?void 0:U.call(i,j.value)]),p("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&w.value&&p(pu,{key:"floating-label",ref:E,class:[M.value],floating:!0,for:T.value,style:B.value},{default:()=>[ge()]}),p(pu,{ref:C,for:T.value},{default:()=>[ge()]}),(ae=i.default)==null?void 0:ae.call(i,{...j.value,props:{id:T.value,class:"v-field__input","aria-describedby":P.value},focus:d,blur:h})]),ce&&p(uw,{key:"clear"},{default:()=>[on(p("div",{class:"v-field__clearable",onMousedown:ue=>{ue.preventDefault(),ue.stopPropagation()}},[i.clear?i.clear():p(m,{name:"clear"},null)]),[[yr,e.dirty]])]}),Q&&p("div",{key:"append",class:"v-field__append-inner"},[(ye=i["append-inner"])==null?void 0:ye.call(i,j.value),e.appendInnerIcon&&p(m,{key:"append-icon",name:"appendInner"},null)]),p("div",{class:["v-field__outline",M.value],style:B.value},[K&&p(He,null,[p("div",{class:"v-field__outline__start"},null),w.value&&p("div",{class:"v-field__outline__notch"},[p(pu,{ref:E,floating:!0,for:T.value},{default:()=>[ge()]})]),p("div",{class:"v-field__outline__end"},null)]),k.value&&w.value&&p(pu,{ref:E,floating:!0,for:T.value},{default:()=>[ge()]})])])}),{controlRef:V}}});function G3(e){const t=Object.keys(eS.props).filter(n=>!Tc(n)&&n!=="class"&&n!=="style");return A_(e,t)}const j3=oe({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...nt(),...zo({transition:{component:lw,leaveAbsolute:!0,group:!0}})},"VMessages"),K3=Ie()({name:"VMessages",props:j3(),setup(e,t){let{slots:n}=t;const r=R(()=>Tn(e.messages)),{textColorClasses:i,textColorStyles:o}=Mr(R(()=>e.color));return Ge(()=>p(bs,{transition:e.transition,tag:"div",class:["v-messages",i.value,e.class],style:[o.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&r.value.map((l,u)=>p("div",{class:"v-messages__message",key:`${u}-${r.value}`},[n.message?n.message({message:l}):l]))]})),{}}}),q3=oe({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...Jw()},"validation");function Y3(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ts(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:sr();const r=pt(e,"modelValue"),i=R(()=>e.validationValue===void 0?r.value:e.validationValue),o=$m(),l=Pe([]),u=Ve(!0),f=R(()=>!!(Tn(r.value===""?null:r.value).length||Tn(i.value===""?null:i.value).length)),d=R(()=>!!(e.disabled??(o==null?void 0:o.isDisabled.value))),h=R(()=>!!(e.readonly??(o==null?void 0:o.isReadonly.value))),m=R(()=>{var E;return(E=e.errorMessages)!=null&&E.length?Tn(e.errorMessages).concat(l.value).slice(0,Math.max(0,+e.maxErrors)):l.value}),v=R(()=>{let E=(e.validateOn??(o==null?void 0:o.validateOn.value))||"input";E==="lazy"&&(E="input lazy");const V=new Set((E==null?void 0:E.split(" "))??[]);return{blur:V.has("blur")||V.has("input"),input:V.has("input"),submit:V.has("submit"),lazy:V.has("lazy")}}),y=R(()=>{var E;return e.error||(E=e.errorMessages)!=null&&E.length?!1:e.rules.length?u.value?l.value.length||v.value.lazy?null:!0:!l.value.length:!0}),b=Ve(!1),w=R(()=>({[`${t}--error`]:y.value===!1,[`${t}--dirty`]:f.value,[`${t}--disabled`]:d.value,[`${t}--readonly`]:h.value})),x=R(()=>e.name??jt(n));Za(()=>{o==null||o.register({id:x.value,validate:C,reset:T,resetValidation:P})}),wn(()=>{o==null||o.unregister(x.value)}),nr(async()=>{v.value.lazy||await C(!0),o==null||o.update(x.value,y.value,m.value)}),Zr(()=>v.value.input,()=>{$e(i,()=>{if(i.value!=null)C();else if(e.focused){const E=$e(()=>e.focused,V=>{V||C(),E()})}})}),Zr(()=>v.value.blur,()=>{$e(()=>e.focused,E=>{E||C()})}),$e(y,()=>{o==null||o.update(x.value,y.value,m.value)});function T(){r.value=null,Bt(P)}function P(){u.value=!0,v.value.lazy?l.value=[]:C(!0)}async function C(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const V=[];b.value=!0;for(const k of e.rules){if(V.length>=+(e.maxErrors??1))break;const L=await(typeof k=="function"?k:()=>k)(i.value);if(L!==!0){if(L!==!1&&typeof L!="string"){console.warn(`${L} is not a valid value. Rule functions must return boolean true or a string.`);continue}V.push(L||"")}}return l.value=V,b.value=!1,u.value=E,l.value}return{errorMessages:m,isDirty:f,isDisabled:d,isReadonly:h,isPristine:u,isValid:y,isValidating:b,reset:T,resetValidation:P,validate:C,validationClasses:w}}const fl=oe({id:String,appendIcon:vt,centerAffix:{type:Boolean,default:!0},prependIcon:vt,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":tr(),"onClick:append":tr(),...nt(),...Hr(),...q3()},"VInput"),ii=Ie()({name:"VInput",props:{...fl()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r,emit:i}=t;const{densityClasses:o}=ss(e),{rtlClasses:l}=ns(),{InputIcon:u}=Xw(e),f=sr(),d=R(()=>e.id||`input-${f}`),h=R(()=>`${d.value}-messages`),{errorMessages:m,isDirty:v,isDisabled:y,isReadonly:b,isPristine:w,isValid:x,isValidating:T,reset:P,resetValidation:C,validate:E,validationClasses:V}=Y3(e,"v-input",d),k=R(()=>({id:d,messagesId:h,isDirty:v,isDisabled:y,isReadonly:b,isPristine:w,isValid:x,isValidating:T,reset:P,resetValidation:C,validate:E})),D=R(()=>{var L;return(L=e.errorMessages)!=null&&L.length||!w.value&&m.value.length?m.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return Ge(()=>{var z,K,te,ce;const L=!!(r.prepend||e.prependIcon),M=!!(r.append||e.appendIcon),B=D.value.length>0,j=!e.hideDetails||e.hideDetails==="auto"&&(B||!!r.details);return p("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},o.value,l.value,V.value,e.class],style:e.style},[L&&p("div",{key:"prepend",class:"v-input__prepend"},[(z=r.prepend)==null?void 0:z.call(r,k.value),e.prependIcon&&p(u,{key:"prepend-icon",name:"prepend"},null)]),r.default&&p("div",{class:"v-input__control"},[(K=r.default)==null?void 0:K.call(r,k.value)]),M&&p("div",{key:"append",class:"v-input__append"},[e.appendIcon&&p(u,{key:"append-icon",name:"append"},null),(te=r.append)==null?void 0:te.call(r,k.value)]),j&&p("div",{class:"v-input__details"},[p(K3,{id:h.value,active:B,messages:D.value},{message:r.message}),(ce=r.details)==null?void 0:ce.call(r,k.value)])])}),{reset:P,resetValidation:C,validate:E,isValid:x,errorMessages:m}}}),Z3=["color","file","time","date","datetime-local","week","month"],zm=oe({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...fl(),...Qw()},"VTextField"),Rn=Ie()({name:"VTextField",directives:{Intersect:zw},inheritAttrs:!1,props:zm(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const o=pt(e,"modelValue"),{isFocused:l,focus:u,blur:f}=Uc(e),d=R(()=>typeof e.counterValue=="function"?e.counterValue(o.value):typeof e.counterValue=="number"?e.counterValue:(o.value??"").toString().length),h=R(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),m=R(()=>["plain","underlined"].includes(e.variant));function v(k,D){var L,M;!e.autofocus||!k||(M=(L=D[0].target)==null?void 0:L.focus)==null||M.call(L)}const y=Pe(),b=Pe(),w=Pe(),x=R(()=>Z3.includes(e.type)||e.persistentPlaceholder||l.value||e.active);function T(){var k;w.value!==document.activeElement&&((k=w.value)==null||k.focus()),l.value||u()}function P(k){r("mousedown:control",k),k.target!==w.value&&(T(),k.preventDefault())}function C(k){T(),r("click:control",k)}function E(k){k.stopPropagation(),T(),Bt(()=>{o.value=null,KD(e["onClick:clear"],k)})}function V(k){var L;const D=k.target;if(o.value=D.value,(L=e.modelModifiers)!=null&&L.trim&&["text","search","password","tel","url"].includes(e.type)){const M=[D.selectionStart,D.selectionEnd];Bt(()=>{D.selectionStart=M[0],D.selectionEnd=M[1]})}}return Ge(()=>{const k=!!(i.counter||e.counter!==!1&&e.counter!=null),D=!!(k||i.details),[L,M]=nl(n),{modelValue:B,...j}=ii.filterProps(e),z=G3(e);return p(ii,Ae({ref:y,modelValue:o.value,"onUpdate:modelValue":K=>o.value=K,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":m.value},e.class],style:e.style},L,j,{centerAffix:!m.value,focused:l.value}),{...i,default:K=>{let{id:te,isDisabled:ce,isDirty:Q,isReadonly:ge,isValid:U}=K;return p(eS,Ae({ref:b,onMousedown:P,onClick:C,"onClick:clear":E,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},z,{id:te.value,active:x.value||Q.value,dirty:Q.value||e.dirty,disabled:ce.value,focused:l.value,error:U.value===!1}),{...i,default:ae=>{let{props:{class:ye,...ue}}=ae;const Se=on(p("input",Ae({ref:w,value:o.value,onInput:V,autofocus:e.autofocus,readonly:ge.value,disabled:ce.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:T,onBlur:f},ue,M),null),[[Xr("intersect"),{handler:v},null,{once:!0}]]);return p(He,null,[e.prefix&&p("span",{class:"v-text-field__prefix"},[p("span",{class:"v-text-field__prefix__text"},[e.prefix])]),i.default?p("div",{class:ye,"data-no-activator":""},[i.default(),Se]):Lr(Se,{class:ye}),e.suffix&&p("span",{class:"v-text-field__suffix"},[p("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:D?K=>{var te;return p(He,null,[(te=i.details)==null?void 0:te.call(i,K),k&&p(He,null,[p("span",null,null),p(N3,{active:e.persistentCounter||l.value,value:d.value,max:h.value},i.counter)])])}:void 0})}),Wo({},y,b,w)}}),X3={name:"ChangePasswordDialog",components:{SubmitFooter:Go,CloseButton:Lw},props:{user:{type:Object,required:!0},isAdminMode:{type:Boolean,default:!1},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{rules:{oldPassword:[e=>!!e||"Old Password is required"],password:[e=>e?e.length<this.MIN_PASSWORD_LENGTH?`Password must be ${this.MIN_PASSWORD_LENGTH} characters long`:e===this.credentials.oldPassword?"New password must be different than old password":!0:"New Password is required"],passwordConfirm:[e=>e===this.credentials.password||"Passwords must match"]},credentials:{oldPassword:"",password:"",passwordConfirm:""},submitButtonEnabled:!1,showDialog:!1,mdiLockReset:OF,mdiLockPlusOutline:LF}},computed:{...kt(Rt,{formErrors:e=>e.form.errors,formSuccess:e=>e.form.success,MIN_PASSWORD_LEN:e=>e.MIN_PASSWORD_LEN})},watch:{showDialog(e){if(e){const t=this.$refs.form;t&&t.reset(),this.clearErrors()}},credentials:{handler(){const e=this.$refs.form;if(!e){this.submitButtonEnabled=!1;return}e.validate().then(({valid:t})=>this.submitButtonEnabled=t).catch(()=>{this.submitButtonEnabled=!1})},deep:!0}},mounted(){window.addEventListener("keyup",this._keyListener)},beforeUnmount(){window.removeEventListener("keyup",this._keyListener)},methods:{...Xt(bn,["changePassword"]),...Xt(Rt,["clearErrors"]),doUserChange(){return Dt().changeUserPassword(this.user.pk,this.credentials).catch(console.error)},doSelfChange(){return this.changePassword(this.credentials).catch(console.error)},submit(){const e=this.$refs.form;e&&e.validate().then(({valid:t})=>{if(t)return this.isAdminMode?this.doUserChange():this.doSelfChange()}).catch(console.error)},_keyListener(e){e.stopImmediatePropagation()}}},J3={key:0,class:"codexFormSuccess"},Q3=["value"];function e4(e,t,n,r,i,o){const l=Lw,u=Go;return n.user?(ie(),Ze(ul,{key:0,modelValue:i.showDialog,"onUpdate:modelValue":t[7]||(t[7]=f=>i.showDialog=f),origin:"center-top",transition:"slide-y-transition","max-width":"22em"},{activator:le(({props:f})=>[n.isAdminMode?(ie(),Ze(Zt,Ae({key:0,icon:""},f,{size:n.size,density:n.density,title:"Change Password"}),{default:le(()=>[p(ut,null,{default:le(()=>[De(Te(i.mdiLockPlusOutline),1)]),_:1})]),_:2},1040,["size","density"])):(ie(),Ze(Fr,Fh(Ae({key:1},f)),{default:le(()=>[p(cl,null,{default:le(()=>[p(ut,null,{default:le(()=>[De(Te(i.mdiLockReset),1)]),_:1}),De("Change Password ")]),_:1})]),_:2},1040))]),default:le(()=>[e.formSuccess?(ie(),We("div",J3,[De(Te(e.formSuccess)+" ",1),p(l,{onClick:t[0]||(t[0]=f=>i.showDialog=!1)})])):(ie(),Ze(Hm,{key:1,ref:"form",class:"changePasswordForm"},{default:le(()=>[H("h2",null,"User "+Te(n.user.username),1),H("input",{name:"username",autocomplete:"username",disabled:"",type:"text",class:"hidden",value:n.user.username},null,8,Q3),n.isAdminMode?xt("",!0):(ie(),Ze(Rn,{key:0,ref:"oldPassword",modelValue:i.credentials.oldPassword,"onUpdate:modelValue":t[1]||(t[1]=f=>i.credentials.oldPassword=f),autocomplete:"current-password",label:"Old Password",rules:i.rules.oldPassword,clearable:"",type:"password",autofocus:"",onKeydown:t[2]||(t[2]=Cs(f=>e.$refs.password.focus(),["enter"]))},null,8,["modelValue","rules"])),p(Rn,{ref:"password",modelValue:i.credentials.password,"onUpdate:modelValue":t[3]||(t[3]=f=>i.credentials.password=f),autocomplete:"new-password",label:"New Password",rules:i.rules.password,clearable:"",type:"password",autofocus:n.isAdminMode,onKeydown:t[4]||(t[4]=Cs(f=>e.$refs.passwordConfirm.focus(),["enter"]))},null,8,["modelValue","rules","autofocus"]),p(Rn,{ref:"passwordConfirm",modelValue:i.credentials.passwordConfirm,"onUpdate:modelValue":t[5]||(t[5]=f=>i.credentials.passwordConfirm=f),autocomplete:"new-password",label:"Confirm Password",rules:i.rules.passwordConfirm,clearable:"",type:"password"},null,8,["modelValue","rules"]),p(u,{verb:"Change",table:"Password",disabled:!i.submitButtonEnabled,onSubmit:o.submit,onCancel:t[6]||(t[6]=f=>i.showDialog=!1)},null,8,["disabled","onSubmit"])]),_:1},512))]),_:1},8,["modelValue"])):xt("",!0)}const zc=ct(X3,[["render",e4],["__scopeId","data-v-19b56e24"]]),tS=Symbol.for("vuetify:selection-control-group"),Wm=oe({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:vt,trueIcon:vt,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:ai},...nt(),...Hr(),...Kt()},"SelectionControlGroup"),t4=oe({...Wm({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),n4=Ie()({name:"VSelectionControlGroup",props:t4(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=pt(e,"modelValue"),i=sr(),o=R(()=>e.id||`v-selection-control-group-${i}`),l=R(()=>e.name||o.value),u=new Set;return Et(tS,{modelValue:r,forceUpdate:()=>{u.forEach(f=>f())},onForceUpdate:f=>{u.add(f),_n(()=>{u.delete(f)})}}),In({[e.defaultsTarget]:{color:_e(e,"color"),disabled:_e(e,"disabled"),density:_e(e,"density"),error:_e(e,"error"),inline:_e(e,"inline"),modelValue:r,multiple:R(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),name:l,falseIcon:_e(e,"falseIcon"),trueIcon:_e(e,"trueIcon"),readonly:_e(e,"readonly"),ripple:_e(e,"ripple"),type:_e(e,"type"),valueComparator:_e(e,"valueComparator")}}),Ge(()=>{var f;return p("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(f=n.default)==null?void 0:f.call(n)])}),{}}}),Wc=oe({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...nt(),...Wm()},"VSelectionControl");function r4(e){const t=lt(tS,void 0),{densityClasses:n}=ss(e),r=pt(e,"modelValue"),i=R(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),o=R(()=>e.falseValue!==void 0?e.falseValue:!1),l=R(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),u=R({get(){const y=t?t.modelValue.value:r.value;return l.value?Tn(y).some(b=>e.valueComparator(b,i.value)):e.valueComparator(y,i.value)},set(y){if(e.readonly)return;const b=y?i.value:o.value;let w=b;l.value&&(w=y?[...Tn(r.value),b]:Tn(r.value).filter(x=>!e.valueComparator(x,i.value))),t?t.modelValue.value=w:r.value=w}}),{textColorClasses:f,textColorStyles:d}=Mr(R(()=>{if(!(e.error||e.disabled))return u.value?e.color:e.baseColor})),{backgroundColorClasses:h,backgroundColorStyles:m}=Un(R(()=>u.value&&!e.error&&!e.disabled?e.color:void 0)),v=R(()=>u.value?e.trueIcon:e.falseIcon);return{group:t,densityClasses:n,trueValue:i,falseValue:o,model:u,textColorClasses:f,textColorStyles:d,backgroundColorClasses:h,backgroundColorStyles:m,icon:v}}const Vo=Ie()({name:"VSelectionControl",directives:{Ripple:ll},inheritAttrs:!1,props:Wc(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{group:i,densityClasses:o,icon:l,model:u,textColorClasses:f,textColorStyles:d,backgroundColorClasses:h,backgroundColorStyles:m,trueValue:v}=r4(e),y=sr(),b=R(()=>e.id||`input-${y}`),w=Ve(!1),x=Ve(!1),T=Pe();i==null||i.onForceUpdate(()=>{T.value&&(T.value.checked=u.value)});function P(V){w.value=!0,Ku(V.target,":focus-visible")!==!1&&(x.value=!0)}function C(){w.value=!1,x.value=!1}function E(V){e.readonly&&i&&Bt(()=>i.forceUpdate()),u.value=V.target.checked}return Ge(()=>{var M,B;const V=r.label?r.label({label:e.label,props:{for:b.value}}):e.label,[k,D]=nl(n),L=p("input",Ae({ref:T,checked:u.value,disabled:!!(e.readonly||e.disabled),id:b.value,onBlur:C,onFocus:P,onInput:E,"aria-disabled":!!(e.readonly||e.disabled),type:e.type,value:v.value,name:e.name,"aria-checked":e.type==="checkbox"?u.value:void 0},D),null);return p("div",Ae({class:["v-selection-control",{"v-selection-control--dirty":u.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":w.value,"v-selection-control--focus-visible":x.value,"v-selection-control--inline":e.inline},o.value,e.class]},k,{style:e.style}),[p("div",{class:["v-selection-control__wrapper",f.value],style:d.value},[(M=r.default)==null?void 0:M.call(r,{backgroundColorClasses:h,backgroundColorStyles:m}),on(p("div",{class:["v-selection-control__input"]},[((B=r.input)==null?void 0:B.call(r,{model:u,textColorClasses:f,textColorStyles:d,backgroundColorClasses:h,backgroundColorStyles:m,inputNode:L,icon:l.value,props:{onFocus:P,onBlur:C,id:b.value}}))??p(He,null,[l.value&&p(ut,{key:"icon",icon:l.value},null),L])]),[[Xr("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),V&&p(Um,{for:b.value,clickable:!0,onClick:j=>j.stopPropagation()},{default:()=>[V]})])}),{isFocused:w,input:T}}}),s4=oe({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...fl(),...Wc()},"VSwitch"),i4=Ie()({name:"VSwitch",inheritAttrs:!1,props:s4(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const i=pt(e,"indeterminate"),o=pt(e,"modelValue"),{loaderClasses:l}=Fc(e),{isFocused:u,focus:f,blur:d}=Uc(e),h=Pe(),m=R(()=>typeof e.loading=="string"&&e.loading!==""?e.loading:e.color),v=sr(),y=R(()=>e.id||`switch-${v}`);function b(){i.value&&(i.value=!1)}function w(x){var T,P;x.stopPropagation(),x.preventDefault(),(P=(T=h.value)==null?void 0:T.input)==null||P.click()}return Ge(()=>{const[x,T]=nl(n),P=ii.filterProps(e),C=Vo.filterProps(e);return p(ii,Ae({class:["v-switch",{"v-switch--inset":e.inset},{"v-switch--indeterminate":i.value},l.value,e.class]},x,P,{modelValue:o.value,"onUpdate:modelValue":E=>o.value=E,id:y.value,focused:u.value,style:e.style}),{...r,default:E=>{let{id:V,messagesId:k,isDisabled:D,isReadonly:L,isValid:M}=E;return p(Vo,Ae({ref:h},C,{modelValue:o.value,"onUpdate:modelValue":[B=>o.value=B,b],id:V.value,"aria-describedby":k.value,type:"checkbox","aria-checked":i.value?"mixed":void 0,disabled:D.value,readonly:L.value,onFocus:f,onBlur:d},T),{...r,default:B=>{let{backgroundColorClasses:j,backgroundColorStyles:z}=B;return p("div",{class:["v-switch__track",...j.value],style:z.value,onClick:w},null)},input:B=>{let{inputNode:j,icon:z,backgroundColorClasses:K,backgroundColorStyles:te}=B;return p(He,null,[j,p("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":z||e.loading},e.inset?void 0:K.value],style:e.inset?void 0:te.value},[p(ZF,null,{default:()=>[e.loading?p(Om,{name:"v-switch",active:!0,color:M.value===!1?void 0:m.value},{default:ce=>r.loader?r.loader(ce):p(mw,{active:ce.isActive,color:ce.color,indeterminate:!0,size:"16",width:"2"},null)}):z&&p(ut,{key:z,icon:z,size:"x-small"},null)]})])])}})}})}),{}}}),o4={name:"AuthLoginDialog",components:{SubmitFooter:Go},data(){return{rules:{username:[e=>!!e||"Username is required"],password:[e=>e?this.registerMode&&e.length<this.MIN_PASSWORD_LEN?`Password must be ${this.MIN_PASSWORD_LEN} characters long`:!0:"Password is required"],passwordConfirm:[e=>e===this.credentials.password||"Passwords must match"]},formModel:{},credentials:{username:"",password:"",passwordConfirm:""},submitButtonEnabled:!1,showDialog:!1,registerMode:!1,mdiLogin:DF}},computed:{...kt(Rt,{formErrors:e=>e.form.errors,formSuccess:e=>e.form.success}),...kt(bn,{adminFlags:e=>e.adminFlags,MIN_PASSWORD_LEN:e=>e.MIN_PASSWORD_LEN}),submitButtonLabel:function(){return this.registerMode?"Register":"Login"}},watch:{showDialog(e){e&&(this.loadAdminFlags(),this.$refs.form&&this.$refs.form.reset())},credentials:{handler(){const e=this.$refs.form;e?e.validate().then(({valid:t})=>this.submitButtonEnabled=t).catch(console.error):this.submitButtonEnabled=!1},deep:!0}},mounted(){window.addEventListener("keyup",this._keyListener)},beforeUnmount(){window.removeEventListener("keyup",this._keyListener)},methods:{...Xt(bn,["loadAdminFlags","login","register"]),doAuth(e){return this[e](this.credentials).then(()=>this.showDialog=this.formErrors&&this.formErrors.length>0).catch(console.error)},submit(){this.$refs.form.validate().then(({valid:t})=>{if(!t)return;const n=this.registerMode?"register":"login";return this.doAuth(n)}).catch(console.error)},_keyListener(e){e.stopImmediatePropagation()}}};function a4(e,t,n,r,i,o){const l=Go;return ie(),Ze(ul,{modelValue:i.showDialog,"onUpdate:modelValue":t[7]||(t[7]=u=>i.showDialog=u),origin:"center-top",transition:"slide-y-transition","max-width":"20em"},{activator:le(({props:u})=>[p(Fr,Fh(lm(u)),{default:le(()=>[p(cl,null,{default:le(()=>[p(ut,null,{default:le(()=>[De(Te(i.mdiLogin),1)]),_:1}),De(" Login ")]),_:1})]),_:2},1040)]),default:le(()=>[p(Hm,{id:"authDialog",ref:"form"},{default:le(()=>[p(Rn,{modelValue:i.credentials.username,"onUpdate:modelValue":t[0]||(t[0]=u=>i.credentials.username=u),autocomplete:"username",label:"Username",rules:i.rules.username,clearable:"",autofocus:"",onKeydown:t[1]||(t[1]=Cs(u=>e.$refs.password.focus(),["enter"]))},null,8,["modelValue","rules"]),p(Rn,{ref:"password",modelValue:i.credentials.password,"onUpdate:modelValue":t[2]||(t[2]=u=>i.credentials.password=u),autocomplete:i.registerMode?"new-password":"current-password",label:"Password",rules:i.rules.password,clearable:"",type:"password",onKeydown:t[3]||(t[3]=Cs(u=>{i.registerMode?e.$refs.passwordConfirm.focus():o.submit()},["enter"]))},null,8,["modelValue","autocomplete","rules"]),p(ol,null,{default:le(()=>[i.registerMode?(ie(),Ze(Rn,{key:0,ref:"passwordConfirm",modelValue:i.credentials.passwordConfirm,"onUpdate:modelValue":t[4]||(t[4]=u=>i.credentials.passwordConfirm=u),autocomplete:"new-password",label:"Confirm Password",rules:i.rules.passwordConfirm,clearable:"",type:"password",onKeydown:Cs(o.submit,["enter"])},null,8,["modelValue","rules","onKeydown"])):xt("",!0)]),_:1}),e.adminFlags.registration?(ie(),Ze(i4,{key:0,modelValue:i.registerMode,"onUpdate:modelValue":t[5]||(t[5]=u=>i.registerMode=u),label:"Register"},{default:le(()=>[De(" Register ")]),_:1},8,["modelValue"])):xt("",!0),p(l,{verb:i.registerMode?"Register":"Login",table:"",disabled:!i.submitButtonEnabled,onSubmit:o.submit,onCancel:t[6]||(t[6]=u=>i.showDialog=!1)},null,8,["verb","disabled","onSubmit"])]),_:1},512)]),_:1},8,["modelValue"])}const l4=ct(o4,[["render",a4],["__scopeId","data-v-ef06f84f"]]),u4={name:"AuthLogoutItem",data:function(){return{mdiLogout:MF}},computed:{...kt(bn,{username:e=>e.user.username})},methods:{...Xt(bn,["logout"])}};function c4(e,t,n,r,i,o){return ie(),Ze(Fr,{onClick:e.logout},{default:le(()=>[p(cl,null,{default:le(()=>[p(ut,null,{default:le(()=>[De(Te(e.mdiLogout),1)]),_:1}),De("Logout "+Te(e.username),1)]),_:1})]),_:1},8,["onClick"])}const f4=ct(u4,[["render",c4]]),d4={name:"AuthMenu",components:{ChangePasswordDialog:zc,AuthLoginDialog:l4,AuthLogoutItem:f4},computed:{...kt(bn,{user:e=>e.user})},methods:{...Xt(bn,["logout"])}};function h4(e,t,n,r,i,o){const l=Ft("AuthLogoutItem"),u=zc,f=Ft("AuthLoginDialog");return ie(),We(He,null,[e.user?(ie(),Ze(l,{key:0})):xt("",!0),e.user?(ie(),Ze(u,{key:1,user:e.user},null,8,["user"])):(ie(),Ze(f,{key:2}))],64)}const nS=ct(d4,[["render",h4]]),Ny=$r(tm(()=>br(()=>import("./admin-drawer-panel-v7PBN80C.js").then(e=>e.a),__vite__mapDeps([8,9])))),m4={name:"SettingsCommonPanel",components:{AuthMenu:nS,AdminMenu:Ny},props:{adminMenu:{type:Boolean,default:!0}},data(){return{AdminMenu:Ny}},computed:{...Bo(bn,["isUserAdmin"])}},v4={id:"commonPanel"};function g4(e,t,n,r,i,o){const l=nS;return ie(),We("div",v4,[p(l),e.isUserAdmin?(ie(),Ze(za,{key:0})):xt("",!0),e.isUserAdmin?(ie(),Ze(ji(i.AdminMenu),{key:1,menu:n.adminMenu},null,8,["menu"])):xt("",!0)])}const p4=ct(m4,[["render",g4],["__scopeId","data-v-a21632a4"]]),y4=e=>{const t=e.pk,n=rr();return e={...e,...n},delete e.pk,ot.get(`c/${t}`,{params:e})},b4=()=>{const e=rr();return ot.get("c/settings",{params:e})},_4=e=>ot.put("c/settings",e),EN=e=>{const t=Ec(e),n=rr().ts;return`${t}/download/comic-${e}.cbz?ts=${n}`},PN=({pk:e,page:t})=>{const n=Ec(e),r=rr().ts;return`${n}/${t}/page.jpg?ts=${r}`},w4=({pk:e,page:t})=>{const n=_m(e),r=rr().ts;return`${n}/${t}/page.jpg?ts=${r}`},Ld={getReaderBasePath:_m,getReaderInfo:y4,getReaderSettings:b4,setReaderSettings:_4},S4=function(e){let t;return e?t=e.length===4&&!Number.isNaN(e)?" ("+e+")":" v"+e:t="",t},C4=function({issueNumber:e,issueSuffix:t},n){let r;try{e==null&&!t&&(e=0);const i=Number.parseFloat(e),o=Math.floor(i);n===void 0&&(n=0),i===o?r=o.toString():(r=i.toString(),n+=r.split(".")[1].length+1),r=r.padStart(n,"0")}catch{r=""}return t&&(r+=t),r},x4=function({issueNumber:e,issueSuffix:t,issueCount:n},r){let i="#"+C4({issueNumber:e,issueSuffix:t},r);return n&&(i+=` of ${n}`),i},A4=function({seriesName:e,volumeName:t,issueNumber:n,issueSuffix:r,issueCount:i},o){const l=S4(t),u=x4({issueNumber:n,issueSuffix:r,issueCount:i},o);return[e,l,u].filter(Boolean).join(" ")},rS={fitTo:"",twoPages:null,readingDirection:"",readRtlInReverse:null};Object.freeze(rS);const Eu=new Set(["",null,void 0]);Object.freeze(Eu);const sS={prev:"next",next:"prev"};Object.freeze(sS);const iS={rel:"prefetch",as:"image"};Object.freeze(iS);const Eh=new Set(["ttb","btt"]);Object.freeze(Eh);const oS=new Set(["rtl","btt"]);Object.freeze(oS);const E4=()=>Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>600?"HEIGHT":"WIDTH",P4=Ja("reader",{state:()=>({choices:{fitTo:Pn.reader.fitTo,readingDirection:Pn.reader.readingDirection,nullValues:Eu},readerSettings:{fitTo:E4(),twoPages:!1,readingDirection:"ltr",readRtlInReverse:!1},books:{current:void 0,prev:!1,next:!1},arcs:[],arc:{},page:void 0,routes:{prev:!1,next:!1,books:{prev:!1,next:!1}},bookChange:void 0,reactWithScroll:!1}),getters:{groupBooks(e){const t=[];return e.books.prev[0]&&t.push[e.books.prev[0]],t.push[e.books.current],e.books.next[0]&&t.push[e.books.next[0]],t},activeSettings(e){return e.getSettings(e.books.current)||{}},activeTitle(e){var r;const t=e.books.current;let n;return((r=e.arcs[0])==null?void 0:r.group)==="f"&&(n=t==null?void 0:t.filename),n||(n=t?A4(t):""),n},isOnCoverPage(e){return this._isCoverPage(e.books.current,e.page)},routeParams(e){return{pk:+e.books.current.pk,page:+e.page}},isVertical(e){return Eh.has(e.activeSettings.readingDirection)},isReadInReverse(e){return oS.has(e.activeSettings.readingDirection)},isBTT(e){return e.activeSettings.readingDirection==="btt"},isFirstPage(e){return e.page===0},isLastPage(e){const t=e.books.current?e.books.current.maxPage:0,n=e.activeSettings.twoPages?1:0,r=t-n;return this.page>=r}},actions:{setReadRTLInReverse(e){return this.readerSettings.readRtlInReverse&&e.readingDirection==="rtl"?{...e,readingDirection:"ltr"}:e},getSettings(e){const t={...Eu};let n=e?e.settings:{};n=this.setReadRTLInReverse(n);const r=[this.readerSettings,n];for(const i of r)for(const[o,l]of Object.entries(i))Eu.has(l)||(t[o]=l);return t.twoPages=Eh.has(t.readingDirection)&&t.twoPages,t},bookChangeLocation(e){let t;return this.isBTT?t=e==="next"?"left":"right":t=e==="next"?"right":"left",t},bookChangeCursorClass(e){let t;return this.isReadInReverse?t=e==="next"?"up":"down":t=e==="next"?"down":"up",t+"Cursor"},bookChangeShow(e){return e==="prev"?this.books.prev&&this.isFirstPage:this.books.next&&this.isLastPage},bookChangeIcon(e){let t=e==="next";return this.isBTT&&(t=!t),t?EF:PF},_isCoverPage(e,t){return e.readLtr!==!1&&t===0||e.readLtr&&t===e.maxPage},_getRouteParams(e,t,n){const r=n==="prev"?-1:1;let i=1;this.getSettings(e).twoPages&&!this._isCoverPage(e,+t+r)&&(i=2),i=i*r;const l=+t+i;let u=!1;return l>=0&&l<=e.maxPage&&(u={pk:e.pk,page:l}),u},_updateSettings(e,t){t?this.books.current.settings={...this.books.current.settings,...e}:this.readerSettings={...this.readerSettings,...e}},_getBookRoutePage(e,t){let n=0;if(t&&e.readLtr!==!1||!t&&e.readLtr===!1){const i=this.getSettings(e).twoPages?-1:0;n=e.maxPage+i}return n},_getBookRoute(e,t){if(!e)return!1;const n=this._getBookRoutePage(e,t);return{pk:e.pk,page:n}},_getBookRoutes(e,t){return{prev:this._getBookRoute(e,!0),next:this._getBookRoute(t,!1)}},async setRoutesAndBookmarkPage(e){const t=this.books.current;this.$patch(n=>{n.routes.prev=this._getRouteParams(t,e,"prev"),n.routes.next=this._getRouteParams(t,e,"next")}),await this._setBookmarkPage(e).then(()=>(this.bookChange=void 0,!0))},setActivePage(e,t=!0){if(e<0)return console.warn("Page out of bounds. Redirecting to 0."),this.routeToPage(0);if(e>this.books.current.maxPage)return console.warn(`Page out of bounds. Redirecting to ${this.books.current.maxPage}.`),this.routeToPage(this.books.current.maxPage);if(this.reactWithScroll=!!t,this.page=+e,this.setRoutesAndBookmarkPage(e),this.isVertical){const n={params:{pk:this.books.current.pk,page:e}},{href:r}=Ar.resolve(n);window.history.pushState({},void 0,r)}else window.scrollTo(0,0)},async loadReaderSettings(){return Ld.getReaderSettings().then(e=>{const t=e.data;return this._updateSettings(t,!1),!0}).catch(console.error)},async loadBooks(e){await Ld.getReaderInfo(e).then(t=>{const n=t.data,r=[n.books.prevBook,n.books.current,n.books.nextBook];for(const o of r)o&&!o.settings&&(o.settings={});const i=this._getBookRoutes(n.books.prevBook,n.books.nextBook);return this.$patch(o=>{o.books.current=n.books.current,o.books.prev=n.books.prevBook,o.books.next=n.books.nextBook,o.arcs=n.arcs,o.arc=n.arc,o.routes.prev=this._getRouteParams(o.books.current,e.page,"prev"),o.routes.next=this._getRouteParams(o.books.current,e.page,"next"),o.routes.books=i}),!0}).catch(t=>{console.debug(t);const n=kc().page,r=n&&n.routes?n.routes.last:{name:"home"};return Ar.push(r)})},async _setBookmarkPage(e){const t={group:"c",pk:this.books.current.pk};e=Math.max(Math.min(this.books.current.maxPage,e),0);const n={page:e};await Ai.setGroupBookmarks(t,n)},async setSettingsLocal(e){this._updateSettings(e,!0),await Ai.setGroupBookmarks({group:"c",pk:+this.books.current.pk},this.books.current.settings)},async clearSettingsLocal(){await this.setSettingsLocal(rS)},async setSettingsGlobal(e){this._updateSettings(e,!1),await Ld.setReaderSettings(this.readerSettings),await this.clearSettingsLocal()},setBookChangeFlag(e){e=this.normalizeDirection(e),this.bookChange=this.routes.books[e]?e:void 0},normalizeDirection(e){return this.isReadInReverse?sS[e]:e},_validateRoute(e,t){if(t||(t=this.books.current),!t)return{};const n=t.maxPage??0;return e.page>n?(e.page=n,console.warn("Tried to navigate past the end of the book.")):e.page<0&&(e.page=0,console.warn("Tried to navigate before the beginning of the book.")),e},_routeTo(e,t){if(e=this._validateRoute(e,t),this.isVertical&&+e.pk===this.books.current.pk)this.setActivePage(+e.page,!0);else{const n={name:"reader",params:e};Ar.push(n).catch(console.debug)}},routeToDirectionOne(e){e=this.normalizeDirection(e);const t=e==="prev"?-1:1,n=this.page+=t;if(n<0||n>this.books.current.maxPage)return;const r={pk:this.books.current.pk,page:n};this._routeTo(r)},routeToDirection(e){if(e=this.normalizeDirection(e),this.routes[e]){const t=this.routes[e];this._routeTo(t)}else this.routes.books[e]?this.bookChange===e?this._routeTo(this.routes.books[e],this.books[e]):this.setBookChangeFlag(e):console.debug("No route to direction",e)},routeToPage(e){const t={pk:this.books.current.pk,page:e};this._routeTo(t)},routeToBook(e){this._routeTo(this.routes.books[e],this.books[e])},_prefetchSrc(e,t,n=!1,r=!1){if(!e)return!1;const i=n?this.books[t]:this.books.current;if(!i)return!1;let o=e.page;if(r){if(!this.getSettings(i).twoPages)return!1;o+=1}if(o>i.maxPage)return!1;const l={pk:e.pk,page:o};return w4(l)},prefetchLinks(e,t,n=!1){const r=[this._prefetchSrc(e,t,n,!1),this._prefetchSrc(e,t,n,!0)],i=[];for(const o of r)o&&i.push({...iS,href:o});return{link:i}},toRoute(e){return e?{params:e}:{}},linkLabel(e,t){return`${e==="prev"?"Previous":"Next"} ${t}`}}});function k4(e){let{rootEl:t,isSticky:n,layoutItemStyles:r}=e;const i=Ve(!1),o=Ve(0),l=R(()=>{const d=typeof i.value=="boolean"?"top":i.value;return[n.value?{top:"auto",bottom:"auto",height:void 0}:void 0,i.value?{[d]:Be(o.value)}:{top:r.value.top}]});nr(()=>{$e(n,d=>{d?window.addEventListener("scroll",f,{passive:!0}):window.removeEventListener("scroll",f)},{immediate:!0})}),wn(()=>{window.removeEventListener("scroll",f)});let u=0;function f(){const d=u>window.scrollY?"up":"down",h=t.value.getBoundingClientRect(),m=parseFloat(r.value.top??0),v=window.scrollY-Math.max(0,o.value-m),y=h.height+Math.max(o.value,m)-window.scrollY-window.innerHeight,b=parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y"))||0;h.height<window.innerHeight-m?(i.value="top",o.value=m):d==="up"&&i.value==="bottom"||d==="down"&&i.value==="top"?(o.value=window.scrollY+h.top-b,i.value=!0):d==="down"&&y<=0?(o.value=0,i.value="bottom"):d==="up"&&v<=0&&(b?i.value!=="top"&&(o.value=-v+b+m,i.value="top"):(o.value=h.top+v,i.value="top")),u=window.scrollY}return{isStuck:i,stickyStyles:l}}const T4=100,R4=20;function Uy(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function zy(e){if(e.length<2)return 0;if(e.length===2)return e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t);let t=0;for(let n=e.length-1;n>0;n--){if(e[n].t===e[n-1].t)continue;const r=Uy(t),i=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);t+=(i-r)*Math.abs(i),n===e.length-1&&(t*=.5)}return Uy(t)*1e3}function I4(){const e={};function t(i){Array.from(i.changedTouches).forEach(o=>{(e[o.identifier]??(e[o.identifier]=new jD(R4))).push([i.timeStamp,o])})}function n(i){Array.from(i.changedTouches).forEach(o=>{delete e[o.identifier]})}function r(i){var d;const o=(d=e[i])==null?void 0:d.values().reverse();if(!o)throw new Error(`No samples for touch id ${i}`);const l=o[0],u=[],f=[];for(const h of o){if(l[0]-h[0]>T4)break;u.push({t:h[0],d:h[1].clientX}),f.push({t:h[0],d:h[1].clientY})}return{x:zy(u),y:zy(f),get direction(){const{x:h,y:m}=this,[v,y]=[Math.abs(h),Math.abs(m)];return v>y&&h>=0?"right":v>y&&h<=0?"left":y>v&&m>=0?"down":y>v&&m<=0?"up":V4()}}}return{addMovement:t,endTouch:n,getVelocity:r}}function V4(){throw new Error}function L4(e){let{isActive:t,isTemporary:n,width:r,touchless:i,position:o}=e;nr(()=>{window.addEventListener("touchstart",T,{passive:!0}),window.addEventListener("touchmove",P,{passive:!1}),window.addEventListener("touchend",C,{passive:!0})}),wn(()=>{window.removeEventListener("touchstart",T),window.removeEventListener("touchmove",P),window.removeEventListener("touchend",C)});const l=R(()=>["left","right"].includes(o.value)),{addMovement:u,endTouch:f,getVelocity:d}=I4();let h=!1;const m=Ve(!1),v=Ve(0),y=Ve(0);let b;function w(V,k){return(o.value==="left"?V:o.value==="right"?document.documentElement.clientWidth-V:o.value==="top"?V:o.value==="bottom"?document.documentElement.clientHeight-V:vo())-(k?r.value:0)}function x(V){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const D=o.value==="left"?(V-y.value)/r.value:o.value==="right"?(document.documentElement.clientWidth-V-y.value)/r.value:o.value==="top"?(V-y.value)/r.value:o.value==="bottom"?(document.documentElement.clientHeight-V-y.value)/r.value:vo();return k?Math.max(0,Math.min(1,D)):D}function T(V){if(i.value)return;const k=V.changedTouches[0].clientX,D=V.changedTouches[0].clientY,L=25,M=o.value==="left"?k<L:o.value==="right"?k>document.documentElement.clientWidth-L:o.value==="top"?D<L:o.value==="bottom"?D>document.documentElement.clientHeight-L:vo(),B=t.value&&(o.value==="left"?k<r.value:o.value==="right"?k>document.documentElement.clientWidth-r.value:o.value==="top"?D<r.value:o.value==="bottom"?D>document.documentElement.clientHeight-r.value:vo());(M||B||t.value&&n.value)&&(h=!0,b=[k,D],y.value=w(l.value?k:D,t.value),v.value=x(l.value?k:D),f(V),u(V))}function P(V){const k=V.changedTouches[0].clientX,D=V.changedTouches[0].clientY;if(h){if(!V.cancelable){h=!1;return}const M=Math.abs(k-b[0]),B=Math.abs(D-b[1]);(l.value?M>B&&M>3:B>M&&B>3)?(m.value=!0,h=!1):(l.value?B:M)>3&&(h=!1)}if(!m.value)return;V.preventDefault(),u(V);const L=x(l.value?k:D,!1);v.value=Math.max(0,Math.min(1,L)),L>1?y.value=w(l.value?k:D,!0):L<0&&(y.value=w(l.value?k:D,!1))}function C(V){if(h=!1,!m.value)return;u(V),m.value=!1;const k=d(V.changedTouches[0].identifier),D=Math.abs(k.x),L=Math.abs(k.y);(l.value?D>L&&D>400:L>D&&L>3)?t.value=k.direction===({left:"right",right:"left",top:"down",bottom:"up"}[o.value]||vo()):t.value=v.value>.5}const E=R(()=>m.value?{transform:o.value==="left"?`translateX(calc(-100% + ${v.value*r.value}px))`:o.value==="right"?`translateX(calc(100% - ${v.value*r.value}px))`:o.value==="top"?`translateY(calc(-100% + ${v.value*r.value}px))`:o.value==="bottom"?`translateY(calc(100% - ${v.value*r.value}px))`:vo(),transition:"none"}:void 0);return{isDragging:m,dragProgress:v,dragStyles:E}}function vo(){throw new Error}const O4=["start","end","left","right","top","bottom"],D4=oe({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>O4.includes(e)},sticky:Boolean,...Ts(),...nt(),...X_(),...rs(),...U_(),...ir(),...Ut({tag:"nav"}),...Kt()},"VNavigationDrawer"),M4=Ie()({name:"VNavigationDrawer",props:D4(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{isRtl:o}=ns(),{themeClasses:l}=tn(e),{borderClasses:u}=li(e),{backgroundColorClasses:f,backgroundColorStyles:d}=Un(_e(e,"color")),{elevationClasses:h}=Rs(e),{displayClasses:m,mobile:v}=sl(e),{roundedClasses:y}=_r(e),b=pw(),w=pt(e,"modelValue",null,ye=>!!ye),{ssrBootStyles:x}=Nc(),{scopeId:T}=$c(),P=Pe(),C=Ve(!1),E=R(()=>e.rail&&e.expandOnHover&&C.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),V=R(()=>gh(e.location,o.value)),k=R(()=>!e.permanent&&(v.value||e.temporary)),D=R(()=>e.sticky&&!k.value&&V.value!=="bottom");Zr(()=>e.expandOnHover&&e.rail!=null,()=>{$e(C,ye=>r("update:rail",!ye))}),Zr(()=>!e.disableResizeWatcher,()=>{$e(k,ye=>!e.permanent&&Bt(()=>w.value=!ye))}),Zr(()=>!e.disableRouteWatcher&&!!b,()=>{$e(b.currentRoute,()=>k.value&&(w.value=!1))}),$e(()=>e.permanent,ye=>{ye&&(w.value=!0)}),Za(()=>{e.modelValue!=null||k.value||(w.value=e.permanent||!v.value)});const{isDragging:L,dragProgress:M,dragStyles:B}=L4({isActive:w,isTemporary:k,width:E,touchless:_e(e,"touchless"),position:V}),j=R(()=>{const ye=k.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):E.value;return L.value?ye*M.value:ye}),{layoutItemStyles:z,layoutItemScrimStyles:K}=z_({id:e.name,order:R(()=>parseInt(e.order,10)),position:V,layoutSize:j,elementSize:E,active:R(()=>w.value||L.value),disableTransitions:R(()=>L.value),absolute:R(()=>e.absolute||D.value&&typeof te.value!="string")}),{isStuck:te,stickyStyles:ce}=k4({rootEl:P,isSticky:D,layoutItemStyles:z}),Q=Un(R(()=>typeof e.scrim=="string"?e.scrim:null)),ge=R(()=>({...L.value?{opacity:M.value*.2,transition:"none"}:void 0,...K.value}));In({VList:{bgColor:"transparent"}});function U(){C.value=!0}function ae(){C.value=!1}return Ge(()=>{const ye=i.image||e.image;return p(He,null,[p(e.tag,Ae({ref:P,onMouseenter:U,onMouseleave:ae,class:["v-navigation-drawer",`v-navigation-drawer--${V.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":C.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":k.value,"v-navigation-drawer--active":w.value,"v-navigation-drawer--sticky":D.value},l.value,f.value,u.value,m.value,h.value,y.value,e.class],style:[d.value,z.value,B.value,x.value,ce.value,e.style]},T,n),{default:()=>{var ue,Se,be,Oe;return[ye&&p("div",{key:"image",class:"v-navigation-drawer__img"},[i.image?(ue=i.image)==null?void 0:ue.call(i,{image:e.image}):p("img",{src:e.image,alt:""},null)]),i.prepend&&p("div",{class:"v-navigation-drawer__prepend"},[(Se=i.prepend)==null?void 0:Se.call(i)]),p("div",{class:"v-navigation-drawer__content"},[(be=i.default)==null?void 0:be.call(i)]),i.append&&p("div",{class:"v-navigation-drawer__append"},[(Oe=i.append)==null?void 0:Oe.call(i)])]}}),p(Or,{name:"fade-transition"},{default:()=>[k.value&&(L.value||w.value)&&!!e.scrim&&p("div",Ae({class:["v-navigation-drawer__scrim",Q.backgroundColorClasses.value],style:[ge.value,Q.backgroundColorStyles.value],onClick:()=>w.value=!1},T),null)]})])}),{isStuck:te}}}),F4={name:"SettingsDrawer",components:{SettingsCommonPanel:p4,SettingsFooter:Vw,VersionFooter:sw},props:{title:{type:String,required:!0},panel:{type:Object,required:!0},admin:{type:Boolean,default:!1}},computed:{...Bo(bn,["isCodexViewable"]),...hm(Rt,["isSettingsDrawerOpen"]),...kt(P4,{invisibleHack:e=>e.bookChange==="next"}),adminAndNotSmall(){return this.admin&&!this.$vuetify.display.smAndDown}},mounted(){this.isSettingsDrawerOpen=this.adminAndNotSmall}},B4={class:"settingsDrawerContainer"},$4={id:"topBlock"},H4={class:"settingsHeader"},N4={id:"footerGroup"};function U4(e,t,n,r,i,o){const l=Ft("SettingsCommonPanel"),u=Vw,f=sw;return ie(),Ze(M4,Ae(e.$attrs,{modelValue:e.isSettingsDrawerOpen,"onUpdate:modelValue":t[0]||(t[0]=d=>e.isSettingsDrawerOpen=d),"disable-resize-watcher":"","disable-route-watcher":"",location:"right",scrim:!o.adminAndNotSmall,temporary:!o.adminAndNotSmall,touchless:""}),{append:le(()=>[p(f)]),default:le(()=>[H("div",B4,[H("div",$4,[H("header",H4,[H("h3",null,Te(n.title),1)]),e.isCodexViewable?(ie(),Ze(ji(n.panel),{key:0})):xt("",!0),e.isCodexViewable?(ie(),Ze(za,{key:1})):xt("",!0),p(l,{"admin-menu":!n.admin},null,8,["admin-menu"]),p(za)]),H("div",N4,[p(u)])])]),_:1},16,["modelValue","scrim","temporary"])}const aS=ct(F4,[["render",U4],["__scopeId","data-v-881e9ee1"]]),Wy=$r(tm(()=>br(()=>import("./admin-drawer-panel-v7PBN80C.js").then(e=>e.b),__vite__mapDeps([8,9])))),z4={name:"SettingsDrawerButton",components:{AdminSettingsButtonProgress:Wy},data(){return{mdiMenu:FF,AdminSettingsButtonProgress:Wy}},computed:{...kt(bn,["isUserAdmin"])}};function W4(e,t,n,r,i,o){return ie(),Ze(Zt,Ae(e.$attrs,{icon:"",title:"Settings"}),{default:le(()=>[p(ut,null,{default:le(()=>[De(Te(i.mdiMenu),1)]),_:1}),e.isUserAdmin?(ie(),Ze(ji(i.AdminSettingsButtonProgress),{key:0})):xt("",!0)]),_:1},16)}const G4=ct(z4,[["render",W4]]),j4=oe({text:String,...nt(),...Ut()},"VToolbarTitle"),lS=Ie()({name:"VToolbarTitle",props:j4(),setup(e,t){let{slots:n}=t;return Ge(()=>{const r=!!(n.default||n.text||e.text);return p(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var i;return[r&&p("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,(i=n.default)==null?void 0:i.call(n)])]}})}),{}}}),K4=[null,"prominent","default","comfortable","compact"],q4=oe({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>K4.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Ts(),...nt(),...rs(),...ir(),...Ut({tag:"header"}),...Kt()},"VToolbar"),Y4=Ie()({name:"VToolbar",props:q4(),setup(e,t){var y;let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:i}=Un(_e(e,"color")),{borderClasses:o}=li(e),{elevationClasses:l}=Rs(e),{roundedClasses:u}=_r(e),{themeClasses:f}=tn(e),{rtlClasses:d}=ns(),h=Ve(!!(e.extended||(y=n.extension)!=null&&y.call(n))),m=R(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),v=R(()=>h.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return In({VBtn:{variant:"text"}}),Ge(()=>{var T;const b=!!(e.title||n.title),w=!!(n.image||e.image),x=(T=n.extension)==null?void 0:T.call(n);return h.value=!!(e.extended||x),p(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},r.value,o.value,l.value,u.value,f.value,d.value,e.class],style:[i.value,e.style]},{default:()=>[w&&p("div",{key:"image",class:"v-toolbar__image"},[n.image?p(hn,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):p(Ww,{key:"image-img",cover:!0,src:e.image},null)]),p(hn,{defaults:{VTabs:{height:Be(m.value)}}},{default:()=>{var P,C,E;return[p("div",{class:"v-toolbar__content",style:{height:Be(m.value)}},[n.prepend&&p("div",{class:"v-toolbar__prepend"},[(P=n.prepend)==null?void 0:P.call(n)]),b&&p(lS,{key:"title",text:e.title},{text:n.title}),(C=n.default)==null?void 0:C.call(n),n.append&&p("div",{class:"v-toolbar__append"},[(E=n.append)==null?void 0:E.call(n)])])]}}),p(hn,{defaults:{VTabs:{height:Be(v.value)}}},{default:()=>[p(ol,null,{default:()=>[h.value&&p("div",{class:"v-toolbar__extension",style:{height:Be(v.value)}},[x])]})]})]})}),{contentHeight:m,extensionHeight:v}}}),Z4=oe({...nt(),...Is({variant:"text"})},"VToolbarItems"),kN=Ie()({name:"VToolbarItems",props:Z4(),setup(e,t){let{slots:n}=t;return In({VBtn:{color:_e(e,"color"),height:"inherit",variant:_e(e,"variant")}}),Ge(()=>{var r;return p("div",{class:["v-toolbar-items",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),X4={name:"AdminTitleToolbar",components:{SettingsDrawerButton:G4},computed:{...hm(Rt,["isSettingsDrawerOpen"])}};function J4(e,t,n,r,i,o){const l=Ft("SettingsDrawerButton");return ie(),Ze(Y4,{id:"titleBar",class:Vr(["codexToolbar",{drawerMargin:!e.$vuetify.display.mdAndDown}]),density:"compact",elevation:"8"},{default:le(()=>[p(lS,{class:"codexToolbarTitle"},{default:le(()=>[De(" Codex Administration ")]),_:1}),p(l,{class:Vr({invisible:e.isSettingsDrawerOpen}),disabled:e.isSettingsDrawerOpen,plain:e.isSettingsDrawerOpen,onClick:t[0]||(t[0]=u=>e.isSettingsDrawerOpen=!0)},null,8,["class","disabled","plain"])]),_:1},8,["class"])}const uS=ct(X4,[["render",J4],["__scopeId","data-v-15c77dc3"]]),Q4={name:"AdminSettingsPanel",data(){return{mdiBookshelf:kF}},computed:{...kt(kc,{browserRoute:e=>e.page.routes.last?{name:"browser",params:e.page.routes.last}:{name:"home"}})}};function e6(e,t,n,r,i,o){return ie(),Ze(Fr,{ref:"browserLink",to:e.browserRoute},{default:le(()=>[p(cl,null,{default:le(()=>[p(ut,null,{default:le(()=>[De(Te(i.mdiBookshelf),1)]),_:1}),De("Browser ")]),_:1})]),_:1},8,["to"])}const t6=ct(Q4,[["render",e6]]);function cS(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.toLowerCase().replaceAll(/(?:^|\s|-)\S/g,t=>t.toUpperCase())}const fS=Symbol.for("vuetify:v-tabs"),n6=oe({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...es(Ew({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),dS=Ie()({name:"VTab",props:n6(),setup(e,t){let{slots:n,attrs:r}=t;const{textColorClasses:i,textColorStyles:o}=Mr(e,"sliderColor"),l=R(()=>e.direction==="horizontal"),u=Ve(!1),f=Pe(),d=Pe();function h(m){var y,b;let{value:v}=m;if(u.value=v,v){const w=(b=(y=f.value)==null?void 0:y.$el.parentElement)==null?void 0:b.querySelector(".v-tab--selected .v-tab__slider"),x=d.value;if(!w||!x)return;const T=getComputedStyle(w).color,P=w.getBoundingClientRect(),C=x.getBoundingClientRect(),E=l.value?"x":"y",V=l.value?"X":"Y",k=l.value?"right":"bottom",D=l.value?"width":"height",L=P[E],M=C[E],B=L>M?P[k]-C[k]:P[E]-C[E],j=Math.sign(B)>0?l.value?"right":"bottom":Math.sign(B)<0?l.value?"left":"top":"center",K=(Math.abs(B)+(Math.sign(B)<0?P[D]:C[D]))/Math.max(P[D],C[D])||0,te=P[D]/C[D]||0,ce=1.5;Pi(x,{backgroundColor:[T,"currentcolor"],transform:[`translate${V}(${B}px) scale${V}(${te})`,`translate${V}(${B/ce}px) scale${V}(${(K-1)/ce+1})`,"none"],transformOrigin:Array(3).fill(j)},{duration:225,easing:$a})}}return Ge(()=>{const m=Zt.filterProps(e);return p(Zt,Ae({symbol:fS,ref:f,class:["v-tab",e.class],style:e.style,tabindex:u.value?0:-1,role:"tab","aria-selected":String(u.value),active:!1},m,r,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":h}),{...n,default:()=>{var v;return p(He,null,[((v=n.default)==null?void 0:v.call(n))??e.text,!e.hideSlider&&p("div",{ref:d,class:["v-tab__slider",i.value],style:o.value},null)])}})}),{}}});function Gy(e){const n=Math.abs(e);return Math.sign(e)*(n/((1/.501-2)*(1-n)+1))}function jy(e){let{selectedElement:t,containerSize:n,contentSize:r,isRtl:i,currentScrollOffset:o,isHorizontal:l}=e;const u=l?t.clientWidth:t.clientHeight,f=l?t.offsetLeft:t.offsetTop,d=i&&l?r-f-u:f,h=n+o,m=u+d,v=u*.4;return d<=o?o=Math.max(d-v,0):h<=m&&(o=Math.min(o-(h-m-v),r-n)),o}function r6(e){let{selectedElement:t,containerSize:n,contentSize:r,isRtl:i,isHorizontal:o}=e;const l=o?t.clientWidth:t.clientHeight,u=o?t.offsetLeft:t.offsetTop,f=i&&o?r-u-l/2-n/2:u+l/2-n/2;return Math.min(r-n,Math.max(0,f))}const s6=Symbol.for("vuetify:v-slide-group"),hS=oe({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:s6},nextIcon:{type:vt,default:"$next"},prevIcon:{type:vt,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["always","desktop","mobile"].includes(e)},...nt(),...X_(),...Ut(),...Oc({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Ky=Ie()({name:"VSlideGroup",props:hS(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isRtl:r}=ns(),{displayClasses:i,mobile:o}=sl(e),l=al(e,e.symbol),u=Ve(!1),f=Ve(0),d=Ve(0),h=Ve(0),m=R(()=>e.direction==="horizontal"),{resizeRef:v,contentRect:y}=si(),{resizeRef:b,contentRect:w}=si(),x=R(()=>l.selected.value.length?l.items.value.findIndex(ue=>ue.id===l.selected.value[0]):-1),T=R(()=>l.selected.value.length?l.items.value.findIndex(ue=>ue.id===l.selected.value[l.selected.value.length-1]):-1);if(Lt){let ue=-1;$e(()=>[l.selected.value,y.value,w.value,m.value],()=>{cancelAnimationFrame(ue),ue=requestAnimationFrame(()=>{if(y.value&&w.value){const Se=m.value?"width":"height";d.value=y.value[Se],h.value=w.value[Se],u.value=d.value+1<h.value}if(x.value>=0&&b.value){const Se=b.value.children[T.value];x.value===0||!u.value?f.value=0:e.centerActive?f.value=r6({selectedElement:Se,containerSize:d.value,contentSize:h.value,isRtl:r.value,isHorizontal:m.value}):u.value&&(f.value=jy({selectedElement:Se,containerSize:d.value,contentSize:h.value,isRtl:r.value,currentScrollOffset:f.value,isHorizontal:m.value}))}})})}const P=Ve(!1);let C=0,E=0;function V(ue){const Se=m.value?"clientX":"clientY";E=(r.value&&m.value?-1:1)*f.value,C=ue.touches[0][Se],P.value=!0}function k(ue){if(!u.value)return;const Se=m.value?"clientX":"clientY",be=r.value&&m.value?-1:1;f.value=be*(E+C-ue.touches[0][Se])}function D(ue){const Se=h.value-d.value;f.value<0||!u.value?f.value=0:f.value>=Se&&(f.value=Se),P.value=!1}function L(){v.value&&(v.value[m.value?"scrollLeft":"scrollTop"]=0)}const M=Ve(!1);function B(ue){if(M.value=!0,!(!u.value||!b.value)){for(const Se of ue.composedPath())for(const be of b.value.children)if(be===Se){f.value=jy({selectedElement:be,containerSize:d.value,contentSize:h.value,isRtl:r.value,currentScrollOffset:f.value,isHorizontal:m.value});return}}}function j(ue){M.value=!1}function z(ue){var Se;!M.value&&!(ue.relatedTarget&&((Se=b.value)!=null&&Se.contains(ue.relatedTarget)))&&te()}function K(ue){b.value&&(m.value?ue.key==="ArrowRight"?te(r.value?"prev":"next"):ue.key==="ArrowLeft"&&te(r.value?"next":"prev"):ue.key==="ArrowDown"?te("next"):ue.key==="ArrowUp"&&te("prev"),ue.key==="Home"?te("first"):ue.key==="End"&&te("last"))}function te(ue){var Se,be,Oe,Me,Re;if(b.value)if(!ue)(Se=Fa(b.value)[0])==null||Se.focus();else if(ue==="next"){const q=(be=b.value.querySelector(":focus"))==null?void 0:be.nextElementSibling;q?q.focus():te("first")}else if(ue==="prev"){const q=(Oe=b.value.querySelector(":focus"))==null?void 0:Oe.previousElementSibling;q?q.focus():te("last")}else ue==="first"?(Me=b.value.firstElementChild)==null||Me.focus():ue==="last"&&((Re=b.value.lastElementChild)==null||Re.focus())}function ce(ue){const Se=f.value+(ue==="prev"?-1:1)*d.value;f.value=Yr(Se,0,h.value-d.value)}const Q=R(()=>{let ue=f.value>h.value-d.value?-(h.value-d.value)+Gy(h.value-d.value-f.value):-f.value;f.value<=0&&(ue=Gy(-f.value));const Se=r.value&&m.value?-1:1;return{transform:`translate${m.value?"X":"Y"}(${Se*ue}px)`,transition:P.value?"none":"",willChange:P.value?"transform":""}}),ge=R(()=>({next:l.next,prev:l.prev,select:l.select,isSelected:l.isSelected})),U=R(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!o.value;case!0:return u.value||Math.abs(f.value)>0;case"mobile":return o.value||u.value||Math.abs(f.value)>0;default:return!o.value&&(u.value||Math.abs(f.value)>0)}}),ae=R(()=>Math.abs(f.value)>0),ye=R(()=>h.value>Math.abs(f.value)+d.value);return Ge(()=>p(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!m.value,"v-slide-group--has-affixes":U.value,"v-slide-group--is-overflowing":u.value},i.value,e.class],style:e.style,tabindex:M.value||l.selected.value.length?-1:0,onFocus:z},{default:()=>{var ue,Se,be;return[U.value&&p("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!ae.value}],onClick:()=>ae.value&&ce("prev")},[((ue=n.prev)==null?void 0:ue.call(n,ge.value))??p(Ju,null,{default:()=>[p(ut,{icon:r.value?e.nextIcon:e.prevIcon},null)]})]),p("div",{key:"container",ref:v,class:"v-slide-group__container",onScroll:L},[p("div",{ref:b,class:"v-slide-group__content",style:Q.value,onTouchstartPassive:V,onTouchmovePassive:k,onTouchendPassive:D,onFocusin:B,onFocusout:j,onKeydown:K},[(Se=n.default)==null?void 0:Se.call(n,ge.value)])]),U.value&&p("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!ye.value}],onClick:()=>ye.value&&ce("next")},[((be=n.next)==null?void 0:be.call(n,ge.value))??p(Ju,null,{default:()=>[p(ut,{icon:r.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:l.selected,scrollTo:ce,scrollOffset:f,focus:te}}});function i6(e){return e?e.map(t=>zu(t)?t:{text:t,value:t}):[]}const o6=oe({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...hS({mandatory:"force"}),...Hr(),...Ut()},"VTabs"),a6=Ie()({name:"VTabs",props:o6(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=pt(e,"modelValue"),i=R(()=>i6(e.items)),{densityClasses:o}=ss(e),{backgroundColorClasses:l,backgroundColorStyles:u}=Un(_e(e,"bgColor"));return In({VTab:{color:_e(e,"color"),direction:_e(e,"direction"),stacked:_e(e,"stacked"),fixed:_e(e,"fixedTabs"),sliderColor:_e(e,"sliderColor"),hideSlider:_e(e,"hideSlider")}}),Ge(()=>{const f=Ky.filterProps(e);return p(Ky,Ae(f,{modelValue:r.value,"onUpdate:modelValue":d=>r.value=d,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},o.value,l.value,e.class],style:[{"--v-tabs-height":Be(e.height)},u.value,e.style],role:"tablist",symbol:fS}),{default:()=>[n.default?n.default():i.value.map(d=>p(dS,Ae(d,{key:d.text}),null))]})}),{}}}),l6=e=>{const{touchstartX:t,touchendX:n,touchstartY:r,touchendY:i}=e,o=.5,l=16;e.offsetX=n-t,e.offsetY=i-r,Math.abs(e.offsetY)<o*Math.abs(e.offsetX)&&(e.left&&n<t-l&&e.left(e),e.right&&n>t+l&&e.right(e)),Math.abs(e.offsetX)<o*Math.abs(e.offsetY)&&(e.up&&i<r-l&&e.up(e),e.down&&i>r+l&&e.down(e))};function u6(e,t){var r;const n=e.changedTouches[0];t.touchstartX=n.clientX,t.touchstartY=n.clientY,(r=t.start)==null||r.call(t,{originalEvent:e,...t})}function c6(e,t){var r;const n=e.changedTouches[0];t.touchendX=n.clientX,t.touchendY=n.clientY,(r=t.end)==null||r.call(t,{originalEvent:e,...t}),l6(t)}function f6(e,t){var r;const n=e.changedTouches[0];t.touchmoveX=n.clientX,t.touchmoveY=n.clientY,(r=t.move)==null||r.call(t,{originalEvent:e,...t})}function d6(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:n=>u6(n,t),touchend:n=>c6(n,t),touchmove:n=>f6(n,t)}}function h6(e,t){var u;const n=t.value,r=n!=null&&n.parent?e.parentElement:e,i=(n==null?void 0:n.options)??{passive:!0},o=(u=t.instance)==null?void 0:u.$.uid;if(!r||!o)return;const l=d6(t.value);r._touchHandlers=r._touchHandlers??Object.create(null),r._touchHandlers[o]=l,x_(l).forEach(f=>{r.addEventListener(f,l[f],i)})}function m6(e,t){var o,l;const n=(o=t.value)!=null&&o.parent?e.parentElement:e,r=(l=t.instance)==null?void 0:l.$.uid;if(!(n!=null&&n._touchHandlers)||!r)return;const i=n._touchHandlers[r];x_(i).forEach(u=>{n.removeEventListener(u,i[u])}),delete n._touchHandlers[r]}const mS={mounted:h6,unmounted:m6},v6=mS,vS=Symbol.for("vuetify:v-window"),gS=Symbol.for("vuetify:v-window-group"),g6=oe({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...nt(),...Ut(),...Kt()},"VWindow"),p6=Ie()({name:"VWindow",directives:{Touch:mS},props:g6(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=tn(e),{isRtl:i}=ns(),{t:o}=ks(),l=al(e,gS),u=Pe(),f=R(()=>i.value?!e.reverse:e.reverse),d=Ve(!1),h=R(()=>{const E=e.direction==="vertical"?"y":"x",k=(f.value?!d.value:d.value)?"-reverse":"";return`v-window-${E}${k}-transition`}),m=Ve(0),v=Pe(void 0),y=R(()=>l.items.value.findIndex(E=>l.selected.value.includes(E.id)));$e(y,(E,V)=>{const k=l.items.value.length,D=k-1;k<=2?d.value=E<V:E===D&&V===0?d.value=!0:E===0&&V===D?d.value=!1:d.value=E<V}),Et(vS,{transition:h,isReversed:d,transitionCount:m,transitionHeight:v,rootRef:u});const b=R(()=>e.continuous||y.value!==0),w=R(()=>e.continuous||y.value!==l.items.value.length-1);function x(){b.value&&l.prev()}function T(){w.value&&l.next()}const P=R(()=>{const E=[],V={icon:i.value?e.nextIcon:e.prevIcon,class:`v-window__${f.value?"right":"left"}`,onClick:l.prev,ariaLabel:o("$vuetify.carousel.prev")};E.push(b.value?n.prev?n.prev({props:V}):p(Zt,V,null):p("div",null,null));const k={icon:i.value?e.prevIcon:e.nextIcon,class:`v-window__${f.value?"left":"right"}`,onClick:l.next,ariaLabel:o("$vuetify.carousel.next")};return E.push(w.value?n.next?n.next({props:k}):p(Zt,k,null):p("div",null,null)),E}),C=R(()=>e.touch===!1?e.touch:{...{left:()=>{f.value?x():T()},right:()=>{f.value?T():x()},start:V=>{let{originalEvent:k}=V;k.stopPropagation()}},...e.touch===!0?{}:e.touch});return Ge(()=>on(p(e.tag,{ref:u,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},r.value,e.class],style:e.style},{default:()=>{var E,V;return[p("div",{class:"v-window__container",style:{height:v.value}},[(E=n.default)==null?void 0:E.call(n,{group:l}),e.showArrows!==!1&&p("div",{class:"v-window__controls"},[P.value])]),(V=n.additional)==null?void 0:V.call(n,{group:l})]}}),[[Xr("touch"),C.value]])),{group:l}}}),y6=oe({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...nt(),...Dc(),...Bc()},"VWindowItem"),b6=Ie()({name:"VWindowItem",directives:{Touch:v6},props:y6(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=lt(vS),i=Mc(e,gS),{isBooted:o}=Nc();if(!r||!i)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const l=Ve(!1),u=R(()=>o.value&&(r.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function f(){!l.value||!r||(l.value=!1,r.transitionCount.value>0&&(r.transitionCount.value-=1,r.transitionCount.value===0&&(r.transitionHeight.value=void 0)))}function d(){var b;l.value||!r||(l.value=!0,r.transitionCount.value===0&&(r.transitionHeight.value=Be((b=r.rootRef.value)==null?void 0:b.clientHeight)),r.transitionCount.value+=1)}function h(){f()}function m(b){l.value&&Bt(()=>{!u.value||!l.value||!r||(r.transitionHeight.value=Be(b.clientHeight))})}const v=R(()=>{const b=r.isReversed.value?e.reverseTransition:e.transition;return u.value?{name:typeof b!="string"?r.transition.value:b,onBeforeEnter:d,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:d,onAfterLeave:f,onLeaveCancelled:h,onEnter:m}:!1}),{hasContent:y}=Fm(e,i.isSelected);return Ge(()=>p(bs,{transition:v.value,disabled:!o.value},{default:()=>{var b;return[on(p("div",{class:["v-window-item",i.selectedClass.value,e.class],style:e.style},[y.value&&((b=n.default)==null?void 0:b.call(n))]),[[yr,i.isSelected.value]])]}})),{groupItem:i}}}),_6={name:"AdminTabs",data(){return{activeTab:"Libraries",tabs:["Users","Groups","Libraries","Flags","Tasks","Stats"]}},computed:{...Bo(Dt,["librariesExist"])},watch:{$route(e){const n=e.path.split("/").at(-1);this.activeTab=cS(n)}},mounted(){this.librariesExist||this.loadTables(["Library"])},methods:{...Xt(Dt,["loadTables"])}},w6={id:"tabContainer"},S6={key:0,id:"noLibraries"};function C6(e,t,n,r,i,o){const l=Ft("router-view");return ie(),We("div",w6,[p(a6,{id:"tabs",class:Vr({rightMargin:!e.$vuetify.display.mdAndDown}),centered:"",grow:"","show-arrows":""},{default:le(()=>[(ie(!0),We(He,null,Rr(i.tabs,u=>(ie(),Ze(dS,{key:u,modelValue:i.activeTab,"onUpdate:modelValue":t[0]||(t[0]=f=>i.activeTab=f),to:u.toLowerCase()},{default:le(()=>[De(Te(u),1)]),_:2},1032,["modelValue","to"]))),128))]),_:1},8,["class"]),p(p6,{id:"tabItems",modelValue:i.activeTab,"onUpdate:modelValue":t[1]||(t[1]=u=>i.activeTab=u),touch:!1},{default:le(()=>[(ie(!0),We(He,null,Rr(i.tabs,u=>(ie(),Ze(l,{key:u},{default:le(({Component:f})=>[p(b6,{value:u,class:"tabItemContainer"},{default:le(()=>[(ie(),Ze(ji(f)))]),_:2},1032,["value"])]),_:2},1024))),128))]),_:1},8,["modelValue"]),e.librariesExist?xt("",!0):(ie(),We("div",S6," Codex has no libraries. Select the Libraries tab and add a comic library. "))])}const x6=ct(_6,[["render",C6],["__scopeId","data-v-03b1c9e5"]]),A6=oe({scrollable:Boolean,...nt(),...Ut({tag:"main"})},"VMain"),E6=Ie()({name:"VMain",props:A6(),setup(e,t){let{slots:n}=t;const{mainStyles:r}=TM(),{ssrBootStyles:i}=Nc();return Ge(()=>p(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[r.value,i.value,e.style]},{default:()=>{var o,l;return[e.scrollable?p("div",{class:"v-main__scroller"},[(o=n.default)==null?void 0:o.call(n)]):(l=n.default)==null?void 0:l.call(n)]}})),{}}}),P6={name:"MainAdmin",components:{AdminTitleToolbar:uS,AdminTabs:x6,SettingsDrawer:aS},data(){return{AdminSettingsPanel:$r(t6)}},computed:{...Bo(bn,["isUserAdmin"])}},k6={id:"adminWrapper"},T6={key:0,id:"adminContainer"},R6={key:1,id:"announcement"};function I6(e,t,n,r,i,o){const l=uS,u=Ft("AdminTabs"),f=aS,d=Ft("router-link");return ie(),We("div",k6,[e.isUserAdmin?(ie(),We("div",T6,[p(E6,null,{default:le(()=>[p(l),p(u)]),_:1}),p(f,{title:"Admin Status",admin:!0,panel:i.AdminSettingsPanel},null,8,["panel"])])):(ie(),We("div",R6,[H("h1",null,[p(d,{to:{name:"home"}},{default:le(()=>[De(" Log in ")]),_:1}),De(" as an Administrator to use this panel ")])]))])}const V6=ct(P6,[["render",I6],["__scopeId","data-v-0605704c"]]),L6=Object.freeze(Object.defineProperty({__proto__:null,default:V6},Symbol.toStringTag,{value:"Module"})),pS=oe({indeterminate:Boolean,indeterminateIcon:{type:vt,default:"$checkboxIndeterminate"},...Wc({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),Br=Ie()({name:"VCheckboxBtn",props:pS(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,t){let{slots:n}=t;const r=pt(e,"indeterminate"),i=pt(e,"modelValue");function o(f){r.value&&(r.value=!1)}const l=R(()=>r.value?e.indeterminateIcon:e.falseIcon),u=R(()=>r.value?e.indeterminateIcon:e.trueIcon);return Ge(()=>{const f=es(Vo.filterProps(e),["modelValue"]);return p(Vo,Ae(f,{modelValue:i.value,"onUpdate:modelValue":[d=>i.value=d,o],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:l.value,trueIcon:u.value,"aria-checked":r.value?"mixed":void 0}),n)}),{}}}),O6=oe({...fl(),...es(pS(),["inline"])},"VCheckbox"),Lo=Ie()({name:"VCheckbox",inheritAttrs:!1,props:O6(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const i=pt(e,"modelValue"),{isFocused:o,focus:l,blur:u}=Uc(e),f=sr(),d=R(()=>e.id||`checkbox-${f}`);return Ge(()=>{const[h,m]=nl(n),v=ii.filterProps(e),y=Br.filterProps(e);return p(ii,Ae({class:["v-checkbox",e.class]},h,v,{modelValue:i.value,"onUpdate:modelValue":b=>i.value=b,id:d.value,focused:o.value,style:e.style}),{...r,default:b=>{let{id:w,messagesId:x,isDisabled:T,isReadonly:P}=b;return p(Br,Ae(y,{id:w.value,"aria-describedby":x.value,disabled:T.value,readonly:P.value},m,{modelValue:i.value,"onUpdate:modelValue":C=>i.value=C,onFocus:l,onBlur:u}),r)}})}),{}}}),yS=Symbol.for("vuetify:v-chip-group"),D6=oe({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:ai},...nt(),...Oc({selectedClass:"v-chip--selected"}),...Ut(),...Kt(),...Is({variant:"tonal"})},"VChipGroup"),TN=Ie()({name:"VChipGroup",props:D6(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=tn(e),{isSelected:i,select:o,next:l,prev:u,selected:f}=al(e,yS);return In({VChip:{color:_e(e,"color"),disabled:_e(e,"disabled"),filter:_e(e,"filter"),variant:_e(e,"variant")}}),Ge(()=>p(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},r.value,e.class],style:e.style},{default:()=>{var d;return[(d=n.default)==null?void 0:d.call(n,{isSelected:i,select:o,next:l,prev:u,selected:f.value})]}})),{}}}),M6=oe({activeClass:String,appendAvatar:String,appendIcon:vt,closable:Boolean,closeIcon:{type:vt,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:vt,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:tr(),onClickOnce:tr(),...Ts(),...nt(),...Hr(),...rs(),...Dc(),...ir(),...Mm(),...Ho(),...Ut({tag:"span"}),...Kt(),...Is({variant:"tonal"})},"VChip"),Gm=Ie()({name:"VChip",directives:{Ripple:ll},props:M6(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{t:o}=ks(),{borderClasses:l}=li(e),{colorClasses:u,colorStyles:f,variantClasses:d}=Lc(e),{densityClasses:h}=ss(e),{elevationClasses:m}=Rs(e),{roundedClasses:v}=_r(e),{sizeClasses:y}=il(e),{themeClasses:b}=tn(e),w=pt(e,"modelValue"),x=Mc(e,yS,!1),T=Dm(e,n),P=R(()=>e.link!==!1&&T.isLink.value),C=R(()=>!e.disabled&&e.link!==!1&&(!!x||e.link||T.isClickable.value)),E=R(()=>({"aria-label":o(e.closeLabel),onClick(D){D.stopPropagation(),w.value=!1,r("click:close",D)}}));function V(D){var L;r("click",D),C.value&&((L=T.navigate)==null||L.call(T,D),x==null||x.toggle())}function k(D){(D.key==="Enter"||D.key===" ")&&(D.preventDefault(),V(D))}return()=>{const D=T.isLink.value?"a":e.tag,L=!!(e.appendIcon||e.appendAvatar),M=!!(L||i.append),B=!!(i.close||e.closable),j=!!(i.filter||e.filter)&&x,z=!!(e.prependIcon||e.prependAvatar),K=!!(z||i.prepend),te=!x||x.isSelected.value;return w.value&&on(p(D,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":C.value,"v-chip--filter":j,"v-chip--pill":e.pill},b.value,l.value,te?u.value:void 0,h.value,m.value,v.value,y.value,d.value,x==null?void 0:x.selectedClass.value,e.class],style:[te?f.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:T.href.value,tabindex:C.value?0:void 0,onClick:V,onKeydown:C.value&&!P.value&&k},{default:()=>{var ce;return[Vc(C.value,"v-chip"),j&&p(uw,{key:"filter"},{default:()=>[on(p("div",{class:"v-chip__filter"},[i.filter?p(hn,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},i.filter):p(ut,{key:"filter-icon",icon:e.filterIcon},null)]),[[yr,x.isSelected.value]])]}),K&&p("div",{key:"prepend",class:"v-chip__prepend"},[i.prepend?p(hn,{key:"prepend-defaults",disabled:!z,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},i.prepend):p(He,null,[e.prependIcon&&p(ut,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&p(Io,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),p("div",{class:"v-chip__content"},[((ce=i.default)==null?void 0:ce.call(i,{isSelected:x==null?void 0:x.isSelected.value,selectedClass:x==null?void 0:x.selectedClass.value,select:x==null?void 0:x.select,toggle:x==null?void 0:x.toggle,value:x==null?void 0:x.value.value,disabled:e.disabled}))??e.text]),M&&p("div",{key:"append",class:"v-chip__append"},[i.append?p(hn,{key:"append-defaults",disabled:!L,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},i.append):p(He,null,[e.appendIcon&&p(ut,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&p(Io,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),B&&p("button",Ae({key:"close",class:"v-chip__close",type:"button"},E.value),[i.close?p(hn,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},i.close):p(ut,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[Xr("ripple"),C.value&&e.ripple,null]])}}}),F6=oe({id:String,...es(Bm({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:Vm}}),["absolute"])},"VMenu"),bS=Ie()({name:"VMenu",props:F6(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=pt(e,"modelValue"),{scopeId:i}=$c(),o=sr(),l=R(()=>e.id||`v-menu-${o}`),u=Pe(),f=lt(xh,null),d=Ve(0);Et(xh,{register(){++d.value},unregister(){--d.value},closeParents(){setTimeout(()=>{d.value||(r.value=!1,f==null||f.closeParents())},40)}});async function h(w){var P,C,E;const x=w.relatedTarget,T=w.target;await Bt(),r.value&&x!==T&&((P=u.value)!=null&&P.contentEl)&&((C=u.value)!=null&&C.globalTop)&&![document,u.value.contentEl].includes(T)&&!u.value.contentEl.contains(T)&&((E=Fa(u.value.contentEl)[0])==null||E.focus())}$e(r,w=>{w?(f==null||f.register(),document.addEventListener("focusin",h,{once:!0})):(f==null||f.unregister(),document.removeEventListener("focusin",h))});function m(){f==null||f.closeParents()}function v(w){var x,T,P;e.disabled||w.key==="Tab"&&(T_(Fa((x=u.value)==null?void 0:x.contentEl,!1),w.shiftKey?"prev":"next",E=>E.tabIndex>=0)||(r.value=!1,(P=(T=u.value)==null?void 0:T.activatorEl)==null||P.focus()))}function y(w){var T;if(e.disabled)return;const x=(T=u.value)==null?void 0:T.contentEl;x&&r.value?w.key==="ArrowDown"?(w.preventDefault(),ju(x,"next")):w.key==="ArrowUp"&&(w.preventDefault(),ju(x,"prev")):["ArrowDown","ArrowUp"].includes(w.key)&&(r.value=!0,w.preventDefault(),setTimeout(()=>setTimeout(()=>y(w))))}const b=R(()=>Ae({"aria-haspopup":"menu","aria-expanded":String(r.value),"aria-owns":l.value,onKeydown:y},e.activatorProps));return Ge(()=>{const w=tc.filterProps(e);return p(tc,Ae({ref:u,class:["v-menu",e.class],style:e.style},w,{modelValue:r.value,"onUpdate:modelValue":x=>r.value=x,absolute:!0,activatorProps:b.value,"onClick:outside":m,onKeydown:v},i),{activator:n.activator,default:function(){for(var x=arguments.length,T=new Array(x),P=0;P<x;P++)T[P]=arguments[P];return p(hn,{root:"VMenu"},{default:()=>{var C;return[(C=n.default)==null?void 0:C.call(n,...T)]}})}})}),Wo({id:l,ΨopenChildren:d},u)}}),B6=oe({renderless:Boolean,...nt()},"VVirtualScrollItem"),_S=Ie()({name:"VVirtualScrollItem",inheritAttrs:!1,props:B6(),emits:{"update:height":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{resizeRef:o,contentRect:l}=si(void 0,"border");$e(()=>{var u;return(u=l.value)==null?void 0:u.height},u=>{u!=null&&r("update:height",u)}),Ge(()=>{var u,f;return e.renderless?p(He,null,[(u=i.default)==null?void 0:u.call(i,{itemRef:o})]):p("div",Ae({ref:o,class:["v-virtual-scroll__item",e.class],style:e.style},n),[(f=i.default)==null?void 0:f.call(i)])})}}),$6=-1,H6=1,Od=100,wS=oe({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function SS(e,t){const n=sl(),r=Ve(0);Nn(()=>{r.value=parseFloat(e.itemHeight||0)});const i=Ve(0),o=Ve(Math.ceil((parseInt(e.height)||n.height.value)/(r.value||16))||1),l=Ve(0),u=Ve(0),f=Pe(),d=Pe();let h=0;const{resizeRef:m,contentRect:v}=si();Nn(()=>{m.value=f.value});const y=R(()=>{var ae;return f.value===document.documentElement?n.height.value:((ae=v.value)==null?void 0:ae.height)||parseInt(e.height)||0}),b=R(()=>!!(f.value&&d.value&&y.value&&r.value));let w=Array.from({length:t.value.length}),x=Array.from({length:t.value.length});const T=Ve(0);let P=-1;function C(ae){return w[ae]||r.value}const E=WD(()=>{const ae=performance.now();x[0]=0;const ye=t.value.length;for(let ue=1;ue<=ye-1;ue++)x[ue]=(x[ue-1]||0)+C(ue-1);T.value=Math.max(T.value,performance.now()-ae)},T),V=$e(b,ae=>{ae&&(V(),h=d.value.offsetTop,E.immediate(),ce(),~P&&Bt(()=>{Lt&&window.requestAnimationFrame(()=>{ge(P),P=-1})}))});$e(y,(ae,ye)=>{ye&&ce()}),_n(()=>{E.clear()});function k(ae,ye){const ue=w[ae],Se=r.value;r.value=Se?Math.min(r.value,ye):ye,(ue!==ye||Se!==r.value)&&(w[ae]=ye,E())}function D(ae){return ae=Yr(ae,0,t.value.length-1),x[ae]||0}function L(ae){return N6(x,ae)}let M=0,B=0,j=0;function z(){if(!f.value||!d.value)return;const ae=f.value.scrollTop,ye=performance.now();ye-j>500?(B=Math.sign(ae-M),h=d.value.offsetTop):B=ae-M,M=ae,j=ye,ce()}function K(){!f.value||!d.value||(B=0,j=0,ce())}let te=-1;function ce(){cancelAnimationFrame(te),te=requestAnimationFrame(Q)}function Q(){if(!f.value||!y.value)return;const ae=M-h,ye=Math.sign(B),ue=Math.max(0,ae-Od),Se=Yr(L(ue),0,t.value.length),be=ae+y.value+Od,Oe=Yr(L(be)+1,Se+1,t.value.length);if((ye!==$6||Se<i.value)&&(ye!==H6||Oe>o.value)){const Me=D(i.value)-D(Se),Re=D(Oe)-D(o.value);Math.max(Me,Re)>Od?(i.value=Se,o.value=Oe):(Se<=0&&(i.value=Se),Oe>=t.value.length&&(o.value=Oe))}l.value=D(i.value),u.value=D(t.value.length)-D(o.value)}function ge(ae){const ye=D(ae);!f.value||ae&&!ye?P=ae:f.value.scrollTop=ye}const U=R(()=>t.value.slice(i.value,o.value).map((ae,ye)=>({raw:ae,index:ye+i.value})));return $e(t,()=>{w=Array.from({length:t.value.length}),x=Array.from({length:t.value.length}),E.immediate(),ce()},{deep:!0}),{containerRef:f,markerRef:d,computedItems:U,paddingTop:l,paddingBottom:u,scrollToIndex:ge,handleScroll:z,handleScrollend:K,handleItemResize:k}}function N6(e,t){let n=e.length-1,r=0,i=0,o=null,l=-1;if(e[n]<t)return n;for(;r<=n;)if(i=r+n>>1,o=e[i],o>t)n=i-1;else if(o<t)l=i,r=i+1;else return o===t?i:r;return l}const U6=oe({items:{type:Array,default:()=>[]},renderless:Boolean,...wS(),...nt(),...No()},"VVirtualScroll"),CS=Ie()({name:"VVirtualScroll",props:U6(),setup(e,t){let{slots:n}=t;const r=en("VVirtualScroll"),{dimensionStyles:i}=Uo(e),{containerRef:o,markerRef:l,handleScroll:u,handleScrollend:f,handleItemResize:d,scrollToIndex:h,paddingTop:m,paddingBottom:v,computedItems:y}=SS(e,_e(e,"items"));return Zr(()=>e.renderless,()=>{function b(){var T,P;const x=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";o.value===document.documentElement?(document[x]("scroll",u,{passive:!0}),document[x]("scrollend",f)):((T=o.value)==null||T[x]("scroll",u,{passive:!0}),(P=o.value)==null||P[x]("scrollend",f))}nr(()=>{o.value=H_(r.vnode.el,!0),b(!0)}),_n(b)}),Ge(()=>{const b=y.value.map(w=>p(_S,{key:w.index,renderless:e.renderless,"onUpdate:height":x=>d(w.index,x)},{default:x=>{var T;return(T=n.default)==null?void 0:T.call(n,{item:w.raw,index:w.index,...x})}}));return e.renderless?p(He,null,[p("div",{ref:l,class:"v-virtual-scroll__spacer",style:{paddingTop:Be(m.value)}},null),b,p("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Be(v.value)}},null)]):p("div",{ref:o,class:["v-virtual-scroll",e.class],onScrollPassive:u,onScrollend:f,style:[i.value,e.style]},[p("div",{ref:l,class:"v-virtual-scroll__container",style:{paddingTop:Be(m.value),paddingBottom:Be(v.value)}},[b])])}),{scrollToIndex:h}}});function xS(e,t){const n=Ve(!1);let r;function i(u){cancelAnimationFrame(r),n.value=!0,r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{n.value=!1})})}async function o(){await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>{if(n.value){const f=$e(n,()=>{f(),u()})}else u()})}async function l(u){var h,m;if(u.key==="Tab"&&((h=t.value)==null||h.focus()),!["PageDown","PageUp","Home","End"].includes(u.key))return;const f=(m=e.value)==null?void 0:m.$el;if(!f)return;(u.key==="Home"||u.key==="End")&&f.scrollTo({top:u.key==="Home"?0:f.scrollHeight,behavior:"smooth"}),await o();const d=f.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(u.key==="PageDown"||u.key==="Home"){const v=f.getBoundingClientRect().top;for(const y of d)if(y.getBoundingClientRect().top>=v){y.focus();break}}else{const v=f.getBoundingClientRect().bottom;for(const y of[...d].reverse())if(y.getBoundingClientRect().bottom<=v){y.focus();break}}}return{onListScroll:i,onListKeydown:l}}const AS=oe({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:vt,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...jw({itemChildren:!1})},"Select"),z6=oe({...AS(),...es(zm({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...zo({transition:{component:Vm}})},"VSelect"),ES=Ie()({name:"VSelect",props:z6(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:n}=t;const{t:r}=ks(),i=Pe(),o=Pe(),l=Pe(),u=pt(e,"menu"),f=R({get:()=>u.value,set:U=>{var ae;u.value&&!U&&((ae=o.value)!=null&&ae.ΨopenChildren)||(u.value=U)}}),{items:d,transformIn:h,transformOut:m}=qw(e),v=pt(e,"modelValue",[],U=>h(U===null?[null]:Tn(U)),U=>{const ae=m(U);return e.multiple?ae:ae[0]??null}),y=R(()=>typeof e.counterValue=="function"?e.counterValue(v.value):typeof e.counterValue=="number"?e.counterValue:v.value.length),b=$m(),w=R(()=>v.value.map(U=>U.value)),x=Ve(!1),T=R(()=>f.value?e.closeText:e.openText);let P="",C;const E=R(()=>e.hideSelected?d.value.filter(U=>!v.value.some(ae=>ae===U)):d.value),V=R(()=>e.hideNoData&&!E.value.length||e.readonly||(b==null?void 0:b.isReadonly.value)),k=R(()=>{var U;return{...e.menuProps,activatorProps:{...((U=e.menuProps)==null?void 0:U.activatorProps)||{},"aria-haspopup":"listbox"}}}),D=Pe(),{onListScroll:L,onListKeydown:M}=xS(D,i);function B(U){e.openOnClear&&(f.value=!0)}function j(){V.value||(f.value=!f.value)}function z(U){var be,Oe;if(!U.key||e.readonly||b!=null&&b.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(U.key)&&U.preventDefault(),["Enter","ArrowDown"," "].includes(U.key)&&(f.value=!0),["Escape","Tab"].includes(U.key)&&(f.value=!1),U.key==="Home"?(be=D.value)==null||be.focus("first"):U.key==="End"&&((Oe=D.value)==null||Oe.focus("last"));const ae=1e3;function ye(Me){const Re=Me.key.length===1,q=!Me.ctrlKey&&!Me.metaKey&&!Me.altKey;return Re&&q}if(e.multiple||!ye(U))return;const ue=performance.now();ue-C>ae&&(P=""),P+=U.key.toLowerCase(),C=ue;const Se=d.value.find(Me=>Me.title.toLowerCase().startsWith(P));Se!==void 0&&(v.value=[Se])}function K(U){if(e.multiple){const ae=v.value.findIndex(ye=>e.valueComparator(ye.value,U.value));if(ae===-1)v.value=[...v.value,U];else{const ye=[...v.value];ye.splice(ae,1),v.value=ye}}else v.value=[U],f.value=!1}function te(U){var ae;(ae=D.value)!=null&&ae.$el.contains(U.relatedTarget)||(f.value=!1)}function ce(){var U;x.value&&((U=i.value)==null||U.focus())}function Q(U){x.value=!0}function ge(U){if(U==null)v.value=[];else if(Ku(i.value,":autofill")||Ku(i.value,":-webkit-autofill")){const ae=d.value.find(ye=>ye.title===U);ae&&K(ae)}else i.value&&(i.value.value="")}return $e(f,()=>{if(!e.hideSelected&&f.value&&v.value.length){const U=E.value.findIndex(ae=>v.value.some(ye=>e.valueComparator(ye.value,ae.value)));Lt&&window.requestAnimationFrame(()=>{var ae;U>=0&&((ae=l.value)==null||ae.scrollToIndex(U))})}}),$e(E,(U,ae)=>{x.value&&(!U.length&&e.hideNoData&&(f.value=!1),!ae.length&&U.length&&(f.value=!0))}),Ge(()=>{const U=!!(e.chips||n.chip),ae=!!(!e.hideNoData||E.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),ye=v.value.length>0,ue=Rn.filterProps(e),Se=ye||!x.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return p(Rn,Ae({ref:i},ue,{modelValue:v.value.map(be=>be.props.value).join(", "),"onUpdate:modelValue":ge,focused:x.value,"onUpdate:focused":be=>x.value=be,validationValue:v.externalValue,counterValue:y.value,dirty:ye,class:["v-select",{"v-select--active-menu":f.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!n.selection},e.class],style:e.style,inputmode:"none",placeholder:Se,"onClick:clear":B,"onMousedown:control":j,onBlur:te,onKeydown:z,"aria-label":r(T.value),title:r(T.value)}),{...n,default:()=>p(He,null,[p(bS,Ae({ref:o,modelValue:f.value,"onUpdate:modelValue":be=>f.value=be,activator:"parent",contentClass:"v-select__content",disabled:V.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:ce},k.value),{default:()=>[ae&&p(Zw,{ref:D,selected:w.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:be=>be.preventDefault(),onKeydown:M,onFocusin:Q,onScrollPassive:L,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},{default:()=>{var be,Oe,Me;return[(be=n["prepend-item"])==null?void 0:be.call(n),!E.value.length&&!e.hideNoData&&(((Oe=n["no-data"])==null?void 0:Oe.call(n))??p(Fr,{title:r(e.noDataText)},null)),p(CS,{ref:l,renderless:!0,items:E.value},{default:Re=>{var Ce;let{item:q,index:we,itemRef:fe}=Re;const Z=Ae(q.props,{ref:fe,key:we,onClick:()=>K(q)});return((Ce=n.item)==null?void 0:Ce.call(n,{item:q,index:we,props:Z}))??p(Fr,Ae(Z,{role:"option"}),{prepend:Ne=>{let{isSelected:I}=Ne;return p(He,null,[e.multiple&&!e.hideSelected?p(Br,{key:q.value,modelValue:I,ripple:!1,tabindex:"-1"},null):void 0,q.props.prependAvatar&&p(Io,{image:q.props.prependAvatar},null),q.props.prependIcon&&p(ut,{icon:q.props.prependIcon},null)])}})}}),(Me=n["append-item"])==null?void 0:Me.call(n)]}})]}),v.value.map((be,Oe)=>{function Me(fe){fe.stopPropagation(),fe.preventDefault(),K(be)}const Re={"onClick:close":Me,onMousedown(fe){fe.preventDefault(),fe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},q=U?!!n.chip:!!n.selection,we=q?Em(U?n.chip({item:be,index:Oe,props:Re}):n.selection({item:be,index:Oe})):void 0;if(!(q&&!we))return p("div",{key:be.value,class:"v-select__selection"},[U?n.chip?p(hn,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:be.title}}},{default:()=>[we]}):p(Gm,Ae({key:"chip",closable:e.closableChips,size:"small",text:be.title,disabled:be.props.disabled},Re),null):we??p("span",{class:"v-select__selection-text"},[be.title,e.multiple&&Oe<v.value.length-1&&p("span",{class:"v-select__selection-comma"},[De(",")])])])})]),"append-inner":function(){var Re;for(var be=arguments.length,Oe=new Array(be),Me=0;Me<be;Me++)Oe[Me]=arguments[Me];return p(He,null,[(Re=n["append-inner"])==null?void 0:Re.call(n,...Oe),e.menuIcon?p(ut,{class:"v-select__menu-icon",icon:e.menuIcon},null):void 0])}})}),Wo({isFocused:x,menu:f,select:K},i)}}),W6=function(e){return e=e.replaceAll(/([A-Z])/g," $1"),cS(e)},G6=(e,t,n)=>e==null||t==null?-1:e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()),jm=oe({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function j6(e,t,n){var u;const r=[],i=(n==null?void 0:n.default)??G6,o=n!=null&&n.filterKeys?Tn(n.filterKeys):!1,l=Object.keys((n==null?void 0:n.customKeyFilter)??{}).length;if(!(e!=null&&e.length))return r;e:for(let f=0;f<e.length;f++){const[d,h=d]=Tn(e[f]),m={},v={};let y=-1;if(t&&!(n!=null&&n.noFilter)){if(typeof d=="object"){const x=o||Object.keys(h);for(const T of x){const P=Bn(h,T,h),C=(u=n==null?void 0:n.customKeyFilter)==null?void 0:u[T];if(y=C?C(P,t,d):i(P,t,d),y!==-1&&y!==!1)C?m[T]=y:v[T]=y;else if((n==null?void 0:n.filterMode)==="every")continue e}}else y=i(d,t,d),y!==-1&&y!==!1&&(v.title=y);const b=Object.keys(v).length,w=Object.keys(m).length;if(!b&&!w||(n==null?void 0:n.filterMode)==="union"&&w!==l&&!b||(n==null?void 0:n.filterMode)==="intersection"&&(w!==l||!b))continue}r.push({index:f,matches:{...v,...m}})}return r}function Km(e,t,n,r){const i=Pe([]),o=Pe(new Map),l=R(()=>r!=null&&r.transform?jt(t).map(f=>[f,r.transform(f)]):jt(t));Nn(()=>{const f=typeof n=="function"?n():jt(n),d=typeof f!="string"&&typeof f!="number"?"":String(f),h=j6(l.value,d,{customKeyFilter:{...e.customKeyFilter,...jt(r==null?void 0:r.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),m=jt(t),v=[],y=new Map;h.forEach(b=>{let{index:w,matches:x}=b;const T=m[w];v.push(T),y.set(T.value,x)}),i.value=v,o.value=y});function u(f){return o.value.get(f.value)}return{filteredItems:i,filteredMatches:o,getMatches:u}}function K6(e,t,n){if(t==null)return e;if(Array.isArray(t))throw new Error("Multiple matches is not implemented");return typeof t=="number"&&~t?p(He,null,[p("span",{class:"v-combobox__unmask"},[e.substr(0,t)]),p("span",{class:"v-combobox__mask"},[e.substr(t,n)]),p("span",{class:"v-combobox__unmask"},[e.substr(t+n)])]):e}const q6=oe({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...jm({filterKeys:["title"]}),...AS({hideNoData:!0,returnObject:!0}),...es(zm({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...zo({transition:!1})},"VCombobox"),Y6=Ie()({name:"VCombobox",props:q6(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:search":e=>!0,"update:menu":e=>!0},setup(e,t){var fe;let{emit:n,slots:r}=t;const{t:i}=ks(),o=Pe(),l=Ve(!1),u=Ve(!0),f=Ve(!1),d=Pe(),h=Pe(),m=pt(e,"menu"),v=R({get:()=>m.value,set:Z=>{var Ce;m.value&&!Z&&((Ce=d.value)!=null&&Ce.ΨopenChildren)||(m.value=Z)}}),y=Ve(-1);let b=!1;const w=R(()=>{var Z;return(Z=o.value)==null?void 0:Z.color}),x=R(()=>v.value?e.closeText:e.openText),{items:T,transformIn:P,transformOut:C}=qw(e),{textColorClasses:E,textColorStyles:V}=Mr(w),k=pt(e,"modelValue",[],Z=>P(Tn(Z)),Z=>{const Ce=C(Z);return e.multiple?Ce:Ce[0]??null}),D=$m(),L=Ve(e.multiple?"":((fe=k.value[0])==null?void 0:fe.title)??""),M=R({get:()=>L.value,set:Z=>{var Ce;if(L.value=Z??"",e.multiple||(k.value=[ki(e,Z)]),Z&&e.multiple&&((Ce=e.delimiters)!=null&&Ce.length)){const Ne=Z.split(new RegExp(`(?:${e.delimiters.join("|")})+`));Ne.length>1&&(Ne.forEach(I=>{I=I.trim(),I&&Me(ki(e,I))}),L.value="")}Z||(y.value=-1),u.value=!Z}}),B=R(()=>typeof e.counterValue=="function"?e.counterValue(k.value):typeof e.counterValue=="number"?e.counterValue:e.multiple?k.value.length:M.value.length);$e(L,Z=>{b?Bt(()=>b=!1):l.value&&!v.value&&(v.value=!0),n("update:search",Z)}),$e(k,Z=>{var Ce;e.multiple||(L.value=((Ce=Z[0])==null?void 0:Ce.title)??"")});const{filteredItems:j,getMatches:z}=Km(e,T,()=>u.value?"":M.value),K=R(()=>e.hideSelected?j.value.filter(Z=>!k.value.some(Ce=>Ce.value===Z.value)):j.value),te=R(()=>k.value.map(Z=>Z.value)),ce=R(()=>{var Ce;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&M.value===((Ce=K.value[0])==null?void 0:Ce.title))&&K.value.length>0&&!u.value&&!f.value}),Q=R(()=>e.hideNoData&&!K.value.length||e.readonly||(D==null?void 0:D.isReadonly.value)),ge=Pe(),{onListScroll:U,onListKeydown:ae}=xS(ge,o);function ye(Z){b=!0,e.openOnClear&&(v.value=!0)}function ue(){Q.value||(v.value=!0)}function Se(Z){Q.value||(l.value&&(Z.preventDefault(),Z.stopPropagation()),v.value=!v.value)}function be(Z){var I;if(zD(Z)||e.readonly||D!=null&&D.isReadonly.value)return;const Ce=o.value.selectionStart,Ne=k.value.length;if((y.value>-1||["Enter","ArrowDown","ArrowUp"].includes(Z.key))&&Z.preventDefault(),["Enter","ArrowDown"].includes(Z.key)&&(v.value=!0),["Escape"].includes(Z.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(Z.key)&&(ce.value&&["Enter","Tab"].includes(Z.key)&&Me(j.value[0]),u.value=!0),Z.key==="ArrowDown"&&ce.value&&((I=ge.value)==null||I.focus("next")),!!e.multiple){if(["Backspace","Delete"].includes(Z.key)){if(y.value<0){Z.key==="Backspace"&&!M.value&&(y.value=Ne-1);return}const O=y.value,G=k.value[y.value];G&&!G.props.disabled&&Me(G,!1),y.value=O>=Ne-1?Ne-2:O}if(Z.key==="ArrowLeft"){if(y.value<0&&Ce>0)return;const O=y.value>-1?y.value-1:Ne-1;k.value[O]?y.value=O:(y.value=-1,o.value.setSelectionRange(M.value.length,M.value.length))}if(Z.key==="ArrowRight"){if(y.value<0)return;const O=y.value+1;k.value[O]?y.value=O:(y.value=-1,o.value.setSelectionRange(0,0))}Z.key==="Enter"&&M.value&&(Me(ki(e,M.value)),M.value="")}}function Oe(){var Z;l.value&&(u.value=!0,(Z=o.value)==null||Z.focus())}function Me(Z){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(e.multiple){const Ne=k.value.findIndex(O=>e.valueComparator(O.value,Z.value)),I=Ce??!~Ne;if(~Ne){const O=I?[...k.value,Z]:[...k.value];O.splice(Ne,1),k.value=O}else I&&(k.value=[...k.value,Z]);M.value=""}else{const Ne=Ce!==!1;k.value=Ne?[Z]:[],L.value=Ne?Z.title:"",Bt(()=>{v.value=!1,u.value=!0})}}function Re(Z){l.value=!0,setTimeout(()=>{f.value=!0})}function q(Z){f.value=!1}function we(Z){(Z==null||Z===""&&!e.multiple)&&(k.value=[])}return $e(l,(Z,Ce)=>{Z||Z===Ce||(y.value=-1,v.value=!1,ce.value&&!f.value&&!k.value.some(Ne=>{let{value:I}=Ne;return I===K.value[0].value})?Me(K.value[0]):e.multiple&&M.value&&Me(ki(e,M.value)))}),$e(v,()=>{if(!e.hideSelected&&v.value&&k.value.length){const Z=K.value.findIndex(Ce=>k.value.some(Ne=>e.valueComparator(Ne.value,Ce.value)));Lt&&window.requestAnimationFrame(()=>{var Ce;Z>=0&&((Ce=h.value)==null||Ce.scrollToIndex(Z))})}}),$e(K,(Z,Ce)=>{l.value&&(!Z.length&&e.hideNoData&&(v.value=!1),!Ce.length&&Z.length&&(v.value=!0))}),Ge(()=>{const Z=!!(e.chips||r.chip),Ce=!!(!e.hideNoData||K.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),Ne=k.value.length>0,I=Rn.filterProps(e);return p(Rn,Ae({ref:o},I,{modelValue:M.value,"onUpdate:modelValue":[O=>M.value=O,we],focused:l.value,"onUpdate:focused":O=>l.value=O,validationValue:k.externalValue,counterValue:B.value,dirty:Ne,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!r.selection,"v-combobox--selecting-index":y.value>-1,[`v-combobox--${e.multiple?"multiple":"single"}`]:!0},e.class],style:e.style,readonly:e.readonly,placeholder:Ne?void 0:e.placeholder,"onClick:clear":ye,"onMousedown:control":ue,onKeydown:be}),{...r,default:()=>p(He,null,[p(bS,Ae({ref:d,modelValue:v.value,"onUpdate:modelValue":O=>v.value=O,activator:"parent",contentClass:"v-combobox__content",disabled:Q.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:Oe},e.menuProps),{default:()=>[Ce&&p(Zw,{ref:ge,selected:te.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:O=>O.preventDefault(),onKeydown:ae,onFocusin:Re,onFocusout:q,onScrollPassive:U,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},{default:()=>{var O,G,ee;return[(O=r["prepend-item"])==null?void 0:O.call(r),!K.value.length&&!e.hideNoData&&(((G=r["no-data"])==null?void 0:G.call(r))??p(Fr,{title:i(e.noDataText)},null)),p(CS,{ref:h,renderless:!0,items:K.value},{default:X=>{var de;let{item:me,index:xe,itemRef:ve}=X;const pe=Ae(me.props,{ref:ve,key:xe,active:ce.value&&xe===0?!0:void 0,onClick:()=>Me(me,null)});return((de=r.item)==null?void 0:de.call(r,{item:me,index:xe,props:pe}))??p(Fr,pe,{prepend:Ee=>{let{isSelected:je}=Ee;return p(He,null,[e.multiple&&!e.hideSelected?p(Br,{key:me.value,modelValue:je,ripple:!1,tabindex:"-1"},null):void 0,me.props.prependAvatar&&p(Io,{image:me.props.prependAvatar},null),me.props.prependIcon&&p(ut,{icon:me.props.prependIcon},null)])},title:()=>{var Ee,je;return u.value?me.title:K6(me.title,(Ee=z(me))==null?void 0:Ee.title,((je=M.value)==null?void 0:je.length)??0)}})}}),(ee=r["append-item"])==null?void 0:ee.call(r)]}})]}),k.value.map((O,G)=>{function ee(ve){ve.stopPropagation(),ve.preventDefault(),Me(O,!1)}const X={"onClick:close":ee,onMousedown(ve){ve.preventDefault(),ve.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},me=Z?!!r.chip:!!r.selection,xe=me?Em(Z?r.chip({item:O,index:G,props:X}):r.selection({item:O,index:G})):void 0;if(!(me&&!xe))return p("div",{key:O.value,class:["v-combobox__selection",G===y.value&&["v-combobox__selection--selected",E.value]],style:G===y.value?V.value:{}},[Z?r.chip?p(hn,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:O.title}}},{default:()=>[xe]}):p(Gm,Ae({key:"chip",closable:e.closableChips,size:"small",text:O.title,disabled:O.props.disabled},X),null):xe??p("span",{class:"v-combobox__selection-text"},[O.title,e.multiple&&G<k.value.length-1&&p("span",{class:"v-combobox__selection-comma"},[De(",")])])])})]),"append-inner":function(){var X;for(var O=arguments.length,G=new Array(O),ee=0;ee<O;ee++)G[ee]=arguments[ee];return p(He,null,[(X=r["append-inner"])==null?void 0:X.call(r,...G),(!e.hideNoData||e.items.length)&&e.menuIcon?p(ut,{class:"v-combobox__menu-icon",icon:e.menuIcon,onMousedown:Se,onClick:qD,"aria-label":i(x.value),title:i(x.value)},null):void 0])}})}),Wo({isFocused:l,isPristine:u,menu:v,search:M,selectionIndex:y,filteredItems:j,select:Me},o)}}),PS=oe({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...nt(),...Hr(),...Ut(),...Kt()},"VTable"),Pr=Ie()({name:"VTable",props:PS(),setup(e,t){let{slots:n,emit:r}=t;const{themeClasses:i}=tn(e),{densityClasses:o}=ss(e);return Ge(()=>p(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!n.top,"v-table--has-bottom":!!n.bottom,"v-table--hover":e.hover},i.value,o.value,e.class],style:e.style},{default:()=>{var l,u,f;return[(l=n.top)==null?void 0:l.call(n),n.default?p("div",{class:"v-table__wrapper",style:{height:Be(e.height)}},[p("table",null,[n.default()])]):(u=n.wrapper)==null?void 0:u.call(n),(f=n.bottom)==null?void 0:f.call(n)]}})),{}}}),kS="sv-SE",TS=new Intl.DateTimeFormat(kS),Z6=new Intl.NumberFormat,RS=function(e){const t=e?kS:void 0;return new Intl.DateTimeFormat(t,{timeStyle:"medium"})},X6=function(e,t,n=!1){const r=new Date(e),i=TS.format(r),l=RS(t).format(r);return i+(n?"<br />":", ")+l},J6={name:"ConfirmDialog",components:{ConfirmFooter:Hc},props:{icon:{type:String,default:""},buttonText:{type:String,default:""},titleText:{type:String,required:!0},objectName:{type:String,required:!0},confirmText:{type:String,required:!0},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{showDialog:!1}},methods:{close(e){this.$emit(e),this.showDialog=!1}}},Q6={class:"confirmDialog"};function e8(e,t,n,r,i,o){const l=Hc;return ie(),Ze(ul,{modelValue:i.showDialog,"onUpdate:modelValue":t[2]||(t[2]=u=>i.showDialog=u),transition:"fab-transition","max-width":"20em","overlay-opacity":"0.5"},{activator:le(({props:u})=>[n.icon?(ie(),Ze(Zt,Ae({key:0,icon:""},u,{size:n.size,density:n.density,title:n.titleText}),{default:le(()=>[p(ut,null,{default:le(()=>[De(Te(n.icon),1)]),_:1})]),_:2},1040,["size","density","title"])):(ie(),Ze(Zt,Ae({key:1,block:""},u),{default:le(()=>[De(Te(n.buttonText),1)]),_:2},1040))]),default:le(()=>[H("div",Q6,[H("h3",null,Te(n.titleText),1),De(" "+Te(n.objectName)+" ",1),p(l,{"confirm-text":n.confirmText,onConfirm:t[0]||(t[0]=u=>o.close("confirm")),onCancel:t[1]||(t[1]=u=>o.close("cancel"))},null,8,["confirm-text"])])]),_:1},8,["modelValue"])}const ui=ct(J6,[["render",e8],["__scopeId","data-v-996f6e3c"]]),t8=oe({...Wc({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),qy=Ie()({name:"VRadio",props:t8(),setup(e,t){let{slots:n}=t;return Ge(()=>p(Vo,Ae(e,{class:["v-radio",e.class],style:e.style,type:"radio"}),n)),{}}}),n8=oe({height:{type:[Number,String],default:"auto"},...fl(),...es(Wm(),["multiple"]),trueIcon:{type:vt,default:"$radioOn"},falseIcon:{type:vt,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),r8=Ie()({name:"VRadioGroup",inheritAttrs:!1,props:n8(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const i=sr(),o=R(()=>e.id||`radio-group-${i}`),l=pt(e,"modelValue");return Ge(()=>{const[u,f]=nl(n),d=ii.filterProps(e),h=Vo.filterProps(e),m=r.label?r.label({label:e.label,props:{for:o.value}}):e.label;return p(ii,Ae({class:["v-radio-group",e.class],style:e.style},u,d,{modelValue:l.value,"onUpdate:modelValue":v=>l.value=v,id:o.value}),{...r,default:v=>{let{id:y,messagesId:b,isDisabled:w,isReadonly:x}=v;return p(He,null,[m&&p(Um,{id:y.value},{default:()=>[m]}),p(n4,Ae(h,{id:y.value,"aria-describedby":b.value,defaultsTarget:"VRadio",trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:e.type,disabled:w.value,readonly:x.value,"aria-labelledby":m?y.value:void 0,multiple:!1},f,{modelValue:l.value,"onUpdate:modelValue":T=>l.value=T}),r)])}})}),{}}}),Wa=Symbol.for("vuetify:v-expansion-panel"),s8=["default","accordion","inset","popout"],i8=oe({color:String,static:Boolean,variant:{type:String,default:"default",validator:e=>s8.includes(e)},readonly:Boolean,...nt(),...Oc(),...Ut(),...Kt()},"VExpansionPanels"),Yy=Ie()({name:"VExpansionPanels",props:i8(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;al(e,Wa);const{themeClasses:r}=tn(e),i=R(()=>e.variant&&`v-expansion-panels--variant-${e.variant}`);return In({VExpansionPanel:{color:_e(e,"color"),readonly:_e(e,"readonly"),static:_e(e,"static")}}),Ge(()=>p(e.tag,{class:["v-expansion-panels",r.value,i.value,e.class],style:e.style},n)),{}}}),o8=oe({...nt(),...Bc()},"VExpansionPanelText"),Ph=Ie()({name:"VExpansionPanelText",props:o8(),setup(e,t){let{slots:n}=t;const r=lt(Wa);if(!r)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:i,onAfterLeave:o}=Fm(e,r.isSelected);return Ge(()=>p(ol,{onAfterLeave:o},{default:()=>{var l;return[on(p("div",{class:["v-expansion-panel-text",e.class],style:e.style},[n.default&&i.value&&p("div",{class:"v-expansion-panel-text__wrapper"},[(l=n.default)==null?void 0:l.call(n)])]),[[yr,r.isSelected.value]])]}})),{}}}),IS=oe({color:String,expandIcon:{type:vt,default:"$expand"},collapseIcon:{type:vt,default:"$collapse"},hideActions:Boolean,static:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...nt()},"VExpansionPanelTitle"),kh=Ie()({name:"VExpansionPanelTitle",directives:{Ripple:ll},props:IS(),setup(e,t){let{slots:n}=t;const r=lt(Wa);if(!r)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:i,backgroundColorStyles:o}=Un(e,"color"),l=R(()=>({collapseIcon:e.collapseIcon,disabled:r.disabled.value,expanded:r.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly}));return Ge(()=>{var u;return on(p("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":r.isSelected.value,"v-expansion-panel-title--static":e.static},i.value,e.class],style:[o.value,e.style],type:"button",tabindex:r.disabled.value?-1:void 0,disabled:r.disabled.value,"aria-expanded":r.isSelected.value,onClick:e.readonly?void 0:r.toggle},[p("span",{class:"v-expansion-panel-title__overlay"},null),(u=n.default)==null?void 0:u.call(n,l.value),!e.hideActions&&p("span",{class:"v-expansion-panel-title__icon"},[n.actions?n.actions(l.value):p(ut,{icon:r.isSelected.value?e.collapseIcon:e.expandIcon},null)])]),[[Xr("ripple"),e.ripple]])}),{}}}),a8=oe({title:String,text:String,bgColor:String,...nt(),...rs(),...Dc(),...Bc(),...ir(),...Ut(),...IS()},"VExpansionPanel"),Zy=Ie()({name:"VExpansionPanel",props:a8(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=Mc(e,Wa),{backgroundColorClasses:i,backgroundColorStyles:o}=Un(e,"bgColor"),{elevationClasses:l}=Rs(e),{roundedClasses:u}=_r(e),f=R(()=>(r==null?void 0:r.disabled.value)||e.disabled),d=R(()=>r.group.items.value.reduce((v,y,b)=>(r.group.selected.value.includes(y.id)&&v.push(b),v),[])),h=R(()=>{const v=r.group.items.value.findIndex(y=>y.id===r.id);return!r.isSelected.value&&d.value.some(y=>y-v===1)}),m=R(()=>{const v=r.group.items.value.findIndex(y=>y.id===r.id);return!r.isSelected.value&&d.value.some(y=>y-v===-1)});return Et(Wa,r),In({VExpansionPanelText:{eager:_e(e,"eager")},VExpansionPanelTitle:{readonly:_e(e,"readonly")}}),Ge(()=>{const v=!!(n.text||e.text),y=!!(n.title||e.title);return p(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":r.isSelected.value,"v-expansion-panel--before-active":h.value,"v-expansion-panel--after-active":m.value,"v-expansion-panel--disabled":f.value},u.value,i.value,e.class],style:[o.value,e.style]},{default:()=>{var b;return[p("div",{class:["v-expansion-panel__shadow",...l.value]},null),y&&p(kh,{key:"title",collapseIcon:e.collapseIcon,color:e.color,expandIcon:e.expandIcon,hideActions:e.hideActions,ripple:e.ripple},{default:()=>[n.title?n.title():e.title]}),v&&p(Ph,{key:"text"},{default:()=>[n.text?n.text():e.text]}),(b=n.default)==null?void 0:b.call(n)]}})}),{}}}),RN={CCC:"Create Covers",CCD:"Remove Covers",CFO:"Find Orphan Covers",IDM:"Move Folders",IFM:"Move Books",ITR:"Read Book Tags",ITQ:"Discover Missing Tags",ITC:"Create Missing Tags",IDU:"Modify Folders",IFU:"Modify Books",IFC:"Create Books",IMQ:"Prepare Tags for Linking",IMC:"Link Books to Tags",IDD:"Remove Folders",IFD:"Remove Books",IFI:"Record Failed Imports",JTD:"Cleanup Stale Tags",JCU:"Update Codex Software",JCR:"Restart Codex",JCS:"Stop Codex",JDO:"Optimize Database",JDB:"Backup Database",JSD:"Cleanup Expired Sessions",SIX:"Search Index Clear",SIU:"Search Index Update",SID:"Search Index Remove Stale Records",SIM:"Search Index Optimize",WPO:"Poll Library"},l8=[{title:"Libraries",tasks:[{value:"poll",title:"Poll All Libraries",desc:"Update Libraries if changes detected"},{value:"poll_force",title:"Force Update All Libraries",desc:"Forcibly update all comics in all libraries",confirm:"This can take a long time"},{value:"force_update_all_failed_imports",title:"Update All Failed Imports",desc:"Forcibly update all failed imports in all libraries",confirm:"This can take a long time"}]},{title:"Covers",tasks:[{value:"purge_comic_covers",title:"Remove Comic Covers",desc:"from every library",confirm:"Are you sure?"},{value:"create_all_comic_covers",title:"Create All Comic Covers",desc:"Pre-generate covers for every comic in every library",confirm:"Are you sure?"}]},{title:"Search Index",tasks:[{value:"search_index_update",title:"Update Search Index",desc:"with recently changed comics"},{value:"search_index_rebuild",title:"Rebuild Search Index",desc:"Delete and rebuild the search index from scratch",confirm:"This can take a long time"},{value:"search_index_remove_stale",title:"Remove Stale Index Entries",desc:"Remove search index entries that are no longer in the library."},{value:"search_index_merge_small",title:"Merge Small Search Index Segments",desc:"Improves search lookup times. Runs nightly if the Optimize Admin Flag is off."},{value:"search_index_optimize",title:"Merge Search Index Into One Segment",desc:"Reduces disk space and improves search lookup times. Runs nightly if the Optimize Admin Flag is on.",confirm:"This can take a long time."},{value:"search_index_abort",title:"Abort Search Indexing",desc:"Aborts search index update and remove tasks."},{value:"search_index_clear",title:"Clear Search Index",desc:"of all entries"}]},{title:"Database",tasks:[{value:"db_vacuum",title:"Optimize & Compact Database",desc:"Run the sqlite3 optimize & vacuum and pragmas. Runs nightly"},{value:"db_backup",title:"Backup Database",desc:"Runs nightly"},{value:"db_search_sync",title:"Sync Search Index to DB",desc:"Check to see if this database matches the current search index. If there is a mismatch, rebuild the search index. Runs on startup."},{value:"watchdog_sync",title:"Sync Watchdog with DB",desc:"Ensure the Watchdog file watcher is enabled per database preferences for each library"}]},{title:"Codex Software",tasks:[{value:"codex_update",title:"Update Codex",desc:"If Codex updates to a new version, it will restart",confirm:"Are you sure?"},{value:"codex_restart",title:"Restart Codex Server",desc:"Immediately",confirm:"Are you sure?"},{value:"codex_shutdown",title:"Shutdown Codex Server",desc:"Immediately",confirm:"Are you sure?"}]},{title:"Notify",tasks:[{value:"notify_library_changed",title:"Notify Library Changed ",desc:"Signal all clients that the libraries have changed and the browser should fetch new data."},{value:"notify_librarian_status",title:"Notify Librarian Status",desc:"Signal Admin clients to fetch librarian status."}]},{title:"Cleanup",tasks:[{value:"cleanup_fks",title:"Remove Orphan Tags",desc:"After deleting comics, unused linked objects remain in case new comics use them. Runs nightly."},{value:"cleanup_sessions",title:"Cleanup Sessions",desc:"Remove corrupt and expired sessions. Runs nightly."},{value:"cleanup_covers",title:"Remove Orphan Covers",desc:"from comics that no longer exist. Runs nightly."},{value:"librarian_clear_status",title:"Clear Librarian Statuses",desc:"Mark all Librarian tasks finished."},{value:"janitor_nightly",title:"Run Nightly Maintenance",desc:"Runs several tasks above that also run nightly.",confirm:"Launches several tasks that run nightly anyway."}]}],u8={FV:"Folder View",RG:"Registration",NU:"Non Users",AU:"Auto Update",SO:"Search Index Full Optimization"},VS={AU:"If enabled, codex will attempt to update the codex python package once a day and restart the server if an update occurred. Not advisable if running from Docker as running containers aren't meant to hold state and will be rebuilt if you update the image. Look into services that automatically update docker images instead.",NU:"By default all Codex features, including bookmarking, are available to users who are not logged in. You may disable this feature and Codex will hide its browser and reader and disable its API from anyone who is not logged in as a user.",RG:"By default users' bookmarks and preferences are saved in an anonymous browser session. Users can create a username and password to save their bookmarks between browsers. You may disable this feature. Admins may still create users.",FV:`By default, codex provides a "Folder View" which mimics the directory hierarchy of the libraries that you've added to Codex. You may disable this feature. The database style browser view is always available. This flag also enables and disables the "Filename" sort option.`,SO:"Fully optimize the search index each night. Disabling this flag will instead run a partial optimization which only merges small files. You should only disable this if the nightly optimization stresses your system too much."};Object.freeze(VS);const c8={name:"AdminFlagsTab",components:{},data(){return{lastUpdate:{name:"",field:void 0},DESC:VS}},computed:{...kt(Rt,["formErrors"]),...kt(Dt,["flags"])},mounted(){this.loadTables(["Flag"])},methods:{...Xt(Dt,["updateRow","clearErrors","loadTables"]),changeCol(e,t,n){this.lastUpdate.name=e,this.lastUpdate.field=t;const r={[t]:n};this.updateRow("Flag",e,r)},getFormErrors(e,t){if(e===this.lastUpdate.name&&t===this.lastUpdate.field)return this.formErrors},title(e){return u8[e.key]}}},f8=e=>(Wi("data-v-1bf15713"),e=e(),Gi(),e),d8=f8(()=>H("thead",null,[H("tr",null,[H("th",null,"Description"),H("th",null,"Enabled")])],-1)),h8={class:"nameCol"},m8={class:"desc"};function v8(e,t,n,r,i,o){return ie(),Ze(Pr,{class:"highlight-table flags-table",items:e.flags,"fixed-header":""},{default:le(()=>[d8,H("tbody",null,[(ie(!0),We(He,null,Rr(e.flags,l=>(ie(),We("tr",{key:`f${l.key}`},[H("td",h8,[H("h4",null,Te(o.title(l)),1),H("p",m8,Te(i.DESC[l.key]),1)]),H("td",null,[p(Lo,{"model-value":l.on,"true-value":!0,"error-messages":o.getFormErrors(l.key,"on"),"hide-details":"auto","onUpdate:modelValue":u=>o.changeCol(l.key,"on",u)},null,8,["model-value","error-messages","onUpdate:modelValue"])])]))),128))])]),_:1},8,["items"])}const g8=ct(c8,[["render",v8],["__scopeId","data-v-1bf15713"]]),p8=Object.freeze(Object.defineProperty({__proto__:null,default:g8},Symbol.toStringTag,{value:"Module"})),y8={name:"GroupChip",props:{titleKey:{type:String,required:!0},groupType:{type:Boolean,default:!1},item:{type:Object,required:!0}}};function b8(e,t,n,r,i,o){return ie(),Ze(Gm,{class:Vr({include:n.groupType&&!n.item.exclude,exclude:n.groupType&&n.item.exclude}),text:n.item[n.titleKey],value:n.item.value},null,8,["class","text","value"])}const Ki=ct(y8,[["render",b8],["__scopeId","data-v-a055b014"]]),_8={name:"RelationChips",components:{GroupChip:Ki},props:{pks:{type:Array,required:!0},objs:{type:Object,required:!0},titleKey:{type:String,required:!0},groupType:{type:Boolean,default:!1}},computed:{map(){const e={};for(const t of this.objs)e[t.pk]=t;return e}}};function w8(e,t,n,r,i,o){const l=Ki;return ie(),We("span",null,[(ie(!0),We(He,null,Rr(n.pks,u=>(ie(),Ze(l,{key:u,"title-key":n.titleKey,"group-type":n.groupType,item:o.map[u]},null,8,["title-key","group-type","item"]))),128))])}const jo=ct(_8,[["render",w8]]),S8={name:"AdminCreateUpdateButton",props:{update:{type:Boolean,default:!1},table:{type:String,required:!0},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{mdiPencil:BF}}},C8={key:1};function x8(e,t,n,r,i,o){return ie(),Ze(Zt,Ae({rounded:"",icon:n.update},e.$attrs,{size:n.size,density:n.density}),{default:le(()=>[n.update?(ie(),Ze(ut,{key:0},{default:le(()=>[De(Te(i.mdiPencil),1)]),_:1})):(ie(),We("span",C8,"+ "+Te(n.table),1))]),_:1},16,["icon","size","density"])}const A8=ct(S8,[["render",x8]]),E8={name:"AdminCreateUpdateDialog",components:{AdminCreateUpdateButton:A8,SubmitFooter:Go},props:{table:{type:String,required:!0},oldRow:{type:[Object,Boolean],default:!1},inputs:{type:Object,required:!0},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{row:{},showDialog:!1,submitButtonEnabled:!1}},computed:{verb(){return this.oldRow?"Update":"Add"},title(){return(this.oldRow?"Edit":"Add")+" "+this.table}},watch:{showDialog(e){this.row=this.getRow(e)}},methods:{...Xt(Dt,["createRow","updateRow"]),validate(){let e=!1;for(const[n,r]of Object.entries(this.row))if(!kr.isEqual(this.oldRow[n],r)){e=!0;break}if(!e)return!1;const t=this.$refs.form;return t?t.validate().then(({valid:n})=>n).catch(()=>!1):!1},change(e){this.row=e,this.submitButtonEnabled=this.validate()},getRow(e){if(!e||!this.oldRow)return kr.cloneDeep(this.inputs.EMPTY_ROW);const t={};for(const n of this.inputs.UPDATE_KEYS)t[n]=kr.cloneDeep(this.oldRow[n]);return t},doUpdate:function(){const e={};for(const[t,n]of Object.entries(this.row))kr.isEqual(this.oldRow[t],n)||(e[t]=n);this.updateRow(this.table,this.oldRow.pk,e).then(()=>(this.showDialog=!1,!0)).catch(console.error)},doCreate:function(){this.createRow(this.table,this.row).then(()=>(this.showDialog=!1,!0)).catch(console.error)},submit:function(){const e=this.$refs.form;e&&e.validate().then(({valid:t})=>{if(t)return this.oldRow?this.doUpdate():this.doCreate()}).catch(console.warn)}}};function P8(e,t,n,r,i,o){const l=Ft("AdminCreateUpdateButton"),u=Go;return ie(),Ze(ul,Ae({modelValue:i.showDialog,"onUpdate:modelValue":t[1]||(t[1]=f=>i.showDialog=f),transition:"scale-transition"},e.$attrs),{activator:le(({props:f})=>[p(l,Ae({update:!!n.oldRow,table:n.table},f,{size:n.size,density:n.density,title:o.title}),null,16,["update","table","size","density","title"])]),default:le(()=>[p(Hm,{ref:"form",class:"cuForm"},{default:le(()=>[H("h2",null,Te(n.table),1),(ie(),Ze(ji(n.inputs),{"old-row":n.oldRow,onChange:o.change},null,40,["old-row","onChange"])),p(u,{verb:o.verb,table:n.table,disabled:!i.submitButtonEnabled,onSubmit:o.submit,onCancel:t[0]||(t[0]=f=>i.showDialog=!1)},null,8,["verb","table","disabled","onSubmit"])]),_:1},512)]),_:1},16,["modelValue"])}const qm=ct(E8,[["render",P8],["__scopeId","data-v-1643bf88"]]),k8={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...kt(kc,{twentyFourHourTime:e=>e.settings.twentyFourHourTime}),formattedDate:function(){return TS.format(this.date)},formattedTime:function(){return RS(this.twentyFourHourTime).format(this.date)}},created(){}},T8={key:0},R8={class:"colTime"};function I8(e,t,n,r,i,o){return n.dttm?(ie(),We("div",T8,[De(Te(o.formattedDate)+" ",1),H("div",R8,Te(o.formattedTime),1)])):xt("",!0)}const Ym=ct(k8,[["render",I8],["__scopeId","data-v-b06bd477"]]),V8={name:"AdminDeleteRowDialog",components:{ConfirmDialog:ui},props:{table:{type:String,required:!0},pk:{type:Number,required:!0},name:{type:String,required:!0}},data(){return{mdiTrashCan:HF}},computed:{titleText(){return`Delete ${this.table}`}},methods:{...Xt(Dt,["deleteRow"]),confirm(){this.deleteRow(this.table,this.pk),this.showDialog=!1}}};function L8(e,t,n,r,i,o){const l=ui;return ie(),Ze(l,{icon:i.mdiTrashCan,"title-text":o.titleText,"object-name":n.name,"confirm-text":o.titleText,onConfirm:o.confirm},null,8,["icon","title-text","object-name","confirm-text","onConfirm"])}const Zm=ct(V8,[["render",L8]]),O8={name:"AdminRelationPicker",components:{GroupChip:Ki},props:{objs:{type:Object,required:!0},titleKey:{type:String,required:!0},groupType:{type:Boolean,default:!1}},computed:{vuetifyItems(){const e=[];for(const t of this.objs)e.push({...t,value:t.pk,title:t[this.titleKey]});return e}}};function D8(e,t,n,r,i,o){const l=Ki;return ie(),Ze(ES,Ae({chips:!0,"closable-chips":!0,density:"compact",multiple:!0,items:o.vuetifyItems},e.$attrs),{chip:le(({item:u})=>[p(l,{"title-key":"title",item:u,"group-type":n.groupType},null,8,["item","group-type"])]),_:1},16,["items"])}const Xm=ct(O8,[["render",D8]]),LS=["username","isStaff","isActive","groups"];Object.freeze(LS);const Th={username:"",password:"",passwordConfirm:"",isStaff:!1,isActive:!0,groups:[]};Object.freeze(Th);const M8={name:"AdminUserCreateUpdateInputs",components:{AdminRelationPicker:Xm},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{username:[e=>!!e||"Username is required",e=>!!e&&!this.usernames.has(e.trim())||"Username already used"],password:[e=>!!e||"Password is required"],passwordConfirm:[e=>e===this.row.password||"Passwords must match"]},row:kr.cloneDeep(this.oldRow||Th)}},computed:{...kt(Dt,{groups:e=>e.groups,users:e=>e.users}),usernames(){return this.nameSet(this.users,"username",this.oldRow,!0)}},watch:{row:{handler(e){this.$emit("change",e)},deep:!0},oldRow:{handler(e){this.row=kr.cloneDeep(e)},deep:!0}},methods:{...Xt(Dt,["nameSet"])},UPDATE_KEYS:LS,EMPTY_ROW:Th},F8={key:0};function B8(e,t,n,r,i,o){const l=Ft("AdminRelationPicker");return ie(),We("div",null,[p(Rn,{modelValue:i.row.username,"onUpdate:modelValue":t[0]||(t[0]=u=>i.row.username=u),autocomplete:"username",label:"Username",rules:i.rules.username,clearable:"",autofocus:"",onKeydown:t[1]||(t[1]=Cs(u=>e.$refs.password.focus(),["enter"]))},null,8,["modelValue","rules"]),n.oldRow?xt("",!0):(ie(),We("div",F8,[p(Rn,{ref:"password",modelValue:i.row.password,"onUpdate:modelValue":t[2]||(t[2]=u=>i.row.password=u),autocomplete:"new-password",label:"Password",rules:i.rules.password,clearable:"",type:"password",onKeydown:t[3]||(t[3]=Cs(u=>e.$refs.passwordConfirm.focus(),["enter"]))},null,8,["modelValue","rules"]),p(Rn,{ref:"passwordConfirm",modelValue:i.row.passwordConfirm,"onUpdate:modelValue":t[4]||(t[4]=u=>i.row.passwordConfirm=u),autocomplete:"new-password",label:"Confirm Password",rules:i.rules.passwordConfirm,clearable:"",type:"password"},null,8,["modelValue","rules"])])),p(Lo,{modelValue:i.row.isStaff,"onUpdate:modelValue":t[5]||(t[5]=u=>i.row.isStaff=u),label:"Is Staff"},null,8,["modelValue"]),p(Lo,{modelValue:i.row.isActive,"onUpdate:modelValue":t[6]||(t[6]=u=>i.row.isActive=u),label:"Is Active"},null,8,["modelValue"]),p(l,{modelValue:i.row.groups,"onUpdate:modelValue":t[7]||(t[7]=u=>i.row.groups=u),label:"Groups",objs:e.groups,"title-key":"name","group-type":""},null,8,["modelValue","objs"])])}const $8=ct(M8,[["render",B8]]);function H8(){const e=Pe([]);sm(()=>e.value=[]);function t(n,r){e.value[r]=n}return{refs:e,updateRef:t}}const N8=oe({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1===0},totalVisible:[Number,String],firstIcon:{type:vt,default:"$first"},prevIcon:{type:vt,default:"$prev"},nextIcon:{type:vt,default:"$next"},lastIcon:{type:vt,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Ts(),...nt(),...Hr(),...rs(),...ir(),...Ho(),...Ut({tag:"nav"}),...Kt(),...Is({variant:"text"})},"VPagination"),Xy=Ie()({name:"VPagination",props:N8(),emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=pt(e,"modelValue"),{t:o,n:l}=ks(),{isRtl:u}=ns(),{themeClasses:f}=tn(e),{width:d}=sl(),h=Ve(-1);In(void 0,{scoped:!0});const{resizeRef:m}=si(L=>{if(!L.length)return;const{target:M,contentRect:B}=L[0],j=M.querySelector(".v-pagination__list > *");if(!j)return;const z=B.width,K=j.offsetWidth+parseFloat(getComputedStyle(j).marginRight)*2;h.value=w(z,K)}),v=R(()=>parseInt(e.length,10)),y=R(()=>parseInt(e.start,10)),b=R(()=>e.totalVisible!=null?parseInt(e.totalVisible,10):h.value>=0?h.value:w(d.value,58));function w(L,M){const B=e.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((L-M*B)/M).toFixed(2)))}const x=R(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(b.value<=0)return[];if(b.value===1)return[i.value];if(v.value<=b.value)return yo(v.value,y.value);const L=b.value%2===0,M=L?b.value/2:Math.floor(b.value/2),B=L?M:M+1,j=v.value-M;if(B-i.value>=0)return[...yo(Math.max(1,b.value-1),y.value),e.ellipsis,v.value];if(i.value-j>=(L?1:0)){const z=b.value-1,K=v.value-z+y.value;return[y.value,e.ellipsis,...yo(z,K)]}else{const z=Math.max(1,b.value-3),K=z===1?i.value:i.value-Math.ceil(z/2)+y.value;return[y.value,e.ellipsis,...yo(z,K),e.ellipsis,v.value]}});function T(L,M,B){L.preventDefault(),i.value=M,B&&r(B,M)}const{refs:P,updateRef:C}=H8();In({VPaginationBtn:{color:_e(e,"color"),border:_e(e,"border"),density:_e(e,"density"),size:_e(e,"size"),variant:_e(e,"variant"),rounded:_e(e,"rounded"),elevation:_e(e,"elevation")}});const E=R(()=>x.value.map((L,M)=>{const B=j=>C(j,M);if(typeof L=="string")return{isActive:!1,key:`ellipsis-${M}`,page:L,props:{ref:B,ellipsis:!0,icon:!0,disabled:!0}};{const j=L===i.value;return{isActive:j,key:L,page:l(L),props:{ref:B,ellipsis:!1,icon:!0,disabled:!!e.disabled||+e.length<2,color:j?e.activeColor:e.color,ariaCurrent:j,ariaLabel:o(j?e.currentPageAriaLabel:e.pageAriaLabel,L),onClick:z=>T(z,L)}}}})),V=R(()=>{const L=!!e.disabled||i.value<=y.value,M=!!e.disabled||i.value>=y.value+v.value-1;return{first:e.showFirstLastPage?{icon:u.value?e.lastIcon:e.firstIcon,onClick:B=>T(B,y.value,"first"),disabled:L,ariaLabel:o(e.firstAriaLabel),ariaDisabled:L}:void 0,prev:{icon:u.value?e.nextIcon:e.prevIcon,onClick:B=>T(B,i.value-1,"prev"),disabled:L,ariaLabel:o(e.previousAriaLabel),ariaDisabled:L},next:{icon:u.value?e.prevIcon:e.nextIcon,onClick:B=>T(B,i.value+1,"next"),disabled:M,ariaLabel:o(e.nextAriaLabel),ariaDisabled:M},last:e.showFirstLastPage?{icon:u.value?e.firstIcon:e.lastIcon,onClick:B=>T(B,y.value+v.value-1,"last"),disabled:M,ariaLabel:o(e.lastAriaLabel),ariaDisabled:M}:void 0}});function k(){var M;const L=i.value-y.value;(M=P.value[L])==null||M.$el.focus()}function D(L){L.key===Z1.left&&!e.disabled&&i.value>+e.start?(i.value=i.value-1,Bt(k)):L.key===Z1.right&&!e.disabled&&i.value<y.value+v.value-1&&(i.value=i.value+1,Bt(k))}return Ge(()=>p(e.tag,{ref:m,class:["v-pagination",f.value,e.class],style:e.style,role:"navigation","aria-label":o(e.ariaLabel),onKeydown:D,"data-test":"v-pagination-root"},{default:()=>[p("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&p("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[n.first?n.first(V.value.first):p(Zt,Ae({_as:"VPaginationBtn"},V.value.first),null)]),p("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[n.prev?n.prev(V.value.prev):p(Zt,Ae({_as:"VPaginationBtn"},V.value.prev),null)]),E.value.map((L,M)=>p("li",{key:L.key,class:["v-pagination__item",{"v-pagination__item--is-active":L.isActive}],"data-test":"v-pagination-item"},[n.item?n.item(L):p(Zt,Ae({_as:"VPaginationBtn"},L.props),{default:()=>[L.page]})])),p("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[n.next?n.next(V.value.next):p(Zt,Ae({_as:"VPaginationBtn"},V.value.next),null)]),e.showFirstLastPage&&p("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[n.last?n.last(V.value.last):p(Zt,Ae({_as:"VPaginationBtn"},V.value.last),null)])])]})),{}}}),U8=oe({page:{type:[Number,String],default:1},itemsPerPage:{type:[Number,String],default:10}},"DataTable-paginate"),OS=Symbol.for("vuetify:data-table-pagination");function z8(e){const t=pt(e,"page",void 0,r=>+(r??1)),n=pt(e,"itemsPerPage",void 0,r=>+(r??10));return{page:t,itemsPerPage:n}}function W8(e){const{page:t,itemsPerPage:n,itemsLength:r}=e,i=R(()=>n.value===-1?0:n.value*(t.value-1)),o=R(()=>n.value===-1?r.value:Math.min(r.value,i.value+n.value)),l=R(()=>n.value===-1||r.value===0?1:Math.ceil(r.value/n.value));Nn(()=>{t.value>l.value&&(t.value=l.value)});function u(v){n.value=v,t.value=1}function f(){t.value=Yr(t.value+1,1,l.value)}function d(){t.value=Yr(t.value-1,1,l.value)}function h(v){t.value=Yr(v,1,l.value)}const m={page:t,itemsPerPage:n,startIndex:i,stopIndex:o,pageCount:l,itemsLength:r,nextPage:f,prevPage:d,setPage:h,setItemsPerPage:u};return Et(OS,m),m}function G8(){const e=lt(OS);if(!e)throw new Error("Missing pagination!");return e}function j8(e){const{items:t,startIndex:n,stopIndex:r,itemsPerPage:i}=e;return{paginatedItems:R(()=>i.value<=0?t.value:t.value.slice(n.value,r.value))}}const DS=oe({prevIcon:{type:String,default:"$prev"},nextIcon:{type:String,default:"$next"},firstIcon:{type:String,default:"$first"},lastIcon:{type:String,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},pageText:{type:String,default:"$vuetify.dataFooter.pageText"},firstPageLabel:{type:String,default:"$vuetify.dataFooter.firstPage"},prevPageLabel:{type:String,default:"$vuetify.dataFooter.prevPage"},nextPageLabel:{type:String,default:"$vuetify.dataFooter.nextPage"},lastPageLabel:{type:String,default:"$vuetify.dataFooter.lastPage"},itemsPerPageOptions:{type:Array,default:()=>[{value:10,title:"10"},{value:25,title:"25"},{value:50,title:"50"},{value:100,title:"100"},{value:-1,title:"$vuetify.dataFooter.itemsPerPageAll"}]},showCurrentPage:Boolean},"VDataTableFooter"),Jy=Ie()({name:"VDataTableFooter",props:DS(),setup(e,t){let{slots:n}=t;const{t:r}=ks(),{page:i,pageCount:o,startIndex:l,stopIndex:u,itemsLength:f,itemsPerPage:d,setItemsPerPage:h}=G8(),m=R(()=>e.itemsPerPageOptions.map(v=>typeof v=="number"?{value:v,title:v===-1?r("$vuetify.dataFooter.itemsPerPageAll"):String(v)}:{...v,title:r(v.title)}));return Ge(()=>{var y;const v=Xy.filterProps(e);return p("div",{class:"v-data-table-footer"},[(y=n.prepend)==null?void 0:y.call(n),p("div",{class:"v-data-table-footer__items-per-page"},[p("span",null,[r(e.itemsPerPageText)]),p(ES,{items:m.value,modelValue:d.value,"onUpdate:modelValue":b=>h(Number(b)),density:"compact",variant:"outlined","hide-details":!0},null)]),p("div",{class:"v-data-table-footer__info"},[p("div",null,[r(e.pageText,f.value?l.value+1:0,u.value,f.value)])]),p("div",{class:"v-data-table-footer__pagination"},[p(Xy,Ae({modelValue:i.value,"onUpdate:modelValue":b=>i.value=b,density:"comfortable","first-aria-label":e.firstPageLabel,"last-aria-label":e.lastPageLabel,length:o.value,"next-aria-label":e.nextPageLabel,"previous-aria-label":e.prevPageLabel,rounded:!0,"show-first-last-page":!0,"total-visible":e.showCurrentPage?1:0,variant:"plain"},v),null)])])}),{}}}),Jm=CM({align:{type:String,default:"start"},fixed:Boolean,fixedOffset:[Number,String],height:[Number,String],lastFixed:Boolean,noPadding:Boolean,tag:String,width:[Number,String]},(e,t)=>{let{slots:n}=t;const r=e.tag??"td";return p(r,{class:["v-data-table__td",{"v-data-table-column--fixed":e.fixed,"v-data-table-column--last-fixed":e.lastFixed,"v-data-table-column--no-padding":e.noPadding},`v-data-table-column--align-${e.align}`],style:{height:Be(e.height),width:Be(e.width),left:Be(e.fixedOffset||null)}},{default:()=>{var i;return[(i=n.default)==null?void 0:i.call(n)]}})}),K8=oe({headers:Array},"DataTable-header"),MS=Symbol.for("vuetify:data-table-headers"),FS={title:"",sortable:!1},q8={...FS,width:48};function Y8(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).map(n=>({element:n,priority:0}));return{enqueue:(n,r)=>{let i=!1;for(let o=0;o<t.length;o++)if(t[o].priority>r){t.splice(o,0,{element:n,priority:r}),i=!0;break}i||t.push({element:n,priority:r})},size:()=>t.length,count:()=>{let n=0;if(!t.length)return 0;const r=Math.floor(t[0].priority);for(let i=0;i<t.length;i++)Math.floor(t[i].priority)===r&&(n+=1);return n},dequeue:()=>t.shift()}}function Rh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(!e.children)t.push(e);else for(const n of e.children)Rh(n,t);return t}function BS(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;for(const n of e)n.key&&t.add(n.key),n.children&&BS(n.children,t);return t}function Z8(e){if(e.key){if(e.key==="data-table-group")return FS;if(["data-table-expand","data-table-select"].includes(e.key))return q8}}function Qm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.children?Math.max(t,...e.children.map(n=>Qm(n,t+1))):t}function X8(e){let t=!1;function n(o){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o)if(l&&(o.fixed=!0),o.fixed)if(o.children)for(let u=o.children.length-1;u>=0;u--)n(o.children[u],!0);else t?isNaN(+o.width)&&(`${o.key}`,void 0):o.lastFixed=!0,t=!0;else if(o.children)for(let u=o.children.length-1;u>=0;u--)n(o.children[u]);else t=!1}for(let o=e.length-1;o>=0;o--)n(e[o]);function r(o){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!o)return l;if(o.children){o.fixedOffset=l;for(const u of o.children)l=r(u,l)}else o.fixed&&(o.fixedOffset=l,l+=parseFloat(o.width||"0")||0);return l}let i=0;for(const o of e)i=r(o,i)}function J8(e,t){const n=[];let r=0;const i=Y8(e);for(;i.size()>0;){let l=i.count();const u=[];let f=1;for(;l>0;){const{element:d,priority:h}=i.dequeue(),m=t-r-Qm(d);if(u.push({...d,rowspan:m??1,colspan:d.children?Rh(d).length:1}),d.children)for(const v of d.children){const y=h%1+f/Math.pow(10,r+2);i.enqueue(v,r+m+y)}f+=1,l-=1}r+=1,n.push(u)}return{columns:e.map(l=>Rh(l)).flat(),headers:n}}function $S(e){const t=[];for(const n of e){const r={...Z8(n),...n},i=r.key??(typeof r.value=="string"?r.value:null),o=r.value??i??null,l={...r,key:i,value:o,sortable:r.sortable??(r.key!=null||!!r.sort),children:r.children?$S(r.children):void 0};t.push(l)}return t}function HS(e,t){const n=Pe([]),r=Pe([]),i=Pe(),o=Pe();Nn(()=>{var b,w,x;const f=(e.headers||Object.keys(e.items[0]??{}).map(T=>({key:T,title:oi(T)}))).slice(),d=BS(f);(b=t==null?void 0:t.groupBy)!=null&&b.value.length&&!d.has("data-table-group")&&f.unshift({key:"data-table-group",title:"Group"}),(w=t==null?void 0:t.showSelect)!=null&&w.value&&!d.has("data-table-select")&&f.unshift({key:"data-table-select"}),(x=t==null?void 0:t.showExpand)!=null&&x.value&&!d.has("data-table-expand")&&f.push({key:"data-table-expand"});const h=$S(f);X8(h);const m=Math.max(...h.map(T=>Qm(T)))+1,v=J8(h,m);n.value=v.headers,r.value=v.columns;const y=v.headers.flat(1);i.value=y.reduce((T,P)=>(P.sortable&&P.key&&P.sort&&(T[P.key]=P.sort),T),{}),o.value=y.reduce((T,P)=>(P.key&&P.filter&&(T[P.key]=P.filter),T),{})});const l={headers:n,columns:r,sortFunctions:i,filterFunctions:o};return Et(MS,l),l}function Gc(){const e=lt(MS);if(!e)throw new Error("Missing headers!");return e}const Q8={showSelectAll:!1,allSelected:()=>[],select:e=>{var r;let{items:t,value:n}=e;return new Set(n?[(r=t[0])==null?void 0:r.value]:[])},selectAll:e=>{let{selected:t}=e;return t}},NS={showSelectAll:!0,allSelected:e=>{let{currentPage:t}=e;return t},select:e=>{let{items:t,value:n,selected:r}=e;for(const i of t)n?r.add(i.value):r.delete(i.value);return r},selectAll:e=>{let{value:t,currentPage:n,selected:r}=e;return NS.select({items:n,value:t,selected:r})}},US={showSelectAll:!0,allSelected:e=>{let{allItems:t}=e;return t},select:e=>{let{items:t,value:n,selected:r}=e;for(const i of t)n?r.add(i.value):r.delete(i.value);return r},selectAll:e=>{let{value:t,allItems:n,selected:r}=e;return US.select({items:n,value:t,selected:r})}},e$=oe({showSelect:Boolean,selectStrategy:{type:[String,Object],default:"page"},modelValue:{type:Array,default:()=>[]},valueComparator:{type:Function,default:ai}},"DataTable-select"),zS=Symbol.for("vuetify:data-table-selection");function WS(e,t){let{allItems:n,currentPage:r}=t;const i=pt(e,"modelValue",e.modelValue,x=>new Set(Tn(x).map(T=>{var P;return((P=n.value.find(C=>e.valueComparator(T,C.value)))==null?void 0:P.value)??T})),x=>[...x.values()]),o=R(()=>n.value.filter(x=>x.selectable)),l=R(()=>r.value.filter(x=>x.selectable)),u=R(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single":return Q8;case"all":return US;case"page":default:return NS}});function f(x){return Tn(x).every(T=>i.value.has(T.value))}function d(x){return Tn(x).some(T=>i.value.has(T.value))}function h(x,T){const P=u.value.select({items:x,value:T,selected:new Set(i.value)});i.value=P}function m(x){h([x],!f([x]))}function v(x){const T=u.value.selectAll({value:x,allItems:o.value,currentPage:l.value,selected:new Set(i.value)});i.value=T}const y=R(()=>i.value.size>0),b=R(()=>{const x=u.value.allSelected({allItems:o.value,currentPage:l.value});return!!x.length&&f(x)}),w={toggleSelect:m,select:h,selectAll:v,isSelected:f,isSomeSelected:d,someSelected:y,allSelected:b,showSelectAll:u.value.showSelectAll};return Et(zS,w),w}function jc(){const e=lt(zS);if(!e)throw new Error("Missing selection!");return e}const t$=oe({sortBy:{type:Array,default:()=>[]},customKeySort:Object,multiSort:Boolean,mustSort:Boolean},"DataTable-sort"),GS=Symbol.for("vuetify:data-table-sort");function jS(e){const t=pt(e,"sortBy"),n=_e(e,"mustSort"),r=_e(e,"multiSort");return{sortBy:t,mustSort:n,multiSort:r}}function KS(e){const{sortBy:t,mustSort:n,multiSort:r,page:i}=e,o=f=>{if(f.key==null)return;let d=t.value.map(m=>({...m}))??[];const h=d.find(m=>m.key===f.key);h?h.order==="desc"?n.value?h.order="asc":d=d.filter(m=>m.key!==f.key):h.order="desc":r.value?d=[...d,{key:f.key,order:"asc"}]:d=[{key:f.key,order:"asc"}],t.value=d,i&&(i.value=1)};function l(f){return!!t.value.find(d=>d.key===f.key)}const u={sortBy:t,toggleSort:o,isSorted:l};return Et(GS,u),u}function n$(){const e=lt(GS);if(!e)throw new Error("Missing sort!");return e}function qS(e,t,n,r){const i=ks();return{sortedItems:R(()=>n.value.length?r$(t.value,n.value,i.current.value,{...e.customKeySort,...r==null?void 0:r.value}):t.value)}}function r$(e,t,n,r){const i=new Intl.Collator(n,{sensitivity:"accent",usage:"sort"});return[...e].sort((o,l)=>{for(let u=0;u<t.length;u++){const f=t[u].key,d=t[u].order??"asc";if(d===!1)continue;let h=$i(o.raw,f),m=$i(l.raw,f);if(d==="desc"&&([h,m]=[m,h]),r!=null&&r[f]){const v=r[f](h,m);if(!v)continue;return v}if(h instanceof Date&&m instanceof Date)return h.getTime()-m.getTime();if([h,m]=[h,m].map(v=>v!=null?v.toString().toLocaleLowerCase():v),h!==m)return hu(h)&&hu(m)?0:hu(h)?-1:hu(m)?1:!isNaN(h)&&!isNaN(m)?Number(h)-Number(m):i.compare(h,m)}return 0})}const YS=oe({color:String,sticky:Boolean,multiSort:Boolean,sortAscIcon:{type:vt,default:"$sortAsc"},sortDescIcon:{type:vt,default:"$sortDesc"},...Lm()},"VDataTableHeaders"),nc=Ie()({name:"VDataTableHeaders",props:YS(),setup(e,t){let{slots:n}=t;const{toggleSort:r,sortBy:i,isSorted:o}=n$(),{someSelected:l,allSelected:u,selectAll:f,showSelectAll:d}=jc(),{columns:h,headers:m}=Gc(),{loaderClasses:v}=Fc(e);function y(C,E){if(!(!e.sticky&&!C.fixed))return{position:"sticky",left:C.fixed?Be(C.fixedOffset):void 0,top:e.sticky?`calc(var(--v-table-header-height) * ${E})`:void 0}}function b(C){const E=i.value.find(V=>V.key===C.key);return E?E.order==="asc"?e.sortAscIcon:e.sortDescIcon:e.sortAscIcon}const{backgroundColorClasses:w,backgroundColorStyles:x}=Un(e,"color"),T=R(()=>({headers:m.value,columns:h.value,toggleSort:r,isSorted:o,sortBy:i.value,someSelected:l.value,allSelected:u.value,selectAll:f,getSortIcon:b})),P=C=>{let{column:E,x:V,y:k}=C;const D=E.key==="data-table-select"||E.key==="data-table-expand";return p(Jm,Ae({tag:"th",align:E.align,class:["v-data-table__th",{"v-data-table__th--sortable":E.sortable,"v-data-table__th--sorted":o(E),"v-data-table__th--fixed":E.fixed,"v-data-table__th--sticky":e.sticky},v.value],style:{width:Be(E.width),minWidth:Be(E.minWidth),...y(E,k)},colspan:E.colspan,rowspan:E.rowspan,onClick:E.sortable?()=>r(E):void 0,fixed:E.fixed,lastFixed:E.lastFixed,noPadding:D},E.headerProps),{default:()=>{var B;const L=`header.${E.key}`,M={column:E,selectAll:f,isSorted:o,toggleSort:r,sortBy:i.value,someSelected:l.value,allSelected:u.value,getSortIcon:b};return n[L]?n[L](M):E.key==="data-table-select"?((B=n["header.data-table-select"])==null?void 0:B.call(n,M))??(d&&p(Br,{modelValue:u.value,indeterminate:l.value&&!u.value,"onUpdate:modelValue":f},null)):p("div",{class:"v-data-table-header__content"},[p("span",null,[E.title]),E.sortable&&p(ut,{key:"icon",class:"v-data-table-header__sort-icon",icon:b(E)},null),e.multiSort&&o(E)&&p("div",{key:"badge",class:["v-data-table-header__sort-badge",...w.value],style:x.value},[i.value.findIndex(j=>j.key===E.key)+1])])}})};Ge(()=>p(He,null,[n.headers?n.headers(T.value):m.value.map((C,E)=>p("tr",null,[C.map((V,k)=>p(P,{column:V,x:k,y:E},null))])),e.loading&&p("tr",{class:"v-data-table-progress"},[p("th",{colspan:h.value.length},[p(Om,{name:"v-data-table-progress",absolute:!0,active:!0,color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0},{default:n.loader})])])]))}}),ZS=oe({groupBy:{type:Array,default:()=>[]}},"DataTable-group"),XS=Symbol.for("vuetify:data-table-group");function JS(e){return{groupBy:pt(e,"groupBy")}}function QS(e){const{groupBy:t,sortBy:n}=e,r=Pe(new Set),i=R(()=>t.value.map(d=>({...d,order:d.order??!1})).concat(n.value));function o(d){return r.value.has(d.id)}function l(d){const h=new Set(r.value);o(d)?h.delete(d.id):h.add(d.id),r.value=h}function u(d){function h(m){const v=[];for(const y of m.items)"type"in y&&y.type==="group"?v.push(...h(y)):v.push(y);return v}return h({type:"group",items:d,id:"dummy",key:"dummy",value:"dummy",depth:0})}const f={sortByWithGroups:i,toggleGroup:l,opened:r,groupBy:t,extractRows:u,isGroupOpen:o};return Et(XS,f),f}function eC(){const e=lt(XS);if(!e)throw new Error("Missing group!");return e}function s$(e,t){if(!e.length)return[];const n=new Map;for(const r of e){const i=$i(r.raw,t);n.has(i)||n.set(i,[]),n.get(i).push(r)}return n}function tC(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"root";if(!t.length)return[];const i=s$(e,t[0]),o=[],l=t.slice(1);return i.forEach((u,f)=>{const d=t[0],h=`${r}_${d}_${f}`;o.push({depth:n,id:h,key:d,value:f,items:l.length?tC(u,l,n+1,h):u,type:"group"})}),o}function nC(e,t){const n=[];for(const r of e)"type"in r&&r.type==="group"?(r.value!=null&&n.push(r),(t.has(r.id)||r.value==null)&&n.push(...nC(r.items,t))):n.push(r);return n}function rC(e,t,n){return{flatItems:R(()=>{if(!t.value.length)return e.value;const i=tC(e.value,t.value.map(o=>o.key));return nC(i,n.value)})}}const i$=oe({item:{type:Object,required:!0}},"VDataTableGroupHeaderRow"),o$=Ie()({name:"VDataTableGroupHeaderRow",props:i$(),setup(e,t){let{slots:n}=t;const{isGroupOpen:r,toggleGroup:i,extractRows:o}=eC(),{isSelected:l,isSomeSelected:u,select:f}=jc(),{columns:d}=Gc(),h=R(()=>o([e.item]));return()=>p("tr",{class:"v-data-table-group-header-row",style:{"--v-data-table-group-header-row-depth":e.item.depth}},[d.value.map(m=>{var v,y;if(m.key==="data-table-group"){const b=r(e.item)?"$expand":"$next",w=()=>i(e.item);return((v=n["data-table-group"])==null?void 0:v.call(n,{item:e.item,count:h.value.length,props:{icon:b,onClick:w}}))??p(Jm,{class:"v-data-table-group-header-row__column"},{default:()=>[p(Zt,{size:"small",variant:"text",icon:b,onClick:w},null),p("span",null,[e.item.value]),p("span",null,[De("("),h.value.length,De(")")])]})}if(m.key==="data-table-select"){const b=l(h.value),w=u(h.value)&&!b,x=T=>f(h.value,T);return((y=n["data-table-select"])==null?void 0:y.call(n,{props:{modelValue:b,indeterminate:w,"onUpdate:modelValue":x}}))??p("td",null,[p(Br,{modelValue:b,indeterminate:w,"onUpdate:modelValue":x},null)])}return p("td",null,null)})])}}),a$=oe({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),sC=Symbol.for("vuetify:datatable:expanded");function iC(e){const t=_e(e,"expandOnClick"),n=pt(e,"expanded",e.expanded,u=>new Set(u),u=>[...u.values()]);function r(u,f){const d=new Set(n.value);f?d.add(u.value):d.delete(u.value),n.value=d}function i(u){return n.value.has(u.value)}function o(u){r(u,!i(u))}const l={expand:r,expanded:n,expandOnClick:t,isExpanded:i,toggleExpand:o};return Et(sC,l),l}function oC(){const e=lt(sC);if(!e)throw new Error("foo");return e}const l$=oe({index:Number,item:Object,cellProps:[Object,Function],onClick:tr(),onContextmenu:tr(),onDblclick:tr()},"VDataTableRow"),aC=Ie()({name:"VDataTableRow",props:l$(),setup(e,t){let{slots:n}=t;const{isSelected:r,toggleSelect:i}=jc(),{isExpanded:o,toggleExpand:l}=oC(),{columns:u}=Gc();Ge(()=>p("tr",{class:["v-data-table__tr",{"v-data-table__tr--clickable":!!(e.onClick||e.onContextmenu||e.onDblclick)}],onClick:e.onClick,onContextmenu:e.onContextmenu,onDblclick:e.onDblclick},[e.item&&u.value.map((f,d)=>{const h=e.item,m=`item.${f.key}`,v={index:e.index,item:h.raw,internalItem:h,value:$i(h.columns,f.key),column:f,isSelected:r,toggleSelect:i,isExpanded:o,toggleExpand:l},y=typeof e.cellProps=="function"?e.cellProps({index:v.index,item:v.item,internalItem:v.internalItem,value:v.value,column:f}):e.cellProps,b=typeof f.cellProps=="function"?f.cellProps({index:v.index,item:v.item,internalItem:v.internalItem,value:v.value}):f.cellProps;return p(Jm,Ae({align:f.align,fixed:f.fixed,fixedOffset:f.fixedOffset,lastFixed:f.lastFixed,noPadding:f.key==="data-table-select"||f.key==="data-table-expand",width:f.width},y,b),{default:()=>{var w,x;return n[m]?n[m](v):f.key==="data-table-select"?((w=n["item.data-table-select"])==null?void 0:w.call(n,v))??p(Br,{disabled:!h.selectable,modelValue:r([h]),onClick:nh(()=>i(h),["stop"])},null):f.key==="data-table-expand"?((x=n["item.data-table-expand"])==null?void 0:x.call(n,v))??p(Zt,{icon:o(h)?"$collapse":"$expand",size:"small",variant:"text",onClick:nh(()=>l(h),["stop"])},null):Te(v.value)}})})]))}}),lC=oe({loading:[Boolean,String],loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideNoData:Boolean,items:{type:Array,default:()=>[]},noDataText:{type:String,default:"$vuetify.noDataText"},rowProps:[Object,Function],cellProps:[Object,Function]},"VDataTableRows"),rc=Ie()({name:"VDataTableRows",inheritAttrs:!1,props:lC(),setup(e,t){let{attrs:n,slots:r}=t;const{columns:i}=Gc(),{expandOnClick:o,toggleExpand:l,isExpanded:u}=oC(),{isSelected:f,toggleSelect:d}=jc(),{toggleGroup:h,isGroupOpen:m}=eC(),{t:v}=ks();return Ge(()=>{var y,b;return e.loading&&(!e.items.length||r.loading)?p("tr",{class:"v-data-table-rows-loading",key:"loading"},[p("td",{colspan:i.value.length},[((y=r.loading)==null?void 0:y.call(r))??v(e.loadingText)])]):!e.loading&&!e.items.length&&!e.hideNoData?p("tr",{class:"v-data-table-rows-no-data",key:"no-data"},[p("td",{colspan:i.value.length},[((b=r["no-data"])==null?void 0:b.call(r))??v(e.noDataText)])]):p(He,null,[e.items.map((w,x)=>{var C;if(w.type==="group"){const E={index:x,item:w,columns:i.value,isExpanded:u,toggleExpand:l,isSelected:f,toggleSelect:d,toggleGroup:h,isGroupOpen:m};return r["group-header"]?r["group-header"](E):p(o$,Ae({key:`group-header_${w.id}`,item:w},my(n,":group-header",()=>E)),r)}const T={index:x,item:w.raw,internalItem:w,columns:i.value,isExpanded:u,toggleExpand:l,isSelected:f,toggleSelect:d},P={...T,props:Ae({key:`item_${w.key??w.index}`,onClick:o.value?()=>{l(w)}:void 0,index:x,item:w,cellProps:e.cellProps},my(n,":row",()=>T),typeof e.rowProps=="function"?e.rowProps({item:T.item,index:T.index,internalItem:T.internalItem}):e.rowProps)};return p(He,{key:P.props.key},[r.item?r.item(P):p(aC,P.props,r),u(w)&&((C=r["expanded-row"])==null?void 0:C.call(r,T))])})])}),{}}}),u$=oe({items:{type:Array,default:()=>[]},itemValue:{type:[String,Array,Function],default:"id"},itemSelectable:{type:[String,Array,Function],default:null},rowProps:[Object,Function],cellProps:[Object,Function],returnObject:Boolean},"DataTable-items");function c$(e,t,n,r){const i=e.returnObject?t:Bn(t,e.itemValue),o=Bn(t,e.itemSelectable,!0),l=r.reduce((u,f)=>(f.key!=null&&(u[f.key]=Bn(t,f.value)),u),{});return{type:"item",key:e.returnObject?Bn(t,e.itemValue):i,index:n,value:i,selectable:o,columns:l,raw:t}}function f$(e,t,n){return t.map((r,i)=>c$(e,r,i,n))}function uC(e,t){return{items:R(()=>f$(e,e.items,t.value))}}function cC(e){let{page:t,itemsPerPage:n,sortBy:r,groupBy:i,search:o}=e;const l=en("VDataTable"),u=R(()=>({page:t.value,itemsPerPage:n.value,sortBy:r.value,groupBy:i.value,search:o.value}));let f=null;$e(u,()=>{ai(f,u.value)||((f==null?void 0:f.search)!==u.value.search&&(t.value=1),l.emit("update:options",u.value),f=u.value)},{deep:!0,immediate:!0})}const fC=oe({...lC(),width:[String,Number],search:String,...a$(),...ZS(),...K8(),...u$(),...e$(),...t$(),...YS(),...PS()},"DataTable"),d$=oe({...U8(),...fC(),...jm(),...DS()},"VDataTable");Ie()({name:"VDataTable",props:d$(),emits:{"update:modelValue":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:groupBy":e=>!0,"update:expanded":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{groupBy:i}=JS(e),{sortBy:o,multiSort:l,mustSort:u}=jS(e),{page:f,itemsPerPage:d}=z8(e),{columns:h,headers:m,sortFunctions:v,filterFunctions:y}=HS(e,{groupBy:i,showSelect:_e(e,"showSelect"),showExpand:_e(e,"showExpand")}),{items:b}=uC(e,h),w=_e(e,"search"),{filteredItems:x}=Km(e,b,w,{transform:Me=>Me.columns,customKeyFilter:y}),{toggleSort:T}=KS({sortBy:o,multiSort:l,mustSort:u,page:f}),{sortByWithGroups:P,opened:C,extractRows:E,isGroupOpen:V,toggleGroup:k}=QS({groupBy:i,sortBy:o}),{sortedItems:D}=qS(e,x,P,v),{flatItems:L}=rC(D,i,C),M=R(()=>L.value.length),{startIndex:B,stopIndex:j,pageCount:z,setItemsPerPage:K}=W8({page:f,itemsPerPage:d,itemsLength:M}),{paginatedItems:te}=j8({items:L,startIndex:B,stopIndex:j,itemsPerPage:d}),ce=R(()=>E(te.value)),{isSelected:Q,select:ge,selectAll:U,toggleSelect:ae,someSelected:ye,allSelected:ue}=WS(e,{allItems:b,currentPage:ce}),{isExpanded:Se,toggleExpand:be}=iC(e);cC({page:f,itemsPerPage:d,sortBy:o,groupBy:i,search:w}),In({VDataTableRows:{hideNoData:_e(e,"hideNoData"),noDataText:_e(e,"noDataText"),loading:_e(e,"loading"),loadingText:_e(e,"loadingText")}});const Oe=R(()=>({page:f.value,itemsPerPage:d.value,sortBy:o.value,pageCount:z.value,toggleSort:T,setItemsPerPage:K,someSelected:ye.value,allSelected:ue.value,isSelected:Q,select:ge,selectAll:U,toggleSelect:ae,isExpanded:Se,toggleExpand:be,isGroupOpen:V,toggleGroup:k,items:ce.value.map(Me=>Me.raw),internalItems:ce.value,groupedItems:te.value,columns:h.value,headers:m.value}));return Ge(()=>{const Me=Jy.filterProps(e),Re=nc.filterProps(e),q=rc.filterProps(e),we=Pr.filterProps(e);return p(Pr,Ae({class:["v-data-table",{"v-data-table--show-select":e.showSelect,"v-data-table--loading":e.loading},e.class],style:e.style},we),{top:()=>{var fe;return(fe=r.top)==null?void 0:fe.call(r,Oe.value)},default:()=>{var fe,Z,Ce,Ne,I,O;return r.default?r.default(Oe.value):p(He,null,[(fe=r.colgroup)==null?void 0:fe.call(r,Oe.value),p("thead",null,[p(nc,Re,r)]),(Z=r.thead)==null?void 0:Z.call(r,Oe.value),p("tbody",null,[(Ce=r["body.prepend"])==null?void 0:Ce.call(r,Oe.value),r.body?r.body(Oe.value):p(rc,Ae(n,q,{items:te.value}),r),(Ne=r["body.append"])==null?void 0:Ne.call(r,Oe.value)]),(I=r.tbody)==null?void 0:I.call(r,Oe.value),(O=r.tfoot)==null?void 0:O.call(r,Oe.value)])},bottom:()=>r.bottom?r.bottom(Oe.value):p(He,null,[p(za,null,null),p(Jy,Me,{prepend:r["footer.prepend"]})])})}),{}}});const h$=oe({...fC(),...ZS(),...wS(),...jm()},"VDataTableVirtual"),ev=Ie()({name:"VDataTableVirtual",props:h$(),emits:{"update:modelValue":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:groupBy":e=>!0,"update:expanded":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{groupBy:i}=JS(e),{sortBy:o,multiSort:l,mustSort:u}=jS(e),{columns:f,headers:d,sortFunctions:h,filterFunctions:m}=HS(e,{groupBy:i,showSelect:_e(e,"showSelect"),showExpand:_e(e,"showExpand")}),{items:v}=uC(e,f),y=_e(e,"search"),{filteredItems:b}=Km(e,v,y,{transform:Re=>Re.columns,customKeyFilter:m}),{toggleSort:w}=KS({sortBy:o,multiSort:l,mustSort:u}),{sortByWithGroups:x,opened:T,extractRows:P,isGroupOpen:C,toggleGroup:E}=QS({groupBy:i,sortBy:o}),{sortedItems:V}=qS(e,b,x,h),{flatItems:k}=rC(V,i,T),D=R(()=>P(k.value)),{isSelected:L,select:M,selectAll:B,toggleSelect:j,someSelected:z,allSelected:K}=WS(e,{allItems:D,currentPage:D}),{isExpanded:te,toggleExpand:ce}=iC(e),{containerRef:Q,markerRef:ge,paddingTop:U,paddingBottom:ae,computedItems:ye,handleItemResize:ue,handleScroll:Se,handleScrollend:be}=SS(e,k),Oe=R(()=>ye.value.map(Re=>Re.raw));cC({sortBy:o,page:Ve(1),itemsPerPage:Ve(-1),groupBy:i,search:y}),In({VDataTableRows:{hideNoData:_e(e,"hideNoData"),noDataText:_e(e,"noDataText"),loading:_e(e,"loading"),loadingText:_e(e,"loadingText")}});const Me=R(()=>({sortBy:o.value,toggleSort:w,someSelected:z.value,allSelected:K.value,isSelected:L,select:M,selectAll:B,toggleSelect:j,isExpanded:te,toggleExpand:ce,isGroupOpen:C,toggleGroup:E,items:D.value.map(Re=>Re.raw),internalItems:D.value,groupedItems:k.value,columns:f.value,headers:d.value}));Ge(()=>{const Re=nc.filterProps(e),q=rc.filterProps(e),we=Pr.filterProps(e);return p(Pr,Ae({class:["v-data-table",{"v-data-table--loading":e.loading},e.class],style:e.style},we),{top:()=>{var fe;return(fe=r.top)==null?void 0:fe.call(r,Me.value)},wrapper:()=>{var fe,Z;return p("div",{ref:Q,onScrollPassive:Se,onScrollend:be,class:"v-table__wrapper",style:{height:Be(e.height)}},[p("table",null,[p("thead",null,[p(nc,Ae(Re,{sticky:e.fixedHeader}),r)]),p("tbody",null,[p("tr",{ref:ge,style:{height:Be(U.value),border:0}},[p("td",{colspan:f.value.length,style:{height:0,border:0}},null)]),(fe=r["body.prepend"])==null?void 0:fe.call(r,Me.value),p(rc,Ae(n,q,{items:Oe.value}),{...r,item:Ce=>p(_S,{key:Ce.internalItem.index,renderless:!0,"onUpdate:height":Ne=>ue(Ce.internalItem.index,Ne)},{default:Ne=>{var O;let{itemRef:I}=Ne;return((O=r.item)==null?void 0:O.call(r,{...Ce,itemRef:I}))??p(aC,Ae(Ce.props,{ref:I,key:Ce.internalItem.index,index:Ce.internalItem.index}),r)}})}),(Z=r["body.append"])==null?void 0:Z.call(r,Me.value),p("tr",{style:{height:Be(ae.value),border:0}},[p("td",{colspan:f.value.length,style:{height:0,border:0}},null)])])])])},bottom:()=>{var fe;return(fe=r.bottom)==null?void 0:fe.call(r,Me.value)}})})}}),m$={name:"AdminUsersTab",components:{AdminDeleteRowDialog:Zm,ChangePasswordDialog:zc,AdminCreateUpdateDialog:qm,DateTimeColumn:Ym,RelationChips:jo},data(){return{AdminUserCreateUpdateInputs:$r($8),headers:[{title:"Username",key:"username",align:"start"},{title:"Staff",key:"isStaff"},{title:"Active",key:"isActive"},{title:"Groups",key:"groups"},{title:"Last Active",key:"lastActive"},{title:"Last Login",key:"lastLogin"},{title:"Joined",key:"dateJoined"},{title:"Actions",key:"actions",sortable:!1}]}},computed:{...kt(Dt,{users:e=>e.users,groups:e=>e.groups}),...kt(bn,{me:e=>e.user})},mounted(){this.loadTables(["Group","User"])},methods:{...Xt(Dt,["loadTables"])}},v$={class:"tabHeader"},g$=H("td",{class:"adminNoData",colspan:"100%"},[De(" No Users. "),H("div",null,[De(" This is an error. There should always be at least one Staff user."),H("br"),De(" You should not be able to see this page"),H("br"),De(" You should restart Codex with the CODEX_RESET_ADMIN=1 variable set."),H("br"),De(" See the "),H("a",{href:"https://github.com/ajslater/codex#reset-the-admin-password",target:"_blank"}," README ")])],-1);function p$(e,t,n,r,i,o){const l=Ft("AdminCreateUpdateDialog"),u=jo,f=Ft("DateTimeColumn"),d=zc,h=Ft("AdminDeleteRowDialog");return ie(),We("div",null,[H("header",v$,[p(l,{table:"User",inputs:i.AdminUserCreateUpdateInputs,"max-width":"20em"},null,8,["inputs"])]),p(ev,{"fixed-headers":"","item-value":"pk","item-title":"username",headers:i.headers,items:e.users,class:"adminTable"},{"no-data":le(()=>[g$]),"item.isStaff":le(({item:m})=>[p(Br,{"model-value":m.isStaff,disabled:""},null,8,["model-value"])]),"item.isActive":le(({item:m})=>[p(Br,{"model-value":m.isActive,disabled:""},null,8,["model-value"])]),"item.groups":le(({item:m})=>[p(u,{pks:m.groups,objs:e.groups,"title-key":"name","group-type":""},null,8,["pks","objs"])]),"item.lastActive":le(({item:m})=>[p(f,{dttm:m.lastActive},null,8,["dttm"])]),"item.lastLogin":le(({item:m})=>[p(f,{dttm:m.lastLogin},null,8,["dttm"])]),"item.dateJoined":le(({item:m})=>[p(f,{dttm:m.dateJoined},null,8,["dttm"])]),"item.actions":le(({item:m})=>[p(l,{table:"User",inputs:i.AdminUserCreateUpdateInputs,"old-row":m,"max-width":"20em",size:"small",density:"compact"},null,8,["inputs","old-row"]),p(d,{user:m,"is-admin-mode":!0,size:"small",density:"compact"},null,8,["user"]),e.me.id!==m.pk?(ie(),Ze(h,{key:0,table:"User",pk:m.pk,name:m.username,size:"small",density:"compact"},null,8,["pk","name"])):xt("",!0)]),_:2},1032,["headers","items"])])}const y$=ct(m$,[["render",p$]]),b$=Object.freeze(Object.defineProperty({__proto__:null,default:y$},Symbol.toStringTag,{value:"Module"})),dC=["name","userSet","librarySet"];Object.freeze(dC);const Ih={name:"",userSet:[],librarySet:[]};Object.freeze(Ih);const _$={name:"AdminGroupCreateUpdateInputs",components:{AdminRelationPicker:Xm},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{name:[e=>!!e||"Name is required",e=>!!e&&!this.names.has(e.trim())||"Name already used"]},row:kr.cloneDeep(this.oldRow||Ih)}},computed:{...kt(Dt,{groups:e=>e.groups,libraries:e=>e.libraries,users:e=>e.users}),names(){return this.nameSet(this.groups,"name",this.oldRow,!0)}},watch:{row:{handler(e){this.$emit("change",e)},deep:!0},oldRow:{handler(e){this.row=kr.cloneDeep(e)},deep:!0}},methods:{...Xt(Dt,["nameSet"])},UPDATE_KEYS:dC,EMPTY_ROW:Ih};function w$(e,t,n,r,i,o){const l=Ki,u=Ft("AdminRelationPicker");return ie(),We("div",null,[p(Rn,{modelValue:i.row.name,"onUpdate:modelValue":t[0]||(t[0]=f=>i.row.name=f),label:"Group Name",rules:i.rules.name,clearable:"",autofocus:""},null,8,["modelValue","rules"]),p(r8,{inline:"",label:"Type","model-value":i.row.exclude,"hide-details":"auto","onUpdate:modelValue":t[1]||(t[1]=f=>i.row.exclude=f)},{default:le(()=>[p(qy,{value:!1},{label:le(()=>[p(l,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),_:1}),p(qy,{value:!0},{label:le(()=>[p(l,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),_:1})]),_:1},8,["model-value"]),p(u,{"model-value":i.row.userSet,label:"Users",objs:e.users,"title-key":"username","onUpdate:modelValue":t[2]||(t[2]=f=>i.row.userSet=f)},null,8,["model-value","objs"]),p(u,{"model-value":i.row.librarySet,label:"Libraries",objs:e.libraries,"title-key":"path","onUpdate:modelValue":t[3]||(t[3]=f=>i.row.librarySet=f)},null,8,["model-value","objs"])])}const S$=ct(_$,[["render",w$]]),C$=180,x$={name:"AdminGroupsTab",components:{AdminDeleteRowDialog:Zm,AdminCreateUpdateDialog:qm,RelationChips:jo,GroupChip:Ki},data(){return{lastUpdate:{pk:0,field:void 0},AdminGroupCreateUpdateInputs:$r(S$),GROUP_HELP_HEIGHT:C$,headers:[{title:"Name",key:"name",align:"start"},{title:"Type",key:"exclude",align:"start"},{title:"Users",key:"userSet"},{title:"Libraries",key:"librarySet"},{title:"Actions",key:"actions",sortable:!1}]}},computed:{...kt(Dt,{groups:e=>e.groups,libraries:e=>e.libraries,users:e=>e.users})},mounted(){this.loadTables(["User","Library","Group"])},methods:{...Xt(Dt,["loadTables"]),typeObj(e){return{name:e.exclude?"Exclude ":"Include",exclude:e.exclude}}}},zn=e=>(Wi("data-v-0372b588"),e=e(),Gi(),e),A$={class:"tabHeader"},E$=zn(()=>H("td",{class:"adminNoData",colspan:"100%"},"No groups",-1)),P$={id:"groupHelp"},k$=zn(()=>H("h3",null,"Group Logic",-1)),T$=zn(()=>H("p",null," A library in no groups is accessible to every user and non-users if those are enabled. ",-1)),R$=zn(()=>H("p",null,[De(" A library with "),H("em",null,"any"),De(" Include groups is accessible "),H("em",null,"only"),De(" to users who are in those groups. ")],-1)),I$=zn(()=>H("p",null,[De(" A library with "),H("em",null,"any"),De(" Exclude groups is not accessible to Guest users but is acccessable to any logged in users that are not in the Exclude groups. ")],-1)),V$=zn(()=>H("p",null," If you have libraries added and you do not see them in your browser, check to see if the library and your user are in the same group. ",-1)),L$={id:"groupTable"},O$=zn(()=>H("thead",null,[H("tr",null,[H("th",null,"Library in Group Type"),H("th",null,"Guest"),H("th",null,"User Out of Group"),H("th",null,"User In Group")])],-1)),D$=zn(()=>H("tr",null,[H("td",null,"Not in a Group"),H("td",{class:"see"},"Can See"),H("td",{class:"see"},"Can See"),H("td",{class:"see"},"Can See")],-1)),M$=zn(()=>H("td",{class:"hidden"},"Hidden",-1)),F$=zn(()=>H("td",{class:"hidden"},"Hidden",-1)),B$=zn(()=>H("td",{class:"see"},"Can See",-1)),$$=zn(()=>H("td",{class:"hidden"},"Hidden",-1)),H$=zn(()=>H("td",{class:"see"},"Can See",-1)),N$=zn(()=>H("td",{class:"hidden"},"Hidden",-1));function U$(e,t,n,r,i,o){const l=Ft("AdminCreateUpdateDialog"),u=Ki,f=jo,d=Ft("AdminDeleteRowDialog");return ie(),We("div",null,[H("header",A$,[p(l,{table:"Group","max-width":"20em",inputs:i.AdminGroupCreateUpdateInputs},null,8,["inputs"])]),p(ev,{class:"adminTable","fixed-headers":"","item-value":"pk","item-title":"name",headers:i.headers,items:e.groups},{"no-data":le(()=>[E$]),"item.exclude":le(({item:h})=>[p(u,{"group-type":"",item:o.typeObj(h),"title-key":"name"},null,8,["item"])]),"item.userSet":le(({item:h})=>[p(f,{pks:h.userSet,objs:e.users,"title-key":"username"},null,8,["pks","objs"])]),"item.librarySet":le(({item:h})=>[p(f,{pks:h.librarySet,objs:e.libraries,"title-key":"path"},null,8,["pks","objs"])]),"item.actions":le(({item:h})=>[p(l,{table:"Group","old-row":h,"max-width":"20em",inputs:i.AdminGroupCreateUpdateInputs,size:"small",density:"compact"},null,8,["old-row","inputs"]),p(d,{table:"Group",pk:h.pk,name:h.name,size:"small",density:"compact"},null,8,["pk","name"])]),_:2},1032,["headers","items"]),H("div",P$,[k$,T$,R$,I$,V$,H("table",L$,[O$,H("tbody",null,[D$,H("tr",null,[H("td",null,[p(u,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),M$,F$,B$]),H("tr",null,[H("td",null,[p(u,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),$$,H$,N$])])])])])}const z$=ct(x$,[["render",U$],["__scopeId","data-v-0372b588"]]),W$=Object.freeze(Object.defineProperty({__proto__:null,default:z$},Symbol.toStringTag,{value:"Module"})),G$={name:"AdminFailedImportsPanel",components:{DateTimeColumn:Ym},data(){return{mdiBookAlert:AF,mdiOpenInNew:Ic}},computed:{...kt(Dt,["failedImports"]),...hm(Dt,["unseenFailedImports"])},created(){this.unseenFailedImports=!0}},qi=e=>(Wi("data-v-bc6470a2"),e=e(),Gi(),e),j$={key:0,id:"failedImports"},K$=qi(()=>H("thead",null,[H("tr",null,[H("th",null,"Path"),H("th",null,"Created")])],-1)),q$={class:"dateCol"},Y$=qi(()=>H("h4",null,"Failed Imports Help",-1)),Z$=qi(()=>H("p",null," These are Comic archives that have failed to import. This list is updated every time the library updates. You should probably review these files and fix or remove them. ",-1)),X$=qi(()=>H("h4",null,"Fixing comics",-1)),J$=qi(()=>H("p",null,[De(" Try using the zip fixer to fix comics: "),H("code",{class:"cli"},[De(" cp problem-comic.cbz /somewhere/safe/problem-comic.cbz.backup"),H("br"),De(" zip -F problem-comic.cbz --out fixed.zip"),H("br"),De(" mv fixed.zip problem-comic.cbz ")]),De(" You may also try "),H("code",null,"zip -FF"),De(" to fix comics which uses a different (not necissarily better) algorithm. If you fix some imports, and Codex does not immediately detect the change, poll the library which contains the fixed comics. ")],-1)),Q$=qi(()=>H("h4",null,"Reporting Issues",-1)),eH={href:"https://github.com/ajslater/codex/issues/",target:"_blank"},tH=qi(()=>H("code",null,"config/logs/codex.log",-1));function nH(e,t,n,r,i,o){const l=Ft("DateTimeColumn");return e.failedImports&&e.failedImports.length>0?(ie(),We("div",j$,[p(Yy,null,{default:le(()=>[p(Zy,{id:"failedImportsPanel",onClick:t[0]||(t[0]=u=>e.unseenFailedImports=!1)},{default:le(()=>[p(kh,null,{default:le(()=>[H("h4",null,"Failed Imports: "+Te(e.failedImports.length),1),e.unseenFailedImports?(ie(),Ze(ut,{key:0,id:"failedImportsIcon",title:"New Failed Imports"},{default:le(()=>[De(Te(i.mdiBookAlert),1)]),_:1})):xt("",!0)]),_:1}),p(Ph,null,{default:le(()=>[p(Pr,{class:"highlight-table"},{default:le(()=>[K$,H("tbody",null,[(ie(!0),We(He,null,Rr(e.failedImports,u=>(ie(),We("tr",{key:`fi:${u.path}`},[H("td",null,Te(u.path),1),H("td",q$,[p(l,{dttm:u.createdAt},null,8,["dttm"])])]))),128))])]),_:1}),p(Yy,null,{default:le(()=>[p(Zy,{id:"failedImportsHelp"},{default:le(()=>[p(kh,null,{default:le(()=>[Y$]),_:1}),p(Ph,null,{default:le(()=>[Z$,X$,J$,Q$,H("p",null,[De(" If the comic looks good to you, but still shows up as a failed import, it might be Codex's fault for not importing it correctly. Please file an "),H("a",eH,[De("Issue Report"),p(ut,{size:"small"},{default:le(()=>[De(Te(i.mdiOpenInNew),1)]),_:1})]),De(" and include the stack trace from the logs at "),tH,De(" if you can. ")])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])):xt("",!0)}const rH=ct(G$,[["render",nH],["__scopeId","data-v-bc6470a2"]]),sH={name:"TimeTextField",data(){return{FORMAT:"DDD HH:mm:SS",timeRules:[e=>/^(\d{1,3} )?([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/.test(e)||`Invalid time format ${this.FORMAT}`]}}};function iH(e,t,n,r,i,o){return ie(),Ze(Rn,Ae({ref:"timeField",density:"compact",filled:"",hint:i.FORMAT,round:"",rules:i.timeRules},e.$attrs),null,16,["hint","rules"])}const hC=ct(sH,[["render",iH]]),oH={name:"AdminServerFolderPicker",emits:["change","menu"],data(){return{path:"",originalPath:"",showHidden:!1,menuOpen:!1}},computed:{...kt(Dt,{folders:e=>e.folderPicker.folders,rootFolder:e=>e.folderPicker.rootFolder}),...kt(Rt,{formErrors:e=>e.form.errors}),appendOuterIcon(){return this.showHidden?this.mdiFolderHidden:this.mdiFolderOutline},showHiddenTooltipPrefix(){return this.showHidden?"Hide":"Show"}},watch:{menuOpen(e){e&&this.$emit("menu",e)}},created(){this.loadFolders().then(()=>(this.path=this.rootFolder,this.originalPath=this.rootFolder,!0)).catch(console.warn)},methods:{...Xt(Dt,["clearFolders","loadFolders"]),...Xt(Rt,["clearErrors"]),change(e){const t=e?e.startsWith("/")||e.startsWith("\\")?e:[this.rootFolder,e].join("/"):this.rootFolder,n=this.menuOpen;this.clearErrors(),this.loadFolders(t,this.showHidden).then(()=>{this.menuOpen=n;let r="";return this.formErrors.length===0&&(this.path=r=this.rootFolder),this.$emit("change",r)}).catch(console.warn)},onBlur(){this.menuOpen=!1,this.change(this.path)},onClear(){this.clearFolders(this.orignalPath).then(()=>this.change(this.orginalPath)).catch(console.error)},onKeyDownEnter(){this.change(this.path)},onItemClick(e){this.change(e)}}},aH={id:"folderPicker"};function lH(e,t,n,r,i,o){return ie(),We("div",aH,[p(Y6,Ae({modelValue:i.path,"onUpdate:modelValue":t[0]||(t[0]=l=>i.path=l),menu:i.menuOpen,"onUpdate:menu":t[1]||(t[1]=l=>i.menuOpen=l)},e.$attrs,{"aria-label":"Library folder",clearable:"","error-messages":e.formErrors,"full-width":"","hide-details":"auto",items:e.folders,"menu-props":{maxHeight:"370px"},"validate-on":"blur",variant:"filled",onBlur:o.onBlur,"onClick:clear":o.onClear,onKeydown:Cs(o.onKeyDownEnter,["enter"])}),{item:le(({item:l,props:u})=>[p(Fr,Ae(u,{title:l.title,value:l.value,onClick:f=>o.onItemClick(l.value)}),null,16,["title","value","onClick"])]),_:1},16,["modelValue","menu","error-messages","items","onBlur","onClick:clear","onKeydown"]),p(Lo,{modelValue:i.showHidden,"onUpdate:modelValue":t[2]||(t[2]=l=>i.showHidden=l),density:"compact",class:"showHidden","hide-details":"auto",label:"Show Hidden Folders"},null,8,["modelValue"])])}const uH=ct(oH,[["render",lH],["__scopeId","data-v-3cf2705f"]]),mC=["events","poll","pollEvery","groups"];Object.freeze(mC);const Vh={path:"",events:!0,poll:!0,pollEvery:"01:00:00",groups:[]};Object.freeze(Vh);const Qy=(e,t)=>(e=e.replaceAll("\\","/"),t=t.replaceAll("\\","/"),e.endsWith("/")||(e+="/"),t.endsWith("/")||(t+="/"),t.startsWith(e)),cH={name:"AdminLibraryCreateUpdateInputs",components:{AdminRelationPicker:Xm,AdminServerFolderPicker:uH,TimeTextField:hC},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{path:[e=>!!e||"Path is required",e=>{if(!e)return!1;for(const t of this.paths){if(Qy(t,e))return"Path is a child of an existing library";if(Qy(e,t))return"Path is a parent of an existing library"}return!0}]},row:kr.cloneDeep(this.oldRow||Vh)}},computed:{...kt(Dt,{groups:e=>e.groups,libraries:e=>e.libraries}),paths(){return this.nameSet(this.libraries,"path",this.oldRow,!1)}},watch:{row:{handler(e){this.$emit("change",e)},deep:!0},oldRow:{handler(e){this.row=kr.cloneDeep(e)},deep:!0}},methods:{...Xt(Dt,["nameSet"])},UPDATE_KEYS:mC,EMPTY_ROW:Vh},fH={key:1};function dH(e,t,n,r,i,o){const l=Ft("AdminServerFolderPicker"),u=hC,f=Ft("AdminRelationPicker");return ie(),We(He,null,[n.oldRow?(ie(),We("div",fH,Te(n.oldRow.path),1)):(ie(),Ze(l,{key:0,rules:i.rules.path,autofocus:"",label:"Library Folder",onChange:t[0]||(t[0]=d=>i.row.path=d)},null,8,["rules"])),p(Lo,{modelValue:i.row.events,"onUpdate:modelValue":t[1]||(t[1]=d=>i.row.events=d),"hide-details":"auto",hint:"Update Codex instantly when the filesystem changes",label:"Watch Filesystem Events","persistent-hint":!0},null,8,["modelValue"]),p(Lo,{modelValue:i.row.poll,"onUpdate:modelValue":t[2]||(t[2]=d=>i.row.poll=d),label:"Poll Filesystem Periodically","hide-details":"auto",hint:"Periodically poll the library for changes","persistent-hint":!0},null,8,["modelValue"]),p(u,{modelValue:i.row.pollEvery,"onUpdate:modelValue":t[3]||(t[3]=d=>i.row.pollEvery=d),label:"Poll Every",disabled:!i.row.poll},null,8,["modelValue","disabled"]),p(f,{modelValue:i.row.groups,"onUpdate:modelValue":t[4]||(t[4]=d=>i.row.groups=d),label:"Groups",objs:e.groups,"group-type":"","title-key":"name"},null,8,["modelValue","objs"])],64)}const hH=ct(cH,[["render",dH]]),mH={name:"AdminLibrariesTab",components:{AdminDeleteRowDialog:Zm,AdminFailedImportsPanel:rH,AdminCreateUpdateDialog:qm,RelationChips:jo,ConfirmDialog:ui,DateTimeColumn:Ym},data(){return{lastUpdate:{pk:0,field:void 0},mdiDatabaseEyeOutline:IF,mdiDatabaseSyncOutline:VF,mdiOpenInNew:Ic,AdminLibraryCreateUpdateInputs:$r(hH),headers:[{title:"Path",key:"path",align:"start"},{title:"Watch File Events",key:"events"},{title:"Poll Files Periodically",key:"poll"},{title:"Poll Every",key:"pollEvery"},{title:"Last Poll",key:"lastPoll"},{title:"Groups",key:"groups"},{title:"Actions",key:"actions",sortable:!1}]}},computed:{...kt(Dt,{groups:e=>e.groups,libraries:e=>e.libraries,formErrors:e=>e.form.errors}),...kt(kc,{twentyFourHourTime:e=>e.settings.twentyFourHourTime})},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...Xt(Dt,["updateRow","clearErrors","librarianTask","loadTables"]),formatDateTime:e=>e?X6(e,(void 0).twentyFourHourTime):"",changeCol(e,t,n){this.lastUpdate.pk=e,this.lastUpdate.field=t;const r={[t]:n};this.updateRow("Library",e,r)},getFormErrors(e,t){if(e===this.lastUpdate.pk&&t===this.lastUpdate.field)return this.formErrors},poll(e){this.librarianTask("poll",`Poll Library ${e}`,e)},forcePoll(e){this.librarianTask("poll_force",`Force Poll Library ${e}`,e)}}},vH=e=>(Wi("data-v-d2498f81"),e=e(),Gi(),e),gH={class:"tabHeader"},pH=vH(()=>H("td",{class:"adminNoData",colspan:"100%"}," Add a Library to start using Codex ",-1));function yH(e,t,n,r,i,o){const l=Ft("AdminCreateUpdateDialog"),u=Ft("DateTimeColumn"),f=jo,d=ui,h=Ft("AdminDeleteRowDialog"),m=Ft("AdminFailedImportsPanel");return ie(),We("div",null,[H("header",gH,[p(l,{table:"Library",inputs:i.AdminLibraryCreateUpdateInputs},null,8,["inputs"])]),p(ev,{class:"adminTable","fixed-header":"","item-value":"pk",hover:"",headers:i.headers,items:e.libraries,"sort-by":[{key:"path",order:"asc"}]},{"no-data":le(()=>[pH]),"item.events":le(({item:v})=>[p(Br,{"model-value":v.events,disabled:""},null,8,["model-value"])]),"item.poll":le(({item:v})=>[p(Br,{"model-value":v.poll,disabled:""},null,8,["model-value"])]),"item.pollEvery":le(({item:v})=>[H("span",{class:Vr({disabled:!v.poll})},Te(v.pollEvery),3)]),"item.lastPoll":le(({item:v})=>[p(u,{dttm:v.lastPoll},null,8,["dttm"])]),"item.groups":le(({item:v})=>[p(f,{pks:v.groups,objs:e.groups,"group-type":"","title-key":"name"},null,8,["pks","objs"])]),"item.actions":le(({item:v})=>[p(d,{icon:i.mdiDatabaseEyeOutline,"title-text":"Poll for updated comics","object-name":v.path,"confirm-text":"Poll Library",size:"small",density:"compact",onConfirm:y=>o.poll(v.pk)},null,8,["icon","object-name","onConfirm"]),p(d,{icon:i.mdiDatabaseSyncOutline,"title-text":"Force update every comic","object-name":v.path,"confirm-text":"Force Update",size:"small",density:"compact",onConfirm:y=>o.forcePoll(v.pk)},null,8,["icon","object-name","onConfirm"]),p(l,{table:"Library","old-row":v,inputs:i.AdminLibraryCreateUpdateInputs,"max-width":"22em",size:"small",density:"compact"},null,8,["old-row","inputs"]),p(h,{table:"Library",pk:v.pk,name:v.path,size:"small",density:"compact"},null,8,["pk","name"])]),_:2},1032,["headers","items"]),p(ol,null,{default:le(()=>[p(m)]),_:1})])}const bH=ct(mH,[["render",yH],["__scopeId","data-v-d2498f81"]]),_H=Object.freeze(Object.defineProperty({__proto__:null,default:bH},Symbol.toStringTag,{value:"Module"})),wH={name:"AdminTasksTab",components:{ConfirmDialog:ui},data(){return{tasks:l8}},computed:{...kt(Rt,{formSuccess:e=>e.form.success,formErrors:e=>e.form.errors})},methods:{...Xt(Dt,["librarianTask"])}},SH=e=>(Wi("data-v-91b96721"),e=e(),Gi(),e),CH={id:"tasks"},xH=SH(()=>H("span",{id:"lastTaskLabel"},"Last Task Queued:",-1)),AH={key:0,id:"success"},EH={key:1,id:"error"},PH={key:2,id:"noRecentTask"},kH={class:"taskBox"},TH={class:"taskDesc"};function RH(e,t,n,r,i,o){const l=ui;return ie(),We("div",CH,[H("div",null,[xH,H("span",null,[e.formSuccess?(ie(),We("span",AH,Te(e.formSuccess),1)):e.formErrors&&e.formErrors.length>0?(ie(),We("span",EH,[(ie(!0),We(He,null,Rr(e.formErrors,u=>(ie(),We("span",{key:u},Te(u),1))),128))])):(ie(),We("span",PH,"No recent task"))])]),(ie(!0),We(He,null,Rr(i.tasks,u=>(ie(),We("div",{key:u.title,"fixed-header":"",class:"taskGroup"},[H("h3",null,Te(u.title),1),(ie(!0),We(He,null,Rr(u.tasks,f=>(ie(),We("div",{key:f.value,class:Vr(["trow",{selected:!1}])},[H("div",kH,[f.confirm?(ie(),Ze(l,{key:0,"button-text":f.title,"title-text":f.title,"object-name":f.confirm,"confirm-text":"Confirm",onConfirm:d=>e.librarianTask(f.value,f.title)},null,8,["button-text","title-text","object-name","onConfirm"])):(ie(),Ze(Zt,{key:1,block:"",onClick:d=>e.librarianTask(f.value,f.title)},{default:le(()=>[De(Te(f.title),1)]),_:2},1032,["onClick"])),H("div",TH,Te(f.desc),1)])]))),128))]))),128))])}const IH=ct(wH,[["render",RH],["__scopeId","data-v-91b96721"]]),VH=Object.freeze(Object.defineProperty({__proto__:null,default:IH},Symbol.toStringTag,{value:"Module"})),LH="Copy API Key to clipboard",Dd=" ",OH={name:"AdminTasksTab",components:{ConfirmDialog:ui},data(){return{showTooltip:{show:!1},apiSchemaURL:window.CODEX.API_V3_PATH}},computed:{...kt(Rt,{}),...kt(Dt,{stats:e=>e.stats}),clipBoardEnabled(){return location.prototcal=="https:"},apiTooltip(){return LH?this.clipBoardEnabled:void 0},clipBoardIcon(){return this.showTooltip?ew:tw}},created(){this.loadStats()},methods:{...Xt(Dt,["loadStats","updateAPIKey"]),regenAPIKey(){this.updateAPIKey().then(this.loadStats).catch(console.warn)},nf(e){return Z6.format(e)},onClickAPIKey(){this.clipBoardEnabled&&iw(this.stats.config.apiKey,this.showTooltip)},metadataTitle(e){let t=e.replace(/Count$/,"");return t=W6(t),t=t.replace(/^Contributor\s/,Dd),t=t.replace(/^Identifier\s/,Dd),t=t.replace(/^Story\sArc\s/,Dd),t}}},It=e=>(Wi("data-v-081a45b8"),e=e(),Gi(),e),DH={key:0,id:"stats"},MH={class:"statBlock"},FH=It(()=>H("h3",null,"Platform",-1)),BH=It(()=>H("td",null,"Docker",-1)),$H=It(()=>H("td",null,"Machine",-1)),HH=It(()=>H("td",null,"System",-1)),NH=It(()=>H("td",null,"Python",-1)),UH=It(()=>H("td",null,"Codex",-1)),zH={class:"statBlock"},WH=It(()=>H("h3",null,"Config",-1)),GH=It(()=>H("td",null,"Libraries",-1)),jH=It(()=>H("td",null,"Anonymous Users",-1)),KH=It(()=>H("td",null,"Registered Users",-1)),qH=It(()=>H("td",null,"Groups",-1)),YH={class:"statBlock"},ZH=It(()=>H("h3",null,"Groups",-1)),XH=It(()=>H("td",null,"Folders",-1)),JH=It(()=>H("td",null,"Publishers",-1)),QH=It(()=>H("td",null,"Imprints",-1)),e7=It(()=>H("td",null,"Series",-1)),t7=It(()=>H("td",null,"Volumes",-1)),n7=It(()=>H("td",null,"Issues",-1)),r7={key:0},s7=It(()=>H("td",{class:"indent"},"CBZ",-1)),i7={key:1},o7=It(()=>H("td",{class:"indent"},"CBR",-1)),a7={key:2},l7=It(()=>H("td",{class:"indent"},"CBX",-1)),u7={key:3},c7=It(()=>H("td",{class:"indent"},"CBT",-1)),f7={key:4},d7=It(()=>H("td",{class:"indent"},"PDF",-1)),h7={key:5},m7=It(()=>H("td",{class:"indent"},"Unknown",-1)),v7={class:"statBlock"},g7=It(()=>H("h3",null,"Metadata",-1)),p7=["innerHTML"],y7={class:"statBlock"},b7=It(()=>H("h3",null,"API",-1)),_7=It(()=>H("td",null,"Schema Documentation:",-1)),w7={id:"schemaDocValue"},S7=["href"],C7=["title"],x7={key:0},A7={class:"copied"},E7={id:"apiKey"},P7={colspan:"2"};function k7(e,t,n,r,i,o){const l=ui;return e.stats?(ie(),We("div",DH,[H("div",MH,[FH,p(Pr,{class:"highlight-table"},{default:le(()=>[H("tbody",null,[H("tr",null,[BH,H("td",null,Te(e.stats.platform.docker),1)]),H("tr",null,[$H,H("td",null,Te(e.stats.platform.machine),1)]),H("tr",null,[HH,H("td",null,Te(e.stats.platform.system)+" "+Te(e.stats.platform.systemRelease),1)]),H("tr",null,[NH,H("td",null,Te(e.stats.platform.python),1)]),H("tr",null,[UH,H("td",null,Te(e.stats.platform.codex),1)])])]),_:1})]),H("div",zH,[WH,p(Pr,{class:"highlight-table"},{default:le(()=>[H("tbody",null,[H("tr",null,[GH,H("td",null,Te(o.nf(e.stats.config.librariesCount)),1)]),H("tr",null,[jH,H("td",null,Te(o.nf(e.stats.config.sessionsAnonCount)),1)]),H("tr",null,[KH,H("td",null,Te(o.nf(e.stats.config.usersCount)),1)]),H("tr",null,[qH,H("td",null,Te(o.nf(e.stats.config.groupsCount)),1)])])]),_:1})]),H("div",YH,[ZH,p(Pr,{class:"highlight-table"},{default:le(()=>[H("tbody",null,[H("tr",null,[XH,H("td",null,Te(o.nf(e.stats.groups.foldersCount)),1)]),H("tr",null,[JH,H("td",null,Te(o.nf(e.stats.groups.publishersCount)),1)]),H("tr",null,[QH,H("td",null,Te(o.nf(e.stats.groups.imprintsCount)),1)]),H("tr",null,[e7,H("td",null,Te(o.nf(e.stats.groups.seriesCount)),1)]),H("tr",null,[t7,H("td",null,Te(o.nf(e.stats.groups.volumesCount)),1)]),H("tr",null,[n7,H("td",null,Te(o.nf(e.stats.groups.issuesCount)),1)]),e.stats.fileTypes.cbzCount?(ie(),We("tr",r7,[s7,H("td",null,Te(o.nf(e.stats.fileTypes.cbzCount)),1)])):xt("",!0),e.stats.fileTypes.cbrCount?(ie(),We("tr",i7,[o7,H("td",null,Te(o.nf(e.stats.fileTypes.cbrCount)),1)])):xt("",!0),e.stats.fileTypes.cbxCount?(ie(),We("tr",a7,[l7,H("td",null,Te(o.nf(e.stats.fileTypes.cbxCount)),1)])):xt("",!0),e.stats.fileTypes.cbtCount?(ie(),We("tr",u7,[c7,H("td",null,Te(o.nf(e.stats.fileTypes.cbtCount)),1)])):xt("",!0),e.stats.fileTypes.pdfCount?(ie(),We("tr",f7,[d7,H("td",null,Te(o.nf(e.stats.fileTypes.pdfCount)),1)])):xt("",!0),e.stats.fileTypes.unknownCount?(ie(),We("tr",h7,[m7,H("td",null,Te(o.nf(e.stats.fileTypes.unknownCount)),1)])):xt("",!0)])]),_:1})]),H("div",v7,[g7,p(Pr,{class:"highlight-table"},{default:le(()=>[H("tbody",null,[(ie(!0),We(He,null,Rr(Object.entries(e.stats.metadata),([u,f])=>(ie(),We("tr",{key:u},[H("td",{innerHTML:o.metadataTitle(u)},null,8,p7),H("td",null,Te(o.nf(f)),1)]))),128))])]),_:1})]),H("div",y7,[b7,p(Pr,{class:"highlight-table"},{default:le(()=>[H("tbody",null,[H("tr",null,[_7,H("td",w7,[De(" The only endpoint accessible with API Key access is "),H("a",{href:`${i.apiSchemaURL}#/api/api_v3_admin_stats_retrieve`,target:"_blank"},"/admin/stats",8,S7)])]),H("tr",{id:"apiKeyRow",title:o.apiTooltip,onClick:t[0]||(t[0]=(...u)=>o.onClickAPIKey&&o.onClickAPIKey(...u))},[H("td",null,[De(" API Key "),o.clipBoardEnabled?(ie(),We("span",x7,[p(ut,{class:"clipBoardIcon",size:"small"},{default:le(()=>[De(Te(o.clipBoardIcon),1)]),_:1}),p(Ju,null,{default:le(()=>[on(H("span",A7,"Copied",512),[[yr,i.showTooltip.show]])]),_:1})])):xt("",!0)]),H("td",E7,Te(e.stats.config.apiKey),1)],8,C7),H("tr",null,[H("td",P7,[p(l,{"button-text":"Regenerate API Key","title-text":"Regenerate","object-name":"API Key","confirm-text":"Regenerate",onConfirm:o.regenAPIKey},null,8,["onConfirm"])])])])]),_:1})])])):xt("",!0)}const T7=ct(OH,[["render",k7],["__scopeId","data-v-081a45b8"]]),R7=Object.freeze(Object.defineProperty({__proto__:null,default:T7},Symbol.toStringTag,{value:"Module"}));export{nt as $,Bo as A,bn as B,Ft as C,ut as D,mw as E,He as F,Bt as G,m0 as H,lt as I,jt as J,Pe as K,Nn as L,$e as M,Z6 as N,Jr as O,wn as P,rm as Q,nm as R,V7 as S,Ja as T,Pn as U,za as V,Rt as W,Ar as X,kc as Y,oe as Z,Lw as _,kt as a,ul as a$,M7 as a0,Kt as a1,Ie as a2,tn as a3,F7 as a4,ns as a5,Ge as a6,ED as a7,Tr as a8,D7 as a9,hI as aA,mI as aB,Ae as aC,ES as aD,J7 as aE,Q7 as aF,hm as aG,W6 as aH,CN as aI,Rn as aJ,Zw as aK,xN as aL,cN as aM,eN as aN,wN as aO,_N as aP,gN as aQ,Cs as aR,Y6 as aS,F_ as aT,G4 as aU,aN as aV,kN as aW,K7 as aX,Fh as aY,lm as aZ,Pr as a_,z7 as aa,$7 as ab,W7 as ac,B7 as ad,U7 as ae,rl as af,Yu as ag,yF as ah,yy as ai,SF as aj,K_ as ak,H7 as al,N7 as am,Lt as an,sr as ao,dn as ap,J_ as aq,JV as ar,X7 as as,Vr as at,dN as au,q7 as av,Zt as aw,S4 as ax,lS as ay,Y4 as az,Xt as b,O7 as b$,Lo as b0,TS as b1,X6 as b2,ui as b3,rN as b4,nh as b5,bS as b6,iN as b7,oN as b8,A4 as b9,CS as bA,Z7 as bB,bN as bC,fN as bD,Y7 as bE,TF as bF,M4 as bG,sN as bH,lN as bI,EN as bJ,PN as bK,qy as bL,r8 as bM,pN as bN,yN as bO,hN as bP,mN as bQ,j7 as bR,Zy as bS,kh as bT,Ph as bU,Yy as bV,lw as bW,AN as bX,ir as bY,rs as bZ,R as b_,x4 as ba,No as bb,Ut as bc,zo as bd,zw as be,Uo as bf,pt as bg,on as bh,Xr as bi,bs as bj,yr as bk,FF as bl,E6 as bm,aS as bn,$r as bo,P4 as bp,vN as bq,G7 as br,tm as bs,cS as bt,w4 as bu,ji as bv,br as bw,kr as bx,b6 as by,p6 as bz,ct as c,_e as c0,Ve as c1,yo as c2,Et as c3,Yr as c4,ll as c5,Mr as c6,Be as c7,Rs as c8,ZF as c9,Z1 as ca,_r as cb,Un as cc,Jw as cd,fl as ce,Uc as cf,ii as cg,Um as ch,_m as ci,Ww as cj,uN as ck,Gm as cl,TN as cm,Ai as cn,SN as co,C4 as cp,L7 as cq,I7 as cr,We as d,Ze as e,xt as f,p as g,ol as h,De as i,H as j,hB as k,cl as l,tN as m,Fr as n,ie as o,Wi as p,Gi as q,Rr as r,RN as s,Te as t,Dt as u,AF as v,le as w,Ic as x,IF as y,nN as z};
|
|
44
|
-
function __vite__mapDeps(indexes) {
|
|
45
|
-
if (!__vite__mapDeps.viteFileDeps) {
|
|
46
|
-
__vite__mapDeps.viteFileDeps = ["assets/browser-2U3chfQN.js","assets/metadata-dialog-LCLm-ZqL.js","assets/metadata-dialog-h6Ksq8nL.css","assets/browser-LpHrL2zI.css","assets/http-error-tGvBmzRt.js","assets/http-error-tuVnY1gp.css","assets/reader-YZw9-gq4.js","assets/reader-3_PJt6OE.css","assets/admin-drawer-panel-v7PBN80C.js","assets/admin-drawer-panel-6Jzha_HG.css"]
|
|
47
|
-
}
|
|
48
|
-
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
49
|
-
}
|