codex 1.7.6__py3-none-any.whl → 1.7.7__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 (418) hide show
  1. codex/serializers/browser/metadata.py +2 -0
  2. codex/static_root/assets/{VCheckbox-CwHKQJ94.127ebad87333.js → VCheckbox-Dsd2BsZ5.7c41fb3e8ba4.js} +1 -1
  3. codex/static_root/assets/VCheckbox-Dsd2BsZ5.7c41fb3e8ba4.js.br +0 -0
  4. codex/static_root/assets/VCheckbox-Dsd2BsZ5.7c41fb3e8ba4.js.gz +0 -0
  5. codex/static_root/assets/{VCheckbox-CwHKQJ94.js → VCheckbox-Dsd2BsZ5.js} +1 -1
  6. codex/static_root/assets/VCheckbox-Dsd2BsZ5.js.br +0 -0
  7. codex/static_root/assets/VCheckbox-Dsd2BsZ5.js.gz +0 -0
  8. codex/static_root/assets/{VCheckboxBtn-DtWeBQSc.eb4f0b35df90.js → VCheckboxBtn-DUIOks3V.c14c841b2965.js} +1 -1
  9. codex/static_root/assets/VCheckboxBtn-DUIOks3V.c14c841b2965.js.br +0 -0
  10. codex/static_root/assets/VCheckboxBtn-DUIOks3V.c14c841b2965.js.gz +0 -0
  11. codex/static_root/assets/{VCheckboxBtn-DtWeBQSc.js → VCheckboxBtn-DUIOks3V.js} +1 -1
  12. codex/static_root/assets/VCheckboxBtn-DUIOks3V.js.br +0 -0
  13. codex/static_root/assets/VCheckboxBtn-DUIOks3V.js.gz +0 -0
  14. codex/static_root/assets/{VCombobox-C44w_9Tr.e8c0aeaf51bb.js → VCombobox-Gz9N06nz.668b85a54990.js} +1 -1
  15. codex/static_root/assets/VCombobox-Gz9N06nz.668b85a54990.js.br +0 -0
  16. codex/static_root/assets/VCombobox-Gz9N06nz.668b85a54990.js.gz +0 -0
  17. codex/static_root/assets/{VCombobox-C44w_9Tr.js → VCombobox-Gz9N06nz.js} +1 -1
  18. codex/static_root/assets/VCombobox-Gz9N06nz.js.br +0 -0
  19. codex/static_root/assets/VCombobox-Gz9N06nz.js.gz +0 -0
  20. codex/static_root/assets/{VDialog-B23zgnQg.2ad0b1bd166a.js → VDialog-JYjcWZ0u.91bd96a0d870.js} +1 -1
  21. codex/static_root/assets/VDialog-JYjcWZ0u.91bd96a0d870.js.br +0 -0
  22. codex/static_root/assets/{VDialog-B23zgnQg.js.gz → VDialog-JYjcWZ0u.91bd96a0d870.js.gz} +0 -0
  23. codex/static_root/assets/{VDialog-B23zgnQg.js → VDialog-JYjcWZ0u.js} +1 -1
  24. codex/static_root/assets/VDialog-JYjcWZ0u.js.br +0 -0
  25. codex/static_root/assets/{VDialog-B23zgnQg.2ad0b1bd166a.js.gz → VDialog-JYjcWZ0u.js.gz} +0 -0
  26. codex/static_root/assets/{VDivider-CXvbBALe.aaec2523ab0d.js → VDivider-Coot1SE9.c585b1971696.js} +1 -1
  27. codex/static_root/assets/VDivider-Coot1SE9.c585b1971696.js.br +0 -0
  28. codex/static_root/assets/VDivider-Coot1SE9.c585b1971696.js.gz +0 -0
  29. codex/static_root/assets/{VDivider-CXvbBALe.js → VDivider-Coot1SE9.js} +1 -1
  30. codex/static_root/assets/VDivider-Coot1SE9.js.br +0 -0
  31. codex/static_root/assets/VDivider-Coot1SE9.js.gz +0 -0
  32. codex/static_root/assets/{VExpansionPanels-y8aa_9Go.f8eadc657914.js → VExpansionPanels-DSaZZJ_i.c5bf69cefe7c.js} +1 -1
  33. codex/static_root/assets/VExpansionPanels-DSaZZJ_i.c5bf69cefe7c.js.br +0 -0
  34. codex/static_root/assets/VExpansionPanels-DSaZZJ_i.c5bf69cefe7c.js.gz +0 -0
  35. codex/static_root/assets/{VExpansionPanels-y8aa_9Go.js → VExpansionPanels-DSaZZJ_i.js} +1 -1
  36. codex/static_root/assets/VExpansionPanels-DSaZZJ_i.js.br +0 -0
  37. codex/static_root/assets/VExpansionPanels-DSaZZJ_i.js.gz +0 -0
  38. codex/static_root/assets/{VForm-moUsJiEX.a1aa6a07978f.js → VForm-CsURMe0X.e8dbbd6714c7.js} +1 -1
  39. codex/static_root/assets/VForm-CsURMe0X.e8dbbd6714c7.js.br +0 -0
  40. codex/static_root/assets/VForm-CsURMe0X.e8dbbd6714c7.js.gz +0 -0
  41. codex/static_root/assets/{VForm-moUsJiEX.js → VForm-CsURMe0X.js} +1 -1
  42. codex/static_root/assets/VForm-CsURMe0X.js.br +0 -0
  43. codex/static_root/assets/VForm-CsURMe0X.js.gz +0 -0
  44. codex/static_root/assets/{VRadioGroup-Dq9Lhxp6.e8bb88987c19.js → VRadioGroup-BfMW9v1C.b6c552d3ebd9.js} +1 -1
  45. codex/static_root/assets/VRadioGroup-BfMW9v1C.b6c552d3ebd9.js.br +0 -0
  46. codex/static_root/assets/VRadioGroup-BfMW9v1C.b6c552d3ebd9.js.gz +0 -0
  47. codex/static_root/assets/{VRadioGroup-Dq9Lhxp6.js → VRadioGroup-BfMW9v1C.js} +1 -1
  48. codex/static_root/assets/VRadioGroup-BfMW9v1C.js.br +0 -0
  49. codex/static_root/assets/VRadioGroup-BfMW9v1C.js.gz +0 -0
  50. codex/static_root/assets/{VSelect-BNa4Zji8.657caadd0e0c.js → VSelect-DF_7_wrq.50eb35ef8034.js} +1 -1
  51. codex/static_root/assets/VSelect-DF_7_wrq.50eb35ef8034.js.br +0 -0
  52. codex/static_root/assets/VSelect-DF_7_wrq.50eb35ef8034.js.gz +0 -0
  53. codex/static_root/assets/{VSelect-BNa4Zji8.js → VSelect-DF_7_wrq.js} +1 -1
  54. codex/static_root/assets/VSelect-DF_7_wrq.js.br +0 -0
  55. codex/static_root/assets/VSelect-DF_7_wrq.js.gz +0 -0
  56. codex/static_root/assets/{VSelectionControl-Cx6Xy7hY.js → VSelectionControl-C-U8aPN3.ee2ff0451f30.js} +1 -1
  57. codex/static_root/assets/VSelectionControl-C-U8aPN3.ee2ff0451f30.js.br +0 -0
  58. codex/static_root/assets/VSelectionControl-C-U8aPN3.ee2ff0451f30.js.gz +0 -0
  59. codex/static_root/assets/{VSelectionControl-Cx6Xy7hY.5a2c6214fa48.js → VSelectionControl-C-U8aPN3.js} +1 -1
  60. codex/static_root/assets/VSelectionControl-C-U8aPN3.js.br +0 -0
  61. codex/static_root/assets/VSelectionControl-C-U8aPN3.js.gz +0 -0
  62. codex/static_root/assets/{VTable-qFAzmpUV.238dcd9fe0c9.js → VTable-CApWgl_Z.73e5dc6daac2.js} +1 -1
  63. codex/static_root/assets/VTable-CApWgl_Z.73e5dc6daac2.js.br +0 -0
  64. codex/static_root/assets/VTable-CApWgl_Z.73e5dc6daac2.js.gz +0 -0
  65. codex/static_root/assets/{VTable-qFAzmpUV.js → VTable-CApWgl_Z.js} +1 -1
  66. codex/static_root/assets/VTable-CApWgl_Z.js.br +0 -0
  67. codex/static_root/assets/VTable-CApWgl_Z.js.gz +0 -0
  68. codex/static_root/assets/{VWindowItem-B0mrg4ib.473bca7eca63.js → VWindowItem-BkKshOEy.a5227da9ba5b.js} +1 -1
  69. codex/static_root/assets/VWindowItem-BkKshOEy.a5227da9ba5b.js.br +0 -0
  70. codex/static_root/assets/VWindowItem-BkKshOEy.a5227da9ba5b.js.gz +0 -0
  71. codex/static_root/assets/{VWindowItem-B0mrg4ib.js → VWindowItem-BkKshOEy.js} +1 -1
  72. codex/static_root/assets/VWindowItem-BkKshOEy.js.br +0 -0
  73. codex/static_root/assets/VWindowItem-BkKshOEy.js.gz +0 -0
  74. codex/static_root/assets/{admin-DEzMkE3K.ea4a65f2f926.js → admin-Dl90w4xx.a9772c680e4a.js} +1 -1
  75. codex/static_root/assets/admin-Dl90w4xx.a9772c680e4a.js.br +0 -0
  76. codex/static_root/assets/admin-Dl90w4xx.a9772c680e4a.js.gz +0 -0
  77. codex/static_root/assets/{admin-DEzMkE3K.js → admin-Dl90w4xx.js} +1 -1
  78. codex/static_root/assets/admin-Dl90w4xx.js.br +0 -0
  79. codex/static_root/assets/admin-Dl90w4xx.js.gz +0 -0
  80. codex/static_root/assets/{admin-BtjKFdWH.835867135730.js → admin-kog1vr1-.68109a677a58.js} +1 -1
  81. codex/static_root/assets/admin-kog1vr1-.68109a677a58.js.br +0 -0
  82. codex/static_root/assets/admin-kog1vr1-.68109a677a58.js.gz +0 -0
  83. codex/static_root/assets/{admin-BtjKFdWH.js → admin-kog1vr1-.js} +1 -1
  84. codex/static_root/assets/admin-kog1vr1-.js.br +0 -0
  85. codex/static_root/assets/admin-kog1vr1-.js.gz +0 -0
  86. codex/static_root/assets/{admin-menu-R2n0F_fo.c1c4570d9ede.js → admin-menu-B5Tu5d7c.a958d8ce60e8.js} +1 -1
  87. codex/static_root/assets/admin-menu-B5Tu5d7c.a958d8ce60e8.js.br +0 -0
  88. codex/static_root/assets/admin-menu-B5Tu5d7c.a958d8ce60e8.js.gz +0 -0
  89. codex/static_root/assets/{admin-menu-R2n0F_fo.js → admin-menu-B5Tu5d7c.js} +1 -1
  90. codex/static_root/assets/admin-menu-B5Tu5d7c.js.br +0 -0
  91. codex/static_root/assets/admin-menu-B5Tu5d7c.js.gz +0 -0
  92. codex/static_root/assets/{admin-settings-button-progress-C9lCWw8k.35b197626186.js → admin-settings-button-progress-Dflyj3Tj.ee985c7f4955.js} +1 -1
  93. codex/static_root/assets/admin-settings-button-progress-Dflyj3Tj.ee985c7f4955.js.br +0 -0
  94. codex/static_root/assets/admin-settings-button-progress-Dflyj3Tj.ee985c7f4955.js.gz +0 -0
  95. codex/static_root/assets/{admin-settings-button-progress-C9lCWw8k.js → admin-settings-button-progress-Dflyj3Tj.js} +1 -1
  96. codex/static_root/assets/admin-settings-button-progress-Dflyj3Tj.js.br +0 -0
  97. codex/static_root/assets/admin-settings-button-progress-Dflyj3Tj.js.gz +0 -0
  98. codex/static_root/assets/{browser-w29qvXZC.84f4d80ffad1.js → browser-Dn9VeG9o.41160f5f3581.js} +1 -1
  99. codex/static_root/assets/browser-Dn9VeG9o.41160f5f3581.js.br +0 -0
  100. codex/static_root/assets/browser-Dn9VeG9o.41160f5f3581.js.gz +0 -0
  101. codex/static_root/assets/{browser-w29qvXZC.js → browser-Dn9VeG9o.js} +1 -1
  102. codex/static_root/assets/browser-Dn9VeG9o.js.br +0 -0
  103. codex/static_root/assets/browser-Dn9VeG9o.js.gz +0 -0
  104. codex/static_root/assets/{change-password-dialog-C3iwpm32.22e54e2544c2.js → change-password-dialog-bLA6nGQc.19de45f2d34d.js} +1 -1
  105. codex/static_root/assets/change-password-dialog-bLA6nGQc.19de45f2d34d.js.br +0 -0
  106. codex/static_root/assets/change-password-dialog-bLA6nGQc.19de45f2d34d.js.gz +0 -0
  107. codex/static_root/assets/{change-password-dialog-C3iwpm32.js → change-password-dialog-bLA6nGQc.js} +1 -1
  108. codex/static_root/assets/change-password-dialog-bLA6nGQc.js.br +0 -0
  109. codex/static_root/assets/change-password-dialog-bLA6nGQc.js.gz +0 -0
  110. codex/static_root/assets/{confirm-dialog-DONZupFF.351a50590157.js → confirm-dialog-DP3s37VG.bc0812da4a41.js} +1 -1
  111. codex/static_root/assets/confirm-dialog-DP3s37VG.bc0812da4a41.js.br +0 -0
  112. codex/static_root/assets/confirm-dialog-DP3s37VG.bc0812da4a41.js.gz +0 -0
  113. codex/static_root/assets/{confirm-dialog-DONZupFF.js → confirm-dialog-DP3s37VG.js} +1 -1
  114. codex/static_root/assets/confirm-dialog-DP3s37VG.js.br +0 -0
  115. codex/static_root/assets/confirm-dialog-DP3s37VG.js.gz +0 -0
  116. codex/static_root/assets/{datetime-column-BN8MTxGF.06fa87586057.js → datetime-column-BLY3DVgs.eb4c74d7d40b.js} +1 -1
  117. codex/static_root/assets/datetime-column-BLY3DVgs.eb4c74d7d40b.js.br +0 -0
  118. codex/static_root/assets/datetime-column-BLY3DVgs.eb4c74d7d40b.js.gz +0 -0
  119. codex/static_root/assets/{datetime-column-BN8MTxGF.js → datetime-column-BLY3DVgs.js} +1 -1
  120. codex/static_root/assets/datetime-column-BLY3DVgs.js.br +0 -0
  121. codex/static_root/assets/datetime-column-BLY3DVgs.js.gz +0 -0
  122. codex/static_root/assets/{filter-DehKIIGX.d4763130e428.js → filter-D_J5NTMN.19d3621572c3.js} +1 -1
  123. codex/static_root/assets/filter-D_J5NTMN.19d3621572c3.js.br +0 -0
  124. codex/static_root/assets/filter-D_J5NTMN.19d3621572c3.js.gz +0 -0
  125. codex/static_root/assets/{filter-DehKIIGX.js → filter-D_J5NTMN.js} +1 -1
  126. codex/static_root/assets/filter-D_J5NTMN.js.br +0 -0
  127. codex/static_root/assets/filter-D_J5NTMN.js.gz +0 -0
  128. codex/static_root/assets/{flag-tab-D-Vm731o.de445bf1efd8.js → flag-tab-D-QmPLuT.44070d940376.js} +1 -1
  129. codex/static_root/assets/flag-tab-D-QmPLuT.44070d940376.js.br +0 -0
  130. codex/static_root/assets/flag-tab-D-QmPLuT.44070d940376.js.gz +0 -0
  131. codex/static_root/assets/{flag-tab-D-Vm731o.js → flag-tab-D-QmPLuT.js} +1 -1
  132. codex/static_root/assets/flag-tab-D-QmPLuT.js.br +0 -0
  133. codex/static_root/assets/flag-tab-D-QmPLuT.js.gz +0 -0
  134. codex/static_root/assets/{forwardRefs-CPT3PaIR.e3f89dad5c32.js → forwardRefs-Dab8mCr8.7b7432c76353.js} +1 -1
  135. codex/static_root/assets/forwardRefs-Dab8mCr8.7b7432c76353.js.br +0 -0
  136. codex/static_root/assets/forwardRefs-Dab8mCr8.7b7432c76353.js.gz +0 -0
  137. codex/static_root/assets/{forwardRefs-CPT3PaIR.js → forwardRefs-Dab8mCr8.js} +1 -1
  138. codex/static_root/assets/forwardRefs-Dab8mCr8.js.br +0 -0
  139. codex/static_root/assets/forwardRefs-Dab8mCr8.js.gz +0 -0
  140. codex/static_root/assets/{group-tab-DHg_7lBM.0a71944f81d7.js → group-tab-CIU-U5vV.1b0046144f3d.js} +1 -1
  141. codex/static_root/assets/group-tab-CIU-U5vV.1b0046144f3d.js.br +0 -0
  142. codex/static_root/assets/group-tab-CIU-U5vV.1b0046144f3d.js.gz +0 -0
  143. codex/static_root/assets/{group-tab-DHg_7lBM.js → group-tab-CIU-U5vV.js} +1 -1
  144. codex/static_root/assets/group-tab-CIU-U5vV.js.br +0 -0
  145. codex/static_root/assets/group-tab-CIU-U5vV.js.gz +0 -0
  146. codex/static_root/assets/{http-error-3wet1qit.0dfb14591511.js → http-error-DC-8e3vW.7b7ee0f57ed8.js} +1 -1
  147. codex/static_root/assets/http-error-DC-8e3vW.7b7ee0f57ed8.js.br +0 -0
  148. codex/static_root/assets/http-error-DC-8e3vW.7b7ee0f57ed8.js.gz +0 -0
  149. codex/static_root/assets/{http-error-3wet1qit.js → http-error-DC-8e3vW.js} +1 -1
  150. codex/static_root/assets/http-error-DC-8e3vW.js.br +0 -0
  151. codex/static_root/assets/http-error-DC-8e3vW.js.gz +0 -0
  152. codex/static_root/assets/{index-B7MTJvsh.72d1b5a22643.js → index-GAPixOVo.228bbe0a7550.js} +1 -1
  153. codex/static_root/assets/index-GAPixOVo.228bbe0a7550.js.br +0 -0
  154. codex/static_root/assets/index-GAPixOVo.228bbe0a7550.js.gz +0 -0
  155. codex/static_root/assets/{index-B7MTJvsh.js → index-GAPixOVo.js} +1 -1
  156. codex/static_root/assets/index-GAPixOVo.js.br +0 -0
  157. codex/static_root/assets/index-GAPixOVo.js.gz +0 -0
  158. codex/static_root/assets/{library-tab-BwNsGaT8.js → library-tab-DErITV3q.c6b99695a024.js} +1 -1
  159. codex/static_root/assets/library-tab-DErITV3q.c6b99695a024.js.br +0 -0
  160. codex/static_root/assets/library-tab-DErITV3q.c6b99695a024.js.gz +0 -0
  161. codex/static_root/assets/{library-tab-BwNsGaT8.ac078d92716c.js → library-tab-DErITV3q.js} +1 -1
  162. codex/static_root/assets/library-tab-DErITV3q.js.br +0 -0
  163. codex/static_root/assets/library-tab-DErITV3q.js.gz +0 -0
  164. codex/static_root/assets/{main-D2_idFz6.35b387ef2e6e.js → main-CqJrEeXs.1f4589cf31cf.js} +3 -3
  165. codex/static_root/assets/main-CqJrEeXs.1f4589cf31cf.js.br +0 -0
  166. codex/static_root/assets/main-CqJrEeXs.1f4589cf31cf.js.gz +0 -0
  167. codex/static_root/assets/{main-D2_idFz6.js → main-CqJrEeXs.js} +3 -3
  168. codex/static_root/assets/main-CqJrEeXs.js.br +0 -0
  169. codex/static_root/assets/main-CqJrEeXs.js.gz +0 -0
  170. codex/static_root/assets/pager-full-pdf-Dp4zwooA.5bb892a48840.js +1 -0
  171. codex/static_root/assets/pager-full-pdf-Dp4zwooA.5bb892a48840.js.br +0 -0
  172. codex/static_root/assets/pager-full-pdf-Dp4zwooA.5bb892a48840.js.gz +0 -0
  173. codex/static_root/assets/pager-full-pdf-Dp4zwooA.js +1 -0
  174. codex/static_root/assets/pager-full-pdf-Dp4zwooA.js.br +0 -0
  175. codex/static_root/assets/pager-full-pdf-Dp4zwooA.js.gz +0 -0
  176. codex/static_root/assets/{pagination-toolbar-BP1ZminG.css → pagination-toolbar-CvX4XUda.css} +1 -1
  177. codex/static_root/assets/pagination-toolbar-CvX4XUda.css.br +0 -0
  178. codex/static_root/assets/pagination-toolbar-CvX4XUda.css.gz +0 -0
  179. codex/static_root/assets/{pagination-toolbar-BP1ZminG.7c284d7371e0.css → pagination-toolbar-CvX4XUda.ff9de32b532c.css} +1 -1
  180. codex/static_root/assets/pagination-toolbar-CvX4XUda.ff9de32b532c.css.br +0 -0
  181. codex/static_root/assets/pagination-toolbar-CvX4XUda.ff9de32b532c.css.gz +0 -0
  182. codex/static_root/assets/pagination-toolbar-Duga1Fnw.73b0b8438281.js +1 -0
  183. codex/static_root/assets/pagination-toolbar-Duga1Fnw.73b0b8438281.js.br +0 -0
  184. codex/static_root/assets/pagination-toolbar-Duga1Fnw.73b0b8438281.js.gz +0 -0
  185. codex/static_root/assets/pagination-toolbar-Duga1Fnw.js +1 -0
  186. codex/static_root/assets/pagination-toolbar-Duga1Fnw.js.br +0 -0
  187. codex/static_root/assets/pagination-toolbar-Duga1Fnw.js.gz +0 -0
  188. codex/static_root/assets/{pdf-doc-BgNMLC4l.87fba253596f.js → pdf-doc-oUfOBdSn.75136d8eed5f.js} +1 -1
  189. codex/static_root/assets/pdf-doc-oUfOBdSn.75136d8eed5f.js.br +0 -0
  190. codex/static_root/assets/pdf-doc-oUfOBdSn.75136d8eed5f.js.gz +0 -0
  191. codex/static_root/assets/{pdf-doc-BgNMLC4l.js → pdf-doc-oUfOBdSn.js} +1 -1
  192. codex/static_root/assets/pdf-doc-oUfOBdSn.js.br +0 -0
  193. codex/static_root/assets/pdf-doc-oUfOBdSn.js.gz +0 -0
  194. codex/static_root/assets/{reader-D4z2bwpd.c99f3a8c05c5.js → reader-C2NlMEoN.5b153c060e98.js} +2 -2
  195. codex/static_root/assets/reader-C2NlMEoN.5b153c060e98.js.br +0 -0
  196. codex/static_root/assets/reader-C2NlMEoN.5b153c060e98.js.gz +0 -0
  197. codex/static_root/assets/{reader-D4z2bwpd.js → reader-C2NlMEoN.js} +2 -2
  198. codex/static_root/assets/reader-C2NlMEoN.js.br +0 -0
  199. codex/static_root/assets/reader-C2NlMEoN.js.gz +0 -0
  200. codex/static_root/assets/{relation-chips-DbXtJllJ.3aa0c32386e4.js → relation-chips-Cy6kOLs0.ba209da98775.js} +1 -1
  201. codex/static_root/assets/relation-chips-Cy6kOLs0.ba209da98775.js.br +0 -0
  202. codex/static_root/assets/relation-chips-Cy6kOLs0.ba209da98775.js.gz +0 -0
  203. codex/static_root/assets/{relation-chips-DbXtJllJ.js → relation-chips-Cy6kOLs0.js} +1 -1
  204. codex/static_root/assets/relation-chips-Cy6kOLs0.js.br +0 -0
  205. codex/static_root/assets/relation-chips-Cy6kOLs0.js.gz +0 -0
  206. codex/static_root/assets/{settings-drawer-dzlMTZa4.js → settings-drawer-Dg9ZpGZH.87f4c8788dc7.js} +2 -2
  207. codex/static_root/assets/settings-drawer-Dg9ZpGZH.87f4c8788dc7.js.br +0 -0
  208. codex/static_root/assets/settings-drawer-Dg9ZpGZH.87f4c8788dc7.js.gz +0 -0
  209. codex/static_root/assets/{settings-drawer-dzlMTZa4.ac894cc11a42.js → settings-drawer-Dg9ZpGZH.js} +2 -2
  210. codex/static_root/assets/settings-drawer-Dg9ZpGZH.js.br +0 -0
  211. codex/static_root/assets/settings-drawer-Dg9ZpGZH.js.gz +0 -0
  212. codex/static_root/assets/{ssrBoot-DDdBkZwM.99c8d24a9abb.js → ssrBoot-F-kio-Y3.250480c1569f.js} +1 -1
  213. codex/static_root/assets/ssrBoot-F-kio-Y3.250480c1569f.js.br +0 -0
  214. codex/static_root/assets/ssrBoot-F-kio-Y3.250480c1569f.js.gz +0 -0
  215. codex/static_root/assets/{ssrBoot-DDdBkZwM.js → ssrBoot-F-kio-Y3.js} +1 -1
  216. codex/static_root/assets/ssrBoot-F-kio-Y3.js.br +0 -0
  217. codex/static_root/assets/ssrBoot-F-kio-Y3.js.gz +0 -0
  218. codex/static_root/assets/{stats-tab-Q8naL40Y.eb1bc2a35f87.js → stats-tab-BAV89h6B.ea756cc7c5df.js} +1 -1
  219. codex/static_root/assets/stats-tab-BAV89h6B.ea756cc7c5df.js.br +0 -0
  220. codex/static_root/assets/stats-tab-BAV89h6B.ea756cc7c5df.js.gz +0 -0
  221. codex/static_root/assets/{stats-tab-Q8naL40Y.js → stats-tab-BAV89h6B.js} +1 -1
  222. codex/static_root/assets/stats-tab-BAV89h6B.js.br +0 -0
  223. codex/static_root/assets/stats-tab-BAV89h6B.js.gz +0 -0
  224. codex/static_root/assets/{task-tab-DkXh1BGP.42b4bcadbf86.js → task-tab-DDb-IDw3.c646eb5b169c.js} +1 -1
  225. codex/static_root/assets/task-tab-DDb-IDw3.c646eb5b169c.js.br +0 -0
  226. codex/static_root/assets/task-tab-DDb-IDw3.c646eb5b169c.js.gz +0 -0
  227. codex/static_root/assets/{task-tab-DkXh1BGP.js → task-tab-DDb-IDw3.js} +1 -1
  228. codex/static_root/assets/task-tab-DDb-IDw3.js.br +0 -0
  229. codex/static_root/assets/task-tab-DDb-IDw3.js.gz +0 -0
  230. codex/static_root/assets/{unauthorized-DzlsifqK.c3244dbd219a.js → unauthorized-D_ZoMvmO.2b6fe3730dd1.js} +1 -1
  231. codex/static_root/assets/unauthorized-D_ZoMvmO.2b6fe3730dd1.js.br +0 -0
  232. codex/static_root/assets/unauthorized-D_ZoMvmO.2b6fe3730dd1.js.gz +0 -0
  233. codex/static_root/assets/{unauthorized-DzlsifqK.js → unauthorized-D_ZoMvmO.js} +1 -1
  234. codex/static_root/assets/unauthorized-D_ZoMvmO.js.br +0 -0
  235. codex/static_root/assets/unauthorized-D_ZoMvmO.js.gz +0 -0
  236. codex/static_root/assets/{user-tab-Dx51peTz.6cb9636f08c5.js → user-tab-C-_g4ZN2.b74c5c237a19.js} +1 -1
  237. codex/static_root/assets/user-tab-C-_g4ZN2.b74c5c237a19.js.br +0 -0
  238. codex/static_root/assets/user-tab-C-_g4ZN2.b74c5c237a19.js.gz +0 -0
  239. codex/static_root/assets/{user-tab-Dx51peTz.js → user-tab-C-_g4ZN2.js} +1 -1
  240. codex/static_root/assets/user-tab-C-_g4ZN2.js.br +0 -0
  241. codex/static_root/assets/user-tab-C-_g4ZN2.js.gz +0 -0
  242. codex/static_root/{manifest.8decabd0856e.json → manifest.a36b86d4fb81.json} +268 -268
  243. codex/static_root/manifest.a36b86d4fb81.json.br +0 -0
  244. codex/static_root/manifest.a36b86d4fb81.json.gz +0 -0
  245. codex/static_root/manifest.json +268 -268
  246. codex/static_root/manifest.json.br +0 -0
  247. codex/static_root/manifest.json.gz +0 -0
  248. codex/static_root/staticfiles.json +1 -1
  249. codex/status_controller.py +8 -6
  250. {codex-1.7.6.dist-info → codex-1.7.7.dist-info}/METADATA +1 -1
  251. {codex-1.7.6.dist-info → codex-1.7.7.dist-info}/RECORD +254 -254
  252. codex/static_root/assets/VCheckbox-CwHKQJ94.127ebad87333.js.br +0 -0
  253. codex/static_root/assets/VCheckbox-CwHKQJ94.127ebad87333.js.gz +0 -0
  254. codex/static_root/assets/VCheckbox-CwHKQJ94.js.br +0 -0
  255. codex/static_root/assets/VCheckbox-CwHKQJ94.js.gz +0 -0
  256. codex/static_root/assets/VCheckboxBtn-DtWeBQSc.eb4f0b35df90.js.br +0 -0
  257. codex/static_root/assets/VCheckboxBtn-DtWeBQSc.eb4f0b35df90.js.gz +0 -0
  258. codex/static_root/assets/VCheckboxBtn-DtWeBQSc.js.br +0 -0
  259. codex/static_root/assets/VCheckboxBtn-DtWeBQSc.js.gz +0 -0
  260. codex/static_root/assets/VCombobox-C44w_9Tr.e8c0aeaf51bb.js.br +0 -0
  261. codex/static_root/assets/VCombobox-C44w_9Tr.e8c0aeaf51bb.js.gz +0 -0
  262. codex/static_root/assets/VCombobox-C44w_9Tr.js.br +0 -0
  263. codex/static_root/assets/VCombobox-C44w_9Tr.js.gz +0 -0
  264. codex/static_root/assets/VDialog-B23zgnQg.2ad0b1bd166a.js.br +0 -0
  265. codex/static_root/assets/VDialog-B23zgnQg.js.br +0 -0
  266. codex/static_root/assets/VDivider-CXvbBALe.aaec2523ab0d.js.br +0 -0
  267. codex/static_root/assets/VDivider-CXvbBALe.aaec2523ab0d.js.gz +0 -0
  268. codex/static_root/assets/VDivider-CXvbBALe.js.br +0 -0
  269. codex/static_root/assets/VDivider-CXvbBALe.js.gz +0 -0
  270. codex/static_root/assets/VExpansionPanels-y8aa_9Go.f8eadc657914.js.br +0 -0
  271. codex/static_root/assets/VExpansionPanels-y8aa_9Go.f8eadc657914.js.gz +0 -0
  272. codex/static_root/assets/VExpansionPanels-y8aa_9Go.js.br +0 -0
  273. codex/static_root/assets/VExpansionPanels-y8aa_9Go.js.gz +0 -0
  274. codex/static_root/assets/VForm-moUsJiEX.a1aa6a07978f.js.br +0 -0
  275. codex/static_root/assets/VForm-moUsJiEX.a1aa6a07978f.js.gz +0 -0
  276. codex/static_root/assets/VForm-moUsJiEX.js.br +0 -0
  277. codex/static_root/assets/VForm-moUsJiEX.js.gz +0 -0
  278. codex/static_root/assets/VRadioGroup-Dq9Lhxp6.e8bb88987c19.js.br +0 -3
  279. codex/static_root/assets/VRadioGroup-Dq9Lhxp6.e8bb88987c19.js.gz +0 -0
  280. codex/static_root/assets/VRadioGroup-Dq9Lhxp6.js.br +0 -3
  281. codex/static_root/assets/VRadioGroup-Dq9Lhxp6.js.gz +0 -0
  282. codex/static_root/assets/VSelect-BNa4Zji8.657caadd0e0c.js.br +0 -0
  283. codex/static_root/assets/VSelect-BNa4Zji8.657caadd0e0c.js.gz +0 -0
  284. codex/static_root/assets/VSelect-BNa4Zji8.js.br +0 -0
  285. codex/static_root/assets/VSelect-BNa4Zji8.js.gz +0 -0
  286. codex/static_root/assets/VSelectionControl-Cx6Xy7hY.5a2c6214fa48.js.br +0 -0
  287. codex/static_root/assets/VSelectionControl-Cx6Xy7hY.5a2c6214fa48.js.gz +0 -0
  288. codex/static_root/assets/VSelectionControl-Cx6Xy7hY.js.br +0 -0
  289. codex/static_root/assets/VSelectionControl-Cx6Xy7hY.js.gz +0 -0
  290. codex/static_root/assets/VTable-qFAzmpUV.238dcd9fe0c9.js.br +0 -0
  291. codex/static_root/assets/VTable-qFAzmpUV.238dcd9fe0c9.js.gz +0 -0
  292. codex/static_root/assets/VTable-qFAzmpUV.js.br +0 -0
  293. codex/static_root/assets/VTable-qFAzmpUV.js.gz +0 -0
  294. codex/static_root/assets/VWindowItem-B0mrg4ib.473bca7eca63.js.br +0 -0
  295. codex/static_root/assets/VWindowItem-B0mrg4ib.473bca7eca63.js.gz +0 -0
  296. codex/static_root/assets/VWindowItem-B0mrg4ib.js.br +0 -0
  297. codex/static_root/assets/VWindowItem-B0mrg4ib.js.gz +0 -0
  298. codex/static_root/assets/admin-BtjKFdWH.835867135730.js.br +0 -0
  299. codex/static_root/assets/admin-BtjKFdWH.835867135730.js.gz +0 -0
  300. codex/static_root/assets/admin-BtjKFdWH.js.br +0 -0
  301. codex/static_root/assets/admin-BtjKFdWH.js.gz +0 -0
  302. codex/static_root/assets/admin-DEzMkE3K.ea4a65f2f926.js.br +0 -0
  303. codex/static_root/assets/admin-DEzMkE3K.ea4a65f2f926.js.gz +0 -0
  304. codex/static_root/assets/admin-DEzMkE3K.js.br +0 -0
  305. codex/static_root/assets/admin-DEzMkE3K.js.gz +0 -0
  306. codex/static_root/assets/admin-menu-R2n0F_fo.c1c4570d9ede.js.br +0 -0
  307. codex/static_root/assets/admin-menu-R2n0F_fo.c1c4570d9ede.js.gz +0 -0
  308. codex/static_root/assets/admin-menu-R2n0F_fo.js.br +0 -0
  309. codex/static_root/assets/admin-menu-R2n0F_fo.js.gz +0 -0
  310. codex/static_root/assets/admin-settings-button-progress-C9lCWw8k.35b197626186.js.br +0 -0
  311. codex/static_root/assets/admin-settings-button-progress-C9lCWw8k.35b197626186.js.gz +0 -0
  312. codex/static_root/assets/admin-settings-button-progress-C9lCWw8k.js.br +0 -0
  313. codex/static_root/assets/admin-settings-button-progress-C9lCWw8k.js.gz +0 -0
  314. codex/static_root/assets/browser-w29qvXZC.84f4d80ffad1.js.br +0 -0
  315. codex/static_root/assets/browser-w29qvXZC.84f4d80ffad1.js.gz +0 -0
  316. codex/static_root/assets/browser-w29qvXZC.js.br +0 -0
  317. codex/static_root/assets/browser-w29qvXZC.js.gz +0 -0
  318. codex/static_root/assets/change-password-dialog-C3iwpm32.22e54e2544c2.js.br +0 -0
  319. codex/static_root/assets/change-password-dialog-C3iwpm32.22e54e2544c2.js.gz +0 -0
  320. codex/static_root/assets/change-password-dialog-C3iwpm32.js.br +0 -0
  321. codex/static_root/assets/change-password-dialog-C3iwpm32.js.gz +0 -0
  322. codex/static_root/assets/confirm-dialog-DONZupFF.351a50590157.js.br +0 -0
  323. codex/static_root/assets/confirm-dialog-DONZupFF.351a50590157.js.gz +0 -0
  324. codex/static_root/assets/confirm-dialog-DONZupFF.js.br +0 -0
  325. codex/static_root/assets/confirm-dialog-DONZupFF.js.gz +0 -0
  326. codex/static_root/assets/datetime-column-BN8MTxGF.06fa87586057.js.br +0 -0
  327. codex/static_root/assets/datetime-column-BN8MTxGF.06fa87586057.js.gz +0 -0
  328. codex/static_root/assets/datetime-column-BN8MTxGF.js.br +0 -0
  329. codex/static_root/assets/datetime-column-BN8MTxGF.js.gz +0 -0
  330. codex/static_root/assets/filter-DehKIIGX.d4763130e428.js.br +0 -0
  331. codex/static_root/assets/filter-DehKIIGX.d4763130e428.js.gz +0 -0
  332. codex/static_root/assets/filter-DehKIIGX.js.br +0 -0
  333. codex/static_root/assets/filter-DehKIIGX.js.gz +0 -0
  334. codex/static_root/assets/flag-tab-D-Vm731o.de445bf1efd8.js.br +0 -0
  335. codex/static_root/assets/flag-tab-D-Vm731o.de445bf1efd8.js.gz +0 -0
  336. codex/static_root/assets/flag-tab-D-Vm731o.js.br +0 -0
  337. codex/static_root/assets/flag-tab-D-Vm731o.js.gz +0 -0
  338. codex/static_root/assets/forwardRefs-CPT3PaIR.e3f89dad5c32.js.br +0 -0
  339. codex/static_root/assets/forwardRefs-CPT3PaIR.e3f89dad5c32.js.gz +0 -0
  340. codex/static_root/assets/forwardRefs-CPT3PaIR.js.br +0 -0
  341. codex/static_root/assets/forwardRefs-CPT3PaIR.js.gz +0 -0
  342. codex/static_root/assets/group-tab-DHg_7lBM.0a71944f81d7.js.br +0 -0
  343. codex/static_root/assets/group-tab-DHg_7lBM.0a71944f81d7.js.gz +0 -0
  344. codex/static_root/assets/group-tab-DHg_7lBM.js.br +0 -0
  345. codex/static_root/assets/group-tab-DHg_7lBM.js.gz +0 -0
  346. codex/static_root/assets/http-error-3wet1qit.0dfb14591511.js.br +0 -0
  347. codex/static_root/assets/http-error-3wet1qit.0dfb14591511.js.gz +0 -0
  348. codex/static_root/assets/http-error-3wet1qit.js.br +0 -0
  349. codex/static_root/assets/http-error-3wet1qit.js.gz +0 -0
  350. codex/static_root/assets/index-B7MTJvsh.72d1b5a22643.js.br +0 -0
  351. codex/static_root/assets/index-B7MTJvsh.72d1b5a22643.js.gz +0 -0
  352. codex/static_root/assets/index-B7MTJvsh.js.br +0 -0
  353. codex/static_root/assets/index-B7MTJvsh.js.gz +0 -0
  354. codex/static_root/assets/library-tab-BwNsGaT8.ac078d92716c.js.br +0 -0
  355. codex/static_root/assets/library-tab-BwNsGaT8.ac078d92716c.js.gz +0 -0
  356. codex/static_root/assets/library-tab-BwNsGaT8.js.br +0 -0
  357. codex/static_root/assets/library-tab-BwNsGaT8.js.gz +0 -0
  358. codex/static_root/assets/main-D2_idFz6.35b387ef2e6e.js.br +0 -0
  359. codex/static_root/assets/main-D2_idFz6.35b387ef2e6e.js.gz +0 -0
  360. codex/static_root/assets/main-D2_idFz6.js.br +0 -0
  361. codex/static_root/assets/main-D2_idFz6.js.gz +0 -0
  362. codex/static_root/assets/pager-full-pdf-Br7cqXaJ.6d9ddf768fd7.js +0 -1
  363. codex/static_root/assets/pager-full-pdf-Br7cqXaJ.6d9ddf768fd7.js.br +0 -0
  364. codex/static_root/assets/pager-full-pdf-Br7cqXaJ.6d9ddf768fd7.js.gz +0 -0
  365. codex/static_root/assets/pager-full-pdf-Br7cqXaJ.js +0 -1
  366. codex/static_root/assets/pager-full-pdf-Br7cqXaJ.js.br +0 -0
  367. codex/static_root/assets/pager-full-pdf-Br7cqXaJ.js.gz +0 -0
  368. codex/static_root/assets/pagination-toolbar-BP1ZminG.7c284d7371e0.css.br +0 -0
  369. codex/static_root/assets/pagination-toolbar-BP1ZminG.7c284d7371e0.css.gz +0 -0
  370. codex/static_root/assets/pagination-toolbar-BP1ZminG.css.br +0 -0
  371. codex/static_root/assets/pagination-toolbar-BP1ZminG.css.gz +0 -0
  372. codex/static_root/assets/pagination-toolbar-CO5jadWr.5314a10eaf91.js +0 -1
  373. codex/static_root/assets/pagination-toolbar-CO5jadWr.5314a10eaf91.js.br +0 -0
  374. codex/static_root/assets/pagination-toolbar-CO5jadWr.5314a10eaf91.js.gz +0 -0
  375. codex/static_root/assets/pagination-toolbar-CO5jadWr.js +0 -1
  376. codex/static_root/assets/pagination-toolbar-CO5jadWr.js.br +0 -0
  377. codex/static_root/assets/pagination-toolbar-CO5jadWr.js.gz +0 -0
  378. codex/static_root/assets/pdf-doc-BgNMLC4l.87fba253596f.js.br +0 -0
  379. codex/static_root/assets/pdf-doc-BgNMLC4l.87fba253596f.js.gz +0 -0
  380. codex/static_root/assets/pdf-doc-BgNMLC4l.js.br +0 -0
  381. codex/static_root/assets/pdf-doc-BgNMLC4l.js.gz +0 -0
  382. codex/static_root/assets/reader-D4z2bwpd.c99f3a8c05c5.js.br +0 -0
  383. codex/static_root/assets/reader-D4z2bwpd.c99f3a8c05c5.js.gz +0 -0
  384. codex/static_root/assets/reader-D4z2bwpd.js.br +0 -0
  385. codex/static_root/assets/reader-D4z2bwpd.js.gz +0 -0
  386. codex/static_root/assets/relation-chips-DbXtJllJ.3aa0c32386e4.js.br +0 -0
  387. codex/static_root/assets/relation-chips-DbXtJllJ.3aa0c32386e4.js.gz +0 -0
  388. codex/static_root/assets/relation-chips-DbXtJllJ.js.br +0 -0
  389. codex/static_root/assets/relation-chips-DbXtJllJ.js.gz +0 -0
  390. codex/static_root/assets/settings-drawer-dzlMTZa4.ac894cc11a42.js.br +0 -0
  391. codex/static_root/assets/settings-drawer-dzlMTZa4.ac894cc11a42.js.gz +0 -0
  392. codex/static_root/assets/settings-drawer-dzlMTZa4.js.br +0 -0
  393. codex/static_root/assets/settings-drawer-dzlMTZa4.js.gz +0 -0
  394. codex/static_root/assets/ssrBoot-DDdBkZwM.99c8d24a9abb.js.br +0 -0
  395. codex/static_root/assets/ssrBoot-DDdBkZwM.99c8d24a9abb.js.gz +0 -0
  396. codex/static_root/assets/ssrBoot-DDdBkZwM.js.br +0 -0
  397. codex/static_root/assets/ssrBoot-DDdBkZwM.js.gz +0 -0
  398. codex/static_root/assets/stats-tab-Q8naL40Y.eb1bc2a35f87.js.br +0 -0
  399. codex/static_root/assets/stats-tab-Q8naL40Y.eb1bc2a35f87.js.gz +0 -0
  400. codex/static_root/assets/stats-tab-Q8naL40Y.js.br +0 -0
  401. codex/static_root/assets/stats-tab-Q8naL40Y.js.gz +0 -0
  402. codex/static_root/assets/task-tab-DkXh1BGP.42b4bcadbf86.js.br +0 -0
  403. codex/static_root/assets/task-tab-DkXh1BGP.42b4bcadbf86.js.gz +0 -0
  404. codex/static_root/assets/task-tab-DkXh1BGP.js.br +0 -0
  405. codex/static_root/assets/task-tab-DkXh1BGP.js.gz +0 -0
  406. codex/static_root/assets/unauthorized-DzlsifqK.c3244dbd219a.js.br +0 -0
  407. codex/static_root/assets/unauthorized-DzlsifqK.c3244dbd219a.js.gz +0 -0
  408. codex/static_root/assets/unauthorized-DzlsifqK.js.br +0 -0
  409. codex/static_root/assets/unauthorized-DzlsifqK.js.gz +0 -0
  410. codex/static_root/assets/user-tab-Dx51peTz.6cb9636f08c5.js.br +0 -0
  411. codex/static_root/assets/user-tab-Dx51peTz.6cb9636f08c5.js.gz +0 -0
  412. codex/static_root/assets/user-tab-Dx51peTz.js.br +0 -0
  413. codex/static_root/assets/user-tab-Dx51peTz.js.gz +0 -0
  414. codex/static_root/manifest.8decabd0856e.json.br +0 -0
  415. codex/static_root/manifest.8decabd0856e.json.gz +0 -0
  416. {codex-1.7.6.dist-info → codex-1.7.7.dist-info}/LICENSE +0 -0
  417. {codex-1.7.6.dist-info → codex-1.7.7.dist-info}/WHEEL +0 -0
  418. {codex-1.7.6.dist-info → codex-1.7.7.dist-info}/entry_points.txt +0 -0
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/admin-DEzMkE3K.js","assets/unauthorized-DzlsifqK.js","assets/VDialog-B23zgnQg.js","assets/forwardRefs-CPT3PaIR.js","assets/forwardRefs-Dyi06MPF.css","assets/VDialog-BDaX1tXA.css","assets/change-password-dialog-C3iwpm32.js","assets/VForm-moUsJiEX.js","assets/VSelectionControl-Cx6Xy7hY.js","assets/VSelectionControl-DPpfgCW2.css","assets/VForm-DxBt30-N.css","assets/admin-BtjKFdWH.js","assets/change-password-dialog-D0ymWcl_.css","assets/ssrBoot-DDdBkZwM.js","assets/unauthorized-CsSak07X.css","assets/settings-drawer-dzlMTZa4.js","assets/copy-to-clipboard-DoUvDJVx.js","assets/VDivider-CXvbBALe.js","assets/VDivider-DU47sRrT.css","assets/settings-drawer-DMSsWF8c.css","assets/VWindowItem-B0mrg4ib.js","assets/VWindowItem-CWBhiE_Y.css","assets/admin-C3iCIUnm.css","assets/browser-w29qvXZC.js","assets/index-B7MTJvsh.js","assets/index-BHXJTQ4V.css","assets/VCombobox-C44w_9Tr.js","assets/VSelect-BNa4Zji8.js","assets/VCheckboxBtn-DtWeBQSc.js","assets/VSelect-CP_CVb8s.css","assets/filter-DehKIIGX.js","assets/VCombobox-BQHELb_o.css","assets/VTable-qFAzmpUV.js","assets/VTable-BnxSZ_W5.css","assets/pagination-toolbar-CO5jadWr.js","assets/confirm-dialog-DONZupFF.js","assets/confirm-dialog-B1ABbGMU.css","assets/pagination-toolbar-BP1ZminG.css","assets/VCheckbox-CwHKQJ94.js","assets/VCheckbox-CvH8ekHL.css","assets/browser-gQKq4cjC.css","assets/http-error-3wet1qit.js","assets/http-error-CODU7jcH.css","assets/reader-D4z2bwpd.js","assets/VExpansionPanels-y8aa_9Go.js","assets/VExpansionPanels-RsCANmDP.css","assets/VRadioGroup-Dq9Lhxp6.js","assets/VRadioGroup-Cp9mZ7cb.css","assets/reader-D_3ruSqa.css","assets/flag-tab-D-Vm731o.js","assets/flag-tab-D2MYXCHk.css","assets/user-tab-Dx51peTz.js","assets/relation-chips-DbXtJllJ.js","assets/relation-chips-DpbzrZxT.css","assets/datetime-column-BN8MTxGF.js","assets/datetime-column-BavtvLnf.css","assets/group-tab-DHg_7lBM.js","assets/group-tab-_vKWzoyd.css","assets/library-tab-BwNsGaT8.js","assets/library-tab-CgsXOX_r.css","assets/task-tab-DkXh1BGP.js","assets/task-tab-CW4DQ3KN.css","assets/stats-tab-Q8naL40Y.js","assets/stats-tab-WvF2acoZ.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/admin-Dl90w4xx.js","assets/unauthorized-D_ZoMvmO.js","assets/VDialog-JYjcWZ0u.js","assets/forwardRefs-Dab8mCr8.js","assets/forwardRefs-Dyi06MPF.css","assets/VDialog-BDaX1tXA.css","assets/change-password-dialog-bLA6nGQc.js","assets/VForm-CsURMe0X.js","assets/VSelectionControl-C-U8aPN3.js","assets/VSelectionControl-DPpfgCW2.css","assets/VForm-DxBt30-N.css","assets/admin-kog1vr1-.js","assets/change-password-dialog-D0ymWcl_.css","assets/ssrBoot-F-kio-Y3.js","assets/unauthorized-CsSak07X.css","assets/settings-drawer-Dg9ZpGZH.js","assets/copy-to-clipboard-DoUvDJVx.js","assets/VDivider-Coot1SE9.js","assets/VDivider-DU47sRrT.css","assets/settings-drawer-DMSsWF8c.css","assets/VWindowItem-BkKshOEy.js","assets/VWindowItem-CWBhiE_Y.css","assets/admin-C3iCIUnm.css","assets/browser-Dn9VeG9o.js","assets/index-GAPixOVo.js","assets/index-BHXJTQ4V.css","assets/VCombobox-Gz9N06nz.js","assets/VSelect-DF_7_wrq.js","assets/VCheckboxBtn-DUIOks3V.js","assets/VSelect-CP_CVb8s.css","assets/filter-D_J5NTMN.js","assets/VCombobox-BQHELb_o.css","assets/VTable-CApWgl_Z.js","assets/VTable-BnxSZ_W5.css","assets/pagination-toolbar-Duga1Fnw.js","assets/confirm-dialog-DP3s37VG.js","assets/confirm-dialog-B1ABbGMU.css","assets/pagination-toolbar-CvX4XUda.css","assets/VCheckbox-Dsd2BsZ5.js","assets/VCheckbox-CvH8ekHL.css","assets/browser-gQKq4cjC.css","assets/http-error-DC-8e3vW.js","assets/http-error-CODU7jcH.css","assets/reader-C2NlMEoN.js","assets/VExpansionPanels-DSaZZJ_i.js","assets/VExpansionPanels-RsCANmDP.css","assets/VRadioGroup-BfMW9v1C.js","assets/VRadioGroup-Cp9mZ7cb.css","assets/reader-D_3ruSqa.css","assets/flag-tab-D-QmPLuT.js","assets/flag-tab-D2MYXCHk.css","assets/user-tab-C-_g4ZN2.js","assets/relation-chips-Cy6kOLs0.js","assets/relation-chips-DpbzrZxT.css","assets/datetime-column-BLY3DVgs.js","assets/datetime-column-BavtvLnf.css","assets/group-tab-CIU-U5vV.js","assets/group-tab-_vKWzoyd.css","assets/library-tab-DErITV3q.js","assets/library-tab-CgsXOX_r.css","assets/task-tab-DDb-IDw3.js","assets/task-tab-CW4DQ3KN.css","assets/stats-tab-BAV89h6B.js","assets/stats-tab-WvF2acoZ.css"])))=>i.map(i=>d[i]);
2
2
  const dd=new Set(["title","titleTemplate","script","style","noscript"]),kr=new Set(["base","meta","link","style","script","noscript"]),hd=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),pd=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),zc=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),md=typeof window<"u";function zr(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function ao(e){if(e._h)return e._h;if(e._d)return zr(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return zr(t)}function gd(e,t){return e instanceof Promise?e.then(t):t(e)}function co(e,t,n,r){const s=r||Yc(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(s instanceof Promise)return s.then(i=>co(e,t,n,i));const o={tag:e,props:s};for(const i of zc){const a=o.props[i]!==void 0?o.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||dd.has(o.tag))&&(o[i==="children"?"innerHTML":i]=a),delete o.props[i])}return o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(i=>({...o,props:{...o.props,content:i}})):o}function vd(e,t){var r;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,s])=>s).map(([s,o])=>e==="style"?`${s}:${o}`:s)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(s=>!!s.trim()).join(n)}function Zc(e,t,n,r){for(let s=r;s<n.length;s+=1){const o=n[s];if(o==="class"||o==="style"){e[o]=vd(o,e[o]);continue}if(e[o]instanceof Promise)return e[o].then(i=>(e[o]=i,Zc(e,t,n,s)));if(!t&&!zc.has(o)){const i=String(e[o]),a=o.startsWith("data-");i==="true"||i===""?e[o]=a?"true":!0:e[o]||(a&&i==="false"?e[o]="false":delete e[o])}}}function Yc(e,t=!1){const n=Zc(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const yd=10;function Jc(e,t,n){for(let r=n;r<t.length;r+=1){const s=t[r];if(s instanceof Promise)return s.then(o=>(t[r]=o,Jc(e,t,r)));Array.isArray(s)?e.push(...s):e.push(s)}}function bd(e){const t=[],n=e.resolvedInput;for(const s in n){if(!Object.prototype.hasOwnProperty.call(n,s))continue;const o=n[s];if(!(o===void 0||!hd.has(s))){if(Array.isArray(o)){for(const i of o)t.push(co(s,i,e));continue}t.push(co(s,o,e))}}if(t.length===0)return[];const r=[];return gd(Jc(r,t,0),()=>r.map((s,o)=>(s._e=e._i,e.mode&&(s._m=e.mode),s._p=(e._i<<yd)+o,s)))}const ki=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),Ni={base:-10,title:10},ji={critical:-80,high:-10,low:20};function Zr(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in Ni&&(n=Ni[e.tag]),t&&t in ji?n+ji[t]:n}const Sd=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Cd=["name","property","http-equiv"];function Xc(e){const{props:t,tag:n}=e;if(pd.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const r of Cd)if(t[r]!==void 0)return`${n}:${r}:${t[r]}`;return!1}const jt="%separator";function Ad(e,t,n=!1){var s;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");r=(s=e[t.substring(0,o)])==null?void 0:s[t.substring(o+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/"/g,'\\"'):r||""}const Ld=new RegExp(`${jt}(?:\\s*${jt})*`,"g");function wr(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(jt);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===jt||!o.includes(a))return a;const c=Ad(t,a.slice(1),r);return c!==void 0?c:a}).trim(),i&&(e.endsWith(jt)&&(e=e.slice(0,-jt.length)),e.startsWith(jt)&&(e=e.slice(jt.length)),e=e.replace(Ld,n).trim()),e}function $i(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Ed(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{var f;const o=(await e.resolveTags()).map(d=>({tag:d,id:kr.has(d.tag)?ao(d):d.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const h of["body","head"]){const p=(f=n[h])==null?void 0:f.children;for(const m of p){const g=m.tagName.toLowerCase();if(!kr.has(g))continue;const b={tag:g,props:await Yc(m.getAttributeNames().reduce((R,w)=>({...R,[w]:m.getAttribute(w)}),{})),innerHTML:m.innerHTML},S=Xc(b);let C=S,E=1;for(;C&&d.has(C);)C=`${S}:${E++}`;C&&(b._d=C,d.add(C)),i.elMap[m.getAttribute("data-hid")||ao(b)]=m}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(d,h,p){const m=`${d}:${h}`;i.sideEffects[m]=p,delete i.pendingSideEffects[m]}function c({id:d,$el:h,tag:p}){const m=p.tag.endsWith("Attrs");if(i.elMap[d]=h,m||(p.textContent&&p.textContent!==h.textContent&&(h.textContent=p.textContent),p.innerHTML&&p.innerHTML!==h.innerHTML&&(h.innerHTML=p.innerHTML),a(d,"el",()=>{var g;(g=i.elMap[d])==null||g.remove(),delete i.elMap[d]})),p._eventHandlers)for(const g in p._eventHandlers)Object.prototype.hasOwnProperty.call(p._eventHandlers,g)&&h.getAttribute(`data-${g}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:h).addEventListener(g.substring(2),p._eventHandlers[g].bind(h)),h.setAttribute(`data-${g}`,""));for(const g in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,g))continue;const b=p.props[g],S=`attr:${g}`;if(g==="class"){if(!b)continue;for(const C of b.split(" "))m&&a(d,`${S}:${C}`,()=>h.classList.remove(C)),!h.classList.contains(C)&&h.classList.add(C)}else if(g==="style"){if(!b)continue;for(const C of b.split(";")){const E=C.indexOf(":"),R=C.substring(0,E).trim(),w=C.substring(E+1).trim();a(d,`${S}:${R}`,()=>{h.style.removeProperty(R)}),h.style.setProperty(R,w)}}else h.getAttribute(g)!==b&&h.setAttribute(g,b===!0?"":String(b)),m&&a(d,S,()=>h.removeAttribute(g))}}const u=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of o){const{tag:h,shouldRender:p,id:m}=d;if(p){if(h.tag==="title"){n.title=h.textContent;continue}d.$el=d.$el||i.elMap[m],d.$el?c(d):kr.has(h.tag)&&u.push(d)}}for(const d of u){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),c(d),l[h]=l[h]||n.createDocumentFragment(),l[h].appendChild(d.$el)}for(const d of o)await e.hooks.callHook("dom:renderTag",d,n,a);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(const d in i.pendingSideEffects)i.pendingSideEffects[d]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:o}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function wd(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(r=>n(()=>Ed(e,t).then(()=>{delete e._domDebouncedUpdatePromise,r()})))}function Td(e){return t=>{var r,s;const n=((s=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":o=>{wd(o,e)}}}}}function lo(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?lo(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const xd={run:e=>e()},Rd=()=>xd,Qc=typeof console.createTask<"u"?console.createTask:Rd;function Od(e,t){const n=t.shift(),r=Qc(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Pd(e,t){const n=t.shift(),r=Qc(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Hs(e,t){for(const n of[...e])n(t)}class Md{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(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=lo(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=lo(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Od,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Pd,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Hs(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Hs(this._after,s)}):(this._after&&s&&Hs(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Id(){return new Md}const Hd=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Dd={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=Xc(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const r of e.tags){const s=(r.key?`${r.tag}:${r.key}`:r._d)||ao(r),o=t[s];if(o){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&Hd.has(r.tag)&&(a="merge"),a==="merge"){const c=o.props;c.style&&r.props.style&&(c.style[c.style.length-1]!==";"&&(c.style+=";"),r.props.style=`${c.style} ${r.props.style}`),c.class&&r.props.class?r.props.class=`${c.class} ${r.props.class}`:c.class&&(r.props.class=c.class),t[s].props={...c,...r.props};continue}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);continue}else if(Zr(r)>Zr(o))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&kr.has(r.tag)){delete t[s];continue}t[s]=r}const n=[];for(const r in t){const s=t[r],o=s._duped;n.push(s),o&&(delete s._duped,n.push(...o))}e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Vd=new Set(["script","link","bodyAttrs"]),Fd=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!Vd.has(n.tag))continue;const r=n.props;for(const s in r){if(s[0]!=="o"||s[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,s))continue;const o=r[s];typeof o=="function"&&(e.ssr&&ki.has(s)?r[s]=`this.dataset.${s}fired = true`:delete r[s],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[s]=o)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||zr(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var s,o;const r=t==null?void 0:t.dataset;if(r)for(const i in r){if(!i.endsWith("fired"))continue;const a=i.slice(0,-5);ki.has(a)&&((o=(s=n._eventHandlers)==null?void 0:s[a])==null||o.call(t,new Event(a.substring(2))))}}}}),kd=new Set(["link","style","script","noscript"]),Nd={hooks:{"tag:normalise":({tag:e})=>{e.key&&kd.has(e.tag)&&(e.props["data-hid"]=e._h=zr(e.key))}}},jd={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const r of e.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(t[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},$d={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:r,offset:s}of Sd){if(!n.tagPriority.startsWith(r))continue;const o=n.tagPriority.substring(r.length),i=(t=e.tags.find(a=>a._d===o))==null?void 0:t._p;if(i!==void 0){n._p=i+s;break}}e.tags.sort((n,r)=>{const s=Zr(n),o=Zr(r);return s<o?-1:s>o?1:n._p-r._p})}}},Bd={meta:"content",link:"href",htmlAttrs:"lang"},Ud=["innerHTML","textContent"],Gd=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let r;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(r=t.tags.splice(a,1)[0].props,a-=1);const s=r||{},o=s.separator||"|";delete s.separator,s.pageTitle=wr(s.pageTitle||((i=n.find(a=>a.tag==="title"))==null?void 0:i.textContent)||"",s,o);for(const a of n){if(a.processTemplateParams===!1)continue;const c=Bd[a.tag];if(c&&typeof a.props[c]=="string")a.props[c]=wr(a.props[c],s,o);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const u of Ud)typeof a[u]=="string"&&(a[u]=wr(a[u],s,o,a.tag==="script"&&a.props.type.endsWith("json")))}e._templateParams=s,e._separator=o},"tags:afterResolve":({tags:t})=>{let n;for(let r=0;r<t.length;r+=1){const s=t[r];s.tag==="title"&&s.processTemplateParams!==!1&&(n=s)}n!=null&&n.textContent&&(n.textContent=wr(n.textContent,e._templateParams,e._separator))}}}),Wd={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r;for(let s=0;s<t.length;s+=1){const o=t[s];o.tag==="title"?n=o:o.tag==="titleTemplate"&&(r=o)}if(r&&n){const s=$i(r.textContent,n.textContent);s!==null?n.textContent=s||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(r){const s=$i(r.textContent);s!==null&&(r.textContent=s,r.tag="title",r=void 0)}r&&e.tags.splice(e.tags.indexOf(r),1)}}},Kd={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let _c;function zd(e={}){const t=Zd(e);return t.use(Td()),_c=t}function Bi(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Zd(e={}){const t=Id();t.addHooks(e.hooks||{}),e.document=e.document||(md?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(c){const u=typeof c=="function"?c(a):c;(!u.key||!i.some(l=>l.key===u.key))&&(i.push(u),Bi(u.mode,n)&&t.addHooks(u.hooks||{}))},push(c,u){u==null||delete u.head;const l={_i:s++,input:c,...u};return Bi(l.mode,n)&&(o.push(l),r()),{dispose(){o=o.filter(f=>f._i!==l._i),r()},patch(f){for(const d of o)d._i===l._i&&(d.input=l.input=f);r()}}},async resolveTags(){const c={tags:[],entries:[...o]};await t.callHook("entries:resolve",c);for(const u of c.entries){const l=u.resolvedInput||u.input;if(u.resolvedInput=await(u.transform?u.transform(l):l),u.resolvedInput)for(const f of await bd(u)){const d={tag:f,entry:u,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[Dd,jd,Fd,Nd,$d,Gd,Wd,Kd,...(e==null?void 0:e.plugins)||[]].forEach(c=>a.use(c)),a.hooks.callHook("init",a),a}function Yd(){return _c}/**
3
3
  * @vue/shared v3.5.12
4
4
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
@@ -19,7 +19,7 @@ const dd=new Set(["title","titleTemplate","script","style","noscript"]),kr=new S
19
19
  * pinia v2.2.6
20
20
  * (c) 2024 Eduardo San Martin Morote
21
21
  * @license MIT
22
- */let xu;const Es=e=>xu=e,Ru=Symbol();function Lo(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Qn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Qn||(Qn={}));function Dp(){const e=Xo(!0),t=e.run(()=>Pe({}));let n=[],r=[];const s=oi({install(o){Es(s),s._a=o,o.provide(Ru,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return!this._a&&!Hp?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Ou=()=>{};function xa(e,t,n,r=Ou){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&cl()&&ll(s),s}function vn(e,...t){e.slice().forEach(n=>{n(...t)})}const Vp=e=>e(),Ra=Symbol(),Ys=Symbol();function Eo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Lo(s)&&Lo(r)&&e.hasOwnProperty(n)&&!Ce(r)&&!Kt(r)?e[n]=Eo(s,r):e[n]=r}return e}const Fp=Symbol();function kp(e){return!Lo(e)||!e.hasOwnProperty(Fp)}const{assign:Nt}=Object;function Np(e){return!!(Ce(e)&&e.effect)}function jp(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let c;function u(){a||(n.state.value[e]=s?s():{});const l=ii(n.state.value[e]);return Nt(l,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=oi(_(()=>{Es(n);const h=n._s.get(e);return i[d].call(h,h)})),f),{}))}return c=Pu(e,u,t,n,r,!0),c}function Pu(e,t,n={},r,s,o){let i;const a=Nt({actions:{}},n),c={deep:!0};let u,l,f=[],d=[],h;const p=r.state.value[e];!o&&!p&&(r.state.value[e]={}),Pe({});let m;function g(L){let A;u=l=!1,typeof L=="function"?(L(r.state.value[e]),A={type:Qn.patchFunction,storeId:e,events:h}):(Eo(r.state.value[e],L),A={type:Qn.patchObject,payload:L,storeId:e,events:h});const x=m=Symbol();pr().then(()=>{m===x&&(u=!0)}),l=!0,vn(f,A,r.state.value[e])}const b=o?function(){const{state:A}=n,x=A?A():{};this.$patch(I=>{Nt(I,x)})}:Ou;function S(){i.stop(),f=[],d=[],r._s.delete(e)}const C=(L,A="")=>{if(Ra in L)return L[Ys]=A,L;const x=function(){Es(r);const I=Array.from(arguments),P=[],V=[];function J(K){P.push(K)}function se(K){V.push(K)}vn(d,{args:I,name:x[Ys],store:R,after:J,onError:se});let te;try{te=L.apply(this&&this.$id===e?this:R,I)}catch(K){throw vn(V,K),K}return te instanceof Promise?te.then(K=>(vn(P,K),K)).catch(K=>(vn(V,K),Promise.reject(K))):(vn(P,te),te)};return x[Ra]=!0,x[Ys]=A,x},E={_p:r,$id:e,$onAction:xa.bind(null,d),$patch:g,$reset:b,$subscribe(L,A={}){const x=xa(f,L,A.detached,()=>I()),I=i.run(()=>_e(()=>r.state.value[e],P=>{(A.flush==="sync"?l:u)&&L({storeId:e,type:Qn.direct,events:h},P)},Nt({},c,A)));return x},$dispose:S},R=We(E);r._s.set(e,R);const O=(r._a&&r._a.runWithContext||Vp)(()=>r._e.run(()=>(i=Xo()).run(()=>t({action:C}))));for(const L in O){const A=O[L];if(Ce(A)&&!Np(A)||Kt(A))o||(p&&kp(A)&&(Ce(A)?A.value=p[L]:Eo(A,p[L])),r.state.value[e][L]=A);else if(typeof A=="function"){const x=C(A,L);O[L]=x,a.actions[L]=A}}return Nt(R,O),Nt(oe(R),O),Object.defineProperty(R,"$state",{get:()=>r.state.value[e],set:L=>{g(A=>{Nt(A,L)})}}),r._p.forEach(L=>{Nt(R,i.run(()=>L({store:R,app:r._a,pinia:r,options:a})))}),p&&o&&n.hydrate&&n.hydrate(R.$state,p),u=!0,l=!0,R}/*! #__NO_SIDE_EFFECTS__ */function Sr(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(a,c){const u=ch();return a=a||(u?Ae(Ru,null):null),a&&Es(a),a=xu,a._s.has(r)||(o?Pu(r,t,s,a):jp(r,s,a)),a._s.get(r)}return i.$id=r,i}function wo(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(){return e(this.$pinia)[r]},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){const s=e(this.$pinia),o=t[r];return typeof o=="function"?o.call(this,s):s[o]},n),{})}const Wb=wo;function $p(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[r](...s)},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[t[r]](...s)},n),{})}function Kb(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[r]},set(s){return e(this.$pinia)[r]=s}},n),{}):Object.keys(t).reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[t[r]]},set(s){return e(this.$pinia)[t[r]]=s}},n),{})}const Mu=["detail","oldPassword","password","username","passwordConfirm","path"];Object.freeze(Mu);const Bp=e=>{let t=[];if(e&&e.response&&e.response.data){let n=e.response.data;for(const r of Mu)if(r in n){n=n[r];break}t=Array.isArray(n)?n.flat():[n]}else console.warn("Unable to parse error",e);return t.length===0&&(t=["Unknown error"]),t},_n=Sr("common",{state:()=>({form:{errors:[],success:""},versions:{installed:"1.7.6",latest:void 0},timestamp:Date.now(),isSettingsDrawerOpen:!1,opdsURLs:void 0}),actions:{async loadVersions(){await as.getVersions(this.timestamp).then(e=>{const t=e.data;return this.versions=t,this.versions}).catch(console.error)},setErrors(e){const t=Bp(e);this.$patch(n=>{n.form.errors=t,n.form.success=""})},setSuccess(e){this.$patch(t=>{t.form.errors=[],t.form.success=e})},clearErrors(){this.$patch(e=>{e.form.errors=[],e.form.success=""})},setTimestamp(){this.timestamp=Date.now()},setSettingsDrawerOpen(e){this.isSettingsDrawerOpen=e},async loadOPDSURLs(){this.opdsURLs||await as.getOPDSURLs().then(e=>(this.opdsURLs=Object.freeze({...e.data}),this.opdsURLs)).catch(console.error)}}});function Iu(e,t){return function(){return e.apply(t,arguments)}}const{toString:Up}=Object.prototype,{getPrototypeOf:Si}=Object,ws=(e=>t=>{const n=Up.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ut=e=>(e=e.toLowerCase(),t=>ws(t)===e),Ts=e=>t=>typeof t===e,{isArray:Hn}=Array,ir=Ts("undefined");function Gp(e){return e!==null&&!ir(e)&&e.constructor!==null&&!ir(e.constructor)&&qe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Hu=ut("ArrayBuffer");function Wp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Hu(e.buffer),t}const Kp=Ts("string"),qe=Ts("function"),Du=Ts("number"),xs=e=>e!==null&&typeof e=="object",zp=e=>e===!0||e===!1,Ur=e=>{if(ws(e)!=="object")return!1;const t=Si(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Zp=ut("Date"),Yp=ut("File"),Jp=ut("Blob"),Xp=ut("FileList"),Qp=e=>xs(e)&&qe(e.pipe),_p=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||qe(e.append)&&((t=ws(e))==="formdata"||t==="object"&&qe(e.toString)&&e.toString()==="[object FormData]"))},qp=ut("URLSearchParams"),[em,tm,nm,rm]=["ReadableStream","Request","Response","Headers"].map(ut),sm=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Cr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Hn(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Vu(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const an=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Fu=e=>!ir(e)&&e!==an;function To(){const{caseless:e}=Fu(this)&&this||{},t={},n=(r,s)=>{const o=e&&Vu(t,s)||s;Ur(t[o])&&Ur(r)?t[o]=To(t[o],r):Ur(r)?t[o]=To({},r):Hn(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Cr(arguments[r],n);return t}const om=(e,t,n,{allOwnKeys:r}={})=>(Cr(t,(s,o)=>{n&&qe(s)?e[o]=Iu(s,n):e[o]=s},{allOwnKeys:r}),e),im=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),am=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},cm=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Si(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},lm=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},um=e=>{if(!e)return null;if(Hn(e))return e;let t=e.length;if(!Du(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},fm=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Si(Uint8Array)),dm=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},hm=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},pm=ut("HTMLFormElement"),mm=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Oa=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gm=ut("RegExp"),ku=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Cr(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},vm=e=>{ku(e,(t,n)=>{if(qe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(qe(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ym=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return Hn(e)?r(e):r(String(e).split(t)),n},bm=()=>{},Sm=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Js="abcdefghijklmnopqrstuvwxyz",Pa="0123456789",Nu={DIGIT:Pa,ALPHA:Js,ALPHA_DIGIT:Js+Js.toUpperCase()+Pa},Cm=(e=16,t=Nu.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Am(e){return!!(e&&qe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Lm=e=>{const t=new Array(10),n=(r,s)=>{if(xs(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=Hn(r)?[]:{};return Cr(r,(i,a)=>{const c=n(i,s+1);!ir(c)&&(o[a]=c)}),t[s]=void 0,o}}return r};return n(e,0)},Em=ut("AsyncFunction"),wm=e=>e&&(xs(e)||qe(e))&&qe(e.then)&&qe(e.catch),ju=((e,t)=>e?setImmediate:t?((n,r)=>(an.addEventListener("message",({source:s,data:o})=>{s===an&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),an.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",qe(an.postMessage)),Tm=typeof queueMicrotask<"u"?queueMicrotask.bind(an):typeof process<"u"&&process.nextTick||ju,M={isArray:Hn,isArrayBuffer:Hu,isBuffer:Gp,isFormData:_p,isArrayBufferView:Wp,isString:Kp,isNumber:Du,isBoolean:zp,isObject:xs,isPlainObject:Ur,isReadableStream:em,isRequest:tm,isResponse:nm,isHeaders:rm,isUndefined:ir,isDate:Zp,isFile:Yp,isBlob:Jp,isRegExp:gm,isFunction:qe,isStream:Qp,isURLSearchParams:qp,isTypedArray:fm,isFileList:Xp,forEach:Cr,merge:To,extend:om,trim:sm,stripBOM:im,inherits:am,toFlatObject:cm,kindOf:ws,kindOfTest:ut,endsWith:lm,toArray:um,forEachEntry:dm,matchAll:hm,isHTMLForm:pm,hasOwnProperty:Oa,hasOwnProp:Oa,reduceDescriptors:ku,freezeMethods:vm,toObjectSet:ym,toCamelCase:mm,noop:bm,toFiniteNumber:Sm,findKey:Vu,global:an,isContextDefined:Fu,ALPHABET:Nu,generateString:Cm,isSpecCompliantForm:Am,toJSONObject:Lm,isAsyncFn:Em,isThenable:wm,setImmediate:ju,asap:Tm};function ne(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}M.inherits(ne,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.status}}});const $u=ne.prototype,Bu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Bu[e]={value:e}});Object.defineProperties(ne,Bu);Object.defineProperty($u,"isAxiosError",{value:!0});ne.from=(e,t,n,r,s,o)=>{const i=Object.create($u);return M.toFlatObject(e,i,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),ne.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const xm=null;function xo(e){return M.isPlainObject(e)||M.isArray(e)}function Uu(e){return M.endsWith(e,"[]")?e.slice(0,-2):e}function Ma(e,t,n){return e?e.concat(t).map(function(s,o){return s=Uu(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Rm(e){return M.isArray(e)&&!e.some(xo)}const Om=M.toFlatObject(M,{},null,function(t){return/^is[A-Z]/.test(t)});function Rs(e,t,n){if(!M.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=M.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,g){return!M.isUndefined(g[m])});const r=n.metaTokens,s=n.visitor||l,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&M.isSpecCompliantForm(t);if(!M.isFunction(s))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(M.isDate(p))return p.toISOString();if(!c&&M.isBlob(p))throw new ne("Blob is not supported. Use a Buffer instead.");return M.isArrayBuffer(p)||M.isTypedArray(p)?c&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function l(p,m,g){let b=p;if(p&&!g&&typeof p=="object"){if(M.endsWith(m,"{}"))m=r?m:m.slice(0,-2),p=JSON.stringify(p);else if(M.isArray(p)&&Rm(p)||(M.isFileList(p)||M.endsWith(m,"[]"))&&(b=M.toArray(p)))return m=Uu(m),b.forEach(function(C,E){!(M.isUndefined(C)||C===null)&&t.append(i===!0?Ma([m],E,o):i===null?m:m+"[]",u(C))}),!1}return xo(p)?!0:(t.append(Ma(g,m,o),u(p)),!1)}const f=[],d=Object.assign(Om,{defaultVisitor:l,convertValue:u,isVisitable:xo});function h(p,m){if(!M.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(p),M.forEach(p,function(b,S){(!(M.isUndefined(b)||b===null)&&s.call(t,b,M.isString(S)?S.trim():S,m,d))===!0&&h(b,m?m.concat(S):[S])}),f.pop()}}if(!M.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Ia(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ci(e,t){this._pairs=[],e&&Rs(e,this,t)}const Gu=Ci.prototype;Gu.append=function(t,n){this._pairs.push([t,n])};Gu.toString=function(t){const n=t?function(r){return t.call(this,r,Ia)}:Ia;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Pm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Wu(e,t,n){if(!t)return e;const r=n&&n.encode||Pm,s=n&&n.serialize;let o;if(s?o=s(t,n):o=M.isURLSearchParams(t)?t.toString():new Ci(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Ha{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){M.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ku={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Mm=typeof URLSearchParams<"u"?URLSearchParams:Ci,Im=typeof FormData<"u"?FormData:null,Hm=typeof Blob<"u"?Blob:null,Dm={isBrowser:!0,classes:{URLSearchParams:Mm,FormData:Im,Blob:Hm},protocols:["http","https","file","blob","url","data"]},Ai=typeof window<"u"&&typeof document<"u",Ro=typeof navigator=="object"&&navigator||void 0,Vm=Ai&&(!Ro||["ReactNative","NativeScript","NS"].indexOf(Ro.product)<0),Fm=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",km=Ai&&window.location.href||"http://localhost",Nm=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ai,hasStandardBrowserEnv:Vm,hasStandardBrowserWebWorkerEnv:Fm,navigator:Ro,origin:km},Symbol.toStringTag,{value:"Module"})),ze={...Nm,...Dm};function jm(e,t){return Rs(e,new ze.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return ze.isNode&&M.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function $m(e){return M.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Bm(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function zu(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),c=o>=n.length;return i=!i&&M.isArray(s)?s.length:i,c?(M.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!M.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&M.isArray(s[i])&&(s[i]=Bm(s[i])),!a)}if(M.isFormData(e)&&M.isFunction(e.entries)){const n={};return M.forEachEntry(e,(r,s)=>{t($m(r),s,n,0)}),n}return null}function Um(e,t,n){if(M.isString(e))try{return(t||JSON.parse)(e),M.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Ar={transitional:Ku,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=M.isObject(t);if(o&&M.isHTMLForm(t)&&(t=new FormData(t)),M.isFormData(t))return s?JSON.stringify(zu(t)):t;if(M.isArrayBuffer(t)||M.isBuffer(t)||M.isStream(t)||M.isFile(t)||M.isBlob(t)||M.isReadableStream(t))return t;if(M.isArrayBufferView(t))return t.buffer;if(M.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return jm(t,this.formSerializer).toString();if((a=M.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Rs(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Um(t)):t}],transformResponse:[function(t){const n=this.transitional||Ar.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(M.isResponse(t)||M.isReadableStream(t))return t;if(t&&M.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?ne.from(a,ne.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ze.classes.FormData,Blob:ze.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],e=>{Ar.headers[e]={}});const Gm=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Wm=e=>{const t={};let n,r,s;return e&&e.split(`
22
+ */let xu;const Es=e=>xu=e,Ru=Symbol();function Lo(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Qn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Qn||(Qn={}));function Dp(){const e=Xo(!0),t=e.run(()=>Pe({}));let n=[],r=[];const s=oi({install(o){Es(s),s._a=o,o.provide(Ru,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return!this._a&&!Hp?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Ou=()=>{};function xa(e,t,n,r=Ou){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&cl()&&ll(s),s}function vn(e,...t){e.slice().forEach(n=>{n(...t)})}const Vp=e=>e(),Ra=Symbol(),Ys=Symbol();function Eo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Lo(s)&&Lo(r)&&e.hasOwnProperty(n)&&!Ce(r)&&!Kt(r)?e[n]=Eo(s,r):e[n]=r}return e}const Fp=Symbol();function kp(e){return!Lo(e)||!e.hasOwnProperty(Fp)}const{assign:Nt}=Object;function Np(e){return!!(Ce(e)&&e.effect)}function jp(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let c;function u(){a||(n.state.value[e]=s?s():{});const l=ii(n.state.value[e]);return Nt(l,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=oi(_(()=>{Es(n);const h=n._s.get(e);return i[d].call(h,h)})),f),{}))}return c=Pu(e,u,t,n,r,!0),c}function Pu(e,t,n={},r,s,o){let i;const a=Nt({actions:{}},n),c={deep:!0};let u,l,f=[],d=[],h;const p=r.state.value[e];!o&&!p&&(r.state.value[e]={}),Pe({});let m;function g(L){let A;u=l=!1,typeof L=="function"?(L(r.state.value[e]),A={type:Qn.patchFunction,storeId:e,events:h}):(Eo(r.state.value[e],L),A={type:Qn.patchObject,payload:L,storeId:e,events:h});const x=m=Symbol();pr().then(()=>{m===x&&(u=!0)}),l=!0,vn(f,A,r.state.value[e])}const b=o?function(){const{state:A}=n,x=A?A():{};this.$patch(I=>{Nt(I,x)})}:Ou;function S(){i.stop(),f=[],d=[],r._s.delete(e)}const C=(L,A="")=>{if(Ra in L)return L[Ys]=A,L;const x=function(){Es(r);const I=Array.from(arguments),P=[],V=[];function J(K){P.push(K)}function se(K){V.push(K)}vn(d,{args:I,name:x[Ys],store:R,after:J,onError:se});let te;try{te=L.apply(this&&this.$id===e?this:R,I)}catch(K){throw vn(V,K),K}return te instanceof Promise?te.then(K=>(vn(P,K),K)).catch(K=>(vn(V,K),Promise.reject(K))):(vn(P,te),te)};return x[Ra]=!0,x[Ys]=A,x},E={_p:r,$id:e,$onAction:xa.bind(null,d),$patch:g,$reset:b,$subscribe(L,A={}){const x=xa(f,L,A.detached,()=>I()),I=i.run(()=>_e(()=>r.state.value[e],P=>{(A.flush==="sync"?l:u)&&L({storeId:e,type:Qn.direct,events:h},P)},Nt({},c,A)));return x},$dispose:S},R=We(E);r._s.set(e,R);const O=(r._a&&r._a.runWithContext||Vp)(()=>r._e.run(()=>(i=Xo()).run(()=>t({action:C}))));for(const L in O){const A=O[L];if(Ce(A)&&!Np(A)||Kt(A))o||(p&&kp(A)&&(Ce(A)?A.value=p[L]:Eo(A,p[L])),r.state.value[e][L]=A);else if(typeof A=="function"){const x=C(A,L);O[L]=x,a.actions[L]=A}}return Nt(R,O),Nt(oe(R),O),Object.defineProperty(R,"$state",{get:()=>r.state.value[e],set:L=>{g(A=>{Nt(A,L)})}}),r._p.forEach(L=>{Nt(R,i.run(()=>L({store:R,app:r._a,pinia:r,options:a})))}),p&&o&&n.hydrate&&n.hydrate(R.$state,p),u=!0,l=!0,R}/*! #__NO_SIDE_EFFECTS__ */function Sr(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(a,c){const u=ch();return a=a||(u?Ae(Ru,null):null),a&&Es(a),a=xu,a._s.has(r)||(o?Pu(r,t,s,a):jp(r,s,a)),a._s.get(r)}return i.$id=r,i}function wo(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(){return e(this.$pinia)[r]},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){const s=e(this.$pinia),o=t[r];return typeof o=="function"?o.call(this,s):s[o]},n),{})}const Wb=wo;function $p(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[r](...s)},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[t[r]](...s)},n),{})}function Kb(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[r]},set(s){return e(this.$pinia)[r]=s}},n),{}):Object.keys(t).reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[t[r]]},set(s){return e(this.$pinia)[t[r]]=s}},n),{})}const Mu=["detail","oldPassword","password","username","passwordConfirm","path"];Object.freeze(Mu);const Bp=e=>{let t=[];if(e&&e.response&&e.response.data){let n=e.response.data;for(const r of Mu)if(r in n){n=n[r];break}t=Array.isArray(n)?n.flat():[n]}else console.warn("Unable to parse error",e);return t.length===0&&(t=["Unknown error"]),t},_n=Sr("common",{state:()=>({form:{errors:[],success:""},versions:{installed:"1.7.7",latest:void 0},timestamp:Date.now(),isSettingsDrawerOpen:!1,opdsURLs:void 0}),actions:{async loadVersions(){await as.getVersions(this.timestamp).then(e=>{const t=e.data;return this.versions=t,this.versions}).catch(console.error)},setErrors(e){const t=Bp(e);this.$patch(n=>{n.form.errors=t,n.form.success=""})},setSuccess(e){this.$patch(t=>{t.form.errors=[],t.form.success=e})},clearErrors(){this.$patch(e=>{e.form.errors=[],e.form.success=""})},setTimestamp(){this.timestamp=Date.now()},setSettingsDrawerOpen(e){this.isSettingsDrawerOpen=e},async loadOPDSURLs(){this.opdsURLs||await as.getOPDSURLs().then(e=>(this.opdsURLs=Object.freeze({...e.data}),this.opdsURLs)).catch(console.error)}}});function Iu(e,t){return function(){return e.apply(t,arguments)}}const{toString:Up}=Object.prototype,{getPrototypeOf:Si}=Object,ws=(e=>t=>{const n=Up.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ut=e=>(e=e.toLowerCase(),t=>ws(t)===e),Ts=e=>t=>typeof t===e,{isArray:Hn}=Array,ir=Ts("undefined");function Gp(e){return e!==null&&!ir(e)&&e.constructor!==null&&!ir(e.constructor)&&qe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Hu=ut("ArrayBuffer");function Wp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Hu(e.buffer),t}const Kp=Ts("string"),qe=Ts("function"),Du=Ts("number"),xs=e=>e!==null&&typeof e=="object",zp=e=>e===!0||e===!1,Ur=e=>{if(ws(e)!=="object")return!1;const t=Si(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Zp=ut("Date"),Yp=ut("File"),Jp=ut("Blob"),Xp=ut("FileList"),Qp=e=>xs(e)&&qe(e.pipe),_p=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||qe(e.append)&&((t=ws(e))==="formdata"||t==="object"&&qe(e.toString)&&e.toString()==="[object FormData]"))},qp=ut("URLSearchParams"),[em,tm,nm,rm]=["ReadableStream","Request","Response","Headers"].map(ut),sm=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Cr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Hn(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Vu(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const an=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Fu=e=>!ir(e)&&e!==an;function To(){const{caseless:e}=Fu(this)&&this||{},t={},n=(r,s)=>{const o=e&&Vu(t,s)||s;Ur(t[o])&&Ur(r)?t[o]=To(t[o],r):Ur(r)?t[o]=To({},r):Hn(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Cr(arguments[r],n);return t}const om=(e,t,n,{allOwnKeys:r}={})=>(Cr(t,(s,o)=>{n&&qe(s)?e[o]=Iu(s,n):e[o]=s},{allOwnKeys:r}),e),im=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),am=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},cm=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Si(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},lm=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},um=e=>{if(!e)return null;if(Hn(e))return e;let t=e.length;if(!Du(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},fm=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Si(Uint8Array)),dm=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},hm=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},pm=ut("HTMLFormElement"),mm=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Oa=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gm=ut("RegExp"),ku=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Cr(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},vm=e=>{ku(e,(t,n)=>{if(qe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(qe(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ym=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return Hn(e)?r(e):r(String(e).split(t)),n},bm=()=>{},Sm=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Js="abcdefghijklmnopqrstuvwxyz",Pa="0123456789",Nu={DIGIT:Pa,ALPHA:Js,ALPHA_DIGIT:Js+Js.toUpperCase()+Pa},Cm=(e=16,t=Nu.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Am(e){return!!(e&&qe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Lm=e=>{const t=new Array(10),n=(r,s)=>{if(xs(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=Hn(r)?[]:{};return Cr(r,(i,a)=>{const c=n(i,s+1);!ir(c)&&(o[a]=c)}),t[s]=void 0,o}}return r};return n(e,0)},Em=ut("AsyncFunction"),wm=e=>e&&(xs(e)||qe(e))&&qe(e.then)&&qe(e.catch),ju=((e,t)=>e?setImmediate:t?((n,r)=>(an.addEventListener("message",({source:s,data:o})=>{s===an&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),an.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",qe(an.postMessage)),Tm=typeof queueMicrotask<"u"?queueMicrotask.bind(an):typeof process<"u"&&process.nextTick||ju,M={isArray:Hn,isArrayBuffer:Hu,isBuffer:Gp,isFormData:_p,isArrayBufferView:Wp,isString:Kp,isNumber:Du,isBoolean:zp,isObject:xs,isPlainObject:Ur,isReadableStream:em,isRequest:tm,isResponse:nm,isHeaders:rm,isUndefined:ir,isDate:Zp,isFile:Yp,isBlob:Jp,isRegExp:gm,isFunction:qe,isStream:Qp,isURLSearchParams:qp,isTypedArray:fm,isFileList:Xp,forEach:Cr,merge:To,extend:om,trim:sm,stripBOM:im,inherits:am,toFlatObject:cm,kindOf:ws,kindOfTest:ut,endsWith:lm,toArray:um,forEachEntry:dm,matchAll:hm,isHTMLForm:pm,hasOwnProperty:Oa,hasOwnProp:Oa,reduceDescriptors:ku,freezeMethods:vm,toObjectSet:ym,toCamelCase:mm,noop:bm,toFiniteNumber:Sm,findKey:Vu,global:an,isContextDefined:Fu,ALPHABET:Nu,generateString:Cm,isSpecCompliantForm:Am,toJSONObject:Lm,isAsyncFn:Em,isThenable:wm,setImmediate:ju,asap:Tm};function ne(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}M.inherits(ne,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.status}}});const $u=ne.prototype,Bu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Bu[e]={value:e}});Object.defineProperties(ne,Bu);Object.defineProperty($u,"isAxiosError",{value:!0});ne.from=(e,t,n,r,s,o)=>{const i=Object.create($u);return M.toFlatObject(e,i,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),ne.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const xm=null;function xo(e){return M.isPlainObject(e)||M.isArray(e)}function Uu(e){return M.endsWith(e,"[]")?e.slice(0,-2):e}function Ma(e,t,n){return e?e.concat(t).map(function(s,o){return s=Uu(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Rm(e){return M.isArray(e)&&!e.some(xo)}const Om=M.toFlatObject(M,{},null,function(t){return/^is[A-Z]/.test(t)});function Rs(e,t,n){if(!M.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=M.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,g){return!M.isUndefined(g[m])});const r=n.metaTokens,s=n.visitor||l,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&M.isSpecCompliantForm(t);if(!M.isFunction(s))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(M.isDate(p))return p.toISOString();if(!c&&M.isBlob(p))throw new ne("Blob is not supported. Use a Buffer instead.");return M.isArrayBuffer(p)||M.isTypedArray(p)?c&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function l(p,m,g){let b=p;if(p&&!g&&typeof p=="object"){if(M.endsWith(m,"{}"))m=r?m:m.slice(0,-2),p=JSON.stringify(p);else if(M.isArray(p)&&Rm(p)||(M.isFileList(p)||M.endsWith(m,"[]"))&&(b=M.toArray(p)))return m=Uu(m),b.forEach(function(C,E){!(M.isUndefined(C)||C===null)&&t.append(i===!0?Ma([m],E,o):i===null?m:m+"[]",u(C))}),!1}return xo(p)?!0:(t.append(Ma(g,m,o),u(p)),!1)}const f=[],d=Object.assign(Om,{defaultVisitor:l,convertValue:u,isVisitable:xo});function h(p,m){if(!M.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(p),M.forEach(p,function(b,S){(!(M.isUndefined(b)||b===null)&&s.call(t,b,M.isString(S)?S.trim():S,m,d))===!0&&h(b,m?m.concat(S):[S])}),f.pop()}}if(!M.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Ia(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ci(e,t){this._pairs=[],e&&Rs(e,this,t)}const Gu=Ci.prototype;Gu.append=function(t,n){this._pairs.push([t,n])};Gu.toString=function(t){const n=t?function(r){return t.call(this,r,Ia)}:Ia;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Pm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Wu(e,t,n){if(!t)return e;const r=n&&n.encode||Pm,s=n&&n.serialize;let o;if(s?o=s(t,n):o=M.isURLSearchParams(t)?t.toString():new Ci(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Ha{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){M.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ku={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Mm=typeof URLSearchParams<"u"?URLSearchParams:Ci,Im=typeof FormData<"u"?FormData:null,Hm=typeof Blob<"u"?Blob:null,Dm={isBrowser:!0,classes:{URLSearchParams:Mm,FormData:Im,Blob:Hm},protocols:["http","https","file","blob","url","data"]},Ai=typeof window<"u"&&typeof document<"u",Ro=typeof navigator=="object"&&navigator||void 0,Vm=Ai&&(!Ro||["ReactNative","NativeScript","NS"].indexOf(Ro.product)<0),Fm=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",km=Ai&&window.location.href||"http://localhost",Nm=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ai,hasStandardBrowserEnv:Vm,hasStandardBrowserWebWorkerEnv:Fm,navigator:Ro,origin:km},Symbol.toStringTag,{value:"Module"})),ze={...Nm,...Dm};function jm(e,t){return Rs(e,new ze.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return ze.isNode&&M.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function $m(e){return M.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Bm(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function zu(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),c=o>=n.length;return i=!i&&M.isArray(s)?s.length:i,c?(M.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!M.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&M.isArray(s[i])&&(s[i]=Bm(s[i])),!a)}if(M.isFormData(e)&&M.isFunction(e.entries)){const n={};return M.forEachEntry(e,(r,s)=>{t($m(r),s,n,0)}),n}return null}function Um(e,t,n){if(M.isString(e))try{return(t||JSON.parse)(e),M.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Ar={transitional:Ku,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=M.isObject(t);if(o&&M.isHTMLForm(t)&&(t=new FormData(t)),M.isFormData(t))return s?JSON.stringify(zu(t)):t;if(M.isArrayBuffer(t)||M.isBuffer(t)||M.isStream(t)||M.isFile(t)||M.isBlob(t)||M.isReadableStream(t))return t;if(M.isArrayBufferView(t))return t.buffer;if(M.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return jm(t,this.formSerializer).toString();if((a=M.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Rs(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Um(t)):t}],transformResponse:[function(t){const n=this.transitional||Ar.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(M.isResponse(t)||M.isReadableStream(t))return t;if(t&&M.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?ne.from(a,ne.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ze.classes.FormData,Blob:ze.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],e=>{Ar.headers[e]={}});const Gm=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Wm=e=>{const t={};let n,r,s;return e&&e.split(`
23
23
  `).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Gm[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Da=Symbol("internals");function jn(e){return e&&String(e).trim().toLowerCase()}function Gr(e){return e===!1||e==null?e:M.isArray(e)?e.map(Gr):String(e)}function Km(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const zm=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Xs(e,t,n,r,s){if(M.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!M.isString(t)){if(M.isString(r))return t.indexOf(r)!==-1;if(M.isRegExp(r))return r.test(t)}}function Zm(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ym(e,t){const n=M.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class Ze{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,c,u){const l=jn(c);if(!l)throw new Error("header name must be a non-empty string");const f=M.findKey(s,l);(!f||s[f]===void 0||u===!0||u===void 0&&s[f]!==!1)&&(s[f||c]=Gr(a))}const i=(a,c)=>M.forEach(a,(u,l)=>o(u,l,c));if(M.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(M.isString(t)&&(t=t.trim())&&!zm(t))i(Wm(t),n);else if(M.isHeaders(t))for(const[a,c]of t.entries())o(c,a,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=jn(t),t){const r=M.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Km(s);if(M.isFunction(n))return n.call(this,s,r);if(M.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=jn(t),t){const r=M.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Xs(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=jn(i),i){const a=M.findKey(r,i);a&&(!n||Xs(r,r[a],a,n))&&(delete r[a],s=!0)}}return M.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Xs(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return M.forEach(this,(s,o)=>{const i=M.findKey(r,o);if(i){n[i]=Gr(s),delete n[o];return}const a=t?Zm(o):String(o).trim();a!==o&&delete n[o],n[a]=Gr(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return M.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&M.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
24
24
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Da]=this[Da]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=jn(i);r[a]||(Ym(s,i),r[a]=!0)}return M.isArray(t)?t.forEach(o):o(t),this}}Ze.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);M.reduceDescriptors(Ze.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});M.freezeMethods(Ze);function Qs(e,t){const n=this||Ar,r=t||n,s=Ze.from(r.headers);let o=r.data;return M.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Zu(e){return!!(e&&e.__CANCEL__)}function Dn(e,t,n){ne.call(this,e??"canceled",ne.ERR_CANCELED,t,n),this.name="CanceledError"}M.inherits(Dn,ne,{__CANCEL__:!0});function Yu(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ne("Request failed with status code "+n.status,[ne.ERR_BAD_REQUEST,ne.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Jm(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Xm(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),l=r[o];i||(i=u),n[s]=c,r[s]=u;let f=o,d=0;for(;f!==s;)d+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const h=l&&u-l;return h?Math.round(d*1e3/h):void 0}}function Qm(e,t){let n=0,r=1e3/t,s,o;const i=(u,l=Date.now())=>{n=l,s=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const l=Date.now(),f=l-n;f>=r?i(u,l):(s=u,o||(o=setTimeout(()=>{o=null,i(s)},r-f)))},()=>s&&i(s)]}const os=(e,t,n=3)=>{let r=0;const s=Xm(50,250);return Qm(o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,c=i-r,u=s(c),l=i<=a;r=i;const f={loaded:i,total:a,progress:a?i/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&l?(a-i)/u:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Va=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Fa=e=>(...t)=>M.asap(()=>e(...t)),_m=ze.hasStandardBrowserEnv?function(){const t=ze.navigator&&/(msie|trident)/i.test(ze.navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const a=M.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),qm=ze.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];M.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),M.isString(r)&&i.push("path="+r),M.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function eg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function tg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ju(e,t){return e&&!eg(t)?tg(e,t):t}const ka=e=>e instanceof Ze?{...e}:e;function mn(e,t){t=t||{};const n={};function r(u,l,f){return M.isPlainObject(u)&&M.isPlainObject(l)?M.merge.call({caseless:f},u,l):M.isPlainObject(l)?M.merge({},l):M.isArray(l)?l.slice():l}function s(u,l,f){if(M.isUndefined(l)){if(!M.isUndefined(u))return r(void 0,u,f)}else return r(u,l,f)}function o(u,l){if(!M.isUndefined(l))return r(void 0,l)}function i(u,l){if(M.isUndefined(l)){if(!M.isUndefined(u))return r(void 0,u)}else return r(void 0,l)}function a(u,l,f){if(f in t)return r(u,l);if(f in e)return r(void 0,u)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,l)=>s(ka(u),ka(l),!0)};return M.forEach(Object.keys(Object.assign({},e,t)),function(l){const f=c[l]||s,d=f(e[l],t[l],l);M.isUndefined(d)&&f!==a||(n[l]=d)}),n}const Xu=e=>{const t=mn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:a}=t;t.headers=i=Ze.from(i),t.url=Wu(Ju(t.baseURL,t.url),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let c;if(M.isFormData(n)){if(ze.hasStandardBrowserEnv||ze.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[u,...l]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...l].join("; "))}}if(ze.hasStandardBrowserEnv&&(r&&M.isFunction(r)&&(r=r(t)),r||r!==!1&&_m(t.url))){const u=s&&o&&qm.read(o);u&&i.set(s,u)}return t},ng=typeof XMLHttpRequest<"u",rg=ng&&function(e){return new Promise(function(n,r){const s=Xu(e);let o=s.data;const i=Ze.from(s.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:u}=s,l,f,d,h,p;function m(){h&&h(),p&&p(),s.cancelToken&&s.cancelToken.unsubscribe(l),s.signal&&s.signal.removeEventListener("abort",l)}let g=new XMLHttpRequest;g.open(s.method.toUpperCase(),s.url,!0),g.timeout=s.timeout;function b(){if(!g)return;const C=Ze.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),R={data:!a||a==="text"||a==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:C,config:e,request:g};Yu(function(O){n(O),m()},function(O){r(O),m()},R),g=null}"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(b)},g.onabort=function(){g&&(r(new ne("Request aborted",ne.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new ne("Network Error",ne.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let E=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const R=s.transitional||Ku;s.timeoutErrorMessage&&(E=s.timeoutErrorMessage),r(new ne(E,R.clarifyTimeoutError?ne.ETIMEDOUT:ne.ECONNABORTED,e,g)),g=null},o===void 0&&i.setContentType(null),"setRequestHeader"in g&&M.forEach(i.toJSON(),function(E,R){g.setRequestHeader(R,E)}),M.isUndefined(s.withCredentials)||(g.withCredentials=!!s.withCredentials),a&&a!=="json"&&(g.responseType=s.responseType),u&&([d,p]=os(u,!0),g.addEventListener("progress",d)),c&&g.upload&&([f,h]=os(c),g.upload.addEventListener("progress",f),g.upload.addEventListener("loadend",h)),(s.cancelToken||s.signal)&&(l=C=>{g&&(r(!C||C.type?new Dn(null,e,g):C),g.abort(),g=null)},s.cancelToken&&s.cancelToken.subscribe(l),s.signal&&(s.signal.aborted?l():s.signal.addEventListener("abort",l)));const S=Jm(s.url);if(S&&ze.protocols.indexOf(S)===-1){r(new ne("Unsupported protocol "+S+":",ne.ERR_BAD_REQUEST,e));return}g.send(o||null)})},sg=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(u){if(!s){s=!0,a();const l=u instanceof Error?u:this.reason;r.abort(l instanceof ne?l:new Dn(l instanceof Error?l.message:l))}};let i=t&&setTimeout(()=>{i=null,o(new ne(`timeout ${t} of ms exceeded`,ne.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:c}=r;return c.unsubscribe=()=>M.asap(a),c}},og=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},ig=async function*(e,t){for await(const n of ag(e))yield*og(n,t)},ag=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Na=(e,t,n,r)=>{const s=ig(e,t);let o=0,i,a=c=>{i||(i=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:l}=await s.next();if(u){a(),c.close();return}let f=l.byteLength;if(n){let d=o+=f;n(d)}c.enqueue(new Uint8Array(l))}catch(u){throw a(u),u}},cancel(c){return a(c),s.return()}},{highWaterMark:2})},Os=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Qu=Os&&typeof ReadableStream=="function",cg=Os&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),_u=(e,...t)=>{try{return!!e(...t)}catch{return!1}},lg=Qu&&_u(()=>{let e=!1;const t=new Request(ze.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ja=64*1024,Oo=Qu&&_u(()=>M.isReadableStream(new Response("").body)),is={stream:Oo&&(e=>e.body)};Os&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!is[t]&&(is[t]=M.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ne(`Response type '${t}' is not supported`,ne.ERR_NOT_SUPPORT,r)})})})(new Response);const ug=async e=>{if(e==null)return 0;if(M.isBlob(e))return e.size;if(M.isSpecCompliantForm(e))return(await new Request(ze.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(M.isArrayBufferView(e)||M.isArrayBuffer(e))return e.byteLength;if(M.isURLSearchParams(e)&&(e=e+""),M.isString(e))return(await cg(e)).byteLength},fg=async(e,t)=>{const n=M.toFiniteNumber(e.getContentLength());return n??ug(t)},dg=Os&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:c,responseType:u,headers:l,withCredentials:f="same-origin",fetchOptions:d}=Xu(e);u=u?(u+"").toLowerCase():"text";let h=sg([s,o&&o.toAbortSignal()],i),p;const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let g;try{if(c&&lg&&n!=="get"&&n!=="head"&&(g=await fg(l,r))!==0){let R=new Request(t,{method:"POST",body:r,duplex:"half"}),w;if(M.isFormData(r)&&(w=R.headers.get("content-type"))&&l.setContentType(w),R.body){const[O,L]=Va(g,os(Fa(c)));r=Na(R.body,ja,O,L)}}M.isString(f)||(f=f?"include":"omit");const b="credentials"in Request.prototype;p=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:b?f:void 0});let S=await fetch(p);const C=Oo&&(u==="stream"||u==="response");if(Oo&&(a||C&&m)){const R={};["status","statusText","headers"].forEach(A=>{R[A]=S[A]});const w=M.toFiniteNumber(S.headers.get("content-length")),[O,L]=a&&Va(w,os(Fa(a),!0))||[];S=new Response(Na(S.body,ja,O,()=>{L&&L(),m&&m()}),R)}u=u||"text";let E=await is[M.findKey(is,u)||"text"](S,e);return!C&&m&&m(),await new Promise((R,w)=>{Yu(R,w,{data:E,headers:Ze.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:p})})}catch(b){throw m&&m(),b&&b.name==="TypeError"&&/fetch/i.test(b.message)?Object.assign(new ne("Network Error",ne.ERR_NETWORK,e,p),{cause:b.cause||b}):ne.from(b,b&&b.code,e,p)}}),Po={http:xm,xhr:rg,fetch:dg};M.forEach(Po,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const $a=e=>`- ${e}`,hg=e=>M.isFunction(e)||e===null||e===!1,qu={getAdapter:e=>{e=M.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!hg(n)&&(r=Po[(i=String(n)).toLowerCase()],r===void 0))throw new ne(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([a,c])=>`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
25
25
  `+o.map($a).join(`
@@ -28,7 +28,7 @@ const dd=new Set(["title","titleTemplate","script","style","noscript"]),kr=new S
28
28
  * vue-router v4.4.5
29
29
  * (c) 2024 Eduardo San Martin Morote
30
30
  * @license MIT
31
- */const An=typeof document<"u";function rf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Fg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&rf(e.default)}const de=Object.assign;function qs(e,t){const n={};for(const r in t){const s=t[r];n[r]=lt(s)?s.map(e):e(s)}return n}const qn=()=>{},lt=Array.isArray,sf=/#/g,kg=/&/g,Ng=/\//g,jg=/=/g,$g=/\?/g,of=/\+/g,Bg=/%5B/g,Ug=/%5D/g,af=/%5E/g,Gg=/%60/g,cf=/%7B/g,Wg=/%7C/g,lf=/%7D/g,Kg=/%20/g;function wi(e){return encodeURI(""+e).replace(Wg,"|").replace(Bg,"[").replace(Ug,"]")}function zg(e){return wi(e).replace(cf,"{").replace(lf,"}").replace(af,"^")}function Ho(e){return wi(e).replace(of,"%2B").replace(Kg,"+").replace(sf,"%23").replace(kg,"%26").replace(Gg,"`").replace(cf,"{").replace(lf,"}").replace(af,"^")}function Zg(e){return Ho(e).replace(jg,"%3D")}function Yg(e){return wi(e).replace(sf,"%23").replace($g,"%3F")}function Jg(e){return e==null?"":Yg(e).replace(Ng,"%2F")}function cr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Xg=/\/$/,Qg=e=>e.replace(Xg,"");function eo(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=t0(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:cr(i)}}function _g(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ka(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qg(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Pn(t.matched[r],n.matched[s])&&uf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Pn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function uf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!e0(e[n],t[n]))return!1;return!0}function e0(e,t){return lt(e)?za(e,t):lt(t)?za(t,e):e===t}function za(e,t){return lt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function t0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Vt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var lr;(function(e){e.pop="pop",e.push="push"})(lr||(lr={}));var er;(function(e){e.back="back",e.forward="forward",e.unknown=""})(er||(er={}));function n0(e){if(!e)if(An){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Qg(e)}const r0=/^[^#]+#/;function s0(e,t){return e.replace(r0,"#")+t}function o0(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ps=()=>({left:window.scrollX,top:window.scrollY});function i0(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=o0(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Za(e,t){return(history.state?history.state.position-t:-1)+e}const Do=new Map;function a0(e,t){Do.set(e,t)}function c0(e){const t=Do.get(e);return Do.delete(e),t}let l0=()=>location.protocol+"//"+location.host;function ff(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),Ka(c,"")}return Ka(n,e)+r+s}function u0(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const h=ff(e,location),p=n.value,m=t.value;let g=0;if(d){if(n.value=h,t.value=d,i&&i===p){i=null;return}g=m?d.position-m.position:0}else r(h);s.forEach(b=>{b(n.value,p,{delta:g,type:lr.pop,direction:g?g>0?er.forward:er.back:er.unknown})})};function c(){i=n.value}function u(d){s.push(d);const h=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return o.push(h),h}function l(){const{history:d}=window;d.state&&d.replaceState(de({},d.state,{scroll:Ps()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function Ya(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Ps():null}}function f0(e){const{history:t,location:n}=window,r={value:ff(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,l){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:l0()+e+c;try{t[l?"replaceState":"pushState"](u,"",d),s.value=u}catch(h){console.error(h),n[l?"replace":"assign"](d)}}function i(c,u){const l=de({},t.state,Ya(s.value.back,c,s.value.forward,!0),u,{position:s.value.position});o(c,l,!0),r.value=c}function a(c,u){const l=de({},s.value,t.state,{forward:c,scroll:Ps()});o(l.current,l,!0);const f=de({},Ya(r.value,c,null),{position:l.position+1},u);o(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function d0(e){e=n0(e);const t=f0(e),n=u0(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=de({location:"",base:e,go:r,createHref:s0.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function h0(e){return typeof e=="string"||e&&typeof e=="object"}function df(e){return typeof e=="string"||typeof e=="symbol"}const hf=Symbol("");var Ja;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ja||(Ja={}));function Mn(e,t){return de(new Error,{type:e,[hf]:!0},t)}function Ct(e,t){return e instanceof Error&&hf in e&&(t==null||!!(e.type&t))}const Xa="[^/]+?",p0={sensitive:!1,strict:!1,start:!0,end:!0},m0=/[.+*?^${}()[\]/\\]/g;function g0(e,t){const n=de({},p0,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(m0,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:m,optional:g,regexp:b}=d;o.push({name:p,repeatable:m,optional:g});const S=b||Xa;if(S!==Xa){h+=10;try{new RegExp(`(${S})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${p}" (${S}): `+E.message)}}let C=m?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;f||(C=g&&u.length<2?`(?:/${C})`:"/"+C),g&&(C+="?"),s+=C,h+=20,g&&(h+=-8),m&&(h+=-20),S===".*"&&(h+=-50)}l.push(h)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(u){const l=u.match(i),f={};if(!l)return null;for(let d=1;d<l.length;d++){const h=l[d]||"",p=o[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function c(u){let l="",f=!1;for(const d of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const h of d)if(h.type===0)l+=h.value;else if(h.type===1){const{value:p,repeatable:m,optional:g}=h,b=p in u?u[p]:"";if(lt(b)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const S=lt(b)?b.join("/"):b;if(!S)if(g)d.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);l+=S}}return l||"/"}return{re:i,score:r,keys:o,parse:a,stringify:c}}function v0(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function pf(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=v0(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Qa(r))return 1;if(Qa(s))return-1}return s.length-r.length}function Qa(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const y0={type:0,value:""},b0=/[a-zA-Z0-9_]/;function S0(e){if(!e)return[[]];if(e==="/")return[[y0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,u="",l="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(u&&f(),i()):c===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:c==="("?n=2:b0.test(c)?d():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+c:n=3:l+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,l="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),s}function C0(e,t,n){const r=g0(S0(e.path),n),s=de(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function A0(e,t){const n=[],r=new Map;t=tc({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function o(f,d,h){const p=!h,m=qa(f);m.aliasOf=h&&h.record;const g=tc(t,f),b=[m];if("alias"in f){const E=typeof f.alias=="string"?[f.alias]:f.alias;for(const R of E)b.push(qa(de({},m,{components:h?h.record.components:m.components,path:R,aliasOf:h?h.record:m})))}let S,C;for(const E of b){const{path:R}=E;if(d&&R[0]!=="/"){const w=d.record.path,O=w[w.length-1]==="/"?"":"/";E.path=d.record.path+(R&&O+R)}if(S=C0(E,d,g),h?h.alias.push(S):(C=C||S,C!==S&&C.alias.push(S),p&&f.name&&!ec(S)&&i(f.name)),mf(S)&&c(S),m.children){const w=m.children;for(let O=0;O<w.length;O++)o(w[O],S,h&&h.children[O])}h=h||S}return C?()=>{i(C)}:qn}function i(f){if(df(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function c(f){const d=w0(f,n);n.splice(d,0,f),f.record.name&&!ec(f)&&r.set(f.record.name,f)}function u(f,d){let h,p={},m,g;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw Mn(1,{location:f});g=h.record.name,p=de(_a(d.params,h.keys.filter(C=>!C.optional).concat(h.parent?h.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),f.params&&_a(f.params,h.keys.map(C=>C.name))),m=h.stringify(p)}else if(f.path!=null)m=f.path,h=n.find(C=>C.re.test(m)),h&&(p=h.parse(m),g=h.record.name);else{if(h=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!h)throw Mn(1,{location:f,currentLocation:d});g=h.record.name,p=de({},d.params,f.params),m=h.stringify(p)}const b=[];let S=h;for(;S;)b.unshift(S.record),S=S.parent;return{name:g,path:m,params:p,matched:b,meta:E0(b)}}e.forEach(f=>o(f));function l(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:l,getRoutes:a,getRecordMatcher:s}}function _a(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function qa(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:L0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function L0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ec(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function E0(e){return e.reduce((t,n)=>de(t,n.meta),{})}function tc(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function w0(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;pf(e,t[o])<0?r=o:n=o+1}const s=T0(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function T0(e){let t=e;for(;t=t.parent;)if(mf(t)&&pf(e,t)===0)return t}function mf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function x0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(of," "),i=o.indexOf("="),a=cr(i<0?o:o.slice(0,i)),c=i<0?null:cr(o.slice(i+1));if(a in t){let u=t[a];lt(u)||(u=t[a]=[u]),u.push(c)}else t[a]=c}return t}function nc(e){let t="";for(let n in e){const r=e[n];if(n=Zg(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(lt(r)?r.map(o=>o&&Ho(o)):[r&&Ho(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function R0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=lt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const O0=Symbol(""),rc=Symbol(""),Ti=Symbol(""),gf=Symbol(""),Vo=Symbol("");function $n(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Gt(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const u=d=>{d===!1?c(Mn(4,{from:n,to:t})):d instanceof Error?c(d):h0(d)?c(Mn(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},l=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(l);e.length<3&&(f=f.then(u)),f.catch(d=>c(d))})}function to(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(rf(c)){const l=(c.__vccOpts||c)[t];l&&o.push(Gt(l,n,r,i,a,s))}else{let u=c();o.push(()=>u.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=Fg(l)?l.default:l;i.mods[a]=l,i.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&Gt(h,n,r,i,a,s)()}))}}return o}function sc(e){const t=Ae(Ti),n=Ae(gf),r=_(()=>{const c=$e(e.to);return t.resolve(c)}),s=_(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const d=f.findIndex(Pn.bind(null,l));if(d>-1)return d;const h=oc(c[u-2]);return u>1&&oc(l)===h&&f[f.length-1].path!==h?f.findIndex(Pn.bind(null,c[u-2])):d}),o=_(()=>s.value>-1&&H0(n.params,r.value.params)),i=_(()=>s.value>-1&&s.value===n.matched.length-1&&uf(n.params,r.value.params));function a(c={}){return I0(c)?t[$e(e.replace)?"replace":"push"]($e(e.to)).catch(qn):Promise.resolve()}return{route:r,href:_(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const P0=ys({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:sc,setup(e,{slots:t}){const n=We(sc(e)),{options:r}=Ae(Ti),s=_(()=>({[ic(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ic(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ls("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),M0=P0;function I0(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function H0(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!lt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function oc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ic=(e,t,n)=>e??t??n,D0=ys({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ae(Vo),s=_(()=>e.route||r.value),o=Ae(rc,0),i=_(()=>{let u=$e(o);const{matched:l}=s.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),a=_(()=>s.value.matched[i.value]);xt(rc,_(()=>i.value+1)),xt(O0,a),xt(Vo,s);const c=Pe();return _e(()=>[c.value,a.value,e.name],([u,l,f],[d,h,p])=>{l&&(l.instances[f]=u,h&&h!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=h.leaveGuards),l.updateGuards.size||(l.updateGuards=h.updateGuards))),u&&l&&(!h||!Pn(l,h)||!d)&&(l.enterCallbacks[f]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=s.value,l=e.name,f=a.value,d=f&&f.components[l];if(!d)return ac(n.default,{Component:d,route:u});const h=f.props[l],p=h?h===!0?u.params:typeof h=="function"?h(u):h:null,g=Ls(d,de({},p,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return ac(n.default,{Component:g,route:u})||g}}});function ac(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const V0=D0;function F0(e){const t=A0(e.routes,e),n=e.parseQuery||x0,r=e.stringifyQuery||nc,s=e.history,o=$n(),i=$n(),a=$n(),c=bt(Vt);let u=Vt;An&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=qs.bind(null,D=>""+D),f=qs.bind(null,Jg),d=qs.bind(null,cr);function h(D,B){let U,z;return df(D)?(U=t.getRecordMatcher(D),z=B):z=D,t.addRoute(z,U)}function p(D){const B=t.getRecordMatcher(D);B&&t.removeRoute(B)}function m(){return t.getRoutes().map(D=>D.record)}function g(D){return!!t.getRecordMatcher(D)}function b(D,B){if(B=de({},B||c.value),typeof D=="string"){const y=eo(n,D,B.path),T=t.resolve({path:y.path},B),F=s.createHref(y.fullPath);return de(y,T,{params:d(T.params),hash:cr(y.hash),redirectedFrom:void 0,href:F})}let U;if(D.path!=null)U=de({},D,{path:eo(n,D.path,B.path).path});else{const y=de({},D.params);for(const T in y)y[T]==null&&delete y[T];U=de({},D,{params:f(y)}),B.params=f(B.params)}const z=t.resolve(U,B),ue=D.hash||"";z.params=l(d(z.params));const be=_g(r,de({},D,{hash:zg(ue),path:z.path})),v=s.createHref(be);return de({fullPath:be,hash:ue,query:r===nc?R0(D.query):D.query||{}},z,{redirectedFrom:void 0,href:v})}function S(D){return typeof D=="string"?eo(n,D,c.value.path):de({},D)}function C(D,B){if(u!==D)return Mn(8,{from:B,to:D})}function E(D){return O(D)}function R(D){return E(de(S(D),{replace:!0}))}function w(D){const B=D.matched[D.matched.length-1];if(B&&B.redirect){const{redirect:U}=B;let z=typeof U=="function"?U(D):U;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=S(z):{path:z},z.params={}),de({query:D.query,hash:D.hash,params:z.path!=null?{}:D.params},z)}}function O(D,B){const U=u=b(D),z=c.value,ue=D.state,be=D.force,v=D.replace===!0,y=w(U);if(y)return O(de(S(y),{state:typeof y=="object"?de({},ue,y.state):ue,force:be,replace:v}),B||U);const T=U;T.redirectedFrom=B;let F;return!be&&qg(r,z,U)&&(F=Mn(16,{to:T,from:z}),we(z,z,!0,!1)),(F?Promise.resolve(F):x(T,z)).catch(H=>Ct(H)?Ct(H,2)?H:ae(H):Y(H,T,z)).then(H=>{if(H){if(Ct(H,2))return O(de({replace:v},S(H.to),{state:typeof H.to=="object"?de({},ue,H.to.state):ue,force:be}),B||T)}else H=P(T,z,!0,v,ue);return I(T,z,H),H})}function L(D,B){const U=C(D,B);return U?Promise.reject(U):Promise.resolve()}function A(D){const B=rt.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(D):D()}function x(D,B){let U;const[z,ue,be]=k0(D,B);U=to(z.reverse(),"beforeRouteLeave",D,B);for(const y of z)y.leaveGuards.forEach(T=>{U.push(Gt(T,D,B))});const v=L.bind(null,D,B);return U.push(v),Be(U).then(()=>{U=[];for(const y of o.list())U.push(Gt(y,D,B));return U.push(v),Be(U)}).then(()=>{U=to(ue,"beforeRouteUpdate",D,B);for(const y of ue)y.updateGuards.forEach(T=>{U.push(Gt(T,D,B))});return U.push(v),Be(U)}).then(()=>{U=[];for(const y of be)if(y.beforeEnter)if(lt(y.beforeEnter))for(const T of y.beforeEnter)U.push(Gt(T,D,B));else U.push(Gt(y.beforeEnter,D,B));return U.push(v),Be(U)}).then(()=>(D.matched.forEach(y=>y.enterCallbacks={}),U=to(be,"beforeRouteEnter",D,B,A),U.push(v),Be(U))).then(()=>{U=[];for(const y of i.list())U.push(Gt(y,D,B));return U.push(v),Be(U)}).catch(y=>Ct(y,8)?y:Promise.reject(y))}function I(D,B,U){a.list().forEach(z=>A(()=>z(D,B,U)))}function P(D,B,U,z,ue){const be=C(D,B);if(be)return be;const v=B===Vt,y=An?history.state:{};U&&(z||v?s.replace(D.fullPath,de({scroll:v&&y&&y.scroll},ue)):s.push(D.fullPath,ue)),c.value=D,we(D,B,U,v),ae()}let V;function J(){V||(V=s.listen((D,B,U)=>{const z=b(D),ue=w(z);if(ue){O(de(ue,{replace:!0}),z).catch(qn);return}u=z;const be=c.value;An&&a0(Za(be.fullPath,U.delta),Ps()),x(z,be).catch(v=>Ct(v,12)?v:Ct(v,2)?(O(v.to,z).then(y=>{Ct(y,20)&&!U.delta&&U.type===lr.pop&&s.go(-1,!1)}).catch(qn),Promise.reject()):(U.delta&&s.go(-U.delta,!1),Y(v,z,be))).then(v=>{v=v||P(z,be,!1),v&&(U.delta&&!Ct(v,8)?s.go(-U.delta,!1):U.type===lr.pop&&Ct(v,20)&&s.go(-1,!1)),I(z,be,v)}).catch(qn)}))}let se=$n(),te=$n(),K;function Y(D,B,U){ae(D);const z=te.list();return z.length?z.forEach(ue=>ue(D,B,U)):console.error(D),Promise.reject(D)}function he(){return K&&c.value!==Vt?Promise.resolve():new Promise((D,B)=>{se.add([D,B])})}function ae(D){return K||(K=!D,J(),se.list().forEach(([B,U])=>D?U(D):B()),se.reset()),D}function we(D,B,U,z){const{scrollBehavior:ue}=e;if(!An||!ue)return Promise.resolve();const be=!U&&c0(Za(D.fullPath,0))||(z||!U)&&history.state&&history.state.scroll||null;return pr().then(()=>ue(D,B,be)).then(v=>v&&i0(v)).catch(v=>Y(v,D,B))}const ye=D=>s.go(D);let xe;const rt=new Set,Qt={currentRoute:c,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:m,resolve:b,options:e,push:E,replace:R,go:ye,back:()=>ye(-1),forward:()=>ye(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:te.add,isReady:he,install(D){const B=this;D.component("RouterLink",M0),D.component("RouterView",V0),D.config.globalProperties.$router=B,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>$e(c)}),An&&!xe&&c.value===Vt&&(xe=!0,E(s.location).catch(ue=>{}));const U={};for(const ue in Vt)Object.defineProperty(U,ue,{get:()=>c.value[ue],enumerable:!0});D.provide(Ti,B),D.provide(gf,El(U)),D.provide(Vo,c);const z=D.unmount;rt.add(D),D.unmount=function(){rt.delete(D),rt.size<1&&(u=Vt,V&&V(),V=null,c.value=Vt,xe=!1,K=!1),z()}}};function Be(D){return D.reduce((B,U)=>B.then(()=>A(U)),Promise.resolve())}return Qt}function k0(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(u=>Pn(u,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(u=>Pn(u,c))||s.push(c))}return[n,r,s]}const N0="",vf=[{group:"r",pks:"0",page:1}],j0=!0,$0=!0,B0="sort_name",U0=!1,G0="",W0={i:!1,p:!0,s:!0,v:!1},K0="p",z0=!1,Z0=!1,Ge={bookmarkFilter:N0,breadcrumbs:vf,customCovers:j0,dynamicCovers:$0,orderBy:B0,orderReverse:U0,q:G0,show:W0,topGroup:K0,twentyFourHourTime:z0,alwaysShowFilename:Z0},Y0=()=>dt(()=>import("./admin-DEzMkE3K.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22])),J0=()=>dt(()=>import("./browser-w29qvXZC.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,24,25,26,27,17,18,28,29,30,31,32,33,34,35,36,37,15,16,19,38,39,40])),X0=()=>dt(()=>import("./http-error-3wet1qit.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,42])),Q0=()=>dt(()=>import("./reader-D4z2bwpd.js").then(e=>e.r),__vite__mapDeps([43,3,4,15,1,2,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,27,28,29,34,35,36,37,44,45,46,47,38,39,24,25,48])),_0=()=>dt(()=>import("./flag-tab-D-Vm731o.js"),__vite__mapDeps([49,11,32,3,4,33,8,9,38,28,39,50])),q0=()=>dt(()=>import("./user-tab-Dx51peTz.js"),__vite__mapDeps([51,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,38,39,54,55,6,12])),e2=()=>dt(()=>import("./group-tab-DHg_7lBM.js"),__vite__mapDeps([56,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,46,47,57])),t2=()=>dt(()=>import("./library-tab-BwNsGaT8.js"),__vite__mapDeps([58,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,26,31,38,39,54,55,44,45,59])),n2=()=>dt(()=>import("./task-tab-DkXh1BGP.js"),__vite__mapDeps([60,35,2,3,4,5,36,11,27,8,9,13,17,18,28,29,61])),r2=()=>dt(()=>import("./stats-tab-Q8naL40Y.js"),__vite__mapDeps([62,32,3,4,33,35,2,5,36,16,11,63])),s2={name:"browser",params:window.CODEX.LAST_ROUTE||vf[0]},o2=[{name:"home",path:"/",redirect:s2},{name:"reader",path:"/c/:pk/:page",component:Q0},{name:"browser",path:"/:group/:pks/:page",component:J0},{name:"admin",path:"/admin",component:Y0,redirect:"/admin/libraries",children:[{name:"admin-users",path:"users",component:q0},{name:"admin-groups",path:"groups",component:e2},{name:"admin-libraries",path:"libraries",component:t2},{name:"admin-flags",path:"flags",component:_0},{name:"admin-tasks",path:"tasks",component:n2},{name:"admin-stats",path:"stats",component:r2}]},{name:"error",path:"/error/:code",component:X0,props:!0},{name:"404",path:"/:pathMatch(.*)*",redirect:"/error/404"}],re=new F0({history:d0(window.CODEX.APP_PATH),routes:o2});function it(e,t,n=new Map){const r=n.get(e);if(typeof r<"u")return r;if(Array.isArray(e)){const i=[];n.set(e,i);for(let a=0;a<e.length;a++)i[a]=it(e[a],t,n);return i}if(e instanceof Date)return new Date(e.valueOf());if(!(e instanceof Object))return e;const s={};n.set(e,s);const o=Object.keys(e);for(let i=0;i<o.length;i++){const a=typeof t=="function"?t(o[i]):o[i];s[a]=it(e[o[i]],t,n)}return s}function i2(e){return t=>it(t,e)}it.formatKeys=i2;var cc=Object.prototype.hasOwnProperty;function lc(e,t,n){for(n of e.keys())if(fn(n,t))return n}function fn(e,t){var n,r,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&fn(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(s=r,s&&typeof s=="object"&&(s=lc(t,s),!s)||!t.has(s))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(s=r[0],s&&typeof s=="object"&&(s=lc(t,s),!s)||!fn(r[1],t.get(s)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(cc.call(e,n)&&++r&&!cc.call(t,n)||!(n in t)||!fn(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}const xi=({group:e,pks:t,query:n,ts:r})=>{const s=ft(n,r),o=new URLSearchParams(s).toString(),i=t.join(",");return{hrefPath:`${e}/${i}`,queryString:o}},a2=({group:e,pks:t,query:n})=>{const r=window.CODEX.APP_PATH,{hrefPath:s,queryString:o}=xi({group:e,pks:t,query:n});return`${r}${s}/1?${o}`},c2=({group:e,pks:t},n,r)=>{const s=window.CODEX.API_V3_PATH;delete n.show;const{hrefPath:o,queryString:i}=xi({group:e,pks:t,query:n,ts:r});return`${s}${o}/cover.webp?${i}`},l2=({group:e,pks:t},n,r)=>{const s=ft(n,r);return Ee.get(`/${e}/${t}/choices_available`,{params:s})},u2=({group:e,pks:t},n,r,s)=>{const o=ft(r,s);return Ee.get(`/${e}/${t}/choices/${n}`,{params:o})},f2=({group:e,pks:t,page:n},r,s)=>{const o=ft(r,s);return Ee.get(`/${e}/${t}/${n}`,{params:o})},d2=({group:e,pks:t},n)=>{const r=t.join(","),s=Math.max(e.mtime,n.mtime),o=it(n);delete o.mtime;const i=ft(o,s);return Ee.get(`/${e}/${r}/metadata`,{params:i})},h2=e=>{const t=ft(e);return Ee.get("/r/settings",{params:t})},p2=e=>Ee.patch("/r/settings",e),m2=({group:e,pks:t},n,r,s)=>{const o=window.CODEX.API_V3_PATH;delete r.show;const{hrefPath:i,queryString:a}=xi({group:e,pks:t,query:r,ts:s});return n=encodeURIComponent(n),`${o}${i}/download/${n}?${a}`},g2=({group:e,ids:t},n,r)=>{const s=ft(n),o=new URLSearchParams(s).toString();r.fitTo===null&&(r.fitTo="");const i=t.join(",");return Ee.patch(`${e}/${i}/bookmark?${o}`,r)},gt={getAvailableFilterChoices:l2,getBrowserHref:a2,getCoverSrc:c2,getFilterChoices:u2,getGroupDownloadURL:m2,getMetadata:d2,getSettings:h2,getBrowserPage:f2,updateGroupBookmarks:g2,updateSettings:p2},v2=[{value:"",title:"All",default:!0},{value:"IN_PROGRESS",title:"In Progress"},{value:"READ",title:"Read"},{value:"UNREAD",title:"Unread"}],y2=[{value:"created_at",title:"Added Time"},{value:"age_rating",title:"Age Rating"},{value:"child_count",title:"Child Count"},{value:"community_rating",title:"Community Rating"},{value:"critical_rating",title:"Critical Rating"},{value:"filename",title:"Filename"},{value:"size",title:"File Size"},{value:"bookmark_updated_at",title:"Last Read"},{value:"sort_name",title:"Name",default:!0},{value:"page_count",title:"Page Count"},{value:"date",title:"Publish Date"},{value:"search_score",title:"Search Score"},{value:"story_arc_number",title:"Story Arc Number"},{value:"updated_at",title:"Updated Time"}],b2=[{value:"p",title:"Publishers",default:!0},{value:"i",title:"Imprints"},{value:"s",title:"Series"},{value:"v",title:"Volumes"},{value:"c",title:"Issues"},{value:"f",title:"Folders"},{value:"a",title:"Story Arcs"}],S2=-1,C2=[{value:"p",title:"Publishers"},{value:"i",title:"Imprints"},{value:"s",title:"Series"},{value:"v",title:"Volumes"}],A2=[{value:"comicvine",title:"Comic Vine"},{value:"comixology",title:"Comixology"},{value:"asin",title:"Amazon"},{value:"gtin",title:"GTIN"},{value:"isbn",title:"ISBN"},{value:"upc",title:"UPC"}],Ft={bookmarkFilter:v2,orderBy:y2,topGroup:b2,vuetifyNullCode:S2,settingsGroup:C2,identifierTypes:A2},zb={createdAt:"Added Time",ageRating:"Age Rating",childCount:"Child Count",communityRating:"Community Rating",criticalRating:"Critical Rating",filename:"Filename",size:"File Size",bookmarkUpdatedAt:"Last Read",sortName:"Name",pageCount:"Page Count",date:"Publish Date",searchScore:"Search Score",storyArcNumber:"Story Arc Number",updatedAt:"Updated Time"},L2={p:"Publishers",i:"Imprints",s:"Series",v:"Volumes",c:"Issues",f:"Folders",a:"Story Arcs"},Zb={H:"Fit to Height",O:"Original Size",S:"Fit to Screen",W:"Fit to Width"},E2={btt:"Bottom to Top",ltr:"Left to Right",rtl:"Right to Left",ttb:"Top to Bottom"},yf="sv-SE",w2=new Intl.DateTimeFormat(yf),Yb=new Intl.NumberFormat,T2=function(e){const t=e?yf:void 0;return new Intl.DateTimeFormat(t,{timeStyle:"medium"})},Jb=function(e,t,n=!1){const r=new Date(e),s=w2.format(r),i=T2(t).format(r);return s+(n?"<br />":", ")+i},x2=function(){return Math.floor(Date.now()/1e3)},R2=(e,t=0)=>{e=Number.isInteger(e)&&e>=0?e:0,t=Number.isInteger(t)&&t>=0?t:0;const n=t>e?Math.max(t-e,0):e;let r=[...Array(n).keys()];return t>0&&(r=r.map(s=>s+e)),r},bf="rpisvc";Object.freeze(bf);const Gn=Array.from(bf).reverse().join("");Object.freeze(Gn);const Sf=new Set([301,302,303,307,308]);Object.freeze(Sf);const Cf=new Set([void 0,null,Ge.bookmarkFilter]);Object.freeze(Cf);const Af=new Set(["a","c"]);Object.freeze(Af);const Lf=new Set(["a","c","f"]);Object.freeze(Lf);const O2=5e3,Ef=["customCovers","dynamicCovers","show"];Object.freeze(Ef);const wf=["filters","orderBy","orderReverse","q"];Object.freeze(wf);const Tf=["filters","q"];Object.freeze(Tf);const xf=["breadcrumbs"];Object.freeze(xf);const Rf=["filters","q","mtime"];Object.freeze(Rf);const no=e=>{e&&e.params&&re.push(e).catch(console.warn)},uc=e=>e&&Object.keys(e).length||typeof e=="boolean",fc=Sr("browser",{state:()=>({choices:{static:Object.freeze({bookmark:Ft.bookmarkFilter,groupNames:L2,settingsGroup:Ft.settingsGroup,readingDirection:E2,identifierType:Ft.identifierTypes}),dynamic:void 0},settings:{breadcrumbs:Ge.breadcrumbs,customCovers:Ge.customCovers,dynamicCovers:Ge.dynamicCovers,filters:{},orderBy:Ge.orderBy,orderReverse:Ge.orderReverse,q:Ge.q,show:Ge.show,topGroup:Ge.topGroup,twentyFourHourTime:Ge.twentyFourHourTime},page:{adminFlags:{folderView:void 0,importMetadata:void 0},title:{groupName:void 0,groupCount:void 0},librariesExist:void 0,modelGroup:void 0,numPages:1,groups:[],books:[],fts:void 0,searchError:void 0,mtime:0},filterMode:"base",zeroPad:0,browserPageLoaded:!1,isSearchOpen:!1,isSearchHelpOpen:!1,searchHideTimeout:void 0}),getters:{topGroupChoices(){const e=[];for(const t of Ft.topGroup)this._isRootGroupEnabled(t.value)&&e.push(t);return e},topGroupChoicesMaxLen(){return this._maxLenChoices(Ft.topGroup)},orderByChoices(e){const t=[];for(const n of Ft.orderBy)n.value==="path"&&!e.page.adminFlags.folderView||n.value==="child_count"&&e.page.modelGroup==="c"||n.value==="search_score"&&(!e.settings.q||!e.page.fts)||t.push(n);return t},orderByChoicesMaxLen(){return this._maxLenChoices(Ft.orderBy)},filterByChoicesMaxLen(){return this._maxLenChoices(Ft.bookmarkFilter)},isAuthorized(){return ar().isAuthorized},isDynamicFiltersSelected(e){for(const[t,n]of Object.entries(e.settings.filters))if(t!=="bookmark"&&n&&n.length>0)return!0;return!1},isFiltersClearable(e){return!Cf.has(e.settings.filters.bookmark)||this.isDynamicFiltersSelected},lowestShownGroup(e){let t="r";const n=Gn.indexOf(e.settings.topGroup);for(const[r,s]of Array.from(Gn).entries())if(e.settings.show[s]){r<=n&&(t=s);break}return t},isSearchMode(e){return!!e.settings.q},lastRoute(e){const t=e.settings.breadcrumbs,n=t[t.length-1],r={};return n?(r.name="browser",delete n.name,r.params=n):r.name="home",r},coverSettings(e){const t=re.currentRoute.value.params,n=t.group;if(n=="c")return{};let r=Ef;const s=e.settings.dynamicCovers;s&&(r=r.concat(wf));const o=this._filterSettings(e,r),i=t.pks;return!s&&n!=="r"&&i&&(o.parent={group:n,pks:i}),o},filterOnlySettings(e){return this._filterSettings(e,Tf)},pageLoadSettings(e){return this._filterSettings(e,xf)},metadataSettings(e){return this._filterSettings(e,Rf)}},actions:{_filterSettings(e,t){return Object.fromEntries(Object.entries(e.settings).filter(([n,r])=>{if(!t.includes(n))return null;if(n==="filters"){const s={};for(const[o,i]of Object.entries(r))uc(i)&&(s[o]=i);r=s}if(uc(r))return[n,r]}))},_maxLenChoices(e){let t=0;for(const n of e)n&&n.title&&n.title.length>t&&(t=n.title.length);return t},identifierTypeTitle(e){if(!e)return e;const t=e.toLowerCase();return this.choices.static.identifierType[t]||e},setIsSearchOpen(e){this.isSearchOpen=e},_isRootGroupEnabled(e){var t;return Af.has(e)?!0:e=="f"?(t=this.page.adminFlags)==null?void 0:t.folderView:this.settings.show[e]},_validateSearch(e){var n;if(!this.settings.q&&!e.q){this.settings.orderBy==="search_score"&&(this.settings.topGroup==="f"?e.orderBy="filename":e.orderBy="sort_name");return}else if(this.settings.q)return;e.orderBy="search_score",e.orderReverse=!0;const t=(n=re.currentRoute.value.params)==null?void 0:n.group;if(!(Lf.has(t)||t===this.lowestShownGroup))return{params:{group:this.lowestShownGroup,pks:"0",page:"1"}}},_validateTopGroup(e,t){var l,f;const n=this.settings.topGroup,r=e.topGroup,s=(f=(l=re==null?void 0:re.currentRoute)==null?void 0:l.value)==null?void 0:f.params;if(!n&&r||!r||n===r||r===(s==null?void 0:s.group))return t;const o=Gn.indexOf(n),i=Gn.indexOf(r),a=i>=0,c=a&&o>=0;let u;return c?o<i?(u=s,u.page=+u.page):u={group:"r",pks:"0",page:"1"}:u={group:a?"r":r,pks:"0",page:"1"},{params:u}},_addSettings(e){this.$patch(t=>{for(let[n,r]of Object.entries(e)){let s;typeof t.settings[n]=="object"&&!Array.isArray(t.settings[n])?s={...t.settings[n],...r}:s=r,fn(t.settings[n],s)||(t.settings[n]=s)}t.settings.q&&!t.isSearchOpen&&(t.isSearchOpen=!0)}),this.startSearchHideTimeout()},_validateAndSaveSettings(e){let t=this._validateSearch(e);return t=this._validateTopGroup(e,t),fn(t==null?void 0:t.params,re.currentRoute.value.params)&&(t=void 0),e&&this._addSettings(e),this.filterMode="base",t},async setSettings(e){const t=this._validateAndSaveSettings(e);this.browserPageLoaded=!0,t?no(t):this.loadBrowserPage(void 0,!0)},async clearOneFilter(e){this.$patch(t=>{t.filterMode="base",t.settings.filters[e]=[],t.browserPageLoaded=!0}),await this.loadBrowserPage(void 0,!0)},async clearFilters(e=!1){this.$patch(t=>{t.settings.filters={bookmark:""},t.filterMode="base",e&&(t.settings.q="",t.settings.orderBy="sort_name",t.settings.orderReverse=!1),t.browserPageLoaded=!0}),await this.loadBrowserPage(void 0,!0)},async setBookmarkFinished(e,t){this.isAuthorized&&await gt.updateGroupBookmarks(e,this.filterOnlySettings,{finished:t}).then(()=>(this.loadBrowserPage(x2()),!0))},clearSearchHideTimeout(){clearTimeout(this.searchHideTimeout)},startSearchHideTimeout(){if(!this.isSearchOpen)return;this.settings.q||this.isSearchHelpOpen?this.clearSearchHideTimeout():this.searchHideTimeout=setTimeout(()=>{this.settings.q||this.setIsSearchOpen(!1)},O2)},setSearchHelpOpen(e){this.isSearchHelpOpen=e,this.startSearchHideTimeout()},setPageMtime(e){self.mtime=e},async updateBreadcrumbs(e){const t=this.settings.breadcrumbs||[],n=R2(t.length).reverse();for(const r of n){const s=e[r],o=t[r];if(!fn(s,o)){o.name===null&&(o.name=""),gt.updateSettings({breadcrumbs:t});break}}},routeToPage(e){const t=it(re.currentRoute.value);t.params.page=e,re.push(t).catch(console.warn)},handlePageError(e){var t;if(Sf.has((t=e==null?void 0:e.response)==null?void 0:t.status)){console.debug(e);const n=e.response.data;n.settings&&(this.setSettings(n.settings),this.browserPageLoaded=!0),n.route&&no(n.route)}else return console.error(e)},async loadSettings(){var t,n;if(!this.isAuthorized)return;this.$patch(r=>{r.browserPageLoaded=!1,r.choices.dynamic=void 0});const e=(n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value.params)==null?void 0:n.group;await gt.getSettings({group:e}).then(r=>{const s=r.data,o=this._validateAndSaveSettings(s);return this.browserPageLoaded=!0,o?no(o):this.loadBrowserPage(void 0,!0)}).catch(r=>(this.browserPageLoaded=!0,this.handlePageError(r)))},async loadBrowserPage(e,t=!1){if(!this.isAuthorized)return;const n=re.currentRoute.value;if(e||(e=n.query.ts,e||(e=this.page.mtime)),this.browserPageLoaded)this.browserPageLoaded=!1;else return this.loadSettings();const r=this.settings.breadcrumbs;await gt.getBrowserPage(n.params,this.settings,e).then(s=>{const{breadcrumbs:o,...i}=s.data;return this.$patch(a=>{a.settings.breadcrumbs=o,a.page=i,(a.settings.orderBy==="search_score"&&!i.fts||a.settings.orderBy==="child_count"&&i.modelGroup==="c")&&(a.settings.orderBy="sort_name"),a.choices.dynamic=void 0,a.browserPageLoaded=!0}),!0}).catch(this.handlePageError),t?gt.updateSettings(this.settings):this.updateBreadcrumbs(r)},async loadAvailableFilterChoices(){return await gt.getAvailableFilterChoices(re.currentRoute.value.params,this.filterOnlySettings,this.page.mtime).then(e=>(this.choices.dynamic=e.data,!0)).catch(console.error)},async loadFilterChoices(e){return await gt.getFilterChoices(re.currentRoute.value.params,e,this.filterOnlySettings,this.page.mtime).then(t=>(this.choices.dynamic[e]=Object.freeze(t.data.choices),!0)).catch(console.error)},async loadMtimes(){var s,o;const e=(o=(s=re==null?void 0:re.currentRoute)==null?void 0:s.value)==null?void 0:o.params,t=e==null?void 0:e.group,n=t&&t!="r"?t:this.page.modelGroup,r=(e==null?void 0:e.pks)||"0";return await as.getMtime([{group:n,pks:r}],this.filterOnlySettings).then(i=>{var c;const a=(c=i==null?void 0:i.data)==null?void 0:c.maxMtime;return a!==this.page.mtime&&(this.choices.dynamic=void 0,this.loadBrowserPage(a)),!0}).catch(console.error)}}});var Xb="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",Qb="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z",_b="M18 4V20C18 21.11 17.11 22 16 22H4C2.9 22 2 21.11 2 20V4C2 2.9 2.9 2 4 2H5V9L7.5 7.5L10 9V2H16C17.1 2 18 2.89 18 4M20 17H22V15H20V17M20 7V13H22V7H20Z",P2="M13 19C13 20.1 13.3 21.12 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H7V9L9.5 7.5L12 9V2H18C19.1 2 20 2.89 20 4V13.09C19.67 13.04 19.34 13 19 13C15.69 13 13 15.69 13 19M20 20V16H18V20H16L19 23L22 20H20Z",M2="M13 19C13 20.1 13.3 21.12 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H7V9L9.5 7.5L12 9V2H18C19.1 2 20 2.89 20 4V13.09C19.67 13.04 19.34 13 19 13C15.69 13 13 15.69 13 19M19 15L16 18H18V22H20V18H22L19 15Z",qb="M19,18H9A2,2 0 0,1 7,16V4A2,2 0 0,1 9,2H10V7L12,5.5L14,7V2H19A2,2 0 0,1 21,4V16A2,2 0 0,1 19,18M17,20V22H5A2,2 0 0,1 3,20V6H5V20H17Z",e5="M13.09 20C13.21 20.72 13.46 21.39 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H18C19.11 2 20 2.9 20 4V13.09C19.67 13.04 19.34 13 19 13C18.66 13 18.33 13.04 18 13.09V4H13V12L10.5 9.75L8 12V4H6V20H13.09M22.54 16.88L21.12 15.47L19 17.59L16.88 15.47L15.47 16.88L17.59 19L15.47 21.12L16.88 22.54L19 20.41L21.12 22.54L22.54 21.12L20.41 19L22.54 16.88Z",t5="M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14M13,4V12L10.5,9.75L8,12V4H6V20H10C10.54,20.81 11.23,21.5 12.03,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H18A2,2 0 0,1 20,4V11.81C19.42,11.26 18.75,10.81 18,10.5V4H13Z",n5="M9.47 9.65L8.06 11.07L11 14L16.19 8.82L14.78 7.4L11 11.18M17 3H7C5.9 3 5 3.9 5 5L5 21L12 18L19 21V5C19 3.9 18.1 3 17 3M17 18L12 15.82L7 18V5H17Z",r5="M9,11V9H15V11H9M19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17C18.11,3 19,3.9 19,5M17,5H7V18L12,15.82L17,18V5Z",s5="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",o5="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",i5="M5,20H19V22H5V20M17,2V5H15V2H13V5H11V2H9V5H7V2H5V8H7V18H17V8H19V2H17Z",a5="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",c5="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",l5="M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M10,18L16,12L10,6L8.6,7.4L13.2,12L8.6,16.6L10,18Z",u5="M22.11 21.46L2.39 1.73L1.11 3L4.06 5.95C2.78 7.63 2 9.72 2 12C2 17.5 6.5 22 12 22C14.28 22 16.37 21.23 18.05 19.94L20.84 22.73L22.11 21.46M12 20C7.58 20 4 16.42 4 12C4 10.27 4.56 8.68 5.5 7.38L16.62 18.5C15.32 19.45 13.73 20 12 20M8.17 4.97L6.72 3.5C8.25 2.56 10.06 2 12 2C17.5 2 22 6.5 22 12C22 13.94 21.44 15.75 20.5 17.28L19.03 15.83C19.65 14.69 20 13.39 20 12C20 7.58 16.42 4 12 4C10.61 4 9.31 4.35 8.17 4.97Z",f5="M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7M7.5,13.5L9,12L11,14L15.5,9.5L17,11L11,17L7.5,13.5Z",d5="M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7Z",h5="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",p5="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z",m5="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",g5="M17 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V7L17 3M19 19H5V5H16.17L19 7.83V19M12 12C10.34 12 9 13.34 9 15S10.34 18 12 18 15 16.66 15 15 13.66 12 12 12M6 6H15V10H6V6Z",v5="M12 8L15 13.2L18 10.5L17.3 14H6.7L6 10.5L9 13.2L12 8M12 4L8.5 10L3 5L5 16H19L21 5L15.5 10L12 4M19 18H5V19C5 19.6 5.4 20 6 20H18C18.6 20 19 19.6 19 19V18Z",y5="M16.5 16.25L19.36 17.94L18.61 19.16L15 17V12H16.5V16.25M23 16C23 19.87 19.87 23 16 23C13.61 23 11.5 21.8 10.25 20C6.19 19.79 3 18.08 3 16V6C3 3.79 6.58 2 11 2S19 3.79 19 6V9.68C21.36 10.81 23 13.21 23 16M17 9.08V8.64C16.77 8.77 16.5 8.9 16.24 9C16.5 9 16.75 9.04 17 9.08M5 6C5 6.5 7.13 8 11 8S17 6.5 17 6 14.87 4 11 4 5 5.5 5 6M5 11.45C6.07 12.23 7.8 12.76 9.72 12.93C10.33 11.67 11.32 10.62 12.54 9.92C12.04 9.97 11.53 10 11 10C8.61 10 6.47 9.47 5 8.64V11.45M9.26 17.87C9.1 17.27 9 16.65 9 16C9 15.61 9.04 15.23 9.1 14.86C7.56 14.69 6.15 14.33 5 13.77V16C5 16.42 6.5 17.5 9.26 17.87M21 16C21 13.24 18.76 11 16 11S11 13.24 11 16 13.24 21 16 21 21 18.76 21 16Z",b5="M12 16C12.41 16 12.81 15.97 13.21 15.94C13.4 15.18 13.72 14.46 14.16 13.83C13.47 13.94 12.74 14 12 14C9.58 14 7.3 13.4 6 12.45V9.64C7.47 10.47 9.61 11 12 11S16.53 10.47 18 9.64V11.19C18.5 11.07 19 11 19.55 11C19.7 11 19.85 11 20 11.03V7C20 4.79 16.42 3 12 3S4 4.79 4 7V17C4 19.21 7.59 21 12 21C12.66 21 13.31 20.96 13.92 20.88C13.57 20.29 13.31 19.64 13.16 18.94C12.79 19 12.41 19 12 19C8.13 19 6 17.5 6 17V14.77C7.61 15.55 9.72 16 12 16M12 5C15.87 5 18 6.5 18 7S15.87 9 12 9 6 7.5 6 7 8.13 5 12 5M23 17.5C23 18.32 22.75 19.08 22.33 19.71L21.24 18.62C21.41 18.28 21.5 17.9 21.5 17.5C21.5 16.12 20.38 15 19 15V16.5L16.75 14.25L19 12V13.5C21.21 13.5 23 15.29 23 17.5M19 18.5L21.25 20.75L19 23V21.5C16.79 21.5 15 19.71 15 17.5C15 16.68 15.25 15.92 15.67 15.29L16.76 16.38C16.59 16.72 16.5 17.1 16.5 17.5C16.5 18.88 17.62 20 19 20V18.5Z",S5="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",C5="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",A5="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z",L5="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z",E5="M12 1A2.5 2.5 0 0 0 9.5 3.5A2.5 2.5 0 0 0 11 5.79V7H7A2 2 0 0 0 5 9V9.71A2.5 2.5 0 0 0 3.5 12A2.5 2.5 0 0 0 5 14.29V15H4A2 2 0 0 0 2 17V18.21A2.5 2.5 0 0 0 .5 20.5A2.5 2.5 0 0 0 3 23A2.5 2.5 0 0 0 5.5 20.5A2.5 2.5 0 0 0 4 18.21V17H8V18.21A2.5 2.5 0 0 0 6.5 20.5A2.5 2.5 0 0 0 9 23A2.5 2.5 0 0 0 11.5 20.5A2.5 2.5 0 0 0 10 18.21V17A2 2 0 0 0 8 15H7V14.29A2.5 2.5 0 0 0 8.5 12A2.5 2.5 0 0 0 7 9.71V9H17V9.71A2.5 2.5 0 0 0 15.5 12A2.5 2.5 0 0 0 17 14.29V15H16A2 2 0 0 0 14 17V18.21A2.5 2.5 0 0 0 12.5 20.5A2.5 2.5 0 0 0 15 23A2.5 2.5 0 0 0 17.5 20.5A2.5 2.5 0 0 0 16 18.21V17H20V18.21A2.5 2.5 0 0 0 18.5 20.5A2.5 2.5 0 0 0 21 23A2.5 2.5 0 0 0 23.5 20.5A2.5 2.5 0 0 0 22 18.21V17A2 2 0 0 0 20 15H19V14.29A2.5 2.5 0 0 0 20.5 12A2.5 2.5 0 0 0 19 9.71V9A2 2 0 0 0 17 7H13V5.79A2.5 2.5 0 0 0 14.5 3.5A2.5 2.5 0 0 0 12 1M12 2.5A1 1 0 0 1 13 3.5A1 1 0 0 1 12 4.5A1 1 0 0 1 11 3.5A1 1 0 0 1 12 2.5M6 11A1 1 0 0 1 7 12A1 1 0 0 1 6 13A1 1 0 0 1 5 12A1 1 0 0 1 6 11M18 11A1 1 0 0 1 19 12A1 1 0 0 1 18 13A1 1 0 0 1 17 12A1 1 0 0 1 18 11M3 19.5A1 1 0 0 1 4 20.5A1 1 0 0 1 3 21.5A1 1 0 0 1 2 20.5A1 1 0 0 1 3 19.5M9 19.5A1 1 0 0 1 10 20.5A1 1 0 0 1 9 21.5A1 1 0 0 1 8 20.5A1 1 0 0 1 9 19.5M15 19.5A1 1 0 0 1 16 20.5A1 1 0 0 1 15 21.5A1 1 0 0 1 14 20.5A1 1 0 0 1 15 19.5M21 19.5A1 1 0 0 1 22 20.5A1 1 0 0 1 21 21.5A1 1 0 0 1 20 20.5A1 1 0 0 1 21 19.5Z",w5="M22,2C22,2 14.36,1.63 8.34,9.88C3.72,16.21 2,22 2,22L3.94,21C5.38,18.5 6.13,17.47 7.54,16C10.07,16.74 12.71,16.65 15,14C13,13.44 11.4,13.57 9.04,13.81C11.69,12 13.5,11.6 16,12L17,10C15.2,9.66 14,9.63 12.22,10.04C14.19,8.65 15.56,7.87 18,8L19.21,6.07C17.65,5.96 16.71,6.13 14.92,6.57C16.53,5.11 18,4.45 20.14,4.32C20.14,4.32 21.19,2.43 22,2Z",T5="M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M6,20H15L18,20V12L14,16L12,14L6,20M8,9A2,2 0 0,0 6,11A2,2 0 0,0 8,13A2,2 0 0,0 10,11A2,2 0 0,0 8,9Z",x5="M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z",R5="M3.47 5C3.25 5 3.04 5.08 2.87 5.21C2.43 5.55 2.35 6.18 2.69 6.61L2.69 6.62L7 12.14V18.05L10.64 21.71C11 22.1 11.66 22.1 12.05 21.71L12.05 21.71C12.44 21.32 12.44 20.69 12.06 20.3L9 17.22V11.45L4.27 5.39C4.08 5.14 3.78 5 3.47 5M21.62 3.22C21.43 3.08 21.22 3 21 3H7C6.78 3 6.57 3.08 6.38 3.22C5.95 3.56 5.87 4.19 6.21 4.62L11 10.75V15.87C10.96 16.16 11.06 16.47 11.29 16.7L15.3 20.71C15.69 21.1 16.32 21.1 16.71 20.71C16.94 20.5 17.04 20.18 17 19.88V10.75L21.79 4.62C22.13 4.19 22.05 3.56 21.62 3.22M15 10.05V17.58L13 15.58V10.06L9.04 5H18.96L15 10.05Z",O5="M15,19.88C15.04,20.18 14.94,20.5 14.71,20.71C14.32,21.1 13.69,21.1 13.3,20.71L9.29,16.7C9.06,16.47 8.96,16.16 9,15.87V10.75L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L15,10.75V19.88M7.04,5L11,10.06V15.58L13,17.58V10.05L16.96,5H7.04Z",P5="M20,18H4V8H20M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z",M5="M8,11H11V21H13V11H16L12,7L8,11M4,3V5H20V3H4Z",I5="M4,5A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5H4M4,7H20V17H4V7M5,8V10H7V8H5M8,8V10H10V8H8M11,8V10H13V8H11M14,8V10H16V8H14M17,8V10H19V8H17M5,11V13H7V11H5M8,11V13H10V11H8M11,11V13H13V11H11M14,11V13H16V11H14M17,11V13H19V11H17M8,14V16H16V14H8Z",H5="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z",D5="M19.79,15.41C20.74,13.24 20.74,10.75 19.79,8.59L17.05,9.83C17.65,11.21 17.65,12.78 17.06,14.17L19.79,15.41M15.42,4.21C13.25,3.26 10.76,3.26 8.59,4.21L9.83,6.94C11.22,6.35 12.79,6.35 14.18,6.95L15.42,4.21M4.21,8.58C3.26,10.76 3.26,13.24 4.21,15.42L6.95,14.17C6.35,12.79 6.35,11.21 6.95,9.82L4.21,8.58M8.59,19.79C10.76,20.74 13.25,20.74 15.42,19.78L14.18,17.05C12.8,17.65 11.22,17.65 9.84,17.06L8.59,19.79M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z",V5="M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",F5="M12.63,2C18.16,2 22.64,6.5 22.64,12C22.64,17.5 18.16,22 12.63,22C9.12,22 6.05,20.18 4.26,17.43L5.84,16.18C7.25,18.47 9.76,20 12.64,20A8,8 0 0,0 20.64,12A8,8 0 0,0 12.64,4C8.56,4 5.2,7.06 4.71,11H7.47L3.73,14.73L0,11H2.69C3.19,5.95 7.45,2 12.63,2M15.59,10.24C16.09,10.25 16.5,10.65 16.5,11.16V15.77C16.5,16.27 16.09,16.69 15.58,16.69H10.05C9.54,16.69 9.13,16.27 9.13,15.77V11.16C9.13,10.65 9.54,10.25 10.04,10.24V9.23C10.04,7.7 11.29,6.46 12.81,6.46C14.34,6.46 15.59,7.7 15.59,9.23V10.24M12.81,7.86C12.06,7.86 11.44,8.47 11.44,9.23V10.24H14.19V9.23C14.19,8.47 13.57,7.86 12.81,7.86Z",k5="M11 7L9.6 8.4L12.2 11H2V13H12.2L9.6 15.6L11 17L16 12L11 7M20 19H12V21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3H12V5H20V19Z",N5="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",j5="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",$5="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",B5="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",U5="M14,7L9,12L14,17V7Z",G5="M10,17L15,12L10,7V17Z",W5="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",K5="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",z5="M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z",Z5="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",Y5="M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z",J5="M12 1L21 5V11C21 16.55 17.16 21.74 12 23C6.84 21.74 3 16.55 3 11V5L12 1M12 3.18L5 6.3V11.22C5 15.54 8.25 20 12 21C15.75 20 19 15.54 19 11.22V6.3L12 3.18M16 14V15.5L16 15.59C15.96 15.81 15.78 15.96 15.53 16L15.43 16H8.57L8.47 16C8.22 15.96 8.04 15.81 8 15.59L8 15.5V14H16M17 8L16 13H8L7 8L7 8L9.67 10.67L12 8.34L14.33 10.67L17 8L17 8Z",X5="M3,13H15V11H3M3,6V8H21V6M3,18H9V16H3V18Z",Q5="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M12.75,13.5C15.5,13.5 16.24,11.47 16.43,10.4C17.34,10.11 18,9.26 18,8.25C18,7 17,6 15.75,6C14.5,6 13.5,7 13.5,8.25C13.5,9.19 14.07,10 14.89,10.33C14.67,11 14,12 12,12C10.62,12 9.66,12.35 9,12.84V8.87C9.87,8.56 10.5,7.73 10.5,6.75C10.5,5.5 9.5,4.5 8.25,4.5C7,4.5 6,5.5 6,6.75C6,7.73 6.63,8.56 7.5,8.87V15.13C6.63,15.44 6,16.27 6,17.25C6,18.5 7,19.5 8.25,19.5C9.5,19.5 10.5,18.5 10.5,17.25C10.5,16.32 9.94,15.5 9.13,15.18C9.41,14.5 10.23,13.5 12.75,13.5M8.25,16.5A0.75,0.75 0 0,1 9,17.25A0.75,0.75 0 0,1 8.25,18A0.75,0.75 0 0,1 7.5,17.25A0.75,0.75 0 0,1 8.25,16.5M8.25,6A0.75,0.75 0 0,1 9,6.75A0.75,0.75 0 0,1 8.25,7.5A0.75,0.75 0 0,1 7.5,6.75A0.75,0.75 0 0,1 8.25,6M15.75,7.5A0.75,0.75 0 0,1 16.5,8.25A0.75,0.75 0 0,1 15.75,9A0.75,0.75 0 0,1 15,8.25A0.75,0.75 0 0,1 15.75,7.5Z",_5="M21.41 11.58L12.41 2.58A2 2 0 0 0 11 2H4A2 2 0 0 0 2 4V11A2 2 0 0 0 2.59 12.42L11.59 21.42A2 2 0 0 0 13 22A2 2 0 0 0 14.41 21.41L21.41 14.41A2 2 0 0 0 22 13A2 2 0 0 0 21.41 11.58M13 20L4 11V4H11L20 13M6.5 5A1.5 1.5 0 1 1 5 6.5A1.5 1.5 0 0 1 6.5 5Z",q5="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z";const I2=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),H2=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),D2=new RegExp("(\\d)(\\p{Ll})","gu"),V2=new RegExp("(\\p{L})(\\d)","gu"),F2=/[^\p{L}\d]+/giu,Mr="$1\0$2",k2="";function Of(e,t){let n=e.trim();n=n.replace(I2,Mr).replace(H2,Mr),t!=null&&t.separateNumbers&&(n=n.replace(D2,Mr).replace(V2,Mr)),n=n.replace(F2,"\0");let r=0,s=n.length;for(;n.charAt(r)==="\0";)r++;if(r===s)return[];for(;n.charAt(s-1)==="\0";)s--;return n.slice(r,s).split(/\0/g)}function N2(e,t){return Mf(e,t==null?void 0:t.prefixCharacters)+Of(e,t).map(Pf(t==null?void 0:t.locale)).join((t==null?void 0:t.delimiter)??" ")}function j2(e,t){const n=Mf(e,t==null?void 0:t.prefixCharacters),r=Pf(t==null?void 0:t.locale),s=B2(t==null?void 0:t.locale);return n+Of(e,t).map(U2(r,s)).join((t==null?void 0:t.delimiter)??" ")}function $2(e,t){return N2(e,{delimiter:"_",...t})}function Pf(e){return e===!1?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e)}function B2(e){return e===!1?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e)}function U2(e,t){return n=>`${t(n[0])}${e(n.slice(1))}`}function Mf(e,t=k2){let n="";for(let r=0;r<e.length;r++){const s=e.charAt(r);if(t.includes(s))n+=s;else break}return n}const G2=j2,W2=$2,Lr=e=>`c/${e}`,K2=(e,t,n)=>{const r=ft(t,n),s=Lr(e);return Ee.get(s,{params:r})},z2=()=>{const e=ft({});return Ee.get("c/settings",{params:e})},Z2=e=>Ee.patch("c/settings",e),Y2=e=>window.CODEX.API_V3_PATH+Lr(e),dc=({pk:e,page:t,mtime:n})=>`${Y2(e)}/${t}/page.jpg?ts=${n}`,eS=({pk:e},t,n)=>{const r=Lr(e);return t?t=encodeURIComponent(t):t=`comic-${e}.cbz`,`${r}/download/${t}?ts=${n}`},tS=({pk:e,page:t,mtime:n})=>`${Lr(e)}/${t}/page.jpg?ts=${n}`,J2=({pk:e,mtime:t})=>`/${Lr(e)}/book.pdf?ts=${t}`,ro={getReaderInfo:K2,getReaderSettings:z2,getPDFInBrowserURL:J2,updateReaderSettings:Z2},X2=[{value:"H",title:"Fit to Height"},{value:"O",title:"Original Size"},{value:"S",title:"Fit to Screen",default:!0},{value:"W",title:"Fit to Width"}],Q2=[{value:"btt",title:"Bottom to Top"},{value:"ltr",title:"Left to Right",default:!0},{value:"rtl",title:"Right to Left"},{value:"ttb",title:"Top to Bottom"}],Bn={fitTo:X2,readingDirection:Q2},_2=function(e){let t;return e?t=e.length===4&&!Number.isNaN(e)?"("+e+")":"v"+e:t="",t},q2=function({issueNumber:e,issueSuffix:t},n){let r;try{e==null&&!t&&(e=0);const s=Number.parseFloat(e),o=Math.floor(s);n===void 0&&(n=0),s===o?r=o.toString():(r=s.toString(),n+=r.split(".")[1].length+1),r=r.padStart(n,"0")}catch{r=""}return t&&(r+=t),r},ev=function({issueNumber:e,issueSuffix:t,issueCount:n},r){let s="#"+q2({issueNumber:e,issueSuffix:t},r);return n&&(s+=` of ${n}`),s},tv=function({seriesName:e,volumeName:t,issueNumber:n,issueSuffix:r,issueCount:s},o){const i=_2(t),a=ev({issueNumber:n,issueSuffix:r,issueCount:s},o);return[e,i,a].filter(Boolean).join(" ")},If={fitTo:"",twoPages:null,readingDirection:"",readRtlInReverse:null};Object.freeze(If);const Hf={cacheBook:!1};Object.freeze(Hf);const Wr=new Set(["",null,void 0]);Object.freeze(Wr);const Df={prev:"next",next:"prev"};Object.freeze(Df);const Fo={rel:"prefetch",as:"image"};Object.freeze(Fo);const Ri=new Set(["ttb","btt"]);Object.freeze(Ri);const Vf=new Set(["rtl","btt"]);Object.freeze(Vf);const hc=1,Ff={S:"Screen",W:"Width",H:"Height",O:"Original"};Object.freeze(Ff);const Oi=["breadcrumbs","show","topGroup","filters"];Object.freeze(Oi);const kf=Oi.map(e=>W2(e));Object.freeze(kf);const Nf=[...Oi,"browserArc"];Object.freeze(Nf);const ko={current:void 0,prev:!1,next:!1};Object.freeze(ko);const No={prev:!1,next:!1,books:{prev:!1,next:!1},close:Ge.breadcrumbs[0]};Object.freeze(No);const nv=()=>Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>600?"S":"W",pc=e=>{Ri.has(e.readingDirection)&&e.twoPages&&(e.twoPages=!1)},rv=Sr("reader",{state:()=>({choices:{fitTo:Bn.fitTo,readingDirection:Bn.readingDirection,nullValues:Wr},readerSettings:{fitTo:nv(),twoPages:Bn.twoPages,readingDirection:"ltr",readRtlInReverse:Bn.readRtlInReverse,finishOnLastPage:Bn.finishOnLastPage},browserSettings:{breadcrumbs:Ge.breadcrumbs,show:Ge.show,topGroup:"p"},books:it(ko),arcs:[],arc:{},mtime:0,empty:!1,page:void 0,routes:it(No),bookChange:void 0,reactWithScroll:!1,clientSettings:{cacheBook:!1,scale:hc},showToolbars:!1,settingsLoaded:!1,bookSettings:{}}),getters:{groupBooks(e){const t=[];return e.books.prev[0]&&t.push[e.books.prev[0]],t.push[e.books.current],e.books.next[0]&&t.push[e.books.next[0]],t},activeSettings(e){return e.getBookSettings(e.books.current)||{}},activeTitle(e){var r;const t=e.books.current;let n;return t?(((r=e.arcs[0])==null?void 0:r.group)!="f"&&(n=tv(t)),n||(n=t.filename||"")):n="",n},isVertical(e){return e.activeSettings.isVertical},isReadInReverse(e){return e.activeSettings.isReadInReverse},routeParams(e){return{pk:+e.books.current.pk,page:+e.page}},isPDF(e){var t,n;return((n=(t=e.books)==null?void 0:t.current)==null?void 0:n.fileType)=="PDF"},cacheBook(e){return e.clientSettings.cacheBook&&!(this.isPDF&&this.activeSettings.isVertical)},isPagesNotRoutes(e){return e.activeSettings.isVertical||this.cacheBook},isBTT(e){return e.activeSettings.readingDirection==="btt"},isFirstPage(e){return e.page===0},isLastPage(e){const t=e.books.current?e.books.current.maxPage:0,n=e.activeSettings.twoPages?1:0,r=t-n;return this.page>=r},closeBookRoute(e){var r,s;const t={name:"browser"};let n=e.routes.close;if(n){const o=(s=(r=e.books)==null?void 0:r.current)==null?void 0:s.pk;o&&(t.hash=`#card-${o}`)}else n=window.CODEX.LAST_ROUTE||Ge.breadcrumbs[0];return t.params=n,t},browserArcFilters(e){const t={};for(const[n,r]of Object.entries(e.browserSettings.filters))n!=="bookmark"&&r&&r.length>0&&(t[n]=r);return t},browserArc(e){var n;const t=(n=e.routes)==null?void 0:n.close;if(t&&t.pks&&t.pks!=="0")return{group:t.group,pks:t.pks,name:t.name,mtime:t.mtime,filters:e.browserArcFilters}},readerInfoSettings(e){const t={};for(const n of Nf){const r=e.browserSettings[n];r&&(t[n]=r)}return e.arc&&Object.keys(e.arc).length?t.arc={group:e.arc.group,pks:e.arc.pks}:e.browserArc&&(t.arc=e.browserArc),t}},actions:{setReadRTLInReverse(e){return this.readerSettings.readRtlInReverse&&e.readingDirection==="rtl"?{...e,readingDirection:"ltr"}:e},getBookSettings(e){if(!e)return{};if(!(e.pk in this.bookSettings)){const t=it(Wr);let n=e?e.settings:{};n=this.setReadRTLInReverse(n);const r=[this.readerSettings,n];for(const s of r)for(const[o,i]of Object.entries(s))Wr.has(i)||(t[o]=i);pc(t),t.isVertical=Ri.has(t.readingDirection),t.isReadInReverse=Vf.has(t.readingDirection),t.fitToClass=this.fitToClass(t),this.bookSettings[e.pk]=t}return this.bookSettings[e.pk]},bookChangeLocation(e){let t;return this.isBTT?t=e==="next"?"left":"right":t=e==="next"?"right":"left",t},bookChangeCursorClass(e){let t;return this.activeSettings.isReadInReverse?t=e==="next"?"up":"down":t=e==="next"?"down":"up",t+"Cursor"},bookChangeShow(e){return e==="prev"?this.books.prev&&this.isFirstPage:this.books.next&&this.isLastPage},bookChangeIcon(e){let t=e==="next";return this.isBTT&&(t=!t),t?P2:M2},isCoverPage(e,t){return e.readLtr!==!1&&t===0||e.readLtr&&t===e.maxPage},_getRouteParams(e,t,n){const r=n==="prev"?-1:1;let s=1;this.getBookSettings(e).twoPages&&!this.isCoverPage(e,+t+r)&&(s=2),s=s*r;const i=+t+s;let a=!1;return i>=0&&i<=e.maxPage&&(a={pk:e.pk,page:i}),a},fitToClass(e){const t={};let n;if(this.clientSettings.scale>hc?n="Orig":n=Ff[e.fitTo],n){let r="fitTo";r+=G2(n),e.isVertical?r+="Vertical":e.twoPages&&(r+="Two"),t[r]=!0}return t},_updateSettings(e,t){this.$patch(n=>{t?(n.books.current.settings={...n.books.current.settings,...e},pc(n.books.current.settings)):n.readerSettings={...n.readerSettings,...e},n.bookSettings={}})},toggleToolbars(){this.showToolbars=!this.showToolbars},reset(){this.$patch(e=>{e.arc=void 0,e.arcs=[],e.mtime=0,e.settingsLoaded=!1,e.books=it(ko),e.routes=it(No),e.bookSettings={}})},_getBookRoutePage(e,t){let n=0;if(t&&e.readLtr!==!1||!t&&e.readLtr===!1){const s=this.getBookSettings(e).twoPages?-1:0;n=e.maxPage+s}return n},_getBookRoute(e,t){if(!e)return!1;const n=this._getBookRoutePage(e,t);return{pk:e.pk,page:n}},_getBookRoutes(e,t){return{prev:this._getBookRoute(e,!0),next:this._getBookRoute(t,!1)}},async setRoutesAndBookmarkPage(e){const t=this.books.current;this.$patch(n=>{n.routes.prev=this._getRouteParams(t,e,"prev"),n.routes.next=this._getRouteParams(t,e,"next")}),await this._setBookmarkPage(e).then(()=>(this.bookChange=void 0,!0))},setActivePage(e,t=!0){if(e<0)return console.warn("Page out of bounds. Redirecting to 0."),this.routeToPage(0);if(e>this.books.current.maxPage)return console.warn(`Page out of bounds. Redirecting to ${this.books.current.maxPage}.`),this.routeToPage(this.books.current.maxPage);if(this.reactWithScroll=!!t,this.page=+e,this.setRoutesAndBookmarkPage(e),this.isPagesNotRoutes){const n={params:{pk:this.books.current.pk,page:e}},{href:r}=re.resolve(n);window.history.pushState({},void 0,r)}else window.scrollTo(0,0)},async loadBrowserSettings(){return gt.getSettings({only:kf,breadcrumbNames:!1}).then(e=>(this.$patch(t=>{t.browserSettings=e.data,!t.routes.close&&t.browserSettings.breadcrumbs&&(t.routes.close=t.browserSettings.breadcrumbs.at(-1))}),this.settingsLoaded?!0:(this.settingsLoaded=!0,this.loadBooks({})))).catch(console.error)},async loadReaderSettings(){ro.getReaderSettings().then(e=>{const t=e.data;return this._updateSettings(t,!1),this.empty=!1,this.loadBrowserSettings()}).catch(console.error)},async loadBooks({params:e,arc:t,mtime:n}){var i;this.settingsLoaded||this.loadReaderSettings();const r=re.currentRoute.value;e||(e=r.params);const s=e.pk,o=this.readerInfoSettings;t&&(o.arc=t),n||(n=(i=r.query)==null?void 0:i.ts,n||(n=this.mtime)),await ro.getReaderInfo(s,o,n).then(a=>{const c=a.data,u=c.books,l=[u==null?void 0:u.prevBook,u==null?void 0:u.current,u==null?void 0:u.nextBook];for(const d of l)d&&!d.settings&&(d.settings={});const f=this._getBookRoutes(u.prevBook,u.nextBook);return this.$patch(d=>{d.books.current=u.current,d.books.prev=u.prevBook,d.books.next=u.nextBook,d.arcs=c.arcs,d.arc=c.arc,d.routes.prev=this._getRouteParams(d.books.current,e.page,"prev"),d.routes.next=this._getRouteParams(d.books.current,e.page,"next"),d.routes.books=f,d.routes.close=c.closeRoute,d.empty=!1,d.mtime=c.mtime,d.bookSettings={}}),!0}).catch(a=>{console.debug(a),this.empty=!0})},async loadMtimes(){return await as.getMtime(this.arcs,{}).then(e=>{const t=e.data.maxMtime;return t!==this.mtime?this.loadBooks({mtime:t}):!0}).catch(console.error)},async _setBookmarkPage(e){const t={group:"c",ids:[+this.books.current.pk]};e=Math.max(Math.min(this.books.current.maxPage,e),0);const n={page:e};this.readerSettings.finishOnLastPage&&e>=this.books.current.maxPage&&(n.finished=!0),await gt.updateGroupBookmarks(t,{},n)},async setSettingsLocal(e){this._updateSettings(e,!0);const t={group:"c",ids:[+this.books.current.pk]};await gt.updateGroupBookmarks(t,{},this.books.current.settings)},setSettingsClient(e){this.clientSettings={...this.clientSettings,...e}},async clearSettingsLocal(){await this.setSettingsLocal(If),this.setSettingsClient(Hf)},async setSettingsGlobal(e){this._updateSettings(e,!1),await ro.updateReaderSettings(this.readerSettings),await this.clearSettingsLocal()},setBookChangeFlag(e){e=this.normalizeDirection(e),this.bookChange=this.routes.books[e]?e:void 0},linkLabel(e,t){return`${e==="prev"?"Previous":"Next"} ${t}`},normalizeDirection(e){return this.activeSettings.isReadInReverse?Df[e]:e},_validateRoute(e,t){if(t||(t=this.books.current),!t)return{};const n=t.maxPage??0;return e.page>n?(e.page=n,console.warn("Tried to navigate past the end of the book.")):e.page<0&&(e.page=0,console.warn("Tried to navigate before the beginning of the book.")),e},_routeTo(e,t){if(e=this._validateRoute(e,t),this.isPagesNotRoutes&&+e.pk===this.books.current.pk)this.setActivePage(+e.page,!0);else{const n={name:"reader",params:e};re.push(n).catch(console.debug)}},routeToDirectionOne(e){e=this.normalizeDirection(e);const t=e==="prev"?-1:1,n=this.page+=t;if(n<0||n>this.books.current.maxPage)return;const r={pk:this.books.current.pk,page:n};this._routeTo(r)},routeToDirection(e){if(e=this.normalizeDirection(e),this.routes[e]){const t=this.routes[e];this._routeTo(t)}else this.routes.books[e]?this.bookChange===e?this._routeTo(this.routes.books[e],this.books[e]):this.setBookChangeFlag(e):console.debug("No route to direction",e)},routeToPage(e){const t={pk:this.books.current.pk,page:e};this._routeTo(t)},routeToBook(e){this._routeTo(this.routes.books[e],this.books[e])},toRoute(e){return e?{params:e}:{}},_prefetchSrc(e,t,n=!1,r=!1){if(!e)return!1;const s=n?this.books[t]:this.books.current;if(!s)return!1;let o=e.page;if(r){if(!this.getBookSettings(s).twoPages)return!1;o+=1}if(o>s.maxPage)return!1;const i={pk:e.pk,page:o,mtime:s.mtime};return dc(i)},prefetchLinks(e,t,n=!1){if(!n&&this.cacheBook)return{};const r=[this._prefetchSrc(e,t,n,!1),this._prefetchSrc(e,t,n,!0)],s=[];for(const o of r)o&&s.push({...Fo,href:o});return{link:s}},prefetchBook(e){if(!this.cacheBook||e.fileType=="PDF")return{};const t=e.pk,n=[];for(let r=0;r<=e.maxPage;r++){const s={pk:t,page:r,mtime:e.mtime},o=dc(s);o&&n.push({...Fo,href:o})}return{link:n}}}}),jf=Dp();function sv(e){e.use(jf)}const jo=["admin-groups","admin-users","admin-libraries"];Object.freeze(jo);const $f=Sr("socket",{state:()=>({isConnected:!1,reconnectError:!1,app:void 0,heartBeatInterval:5*1e3,heartBeatTimer:0}),getters:{adminStore(){let e;return ar().isUserAdmin&&dt(()=>import("./admin-BtjKFdWH.js"),[]).then(t=>t.useAdminStore()).catch(console.error),e}},actions:{SOCKET_ONOPEN(e){this.app.config.globalProperties.$socket=e.currentTarget,this.$patch(t=>{t.isConnected=!0,t.reconnectError=!1}),this.heartBeatTimer=window.setInterval(()=>{try{this.isConnected&&this.app.config.globalProperties.$socket.send("")}catch(t){console.warn("keep-alive",t)}},this.heartBeatInterval)},SOCKET_ONCLOSE(){this.isConnected=!1,window.clearInterval(this.heartBeatTimer),this.heartBeatTimer=0},SOCKET_ONERROR(e){console.error("socket error",e),this.$patch(t=>{t.isConnected=!1,t.reconnectError=!0})},SOCKET_ONMESSAGE(e){const t=e.data;switch(console.debug(t),t){case Dt.ADMIN_FLAGS:this.adminFlagsNotified();break;case Dt.BOOKMARK:this.bookmarksNotified();break;case Dt.COVERS:this.coversNotified();break;case Dt.GROUPS:this.groupsNotified();break;case Dt.USERS:this.usersNotified();break;case Dt.LIBRARY:this.libraryNotified();break;case Dt.LIBRARIAN_STATUS:this.adminLoadTables(["LibrarianStatus"]);break;case Dt.FAILED_IMPORTS:this.failedImportsNotified();break;default:console.debug("Unhandled websocket message:",t)}},SOCKET_RECONNECT(e){console.debug("socket reconnect",e)},SOCKET_RECONNECT_ERROR(){console.error("socket reconnect error"),this.reconnectError=!0},adminLoadTables(e){this.adminStore&&this.adminStore.loadTables(e)},adminFlagsNotified(){var t,n;ar().loadAdminFlags(),((n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value)==null?void 0:n.name)==="admin-flags"&&this.adminLoadTables(["Flag"])},reloadBrowser(){var t,n;((n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value)==null?void 0:n.name)==="browser"&&fc().loadMtimes()},bookmarksNotified(){this.reloadBrowser()},coversNotified(){this.reloadBrowser()},groupsNotified(){var t,n;const e=(n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value)==null?void 0:n.name;jo.includes(e)&&this.adminLoadTables(["Group"])},usersNotified(){var t,n;const e=(n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value)==null?void 0:n.name;jo.includes(e)&&this.adminLoadTables(["User"])},libraryNotified(){var t,n;switch(_n().setTimestamp(),(n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value)==null?void 0:n.name){case"browser":fc().loadMtimes();break;case"reader":rv().loadMtimes();break;case"admin-groups":this.adminLoadTables(["Library"]);break;case"admin-libraries":this.adminLoadTables(["Library","FailedImport"]);break;case"admin-stats":this.adminStore&&this.adminStore.loadStats();break}},failedImportsNotified(){this.adminStore&&(this.adminStore.unseenFailedImports=!0)}}});function ov(){return $f(jf)}const iv=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function Xt(e,t){return n=>Object.keys(e).reduce((r,s)=>{const i=typeof e[s]=="object"&&e[s]!=null&&!Array.isArray(e[s])?e[s]:{type:e[s]};return n&&s in n?r[s]={...i,default:n[s]}:r[s]=i,t&&!r[s].source&&(r[s].source=t),r},{})}const av=Xt({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component"),Ke=typeof window<"u",nS=Ke&&"IntersectionObserver"in window,cv=Ke&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function mc(e,t,n){lv(e,t),t.set(e,n)}function lv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function uv(e,t,n){return e.set(Bf(e,t),n),n}function nn(e,t){return e.get(Bf(e,t))}function Bf(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function Uf(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let s=0;s<r;s++){if(e==null)return n;e=e[t[s]]}return e==null||e[t[r]]===void 0?n:e[t[r]]}function fv(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const n=Object.keys(e);return n.length!==Object.keys(t).length?!1:n.every(r=>fv(e[r],t[r]))}function $o(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),Uf(e,t.split("."),n))}function rS(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const s=t(e,n);return typeof s>"u"?n:s}if(typeof t=="string")return $o(e,t,n);if(Array.isArray(t))return Uf(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function Gf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function Ir(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function sS(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function gc(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function Wf(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const oS=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),iS=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function aS(e){return Object.keys(e)}function so(e,t){return t.every(n=>e.hasOwnProperty(n))}function dv(e,t){const n={},r=new Set(Object.keys(e));for(const s of t)r.has(s)&&(n[s]=e[s]);return n}function vc(e,t,n){const r=Object.create(null),s=Object.create(null);for(const o in e)t.some(i=>i instanceof RegExp?i.test(o):i===o)&&!(n!=null&&n.some(i=>i===o))?r[o]=e[o]:s[o]=e[o];return[r,s]}function hv(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}function cS(e,t){const n={};return t.forEach(r=>n[r]=e[r]),n}const Kf=/^on[^a-z]/,lS=e=>Kf.test(e),pv=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],mv=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function uS(e){return e.isComposing&&mv.includes(e.key)}function fS(e){const[t,n]=vc(e,[Kf]),r=hv(t,pv),[s,o]=vc(n,["class","style","id",/^data-/]);return Object.assign(s,t),Object.assign(o,r),[s,o]}function dS(e){return e==null?[]:Array.isArray(e)?e:[e]}function hS(e,t){let n=0;const r=function(){for(var s=arguments.length,o=new Array(s),i=0;i<s;i++)o[i]=arguments[i];clearTimeout(n),n=setTimeout(()=>e(...o),$e(t))};return r.clear=()=>{clearTimeout(n)},r.immediate=e,r}function zf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function pS(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}function yc(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function bc(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function gv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r<e.length;)n.push(e.substr(r,t)),r+=t;return n}function Fe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const s in e)r[s]=e[s];for(const s in t){const o=e[s],i=t[s];if(gc(o)&&gc(i)){r[s]=Fe(o,i,n);continue}if(n&&Array.isArray(o)&&Array.isArray(i)){r[s]=n(o,i);continue}r[s]=i}return r}function vv(e){return e.map(t=>t.type===De?vv(t.children):t).flat()}function dn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(dn.cache.has(e))return dn.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return dn.cache.set(e,t),t}dn.cache=new Map;function Wn(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Wn(e,n)).flat(1);if(t.suspense)return Wn(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>Wn(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Wn(e,t.component.subTree).flat(1)}return[]}var Hr=new WeakMap,yn=new WeakMap;class mS{constructor(t){mc(this,Hr,[]),mc(this,yn,0),this.size=t}push(t){nn(Hr,this)[nn(yn,this)]=t,uv(yn,this,(nn(yn,this)+1)%this.size)}values(){return nn(Hr,this).slice(nn(yn,this)).concat(nn(Hr,this).slice(0,nn(yn,this)))}}function gS(e){const t=We({}),n=_(e);return vr(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),ii(t)}function vS(e,t){return e.includes(t)}function yS(e){return e[2].toLowerCase()+e.slice(3)}const bS=()=>[Function,Array];function SS(e,t){return t="on"+fr(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function CS(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(Array.isArray(e))for(const s of e)s(...n);else typeof e=="function"&&e(...n)}function yv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(r=>`${r}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function bv(e,t,n){let r,s=e.indexOf(document.activeElement);const o=t==="next"?1:-1;do s+=o,r=e[s];while((!r||r.offsetParent==null||!((n==null?void 0:n(r))??!0))&&s<e.length&&s>=0);return r}function Sv(e,t){var r,s,o,i;const n=yv(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((r=n[0])==null||r.focus());else if(t==="first")(s=n[0])==null||s.focus();else if(t==="last")(o=n.at(-1))==null||o.focus();else if(typeof t=="number")(i=n[t])==null||i.focus();else{const a=bv(n,t);a?a.focus():Sv(e,t==="next"?"first":"last")}}function AS(e){return e==null||typeof e=="string"&&e.trim()===""}function LS(){}function ES(e,t){if(!(Ke&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function Cv(e){return e.some(t=>xn(t)?t.type===Ve?!1:t.type!==De||Cv(t.children):!0)?e:null}function wS(e,t){if(!Ke||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function TS(e,t){const n=e.clientX,r=e.clientY,s=t.getBoundingClientRect(),o=s.left,i=s.top,a=s.right,c=s.bottom;return n>=o&&n<=a&&r>=i&&r<=c}function Av(){const e=bt(),t=n=>{e.value=n};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:n=>e.value=n}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>Wf(e.value)}),t}function xS(e){const t=e.key.length===1,n=!e.ctrlKey&&!e.metaKey&&!e.altKey;return t&&n}const bn=2.4,Sc=.2126729,Cc=.7151522,Ac=.072175,Lv=.55,Ev=.58,wv=.57,Tv=.62,Dr=.03,Lc=1.45,xv=5e-4,Rv=1.25,Ov=1.25,Ec=.078,wc=12.82051282051282,Vr=.06,Tc=.001;function xc(e,t){const n=(e.r/255)**bn,r=(e.g/255)**bn,s=(e.b/255)**bn,o=(t.r/255)**bn,i=(t.g/255)**bn,a=(t.b/255)**bn;let c=n*Sc+r*Cc+s*Ac,u=o*Sc+i*Cc+a*Ac;if(c<=Dr&&(c+=(Dr-c)**Lc),u<=Dr&&(u+=(Dr-u)**Lc),Math.abs(u-c)<xv)return 0;let l;if(u>c){const f=(u**Lv-c**Ev)*Rv;l=f<Tc?0:f<Ec?f-f*wc*Vr:f-Vr}else{const f=(u**Tv-c**wv)*Ov;l=f>-Tc?0:f>-Ec?f-f*wc*Vr:f+Vr}return l*100}function RS(e){}function OS(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const cs=.20689655172413793,Pv=e=>e>cs**3?Math.cbrt(e):e/(3*cs**2)+4/29,Mv=e=>e>cs?e**3:3*cs**2*(e-4/29);function Zf(e){const t=Pv,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function Yf(e){const t=Mv,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const Iv=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Hv=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,Dv=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Vv=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Jf(e){const t=Array(3),n=Hv,r=Iv;for(let s=0;s<3;++s)t[s]=Math.round(zf(n(r[s][0]*e[0]+r[s][1]*e[1]+r[s][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Pi(e){let{r:t,g:n,b:r}=e;const s=[0,0,0],o=Vv,i=Dv;t=o(t/255),n=o(n/255),r=o(r/255);for(let a=0;a<3;++a)s[a]=i[a][0]*t+i[a][1]*n+i[a][2]*r;return s}function Fv(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function PS(e){return Fv(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const Rc=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,kv={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>Oc({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>Oc({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>ur({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>ur({h:e,s:t,v:n,a:r})};function Tt(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&Rc.test(e)){const{groups:t}=e.match(Rc),{fn:n,values:r}=t,s=r.split(/,\s*/).map(o=>o.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(o)/100:parseFloat(o));return kv[n](...s)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),jv(t)}else if(typeof e=="object"){if(so(e,["r","g","b"]))return e;if(so(e,["h","s","l"]))return ur(Xf(e));if(so(e,["h","s","v"]))return ur(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name}
31
+ */const An=typeof document<"u";function rf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Fg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&rf(e.default)}const de=Object.assign;function qs(e,t){const n={};for(const r in t){const s=t[r];n[r]=lt(s)?s.map(e):e(s)}return n}const qn=()=>{},lt=Array.isArray,sf=/#/g,kg=/&/g,Ng=/\//g,jg=/=/g,$g=/\?/g,of=/\+/g,Bg=/%5B/g,Ug=/%5D/g,af=/%5E/g,Gg=/%60/g,cf=/%7B/g,Wg=/%7C/g,lf=/%7D/g,Kg=/%20/g;function wi(e){return encodeURI(""+e).replace(Wg,"|").replace(Bg,"[").replace(Ug,"]")}function zg(e){return wi(e).replace(cf,"{").replace(lf,"}").replace(af,"^")}function Ho(e){return wi(e).replace(of,"%2B").replace(Kg,"+").replace(sf,"%23").replace(kg,"%26").replace(Gg,"`").replace(cf,"{").replace(lf,"}").replace(af,"^")}function Zg(e){return Ho(e).replace(jg,"%3D")}function Yg(e){return wi(e).replace(sf,"%23").replace($g,"%3F")}function Jg(e){return e==null?"":Yg(e).replace(Ng,"%2F")}function cr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Xg=/\/$/,Qg=e=>e.replace(Xg,"");function eo(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=t0(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:cr(i)}}function _g(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ka(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qg(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Pn(t.matched[r],n.matched[s])&&uf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Pn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function uf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!e0(e[n],t[n]))return!1;return!0}function e0(e,t){return lt(e)?za(e,t):lt(t)?za(t,e):e===t}function za(e,t){return lt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function t0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Vt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var lr;(function(e){e.pop="pop",e.push="push"})(lr||(lr={}));var er;(function(e){e.back="back",e.forward="forward",e.unknown=""})(er||(er={}));function n0(e){if(!e)if(An){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Qg(e)}const r0=/^[^#]+#/;function s0(e,t){return e.replace(r0,"#")+t}function o0(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ps=()=>({left:window.scrollX,top:window.scrollY});function i0(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=o0(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Za(e,t){return(history.state?history.state.position-t:-1)+e}const Do=new Map;function a0(e,t){Do.set(e,t)}function c0(e){const t=Do.get(e);return Do.delete(e),t}let l0=()=>location.protocol+"//"+location.host;function ff(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),Ka(c,"")}return Ka(n,e)+r+s}function u0(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const h=ff(e,location),p=n.value,m=t.value;let g=0;if(d){if(n.value=h,t.value=d,i&&i===p){i=null;return}g=m?d.position-m.position:0}else r(h);s.forEach(b=>{b(n.value,p,{delta:g,type:lr.pop,direction:g?g>0?er.forward:er.back:er.unknown})})};function c(){i=n.value}function u(d){s.push(d);const h=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return o.push(h),h}function l(){const{history:d}=window;d.state&&d.replaceState(de({},d.state,{scroll:Ps()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function Ya(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Ps():null}}function f0(e){const{history:t,location:n}=window,r={value:ff(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,l){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:l0()+e+c;try{t[l?"replaceState":"pushState"](u,"",d),s.value=u}catch(h){console.error(h),n[l?"replace":"assign"](d)}}function i(c,u){const l=de({},t.state,Ya(s.value.back,c,s.value.forward,!0),u,{position:s.value.position});o(c,l,!0),r.value=c}function a(c,u){const l=de({},s.value,t.state,{forward:c,scroll:Ps()});o(l.current,l,!0);const f=de({},Ya(r.value,c,null),{position:l.position+1},u);o(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:i}}function d0(e){e=n0(e);const t=f0(e),n=u0(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=de({location:"",base:e,go:r,createHref:s0.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function h0(e){return typeof e=="string"||e&&typeof e=="object"}function df(e){return typeof e=="string"||typeof e=="symbol"}const hf=Symbol("");var Ja;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ja||(Ja={}));function Mn(e,t){return de(new Error,{type:e,[hf]:!0},t)}function Ct(e,t){return e instanceof Error&&hf in e&&(t==null||!!(e.type&t))}const Xa="[^/]+?",p0={sensitive:!1,strict:!1,start:!0,end:!0},m0=/[.+*?^${}()[\]/\\]/g;function g0(e,t){const n=de({},p0,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(m0,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:m,optional:g,regexp:b}=d;o.push({name:p,repeatable:m,optional:g});const S=b||Xa;if(S!==Xa){h+=10;try{new RegExp(`(${S})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${p}" (${S}): `+E.message)}}let C=m?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;f||(C=g&&u.length<2?`(?:/${C})`:"/"+C),g&&(C+="?"),s+=C,h+=20,g&&(h+=-8),m&&(h+=-20),S===".*"&&(h+=-50)}l.push(h)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(u){const l=u.match(i),f={};if(!l)return null;for(let d=1;d<l.length;d++){const h=l[d]||"",p=o[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function c(u){let l="",f=!1;for(const d of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const h of d)if(h.type===0)l+=h.value;else if(h.type===1){const{value:p,repeatable:m,optional:g}=h,b=p in u?u[p]:"";if(lt(b)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const S=lt(b)?b.join("/"):b;if(!S)if(g)d.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);l+=S}}return l||"/"}return{re:i,score:r,keys:o,parse:a,stringify:c}}function v0(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function pf(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=v0(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Qa(r))return 1;if(Qa(s))return-1}return s.length-r.length}function Qa(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const y0={type:0,value:""},b0=/[a-zA-Z0-9_]/;function S0(e){if(!e)return[[]];if(e==="/")return[[y0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,c,u="",l="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(u&&f(),i()):c===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:c==="("?n=2:b0.test(c)?d():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+c:n=3:l+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,l="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),s}function C0(e,t,n){const r=g0(S0(e.path),n),s=de(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function A0(e,t){const n=[],r=new Map;t=tc({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function o(f,d,h){const p=!h,m=qa(f);m.aliasOf=h&&h.record;const g=tc(t,f),b=[m];if("alias"in f){const E=typeof f.alias=="string"?[f.alias]:f.alias;for(const R of E)b.push(qa(de({},m,{components:h?h.record.components:m.components,path:R,aliasOf:h?h.record:m})))}let S,C;for(const E of b){const{path:R}=E;if(d&&R[0]!=="/"){const w=d.record.path,O=w[w.length-1]==="/"?"":"/";E.path=d.record.path+(R&&O+R)}if(S=C0(E,d,g),h?h.alias.push(S):(C=C||S,C!==S&&C.alias.push(S),p&&f.name&&!ec(S)&&i(f.name)),mf(S)&&c(S),m.children){const w=m.children;for(let O=0;O<w.length;O++)o(w[O],S,h&&h.children[O])}h=h||S}return C?()=>{i(C)}:qn}function i(f){if(df(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function c(f){const d=w0(f,n);n.splice(d,0,f),f.record.name&&!ec(f)&&r.set(f.record.name,f)}function u(f,d){let h,p={},m,g;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw Mn(1,{location:f});g=h.record.name,p=de(_a(d.params,h.keys.filter(C=>!C.optional).concat(h.parent?h.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),f.params&&_a(f.params,h.keys.map(C=>C.name))),m=h.stringify(p)}else if(f.path!=null)m=f.path,h=n.find(C=>C.re.test(m)),h&&(p=h.parse(m),g=h.record.name);else{if(h=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!h)throw Mn(1,{location:f,currentLocation:d});g=h.record.name,p=de({},d.params,f.params),m=h.stringify(p)}const b=[];let S=h;for(;S;)b.unshift(S.record),S=S.parent;return{name:g,path:m,params:p,matched:b,meta:E0(b)}}e.forEach(f=>o(f));function l(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:l,getRoutes:a,getRecordMatcher:s}}function _a(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function qa(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:L0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function L0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function ec(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function E0(e){return e.reduce((t,n)=>de(t,n.meta),{})}function tc(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function w0(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;pf(e,t[o])<0?r=o:n=o+1}const s=T0(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function T0(e){let t=e;for(;t=t.parent;)if(mf(t)&&pf(e,t)===0)return t}function mf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function x0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(of," "),i=o.indexOf("="),a=cr(i<0?o:o.slice(0,i)),c=i<0?null:cr(o.slice(i+1));if(a in t){let u=t[a];lt(u)||(u=t[a]=[u]),u.push(c)}else t[a]=c}return t}function nc(e){let t="";for(let n in e){const r=e[n];if(n=Zg(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(lt(r)?r.map(o=>o&&Ho(o)):[r&&Ho(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function R0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=lt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const O0=Symbol(""),rc=Symbol(""),Ti=Symbol(""),gf=Symbol(""),Vo=Symbol("");function $n(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Gt(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,c)=>{const u=d=>{d===!1?c(Mn(4,{from:n,to:t})):d instanceof Error?c(d):h0(d)?c(Mn(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},l=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(l);e.length<3&&(f=f.then(u)),f.catch(d=>c(d))})}function to(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(rf(c)){const l=(c.__vccOpts||c)[t];l&&o.push(Gt(l,n,r,i,a,s))}else{let u=c();o.push(()=>u.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=Fg(l)?l.default:l;i.mods[a]=l,i.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&Gt(h,n,r,i,a,s)()}))}}return o}function sc(e){const t=Ae(Ti),n=Ae(gf),r=_(()=>{const c=$e(e.to);return t.resolve(c)}),s=_(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const d=f.findIndex(Pn.bind(null,l));if(d>-1)return d;const h=oc(c[u-2]);return u>1&&oc(l)===h&&f[f.length-1].path!==h?f.findIndex(Pn.bind(null,c[u-2])):d}),o=_(()=>s.value>-1&&H0(n.params,r.value.params)),i=_(()=>s.value>-1&&s.value===n.matched.length-1&&uf(n.params,r.value.params));function a(c={}){return I0(c)?t[$e(e.replace)?"replace":"push"]($e(e.to)).catch(qn):Promise.resolve()}return{route:r,href:_(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const P0=ys({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:sc,setup(e,{slots:t}){const n=We(sc(e)),{options:r}=Ae(Ti),s=_(()=>({[ic(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ic(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ls("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),M0=P0;function I0(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function H0(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!lt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function oc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ic=(e,t,n)=>e??t??n,D0=ys({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ae(Vo),s=_(()=>e.route||r.value),o=Ae(rc,0),i=_(()=>{let u=$e(o);const{matched:l}=s.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),a=_(()=>s.value.matched[i.value]);xt(rc,_(()=>i.value+1)),xt(O0,a),xt(Vo,s);const c=Pe();return _e(()=>[c.value,a.value,e.name],([u,l,f],[d,h,p])=>{l&&(l.instances[f]=u,h&&h!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=h.leaveGuards),l.updateGuards.size||(l.updateGuards=h.updateGuards))),u&&l&&(!h||!Pn(l,h)||!d)&&(l.enterCallbacks[f]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=s.value,l=e.name,f=a.value,d=f&&f.components[l];if(!d)return ac(n.default,{Component:d,route:u});const h=f.props[l],p=h?h===!0?u.params:typeof h=="function"?h(u):h:null,g=Ls(d,de({},p,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return ac(n.default,{Component:g,route:u})||g}}});function ac(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const V0=D0;function F0(e){const t=A0(e.routes,e),n=e.parseQuery||x0,r=e.stringifyQuery||nc,s=e.history,o=$n(),i=$n(),a=$n(),c=bt(Vt);let u=Vt;An&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=qs.bind(null,D=>""+D),f=qs.bind(null,Jg),d=qs.bind(null,cr);function h(D,B){let U,z;return df(D)?(U=t.getRecordMatcher(D),z=B):z=D,t.addRoute(z,U)}function p(D){const B=t.getRecordMatcher(D);B&&t.removeRoute(B)}function m(){return t.getRoutes().map(D=>D.record)}function g(D){return!!t.getRecordMatcher(D)}function b(D,B){if(B=de({},B||c.value),typeof D=="string"){const y=eo(n,D,B.path),T=t.resolve({path:y.path},B),F=s.createHref(y.fullPath);return de(y,T,{params:d(T.params),hash:cr(y.hash),redirectedFrom:void 0,href:F})}let U;if(D.path!=null)U=de({},D,{path:eo(n,D.path,B.path).path});else{const y=de({},D.params);for(const T in y)y[T]==null&&delete y[T];U=de({},D,{params:f(y)}),B.params=f(B.params)}const z=t.resolve(U,B),ue=D.hash||"";z.params=l(d(z.params));const be=_g(r,de({},D,{hash:zg(ue),path:z.path})),v=s.createHref(be);return de({fullPath:be,hash:ue,query:r===nc?R0(D.query):D.query||{}},z,{redirectedFrom:void 0,href:v})}function S(D){return typeof D=="string"?eo(n,D,c.value.path):de({},D)}function C(D,B){if(u!==D)return Mn(8,{from:B,to:D})}function E(D){return O(D)}function R(D){return E(de(S(D),{replace:!0}))}function w(D){const B=D.matched[D.matched.length-1];if(B&&B.redirect){const{redirect:U}=B;let z=typeof U=="function"?U(D):U;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=S(z):{path:z},z.params={}),de({query:D.query,hash:D.hash,params:z.path!=null?{}:D.params},z)}}function O(D,B){const U=u=b(D),z=c.value,ue=D.state,be=D.force,v=D.replace===!0,y=w(U);if(y)return O(de(S(y),{state:typeof y=="object"?de({},ue,y.state):ue,force:be,replace:v}),B||U);const T=U;T.redirectedFrom=B;let F;return!be&&qg(r,z,U)&&(F=Mn(16,{to:T,from:z}),we(z,z,!0,!1)),(F?Promise.resolve(F):x(T,z)).catch(H=>Ct(H)?Ct(H,2)?H:ae(H):Y(H,T,z)).then(H=>{if(H){if(Ct(H,2))return O(de({replace:v},S(H.to),{state:typeof H.to=="object"?de({},ue,H.to.state):ue,force:be}),B||T)}else H=P(T,z,!0,v,ue);return I(T,z,H),H})}function L(D,B){const U=C(D,B);return U?Promise.reject(U):Promise.resolve()}function A(D){const B=rt.values().next().value;return B&&typeof B.runWithContext=="function"?B.runWithContext(D):D()}function x(D,B){let U;const[z,ue,be]=k0(D,B);U=to(z.reverse(),"beforeRouteLeave",D,B);for(const y of z)y.leaveGuards.forEach(T=>{U.push(Gt(T,D,B))});const v=L.bind(null,D,B);return U.push(v),Be(U).then(()=>{U=[];for(const y of o.list())U.push(Gt(y,D,B));return U.push(v),Be(U)}).then(()=>{U=to(ue,"beforeRouteUpdate",D,B);for(const y of ue)y.updateGuards.forEach(T=>{U.push(Gt(T,D,B))});return U.push(v),Be(U)}).then(()=>{U=[];for(const y of be)if(y.beforeEnter)if(lt(y.beforeEnter))for(const T of y.beforeEnter)U.push(Gt(T,D,B));else U.push(Gt(y.beforeEnter,D,B));return U.push(v),Be(U)}).then(()=>(D.matched.forEach(y=>y.enterCallbacks={}),U=to(be,"beforeRouteEnter",D,B,A),U.push(v),Be(U))).then(()=>{U=[];for(const y of i.list())U.push(Gt(y,D,B));return U.push(v),Be(U)}).catch(y=>Ct(y,8)?y:Promise.reject(y))}function I(D,B,U){a.list().forEach(z=>A(()=>z(D,B,U)))}function P(D,B,U,z,ue){const be=C(D,B);if(be)return be;const v=B===Vt,y=An?history.state:{};U&&(z||v?s.replace(D.fullPath,de({scroll:v&&y&&y.scroll},ue)):s.push(D.fullPath,ue)),c.value=D,we(D,B,U,v),ae()}let V;function J(){V||(V=s.listen((D,B,U)=>{const z=b(D),ue=w(z);if(ue){O(de(ue,{replace:!0}),z).catch(qn);return}u=z;const be=c.value;An&&a0(Za(be.fullPath,U.delta),Ps()),x(z,be).catch(v=>Ct(v,12)?v:Ct(v,2)?(O(v.to,z).then(y=>{Ct(y,20)&&!U.delta&&U.type===lr.pop&&s.go(-1,!1)}).catch(qn),Promise.reject()):(U.delta&&s.go(-U.delta,!1),Y(v,z,be))).then(v=>{v=v||P(z,be,!1),v&&(U.delta&&!Ct(v,8)?s.go(-U.delta,!1):U.type===lr.pop&&Ct(v,20)&&s.go(-1,!1)),I(z,be,v)}).catch(qn)}))}let se=$n(),te=$n(),K;function Y(D,B,U){ae(D);const z=te.list();return z.length?z.forEach(ue=>ue(D,B,U)):console.error(D),Promise.reject(D)}function he(){return K&&c.value!==Vt?Promise.resolve():new Promise((D,B)=>{se.add([D,B])})}function ae(D){return K||(K=!D,J(),se.list().forEach(([B,U])=>D?U(D):B()),se.reset()),D}function we(D,B,U,z){const{scrollBehavior:ue}=e;if(!An||!ue)return Promise.resolve();const be=!U&&c0(Za(D.fullPath,0))||(z||!U)&&history.state&&history.state.scroll||null;return pr().then(()=>ue(D,B,be)).then(v=>v&&i0(v)).catch(v=>Y(v,D,B))}const ye=D=>s.go(D);let xe;const rt=new Set,Qt={currentRoute:c,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:m,resolve:b,options:e,push:E,replace:R,go:ye,back:()=>ye(-1),forward:()=>ye(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:te.add,isReady:he,install(D){const B=this;D.component("RouterLink",M0),D.component("RouterView",V0),D.config.globalProperties.$router=B,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>$e(c)}),An&&!xe&&c.value===Vt&&(xe=!0,E(s.location).catch(ue=>{}));const U={};for(const ue in Vt)Object.defineProperty(U,ue,{get:()=>c.value[ue],enumerable:!0});D.provide(Ti,B),D.provide(gf,El(U)),D.provide(Vo,c);const z=D.unmount;rt.add(D),D.unmount=function(){rt.delete(D),rt.size<1&&(u=Vt,V&&V(),V=null,c.value=Vt,xe=!1,K=!1),z()}}};function Be(D){return D.reduce((B,U)=>B.then(()=>A(U)),Promise.resolve())}return Qt}function k0(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(u=>Pn(u,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(u=>Pn(u,c))||s.push(c))}return[n,r,s]}const N0="",vf=[{group:"r",pks:"0",page:1}],j0=!0,$0=!0,B0="sort_name",U0=!1,G0="",W0={i:!1,p:!0,s:!0,v:!1},K0="p",z0=!1,Z0=!1,Ge={bookmarkFilter:N0,breadcrumbs:vf,customCovers:j0,dynamicCovers:$0,orderBy:B0,orderReverse:U0,q:G0,show:W0,topGroup:K0,twentyFourHourTime:z0,alwaysShowFilename:Z0},Y0=()=>dt(()=>import("./admin-Dl90w4xx.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22])),J0=()=>dt(()=>import("./browser-Dn9VeG9o.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,24,25,26,27,17,18,28,29,30,31,32,33,34,35,36,37,15,16,19,38,39,40])),X0=()=>dt(()=>import("./http-error-DC-8e3vW.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,42])),Q0=()=>dt(()=>import("./reader-C2NlMEoN.js").then(e=>e.r),__vite__mapDeps([43,3,4,15,1,2,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,27,28,29,34,35,36,37,44,45,46,47,38,39,24,25,48])),_0=()=>dt(()=>import("./flag-tab-D-QmPLuT.js"),__vite__mapDeps([49,11,32,3,4,33,8,9,38,28,39,50])),q0=()=>dt(()=>import("./user-tab-C-_g4ZN2.js"),__vite__mapDeps([51,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,38,39,54,55,6,12])),e2=()=>dt(()=>import("./group-tab-CIU-U5vV.js"),__vite__mapDeps([56,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,46,47,57])),t2=()=>dt(()=>import("./library-tab-DErITV3q.js"),__vite__mapDeps([58,52,3,4,7,2,5,8,9,10,11,27,13,17,18,28,29,32,33,30,35,36,53,26,31,38,39,54,55,44,45,59])),n2=()=>dt(()=>import("./task-tab-DDb-IDw3.js"),__vite__mapDeps([60,35,2,3,4,5,36,11,27,8,9,13,17,18,28,29,61])),r2=()=>dt(()=>import("./stats-tab-BAV89h6B.js"),__vite__mapDeps([62,32,3,4,33,35,2,5,36,16,11,63])),s2={name:"browser",params:window.CODEX.LAST_ROUTE||vf[0]},o2=[{name:"home",path:"/",redirect:s2},{name:"reader",path:"/c/:pk/:page",component:Q0},{name:"browser",path:"/:group/:pks/:page",component:J0},{name:"admin",path:"/admin",component:Y0,redirect:"/admin/libraries",children:[{name:"admin-users",path:"users",component:q0},{name:"admin-groups",path:"groups",component:e2},{name:"admin-libraries",path:"libraries",component:t2},{name:"admin-flags",path:"flags",component:_0},{name:"admin-tasks",path:"tasks",component:n2},{name:"admin-stats",path:"stats",component:r2}]},{name:"error",path:"/error/:code",component:X0,props:!0},{name:"404",path:"/:pathMatch(.*)*",redirect:"/error/404"}],re=new F0({history:d0(window.CODEX.APP_PATH),routes:o2});function it(e,t,n=new Map){const r=n.get(e);if(typeof r<"u")return r;if(Array.isArray(e)){const i=[];n.set(e,i);for(let a=0;a<e.length;a++)i[a]=it(e[a],t,n);return i}if(e instanceof Date)return new Date(e.valueOf());if(!(e instanceof Object))return e;const s={};n.set(e,s);const o=Object.keys(e);for(let i=0;i<o.length;i++){const a=typeof t=="function"?t(o[i]):o[i];s[a]=it(e[o[i]],t,n)}return s}function i2(e){return t=>it(t,e)}it.formatKeys=i2;var cc=Object.prototype.hasOwnProperty;function lc(e,t,n){for(n of e.keys())if(fn(n,t))return n}function fn(e,t){var n,r,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&fn(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(s=r,s&&typeof s=="object"&&(s=lc(t,s),!s)||!t.has(s))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(s=r[0],s&&typeof s=="object"&&(s=lc(t,s),!s)||!fn(r[1],t.get(s)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(cc.call(e,n)&&++r&&!cc.call(t,n)||!(n in t)||!fn(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}const xi=({group:e,pks:t,query:n,ts:r})=>{const s=ft(n,r),o=new URLSearchParams(s).toString(),i=t.join(",");return{hrefPath:`${e}/${i}`,queryString:o}},a2=({group:e,pks:t,query:n})=>{const r=window.CODEX.APP_PATH,{hrefPath:s,queryString:o}=xi({group:e,pks:t,query:n});return`${r}${s}/1?${o}`},c2=({group:e,pks:t},n,r)=>{const s=window.CODEX.API_V3_PATH;delete n.show;const{hrefPath:o,queryString:i}=xi({group:e,pks:t,query:n,ts:r});return`${s}${o}/cover.webp?${i}`},l2=({group:e,pks:t},n,r)=>{const s=ft(n,r);return Ee.get(`/${e}/${t}/choices_available`,{params:s})},u2=({group:e,pks:t},n,r,s)=>{const o=ft(r,s);return Ee.get(`/${e}/${t}/choices/${n}`,{params:o})},f2=({group:e,pks:t,page:n},r,s)=>{const o=ft(r,s);return Ee.get(`/${e}/${t}/${n}`,{params:o})},d2=({group:e,pks:t},n)=>{const r=t.join(","),s=Math.max(e.mtime,n.mtime),o=it(n);delete o.mtime;const i=ft(o,s);return Ee.get(`/${e}/${r}/metadata`,{params:i})},h2=e=>{const t=ft(e);return Ee.get("/r/settings",{params:t})},p2=e=>Ee.patch("/r/settings",e),m2=({group:e,pks:t},n,r,s)=>{const o=window.CODEX.API_V3_PATH;delete r.show;const{hrefPath:i,queryString:a}=xi({group:e,pks:t,query:r,ts:s});return n=encodeURIComponent(n),`${o}${i}/download/${n}?${a}`},g2=({group:e,ids:t},n,r)=>{const s=ft(n),o=new URLSearchParams(s).toString();r.fitTo===null&&(r.fitTo="");const i=t.join(",");return Ee.patch(`${e}/${i}/bookmark?${o}`,r)},gt={getAvailableFilterChoices:l2,getBrowserHref:a2,getCoverSrc:c2,getFilterChoices:u2,getGroupDownloadURL:m2,getMetadata:d2,getSettings:h2,getBrowserPage:f2,updateGroupBookmarks:g2,updateSettings:p2},v2=[{value:"",title:"All",default:!0},{value:"IN_PROGRESS",title:"In Progress"},{value:"READ",title:"Read"},{value:"UNREAD",title:"Unread"}],y2=[{value:"created_at",title:"Added Time"},{value:"age_rating",title:"Age Rating"},{value:"child_count",title:"Child Count"},{value:"community_rating",title:"Community Rating"},{value:"critical_rating",title:"Critical Rating"},{value:"filename",title:"Filename"},{value:"size",title:"File Size"},{value:"bookmark_updated_at",title:"Last Read"},{value:"sort_name",title:"Name",default:!0},{value:"page_count",title:"Page Count"},{value:"date",title:"Publish Date"},{value:"search_score",title:"Search Score"},{value:"story_arc_number",title:"Story Arc Number"},{value:"updated_at",title:"Updated Time"}],b2=[{value:"p",title:"Publishers",default:!0},{value:"i",title:"Imprints"},{value:"s",title:"Series"},{value:"v",title:"Volumes"},{value:"c",title:"Issues"},{value:"f",title:"Folders"},{value:"a",title:"Story Arcs"}],S2=-1,C2=[{value:"p",title:"Publishers"},{value:"i",title:"Imprints"},{value:"s",title:"Series"},{value:"v",title:"Volumes"}],A2=[{value:"comicvine",title:"Comic Vine"},{value:"comixology",title:"Comixology"},{value:"asin",title:"Amazon"},{value:"gtin",title:"GTIN"},{value:"isbn",title:"ISBN"},{value:"upc",title:"UPC"}],Ft={bookmarkFilter:v2,orderBy:y2,topGroup:b2,vuetifyNullCode:S2,settingsGroup:C2,identifierTypes:A2},zb={createdAt:"Added Time",ageRating:"Age Rating",childCount:"Child Count",communityRating:"Community Rating",criticalRating:"Critical Rating",filename:"Filename",size:"File Size",bookmarkUpdatedAt:"Last Read",sortName:"Name",pageCount:"Page Count",date:"Publish Date",searchScore:"Search Score",storyArcNumber:"Story Arc Number",updatedAt:"Updated Time"},L2={p:"Publishers",i:"Imprints",s:"Series",v:"Volumes",c:"Issues",f:"Folders",a:"Story Arcs"},Zb={H:"Fit to Height",O:"Original Size",S:"Fit to Screen",W:"Fit to Width"},E2={btt:"Bottom to Top",ltr:"Left to Right",rtl:"Right to Left",ttb:"Top to Bottom"},yf="sv-SE",w2=new Intl.DateTimeFormat(yf),Yb=new Intl.NumberFormat,T2=function(e){const t=e?yf:void 0;return new Intl.DateTimeFormat(t,{timeStyle:"medium"})},Jb=function(e,t,n=!1){const r=new Date(e),s=w2.format(r),i=T2(t).format(r);return s+(n?"<br />":", ")+i},x2=function(){return Math.floor(Date.now()/1e3)},R2=(e,t=0)=>{e=Number.isInteger(e)&&e>=0?e:0,t=Number.isInteger(t)&&t>=0?t:0;const n=t>e?Math.max(t-e,0):e;let r=[...Array(n).keys()];return t>0&&(r=r.map(s=>s+e)),r},bf="rpisvc";Object.freeze(bf);const Gn=Array.from(bf).reverse().join("");Object.freeze(Gn);const Sf=new Set([301,302,303,307,308]);Object.freeze(Sf);const Cf=new Set([void 0,null,Ge.bookmarkFilter]);Object.freeze(Cf);const Af=new Set(["a","c"]);Object.freeze(Af);const Lf=new Set(["a","c","f"]);Object.freeze(Lf);const O2=5e3,Ef=["customCovers","dynamicCovers","show"];Object.freeze(Ef);const wf=["filters","orderBy","orderReverse","q"];Object.freeze(wf);const Tf=["filters","q"];Object.freeze(Tf);const xf=["breadcrumbs"];Object.freeze(xf);const Rf=["filters","q","mtime"];Object.freeze(Rf);const no=e=>{e&&e.params&&re.push(e).catch(console.warn)},uc=e=>e&&Object.keys(e).length||typeof e=="boolean",fc=Sr("browser",{state:()=>({choices:{static:Object.freeze({bookmark:Ft.bookmarkFilter,groupNames:L2,settingsGroup:Ft.settingsGroup,readingDirection:E2,identifierType:Ft.identifierTypes}),dynamic:void 0},settings:{breadcrumbs:Ge.breadcrumbs,customCovers:Ge.customCovers,dynamicCovers:Ge.dynamicCovers,filters:{},orderBy:Ge.orderBy,orderReverse:Ge.orderReverse,q:Ge.q,show:Ge.show,topGroup:Ge.topGroup,twentyFourHourTime:Ge.twentyFourHourTime},page:{adminFlags:{folderView:void 0,importMetadata:void 0},title:{groupName:void 0,groupCount:void 0},librariesExist:void 0,modelGroup:void 0,numPages:1,groups:[],books:[],fts:void 0,searchError:void 0,mtime:0},filterMode:"base",zeroPad:0,browserPageLoaded:!1,isSearchOpen:!1,isSearchHelpOpen:!1,searchHideTimeout:void 0}),getters:{topGroupChoices(){const e=[];for(const t of Ft.topGroup)this._isRootGroupEnabled(t.value)&&e.push(t);return e},topGroupChoicesMaxLen(){return this._maxLenChoices(Ft.topGroup)},orderByChoices(e){const t=[];for(const n of Ft.orderBy)n.value==="path"&&!e.page.adminFlags.folderView||n.value==="child_count"&&e.page.modelGroup==="c"||n.value==="search_score"&&(!e.settings.q||!e.page.fts)||t.push(n);return t},orderByChoicesMaxLen(){return this._maxLenChoices(Ft.orderBy)},filterByChoicesMaxLen(){return this._maxLenChoices(Ft.bookmarkFilter)},isAuthorized(){return ar().isAuthorized},isDynamicFiltersSelected(e){for(const[t,n]of Object.entries(e.settings.filters))if(t!=="bookmark"&&n&&n.length>0)return!0;return!1},isFiltersClearable(e){return!Cf.has(e.settings.filters.bookmark)||this.isDynamicFiltersSelected},lowestShownGroup(e){let t="r";const n=Gn.indexOf(e.settings.topGroup);for(const[r,s]of Array.from(Gn).entries())if(e.settings.show[s]){r<=n&&(t=s);break}return t},isSearchMode(e){return!!e.settings.q},lastRoute(e){const t=e.settings.breadcrumbs,n=t[t.length-1],r={};return n?(r.name="browser",delete n.name,r.params=n):r.name="home",r},coverSettings(e){const t=re.currentRoute.value.params,n=t.group;if(n=="c")return{};let r=Ef;const s=e.settings.dynamicCovers;s&&(r=r.concat(wf));const o=this._filterSettings(e,r),i=t.pks;return!s&&n!=="r"&&i&&(o.parent={group:n,pks:i}),o},filterOnlySettings(e){return this._filterSettings(e,Tf)},pageLoadSettings(e){return this._filterSettings(e,xf)},metadataSettings(e){return this._filterSettings(e,Rf)}},actions:{_filterSettings(e,t){return Object.fromEntries(Object.entries(e.settings).filter(([n,r])=>{if(!t.includes(n))return null;if(n==="filters"){const s={};for(const[o,i]of Object.entries(r))uc(i)&&(s[o]=i);r=s}if(uc(r))return[n,r]}))},_maxLenChoices(e){let t=0;for(const n of e)n&&n.title&&n.title.length>t&&(t=n.title.length);return t},identifierTypeTitle(e){if(!e)return e;const t=e.toLowerCase();return this.choices.static.identifierType[t]||e},setIsSearchOpen(e){this.isSearchOpen=e},_isRootGroupEnabled(e){var t;return Af.has(e)?!0:e=="f"?(t=this.page.adminFlags)==null?void 0:t.folderView:this.settings.show[e]},_validateSearch(e){var n;if(!this.settings.q&&!e.q){this.settings.orderBy==="search_score"&&(this.settings.topGroup==="f"?e.orderBy="filename":e.orderBy="sort_name");return}else if(this.settings.q)return;e.orderBy="search_score",e.orderReverse=!0;const t=(n=re.currentRoute.value.params)==null?void 0:n.group;if(!(Lf.has(t)||t===this.lowestShownGroup))return{params:{group:this.lowestShownGroup,pks:"0",page:"1"}}},_validateTopGroup(e,t){var l,f;const n=this.settings.topGroup,r=e.topGroup,s=(f=(l=re==null?void 0:re.currentRoute)==null?void 0:l.value)==null?void 0:f.params;if(!n&&r||!r||n===r||r===(s==null?void 0:s.group))return t;const o=Gn.indexOf(n),i=Gn.indexOf(r),a=i>=0,c=a&&o>=0;let u;return c?o<i?(u=s,u.page=+u.page):u={group:"r",pks:"0",page:"1"}:u={group:a?"r":r,pks:"0",page:"1"},{params:u}},_addSettings(e){this.$patch(t=>{for(let[n,r]of Object.entries(e)){let s;typeof t.settings[n]=="object"&&!Array.isArray(t.settings[n])?s={...t.settings[n],...r}:s=r,fn(t.settings[n],s)||(t.settings[n]=s)}t.settings.q&&!t.isSearchOpen&&(t.isSearchOpen=!0)}),this.startSearchHideTimeout()},_validateAndSaveSettings(e){let t=this._validateSearch(e);return t=this._validateTopGroup(e,t),fn(t==null?void 0:t.params,re.currentRoute.value.params)&&(t=void 0),e&&this._addSettings(e),this.filterMode="base",t},async setSettings(e){const t=this._validateAndSaveSettings(e);this.browserPageLoaded=!0,t?no(t):this.loadBrowserPage(void 0,!0)},async clearOneFilter(e){this.$patch(t=>{t.filterMode="base",t.settings.filters[e]=[],t.browserPageLoaded=!0}),await this.loadBrowserPage(void 0,!0)},async clearFilters(e=!1){this.$patch(t=>{t.settings.filters={bookmark:""},t.filterMode="base",e&&(t.settings.q="",t.settings.orderBy="sort_name",t.settings.orderReverse=!1),t.browserPageLoaded=!0}),await this.loadBrowserPage(void 0,!0)},async setBookmarkFinished(e,t){this.isAuthorized&&await gt.updateGroupBookmarks(e,this.filterOnlySettings,{finished:t}).then(()=>(this.loadBrowserPage(x2()),!0))},clearSearchHideTimeout(){clearTimeout(this.searchHideTimeout)},startSearchHideTimeout(){if(!this.isSearchOpen)return;this.settings.q||this.isSearchHelpOpen?this.clearSearchHideTimeout():this.searchHideTimeout=setTimeout(()=>{this.settings.q||this.setIsSearchOpen(!1)},O2)},setSearchHelpOpen(e){this.isSearchHelpOpen=e,this.startSearchHideTimeout()},setPageMtime(e){self.mtime=e},async updateBreadcrumbs(e){const t=this.settings.breadcrumbs||[],n=R2(t.length).reverse();for(const r of n){const s=e[r],o=t[r];if(!fn(s,o)){o.name===null&&(o.name=""),gt.updateSettings({breadcrumbs:t});break}}},routeToPage(e){const t=it(re.currentRoute.value);t.params.page=e,re.push(t).catch(console.warn)},handlePageError(e){var t;if(Sf.has((t=e==null?void 0:e.response)==null?void 0:t.status)){console.debug(e);const n=e.response.data;n.settings&&(this.setSettings(n.settings),this.browserPageLoaded=!0),n.route&&no(n.route)}else return console.error(e)},async loadSettings(){var t,n;if(!this.isAuthorized)return;this.$patch(r=>{r.browserPageLoaded=!1,r.choices.dynamic=void 0});const e=(n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value.params)==null?void 0:n.group;await gt.getSettings({group:e}).then(r=>{const s=r.data,o=this._validateAndSaveSettings(s);return this.browserPageLoaded=!0,o?no(o):this.loadBrowserPage(void 0,!0)}).catch(r=>(this.browserPageLoaded=!0,this.handlePageError(r)))},async loadBrowserPage(e,t=!1){if(!this.isAuthorized)return;const n=re.currentRoute.value;if(e||(e=n.query.ts,e||(e=this.page.mtime)),this.browserPageLoaded)this.browserPageLoaded=!1;else return this.loadSettings();const r=this.settings.breadcrumbs;await gt.getBrowserPage(n.params,this.settings,e).then(s=>{const{breadcrumbs:o,...i}=s.data;return this.$patch(a=>{a.settings.breadcrumbs=o,a.page=i,(a.settings.orderBy==="search_score"&&!i.fts||a.settings.orderBy==="child_count"&&i.modelGroup==="c")&&(a.settings.orderBy="sort_name"),a.choices.dynamic=void 0,a.browserPageLoaded=!0}),!0}).catch(this.handlePageError),t?gt.updateSettings(this.settings):this.updateBreadcrumbs(r)},async loadAvailableFilterChoices(){return await gt.getAvailableFilterChoices(re.currentRoute.value.params,this.filterOnlySettings,this.page.mtime).then(e=>(this.choices.dynamic=e.data,!0)).catch(console.error)},async loadFilterChoices(e){return await gt.getFilterChoices(re.currentRoute.value.params,e,this.filterOnlySettings,this.page.mtime).then(t=>(this.choices.dynamic[e]=Object.freeze(t.data.choices),!0)).catch(console.error)},async loadMtimes(){var s,o;const e=(o=(s=re==null?void 0:re.currentRoute)==null?void 0:s.value)==null?void 0:o.params,t=e==null?void 0:e.group,n=t&&t!="r"?t:this.page.modelGroup,r=(e==null?void 0:e.pks)||"0";return await as.getMtime([{group:n,pks:r}],this.filterOnlySettings).then(i=>{var c;const a=(c=i==null?void 0:i.data)==null?void 0:c.maxMtime;return a!==this.page.mtime&&(this.choices.dynamic=void 0,this.loadBrowserPage(a)),!0}).catch(console.error)}}});var Xb="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",Qb="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z",_b="M18 4V20C18 21.11 17.11 22 16 22H4C2.9 22 2 21.11 2 20V4C2 2.9 2.9 2 4 2H5V9L7.5 7.5L10 9V2H16C17.1 2 18 2.89 18 4M20 17H22V15H20V17M20 7V13H22V7H20Z",P2="M13 19C13 20.1 13.3 21.12 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H7V9L9.5 7.5L12 9V2H18C19.1 2 20 2.89 20 4V13.09C19.67 13.04 19.34 13 19 13C15.69 13 13 15.69 13 19M20 20V16H18V20H16L19 23L22 20H20Z",M2="M13 19C13 20.1 13.3 21.12 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H7V9L9.5 7.5L12 9V2H18C19.1 2 20 2.89 20 4V13.09C19.67 13.04 19.34 13 19 13C15.69 13 13 15.69 13 19M19 15L16 18H18V22H20V18H22L19 15Z",qb="M19,18H9A2,2 0 0,1 7,16V4A2,2 0 0,1 9,2H10V7L12,5.5L14,7V2H19A2,2 0 0,1 21,4V16A2,2 0 0,1 19,18M17,20V22H5A2,2 0 0,1 3,20V6H5V20H17Z",e5="M13.09 20C13.21 20.72 13.46 21.39 13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H18C19.11 2 20 2.9 20 4V13.09C19.67 13.04 19.34 13 19 13C18.66 13 18.33 13.04 18 13.09V4H13V12L10.5 9.75L8 12V4H6V20H13.09M22.54 16.88L21.12 15.47L19 17.59L16.88 15.47L15.47 16.88L17.59 19L15.47 21.12L16.88 22.54L19 20.41L21.12 22.54L22.54 21.12L20.41 19L22.54 16.88Z",t5="M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14M13,4V12L10.5,9.75L8,12V4H6V20H10C10.54,20.81 11.23,21.5 12.03,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H18A2,2 0 0,1 20,4V11.81C19.42,11.26 18.75,10.81 18,10.5V4H13Z",n5="M9.47 9.65L8.06 11.07L11 14L16.19 8.82L14.78 7.4L11 11.18M17 3H7C5.9 3 5 3.9 5 5L5 21L12 18L19 21V5C19 3.9 18.1 3 17 3M17 18L12 15.82L7 18V5H17Z",r5="M9,11V9H15V11H9M19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17C18.11,3 19,3.9 19,5M17,5H7V18L12,15.82L17,18V5Z",s5="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",o5="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",i5="M5,20H19V22H5V20M17,2V5H15V2H13V5H11V2H9V5H7V2H5V8H7V18H17V8H19V2H17Z",a5="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",c5="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",l5="M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M10,18L16,12L10,6L8.6,7.4L13.2,12L8.6,16.6L10,18Z",u5="M22.11 21.46L2.39 1.73L1.11 3L4.06 5.95C2.78 7.63 2 9.72 2 12C2 17.5 6.5 22 12 22C14.28 22 16.37 21.23 18.05 19.94L20.84 22.73L22.11 21.46M12 20C7.58 20 4 16.42 4 12C4 10.27 4.56 8.68 5.5 7.38L16.62 18.5C15.32 19.45 13.73 20 12 20M8.17 4.97L6.72 3.5C8.25 2.56 10.06 2 12 2C17.5 2 22 6.5 22 12C22 13.94 21.44 15.75 20.5 17.28L19.03 15.83C19.65 14.69 20 13.39 20 12C20 7.58 16.42 4 12 4C10.61 4 9.31 4.35 8.17 4.97Z",f5="M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7M7.5,13.5L9,12L11,14L15.5,9.5L17,11L11,17L7.5,13.5Z",d5="M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M12,3A1,1 0 0,1 13,4A1,1 0 0,1 12,5A1,1 0 0,1 11,4A1,1 0 0,1 12,3M7,7H17V5H19V19H5V5H7V7Z",h5="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",p5="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z",m5="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z",g5="M17 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V7L17 3M19 19H5V5H16.17L19 7.83V19M12 12C10.34 12 9 13.34 9 15S10.34 18 12 18 15 16.66 15 15 13.66 12 12 12M6 6H15V10H6V6Z",v5="M12 8L15 13.2L18 10.5L17.3 14H6.7L6 10.5L9 13.2L12 8M12 4L8.5 10L3 5L5 16H19L21 5L15.5 10L12 4M19 18H5V19C5 19.6 5.4 20 6 20H18C18.6 20 19 19.6 19 19V18Z",y5="M16.5 16.25L19.36 17.94L18.61 19.16L15 17V12H16.5V16.25M23 16C23 19.87 19.87 23 16 23C13.61 23 11.5 21.8 10.25 20C6.19 19.79 3 18.08 3 16V6C3 3.79 6.58 2 11 2S19 3.79 19 6V9.68C21.36 10.81 23 13.21 23 16M17 9.08V8.64C16.77 8.77 16.5 8.9 16.24 9C16.5 9 16.75 9.04 17 9.08M5 6C5 6.5 7.13 8 11 8S17 6.5 17 6 14.87 4 11 4 5 5.5 5 6M5 11.45C6.07 12.23 7.8 12.76 9.72 12.93C10.33 11.67 11.32 10.62 12.54 9.92C12.04 9.97 11.53 10 11 10C8.61 10 6.47 9.47 5 8.64V11.45M9.26 17.87C9.1 17.27 9 16.65 9 16C9 15.61 9.04 15.23 9.1 14.86C7.56 14.69 6.15 14.33 5 13.77V16C5 16.42 6.5 17.5 9.26 17.87M21 16C21 13.24 18.76 11 16 11S11 13.24 11 16 13.24 21 16 21 21 18.76 21 16Z",b5="M12 16C12.41 16 12.81 15.97 13.21 15.94C13.4 15.18 13.72 14.46 14.16 13.83C13.47 13.94 12.74 14 12 14C9.58 14 7.3 13.4 6 12.45V9.64C7.47 10.47 9.61 11 12 11S16.53 10.47 18 9.64V11.19C18.5 11.07 19 11 19.55 11C19.7 11 19.85 11 20 11.03V7C20 4.79 16.42 3 12 3S4 4.79 4 7V17C4 19.21 7.59 21 12 21C12.66 21 13.31 20.96 13.92 20.88C13.57 20.29 13.31 19.64 13.16 18.94C12.79 19 12.41 19 12 19C8.13 19 6 17.5 6 17V14.77C7.61 15.55 9.72 16 12 16M12 5C15.87 5 18 6.5 18 7S15.87 9 12 9 6 7.5 6 7 8.13 5 12 5M23 17.5C23 18.32 22.75 19.08 22.33 19.71L21.24 18.62C21.41 18.28 21.5 17.9 21.5 17.5C21.5 16.12 20.38 15 19 15V16.5L16.75 14.25L19 12V13.5C21.21 13.5 23 15.29 23 17.5M19 18.5L21.25 20.75L19 23V21.5C16.79 21.5 15 19.71 15 17.5C15 16.68 15.25 15.92 15.67 15.29L16.76 16.38C16.59 16.72 16.5 17.1 16.5 17.5C16.5 18.88 17.62 20 19 20V18.5Z",S5="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",C5="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",A5="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z",L5="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z",E5="M12 1A2.5 2.5 0 0 0 9.5 3.5A2.5 2.5 0 0 0 11 5.79V7H7A2 2 0 0 0 5 9V9.71A2.5 2.5 0 0 0 3.5 12A2.5 2.5 0 0 0 5 14.29V15H4A2 2 0 0 0 2 17V18.21A2.5 2.5 0 0 0 .5 20.5A2.5 2.5 0 0 0 3 23A2.5 2.5 0 0 0 5.5 20.5A2.5 2.5 0 0 0 4 18.21V17H8V18.21A2.5 2.5 0 0 0 6.5 20.5A2.5 2.5 0 0 0 9 23A2.5 2.5 0 0 0 11.5 20.5A2.5 2.5 0 0 0 10 18.21V17A2 2 0 0 0 8 15H7V14.29A2.5 2.5 0 0 0 8.5 12A2.5 2.5 0 0 0 7 9.71V9H17V9.71A2.5 2.5 0 0 0 15.5 12A2.5 2.5 0 0 0 17 14.29V15H16A2 2 0 0 0 14 17V18.21A2.5 2.5 0 0 0 12.5 20.5A2.5 2.5 0 0 0 15 23A2.5 2.5 0 0 0 17.5 20.5A2.5 2.5 0 0 0 16 18.21V17H20V18.21A2.5 2.5 0 0 0 18.5 20.5A2.5 2.5 0 0 0 21 23A2.5 2.5 0 0 0 23.5 20.5A2.5 2.5 0 0 0 22 18.21V17A2 2 0 0 0 20 15H19V14.29A2.5 2.5 0 0 0 20.5 12A2.5 2.5 0 0 0 19 9.71V9A2 2 0 0 0 17 7H13V5.79A2.5 2.5 0 0 0 14.5 3.5A2.5 2.5 0 0 0 12 1M12 2.5A1 1 0 0 1 13 3.5A1 1 0 0 1 12 4.5A1 1 0 0 1 11 3.5A1 1 0 0 1 12 2.5M6 11A1 1 0 0 1 7 12A1 1 0 0 1 6 13A1 1 0 0 1 5 12A1 1 0 0 1 6 11M18 11A1 1 0 0 1 19 12A1 1 0 0 1 18 13A1 1 0 0 1 17 12A1 1 0 0 1 18 11M3 19.5A1 1 0 0 1 4 20.5A1 1 0 0 1 3 21.5A1 1 0 0 1 2 20.5A1 1 0 0 1 3 19.5M9 19.5A1 1 0 0 1 10 20.5A1 1 0 0 1 9 21.5A1 1 0 0 1 8 20.5A1 1 0 0 1 9 19.5M15 19.5A1 1 0 0 1 16 20.5A1 1 0 0 1 15 21.5A1 1 0 0 1 14 20.5A1 1 0 0 1 15 19.5M21 19.5A1 1 0 0 1 22 20.5A1 1 0 0 1 21 21.5A1 1 0 0 1 20 20.5A1 1 0 0 1 21 19.5Z",w5="M22,2C22,2 14.36,1.63 8.34,9.88C3.72,16.21 2,22 2,22L3.94,21C5.38,18.5 6.13,17.47 7.54,16C10.07,16.74 12.71,16.65 15,14C13,13.44 11.4,13.57 9.04,13.81C11.69,12 13.5,11.6 16,12L17,10C15.2,9.66 14,9.63 12.22,10.04C14.19,8.65 15.56,7.87 18,8L19.21,6.07C17.65,5.96 16.71,6.13 14.92,6.57C16.53,5.11 18,4.45 20.14,4.32C20.14,4.32 21.19,2.43 22,2Z",T5="M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M6,20H15L18,20V12L14,16L12,14L6,20M8,9A2,2 0 0,0 6,11A2,2 0 0,0 8,13A2,2 0 0,0 10,11A2,2 0 0,0 8,9Z",x5="M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z",R5="M3.47 5C3.25 5 3.04 5.08 2.87 5.21C2.43 5.55 2.35 6.18 2.69 6.61L2.69 6.62L7 12.14V18.05L10.64 21.71C11 22.1 11.66 22.1 12.05 21.71L12.05 21.71C12.44 21.32 12.44 20.69 12.06 20.3L9 17.22V11.45L4.27 5.39C4.08 5.14 3.78 5 3.47 5M21.62 3.22C21.43 3.08 21.22 3 21 3H7C6.78 3 6.57 3.08 6.38 3.22C5.95 3.56 5.87 4.19 6.21 4.62L11 10.75V15.87C10.96 16.16 11.06 16.47 11.29 16.7L15.3 20.71C15.69 21.1 16.32 21.1 16.71 20.71C16.94 20.5 17.04 20.18 17 19.88V10.75L21.79 4.62C22.13 4.19 22.05 3.56 21.62 3.22M15 10.05V17.58L13 15.58V10.06L9.04 5H18.96L15 10.05Z",O5="M15,19.88C15.04,20.18 14.94,20.5 14.71,20.71C14.32,21.1 13.69,21.1 13.3,20.71L9.29,16.7C9.06,16.47 8.96,16.16 9,15.87V10.75L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L15,10.75V19.88M7.04,5L11,10.06V15.58L13,17.58V10.05L16.96,5H7.04Z",P5="M20,18H4V8H20M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z",M5="M8,11H11V21H13V11H16L12,7L8,11M4,3V5H20V3H4Z",I5="M4,5A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5H4M4,7H20V17H4V7M5,8V10H7V8H5M8,8V10H10V8H8M11,8V10H13V8H11M14,8V10H16V8H14M17,8V10H19V8H17M5,11V13H7V11H5M8,11V13H10V11H8M11,11V13H13V11H11M14,11V13H16V11H14M17,11V13H19V11H17M8,14V16H16V14H8Z",H5="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z",D5="M19.79,15.41C20.74,13.24 20.74,10.75 19.79,8.59L17.05,9.83C17.65,11.21 17.65,12.78 17.06,14.17L19.79,15.41M15.42,4.21C13.25,3.26 10.76,3.26 8.59,4.21L9.83,6.94C11.22,6.35 12.79,6.35 14.18,6.95L15.42,4.21M4.21,8.58C3.26,10.76 3.26,13.24 4.21,15.42L6.95,14.17C6.35,12.79 6.35,11.21 6.95,9.82L4.21,8.58M8.59,19.79C10.76,20.74 13.25,20.74 15.42,19.78L14.18,17.05C12.8,17.65 11.22,17.65 9.84,17.06L8.59,19.79M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z",V5="M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",F5="M12.63,2C18.16,2 22.64,6.5 22.64,12C22.64,17.5 18.16,22 12.63,22C9.12,22 6.05,20.18 4.26,17.43L5.84,16.18C7.25,18.47 9.76,20 12.64,20A8,8 0 0,0 20.64,12A8,8 0 0,0 12.64,4C8.56,4 5.2,7.06 4.71,11H7.47L3.73,14.73L0,11H2.69C3.19,5.95 7.45,2 12.63,2M15.59,10.24C16.09,10.25 16.5,10.65 16.5,11.16V15.77C16.5,16.27 16.09,16.69 15.58,16.69H10.05C9.54,16.69 9.13,16.27 9.13,15.77V11.16C9.13,10.65 9.54,10.25 10.04,10.24V9.23C10.04,7.7 11.29,6.46 12.81,6.46C14.34,6.46 15.59,7.7 15.59,9.23V10.24M12.81,7.86C12.06,7.86 11.44,8.47 11.44,9.23V10.24H14.19V9.23C14.19,8.47 13.57,7.86 12.81,7.86Z",k5="M11 7L9.6 8.4L12.2 11H2V13H12.2L9.6 15.6L11 17L16 12L11 7M20 19H12V21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3H12V5H20V19Z",N5="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",j5="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",$5="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",B5="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",U5="M14,7L9,12L14,17V7Z",G5="M10,17L15,12L10,7V17Z",W5="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",K5="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",z5="M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z",Z5="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",Y5="M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z",J5="M12 1L21 5V11C21 16.55 17.16 21.74 12 23C6.84 21.74 3 16.55 3 11V5L12 1M12 3.18L5 6.3V11.22C5 15.54 8.25 20 12 21C15.75 20 19 15.54 19 11.22V6.3L12 3.18M16 14V15.5L16 15.59C15.96 15.81 15.78 15.96 15.53 16L15.43 16H8.57L8.47 16C8.22 15.96 8.04 15.81 8 15.59L8 15.5V14H16M17 8L16 13H8L7 8L7 8L9.67 10.67L12 8.34L14.33 10.67L17 8L17 8Z",X5="M3,13H15V11H3M3,6V8H21V6M3,18H9V16H3V18Z",Q5="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M12.75,13.5C15.5,13.5 16.24,11.47 16.43,10.4C17.34,10.11 18,9.26 18,8.25C18,7 17,6 15.75,6C14.5,6 13.5,7 13.5,8.25C13.5,9.19 14.07,10 14.89,10.33C14.67,11 14,12 12,12C10.62,12 9.66,12.35 9,12.84V8.87C9.87,8.56 10.5,7.73 10.5,6.75C10.5,5.5 9.5,4.5 8.25,4.5C7,4.5 6,5.5 6,6.75C6,7.73 6.63,8.56 7.5,8.87V15.13C6.63,15.44 6,16.27 6,17.25C6,18.5 7,19.5 8.25,19.5C9.5,19.5 10.5,18.5 10.5,17.25C10.5,16.32 9.94,15.5 9.13,15.18C9.41,14.5 10.23,13.5 12.75,13.5M8.25,16.5A0.75,0.75 0 0,1 9,17.25A0.75,0.75 0 0,1 8.25,18A0.75,0.75 0 0,1 7.5,17.25A0.75,0.75 0 0,1 8.25,16.5M8.25,6A0.75,0.75 0 0,1 9,6.75A0.75,0.75 0 0,1 8.25,7.5A0.75,0.75 0 0,1 7.5,6.75A0.75,0.75 0 0,1 8.25,6M15.75,7.5A0.75,0.75 0 0,1 16.5,8.25A0.75,0.75 0 0,1 15.75,9A0.75,0.75 0 0,1 15,8.25A0.75,0.75 0 0,1 15.75,7.5Z",_5="M21.41 11.58L12.41 2.58A2 2 0 0 0 11 2H4A2 2 0 0 0 2 4V11A2 2 0 0 0 2.59 12.42L11.59 21.42A2 2 0 0 0 13 22A2 2 0 0 0 14.41 21.41L21.41 14.41A2 2 0 0 0 22 13A2 2 0 0 0 21.41 11.58M13 20L4 11V4H11L20 13M6.5 5A1.5 1.5 0 1 1 5 6.5A1.5 1.5 0 0 1 6.5 5Z",q5="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z";const I2=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),H2=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),D2=new RegExp("(\\d)(\\p{Ll})","gu"),V2=new RegExp("(\\p{L})(\\d)","gu"),F2=/[^\p{L}\d]+/giu,Mr="$1\0$2",k2="";function Of(e,t){let n=e.trim();n=n.replace(I2,Mr).replace(H2,Mr),t!=null&&t.separateNumbers&&(n=n.replace(D2,Mr).replace(V2,Mr)),n=n.replace(F2,"\0");let r=0,s=n.length;for(;n.charAt(r)==="\0";)r++;if(r===s)return[];for(;n.charAt(s-1)==="\0";)s--;return n.slice(r,s).split(/\0/g)}function N2(e,t){return Mf(e,t==null?void 0:t.prefixCharacters)+Of(e,t).map(Pf(t==null?void 0:t.locale)).join((t==null?void 0:t.delimiter)??" ")}function j2(e,t){const n=Mf(e,t==null?void 0:t.prefixCharacters),r=Pf(t==null?void 0:t.locale),s=B2(t==null?void 0:t.locale);return n+Of(e,t).map(U2(r,s)).join((t==null?void 0:t.delimiter)??" ")}function $2(e,t){return N2(e,{delimiter:"_",...t})}function Pf(e){return e===!1?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e)}function B2(e){return e===!1?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e)}function U2(e,t){return n=>`${t(n[0])}${e(n.slice(1))}`}function Mf(e,t=k2){let n="";for(let r=0;r<e.length;r++){const s=e.charAt(r);if(t.includes(s))n+=s;else break}return n}const G2=j2,W2=$2,Lr=e=>`c/${e}`,K2=(e,t,n)=>{const r=ft(t,n),s=Lr(e);return Ee.get(s,{params:r})},z2=()=>{const e=ft({});return Ee.get("c/settings",{params:e})},Z2=e=>Ee.patch("c/settings",e),Y2=e=>window.CODEX.API_V3_PATH+Lr(e),dc=({pk:e,page:t,mtime:n})=>`${Y2(e)}/${t}/page.jpg?ts=${n}`,eS=({pk:e},t,n)=>{const r=Lr(e);return t?t=encodeURIComponent(t):t=`comic-${e}.cbz`,`${r}/download/${t}?ts=${n}`},tS=({pk:e,page:t,mtime:n})=>`${Lr(e)}/${t}/page.jpg?ts=${n}`,J2=({pk:e,mtime:t})=>`/${Lr(e)}/book.pdf?ts=${t}`,ro={getReaderInfo:K2,getReaderSettings:z2,getPDFInBrowserURL:J2,updateReaderSettings:Z2},X2=[{value:"H",title:"Fit to Height"},{value:"O",title:"Original Size"},{value:"S",title:"Fit to Screen",default:!0},{value:"W",title:"Fit to Width"}],Q2=[{value:"btt",title:"Bottom to Top"},{value:"ltr",title:"Left to Right",default:!0},{value:"rtl",title:"Right to Left"},{value:"ttb",title:"Top to Bottom"}],Bn={fitTo:X2,readingDirection:Q2},_2=function(e){let t;return e?t=e.length===4&&!Number.isNaN(e)?"("+e+")":"v"+e:t="",t},q2=function({issueNumber:e,issueSuffix:t},n){let r;try{e==null&&!t&&(e=0);const s=Number.parseFloat(e),o=Math.floor(s);n===void 0&&(n=0),s===o?r=o.toString():(r=s.toString(),n+=r.split(".")[1].length+1),r=r.padStart(n,"0")}catch{r=""}return t&&(r+=t),r},ev=function({issueNumber:e,issueSuffix:t,issueCount:n},r){let s="#"+q2({issueNumber:e,issueSuffix:t},r);return n&&(s+=` of ${n}`),s},tv=function({seriesName:e,volumeName:t,issueNumber:n,issueSuffix:r,issueCount:s},o){const i=_2(t),a=ev({issueNumber:n,issueSuffix:r,issueCount:s},o);return[e,i,a].filter(Boolean).join(" ")},If={fitTo:"",twoPages:null,readingDirection:"",readRtlInReverse:null};Object.freeze(If);const Hf={cacheBook:!1};Object.freeze(Hf);const Wr=new Set(["",null,void 0]);Object.freeze(Wr);const Df={prev:"next",next:"prev"};Object.freeze(Df);const Fo={rel:"prefetch",as:"image"};Object.freeze(Fo);const Ri=new Set(["ttb","btt"]);Object.freeze(Ri);const Vf=new Set(["rtl","btt"]);Object.freeze(Vf);const hc=1,Ff={S:"Screen",W:"Width",H:"Height",O:"Original"};Object.freeze(Ff);const Oi=["breadcrumbs","show","topGroup","filters"];Object.freeze(Oi);const kf=Oi.map(e=>W2(e));Object.freeze(kf);const Nf=[...Oi,"browserArc"];Object.freeze(Nf);const ko={current:void 0,prev:!1,next:!1};Object.freeze(ko);const No={prev:!1,next:!1,books:{prev:!1,next:!1},close:Ge.breadcrumbs[0]};Object.freeze(No);const nv=()=>Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>600?"S":"W",pc=e=>{Ri.has(e.readingDirection)&&e.twoPages&&(e.twoPages=!1)},rv=Sr("reader",{state:()=>({choices:{fitTo:Bn.fitTo,readingDirection:Bn.readingDirection,nullValues:Wr},readerSettings:{fitTo:nv(),twoPages:Bn.twoPages,readingDirection:"ltr",readRtlInReverse:Bn.readRtlInReverse,finishOnLastPage:Bn.finishOnLastPage},browserSettings:{breadcrumbs:Ge.breadcrumbs,show:Ge.show,topGroup:"p"},books:it(ko),arcs:[],arc:{},mtime:0,empty:!1,page:void 0,routes:it(No),bookChange:void 0,reactWithScroll:!1,clientSettings:{cacheBook:!1,scale:hc},showToolbars:!1,settingsLoaded:!1,bookSettings:{}}),getters:{groupBooks(e){const t=[];return e.books.prev[0]&&t.push[e.books.prev[0]],t.push[e.books.current],e.books.next[0]&&t.push[e.books.next[0]],t},activeSettings(e){return e.getBookSettings(e.books.current)||{}},activeTitle(e){var r;const t=e.books.current;let n;return t?(((r=e.arcs[0])==null?void 0:r.group)!="f"&&(n=tv(t)),n||(n=t.filename||"")):n="",n},isVertical(e){return e.activeSettings.isVertical},isReadInReverse(e){return e.activeSettings.isReadInReverse},routeParams(e){return{pk:+e.books.current.pk,page:+e.page}},isPDF(e){var t,n;return((n=(t=e.books)==null?void 0:t.current)==null?void 0:n.fileType)=="PDF"},cacheBook(e){return e.clientSettings.cacheBook&&!(this.isPDF&&this.activeSettings.isVertical)},isPagesNotRoutes(e){return e.activeSettings.isVertical||this.cacheBook},isBTT(e){return e.activeSettings.readingDirection==="btt"},isFirstPage(e){return e.page===0},isLastPage(e){const t=e.books.current?e.books.current.maxPage:0,n=e.activeSettings.twoPages?1:0,r=t-n;return this.page>=r},closeBookRoute(e){var r,s;const t={name:"browser"};let n=e.routes.close;if(n){const o=(s=(r=e.books)==null?void 0:r.current)==null?void 0:s.pk;o&&(t.hash=`#card-${o}`)}else n=window.CODEX.LAST_ROUTE||Ge.breadcrumbs[0];return t.params=n,t},browserArcFilters(e){const t={};for(const[n,r]of Object.entries(e.browserSettings.filters))n!=="bookmark"&&r&&r.length>0&&(t[n]=r);return t},browserArc(e){var n;const t=(n=e.routes)==null?void 0:n.close;if(t&&t.pks&&t.pks!=="0")return{group:t.group,pks:t.pks,name:t.name,mtime:t.mtime,filters:e.browserArcFilters}},readerInfoSettings(e){const t={};for(const n of Nf){const r=e.browserSettings[n];r&&(t[n]=r)}return e.arc&&Object.keys(e.arc).length?t.arc={group:e.arc.group,pks:e.arc.pks}:e.browserArc&&(t.arc=e.browserArc),t}},actions:{setReadRTLInReverse(e){return this.readerSettings.readRtlInReverse&&e.readingDirection==="rtl"?{...e,readingDirection:"ltr"}:e},getBookSettings(e){if(!e)return{};if(!(e.pk in this.bookSettings)){const t=it(Wr);let n=e?e.settings:{};n=this.setReadRTLInReverse(n);const r=[this.readerSettings,n];for(const s of r)for(const[o,i]of Object.entries(s))Wr.has(i)||(t[o]=i);pc(t),t.isVertical=Ri.has(t.readingDirection),t.isReadInReverse=Vf.has(t.readingDirection),t.fitToClass=this.fitToClass(t),this.bookSettings[e.pk]=t}return this.bookSettings[e.pk]},bookChangeLocation(e){let t;return this.isBTT?t=e==="next"?"left":"right":t=e==="next"?"right":"left",t},bookChangeCursorClass(e){let t;return this.activeSettings.isReadInReverse?t=e==="next"?"up":"down":t=e==="next"?"down":"up",t+"Cursor"},bookChangeShow(e){return e==="prev"?this.books.prev&&this.isFirstPage:this.books.next&&this.isLastPage},bookChangeIcon(e){let t=e==="next";return this.isBTT&&(t=!t),t?P2:M2},isCoverPage(e,t){return e.readLtr!==!1&&t===0||e.readLtr&&t===e.maxPage},_getRouteParams(e,t,n){const r=n==="prev"?-1:1;let s=1;this.getBookSettings(e).twoPages&&!this.isCoverPage(e,+t+r)&&(s=2),s=s*r;const i=+t+s;let a=!1;return i>=0&&i<=e.maxPage&&(a={pk:e.pk,page:i}),a},fitToClass(e){const t={};let n;if(this.clientSettings.scale>hc?n="Orig":n=Ff[e.fitTo],n){let r="fitTo";r+=G2(n),e.isVertical?r+="Vertical":e.twoPages&&(r+="Two"),t[r]=!0}return t},_updateSettings(e,t){this.$patch(n=>{t?(n.books.current.settings={...n.books.current.settings,...e},pc(n.books.current.settings)):n.readerSettings={...n.readerSettings,...e},n.bookSettings={}})},toggleToolbars(){this.showToolbars=!this.showToolbars},reset(){this.$patch(e=>{e.arc=void 0,e.arcs=[],e.mtime=0,e.settingsLoaded=!1,e.books=it(ko),e.routes=it(No),e.bookSettings={}})},_getBookRoutePage(e,t){let n=0;if(t&&e.readLtr!==!1||!t&&e.readLtr===!1){const s=this.getBookSettings(e).twoPages?-1:0;n=e.maxPage+s}return n},_getBookRoute(e,t){if(!e)return!1;const n=this._getBookRoutePage(e,t);return{pk:e.pk,page:n}},_getBookRoutes(e,t){return{prev:this._getBookRoute(e,!0),next:this._getBookRoute(t,!1)}},async setRoutesAndBookmarkPage(e){const t=this.books.current;this.$patch(n=>{n.routes.prev=this._getRouteParams(t,e,"prev"),n.routes.next=this._getRouteParams(t,e,"next")}),await this._setBookmarkPage(e).then(()=>(this.bookChange=void 0,!0))},setActivePage(e,t=!0){if(e<0)return console.warn("Page out of bounds. Redirecting to 0."),this.routeToPage(0);if(e>this.books.current.maxPage)return console.warn(`Page out of bounds. Redirecting to ${this.books.current.maxPage}.`),this.routeToPage(this.books.current.maxPage);if(this.reactWithScroll=!!t,this.page=+e,this.setRoutesAndBookmarkPage(e),this.isPagesNotRoutes){const n={params:{pk:this.books.current.pk,page:e}},{href:r}=re.resolve(n);window.history.pushState({},void 0,r)}else window.scrollTo(0,0)},async loadBrowserSettings(){return gt.getSettings({only:kf,breadcrumbNames:!1}).then(e=>(this.$patch(t=>{t.browserSettings=e.data,!t.routes.close&&t.browserSettings.breadcrumbs&&(t.routes.close=t.browserSettings.breadcrumbs.at(-1))}),this.settingsLoaded?!0:(this.settingsLoaded=!0,this.loadBooks({})))).catch(console.error)},async loadReaderSettings(){ro.getReaderSettings().then(e=>{const t=e.data;return this._updateSettings(t,!1),this.empty=!1,this.loadBrowserSettings()}).catch(console.error)},async loadBooks({params:e,arc:t,mtime:n}){var i;this.settingsLoaded||this.loadReaderSettings();const r=re.currentRoute.value;e||(e=r.params);const s=e.pk,o=this.readerInfoSettings;t&&(o.arc=t),n||(n=(i=r.query)==null?void 0:i.ts,n||(n=this.mtime)),await ro.getReaderInfo(s,o,n).then(a=>{const c=a.data,u=c.books,l=[u==null?void 0:u.prevBook,u==null?void 0:u.current,u==null?void 0:u.nextBook];for(const d of l)d&&!d.settings&&(d.settings={});const f=this._getBookRoutes(u.prevBook,u.nextBook);return this.$patch(d=>{d.books.current=u.current,d.books.prev=u.prevBook,d.books.next=u.nextBook,d.arcs=c.arcs,d.arc=c.arc,d.routes.prev=this._getRouteParams(d.books.current,e.page,"prev"),d.routes.next=this._getRouteParams(d.books.current,e.page,"next"),d.routes.books=f,d.routes.close=c.closeRoute,d.empty=!1,d.mtime=c.mtime,d.bookSettings={}}),!0}).catch(a=>{console.debug(a),this.empty=!0})},async loadMtimes(){return await as.getMtime(this.arcs,{}).then(e=>{const t=e.data.maxMtime;return t!==this.mtime?this.loadBooks({mtime:t}):!0}).catch(console.error)},async _setBookmarkPage(e){const t={group:"c",ids:[+this.books.current.pk]};e=Math.max(Math.min(this.books.current.maxPage,e),0);const n={page:e};this.readerSettings.finishOnLastPage&&e>=this.books.current.maxPage&&(n.finished=!0),await gt.updateGroupBookmarks(t,{},n)},async setSettingsLocal(e){this._updateSettings(e,!0);const t={group:"c",ids:[+this.books.current.pk]};await gt.updateGroupBookmarks(t,{},this.books.current.settings)},setSettingsClient(e){this.clientSettings={...this.clientSettings,...e}},async clearSettingsLocal(){await this.setSettingsLocal(If),this.setSettingsClient(Hf)},async setSettingsGlobal(e){this._updateSettings(e,!1),await ro.updateReaderSettings(this.readerSettings),await this.clearSettingsLocal()},setBookChangeFlag(e){e=this.normalizeDirection(e),this.bookChange=this.routes.books[e]?e:void 0},linkLabel(e,t){return`${e==="prev"?"Previous":"Next"} ${t}`},normalizeDirection(e){return this.activeSettings.isReadInReverse?Df[e]:e},_validateRoute(e,t){if(t||(t=this.books.current),!t)return{};const n=t.maxPage??0;return e.page>n?(e.page=n,console.warn("Tried to navigate past the end of the book.")):e.page<0&&(e.page=0,console.warn("Tried to navigate before the beginning of the book.")),e},_routeTo(e,t){if(e=this._validateRoute(e,t),this.isPagesNotRoutes&&+e.pk===this.books.current.pk)this.setActivePage(+e.page,!0);else{const n={name:"reader",params:e};re.push(n).catch(console.debug)}},routeToDirectionOne(e){e=this.normalizeDirection(e);const t=e==="prev"?-1:1,n=this.page+=t;if(n<0||n>this.books.current.maxPage)return;const r={pk:this.books.current.pk,page:n};this._routeTo(r)},routeToDirection(e){if(e=this.normalizeDirection(e),this.routes[e]){const t=this.routes[e];this._routeTo(t)}else this.routes.books[e]?this.bookChange===e?this._routeTo(this.routes.books[e],this.books[e]):this.setBookChangeFlag(e):console.debug("No route to direction",e)},routeToPage(e){const t={pk:this.books.current.pk,page:e};this._routeTo(t)},routeToBook(e){this._routeTo(this.routes.books[e],this.books[e])},toRoute(e){return e?{params:e}:{}},_prefetchSrc(e,t,n=!1,r=!1){if(!e)return!1;const s=n?this.books[t]:this.books.current;if(!s)return!1;let o=e.page;if(r){if(!this.getBookSettings(s).twoPages)return!1;o+=1}if(o>s.maxPage)return!1;const i={pk:e.pk,page:o,mtime:s.mtime};return dc(i)},prefetchLinks(e,t,n=!1){if(!n&&this.cacheBook)return{};const r=[this._prefetchSrc(e,t,n,!1),this._prefetchSrc(e,t,n,!0)],s=[];for(const o of r)o&&s.push({...Fo,href:o});return{link:s}},prefetchBook(e){if(!this.cacheBook||e.fileType=="PDF")return{};const t=e.pk,n=[];for(let r=0;r<=e.maxPage;r++){const s={pk:t,page:r,mtime:e.mtime},o=dc(s);o&&n.push({...Fo,href:o})}return{link:n}}}}),jf=Dp();function sv(e){e.use(jf)}const jo=["admin-groups","admin-users","admin-libraries"];Object.freeze(jo);const $f=Sr("socket",{state:()=>({isConnected:!1,reconnectError:!1,app:void 0,heartBeatInterval:5*1e3,heartBeatTimer:0}),getters:{async adminStore(){if(ar().isUserAdmin)return dt(()=>import("./admin-kog1vr1-.js"),[]).then(e=>e.useAdminStore()).catch(console.error)}},actions:{SOCKET_ONOPEN(e){this.app.config.globalProperties.$socket=e.currentTarget,this.$patch(t=>{t.isConnected=!0,t.reconnectError=!1}),this.heartBeatTimer=window.setInterval(()=>{try{this.isConnected&&this.app.config.globalProperties.$socket.send("")}catch(t){console.warn("keep-alive",t)}},this.heartBeatInterval)},SOCKET_ONCLOSE(){this.isConnected=!1,window.clearInterval(this.heartBeatTimer),this.heartBeatTimer=0},SOCKET_ONERROR(e){console.error("socket error",e),this.$patch(t=>{t.isConnected=!1,t.reconnectError=!0})},SOCKET_ONMESSAGE(e){const t=e.data;switch(console.debug(t),t){case Dt.ADMIN_FLAGS:this.adminFlagsNotified();break;case Dt.BOOKMARK:this.bookmarksNotified();break;case Dt.COVERS:this.coversNotified();break;case Dt.GROUPS:this.groupsNotified();break;case Dt.USERS:this.usersNotified();break;case Dt.LIBRARY:this.libraryNotified();break;case Dt.LIBRARIAN_STATUS:this.adminLoadTables(["LibrarianStatus"]);break;case Dt.FAILED_IMPORTS:this.failedImportsNotified();break;default:console.debug("Unhandled websocket message:",t)}},SOCKET_RECONNECT(e){console.debug("socket reconnect",e)},SOCKET_RECONNECT_ERROR(){console.error("socket reconnect error"),this.reconnectError=!0},async adminLoadTables(e){this.adminStore&&(await this.adminStore).loadTables(e)},adminFlagsNotified(){var t,n;ar().loadAdminFlags(),((n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value)==null?void 0:n.name)==="admin-flags"&&this.adminLoadTables(["Flag"])},reloadBrowser(){var t,n;((n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value)==null?void 0:n.name)==="browser"&&fc().loadMtimes()},bookmarksNotified(){this.reloadBrowser()},coversNotified(){this.reloadBrowser()},groupsNotified(){var t,n;const e=(n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value)==null?void 0:n.name;jo.includes(e)&&this.adminLoadTables(["Group"])},usersNotified(){var t,n;const e=(n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value)==null?void 0:n.name;jo.includes(e)&&this.adminLoadTables(["User"])},async libraryNotified(){var t,n;switch(_n().setTimestamp(),(n=(t=re==null?void 0:re.currentRoute)==null?void 0:t.value)==null?void 0:n.name){case"browser":fc().loadMtimes();break;case"reader":rv().loadMtimes();break;case"admin-groups":this.adminLoadTables(["Library"]);break;case"admin-libraries":this.adminLoadTables(["Library","FailedImport"]);break;case"admin-stats":this.adminStore&&(await this.adminStore).loadStats();break}},async failedImportsNotified(){this.adminStore&&((await this.adminStore).unseenFailedImports=!0)}}});function ov(){return $f(jf)}const iv=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function Xt(e,t){return n=>Object.keys(e).reduce((r,s)=>{const i=typeof e[s]=="object"&&e[s]!=null&&!Array.isArray(e[s])?e[s]:{type:e[s]};return n&&s in n?r[s]={...i,default:n[s]}:r[s]=i,t&&!r[s].source&&(r[s].source=t),r},{})}const av=Xt({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component"),Ke=typeof window<"u",nS=Ke&&"IntersectionObserver"in window,cv=Ke&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function mc(e,t,n){lv(e,t),t.set(e,n)}function lv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function uv(e,t,n){return e.set(Bf(e,t),n),n}function nn(e,t){return e.get(Bf(e,t))}function Bf(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function Uf(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let s=0;s<r;s++){if(e==null)return n;e=e[t[s]]}return e==null||e[t[r]]===void 0?n:e[t[r]]}function fv(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const n=Object.keys(e);return n.length!==Object.keys(t).length?!1:n.every(r=>fv(e[r],t[r]))}function $o(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),Uf(e,t.split("."),n))}function rS(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const s=t(e,n);return typeof s>"u"?n:s}if(typeof t=="string")return $o(e,t,n);if(Array.isArray(t))return Uf(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function Gf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function Ir(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function sS(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function gc(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function Wf(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const oS=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),iS=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function aS(e){return Object.keys(e)}function so(e,t){return t.every(n=>e.hasOwnProperty(n))}function dv(e,t){const n={},r=new Set(Object.keys(e));for(const s of t)r.has(s)&&(n[s]=e[s]);return n}function vc(e,t,n){const r=Object.create(null),s=Object.create(null);for(const o in e)t.some(i=>i instanceof RegExp?i.test(o):i===o)&&!(n!=null&&n.some(i=>i===o))?r[o]=e[o]:s[o]=e[o];return[r,s]}function hv(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}function cS(e,t){const n={};return t.forEach(r=>n[r]=e[r]),n}const Kf=/^on[^a-z]/,lS=e=>Kf.test(e),pv=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],mv=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function uS(e){return e.isComposing&&mv.includes(e.key)}function fS(e){const[t,n]=vc(e,[Kf]),r=hv(t,pv),[s,o]=vc(n,["class","style","id",/^data-/]);return Object.assign(s,t),Object.assign(o,r),[s,o]}function dS(e){return e==null?[]:Array.isArray(e)?e:[e]}function hS(e,t){let n=0;const r=function(){for(var s=arguments.length,o=new Array(s),i=0;i<s;i++)o[i]=arguments[i];clearTimeout(n),n=setTimeout(()=>e(...o),$e(t))};return r.clear=()=>{clearTimeout(n)},r.immediate=e,r}function zf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function pS(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}function yc(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function bc(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function gv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r<e.length;)n.push(e.substr(r,t)),r+=t;return n}function Fe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const s in e)r[s]=e[s];for(const s in t){const o=e[s],i=t[s];if(gc(o)&&gc(i)){r[s]=Fe(o,i,n);continue}if(n&&Array.isArray(o)&&Array.isArray(i)){r[s]=n(o,i);continue}r[s]=i}return r}function vv(e){return e.map(t=>t.type===De?vv(t.children):t).flat()}function dn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(dn.cache.has(e))return dn.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return dn.cache.set(e,t),t}dn.cache=new Map;function Wn(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Wn(e,n)).flat(1);if(t.suspense)return Wn(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>Wn(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Wn(e,t.component.subTree).flat(1)}return[]}var Hr=new WeakMap,yn=new WeakMap;class mS{constructor(t){mc(this,Hr,[]),mc(this,yn,0),this.size=t}push(t){nn(Hr,this)[nn(yn,this)]=t,uv(yn,this,(nn(yn,this)+1)%this.size)}values(){return nn(Hr,this).slice(nn(yn,this)).concat(nn(Hr,this).slice(0,nn(yn,this)))}}function gS(e){const t=We({}),n=_(e);return vr(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),ii(t)}function vS(e,t){return e.includes(t)}function yS(e){return e[2].toLowerCase()+e.slice(3)}const bS=()=>[Function,Array];function SS(e,t){return t="on"+fr(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function CS(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(Array.isArray(e))for(const s of e)s(...n);else typeof e=="function"&&e(...n)}function yv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(r=>`${r}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function bv(e,t,n){let r,s=e.indexOf(document.activeElement);const o=t==="next"?1:-1;do s+=o,r=e[s];while((!r||r.offsetParent==null||!((n==null?void 0:n(r))??!0))&&s<e.length&&s>=0);return r}function Sv(e,t){var r,s,o,i;const n=yv(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((r=n[0])==null||r.focus());else if(t==="first")(s=n[0])==null||s.focus();else if(t==="last")(o=n.at(-1))==null||o.focus();else if(typeof t=="number")(i=n[t])==null||i.focus();else{const a=bv(n,t);a?a.focus():Sv(e,t==="next"?"first":"last")}}function AS(e){return e==null||typeof e=="string"&&e.trim()===""}function LS(){}function ES(e,t){if(!(Ke&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function Cv(e){return e.some(t=>xn(t)?t.type===Ve?!1:t.type!==De||Cv(t.children):!0)?e:null}function wS(e,t){if(!Ke||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function TS(e,t){const n=e.clientX,r=e.clientY,s=t.getBoundingClientRect(),o=s.left,i=s.top,a=s.right,c=s.bottom;return n>=o&&n<=a&&r>=i&&r<=c}function Av(){const e=bt(),t=n=>{e.value=n};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:n=>e.value=n}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>Wf(e.value)}),t}function xS(e){const t=e.key.length===1,n=!e.ctrlKey&&!e.metaKey&&!e.altKey;return t&&n}const bn=2.4,Sc=.2126729,Cc=.7151522,Ac=.072175,Lv=.55,Ev=.58,wv=.57,Tv=.62,Dr=.03,Lc=1.45,xv=5e-4,Rv=1.25,Ov=1.25,Ec=.078,wc=12.82051282051282,Vr=.06,Tc=.001;function xc(e,t){const n=(e.r/255)**bn,r=(e.g/255)**bn,s=(e.b/255)**bn,o=(t.r/255)**bn,i=(t.g/255)**bn,a=(t.b/255)**bn;let c=n*Sc+r*Cc+s*Ac,u=o*Sc+i*Cc+a*Ac;if(c<=Dr&&(c+=(Dr-c)**Lc),u<=Dr&&(u+=(Dr-u)**Lc),Math.abs(u-c)<xv)return 0;let l;if(u>c){const f=(u**Lv-c**Ev)*Rv;l=f<Tc?0:f<Ec?f-f*wc*Vr:f-Vr}else{const f=(u**Tv-c**wv)*Ov;l=f>-Tc?0:f>-Ec?f-f*wc*Vr:f+Vr}return l*100}function RS(e){}function OS(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const cs=.20689655172413793,Pv=e=>e>cs**3?Math.cbrt(e):e/(3*cs**2)+4/29,Mv=e=>e>cs?e**3:3*cs**2*(e-4/29);function Zf(e){const t=Pv,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function Yf(e){const t=Mv,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const Iv=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Hv=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,Dv=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Vv=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Jf(e){const t=Array(3),n=Hv,r=Iv;for(let s=0;s<3;++s)t[s]=Math.round(zf(n(r[s][0]*e[0]+r[s][1]*e[1]+r[s][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Pi(e){let{r:t,g:n,b:r}=e;const s=[0,0,0],o=Vv,i=Dv;t=o(t/255),n=o(n/255),r=o(r/255);for(let a=0;a<3;++a)s[a]=i[a][0]*t+i[a][1]*n+i[a][2]*r;return s}function Fv(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function PS(e){return Fv(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const Rc=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,kv={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>Oc({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>Oc({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>ur({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>ur({h:e,s:t,v:n,a:r})};function Tt(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&Rc.test(e)){const{groups:t}=e.match(Rc),{fn:n,values:r}=t,s=r.split(/,\s*/).map(o=>o.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(o)/100:parseFloat(o));return kv[n](...s)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),jv(t)}else if(typeof e=="object"){if(so(e,["r","g","b"]))return e;if(so(e,["h","s","l"]))return ur(Xf(e));if(so(e,["h","s","v"]))return ur(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name}
32
32
  Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function ur(e){const{h:t,s:n,v:r,a:s}=e,o=a=>{const c=(a+t/60)%6;return r-r*n*Math.max(Math.min(c,4-c,1),0)},i=[o(5),o(3),o(1)].map(a=>Math.round(a*255));return{r:i[0],g:i[1],b:i[2],a:s}}function Oc(e){return ur(Xf(e))}function Xf(e){const{h:t,s:n,l:r,a:s}=e,o=r+n*Math.min(r,1-r),i=o===0?0:2-2*r/o;return{h:t,s:i,v:o,a:s}}function Fr(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function Nv(e){let{r:t,g:n,b:r,a:s}=e;return`#${[Fr(t),Fr(n),Fr(r),s!==void 0?Fr(Math.round(s*255)):""].join("")}`}function jv(e){e=$v(e);let[t,n,r,s]=gv(e,2).map(o=>parseInt(o,16));return s=s===void 0?s:s/255,{r:t,g:n,b:r,a:s}}function $v(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=yc(yc(e,6),8,"F")),e}function Bv(e,t){const n=Zf(Pi(e));return n[0]=n[0]+t*10,Jf(Yf(n))}function Uv(e,t){const n=Zf(Pi(e));return n[0]=n[0]-t*10,Jf(Yf(n))}function Gv(e){const t=Tt(e);return Pi(t)[1]}function Wv(e){const t=Math.abs(xc(Tt(0),Tt(e)));return Math.abs(xc(Tt(16777215),Tt(e)))>Math.min(t,50)?"#fff":"#000"}function Pt(e,t){const n=yr();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function Kv(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=Pt(e).type;return dn((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let Qf=0,Kr=new WeakMap;function Mi(){const e=Pt("getUid");if(Kr.has(e))return Kr.get(e);{const t=Qf++;return Kr.set(e,t),t}}Mi.reset=()=>{Qf=0,Kr=new WeakMap};function zv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pt("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}const In=Symbol.for("vuetify:defaults");function Zv(e){return Pe(e)}function Ii(){const e=Ae(In);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function MS(e,t){const n=Ii(),r=Pe(e),s=_(()=>{if($e(t==null?void 0:t.disabled))return n.value;const i=$e(t==null?void 0:t.scoped),a=$e(t==null?void 0:t.reset),c=$e(t==null?void 0:t.root);if(r.value==null&&!(i||a||c))return n.value;let u=Fe(r.value,{prev:n.value});if(i)return u;if(a||c){const l=Number(a||1/0);for(let f=0;f<=l&&!(!u||!("prev"in u));f++)u=u.prev;return u&&typeof c=="string"&&c in u&&(u=Fe(Fe(u,{prev:u}),u[c])),u}return u.prev?Fe(u.prev,u):u});return xt(In,s),s}function Yv(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[dn(t)])<"u"}function Jv(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ii();const r=Pt("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const s=_(()=>{var c;return(c=n.value)==null?void 0:c[e._as??t]}),o=new Proxy(e,{get(c,u){var f,d,h,p,m,g,b;const l=Reflect.get(c,u);return u==="class"||u==="style"?[(f=s.value)==null?void 0:f[u],l].filter(S=>S!=null):typeof u=="string"&&!Yv(r.vnode,u)?((d=s.value)==null?void 0:d[u])!==void 0?(h=s.value)==null?void 0:h[u]:((m=(p=n.value)==null?void 0:p.global)==null?void 0:m[u])!==void 0?(b=(g=n.value)==null?void 0:g.global)==null?void 0:b[u]:l:l}}),i=bt();vr(()=>{if(s.value){const c=Object.entries(s.value).filter(u=>{let[l]=u;return l.startsWith(l[0].toUpperCase())});i.value=c.length?Object.fromEntries(c):void 0}else i.value=void 0});function a(){const c=zv(In,r);xt(In,_(()=>i.value?Fe((c==null?void 0:c.value)??{},i.value):c==null?void 0:c.value))}return{props:o,provideSubDefaults:a}}function Er(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=Xt(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return dv(r,t)},e.props._as=String,e.setup=function(r,s){const o=Ii();if(!o.value)return e._setup(r,s);const{props:i,provideSubDefaults:a}=Jv(r,r._as??e.name,o),c=e._setup(i,s);return a(),c}}return e}function _f(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Er:ys)(t)}function IS(e,t){return t.props=e,t}function Xv(e){const t=Pt("useRender");t.render=e}function Qv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=Av(),r=Pe();if(Ke){const s=new ResizeObserver(o=>{e==null||e(o,s),o.length&&(t==="content"?r.value=o[0].contentRect:r.value=o[0].target.getBoundingClientRect())});gr(()=>{s.disconnect()}),_e(()=>n.el,(o,i)=>{i&&(s.unobserve(i),r.value=void 0),o&&s.observe(o)},{flush:"post"})}return{resizeRef:n,contentRect:ni(r)}}const ls=Symbol.for("vuetify:layout"),qf=Symbol.for("vuetify:layout-item"),Pc=1e3,_v=Xt({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),HS=Xt({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function DS(){const e=Ae(ls);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function VS(e){const t=Ae(ls);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${Mi()}`,r=Pt("useLayoutItem");xt(qf,{id:n});const s=bt(!1);fi(()=>s.value=!0),ui(()=>s.value=!1);const{layoutItemStyles:o,layoutItemScrimStyles:i}=t.register(r,{...e,active:_(()=>s.value?!1:e.active.value),id:n});return gr(()=>t.unregister(n)),{layoutItemStyles:o,layoutRect:t.layoutRect,layoutItemScrimStyles:i}}const qv=(e,t,n,r)=>{let s={top:0,left:0,right:0,bottom:0};const o=[{id:"",layer:{...s}}];for(const i of e){const a=t.get(i),c=n.get(i),u=r.get(i);if(!a||!c||!u)continue;const l={...s,[a.value]:parseInt(s[a.value],10)+(u.value?parseInt(c.value,10):0)};o.push({id:i,layer:l}),s=l}return o};function ey(e){const t=Ae(ls,null),n=_(()=>t?t.rootZIndex.value-100:Pc),r=Pe([]),s=We(new Map),o=We(new Map),i=We(new Map),a=We(new Map),c=We(new Map),{resizeRef:u,contentRect:l}=Qv(),f=_(()=>{const w=new Map,O=e.overlaps??[];for(const L of O.filter(A=>A.includes(":"))){const[A,x]=L.split(":");if(!r.value.includes(A)||!r.value.includes(x))continue;const I=s.get(A),P=s.get(x),V=o.get(A),J=o.get(x);!I||!P||!V||!J||(w.set(x,{position:I.value,amount:parseInt(V.value,10)}),w.set(A,{position:P.value,amount:-parseInt(J.value,10)}))}return w}),d=_(()=>{const w=[...new Set([...i.values()].map(L=>L.value))].sort((L,A)=>L-A),O=[];for(const L of w){const A=r.value.filter(x=>{var I;return((I=i.get(x))==null?void 0:I.value)===L});O.push(...A)}return qv(O,s,o,a)}),h=_(()=>!Array.from(c.values()).some(w=>w.value)),p=_(()=>d.value[d.value.length-1].layer),m=_(()=>({"--v-layout-left":Ir(p.value.left),"--v-layout-right":Ir(p.value.right),"--v-layout-top":Ir(p.value.top),"--v-layout-bottom":Ir(p.value.bottom),...h.value?void 0:{transition:"none"}})),g=_(()=>d.value.slice(1).map((w,O)=>{let{id:L}=w;const{layer:A}=d.value[O],x=o.get(L),I=s.get(L);return{id:L,...A,size:Number(x.value),position:I.value}})),b=w=>g.value.find(O=>O.id===w),S=Pt("createLayout"),C=bt(!1);di(()=>{C.value=!0}),xt(ls,{register:(w,O)=>{let{id:L,order:A,position:x,layoutSize:I,elementSize:P,active:V,disableTransitions:J,absolute:se}=O;i.set(L,A),s.set(L,x),o.set(L,I),a.set(L,V),J&&c.set(L,J);const K=Wn(qf,S==null?void 0:S.vnode).indexOf(w);K>-1?r.value.splice(K,0,L):r.value.push(L);const Y=_(()=>g.value.findIndex(ye=>ye.id===L)),he=_(()=>n.value+d.value.length*2-Y.value*2),ae=_(()=>{const ye=x.value==="left"||x.value==="right",xe=x.value==="right",rt=x.value==="bottom",Qt=P.value??I.value,Be=Qt===0?"%":"px",D={[x.value]:0,zIndex:he.value,transform:`translate${ye?"X":"Y"}(${(V.value?0:-(Qt===0?100:Qt))*(xe||rt?-1:1)}${Be})`,position:se.value||n.value!==Pc?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(!C.value)return D;const B=g.value[Y.value];if(!B)throw new Error(`[Vuetify] Could not find layout item "${L}"`);const U=f.value.get(L);return U&&(B[U.position]+=U.amount),{...D,height:ye?`calc(100% - ${B.top}px - ${B.bottom}px)`:P.value?`${P.value}px`:void 0,left:xe?void 0:`${B.left}px`,right:xe?`${B.right}px`:void 0,top:x.value!=="bottom"?`${B.top}px`:void 0,bottom:x.value!=="top"?`${B.bottom}px`:void 0,width:ye?P.value?`${P.value}px`:void 0:`calc(100% - ${B.left}px - ${B.right}px)`}}),we=_(()=>({zIndex:he.value-1}));return{layoutItemStyles:ae,layoutItemScrimStyles:we,zIndex:he}},unregister:w=>{i.delete(w),s.delete(w),o.delete(w),a.delete(w),c.delete(w),r.value=r.value.filter(O=>O!==w)},mainRect:p,mainStyles:m,getLayoutItem:b,items:g,layoutRect:l,rootZIndex:n});const E=_(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),R=_(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:E,layoutStyles:R,getLayoutItem:b,items:g,layoutRect:l,layoutRef:u}}function ty(e,t){let n;function r(){n=Xo(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}_e(e,s=>{s&&!n?r():s||(n==null||n.stop(),n=void 0)},{immediate:!0}),ll(()=>{n==null||n.stop()})}function ny(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const o=Pt("useProxiedModel"),i=Pe(e[t]!==void 0?e[t]:n),a=dn(t),u=_(a!==t?()=>{var f,d,h,p;return e[t],!!(((f=o.vnode.props)!=null&&f.hasOwnProperty(t)||(d=o.vnode.props)!=null&&d.hasOwnProperty(a))&&((h=o.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${t}`)||(p=o.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${a}`)))}:()=>{var f,d;return e[t],!!((f=o.vnode.props)!=null&&f.hasOwnProperty(t)&&((d=o.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${t}`)))});ty(()=>!u.value,()=>{_e(()=>e[t],f=>{i.value=f})});const l=_({get(){const f=e[t];return r(u.value?f:i.value)},set(f){const d=s(f),h=oe(u.value?e[t]:i.value);h===d||r(h)===f||(i.value=d,o==null||o.emit(`update:${t}`,d))}});return Object.defineProperty(l,"externalValue",{get:()=>u.value?e[t]:i.value}),l}const ry={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},Mc="$vuetify.",Ic=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[+r])),ed=(e,t,n)=>function(r){for(var s=arguments.length,o=new Array(s>1?s-1:0),i=1;i<s;i++)o[i-1]=arguments[i];if(!r.startsWith(Mc))return Ic(r,o);const a=r.replace(Mc,""),c=e.value&&n.value[e.value],u=t.value&&n.value[t.value];let l=$o(c,a,null);return l||(`${r}${e.value}`,l=$o(u,a,null)),l||(l=r),typeof l!="string"&&(l=r),Ic(l,o)};function td(e,t){return(n,r)=>new Intl.NumberFormat([e.value,t.value],r).format(n)}function oo(e,t,n){const r=ny(e,t,e[t]??n.value);return r.value=e[t]??n.value,_e(n,s=>{e[t]==null&&(r.value=n.value)}),r}function nd(e){return t=>{const n=oo(t,"locale",e.current),r=oo(t,"fallback",e.fallback),s=oo(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:s,t:ed(n,r,s),n:td(n,r),provide:nd({current:n,fallback:r,messages:s})}}}function sy(e){const t=bt((e==null?void 0:e.locale)??"en"),n=bt((e==null?void 0:e.fallback)??"en"),r=Pe({en:ry,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,t:ed(t,n,r),n:td(t,n),provide:nd({current:t,fallback:n,messages:r})}}const us=Symbol.for("vuetify:locale");function oy(e){return e.name!=null}function iy(e){const t=e!=null&&e.adapter&&oy(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:sy(e),n=cy(t,e);return{...t,...n}}function FS(){const e=Ae(us);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function ay(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function cy(e,t){const n=Pe((t==null?void 0:t.rtl)??ay()),r=_(()=>n.value[e.current.value]??!1);return{isRtl:r,rtl:n,rtlClasses:_(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function rd(){const e=Ae(us);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const fs=Symbol.for("vuetify:theme"),ly=Xt({theme:String},"theme");function Hc(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function uy(){var r,s;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hc();const t=Hc();if(!e)return{...t,isDisabled:!0};const n={};for(const[o,i]of Object.entries(e.themes??{})){const a=i.dark||o==="dark"?(r=t.themes)==null?void 0:r.dark:(s=t.themes)==null?void 0:s.light;n[o]=Fe(a,i)}return Fe(t,{...e,themes:n})}function fy(e){const t=uy(e),n=Pe(t.defaultTheme),r=Pe(t.themes),s=_(()=>{const l={};for(const[f,d]of Object.entries(r.value)){const h=l[f]={...d,colors:{...d.colors}};if(t.variations)for(const p of t.variations.colors){const m=h.colors[p];if(m)for(const g of["lighten","darken"]){const b=g==="lighten"?Bv:Uv;for(const S of Gf(t.variations[g],1))h.colors[`${p}-${g}-${S}`]=Nv(b(Tt(m),S))}}for(const p of Object.keys(h.colors)){if(/^on-[a-z]/.test(p)||h.colors[`on-${p}`])continue;const m=`on-${p}`,g=Tt(h.colors[p]);h.colors[m]=Wv(g)}}return l}),o=_(()=>s.value[n.value]),i=_(()=>{var p;const l=[];(p=o.value)!=null&&p.dark&&rn(l,":root",["color-scheme: dark"]),rn(l,":root",Dc(o.value));for(const[m,g]of Object.entries(s.value))rn(l,`.v-theme--${m}`,[`color-scheme: ${g.dark?"dark":"normal"}`,...Dc(g)]);const f=[],d=[],h=new Set(Object.values(s.value).flatMap(m=>Object.keys(m.colors)));for(const m of h)/^on-[a-z]/.test(m)?rn(d,`.${m}`,[`color: rgb(var(--v-theme-${m})) !important`]):(rn(f,`.bg-${m}`,[`--v-theme-overlay-multiplier: var(--v-theme-${m}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${m})) !important`,`color: rgb(var(--v-theme-on-${m})) !important`]),rn(d,`.text-${m}`,[`color: rgb(var(--v-theme-${m})) !important`]),rn(d,`.border-${m}`,[`--v-border-color: var(--v-theme-${m})`]));return l.push(...f,...d),l.map((m,g)=>g===0?m:` ${m}`).join("")});function a(){return{style:[{children:i.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function c(l){if(t.isDisabled)return;const f=l._context.provides.usehead;if(f)if(f.push){const d=f.push(a);Ke&&_e(i,()=>{d.patch(a)})}else Ke?(f.addHeadObjs(_(a)),vr(()=>f.updateDOM())):f.addHeadObjs(a());else{let h=function(){if(typeof document<"u"&&!d){const p=document.createElement("style");p.type="text/css",p.id="vuetify-theme-stylesheet",t.cspNonce&&p.setAttribute("nonce",t.cspNonce),d=p,document.head.appendChild(d)}d&&(d.innerHTML=i.value)},d=Ke?document.getElementById("vuetify-theme-stylesheet"):null;Ke?_e(i,h,{immediate:!0}):h()}}const u=_(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:c,isDisabled:t.isDisabled,name:n,themes:r,current:o,computedThemes:s,themeClasses:u,styles:i,global:{name:n,current:o}}}function dy(e){Pt("provideTheme");const t=Ae(fs,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=_(()=>e.theme??t.name.value),r=_(()=>t.themes.value[n.value]),s=_(()=>t.isDisabled?void 0:`v-theme--${n.value}`),o={...t,name:n,current:r,themeClasses:s};return xt(fs,o),o}function rn(e,t,n){e.push(`${t} {
33
33
  `,...n.map(r=>` ${r};
34
34
  `),`}