codex 1.6.0a12__py3-none-any.whl → 1.6.0rc0__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.

Files changed (366) hide show
  1. codex/static_root/assets/{VCheckbox-B3vCf1Vu.e1991f98ab6c.js → VCheckbox-BK0IPHyB.c85e2f87e16a.js} +1 -1
  2. codex/static_root/assets/VCheckbox-BK0IPHyB.c85e2f87e16a.js.br +0 -0
  3. codex/static_root/assets/VCheckbox-BK0IPHyB.c85e2f87e16a.js.gz +0 -0
  4. codex/static_root/assets/{VCheckbox-B3vCf1Vu.js → VCheckbox-BK0IPHyB.js} +1 -1
  5. codex/static_root/assets/VCheckbox-BK0IPHyB.js.br +0 -0
  6. codex/static_root/assets/VCheckbox-BK0IPHyB.js.gz +0 -0
  7. codex/static_root/assets/{VCheckboxBtn-Cj6bUYmw.196cc43ca1c8.js → VCheckboxBtn-DbVzgq3g.c2e2e2b16db0.js} +1 -1
  8. codex/static_root/assets/VCheckboxBtn-DbVzgq3g.c2e2e2b16db0.js.br +0 -0
  9. codex/static_root/assets/VCheckboxBtn-DbVzgq3g.c2e2e2b16db0.js.gz +0 -0
  10. codex/static_root/assets/{VCheckboxBtn-Cj6bUYmw.js → VCheckboxBtn-DbVzgq3g.js} +1 -1
  11. codex/static_root/assets/VCheckboxBtn-DbVzgq3g.js.br +0 -0
  12. codex/static_root/assets/VCheckboxBtn-DbVzgq3g.js.gz +0 -0
  13. codex/static_root/assets/{VCombobox-wIqJY8no.3547ff73e91e.js → VCombobox-DRNxfPeq.db51c60468b3.js} +1 -1
  14. codex/static_root/assets/VCombobox-DRNxfPeq.db51c60468b3.js.br +0 -0
  15. codex/static_root/assets/VCombobox-DRNxfPeq.db51c60468b3.js.gz +0 -0
  16. codex/static_root/assets/{VCombobox-wIqJY8no.js → VCombobox-DRNxfPeq.js} +1 -1
  17. codex/static_root/assets/VCombobox-DRNxfPeq.js.br +0 -0
  18. codex/static_root/assets/VCombobox-DRNxfPeq.js.gz +0 -0
  19. codex/static_root/assets/{VDialog-D6HUFV6a.ac71da510b3f.js → VDialog-xrkpB5lc.7d3fa671e281.js} +1 -1
  20. codex/static_root/assets/VDialog-xrkpB5lc.7d3fa671e281.js.br +0 -0
  21. codex/static_root/assets/VDialog-xrkpB5lc.7d3fa671e281.js.gz +0 -0
  22. codex/static_root/assets/{VDialog-D6HUFV6a.js → VDialog-xrkpB5lc.js} +1 -1
  23. codex/static_root/assets/VDialog-xrkpB5lc.js.br +0 -0
  24. codex/static_root/assets/VDialog-xrkpB5lc.js.gz +0 -0
  25. codex/static_root/assets/{VExpansionPanels-BUJaYmzY.44e8a00a2ebe.js → VExpansionPanels-dtwXHEmN.b8444e54d145.js} +1 -1
  26. codex/static_root/assets/VExpansionPanels-dtwXHEmN.b8444e54d145.js.br +0 -0
  27. codex/static_root/assets/VExpansionPanels-dtwXHEmN.b8444e54d145.js.gz +0 -0
  28. codex/static_root/assets/{VExpansionPanels-BUJaYmzY.js → VExpansionPanels-dtwXHEmN.js} +1 -1
  29. codex/static_root/assets/VExpansionPanels-dtwXHEmN.js.br +0 -0
  30. codex/static_root/assets/VExpansionPanels-dtwXHEmN.js.gz +0 -0
  31. codex/static_root/assets/{VRadioGroup-CayclHra.0a5b1c9a7b71.js → VRadioGroup-DUhU0d2J.62d19103a0cc.js} +1 -1
  32. codex/static_root/assets/VRadioGroup-DUhU0d2J.62d19103a0cc.js.br +0 -0
  33. codex/static_root/assets/VRadioGroup-DUhU0d2J.62d19103a0cc.js.gz +0 -0
  34. codex/static_root/assets/{VRadioGroup-CayclHra.js → VRadioGroup-DUhU0d2J.js} +1 -1
  35. codex/static_root/assets/VRadioGroup-DUhU0d2J.js.br +0 -0
  36. codex/static_root/assets/VRadioGroup-DUhU0d2J.js.gz +0 -0
  37. codex/static_root/assets/{VSelect-ou2Q9UaN.8ddd219784e1.js → VSelect-C768JtGg.a9c65d26248e.js} +1 -1
  38. codex/static_root/assets/VSelect-C768JtGg.a9c65d26248e.js.br +0 -0
  39. codex/static_root/assets/VSelect-C768JtGg.a9c65d26248e.js.gz +0 -0
  40. codex/static_root/assets/{VSelect-ou2Q9UaN.js → VSelect-C768JtGg.js} +1 -1
  41. codex/static_root/assets/VSelect-C768JtGg.js.br +0 -0
  42. codex/static_root/assets/VSelect-C768JtGg.js.gz +0 -0
  43. codex/static_root/assets/{VSelectionControl-BOKIwNZb.js → VSelectionControl-DocEa9g1.52f73fdce6d1.js} +1 -1
  44. codex/static_root/assets/VSelectionControl-DocEa9g1.52f73fdce6d1.js.br +0 -0
  45. codex/static_root/assets/VSelectionControl-DocEa9g1.52f73fdce6d1.js.gz +0 -0
  46. codex/static_root/assets/{VSelectionControl-BOKIwNZb.16e0cdde978c.js → VSelectionControl-DocEa9g1.js} +1 -1
  47. codex/static_root/assets/VSelectionControl-DocEa9g1.js.br +0 -0
  48. codex/static_root/assets/VSelectionControl-DocEa9g1.js.gz +0 -0
  49. codex/static_root/assets/{VSlideGroup-C3XgVg2T.d2b0ee4f596c.js → VSlideGroup-w7zv3wT_.647c2d1d6877.js} +1 -1
  50. codex/static_root/assets/VSlideGroup-w7zv3wT_.647c2d1d6877.js.br +0 -0
  51. codex/static_root/assets/VSlideGroup-w7zv3wT_.647c2d1d6877.js.gz +0 -0
  52. codex/static_root/assets/{VSlideGroup-C3XgVg2T.js → VSlideGroup-w7zv3wT_.js} +1 -1
  53. codex/static_root/assets/VSlideGroup-w7zv3wT_.js.br +0 -0
  54. codex/static_root/assets/VSlideGroup-w7zv3wT_.js.gz +0 -0
  55. codex/static_root/assets/{VTable-CrIiBr9q.b4669247af45.js → VTable-Bm3ZZq7k.126b28481416.js} +1 -1
  56. codex/static_root/assets/VTable-Bm3ZZq7k.126b28481416.js.br +0 -0
  57. codex/static_root/assets/VTable-Bm3ZZq7k.126b28481416.js.gz +0 -0
  58. codex/static_root/assets/{VTable-CrIiBr9q.js → VTable-Bm3ZZq7k.js} +1 -1
  59. codex/static_root/assets/VTable-Bm3ZZq7k.js.br +0 -0
  60. codex/static_root/assets/VTable-Bm3ZZq7k.js.gz +0 -0
  61. codex/static_root/assets/{VTextField-HAAxrpNi.6f6dcb50079a.js → VTextField-DuOs5usq.b1fe3e9e431d.js} +1 -1
  62. codex/static_root/assets/VTextField-DuOs5usq.b1fe3e9e431d.js.br +0 -0
  63. codex/static_root/assets/VTextField-DuOs5usq.b1fe3e9e431d.js.gz +0 -0
  64. codex/static_root/assets/{VTextField-HAAxrpNi.js → VTextField-DuOs5usq.js} +1 -1
  65. codex/static_root/assets/VTextField-DuOs5usq.js.br +0 -0
  66. codex/static_root/assets/VTextField-DuOs5usq.js.gz +0 -0
  67. codex/static_root/assets/{VWindowItem-aal6-Uv4.d178e2af20a7.js → VWindowItem-C3SaotR1.05f0f97e8897.js} +1 -1
  68. codex/static_root/assets/VWindowItem-C3SaotR1.05f0f97e8897.js.br +0 -0
  69. codex/static_root/assets/VWindowItem-C3SaotR1.05f0f97e8897.js.gz +0 -0
  70. codex/static_root/assets/{VWindowItem-aal6-Uv4.js → VWindowItem-C3SaotR1.js} +1 -1
  71. codex/static_root/assets/VWindowItem-C3SaotR1.js.br +0 -0
  72. codex/static_root/assets/VWindowItem-C3SaotR1.js.gz +0 -0
  73. codex/static_root/assets/{admin-D5JDmLDy.e4df3dd3a3fe.js → admin-37fN97_d.076ef24ac3c3.js} +1 -1
  74. codex/static_root/assets/admin-37fN97_d.076ef24ac3c3.js.br +0 -0
  75. codex/static_root/assets/admin-37fN97_d.076ef24ac3c3.js.gz +0 -0
  76. codex/static_root/assets/{admin-D5JDmLDy.js → admin-37fN97_d.js} +1 -1
  77. codex/static_root/assets/admin-37fN97_d.js.br +0 -0
  78. codex/static_root/assets/admin-37fN97_d.js.gz +0 -0
  79. codex/static_root/assets/{admin-drawer-panel-BF-h3Wm0.1f372db8d08f.js → admin-drawer-panel-CFthvbMb.11b1e9f05875.js} +2 -2
  80. codex/static_root/assets/admin-drawer-panel-CFthvbMb.11b1e9f05875.js.br +0 -0
  81. codex/static_root/assets/admin-drawer-panel-CFthvbMb.11b1e9f05875.js.gz +0 -0
  82. codex/static_root/assets/{admin-drawer-panel-BF-h3Wm0.js → admin-drawer-panel-CFthvbMb.js} +2 -2
  83. codex/static_root/assets/admin-drawer-panel-CFthvbMb.js.br +0 -0
  84. codex/static_root/assets/admin-drawer-panel-CFthvbMb.js.gz +0 -0
  85. codex/static_root/assets/browser-BlycPHgZ.5842145b0e63.css +1 -0
  86. codex/static_root/assets/browser-BlycPHgZ.5842145b0e63.css.br +0 -0
  87. codex/static_root/assets/browser-BlycPHgZ.5842145b0e63.css.gz +0 -0
  88. codex/static_root/assets/browser-BlycPHgZ.css +1 -0
  89. codex/static_root/assets/browser-BlycPHgZ.css.br +0 -0
  90. codex/static_root/assets/browser-BlycPHgZ.css.gz +0 -0
  91. codex/static_root/assets/browser-CA_2XCnV.fb1d5c95e960.js +1 -0
  92. codex/static_root/assets/browser-CA_2XCnV.fb1d5c95e960.js.br +0 -0
  93. codex/static_root/assets/browser-CA_2XCnV.fb1d5c95e960.js.gz +0 -0
  94. codex/static_root/assets/browser-CA_2XCnV.js +1 -0
  95. codex/static_root/assets/browser-CA_2XCnV.js.br +0 -0
  96. codex/static_root/assets/browser-CA_2XCnV.js.gz +0 -0
  97. codex/static_root/assets/{change-password-dialog-BCYw5K7E.a8bae0450f20.js → change-password-dialog-CdCjAlM3.39002922098f.js} +1 -1
  98. codex/static_root/assets/change-password-dialog-CdCjAlM3.39002922098f.js.br +0 -0
  99. codex/static_root/assets/change-password-dialog-CdCjAlM3.39002922098f.js.gz +0 -0
  100. codex/static_root/assets/{change-password-dialog-BCYw5K7E.js → change-password-dialog-CdCjAlM3.js} +1 -1
  101. codex/static_root/assets/change-password-dialog-CdCjAlM3.js.br +0 -0
  102. codex/static_root/assets/change-password-dialog-CdCjAlM3.js.gz +0 -0
  103. codex/static_root/assets/{confirm-dialog-c9JOSGSy.3c5788f95f47.js → confirm-dialog-C-TnajF6.839491684c0e.js} +1 -1
  104. codex/static_root/assets/confirm-dialog-C-TnajF6.839491684c0e.js.br +0 -0
  105. codex/static_root/assets/confirm-dialog-C-TnajF6.839491684c0e.js.gz +0 -0
  106. codex/static_root/assets/{confirm-dialog-c9JOSGSy.js → confirm-dialog-C-TnajF6.js} +1 -1
  107. codex/static_root/assets/confirm-dialog-C-TnajF6.js.br +0 -0
  108. codex/static_root/assets/confirm-dialog-C-TnajF6.js.gz +0 -0
  109. codex/static_root/assets/{datetime-column-D-6LPKdI.d46bbd8134df.js → datetime-column-DwrIUx_h.f913e4e33aab.js} +1 -1
  110. codex/static_root/assets/datetime-column-DwrIUx_h.f913e4e33aab.js.br +0 -0
  111. codex/static_root/assets/datetime-column-DwrIUx_h.f913e4e33aab.js.gz +0 -0
  112. codex/static_root/assets/{datetime-column-D-6LPKdI.js → datetime-column-DwrIUx_h.js} +1 -1
  113. codex/static_root/assets/datetime-column-DwrIUx_h.js.br +0 -0
  114. codex/static_root/assets/datetime-column-DwrIUx_h.js.gz +0 -0
  115. codex/static_root/assets/{filter-BOnVoHTU.93c3d0d0d3f6.js → filter-Tm2kUX1m.efab6f87b66b.js} +1 -1
  116. codex/static_root/assets/filter-Tm2kUX1m.efab6f87b66b.js.br +0 -0
  117. codex/static_root/assets/filter-Tm2kUX1m.efab6f87b66b.js.gz +0 -0
  118. codex/static_root/assets/{filter-BOnVoHTU.js → filter-Tm2kUX1m.js} +1 -1
  119. codex/static_root/assets/filter-Tm2kUX1m.js.br +0 -0
  120. codex/static_root/assets/filter-Tm2kUX1m.js.gz +0 -0
  121. codex/static_root/assets/{flag-tab-IniE-dLy.a02733e359aa.js → flag-tab-CEyOjZFp.628af77cb04b.js} +1 -1
  122. codex/static_root/assets/flag-tab-CEyOjZFp.628af77cb04b.js.br +0 -0
  123. codex/static_root/assets/flag-tab-CEyOjZFp.628af77cb04b.js.gz +0 -0
  124. codex/static_root/assets/{flag-tab-IniE-dLy.js → flag-tab-CEyOjZFp.js} +1 -1
  125. codex/static_root/assets/flag-tab-CEyOjZFp.js.br +0 -0
  126. codex/static_root/assets/flag-tab-CEyOjZFp.js.gz +0 -0
  127. codex/static_root/assets/{group-tab-RPa8XC0J.3d483919ea92.js → group-tab-CBqhy8zy.75497868a808.js} +1 -1
  128. codex/static_root/assets/group-tab-CBqhy8zy.75497868a808.js.br +0 -0
  129. codex/static_root/assets/group-tab-CBqhy8zy.75497868a808.js.gz +0 -0
  130. codex/static_root/assets/{group-tab-RPa8XC0J.js → group-tab-CBqhy8zy.js} +1 -1
  131. codex/static_root/assets/group-tab-CBqhy8zy.js.br +0 -0
  132. codex/static_root/assets/group-tab-CBqhy8zy.js.gz +0 -0
  133. codex/static_root/assets/{http-error-DBQycf8i.561cde2b4598.js → http-error-MPj9N9no.5efe701ebf21.js} +1 -1
  134. codex/static_root/assets/http-error-MPj9N9no.5efe701ebf21.js.br +0 -0
  135. codex/static_root/assets/http-error-MPj9N9no.5efe701ebf21.js.gz +0 -0
  136. codex/static_root/assets/{http-error-DBQycf8i.js → http-error-MPj9N9no.js} +1 -1
  137. codex/static_root/assets/http-error-MPj9N9no.js.br +0 -0
  138. codex/static_root/assets/http-error-MPj9N9no.js.gz +0 -0
  139. codex/static_root/assets/{library-tab-C5trLvkq.js → library-tab-5azEcqzs.47a08c31a787.js} +1 -1
  140. codex/static_root/assets/library-tab-5azEcqzs.47a08c31a787.js.br +0 -0
  141. codex/static_root/assets/library-tab-5azEcqzs.47a08c31a787.js.gz +0 -0
  142. codex/static_root/assets/{library-tab-C5trLvkq.35c7a1b79c71.js → library-tab-5azEcqzs.js} +1 -1
  143. codex/static_root/assets/library-tab-5azEcqzs.js.br +0 -0
  144. codex/static_root/assets/library-tab-5azEcqzs.js.gz +0 -0
  145. codex/static_root/assets/{main-x0Pcl23A.js → main-BsvrAp4n.67f45fa0cbae.js} +3 -3
  146. codex/static_root/assets/main-BsvrAp4n.67f45fa0cbae.js.br +0 -0
  147. codex/static_root/assets/main-BsvrAp4n.67f45fa0cbae.js.gz +0 -0
  148. codex/static_root/assets/{main-x0Pcl23A.364bfe447c9c.js → main-BsvrAp4n.js} +3 -3
  149. codex/static_root/assets/main-BsvrAp4n.js.br +0 -0
  150. codex/static_root/assets/main-BsvrAp4n.js.gz +0 -0
  151. codex/static_root/assets/{pagination-toolbar-DEgDOzzp.71aa03f525e4.js → pagination-toolbar-CfSLqHFH.202c4c4edba3.js} +1 -1
  152. codex/static_root/assets/pagination-toolbar-CfSLqHFH.202c4c4edba3.js.br +0 -0
  153. codex/static_root/assets/pagination-toolbar-CfSLqHFH.202c4c4edba3.js.gz +0 -0
  154. codex/static_root/assets/{pagination-toolbar-DEgDOzzp.js → pagination-toolbar-CfSLqHFH.js} +1 -1
  155. codex/static_root/assets/pagination-toolbar-CfSLqHFH.js.br +0 -0
  156. codex/static_root/assets/pagination-toolbar-CfSLqHFH.js.gz +0 -0
  157. codex/static_root/assets/{pdf-doc-CkV-xfvG.35c1a6a19a41.js → pdf-doc-Dd9MUnaN.750b8c2b1614.js} +1 -1
  158. codex/static_root/assets/pdf-doc-Dd9MUnaN.750b8c2b1614.js.br +0 -0
  159. codex/static_root/assets/pdf-doc-Dd9MUnaN.750b8c2b1614.js.gz +0 -0
  160. codex/static_root/assets/{pdf-doc-CkV-xfvG.js → pdf-doc-Dd9MUnaN.js} +1 -1
  161. codex/static_root/assets/pdf-doc-Dd9MUnaN.js.br +0 -0
  162. codex/static_root/assets/pdf-doc-Dd9MUnaN.js.gz +0 -0
  163. codex/static_root/assets/{reader-ClcgSG93.6afe950e70ac.js → reader-CFLp5Avy.c10d0e7bdc6a.js} +2 -2
  164. codex/static_root/assets/reader-CFLp5Avy.c10d0e7bdc6a.js.br +0 -0
  165. codex/static_root/assets/reader-CFLp5Avy.c10d0e7bdc6a.js.gz +0 -0
  166. codex/static_root/assets/{reader-ClcgSG93.js → reader-CFLp5Avy.js} +2 -2
  167. codex/static_root/assets/reader-CFLp5Avy.js.br +0 -0
  168. codex/static_root/assets/reader-CFLp5Avy.js.gz +0 -0
  169. codex/static_root/assets/{relation-chips-2vga5ApB.js → relation-chips-CFQRvVd2.16c214e5a077.js} +1 -1
  170. codex/static_root/assets/relation-chips-CFQRvVd2.16c214e5a077.js.br +0 -0
  171. codex/static_root/assets/relation-chips-CFQRvVd2.16c214e5a077.js.gz +0 -0
  172. codex/static_root/assets/{relation-chips-2vga5ApB.d94c344f909b.js → relation-chips-CFQRvVd2.js} +1 -1
  173. codex/static_root/assets/relation-chips-CFQRvVd2.js.br +0 -0
  174. codex/static_root/assets/relation-chips-CFQRvVd2.js.gz +0 -0
  175. codex/static_root/assets/{settings-drawer-BOTI_tHr.js → settings-drawer-DATmeafe.aed03d89d68e.js} +2 -2
  176. codex/static_root/assets/settings-drawer-DATmeafe.aed03d89d68e.js.br +0 -0
  177. codex/static_root/assets/settings-drawer-DATmeafe.aed03d89d68e.js.gz +0 -0
  178. codex/static_root/assets/{settings-drawer-BOTI_tHr.03748f801e08.js → settings-drawer-DATmeafe.js} +2 -2
  179. codex/static_root/assets/settings-drawer-DATmeafe.js.br +0 -0
  180. codex/static_root/assets/settings-drawer-DATmeafe.js.gz +0 -0
  181. codex/static_root/assets/{stats-tab-CBz_jhmH.9bdc41225f06.js → stats-tab-BaWY3sVM.0007ad091e4a.js} +1 -1
  182. codex/static_root/assets/stats-tab-BaWY3sVM.0007ad091e4a.js.br +0 -0
  183. codex/static_root/assets/stats-tab-BaWY3sVM.0007ad091e4a.js.gz +0 -0
  184. codex/static_root/assets/{stats-tab-CBz_jhmH.js → stats-tab-BaWY3sVM.js} +1 -1
  185. codex/static_root/assets/stats-tab-BaWY3sVM.js.br +0 -0
  186. codex/static_root/assets/stats-tab-BaWY3sVM.js.gz +0 -0
  187. codex/static_root/assets/{task-tab-B8sYV6Ia.90a8deec0214.js → task-tab-DVu0qD_G.5eb9fd4258f1.js} +1 -1
  188. codex/static_root/assets/task-tab-DVu0qD_G.5eb9fd4258f1.js.br +0 -0
  189. codex/static_root/assets/task-tab-DVu0qD_G.5eb9fd4258f1.js.gz +0 -0
  190. codex/static_root/assets/{task-tab-B8sYV6Ia.js → task-tab-DVu0qD_G.js} +1 -1
  191. codex/static_root/assets/task-tab-DVu0qD_G.js.br +0 -0
  192. codex/static_root/assets/task-tab-DVu0qD_G.js.gz +0 -0
  193. codex/static_root/assets/to-case-nvRvwQgU.a5952b24fca1.js +1 -0
  194. codex/static_root/assets/to-case-nvRvwQgU.a5952b24fca1.js.br +0 -0
  195. codex/static_root/assets/to-case-nvRvwQgU.js +1 -0
  196. codex/static_root/assets/to-case-nvRvwQgU.js.br +0 -0
  197. codex/static_root/assets/{unauthorized-D5-FvA2_.61b1cd239b47.js → unauthorized-xWMjiI8M.490ac34d8d4a.js} +1 -1
  198. codex/static_root/assets/unauthorized-xWMjiI8M.490ac34d8d4a.js.br +0 -0
  199. codex/static_root/assets/unauthorized-xWMjiI8M.490ac34d8d4a.js.gz +0 -0
  200. codex/static_root/assets/{unauthorized-D5-FvA2_.js → unauthorized-xWMjiI8M.js} +1 -1
  201. codex/static_root/assets/unauthorized-xWMjiI8M.js.br +0 -0
  202. codex/static_root/assets/unauthorized-xWMjiI8M.js.gz +0 -0
  203. codex/static_root/assets/{user-tab-pzFjrggM.97c02ebee729.js → user-tab-BhdZJ6QU.c2709e6649b1.js} +1 -1
  204. codex/static_root/assets/user-tab-BhdZJ6QU.c2709e6649b1.js.br +0 -0
  205. codex/static_root/assets/user-tab-BhdZJ6QU.c2709e6649b1.js.gz +0 -0
  206. codex/static_root/assets/{user-tab-pzFjrggM.js → user-tab-BhdZJ6QU.js} +1 -1
  207. codex/static_root/assets/user-tab-BhdZJ6QU.js.br +0 -0
  208. codex/static_root/assets/user-tab-BhdZJ6QU.js.gz +0 -0
  209. codex/static_root/{manifest.a18726680d5f.json → manifest.94f4daf2f37d.json} +220 -220
  210. codex/static_root/manifest.94f4daf2f37d.json.br +0 -0
  211. codex/static_root/manifest.94f4daf2f37d.json.gz +0 -0
  212. codex/static_root/manifest.json +220 -220
  213. codex/static_root/manifest.json.br +0 -0
  214. codex/static_root/manifest.json.gz +0 -0
  215. codex/static_root/staticfiles.json +1 -1
  216. codex/views/browser/cover.py +2 -3
  217. codex/views/browser/filters/group.py +4 -3
  218. {codex-1.6.0a12.dist-info → codex-1.6.0rc0.dist-info}/METADATA +2 -1
  219. {codex-1.6.0a12.dist-info → codex-1.6.0rc0.dist-info}/RECORD +222 -220
  220. codex/static_root/assets/VCheckbox-B3vCf1Vu.e1991f98ab6c.js.br +0 -0
  221. codex/static_root/assets/VCheckbox-B3vCf1Vu.e1991f98ab6c.js.gz +0 -0
  222. codex/static_root/assets/VCheckbox-B3vCf1Vu.js.br +0 -0
  223. codex/static_root/assets/VCheckbox-B3vCf1Vu.js.gz +0 -0
  224. codex/static_root/assets/VCheckboxBtn-Cj6bUYmw.196cc43ca1c8.js.br +0 -0
  225. codex/static_root/assets/VCheckboxBtn-Cj6bUYmw.196cc43ca1c8.js.gz +0 -0
  226. codex/static_root/assets/VCheckboxBtn-Cj6bUYmw.js.br +0 -0
  227. codex/static_root/assets/VCheckboxBtn-Cj6bUYmw.js.gz +0 -0
  228. codex/static_root/assets/VCombobox-wIqJY8no.3547ff73e91e.js.br +0 -0
  229. codex/static_root/assets/VCombobox-wIqJY8no.3547ff73e91e.js.gz +0 -0
  230. codex/static_root/assets/VCombobox-wIqJY8no.js.br +0 -0
  231. codex/static_root/assets/VCombobox-wIqJY8no.js.gz +0 -0
  232. codex/static_root/assets/VDialog-D6HUFV6a.ac71da510b3f.js.br +0 -0
  233. codex/static_root/assets/VDialog-D6HUFV6a.ac71da510b3f.js.gz +0 -0
  234. codex/static_root/assets/VDialog-D6HUFV6a.js.br +0 -0
  235. codex/static_root/assets/VDialog-D6HUFV6a.js.gz +0 -0
  236. codex/static_root/assets/VExpansionPanels-BUJaYmzY.44e8a00a2ebe.js.br +0 -0
  237. codex/static_root/assets/VExpansionPanels-BUJaYmzY.44e8a00a2ebe.js.gz +0 -0
  238. codex/static_root/assets/VExpansionPanels-BUJaYmzY.js.br +0 -0
  239. codex/static_root/assets/VExpansionPanels-BUJaYmzY.js.gz +0 -0
  240. codex/static_root/assets/VRadioGroup-CayclHra.0a5b1c9a7b71.js.br +0 -0
  241. codex/static_root/assets/VRadioGroup-CayclHra.0a5b1c9a7b71.js.gz +0 -0
  242. codex/static_root/assets/VRadioGroup-CayclHra.js.br +0 -0
  243. codex/static_root/assets/VRadioGroup-CayclHra.js.gz +0 -0
  244. codex/static_root/assets/VSelect-ou2Q9UaN.8ddd219784e1.js.br +0 -0
  245. codex/static_root/assets/VSelect-ou2Q9UaN.8ddd219784e1.js.gz +0 -0
  246. codex/static_root/assets/VSelect-ou2Q9UaN.js.br +0 -0
  247. codex/static_root/assets/VSelect-ou2Q9UaN.js.gz +0 -0
  248. codex/static_root/assets/VSelectionControl-BOKIwNZb.16e0cdde978c.js.br +0 -0
  249. codex/static_root/assets/VSelectionControl-BOKIwNZb.16e0cdde978c.js.gz +0 -0
  250. codex/static_root/assets/VSelectionControl-BOKIwNZb.js.br +0 -0
  251. codex/static_root/assets/VSelectionControl-BOKIwNZb.js.gz +0 -0
  252. codex/static_root/assets/VSlideGroup-C3XgVg2T.d2b0ee4f596c.js.br +0 -0
  253. codex/static_root/assets/VSlideGroup-C3XgVg2T.d2b0ee4f596c.js.gz +0 -0
  254. codex/static_root/assets/VSlideGroup-C3XgVg2T.js.br +0 -0
  255. codex/static_root/assets/VSlideGroup-C3XgVg2T.js.gz +0 -0
  256. codex/static_root/assets/VTable-CrIiBr9q.b4669247af45.js.br +0 -0
  257. codex/static_root/assets/VTable-CrIiBr9q.b4669247af45.js.gz +0 -0
  258. codex/static_root/assets/VTable-CrIiBr9q.js.br +0 -0
  259. codex/static_root/assets/VTable-CrIiBr9q.js.gz +0 -0
  260. codex/static_root/assets/VTextField-HAAxrpNi.6f6dcb50079a.js.br +0 -0
  261. codex/static_root/assets/VTextField-HAAxrpNi.6f6dcb50079a.js.gz +0 -0
  262. codex/static_root/assets/VTextField-HAAxrpNi.js.br +0 -0
  263. codex/static_root/assets/VTextField-HAAxrpNi.js.gz +0 -0
  264. codex/static_root/assets/VWindowItem-aal6-Uv4.d178e2af20a7.js.br +0 -0
  265. codex/static_root/assets/VWindowItem-aal6-Uv4.d178e2af20a7.js.gz +0 -0
  266. codex/static_root/assets/VWindowItem-aal6-Uv4.js.br +0 -0
  267. codex/static_root/assets/VWindowItem-aal6-Uv4.js.gz +0 -0
  268. codex/static_root/assets/admin-D5JDmLDy.e4df3dd3a3fe.js.br +0 -0
  269. codex/static_root/assets/admin-D5JDmLDy.e4df3dd3a3fe.js.gz +0 -0
  270. codex/static_root/assets/admin-D5JDmLDy.js.br +0 -0
  271. codex/static_root/assets/admin-D5JDmLDy.js.gz +0 -0
  272. codex/static_root/assets/admin-drawer-panel-BF-h3Wm0.1f372db8d08f.js.br +0 -0
  273. codex/static_root/assets/admin-drawer-panel-BF-h3Wm0.1f372db8d08f.js.gz +0 -0
  274. codex/static_root/assets/admin-drawer-panel-BF-h3Wm0.js.br +0 -0
  275. codex/static_root/assets/admin-drawer-panel-BF-h3Wm0.js.gz +0 -0
  276. codex/static_root/assets/browser-B1-dPld9.0b3fa4fdbe22.css +0 -1
  277. codex/static_root/assets/browser-B1-dPld9.0b3fa4fdbe22.css.br +0 -0
  278. codex/static_root/assets/browser-B1-dPld9.0b3fa4fdbe22.css.gz +0 -0
  279. codex/static_root/assets/browser-B1-dPld9.css +0 -1
  280. codex/static_root/assets/browser-B1-dPld9.css.br +0 -0
  281. codex/static_root/assets/browser-B1-dPld9.css.gz +0 -0
  282. codex/static_root/assets/browser-VhFkImB_.9c3b2c746614.js +0 -1
  283. codex/static_root/assets/browser-VhFkImB_.9c3b2c746614.js.br +0 -0
  284. codex/static_root/assets/browser-VhFkImB_.9c3b2c746614.js.gz +0 -0
  285. codex/static_root/assets/browser-VhFkImB_.js +0 -1
  286. codex/static_root/assets/browser-VhFkImB_.js.br +0 -0
  287. codex/static_root/assets/browser-VhFkImB_.js.gz +0 -0
  288. codex/static_root/assets/change-password-dialog-BCYw5K7E.a8bae0450f20.js.br +0 -0
  289. codex/static_root/assets/change-password-dialog-BCYw5K7E.a8bae0450f20.js.gz +0 -0
  290. codex/static_root/assets/change-password-dialog-BCYw5K7E.js.br +0 -0
  291. codex/static_root/assets/change-password-dialog-BCYw5K7E.js.gz +0 -0
  292. codex/static_root/assets/confirm-dialog-c9JOSGSy.3c5788f95f47.js.br +0 -3
  293. codex/static_root/assets/confirm-dialog-c9JOSGSy.3c5788f95f47.js.gz +0 -0
  294. codex/static_root/assets/confirm-dialog-c9JOSGSy.js.br +0 -3
  295. codex/static_root/assets/confirm-dialog-c9JOSGSy.js.gz +0 -0
  296. codex/static_root/assets/datetime-column-D-6LPKdI.d46bbd8134df.js.br +0 -0
  297. codex/static_root/assets/datetime-column-D-6LPKdI.d46bbd8134df.js.gz +0 -0
  298. codex/static_root/assets/datetime-column-D-6LPKdI.js.br +0 -0
  299. codex/static_root/assets/datetime-column-D-6LPKdI.js.gz +0 -0
  300. codex/static_root/assets/filter-BOnVoHTU.93c3d0d0d3f6.js.br +0 -0
  301. codex/static_root/assets/filter-BOnVoHTU.93c3d0d0d3f6.js.gz +0 -0
  302. codex/static_root/assets/filter-BOnVoHTU.js.br +0 -0
  303. codex/static_root/assets/filter-BOnVoHTU.js.gz +0 -0
  304. codex/static_root/assets/flag-tab-IniE-dLy.a02733e359aa.js.br +0 -0
  305. codex/static_root/assets/flag-tab-IniE-dLy.a02733e359aa.js.gz +0 -0
  306. codex/static_root/assets/flag-tab-IniE-dLy.js.br +0 -0
  307. codex/static_root/assets/flag-tab-IniE-dLy.js.gz +0 -0
  308. codex/static_root/assets/group-tab-RPa8XC0J.3d483919ea92.js.br +0 -0
  309. codex/static_root/assets/group-tab-RPa8XC0J.3d483919ea92.js.gz +0 -0
  310. codex/static_root/assets/group-tab-RPa8XC0J.js.br +0 -0
  311. codex/static_root/assets/group-tab-RPa8XC0J.js.gz +0 -0
  312. codex/static_root/assets/http-error-DBQycf8i.561cde2b4598.js.br +0 -0
  313. codex/static_root/assets/http-error-DBQycf8i.561cde2b4598.js.gz +0 -0
  314. codex/static_root/assets/http-error-DBQycf8i.js.br +0 -0
  315. codex/static_root/assets/http-error-DBQycf8i.js.gz +0 -0
  316. codex/static_root/assets/library-tab-C5trLvkq.35c7a1b79c71.js.br +0 -0
  317. codex/static_root/assets/library-tab-C5trLvkq.35c7a1b79c71.js.gz +0 -0
  318. codex/static_root/assets/library-tab-C5trLvkq.js.br +0 -0
  319. codex/static_root/assets/library-tab-C5trLvkq.js.gz +0 -0
  320. codex/static_root/assets/main-x0Pcl23A.364bfe447c9c.js.br +0 -0
  321. codex/static_root/assets/main-x0Pcl23A.364bfe447c9c.js.gz +0 -0
  322. codex/static_root/assets/main-x0Pcl23A.js.br +0 -0
  323. codex/static_root/assets/main-x0Pcl23A.js.gz +0 -0
  324. codex/static_root/assets/pagination-toolbar-DEgDOzzp.71aa03f525e4.js.br +0 -0
  325. codex/static_root/assets/pagination-toolbar-DEgDOzzp.71aa03f525e4.js.gz +0 -0
  326. codex/static_root/assets/pagination-toolbar-DEgDOzzp.js.br +0 -0
  327. codex/static_root/assets/pagination-toolbar-DEgDOzzp.js.gz +0 -0
  328. codex/static_root/assets/pdf-doc-CkV-xfvG.35c1a6a19a41.js.br +0 -0
  329. codex/static_root/assets/pdf-doc-CkV-xfvG.35c1a6a19a41.js.gz +0 -0
  330. codex/static_root/assets/pdf-doc-CkV-xfvG.js.br +0 -0
  331. codex/static_root/assets/pdf-doc-CkV-xfvG.js.gz +0 -0
  332. codex/static_root/assets/reader-ClcgSG93.6afe950e70ac.js.br +0 -0
  333. codex/static_root/assets/reader-ClcgSG93.6afe950e70ac.js.gz +0 -0
  334. codex/static_root/assets/reader-ClcgSG93.js.br +0 -0
  335. codex/static_root/assets/reader-ClcgSG93.js.gz +0 -0
  336. codex/static_root/assets/relation-chips-2vga5ApB.d94c344f909b.js.br +0 -0
  337. codex/static_root/assets/relation-chips-2vga5ApB.d94c344f909b.js.gz +0 -0
  338. codex/static_root/assets/relation-chips-2vga5ApB.js.br +0 -0
  339. codex/static_root/assets/relation-chips-2vga5ApB.js.gz +0 -0
  340. codex/static_root/assets/settings-drawer-BOTI_tHr.03748f801e08.js.br +0 -0
  341. codex/static_root/assets/settings-drawer-BOTI_tHr.03748f801e08.js.gz +0 -0
  342. codex/static_root/assets/settings-drawer-BOTI_tHr.js.br +0 -0
  343. codex/static_root/assets/settings-drawer-BOTI_tHr.js.gz +0 -0
  344. codex/static_root/assets/stats-tab-CBz_jhmH.9bdc41225f06.js.br +0 -0
  345. codex/static_root/assets/stats-tab-CBz_jhmH.9bdc41225f06.js.gz +0 -0
  346. codex/static_root/assets/stats-tab-CBz_jhmH.js.br +0 -0
  347. codex/static_root/assets/stats-tab-CBz_jhmH.js.gz +0 -0
  348. codex/static_root/assets/task-tab-B8sYV6Ia.90a8deec0214.js.br +0 -0
  349. codex/static_root/assets/task-tab-B8sYV6Ia.90a8deec0214.js.gz +0 -0
  350. codex/static_root/assets/task-tab-B8sYV6Ia.js.br +0 -0
  351. codex/static_root/assets/task-tab-B8sYV6Ia.js.gz +0 -0
  352. codex/static_root/assets/to-case-CnnzURtN.f0e4b42ddb89.js +0 -1
  353. codex/static_root/assets/to-case-CnnzURtN.js +0 -1
  354. codex/static_root/assets/unauthorized-D5-FvA2_.61b1cd239b47.js.br +0 -0
  355. codex/static_root/assets/unauthorized-D5-FvA2_.61b1cd239b47.js.gz +0 -0
  356. codex/static_root/assets/unauthorized-D5-FvA2_.js.br +0 -0
  357. codex/static_root/assets/unauthorized-D5-FvA2_.js.gz +0 -0
  358. codex/static_root/assets/user-tab-pzFjrggM.97c02ebee729.js.br +0 -0
  359. codex/static_root/assets/user-tab-pzFjrggM.97c02ebee729.js.gz +0 -0
  360. codex/static_root/assets/user-tab-pzFjrggM.js.br +0 -0
  361. codex/static_root/assets/user-tab-pzFjrggM.js.gz +0 -0
  362. codex/static_root/manifest.a18726680d5f.json.br +0 -0
  363. codex/static_root/manifest.a18726680d5f.json.gz +0 -0
  364. {codex-1.6.0a12.dist-info → codex-1.6.0rc0.dist-info}/LICENSE +0 -0
  365. {codex-1.6.0a12.dist-info → codex-1.6.0rc0.dist-info}/WHEEL +0 -0
  366. {codex-1.6.0a12.dist-info → codex-1.6.0rc0.dist-info}/entry_points.txt +0 -0
@@ -1,9 +1,9 @@
1
- const __vite__fileDeps=["assets/admin-D5JDmLDy.js","assets/admin-drawer-panel-BF-h3Wm0.js","assets/admin-drawer-panel-mne3FIj6.css","assets/settings-drawer-BOTI_tHr.js","assets/unauthorized-D5-FvA2_.js","assets/change-password-dialog-BCYw5K7E.js","assets/VTextField-HAAxrpNi.js","assets/VDialog-D6HUFV6a.js","assets/VDialog-lQ13FnRR.css","assets/VSelectionControl-BOKIwNZb.js","assets/VSelectionControl-BFq--28I.css","assets/VTextField-BssVoDhB.css","assets/change-password-dialog-0u6IJA87.css","assets/unauthorized-CibJYD8o.css","assets/copy-to-clipboard-DoUvDJVx.js","assets/settings-drawer-nZ9HvKSZ.css","assets/VWindowItem-aal6-Uv4.js","assets/VWindowItem-ByIod57Y.css","assets/VSlideGroup-C3XgVg2T.js","assets/VSlideGroup-Dk_1upHt.css","assets/admin-B8Bp2Uih.css","assets/browser-VhFkImB_.js","assets/VTable-CrIiBr9q.js","assets/VTable-DflzroDq.css","assets/VCheckbox-B3vCf1Vu.js","assets/VCheckboxBtn-Cj6bUYmw.js","assets/VCheckbox-CMKdyl0R.css","assets/pagination-toolbar-DEgDOzzp.js","assets/VSelect-ou2Q9UaN.js","assets/VSelect-ARDhJiQK.css","assets/to-case-CnnzURtN.js","assets/pagination-toolbar-BLUoVz2y.css","assets/confirm-dialog-c9JOSGSy.js","assets/confirm-dialog-BmhedLCx.css","assets/VCombobox-wIqJY8no.js","assets/filter-BOnVoHTU.js","assets/VCombobox-BksEr4D_.css","assets/browser-B1-dPld9.css","assets/http-error-DBQycf8i.js","assets/http-error-DKulXuTl.css","assets/reader-ClcgSG93.js","assets/VExpansionPanels-BUJaYmzY.js","assets/VExpansionPanels-DsEXVcCv.css","assets/VRadioGroup-CayclHra.js","assets/VRadioGroup-i2qP9Wu9.css","assets/reader-CqXFa_gE.css","assets/flag-tab-IniE-dLy.js","assets/flag-tab-BNwbLfrN.css","assets/user-tab-pzFjrggM.js","assets/relation-chips-2vga5ApB.js","assets/relation-chips-Bsc-gUxE.css","assets/datetime-column-D-6LPKdI.js","assets/datetime-column-DeCthByU.css","assets/group-tab-RPa8XC0J.js","assets/group-tab-CBKuS3Iv.css","assets/library-tab-C5trLvkq.js","assets/library-tab-BN0SfPcH.css","assets/task-tab-B8sYV6Ia.js","assets/task-tab-1XiWn9xP.css","assets/stats-tab-CBz_jhmH.js","assets/stats-tab-B4yKuY0c.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
- import{n as Hn,v as dm,i as It,u as pn,r as so,w as pm,a as Qi,g as Ic,o as Pc,b as Oc,c as Cc,s as Mc,d as gm,e as Dc,f as en,h as De,j as Fc,p as sr,k as tn,H as Wt,l as Ji,m as Ui,C as ar,q as vm,t as qi,x as Hc,y as mm,z as ym,A as Sm,B as Vi,D as xm,E as es,F as Bc,G as kc,I as bm,J as Nu,K as no,L as Em,M as Tm,N as Lm,O as Rm,P as wm,Q as Nc,R as Am,S as or,T as Im,U as Pm,V as $u,W as Om,_ as Cm,X as Mm,Y as Dm,Z as Fm,$ as Hm,a0 as Bm,a1 as Wu,a2 as Mn,a3 as km,a4 as Nm,a5 as $m,a6 as Wm,a7 as Gm,a8 as Um,a9 as Vm,aa as Km,ab as Gu,ac as Uu,ad as Vu,ae as Ku,af as ju,ag as jm,ah as zm,ai as Ym}from"./admin-drawer-panel-BF-h3Wm0.js";function Ki(n,r={},o){for(const i in n){const a=n[i],c=o?`${o}:${i}`:i;typeof a=="object"&&a!==null?Ki(a,r,c):typeof a=="function"&&(r[c]=a)}return r}const Zm={run:n=>n()},Xm=()=>Zm,$c=typeof console.createTask<"u"?console.createTask:Xm;function _m(n,r){const o=r.shift(),i=$c(o);return n.reduce((a,c)=>a.then(()=>i.run(()=>c(...r))),Promise.resolve())}function Qm(n,r){const o=r.shift(),i=$c(o);return Promise.all(n.map(a=>i.run(()=>a(...r))))}function Hi(n,r){for(const o of[...n])o(r)}class Jm{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(r,o,i={}){if(!r||typeof o!="function")return()=>{};const a=r;let c;for(;this._deprecatedHooks[r];)c=this._deprecatedHooks[r],r=c.to;if(c&&!i.allowDeprecated){let f=c.message;f||(f=`${a} hook has been deprecated`+(c.to?`, please use ${c.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(f)||(console.warn(f),this._deprecatedMessages.add(f))}if(!o.name)try{Object.defineProperty(o,"name",{get:()=>"_"+r.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[r]=this._hooks[r]||[],this._hooks[r].push(o),()=>{o&&(this.removeHook(r,o),o=void 0)}}hookOnce(r,o){let i,a=(...c)=>(typeof i=="function"&&i(),i=void 0,a=void 0,o(...c));return i=this.hook(r,a),i}removeHook(r,o){if(this._hooks[r]){const i=this._hooks[r].indexOf(o);i!==-1&&this._hooks[r].splice(i,1),this._hooks[r].length===0&&delete this._hooks[r]}}deprecateHook(r,o){this._deprecatedHooks[r]=typeof o=="string"?{to:o}:o;const i=this._hooks[r]||[];delete this._hooks[r];for(const a of i)this.hook(r,a)}deprecateHooks(r){Object.assign(this._deprecatedHooks,r);for(const o in r)this.deprecateHook(o,r[o])}addHooks(r){const o=Ki(r),i=Object.keys(o).map(a=>this.hook(a,o[a]));return()=>{for(const a of i.splice(0,i.length))a()}}removeHooks(r){const o=Ki(r);for(const i in o)this.removeHook(i,o[i])}removeAllHooks(){for(const r in this._hooks)delete this._hooks[r]}callHook(r,...o){return o.unshift(r),this.callHookWith(_m,r,...o)}callHookParallel(r,...o){return o.unshift(r),this.callHookWith(Qm,r,...o)}callHookWith(r,o,...i){const a=this._before||this._after?{name:o,args:i,context:{}}:void 0;this._before&&Hi(this._before,a);const c=r(o in this._hooks?[...this._hooks[o]]:[],i);return c instanceof Promise?c.finally(()=>{this._after&&a&&Hi(this._after,a)}):(this._after&&a&&Hi(this._after,a),c)}beforeEach(r){return this._before=this._before||[],this._before.push(r),()=>{if(this._before!==void 0){const o=this._before.indexOf(r);o!==-1&&this._before.splice(o,1)}}}afterEach(r){return this._after=this._after||[],this._after.push(r),()=>{if(this._after!==void 0){const o=this._after.indexOf(r);o!==-1&&this._after.splice(o,1)}}}}function qm(){return new Jm}function e0(n){return Array.isArray(n)?n:[n]}const t0=["title","titleTemplate","script","style","noscript"],ro=["base","meta","link","style","script","noscript"],n0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],r0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Wc=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],o0=typeof window<"u";function ts(n){let r=9;for(let o=0;o<n.length;)r=Math.imul(r^n.charCodeAt(o++),9**9);return((r^r>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function zu(n){return n._h||ts(n._d?n._d:`${n.tag}:${n.textContent||n.innerHTML||""}:${Object.entries(n.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`)}function Gc(n,r){const{props:o,tag:i}=n;if(r0.includes(i))return i;if(i==="link"&&o.rel==="canonical")return"canonical";if(o.charset)return"charset";const a=["id"];i==="meta"&&a.push("name","property","http-equiv");for(const c of a)if(typeof o[c]<"u"){const f=String(o[c]);return`${i}:${c}:${f}`}return!1}function Yu(n,r){return n==null?r||null:typeof n=="function"?n(r):n}async function i0(n,r,o){const i={tag:n,props:await Uc(typeof r=="object"&&typeof r!="function"&&!(r instanceof Promise)?{...r}:{[["script","noscript","style"].includes(n)?"innerHTML":"textContent"]:r},["templateParams","titleTemplate"].includes(n))};return Wc.forEach(a=>{const c=typeof i.props[a]<"u"?i.props[a]:o[a];typeof c<"u"&&((!["innerHTML","textContent","children"].includes(a)||t0.includes(i.tag))&&(i[a==="children"?"innerHTML":a]=c),delete i.props[a])}),i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(a=>({...i,props:{...i.props,content:a}})):i}function s0(n,r){var i;const o=n==="class"?" ":";";return typeof r=="object"&&!Array.isArray(r)&&(r=Object.entries(r).filter(([,a])=>a).map(([a,c])=>n==="style"?`${a}:${c}`:a)),(i=String(Array.isArray(r)?r.join(o):r))==null?void 0:i.split(o).filter(a=>a.trim()).filter(Boolean).join(o)}async function Uc(n,r){for(const o of Object.keys(n)){if(["class","style"].includes(o)){n[o]=s0(o,n[o]);continue}if(n[o]instanceof Promise&&(n[o]=await n[o]),!r&&!Wc.includes(o)){const i=String(n[o]),a=o.startsWith("data-");i==="true"||i===""?n[o]=a?"true":!0:n[o]||(a&&i==="false"?n[o]="false":delete n[o])}}return n}const a0=10;async function u0(n){const r=[];return Object.entries(n.resolvedInput).filter(([o,i])=>typeof i<"u"&&n0.includes(o)).forEach(([o,i])=>{const a=e0(i);r.push(...a.map(c=>i0(o,c,n)).flat())}),(await Promise.all(r)).flat().filter(Boolean).map((o,i)=>(o._e=n._i,n.mode&&(o._m=n.mode),o._p=(n._i<<a0)+i,o))}const Zu={base:-10,title:10},Xu={critical:-80,high:-10,low:20};function ao(n){let r=100;const o=n.tagPriority;return typeof o=="number"?o:(n.tag==="meta"?(n.props["http-equiv"]==="content-security-policy"&&(r=-30),n.props.charset&&(r=-20),n.props.name==="viewport"&&(r=-15)):n.tag==="link"&&n.props.rel==="preconnect"?r=20:n.tag in Zu&&(r=Zu[n.tag]),typeof o=="string"&&o in Xu?r+Xu[o]:r)}const c0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],_u=["onload","onerror","onabort","onprogress","onloadstart"],Qt="%separator";function oo(n,r,o){if(typeof n!="string"||!n.includes("%"))return n;function i(f){let d;return["s","pageTitle"].includes(f)?d=r.pageTitle:f.includes(".")?d=f.split(".").reduce((h,v)=>h&&h[v]||void 0,r):d=r[f],typeof d<"u"?(d||"").replace(/"/g,'\\"'):!1}let a=n;try{a=decodeURI(n)}catch{}return(a.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(f=>{const d=i(f.slice(1));typeof d=="string"&&(n=n.replace(new RegExp(`\\${f}(\\W|$)`,"g"),(h,v)=>`${d}${v}`).trim())}),n.includes(Qt)&&(n.endsWith(Qt)&&(n=n.slice(0,-Qt.length).trim()),n.startsWith(Qt)&&(n=n.slice(Qt.length).trim()),n=n.replace(new RegExp(`\\${Qt}\\s*\\${Qt}`,"g"),Qt),n=oo(n,{separator:o},o)),n}async function f0(n,r={}){var g;const o=r.document||n.resolvedOptions.document;if(!o||!n.dirty)return;const i={shouldRender:!0,tags:[]};if(await n.hooks.callHook("dom:beforeRender",i),!i.shouldRender)return;const a=(await n.resolveTags()).map(y=>({tag:y,id:ro.includes(y.tag)?zu(y):y.tag,shouldRender:!0}));let c=n._dom;if(!c){c={elMap:{htmlAttrs:o.documentElement,bodyAttrs:o.body}};for(const y of["body","head"]){const S=(g=o[y])==null?void 0:g.children,b=[];for(const R of[...S].filter(E=>ro.includes(E.tagName.toLowerCase()))){const E={tag:R.tagName.toLowerCase(),props:await Uc(R.getAttributeNames().reduce((I,C)=>({...I,[C]:R.getAttribute(C)}),{})),innerHTML:R.innerHTML};let L=1,P=Gc(E);for(;P&&b.find(I=>I._d===P);)P=`${P}:${L++}`;E._d=P||void 0,b.push(E),c.elMap[R.getAttribute("data-hid")||zu(E)]=R}}}c.pendingSideEffects={...c.sideEffects||{}},c.sideEffects={};function f(y,S,b){const R=`${y}:${S}`;c.sideEffects[R]=b,delete c.pendingSideEffects[R]}function d({id:y,$el:S,tag:b}){const R=b.tag.endsWith("Attrs");c.elMap[y]=S,R||(["textContent","innerHTML"].forEach(E=>{b[E]&&b[E]!==S[E]&&(S[E]=b[E])}),f(y,"el",()=>{var E;(E=c.elMap[y])==null||E.remove(),delete c.elMap[y]}));for(const[E,L]of Object.entries(b._eventHandlers||{}))S.getAttribute(`data-${E}`)!==""&&((b.tag==="bodyAttrs"?o.defaultView:S).addEventListener(E.replace("on",""),L.bind(S)),S.setAttribute(`data-${E}`,""));Object.entries(b.props).forEach(([E,L])=>{const P=`attr:${E}`;if(E==="class")for(const I of(L||"").split(" ").filter(Boolean))R&&f(y,`${P}:${I}`,()=>S.classList.remove(I)),!S.classList.contains(I)&&S.classList.add(I);else if(E==="style")for(const I of(L||"").split(";").filter(Boolean)){const[C,...N]=I.split(":").map(U=>U.trim());f(y,`${P}:${I}:${C}`,()=>{S.style.removeProperty(C)}),S.style.setProperty(C,N.join(":"))}else S.getAttribute(E)!==L&&S.setAttribute(E,L===!0?"":String(L)),R&&f(y,P,()=>S.removeAttribute(E))})}const h=[],v={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const y of a){const{tag:S,shouldRender:b,id:R}=y;if(b){if(S.tag==="title"){o.title=S.textContent;continue}y.$el=y.$el||c.elMap[R],y.$el?d(y):ro.includes(S.tag)&&h.push(y)}}for(const y of h){const S=y.tag.tagPosition||"head";y.$el=o.createElement(y.tag.tag),d(y),v[S]=v[S]||o.createDocumentFragment(),v[S].appendChild(y.$el)}for(const y of a)await n.hooks.callHook("dom:renderTag",y,o,f);v.head&&o.head.appendChild(v.head),v.bodyOpen&&o.body.insertBefore(v.bodyOpen,o.body.firstChild),v.bodyClose&&o.body.appendChild(v.bodyClose),Object.values(c.pendingSideEffects).forEach(y=>y()),n._dom=c,n.dirty=!1,await n.hooks.callHook("dom:rendered",{renders:a})}async function l0(n,r={}){const o=r.delayFn||(i=>setTimeout(i,10));return n._domUpdatePromise=n._domUpdatePromise||new Promise(i=>o(async()=>{await f0(n,r),delete n._domUpdatePromise,i()}))}function h0(n){return r=>{var i,a;const o=((a=(i=r.resolvedOptions.document)==null?void 0:i.head.querySelector('script[id="unhead:payload"]'))==null?void 0:a.innerHTML)||!1;return o&&r.push(JSON.parse(o)),{mode:"client",hooks:{"entries:updated":function(c){l0(c,n)}}}}}const d0=["templateParams","htmlAttrs","bodyAttrs"],p0={hooks:{"tag:normalise":function({tag:n}){["hid","vmid","key"].forEach(i=>{n.props[i]&&(n.key=n.props[i],delete n.props[i])});const o=Gc(n)||(n.key?`${n.tag}:${n.key}`:!1);o&&(n._d=o)},"tags:resolve":function(n){const r={};n.tags.forEach(i=>{const a=(i.key?`${i.tag}:${i.key}`:i._d)||i._p,c=r[a];if(c){let d=i==null?void 0:i.tagDuplicateStrategy;if(!d&&d0.includes(i.tag)&&(d="merge"),d==="merge"){const h=c.props;["class","style"].forEach(v=>{h[v]&&(i.props[v]?(v==="style"&&!h[v].endsWith(";")&&(h[v]+=";"),i.props[v]=`${h[v]} ${i.props[v]}`):i.props[v]=h[v])}),r[a].props={...h,...i.props};return}else if(i._e===c._e){c._duped=c._duped||[],i._d=`${c._d}:${c._duped.length+1}`,c._duped.push(i);return}else if(ao(i)>ao(c))return}const f=Object.keys(i.props).length+(i.innerHTML?1:0)+(i.textContent?1:0);if(ro.includes(i.tag)&&f===0){delete r[a];return}r[a]=i});const o=[];Object.values(r).forEach(i=>{const a=i._duped;delete i._duped,o.push(i),a&&o.push(...a)}),n.tags=o,n.tags=n.tags.filter(i=>!(i.tag==="meta"&&(i.props.name||i.props.property)&&!i.props.content))}}},g0={mode:"server",hooks:{"tags:resolve":function(n){const r={};n.tags.filter(o=>["titleTemplate","templateParams","title"].includes(o.tag)&&o._m==="server").forEach(o=>{r[o.tag]=o.tag.startsWith("title")?o.textContent:o.props}),Object.keys(r).length&&n.tags.push({tag:"script",innerHTML:JSON.stringify(r),props:{id:"unhead:payload",type:"application/json"}})}}},v0=["script","link","bodyAttrs"],m0=n=>({hooks:{"tags:resolve":function(r){for(const o of r.tags.filter(i=>v0.includes(i.tag)))Object.entries(o.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"&&(n.ssr&&_u.includes(i)?o.props[i]=`this.dataset.${i}fired = true`:delete o.props[i],o._eventHandlers=o._eventHandlers||{},o._eventHandlers[i]=a)}),n.ssr&&o._eventHandlers&&(o.props.src||o.props.href)&&(o.key=o.key||ts(o.props.src||o.props.href))},"dom:renderTag":function({$el:r,tag:o}){var i,a;for(const c of Object.keys((r==null?void 0:r.dataset)||{}).filter(f=>_u.some(d=>`${d}fired`===f))){const f=c.replace("fired","");(a=(i=o._eventHandlers)==null?void 0:i[f])==null||a.call(r,new Event(f.replace("on","")))}}}}),y0=["link","style","script","noscript"],S0={hooks:{"tag:normalise":({tag:n})=>{n.key&&y0.includes(n.tag)&&(n.props["data-hid"]=n._h=ts(n.key))}}},x0={hooks:{"tags:resolve":n=>{const r=o=>{var i;return(i=n.tags.find(a=>a._d===o))==null?void 0:i._p};for(const{prefix:o,offset:i}of c0)for(const a of n.tags.filter(c=>typeof c.tagPriority=="string"&&c.tagPriority.startsWith(o))){const c=r(a.tagPriority.replace(o,""));typeof c<"u"&&(a._p=c+i)}n.tags.sort((o,i)=>o._p-i._p).sort((o,i)=>ao(o)-ao(i))}}},b0={meta:"content",link:"href",htmlAttrs:"lang"},E0=n=>({hooks:{"tags:resolve":r=>{var d;const{tags:o}=r,i=(d=o.find(h=>h.tag==="title"))==null?void 0:d.textContent,a=o.findIndex(h=>h.tag==="templateParams"),c=a!==-1?o[a].props:{},f=c.separator||"|";delete c.separator,c.pageTitle=oo(c.pageTitle||i||"",c,f);for(const h of o.filter(v=>v.processTemplateParams!==!1)){const v=b0[h.tag];v&&typeof h.props[v]=="string"?h.props[v]=oo(h.props[v],c,f):(h.processTemplateParams===!0||["titleTemplate","title"].includes(h.tag))&&["innerHTML","textContent"].forEach(g=>{typeof h[g]=="string"&&(h[g]=oo(h[g],c,f))})}n._templateParams=c,n._separator=f,r.tags=o.filter(h=>h.tag!=="templateParams")}}}),T0={hooks:{"tags:resolve":n=>{const{tags:r}=n;let o=r.findIndex(a=>a.tag==="titleTemplate");const i=r.findIndex(a=>a.tag==="title");if(i!==-1&&o!==-1){const a=Yu(r[o].textContent,r[i].textContent);a!==null?r[i].textContent=a||r[i].textContent:delete r[i]}else if(o!==-1){const a=Yu(r[o].textContent);a!==null&&(r[o].textContent=a,r[o].tag="title",o=-1)}o!==-1&&delete r[o],n.tags=r.filter(Boolean)}}},L0={hooks:{"tags:afterResolve":function(n){for(const r of n.tags)typeof r.innerHTML=="string"&&(r.innerHTML&&["application/ld+json","application/json"].includes(r.props.type)?r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"):r.innerHTML=r.innerHTML.replace(new RegExp(`</${r.tag}`,"g"),`<\\/${r.tag}`))}}};let Vc;function R0(n={}){const r=w0(n);return r.use(h0()),Vc=r}function Qu(n,r){return!n||n==="server"&&r||n==="client"&&!r}function w0(n={}){const r=qm();r.addHooks(n.hooks||{}),n.document=n.document||(o0?document:void 0);const o=!n.document,i=()=>{d.dirty=!0,r.callHook("entries:updated",d)};let a=0,c=[];const f=[],d={plugins:f,dirty:!1,resolvedOptions:n,hooks:r,headEntries(){return c},use(h){const v=typeof h=="function"?h(d):h;(!v.key||!f.some(g=>g.key===v.key))&&(f.push(v),Qu(v.mode,o)&&r.addHooks(v.hooks||{}))},push(h,v){v==null||delete v.head;const g={_i:a++,input:h,...v};return Qu(g.mode,o)&&(c.push(g),i()),{dispose(){c=c.filter(y=>y._i!==g._i),r.callHook("entries:updated",d),i()},patch(y){c=c.map(S=>(S._i===g._i&&(S.input=g.input=y),S)),i()}}},async resolveTags(){const h={tags:[],entries:[...c]};await r.callHook("entries:resolve",h);for(const v of h.entries){const g=v.resolvedInput||v.input;if(v.resolvedInput=await(v.transform?v.transform(g):g),v.resolvedInput)for(const y of await u0(v)){const S={tag:y,entry:v,resolvedOptions:d.resolvedOptions};await r.callHook("tag:normalise",S),h.tags.push(S.tag)}}return await r.callHook("tags:beforeResolve",h),await r.callHook("tags:resolve",h),await r.callHook("tags:afterResolve",h),h.tags},ssr:o};return[p0,g0,m0,S0,x0,E0,T0,L0,...(n==null?void 0:n.plugins)||[]].forEach(h=>d.use(h)),d.hooks.callHook("init",d),d}function A0(){return Vc}const Kc=dm.startsWith("3");function I0(n){return typeof n=="function"?n():pn(n)}function uo(n,r=""){if(n instanceof Promise)return n;const o=I0(n);return!n||!o?o:Array.isArray(o)?o.map(i=>uo(i,r)):typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>i==="titleTemplate"||i.startsWith("on")?[i,pn(a)]:[i,uo(a,i)])):o}const P0={hooks:{"entries:resolve":function(n){for(const r of n.entries)r.resolvedInput=uo(r.input)}}},jc="usehead";function O0(n){return{install(o){Kc&&(o.config.globalProperties.$unhead=n,o.config.globalProperties.$head=n,o.provide(jc,n))}}.install}function C0(n={}){n.domDelayFn=n.domDelayFn||(o=>Hn(()=>setTimeout(()=>o(),0)));const r=R0(n);return r.use(P0),r.install=O0(r),r}const Ju=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qu="__unhead_injection_handler__";function M0(){if(qu in Ju)return Ju[qu]();const n=It(jc);return n||A0()}function D0(n,r={}){const o=r.head||M0();if(o)return o.ssr?o.push(n,r):F0(o,n,r)}function F0(n,r,o={}){const i=so(!1),a=so({});pm(()=>{a.value=i.value?{}:uo(r)});const c=n.push(a.value,o);return Qi(a,d=>{c.patch(d)}),Ic()&&(Pc(()=>{c.dispose()}),Oc(()=>{i.value=!0}),Cc(()=>{i.value=!1})),c}const H0={created(){let n=!1;if(Kc){const r=Ic();if(!r)return;const o=r.type;if(!o||!("head"in o))return;n=typeof o.head=="function"?()=>o.head.call(r.proxy):o.head}else{const r=this.$options.head;r&&(n=typeof r=="function"?()=>r.call(this):r)}n&&D0(n)}},B0="drag-scroller-disable",k0=(()=>{const n=new WeakMap;return{mounted(r,o){let i=!1;const{onlyX:a,onlyY:c,disablechild:f}=o.modifiers,d=o.value??{},h=new Event("scrollStart",{bubbles:!0}),v=new Event("scrollMoving",{bubbles:!0}),g=new Event("scrollEnd",{bubbles:!0});d.hideScrollbar===!0&&(r.style.overflow="hidden");const y=E=>{if(f)return E===r;for(;E&&E.parentNode;){if(E&&E!=null&&E.hasAttribute(B0))return!1;if(E===r)return!0;E=E.parentNode}return!1},S=E=>{i=y(E.target),r.dispatchEvent(h),i&&d!=null&&d.startScroll&&typeof(d==null?void 0:d.startScroll)=="function"&&d.startScroll(E)},b=E=>{r.dispatchEvent(g),i&&d!=null&&d.endScroll&&typeof(d==null?void 0:d.endScroll)=="function"&&d.endScroll(E),i=!1},R=E=>{if(!i)return!1;r.dispatchEvent(v),d!=null&&d.onScrolling&&typeof(d==null?void 0:d.onScrolling)=="function"&&d.onScrolling(E),E.stopPropagation&&E.stopPropagation(),E.preventDefault&&E.preventDefault(),E.cancelBubble=!0,E.returnValue=!1;const L=(d==null?void 0:d.speed)||1,P=d.reverseDirection?E.movementX*L:-E.movementX*L,I=d.reverseDirection?E.movementY*L:-E.movementY*L;a?r.scrollLeft+=P:(c||(r.scrollLeft+=P),r.scrollTop+=I)};n.set(r,{dragStart:S,dragEnd:b,drag:R}),r.addEventListener("pointerdown",S),addEventListener("pointerup",b),addEventListener("pointermove",R)},unmounted(r){const{dragStart:o,dragEnd:i,drag:a}=n.get(r);r.removeEventListener("pointerdown",o),removeEventListener("pointerup",i),removeEventListener("pointermove",a)}}})(),N0={install(n){n.directive("drag-scroller",k0)}},zc={bookmarkFilter:[{title:"All",value:"",default:!0},{title:"Unread",value:"UNREAD"},{title:"In Progress",value:"IN_PROGRESS"},{title:"Read",value:"READ"}],breadcrumbs:[{group:"r",pks:"0",page:1}],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"}],searchResultsLimit:100,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:"filename"},{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"}],orderReverse:!1,vuetifyNullCode:-1,groupNames:{p:"Publishers",i:"Imprints",s:"Series",v:"Volumes",c:"Issues",f:"Folders",a:"Story Arcs"},identifierTypes:{comicvine:"Comic Vine",comixology:"Comixology",asin:"Amazon",gtin:"GTIN",isbn:"ISBN",upc:"UPC"},dynamicCovers:!0,customCovers:!0,twentyFourHourTime:!1},$0={finishOnLastPage:!0,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:""}],readRtlInReverse:!1,twoPages:!1},W0={LIBRARY_CHANGED:"LIBRARY_CHANGED",LIBRARIAN_STATUS:"LIBRARIAN_STATUS",FAILED_IMPORTS:"FAILED_IMPORTS"},Ie={browser:zc,reader:$0,websockets:W0},G0="modulepreload",U0=function(n){return window.CODEX.APP_PATH + "static"+"/"+n},ec={},Pt=function(r,o,i){let a=Promise.resolve();if(o&&o.length>0){document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),f=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));a=Promise.all(o.map(d=>{if(d=U0(d),d in ec)return;ec[d]=!0;const h=d.endsWith(".css"),v=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${v}`))return;const g=document.createElement("link");if(g.rel=h?"stylesheet":G0,h||(g.as="script",g.crossOrigin=""),g.href=d,f&&g.setAttribute("nonce",f),document.head.appendChild(g),h)return new Promise((y,S)=>{g.addEventListener("load",y),g.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${d}`)))})}))}return a.then(()=>r()).catch(c=>{const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=c,window.dispatchEvent(f),!f.defaultPrevented)throw c})};/*!
1
+ const __vite__fileDeps=["assets/admin-37fN97_d.js","assets/admin-drawer-panel-CFthvbMb.js","assets/admin-drawer-panel-mne3FIj6.css","assets/settings-drawer-DATmeafe.js","assets/unauthorized-xWMjiI8M.js","assets/change-password-dialog-CdCjAlM3.js","assets/VTextField-DuOs5usq.js","assets/VDialog-xrkpB5lc.js","assets/VDialog-lQ13FnRR.css","assets/VSelectionControl-DocEa9g1.js","assets/VSelectionControl-BFq--28I.css","assets/VTextField-BssVoDhB.css","assets/change-password-dialog-0u6IJA87.css","assets/unauthorized-CibJYD8o.css","assets/copy-to-clipboard-DoUvDJVx.js","assets/settings-drawer-nZ9HvKSZ.css","assets/VWindowItem-C3SaotR1.js","assets/VWindowItem-ByIod57Y.css","assets/VSlideGroup-w7zv3wT_.js","assets/VSlideGroup-Dk_1upHt.css","assets/admin-B8Bp2Uih.css","assets/browser-CA_2XCnV.js","assets/VTable-Bm3ZZq7k.js","assets/VTable-DflzroDq.css","assets/VCheckbox-BK0IPHyB.js","assets/VCheckboxBtn-DbVzgq3g.js","assets/VCheckbox-CMKdyl0R.css","assets/pagination-toolbar-CfSLqHFH.js","assets/VSelect-C768JtGg.js","assets/VSelect-ARDhJiQK.css","assets/to-case-nvRvwQgU.js","assets/pagination-toolbar-BLUoVz2y.css","assets/confirm-dialog-C-TnajF6.js","assets/confirm-dialog-BmhedLCx.css","assets/VCombobox-DRNxfPeq.js","assets/filter-Tm2kUX1m.js","assets/VCombobox-BksEr4D_.css","assets/browser-BlycPHgZ.css","assets/http-error-MPj9N9no.js","assets/http-error-DKulXuTl.css","assets/reader-CFLp5Avy.js","assets/VExpansionPanels-dtwXHEmN.js","assets/VExpansionPanels-DsEXVcCv.css","assets/VRadioGroup-DUhU0d2J.js","assets/VRadioGroup-i2qP9Wu9.css","assets/reader-CqXFa_gE.css","assets/flag-tab-CEyOjZFp.js","assets/flag-tab-BNwbLfrN.css","assets/user-tab-BhdZJ6QU.js","assets/relation-chips-CFQRvVd2.js","assets/relation-chips-Bsc-gUxE.css","assets/datetime-column-DwrIUx_h.js","assets/datetime-column-DeCthByU.css","assets/group-tab-CBqhy8zy.js","assets/group-tab-CBKuS3Iv.css","assets/library-tab-5azEcqzs.js","assets/library-tab-BN0SfPcH.css","assets/task-tab-DVu0qD_G.js","assets/task-tab-1XiWn9xP.css","assets/stats-tab-BaWY3sVM.js","assets/stats-tab-B4yKuY0c.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
+ import{n as Hn,v as dm,i as It,u as pn,r as so,w as pm,a as Qi,g as Ic,o as Pc,b as Oc,c as Cc,s as Mc,d as gm,e as Dc,f as en,h as De,j as Fc,p as sr,k as tn,H as Wt,l as Ji,m as Ui,C as ar,q as vm,t as qi,x as Hc,y as mm,z as ym,A as Sm,B as Vi,D as xm,E as es,F as Bc,G as kc,I as bm,J as Nu,K as no,L as Em,M as Tm,N as Lm,O as Rm,P as wm,Q as Nc,R as Am,S as or,T as Im,U as Pm,V as $u,W as Om,_ as Cm,X as Mm,Y as Dm,Z as Fm,$ as Hm,a0 as Bm,a1 as Wu,a2 as Mn,a3 as km,a4 as Nm,a5 as $m,a6 as Wm,a7 as Gm,a8 as Um,a9 as Vm,aa as Km,ab as Gu,ac as Uu,ad as Vu,ae as Ku,af as ju,ag as jm,ah as zm,ai as Ym}from"./admin-drawer-panel-CFthvbMb.js";function Ki(n,r={},o){for(const i in n){const a=n[i],c=o?`${o}:${i}`:i;typeof a=="object"&&a!==null?Ki(a,r,c):typeof a=="function"&&(r[c]=a)}return r}const Zm={run:n=>n()},Xm=()=>Zm,$c=typeof console.createTask<"u"?console.createTask:Xm;function _m(n,r){const o=r.shift(),i=$c(o);return n.reduce((a,c)=>a.then(()=>i.run(()=>c(...r))),Promise.resolve())}function Qm(n,r){const o=r.shift(),i=$c(o);return Promise.all(n.map(a=>i.run(()=>a(...r))))}function Hi(n,r){for(const o of[...n])o(r)}class Jm{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(r,o,i={}){if(!r||typeof o!="function")return()=>{};const a=r;let c;for(;this._deprecatedHooks[r];)c=this._deprecatedHooks[r],r=c.to;if(c&&!i.allowDeprecated){let f=c.message;f||(f=`${a} hook has been deprecated`+(c.to?`, please use ${c.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(f)||(console.warn(f),this._deprecatedMessages.add(f))}if(!o.name)try{Object.defineProperty(o,"name",{get:()=>"_"+r.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[r]=this._hooks[r]||[],this._hooks[r].push(o),()=>{o&&(this.removeHook(r,o),o=void 0)}}hookOnce(r,o){let i,a=(...c)=>(typeof i=="function"&&i(),i=void 0,a=void 0,o(...c));return i=this.hook(r,a),i}removeHook(r,o){if(this._hooks[r]){const i=this._hooks[r].indexOf(o);i!==-1&&this._hooks[r].splice(i,1),this._hooks[r].length===0&&delete this._hooks[r]}}deprecateHook(r,o){this._deprecatedHooks[r]=typeof o=="string"?{to:o}:o;const i=this._hooks[r]||[];delete this._hooks[r];for(const a of i)this.hook(r,a)}deprecateHooks(r){Object.assign(this._deprecatedHooks,r);for(const o in r)this.deprecateHook(o,r[o])}addHooks(r){const o=Ki(r),i=Object.keys(o).map(a=>this.hook(a,o[a]));return()=>{for(const a of i.splice(0,i.length))a()}}removeHooks(r){const o=Ki(r);for(const i in o)this.removeHook(i,o[i])}removeAllHooks(){for(const r in this._hooks)delete this._hooks[r]}callHook(r,...o){return o.unshift(r),this.callHookWith(_m,r,...o)}callHookParallel(r,...o){return o.unshift(r),this.callHookWith(Qm,r,...o)}callHookWith(r,o,...i){const a=this._before||this._after?{name:o,args:i,context:{}}:void 0;this._before&&Hi(this._before,a);const c=r(o in this._hooks?[...this._hooks[o]]:[],i);return c instanceof Promise?c.finally(()=>{this._after&&a&&Hi(this._after,a)}):(this._after&&a&&Hi(this._after,a),c)}beforeEach(r){return this._before=this._before||[],this._before.push(r),()=>{if(this._before!==void 0){const o=this._before.indexOf(r);o!==-1&&this._before.splice(o,1)}}}afterEach(r){return this._after=this._after||[],this._after.push(r),()=>{if(this._after!==void 0){const o=this._after.indexOf(r);o!==-1&&this._after.splice(o,1)}}}}function qm(){return new Jm}function e0(n){return Array.isArray(n)?n:[n]}const t0=["title","titleTemplate","script","style","noscript"],ro=["base","meta","link","style","script","noscript"],n0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],r0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Wc=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],o0=typeof window<"u";function ts(n){let r=9;for(let o=0;o<n.length;)r=Math.imul(r^n.charCodeAt(o++),9**9);return((r^r>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function zu(n){return n._h||ts(n._d?n._d:`${n.tag}:${n.textContent||n.innerHTML||""}:${Object.entries(n.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`)}function Gc(n,r){const{props:o,tag:i}=n;if(r0.includes(i))return i;if(i==="link"&&o.rel==="canonical")return"canonical";if(o.charset)return"charset";const a=["id"];i==="meta"&&a.push("name","property","http-equiv");for(const c of a)if(typeof o[c]<"u"){const f=String(o[c]);return`${i}:${c}:${f}`}return!1}function Yu(n,r){return n==null?r||null:typeof n=="function"?n(r):n}async function i0(n,r,o){const i={tag:n,props:await Uc(typeof r=="object"&&typeof r!="function"&&!(r instanceof Promise)?{...r}:{[["script","noscript","style"].includes(n)?"innerHTML":"textContent"]:r},["templateParams","titleTemplate"].includes(n))};return Wc.forEach(a=>{const c=typeof i.props[a]<"u"?i.props[a]:o[a];typeof c<"u"&&((!["innerHTML","textContent","children"].includes(a)||t0.includes(i.tag))&&(i[a==="children"?"innerHTML":a]=c),delete i.props[a])}),i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(a=>({...i,props:{...i.props,content:a}})):i}function s0(n,r){var i;const o=n==="class"?" ":";";return typeof r=="object"&&!Array.isArray(r)&&(r=Object.entries(r).filter(([,a])=>a).map(([a,c])=>n==="style"?`${a}:${c}`:a)),(i=String(Array.isArray(r)?r.join(o):r))==null?void 0:i.split(o).filter(a=>a.trim()).filter(Boolean).join(o)}async function Uc(n,r){for(const o of Object.keys(n)){if(["class","style"].includes(o)){n[o]=s0(o,n[o]);continue}if(n[o]instanceof Promise&&(n[o]=await n[o]),!r&&!Wc.includes(o)){const i=String(n[o]),a=o.startsWith("data-");i==="true"||i===""?n[o]=a?"true":!0:n[o]||(a&&i==="false"?n[o]="false":delete n[o])}}return n}const a0=10;async function u0(n){const r=[];return Object.entries(n.resolvedInput).filter(([o,i])=>typeof i<"u"&&n0.includes(o)).forEach(([o,i])=>{const a=e0(i);r.push(...a.map(c=>i0(o,c,n)).flat())}),(await Promise.all(r)).flat().filter(Boolean).map((o,i)=>(o._e=n._i,n.mode&&(o._m=n.mode),o._p=(n._i<<a0)+i,o))}const Zu={base:-10,title:10},Xu={critical:-80,high:-10,low:20};function ao(n){let r=100;const o=n.tagPriority;return typeof o=="number"?o:(n.tag==="meta"?(n.props["http-equiv"]==="content-security-policy"&&(r=-30),n.props.charset&&(r=-20),n.props.name==="viewport"&&(r=-15)):n.tag==="link"&&n.props.rel==="preconnect"?r=20:n.tag in Zu&&(r=Zu[n.tag]),typeof o=="string"&&o in Xu?r+Xu[o]:r)}const c0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],_u=["onload","onerror","onabort","onprogress","onloadstart"],Qt="%separator";function oo(n,r,o){if(typeof n!="string"||!n.includes("%"))return n;function i(f){let d;return["s","pageTitle"].includes(f)?d=r.pageTitle:f.includes(".")?d=f.split(".").reduce((h,v)=>h&&h[v]||void 0,r):d=r[f],typeof d<"u"?(d||"").replace(/"/g,'\\"'):!1}let a=n;try{a=decodeURI(n)}catch{}return(a.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(f=>{const d=i(f.slice(1));typeof d=="string"&&(n=n.replace(new RegExp(`\\${f}(\\W|$)`,"g"),(h,v)=>`${d}${v}`).trim())}),n.includes(Qt)&&(n.endsWith(Qt)&&(n=n.slice(0,-Qt.length).trim()),n.startsWith(Qt)&&(n=n.slice(Qt.length).trim()),n=n.replace(new RegExp(`\\${Qt}\\s*\\${Qt}`,"g"),Qt),n=oo(n,{separator:o},o)),n}async function f0(n,r={}){var g;const o=r.document||n.resolvedOptions.document;if(!o||!n.dirty)return;const i={shouldRender:!0,tags:[]};if(await n.hooks.callHook("dom:beforeRender",i),!i.shouldRender)return;const a=(await n.resolveTags()).map(y=>({tag:y,id:ro.includes(y.tag)?zu(y):y.tag,shouldRender:!0}));let c=n._dom;if(!c){c={elMap:{htmlAttrs:o.documentElement,bodyAttrs:o.body}};for(const y of["body","head"]){const S=(g=o[y])==null?void 0:g.children,b=[];for(const R of[...S].filter(E=>ro.includes(E.tagName.toLowerCase()))){const E={tag:R.tagName.toLowerCase(),props:await Uc(R.getAttributeNames().reduce((I,C)=>({...I,[C]:R.getAttribute(C)}),{})),innerHTML:R.innerHTML};let L=1,P=Gc(E);for(;P&&b.find(I=>I._d===P);)P=`${P}:${L++}`;E._d=P||void 0,b.push(E),c.elMap[R.getAttribute("data-hid")||zu(E)]=R}}}c.pendingSideEffects={...c.sideEffects||{}},c.sideEffects={};function f(y,S,b){const R=`${y}:${S}`;c.sideEffects[R]=b,delete c.pendingSideEffects[R]}function d({id:y,$el:S,tag:b}){const R=b.tag.endsWith("Attrs");c.elMap[y]=S,R||(["textContent","innerHTML"].forEach(E=>{b[E]&&b[E]!==S[E]&&(S[E]=b[E])}),f(y,"el",()=>{var E;(E=c.elMap[y])==null||E.remove(),delete c.elMap[y]}));for(const[E,L]of Object.entries(b._eventHandlers||{}))S.getAttribute(`data-${E}`)!==""&&((b.tag==="bodyAttrs"?o.defaultView:S).addEventListener(E.replace("on",""),L.bind(S)),S.setAttribute(`data-${E}`,""));Object.entries(b.props).forEach(([E,L])=>{const P=`attr:${E}`;if(E==="class")for(const I of(L||"").split(" ").filter(Boolean))R&&f(y,`${P}:${I}`,()=>S.classList.remove(I)),!S.classList.contains(I)&&S.classList.add(I);else if(E==="style")for(const I of(L||"").split(";").filter(Boolean)){const[C,...N]=I.split(":").map(U=>U.trim());f(y,`${P}:${I}:${C}`,()=>{S.style.removeProperty(C)}),S.style.setProperty(C,N.join(":"))}else S.getAttribute(E)!==L&&S.setAttribute(E,L===!0?"":String(L)),R&&f(y,P,()=>S.removeAttribute(E))})}const h=[],v={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const y of a){const{tag:S,shouldRender:b,id:R}=y;if(b){if(S.tag==="title"){o.title=S.textContent;continue}y.$el=y.$el||c.elMap[R],y.$el?d(y):ro.includes(S.tag)&&h.push(y)}}for(const y of h){const S=y.tag.tagPosition||"head";y.$el=o.createElement(y.tag.tag),d(y),v[S]=v[S]||o.createDocumentFragment(),v[S].appendChild(y.$el)}for(const y of a)await n.hooks.callHook("dom:renderTag",y,o,f);v.head&&o.head.appendChild(v.head),v.bodyOpen&&o.body.insertBefore(v.bodyOpen,o.body.firstChild),v.bodyClose&&o.body.appendChild(v.bodyClose),Object.values(c.pendingSideEffects).forEach(y=>y()),n._dom=c,n.dirty=!1,await n.hooks.callHook("dom:rendered",{renders:a})}async function l0(n,r={}){const o=r.delayFn||(i=>setTimeout(i,10));return n._domUpdatePromise=n._domUpdatePromise||new Promise(i=>o(async()=>{await f0(n,r),delete n._domUpdatePromise,i()}))}function h0(n){return r=>{var i,a;const o=((a=(i=r.resolvedOptions.document)==null?void 0:i.head.querySelector('script[id="unhead:payload"]'))==null?void 0:a.innerHTML)||!1;return o&&r.push(JSON.parse(o)),{mode:"client",hooks:{"entries:updated":function(c){l0(c,n)}}}}}const d0=["templateParams","htmlAttrs","bodyAttrs"],p0={hooks:{"tag:normalise":function({tag:n}){["hid","vmid","key"].forEach(i=>{n.props[i]&&(n.key=n.props[i],delete n.props[i])});const o=Gc(n)||(n.key?`${n.tag}:${n.key}`:!1);o&&(n._d=o)},"tags:resolve":function(n){const r={};n.tags.forEach(i=>{const a=(i.key?`${i.tag}:${i.key}`:i._d)||i._p,c=r[a];if(c){let d=i==null?void 0:i.tagDuplicateStrategy;if(!d&&d0.includes(i.tag)&&(d="merge"),d==="merge"){const h=c.props;["class","style"].forEach(v=>{h[v]&&(i.props[v]?(v==="style"&&!h[v].endsWith(";")&&(h[v]+=";"),i.props[v]=`${h[v]} ${i.props[v]}`):i.props[v]=h[v])}),r[a].props={...h,...i.props};return}else if(i._e===c._e){c._duped=c._duped||[],i._d=`${c._d}:${c._duped.length+1}`,c._duped.push(i);return}else if(ao(i)>ao(c))return}const f=Object.keys(i.props).length+(i.innerHTML?1:0)+(i.textContent?1:0);if(ro.includes(i.tag)&&f===0){delete r[a];return}r[a]=i});const o=[];Object.values(r).forEach(i=>{const a=i._duped;delete i._duped,o.push(i),a&&o.push(...a)}),n.tags=o,n.tags=n.tags.filter(i=>!(i.tag==="meta"&&(i.props.name||i.props.property)&&!i.props.content))}}},g0={mode:"server",hooks:{"tags:resolve":function(n){const r={};n.tags.filter(o=>["titleTemplate","templateParams","title"].includes(o.tag)&&o._m==="server").forEach(o=>{r[o.tag]=o.tag.startsWith("title")?o.textContent:o.props}),Object.keys(r).length&&n.tags.push({tag:"script",innerHTML:JSON.stringify(r),props:{id:"unhead:payload",type:"application/json"}})}}},v0=["script","link","bodyAttrs"],m0=n=>({hooks:{"tags:resolve":function(r){for(const o of r.tags.filter(i=>v0.includes(i.tag)))Object.entries(o.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"&&(n.ssr&&_u.includes(i)?o.props[i]=`this.dataset.${i}fired = true`:delete o.props[i],o._eventHandlers=o._eventHandlers||{},o._eventHandlers[i]=a)}),n.ssr&&o._eventHandlers&&(o.props.src||o.props.href)&&(o.key=o.key||ts(o.props.src||o.props.href))},"dom:renderTag":function({$el:r,tag:o}){var i,a;for(const c of Object.keys((r==null?void 0:r.dataset)||{}).filter(f=>_u.some(d=>`${d}fired`===f))){const f=c.replace("fired","");(a=(i=o._eventHandlers)==null?void 0:i[f])==null||a.call(r,new Event(f.replace("on","")))}}}}),y0=["link","style","script","noscript"],S0={hooks:{"tag:normalise":({tag:n})=>{n.key&&y0.includes(n.tag)&&(n.props["data-hid"]=n._h=ts(n.key))}}},x0={hooks:{"tags:resolve":n=>{const r=o=>{var i;return(i=n.tags.find(a=>a._d===o))==null?void 0:i._p};for(const{prefix:o,offset:i}of c0)for(const a of n.tags.filter(c=>typeof c.tagPriority=="string"&&c.tagPriority.startsWith(o))){const c=r(a.tagPriority.replace(o,""));typeof c<"u"&&(a._p=c+i)}n.tags.sort((o,i)=>o._p-i._p).sort((o,i)=>ao(o)-ao(i))}}},b0={meta:"content",link:"href",htmlAttrs:"lang"},E0=n=>({hooks:{"tags:resolve":r=>{var d;const{tags:o}=r,i=(d=o.find(h=>h.tag==="title"))==null?void 0:d.textContent,a=o.findIndex(h=>h.tag==="templateParams"),c=a!==-1?o[a].props:{},f=c.separator||"|";delete c.separator,c.pageTitle=oo(c.pageTitle||i||"",c,f);for(const h of o.filter(v=>v.processTemplateParams!==!1)){const v=b0[h.tag];v&&typeof h.props[v]=="string"?h.props[v]=oo(h.props[v],c,f):(h.processTemplateParams===!0||["titleTemplate","title"].includes(h.tag))&&["innerHTML","textContent"].forEach(g=>{typeof h[g]=="string"&&(h[g]=oo(h[g],c,f))})}n._templateParams=c,n._separator=f,r.tags=o.filter(h=>h.tag!=="templateParams")}}}),T0={hooks:{"tags:resolve":n=>{const{tags:r}=n;let o=r.findIndex(a=>a.tag==="titleTemplate");const i=r.findIndex(a=>a.tag==="title");if(i!==-1&&o!==-1){const a=Yu(r[o].textContent,r[i].textContent);a!==null?r[i].textContent=a||r[i].textContent:delete r[i]}else if(o!==-1){const a=Yu(r[o].textContent);a!==null&&(r[o].textContent=a,r[o].tag="title",o=-1)}o!==-1&&delete r[o],n.tags=r.filter(Boolean)}}},L0={hooks:{"tags:afterResolve":function(n){for(const r of n.tags)typeof r.innerHTML=="string"&&(r.innerHTML&&["application/ld+json","application/json"].includes(r.props.type)?r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"):r.innerHTML=r.innerHTML.replace(new RegExp(`</${r.tag}`,"g"),`<\\/${r.tag}`))}}};let Vc;function R0(n={}){const r=w0(n);return r.use(h0()),Vc=r}function Qu(n,r){return!n||n==="server"&&r||n==="client"&&!r}function w0(n={}){const r=qm();r.addHooks(n.hooks||{}),n.document=n.document||(o0?document:void 0);const o=!n.document,i=()=>{d.dirty=!0,r.callHook("entries:updated",d)};let a=0,c=[];const f=[],d={plugins:f,dirty:!1,resolvedOptions:n,hooks:r,headEntries(){return c},use(h){const v=typeof h=="function"?h(d):h;(!v.key||!f.some(g=>g.key===v.key))&&(f.push(v),Qu(v.mode,o)&&r.addHooks(v.hooks||{}))},push(h,v){v==null||delete v.head;const g={_i:a++,input:h,...v};return Qu(g.mode,o)&&(c.push(g),i()),{dispose(){c=c.filter(y=>y._i!==g._i),r.callHook("entries:updated",d),i()},patch(y){c=c.map(S=>(S._i===g._i&&(S.input=g.input=y),S)),i()}}},async resolveTags(){const h={tags:[],entries:[...c]};await r.callHook("entries:resolve",h);for(const v of h.entries){const g=v.resolvedInput||v.input;if(v.resolvedInput=await(v.transform?v.transform(g):g),v.resolvedInput)for(const y of await u0(v)){const S={tag:y,entry:v,resolvedOptions:d.resolvedOptions};await r.callHook("tag:normalise",S),h.tags.push(S.tag)}}return await r.callHook("tags:beforeResolve",h),await r.callHook("tags:resolve",h),await r.callHook("tags:afterResolve",h),h.tags},ssr:o};return[p0,g0,m0,S0,x0,E0,T0,L0,...(n==null?void 0:n.plugins)||[]].forEach(h=>d.use(h)),d.hooks.callHook("init",d),d}function A0(){return Vc}const Kc=dm.startsWith("3");function I0(n){return typeof n=="function"?n():pn(n)}function uo(n,r=""){if(n instanceof Promise)return n;const o=I0(n);return!n||!o?o:Array.isArray(o)?o.map(i=>uo(i,r)):typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>i==="titleTemplate"||i.startsWith("on")?[i,pn(a)]:[i,uo(a,i)])):o}const P0={hooks:{"entries:resolve":function(n){for(const r of n.entries)r.resolvedInput=uo(r.input)}}},jc="usehead";function O0(n){return{install(o){Kc&&(o.config.globalProperties.$unhead=n,o.config.globalProperties.$head=n,o.provide(jc,n))}}.install}function C0(n={}){n.domDelayFn=n.domDelayFn||(o=>Hn(()=>setTimeout(()=>o(),0)));const r=R0(n);return r.use(P0),r.install=O0(r),r}const Ju=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qu="__unhead_injection_handler__";function M0(){if(qu in Ju)return Ju[qu]();const n=It(jc);return n||A0()}function D0(n,r={}){const o=r.head||M0();if(o)return o.ssr?o.push(n,r):F0(o,n,r)}function F0(n,r,o={}){const i=so(!1),a=so({});pm(()=>{a.value=i.value?{}:uo(r)});const c=n.push(a.value,o);return Qi(a,d=>{c.patch(d)}),Ic()&&(Pc(()=>{c.dispose()}),Oc(()=>{i.value=!0}),Cc(()=>{i.value=!1})),c}const H0={created(){let n=!1;if(Kc){const r=Ic();if(!r)return;const o=r.type;if(!o||!("head"in o))return;n=typeof o.head=="function"?()=>o.head.call(r.proxy):o.head}else{const r=this.$options.head;r&&(n=typeof r=="function"?()=>r.call(this):r)}n&&D0(n)}},B0="drag-scroller-disable",k0=(()=>{const n=new WeakMap;return{mounted(r,o){let i=!1;const{onlyX:a,onlyY:c,disablechild:f}=o.modifiers,d=o.value??{},h=new Event("scrollStart",{bubbles:!0}),v=new Event("scrollMoving",{bubbles:!0}),g=new Event("scrollEnd",{bubbles:!0});d.hideScrollbar===!0&&(r.style.overflow="hidden");const y=E=>{if(f)return E===r;for(;E&&E.parentNode;){if(E&&E!=null&&E.hasAttribute(B0))return!1;if(E===r)return!0;E=E.parentNode}return!1},S=E=>{i=y(E.target),r.dispatchEvent(h),i&&d!=null&&d.startScroll&&typeof(d==null?void 0:d.startScroll)=="function"&&d.startScroll(E)},b=E=>{r.dispatchEvent(g),i&&d!=null&&d.endScroll&&typeof(d==null?void 0:d.endScroll)=="function"&&d.endScroll(E),i=!1},R=E=>{if(!i)return!1;r.dispatchEvent(v),d!=null&&d.onScrolling&&typeof(d==null?void 0:d.onScrolling)=="function"&&d.onScrolling(E),E.stopPropagation&&E.stopPropagation(),E.preventDefault&&E.preventDefault(),E.cancelBubble=!0,E.returnValue=!1;const L=(d==null?void 0:d.speed)||1,P=d.reverseDirection?E.movementX*L:-E.movementX*L,I=d.reverseDirection?E.movementY*L:-E.movementY*L;a?r.scrollLeft+=P:(c||(r.scrollLeft+=P),r.scrollTop+=I)};n.set(r,{dragStart:S,dragEnd:b,drag:R}),r.addEventListener("pointerdown",S),addEventListener("pointerup",b),addEventListener("pointermove",R)},unmounted(r){const{dragStart:o,dragEnd:i,drag:a}=n.get(r);r.removeEventListener("pointerdown",o),removeEventListener("pointerup",i),removeEventListener("pointermove",a)}}})(),N0={install(n){n.directive("drag-scroller",k0)}},zc={bookmarkFilter:[{title:"All",value:"",default:!0},{title:"Unread",value:"UNREAD"},{title:"In Progress",value:"IN_PROGRESS"},{title:"Read",value:"READ"}],breadcrumbs:[{group:"r",pks:"0",page:1}],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"}],searchResultsLimit:100,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:"filename"},{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"}],orderReverse:!1,vuetifyNullCode:-1,groupNames:{p:"Publishers",i:"Imprints",s:"Series",v:"Volumes",c:"Issues",f:"Folders",a:"Story Arcs"},identifierTypes:{comicvine:"Comic Vine",comixology:"Comixology",asin:"Amazon",gtin:"GTIN",isbn:"ISBN",upc:"UPC"},dynamicCovers:!0,customCovers:!0,twentyFourHourTime:!1},$0={finishOnLastPage:!0,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:""}],readRtlInReverse:!1,twoPages:!1},W0={LIBRARY_CHANGED:"LIBRARY_CHANGED",LIBRARIAN_STATUS:"LIBRARIAN_STATUS",FAILED_IMPORTS:"FAILED_IMPORTS"},Ie={browser:zc,reader:$0,websockets:W0},G0="modulepreload",U0=function(n){return window.CODEX.APP_PATH + "static"+"/"+n},ec={},Pt=function(r,o,i){let a=Promise.resolve();if(o&&o.length>0){document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),f=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));a=Promise.all(o.map(d=>{if(d=U0(d),d in ec)return;ec[d]=!0;const h=d.endsWith(".css"),v=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${v}`))return;const g=document.createElement("link");if(g.rel=h?"stylesheet":G0,h||(g.as="script",g.crossOrigin=""),g.href=d,f&&g.setAttribute("nonce",f),document.head.appendChild(g),h)return new Promise((y,S)=>{g.addEventListener("load",y),g.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${d}`)))})}))}return a.then(()=>r()).catch(c=>{const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=c,window.dispatchEvent(f),!f.defaultPrevented)throw c})};/*!
3
3
  * vue-router v4.3.3
4
4
  * (c) 2024 Eduardo San Martin Morote
5
5
  * @license MIT
6
- */const Cn=typeof document<"u";function V0(n){return n.__esModule||n[Symbol.toStringTag]==="Module"}const xe=Object.assign;function Bi(n,r){const o={};for(const i in r){const a=r[i];o[i]=Tt(a)?a.map(n):n(a)}return o}const ur=()=>{},Tt=Array.isArray,Yc=/#/g,K0=/&/g,j0=/\//g,z0=/=/g,Y0=/\?/g,Zc=/\+/g,Z0=/%5B/g,X0=/%5D/g,Xc=/%5E/g,_0=/%60/g,_c=/%7B/g,Q0=/%7C/g,Qc=/%7D/g,J0=/%20/g;function ns(n){return encodeURI(""+n).replace(Q0,"|").replace(Z0,"[").replace(X0,"]")}function q0(n){return ns(n).replace(_c,"{").replace(Qc,"}").replace(Xc,"^")}function ji(n){return ns(n).replace(Zc,"%2B").replace(J0,"+").replace(Yc,"%23").replace(K0,"%26").replace(_0,"`").replace(_c,"{").replace(Qc,"}").replace(Xc,"^")}function ey(n){return ji(n).replace(z0,"%3D")}function ty(n){return ns(n).replace(Yc,"%23").replace(Y0,"%3F")}function ny(n){return n==null?"":ty(n).replace(j0,"%2F")}function fr(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const ry=/\/$/,oy=n=>n.replace(ry,"");function ki(n,r,o="/"){let i,a={},c="",f="";const d=r.indexOf("#");let h=r.indexOf("?");return d<h&&d>=0&&(h=-1),h>-1&&(i=r.slice(0,h),c=r.slice(h+1,d>-1?d:r.length),a=n(c)),d>-1&&(i=i||r.slice(0,d),f=r.slice(d,r.length)),i=uy(i??r,o),{fullPath:i+(c&&"?")+c+f,path:i,query:a,hash:fr(f)}}function iy(n,r){const o=r.query?n(r.query):"";return r.path+(o&&"?")+o+(r.hash||"")}function tc(n,r){return!r||!n.toLowerCase().startsWith(r.toLowerCase())?n:n.slice(r.length)||"/"}function sy(n,r,o){const i=r.matched.length-1,a=o.matched.length-1;return i>-1&&i===a&&Dn(r.matched[i],o.matched[a])&&Jc(r.params,o.params)&&n(r.query)===n(o.query)&&r.hash===o.hash}function Dn(n,r){return(n.aliasOf||n)===(r.aliasOf||r)}function Jc(n,r){if(Object.keys(n).length!==Object.keys(r).length)return!1;for(const o in n)if(!ay(n[o],r[o]))return!1;return!0}function ay(n,r){return Tt(n)?nc(n,r):Tt(r)?nc(r,n):n===r}function nc(n,r){return Tt(r)?n.length===r.length&&n.every((o,i)=>o===r[i]):n.length===1&&n[0]===r}function uy(n,r){if(n.startsWith("/"))return n;if(!n)return r;const o=r.split("/"),i=n.split("/"),a=i[i.length-1];(a===".."||a===".")&&i.push("");let c=o.length-1,f,d;for(f=0;f<i.length;f++)if(d=i[f],d!==".")if(d==="..")c>1&&c--;else break;return o.slice(0,c).join("/")+"/"+i.slice(f).join("/")}var lr;(function(n){n.pop="pop",n.push="push"})(lr||(lr={}));var cr;(function(n){n.back="back",n.forward="forward",n.unknown=""})(cr||(cr={}));function cy(n){if(!n)if(Cn){const r=document.querySelector("base");n=r&&r.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),oy(n)}const fy=/^[^#]+#/;function ly(n,r){return n.replace(fy,"#")+r}function hy(n,r){const o=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:r.behavior,left:i.left-o.left-(r.left||0),top:i.top-o.top-(r.top||0)}}const ho=()=>({left:window.scrollX,top:window.scrollY});function dy(n){let r;if("el"in n){const o=n.el,i=typeof o=="string"&&o.startsWith("#"),a=typeof o=="string"?i?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!a)return;r=hy(a,n)}else r=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.scrollX,r.top!=null?r.top:window.scrollY)}function rc(n,r){return(history.state?history.state.position-r:-1)+n}const zi=new Map;function py(n,r){zi.set(n,r)}function gy(n){const r=zi.get(n);return zi.delete(n),r}let vy=()=>location.protocol+"//"+location.host;function qc(n,r){const{pathname:o,search:i,hash:a}=r,c=n.indexOf("#");if(c>-1){let d=a.includes(n.slice(c))?n.slice(c).length:1,h=a.slice(d);return h[0]!=="/"&&(h="/"+h),tc(h,"")}return tc(o,n)+i+a}function my(n,r,o,i){let a=[],c=[],f=null;const d=({state:S})=>{const b=qc(n,location),R=o.value,E=r.value;let L=0;if(S){if(o.value=b,r.value=S,f&&f===R){f=null;return}L=E?S.position-E.position:0}else i(b);a.forEach(P=>{P(o.value,R,{delta:L,type:lr.pop,direction:L?L>0?cr.forward:cr.back:cr.unknown})})};function h(){f=o.value}function v(S){a.push(S);const b=()=>{const R=a.indexOf(S);R>-1&&a.splice(R,1)};return c.push(b),b}function g(){const{history:S}=window;S.state&&S.replaceState(xe({},S.state,{scroll:ho()}),"")}function y(){for(const S of c)S();c=[],window.removeEventListener("popstate",d),window.removeEventListener("beforeunload",g)}return window.addEventListener("popstate",d),window.addEventListener("beforeunload",g,{passive:!0}),{pauseListeners:h,listen:v,destroy:y}}function oc(n,r,o,i=!1,a=!1){return{back:n,current:r,forward:o,replaced:i,position:window.history.length,scroll:a?ho():null}}function yy(n){const{history:r,location:o}=window,i={value:qc(n,o)},a={value:r.state};a.value||c(i.value,{back:null,current:i.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function c(h,v,g){const y=n.indexOf("#"),S=y>-1?(o.host&&document.querySelector("base")?n:n.slice(y))+h:vy()+n+h;try{r[g?"replaceState":"pushState"](v,"",S),a.value=v}catch(b){console.error(b),o[g?"replace":"assign"](S)}}function f(h,v){const g=xe({},r.state,oc(a.value.back,h,a.value.forward,!0),v,{position:a.value.position});c(h,g,!0),i.value=h}function d(h,v){const g=xe({},a.value,r.state,{forward:h,scroll:ho()});c(g.current,g,!0);const y=xe({},oc(i.value,h,null),{position:g.position+1},v);c(h,y,!1),i.value=h}return{location:i,state:a,push:d,replace:f}}function Sy(n){n=cy(n);const r=yy(n),o=my(n,r.state,r.location,r.replace);function i(c,f=!0){f||o.pauseListeners(),history.go(c)}const a=xe({location:"",base:n,go:i,createHref:ly.bind(null,n)},r,o);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>r.state.value}),a}function xy(n){return typeof n=="string"||n&&typeof n=="object"}function ef(n){return typeof n=="string"||typeof n=="symbol"}const Jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tf=Symbol("");var ic;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(ic||(ic={}));function Fn(n,r){return xe(new Error,{type:n,[tf]:!0},r)}function $t(n,r){return n instanceof Error&&tf in n&&(r==null||!!(n.type&r))}const sc="[^/]+?",by={sensitive:!1,strict:!1,start:!0,end:!0},Ey=/[.+*?^${}()[\]/\\]/g;function Ty(n,r){const o=xe({},by,r),i=[];let a=o.start?"^":"";const c=[];for(const v of n){const g=v.length?[]:[90];o.strict&&!v.length&&(a+="/");for(let y=0;y<v.length;y++){const S=v[y];let b=40+(o.sensitive?.25:0);if(S.type===0)y||(a+="/"),a+=S.value.replace(Ey,"\\$&"),b+=40;else if(S.type===1){const{value:R,repeatable:E,optional:L,regexp:P}=S;c.push({name:R,repeatable:E,optional:L});const I=P||sc;if(I!==sc){b+=10;try{new RegExp(`(${I})`)}catch(N){throw new Error(`Invalid custom RegExp for param "${R}" (${I}): `+N.message)}}let C=E?`((?:${I})(?:/(?:${I}))*)`:`(${I})`;y||(C=L&&v.length<2?`(?:/${C})`:"/"+C),L&&(C+="?"),a+=C,b+=20,L&&(b+=-8),E&&(b+=-20),I===".*"&&(b+=-50)}g.push(b)}i.push(g)}if(o.strict&&o.end){const v=i.length-1;i[v][i[v].length-1]+=.7000000000000001}o.strict||(a+="/?"),o.end?a+="$":o.strict&&(a+="(?:/|$)");const f=new RegExp(a,o.sensitive?"":"i");function d(v){const g=v.match(f),y={};if(!g)return null;for(let S=1;S<g.length;S++){const b=g[S]||"",R=c[S-1];y[R.name]=b&&R.repeatable?b.split("/"):b}return y}function h(v){let g="",y=!1;for(const S of n){(!y||!g.endsWith("/"))&&(g+="/"),y=!1;for(const b of S)if(b.type===0)g+=b.value;else if(b.type===1){const{value:R,repeatable:E,optional:L}=b,P=R in v?v[R]:"";if(Tt(P)&&!E)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const I=Tt(P)?P.join("/"):P;if(!I)if(L)S.length<2&&(g.endsWith("/")?g=g.slice(0,-1):y=!0);else throw new Error(`Missing required param "${R}"`);g+=I}}return g||"/"}return{re:f,score:i,keys:c,parse:d,stringify:h}}function Ly(n,r){let o=0;for(;o<n.length&&o<r.length;){const i=r[o]-n[o];if(i)return i;o++}return n.length<r.length?n.length===1&&n[0]===80?-1:1:n.length>r.length?r.length===1&&r[0]===80?1:-1:0}function nf(n,r){let o=0;const i=n.score,a=r.score;for(;o<i.length&&o<a.length;){const c=Ly(i[o],a[o]);if(c)return c;o++}if(Math.abs(a.length-i.length)===1){if(ac(i))return 1;if(ac(a))return-1}return a.length-i.length}function ac(n){const r=n[n.length-1];return n.length>0&&r[r.length-1]<0}const Ry={type:0,value:""},wy=/[a-zA-Z0-9_]/;function Ay(n){if(!n)return[[]];if(n==="/")return[[Ry]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function r(b){throw new Error(`ERR (${o})/"${v}": ${b}`)}let o=0,i=o;const a=[];let c;function f(){c&&a.push(c),c=[]}let d=0,h,v="",g="";function y(){v&&(o===0?c.push({type:0,value:v}):o===1||o===2||o===3?(c.length>1&&(h==="*"||h==="+")&&r(`A repeatable param (${v}) must be alone in its segment. eg: '/:ids+.`),c.push({type:1,value:v,regexp:g,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):r("Invalid state to consume buffer"),v="")}function S(){v+=h}for(;d<n.length;){if(h=n[d++],h==="\\"&&o!==2){i=o,o=4;continue}switch(o){case 0:h==="/"?(v&&y(),f()):h===":"?(y(),o=1):S();break;case 4:S(),o=i;break;case 1:h==="("?o=2:wy.test(h)?S():(y(),o=0,h!=="*"&&h!=="?"&&h!=="+"&&d--);break;case 2:h===")"?g[g.length-1]=="\\"?g=g.slice(0,-1)+h:o=3:g+=h;break;case 3:y(),o=0,h!=="*"&&h!=="?"&&h!=="+"&&d--,g="";break;default:r("Unknown state");break}}return o===2&&r(`Unfinished custom RegExp for param "${v}"`),y(),f(),a}function Iy(n,r,o){const i=Ty(Ay(n.path),o),a=xe(i,{record:n,parent:r,children:[],alias:[]});return r&&!a.record.aliasOf==!r.record.aliasOf&&r.children.push(a),a}function Py(n,r){const o=[],i=new Map;r=fc({strict:!1,end:!0,sensitive:!1},r);function a(g){return i.get(g)}function c(g,y,S){const b=!S,R=Oy(g);R.aliasOf=S&&S.record;const E=fc(r,g),L=[R];if("alias"in g){const C=typeof g.alias=="string"?[g.alias]:g.alias;for(const N of C)L.push(xe({},R,{components:S?S.record.components:R.components,path:N,aliasOf:S?S.record:R}))}let P,I;for(const C of L){const{path:N}=C;if(y&&N[0]!=="/"){const U=y.record.path,W=U[U.length-1]==="/"?"":"/";C.path=y.record.path+(N&&W+N)}if(P=Iy(C,y,E),S?S.alias.push(P):(I=I||P,I!==P&&I.alias.push(P),b&&g.name&&!cc(P)&&f(g.name)),rf(P)&&h(P),R.children){const U=R.children;for(let W=0;W<U.length;W++)c(U[W],P,S&&S.children[W])}S=S||P}return I?()=>{f(I)}:ur}function f(g){if(ef(g)){const y=i.get(g);y&&(i.delete(g),o.splice(o.indexOf(y),1),y.children.forEach(f),y.alias.forEach(f))}else{const y=o.indexOf(g);y>-1&&(o.splice(y,1),g.record.name&&i.delete(g.record.name),g.children.forEach(f),g.alias.forEach(f))}}function d(){return o}function h(g){const y=Dy(g,o);o.splice(y,0,g),g.record.name&&!cc(g)&&i.set(g.record.name,g)}function v(g,y){let S,b={},R,E;if("name"in g&&g.name){if(S=i.get(g.name),!S)throw Fn(1,{location:g});E=S.record.name,b=xe(uc(y.params,S.keys.filter(I=>!I.optional).concat(S.parent?S.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),g.params&&uc(g.params,S.keys.map(I=>I.name))),R=S.stringify(b)}else if(g.path!=null)R=g.path,S=o.find(I=>I.re.test(R)),S&&(b=S.parse(R),E=S.record.name);else{if(S=y.name?i.get(y.name):o.find(I=>I.re.test(y.path)),!S)throw Fn(1,{location:g,currentLocation:y});E=S.record.name,b=xe({},y.params,g.params),R=S.stringify(b)}const L=[];let P=S;for(;P;)L.unshift(P.record),P=P.parent;return{name:E,path:R,params:b,matched:L,meta:My(L)}}return n.forEach(g=>c(g)),{addRoute:c,resolve:v,removeRoute:f,getRoutes:d,getRecordMatcher:a}}function uc(n,r){const o={};for(const i of r)i in n&&(o[i]=n[i]);return o}function Oy(n){return{path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:void 0,beforeEnter:n.beforeEnter,props:Cy(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}}}function Cy(n){const r={},o=n.props||!1;if("component"in n)r.default=o;else for(const i in n.components)r[i]=typeof o=="object"?o[i]:o;return r}function cc(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function My(n){return n.reduce((r,o)=>xe(r,o.meta),{})}function fc(n,r){const o={};for(const i in n)o[i]=i in r?r[i]:n[i];return o}function Dy(n,r){let o=0,i=r.length;for(;o!==i;){const c=o+i>>1;nf(n,r[c])<0?i=c:o=c+1}const a=Fy(n);return a&&(i=r.lastIndexOf(a,i-1)),i}function Fy(n){let r=n;for(;r=r.parent;)if(rf(r)&&nf(n,r)===0)return r}function rf({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function Hy(n){const r={};if(n===""||n==="?")return r;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let a=0;a<i.length;++a){const c=i[a].replace(Zc," "),f=c.indexOf("="),d=fr(f<0?c:c.slice(0,f)),h=f<0?null:fr(c.slice(f+1));if(d in r){let v=r[d];Tt(v)||(v=r[d]=[v]),v.push(h)}else r[d]=h}return r}function lc(n){let r="";for(let o in n){const i=n[o];if(o=ey(o),i==null){i!==void 0&&(r+=(r.length?"&":"")+o);continue}(Tt(i)?i.map(c=>c&&ji(c)):[i&&ji(i)]).forEach(c=>{c!==void 0&&(r+=(r.length?"&":"")+o,c!=null&&(r+="="+c))})}return r}function By(n){const r={};for(const o in n){const i=n[o];i!==void 0&&(r[o]=Tt(i)?i.map(a=>a==null?null:""+a):i==null?i:""+i)}return r}const ky=Symbol(""),hc=Symbol(""),rs=Symbol(""),of=Symbol(""),Yi=Symbol("");function tr(){let n=[];function r(i){return n.push(i),()=>{const a=n.indexOf(i);a>-1&&n.splice(a,1)}}function o(){n=[]}return{add:r,list:()=>n.slice(),reset:o}}function qt(n,r,o,i,a,c=f=>f()){const f=i&&(i.enterCallbacks[a]=i.enterCallbacks[a]||[]);return()=>new Promise((d,h)=>{const v=S=>{S===!1?h(Fn(4,{from:o,to:r})):S instanceof Error?h(S):xy(S)?h(Fn(2,{from:r,to:S})):(f&&i.enterCallbacks[a]===f&&typeof S=="function"&&f.push(S),d())},g=c(()=>n.call(i&&i.instances[a],r,o,v));let y=Promise.resolve(g);n.length<3&&(y=y.then(v)),y.catch(S=>h(S))})}function Ni(n,r,o,i,a=c=>c()){const c=[];for(const f of n)for(const d in f.components){let h=f.components[d];if(!(r!=="beforeRouteEnter"&&!f.instances[d]))if(Ny(h)){const g=(h.__vccOpts||h)[r];g&&c.push(qt(g,o,i,f,d,a))}else{let v=h();c.push(()=>v.then(g=>{if(!g)return Promise.reject(new Error(`Couldn't resolve component "${d}" at "${f.path}"`));const y=V0(g)?g.default:g;f.components[d]=y;const b=(y.__vccOpts||y)[r];return b&&qt(b,o,i,f,d,a)()}))}}return c}function Ny(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function dc(n){const r=It(rs),o=It(of),i=De(()=>{const h=pn(n.to);return r.resolve(h)}),a=De(()=>{const{matched:h}=i.value,{length:v}=h,g=h[v-1],y=o.matched;if(!g||!y.length)return-1;const S=y.findIndex(Dn.bind(null,g));if(S>-1)return S;const b=pc(h[v-2]);return v>1&&pc(g)===b&&y[y.length-1].path!==b?y.findIndex(Dn.bind(null,h[v-2])):S}),c=De(()=>a.value>-1&&Uy(o.params,i.value.params)),f=De(()=>a.value>-1&&a.value===o.matched.length-1&&Jc(o.params,i.value.params));function d(h={}){return Gy(h)?r[pn(n.replace)?"replace":"push"](pn(n.to)).catch(ur):Promise.resolve()}return{route:i,href:De(()=>i.value.href),isActive:c,isExactActive:f,navigate:d}}const $y=Dc({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:dc,setup(n,{slots:r}){const o=en(dc(n)),{options:i}=It(rs),a=De(()=>({[gc(n.activeClass,i.linkActiveClass,"router-link-active")]:o.isActive,[gc(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const c=r.default&&r.default(o);return n.custom?c:Fc("a",{"aria-current":o.isExactActive?n.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:a.value},c)}}}),Wy=$y;function Gy(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const r=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return n.preventDefault&&n.preventDefault(),!0}}function Uy(n,r){for(const o in r){const i=r[o],a=n[o];if(typeof i=="string"){if(i!==a)return!1}else if(!Tt(a)||a.length!==i.length||i.some((c,f)=>c!==a[f]))return!1}return!0}function pc(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const gc=(n,r,o)=>n??r??o,Vy=Dc({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:r,slots:o}){const i=It(Yi),a=De(()=>n.route||i.value),c=It(hc,0),f=De(()=>{let v=pn(c);const{matched:g}=a.value;let y;for(;(y=g[v])&&!y.components;)v++;return v}),d=De(()=>a.value.matched[f.value]);sr(hc,De(()=>f.value+1)),sr(ky,d),sr(Yi,a);const h=so();return Qi(()=>[h.value,d.value,n.name],([v,g,y],[S,b,R])=>{g&&(g.instances[y]=v,b&&b!==g&&v&&v===S&&(g.leaveGuards.size||(g.leaveGuards=b.leaveGuards),g.updateGuards.size||(g.updateGuards=b.updateGuards))),v&&g&&(!b||!Dn(g,b)||!S)&&(g.enterCallbacks[y]||[]).forEach(E=>E(v))},{flush:"post"}),()=>{const v=a.value,g=n.name,y=d.value,S=y&&y.components[g];if(!S)return vc(o.default,{Component:S,route:v});const b=y.props[g],R=b?b===!0?v.params:typeof b=="function"?b(v):b:null,L=Fc(S,xe({},R,r,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(y.instances[g]=null)},ref:h}));return vc(o.default,{Component:L,route:v})||L}}});function vc(n,r){if(!n)return null;const o=n(r);return o.length===1?o[0]:o}const Ky=Vy;function jy(n){const r=Py(n.routes,n),o=n.parseQuery||Hy,i=n.stringifyQuery||lc,a=n.history,c=tr(),f=tr(),d=tr(),h=Mc(Jt);let v=Jt;Cn&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const g=Bi.bind(null,D=>""+D),y=Bi.bind(null,ny),S=Bi.bind(null,fr);function b(D,X){let j,J;return ef(D)?(j=r.getRecordMatcher(D),J=X):J=D,r.addRoute(J,j)}function R(D){const X=r.getRecordMatcher(D);X&&r.removeRoute(X)}function E(){return r.getRoutes().map(D=>D.record)}function L(D){return!!r.getRecordMatcher(D)}function P(D,X){if(X=xe({},X||h.value),typeof D=="string"){const ee=ki(o,D,X.path),we=r.resolve({path:ee.path},X),nn=a.createHref(ee.fullPath);return xe(ee,we,{params:S(we.params),hash:fr(ee.hash),redirectedFrom:void 0,href:nn})}let j;if(D.path!=null)j=xe({},D,{path:ki(o,D.path,X.path).path});else{const ee=xe({},D.params);for(const we in ee)ee[we]==null&&delete ee[we];j=xe({},D,{params:y(ee)}),X.params=y(X.params)}const J=r.resolve(j,X),ge=D.hash||"";J.params=g(S(J.params));const Re=iy(i,xe({},D,{hash:q0(ge),path:J.path})),fe=a.createHref(Re);return xe({fullPath:Re,hash:ge,query:i===lc?By(D.query):D.query||{}},J,{redirectedFrom:void 0,href:fe})}function I(D){return typeof D=="string"?ki(o,D,h.value.path):xe({},D)}function C(D,X){if(v!==D)return Fn(8,{from:X,to:D})}function N(D){return B(D)}function U(D){return N(xe(I(D),{replace:!0}))}function W(D){const X=D.matched[D.matched.length-1];if(X&&X.redirect){const{redirect:j}=X;let J=typeof j=="function"?j(D):j;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=I(J):{path:J},J.params={}),xe({query:D.query,hash:D.hash,params:J.path!=null?{}:D.params},J)}}function B(D,X){const j=v=P(D),J=h.value,ge=D.state,Re=D.force,fe=D.replace===!0,ee=W(j);if(ee)return B(xe(I(ee),{state:typeof ee=="object"?xe({},ge,ee.state):ge,force:Re,replace:fe}),X||j);const we=j;we.redirectedFrom=X;let nn;return!Re&&sy(i,J,j)&&(nn=Fn(16,{to:we,from:J}),Ee(J,J,!0,!1)),(nn?Promise.resolve(nn):V(we,J)).catch(Pe=>$t(Pe)?$t(Pe,2)?Pe:pe(Pe):ce(Pe,we,J)).then(Pe=>{if(Pe){if($t(Pe,2))return B(xe({replace:fe},I(Pe.to),{state:typeof Pe.to=="object"?xe({},ge,Pe.to.state):ge,force:Re}),X||we)}else Pe=Z(we,J,!0,fe,ge);return K(we,J,Pe),Pe})}function k(D,X){const j=C(D,X);return j?Promise.reject(j):Promise.resolve()}function $(D){const X=tt.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(D):D()}function V(D,X){let j;const[J,ge,Re]=zy(D,X);j=Ni(J.reverse(),"beforeRouteLeave",D,X);for(const ee of J)ee.leaveGuards.forEach(we=>{j.push(qt(we,D,X))});const fe=k.bind(null,D,X);return j.push(fe),nt(j).then(()=>{j=[];for(const ee of c.list())j.push(qt(ee,D,X));return j.push(fe),nt(j)}).then(()=>{j=Ni(ge,"beforeRouteUpdate",D,X);for(const ee of ge)ee.updateGuards.forEach(we=>{j.push(qt(we,D,X))});return j.push(fe),nt(j)}).then(()=>{j=[];for(const ee of Re)if(ee.beforeEnter)if(Tt(ee.beforeEnter))for(const we of ee.beforeEnter)j.push(qt(we,D,X));else j.push(qt(ee.beforeEnter,D,X));return j.push(fe),nt(j)}).then(()=>(D.matched.forEach(ee=>ee.enterCallbacks={}),j=Ni(Re,"beforeRouteEnter",D,X,$),j.push(fe),nt(j))).then(()=>{j=[];for(const ee of f.list())j.push(qt(ee,D,X));return j.push(fe),nt(j)}).catch(ee=>$t(ee,8)?ee:Promise.reject(ee))}function K(D,X,j){d.list().forEach(J=>$(()=>J(D,X,j)))}function Z(D,X,j,J,ge){const Re=C(D,X);if(Re)return Re;const fe=X===Jt,ee=Cn?history.state:{};j&&(J||fe?a.replace(D.fullPath,xe({scroll:fe&&ee&&ee.scroll},ge)):a.push(D.fullPath,ge)),h.value=D,Ee(D,X,j,fe),pe()}let Y;function me(){Y||(Y=a.listen((D,X,j)=>{const J=P(D),ge=W(J);if(ge){B(xe(ge,{replace:!0}),J).catch(ur);return}v=J;const Re=h.value;Cn&&py(rc(Re.fullPath,j.delta),ho()),V(J,Re).catch(fe=>$t(fe,12)?fe:$t(fe,2)?(B(fe.to,J).then(ee=>{$t(ee,20)&&!j.delta&&j.type===lr.pop&&a.go(-1,!1)}).catch(ur),Promise.reject()):(j.delta&&a.go(-j.delta,!1),ce(fe,J,Re))).then(fe=>{fe=fe||Z(J,Re,!1),fe&&(j.delta&&!$t(fe,8)?a.go(-j.delta,!1):j.type===lr.pop&&$t(fe,20)&&a.go(-1,!1)),K(J,Re,fe)}).catch(ur)}))}let be=tr(),Fe=tr(),ue;function ce(D,X,j){pe(D);const J=Fe.list();return J.length?J.forEach(ge=>ge(D,X,j)):console.error(D),Promise.reject(D)}function ke(){return ue&&h.value!==Jt?Promise.resolve():new Promise((D,X)=>{be.add([D,X])})}function pe(D){return ue||(ue=!D,me(),be.list().forEach(([X,j])=>D?j(D):X()),be.reset()),D}function Ee(D,X,j,J){const{scrollBehavior:ge}=n;if(!Cn||!ge)return Promise.resolve();const Re=!j&&gy(rc(D.fullPath,0))||(J||!j)&&history.state&&history.state.scroll||null;return Hn().then(()=>ge(D,X,Re)).then(fe=>fe&&dy(fe)).catch(fe=>ce(fe,D,X))}const _e=D=>a.go(D);let Ke;const tt=new Set,Lt={currentRoute:h,listening:!0,addRoute:b,removeRoute:R,hasRoute:L,getRoutes:E,resolve:P,options:n,push:N,replace:U,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:c.add,beforeResolve:f.add,afterEach:d.add,onError:Fe.add,isReady:ke,install(D){const X=this;D.component("RouterLink",Wy),D.component("RouterView",Ky),D.config.globalProperties.$router=X,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>pn(h)}),Cn&&!Ke&&h.value===Jt&&(Ke=!0,N(a.location).catch(ge=>{}));const j={};for(const ge in Jt)Object.defineProperty(j,ge,{get:()=>h.value[ge],enumerable:!0});D.provide(rs,X),D.provide(of,gm(j)),D.provide(Yi,h);const J=D.unmount;tt.add(D),D.unmount=function(){tt.delete(D),tt.size<1&&(v=Jt,Y&&Y(),Y=null,h.value=Jt,Ke=!1,ue=!1),J()}}};function nt(D){return D.reduce((X,j)=>X.then(()=>$(j)),Promise.resolve())}return Lt}function zy(n,r){const o=[],i=[],a=[],c=Math.max(r.matched.length,n.matched.length);for(let f=0;f<c;f++){const d=r.matched[f];d&&(n.matched.find(v=>Dn(v,d))?i.push(d):o.push(d));const h=n.matched[f];h&&(r.matched.find(v=>Dn(v,h))||a.push(h))}return[o,i,a]}const Yy=()=>Pt(()=>import("./admin-D5JDmLDy.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20])),Zy=()=>Pt(()=>import("./browser-VhFkImB_.js"),__vite__mapDeps([21,1,2,22,23,7,8,24,25,9,10,26,3,4,5,6,11,12,13,14,15,27,28,18,19,29,30,31,32,33,34,35,36,37])),Xy=()=>Pt(()=>import("./http-error-DBQycf8i.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,9,10,11,12,13,39])),_y=()=>Pt(()=>import("./reader-ClcgSG93.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,28,25,18,19,29,41,42,43,44,24,26,27,30,31,45])),Qy=()=>Pt(()=>import("./flag-tab-IniE-dLy.js"),__vite__mapDeps([46,1,2,22,23,24,25,9,10,26,47])),Jy=()=>Pt(()=>import("./user-tab-pzFjrggM.js"),__vite__mapDeps([48,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,24,26,51,52,5,12])),qy=()=>Pt(()=>import("./group-tab-RPa8XC0J.js"),__vite__mapDeps([53,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,43,44,54])),e2=()=>Pt(()=>import("./library-tab-C5trLvkq.js"),__vite__mapDeps([55,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,34,36,24,26,51,52,41,42,56])),t2=()=>Pt(()=>import("./task-tab-B8sYV6Ia.js"),__vite__mapDeps([57,1,2,32,7,8,33,58])),n2=()=>Pt(()=>import("./stats-tab-CBz_jhmH.js"),__vite__mapDeps([59,1,2,32,7,8,33,14,30,22,23,60])),r2={name:"browser",params:window.CODEX.LAST_ROUTE||zc.route},o2=[{name:"home",path:"/",redirect:r2},{name:"reader",path:"/c/:pk/:page",component:_y},{name:"browser",path:"/:group/:pks/:page",component:Zy},{name:"admin",path:"/admin",component:Yy,redirect:"/admin/libraries",children:[{name:"admin-users",path:"users",component:Jy},{name:"admin-groups",path:"groups",component:qy},{name:"admin-libraries",path:"libraries",component:e2},{name:"admin-flags",path:"flags",component:Qy},{name:"admin-tasks",path:"tasks",component:t2},{name:"admin-stats",path:"stats",component:n2}]},{name:"error",path:"/error/:code",component:Xy,props:!0},{name:"404",path:"/:pathMatch(.*)*",redirect:"/error/404"}],Ne=new jy({history:Sy(window.CODEX.APP_PATH),routes:o2});var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sf(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var co={exports:{}};/**
6
+ */const Cn=typeof document<"u";function V0(n){return n.__esModule||n[Symbol.toStringTag]==="Module"}const xe=Object.assign;function Bi(n,r){const o={};for(const i in r){const a=r[i];o[i]=Tt(a)?a.map(n):n(a)}return o}const ur=()=>{},Tt=Array.isArray,Yc=/#/g,K0=/&/g,j0=/\//g,z0=/=/g,Y0=/\?/g,Zc=/\+/g,Z0=/%5B/g,X0=/%5D/g,Xc=/%5E/g,_0=/%60/g,_c=/%7B/g,Q0=/%7C/g,Qc=/%7D/g,J0=/%20/g;function ns(n){return encodeURI(""+n).replace(Q0,"|").replace(Z0,"[").replace(X0,"]")}function q0(n){return ns(n).replace(_c,"{").replace(Qc,"}").replace(Xc,"^")}function ji(n){return ns(n).replace(Zc,"%2B").replace(J0,"+").replace(Yc,"%23").replace(K0,"%26").replace(_0,"`").replace(_c,"{").replace(Qc,"}").replace(Xc,"^")}function ey(n){return ji(n).replace(z0,"%3D")}function ty(n){return ns(n).replace(Yc,"%23").replace(Y0,"%3F")}function ny(n){return n==null?"":ty(n).replace(j0,"%2F")}function fr(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const ry=/\/$/,oy=n=>n.replace(ry,"");function ki(n,r,o="/"){let i,a={},c="",f="";const d=r.indexOf("#");let h=r.indexOf("?");return d<h&&d>=0&&(h=-1),h>-1&&(i=r.slice(0,h),c=r.slice(h+1,d>-1?d:r.length),a=n(c)),d>-1&&(i=i||r.slice(0,d),f=r.slice(d,r.length)),i=uy(i??r,o),{fullPath:i+(c&&"?")+c+f,path:i,query:a,hash:fr(f)}}function iy(n,r){const o=r.query?n(r.query):"";return r.path+(o&&"?")+o+(r.hash||"")}function tc(n,r){return!r||!n.toLowerCase().startsWith(r.toLowerCase())?n:n.slice(r.length)||"/"}function sy(n,r,o){const i=r.matched.length-1,a=o.matched.length-1;return i>-1&&i===a&&Dn(r.matched[i],o.matched[a])&&Jc(r.params,o.params)&&n(r.query)===n(o.query)&&r.hash===o.hash}function Dn(n,r){return(n.aliasOf||n)===(r.aliasOf||r)}function Jc(n,r){if(Object.keys(n).length!==Object.keys(r).length)return!1;for(const o in n)if(!ay(n[o],r[o]))return!1;return!0}function ay(n,r){return Tt(n)?nc(n,r):Tt(r)?nc(r,n):n===r}function nc(n,r){return Tt(r)?n.length===r.length&&n.every((o,i)=>o===r[i]):n.length===1&&n[0]===r}function uy(n,r){if(n.startsWith("/"))return n;if(!n)return r;const o=r.split("/"),i=n.split("/"),a=i[i.length-1];(a===".."||a===".")&&i.push("");let c=o.length-1,f,d;for(f=0;f<i.length;f++)if(d=i[f],d!==".")if(d==="..")c>1&&c--;else break;return o.slice(0,c).join("/")+"/"+i.slice(f).join("/")}var lr;(function(n){n.pop="pop",n.push="push"})(lr||(lr={}));var cr;(function(n){n.back="back",n.forward="forward",n.unknown=""})(cr||(cr={}));function cy(n){if(!n)if(Cn){const r=document.querySelector("base");n=r&&r.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),oy(n)}const fy=/^[^#]+#/;function ly(n,r){return n.replace(fy,"#")+r}function hy(n,r){const o=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:r.behavior,left:i.left-o.left-(r.left||0),top:i.top-o.top-(r.top||0)}}const ho=()=>({left:window.scrollX,top:window.scrollY});function dy(n){let r;if("el"in n){const o=n.el,i=typeof o=="string"&&o.startsWith("#"),a=typeof o=="string"?i?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!a)return;r=hy(a,n)}else r=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.scrollX,r.top!=null?r.top:window.scrollY)}function rc(n,r){return(history.state?history.state.position-r:-1)+n}const zi=new Map;function py(n,r){zi.set(n,r)}function gy(n){const r=zi.get(n);return zi.delete(n),r}let vy=()=>location.protocol+"//"+location.host;function qc(n,r){const{pathname:o,search:i,hash:a}=r,c=n.indexOf("#");if(c>-1){let d=a.includes(n.slice(c))?n.slice(c).length:1,h=a.slice(d);return h[0]!=="/"&&(h="/"+h),tc(h,"")}return tc(o,n)+i+a}function my(n,r,o,i){let a=[],c=[],f=null;const d=({state:S})=>{const b=qc(n,location),R=o.value,E=r.value;let L=0;if(S){if(o.value=b,r.value=S,f&&f===R){f=null;return}L=E?S.position-E.position:0}else i(b);a.forEach(P=>{P(o.value,R,{delta:L,type:lr.pop,direction:L?L>0?cr.forward:cr.back:cr.unknown})})};function h(){f=o.value}function v(S){a.push(S);const b=()=>{const R=a.indexOf(S);R>-1&&a.splice(R,1)};return c.push(b),b}function g(){const{history:S}=window;S.state&&S.replaceState(xe({},S.state,{scroll:ho()}),"")}function y(){for(const S of c)S();c=[],window.removeEventListener("popstate",d),window.removeEventListener("beforeunload",g)}return window.addEventListener("popstate",d),window.addEventListener("beforeunload",g,{passive:!0}),{pauseListeners:h,listen:v,destroy:y}}function oc(n,r,o,i=!1,a=!1){return{back:n,current:r,forward:o,replaced:i,position:window.history.length,scroll:a?ho():null}}function yy(n){const{history:r,location:o}=window,i={value:qc(n,o)},a={value:r.state};a.value||c(i.value,{back:null,current:i.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function c(h,v,g){const y=n.indexOf("#"),S=y>-1?(o.host&&document.querySelector("base")?n:n.slice(y))+h:vy()+n+h;try{r[g?"replaceState":"pushState"](v,"",S),a.value=v}catch(b){console.error(b),o[g?"replace":"assign"](S)}}function f(h,v){const g=xe({},r.state,oc(a.value.back,h,a.value.forward,!0),v,{position:a.value.position});c(h,g,!0),i.value=h}function d(h,v){const g=xe({},a.value,r.state,{forward:h,scroll:ho()});c(g.current,g,!0);const y=xe({},oc(i.value,h,null),{position:g.position+1},v);c(h,y,!1),i.value=h}return{location:i,state:a,push:d,replace:f}}function Sy(n){n=cy(n);const r=yy(n),o=my(n,r.state,r.location,r.replace);function i(c,f=!0){f||o.pauseListeners(),history.go(c)}const a=xe({location:"",base:n,go:i,createHref:ly.bind(null,n)},r,o);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>r.state.value}),a}function xy(n){return typeof n=="string"||n&&typeof n=="object"}function ef(n){return typeof n=="string"||typeof n=="symbol"}const Jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tf=Symbol("");var ic;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(ic||(ic={}));function Fn(n,r){return xe(new Error,{type:n,[tf]:!0},r)}function $t(n,r){return n instanceof Error&&tf in n&&(r==null||!!(n.type&r))}const sc="[^/]+?",by={sensitive:!1,strict:!1,start:!0,end:!0},Ey=/[.+*?^${}()[\]/\\]/g;function Ty(n,r){const o=xe({},by,r),i=[];let a=o.start?"^":"";const c=[];for(const v of n){const g=v.length?[]:[90];o.strict&&!v.length&&(a+="/");for(let y=0;y<v.length;y++){const S=v[y];let b=40+(o.sensitive?.25:0);if(S.type===0)y||(a+="/"),a+=S.value.replace(Ey,"\\$&"),b+=40;else if(S.type===1){const{value:R,repeatable:E,optional:L,regexp:P}=S;c.push({name:R,repeatable:E,optional:L});const I=P||sc;if(I!==sc){b+=10;try{new RegExp(`(${I})`)}catch(N){throw new Error(`Invalid custom RegExp for param "${R}" (${I}): `+N.message)}}let C=E?`((?:${I})(?:/(?:${I}))*)`:`(${I})`;y||(C=L&&v.length<2?`(?:/${C})`:"/"+C),L&&(C+="?"),a+=C,b+=20,L&&(b+=-8),E&&(b+=-20),I===".*"&&(b+=-50)}g.push(b)}i.push(g)}if(o.strict&&o.end){const v=i.length-1;i[v][i[v].length-1]+=.7000000000000001}o.strict||(a+="/?"),o.end?a+="$":o.strict&&(a+="(?:/|$)");const f=new RegExp(a,o.sensitive?"":"i");function d(v){const g=v.match(f),y={};if(!g)return null;for(let S=1;S<g.length;S++){const b=g[S]||"",R=c[S-1];y[R.name]=b&&R.repeatable?b.split("/"):b}return y}function h(v){let g="",y=!1;for(const S of n){(!y||!g.endsWith("/"))&&(g+="/"),y=!1;for(const b of S)if(b.type===0)g+=b.value;else if(b.type===1){const{value:R,repeatable:E,optional:L}=b,P=R in v?v[R]:"";if(Tt(P)&&!E)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const I=Tt(P)?P.join("/"):P;if(!I)if(L)S.length<2&&(g.endsWith("/")?g=g.slice(0,-1):y=!0);else throw new Error(`Missing required param "${R}"`);g+=I}}return g||"/"}return{re:f,score:i,keys:c,parse:d,stringify:h}}function Ly(n,r){let o=0;for(;o<n.length&&o<r.length;){const i=r[o]-n[o];if(i)return i;o++}return n.length<r.length?n.length===1&&n[0]===80?-1:1:n.length>r.length?r.length===1&&r[0]===80?1:-1:0}function nf(n,r){let o=0;const i=n.score,a=r.score;for(;o<i.length&&o<a.length;){const c=Ly(i[o],a[o]);if(c)return c;o++}if(Math.abs(a.length-i.length)===1){if(ac(i))return 1;if(ac(a))return-1}return a.length-i.length}function ac(n){const r=n[n.length-1];return n.length>0&&r[r.length-1]<0}const Ry={type:0,value:""},wy=/[a-zA-Z0-9_]/;function Ay(n){if(!n)return[[]];if(n==="/")return[[Ry]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function r(b){throw new Error(`ERR (${o})/"${v}": ${b}`)}let o=0,i=o;const a=[];let c;function f(){c&&a.push(c),c=[]}let d=0,h,v="",g="";function y(){v&&(o===0?c.push({type:0,value:v}):o===1||o===2||o===3?(c.length>1&&(h==="*"||h==="+")&&r(`A repeatable param (${v}) must be alone in its segment. eg: '/:ids+.`),c.push({type:1,value:v,regexp:g,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):r("Invalid state to consume buffer"),v="")}function S(){v+=h}for(;d<n.length;){if(h=n[d++],h==="\\"&&o!==2){i=o,o=4;continue}switch(o){case 0:h==="/"?(v&&y(),f()):h===":"?(y(),o=1):S();break;case 4:S(),o=i;break;case 1:h==="("?o=2:wy.test(h)?S():(y(),o=0,h!=="*"&&h!=="?"&&h!=="+"&&d--);break;case 2:h===")"?g[g.length-1]=="\\"?g=g.slice(0,-1)+h:o=3:g+=h;break;case 3:y(),o=0,h!=="*"&&h!=="?"&&h!=="+"&&d--,g="";break;default:r("Unknown state");break}}return o===2&&r(`Unfinished custom RegExp for param "${v}"`),y(),f(),a}function Iy(n,r,o){const i=Ty(Ay(n.path),o),a=xe(i,{record:n,parent:r,children:[],alias:[]});return r&&!a.record.aliasOf==!r.record.aliasOf&&r.children.push(a),a}function Py(n,r){const o=[],i=new Map;r=fc({strict:!1,end:!0,sensitive:!1},r);function a(g){return i.get(g)}function c(g,y,S){const b=!S,R=Oy(g);R.aliasOf=S&&S.record;const E=fc(r,g),L=[R];if("alias"in g){const C=typeof g.alias=="string"?[g.alias]:g.alias;for(const N of C)L.push(xe({},R,{components:S?S.record.components:R.components,path:N,aliasOf:S?S.record:R}))}let P,I;for(const C of L){const{path:N}=C;if(y&&N[0]!=="/"){const U=y.record.path,W=U[U.length-1]==="/"?"":"/";C.path=y.record.path+(N&&W+N)}if(P=Iy(C,y,E),S?S.alias.push(P):(I=I||P,I!==P&&I.alias.push(P),b&&g.name&&!cc(P)&&f(g.name)),rf(P)&&h(P),R.children){const U=R.children;for(let W=0;W<U.length;W++)c(U[W],P,S&&S.children[W])}S=S||P}return I?()=>{f(I)}:ur}function f(g){if(ef(g)){const y=i.get(g);y&&(i.delete(g),o.splice(o.indexOf(y),1),y.children.forEach(f),y.alias.forEach(f))}else{const y=o.indexOf(g);y>-1&&(o.splice(y,1),g.record.name&&i.delete(g.record.name),g.children.forEach(f),g.alias.forEach(f))}}function d(){return o}function h(g){const y=Dy(g,o);o.splice(y,0,g),g.record.name&&!cc(g)&&i.set(g.record.name,g)}function v(g,y){let S,b={},R,E;if("name"in g&&g.name){if(S=i.get(g.name),!S)throw Fn(1,{location:g});E=S.record.name,b=xe(uc(y.params,S.keys.filter(I=>!I.optional).concat(S.parent?S.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),g.params&&uc(g.params,S.keys.map(I=>I.name))),R=S.stringify(b)}else if(g.path!=null)R=g.path,S=o.find(I=>I.re.test(R)),S&&(b=S.parse(R),E=S.record.name);else{if(S=y.name?i.get(y.name):o.find(I=>I.re.test(y.path)),!S)throw Fn(1,{location:g,currentLocation:y});E=S.record.name,b=xe({},y.params,g.params),R=S.stringify(b)}const L=[];let P=S;for(;P;)L.unshift(P.record),P=P.parent;return{name:E,path:R,params:b,matched:L,meta:My(L)}}return n.forEach(g=>c(g)),{addRoute:c,resolve:v,removeRoute:f,getRoutes:d,getRecordMatcher:a}}function uc(n,r){const o={};for(const i of r)i in n&&(o[i]=n[i]);return o}function Oy(n){return{path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:void 0,beforeEnter:n.beforeEnter,props:Cy(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}}}function Cy(n){const r={},o=n.props||!1;if("component"in n)r.default=o;else for(const i in n.components)r[i]=typeof o=="object"?o[i]:o;return r}function cc(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function My(n){return n.reduce((r,o)=>xe(r,o.meta),{})}function fc(n,r){const o={};for(const i in n)o[i]=i in r?r[i]:n[i];return o}function Dy(n,r){let o=0,i=r.length;for(;o!==i;){const c=o+i>>1;nf(n,r[c])<0?i=c:o=c+1}const a=Fy(n);return a&&(i=r.lastIndexOf(a,i-1)),i}function Fy(n){let r=n;for(;r=r.parent;)if(rf(r)&&nf(n,r)===0)return r}function rf({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function Hy(n){const r={};if(n===""||n==="?")return r;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let a=0;a<i.length;++a){const c=i[a].replace(Zc," "),f=c.indexOf("="),d=fr(f<0?c:c.slice(0,f)),h=f<0?null:fr(c.slice(f+1));if(d in r){let v=r[d];Tt(v)||(v=r[d]=[v]),v.push(h)}else r[d]=h}return r}function lc(n){let r="";for(let o in n){const i=n[o];if(o=ey(o),i==null){i!==void 0&&(r+=(r.length?"&":"")+o);continue}(Tt(i)?i.map(c=>c&&ji(c)):[i&&ji(i)]).forEach(c=>{c!==void 0&&(r+=(r.length?"&":"")+o,c!=null&&(r+="="+c))})}return r}function By(n){const r={};for(const o in n){const i=n[o];i!==void 0&&(r[o]=Tt(i)?i.map(a=>a==null?null:""+a):i==null?i:""+i)}return r}const ky=Symbol(""),hc=Symbol(""),rs=Symbol(""),of=Symbol(""),Yi=Symbol("");function tr(){let n=[];function r(i){return n.push(i),()=>{const a=n.indexOf(i);a>-1&&n.splice(a,1)}}function o(){n=[]}return{add:r,list:()=>n.slice(),reset:o}}function qt(n,r,o,i,a,c=f=>f()){const f=i&&(i.enterCallbacks[a]=i.enterCallbacks[a]||[]);return()=>new Promise((d,h)=>{const v=S=>{S===!1?h(Fn(4,{from:o,to:r})):S instanceof Error?h(S):xy(S)?h(Fn(2,{from:r,to:S})):(f&&i.enterCallbacks[a]===f&&typeof S=="function"&&f.push(S),d())},g=c(()=>n.call(i&&i.instances[a],r,o,v));let y=Promise.resolve(g);n.length<3&&(y=y.then(v)),y.catch(S=>h(S))})}function Ni(n,r,o,i,a=c=>c()){const c=[];for(const f of n)for(const d in f.components){let h=f.components[d];if(!(r!=="beforeRouteEnter"&&!f.instances[d]))if(Ny(h)){const g=(h.__vccOpts||h)[r];g&&c.push(qt(g,o,i,f,d,a))}else{let v=h();c.push(()=>v.then(g=>{if(!g)return Promise.reject(new Error(`Couldn't resolve component "${d}" at "${f.path}"`));const y=V0(g)?g.default:g;f.components[d]=y;const b=(y.__vccOpts||y)[r];return b&&qt(b,o,i,f,d,a)()}))}}return c}function Ny(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function dc(n){const r=It(rs),o=It(of),i=De(()=>{const h=pn(n.to);return r.resolve(h)}),a=De(()=>{const{matched:h}=i.value,{length:v}=h,g=h[v-1],y=o.matched;if(!g||!y.length)return-1;const S=y.findIndex(Dn.bind(null,g));if(S>-1)return S;const b=pc(h[v-2]);return v>1&&pc(g)===b&&y[y.length-1].path!==b?y.findIndex(Dn.bind(null,h[v-2])):S}),c=De(()=>a.value>-1&&Uy(o.params,i.value.params)),f=De(()=>a.value>-1&&a.value===o.matched.length-1&&Jc(o.params,i.value.params));function d(h={}){return Gy(h)?r[pn(n.replace)?"replace":"push"](pn(n.to)).catch(ur):Promise.resolve()}return{route:i,href:De(()=>i.value.href),isActive:c,isExactActive:f,navigate:d}}const $y=Dc({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:dc,setup(n,{slots:r}){const o=en(dc(n)),{options:i}=It(rs),a=De(()=>({[gc(n.activeClass,i.linkActiveClass,"router-link-active")]:o.isActive,[gc(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const c=r.default&&r.default(o);return n.custom?c:Fc("a",{"aria-current":o.isExactActive?n.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:a.value},c)}}}),Wy=$y;function Gy(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const r=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return n.preventDefault&&n.preventDefault(),!0}}function Uy(n,r){for(const o in r){const i=r[o],a=n[o];if(typeof i=="string"){if(i!==a)return!1}else if(!Tt(a)||a.length!==i.length||i.some((c,f)=>c!==a[f]))return!1}return!0}function pc(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const gc=(n,r,o)=>n??r??o,Vy=Dc({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:r,slots:o}){const i=It(Yi),a=De(()=>n.route||i.value),c=It(hc,0),f=De(()=>{let v=pn(c);const{matched:g}=a.value;let y;for(;(y=g[v])&&!y.components;)v++;return v}),d=De(()=>a.value.matched[f.value]);sr(hc,De(()=>f.value+1)),sr(ky,d),sr(Yi,a);const h=so();return Qi(()=>[h.value,d.value,n.name],([v,g,y],[S,b,R])=>{g&&(g.instances[y]=v,b&&b!==g&&v&&v===S&&(g.leaveGuards.size||(g.leaveGuards=b.leaveGuards),g.updateGuards.size||(g.updateGuards=b.updateGuards))),v&&g&&(!b||!Dn(g,b)||!S)&&(g.enterCallbacks[y]||[]).forEach(E=>E(v))},{flush:"post"}),()=>{const v=a.value,g=n.name,y=d.value,S=y&&y.components[g];if(!S)return vc(o.default,{Component:S,route:v});const b=y.props[g],R=b?b===!0?v.params:typeof b=="function"?b(v):b:null,L=Fc(S,xe({},R,r,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(y.instances[g]=null)},ref:h}));return vc(o.default,{Component:L,route:v})||L}}});function vc(n,r){if(!n)return null;const o=n(r);return o.length===1?o[0]:o}const Ky=Vy;function jy(n){const r=Py(n.routes,n),o=n.parseQuery||Hy,i=n.stringifyQuery||lc,a=n.history,c=tr(),f=tr(),d=tr(),h=Mc(Jt);let v=Jt;Cn&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const g=Bi.bind(null,D=>""+D),y=Bi.bind(null,ny),S=Bi.bind(null,fr);function b(D,X){let j,J;return ef(D)?(j=r.getRecordMatcher(D),J=X):J=D,r.addRoute(J,j)}function R(D){const X=r.getRecordMatcher(D);X&&r.removeRoute(X)}function E(){return r.getRoutes().map(D=>D.record)}function L(D){return!!r.getRecordMatcher(D)}function P(D,X){if(X=xe({},X||h.value),typeof D=="string"){const ee=ki(o,D,X.path),we=r.resolve({path:ee.path},X),nn=a.createHref(ee.fullPath);return xe(ee,we,{params:S(we.params),hash:fr(ee.hash),redirectedFrom:void 0,href:nn})}let j;if(D.path!=null)j=xe({},D,{path:ki(o,D.path,X.path).path});else{const ee=xe({},D.params);for(const we in ee)ee[we]==null&&delete ee[we];j=xe({},D,{params:y(ee)}),X.params=y(X.params)}const J=r.resolve(j,X),ge=D.hash||"";J.params=g(S(J.params));const Re=iy(i,xe({},D,{hash:q0(ge),path:J.path})),fe=a.createHref(Re);return xe({fullPath:Re,hash:ge,query:i===lc?By(D.query):D.query||{}},J,{redirectedFrom:void 0,href:fe})}function I(D){return typeof D=="string"?ki(o,D,h.value.path):xe({},D)}function C(D,X){if(v!==D)return Fn(8,{from:X,to:D})}function N(D){return B(D)}function U(D){return N(xe(I(D),{replace:!0}))}function W(D){const X=D.matched[D.matched.length-1];if(X&&X.redirect){const{redirect:j}=X;let J=typeof j=="function"?j(D):j;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=I(J):{path:J},J.params={}),xe({query:D.query,hash:D.hash,params:J.path!=null?{}:D.params},J)}}function B(D,X){const j=v=P(D),J=h.value,ge=D.state,Re=D.force,fe=D.replace===!0,ee=W(j);if(ee)return B(xe(I(ee),{state:typeof ee=="object"?xe({},ge,ee.state):ge,force:Re,replace:fe}),X||j);const we=j;we.redirectedFrom=X;let nn;return!Re&&sy(i,J,j)&&(nn=Fn(16,{to:we,from:J}),Ee(J,J,!0,!1)),(nn?Promise.resolve(nn):V(we,J)).catch(Pe=>$t(Pe)?$t(Pe,2)?Pe:pe(Pe):ce(Pe,we,J)).then(Pe=>{if(Pe){if($t(Pe,2))return B(xe({replace:fe},I(Pe.to),{state:typeof Pe.to=="object"?xe({},ge,Pe.to.state):ge,force:Re}),X||we)}else Pe=Z(we,J,!0,fe,ge);return K(we,J,Pe),Pe})}function k(D,X){const j=C(D,X);return j?Promise.reject(j):Promise.resolve()}function $(D){const X=tt.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(D):D()}function V(D,X){let j;const[J,ge,Re]=zy(D,X);j=Ni(J.reverse(),"beforeRouteLeave",D,X);for(const ee of J)ee.leaveGuards.forEach(we=>{j.push(qt(we,D,X))});const fe=k.bind(null,D,X);return j.push(fe),nt(j).then(()=>{j=[];for(const ee of c.list())j.push(qt(ee,D,X));return j.push(fe),nt(j)}).then(()=>{j=Ni(ge,"beforeRouteUpdate",D,X);for(const ee of ge)ee.updateGuards.forEach(we=>{j.push(qt(we,D,X))});return j.push(fe),nt(j)}).then(()=>{j=[];for(const ee of Re)if(ee.beforeEnter)if(Tt(ee.beforeEnter))for(const we of ee.beforeEnter)j.push(qt(we,D,X));else j.push(qt(ee.beforeEnter,D,X));return j.push(fe),nt(j)}).then(()=>(D.matched.forEach(ee=>ee.enterCallbacks={}),j=Ni(Re,"beforeRouteEnter",D,X,$),j.push(fe),nt(j))).then(()=>{j=[];for(const ee of f.list())j.push(qt(ee,D,X));return j.push(fe),nt(j)}).catch(ee=>$t(ee,8)?ee:Promise.reject(ee))}function K(D,X,j){d.list().forEach(J=>$(()=>J(D,X,j)))}function Z(D,X,j,J,ge){const Re=C(D,X);if(Re)return Re;const fe=X===Jt,ee=Cn?history.state:{};j&&(J||fe?a.replace(D.fullPath,xe({scroll:fe&&ee&&ee.scroll},ge)):a.push(D.fullPath,ge)),h.value=D,Ee(D,X,j,fe),pe()}let Y;function me(){Y||(Y=a.listen((D,X,j)=>{const J=P(D),ge=W(J);if(ge){B(xe(ge,{replace:!0}),J).catch(ur);return}v=J;const Re=h.value;Cn&&py(rc(Re.fullPath,j.delta),ho()),V(J,Re).catch(fe=>$t(fe,12)?fe:$t(fe,2)?(B(fe.to,J).then(ee=>{$t(ee,20)&&!j.delta&&j.type===lr.pop&&a.go(-1,!1)}).catch(ur),Promise.reject()):(j.delta&&a.go(-j.delta,!1),ce(fe,J,Re))).then(fe=>{fe=fe||Z(J,Re,!1),fe&&(j.delta&&!$t(fe,8)?a.go(-j.delta,!1):j.type===lr.pop&&$t(fe,20)&&a.go(-1,!1)),K(J,Re,fe)}).catch(ur)}))}let be=tr(),Fe=tr(),ue;function ce(D,X,j){pe(D);const J=Fe.list();return J.length?J.forEach(ge=>ge(D,X,j)):console.error(D),Promise.reject(D)}function ke(){return ue&&h.value!==Jt?Promise.resolve():new Promise((D,X)=>{be.add([D,X])})}function pe(D){return ue||(ue=!D,me(),be.list().forEach(([X,j])=>D?j(D):X()),be.reset()),D}function Ee(D,X,j,J){const{scrollBehavior:ge}=n;if(!Cn||!ge)return Promise.resolve();const Re=!j&&gy(rc(D.fullPath,0))||(J||!j)&&history.state&&history.state.scroll||null;return Hn().then(()=>ge(D,X,Re)).then(fe=>fe&&dy(fe)).catch(fe=>ce(fe,D,X))}const _e=D=>a.go(D);let Ke;const tt=new Set,Lt={currentRoute:h,listening:!0,addRoute:b,removeRoute:R,hasRoute:L,getRoutes:E,resolve:P,options:n,push:N,replace:U,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:c.add,beforeResolve:f.add,afterEach:d.add,onError:Fe.add,isReady:ke,install(D){const X=this;D.component("RouterLink",Wy),D.component("RouterView",Ky),D.config.globalProperties.$router=X,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>pn(h)}),Cn&&!Ke&&h.value===Jt&&(Ke=!0,N(a.location).catch(ge=>{}));const j={};for(const ge in Jt)Object.defineProperty(j,ge,{get:()=>h.value[ge],enumerable:!0});D.provide(rs,X),D.provide(of,gm(j)),D.provide(Yi,h);const J=D.unmount;tt.add(D),D.unmount=function(){tt.delete(D),tt.size<1&&(v=Jt,Y&&Y(),Y=null,h.value=Jt,Ke=!1,ue=!1),J()}}};function nt(D){return D.reduce((X,j)=>X.then(()=>$(j)),Promise.resolve())}return Lt}function zy(n,r){const o=[],i=[],a=[],c=Math.max(r.matched.length,n.matched.length);for(let f=0;f<c;f++){const d=r.matched[f];d&&(n.matched.find(v=>Dn(v,d))?i.push(d):o.push(d));const h=n.matched[f];h&&(r.matched.find(v=>Dn(v,h))||a.push(h))}return[o,i,a]}const Yy=()=>Pt(()=>import("./admin-37fN97_d.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20])),Zy=()=>Pt(()=>import("./browser-CA_2XCnV.js"),__vite__mapDeps([21,1,2,22,23,7,8,24,25,9,10,26,3,4,5,6,11,12,13,14,15,27,28,18,19,29,30,31,32,33,34,35,36,37])),Xy=()=>Pt(()=>import("./http-error-MPj9N9no.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,9,10,11,12,13,39])),_y=()=>Pt(()=>import("./reader-CFLp5Avy.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,28,25,18,19,29,41,42,43,44,24,26,27,30,31,45])),Qy=()=>Pt(()=>import("./flag-tab-CEyOjZFp.js"),__vite__mapDeps([46,1,2,22,23,24,25,9,10,26,47])),Jy=()=>Pt(()=>import("./user-tab-BhdZJ6QU.js"),__vite__mapDeps([48,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,24,26,51,52,5,12])),qy=()=>Pt(()=>import("./group-tab-CBqhy8zy.js"),__vite__mapDeps([53,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,43,44,54])),e2=()=>Pt(()=>import("./library-tab-5azEcqzs.js"),__vite__mapDeps([55,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,34,36,24,26,51,52,41,42,56])),t2=()=>Pt(()=>import("./task-tab-DVu0qD_G.js"),__vite__mapDeps([57,1,2,32,7,8,33,58])),n2=()=>Pt(()=>import("./stats-tab-BaWY3sVM.js"),__vite__mapDeps([59,1,2,32,7,8,33,14,30,22,23,60])),r2={name:"browser",params:window.CODEX.LAST_ROUTE||zc.route},o2=[{name:"home",path:"/",redirect:r2},{name:"reader",path:"/c/:pk/:page",component:_y},{name:"browser",path:"/:group/:pks/:page",component:Zy},{name:"admin",path:"/admin",component:Yy,redirect:"/admin/libraries",children:[{name:"admin-users",path:"users",component:Jy},{name:"admin-groups",path:"groups",component:qy},{name:"admin-libraries",path:"libraries",component:e2},{name:"admin-flags",path:"flags",component:Qy},{name:"admin-tasks",path:"tasks",component:t2},{name:"admin-stats",path:"stats",component:n2}]},{name:"error",path:"/error/:code",component:Xy,props:!0},{name:"404",path:"/:pathMatch(.*)*",redirect:"/error/404"}],Ne=new jy({history:Sy(window.CODEX.APP_PATH),routes:o2});var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sf(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var co={exports:{}};/**
7
7
  * @license
8
8
  * Lodash <https://lodash.com/>
9
9
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
@@ -1,9 +1,9 @@
1
- const __vite__fileDeps=["assets/admin-D5JDmLDy.js","assets/admin-drawer-panel-BF-h3Wm0.js","assets/admin-drawer-panel-mne3FIj6.css","assets/settings-drawer-BOTI_tHr.js","assets/unauthorized-D5-FvA2_.js","assets/change-password-dialog-BCYw5K7E.js","assets/VTextField-HAAxrpNi.js","assets/VDialog-D6HUFV6a.js","assets/VDialog-lQ13FnRR.css","assets/VSelectionControl-BOKIwNZb.js","assets/VSelectionControl-BFq--28I.css","assets/VTextField-BssVoDhB.css","assets/change-password-dialog-0u6IJA87.css","assets/unauthorized-CibJYD8o.css","assets/copy-to-clipboard-DoUvDJVx.js","assets/settings-drawer-nZ9HvKSZ.css","assets/VWindowItem-aal6-Uv4.js","assets/VWindowItem-ByIod57Y.css","assets/VSlideGroup-C3XgVg2T.js","assets/VSlideGroup-Dk_1upHt.css","assets/admin-B8Bp2Uih.css","assets/browser-VhFkImB_.js","assets/VTable-CrIiBr9q.js","assets/VTable-DflzroDq.css","assets/VCheckbox-B3vCf1Vu.js","assets/VCheckboxBtn-Cj6bUYmw.js","assets/VCheckbox-CMKdyl0R.css","assets/pagination-toolbar-DEgDOzzp.js","assets/VSelect-ou2Q9UaN.js","assets/VSelect-ARDhJiQK.css","assets/to-case-CnnzURtN.js","assets/pagination-toolbar-BLUoVz2y.css","assets/confirm-dialog-c9JOSGSy.js","assets/confirm-dialog-BmhedLCx.css","assets/VCombobox-wIqJY8no.js","assets/filter-BOnVoHTU.js","assets/VCombobox-BksEr4D_.css","assets/browser-B1-dPld9.css","assets/http-error-DBQycf8i.js","assets/http-error-DKulXuTl.css","assets/reader-ClcgSG93.js","assets/VExpansionPanels-BUJaYmzY.js","assets/VExpansionPanels-DsEXVcCv.css","assets/VRadioGroup-CayclHra.js","assets/VRadioGroup-i2qP9Wu9.css","assets/reader-CqXFa_gE.css","assets/flag-tab-IniE-dLy.js","assets/flag-tab-BNwbLfrN.css","assets/user-tab-pzFjrggM.js","assets/relation-chips-2vga5ApB.js","assets/relation-chips-Bsc-gUxE.css","assets/datetime-column-D-6LPKdI.js","assets/datetime-column-DeCthByU.css","assets/group-tab-RPa8XC0J.js","assets/group-tab-CBKuS3Iv.css","assets/library-tab-C5trLvkq.js","assets/library-tab-BN0SfPcH.css","assets/task-tab-B8sYV6Ia.js","assets/task-tab-1XiWn9xP.css","assets/stats-tab-CBz_jhmH.js","assets/stats-tab-B4yKuY0c.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
- import{n as Hn,v as dm,i as It,u as pn,r as so,w as pm,a as Qi,g as Ic,o as Pc,b as Oc,c as Cc,s as Mc,d as gm,e as Dc,f as en,h as De,j as Fc,p as sr,k as tn,H as Wt,l as Ji,m as Ui,C as ar,q as vm,t as qi,x as Hc,y as mm,z as ym,A as Sm,B as Vi,D as xm,E as es,F as Bc,G as kc,I as bm,J as Nu,K as no,L as Em,M as Tm,N as Lm,O as Rm,P as wm,Q as Nc,R as Am,S as or,T as Im,U as Pm,V as $u,W as Om,_ as Cm,X as Mm,Y as Dm,Z as Fm,$ as Hm,a0 as Bm,a1 as Wu,a2 as Mn,a3 as km,a4 as Nm,a5 as $m,a6 as Wm,a7 as Gm,a8 as Um,a9 as Vm,aa as Km,ab as Gu,ac as Uu,ad as Vu,ae as Ku,af as ju,ag as jm,ah as zm,ai as Ym}from"./admin-drawer-panel-BF-h3Wm0.js";function Ki(n,r={},o){for(const i in n){const a=n[i],c=o?`${o}:${i}`:i;typeof a=="object"&&a!==null?Ki(a,r,c):typeof a=="function"&&(r[c]=a)}return r}const Zm={run:n=>n()},Xm=()=>Zm,$c=typeof console.createTask<"u"?console.createTask:Xm;function _m(n,r){const o=r.shift(),i=$c(o);return n.reduce((a,c)=>a.then(()=>i.run(()=>c(...r))),Promise.resolve())}function Qm(n,r){const o=r.shift(),i=$c(o);return Promise.all(n.map(a=>i.run(()=>a(...r))))}function Hi(n,r){for(const o of[...n])o(r)}class Jm{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(r,o,i={}){if(!r||typeof o!="function")return()=>{};const a=r;let c;for(;this._deprecatedHooks[r];)c=this._deprecatedHooks[r],r=c.to;if(c&&!i.allowDeprecated){let f=c.message;f||(f=`${a} hook has been deprecated`+(c.to?`, please use ${c.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(f)||(console.warn(f),this._deprecatedMessages.add(f))}if(!o.name)try{Object.defineProperty(o,"name",{get:()=>"_"+r.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[r]=this._hooks[r]||[],this._hooks[r].push(o),()=>{o&&(this.removeHook(r,o),o=void 0)}}hookOnce(r,o){let i,a=(...c)=>(typeof i=="function"&&i(),i=void 0,a=void 0,o(...c));return i=this.hook(r,a),i}removeHook(r,o){if(this._hooks[r]){const i=this._hooks[r].indexOf(o);i!==-1&&this._hooks[r].splice(i,1),this._hooks[r].length===0&&delete this._hooks[r]}}deprecateHook(r,o){this._deprecatedHooks[r]=typeof o=="string"?{to:o}:o;const i=this._hooks[r]||[];delete this._hooks[r];for(const a of i)this.hook(r,a)}deprecateHooks(r){Object.assign(this._deprecatedHooks,r);for(const o in r)this.deprecateHook(o,r[o])}addHooks(r){const o=Ki(r),i=Object.keys(o).map(a=>this.hook(a,o[a]));return()=>{for(const a of i.splice(0,i.length))a()}}removeHooks(r){const o=Ki(r);for(const i in o)this.removeHook(i,o[i])}removeAllHooks(){for(const r in this._hooks)delete this._hooks[r]}callHook(r,...o){return o.unshift(r),this.callHookWith(_m,r,...o)}callHookParallel(r,...o){return o.unshift(r),this.callHookWith(Qm,r,...o)}callHookWith(r,o,...i){const a=this._before||this._after?{name:o,args:i,context:{}}:void 0;this._before&&Hi(this._before,a);const c=r(o in this._hooks?[...this._hooks[o]]:[],i);return c instanceof Promise?c.finally(()=>{this._after&&a&&Hi(this._after,a)}):(this._after&&a&&Hi(this._after,a),c)}beforeEach(r){return this._before=this._before||[],this._before.push(r),()=>{if(this._before!==void 0){const o=this._before.indexOf(r);o!==-1&&this._before.splice(o,1)}}}afterEach(r){return this._after=this._after||[],this._after.push(r),()=>{if(this._after!==void 0){const o=this._after.indexOf(r);o!==-1&&this._after.splice(o,1)}}}}function qm(){return new Jm}function e0(n){return Array.isArray(n)?n:[n]}const t0=["title","titleTemplate","script","style","noscript"],ro=["base","meta","link","style","script","noscript"],n0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],r0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Wc=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],o0=typeof window<"u";function ts(n){let r=9;for(let o=0;o<n.length;)r=Math.imul(r^n.charCodeAt(o++),9**9);return((r^r>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function zu(n){return n._h||ts(n._d?n._d:`${n.tag}:${n.textContent||n.innerHTML||""}:${Object.entries(n.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`)}function Gc(n,r){const{props:o,tag:i}=n;if(r0.includes(i))return i;if(i==="link"&&o.rel==="canonical")return"canonical";if(o.charset)return"charset";const a=["id"];i==="meta"&&a.push("name","property","http-equiv");for(const c of a)if(typeof o[c]<"u"){const f=String(o[c]);return`${i}:${c}:${f}`}return!1}function Yu(n,r){return n==null?r||null:typeof n=="function"?n(r):n}async function i0(n,r,o){const i={tag:n,props:await Uc(typeof r=="object"&&typeof r!="function"&&!(r instanceof Promise)?{...r}:{[["script","noscript","style"].includes(n)?"innerHTML":"textContent"]:r},["templateParams","titleTemplate"].includes(n))};return Wc.forEach(a=>{const c=typeof i.props[a]<"u"?i.props[a]:o[a];typeof c<"u"&&((!["innerHTML","textContent","children"].includes(a)||t0.includes(i.tag))&&(i[a==="children"?"innerHTML":a]=c),delete i.props[a])}),i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(a=>({...i,props:{...i.props,content:a}})):i}function s0(n,r){var i;const o=n==="class"?" ":";";return typeof r=="object"&&!Array.isArray(r)&&(r=Object.entries(r).filter(([,a])=>a).map(([a,c])=>n==="style"?`${a}:${c}`:a)),(i=String(Array.isArray(r)?r.join(o):r))==null?void 0:i.split(o).filter(a=>a.trim()).filter(Boolean).join(o)}async function Uc(n,r){for(const o of Object.keys(n)){if(["class","style"].includes(o)){n[o]=s0(o,n[o]);continue}if(n[o]instanceof Promise&&(n[o]=await n[o]),!r&&!Wc.includes(o)){const i=String(n[o]),a=o.startsWith("data-");i==="true"||i===""?n[o]=a?"true":!0:n[o]||(a&&i==="false"?n[o]="false":delete n[o])}}return n}const a0=10;async function u0(n){const r=[];return Object.entries(n.resolvedInput).filter(([o,i])=>typeof i<"u"&&n0.includes(o)).forEach(([o,i])=>{const a=e0(i);r.push(...a.map(c=>i0(o,c,n)).flat())}),(await Promise.all(r)).flat().filter(Boolean).map((o,i)=>(o._e=n._i,n.mode&&(o._m=n.mode),o._p=(n._i<<a0)+i,o))}const Zu={base:-10,title:10},Xu={critical:-80,high:-10,low:20};function ao(n){let r=100;const o=n.tagPriority;return typeof o=="number"?o:(n.tag==="meta"?(n.props["http-equiv"]==="content-security-policy"&&(r=-30),n.props.charset&&(r=-20),n.props.name==="viewport"&&(r=-15)):n.tag==="link"&&n.props.rel==="preconnect"?r=20:n.tag in Zu&&(r=Zu[n.tag]),typeof o=="string"&&o in Xu?r+Xu[o]:r)}const c0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],_u=["onload","onerror","onabort","onprogress","onloadstart"],Qt="%separator";function oo(n,r,o){if(typeof n!="string"||!n.includes("%"))return n;function i(f){let d;return["s","pageTitle"].includes(f)?d=r.pageTitle:f.includes(".")?d=f.split(".").reduce((h,v)=>h&&h[v]||void 0,r):d=r[f],typeof d<"u"?(d||"").replace(/"/g,'\\"'):!1}let a=n;try{a=decodeURI(n)}catch{}return(a.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(f=>{const d=i(f.slice(1));typeof d=="string"&&(n=n.replace(new RegExp(`\\${f}(\\W|$)`,"g"),(h,v)=>`${d}${v}`).trim())}),n.includes(Qt)&&(n.endsWith(Qt)&&(n=n.slice(0,-Qt.length).trim()),n.startsWith(Qt)&&(n=n.slice(Qt.length).trim()),n=n.replace(new RegExp(`\\${Qt}\\s*\\${Qt}`,"g"),Qt),n=oo(n,{separator:o},o)),n}async function f0(n,r={}){var g;const o=r.document||n.resolvedOptions.document;if(!o||!n.dirty)return;const i={shouldRender:!0,tags:[]};if(await n.hooks.callHook("dom:beforeRender",i),!i.shouldRender)return;const a=(await n.resolveTags()).map(y=>({tag:y,id:ro.includes(y.tag)?zu(y):y.tag,shouldRender:!0}));let c=n._dom;if(!c){c={elMap:{htmlAttrs:o.documentElement,bodyAttrs:o.body}};for(const y of["body","head"]){const S=(g=o[y])==null?void 0:g.children,b=[];for(const R of[...S].filter(E=>ro.includes(E.tagName.toLowerCase()))){const E={tag:R.tagName.toLowerCase(),props:await Uc(R.getAttributeNames().reduce((I,C)=>({...I,[C]:R.getAttribute(C)}),{})),innerHTML:R.innerHTML};let L=1,P=Gc(E);for(;P&&b.find(I=>I._d===P);)P=`${P}:${L++}`;E._d=P||void 0,b.push(E),c.elMap[R.getAttribute("data-hid")||zu(E)]=R}}}c.pendingSideEffects={...c.sideEffects||{}},c.sideEffects={};function f(y,S,b){const R=`${y}:${S}`;c.sideEffects[R]=b,delete c.pendingSideEffects[R]}function d({id:y,$el:S,tag:b}){const R=b.tag.endsWith("Attrs");c.elMap[y]=S,R||(["textContent","innerHTML"].forEach(E=>{b[E]&&b[E]!==S[E]&&(S[E]=b[E])}),f(y,"el",()=>{var E;(E=c.elMap[y])==null||E.remove(),delete c.elMap[y]}));for(const[E,L]of Object.entries(b._eventHandlers||{}))S.getAttribute(`data-${E}`)!==""&&((b.tag==="bodyAttrs"?o.defaultView:S).addEventListener(E.replace("on",""),L.bind(S)),S.setAttribute(`data-${E}`,""));Object.entries(b.props).forEach(([E,L])=>{const P=`attr:${E}`;if(E==="class")for(const I of(L||"").split(" ").filter(Boolean))R&&f(y,`${P}:${I}`,()=>S.classList.remove(I)),!S.classList.contains(I)&&S.classList.add(I);else if(E==="style")for(const I of(L||"").split(";").filter(Boolean)){const[C,...N]=I.split(":").map(U=>U.trim());f(y,`${P}:${I}:${C}`,()=>{S.style.removeProperty(C)}),S.style.setProperty(C,N.join(":"))}else S.getAttribute(E)!==L&&S.setAttribute(E,L===!0?"":String(L)),R&&f(y,P,()=>S.removeAttribute(E))})}const h=[],v={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const y of a){const{tag:S,shouldRender:b,id:R}=y;if(b){if(S.tag==="title"){o.title=S.textContent;continue}y.$el=y.$el||c.elMap[R],y.$el?d(y):ro.includes(S.tag)&&h.push(y)}}for(const y of h){const S=y.tag.tagPosition||"head";y.$el=o.createElement(y.tag.tag),d(y),v[S]=v[S]||o.createDocumentFragment(),v[S].appendChild(y.$el)}for(const y of a)await n.hooks.callHook("dom:renderTag",y,o,f);v.head&&o.head.appendChild(v.head),v.bodyOpen&&o.body.insertBefore(v.bodyOpen,o.body.firstChild),v.bodyClose&&o.body.appendChild(v.bodyClose),Object.values(c.pendingSideEffects).forEach(y=>y()),n._dom=c,n.dirty=!1,await n.hooks.callHook("dom:rendered",{renders:a})}async function l0(n,r={}){const o=r.delayFn||(i=>setTimeout(i,10));return n._domUpdatePromise=n._domUpdatePromise||new Promise(i=>o(async()=>{await f0(n,r),delete n._domUpdatePromise,i()}))}function h0(n){return r=>{var i,a;const o=((a=(i=r.resolvedOptions.document)==null?void 0:i.head.querySelector('script[id="unhead:payload"]'))==null?void 0:a.innerHTML)||!1;return o&&r.push(JSON.parse(o)),{mode:"client",hooks:{"entries:updated":function(c){l0(c,n)}}}}}const d0=["templateParams","htmlAttrs","bodyAttrs"],p0={hooks:{"tag:normalise":function({tag:n}){["hid","vmid","key"].forEach(i=>{n.props[i]&&(n.key=n.props[i],delete n.props[i])});const o=Gc(n)||(n.key?`${n.tag}:${n.key}`:!1);o&&(n._d=o)},"tags:resolve":function(n){const r={};n.tags.forEach(i=>{const a=(i.key?`${i.tag}:${i.key}`:i._d)||i._p,c=r[a];if(c){let d=i==null?void 0:i.tagDuplicateStrategy;if(!d&&d0.includes(i.tag)&&(d="merge"),d==="merge"){const h=c.props;["class","style"].forEach(v=>{h[v]&&(i.props[v]?(v==="style"&&!h[v].endsWith(";")&&(h[v]+=";"),i.props[v]=`${h[v]} ${i.props[v]}`):i.props[v]=h[v])}),r[a].props={...h,...i.props};return}else if(i._e===c._e){c._duped=c._duped||[],i._d=`${c._d}:${c._duped.length+1}`,c._duped.push(i);return}else if(ao(i)>ao(c))return}const f=Object.keys(i.props).length+(i.innerHTML?1:0)+(i.textContent?1:0);if(ro.includes(i.tag)&&f===0){delete r[a];return}r[a]=i});const o=[];Object.values(r).forEach(i=>{const a=i._duped;delete i._duped,o.push(i),a&&o.push(...a)}),n.tags=o,n.tags=n.tags.filter(i=>!(i.tag==="meta"&&(i.props.name||i.props.property)&&!i.props.content))}}},g0={mode:"server",hooks:{"tags:resolve":function(n){const r={};n.tags.filter(o=>["titleTemplate","templateParams","title"].includes(o.tag)&&o._m==="server").forEach(o=>{r[o.tag]=o.tag.startsWith("title")?o.textContent:o.props}),Object.keys(r).length&&n.tags.push({tag:"script",innerHTML:JSON.stringify(r),props:{id:"unhead:payload",type:"application/json"}})}}},v0=["script","link","bodyAttrs"],m0=n=>({hooks:{"tags:resolve":function(r){for(const o of r.tags.filter(i=>v0.includes(i.tag)))Object.entries(o.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"&&(n.ssr&&_u.includes(i)?o.props[i]=`this.dataset.${i}fired = true`:delete o.props[i],o._eventHandlers=o._eventHandlers||{},o._eventHandlers[i]=a)}),n.ssr&&o._eventHandlers&&(o.props.src||o.props.href)&&(o.key=o.key||ts(o.props.src||o.props.href))},"dom:renderTag":function({$el:r,tag:o}){var i,a;for(const c of Object.keys((r==null?void 0:r.dataset)||{}).filter(f=>_u.some(d=>`${d}fired`===f))){const f=c.replace("fired","");(a=(i=o._eventHandlers)==null?void 0:i[f])==null||a.call(r,new Event(f.replace("on","")))}}}}),y0=["link","style","script","noscript"],S0={hooks:{"tag:normalise":({tag:n})=>{n.key&&y0.includes(n.tag)&&(n.props["data-hid"]=n._h=ts(n.key))}}},x0={hooks:{"tags:resolve":n=>{const r=o=>{var i;return(i=n.tags.find(a=>a._d===o))==null?void 0:i._p};for(const{prefix:o,offset:i}of c0)for(const a of n.tags.filter(c=>typeof c.tagPriority=="string"&&c.tagPriority.startsWith(o))){const c=r(a.tagPriority.replace(o,""));typeof c<"u"&&(a._p=c+i)}n.tags.sort((o,i)=>o._p-i._p).sort((o,i)=>ao(o)-ao(i))}}},b0={meta:"content",link:"href",htmlAttrs:"lang"},E0=n=>({hooks:{"tags:resolve":r=>{var d;const{tags:o}=r,i=(d=o.find(h=>h.tag==="title"))==null?void 0:d.textContent,a=o.findIndex(h=>h.tag==="templateParams"),c=a!==-1?o[a].props:{},f=c.separator||"|";delete c.separator,c.pageTitle=oo(c.pageTitle||i||"",c,f);for(const h of o.filter(v=>v.processTemplateParams!==!1)){const v=b0[h.tag];v&&typeof h.props[v]=="string"?h.props[v]=oo(h.props[v],c,f):(h.processTemplateParams===!0||["titleTemplate","title"].includes(h.tag))&&["innerHTML","textContent"].forEach(g=>{typeof h[g]=="string"&&(h[g]=oo(h[g],c,f))})}n._templateParams=c,n._separator=f,r.tags=o.filter(h=>h.tag!=="templateParams")}}}),T0={hooks:{"tags:resolve":n=>{const{tags:r}=n;let o=r.findIndex(a=>a.tag==="titleTemplate");const i=r.findIndex(a=>a.tag==="title");if(i!==-1&&o!==-1){const a=Yu(r[o].textContent,r[i].textContent);a!==null?r[i].textContent=a||r[i].textContent:delete r[i]}else if(o!==-1){const a=Yu(r[o].textContent);a!==null&&(r[o].textContent=a,r[o].tag="title",o=-1)}o!==-1&&delete r[o],n.tags=r.filter(Boolean)}}},L0={hooks:{"tags:afterResolve":function(n){for(const r of n.tags)typeof r.innerHTML=="string"&&(r.innerHTML&&["application/ld+json","application/json"].includes(r.props.type)?r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"):r.innerHTML=r.innerHTML.replace(new RegExp(`</${r.tag}`,"g"),`<\\/${r.tag}`))}}};let Vc;function R0(n={}){const r=w0(n);return r.use(h0()),Vc=r}function Qu(n,r){return!n||n==="server"&&r||n==="client"&&!r}function w0(n={}){const r=qm();r.addHooks(n.hooks||{}),n.document=n.document||(o0?document:void 0);const o=!n.document,i=()=>{d.dirty=!0,r.callHook("entries:updated",d)};let a=0,c=[];const f=[],d={plugins:f,dirty:!1,resolvedOptions:n,hooks:r,headEntries(){return c},use(h){const v=typeof h=="function"?h(d):h;(!v.key||!f.some(g=>g.key===v.key))&&(f.push(v),Qu(v.mode,o)&&r.addHooks(v.hooks||{}))},push(h,v){v==null||delete v.head;const g={_i:a++,input:h,...v};return Qu(g.mode,o)&&(c.push(g),i()),{dispose(){c=c.filter(y=>y._i!==g._i),r.callHook("entries:updated",d),i()},patch(y){c=c.map(S=>(S._i===g._i&&(S.input=g.input=y),S)),i()}}},async resolveTags(){const h={tags:[],entries:[...c]};await r.callHook("entries:resolve",h);for(const v of h.entries){const g=v.resolvedInput||v.input;if(v.resolvedInput=await(v.transform?v.transform(g):g),v.resolvedInput)for(const y of await u0(v)){const S={tag:y,entry:v,resolvedOptions:d.resolvedOptions};await r.callHook("tag:normalise",S),h.tags.push(S.tag)}}return await r.callHook("tags:beforeResolve",h),await r.callHook("tags:resolve",h),await r.callHook("tags:afterResolve",h),h.tags},ssr:o};return[p0,g0,m0,S0,x0,E0,T0,L0,...(n==null?void 0:n.plugins)||[]].forEach(h=>d.use(h)),d.hooks.callHook("init",d),d}function A0(){return Vc}const Kc=dm.startsWith("3");function I0(n){return typeof n=="function"?n():pn(n)}function uo(n,r=""){if(n instanceof Promise)return n;const o=I0(n);return!n||!o?o:Array.isArray(o)?o.map(i=>uo(i,r)):typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>i==="titleTemplate"||i.startsWith("on")?[i,pn(a)]:[i,uo(a,i)])):o}const P0={hooks:{"entries:resolve":function(n){for(const r of n.entries)r.resolvedInput=uo(r.input)}}},jc="usehead";function O0(n){return{install(o){Kc&&(o.config.globalProperties.$unhead=n,o.config.globalProperties.$head=n,o.provide(jc,n))}}.install}function C0(n={}){n.domDelayFn=n.domDelayFn||(o=>Hn(()=>setTimeout(()=>o(),0)));const r=R0(n);return r.use(P0),r.install=O0(r),r}const Ju=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qu="__unhead_injection_handler__";function M0(){if(qu in Ju)return Ju[qu]();const n=It(jc);return n||A0()}function D0(n,r={}){const o=r.head||M0();if(o)return o.ssr?o.push(n,r):F0(o,n,r)}function F0(n,r,o={}){const i=so(!1),a=so({});pm(()=>{a.value=i.value?{}:uo(r)});const c=n.push(a.value,o);return Qi(a,d=>{c.patch(d)}),Ic()&&(Pc(()=>{c.dispose()}),Oc(()=>{i.value=!0}),Cc(()=>{i.value=!1})),c}const H0={created(){let n=!1;if(Kc){const r=Ic();if(!r)return;const o=r.type;if(!o||!("head"in o))return;n=typeof o.head=="function"?()=>o.head.call(r.proxy):o.head}else{const r=this.$options.head;r&&(n=typeof r=="function"?()=>r.call(this):r)}n&&D0(n)}},B0="drag-scroller-disable",k0=(()=>{const n=new WeakMap;return{mounted(r,o){let i=!1;const{onlyX:a,onlyY:c,disablechild:f}=o.modifiers,d=o.value??{},h=new Event("scrollStart",{bubbles:!0}),v=new Event("scrollMoving",{bubbles:!0}),g=new Event("scrollEnd",{bubbles:!0});d.hideScrollbar===!0&&(r.style.overflow="hidden");const y=E=>{if(f)return E===r;for(;E&&E.parentNode;){if(E&&E!=null&&E.hasAttribute(B0))return!1;if(E===r)return!0;E=E.parentNode}return!1},S=E=>{i=y(E.target),r.dispatchEvent(h),i&&d!=null&&d.startScroll&&typeof(d==null?void 0:d.startScroll)=="function"&&d.startScroll(E)},b=E=>{r.dispatchEvent(g),i&&d!=null&&d.endScroll&&typeof(d==null?void 0:d.endScroll)=="function"&&d.endScroll(E),i=!1},R=E=>{if(!i)return!1;r.dispatchEvent(v),d!=null&&d.onScrolling&&typeof(d==null?void 0:d.onScrolling)=="function"&&d.onScrolling(E),E.stopPropagation&&E.stopPropagation(),E.preventDefault&&E.preventDefault(),E.cancelBubble=!0,E.returnValue=!1;const L=(d==null?void 0:d.speed)||1,P=d.reverseDirection?E.movementX*L:-E.movementX*L,I=d.reverseDirection?E.movementY*L:-E.movementY*L;a?r.scrollLeft+=P:(c||(r.scrollLeft+=P),r.scrollTop+=I)};n.set(r,{dragStart:S,dragEnd:b,drag:R}),r.addEventListener("pointerdown",S),addEventListener("pointerup",b),addEventListener("pointermove",R)},unmounted(r){const{dragStart:o,dragEnd:i,drag:a}=n.get(r);r.removeEventListener("pointerdown",o),removeEventListener("pointerup",i),removeEventListener("pointermove",a)}}})(),N0={install(n){n.directive("drag-scroller",k0)}},zc={bookmarkFilter:[{title:"All",value:"",default:!0},{title:"Unread",value:"UNREAD"},{title:"In Progress",value:"IN_PROGRESS"},{title:"Read",value:"READ"}],breadcrumbs:[{group:"r",pks:"0",page:1}],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"}],searchResultsLimit:100,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:"filename"},{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"}],orderReverse:!1,vuetifyNullCode:-1,groupNames:{p:"Publishers",i:"Imprints",s:"Series",v:"Volumes",c:"Issues",f:"Folders",a:"Story Arcs"},identifierTypes:{comicvine:"Comic Vine",comixology:"Comixology",asin:"Amazon",gtin:"GTIN",isbn:"ISBN",upc:"UPC"},dynamicCovers:!0,customCovers:!0,twentyFourHourTime:!1},$0={finishOnLastPage:!0,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:""}],readRtlInReverse:!1,twoPages:!1},W0={LIBRARY_CHANGED:"LIBRARY_CHANGED",LIBRARIAN_STATUS:"LIBRARIAN_STATUS",FAILED_IMPORTS:"FAILED_IMPORTS"},Ie={browser:zc,reader:$0,websockets:W0},G0="modulepreload",U0=function(n){return window.CODEX.APP_PATH + "static"+"/"+n},ec={},Pt=function(r,o,i){let a=Promise.resolve();if(o&&o.length>0){document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),f=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));a=Promise.all(o.map(d=>{if(d=U0(d),d in ec)return;ec[d]=!0;const h=d.endsWith(".css"),v=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${v}`))return;const g=document.createElement("link");if(g.rel=h?"stylesheet":G0,h||(g.as="script",g.crossOrigin=""),g.href=d,f&&g.setAttribute("nonce",f),document.head.appendChild(g),h)return new Promise((y,S)=>{g.addEventListener("load",y),g.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${d}`)))})}))}return a.then(()=>r()).catch(c=>{const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=c,window.dispatchEvent(f),!f.defaultPrevented)throw c})};/*!
1
+ const __vite__fileDeps=["assets/admin-37fN97_d.js","assets/admin-drawer-panel-CFthvbMb.js","assets/admin-drawer-panel-mne3FIj6.css","assets/settings-drawer-DATmeafe.js","assets/unauthorized-xWMjiI8M.js","assets/change-password-dialog-CdCjAlM3.js","assets/VTextField-DuOs5usq.js","assets/VDialog-xrkpB5lc.js","assets/VDialog-lQ13FnRR.css","assets/VSelectionControl-DocEa9g1.js","assets/VSelectionControl-BFq--28I.css","assets/VTextField-BssVoDhB.css","assets/change-password-dialog-0u6IJA87.css","assets/unauthorized-CibJYD8o.css","assets/copy-to-clipboard-DoUvDJVx.js","assets/settings-drawer-nZ9HvKSZ.css","assets/VWindowItem-C3SaotR1.js","assets/VWindowItem-ByIod57Y.css","assets/VSlideGroup-w7zv3wT_.js","assets/VSlideGroup-Dk_1upHt.css","assets/admin-B8Bp2Uih.css","assets/browser-CA_2XCnV.js","assets/VTable-Bm3ZZq7k.js","assets/VTable-DflzroDq.css","assets/VCheckbox-BK0IPHyB.js","assets/VCheckboxBtn-DbVzgq3g.js","assets/VCheckbox-CMKdyl0R.css","assets/pagination-toolbar-CfSLqHFH.js","assets/VSelect-C768JtGg.js","assets/VSelect-ARDhJiQK.css","assets/to-case-nvRvwQgU.js","assets/pagination-toolbar-BLUoVz2y.css","assets/confirm-dialog-C-TnajF6.js","assets/confirm-dialog-BmhedLCx.css","assets/VCombobox-DRNxfPeq.js","assets/filter-Tm2kUX1m.js","assets/VCombobox-BksEr4D_.css","assets/browser-BlycPHgZ.css","assets/http-error-MPj9N9no.js","assets/http-error-DKulXuTl.css","assets/reader-CFLp5Avy.js","assets/VExpansionPanels-dtwXHEmN.js","assets/VExpansionPanels-DsEXVcCv.css","assets/VRadioGroup-DUhU0d2J.js","assets/VRadioGroup-i2qP9Wu9.css","assets/reader-CqXFa_gE.css","assets/flag-tab-CEyOjZFp.js","assets/flag-tab-BNwbLfrN.css","assets/user-tab-BhdZJ6QU.js","assets/relation-chips-CFQRvVd2.js","assets/relation-chips-Bsc-gUxE.css","assets/datetime-column-DwrIUx_h.js","assets/datetime-column-DeCthByU.css","assets/group-tab-CBqhy8zy.js","assets/group-tab-CBKuS3Iv.css","assets/library-tab-5azEcqzs.js","assets/library-tab-BN0SfPcH.css","assets/task-tab-DVu0qD_G.js","assets/task-tab-1XiWn9xP.css","assets/stats-tab-BaWY3sVM.js","assets/stats-tab-B4yKuY0c.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
+ import{n as Hn,v as dm,i as It,u as pn,r as so,w as pm,a as Qi,g as Ic,o as Pc,b as Oc,c as Cc,s as Mc,d as gm,e as Dc,f as en,h as De,j as Fc,p as sr,k as tn,H as Wt,l as Ji,m as Ui,C as ar,q as vm,t as qi,x as Hc,y as mm,z as ym,A as Sm,B as Vi,D as xm,E as es,F as Bc,G as kc,I as bm,J as Nu,K as no,L as Em,M as Tm,N as Lm,O as Rm,P as wm,Q as Nc,R as Am,S as or,T as Im,U as Pm,V as $u,W as Om,_ as Cm,X as Mm,Y as Dm,Z as Fm,$ as Hm,a0 as Bm,a1 as Wu,a2 as Mn,a3 as km,a4 as Nm,a5 as $m,a6 as Wm,a7 as Gm,a8 as Um,a9 as Vm,aa as Km,ab as Gu,ac as Uu,ad as Vu,ae as Ku,af as ju,ag as jm,ah as zm,ai as Ym}from"./admin-drawer-panel-CFthvbMb.js";function Ki(n,r={},o){for(const i in n){const a=n[i],c=o?`${o}:${i}`:i;typeof a=="object"&&a!==null?Ki(a,r,c):typeof a=="function"&&(r[c]=a)}return r}const Zm={run:n=>n()},Xm=()=>Zm,$c=typeof console.createTask<"u"?console.createTask:Xm;function _m(n,r){const o=r.shift(),i=$c(o);return n.reduce((a,c)=>a.then(()=>i.run(()=>c(...r))),Promise.resolve())}function Qm(n,r){const o=r.shift(),i=$c(o);return Promise.all(n.map(a=>i.run(()=>a(...r))))}function Hi(n,r){for(const o of[...n])o(r)}class Jm{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(r,o,i={}){if(!r||typeof o!="function")return()=>{};const a=r;let c;for(;this._deprecatedHooks[r];)c=this._deprecatedHooks[r],r=c.to;if(c&&!i.allowDeprecated){let f=c.message;f||(f=`${a} hook has been deprecated`+(c.to?`, please use ${c.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(f)||(console.warn(f),this._deprecatedMessages.add(f))}if(!o.name)try{Object.defineProperty(o,"name",{get:()=>"_"+r.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[r]=this._hooks[r]||[],this._hooks[r].push(o),()=>{o&&(this.removeHook(r,o),o=void 0)}}hookOnce(r,o){let i,a=(...c)=>(typeof i=="function"&&i(),i=void 0,a=void 0,o(...c));return i=this.hook(r,a),i}removeHook(r,o){if(this._hooks[r]){const i=this._hooks[r].indexOf(o);i!==-1&&this._hooks[r].splice(i,1),this._hooks[r].length===0&&delete this._hooks[r]}}deprecateHook(r,o){this._deprecatedHooks[r]=typeof o=="string"?{to:o}:o;const i=this._hooks[r]||[];delete this._hooks[r];for(const a of i)this.hook(r,a)}deprecateHooks(r){Object.assign(this._deprecatedHooks,r);for(const o in r)this.deprecateHook(o,r[o])}addHooks(r){const o=Ki(r),i=Object.keys(o).map(a=>this.hook(a,o[a]));return()=>{for(const a of i.splice(0,i.length))a()}}removeHooks(r){const o=Ki(r);for(const i in o)this.removeHook(i,o[i])}removeAllHooks(){for(const r in this._hooks)delete this._hooks[r]}callHook(r,...o){return o.unshift(r),this.callHookWith(_m,r,...o)}callHookParallel(r,...o){return o.unshift(r),this.callHookWith(Qm,r,...o)}callHookWith(r,o,...i){const a=this._before||this._after?{name:o,args:i,context:{}}:void 0;this._before&&Hi(this._before,a);const c=r(o in this._hooks?[...this._hooks[o]]:[],i);return c instanceof Promise?c.finally(()=>{this._after&&a&&Hi(this._after,a)}):(this._after&&a&&Hi(this._after,a),c)}beforeEach(r){return this._before=this._before||[],this._before.push(r),()=>{if(this._before!==void 0){const o=this._before.indexOf(r);o!==-1&&this._before.splice(o,1)}}}afterEach(r){return this._after=this._after||[],this._after.push(r),()=>{if(this._after!==void 0){const o=this._after.indexOf(r);o!==-1&&this._after.splice(o,1)}}}}function qm(){return new Jm}function e0(n){return Array.isArray(n)?n:[n]}const t0=["title","titleTemplate","script","style","noscript"],ro=["base","meta","link","style","script","noscript"],n0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],r0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Wc=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],o0=typeof window<"u";function ts(n){let r=9;for(let o=0;o<n.length;)r=Math.imul(r^n.charCodeAt(o++),9**9);return((r^r>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function zu(n){return n._h||ts(n._d?n._d:`${n.tag}:${n.textContent||n.innerHTML||""}:${Object.entries(n.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`)}function Gc(n,r){const{props:o,tag:i}=n;if(r0.includes(i))return i;if(i==="link"&&o.rel==="canonical")return"canonical";if(o.charset)return"charset";const a=["id"];i==="meta"&&a.push("name","property","http-equiv");for(const c of a)if(typeof o[c]<"u"){const f=String(o[c]);return`${i}:${c}:${f}`}return!1}function Yu(n,r){return n==null?r||null:typeof n=="function"?n(r):n}async function i0(n,r,o){const i={tag:n,props:await Uc(typeof r=="object"&&typeof r!="function"&&!(r instanceof Promise)?{...r}:{[["script","noscript","style"].includes(n)?"innerHTML":"textContent"]:r},["templateParams","titleTemplate"].includes(n))};return Wc.forEach(a=>{const c=typeof i.props[a]<"u"?i.props[a]:o[a];typeof c<"u"&&((!["innerHTML","textContent","children"].includes(a)||t0.includes(i.tag))&&(i[a==="children"?"innerHTML":a]=c),delete i.props[a])}),i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(a=>({...i,props:{...i.props,content:a}})):i}function s0(n,r){var i;const o=n==="class"?" ":";";return typeof r=="object"&&!Array.isArray(r)&&(r=Object.entries(r).filter(([,a])=>a).map(([a,c])=>n==="style"?`${a}:${c}`:a)),(i=String(Array.isArray(r)?r.join(o):r))==null?void 0:i.split(o).filter(a=>a.trim()).filter(Boolean).join(o)}async function Uc(n,r){for(const o of Object.keys(n)){if(["class","style"].includes(o)){n[o]=s0(o,n[o]);continue}if(n[o]instanceof Promise&&(n[o]=await n[o]),!r&&!Wc.includes(o)){const i=String(n[o]),a=o.startsWith("data-");i==="true"||i===""?n[o]=a?"true":!0:n[o]||(a&&i==="false"?n[o]="false":delete n[o])}}return n}const a0=10;async function u0(n){const r=[];return Object.entries(n.resolvedInput).filter(([o,i])=>typeof i<"u"&&n0.includes(o)).forEach(([o,i])=>{const a=e0(i);r.push(...a.map(c=>i0(o,c,n)).flat())}),(await Promise.all(r)).flat().filter(Boolean).map((o,i)=>(o._e=n._i,n.mode&&(o._m=n.mode),o._p=(n._i<<a0)+i,o))}const Zu={base:-10,title:10},Xu={critical:-80,high:-10,low:20};function ao(n){let r=100;const o=n.tagPriority;return typeof o=="number"?o:(n.tag==="meta"?(n.props["http-equiv"]==="content-security-policy"&&(r=-30),n.props.charset&&(r=-20),n.props.name==="viewport"&&(r=-15)):n.tag==="link"&&n.props.rel==="preconnect"?r=20:n.tag in Zu&&(r=Zu[n.tag]),typeof o=="string"&&o in Xu?r+Xu[o]:r)}const c0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],_u=["onload","onerror","onabort","onprogress","onloadstart"],Qt="%separator";function oo(n,r,o){if(typeof n!="string"||!n.includes("%"))return n;function i(f){let d;return["s","pageTitle"].includes(f)?d=r.pageTitle:f.includes(".")?d=f.split(".").reduce((h,v)=>h&&h[v]||void 0,r):d=r[f],typeof d<"u"?(d||"").replace(/"/g,'\\"'):!1}let a=n;try{a=decodeURI(n)}catch{}return(a.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(f=>{const d=i(f.slice(1));typeof d=="string"&&(n=n.replace(new RegExp(`\\${f}(\\W|$)`,"g"),(h,v)=>`${d}${v}`).trim())}),n.includes(Qt)&&(n.endsWith(Qt)&&(n=n.slice(0,-Qt.length).trim()),n.startsWith(Qt)&&(n=n.slice(Qt.length).trim()),n=n.replace(new RegExp(`\\${Qt}\\s*\\${Qt}`,"g"),Qt),n=oo(n,{separator:o},o)),n}async function f0(n,r={}){var g;const o=r.document||n.resolvedOptions.document;if(!o||!n.dirty)return;const i={shouldRender:!0,tags:[]};if(await n.hooks.callHook("dom:beforeRender",i),!i.shouldRender)return;const a=(await n.resolveTags()).map(y=>({tag:y,id:ro.includes(y.tag)?zu(y):y.tag,shouldRender:!0}));let c=n._dom;if(!c){c={elMap:{htmlAttrs:o.documentElement,bodyAttrs:o.body}};for(const y of["body","head"]){const S=(g=o[y])==null?void 0:g.children,b=[];for(const R of[...S].filter(E=>ro.includes(E.tagName.toLowerCase()))){const E={tag:R.tagName.toLowerCase(),props:await Uc(R.getAttributeNames().reduce((I,C)=>({...I,[C]:R.getAttribute(C)}),{})),innerHTML:R.innerHTML};let L=1,P=Gc(E);for(;P&&b.find(I=>I._d===P);)P=`${P}:${L++}`;E._d=P||void 0,b.push(E),c.elMap[R.getAttribute("data-hid")||zu(E)]=R}}}c.pendingSideEffects={...c.sideEffects||{}},c.sideEffects={};function f(y,S,b){const R=`${y}:${S}`;c.sideEffects[R]=b,delete c.pendingSideEffects[R]}function d({id:y,$el:S,tag:b}){const R=b.tag.endsWith("Attrs");c.elMap[y]=S,R||(["textContent","innerHTML"].forEach(E=>{b[E]&&b[E]!==S[E]&&(S[E]=b[E])}),f(y,"el",()=>{var E;(E=c.elMap[y])==null||E.remove(),delete c.elMap[y]}));for(const[E,L]of Object.entries(b._eventHandlers||{}))S.getAttribute(`data-${E}`)!==""&&((b.tag==="bodyAttrs"?o.defaultView:S).addEventListener(E.replace("on",""),L.bind(S)),S.setAttribute(`data-${E}`,""));Object.entries(b.props).forEach(([E,L])=>{const P=`attr:${E}`;if(E==="class")for(const I of(L||"").split(" ").filter(Boolean))R&&f(y,`${P}:${I}`,()=>S.classList.remove(I)),!S.classList.contains(I)&&S.classList.add(I);else if(E==="style")for(const I of(L||"").split(";").filter(Boolean)){const[C,...N]=I.split(":").map(U=>U.trim());f(y,`${P}:${I}:${C}`,()=>{S.style.removeProperty(C)}),S.style.setProperty(C,N.join(":"))}else S.getAttribute(E)!==L&&S.setAttribute(E,L===!0?"":String(L)),R&&f(y,P,()=>S.removeAttribute(E))})}const h=[],v={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const y of a){const{tag:S,shouldRender:b,id:R}=y;if(b){if(S.tag==="title"){o.title=S.textContent;continue}y.$el=y.$el||c.elMap[R],y.$el?d(y):ro.includes(S.tag)&&h.push(y)}}for(const y of h){const S=y.tag.tagPosition||"head";y.$el=o.createElement(y.tag.tag),d(y),v[S]=v[S]||o.createDocumentFragment(),v[S].appendChild(y.$el)}for(const y of a)await n.hooks.callHook("dom:renderTag",y,o,f);v.head&&o.head.appendChild(v.head),v.bodyOpen&&o.body.insertBefore(v.bodyOpen,o.body.firstChild),v.bodyClose&&o.body.appendChild(v.bodyClose),Object.values(c.pendingSideEffects).forEach(y=>y()),n._dom=c,n.dirty=!1,await n.hooks.callHook("dom:rendered",{renders:a})}async function l0(n,r={}){const o=r.delayFn||(i=>setTimeout(i,10));return n._domUpdatePromise=n._domUpdatePromise||new Promise(i=>o(async()=>{await f0(n,r),delete n._domUpdatePromise,i()}))}function h0(n){return r=>{var i,a;const o=((a=(i=r.resolvedOptions.document)==null?void 0:i.head.querySelector('script[id="unhead:payload"]'))==null?void 0:a.innerHTML)||!1;return o&&r.push(JSON.parse(o)),{mode:"client",hooks:{"entries:updated":function(c){l0(c,n)}}}}}const d0=["templateParams","htmlAttrs","bodyAttrs"],p0={hooks:{"tag:normalise":function({tag:n}){["hid","vmid","key"].forEach(i=>{n.props[i]&&(n.key=n.props[i],delete n.props[i])});const o=Gc(n)||(n.key?`${n.tag}:${n.key}`:!1);o&&(n._d=o)},"tags:resolve":function(n){const r={};n.tags.forEach(i=>{const a=(i.key?`${i.tag}:${i.key}`:i._d)||i._p,c=r[a];if(c){let d=i==null?void 0:i.tagDuplicateStrategy;if(!d&&d0.includes(i.tag)&&(d="merge"),d==="merge"){const h=c.props;["class","style"].forEach(v=>{h[v]&&(i.props[v]?(v==="style"&&!h[v].endsWith(";")&&(h[v]+=";"),i.props[v]=`${h[v]} ${i.props[v]}`):i.props[v]=h[v])}),r[a].props={...h,...i.props};return}else if(i._e===c._e){c._duped=c._duped||[],i._d=`${c._d}:${c._duped.length+1}`,c._duped.push(i);return}else if(ao(i)>ao(c))return}const f=Object.keys(i.props).length+(i.innerHTML?1:0)+(i.textContent?1:0);if(ro.includes(i.tag)&&f===0){delete r[a];return}r[a]=i});const o=[];Object.values(r).forEach(i=>{const a=i._duped;delete i._duped,o.push(i),a&&o.push(...a)}),n.tags=o,n.tags=n.tags.filter(i=>!(i.tag==="meta"&&(i.props.name||i.props.property)&&!i.props.content))}}},g0={mode:"server",hooks:{"tags:resolve":function(n){const r={};n.tags.filter(o=>["titleTemplate","templateParams","title"].includes(o.tag)&&o._m==="server").forEach(o=>{r[o.tag]=o.tag.startsWith("title")?o.textContent:o.props}),Object.keys(r).length&&n.tags.push({tag:"script",innerHTML:JSON.stringify(r),props:{id:"unhead:payload",type:"application/json"}})}}},v0=["script","link","bodyAttrs"],m0=n=>({hooks:{"tags:resolve":function(r){for(const o of r.tags.filter(i=>v0.includes(i.tag)))Object.entries(o.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"&&(n.ssr&&_u.includes(i)?o.props[i]=`this.dataset.${i}fired = true`:delete o.props[i],o._eventHandlers=o._eventHandlers||{},o._eventHandlers[i]=a)}),n.ssr&&o._eventHandlers&&(o.props.src||o.props.href)&&(o.key=o.key||ts(o.props.src||o.props.href))},"dom:renderTag":function({$el:r,tag:o}){var i,a;for(const c of Object.keys((r==null?void 0:r.dataset)||{}).filter(f=>_u.some(d=>`${d}fired`===f))){const f=c.replace("fired","");(a=(i=o._eventHandlers)==null?void 0:i[f])==null||a.call(r,new Event(f.replace("on","")))}}}}),y0=["link","style","script","noscript"],S0={hooks:{"tag:normalise":({tag:n})=>{n.key&&y0.includes(n.tag)&&(n.props["data-hid"]=n._h=ts(n.key))}}},x0={hooks:{"tags:resolve":n=>{const r=o=>{var i;return(i=n.tags.find(a=>a._d===o))==null?void 0:i._p};for(const{prefix:o,offset:i}of c0)for(const a of n.tags.filter(c=>typeof c.tagPriority=="string"&&c.tagPriority.startsWith(o))){const c=r(a.tagPriority.replace(o,""));typeof c<"u"&&(a._p=c+i)}n.tags.sort((o,i)=>o._p-i._p).sort((o,i)=>ao(o)-ao(i))}}},b0={meta:"content",link:"href",htmlAttrs:"lang"},E0=n=>({hooks:{"tags:resolve":r=>{var d;const{tags:o}=r,i=(d=o.find(h=>h.tag==="title"))==null?void 0:d.textContent,a=o.findIndex(h=>h.tag==="templateParams"),c=a!==-1?o[a].props:{},f=c.separator||"|";delete c.separator,c.pageTitle=oo(c.pageTitle||i||"",c,f);for(const h of o.filter(v=>v.processTemplateParams!==!1)){const v=b0[h.tag];v&&typeof h.props[v]=="string"?h.props[v]=oo(h.props[v],c,f):(h.processTemplateParams===!0||["titleTemplate","title"].includes(h.tag))&&["innerHTML","textContent"].forEach(g=>{typeof h[g]=="string"&&(h[g]=oo(h[g],c,f))})}n._templateParams=c,n._separator=f,r.tags=o.filter(h=>h.tag!=="templateParams")}}}),T0={hooks:{"tags:resolve":n=>{const{tags:r}=n;let o=r.findIndex(a=>a.tag==="titleTemplate");const i=r.findIndex(a=>a.tag==="title");if(i!==-1&&o!==-1){const a=Yu(r[o].textContent,r[i].textContent);a!==null?r[i].textContent=a||r[i].textContent:delete r[i]}else if(o!==-1){const a=Yu(r[o].textContent);a!==null&&(r[o].textContent=a,r[o].tag="title",o=-1)}o!==-1&&delete r[o],n.tags=r.filter(Boolean)}}},L0={hooks:{"tags:afterResolve":function(n){for(const r of n.tags)typeof r.innerHTML=="string"&&(r.innerHTML&&["application/ld+json","application/json"].includes(r.props.type)?r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"):r.innerHTML=r.innerHTML.replace(new RegExp(`</${r.tag}`,"g"),`<\\/${r.tag}`))}}};let Vc;function R0(n={}){const r=w0(n);return r.use(h0()),Vc=r}function Qu(n,r){return!n||n==="server"&&r||n==="client"&&!r}function w0(n={}){const r=qm();r.addHooks(n.hooks||{}),n.document=n.document||(o0?document:void 0);const o=!n.document,i=()=>{d.dirty=!0,r.callHook("entries:updated",d)};let a=0,c=[];const f=[],d={plugins:f,dirty:!1,resolvedOptions:n,hooks:r,headEntries(){return c},use(h){const v=typeof h=="function"?h(d):h;(!v.key||!f.some(g=>g.key===v.key))&&(f.push(v),Qu(v.mode,o)&&r.addHooks(v.hooks||{}))},push(h,v){v==null||delete v.head;const g={_i:a++,input:h,...v};return Qu(g.mode,o)&&(c.push(g),i()),{dispose(){c=c.filter(y=>y._i!==g._i),r.callHook("entries:updated",d),i()},patch(y){c=c.map(S=>(S._i===g._i&&(S.input=g.input=y),S)),i()}}},async resolveTags(){const h={tags:[],entries:[...c]};await r.callHook("entries:resolve",h);for(const v of h.entries){const g=v.resolvedInput||v.input;if(v.resolvedInput=await(v.transform?v.transform(g):g),v.resolvedInput)for(const y of await u0(v)){const S={tag:y,entry:v,resolvedOptions:d.resolvedOptions};await r.callHook("tag:normalise",S),h.tags.push(S.tag)}}return await r.callHook("tags:beforeResolve",h),await r.callHook("tags:resolve",h),await r.callHook("tags:afterResolve",h),h.tags},ssr:o};return[p0,g0,m0,S0,x0,E0,T0,L0,...(n==null?void 0:n.plugins)||[]].forEach(h=>d.use(h)),d.hooks.callHook("init",d),d}function A0(){return Vc}const Kc=dm.startsWith("3");function I0(n){return typeof n=="function"?n():pn(n)}function uo(n,r=""){if(n instanceof Promise)return n;const o=I0(n);return!n||!o?o:Array.isArray(o)?o.map(i=>uo(i,r)):typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>i==="titleTemplate"||i.startsWith("on")?[i,pn(a)]:[i,uo(a,i)])):o}const P0={hooks:{"entries:resolve":function(n){for(const r of n.entries)r.resolvedInput=uo(r.input)}}},jc="usehead";function O0(n){return{install(o){Kc&&(o.config.globalProperties.$unhead=n,o.config.globalProperties.$head=n,o.provide(jc,n))}}.install}function C0(n={}){n.domDelayFn=n.domDelayFn||(o=>Hn(()=>setTimeout(()=>o(),0)));const r=R0(n);return r.use(P0),r.install=O0(r),r}const Ju=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qu="__unhead_injection_handler__";function M0(){if(qu in Ju)return Ju[qu]();const n=It(jc);return n||A0()}function D0(n,r={}){const o=r.head||M0();if(o)return o.ssr?o.push(n,r):F0(o,n,r)}function F0(n,r,o={}){const i=so(!1),a=so({});pm(()=>{a.value=i.value?{}:uo(r)});const c=n.push(a.value,o);return Qi(a,d=>{c.patch(d)}),Ic()&&(Pc(()=>{c.dispose()}),Oc(()=>{i.value=!0}),Cc(()=>{i.value=!1})),c}const H0={created(){let n=!1;if(Kc){const r=Ic();if(!r)return;const o=r.type;if(!o||!("head"in o))return;n=typeof o.head=="function"?()=>o.head.call(r.proxy):o.head}else{const r=this.$options.head;r&&(n=typeof r=="function"?()=>r.call(this):r)}n&&D0(n)}},B0="drag-scroller-disable",k0=(()=>{const n=new WeakMap;return{mounted(r,o){let i=!1;const{onlyX:a,onlyY:c,disablechild:f}=o.modifiers,d=o.value??{},h=new Event("scrollStart",{bubbles:!0}),v=new Event("scrollMoving",{bubbles:!0}),g=new Event("scrollEnd",{bubbles:!0});d.hideScrollbar===!0&&(r.style.overflow="hidden");const y=E=>{if(f)return E===r;for(;E&&E.parentNode;){if(E&&E!=null&&E.hasAttribute(B0))return!1;if(E===r)return!0;E=E.parentNode}return!1},S=E=>{i=y(E.target),r.dispatchEvent(h),i&&d!=null&&d.startScroll&&typeof(d==null?void 0:d.startScroll)=="function"&&d.startScroll(E)},b=E=>{r.dispatchEvent(g),i&&d!=null&&d.endScroll&&typeof(d==null?void 0:d.endScroll)=="function"&&d.endScroll(E),i=!1},R=E=>{if(!i)return!1;r.dispatchEvent(v),d!=null&&d.onScrolling&&typeof(d==null?void 0:d.onScrolling)=="function"&&d.onScrolling(E),E.stopPropagation&&E.stopPropagation(),E.preventDefault&&E.preventDefault(),E.cancelBubble=!0,E.returnValue=!1;const L=(d==null?void 0:d.speed)||1,P=d.reverseDirection?E.movementX*L:-E.movementX*L,I=d.reverseDirection?E.movementY*L:-E.movementY*L;a?r.scrollLeft+=P:(c||(r.scrollLeft+=P),r.scrollTop+=I)};n.set(r,{dragStart:S,dragEnd:b,drag:R}),r.addEventListener("pointerdown",S),addEventListener("pointerup",b),addEventListener("pointermove",R)},unmounted(r){const{dragStart:o,dragEnd:i,drag:a}=n.get(r);r.removeEventListener("pointerdown",o),removeEventListener("pointerup",i),removeEventListener("pointermove",a)}}})(),N0={install(n){n.directive("drag-scroller",k0)}},zc={bookmarkFilter:[{title:"All",value:"",default:!0},{title:"Unread",value:"UNREAD"},{title:"In Progress",value:"IN_PROGRESS"},{title:"Read",value:"READ"}],breadcrumbs:[{group:"r",pks:"0",page:1}],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"}],searchResultsLimit:100,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:"filename"},{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"}],orderReverse:!1,vuetifyNullCode:-1,groupNames:{p:"Publishers",i:"Imprints",s:"Series",v:"Volumes",c:"Issues",f:"Folders",a:"Story Arcs"},identifierTypes:{comicvine:"Comic Vine",comixology:"Comixology",asin:"Amazon",gtin:"GTIN",isbn:"ISBN",upc:"UPC"},dynamicCovers:!0,customCovers:!0,twentyFourHourTime:!1},$0={finishOnLastPage:!0,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:""}],readRtlInReverse:!1,twoPages:!1},W0={LIBRARY_CHANGED:"LIBRARY_CHANGED",LIBRARIAN_STATUS:"LIBRARIAN_STATUS",FAILED_IMPORTS:"FAILED_IMPORTS"},Ie={browser:zc,reader:$0,websockets:W0},G0="modulepreload",U0=function(n){return window.CODEX.APP_PATH + "static"+"/"+n},ec={},Pt=function(r,o,i){let a=Promise.resolve();if(o&&o.length>0){document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),f=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));a=Promise.all(o.map(d=>{if(d=U0(d),d in ec)return;ec[d]=!0;const h=d.endsWith(".css"),v=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${v}`))return;const g=document.createElement("link");if(g.rel=h?"stylesheet":G0,h||(g.as="script",g.crossOrigin=""),g.href=d,f&&g.setAttribute("nonce",f),document.head.appendChild(g),h)return new Promise((y,S)=>{g.addEventListener("load",y),g.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${d}`)))})}))}return a.then(()=>r()).catch(c=>{const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=c,window.dispatchEvent(f),!f.defaultPrevented)throw c})};/*!
3
3
  * vue-router v4.3.3
4
4
  * (c) 2024 Eduardo San Martin Morote
5
5
  * @license MIT
6
- */const Cn=typeof document<"u";function V0(n){return n.__esModule||n[Symbol.toStringTag]==="Module"}const xe=Object.assign;function Bi(n,r){const o={};for(const i in r){const a=r[i];o[i]=Tt(a)?a.map(n):n(a)}return o}const ur=()=>{},Tt=Array.isArray,Yc=/#/g,K0=/&/g,j0=/\//g,z0=/=/g,Y0=/\?/g,Zc=/\+/g,Z0=/%5B/g,X0=/%5D/g,Xc=/%5E/g,_0=/%60/g,_c=/%7B/g,Q0=/%7C/g,Qc=/%7D/g,J0=/%20/g;function ns(n){return encodeURI(""+n).replace(Q0,"|").replace(Z0,"[").replace(X0,"]")}function q0(n){return ns(n).replace(_c,"{").replace(Qc,"}").replace(Xc,"^")}function ji(n){return ns(n).replace(Zc,"%2B").replace(J0,"+").replace(Yc,"%23").replace(K0,"%26").replace(_0,"`").replace(_c,"{").replace(Qc,"}").replace(Xc,"^")}function ey(n){return ji(n).replace(z0,"%3D")}function ty(n){return ns(n).replace(Yc,"%23").replace(Y0,"%3F")}function ny(n){return n==null?"":ty(n).replace(j0,"%2F")}function fr(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const ry=/\/$/,oy=n=>n.replace(ry,"");function ki(n,r,o="/"){let i,a={},c="",f="";const d=r.indexOf("#");let h=r.indexOf("?");return d<h&&d>=0&&(h=-1),h>-1&&(i=r.slice(0,h),c=r.slice(h+1,d>-1?d:r.length),a=n(c)),d>-1&&(i=i||r.slice(0,d),f=r.slice(d,r.length)),i=uy(i??r,o),{fullPath:i+(c&&"?")+c+f,path:i,query:a,hash:fr(f)}}function iy(n,r){const o=r.query?n(r.query):"";return r.path+(o&&"?")+o+(r.hash||"")}function tc(n,r){return!r||!n.toLowerCase().startsWith(r.toLowerCase())?n:n.slice(r.length)||"/"}function sy(n,r,o){const i=r.matched.length-1,a=o.matched.length-1;return i>-1&&i===a&&Dn(r.matched[i],o.matched[a])&&Jc(r.params,o.params)&&n(r.query)===n(o.query)&&r.hash===o.hash}function Dn(n,r){return(n.aliasOf||n)===(r.aliasOf||r)}function Jc(n,r){if(Object.keys(n).length!==Object.keys(r).length)return!1;for(const o in n)if(!ay(n[o],r[o]))return!1;return!0}function ay(n,r){return Tt(n)?nc(n,r):Tt(r)?nc(r,n):n===r}function nc(n,r){return Tt(r)?n.length===r.length&&n.every((o,i)=>o===r[i]):n.length===1&&n[0]===r}function uy(n,r){if(n.startsWith("/"))return n;if(!n)return r;const o=r.split("/"),i=n.split("/"),a=i[i.length-1];(a===".."||a===".")&&i.push("");let c=o.length-1,f,d;for(f=0;f<i.length;f++)if(d=i[f],d!==".")if(d==="..")c>1&&c--;else break;return o.slice(0,c).join("/")+"/"+i.slice(f).join("/")}var lr;(function(n){n.pop="pop",n.push="push"})(lr||(lr={}));var cr;(function(n){n.back="back",n.forward="forward",n.unknown=""})(cr||(cr={}));function cy(n){if(!n)if(Cn){const r=document.querySelector("base");n=r&&r.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),oy(n)}const fy=/^[^#]+#/;function ly(n,r){return n.replace(fy,"#")+r}function hy(n,r){const o=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:r.behavior,left:i.left-o.left-(r.left||0),top:i.top-o.top-(r.top||0)}}const ho=()=>({left:window.scrollX,top:window.scrollY});function dy(n){let r;if("el"in n){const o=n.el,i=typeof o=="string"&&o.startsWith("#"),a=typeof o=="string"?i?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!a)return;r=hy(a,n)}else r=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.scrollX,r.top!=null?r.top:window.scrollY)}function rc(n,r){return(history.state?history.state.position-r:-1)+n}const zi=new Map;function py(n,r){zi.set(n,r)}function gy(n){const r=zi.get(n);return zi.delete(n),r}let vy=()=>location.protocol+"//"+location.host;function qc(n,r){const{pathname:o,search:i,hash:a}=r,c=n.indexOf("#");if(c>-1){let d=a.includes(n.slice(c))?n.slice(c).length:1,h=a.slice(d);return h[0]!=="/"&&(h="/"+h),tc(h,"")}return tc(o,n)+i+a}function my(n,r,o,i){let a=[],c=[],f=null;const d=({state:S})=>{const b=qc(n,location),R=o.value,E=r.value;let L=0;if(S){if(o.value=b,r.value=S,f&&f===R){f=null;return}L=E?S.position-E.position:0}else i(b);a.forEach(P=>{P(o.value,R,{delta:L,type:lr.pop,direction:L?L>0?cr.forward:cr.back:cr.unknown})})};function h(){f=o.value}function v(S){a.push(S);const b=()=>{const R=a.indexOf(S);R>-1&&a.splice(R,1)};return c.push(b),b}function g(){const{history:S}=window;S.state&&S.replaceState(xe({},S.state,{scroll:ho()}),"")}function y(){for(const S of c)S();c=[],window.removeEventListener("popstate",d),window.removeEventListener("beforeunload",g)}return window.addEventListener("popstate",d),window.addEventListener("beforeunload",g,{passive:!0}),{pauseListeners:h,listen:v,destroy:y}}function oc(n,r,o,i=!1,a=!1){return{back:n,current:r,forward:o,replaced:i,position:window.history.length,scroll:a?ho():null}}function yy(n){const{history:r,location:o}=window,i={value:qc(n,o)},a={value:r.state};a.value||c(i.value,{back:null,current:i.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function c(h,v,g){const y=n.indexOf("#"),S=y>-1?(o.host&&document.querySelector("base")?n:n.slice(y))+h:vy()+n+h;try{r[g?"replaceState":"pushState"](v,"",S),a.value=v}catch(b){console.error(b),o[g?"replace":"assign"](S)}}function f(h,v){const g=xe({},r.state,oc(a.value.back,h,a.value.forward,!0),v,{position:a.value.position});c(h,g,!0),i.value=h}function d(h,v){const g=xe({},a.value,r.state,{forward:h,scroll:ho()});c(g.current,g,!0);const y=xe({},oc(i.value,h,null),{position:g.position+1},v);c(h,y,!1),i.value=h}return{location:i,state:a,push:d,replace:f}}function Sy(n){n=cy(n);const r=yy(n),o=my(n,r.state,r.location,r.replace);function i(c,f=!0){f||o.pauseListeners(),history.go(c)}const a=xe({location:"",base:n,go:i,createHref:ly.bind(null,n)},r,o);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>r.state.value}),a}function xy(n){return typeof n=="string"||n&&typeof n=="object"}function ef(n){return typeof n=="string"||typeof n=="symbol"}const Jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tf=Symbol("");var ic;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(ic||(ic={}));function Fn(n,r){return xe(new Error,{type:n,[tf]:!0},r)}function $t(n,r){return n instanceof Error&&tf in n&&(r==null||!!(n.type&r))}const sc="[^/]+?",by={sensitive:!1,strict:!1,start:!0,end:!0},Ey=/[.+*?^${}()[\]/\\]/g;function Ty(n,r){const o=xe({},by,r),i=[];let a=o.start?"^":"";const c=[];for(const v of n){const g=v.length?[]:[90];o.strict&&!v.length&&(a+="/");for(let y=0;y<v.length;y++){const S=v[y];let b=40+(o.sensitive?.25:0);if(S.type===0)y||(a+="/"),a+=S.value.replace(Ey,"\\$&"),b+=40;else if(S.type===1){const{value:R,repeatable:E,optional:L,regexp:P}=S;c.push({name:R,repeatable:E,optional:L});const I=P||sc;if(I!==sc){b+=10;try{new RegExp(`(${I})`)}catch(N){throw new Error(`Invalid custom RegExp for param "${R}" (${I}): `+N.message)}}let C=E?`((?:${I})(?:/(?:${I}))*)`:`(${I})`;y||(C=L&&v.length<2?`(?:/${C})`:"/"+C),L&&(C+="?"),a+=C,b+=20,L&&(b+=-8),E&&(b+=-20),I===".*"&&(b+=-50)}g.push(b)}i.push(g)}if(o.strict&&o.end){const v=i.length-1;i[v][i[v].length-1]+=.7000000000000001}o.strict||(a+="/?"),o.end?a+="$":o.strict&&(a+="(?:/|$)");const f=new RegExp(a,o.sensitive?"":"i");function d(v){const g=v.match(f),y={};if(!g)return null;for(let S=1;S<g.length;S++){const b=g[S]||"",R=c[S-1];y[R.name]=b&&R.repeatable?b.split("/"):b}return y}function h(v){let g="",y=!1;for(const S of n){(!y||!g.endsWith("/"))&&(g+="/"),y=!1;for(const b of S)if(b.type===0)g+=b.value;else if(b.type===1){const{value:R,repeatable:E,optional:L}=b,P=R in v?v[R]:"";if(Tt(P)&&!E)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const I=Tt(P)?P.join("/"):P;if(!I)if(L)S.length<2&&(g.endsWith("/")?g=g.slice(0,-1):y=!0);else throw new Error(`Missing required param "${R}"`);g+=I}}return g||"/"}return{re:f,score:i,keys:c,parse:d,stringify:h}}function Ly(n,r){let o=0;for(;o<n.length&&o<r.length;){const i=r[o]-n[o];if(i)return i;o++}return n.length<r.length?n.length===1&&n[0]===80?-1:1:n.length>r.length?r.length===1&&r[0]===80?1:-1:0}function nf(n,r){let o=0;const i=n.score,a=r.score;for(;o<i.length&&o<a.length;){const c=Ly(i[o],a[o]);if(c)return c;o++}if(Math.abs(a.length-i.length)===1){if(ac(i))return 1;if(ac(a))return-1}return a.length-i.length}function ac(n){const r=n[n.length-1];return n.length>0&&r[r.length-1]<0}const Ry={type:0,value:""},wy=/[a-zA-Z0-9_]/;function Ay(n){if(!n)return[[]];if(n==="/")return[[Ry]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function r(b){throw new Error(`ERR (${o})/"${v}": ${b}`)}let o=0,i=o;const a=[];let c;function f(){c&&a.push(c),c=[]}let d=0,h,v="",g="";function y(){v&&(o===0?c.push({type:0,value:v}):o===1||o===2||o===3?(c.length>1&&(h==="*"||h==="+")&&r(`A repeatable param (${v}) must be alone in its segment. eg: '/:ids+.`),c.push({type:1,value:v,regexp:g,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):r("Invalid state to consume buffer"),v="")}function S(){v+=h}for(;d<n.length;){if(h=n[d++],h==="\\"&&o!==2){i=o,o=4;continue}switch(o){case 0:h==="/"?(v&&y(),f()):h===":"?(y(),o=1):S();break;case 4:S(),o=i;break;case 1:h==="("?o=2:wy.test(h)?S():(y(),o=0,h!=="*"&&h!=="?"&&h!=="+"&&d--);break;case 2:h===")"?g[g.length-1]=="\\"?g=g.slice(0,-1)+h:o=3:g+=h;break;case 3:y(),o=0,h!=="*"&&h!=="?"&&h!=="+"&&d--,g="";break;default:r("Unknown state");break}}return o===2&&r(`Unfinished custom RegExp for param "${v}"`),y(),f(),a}function Iy(n,r,o){const i=Ty(Ay(n.path),o),a=xe(i,{record:n,parent:r,children:[],alias:[]});return r&&!a.record.aliasOf==!r.record.aliasOf&&r.children.push(a),a}function Py(n,r){const o=[],i=new Map;r=fc({strict:!1,end:!0,sensitive:!1},r);function a(g){return i.get(g)}function c(g,y,S){const b=!S,R=Oy(g);R.aliasOf=S&&S.record;const E=fc(r,g),L=[R];if("alias"in g){const C=typeof g.alias=="string"?[g.alias]:g.alias;for(const N of C)L.push(xe({},R,{components:S?S.record.components:R.components,path:N,aliasOf:S?S.record:R}))}let P,I;for(const C of L){const{path:N}=C;if(y&&N[0]!=="/"){const U=y.record.path,W=U[U.length-1]==="/"?"":"/";C.path=y.record.path+(N&&W+N)}if(P=Iy(C,y,E),S?S.alias.push(P):(I=I||P,I!==P&&I.alias.push(P),b&&g.name&&!cc(P)&&f(g.name)),rf(P)&&h(P),R.children){const U=R.children;for(let W=0;W<U.length;W++)c(U[W],P,S&&S.children[W])}S=S||P}return I?()=>{f(I)}:ur}function f(g){if(ef(g)){const y=i.get(g);y&&(i.delete(g),o.splice(o.indexOf(y),1),y.children.forEach(f),y.alias.forEach(f))}else{const y=o.indexOf(g);y>-1&&(o.splice(y,1),g.record.name&&i.delete(g.record.name),g.children.forEach(f),g.alias.forEach(f))}}function d(){return o}function h(g){const y=Dy(g,o);o.splice(y,0,g),g.record.name&&!cc(g)&&i.set(g.record.name,g)}function v(g,y){let S,b={},R,E;if("name"in g&&g.name){if(S=i.get(g.name),!S)throw Fn(1,{location:g});E=S.record.name,b=xe(uc(y.params,S.keys.filter(I=>!I.optional).concat(S.parent?S.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),g.params&&uc(g.params,S.keys.map(I=>I.name))),R=S.stringify(b)}else if(g.path!=null)R=g.path,S=o.find(I=>I.re.test(R)),S&&(b=S.parse(R),E=S.record.name);else{if(S=y.name?i.get(y.name):o.find(I=>I.re.test(y.path)),!S)throw Fn(1,{location:g,currentLocation:y});E=S.record.name,b=xe({},y.params,g.params),R=S.stringify(b)}const L=[];let P=S;for(;P;)L.unshift(P.record),P=P.parent;return{name:E,path:R,params:b,matched:L,meta:My(L)}}return n.forEach(g=>c(g)),{addRoute:c,resolve:v,removeRoute:f,getRoutes:d,getRecordMatcher:a}}function uc(n,r){const o={};for(const i of r)i in n&&(o[i]=n[i]);return o}function Oy(n){return{path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:void 0,beforeEnter:n.beforeEnter,props:Cy(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}}}function Cy(n){const r={},o=n.props||!1;if("component"in n)r.default=o;else for(const i in n.components)r[i]=typeof o=="object"?o[i]:o;return r}function cc(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function My(n){return n.reduce((r,o)=>xe(r,o.meta),{})}function fc(n,r){const o={};for(const i in n)o[i]=i in r?r[i]:n[i];return o}function Dy(n,r){let o=0,i=r.length;for(;o!==i;){const c=o+i>>1;nf(n,r[c])<0?i=c:o=c+1}const a=Fy(n);return a&&(i=r.lastIndexOf(a,i-1)),i}function Fy(n){let r=n;for(;r=r.parent;)if(rf(r)&&nf(n,r)===0)return r}function rf({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function Hy(n){const r={};if(n===""||n==="?")return r;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let a=0;a<i.length;++a){const c=i[a].replace(Zc," "),f=c.indexOf("="),d=fr(f<0?c:c.slice(0,f)),h=f<0?null:fr(c.slice(f+1));if(d in r){let v=r[d];Tt(v)||(v=r[d]=[v]),v.push(h)}else r[d]=h}return r}function lc(n){let r="";for(let o in n){const i=n[o];if(o=ey(o),i==null){i!==void 0&&(r+=(r.length?"&":"")+o);continue}(Tt(i)?i.map(c=>c&&ji(c)):[i&&ji(i)]).forEach(c=>{c!==void 0&&(r+=(r.length?"&":"")+o,c!=null&&(r+="="+c))})}return r}function By(n){const r={};for(const o in n){const i=n[o];i!==void 0&&(r[o]=Tt(i)?i.map(a=>a==null?null:""+a):i==null?i:""+i)}return r}const ky=Symbol(""),hc=Symbol(""),rs=Symbol(""),of=Symbol(""),Yi=Symbol("");function tr(){let n=[];function r(i){return n.push(i),()=>{const a=n.indexOf(i);a>-1&&n.splice(a,1)}}function o(){n=[]}return{add:r,list:()=>n.slice(),reset:o}}function qt(n,r,o,i,a,c=f=>f()){const f=i&&(i.enterCallbacks[a]=i.enterCallbacks[a]||[]);return()=>new Promise((d,h)=>{const v=S=>{S===!1?h(Fn(4,{from:o,to:r})):S instanceof Error?h(S):xy(S)?h(Fn(2,{from:r,to:S})):(f&&i.enterCallbacks[a]===f&&typeof S=="function"&&f.push(S),d())},g=c(()=>n.call(i&&i.instances[a],r,o,v));let y=Promise.resolve(g);n.length<3&&(y=y.then(v)),y.catch(S=>h(S))})}function Ni(n,r,o,i,a=c=>c()){const c=[];for(const f of n)for(const d in f.components){let h=f.components[d];if(!(r!=="beforeRouteEnter"&&!f.instances[d]))if(Ny(h)){const g=(h.__vccOpts||h)[r];g&&c.push(qt(g,o,i,f,d,a))}else{let v=h();c.push(()=>v.then(g=>{if(!g)return Promise.reject(new Error(`Couldn't resolve component "${d}" at "${f.path}"`));const y=V0(g)?g.default:g;f.components[d]=y;const b=(y.__vccOpts||y)[r];return b&&qt(b,o,i,f,d,a)()}))}}return c}function Ny(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function dc(n){const r=It(rs),o=It(of),i=De(()=>{const h=pn(n.to);return r.resolve(h)}),a=De(()=>{const{matched:h}=i.value,{length:v}=h,g=h[v-1],y=o.matched;if(!g||!y.length)return-1;const S=y.findIndex(Dn.bind(null,g));if(S>-1)return S;const b=pc(h[v-2]);return v>1&&pc(g)===b&&y[y.length-1].path!==b?y.findIndex(Dn.bind(null,h[v-2])):S}),c=De(()=>a.value>-1&&Uy(o.params,i.value.params)),f=De(()=>a.value>-1&&a.value===o.matched.length-1&&Jc(o.params,i.value.params));function d(h={}){return Gy(h)?r[pn(n.replace)?"replace":"push"](pn(n.to)).catch(ur):Promise.resolve()}return{route:i,href:De(()=>i.value.href),isActive:c,isExactActive:f,navigate:d}}const $y=Dc({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:dc,setup(n,{slots:r}){const o=en(dc(n)),{options:i}=It(rs),a=De(()=>({[gc(n.activeClass,i.linkActiveClass,"router-link-active")]:o.isActive,[gc(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const c=r.default&&r.default(o);return n.custom?c:Fc("a",{"aria-current":o.isExactActive?n.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:a.value},c)}}}),Wy=$y;function Gy(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const r=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return n.preventDefault&&n.preventDefault(),!0}}function Uy(n,r){for(const o in r){const i=r[o],a=n[o];if(typeof i=="string"){if(i!==a)return!1}else if(!Tt(a)||a.length!==i.length||i.some((c,f)=>c!==a[f]))return!1}return!0}function pc(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const gc=(n,r,o)=>n??r??o,Vy=Dc({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:r,slots:o}){const i=It(Yi),a=De(()=>n.route||i.value),c=It(hc,0),f=De(()=>{let v=pn(c);const{matched:g}=a.value;let y;for(;(y=g[v])&&!y.components;)v++;return v}),d=De(()=>a.value.matched[f.value]);sr(hc,De(()=>f.value+1)),sr(ky,d),sr(Yi,a);const h=so();return Qi(()=>[h.value,d.value,n.name],([v,g,y],[S,b,R])=>{g&&(g.instances[y]=v,b&&b!==g&&v&&v===S&&(g.leaveGuards.size||(g.leaveGuards=b.leaveGuards),g.updateGuards.size||(g.updateGuards=b.updateGuards))),v&&g&&(!b||!Dn(g,b)||!S)&&(g.enterCallbacks[y]||[]).forEach(E=>E(v))},{flush:"post"}),()=>{const v=a.value,g=n.name,y=d.value,S=y&&y.components[g];if(!S)return vc(o.default,{Component:S,route:v});const b=y.props[g],R=b?b===!0?v.params:typeof b=="function"?b(v):b:null,L=Fc(S,xe({},R,r,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(y.instances[g]=null)},ref:h}));return vc(o.default,{Component:L,route:v})||L}}});function vc(n,r){if(!n)return null;const o=n(r);return o.length===1?o[0]:o}const Ky=Vy;function jy(n){const r=Py(n.routes,n),o=n.parseQuery||Hy,i=n.stringifyQuery||lc,a=n.history,c=tr(),f=tr(),d=tr(),h=Mc(Jt);let v=Jt;Cn&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const g=Bi.bind(null,D=>""+D),y=Bi.bind(null,ny),S=Bi.bind(null,fr);function b(D,X){let j,J;return ef(D)?(j=r.getRecordMatcher(D),J=X):J=D,r.addRoute(J,j)}function R(D){const X=r.getRecordMatcher(D);X&&r.removeRoute(X)}function E(){return r.getRoutes().map(D=>D.record)}function L(D){return!!r.getRecordMatcher(D)}function P(D,X){if(X=xe({},X||h.value),typeof D=="string"){const ee=ki(o,D,X.path),we=r.resolve({path:ee.path},X),nn=a.createHref(ee.fullPath);return xe(ee,we,{params:S(we.params),hash:fr(ee.hash),redirectedFrom:void 0,href:nn})}let j;if(D.path!=null)j=xe({},D,{path:ki(o,D.path,X.path).path});else{const ee=xe({},D.params);for(const we in ee)ee[we]==null&&delete ee[we];j=xe({},D,{params:y(ee)}),X.params=y(X.params)}const J=r.resolve(j,X),ge=D.hash||"";J.params=g(S(J.params));const Re=iy(i,xe({},D,{hash:q0(ge),path:J.path})),fe=a.createHref(Re);return xe({fullPath:Re,hash:ge,query:i===lc?By(D.query):D.query||{}},J,{redirectedFrom:void 0,href:fe})}function I(D){return typeof D=="string"?ki(o,D,h.value.path):xe({},D)}function C(D,X){if(v!==D)return Fn(8,{from:X,to:D})}function N(D){return B(D)}function U(D){return N(xe(I(D),{replace:!0}))}function W(D){const X=D.matched[D.matched.length-1];if(X&&X.redirect){const{redirect:j}=X;let J=typeof j=="function"?j(D):j;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=I(J):{path:J},J.params={}),xe({query:D.query,hash:D.hash,params:J.path!=null?{}:D.params},J)}}function B(D,X){const j=v=P(D),J=h.value,ge=D.state,Re=D.force,fe=D.replace===!0,ee=W(j);if(ee)return B(xe(I(ee),{state:typeof ee=="object"?xe({},ge,ee.state):ge,force:Re,replace:fe}),X||j);const we=j;we.redirectedFrom=X;let nn;return!Re&&sy(i,J,j)&&(nn=Fn(16,{to:we,from:J}),Ee(J,J,!0,!1)),(nn?Promise.resolve(nn):V(we,J)).catch(Pe=>$t(Pe)?$t(Pe,2)?Pe:pe(Pe):ce(Pe,we,J)).then(Pe=>{if(Pe){if($t(Pe,2))return B(xe({replace:fe},I(Pe.to),{state:typeof Pe.to=="object"?xe({},ge,Pe.to.state):ge,force:Re}),X||we)}else Pe=Z(we,J,!0,fe,ge);return K(we,J,Pe),Pe})}function k(D,X){const j=C(D,X);return j?Promise.reject(j):Promise.resolve()}function $(D){const X=tt.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(D):D()}function V(D,X){let j;const[J,ge,Re]=zy(D,X);j=Ni(J.reverse(),"beforeRouteLeave",D,X);for(const ee of J)ee.leaveGuards.forEach(we=>{j.push(qt(we,D,X))});const fe=k.bind(null,D,X);return j.push(fe),nt(j).then(()=>{j=[];for(const ee of c.list())j.push(qt(ee,D,X));return j.push(fe),nt(j)}).then(()=>{j=Ni(ge,"beforeRouteUpdate",D,X);for(const ee of ge)ee.updateGuards.forEach(we=>{j.push(qt(we,D,X))});return j.push(fe),nt(j)}).then(()=>{j=[];for(const ee of Re)if(ee.beforeEnter)if(Tt(ee.beforeEnter))for(const we of ee.beforeEnter)j.push(qt(we,D,X));else j.push(qt(ee.beforeEnter,D,X));return j.push(fe),nt(j)}).then(()=>(D.matched.forEach(ee=>ee.enterCallbacks={}),j=Ni(Re,"beforeRouteEnter",D,X,$),j.push(fe),nt(j))).then(()=>{j=[];for(const ee of f.list())j.push(qt(ee,D,X));return j.push(fe),nt(j)}).catch(ee=>$t(ee,8)?ee:Promise.reject(ee))}function K(D,X,j){d.list().forEach(J=>$(()=>J(D,X,j)))}function Z(D,X,j,J,ge){const Re=C(D,X);if(Re)return Re;const fe=X===Jt,ee=Cn?history.state:{};j&&(J||fe?a.replace(D.fullPath,xe({scroll:fe&&ee&&ee.scroll},ge)):a.push(D.fullPath,ge)),h.value=D,Ee(D,X,j,fe),pe()}let Y;function me(){Y||(Y=a.listen((D,X,j)=>{const J=P(D),ge=W(J);if(ge){B(xe(ge,{replace:!0}),J).catch(ur);return}v=J;const Re=h.value;Cn&&py(rc(Re.fullPath,j.delta),ho()),V(J,Re).catch(fe=>$t(fe,12)?fe:$t(fe,2)?(B(fe.to,J).then(ee=>{$t(ee,20)&&!j.delta&&j.type===lr.pop&&a.go(-1,!1)}).catch(ur),Promise.reject()):(j.delta&&a.go(-j.delta,!1),ce(fe,J,Re))).then(fe=>{fe=fe||Z(J,Re,!1),fe&&(j.delta&&!$t(fe,8)?a.go(-j.delta,!1):j.type===lr.pop&&$t(fe,20)&&a.go(-1,!1)),K(J,Re,fe)}).catch(ur)}))}let be=tr(),Fe=tr(),ue;function ce(D,X,j){pe(D);const J=Fe.list();return J.length?J.forEach(ge=>ge(D,X,j)):console.error(D),Promise.reject(D)}function ke(){return ue&&h.value!==Jt?Promise.resolve():new Promise((D,X)=>{be.add([D,X])})}function pe(D){return ue||(ue=!D,me(),be.list().forEach(([X,j])=>D?j(D):X()),be.reset()),D}function Ee(D,X,j,J){const{scrollBehavior:ge}=n;if(!Cn||!ge)return Promise.resolve();const Re=!j&&gy(rc(D.fullPath,0))||(J||!j)&&history.state&&history.state.scroll||null;return Hn().then(()=>ge(D,X,Re)).then(fe=>fe&&dy(fe)).catch(fe=>ce(fe,D,X))}const _e=D=>a.go(D);let Ke;const tt=new Set,Lt={currentRoute:h,listening:!0,addRoute:b,removeRoute:R,hasRoute:L,getRoutes:E,resolve:P,options:n,push:N,replace:U,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:c.add,beforeResolve:f.add,afterEach:d.add,onError:Fe.add,isReady:ke,install(D){const X=this;D.component("RouterLink",Wy),D.component("RouterView",Ky),D.config.globalProperties.$router=X,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>pn(h)}),Cn&&!Ke&&h.value===Jt&&(Ke=!0,N(a.location).catch(ge=>{}));const j={};for(const ge in Jt)Object.defineProperty(j,ge,{get:()=>h.value[ge],enumerable:!0});D.provide(rs,X),D.provide(of,gm(j)),D.provide(Yi,h);const J=D.unmount;tt.add(D),D.unmount=function(){tt.delete(D),tt.size<1&&(v=Jt,Y&&Y(),Y=null,h.value=Jt,Ke=!1,ue=!1),J()}}};function nt(D){return D.reduce((X,j)=>X.then(()=>$(j)),Promise.resolve())}return Lt}function zy(n,r){const o=[],i=[],a=[],c=Math.max(r.matched.length,n.matched.length);for(let f=0;f<c;f++){const d=r.matched[f];d&&(n.matched.find(v=>Dn(v,d))?i.push(d):o.push(d));const h=n.matched[f];h&&(r.matched.find(v=>Dn(v,h))||a.push(h))}return[o,i,a]}const Yy=()=>Pt(()=>import("./admin-D5JDmLDy.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20])),Zy=()=>Pt(()=>import("./browser-VhFkImB_.js"),__vite__mapDeps([21,1,2,22,23,7,8,24,25,9,10,26,3,4,5,6,11,12,13,14,15,27,28,18,19,29,30,31,32,33,34,35,36,37])),Xy=()=>Pt(()=>import("./http-error-DBQycf8i.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,9,10,11,12,13,39])),_y=()=>Pt(()=>import("./reader-ClcgSG93.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,28,25,18,19,29,41,42,43,44,24,26,27,30,31,45])),Qy=()=>Pt(()=>import("./flag-tab-IniE-dLy.js"),__vite__mapDeps([46,1,2,22,23,24,25,9,10,26,47])),Jy=()=>Pt(()=>import("./user-tab-pzFjrggM.js"),__vite__mapDeps([48,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,24,26,51,52,5,12])),qy=()=>Pt(()=>import("./group-tab-RPa8XC0J.js"),__vite__mapDeps([53,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,43,44,54])),e2=()=>Pt(()=>import("./library-tab-C5trLvkq.js"),__vite__mapDeps([55,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,34,36,24,26,51,52,41,42,56])),t2=()=>Pt(()=>import("./task-tab-B8sYV6Ia.js"),__vite__mapDeps([57,1,2,32,7,8,33,58])),n2=()=>Pt(()=>import("./stats-tab-CBz_jhmH.js"),__vite__mapDeps([59,1,2,32,7,8,33,14,30,22,23,60])),r2={name:"browser",params:window.CODEX.LAST_ROUTE||zc.route},o2=[{name:"home",path:"/",redirect:r2},{name:"reader",path:"/c/:pk/:page",component:_y},{name:"browser",path:"/:group/:pks/:page",component:Zy},{name:"admin",path:"/admin",component:Yy,redirect:"/admin/libraries",children:[{name:"admin-users",path:"users",component:Jy},{name:"admin-groups",path:"groups",component:qy},{name:"admin-libraries",path:"libraries",component:e2},{name:"admin-flags",path:"flags",component:Qy},{name:"admin-tasks",path:"tasks",component:t2},{name:"admin-stats",path:"stats",component:n2}]},{name:"error",path:"/error/:code",component:Xy,props:!0},{name:"404",path:"/:pathMatch(.*)*",redirect:"/error/404"}],Ne=new jy({history:Sy(window.CODEX.APP_PATH),routes:o2});var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sf(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var co={exports:{}};/**
6
+ */const Cn=typeof document<"u";function V0(n){return n.__esModule||n[Symbol.toStringTag]==="Module"}const xe=Object.assign;function Bi(n,r){const o={};for(const i in r){const a=r[i];o[i]=Tt(a)?a.map(n):n(a)}return o}const ur=()=>{},Tt=Array.isArray,Yc=/#/g,K0=/&/g,j0=/\//g,z0=/=/g,Y0=/\?/g,Zc=/\+/g,Z0=/%5B/g,X0=/%5D/g,Xc=/%5E/g,_0=/%60/g,_c=/%7B/g,Q0=/%7C/g,Qc=/%7D/g,J0=/%20/g;function ns(n){return encodeURI(""+n).replace(Q0,"|").replace(Z0,"[").replace(X0,"]")}function q0(n){return ns(n).replace(_c,"{").replace(Qc,"}").replace(Xc,"^")}function ji(n){return ns(n).replace(Zc,"%2B").replace(J0,"+").replace(Yc,"%23").replace(K0,"%26").replace(_0,"`").replace(_c,"{").replace(Qc,"}").replace(Xc,"^")}function ey(n){return ji(n).replace(z0,"%3D")}function ty(n){return ns(n).replace(Yc,"%23").replace(Y0,"%3F")}function ny(n){return n==null?"":ty(n).replace(j0,"%2F")}function fr(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const ry=/\/$/,oy=n=>n.replace(ry,"");function ki(n,r,o="/"){let i,a={},c="",f="";const d=r.indexOf("#");let h=r.indexOf("?");return d<h&&d>=0&&(h=-1),h>-1&&(i=r.slice(0,h),c=r.slice(h+1,d>-1?d:r.length),a=n(c)),d>-1&&(i=i||r.slice(0,d),f=r.slice(d,r.length)),i=uy(i??r,o),{fullPath:i+(c&&"?")+c+f,path:i,query:a,hash:fr(f)}}function iy(n,r){const o=r.query?n(r.query):"";return r.path+(o&&"?")+o+(r.hash||"")}function tc(n,r){return!r||!n.toLowerCase().startsWith(r.toLowerCase())?n:n.slice(r.length)||"/"}function sy(n,r,o){const i=r.matched.length-1,a=o.matched.length-1;return i>-1&&i===a&&Dn(r.matched[i],o.matched[a])&&Jc(r.params,o.params)&&n(r.query)===n(o.query)&&r.hash===o.hash}function Dn(n,r){return(n.aliasOf||n)===(r.aliasOf||r)}function Jc(n,r){if(Object.keys(n).length!==Object.keys(r).length)return!1;for(const o in n)if(!ay(n[o],r[o]))return!1;return!0}function ay(n,r){return Tt(n)?nc(n,r):Tt(r)?nc(r,n):n===r}function nc(n,r){return Tt(r)?n.length===r.length&&n.every((o,i)=>o===r[i]):n.length===1&&n[0]===r}function uy(n,r){if(n.startsWith("/"))return n;if(!n)return r;const o=r.split("/"),i=n.split("/"),a=i[i.length-1];(a===".."||a===".")&&i.push("");let c=o.length-1,f,d;for(f=0;f<i.length;f++)if(d=i[f],d!==".")if(d==="..")c>1&&c--;else break;return o.slice(0,c).join("/")+"/"+i.slice(f).join("/")}var lr;(function(n){n.pop="pop",n.push="push"})(lr||(lr={}));var cr;(function(n){n.back="back",n.forward="forward",n.unknown=""})(cr||(cr={}));function cy(n){if(!n)if(Cn){const r=document.querySelector("base");n=r&&r.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),oy(n)}const fy=/^[^#]+#/;function ly(n,r){return n.replace(fy,"#")+r}function hy(n,r){const o=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:r.behavior,left:i.left-o.left-(r.left||0),top:i.top-o.top-(r.top||0)}}const ho=()=>({left:window.scrollX,top:window.scrollY});function dy(n){let r;if("el"in n){const o=n.el,i=typeof o=="string"&&o.startsWith("#"),a=typeof o=="string"?i?document.getElementById(o.slice(1)):document.querySelector(o):o;if(!a)return;r=hy(a,n)}else r=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.scrollX,r.top!=null?r.top:window.scrollY)}function rc(n,r){return(history.state?history.state.position-r:-1)+n}const zi=new Map;function py(n,r){zi.set(n,r)}function gy(n){const r=zi.get(n);return zi.delete(n),r}let vy=()=>location.protocol+"//"+location.host;function qc(n,r){const{pathname:o,search:i,hash:a}=r,c=n.indexOf("#");if(c>-1){let d=a.includes(n.slice(c))?n.slice(c).length:1,h=a.slice(d);return h[0]!=="/"&&(h="/"+h),tc(h,"")}return tc(o,n)+i+a}function my(n,r,o,i){let a=[],c=[],f=null;const d=({state:S})=>{const b=qc(n,location),R=o.value,E=r.value;let L=0;if(S){if(o.value=b,r.value=S,f&&f===R){f=null;return}L=E?S.position-E.position:0}else i(b);a.forEach(P=>{P(o.value,R,{delta:L,type:lr.pop,direction:L?L>0?cr.forward:cr.back:cr.unknown})})};function h(){f=o.value}function v(S){a.push(S);const b=()=>{const R=a.indexOf(S);R>-1&&a.splice(R,1)};return c.push(b),b}function g(){const{history:S}=window;S.state&&S.replaceState(xe({},S.state,{scroll:ho()}),"")}function y(){for(const S of c)S();c=[],window.removeEventListener("popstate",d),window.removeEventListener("beforeunload",g)}return window.addEventListener("popstate",d),window.addEventListener("beforeunload",g,{passive:!0}),{pauseListeners:h,listen:v,destroy:y}}function oc(n,r,o,i=!1,a=!1){return{back:n,current:r,forward:o,replaced:i,position:window.history.length,scroll:a?ho():null}}function yy(n){const{history:r,location:o}=window,i={value:qc(n,o)},a={value:r.state};a.value||c(i.value,{back:null,current:i.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function c(h,v,g){const y=n.indexOf("#"),S=y>-1?(o.host&&document.querySelector("base")?n:n.slice(y))+h:vy()+n+h;try{r[g?"replaceState":"pushState"](v,"",S),a.value=v}catch(b){console.error(b),o[g?"replace":"assign"](S)}}function f(h,v){const g=xe({},r.state,oc(a.value.back,h,a.value.forward,!0),v,{position:a.value.position});c(h,g,!0),i.value=h}function d(h,v){const g=xe({},a.value,r.state,{forward:h,scroll:ho()});c(g.current,g,!0);const y=xe({},oc(i.value,h,null),{position:g.position+1},v);c(h,y,!1),i.value=h}return{location:i,state:a,push:d,replace:f}}function Sy(n){n=cy(n);const r=yy(n),o=my(n,r.state,r.location,r.replace);function i(c,f=!0){f||o.pauseListeners(),history.go(c)}const a=xe({location:"",base:n,go:i,createHref:ly.bind(null,n)},r,o);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>r.state.value}),a}function xy(n){return typeof n=="string"||n&&typeof n=="object"}function ef(n){return typeof n=="string"||typeof n=="symbol"}const Jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tf=Symbol("");var ic;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(ic||(ic={}));function Fn(n,r){return xe(new Error,{type:n,[tf]:!0},r)}function $t(n,r){return n instanceof Error&&tf in n&&(r==null||!!(n.type&r))}const sc="[^/]+?",by={sensitive:!1,strict:!1,start:!0,end:!0},Ey=/[.+*?^${}()[\]/\\]/g;function Ty(n,r){const o=xe({},by,r),i=[];let a=o.start?"^":"";const c=[];for(const v of n){const g=v.length?[]:[90];o.strict&&!v.length&&(a+="/");for(let y=0;y<v.length;y++){const S=v[y];let b=40+(o.sensitive?.25:0);if(S.type===0)y||(a+="/"),a+=S.value.replace(Ey,"\\$&"),b+=40;else if(S.type===1){const{value:R,repeatable:E,optional:L,regexp:P}=S;c.push({name:R,repeatable:E,optional:L});const I=P||sc;if(I!==sc){b+=10;try{new RegExp(`(${I})`)}catch(N){throw new Error(`Invalid custom RegExp for param "${R}" (${I}): `+N.message)}}let C=E?`((?:${I})(?:/(?:${I}))*)`:`(${I})`;y||(C=L&&v.length<2?`(?:/${C})`:"/"+C),L&&(C+="?"),a+=C,b+=20,L&&(b+=-8),E&&(b+=-20),I===".*"&&(b+=-50)}g.push(b)}i.push(g)}if(o.strict&&o.end){const v=i.length-1;i[v][i[v].length-1]+=.7000000000000001}o.strict||(a+="/?"),o.end?a+="$":o.strict&&(a+="(?:/|$)");const f=new RegExp(a,o.sensitive?"":"i");function d(v){const g=v.match(f),y={};if(!g)return null;for(let S=1;S<g.length;S++){const b=g[S]||"",R=c[S-1];y[R.name]=b&&R.repeatable?b.split("/"):b}return y}function h(v){let g="",y=!1;for(const S of n){(!y||!g.endsWith("/"))&&(g+="/"),y=!1;for(const b of S)if(b.type===0)g+=b.value;else if(b.type===1){const{value:R,repeatable:E,optional:L}=b,P=R in v?v[R]:"";if(Tt(P)&&!E)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const I=Tt(P)?P.join("/"):P;if(!I)if(L)S.length<2&&(g.endsWith("/")?g=g.slice(0,-1):y=!0);else throw new Error(`Missing required param "${R}"`);g+=I}}return g||"/"}return{re:f,score:i,keys:c,parse:d,stringify:h}}function Ly(n,r){let o=0;for(;o<n.length&&o<r.length;){const i=r[o]-n[o];if(i)return i;o++}return n.length<r.length?n.length===1&&n[0]===80?-1:1:n.length>r.length?r.length===1&&r[0]===80?1:-1:0}function nf(n,r){let o=0;const i=n.score,a=r.score;for(;o<i.length&&o<a.length;){const c=Ly(i[o],a[o]);if(c)return c;o++}if(Math.abs(a.length-i.length)===1){if(ac(i))return 1;if(ac(a))return-1}return a.length-i.length}function ac(n){const r=n[n.length-1];return n.length>0&&r[r.length-1]<0}const Ry={type:0,value:""},wy=/[a-zA-Z0-9_]/;function Ay(n){if(!n)return[[]];if(n==="/")return[[Ry]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function r(b){throw new Error(`ERR (${o})/"${v}": ${b}`)}let o=0,i=o;const a=[];let c;function f(){c&&a.push(c),c=[]}let d=0,h,v="",g="";function y(){v&&(o===0?c.push({type:0,value:v}):o===1||o===2||o===3?(c.length>1&&(h==="*"||h==="+")&&r(`A repeatable param (${v}) must be alone in its segment. eg: '/:ids+.`),c.push({type:1,value:v,regexp:g,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):r("Invalid state to consume buffer"),v="")}function S(){v+=h}for(;d<n.length;){if(h=n[d++],h==="\\"&&o!==2){i=o,o=4;continue}switch(o){case 0:h==="/"?(v&&y(),f()):h===":"?(y(),o=1):S();break;case 4:S(),o=i;break;case 1:h==="("?o=2:wy.test(h)?S():(y(),o=0,h!=="*"&&h!=="?"&&h!=="+"&&d--);break;case 2:h===")"?g[g.length-1]=="\\"?g=g.slice(0,-1)+h:o=3:g+=h;break;case 3:y(),o=0,h!=="*"&&h!=="?"&&h!=="+"&&d--,g="";break;default:r("Unknown state");break}}return o===2&&r(`Unfinished custom RegExp for param "${v}"`),y(),f(),a}function Iy(n,r,o){const i=Ty(Ay(n.path),o),a=xe(i,{record:n,parent:r,children:[],alias:[]});return r&&!a.record.aliasOf==!r.record.aliasOf&&r.children.push(a),a}function Py(n,r){const o=[],i=new Map;r=fc({strict:!1,end:!0,sensitive:!1},r);function a(g){return i.get(g)}function c(g,y,S){const b=!S,R=Oy(g);R.aliasOf=S&&S.record;const E=fc(r,g),L=[R];if("alias"in g){const C=typeof g.alias=="string"?[g.alias]:g.alias;for(const N of C)L.push(xe({},R,{components:S?S.record.components:R.components,path:N,aliasOf:S?S.record:R}))}let P,I;for(const C of L){const{path:N}=C;if(y&&N[0]!=="/"){const U=y.record.path,W=U[U.length-1]==="/"?"":"/";C.path=y.record.path+(N&&W+N)}if(P=Iy(C,y,E),S?S.alias.push(P):(I=I||P,I!==P&&I.alias.push(P),b&&g.name&&!cc(P)&&f(g.name)),rf(P)&&h(P),R.children){const U=R.children;for(let W=0;W<U.length;W++)c(U[W],P,S&&S.children[W])}S=S||P}return I?()=>{f(I)}:ur}function f(g){if(ef(g)){const y=i.get(g);y&&(i.delete(g),o.splice(o.indexOf(y),1),y.children.forEach(f),y.alias.forEach(f))}else{const y=o.indexOf(g);y>-1&&(o.splice(y,1),g.record.name&&i.delete(g.record.name),g.children.forEach(f),g.alias.forEach(f))}}function d(){return o}function h(g){const y=Dy(g,o);o.splice(y,0,g),g.record.name&&!cc(g)&&i.set(g.record.name,g)}function v(g,y){let S,b={},R,E;if("name"in g&&g.name){if(S=i.get(g.name),!S)throw Fn(1,{location:g});E=S.record.name,b=xe(uc(y.params,S.keys.filter(I=>!I.optional).concat(S.parent?S.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),g.params&&uc(g.params,S.keys.map(I=>I.name))),R=S.stringify(b)}else if(g.path!=null)R=g.path,S=o.find(I=>I.re.test(R)),S&&(b=S.parse(R),E=S.record.name);else{if(S=y.name?i.get(y.name):o.find(I=>I.re.test(y.path)),!S)throw Fn(1,{location:g,currentLocation:y});E=S.record.name,b=xe({},y.params,g.params),R=S.stringify(b)}const L=[];let P=S;for(;P;)L.unshift(P.record),P=P.parent;return{name:E,path:R,params:b,matched:L,meta:My(L)}}return n.forEach(g=>c(g)),{addRoute:c,resolve:v,removeRoute:f,getRoutes:d,getRecordMatcher:a}}function uc(n,r){const o={};for(const i of r)i in n&&(o[i]=n[i]);return o}function Oy(n){return{path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:void 0,beforeEnter:n.beforeEnter,props:Cy(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}}}function Cy(n){const r={},o=n.props||!1;if("component"in n)r.default=o;else for(const i in n.components)r[i]=typeof o=="object"?o[i]:o;return r}function cc(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function My(n){return n.reduce((r,o)=>xe(r,o.meta),{})}function fc(n,r){const o={};for(const i in n)o[i]=i in r?r[i]:n[i];return o}function Dy(n,r){let o=0,i=r.length;for(;o!==i;){const c=o+i>>1;nf(n,r[c])<0?i=c:o=c+1}const a=Fy(n);return a&&(i=r.lastIndexOf(a,i-1)),i}function Fy(n){let r=n;for(;r=r.parent;)if(rf(r)&&nf(n,r)===0)return r}function rf({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function Hy(n){const r={};if(n===""||n==="?")return r;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let a=0;a<i.length;++a){const c=i[a].replace(Zc," "),f=c.indexOf("="),d=fr(f<0?c:c.slice(0,f)),h=f<0?null:fr(c.slice(f+1));if(d in r){let v=r[d];Tt(v)||(v=r[d]=[v]),v.push(h)}else r[d]=h}return r}function lc(n){let r="";for(let o in n){const i=n[o];if(o=ey(o),i==null){i!==void 0&&(r+=(r.length?"&":"")+o);continue}(Tt(i)?i.map(c=>c&&ji(c)):[i&&ji(i)]).forEach(c=>{c!==void 0&&(r+=(r.length?"&":"")+o,c!=null&&(r+="="+c))})}return r}function By(n){const r={};for(const o in n){const i=n[o];i!==void 0&&(r[o]=Tt(i)?i.map(a=>a==null?null:""+a):i==null?i:""+i)}return r}const ky=Symbol(""),hc=Symbol(""),rs=Symbol(""),of=Symbol(""),Yi=Symbol("");function tr(){let n=[];function r(i){return n.push(i),()=>{const a=n.indexOf(i);a>-1&&n.splice(a,1)}}function o(){n=[]}return{add:r,list:()=>n.slice(),reset:o}}function qt(n,r,o,i,a,c=f=>f()){const f=i&&(i.enterCallbacks[a]=i.enterCallbacks[a]||[]);return()=>new Promise((d,h)=>{const v=S=>{S===!1?h(Fn(4,{from:o,to:r})):S instanceof Error?h(S):xy(S)?h(Fn(2,{from:r,to:S})):(f&&i.enterCallbacks[a]===f&&typeof S=="function"&&f.push(S),d())},g=c(()=>n.call(i&&i.instances[a],r,o,v));let y=Promise.resolve(g);n.length<3&&(y=y.then(v)),y.catch(S=>h(S))})}function Ni(n,r,o,i,a=c=>c()){const c=[];for(const f of n)for(const d in f.components){let h=f.components[d];if(!(r!=="beforeRouteEnter"&&!f.instances[d]))if(Ny(h)){const g=(h.__vccOpts||h)[r];g&&c.push(qt(g,o,i,f,d,a))}else{let v=h();c.push(()=>v.then(g=>{if(!g)return Promise.reject(new Error(`Couldn't resolve component "${d}" at "${f.path}"`));const y=V0(g)?g.default:g;f.components[d]=y;const b=(y.__vccOpts||y)[r];return b&&qt(b,o,i,f,d,a)()}))}}return c}function Ny(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function dc(n){const r=It(rs),o=It(of),i=De(()=>{const h=pn(n.to);return r.resolve(h)}),a=De(()=>{const{matched:h}=i.value,{length:v}=h,g=h[v-1],y=o.matched;if(!g||!y.length)return-1;const S=y.findIndex(Dn.bind(null,g));if(S>-1)return S;const b=pc(h[v-2]);return v>1&&pc(g)===b&&y[y.length-1].path!==b?y.findIndex(Dn.bind(null,h[v-2])):S}),c=De(()=>a.value>-1&&Uy(o.params,i.value.params)),f=De(()=>a.value>-1&&a.value===o.matched.length-1&&Jc(o.params,i.value.params));function d(h={}){return Gy(h)?r[pn(n.replace)?"replace":"push"](pn(n.to)).catch(ur):Promise.resolve()}return{route:i,href:De(()=>i.value.href),isActive:c,isExactActive:f,navigate:d}}const $y=Dc({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:dc,setup(n,{slots:r}){const o=en(dc(n)),{options:i}=It(rs),a=De(()=>({[gc(n.activeClass,i.linkActiveClass,"router-link-active")]:o.isActive,[gc(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive}));return()=>{const c=r.default&&r.default(o);return n.custom?c:Fc("a",{"aria-current":o.isExactActive?n.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:a.value},c)}}}),Wy=$y;function Gy(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const r=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return n.preventDefault&&n.preventDefault(),!0}}function Uy(n,r){for(const o in r){const i=r[o],a=n[o];if(typeof i=="string"){if(i!==a)return!1}else if(!Tt(a)||a.length!==i.length||i.some((c,f)=>c!==a[f]))return!1}return!0}function pc(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const gc=(n,r,o)=>n??r??o,Vy=Dc({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:r,slots:o}){const i=It(Yi),a=De(()=>n.route||i.value),c=It(hc,0),f=De(()=>{let v=pn(c);const{matched:g}=a.value;let y;for(;(y=g[v])&&!y.components;)v++;return v}),d=De(()=>a.value.matched[f.value]);sr(hc,De(()=>f.value+1)),sr(ky,d),sr(Yi,a);const h=so();return Qi(()=>[h.value,d.value,n.name],([v,g,y],[S,b,R])=>{g&&(g.instances[y]=v,b&&b!==g&&v&&v===S&&(g.leaveGuards.size||(g.leaveGuards=b.leaveGuards),g.updateGuards.size||(g.updateGuards=b.updateGuards))),v&&g&&(!b||!Dn(g,b)||!S)&&(g.enterCallbacks[y]||[]).forEach(E=>E(v))},{flush:"post"}),()=>{const v=a.value,g=n.name,y=d.value,S=y&&y.components[g];if(!S)return vc(o.default,{Component:S,route:v});const b=y.props[g],R=b?b===!0?v.params:typeof b=="function"?b(v):b:null,L=Fc(S,xe({},R,r,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(y.instances[g]=null)},ref:h}));return vc(o.default,{Component:L,route:v})||L}}});function vc(n,r){if(!n)return null;const o=n(r);return o.length===1?o[0]:o}const Ky=Vy;function jy(n){const r=Py(n.routes,n),o=n.parseQuery||Hy,i=n.stringifyQuery||lc,a=n.history,c=tr(),f=tr(),d=tr(),h=Mc(Jt);let v=Jt;Cn&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const g=Bi.bind(null,D=>""+D),y=Bi.bind(null,ny),S=Bi.bind(null,fr);function b(D,X){let j,J;return ef(D)?(j=r.getRecordMatcher(D),J=X):J=D,r.addRoute(J,j)}function R(D){const X=r.getRecordMatcher(D);X&&r.removeRoute(X)}function E(){return r.getRoutes().map(D=>D.record)}function L(D){return!!r.getRecordMatcher(D)}function P(D,X){if(X=xe({},X||h.value),typeof D=="string"){const ee=ki(o,D,X.path),we=r.resolve({path:ee.path},X),nn=a.createHref(ee.fullPath);return xe(ee,we,{params:S(we.params),hash:fr(ee.hash),redirectedFrom:void 0,href:nn})}let j;if(D.path!=null)j=xe({},D,{path:ki(o,D.path,X.path).path});else{const ee=xe({},D.params);for(const we in ee)ee[we]==null&&delete ee[we];j=xe({},D,{params:y(ee)}),X.params=y(X.params)}const J=r.resolve(j,X),ge=D.hash||"";J.params=g(S(J.params));const Re=iy(i,xe({},D,{hash:q0(ge),path:J.path})),fe=a.createHref(Re);return xe({fullPath:Re,hash:ge,query:i===lc?By(D.query):D.query||{}},J,{redirectedFrom:void 0,href:fe})}function I(D){return typeof D=="string"?ki(o,D,h.value.path):xe({},D)}function C(D,X){if(v!==D)return Fn(8,{from:X,to:D})}function N(D){return B(D)}function U(D){return N(xe(I(D),{replace:!0}))}function W(D){const X=D.matched[D.matched.length-1];if(X&&X.redirect){const{redirect:j}=X;let J=typeof j=="function"?j(D):j;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=I(J):{path:J},J.params={}),xe({query:D.query,hash:D.hash,params:J.path!=null?{}:D.params},J)}}function B(D,X){const j=v=P(D),J=h.value,ge=D.state,Re=D.force,fe=D.replace===!0,ee=W(j);if(ee)return B(xe(I(ee),{state:typeof ee=="object"?xe({},ge,ee.state):ge,force:Re,replace:fe}),X||j);const we=j;we.redirectedFrom=X;let nn;return!Re&&sy(i,J,j)&&(nn=Fn(16,{to:we,from:J}),Ee(J,J,!0,!1)),(nn?Promise.resolve(nn):V(we,J)).catch(Pe=>$t(Pe)?$t(Pe,2)?Pe:pe(Pe):ce(Pe,we,J)).then(Pe=>{if(Pe){if($t(Pe,2))return B(xe({replace:fe},I(Pe.to),{state:typeof Pe.to=="object"?xe({},ge,Pe.to.state):ge,force:Re}),X||we)}else Pe=Z(we,J,!0,fe,ge);return K(we,J,Pe),Pe})}function k(D,X){const j=C(D,X);return j?Promise.reject(j):Promise.resolve()}function $(D){const X=tt.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(D):D()}function V(D,X){let j;const[J,ge,Re]=zy(D,X);j=Ni(J.reverse(),"beforeRouteLeave",D,X);for(const ee of J)ee.leaveGuards.forEach(we=>{j.push(qt(we,D,X))});const fe=k.bind(null,D,X);return j.push(fe),nt(j).then(()=>{j=[];for(const ee of c.list())j.push(qt(ee,D,X));return j.push(fe),nt(j)}).then(()=>{j=Ni(ge,"beforeRouteUpdate",D,X);for(const ee of ge)ee.updateGuards.forEach(we=>{j.push(qt(we,D,X))});return j.push(fe),nt(j)}).then(()=>{j=[];for(const ee of Re)if(ee.beforeEnter)if(Tt(ee.beforeEnter))for(const we of ee.beforeEnter)j.push(qt(we,D,X));else j.push(qt(ee.beforeEnter,D,X));return j.push(fe),nt(j)}).then(()=>(D.matched.forEach(ee=>ee.enterCallbacks={}),j=Ni(Re,"beforeRouteEnter",D,X,$),j.push(fe),nt(j))).then(()=>{j=[];for(const ee of f.list())j.push(qt(ee,D,X));return j.push(fe),nt(j)}).catch(ee=>$t(ee,8)?ee:Promise.reject(ee))}function K(D,X,j){d.list().forEach(J=>$(()=>J(D,X,j)))}function Z(D,X,j,J,ge){const Re=C(D,X);if(Re)return Re;const fe=X===Jt,ee=Cn?history.state:{};j&&(J||fe?a.replace(D.fullPath,xe({scroll:fe&&ee&&ee.scroll},ge)):a.push(D.fullPath,ge)),h.value=D,Ee(D,X,j,fe),pe()}let Y;function me(){Y||(Y=a.listen((D,X,j)=>{const J=P(D),ge=W(J);if(ge){B(xe(ge,{replace:!0}),J).catch(ur);return}v=J;const Re=h.value;Cn&&py(rc(Re.fullPath,j.delta),ho()),V(J,Re).catch(fe=>$t(fe,12)?fe:$t(fe,2)?(B(fe.to,J).then(ee=>{$t(ee,20)&&!j.delta&&j.type===lr.pop&&a.go(-1,!1)}).catch(ur),Promise.reject()):(j.delta&&a.go(-j.delta,!1),ce(fe,J,Re))).then(fe=>{fe=fe||Z(J,Re,!1),fe&&(j.delta&&!$t(fe,8)?a.go(-j.delta,!1):j.type===lr.pop&&$t(fe,20)&&a.go(-1,!1)),K(J,Re,fe)}).catch(ur)}))}let be=tr(),Fe=tr(),ue;function ce(D,X,j){pe(D);const J=Fe.list();return J.length?J.forEach(ge=>ge(D,X,j)):console.error(D),Promise.reject(D)}function ke(){return ue&&h.value!==Jt?Promise.resolve():new Promise((D,X)=>{be.add([D,X])})}function pe(D){return ue||(ue=!D,me(),be.list().forEach(([X,j])=>D?j(D):X()),be.reset()),D}function Ee(D,X,j,J){const{scrollBehavior:ge}=n;if(!Cn||!ge)return Promise.resolve();const Re=!j&&gy(rc(D.fullPath,0))||(J||!j)&&history.state&&history.state.scroll||null;return Hn().then(()=>ge(D,X,Re)).then(fe=>fe&&dy(fe)).catch(fe=>ce(fe,D,X))}const _e=D=>a.go(D);let Ke;const tt=new Set,Lt={currentRoute:h,listening:!0,addRoute:b,removeRoute:R,hasRoute:L,getRoutes:E,resolve:P,options:n,push:N,replace:U,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:c.add,beforeResolve:f.add,afterEach:d.add,onError:Fe.add,isReady:ke,install(D){const X=this;D.component("RouterLink",Wy),D.component("RouterView",Ky),D.config.globalProperties.$router=X,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>pn(h)}),Cn&&!Ke&&h.value===Jt&&(Ke=!0,N(a.location).catch(ge=>{}));const j={};for(const ge in Jt)Object.defineProperty(j,ge,{get:()=>h.value[ge],enumerable:!0});D.provide(rs,X),D.provide(of,gm(j)),D.provide(Yi,h);const J=D.unmount;tt.add(D),D.unmount=function(){tt.delete(D),tt.size<1&&(v=Jt,Y&&Y(),Y=null,h.value=Jt,Ke=!1,ue=!1),J()}}};function nt(D){return D.reduce((X,j)=>X.then(()=>$(j)),Promise.resolve())}return Lt}function zy(n,r){const o=[],i=[],a=[],c=Math.max(r.matched.length,n.matched.length);for(let f=0;f<c;f++){const d=r.matched[f];d&&(n.matched.find(v=>Dn(v,d))?i.push(d):o.push(d));const h=n.matched[f];h&&(r.matched.find(v=>Dn(v,h))||a.push(h))}return[o,i,a]}const Yy=()=>Pt(()=>import("./admin-37fN97_d.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20])),Zy=()=>Pt(()=>import("./browser-CA_2XCnV.js"),__vite__mapDeps([21,1,2,22,23,7,8,24,25,9,10,26,3,4,5,6,11,12,13,14,15,27,28,18,19,29,30,31,32,33,34,35,36,37])),Xy=()=>Pt(()=>import("./http-error-MPj9N9no.js"),__vite__mapDeps([38,1,2,4,5,6,7,8,9,10,11,12,13,39])),_y=()=>Pt(()=>import("./reader-CFLp5Avy.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,28,25,18,19,29,41,42,43,44,24,26,27,30,31,45])),Qy=()=>Pt(()=>import("./flag-tab-CEyOjZFp.js"),__vite__mapDeps([46,1,2,22,23,24,25,9,10,26,47])),Jy=()=>Pt(()=>import("./user-tab-BhdZJ6QU.js"),__vite__mapDeps([48,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,24,26,51,52,5,12])),qy=()=>Pt(()=>import("./group-tab-CBqhy8zy.js"),__vite__mapDeps([53,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,43,44,54])),e2=()=>Pt(()=>import("./library-tab-5azEcqzs.js"),__vite__mapDeps([55,1,2,49,6,7,8,9,10,11,28,25,18,19,29,22,23,35,32,33,50,34,36,24,26,51,52,41,42,56])),t2=()=>Pt(()=>import("./task-tab-DVu0qD_G.js"),__vite__mapDeps([57,1,2,32,7,8,33,58])),n2=()=>Pt(()=>import("./stats-tab-BaWY3sVM.js"),__vite__mapDeps([59,1,2,32,7,8,33,14,30,22,23,60])),r2={name:"browser",params:window.CODEX.LAST_ROUTE||zc.route},o2=[{name:"home",path:"/",redirect:r2},{name:"reader",path:"/c/:pk/:page",component:_y},{name:"browser",path:"/:group/:pks/:page",component:Zy},{name:"admin",path:"/admin",component:Yy,redirect:"/admin/libraries",children:[{name:"admin-users",path:"users",component:Jy},{name:"admin-groups",path:"groups",component:qy},{name:"admin-libraries",path:"libraries",component:e2},{name:"admin-flags",path:"flags",component:Qy},{name:"admin-tasks",path:"tasks",component:t2},{name:"admin-stats",path:"stats",component:n2}]},{name:"error",path:"/error/:code",component:Xy,props:!0},{name:"404",path:"/:pathMatch(.*)*",redirect:"/error/404"}],Ne=new jy({history:Sy(window.CODEX.APP_PATH),routes:o2});var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sf(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var co={exports:{}};/**
7
7
  * @license
8
8
  * Lodash <https://lodash.com/>
9
9
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>