codex 1.8.2__py3-none-any.whl → 1.8.3__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 (407) hide show
  1. codex/librarian/scribe/importer/search/sync_m2m.py +2 -2
  2. codex/static_root/assets/{VCheckbox-B2ZlilbV.28184c7a94e4.js → VCheckbox-D_XyTZ4u.462bf6bac369.js} +1 -1
  3. codex/static_root/assets/VCheckbox-D_XyTZ4u.462bf6bac369.js.br +0 -0
  4. codex/static_root/assets/VCheckbox-D_XyTZ4u.462bf6bac369.js.gz +0 -0
  5. codex/static_root/assets/{VCheckbox-B2ZlilbV.js → VCheckbox-D_XyTZ4u.js} +1 -1
  6. codex/static_root/assets/VCheckbox-D_XyTZ4u.js.br +0 -0
  7. codex/static_root/assets/VCheckbox-D_XyTZ4u.js.gz +0 -0
  8. codex/static_root/assets/{VCheckboxBtn-h7KZtjJ5.a7191f4b5843.js → VCheckboxBtn-BfvjNP65.a0bab3a9f68b.js} +1 -1
  9. codex/static_root/assets/VCheckboxBtn-BfvjNP65.a0bab3a9f68b.js.br +0 -0
  10. codex/static_root/assets/VCheckboxBtn-BfvjNP65.a0bab3a9f68b.js.gz +0 -0
  11. codex/static_root/assets/{VCheckboxBtn-h7KZtjJ5.js → VCheckboxBtn-BfvjNP65.js} +1 -1
  12. codex/static_root/assets/VCheckboxBtn-BfvjNP65.js.br +0 -0
  13. codex/static_root/assets/VCheckboxBtn-BfvjNP65.js.gz +0 -0
  14. codex/static_root/assets/{VCombobox-BYYvIrtG.1117a51eb643.js → VCombobox-BbwYSLBR.2f7146fa1ffd.js} +1 -1
  15. codex/static_root/assets/VCombobox-BbwYSLBR.2f7146fa1ffd.js.br +0 -0
  16. codex/static_root/assets/VCombobox-BbwYSLBR.2f7146fa1ffd.js.gz +0 -0
  17. codex/static_root/assets/{VCombobox-BYYvIrtG.js → VCombobox-BbwYSLBR.js} +1 -1
  18. codex/static_root/assets/VCombobox-BbwYSLBR.js.br +0 -0
  19. codex/static_root/assets/VCombobox-BbwYSLBR.js.gz +0 -0
  20. codex/static_root/assets/{VDialog-DnPP-omh.0ce4b25f53a2.js → VDialog-B0Jacmz7.68a94eee024a.js} +1 -1
  21. codex/static_root/assets/VDialog-B0Jacmz7.68a94eee024a.js.br +0 -0
  22. codex/static_root/assets/VDialog-B0Jacmz7.68a94eee024a.js.gz +0 -0
  23. codex/static_root/assets/{VDialog-DnPP-omh.js → VDialog-B0Jacmz7.js} +1 -1
  24. codex/static_root/assets/VDialog-B0Jacmz7.js.br +0 -0
  25. codex/static_root/assets/VDialog-B0Jacmz7.js.gz +0 -0
  26. codex/static_root/assets/{VDivider-B71_-qD9.e2cbea33d500.js → VDivider-CTBs-b0b.d0689e7d49d3.js} +1 -1
  27. codex/static_root/assets/VDivider-CTBs-b0b.d0689e7d49d3.js.br +0 -0
  28. codex/static_root/assets/VDivider-CTBs-b0b.d0689e7d49d3.js.gz +0 -0
  29. codex/static_root/assets/{VDivider-B71_-qD9.js → VDivider-CTBs-b0b.js} +1 -1
  30. codex/static_root/assets/VDivider-CTBs-b0b.js.br +0 -0
  31. codex/static_root/assets/VDivider-CTBs-b0b.js.gz +0 -0
  32. codex/static_root/assets/{VExpansionPanels-BIGcavfd.e535f56adb4e.js → VExpansionPanels-ConOnIoK.a2f51811651b.js} +1 -1
  33. codex/static_root/assets/VExpansionPanels-ConOnIoK.a2f51811651b.js.br +0 -0
  34. codex/static_root/assets/VExpansionPanels-ConOnIoK.a2f51811651b.js.gz +0 -0
  35. codex/static_root/assets/{VExpansionPanels-BIGcavfd.js → VExpansionPanels-ConOnIoK.js} +1 -1
  36. codex/static_root/assets/VExpansionPanels-ConOnIoK.js.br +0 -0
  37. codex/static_root/assets/VExpansionPanels-ConOnIoK.js.gz +0 -0
  38. codex/static_root/assets/{VForm-DYkeLPZX.b4cf1062a1ae.js → VForm-BIO5K7ci.2e61c9435367.js} +1 -1
  39. codex/static_root/assets/VForm-BIO5K7ci.2e61c9435367.js.br +0 -0
  40. codex/static_root/assets/VForm-BIO5K7ci.2e61c9435367.js.gz +0 -0
  41. codex/static_root/assets/{VForm-DYkeLPZX.js → VForm-BIO5K7ci.js} +1 -1
  42. codex/static_root/assets/VForm-BIO5K7ci.js.br +0 -0
  43. codex/static_root/assets/VForm-BIO5K7ci.js.gz +0 -0
  44. codex/static_root/assets/{VRadioGroup-BTcnaJxP.48f9437be4cc.js → VRadioGroup-RHrJKa0c.1fdc29fcda3d.js} +1 -1
  45. codex/static_root/assets/VRadioGroup-RHrJKa0c.1fdc29fcda3d.js.br +0 -0
  46. codex/static_root/assets/VRadioGroup-RHrJKa0c.1fdc29fcda3d.js.gz +0 -0
  47. codex/static_root/assets/{VRadioGroup-BTcnaJxP.js → VRadioGroup-RHrJKa0c.js} +1 -1
  48. codex/static_root/assets/VRadioGroup-RHrJKa0c.js.br +0 -0
  49. codex/static_root/assets/VRadioGroup-RHrJKa0c.js.gz +0 -0
  50. codex/static_root/assets/{VSelect-BpsRhDw4.e48026d906d5.js → VSelect-CfpKJejR.72a85cc6f066.js} +1 -1
  51. codex/static_root/assets/VSelect-CfpKJejR.72a85cc6f066.js.br +0 -0
  52. codex/static_root/assets/VSelect-CfpKJejR.72a85cc6f066.js.gz +0 -0
  53. codex/static_root/assets/{VSelect-BpsRhDw4.js → VSelect-CfpKJejR.js} +1 -1
  54. codex/static_root/assets/VSelect-CfpKJejR.js.br +0 -0
  55. codex/static_root/assets/VSelect-CfpKJejR.js.gz +0 -0
  56. codex/static_root/assets/{VSelectionControl-DShFWXoi.d9dc2c02beab.js → VSelectionControl-gIR5jZDY.fd0da30d68c7.js} +1 -1
  57. codex/static_root/assets/VSelectionControl-gIR5jZDY.fd0da30d68c7.js.br +0 -0
  58. codex/static_root/assets/{VSelectionControl-DShFWXoi.d9dc2c02beab.js.gz → VSelectionControl-gIR5jZDY.fd0da30d68c7.js.gz} +0 -0
  59. codex/static_root/assets/{VSelectionControl-DShFWXoi.js → VSelectionControl-gIR5jZDY.js} +1 -1
  60. codex/static_root/assets/VSelectionControl-gIR5jZDY.js.br +0 -0
  61. codex/static_root/assets/{VSelectionControl-DShFWXoi.js.gz → VSelectionControl-gIR5jZDY.js.gz} +0 -0
  62. codex/static_root/assets/{VTable-DdYDbUS9.9283748ab334.js → VTable-DzpeXwjm.7435f1aea6f5.js} +1 -1
  63. codex/static_root/assets/VTable-DzpeXwjm.7435f1aea6f5.js.br +0 -0
  64. codex/static_root/assets/VTable-DzpeXwjm.7435f1aea6f5.js.gz +0 -0
  65. codex/static_root/assets/{VTable-DdYDbUS9.js → VTable-DzpeXwjm.js} +1 -1
  66. codex/static_root/assets/VTable-DzpeXwjm.js.br +0 -0
  67. codex/static_root/assets/VTable-DzpeXwjm.js.gz +0 -0
  68. codex/static_root/assets/{VWindowItem-DqU2Y2vf.5d09e765604b.js → VWindowItem-TQGw1ubw.9b4f22d58ee9.js} +1 -1
  69. codex/static_root/assets/VWindowItem-TQGw1ubw.9b4f22d58ee9.js.br +0 -0
  70. codex/static_root/assets/VWindowItem-TQGw1ubw.9b4f22d58ee9.js.gz +0 -0
  71. codex/static_root/assets/{VWindowItem-DqU2Y2vf.js → VWindowItem-TQGw1ubw.js} +1 -1
  72. codex/static_root/assets/VWindowItem-TQGw1ubw.js.br +0 -0
  73. codex/static_root/assets/VWindowItem-TQGw1ubw.js.gz +0 -0
  74. codex/static_root/assets/{admin-BNZOvNK8.8a1ec771dfce.js → admin-BTr0-CtZ.4bb52847aaff.js} +1 -1
  75. codex/static_root/assets/admin-BTr0-CtZ.4bb52847aaff.js.br +0 -0
  76. codex/static_root/assets/admin-BTr0-CtZ.4bb52847aaff.js.gz +0 -0
  77. codex/static_root/assets/{admin-BNZOvNK8.js → admin-BTr0-CtZ.js} +1 -1
  78. codex/static_root/assets/admin-BTr0-CtZ.js.br +0 -0
  79. codex/static_root/assets/admin-BTr0-CtZ.js.gz +0 -0
  80. codex/static_root/assets/{admin-CIbnFqxt.aba0cb32c63c.js → admin-DHwj2Jb3.f8bfa0dfd940.js} +1 -1
  81. codex/static_root/assets/admin-DHwj2Jb3.f8bfa0dfd940.js.br +0 -0
  82. codex/static_root/assets/admin-DHwj2Jb3.f8bfa0dfd940.js.gz +0 -0
  83. codex/static_root/assets/{admin-CIbnFqxt.js → admin-DHwj2Jb3.js} +1 -1
  84. codex/static_root/assets/admin-DHwj2Jb3.js.br +0 -0
  85. codex/static_root/assets/admin-DHwj2Jb3.js.gz +0 -0
  86. codex/static_root/assets/{admin-menu-UWxwskvN.dfef156c4ecf.js → admin-menu-BJlDRSiM.6a930ab3f184.js} +1 -1
  87. codex/static_root/assets/admin-menu-BJlDRSiM.6a930ab3f184.js.br +0 -0
  88. codex/static_root/assets/admin-menu-BJlDRSiM.6a930ab3f184.js.gz +0 -0
  89. codex/static_root/assets/{admin-menu-UWxwskvN.js → admin-menu-BJlDRSiM.js} +1 -1
  90. codex/static_root/assets/admin-menu-BJlDRSiM.js.br +0 -0
  91. codex/static_root/assets/admin-menu-BJlDRSiM.js.gz +0 -0
  92. codex/static_root/assets/{admin-settings-button-progress-COcdrWwS.305b57c54f47.js → admin-settings-button-progress-CiAb3cc6.3cbd997daa51.js} +1 -1
  93. codex/static_root/assets/admin-settings-button-progress-CiAb3cc6.3cbd997daa51.js.br +0 -0
  94. codex/static_root/assets/admin-settings-button-progress-CiAb3cc6.3cbd997daa51.js.gz +0 -0
  95. codex/static_root/assets/{admin-settings-button-progress-COcdrWwS.js → admin-settings-button-progress-CiAb3cc6.js} +1 -1
  96. codex/static_root/assets/admin-settings-button-progress-CiAb3cc6.js.br +0 -0
  97. codex/static_root/assets/admin-settings-button-progress-CiAb3cc6.js.gz +0 -0
  98. codex/static_root/assets/{browser-DMRabbl3.js → browser-CP7xkxBf.958314414cee.js} +1 -1
  99. codex/static_root/assets/browser-CP7xkxBf.958314414cee.js.br +0 -0
  100. codex/static_root/assets/browser-CP7xkxBf.958314414cee.js.gz +0 -0
  101. codex/static_root/assets/{browser-DMRabbl3.a43f49e6d015.js → browser-CP7xkxBf.js} +1 -1
  102. codex/static_root/assets/browser-CP7xkxBf.js.br +0 -0
  103. codex/static_root/assets/browser-CP7xkxBf.js.gz +0 -0
  104. codex/static_root/assets/{change-password-dialog-CsooBUm0.c929eba44730.js → change-password-dialog-BBUWNZ9T.9a4b4651aaca.js} +1 -1
  105. codex/static_root/assets/change-password-dialog-BBUWNZ9T.9a4b4651aaca.js.br +0 -0
  106. codex/static_root/assets/change-password-dialog-BBUWNZ9T.9a4b4651aaca.js.gz +0 -0
  107. codex/static_root/assets/{change-password-dialog-CsooBUm0.js → change-password-dialog-BBUWNZ9T.js} +1 -1
  108. codex/static_root/assets/change-password-dialog-BBUWNZ9T.js.br +0 -0
  109. codex/static_root/assets/change-password-dialog-BBUWNZ9T.js.gz +0 -0
  110. codex/static_root/assets/{confirm-dialog-Ct8FD21H.3fec98632388.js → confirm-dialog-DigFSpih.c5546a032b3a.js} +1 -1
  111. codex/static_root/assets/confirm-dialog-DigFSpih.c5546a032b3a.js.br +0 -0
  112. codex/static_root/assets/confirm-dialog-DigFSpih.c5546a032b3a.js.gz +0 -0
  113. codex/static_root/assets/{confirm-dialog-Ct8FD21H.js → confirm-dialog-DigFSpih.js} +1 -1
  114. codex/static_root/assets/confirm-dialog-DigFSpih.js.br +0 -0
  115. codex/static_root/assets/confirm-dialog-DigFSpih.js.gz +0 -0
  116. codex/static_root/assets/{datetime-column-jQlXmdps.d8479a23cdc5.js → datetime-column-BJhx2yEd.ce37d39e8ade.js} +1 -1
  117. codex/static_root/assets/datetime-column-BJhx2yEd.ce37d39e8ade.js.br +0 -0
  118. codex/static_root/assets/datetime-column-BJhx2yEd.ce37d39e8ade.js.gz +0 -0
  119. codex/static_root/assets/{datetime-column-jQlXmdps.js → datetime-column-BJhx2yEd.js} +1 -1
  120. codex/static_root/assets/datetime-column-BJhx2yEd.js.br +0 -0
  121. codex/static_root/assets/datetime-column-BJhx2yEd.js.gz +0 -0
  122. codex/static_root/assets/{filter-6uJYHz1O.cc5fc35d3c24.js → filter-bK1TFeXf.2ae19e25d2c7.js} +1 -1
  123. codex/static_root/assets/filter-bK1TFeXf.2ae19e25d2c7.js.br +0 -0
  124. codex/static_root/assets/filter-bK1TFeXf.2ae19e25d2c7.js.gz +0 -0
  125. codex/static_root/assets/{filter-6uJYHz1O.js → filter-bK1TFeXf.js} +1 -1
  126. codex/static_root/assets/filter-bK1TFeXf.js.br +0 -0
  127. codex/static_root/assets/filter-bK1TFeXf.js.gz +0 -0
  128. codex/static_root/assets/{flag-tab-Dhxz4kfb.e95c21b919b5.js → flag-tab-GqwAPkVR.4225f535406e.js} +1 -1
  129. codex/static_root/assets/flag-tab-GqwAPkVR.4225f535406e.js.br +0 -0
  130. codex/static_root/assets/flag-tab-GqwAPkVR.4225f535406e.js.gz +0 -0
  131. codex/static_root/assets/{flag-tab-Dhxz4kfb.js → flag-tab-GqwAPkVR.js} +1 -1
  132. codex/static_root/assets/flag-tab-GqwAPkVR.js.br +0 -0
  133. codex/static_root/assets/flag-tab-GqwAPkVR.js.gz +0 -0
  134. codex/static_root/assets/{forwardRefs-ChSAhOJC.js → forwardRefs-B7vVpHcB.54db12a092c1.js} +1 -1
  135. codex/static_root/assets/forwardRefs-B7vVpHcB.54db12a092c1.js.br +0 -0
  136. codex/static_root/assets/forwardRefs-B7vVpHcB.54db12a092c1.js.gz +0 -0
  137. codex/static_root/assets/{forwardRefs-ChSAhOJC.6f8396e9fab3.js → forwardRefs-B7vVpHcB.js} +1 -1
  138. codex/static_root/assets/forwardRefs-B7vVpHcB.js.br +0 -0
  139. codex/static_root/assets/forwardRefs-B7vVpHcB.js.gz +0 -0
  140. codex/static_root/assets/{group-tab-CyJtnpUL.847be73eb8f6.js → group-tab-oymKtTnn.708975542a01.js} +1 -1
  141. codex/static_root/assets/group-tab-oymKtTnn.708975542a01.js.br +0 -0
  142. codex/static_root/assets/group-tab-oymKtTnn.708975542a01.js.gz +0 -0
  143. codex/static_root/assets/{group-tab-CyJtnpUL.js → group-tab-oymKtTnn.js} +1 -1
  144. codex/static_root/assets/group-tab-oymKtTnn.js.br +0 -0
  145. codex/static_root/assets/group-tab-oymKtTnn.js.gz +0 -0
  146. codex/static_root/assets/{http-error-epAHz82x.5a5677a44602.js → http-error-C4gic9U4.bcffc12035d6.js} +1 -1
  147. codex/static_root/assets/http-error-C4gic9U4.bcffc12035d6.js.br +0 -0
  148. codex/static_root/assets/http-error-C4gic9U4.bcffc12035d6.js.gz +0 -0
  149. codex/static_root/assets/{http-error-epAHz82x.js → http-error-C4gic9U4.js} +1 -1
  150. codex/static_root/assets/http-error-C4gic9U4.js.br +0 -0
  151. codex/static_root/assets/http-error-C4gic9U4.js.gz +0 -0
  152. codex/static_root/assets/{index-t0GPmIaB.b0ef8e18e375.js → index-Dky_UT4Y.f36cc3d3bb8e.js} +1 -1
  153. codex/static_root/assets/index-Dky_UT4Y.f36cc3d3bb8e.js.br +0 -0
  154. codex/static_root/assets/index-Dky_UT4Y.f36cc3d3bb8e.js.gz +0 -0
  155. codex/static_root/assets/{index-t0GPmIaB.js → index-Dky_UT4Y.js} +1 -1
  156. codex/static_root/assets/index-Dky_UT4Y.js.br +0 -0
  157. codex/static_root/assets/index-Dky_UT4Y.js.gz +0 -0
  158. codex/static_root/assets/{library-tab-CBNwfzuv.js → library-tab-RwAOFygt.098c3757576f.js} +1 -1
  159. codex/static_root/assets/library-tab-RwAOFygt.098c3757576f.js.br +0 -0
  160. codex/static_root/assets/library-tab-RwAOFygt.098c3757576f.js.gz +0 -0
  161. codex/static_root/assets/{library-tab-CBNwfzuv.f135a8b11a7d.js → library-tab-RwAOFygt.js} +1 -1
  162. codex/static_root/assets/library-tab-RwAOFygt.js.br +0 -0
  163. codex/static_root/assets/library-tab-RwAOFygt.js.gz +0 -0
  164. codex/static_root/assets/{main-rTP95ZK5.2b318541936a.js → main-Clr8M5Ax.a4556fc120b9.js} +3 -3
  165. codex/static_root/assets/main-Clr8M5Ax.a4556fc120b9.js.br +0 -0
  166. codex/static_root/assets/main-Clr8M5Ax.a4556fc120b9.js.gz +0 -0
  167. codex/static_root/assets/{main-rTP95ZK5.js → main-Clr8M5Ax.js} +3 -3
  168. codex/static_root/assets/main-Clr8M5Ax.js.br +0 -0
  169. codex/static_root/assets/main-Clr8M5Ax.js.gz +0 -0
  170. codex/static_root/assets/pager-full-pdf-DD65irUx.5cea0807966c.js +1 -0
  171. codex/static_root/assets/pager-full-pdf-DD65irUx.5cea0807966c.js.br +0 -0
  172. codex/static_root/assets/pager-full-pdf-DD65irUx.5cea0807966c.js.gz +0 -0
  173. codex/static_root/assets/pager-full-pdf-DD65irUx.js +1 -0
  174. codex/static_root/assets/pager-full-pdf-DD65irUx.js.br +0 -0
  175. codex/static_root/assets/pager-full-pdf-DD65irUx.js.gz +0 -0
  176. codex/static_root/assets/{pagination-toolbar-Dpvo4Mq8.19a89382cc22.js → pagination-toolbar-CpAEGtyx.74e38bf209bf.js} +1 -1
  177. codex/static_root/assets/pagination-toolbar-CpAEGtyx.74e38bf209bf.js.br +0 -0
  178. codex/static_root/assets/pagination-toolbar-CpAEGtyx.74e38bf209bf.js.gz +0 -0
  179. codex/static_root/assets/{pagination-toolbar-Dpvo4Mq8.js → pagination-toolbar-CpAEGtyx.js} +1 -1
  180. codex/static_root/assets/pagination-toolbar-CpAEGtyx.js.br +0 -0
  181. codex/static_root/assets/pagination-toolbar-CpAEGtyx.js.gz +0 -0
  182. codex/static_root/assets/{pdf-doc-NgjosMDk.d62f72e2cdd5.js → pdf-doc-CVUu9wQx.bd34445a5869.js} +1 -1
  183. codex/static_root/assets/pdf-doc-CVUu9wQx.bd34445a5869.js.br +0 -0
  184. codex/static_root/assets/pdf-doc-CVUu9wQx.bd34445a5869.js.gz +0 -0
  185. codex/static_root/assets/{pdf-doc-NgjosMDk.js → pdf-doc-CVUu9wQx.js} +1 -1
  186. codex/static_root/assets/pdf-doc-CVUu9wQx.js.br +0 -0
  187. codex/static_root/assets/pdf-doc-CVUu9wQx.js.gz +0 -0
  188. codex/static_root/assets/{reader-cxP2TezB.42da6623fbb5.js → reader-BZ9Q9Yrx.42934791915d.js} +2 -2
  189. codex/static_root/assets/reader-BZ9Q9Yrx.42934791915d.js.br +0 -0
  190. codex/static_root/assets/reader-BZ9Q9Yrx.42934791915d.js.gz +0 -0
  191. codex/static_root/assets/{reader-cxP2TezB.js → reader-BZ9Q9Yrx.js} +2 -2
  192. codex/static_root/assets/reader-BZ9Q9Yrx.js.br +0 -0
  193. codex/static_root/assets/reader-BZ9Q9Yrx.js.gz +0 -0
  194. codex/static_root/assets/{relation-chips-B0aYMhRf.efeee784148f.js → relation-chips-TyU5GyFW.36e631c7bac7.js} +1 -1
  195. codex/static_root/assets/relation-chips-TyU5GyFW.36e631c7bac7.js.br +0 -0
  196. codex/static_root/assets/relation-chips-TyU5GyFW.36e631c7bac7.js.gz +0 -0
  197. codex/static_root/assets/{relation-chips-B0aYMhRf.js → relation-chips-TyU5GyFW.js} +1 -1
  198. codex/static_root/assets/relation-chips-TyU5GyFW.js.br +0 -0
  199. codex/static_root/assets/relation-chips-TyU5GyFW.js.gz +0 -0
  200. codex/static_root/assets/{settings-drawer-DAcFFkW0.d9a543c098c5.js → settings-drawer-Cc97G_LR.7dd1ad60fd73.js} +2 -2
  201. codex/static_root/assets/settings-drawer-Cc97G_LR.7dd1ad60fd73.js.br +0 -0
  202. codex/static_root/assets/settings-drawer-Cc97G_LR.7dd1ad60fd73.js.gz +0 -0
  203. codex/static_root/assets/{settings-drawer-DAcFFkW0.js → settings-drawer-Cc97G_LR.js} +2 -2
  204. codex/static_root/assets/settings-drawer-Cc97G_LR.js.br +0 -0
  205. codex/static_root/assets/settings-drawer-Cc97G_LR.js.gz +0 -0
  206. codex/static_root/assets/{ssrBoot-Wb95VZD1.ed47b47d3c05.js → ssrBoot-0yd0wSvu.3c07b95bc7f3.js} +1 -1
  207. codex/static_root/assets/ssrBoot-0yd0wSvu.3c07b95bc7f3.js.br +0 -0
  208. codex/static_root/assets/ssrBoot-0yd0wSvu.3c07b95bc7f3.js.gz +0 -0
  209. codex/static_root/assets/{ssrBoot-Wb95VZD1.js → ssrBoot-0yd0wSvu.js} +1 -1
  210. codex/static_root/assets/ssrBoot-0yd0wSvu.js.br +0 -0
  211. codex/static_root/assets/ssrBoot-0yd0wSvu.js.gz +0 -0
  212. codex/static_root/assets/{stats-tab-BrnDOFnQ.a65c1b0d139e.js → stats-tab-C9D50kqm.f1e98f0bf24f.js} +1 -1
  213. codex/static_root/assets/stats-tab-C9D50kqm.f1e98f0bf24f.js.br +0 -0
  214. codex/static_root/assets/stats-tab-C9D50kqm.f1e98f0bf24f.js.gz +0 -0
  215. codex/static_root/assets/{stats-tab-BrnDOFnQ.js → stats-tab-C9D50kqm.js} +1 -1
  216. codex/static_root/assets/stats-tab-C9D50kqm.js.br +0 -0
  217. codex/static_root/assets/stats-tab-C9D50kqm.js.gz +0 -0
  218. codex/static_root/assets/{task-tab-ZhK-Gdm1.c0ac180d65ed.js → task-tab-iGPDuIqU.e15ed42d4130.js} +1 -1
  219. codex/static_root/assets/task-tab-iGPDuIqU.e15ed42d4130.js.br +0 -0
  220. codex/static_root/assets/task-tab-iGPDuIqU.e15ed42d4130.js.gz +0 -0
  221. codex/static_root/assets/{task-tab-ZhK-Gdm1.js → task-tab-iGPDuIqU.js} +1 -1
  222. codex/static_root/assets/task-tab-iGPDuIqU.js.br +0 -0
  223. codex/static_root/assets/task-tab-iGPDuIqU.js.gz +0 -0
  224. codex/static_root/assets/{unauthorized-BQW6TgLt.f5e5fd8f0030.js → unauthorized-CjsSfde4.07229ba5ed8d.js} +1 -1
  225. codex/static_root/assets/unauthorized-CjsSfde4.07229ba5ed8d.js.br +0 -0
  226. codex/static_root/assets/unauthorized-CjsSfde4.07229ba5ed8d.js.gz +0 -0
  227. codex/static_root/assets/{unauthorized-BQW6TgLt.js → unauthorized-CjsSfde4.js} +1 -1
  228. codex/static_root/assets/unauthorized-CjsSfde4.js.br +0 -0
  229. codex/static_root/assets/unauthorized-CjsSfde4.js.gz +0 -0
  230. codex/static_root/assets/{user-tab-D7CLZnGq.b39e06dbfa4c.js → user-tab-e-oyoq4f.caaaf9f927f2.js} +1 -1
  231. codex/static_root/assets/user-tab-e-oyoq4f.caaaf9f927f2.js.br +0 -0
  232. codex/static_root/assets/user-tab-e-oyoq4f.caaaf9f927f2.js.gz +0 -0
  233. codex/static_root/assets/{user-tab-D7CLZnGq.js → user-tab-e-oyoq4f.js} +1 -1
  234. codex/static_root/assets/user-tab-e-oyoq4f.js.br +0 -0
  235. codex/static_root/assets/user-tab-e-oyoq4f.js.gz +0 -0
  236. codex/static_root/{manifest.212b0e4d5235.json → manifest.33bfa3b55246.json} +307 -307
  237. codex/static_root/manifest.33bfa3b55246.json.br +0 -0
  238. codex/static_root/manifest.33bfa3b55246.json.gz +0 -0
  239. codex/static_root/manifest.json +307 -307
  240. codex/static_root/manifest.json.br +0 -0
  241. codex/static_root/manifest.json.gz +0 -0
  242. codex/static_root/staticfiles.json +1 -1
  243. codex/views/browser/filters/search/field/column.py +1 -3
  244. codex/views/browser/filters/search/field/expression.py +3 -1
  245. {codex-1.8.2.dist-info → codex-1.8.3.dist-info}/METADATA +1 -1
  246. {codex-1.8.2.dist-info → codex-1.8.3.dist-info}/RECORD +249 -249
  247. codex/static_root/assets/VCheckbox-B2ZlilbV.28184c7a94e4.js.br +0 -0
  248. codex/static_root/assets/VCheckbox-B2ZlilbV.28184c7a94e4.js.gz +0 -0
  249. codex/static_root/assets/VCheckbox-B2ZlilbV.js.br +0 -0
  250. codex/static_root/assets/VCheckbox-B2ZlilbV.js.gz +0 -0
  251. codex/static_root/assets/VCheckboxBtn-h7KZtjJ5.a7191f4b5843.js.br +0 -0
  252. codex/static_root/assets/VCheckboxBtn-h7KZtjJ5.a7191f4b5843.js.gz +0 -0
  253. codex/static_root/assets/VCheckboxBtn-h7KZtjJ5.js.br +0 -0
  254. codex/static_root/assets/VCheckboxBtn-h7KZtjJ5.js.gz +0 -0
  255. codex/static_root/assets/VCombobox-BYYvIrtG.1117a51eb643.js.br +0 -0
  256. codex/static_root/assets/VCombobox-BYYvIrtG.1117a51eb643.js.gz +0 -0
  257. codex/static_root/assets/VCombobox-BYYvIrtG.js.br +0 -0
  258. codex/static_root/assets/VCombobox-BYYvIrtG.js.gz +0 -0
  259. codex/static_root/assets/VDialog-DnPP-omh.0ce4b25f53a2.js.br +0 -0
  260. codex/static_root/assets/VDialog-DnPP-omh.0ce4b25f53a2.js.gz +0 -0
  261. codex/static_root/assets/VDialog-DnPP-omh.js.br +0 -0
  262. codex/static_root/assets/VDialog-DnPP-omh.js.gz +0 -0
  263. codex/static_root/assets/VDivider-B71_-qD9.e2cbea33d500.js.br +0 -0
  264. codex/static_root/assets/VDivider-B71_-qD9.e2cbea33d500.js.gz +0 -0
  265. codex/static_root/assets/VDivider-B71_-qD9.js.br +0 -0
  266. codex/static_root/assets/VDivider-B71_-qD9.js.gz +0 -0
  267. codex/static_root/assets/VExpansionPanels-BIGcavfd.e535f56adb4e.js.br +0 -0
  268. codex/static_root/assets/VExpansionPanels-BIGcavfd.e535f56adb4e.js.gz +0 -0
  269. codex/static_root/assets/VExpansionPanels-BIGcavfd.js.br +0 -0
  270. codex/static_root/assets/VExpansionPanels-BIGcavfd.js.gz +0 -0
  271. codex/static_root/assets/VForm-DYkeLPZX.b4cf1062a1ae.js.br +0 -0
  272. codex/static_root/assets/VForm-DYkeLPZX.b4cf1062a1ae.js.gz +0 -0
  273. codex/static_root/assets/VForm-DYkeLPZX.js.br +0 -0
  274. codex/static_root/assets/VForm-DYkeLPZX.js.gz +0 -0
  275. codex/static_root/assets/VRadioGroup-BTcnaJxP.48f9437be4cc.js.br +0 -0
  276. codex/static_root/assets/VRadioGroup-BTcnaJxP.48f9437be4cc.js.gz +0 -0
  277. codex/static_root/assets/VRadioGroup-BTcnaJxP.js.br +0 -0
  278. codex/static_root/assets/VRadioGroup-BTcnaJxP.js.gz +0 -0
  279. codex/static_root/assets/VSelect-BpsRhDw4.e48026d906d5.js.br +0 -0
  280. codex/static_root/assets/VSelect-BpsRhDw4.e48026d906d5.js.gz +0 -0
  281. codex/static_root/assets/VSelect-BpsRhDw4.js.br +0 -0
  282. codex/static_root/assets/VSelect-BpsRhDw4.js.gz +0 -0
  283. codex/static_root/assets/VSelectionControl-DShFWXoi.d9dc2c02beab.js.br +0 -0
  284. codex/static_root/assets/VSelectionControl-DShFWXoi.js.br +0 -0
  285. codex/static_root/assets/VTable-DdYDbUS9.9283748ab334.js.br +0 -0
  286. codex/static_root/assets/VTable-DdYDbUS9.9283748ab334.js.gz +0 -0
  287. codex/static_root/assets/VTable-DdYDbUS9.js.br +0 -0
  288. codex/static_root/assets/VTable-DdYDbUS9.js.gz +0 -0
  289. codex/static_root/assets/VWindowItem-DqU2Y2vf.5d09e765604b.js.br +0 -0
  290. codex/static_root/assets/VWindowItem-DqU2Y2vf.5d09e765604b.js.gz +0 -0
  291. codex/static_root/assets/VWindowItem-DqU2Y2vf.js.br +0 -0
  292. codex/static_root/assets/VWindowItem-DqU2Y2vf.js.gz +0 -0
  293. codex/static_root/assets/admin-BNZOvNK8.8a1ec771dfce.js.br +0 -0
  294. codex/static_root/assets/admin-BNZOvNK8.8a1ec771dfce.js.gz +0 -0
  295. codex/static_root/assets/admin-BNZOvNK8.js.br +0 -0
  296. codex/static_root/assets/admin-BNZOvNK8.js.gz +0 -0
  297. codex/static_root/assets/admin-CIbnFqxt.aba0cb32c63c.js.br +0 -0
  298. codex/static_root/assets/admin-CIbnFqxt.aba0cb32c63c.js.gz +0 -0
  299. codex/static_root/assets/admin-CIbnFqxt.js.br +0 -0
  300. codex/static_root/assets/admin-CIbnFqxt.js.gz +0 -0
  301. codex/static_root/assets/admin-menu-UWxwskvN.dfef156c4ecf.js.br +0 -0
  302. codex/static_root/assets/admin-menu-UWxwskvN.dfef156c4ecf.js.gz +0 -0
  303. codex/static_root/assets/admin-menu-UWxwskvN.js.br +0 -0
  304. codex/static_root/assets/admin-menu-UWxwskvN.js.gz +0 -0
  305. codex/static_root/assets/admin-settings-button-progress-COcdrWwS.305b57c54f47.js.br +0 -2
  306. codex/static_root/assets/admin-settings-button-progress-COcdrWwS.305b57c54f47.js.gz +0 -0
  307. codex/static_root/assets/admin-settings-button-progress-COcdrWwS.js.br +0 -2
  308. codex/static_root/assets/admin-settings-button-progress-COcdrWwS.js.gz +0 -0
  309. codex/static_root/assets/browser-DMRabbl3.a43f49e6d015.js.br +0 -0
  310. codex/static_root/assets/browser-DMRabbl3.a43f49e6d015.js.gz +0 -0
  311. codex/static_root/assets/browser-DMRabbl3.js.br +0 -0
  312. codex/static_root/assets/browser-DMRabbl3.js.gz +0 -0
  313. codex/static_root/assets/change-password-dialog-CsooBUm0.c929eba44730.js.br +0 -0
  314. codex/static_root/assets/change-password-dialog-CsooBUm0.c929eba44730.js.gz +0 -0
  315. codex/static_root/assets/change-password-dialog-CsooBUm0.js.br +0 -0
  316. codex/static_root/assets/change-password-dialog-CsooBUm0.js.gz +0 -0
  317. codex/static_root/assets/confirm-dialog-Ct8FD21H.3fec98632388.js.br +0 -0
  318. codex/static_root/assets/confirm-dialog-Ct8FD21H.3fec98632388.js.gz +0 -0
  319. codex/static_root/assets/confirm-dialog-Ct8FD21H.js.br +0 -0
  320. codex/static_root/assets/confirm-dialog-Ct8FD21H.js.gz +0 -0
  321. codex/static_root/assets/datetime-column-jQlXmdps.d8479a23cdc5.js.br +0 -0
  322. codex/static_root/assets/datetime-column-jQlXmdps.d8479a23cdc5.js.gz +0 -0
  323. codex/static_root/assets/datetime-column-jQlXmdps.js.br +0 -0
  324. codex/static_root/assets/datetime-column-jQlXmdps.js.gz +0 -0
  325. codex/static_root/assets/filter-6uJYHz1O.cc5fc35d3c24.js.br +0 -0
  326. codex/static_root/assets/filter-6uJYHz1O.cc5fc35d3c24.js.gz +0 -0
  327. codex/static_root/assets/filter-6uJYHz1O.js.br +0 -0
  328. codex/static_root/assets/filter-6uJYHz1O.js.gz +0 -0
  329. codex/static_root/assets/flag-tab-Dhxz4kfb.e95c21b919b5.js.br +0 -0
  330. codex/static_root/assets/flag-tab-Dhxz4kfb.e95c21b919b5.js.gz +0 -0
  331. codex/static_root/assets/flag-tab-Dhxz4kfb.js.br +0 -0
  332. codex/static_root/assets/flag-tab-Dhxz4kfb.js.gz +0 -0
  333. codex/static_root/assets/forwardRefs-ChSAhOJC.6f8396e9fab3.js.br +0 -0
  334. codex/static_root/assets/forwardRefs-ChSAhOJC.6f8396e9fab3.js.gz +0 -0
  335. codex/static_root/assets/forwardRefs-ChSAhOJC.js.br +0 -0
  336. codex/static_root/assets/forwardRefs-ChSAhOJC.js.gz +0 -0
  337. codex/static_root/assets/group-tab-CyJtnpUL.847be73eb8f6.js.br +0 -0
  338. codex/static_root/assets/group-tab-CyJtnpUL.847be73eb8f6.js.gz +0 -0
  339. codex/static_root/assets/group-tab-CyJtnpUL.js.br +0 -0
  340. codex/static_root/assets/group-tab-CyJtnpUL.js.gz +0 -0
  341. codex/static_root/assets/http-error-epAHz82x.5a5677a44602.js.br +0 -0
  342. codex/static_root/assets/http-error-epAHz82x.5a5677a44602.js.gz +0 -0
  343. codex/static_root/assets/http-error-epAHz82x.js.br +0 -0
  344. codex/static_root/assets/http-error-epAHz82x.js.gz +0 -0
  345. codex/static_root/assets/index-t0GPmIaB.b0ef8e18e375.js.br +0 -0
  346. codex/static_root/assets/index-t0GPmIaB.b0ef8e18e375.js.gz +0 -0
  347. codex/static_root/assets/index-t0GPmIaB.js.br +0 -0
  348. codex/static_root/assets/index-t0GPmIaB.js.gz +0 -0
  349. codex/static_root/assets/library-tab-CBNwfzuv.f135a8b11a7d.js.br +0 -0
  350. codex/static_root/assets/library-tab-CBNwfzuv.f135a8b11a7d.js.gz +0 -0
  351. codex/static_root/assets/library-tab-CBNwfzuv.js.br +0 -0
  352. codex/static_root/assets/library-tab-CBNwfzuv.js.gz +0 -0
  353. codex/static_root/assets/main-rTP95ZK5.2b318541936a.js.br +0 -0
  354. codex/static_root/assets/main-rTP95ZK5.2b318541936a.js.gz +0 -0
  355. codex/static_root/assets/main-rTP95ZK5.js.br +0 -0
  356. codex/static_root/assets/main-rTP95ZK5.js.gz +0 -0
  357. codex/static_root/assets/pager-full-pdf-DXanXkDa.9c38dc20a5e7.js +0 -1
  358. codex/static_root/assets/pager-full-pdf-DXanXkDa.9c38dc20a5e7.js.br +0 -0
  359. codex/static_root/assets/pager-full-pdf-DXanXkDa.9c38dc20a5e7.js.gz +0 -0
  360. codex/static_root/assets/pager-full-pdf-DXanXkDa.js +0 -1
  361. codex/static_root/assets/pager-full-pdf-DXanXkDa.js.br +0 -0
  362. codex/static_root/assets/pager-full-pdf-DXanXkDa.js.gz +0 -0
  363. codex/static_root/assets/pagination-toolbar-Dpvo4Mq8.19a89382cc22.js.br +0 -0
  364. codex/static_root/assets/pagination-toolbar-Dpvo4Mq8.19a89382cc22.js.gz +0 -0
  365. codex/static_root/assets/pagination-toolbar-Dpvo4Mq8.js.br +0 -0
  366. codex/static_root/assets/pagination-toolbar-Dpvo4Mq8.js.gz +0 -0
  367. codex/static_root/assets/pdf-doc-NgjosMDk.d62f72e2cdd5.js.br +0 -0
  368. codex/static_root/assets/pdf-doc-NgjosMDk.d62f72e2cdd5.js.gz +0 -0
  369. codex/static_root/assets/pdf-doc-NgjosMDk.js.br +0 -0
  370. codex/static_root/assets/pdf-doc-NgjosMDk.js.gz +0 -0
  371. codex/static_root/assets/reader-cxP2TezB.42da6623fbb5.js.br +0 -0
  372. codex/static_root/assets/reader-cxP2TezB.42da6623fbb5.js.gz +0 -0
  373. codex/static_root/assets/reader-cxP2TezB.js.br +0 -0
  374. codex/static_root/assets/reader-cxP2TezB.js.gz +0 -0
  375. codex/static_root/assets/relation-chips-B0aYMhRf.efeee784148f.js.br +0 -0
  376. codex/static_root/assets/relation-chips-B0aYMhRf.efeee784148f.js.gz +0 -0
  377. codex/static_root/assets/relation-chips-B0aYMhRf.js.br +0 -0
  378. codex/static_root/assets/relation-chips-B0aYMhRf.js.gz +0 -0
  379. codex/static_root/assets/settings-drawer-DAcFFkW0.d9a543c098c5.js.br +0 -0
  380. codex/static_root/assets/settings-drawer-DAcFFkW0.d9a543c098c5.js.gz +0 -0
  381. codex/static_root/assets/settings-drawer-DAcFFkW0.js.br +0 -0
  382. codex/static_root/assets/settings-drawer-DAcFFkW0.js.gz +0 -0
  383. codex/static_root/assets/ssrBoot-Wb95VZD1.ed47b47d3c05.js.br +0 -0
  384. codex/static_root/assets/ssrBoot-Wb95VZD1.ed47b47d3c05.js.gz +0 -0
  385. codex/static_root/assets/ssrBoot-Wb95VZD1.js.br +0 -0
  386. codex/static_root/assets/ssrBoot-Wb95VZD1.js.gz +0 -0
  387. codex/static_root/assets/stats-tab-BrnDOFnQ.a65c1b0d139e.js.br +0 -0
  388. codex/static_root/assets/stats-tab-BrnDOFnQ.a65c1b0d139e.js.gz +0 -0
  389. codex/static_root/assets/stats-tab-BrnDOFnQ.js.br +0 -0
  390. codex/static_root/assets/stats-tab-BrnDOFnQ.js.gz +0 -0
  391. codex/static_root/assets/task-tab-ZhK-Gdm1.c0ac180d65ed.js.br +0 -0
  392. codex/static_root/assets/task-tab-ZhK-Gdm1.c0ac180d65ed.js.gz +0 -0
  393. codex/static_root/assets/task-tab-ZhK-Gdm1.js.br +0 -0
  394. codex/static_root/assets/task-tab-ZhK-Gdm1.js.gz +0 -0
  395. codex/static_root/assets/unauthorized-BQW6TgLt.f5e5fd8f0030.js.br +0 -0
  396. codex/static_root/assets/unauthorized-BQW6TgLt.f5e5fd8f0030.js.gz +0 -0
  397. codex/static_root/assets/unauthorized-BQW6TgLt.js.br +0 -0
  398. codex/static_root/assets/unauthorized-BQW6TgLt.js.gz +0 -0
  399. codex/static_root/assets/user-tab-D7CLZnGq.b39e06dbfa4c.js.br +0 -0
  400. codex/static_root/assets/user-tab-D7CLZnGq.b39e06dbfa4c.js.gz +0 -0
  401. codex/static_root/assets/user-tab-D7CLZnGq.js.br +0 -0
  402. codex/static_root/assets/user-tab-D7CLZnGq.js.gz +0 -0
  403. codex/static_root/manifest.212b0e4d5235.json.br +0 -0
  404. codex/static_root/manifest.212b0e4d5235.json.gz +0 -0
  405. {codex-1.8.2.dist-info → codex-1.8.3.dist-info}/WHEEL +0 -0
  406. {codex-1.8.2.dist-info → codex-1.8.3.dist-info}/entry_points.txt +0 -0
  407. {codex-1.8.2.dist-info → codex-1.8.3.dist-info}/licenses/LICENSE +0 -0
@@ -1 +1 @@
1
- import{_ as y,aP as B,x as a,m,v as n,B as f,k as D,D as E,C as w,E as p,by as v,G as h,w as i,s as d,q as L,y as N,a as l,A as b,b as C,X as g}from"./main-rTP95ZK5.js";import{V as P}from"./forwardRefs-ChSAhOJC.js";import{C as A,V as O}from"./VDialog-DnPP-omh.js";import{S as T,V as U}from"./VForm-DYkeLPZX.js";import{useAdminStore as I}from"./admin-BNZOvNK8.js";import{c as u}from"./VSelectionControl-DShFWXoi.js";const x={name:"CloseButton",data(){return{mdiClose:B}}};function M(e,s,t,S,o,c){return n(),a(P,m({class:"closeButton",icon:o.mdiClose},e.$attrs),null,16,["icon"])}const F=y(x,[["render",M],["__scopeId","data-v-6e7a50d4"]]),R={name:"ChangePasswordDialog",components:{SubmitFooter:T,CloseButton:F,CodexListItem:A},props:{user:{type:Object,required:!0},isAdminMode:{type:Boolean,default:!1},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{rules:{oldPassword:[e=>!!e||"Old Password is required"],password:[e=>e?e.length<this.MIN_PASSWORD_LENGTH?`Password must be ${this.MIN_PASSWORD_LENGTH} characters long`:e===this.credentials.oldPassword?"New password must be different than old password":!0:"New Password is required"],passwordConfirm:[e=>e===this.credentials.password||"Passwords must match"]},credentials:{oldPassword:"",password:"",passwordConfirm:""},submitButtonEnabled:!1,mdiLockReset:v,showOnlyThisDialog:!1}},computed:{...E(w,{formErrors:e=>e.form.errors,formSuccess:e=>e.form.success,MIN_PASSWORD_LEN:e=>e.MIN_PASSWORD_LEN}),...D(p,["showChangePasswordDialog"])},watch:{showOnlyThisDialog(e){if(this.showChangePasswordDialog=e,e){const s=this.$refs.form;s&&s.reset(),this.clearErrors()}},credentials:{handler(){const e=this.$refs.form;if(!e){this.submitButtonEnabled=!1;return}e.validate().then(({valid:s})=>(this.submitButtonEnabled=s,this.submitButtonEnabled)).catch(()=>{this.submitButtonEnabled=!1})},deep:!0}},mounted(){globalThis.addEventListener("keyup",this._keyUpListener)},beforeUnmount(){globalThis.removeEventListener("keyup",this._keyUpListener)},methods:{...f(p,["changePassword"]),...f(w,["clearErrors"]),doUserChange(){return I().changeUserPassword(this.user.pk,this.credentials).catch(console.error)},doSelfChange(){return this.changePassword(this.credentials).catch(console.error)},submit(){const e=this.$refs.form;e&&e.validate().then(({valid:s})=>{if(s)return this.isAdminMode?this.doUserChange():this.doSelfChange()}).catch(console.error)},_keyUpListener(e){e.stopImmediatePropagation()}}},W={key:0,class:"codexFormSuccess"},q=["value"];function z(e,s,t,S,o,c){const V=d("CodexListItem"),_=d("CloseButton"),k=d("SubmitFooter");return t.user?(n(),a(O,{key:0,modelValue:o.showOnlyThisDialog,"onUpdate:modelValue":s[7]||(s[7]=r=>o.showOnlyThisDialog=r),origin:"center-top",transition:"slide-y-transition","max-width":"22em"},{activator:i(({props:r})=>[t.isAdminMode?(n(),a(P,m({key:0,icon:o.mdiLockReset},r,{size:t.size,density:t.density,title:"Change Password"}),null,16,["icon","size","density"])):(n(),a(V,m({key:1,"prepend-icon":o.mdiLockReset},r,{title:"Change Password"}),null,16,["prepend-icon"]))]),default:i(()=>[e.formSuccess?(n(),L("div",W,[N(b(e.formSuccess)+" ",1),l(_,{onClick:s[0]||(s[0]=r=>o.showOnlyThisDialog=!1)})])):(n(),a(U,{key:1,ref:"form",class:"changePasswordForm"},{default:i(()=>[C("h2",null,"User "+b(t.user.username),1),C("input",{name:"username",autocomplete:"username",disabled:"",type:"text",class:"hidden",value:t.user.username},null,8,q),t.isAdminMode?h("",!0):(n(),a(u,{key:0,ref:"oldPassword",modelValue:o.credentials.oldPassword,"onUpdate:modelValue":s[1]||(s[1]=r=>o.credentials.oldPassword=r),autocomplete:"current-password",label:"Old Password",rules:o.rules.oldPassword,clearable:"",type:"password",autofocus:"",onKeydown:s[2]||(s[2]=g(r=>e.$refs.password.focus(),["enter"]))},null,8,["modelValue","rules"])),l(u,{ref:"password",modelValue:o.credentials.password,"onUpdate:modelValue":s[3]||(s[3]=r=>o.credentials.password=r),autocomplete:"new-password",label:"New Password",rules:o.rules.password,clearable:"",type:"password",autofocus:t.isAdminMode,onKeydown:s[4]||(s[4]=g(r=>e.$refs.passwordConfirm.focus(),["enter"]))},null,8,["modelValue","rules","autofocus"]),l(u,{ref:"passwordConfirm",modelValue:o.credentials.passwordConfirm,"onUpdate:modelValue":s[5]||(s[5]=r=>o.credentials.passwordConfirm=r),autocomplete:"new-password",label:"Confirm Password",rules:o.rules.passwordConfirm,clearable:"",type:"password"},null,8,["modelValue","rules"]),l(k,{verb:"Change",table:"Password",disabled:!o.submitButtonEnabled,onSubmit:c.submit,onCancel:s[6]||(s[6]=r=>o.showOnlyThisDialog=!1)},null,8,["disabled","onSubmit"])]),_:1},512))]),_:1},8,["modelValue"])):h("",!0)}const Q=y(R,[["render",z],["__scopeId","data-v-70ed2110"]]);export{F as C,Q as a};
1
+ import{_ as y,aP as B,x as a,m,v as n,B as f,k as D,D as E,C as w,E as p,by as v,G as h,w as i,s as d,q as L,y as N,a as l,A as b,b as C,X as g}from"./main-Clr8M5Ax.js";import{V as P}from"./forwardRefs-B7vVpHcB.js";import{C as A,V as O}from"./VDialog-B0Jacmz7.js";import{S as T,V as U}from"./VForm-BIO5K7ci.js";import{useAdminStore as I}from"./admin-BTr0-CtZ.js";import{c as u}from"./VSelectionControl-gIR5jZDY.js";const x={name:"CloseButton",data(){return{mdiClose:B}}};function M(e,s,t,S,o,c){return n(),a(P,m({class:"closeButton",icon:o.mdiClose},e.$attrs),null,16,["icon"])}const F=y(x,[["render",M],["__scopeId","data-v-6e7a50d4"]]),R={name:"ChangePasswordDialog",components:{SubmitFooter:T,CloseButton:F,CodexListItem:A},props:{user:{type:Object,required:!0},isAdminMode:{type:Boolean,default:!1},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{rules:{oldPassword:[e=>!!e||"Old Password is required"],password:[e=>e?e.length<this.MIN_PASSWORD_LENGTH?`Password must be ${this.MIN_PASSWORD_LENGTH} characters long`:e===this.credentials.oldPassword?"New password must be different than old password":!0:"New Password is required"],passwordConfirm:[e=>e===this.credentials.password||"Passwords must match"]},credentials:{oldPassword:"",password:"",passwordConfirm:""},submitButtonEnabled:!1,mdiLockReset:v,showOnlyThisDialog:!1}},computed:{...E(w,{formErrors:e=>e.form.errors,formSuccess:e=>e.form.success,MIN_PASSWORD_LEN:e=>e.MIN_PASSWORD_LEN}),...D(p,["showChangePasswordDialog"])},watch:{showOnlyThisDialog(e){if(this.showChangePasswordDialog=e,e){const s=this.$refs.form;s&&s.reset(),this.clearErrors()}},credentials:{handler(){const e=this.$refs.form;if(!e){this.submitButtonEnabled=!1;return}e.validate().then(({valid:s})=>(this.submitButtonEnabled=s,this.submitButtonEnabled)).catch(()=>{this.submitButtonEnabled=!1})},deep:!0}},mounted(){globalThis.addEventListener("keyup",this._keyUpListener)},beforeUnmount(){globalThis.removeEventListener("keyup",this._keyUpListener)},methods:{...f(p,["changePassword"]),...f(w,["clearErrors"]),doUserChange(){return I().changeUserPassword(this.user.pk,this.credentials).catch(console.error)},doSelfChange(){return this.changePassword(this.credentials).catch(console.error)},submit(){const e=this.$refs.form;e&&e.validate().then(({valid:s})=>{if(s)return this.isAdminMode?this.doUserChange():this.doSelfChange()}).catch(console.error)},_keyUpListener(e){e.stopImmediatePropagation()}}},W={key:0,class:"codexFormSuccess"},q=["value"];function z(e,s,t,S,o,c){const V=d("CodexListItem"),_=d("CloseButton"),k=d("SubmitFooter");return t.user?(n(),a(O,{key:0,modelValue:o.showOnlyThisDialog,"onUpdate:modelValue":s[7]||(s[7]=r=>o.showOnlyThisDialog=r),origin:"center-top",transition:"slide-y-transition","max-width":"22em"},{activator:i(({props:r})=>[t.isAdminMode?(n(),a(P,m({key:0,icon:o.mdiLockReset},r,{size:t.size,density:t.density,title:"Change Password"}),null,16,["icon","size","density"])):(n(),a(V,m({key:1,"prepend-icon":o.mdiLockReset},r,{title:"Change Password"}),null,16,["prepend-icon"]))]),default:i(()=>[e.formSuccess?(n(),L("div",W,[N(b(e.formSuccess)+" ",1),l(_,{onClick:s[0]||(s[0]=r=>o.showOnlyThisDialog=!1)})])):(n(),a(U,{key:1,ref:"form",class:"changePasswordForm"},{default:i(()=>[C("h2",null,"User "+b(t.user.username),1),C("input",{name:"username",autocomplete:"username",disabled:"",type:"text",class:"hidden",value:t.user.username},null,8,q),t.isAdminMode?h("",!0):(n(),a(u,{key:0,ref:"oldPassword",modelValue:o.credentials.oldPassword,"onUpdate:modelValue":s[1]||(s[1]=r=>o.credentials.oldPassword=r),autocomplete:"current-password",label:"Old Password",rules:o.rules.oldPassword,clearable:"",type:"password",autofocus:"",onKeydown:s[2]||(s[2]=g(r=>e.$refs.password.focus(),["enter"]))},null,8,["modelValue","rules"])),l(u,{ref:"password",modelValue:o.credentials.password,"onUpdate:modelValue":s[3]||(s[3]=r=>o.credentials.password=r),autocomplete:"new-password",label:"New Password",rules:o.rules.password,clearable:"",type:"password",autofocus:t.isAdminMode,onKeydown:s[4]||(s[4]=g(r=>e.$refs.passwordConfirm.focus(),["enter"]))},null,8,["modelValue","rules","autofocus"]),l(u,{ref:"passwordConfirm",modelValue:o.credentials.passwordConfirm,"onUpdate:modelValue":s[5]||(s[5]=r=>o.credentials.passwordConfirm=r),autocomplete:"new-password",label:"Confirm Password",rules:o.rules.passwordConfirm,clearable:"",type:"password"},null,8,["modelValue","rules"]),l(k,{verb:"Change",table:"Password",disabled:!o.submitButtonEnabled,onSubmit:c.submit,onCancel:s[6]||(s[6]=r=>o.showOnlyThisDialog=!1)},null,8,["disabled","onSubmit"])]),_:1},512))]),_:1},8,["modelValue"])):h("",!0)}const Q=y(R,[["render",z],["__scopeId","data-v-70ed2110"]]);export{F as C,Q as a};
@@ -1 +1 @@
1
- import{C as k,h as g,V as b}from"./VDialog-DnPP-omh.js";import{_,x as i,w as a,s as f,v as l,b as u,y as c,a as V,A as r,m as d,G as h}from"./main-rTP95ZK5.js";import{V as y,k as T}from"./forwardRefs-ChSAhOJC.js";const D={name:"ConfirmDialog",components:{ConfirmFooter:g,CodexListItem:k},props:{block:{type:Boolean,default:!1},button:{type:Boolean,default:!0},buttonText:{type:String,default:""},confirm:{type:Boolean,default:!0},confirmText:{type:String,required:!0},density:{type:String,default:"default"},icon:{type:String,default:""},prependIcon:{type:String,default:""},size:{type:String,default:"default"},text:{type:String,required:!0},titleText:{type:String,required:!0}},data(){return{showDialog:!1}},methods:{close(s){this.$emit(s),this.showDialog=!1},autoConfirm(){this.confirm||this.close("confirm")}}},I={class:"confirmDialog"};function S(s,o,e,v,m,n){const C=f("CodexListItem"),x=f("ConfirmFooter");return l(),i(b,{modelValue:m.showDialog,"onUpdate:modelValue":o[2]||(o[2]=t=>m.showDialog=t),transition:"fab-transition","min-width":"20em",width:"auto","overlay-opacity":"0.5"},{activator:a(({props:t})=>[e.button&&e.icon?(l(),i(y,d({key:0},t,{block:e.block,density:e.density,icon:e.icon,size:e.size,title:e.titleText,onClick:n.autoConfirm}),null,16,["block","density","icon","size","title","onClick"])):e.button?(l(),i(y,d({key:1},t,{block:e.block,density:e.density,size:e.size,title:e.titleText,onClick:n.autoConfirm}),{default:a(()=>[e.prependIcon?(l(),i(T,{key:0},{default:a(()=>[c(r(e.prependIcon),1)]),_:1})):h("",!0),c(" "+r(e.buttonText),1)]),_:2},1040,["block","density","size","title","onClick"])):(l(),i(C,d({key:2},t,{"prepend-icon":e.prependIcon,title:e.titleText,onClick:n.autoConfirm}),null,16,["prepend-icon","title","onClick"]))]),default:a(()=>[u("div",I,[u("h3",null,r(e.titleText),1),c(" "+r(e.text)+" ",1),V(x,{"confirm-text":e.confirmText,onConfirm:o[0]||(o[0]=t=>n.close("confirm")),onCancel:o[1]||(o[1]=t=>n.close("cancel"))},null,8,["confirm-text"])])]),_:1},8,["modelValue"])}const N=_(D,[["render",S],["__scopeId","data-v-dee628ec"]]);export{N as C};
1
+ import{C as k,h as g,V as b}from"./VDialog-B0Jacmz7.js";import{_,x as i,w as a,s as f,v as l,b as u,y as c,a as V,A as r,m as d,G as h}from"./main-Clr8M5Ax.js";import{V as y,k as T}from"./forwardRefs-B7vVpHcB.js";const D={name:"ConfirmDialog",components:{ConfirmFooter:g,CodexListItem:k},props:{block:{type:Boolean,default:!1},button:{type:Boolean,default:!0},buttonText:{type:String,default:""},confirm:{type:Boolean,default:!0},confirmText:{type:String,required:!0},density:{type:String,default:"default"},icon:{type:String,default:""},prependIcon:{type:String,default:""},size:{type:String,default:"default"},text:{type:String,required:!0},titleText:{type:String,required:!0}},data(){return{showDialog:!1}},methods:{close(s){this.$emit(s),this.showDialog=!1},autoConfirm(){this.confirm||this.close("confirm")}}},I={class:"confirmDialog"};function S(s,o,e,v,m,n){const C=f("CodexListItem"),x=f("ConfirmFooter");return l(),i(b,{modelValue:m.showDialog,"onUpdate:modelValue":o[2]||(o[2]=t=>m.showDialog=t),transition:"fab-transition","min-width":"20em",width:"auto","overlay-opacity":"0.5"},{activator:a(({props:t})=>[e.button&&e.icon?(l(),i(y,d({key:0},t,{block:e.block,density:e.density,icon:e.icon,size:e.size,title:e.titleText,onClick:n.autoConfirm}),null,16,["block","density","icon","size","title","onClick"])):e.button?(l(),i(y,d({key:1},t,{block:e.block,density:e.density,size:e.size,title:e.titleText,onClick:n.autoConfirm}),{default:a(()=>[e.prependIcon?(l(),i(T,{key:0},{default:a(()=>[c(r(e.prependIcon),1)]),_:1})):h("",!0),c(" "+r(e.buttonText),1)]),_:2},1040,["block","density","size","title","onClick"])):(l(),i(C,d({key:2},t,{"prepend-icon":e.prependIcon,title:e.titleText,onClick:n.autoConfirm}),null,16,["prepend-icon","title","onClick"]))]),default:a(()=>[u("div",I,[u("h3",null,r(e.titleText),1),c(" "+r(e.text)+" ",1),V(x,{"confirm-text":e.confirmText,onConfirm:o[0]||(o[0]=t=>n.close("confirm")),onCancel:o[1]||(o[1]=t=>n.close("cancel"))},null,8,["confirm-text"])])]),_:1},8,["modelValue"])}const N=_(D,[["render",S],["__scopeId","data-v-dee628ec"]]);export{N as C};
@@ -1 +1 @@
1
- import{C as k,h as g,V as b}from"./VDialog-DnPP-omh.js";import{_,x as i,w as a,s as f,v as l,b as u,y as c,a as V,A as r,m as d,G as h}from"./main-rTP95ZK5.js";import{V as y,k as T}from"./forwardRefs-ChSAhOJC.js";const D={name:"ConfirmDialog",components:{ConfirmFooter:g,CodexListItem:k},props:{block:{type:Boolean,default:!1},button:{type:Boolean,default:!0},buttonText:{type:String,default:""},confirm:{type:Boolean,default:!0},confirmText:{type:String,required:!0},density:{type:String,default:"default"},icon:{type:String,default:""},prependIcon:{type:String,default:""},size:{type:String,default:"default"},text:{type:String,required:!0},titleText:{type:String,required:!0}},data(){return{showDialog:!1}},methods:{close(s){this.$emit(s),this.showDialog=!1},autoConfirm(){this.confirm||this.close("confirm")}}},I={class:"confirmDialog"};function S(s,o,e,v,m,n){const C=f("CodexListItem"),x=f("ConfirmFooter");return l(),i(b,{modelValue:m.showDialog,"onUpdate:modelValue":o[2]||(o[2]=t=>m.showDialog=t),transition:"fab-transition","min-width":"20em",width:"auto","overlay-opacity":"0.5"},{activator:a(({props:t})=>[e.button&&e.icon?(l(),i(y,d({key:0},t,{block:e.block,density:e.density,icon:e.icon,size:e.size,title:e.titleText,onClick:n.autoConfirm}),null,16,["block","density","icon","size","title","onClick"])):e.button?(l(),i(y,d({key:1},t,{block:e.block,density:e.density,size:e.size,title:e.titleText,onClick:n.autoConfirm}),{default:a(()=>[e.prependIcon?(l(),i(T,{key:0},{default:a(()=>[c(r(e.prependIcon),1)]),_:1})):h("",!0),c(" "+r(e.buttonText),1)]),_:2},1040,["block","density","size","title","onClick"])):(l(),i(C,d({key:2},t,{"prepend-icon":e.prependIcon,title:e.titleText,onClick:n.autoConfirm}),null,16,["prepend-icon","title","onClick"]))]),default:a(()=>[u("div",I,[u("h3",null,r(e.titleText),1),c(" "+r(e.text)+" ",1),V(x,{"confirm-text":e.confirmText,onConfirm:o[0]||(o[0]=t=>n.close("confirm")),onCancel:o[1]||(o[1]=t=>n.close("cancel"))},null,8,["confirm-text"])])]),_:1},8,["modelValue"])}const N=_(D,[["render",S],["__scopeId","data-v-dee628ec"]]);export{N as C};
1
+ import{C as k,h as g,V as b}from"./VDialog-B0Jacmz7.js";import{_,x as i,w as a,s as f,v as l,b as u,y as c,a as V,A as r,m as d,G as h}from"./main-Clr8M5Ax.js";import{V as y,k as T}from"./forwardRefs-B7vVpHcB.js";const D={name:"ConfirmDialog",components:{ConfirmFooter:g,CodexListItem:k},props:{block:{type:Boolean,default:!1},button:{type:Boolean,default:!0},buttonText:{type:String,default:""},confirm:{type:Boolean,default:!0},confirmText:{type:String,required:!0},density:{type:String,default:"default"},icon:{type:String,default:""},prependIcon:{type:String,default:""},size:{type:String,default:"default"},text:{type:String,required:!0},titleText:{type:String,required:!0}},data(){return{showDialog:!1}},methods:{close(s){this.$emit(s),this.showDialog=!1},autoConfirm(){this.confirm||this.close("confirm")}}},I={class:"confirmDialog"};function S(s,o,e,v,m,n){const C=f("CodexListItem"),x=f("ConfirmFooter");return l(),i(b,{modelValue:m.showDialog,"onUpdate:modelValue":o[2]||(o[2]=t=>m.showDialog=t),transition:"fab-transition","min-width":"20em",width:"auto","overlay-opacity":"0.5"},{activator:a(({props:t})=>[e.button&&e.icon?(l(),i(y,d({key:0},t,{block:e.block,density:e.density,icon:e.icon,size:e.size,title:e.titleText,onClick:n.autoConfirm}),null,16,["block","density","icon","size","title","onClick"])):e.button?(l(),i(y,d({key:1},t,{block:e.block,density:e.density,size:e.size,title:e.titleText,onClick:n.autoConfirm}),{default:a(()=>[e.prependIcon?(l(),i(T,{key:0},{default:a(()=>[c(r(e.prependIcon),1)]),_:1})):h("",!0),c(" "+r(e.buttonText),1)]),_:2},1040,["block","density","size","title","onClick"])):(l(),i(C,d({key:2},t,{"prepend-icon":e.prependIcon,title:e.titleText,onClick:n.autoConfirm}),null,16,["prepend-icon","title","onClick"]))]),default:a(()=>[u("div",I,[u("h3",null,r(e.titleText),1),c(" "+r(e.text)+" ",1),V(x,{"confirm-text":e.confirmText,onConfirm:o[0]||(o[0]=t=>n.close("confirm")),onCancel:o[1]||(o[1]=t=>n.close("cancel"))},null,8,["confirm-text"])])]),_:1},8,["modelValue"])}const N=_(D,[["render",S],["__scopeId","data-v-dee628ec"]]);export{N as C};
@@ -1 +1 @@
1
- import{_ as s,D as m,bK as i,ae as d,M as n,q as a,y as c,b as u,A as r,v as o}from"./main-rTP95ZK5.js";const _={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...m(n,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate(){return d.format(this.date)},formattedTime(){return i(this.twentyFourHourTime).format(this.date)},isNever(){return!this.dttm||new Date(this.dttm).getUTCFullYear()<2e3}},created(){}},f={key:0},T={key:1,datetime:"formattedDate"},p={class:"colTime",datetime:"formattedTime"};function l(t,D,h,y,F,e){return e.isNever?(o(),a("span",f,"Never")):(o(),a("time",T,[c(r(e.formattedDate)+" ",1),u("time",p,r(e.formattedTime),1)]))}const g=s(_,[["render",l],["__scopeId","data-v-4b6c3d4e"]]);export{g as D};
1
+ import{_ as s,D as m,bK as i,ae as d,M as n,q as a,y as c,b as u,A as r,v as o}from"./main-Clr8M5Ax.js";const _={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...m(n,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate(){return d.format(this.date)},formattedTime(){return i(this.twentyFourHourTime).format(this.date)},isNever(){return!this.dttm||new Date(this.dttm).getUTCFullYear()<2e3}},created(){}},f={key:0},T={key:1,datetime:"formattedDate"},p={class:"colTime",datetime:"formattedTime"};function l(t,D,h,y,F,e){return e.isNever?(o(),a("span",f,"Never")):(o(),a("time",T,[c(r(e.formattedDate)+" ",1),u("time",p,r(e.formattedTime),1)]))}const g=s(_,[["render",l],["__scopeId","data-v-4b6c3d4e"]]);export{g as D};
@@ -1 +1 @@
1
- import{_ as s,D as m,bK as i,ae as d,M as n,q as a,y as c,b as u,A as r,v as o}from"./main-rTP95ZK5.js";const _={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...m(n,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate(){return d.format(this.date)},formattedTime(){return i(this.twentyFourHourTime).format(this.date)},isNever(){return!this.dttm||new Date(this.dttm).getUTCFullYear()<2e3}},created(){}},f={key:0},T={key:1,datetime:"formattedDate"},p={class:"colTime",datetime:"formattedTime"};function l(t,D,h,y,F,e){return e.isNever?(o(),a("span",f,"Never")):(o(),a("time",T,[c(r(e.formattedDate)+" ",1),u("time",p,r(e.formattedTime),1)]))}const g=s(_,[["render",l],["__scopeId","data-v-4b6c3d4e"]]);export{g as D};
1
+ import{_ as s,D as m,bK as i,ae as d,M as n,q as a,y as c,b as u,A as r,v as o}from"./main-Clr8M5Ax.js";const _={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...m(n,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate(){return d.format(this.date)},formattedTime(){return i(this.twentyFourHourTime).format(this.date)},isNever(){return!this.dttm||new Date(this.dttm).getUTCFullYear()<2e3}},created(){}},f={key:0},T={key:1,datetime:"formattedDate"},p={class:"colTime",datetime:"formattedTime"};function l(t,D,h,y,F,e){return e.isNever?(o(),a("span",f,"Never")):(o(),a("time",T,[c(r(e.formattedDate)+" ",1),u("time",p,r(e.formattedTime),1)]))}const g=s(_,[["render",l],["__scopeId","data-v-4b6c3d4e"]]);export{g as D};
@@ -1 +1 @@
1
- import{p as I,aT as _,c as L,bZ as F,bi as O,bD as w,bW as j,b as M,d as k,F as v}from"./main-rTP95ZK5.js";const S=(e,t,n)=>{if(e==null||t==null)return-1;if(!t.length)return 0;e=e.toString().toLocaleLowerCase(),t=t.toString().toLocaleLowerCase();const r=[];let l=e.indexOf(t);for(;~l;)r.push([l,l+t.length]),l=e.indexOf(t,l+t.length);return r.length?r:-1};function p(e,t){if(!(e==null||typeof e=="boolean"||e===-1))return typeof e=="number"?[[e,e+t.length]]:Array.isArray(e[0])?e:[e]}const C=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function A(e,t,n){const r=[],l=n?.default??S,f=n?.filterKeys?w(n.filterKeys):!1,o=Object.keys(n?.customKeyFilter??{}).length;if(!e?.length)return r;e:for(let c=0;c<e.length;c++){const[s,m=s]=w(e[c]),g={},a={};let i=-1;if((t||o>0)&&!n?.noFilter){if(typeof s=="object"){if(s.type==="divider"||s.type==="subheader")continue;const b=f||Object.keys(m);for(const d of b){const y=j(m,d),K=n?.customKeyFilter?.[d];if(i=K?K(y,t,s):l(y,t,s),i!==-1&&i!==!1)K?g[d]=p(i,t):a[d]=p(i,t);else if(n?.filterMode==="every")continue e}}else i=l(s,t,s),i!==-1&&i!==!1&&(a.title=p(i,t));const u=Object.keys(a).length,h=Object.keys(g).length;if(!u&&!h||n?.filterMode==="union"&&h!==o&&!u||n?.filterMode==="intersection"&&(h!==o||!u))continue}r.push({index:c,matches:{...a,...g}})}return r}function $(e,t,n,r){const l=_([]),f=_(new Map),o=L(()=>r?.transform?F(t).map(s=>[s,r.transform(s)]):F(t));O(()=>{const s=typeof n=="function"?n():F(n),m=typeof s!="string"&&typeof s!="number"?"":String(s),g=A(o.value,m,{customKeyFilter:{...e.customKeyFilter,...F(r?.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),a=F(t),i=[],u=new Map;g.forEach(h=>{let{index:b,matches:d}=h;const y=a[b];i.push(y),u.set(y.value,d)}),l.value=i,f.value=u});function c(s){return f.value.get(s.value)}return{filteredItems:l,filteredMatches:f,getMatches:c}}function B(e,t,n){return n==null||!n.length?t:n.map((r,l)=>{const f=l===0?0:n[l-1][1],o=[M("span",{class:k(`${e}__unmask`)},[t.slice(f,r[0])]),M("span",{class:k(`${e}__mask`)},[t.slice(r[0],r[1])])];return l===n.length-1&&o.push(M("span",{class:k(`${e}__unmask`)},[t.slice(r[1])])),M(v,null,[o])})}export{B as h,C as m,$ as u};
1
+ import{p as I,aT as _,c as L,bZ as F,bi as O,bD as w,bW as j,b as M,d as k,F as v}from"./main-Clr8M5Ax.js";const S=(e,t,n)=>{if(e==null||t==null)return-1;if(!t.length)return 0;e=e.toString().toLocaleLowerCase(),t=t.toString().toLocaleLowerCase();const r=[];let l=e.indexOf(t);for(;~l;)r.push([l,l+t.length]),l=e.indexOf(t,l+t.length);return r.length?r:-1};function p(e,t){if(!(e==null||typeof e=="boolean"||e===-1))return typeof e=="number"?[[e,e+t.length]]:Array.isArray(e[0])?e:[e]}const C=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function A(e,t,n){const r=[],l=n?.default??S,f=n?.filterKeys?w(n.filterKeys):!1,o=Object.keys(n?.customKeyFilter??{}).length;if(!e?.length)return r;e:for(let c=0;c<e.length;c++){const[s,m=s]=w(e[c]),g={},a={};let i=-1;if((t||o>0)&&!n?.noFilter){if(typeof s=="object"){if(s.type==="divider"||s.type==="subheader")continue;const b=f||Object.keys(m);for(const d of b){const y=j(m,d),K=n?.customKeyFilter?.[d];if(i=K?K(y,t,s):l(y,t,s),i!==-1&&i!==!1)K?g[d]=p(i,t):a[d]=p(i,t);else if(n?.filterMode==="every")continue e}}else i=l(s,t,s),i!==-1&&i!==!1&&(a.title=p(i,t));const u=Object.keys(a).length,h=Object.keys(g).length;if(!u&&!h||n?.filterMode==="union"&&h!==o&&!u||n?.filterMode==="intersection"&&(h!==o||!u))continue}r.push({index:c,matches:{...a,...g}})}return r}function $(e,t,n,r){const l=_([]),f=_(new Map),o=L(()=>r?.transform?F(t).map(s=>[s,r.transform(s)]):F(t));O(()=>{const s=typeof n=="function"?n():F(n),m=typeof s!="string"&&typeof s!="number"?"":String(s),g=A(o.value,m,{customKeyFilter:{...e.customKeyFilter,...F(r?.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),a=F(t),i=[],u=new Map;g.forEach(h=>{let{index:b,matches:d}=h;const y=a[b];i.push(y),u.set(y.value,d)}),l.value=i,f.value=u});function c(s){return f.value.get(s.value)}return{filteredItems:l,filteredMatches:f,getMatches:c}}function B(e,t,n){return n==null||!n.length?t:n.map((r,l)=>{const f=l===0?0:n[l-1][1],o=[M("span",{class:k(`${e}__unmask`)},[t.slice(f,r[0])]),M("span",{class:k(`${e}__mask`)},[t.slice(r[0],r[1])])];return l===n.length-1&&o.push(M("span",{class:k(`${e}__unmask`)},[t.slice(r[1])])),M(v,null,[o])})}export{B as h,C as m,$ as u};
@@ -1 +1 @@
1
- import{p as I,aT as _,c as L,bZ as F,bi as O,bD as w,bW as j,b as M,d as k,F as v}from"./main-rTP95ZK5.js";const S=(e,t,n)=>{if(e==null||t==null)return-1;if(!t.length)return 0;e=e.toString().toLocaleLowerCase(),t=t.toString().toLocaleLowerCase();const r=[];let l=e.indexOf(t);for(;~l;)r.push([l,l+t.length]),l=e.indexOf(t,l+t.length);return r.length?r:-1};function p(e,t){if(!(e==null||typeof e=="boolean"||e===-1))return typeof e=="number"?[[e,e+t.length]]:Array.isArray(e[0])?e:[e]}const C=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function A(e,t,n){const r=[],l=n?.default??S,f=n?.filterKeys?w(n.filterKeys):!1,o=Object.keys(n?.customKeyFilter??{}).length;if(!e?.length)return r;e:for(let c=0;c<e.length;c++){const[s,m=s]=w(e[c]),g={},a={};let i=-1;if((t||o>0)&&!n?.noFilter){if(typeof s=="object"){if(s.type==="divider"||s.type==="subheader")continue;const b=f||Object.keys(m);for(const d of b){const y=j(m,d),K=n?.customKeyFilter?.[d];if(i=K?K(y,t,s):l(y,t,s),i!==-1&&i!==!1)K?g[d]=p(i,t):a[d]=p(i,t);else if(n?.filterMode==="every")continue e}}else i=l(s,t,s),i!==-1&&i!==!1&&(a.title=p(i,t));const u=Object.keys(a).length,h=Object.keys(g).length;if(!u&&!h||n?.filterMode==="union"&&h!==o&&!u||n?.filterMode==="intersection"&&(h!==o||!u))continue}r.push({index:c,matches:{...a,...g}})}return r}function $(e,t,n,r){const l=_([]),f=_(new Map),o=L(()=>r?.transform?F(t).map(s=>[s,r.transform(s)]):F(t));O(()=>{const s=typeof n=="function"?n():F(n),m=typeof s!="string"&&typeof s!="number"?"":String(s),g=A(o.value,m,{customKeyFilter:{...e.customKeyFilter,...F(r?.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),a=F(t),i=[],u=new Map;g.forEach(h=>{let{index:b,matches:d}=h;const y=a[b];i.push(y),u.set(y.value,d)}),l.value=i,f.value=u});function c(s){return f.value.get(s.value)}return{filteredItems:l,filteredMatches:f,getMatches:c}}function B(e,t,n){return n==null||!n.length?t:n.map((r,l)=>{const f=l===0?0:n[l-1][1],o=[M("span",{class:k(`${e}__unmask`)},[t.slice(f,r[0])]),M("span",{class:k(`${e}__mask`)},[t.slice(r[0],r[1])])];return l===n.length-1&&o.push(M("span",{class:k(`${e}__unmask`)},[t.slice(r[1])])),M(v,null,[o])})}export{B as h,C as m,$ as u};
1
+ import{p as I,aT as _,c as L,bZ as F,bi as O,bD as w,bW as j,b as M,d as k,F as v}from"./main-Clr8M5Ax.js";const S=(e,t,n)=>{if(e==null||t==null)return-1;if(!t.length)return 0;e=e.toString().toLocaleLowerCase(),t=t.toString().toLocaleLowerCase();const r=[];let l=e.indexOf(t);for(;~l;)r.push([l,l+t.length]),l=e.indexOf(t,l+t.length);return r.length?r:-1};function p(e,t){if(!(e==null||typeof e=="boolean"||e===-1))return typeof e=="number"?[[e,e+t.length]]:Array.isArray(e[0])?e:[e]}const C=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function A(e,t,n){const r=[],l=n?.default??S,f=n?.filterKeys?w(n.filterKeys):!1,o=Object.keys(n?.customKeyFilter??{}).length;if(!e?.length)return r;e:for(let c=0;c<e.length;c++){const[s,m=s]=w(e[c]),g={},a={};let i=-1;if((t||o>0)&&!n?.noFilter){if(typeof s=="object"){if(s.type==="divider"||s.type==="subheader")continue;const b=f||Object.keys(m);for(const d of b){const y=j(m,d),K=n?.customKeyFilter?.[d];if(i=K?K(y,t,s):l(y,t,s),i!==-1&&i!==!1)K?g[d]=p(i,t):a[d]=p(i,t);else if(n?.filterMode==="every")continue e}}else i=l(s,t,s),i!==-1&&i!==!1&&(a.title=p(i,t));const u=Object.keys(a).length,h=Object.keys(g).length;if(!u&&!h||n?.filterMode==="union"&&h!==o&&!u||n?.filterMode==="intersection"&&(h!==o||!u))continue}r.push({index:c,matches:{...a,...g}})}return r}function $(e,t,n,r){const l=_([]),f=_(new Map),o=L(()=>r?.transform?F(t).map(s=>[s,r.transform(s)]):F(t));O(()=>{const s=typeof n=="function"?n():F(n),m=typeof s!="string"&&typeof s!="number"?"":String(s),g=A(o.value,m,{customKeyFilter:{...e.customKeyFilter,...F(r?.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),a=F(t),i=[],u=new Map;g.forEach(h=>{let{index:b,matches:d}=h;const y=a[b];i.push(y),u.set(y.value,d)}),l.value=i,f.value=u});function c(s){return f.value.get(s.value)}return{filteredItems:l,filteredMatches:f,getMatches:c}}function B(e,t,n){return n==null||!n.length?t:n.map((r,l)=>{const f=l===0?0:n[l-1][1],o=[M("span",{class:k(`${e}__unmask`)},[t.slice(f,r[0])]),M("span",{class:k(`${e}__mask`)},[t.slice(r[0],r[1])])];return l===n.length-1&&o.push(M("span",{class:k(`${e}__unmask`)},[t.slice(r[1])])),M(v,null,[o])})}export{B as h,C as m,$ as u};
@@ -1 +1 @@
1
- import{_ as p,B as b,D as h,x as i,w as y,C as g,bx as v,v as r,b as o,q as d,F as k,z as w,G as T,A as m,a as B}from"./main-rTP95ZK5.js";import{useAdminStore as f}from"./admin-BNZOvNK8.js";import{V as x}from"./VTable-DdYDbUS9.js";import{c as C}from"./VSelectionControl-DShFWXoi.js";import{V as S}from"./forwardRefs-ChSAhOJC.js";import{V}from"./VCheckbox-B2ZlilbV.js";import"./VCheckboxBtn-h7KZtjJ5.js";const I="Auto Update",A="Banner Text",U="Folder View",F="Import Metadata on Library Scan",_="Import Metadata on Demand",E="Non Users",N="Registration",D="Send Stats",L={AU:I,BT:A,FV:U,IM:F,LI:_,NU:E,RG:N,ST:D},M="If enabled, codex will attempt to update the codex python package once a day and restart the server if an update occurred. Not advisable if running from Docker as running containers aren't meant to hold state and will be rebuilt if you update the image. Look into services that automatically update docker images instead.",R="By default all Codex features, including bookmarking, are available to users who are not logged in. You may disable this feature and Codex will hide its browser and reader and disable its API from anyone who is not logged in as a user.",G="By default users' bookmarks and preferences are saved in an anonymous browser session. Users can create a username and password to save their bookmarks between browsers. You may disable this feature. Admins may still create users.",O=`By default, codex provides a "Folder View" which mimics the directory hierarchy of the libraries that you've added to Codex. You may disable this feature. The database style browser view is always available. This flag also enables and disables the "Filename" sort option and the path from search indexing.`,Y="If disabled, Codex will not bulk import metadata from comic libraries when they are scanned and only import folders and filenames. This makes importing comics fast, but disables most of the metadata browser and search functionality for lack of data, making codex mostly a file tree browser.",P="Import metadata for books that have none one at a time when you hover over the 🏷 button. On many systems this will happen fast enough that clicking the button will show populated metadata. This gives users individual metadata on demand for setups that have Bulk Import Metadata disabled above and lets them slowly populate the database. Eventually there might be enough data for search and filtering to be useful.",$="Anonymously send the contents of the Admin Stats tab once a week to understand how people use Codex and improve the software. The server collecting the stats does not log or store your IP. The author considers all personally identifying information and the names and metadata of your comics to be a radioactive privacy violation and will never be exposed to it. Only the information you see on the stats page is collected. Your API Key is not sent. Stats are not sent for the first 24 hours to allow opt-out.",z="A customized text headline that appears at the top of every codex page.",q={AU:M,NU:R,RG:G,FV:O,IM:Y,LI:P,ST:$,BT:z},K={name:"AdminFlagsTab",components:{},data(){return{DESC:q,banner:"",mdiContentSaveOutline:v,lastUpdate:{name:"",field:void 0},errors:{}}},computed:{...h(g,{formErrors:e=>e.form.errors}),...h(f,{flags:e=>e.flags}),storeBanner(){for(const e of this.flags)if(e.key==="BT")return e.value;return""}},watch:{storeBanner(e){this.banner=e}},mounted(){this.loadTables(["Flag"])},methods:{...b(f,["updateRow","clearErrors","loadTables"]),setError(e,a){this.formErrors&&this.formErrors.length>0?this.errors[e]=this.formErrors[0][a]:delete this.errors[e]},changeCol(e,a,u){this.lastUpdate.name=e,this.lastUpdate.field=a;const c={[a]:u};this.updateRow("Flag",e,c).then(()=>this.setError(e,a)).catch(console.error)},title(e){return L[e.key]},colspan(e){return e.key==="BT"?1:2}}},j=["colspan"],H={class:"desc"},J={key:0,class:"bannerTextField"};function Q(e,a,u,c,s,l){return r(),i(x,{class:"highlight-table flags-table",items:e.flags,"fixed-header":""},{default:y(()=>[a[2]||(a[2]=o("thead",null,[o("tr",null,[o("th",null,"Description"),o("th",null,"Value"),o("th",null,"Enabled")])],-1)),o("tbody",null,[(r(!0),d(k,null,w(e.flags,t=>(r(),d("tr",{key:`f${t.key}`},[o("td",{class:"nameCol",colspan:l.colspan(t)},[o("h4",null,m(l.title(t)),1),o("p",H,m(s.DESC[t.key]),1)],8,j),t.key==="BT"?(r(),d("td",J,[B(C,{"model-value":s.banner,label:"Banner",clearable:"","hide-details":"auto","error-messages":s.errors[t.key],"onUpdate:modelValue":a[0]||(a[0]=n=>s.banner=n),"onClick:clear":a[1]||(a[1]=n=>s.banner="")},null,8,["model-value","error-messages"])])):T("",!0),o("td",null,[t.key==="BT"?(r(),i(S,{key:0,variant:"plain",class:"flagSaveButton",icon:s.mdiContentSaveOutline,title:"Save Banner",onClick:n=>l.changeCol(t.key,"value",s.banner)},null,8,["icon","onClick"])):(r(),i(V,{key:1,"model-value":t.on,"true-value":!0,"error-messages":s.errors[t.key],"hide-details":"auto","onUpdate:modelValue":n=>l.changeCol(t.key,"on",n)},null,8,["model-value","error-messages","onUpdate:modelValue"]))])]))),128))])]),_:1,__:[2]},8,["items"])}const se=p(K,[["render",Q],["__scopeId","data-v-1f6d7170"]]);export{se as default};
1
+ import{_ as p,B as b,D as h,x as i,w as y,C as g,bx as v,v as r,b as o,q as d,F as k,z as w,G as T,A as m,a as B}from"./main-Clr8M5Ax.js";import{useAdminStore as f}from"./admin-BTr0-CtZ.js";import{V as x}from"./VTable-DzpeXwjm.js";import{c as C}from"./VSelectionControl-gIR5jZDY.js";import{V as S}from"./forwardRefs-B7vVpHcB.js";import{V}from"./VCheckbox-D_XyTZ4u.js";import"./VCheckboxBtn-BfvjNP65.js";const I="Auto Update",A="Banner Text",U="Folder View",F="Import Metadata on Library Scan",_="Import Metadata on Demand",E="Non Users",N="Registration",D="Send Stats",L={AU:I,BT:A,FV:U,IM:F,LI:_,NU:E,RG:N,ST:D},M="If enabled, codex will attempt to update the codex python package once a day and restart the server if an update occurred. Not advisable if running from Docker as running containers aren't meant to hold state and will be rebuilt if you update the image. Look into services that automatically update docker images instead.",R="By default all Codex features, including bookmarking, are available to users who are not logged in. You may disable this feature and Codex will hide its browser and reader and disable its API from anyone who is not logged in as a user.",G="By default users' bookmarks and preferences are saved in an anonymous browser session. Users can create a username and password to save their bookmarks between browsers. You may disable this feature. Admins may still create users.",O=`By default, codex provides a "Folder View" which mimics the directory hierarchy of the libraries that you've added to Codex. You may disable this feature. The database style browser view is always available. This flag also enables and disables the "Filename" sort option and the path from search indexing.`,Y="If disabled, Codex will not bulk import metadata from comic libraries when they are scanned and only import folders and filenames. This makes importing comics fast, but disables most of the metadata browser and search functionality for lack of data, making codex mostly a file tree browser.",P="Import metadata for books that have none one at a time when you hover over the 🏷 button. On many systems this will happen fast enough that clicking the button will show populated metadata. This gives users individual metadata on demand for setups that have Bulk Import Metadata disabled above and lets them slowly populate the database. Eventually there might be enough data for search and filtering to be useful.",$="Anonymously send the contents of the Admin Stats tab once a week to understand how people use Codex and improve the software. The server collecting the stats does not log or store your IP. The author considers all personally identifying information and the names and metadata of your comics to be a radioactive privacy violation and will never be exposed to it. Only the information you see on the stats page is collected. Your API Key is not sent. Stats are not sent for the first 24 hours to allow opt-out.",z="A customized text headline that appears at the top of every codex page.",q={AU:M,NU:R,RG:G,FV:O,IM:Y,LI:P,ST:$,BT:z},K={name:"AdminFlagsTab",components:{},data(){return{DESC:q,banner:"",mdiContentSaveOutline:v,lastUpdate:{name:"",field:void 0},errors:{}}},computed:{...h(g,{formErrors:e=>e.form.errors}),...h(f,{flags:e=>e.flags}),storeBanner(){for(const e of this.flags)if(e.key==="BT")return e.value;return""}},watch:{storeBanner(e){this.banner=e}},mounted(){this.loadTables(["Flag"])},methods:{...b(f,["updateRow","clearErrors","loadTables"]),setError(e,a){this.formErrors&&this.formErrors.length>0?this.errors[e]=this.formErrors[0][a]:delete this.errors[e]},changeCol(e,a,u){this.lastUpdate.name=e,this.lastUpdate.field=a;const c={[a]:u};this.updateRow("Flag",e,c).then(()=>this.setError(e,a)).catch(console.error)},title(e){return L[e.key]},colspan(e){return e.key==="BT"?1:2}}},j=["colspan"],H={class:"desc"},J={key:0,class:"bannerTextField"};function Q(e,a,u,c,s,l){return r(),i(x,{class:"highlight-table flags-table",items:e.flags,"fixed-header":""},{default:y(()=>[a[2]||(a[2]=o("thead",null,[o("tr",null,[o("th",null,"Description"),o("th",null,"Value"),o("th",null,"Enabled")])],-1)),o("tbody",null,[(r(!0),d(k,null,w(e.flags,t=>(r(),d("tr",{key:`f${t.key}`},[o("td",{class:"nameCol",colspan:l.colspan(t)},[o("h4",null,m(l.title(t)),1),o("p",H,m(s.DESC[t.key]),1)],8,j),t.key==="BT"?(r(),d("td",J,[B(C,{"model-value":s.banner,label:"Banner",clearable:"","hide-details":"auto","error-messages":s.errors[t.key],"onUpdate:modelValue":a[0]||(a[0]=n=>s.banner=n),"onClick:clear":a[1]||(a[1]=n=>s.banner="")},null,8,["model-value","error-messages"])])):T("",!0),o("td",null,[t.key==="BT"?(r(),i(S,{key:0,variant:"plain",class:"flagSaveButton",icon:s.mdiContentSaveOutline,title:"Save Banner",onClick:n=>l.changeCol(t.key,"value",s.banner)},null,8,["icon","onClick"])):(r(),i(V,{key:1,"model-value":t.on,"true-value":!0,"error-messages":s.errors[t.key],"hide-details":"auto","onUpdate:modelValue":n=>l.changeCol(t.key,"on",n)},null,8,["model-value","error-messages","onUpdate:modelValue"]))])]))),128))])]),_:1,__:[2]},8,["items"])}const se=p(K,[["render",Q],["__scopeId","data-v-1f6d7170"]]);export{se as default};
@@ -1 +1 @@
1
- import{_ as p,B as b,D as h,x as i,w as y,C as g,bx as v,v as r,b as o,q as d,F as k,z as w,G as T,A as m,a as B}from"./main-rTP95ZK5.js";import{useAdminStore as f}from"./admin-BNZOvNK8.js";import{V as x}from"./VTable-DdYDbUS9.js";import{c as C}from"./VSelectionControl-DShFWXoi.js";import{V as S}from"./forwardRefs-ChSAhOJC.js";import{V}from"./VCheckbox-B2ZlilbV.js";import"./VCheckboxBtn-h7KZtjJ5.js";const I="Auto Update",A="Banner Text",U="Folder View",F="Import Metadata on Library Scan",_="Import Metadata on Demand",E="Non Users",N="Registration",D="Send Stats",L={AU:I,BT:A,FV:U,IM:F,LI:_,NU:E,RG:N,ST:D},M="If enabled, codex will attempt to update the codex python package once a day and restart the server if an update occurred. Not advisable if running from Docker as running containers aren't meant to hold state and will be rebuilt if you update the image. Look into services that automatically update docker images instead.",R="By default all Codex features, including bookmarking, are available to users who are not logged in. You may disable this feature and Codex will hide its browser and reader and disable its API from anyone who is not logged in as a user.",G="By default users' bookmarks and preferences are saved in an anonymous browser session. Users can create a username and password to save their bookmarks between browsers. You may disable this feature. Admins may still create users.",O=`By default, codex provides a "Folder View" which mimics the directory hierarchy of the libraries that you've added to Codex. You may disable this feature. The database style browser view is always available. This flag also enables and disables the "Filename" sort option and the path from search indexing.`,Y="If disabled, Codex will not bulk import metadata from comic libraries when they are scanned and only import folders and filenames. This makes importing comics fast, but disables most of the metadata browser and search functionality for lack of data, making codex mostly a file tree browser.",P="Import metadata for books that have none one at a time when you hover over the 🏷 button. On many systems this will happen fast enough that clicking the button will show populated metadata. This gives users individual metadata on demand for setups that have Bulk Import Metadata disabled above and lets them slowly populate the database. Eventually there might be enough data for search and filtering to be useful.",$="Anonymously send the contents of the Admin Stats tab once a week to understand how people use Codex and improve the software. The server collecting the stats does not log or store your IP. The author considers all personally identifying information and the names and metadata of your comics to be a radioactive privacy violation and will never be exposed to it. Only the information you see on the stats page is collected. Your API Key is not sent. Stats are not sent for the first 24 hours to allow opt-out.",z="A customized text headline that appears at the top of every codex page.",q={AU:M,NU:R,RG:G,FV:O,IM:Y,LI:P,ST:$,BT:z},K={name:"AdminFlagsTab",components:{},data(){return{DESC:q,banner:"",mdiContentSaveOutline:v,lastUpdate:{name:"",field:void 0},errors:{}}},computed:{...h(g,{formErrors:e=>e.form.errors}),...h(f,{flags:e=>e.flags}),storeBanner(){for(const e of this.flags)if(e.key==="BT")return e.value;return""}},watch:{storeBanner(e){this.banner=e}},mounted(){this.loadTables(["Flag"])},methods:{...b(f,["updateRow","clearErrors","loadTables"]),setError(e,a){this.formErrors&&this.formErrors.length>0?this.errors[e]=this.formErrors[0][a]:delete this.errors[e]},changeCol(e,a,u){this.lastUpdate.name=e,this.lastUpdate.field=a;const c={[a]:u};this.updateRow("Flag",e,c).then(()=>this.setError(e,a)).catch(console.error)},title(e){return L[e.key]},colspan(e){return e.key==="BT"?1:2}}},j=["colspan"],H={class:"desc"},J={key:0,class:"bannerTextField"};function Q(e,a,u,c,s,l){return r(),i(x,{class:"highlight-table flags-table",items:e.flags,"fixed-header":""},{default:y(()=>[a[2]||(a[2]=o("thead",null,[o("tr",null,[o("th",null,"Description"),o("th",null,"Value"),o("th",null,"Enabled")])],-1)),o("tbody",null,[(r(!0),d(k,null,w(e.flags,t=>(r(),d("tr",{key:`f${t.key}`},[o("td",{class:"nameCol",colspan:l.colspan(t)},[o("h4",null,m(l.title(t)),1),o("p",H,m(s.DESC[t.key]),1)],8,j),t.key==="BT"?(r(),d("td",J,[B(C,{"model-value":s.banner,label:"Banner",clearable:"","hide-details":"auto","error-messages":s.errors[t.key],"onUpdate:modelValue":a[0]||(a[0]=n=>s.banner=n),"onClick:clear":a[1]||(a[1]=n=>s.banner="")},null,8,["model-value","error-messages"])])):T("",!0),o("td",null,[t.key==="BT"?(r(),i(S,{key:0,variant:"plain",class:"flagSaveButton",icon:s.mdiContentSaveOutline,title:"Save Banner",onClick:n=>l.changeCol(t.key,"value",s.banner)},null,8,["icon","onClick"])):(r(),i(V,{key:1,"model-value":t.on,"true-value":!0,"error-messages":s.errors[t.key],"hide-details":"auto","onUpdate:modelValue":n=>l.changeCol(t.key,"on",n)},null,8,["model-value","error-messages","onUpdate:modelValue"]))])]))),128))])]),_:1,__:[2]},8,["items"])}const se=p(K,[["render",Q],["__scopeId","data-v-1f6d7170"]]);export{se as default};
1
+ import{_ as p,B as b,D as h,x as i,w as y,C as g,bx as v,v as r,b as o,q as d,F as k,z as w,G as T,A as m,a as B}from"./main-Clr8M5Ax.js";import{useAdminStore as f}from"./admin-BTr0-CtZ.js";import{V as x}from"./VTable-DzpeXwjm.js";import{c as C}from"./VSelectionControl-gIR5jZDY.js";import{V as S}from"./forwardRefs-B7vVpHcB.js";import{V}from"./VCheckbox-D_XyTZ4u.js";import"./VCheckboxBtn-BfvjNP65.js";const I="Auto Update",A="Banner Text",U="Folder View",F="Import Metadata on Library Scan",_="Import Metadata on Demand",E="Non Users",N="Registration",D="Send Stats",L={AU:I,BT:A,FV:U,IM:F,LI:_,NU:E,RG:N,ST:D},M="If enabled, codex will attempt to update the codex python package once a day and restart the server if an update occurred. Not advisable if running from Docker as running containers aren't meant to hold state and will be rebuilt if you update the image. Look into services that automatically update docker images instead.",R="By default all Codex features, including bookmarking, are available to users who are not logged in. You may disable this feature and Codex will hide its browser and reader and disable its API from anyone who is not logged in as a user.",G="By default users' bookmarks and preferences are saved in an anonymous browser session. Users can create a username and password to save their bookmarks between browsers. You may disable this feature. Admins may still create users.",O=`By default, codex provides a "Folder View" which mimics the directory hierarchy of the libraries that you've added to Codex. You may disable this feature. The database style browser view is always available. This flag also enables and disables the "Filename" sort option and the path from search indexing.`,Y="If disabled, Codex will not bulk import metadata from comic libraries when they are scanned and only import folders and filenames. This makes importing comics fast, but disables most of the metadata browser and search functionality for lack of data, making codex mostly a file tree browser.",P="Import metadata for books that have none one at a time when you hover over the 🏷 button. On many systems this will happen fast enough that clicking the button will show populated metadata. This gives users individual metadata on demand for setups that have Bulk Import Metadata disabled above and lets them slowly populate the database. Eventually there might be enough data for search and filtering to be useful.",$="Anonymously send the contents of the Admin Stats tab once a week to understand how people use Codex and improve the software. The server collecting the stats does not log or store your IP. The author considers all personally identifying information and the names and metadata of your comics to be a radioactive privacy violation and will never be exposed to it. Only the information you see on the stats page is collected. Your API Key is not sent. Stats are not sent for the first 24 hours to allow opt-out.",z="A customized text headline that appears at the top of every codex page.",q={AU:M,NU:R,RG:G,FV:O,IM:Y,LI:P,ST:$,BT:z},K={name:"AdminFlagsTab",components:{},data(){return{DESC:q,banner:"",mdiContentSaveOutline:v,lastUpdate:{name:"",field:void 0},errors:{}}},computed:{...h(g,{formErrors:e=>e.form.errors}),...h(f,{flags:e=>e.flags}),storeBanner(){for(const e of this.flags)if(e.key==="BT")return e.value;return""}},watch:{storeBanner(e){this.banner=e}},mounted(){this.loadTables(["Flag"])},methods:{...b(f,["updateRow","clearErrors","loadTables"]),setError(e,a){this.formErrors&&this.formErrors.length>0?this.errors[e]=this.formErrors[0][a]:delete this.errors[e]},changeCol(e,a,u){this.lastUpdate.name=e,this.lastUpdate.field=a;const c={[a]:u};this.updateRow("Flag",e,c).then(()=>this.setError(e,a)).catch(console.error)},title(e){return L[e.key]},colspan(e){return e.key==="BT"?1:2}}},j=["colspan"],H={class:"desc"},J={key:0,class:"bannerTextField"};function Q(e,a,u,c,s,l){return r(),i(x,{class:"highlight-table flags-table",items:e.flags,"fixed-header":""},{default:y(()=>[a[2]||(a[2]=o("thead",null,[o("tr",null,[o("th",null,"Description"),o("th",null,"Value"),o("th",null,"Enabled")])],-1)),o("tbody",null,[(r(!0),d(k,null,w(e.flags,t=>(r(),d("tr",{key:`f${t.key}`},[o("td",{class:"nameCol",colspan:l.colspan(t)},[o("h4",null,m(l.title(t)),1),o("p",H,m(s.DESC[t.key]),1)],8,j),t.key==="BT"?(r(),d("td",J,[B(C,{"model-value":s.banner,label:"Banner",clearable:"","hide-details":"auto","error-messages":s.errors[t.key],"onUpdate:modelValue":a[0]||(a[0]=n=>s.banner=n),"onClick:clear":a[1]||(a[1]=n=>s.banner="")},null,8,["model-value","error-messages"])])):T("",!0),o("td",null,[t.key==="BT"?(r(),i(S,{key:0,variant:"plain",class:"flagSaveButton",icon:s.mdiContentSaveOutline,title:"Save Banner",onClick:n=>l.changeCol(t.key,"value",s.banner)},null,8,["icon","onClick"])):(r(),i(V,{key:1,"model-value":t.on,"true-value":!0,"error-messages":s.errors[t.key],"hide-details":"auto","onUpdate:modelValue":n=>l.changeCol(t.key,"on",n)},null,8,["model-value","error-messages","onUpdate:modelValue"]))])]))),128))])]),_:1,__:[2]},8,["items"])}const se=p(K,[["render",Q],["__scopeId","data-v-1f6d7170"]]);export{se as default};
@@ -1 +1 @@
1
- import{cv as q,p as y,g as N,bX as ft,f as Ee,c as b,h as C,cp as Ie,cn as W,cw as we,cx as vt,cy as mt,cz as gt,cd as $,cA as le,j as ue,c9 as ht,bq as Le,m as X,cB as bt,ca as yt,cl as Te,t as g,b as S,d as k,F as pt,aA as M,J as G,az as K,u as D,a as _,n as L,bP as J,bt as Ct,aV as Re,i as wt,bl as Ne,aU as ge,ct as ce,e as $e,bk as St,cC as xt,bE as ze,bD as _t,cD as kt,bZ as Bt,aT as Oe,cE as Vt,cF as Pt,cG as Et,cH as It,K as de,r as Ae,bn as De,be as Lt,b7 as fe,bi as Tt,aC as We,bs as Fe,H as Rt,cI as Se,aW as He,S as Nt,A as $t}from"./main-rTP95ZK5.js";const Me=["top","bottom"],zt=["start","end","left","right"];function Ot(e,t){let[n,s]=e.split(" ");return s||(s=q(Me,n)?"start":q(zt,n)?"top":"center"),{side:xe(n,t),align:xe(s,t)}}function xe(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function xn(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function _n(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function kn(e){return{side:e.align,align:e.side}}function Bn(e){return q(Me,e.side)?"y":"x"}class R{constructor(t){let{x:n,y:s,width:i,height:a}=t;this.x=n,this.y=s,this.width=i,this.height=a}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Vn(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function Pn(e){return Array.isArray(e)?new R({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function En(e){if(e===document.documentElement)return visualViewport?new R({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale,height:visualViewport.height*visualViewport.scale}):new R({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});{const t=e.getBoundingClientRect();return new R({x:t.x,y:t.y,width:e.clientWidth,height:e.clientHeight})}}function In(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),s=n.transform;if(s){let i,a,r,o,l;if(s.startsWith("matrix3d("))i=s.slice(9,-1).split(/, /),a=Number(i[0]),r=Number(i[5]),o=Number(i[12]),l=Number(i[13]);else if(s.startsWith("matrix("))i=s.slice(7,-1).split(/, /),a=Number(i[0]),r=Number(i[3]),o=Number(i[4]),l=Number(i[5]);else return new R(t);const c=n.transformOrigin,f=t.x-o-(1-a)*parseFloat(c),m=t.y-l-(1-r)*parseFloat(c.slice(c.indexOf(" ")+1)),u=a?t.width/a:e.offsetWidth+1,v=r?t.height/r:e.offsetHeight+1;return new R({x:f,y:m,width:u,height:v})}else return new R(t)}function Ln(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let s;try{s=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof s.finished>"u"&&(s.finished=new Promise(i=>{s.onfinish=()=>{i(s)}})),s}const Tn="cubic-bezier(0.4, 0, 0.2, 1)",Rn="cubic-bezier(0.0, 0, 0.2, 1)",Nn="cubic-bezier(0.4, 0, 1, 1)",j=y({tag:{type:[String,Object,Function],default:"div"}},"tag"),At=y({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ne=N(!1)({name:"VDefaultsProvider",props:At(),setup(e,t){let{slots:n}=t;const{defaults:s,disabled:i,reset:a,root:r,scoped:o}=ft(e);return Ee(s,{reset:a,root:r,scoped:o,disabled:i}),()=>n.default?.()}}),Dt=y({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Wt(e){return{dimensionStyles:b(()=>{const n={},s=C(e.height),i=C(e.maxHeight),a=C(e.maxWidth),r=C(e.minHeight),o=C(e.minWidth),l=C(e.width);return s!=null&&(n.height=s),i!=null&&(n.maxHeight=i),a!=null&&(n.maxWidth=a),r!=null&&(n.minHeight=r),o!=null&&(n.minWidth=o),l!=null&&(n.width=l),n})}}function he(e){return Ie(()=>{const t=W(e),n=[],s={};if(t.background)if(we(t.background)){if(s.backgroundColor=t.background,!t.text&&vt(t.background)){const i=mt(t.background);if(i.a==null||i.a===1){const a=gt(i);s.color=a,s.caretColor=a}}}else n.push(`bg-${t.background}`);return t.text&&(we(t.text)?(s.color=t.text,s.caretColor=t.text):n.push(`text-${t.text}`)),{colorClasses:n,colorStyles:s}})}function U(e){const{colorClasses:t,colorStyles:n}=he(()=>({text:W(e)}));return{textColorClasses:t,textColorStyles:n}}function se(e){const{colorClasses:t,colorStyles:n}=he(()=>({background:W(e)}));return{backgroundColorClasses:t,backgroundColorStyles:n}}const be=y({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function ye(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{roundedClasses:b(()=>{const s=le(e)?e.value:e.rounded,i=le(e)?e.value:e.tile,a=[];if(s===!0||s==="")a.push(`${t}--rounded`);else if(typeof s=="string"||s===0)for(const r of String(s).split(" "))a.push(`rounded-${r}`);else(i||s===!1)&&a.push("rounded-0");return a})}}const $n=y({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),zn=(e,t)=>{let{slots:n}=t;const{transition:s,disabled:i,group:a,...r}=e,{component:o=a?ht:Le,...l}=ue(s)?s:{};let c;return ue(s)?c=X(l,bt({disabled:i,group:a}),r):c=X({name:i||!s?"":s},r),yt(o,c,n)};function Ft(e,t){if(!Te)return;const n=t.modifiers||{},s=t.value,{handler:i,options:a}=typeof s=="object"?s:{handler:s,options:{}},r=new IntersectionObserver(function(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const c=e._observe?.[t.instance.$.uid];if(!c)return;const f=o.some(m=>m.isIntersecting);i&&(!n.quiet||c.init)&&(!n.once||f||c.init)&&i(f,o,l),f&&n.once?Ge(e,t):c.init=!0},a);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:r},r.observe(e)}function Ge(e,t){const n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const On={mounted:Ft,unmounted:Ge},je=y({border:[Boolean,Number,String]},"border");function qe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{borderClasses:b(()=>{const s=e.border;return s===!0||s===""?`${t}--border`:typeof s=="string"||s===0?String(s).split(" ").map(i=>`border-${i}`):[]})}}const Xe=y({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Ue(e){return{elevationClasses:g(()=>{const n=le(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const Ht=["elevated","flat","tonal","outlined","text","plain"];function Mt(e,t){return S(pt,null,[e&&S("span",{key:"overlay",class:k(`${t}__overlay`)},null),S("span",{key:"underlay",class:k(`${t}__underlay`)},null)])}const Ye=y({color:String,variant:{type:String,default:"elevated",validator:e=>Ht.includes(e)}},"variant");function Gt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();const n=g(()=>{const{variant:a}=W(e);return`${t}--variant-${a}`}),{colorClasses:s,colorStyles:i}=he(()=>{const{variant:a,color:r}=W(e);return{[["elevated","flat"].includes(a)?"background":"text"]:r}});return{colorClasses:s,colorStyles:i,variantClasses:n}}const jt=[null,"default","comfortable","compact"],Ke=y({density:{type:String,default:"default",validator:e=>jt.includes(e)}},"density");function Je(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{densityClasses:g(()=>`${t}--density-${e.density}`)}}const Ze=y({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...je(),...G(),...Ke(),...Xe(),...be(),...j(),...M(),...Ye()},"VBtnGroup"),_e=N()({name:"VBtnGroup",props:Ze(),setup(e,t){let{slots:n}=t;const{themeClasses:s}=K(e),{densityClasses:i}=Je(e),{borderClasses:a}=qe(e),{elevationClasses:r}=Ue(e),{roundedClasses:o}=ye(e);Ee({VBtn:{height:g(()=>e.direction==="horizontal"?"auto":null),baseColor:g(()=>e.baseColor),color:g(()=>e.color),density:g(()=>e.density),flat:!0,variant:g(()=>e.variant)}}),D(()=>_(e.tag,{class:k(["v-btn-group",`v-btn-group--${e.direction}`,{"v-btn-group--divided":e.divided},s.value,a.value,i.value,r.value,o.value,e.class]),style:L(e.style)},n))}}),qt=y({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Xt=y({value:null,disabled:Boolean,selectedClass:String},"group-item");function Ut(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const s=J("useGroupItem");if(!s)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const i=Ct();Re(Symbol.for(`${t.description}:id`),i);const a=wt(t,null);if(!a){if(!n)return a;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const r=g(()=>e.value),o=b(()=>!!(a.disabled.value||e.disabled));a.register({id:i,value:r,disabled:o},s),Ne(()=>{a.unregister(i)});const l=b(()=>a.isSelected(i)),c=b(()=>a.items.value[0].id===i),f=b(()=>a.items.value[a.items.value.length-1].id===i),m=b(()=>l.value&&[a.selectedClass.value,e.selectedClass]);return ge(l,u=>{s.emit("group:selected",{value:u})},{flush:"sync"}),{id:i,isSelected:l,isFirst:c,isLast:f,toggle:()=>a.select(i,!l.value),select:u=>a.select(i,u),selectedClass:m,value:r,disabled:o,group:a}}function Yt(e,t){let n=!1;const s=ce([]),i=$e(e,"modelValue",[],u=>u==null?[]:Qe(s,_t(u)),u=>{const v=Jt(s,u);return e.multiple?v:v[0]}),a=J("useGroup");function r(u,v){const p=u,d=Symbol.for(`${t.description}:id`),w=kt(d,a?.vnode).indexOf(v);Bt(p.value)==null&&(p.value=w,p.useIndexAsValue=!0),w>-1?s.splice(w,0,p):s.push(p)}function o(u){if(n)return;l();const v=s.findIndex(p=>p.id===u);s.splice(v,1)}function l(){const u=s.find(v=>!v.disabled);u&&e.mandatory==="force"&&!i.value.length&&(i.value=[u.id])}St(()=>{l()}),Ne(()=>{n=!0}),xt(()=>{for(let u=0;u<s.length;u++)s[u].useIndexAsValue&&(s[u].value=u)});function c(u,v){const p=s.find(d=>d.id===u);if(!(v&&p?.disabled))if(e.multiple){const d=i.value.slice(),h=d.findIndex(P=>P===u),w=~h;if(v=v??!w,w&&e.mandatory&&d.length<=1||!w&&e.max!=null&&d.length+1>e.max)return;h<0&&v?d.push(u):h>=0&&!v&&d.splice(h,1),i.value=d}else{const d=i.value.includes(u);if(e.mandatory&&d||!d&&!v)return;i.value=v??!d?[u]:[]}}function f(u){if(e.multiple,i.value.length){const v=i.value[0],p=s.findIndex(w=>w.id===v);let d=(p+u)%s.length,h=s[d];for(;h.disabled&&d!==p;)d=(d+u)%s.length,h=s[d];if(h.disabled)return;i.value=[s[d].id]}else{const v=s.find(p=>!p.disabled);v&&(i.value=[v.id])}}const m={register:r,unregister:o,selected:i,select:c,disabled:g(()=>e.disabled),prev:()=>f(s.length-1),next:()=>f(1),isSelected:u=>i.value.includes(u),selectedClass:g(()=>e.selectedClass),items:g(()=>s),getItemIndex:u=>Kt(s,u)};return Re(t,m),m}function Kt(e,t){const n=Qe(e,[t]);return n.length?e.findIndex(s=>s.id===n[0]):-1}function Qe(e,t){const n=[];return t.forEach(s=>{const i=e.find(r=>ze(s,r.value)),a=e[s];i?.value!=null?n.push(i.id):a?.useIndexAsValue&&n.push(a.id)}),n}function Jt(e,t){const n=[];return t.forEach(s=>{const i=e.findIndex(a=>a.id===s);if(~i){const a=e[i];n.push(a.value!=null?a.value:i)}}),n}const et=Symbol.for("vuetify:v-btn-toggle"),Zt=y({...Ze(),...qt()},"VBtnToggle");N()({name:"VBtnToggle",props:Zt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:s,next:i,prev:a,select:r,selected:o}=Yt(e,et);return D(()=>{const l=_e.filterProps(e);return _(_e,X({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>[n.default?.({isSelected:s,next:i,prev:a,select:r,selected:o})]})}),{next:i,prev:a,select:r}}});const Qt=["x-small","small","default","large","x-large"],pe=y({size:{type:[String,Number],default:"default"}},"size");function Ce(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return Ie(()=>{const n=e.size;let s,i;return q(Qt,n)?s=`${t}--size-${n}`:n&&(i={width:C(n),height:C(n)}),{sizeClasses:s,sizeStyles:i}})}const en=y({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:de,opacity:[String,Number],...G(),...pe(),...j({tag:"i"}),...M()},"VIcon"),ae=N()({name:"VIcon",props:en(),setup(e,t){let{attrs:n,slots:s}=t;const i=Oe(),{themeClasses:a}=Vt(),{iconData:r}=Pt(()=>i.value||e.icon),{sizeClasses:o}=Ce(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color);return D(()=>{const f=s.default?.();f&&(i.value=Et(f).filter(u=>u.type===It&&u.children&&typeof u.children=="string")[0]?.children);const m=!!(n.onClick||n.onClickOnce);return _(r.value.component,{tag:e.tag,icon:r.value.icon,class:k(["v-icon","notranslate",a.value,o.value,l.value,{"v-icon--clickable":m,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class]),style:L([{"--v-icon-opacity":e.opacity},o.value?void 0:{fontSize:C(e.size),height:C(e.size),width:C(e.size)},c.value,e.style]),role:m?"button":void 0,"aria-hidden":!m,tabindex:m?e.disabled?-1:0:void 0},{default:()=>[f]})}),{}}});function tt(e,t){const n=Ae(),s=Oe(!1);if(Te){const i=new IntersectionObserver(a=>{s.value=!!a.find(r=>r.isIntersecting)},t);De(()=>{i.disconnect()}),ge(n,(a,r)=>{r&&(i.unobserve(r),s.value=!1),a&&i.observe(a)},{flush:"post"})}return{intersectionRef:n,isIntersecting:s}}const tn=y({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...G(),...pe(),...j({tag:"div"}),...M()},"VProgressCircular"),nn=N()({name:"VProgressCircular",props:tn(),setup(e,t){let{slots:n}=t;const s=20,i=2*Math.PI*s,a=Ae(),{themeClasses:r}=K(e),{sizeClasses:o,sizeStyles:l}=Ce(e),{textColorClasses:c,textColorStyles:f}=U(()=>e.color),{textColorClasses:m,textColorStyles:u}=U(()=>e.bgColor),{intersectionRef:v,isIntersecting:p}=tt(),{resizeRef:d,contentRect:h}=Lt(),w=g(()=>fe(parseFloat(e.modelValue),0,100)),P=g(()=>Number(e.width)),E=g(()=>l.value?Number(e.size):h.value?h.value.width:Math.max(P.value,32)),V=g(()=>s/(1-P.value/E.value)*2),T=g(()=>P.value/E.value*V.value),z=g(()=>C((100-w.value)/100*i));return Tt(()=>{v.value=a.value,d.value=a.value}),D(()=>_(e.tag,{ref:a,class:k(["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":p.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},r.value,o.value,c.value,e.class]),style:L([l.value,f.value,e.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:w.value},{default:()=>[S("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${V.value} ${V.value}`},[S("circle",{class:k(["v-progress-circular__underlay",m.value]),style:L(u.value),fill:"transparent",cx:"50%",cy:"50%",r:s,"stroke-width":T.value,"stroke-dasharray":i,"stroke-dashoffset":0},null),S("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:s,"stroke-width":T.value,"stroke-dasharray":i,"stroke-dashoffset":z.value},null)]),n.default&&S("div",{class:"v-progress-circular__content"},[n.default({value:w.value})])]})),{}}}),ke={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},nt=y({location:String},"location");function st(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:s}=We();return{locationStyles:b(()=>{if(!e.location)return{};const{side:a,align:r}=Ot(e.location.split(" ").length>1?e.location:`${e.location} center`,s.value);function o(c){return n?n(c):0}const l={};return a!=="center"&&(t?l[ke[a]]=`calc(100% - ${o(a)}px)`:l[a]=0),r!=="center"?t?l[ke[r]]=`calc(100% - ${o(r)}px)`:l[r]=0:(a==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[a]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[a]),l})}}const sn=y({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...G(),...nt({location:"top"}),...be(),...j(),...M()},"VProgressLinear"),an=N()({name:"VProgressLinear",props:sn(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const s=$e(e,"modelValue"),{isRtl:i,rtlClasses:a}=We(),{themeClasses:r}=K(e),{locationStyles:o}=st(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color),{backgroundColorClasses:f,backgroundColorStyles:m}=se(()=>e.bgColor||e.color),{backgroundColorClasses:u,backgroundColorStyles:v}=se(()=>e.bufferColor||e.bgColor||e.color),{backgroundColorClasses:p,backgroundColorStyles:d}=se(()=>e.color),{roundedClasses:h}=ye(e),{intersectionRef:w,isIntersecting:P}=tt(),E=b(()=>parseFloat(e.max)),V=b(()=>parseFloat(e.height)),T=b(()=>fe(parseFloat(e.bufferValue)/E.value*100,0,100)),z=b(()=>fe(parseFloat(s.value)/E.value*100,0,100)),I=b(()=>i.value!==e.reverse),Z=b(()=>e.indeterminate?"fade-transition":"slide-x-transition"),O=Fe&&window.matchMedia?.("(forced-colors: active)").matches;function Q(x){if(!w.value)return;const{left:ee,right:te,width:A}=w.value.getBoundingClientRect(),dt=I.value?A-x.clientX+(te-A):x.clientX-ee;s.value=Math.round(dt/A*E.value)}return D(()=>_(e.tag,{ref:w,class:k(["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&P.value,"v-progress-linear--reverse":I.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},h.value,r.value,a.value,e.class]),style:L([{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?C(V.value):0,"--v-progress-linear-height":C(V.value),...e.absolute?o.value:{}},e.style]),role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:Math.min(parseFloat(s.value),E.value),onClick:e.clickable&&Q},{default:()=>[e.stream&&S("div",{key:"stream",class:k(["v-progress-linear__stream",l.value]),style:{...c.value,[I.value?"left":"right"]:C(-V.value),borderTop:`${C(V.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${C(V.value/4)})`,width:C(100-T.value,"%"),"--v-progress-linear-stream-to":C(V.value*(I.value?1:-1))}},null),S("div",{class:k(["v-progress-linear__background",O?void 0:f.value]),style:L([m.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}])},null),S("div",{class:k(["v-progress-linear__buffer",O?void 0:u.value]),style:L([v.value,{opacity:parseFloat(e.bufferOpacity),width:C(T.value,"%")}])},null),_(Le,{name:Z.value},{default:()=>[e.indeterminate?S("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(x=>S("div",{key:x,class:k(["v-progress-linear__indeterminate",x,O?void 0:p.value]),style:L(d.value)},null))]):S("div",{class:k(["v-progress-linear__determinate",O?void 0:p.value]),style:L([d.value,{width:C(z.value,"%")}])},null)]}),n.default&&S("div",{class:"v-progress-linear__content"},[n.default({value:z.value,buffer:T.value})])]})),{}}}),rn=y({loading:[Boolean,String]},"loader");function on(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{loaderClasses:g(()=>({[`${t}--loading`]:e.loading}))}}function An(e,t){let{slots:n}=t;return S("div",{class:k(`${e.name}__loader`)},[n.default?.({color:e.color,isActive:e.active})||_(an,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const ln=["static","relative","fixed","absolute","sticky"],un=y({position:{type:String,validator:e=>ln.includes(e)}},"position");function cn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{positionClasses:g(()=>e.position?`${t}--${e.position}`:void 0)}}function dn(){const e=J("useRoute");return b(()=>e?.proxy?.$route)}function Dn(){return J("useRouter")?.proxy?.$router}function fn(e,t){const n=Rt("RouterLink"),s=g(()=>!!(e.href||e.to)),i=b(()=>s?.value||Se(t,"click")||Se(e,"click"));if(typeof n=="string"||!("useLink"in n)){const f=g(()=>e.href);return{isLink:s,isClickable:i,href:f,linkProps:ce({href:f})}}const a=n.useLink({to:g(()=>e.to||""),replace:g(()=>e.replace)}),r=b(()=>e.to?a:void 0),o=dn(),l=b(()=>r.value?e.exact?o.value?r.value.isExactActive?.value&&ze(r.value.route.value.query,o.value.query):r.value.isExactActive?.value??!1:r.value.isActive?.value??!1:!1),c=b(()=>e.to?r.value?.route.value.href:e.href);return{isLink:s,isClickable:i,isActive:l,route:r.value?.route,navigate:r.value?.navigate,href:c,linkProps:ce({href:c,"aria-current":g(()=>l.value?"page":void 0)})}}const vn=y({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let ie=!1;function Wn(e,t){let n=!1,s,i;Fe&&e?.beforeEach&&(He(()=>{window.addEventListener("popstate",a),s=e.beforeEach((r,o,l)=>{ie?n?t(l):l():setTimeout(()=>n?t(l):l()),ie=!0}),i=e?.afterEach(()=>{ie=!1})}),De(()=>{window.removeEventListener("popstate",a),s?.(),i?.()}));function a(r){r.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function mn(e,t){ge(()=>e.isActive?.value,n=>{e.isLink.value&&n!=null&&t&&He(()=>{t(n)})},{immediate:!0})}const ve=Symbol("rippleStop"),gn=80;function Be(e,t){e.style.transform=t,e.style.webkitTransform=t}function me(e){return e.constructor.name==="TouchEvent"}function at(e){return e.constructor.name==="KeyboardEvent"}const hn=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=0,i=0;if(!at(e)){const m=t.getBoundingClientRect(),u=me(e)?e.touches[e.touches.length-1]:e;s=u.clientX-m.left,i=u.clientY-m.top}let a=0,r=.3;t._ripple?.circle?(r=.15,a=t.clientWidth/2,a=n.center?a:a+Math.sqrt((s-a)**2+(i-a)**2)/4):a=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const o=`${(t.clientWidth-a*2)/2}px`,l=`${(t.clientHeight-a*2)/2}px`,c=n.center?o:`${s-a}px`,f=n.center?l:`${i-a}px`;return{radius:a,scale:r,x:c,y:f,centerX:o,centerY:l}},Y={show(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t?._ripple?.enabled)return;const s=document.createElement("span"),i=document.createElement("span");s.appendChild(i),s.className="v-ripple__container",n.class&&(s.className+=` ${n.class}`);const{radius:a,scale:r,x:o,y:l,centerX:c,centerY:f}=hn(e,t,n),m=`${a*2}px`;i.className="v-ripple__animation",i.style.width=m,i.style.height=m,t.appendChild(s);const u=window.getComputedStyle(t);u&&u.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),Be(i,`translate(${o}, ${l}) scale3d(${r},${r},${r})`),i.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Be(i,`translate(${c}, ${f}) scale3d(1,1,1)`)})})},hide(e){if(!e?._ripple?.enabled)return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const s=performance.now()-Number(n.dataset.activated),i=Math.max(250-s,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),n.parentNode?.parentNode===e&&e.removeChild(n.parentNode)},300)},i)}};function it(e){return typeof e>"u"||!!e}function F(e){const t={},n=e.currentTarget;if(!(!n?._ripple||n._ripple.touched||e[ve])){if(e[ve]=!0,me(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||at(e),n._ripple.class&&(t.class=n._ripple.class),me(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Y.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{n?._ripple?.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},gn)}else Y.show(e,n,t)}}function Ve(e){e[ve]=!0}function B(e){const t=e.currentTarget;if(t?._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{B(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),Y.hide(t)}}function rt(e){const t=e.currentTarget;t?._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let H=!1;function Pe(e,t){!H&&t.includes(e.key)&&(H=!0,F(e))}function ot(e){H=!1,B(e)}function lt(e){H&&(H=!1,B(e))}function ut(e,t,n){const{value:s,modifiers:i}=t,a=it(s);a||Y.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=a,e._ripple.centered=i.center,e._ripple.circle=i.circle;const r=ue(s)?s:{};r.class&&(e._ripple.class=r.class);const o=r.keys??["Enter","Space"];if(e._ripple.keyDownHandler=l=>Pe(l,o),a&&!n){if(i.stop){e.addEventListener("touchstart",Ve,{passive:!0}),e.addEventListener("mousedown",Ve);return}e.addEventListener("touchstart",F,{passive:!0}),e.addEventListener("touchend",B,{passive:!0}),e.addEventListener("touchmove",rt,{passive:!0}),e.addEventListener("touchcancel",B),e.addEventListener("mousedown",F),e.addEventListener("mouseup",B),e.addEventListener("mouseleave",B),e.addEventListener("keydown",l=>Pe(l,o)),e.addEventListener("keyup",ot),e.addEventListener("blur",lt),e.addEventListener("dragstart",B,{passive:!0})}else!a&&n&&ct(e)}function ct(e){e.removeEventListener("mousedown",F),e.removeEventListener("touchstart",F),e.removeEventListener("touchend",B),e.removeEventListener("touchmove",rt),e.removeEventListener("touchcancel",B),e.removeEventListener("mouseup",B),e.removeEventListener("mouseleave",B),e._ripple?.keyDownHandler&&e.removeEventListener("keydown",e._ripple.keyDownHandler),e.removeEventListener("keyup",ot),e.removeEventListener("dragstart",B),e.removeEventListener("blur",lt)}function bn(e,t){ut(e,t,!1)}function yn(e){ct(e),delete e._ripple}function pn(e,t){if(t.value===t.oldValue)return;const n=it(t.oldValue);ut(e,t,n)}const Cn={mounted:bn,unmounted:yn,updated:pn},wn=y({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:et},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:de,appendIcon:de,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...je(),...G(),...Ke(),...Dt(),...Xe(),...Xt(),...rn(),...nt(),...un(),...be(),...vn(),...pe(),...j({tag:"button"}),...M(),...Ye({variant:"elevated"})},"VBtn"),Fn=N()({name:"VBtn",props:wn(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:s}=t;const{themeClasses:i}=K(e),{borderClasses:a}=qe(e),{densityClasses:r}=Je(e),{dimensionStyles:o}=Wt(e),{elevationClasses:l}=Ue(e),{loaderClasses:c}=on(e),{locationStyles:f}=st(e),{positionClasses:m}=cn(e),{roundedClasses:u}=ye(e),{sizeClasses:v,sizeStyles:p}=Ce(e),d=Ut(e,e.symbol,!1),h=fn(e,n),w=b(()=>e.active!==void 0?e.active:h.isLink.value?h.isActive?.value:d?.isSelected.value),P=g(()=>w.value?e.activeColor??e.color:e.color),E=b(()=>({color:d?.isSelected.value&&(!h.isLink.value||h.isActive?.value)||!d||h.isActive?.value?P.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:V,colorStyles:T,variantClasses:z}=Gt(E),I=b(()=>d?.disabled.value||e.disabled),Z=g(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),O=b(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function Q(x){I.value||h.isLink.value&&(x.metaKey||x.ctrlKey||x.shiftKey||x.button!==0||n.target==="_blank")||(h.navigate?.(x),d?.toggle())}return mn(h,d?.select),D(()=>{const x=h.isLink.value?"a":e.tag,ee=!!(e.prependIcon||s.prepend),te=!!(e.appendIcon||s.append),A=!!(e.icon&&e.icon!==!0);return Nt(_(x,X({type:x==="a"?void 0:"button",class:["v-btn",d?.selectedClass.value,{"v-btn--active":w.value,"v-btn--block":e.block,"v-btn--disabled":I.value,"v-btn--elevated":Z.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},i.value,a.value,V.value,r.value,l.value,c.value,m.value,u.value,v.value,z.value,e.class],style:[T.value,o.value,f.value,p.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:I.value||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:Q,value:O.value},h.linkProps),{default:()=>[Mt(!0,"v-btn"),!e.icon&&ee&&S("span",{key:"prepend",class:"v-btn__prepend"},[s.prepend?_(ne,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},s.prepend):_(ae,{key:"prepend-icon",icon:e.prependIcon},null)]),S("span",{class:"v-btn__content","data-no-activator":""},[!s.default&&A?_(ae,{key:"content-icon",icon:e.icon},null):_(ne,{key:"content-defaults",disabled:!A,defaults:{VIcon:{icon:e.icon}}},{default:()=>[s.default?.()??$t(e.text)]})]),!e.icon&&te&&S("span",{key:"append",class:"v-btn__append"},[s.append?_(ne,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},s.append):_(ae,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&S("span",{key:"loader",class:"v-btn__loader"},[s.loader?.()??_(nn,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}),[[Cn,!I.value&&e.ripple,"",{center:!!e.icon}]])}),{group:d}}}),re=Symbol("Forwarded refs");function oe(e,t){let n=e;for(;n;){const s=Reflect.getOwnPropertyDescriptor(n,t);if(s)return s;n=Object.getPrototypeOf(n)}}function Hn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];return e[re]=n,new Proxy(e,{get(i,a){if(Reflect.has(i,a))return Reflect.get(i,a);if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const r of n)if(r.value&&Reflect.has(r.value,a)){const o=Reflect.get(r.value,a);return typeof o=="function"?o.bind(r.value):o}}},has(i,a){if(Reflect.has(i,a))return!0;if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const r of n)if(r.value&&Reflect.has(r.value,a))return!0;return!1},set(i,a,r){if(Reflect.has(i,a))return Reflect.set(i,a,r);if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,a))return Reflect.set(o.value,a,r);return!1},getOwnPropertyDescriptor(i,a){const r=Reflect.getOwnPropertyDescriptor(i,a);if(r)return r;if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const o of n){if(!o.value)continue;const l=oe(o.value,a)??("_"in o.value?oe(o.value._?.setupState,a):void 0);if(l)return l}for(const o of n){const l=o.value&&o.value[re];if(!l)continue;const c=l.slice();for(;c.length;){const f=c.shift(),m=oe(f.value,a);if(m)return m;const u=f.value&&f.value[re];u&&c.push(...u)}}}}})}export{Vn as $,Xt as A,Ye as B,Dn as C,xe as D,on as E,nn as F,pe as G,qt as H,On as I,rn as J,Ce as K,An as L,zn as M,Mt as N,In as O,Nn as P,Rn as Q,Cn as R,Pn as S,Ot as T,xn as U,Fn as V,_n as W,kn as X,R as Y,En as Z,Bn as _,Ln as a,Wn as a0,Je as b,se as c,j as d,Ke as e,Hn as f,fn as g,vn as h,ye as i,be as j,ae as k,ne as l,wn as m,an as n,Wt as o,$n as p,Dt as q,qe as r,Tn as s,Ue as t,U as u,Xe as v,je as w,Gt as x,Yt as y,Ut as z};
1
+ import{cv as q,p as y,g as N,bX as ft,f as Ee,c as b,h as C,cp as Ie,cn as W,cw as we,cx as vt,cy as mt,cz as gt,cd as $,cA as le,j as ue,c9 as ht,bq as Le,m as X,cB as bt,ca as yt,cl as Te,t as g,b as S,d as k,F as pt,aA as M,J as G,az as K,u as D,a as _,n as L,bP as J,bt as Ct,aV as Re,i as wt,bl as Ne,aU as ge,ct as ce,e as $e,bk as St,cC as xt,bE as ze,bD as _t,cD as kt,bZ as Bt,aT as Oe,cE as Vt,cF as Pt,cG as Et,cH as It,K as de,r as Ae,bn as De,be as Lt,b7 as fe,bi as Tt,aC as We,bs as Fe,H as Rt,cI as Se,aW as He,S as Nt,A as $t}from"./main-Clr8M5Ax.js";const Me=["top","bottom"],zt=["start","end","left","right"];function Ot(e,t){let[n,s]=e.split(" ");return s||(s=q(Me,n)?"start":q(zt,n)?"top":"center"),{side:xe(n,t),align:xe(s,t)}}function xe(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function xn(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function _n(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function kn(e){return{side:e.align,align:e.side}}function Bn(e){return q(Me,e.side)?"y":"x"}class R{constructor(t){let{x:n,y:s,width:i,height:a}=t;this.x=n,this.y=s,this.width=i,this.height=a}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Vn(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function Pn(e){return Array.isArray(e)?new R({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function En(e){if(e===document.documentElement)return visualViewport?new R({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale,height:visualViewport.height*visualViewport.scale}):new R({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});{const t=e.getBoundingClientRect();return new R({x:t.x,y:t.y,width:e.clientWidth,height:e.clientHeight})}}function In(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),s=n.transform;if(s){let i,a,r,o,l;if(s.startsWith("matrix3d("))i=s.slice(9,-1).split(/, /),a=Number(i[0]),r=Number(i[5]),o=Number(i[12]),l=Number(i[13]);else if(s.startsWith("matrix("))i=s.slice(7,-1).split(/, /),a=Number(i[0]),r=Number(i[3]),o=Number(i[4]),l=Number(i[5]);else return new R(t);const c=n.transformOrigin,f=t.x-o-(1-a)*parseFloat(c),m=t.y-l-(1-r)*parseFloat(c.slice(c.indexOf(" ")+1)),u=a?t.width/a:e.offsetWidth+1,v=r?t.height/r:e.offsetHeight+1;return new R({x:f,y:m,width:u,height:v})}else return new R(t)}function Ln(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let s;try{s=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof s.finished>"u"&&(s.finished=new Promise(i=>{s.onfinish=()=>{i(s)}})),s}const Tn="cubic-bezier(0.4, 0, 0.2, 1)",Rn="cubic-bezier(0.0, 0, 0.2, 1)",Nn="cubic-bezier(0.4, 0, 1, 1)",j=y({tag:{type:[String,Object,Function],default:"div"}},"tag"),At=y({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ne=N(!1)({name:"VDefaultsProvider",props:At(),setup(e,t){let{slots:n}=t;const{defaults:s,disabled:i,reset:a,root:r,scoped:o}=ft(e);return Ee(s,{reset:a,root:r,scoped:o,disabled:i}),()=>n.default?.()}}),Dt=y({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Wt(e){return{dimensionStyles:b(()=>{const n={},s=C(e.height),i=C(e.maxHeight),a=C(e.maxWidth),r=C(e.minHeight),o=C(e.minWidth),l=C(e.width);return s!=null&&(n.height=s),i!=null&&(n.maxHeight=i),a!=null&&(n.maxWidth=a),r!=null&&(n.minHeight=r),o!=null&&(n.minWidth=o),l!=null&&(n.width=l),n})}}function he(e){return Ie(()=>{const t=W(e),n=[],s={};if(t.background)if(we(t.background)){if(s.backgroundColor=t.background,!t.text&&vt(t.background)){const i=mt(t.background);if(i.a==null||i.a===1){const a=gt(i);s.color=a,s.caretColor=a}}}else n.push(`bg-${t.background}`);return t.text&&(we(t.text)?(s.color=t.text,s.caretColor=t.text):n.push(`text-${t.text}`)),{colorClasses:n,colorStyles:s}})}function U(e){const{colorClasses:t,colorStyles:n}=he(()=>({text:W(e)}));return{textColorClasses:t,textColorStyles:n}}function se(e){const{colorClasses:t,colorStyles:n}=he(()=>({background:W(e)}));return{backgroundColorClasses:t,backgroundColorStyles:n}}const be=y({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function ye(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{roundedClasses:b(()=>{const s=le(e)?e.value:e.rounded,i=le(e)?e.value:e.tile,a=[];if(s===!0||s==="")a.push(`${t}--rounded`);else if(typeof s=="string"||s===0)for(const r of String(s).split(" "))a.push(`rounded-${r}`);else(i||s===!1)&&a.push("rounded-0");return a})}}const $n=y({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),zn=(e,t)=>{let{slots:n}=t;const{transition:s,disabled:i,group:a,...r}=e,{component:o=a?ht:Le,...l}=ue(s)?s:{};let c;return ue(s)?c=X(l,bt({disabled:i,group:a}),r):c=X({name:i||!s?"":s},r),yt(o,c,n)};function Ft(e,t){if(!Te)return;const n=t.modifiers||{},s=t.value,{handler:i,options:a}=typeof s=="object"?s:{handler:s,options:{}},r=new IntersectionObserver(function(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const c=e._observe?.[t.instance.$.uid];if(!c)return;const f=o.some(m=>m.isIntersecting);i&&(!n.quiet||c.init)&&(!n.once||f||c.init)&&i(f,o,l),f&&n.once?Ge(e,t):c.init=!0},a);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:r},r.observe(e)}function Ge(e,t){const n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const On={mounted:Ft,unmounted:Ge},je=y({border:[Boolean,Number,String]},"border");function qe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{borderClasses:b(()=>{const s=e.border;return s===!0||s===""?`${t}--border`:typeof s=="string"||s===0?String(s).split(" ").map(i=>`border-${i}`):[]})}}const Xe=y({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Ue(e){return{elevationClasses:g(()=>{const n=le(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const Ht=["elevated","flat","tonal","outlined","text","plain"];function Mt(e,t){return S(pt,null,[e&&S("span",{key:"overlay",class:k(`${t}__overlay`)},null),S("span",{key:"underlay",class:k(`${t}__underlay`)},null)])}const Ye=y({color:String,variant:{type:String,default:"elevated",validator:e=>Ht.includes(e)}},"variant");function Gt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();const n=g(()=>{const{variant:a}=W(e);return`${t}--variant-${a}`}),{colorClasses:s,colorStyles:i}=he(()=>{const{variant:a,color:r}=W(e);return{[["elevated","flat"].includes(a)?"background":"text"]:r}});return{colorClasses:s,colorStyles:i,variantClasses:n}}const jt=[null,"default","comfortable","compact"],Ke=y({density:{type:String,default:"default",validator:e=>jt.includes(e)}},"density");function Je(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{densityClasses:g(()=>`${t}--density-${e.density}`)}}const Ze=y({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...je(),...G(),...Ke(),...Xe(),...be(),...j(),...M(),...Ye()},"VBtnGroup"),_e=N()({name:"VBtnGroup",props:Ze(),setup(e,t){let{slots:n}=t;const{themeClasses:s}=K(e),{densityClasses:i}=Je(e),{borderClasses:a}=qe(e),{elevationClasses:r}=Ue(e),{roundedClasses:o}=ye(e);Ee({VBtn:{height:g(()=>e.direction==="horizontal"?"auto":null),baseColor:g(()=>e.baseColor),color:g(()=>e.color),density:g(()=>e.density),flat:!0,variant:g(()=>e.variant)}}),D(()=>_(e.tag,{class:k(["v-btn-group",`v-btn-group--${e.direction}`,{"v-btn-group--divided":e.divided},s.value,a.value,i.value,r.value,o.value,e.class]),style:L(e.style)},n))}}),qt=y({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Xt=y({value:null,disabled:Boolean,selectedClass:String},"group-item");function Ut(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const s=J("useGroupItem");if(!s)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const i=Ct();Re(Symbol.for(`${t.description}:id`),i);const a=wt(t,null);if(!a){if(!n)return a;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const r=g(()=>e.value),o=b(()=>!!(a.disabled.value||e.disabled));a.register({id:i,value:r,disabled:o},s),Ne(()=>{a.unregister(i)});const l=b(()=>a.isSelected(i)),c=b(()=>a.items.value[0].id===i),f=b(()=>a.items.value[a.items.value.length-1].id===i),m=b(()=>l.value&&[a.selectedClass.value,e.selectedClass]);return ge(l,u=>{s.emit("group:selected",{value:u})},{flush:"sync"}),{id:i,isSelected:l,isFirst:c,isLast:f,toggle:()=>a.select(i,!l.value),select:u=>a.select(i,u),selectedClass:m,value:r,disabled:o,group:a}}function Yt(e,t){let n=!1;const s=ce([]),i=$e(e,"modelValue",[],u=>u==null?[]:Qe(s,_t(u)),u=>{const v=Jt(s,u);return e.multiple?v:v[0]}),a=J("useGroup");function r(u,v){const p=u,d=Symbol.for(`${t.description}:id`),w=kt(d,a?.vnode).indexOf(v);Bt(p.value)==null&&(p.value=w,p.useIndexAsValue=!0),w>-1?s.splice(w,0,p):s.push(p)}function o(u){if(n)return;l();const v=s.findIndex(p=>p.id===u);s.splice(v,1)}function l(){const u=s.find(v=>!v.disabled);u&&e.mandatory==="force"&&!i.value.length&&(i.value=[u.id])}St(()=>{l()}),Ne(()=>{n=!0}),xt(()=>{for(let u=0;u<s.length;u++)s[u].useIndexAsValue&&(s[u].value=u)});function c(u,v){const p=s.find(d=>d.id===u);if(!(v&&p?.disabled))if(e.multiple){const d=i.value.slice(),h=d.findIndex(P=>P===u),w=~h;if(v=v??!w,w&&e.mandatory&&d.length<=1||!w&&e.max!=null&&d.length+1>e.max)return;h<0&&v?d.push(u):h>=0&&!v&&d.splice(h,1),i.value=d}else{const d=i.value.includes(u);if(e.mandatory&&d||!d&&!v)return;i.value=v??!d?[u]:[]}}function f(u){if(e.multiple,i.value.length){const v=i.value[0],p=s.findIndex(w=>w.id===v);let d=(p+u)%s.length,h=s[d];for(;h.disabled&&d!==p;)d=(d+u)%s.length,h=s[d];if(h.disabled)return;i.value=[s[d].id]}else{const v=s.find(p=>!p.disabled);v&&(i.value=[v.id])}}const m={register:r,unregister:o,selected:i,select:c,disabled:g(()=>e.disabled),prev:()=>f(s.length-1),next:()=>f(1),isSelected:u=>i.value.includes(u),selectedClass:g(()=>e.selectedClass),items:g(()=>s),getItemIndex:u=>Kt(s,u)};return Re(t,m),m}function Kt(e,t){const n=Qe(e,[t]);return n.length?e.findIndex(s=>s.id===n[0]):-1}function Qe(e,t){const n=[];return t.forEach(s=>{const i=e.find(r=>ze(s,r.value)),a=e[s];i?.value!=null?n.push(i.id):a?.useIndexAsValue&&n.push(a.id)}),n}function Jt(e,t){const n=[];return t.forEach(s=>{const i=e.findIndex(a=>a.id===s);if(~i){const a=e[i];n.push(a.value!=null?a.value:i)}}),n}const et=Symbol.for("vuetify:v-btn-toggle"),Zt=y({...Ze(),...qt()},"VBtnToggle");N()({name:"VBtnToggle",props:Zt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:s,next:i,prev:a,select:r,selected:o}=Yt(e,et);return D(()=>{const l=_e.filterProps(e);return _(_e,X({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>[n.default?.({isSelected:s,next:i,prev:a,select:r,selected:o})]})}),{next:i,prev:a,select:r}}});const Qt=["x-small","small","default","large","x-large"],pe=y({size:{type:[String,Number],default:"default"}},"size");function Ce(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return Ie(()=>{const n=e.size;let s,i;return q(Qt,n)?s=`${t}--size-${n}`:n&&(i={width:C(n),height:C(n)}),{sizeClasses:s,sizeStyles:i}})}const en=y({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:de,opacity:[String,Number],...G(),...pe(),...j({tag:"i"}),...M()},"VIcon"),ae=N()({name:"VIcon",props:en(),setup(e,t){let{attrs:n,slots:s}=t;const i=Oe(),{themeClasses:a}=Vt(),{iconData:r}=Pt(()=>i.value||e.icon),{sizeClasses:o}=Ce(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color);return D(()=>{const f=s.default?.();f&&(i.value=Et(f).filter(u=>u.type===It&&u.children&&typeof u.children=="string")[0]?.children);const m=!!(n.onClick||n.onClickOnce);return _(r.value.component,{tag:e.tag,icon:r.value.icon,class:k(["v-icon","notranslate",a.value,o.value,l.value,{"v-icon--clickable":m,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class]),style:L([{"--v-icon-opacity":e.opacity},o.value?void 0:{fontSize:C(e.size),height:C(e.size),width:C(e.size)},c.value,e.style]),role:m?"button":void 0,"aria-hidden":!m,tabindex:m?e.disabled?-1:0:void 0},{default:()=>[f]})}),{}}});function tt(e,t){const n=Ae(),s=Oe(!1);if(Te){const i=new IntersectionObserver(a=>{s.value=!!a.find(r=>r.isIntersecting)},t);De(()=>{i.disconnect()}),ge(n,(a,r)=>{r&&(i.unobserve(r),s.value=!1),a&&i.observe(a)},{flush:"post"})}return{intersectionRef:n,isIntersecting:s}}const tn=y({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...G(),...pe(),...j({tag:"div"}),...M()},"VProgressCircular"),nn=N()({name:"VProgressCircular",props:tn(),setup(e,t){let{slots:n}=t;const s=20,i=2*Math.PI*s,a=Ae(),{themeClasses:r}=K(e),{sizeClasses:o,sizeStyles:l}=Ce(e),{textColorClasses:c,textColorStyles:f}=U(()=>e.color),{textColorClasses:m,textColorStyles:u}=U(()=>e.bgColor),{intersectionRef:v,isIntersecting:p}=tt(),{resizeRef:d,contentRect:h}=Lt(),w=g(()=>fe(parseFloat(e.modelValue),0,100)),P=g(()=>Number(e.width)),E=g(()=>l.value?Number(e.size):h.value?h.value.width:Math.max(P.value,32)),V=g(()=>s/(1-P.value/E.value)*2),T=g(()=>P.value/E.value*V.value),z=g(()=>C((100-w.value)/100*i));return Tt(()=>{v.value=a.value,d.value=a.value}),D(()=>_(e.tag,{ref:a,class:k(["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":p.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},r.value,o.value,c.value,e.class]),style:L([l.value,f.value,e.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:w.value},{default:()=>[S("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${V.value} ${V.value}`},[S("circle",{class:k(["v-progress-circular__underlay",m.value]),style:L(u.value),fill:"transparent",cx:"50%",cy:"50%",r:s,"stroke-width":T.value,"stroke-dasharray":i,"stroke-dashoffset":0},null),S("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:s,"stroke-width":T.value,"stroke-dasharray":i,"stroke-dashoffset":z.value},null)]),n.default&&S("div",{class:"v-progress-circular__content"},[n.default({value:w.value})])]})),{}}}),ke={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},nt=y({location:String},"location");function st(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:s}=We();return{locationStyles:b(()=>{if(!e.location)return{};const{side:a,align:r}=Ot(e.location.split(" ").length>1?e.location:`${e.location} center`,s.value);function o(c){return n?n(c):0}const l={};return a!=="center"&&(t?l[ke[a]]=`calc(100% - ${o(a)}px)`:l[a]=0),r!=="center"?t?l[ke[r]]=`calc(100% - ${o(r)}px)`:l[r]=0:(a==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[a]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[a]),l})}}const sn=y({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...G(),...nt({location:"top"}),...be(),...j(),...M()},"VProgressLinear"),an=N()({name:"VProgressLinear",props:sn(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const s=$e(e,"modelValue"),{isRtl:i,rtlClasses:a}=We(),{themeClasses:r}=K(e),{locationStyles:o}=st(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color),{backgroundColorClasses:f,backgroundColorStyles:m}=se(()=>e.bgColor||e.color),{backgroundColorClasses:u,backgroundColorStyles:v}=se(()=>e.bufferColor||e.bgColor||e.color),{backgroundColorClasses:p,backgroundColorStyles:d}=se(()=>e.color),{roundedClasses:h}=ye(e),{intersectionRef:w,isIntersecting:P}=tt(),E=b(()=>parseFloat(e.max)),V=b(()=>parseFloat(e.height)),T=b(()=>fe(parseFloat(e.bufferValue)/E.value*100,0,100)),z=b(()=>fe(parseFloat(s.value)/E.value*100,0,100)),I=b(()=>i.value!==e.reverse),Z=b(()=>e.indeterminate?"fade-transition":"slide-x-transition"),O=Fe&&window.matchMedia?.("(forced-colors: active)").matches;function Q(x){if(!w.value)return;const{left:ee,right:te,width:A}=w.value.getBoundingClientRect(),dt=I.value?A-x.clientX+(te-A):x.clientX-ee;s.value=Math.round(dt/A*E.value)}return D(()=>_(e.tag,{ref:w,class:k(["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&P.value,"v-progress-linear--reverse":I.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},h.value,r.value,a.value,e.class]),style:L([{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?C(V.value):0,"--v-progress-linear-height":C(V.value),...e.absolute?o.value:{}},e.style]),role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:Math.min(parseFloat(s.value),E.value),onClick:e.clickable&&Q},{default:()=>[e.stream&&S("div",{key:"stream",class:k(["v-progress-linear__stream",l.value]),style:{...c.value,[I.value?"left":"right"]:C(-V.value),borderTop:`${C(V.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${C(V.value/4)})`,width:C(100-T.value,"%"),"--v-progress-linear-stream-to":C(V.value*(I.value?1:-1))}},null),S("div",{class:k(["v-progress-linear__background",O?void 0:f.value]),style:L([m.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}])},null),S("div",{class:k(["v-progress-linear__buffer",O?void 0:u.value]),style:L([v.value,{opacity:parseFloat(e.bufferOpacity),width:C(T.value,"%")}])},null),_(Le,{name:Z.value},{default:()=>[e.indeterminate?S("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(x=>S("div",{key:x,class:k(["v-progress-linear__indeterminate",x,O?void 0:p.value]),style:L(d.value)},null))]):S("div",{class:k(["v-progress-linear__determinate",O?void 0:p.value]),style:L([d.value,{width:C(z.value,"%")}])},null)]}),n.default&&S("div",{class:"v-progress-linear__content"},[n.default({value:z.value,buffer:T.value})])]})),{}}}),rn=y({loading:[Boolean,String]},"loader");function on(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{loaderClasses:g(()=>({[`${t}--loading`]:e.loading}))}}function An(e,t){let{slots:n}=t;return S("div",{class:k(`${e.name}__loader`)},[n.default?.({color:e.color,isActive:e.active})||_(an,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const ln=["static","relative","fixed","absolute","sticky"],un=y({position:{type:String,validator:e=>ln.includes(e)}},"position");function cn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{positionClasses:g(()=>e.position?`${t}--${e.position}`:void 0)}}function dn(){const e=J("useRoute");return b(()=>e?.proxy?.$route)}function Dn(){return J("useRouter")?.proxy?.$router}function fn(e,t){const n=Rt("RouterLink"),s=g(()=>!!(e.href||e.to)),i=b(()=>s?.value||Se(t,"click")||Se(e,"click"));if(typeof n=="string"||!("useLink"in n)){const f=g(()=>e.href);return{isLink:s,isClickable:i,href:f,linkProps:ce({href:f})}}const a=n.useLink({to:g(()=>e.to||""),replace:g(()=>e.replace)}),r=b(()=>e.to?a:void 0),o=dn(),l=b(()=>r.value?e.exact?o.value?r.value.isExactActive?.value&&ze(r.value.route.value.query,o.value.query):r.value.isExactActive?.value??!1:r.value.isActive?.value??!1:!1),c=b(()=>e.to?r.value?.route.value.href:e.href);return{isLink:s,isClickable:i,isActive:l,route:r.value?.route,navigate:r.value?.navigate,href:c,linkProps:ce({href:c,"aria-current":g(()=>l.value?"page":void 0)})}}const vn=y({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let ie=!1;function Wn(e,t){let n=!1,s,i;Fe&&e?.beforeEach&&(He(()=>{window.addEventListener("popstate",a),s=e.beforeEach((r,o,l)=>{ie?n?t(l):l():setTimeout(()=>n?t(l):l()),ie=!0}),i=e?.afterEach(()=>{ie=!1})}),De(()=>{window.removeEventListener("popstate",a),s?.(),i?.()}));function a(r){r.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function mn(e,t){ge(()=>e.isActive?.value,n=>{e.isLink.value&&n!=null&&t&&He(()=>{t(n)})},{immediate:!0})}const ve=Symbol("rippleStop"),gn=80;function Be(e,t){e.style.transform=t,e.style.webkitTransform=t}function me(e){return e.constructor.name==="TouchEvent"}function at(e){return e.constructor.name==="KeyboardEvent"}const hn=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=0,i=0;if(!at(e)){const m=t.getBoundingClientRect(),u=me(e)?e.touches[e.touches.length-1]:e;s=u.clientX-m.left,i=u.clientY-m.top}let a=0,r=.3;t._ripple?.circle?(r=.15,a=t.clientWidth/2,a=n.center?a:a+Math.sqrt((s-a)**2+(i-a)**2)/4):a=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const o=`${(t.clientWidth-a*2)/2}px`,l=`${(t.clientHeight-a*2)/2}px`,c=n.center?o:`${s-a}px`,f=n.center?l:`${i-a}px`;return{radius:a,scale:r,x:c,y:f,centerX:o,centerY:l}},Y={show(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t?._ripple?.enabled)return;const s=document.createElement("span"),i=document.createElement("span");s.appendChild(i),s.className="v-ripple__container",n.class&&(s.className+=` ${n.class}`);const{radius:a,scale:r,x:o,y:l,centerX:c,centerY:f}=hn(e,t,n),m=`${a*2}px`;i.className="v-ripple__animation",i.style.width=m,i.style.height=m,t.appendChild(s);const u=window.getComputedStyle(t);u&&u.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),Be(i,`translate(${o}, ${l}) scale3d(${r},${r},${r})`),i.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Be(i,`translate(${c}, ${f}) scale3d(1,1,1)`)})})},hide(e){if(!e?._ripple?.enabled)return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const s=performance.now()-Number(n.dataset.activated),i=Math.max(250-s,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),n.parentNode?.parentNode===e&&e.removeChild(n.parentNode)},300)},i)}};function it(e){return typeof e>"u"||!!e}function F(e){const t={},n=e.currentTarget;if(!(!n?._ripple||n._ripple.touched||e[ve])){if(e[ve]=!0,me(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||at(e),n._ripple.class&&(t.class=n._ripple.class),me(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Y.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{n?._ripple?.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},gn)}else Y.show(e,n,t)}}function Ve(e){e[ve]=!0}function B(e){const t=e.currentTarget;if(t?._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{B(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),Y.hide(t)}}function rt(e){const t=e.currentTarget;t?._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let H=!1;function Pe(e,t){!H&&t.includes(e.key)&&(H=!0,F(e))}function ot(e){H=!1,B(e)}function lt(e){H&&(H=!1,B(e))}function ut(e,t,n){const{value:s,modifiers:i}=t,a=it(s);a||Y.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=a,e._ripple.centered=i.center,e._ripple.circle=i.circle;const r=ue(s)?s:{};r.class&&(e._ripple.class=r.class);const o=r.keys??["Enter","Space"];if(e._ripple.keyDownHandler=l=>Pe(l,o),a&&!n){if(i.stop){e.addEventListener("touchstart",Ve,{passive:!0}),e.addEventListener("mousedown",Ve);return}e.addEventListener("touchstart",F,{passive:!0}),e.addEventListener("touchend",B,{passive:!0}),e.addEventListener("touchmove",rt,{passive:!0}),e.addEventListener("touchcancel",B),e.addEventListener("mousedown",F),e.addEventListener("mouseup",B),e.addEventListener("mouseleave",B),e.addEventListener("keydown",l=>Pe(l,o)),e.addEventListener("keyup",ot),e.addEventListener("blur",lt),e.addEventListener("dragstart",B,{passive:!0})}else!a&&n&&ct(e)}function ct(e){e.removeEventListener("mousedown",F),e.removeEventListener("touchstart",F),e.removeEventListener("touchend",B),e.removeEventListener("touchmove",rt),e.removeEventListener("touchcancel",B),e.removeEventListener("mouseup",B),e.removeEventListener("mouseleave",B),e._ripple?.keyDownHandler&&e.removeEventListener("keydown",e._ripple.keyDownHandler),e.removeEventListener("keyup",ot),e.removeEventListener("dragstart",B),e.removeEventListener("blur",lt)}function bn(e,t){ut(e,t,!1)}function yn(e){ct(e),delete e._ripple}function pn(e,t){if(t.value===t.oldValue)return;const n=it(t.oldValue);ut(e,t,n)}const Cn={mounted:bn,unmounted:yn,updated:pn},wn=y({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:et},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:de,appendIcon:de,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...je(),...G(),...Ke(),...Dt(),...Xe(),...Xt(),...rn(),...nt(),...un(),...be(),...vn(),...pe(),...j({tag:"button"}),...M(),...Ye({variant:"elevated"})},"VBtn"),Fn=N()({name:"VBtn",props:wn(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:s}=t;const{themeClasses:i}=K(e),{borderClasses:a}=qe(e),{densityClasses:r}=Je(e),{dimensionStyles:o}=Wt(e),{elevationClasses:l}=Ue(e),{loaderClasses:c}=on(e),{locationStyles:f}=st(e),{positionClasses:m}=cn(e),{roundedClasses:u}=ye(e),{sizeClasses:v,sizeStyles:p}=Ce(e),d=Ut(e,e.symbol,!1),h=fn(e,n),w=b(()=>e.active!==void 0?e.active:h.isLink.value?h.isActive?.value:d?.isSelected.value),P=g(()=>w.value?e.activeColor??e.color:e.color),E=b(()=>({color:d?.isSelected.value&&(!h.isLink.value||h.isActive?.value)||!d||h.isActive?.value?P.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:V,colorStyles:T,variantClasses:z}=Gt(E),I=b(()=>d?.disabled.value||e.disabled),Z=g(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),O=b(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function Q(x){I.value||h.isLink.value&&(x.metaKey||x.ctrlKey||x.shiftKey||x.button!==0||n.target==="_blank")||(h.navigate?.(x),d?.toggle())}return mn(h,d?.select),D(()=>{const x=h.isLink.value?"a":e.tag,ee=!!(e.prependIcon||s.prepend),te=!!(e.appendIcon||s.append),A=!!(e.icon&&e.icon!==!0);return Nt(_(x,X({type:x==="a"?void 0:"button",class:["v-btn",d?.selectedClass.value,{"v-btn--active":w.value,"v-btn--block":e.block,"v-btn--disabled":I.value,"v-btn--elevated":Z.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},i.value,a.value,V.value,r.value,l.value,c.value,m.value,u.value,v.value,z.value,e.class],style:[T.value,o.value,f.value,p.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:I.value||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:Q,value:O.value},h.linkProps),{default:()=>[Mt(!0,"v-btn"),!e.icon&&ee&&S("span",{key:"prepend",class:"v-btn__prepend"},[s.prepend?_(ne,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},s.prepend):_(ae,{key:"prepend-icon",icon:e.prependIcon},null)]),S("span",{class:"v-btn__content","data-no-activator":""},[!s.default&&A?_(ae,{key:"content-icon",icon:e.icon},null):_(ne,{key:"content-defaults",disabled:!A,defaults:{VIcon:{icon:e.icon}}},{default:()=>[s.default?.()??$t(e.text)]})]),!e.icon&&te&&S("span",{key:"append",class:"v-btn__append"},[s.append?_(ne,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},s.append):_(ae,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&S("span",{key:"loader",class:"v-btn__loader"},[s.loader?.()??_(nn,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}),[[Cn,!I.value&&e.ripple,"",{center:!!e.icon}]])}),{group:d}}}),re=Symbol("Forwarded refs");function oe(e,t){let n=e;for(;n;){const s=Reflect.getOwnPropertyDescriptor(n,t);if(s)return s;n=Object.getPrototypeOf(n)}}function Hn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];return e[re]=n,new Proxy(e,{get(i,a){if(Reflect.has(i,a))return Reflect.get(i,a);if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const r of n)if(r.value&&Reflect.has(r.value,a)){const o=Reflect.get(r.value,a);return typeof o=="function"?o.bind(r.value):o}}},has(i,a){if(Reflect.has(i,a))return!0;if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const r of n)if(r.value&&Reflect.has(r.value,a))return!0;return!1},set(i,a,r){if(Reflect.has(i,a))return Reflect.set(i,a,r);if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,a))return Reflect.set(o.value,a,r);return!1},getOwnPropertyDescriptor(i,a){const r=Reflect.getOwnPropertyDescriptor(i,a);if(r)return r;if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const o of n){if(!o.value)continue;const l=oe(o.value,a)??("_"in o.value?oe(o.value._?.setupState,a):void 0);if(l)return l}for(const o of n){const l=o.value&&o.value[re];if(!l)continue;const c=l.slice();for(;c.length;){const f=c.shift(),m=oe(f.value,a);if(m)return m;const u=f.value&&f.value[re];u&&c.push(...u)}}}}})}export{Vn as $,Xt as A,Ye as B,Dn as C,xe as D,on as E,nn as F,pe as G,qt as H,On as I,rn as J,Ce as K,An as L,zn as M,Mt as N,In as O,Nn as P,Rn as Q,Cn as R,Pn as S,Ot as T,xn as U,Fn as V,_n as W,kn as X,R as Y,En as Z,Bn as _,Ln as a,Wn as a0,Je as b,se as c,j as d,Ke as e,Hn as f,fn as g,vn as h,ye as i,be as j,ae as k,ne as l,wn as m,an as n,Wt as o,$n as p,Dt as q,qe as r,Tn as s,Ue as t,U as u,Xe as v,je as w,Gt as x,Yt as y,Ut as z};
@@ -1 +1 @@
1
- import{cv as q,p as y,g as N,bX as ft,f as Ee,c as b,h as C,cp as Ie,cn as W,cw as we,cx as vt,cy as mt,cz as gt,cd as $,cA as le,j as ue,c9 as ht,bq as Le,m as X,cB as bt,ca as yt,cl as Te,t as g,b as S,d as k,F as pt,aA as M,J as G,az as K,u as D,a as _,n as L,bP as J,bt as Ct,aV as Re,i as wt,bl as Ne,aU as ge,ct as ce,e as $e,bk as St,cC as xt,bE as ze,bD as _t,cD as kt,bZ as Bt,aT as Oe,cE as Vt,cF as Pt,cG as Et,cH as It,K as de,r as Ae,bn as De,be as Lt,b7 as fe,bi as Tt,aC as We,bs as Fe,H as Rt,cI as Se,aW as He,S as Nt,A as $t}from"./main-rTP95ZK5.js";const Me=["top","bottom"],zt=["start","end","left","right"];function Ot(e,t){let[n,s]=e.split(" ");return s||(s=q(Me,n)?"start":q(zt,n)?"top":"center"),{side:xe(n,t),align:xe(s,t)}}function xe(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function xn(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function _n(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function kn(e){return{side:e.align,align:e.side}}function Bn(e){return q(Me,e.side)?"y":"x"}class R{constructor(t){let{x:n,y:s,width:i,height:a}=t;this.x=n,this.y=s,this.width=i,this.height=a}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Vn(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function Pn(e){return Array.isArray(e)?new R({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function En(e){if(e===document.documentElement)return visualViewport?new R({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale,height:visualViewport.height*visualViewport.scale}):new R({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});{const t=e.getBoundingClientRect();return new R({x:t.x,y:t.y,width:e.clientWidth,height:e.clientHeight})}}function In(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),s=n.transform;if(s){let i,a,r,o,l;if(s.startsWith("matrix3d("))i=s.slice(9,-1).split(/, /),a=Number(i[0]),r=Number(i[5]),o=Number(i[12]),l=Number(i[13]);else if(s.startsWith("matrix("))i=s.slice(7,-1).split(/, /),a=Number(i[0]),r=Number(i[3]),o=Number(i[4]),l=Number(i[5]);else return new R(t);const c=n.transformOrigin,f=t.x-o-(1-a)*parseFloat(c),m=t.y-l-(1-r)*parseFloat(c.slice(c.indexOf(" ")+1)),u=a?t.width/a:e.offsetWidth+1,v=r?t.height/r:e.offsetHeight+1;return new R({x:f,y:m,width:u,height:v})}else return new R(t)}function Ln(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let s;try{s=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof s.finished>"u"&&(s.finished=new Promise(i=>{s.onfinish=()=>{i(s)}})),s}const Tn="cubic-bezier(0.4, 0, 0.2, 1)",Rn="cubic-bezier(0.0, 0, 0.2, 1)",Nn="cubic-bezier(0.4, 0, 1, 1)",j=y({tag:{type:[String,Object,Function],default:"div"}},"tag"),At=y({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ne=N(!1)({name:"VDefaultsProvider",props:At(),setup(e,t){let{slots:n}=t;const{defaults:s,disabled:i,reset:a,root:r,scoped:o}=ft(e);return Ee(s,{reset:a,root:r,scoped:o,disabled:i}),()=>n.default?.()}}),Dt=y({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Wt(e){return{dimensionStyles:b(()=>{const n={},s=C(e.height),i=C(e.maxHeight),a=C(e.maxWidth),r=C(e.minHeight),o=C(e.minWidth),l=C(e.width);return s!=null&&(n.height=s),i!=null&&(n.maxHeight=i),a!=null&&(n.maxWidth=a),r!=null&&(n.minHeight=r),o!=null&&(n.minWidth=o),l!=null&&(n.width=l),n})}}function he(e){return Ie(()=>{const t=W(e),n=[],s={};if(t.background)if(we(t.background)){if(s.backgroundColor=t.background,!t.text&&vt(t.background)){const i=mt(t.background);if(i.a==null||i.a===1){const a=gt(i);s.color=a,s.caretColor=a}}}else n.push(`bg-${t.background}`);return t.text&&(we(t.text)?(s.color=t.text,s.caretColor=t.text):n.push(`text-${t.text}`)),{colorClasses:n,colorStyles:s}})}function U(e){const{colorClasses:t,colorStyles:n}=he(()=>({text:W(e)}));return{textColorClasses:t,textColorStyles:n}}function se(e){const{colorClasses:t,colorStyles:n}=he(()=>({background:W(e)}));return{backgroundColorClasses:t,backgroundColorStyles:n}}const be=y({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function ye(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{roundedClasses:b(()=>{const s=le(e)?e.value:e.rounded,i=le(e)?e.value:e.tile,a=[];if(s===!0||s==="")a.push(`${t}--rounded`);else if(typeof s=="string"||s===0)for(const r of String(s).split(" "))a.push(`rounded-${r}`);else(i||s===!1)&&a.push("rounded-0");return a})}}const $n=y({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),zn=(e,t)=>{let{slots:n}=t;const{transition:s,disabled:i,group:a,...r}=e,{component:o=a?ht:Le,...l}=ue(s)?s:{};let c;return ue(s)?c=X(l,bt({disabled:i,group:a}),r):c=X({name:i||!s?"":s},r),yt(o,c,n)};function Ft(e,t){if(!Te)return;const n=t.modifiers||{},s=t.value,{handler:i,options:a}=typeof s=="object"?s:{handler:s,options:{}},r=new IntersectionObserver(function(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const c=e._observe?.[t.instance.$.uid];if(!c)return;const f=o.some(m=>m.isIntersecting);i&&(!n.quiet||c.init)&&(!n.once||f||c.init)&&i(f,o,l),f&&n.once?Ge(e,t):c.init=!0},a);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:r},r.observe(e)}function Ge(e,t){const n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const On={mounted:Ft,unmounted:Ge},je=y({border:[Boolean,Number,String]},"border");function qe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{borderClasses:b(()=>{const s=e.border;return s===!0||s===""?`${t}--border`:typeof s=="string"||s===0?String(s).split(" ").map(i=>`border-${i}`):[]})}}const Xe=y({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Ue(e){return{elevationClasses:g(()=>{const n=le(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const Ht=["elevated","flat","tonal","outlined","text","plain"];function Mt(e,t){return S(pt,null,[e&&S("span",{key:"overlay",class:k(`${t}__overlay`)},null),S("span",{key:"underlay",class:k(`${t}__underlay`)},null)])}const Ye=y({color:String,variant:{type:String,default:"elevated",validator:e=>Ht.includes(e)}},"variant");function Gt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();const n=g(()=>{const{variant:a}=W(e);return`${t}--variant-${a}`}),{colorClasses:s,colorStyles:i}=he(()=>{const{variant:a,color:r}=W(e);return{[["elevated","flat"].includes(a)?"background":"text"]:r}});return{colorClasses:s,colorStyles:i,variantClasses:n}}const jt=[null,"default","comfortable","compact"],Ke=y({density:{type:String,default:"default",validator:e=>jt.includes(e)}},"density");function Je(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{densityClasses:g(()=>`${t}--density-${e.density}`)}}const Ze=y({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...je(),...G(),...Ke(),...Xe(),...be(),...j(),...M(),...Ye()},"VBtnGroup"),_e=N()({name:"VBtnGroup",props:Ze(),setup(e,t){let{slots:n}=t;const{themeClasses:s}=K(e),{densityClasses:i}=Je(e),{borderClasses:a}=qe(e),{elevationClasses:r}=Ue(e),{roundedClasses:o}=ye(e);Ee({VBtn:{height:g(()=>e.direction==="horizontal"?"auto":null),baseColor:g(()=>e.baseColor),color:g(()=>e.color),density:g(()=>e.density),flat:!0,variant:g(()=>e.variant)}}),D(()=>_(e.tag,{class:k(["v-btn-group",`v-btn-group--${e.direction}`,{"v-btn-group--divided":e.divided},s.value,a.value,i.value,r.value,o.value,e.class]),style:L(e.style)},n))}}),qt=y({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Xt=y({value:null,disabled:Boolean,selectedClass:String},"group-item");function Ut(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const s=J("useGroupItem");if(!s)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const i=Ct();Re(Symbol.for(`${t.description}:id`),i);const a=wt(t,null);if(!a){if(!n)return a;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const r=g(()=>e.value),o=b(()=>!!(a.disabled.value||e.disabled));a.register({id:i,value:r,disabled:o},s),Ne(()=>{a.unregister(i)});const l=b(()=>a.isSelected(i)),c=b(()=>a.items.value[0].id===i),f=b(()=>a.items.value[a.items.value.length-1].id===i),m=b(()=>l.value&&[a.selectedClass.value,e.selectedClass]);return ge(l,u=>{s.emit("group:selected",{value:u})},{flush:"sync"}),{id:i,isSelected:l,isFirst:c,isLast:f,toggle:()=>a.select(i,!l.value),select:u=>a.select(i,u),selectedClass:m,value:r,disabled:o,group:a}}function Yt(e,t){let n=!1;const s=ce([]),i=$e(e,"modelValue",[],u=>u==null?[]:Qe(s,_t(u)),u=>{const v=Jt(s,u);return e.multiple?v:v[0]}),a=J("useGroup");function r(u,v){const p=u,d=Symbol.for(`${t.description}:id`),w=kt(d,a?.vnode).indexOf(v);Bt(p.value)==null&&(p.value=w,p.useIndexAsValue=!0),w>-1?s.splice(w,0,p):s.push(p)}function o(u){if(n)return;l();const v=s.findIndex(p=>p.id===u);s.splice(v,1)}function l(){const u=s.find(v=>!v.disabled);u&&e.mandatory==="force"&&!i.value.length&&(i.value=[u.id])}St(()=>{l()}),Ne(()=>{n=!0}),xt(()=>{for(let u=0;u<s.length;u++)s[u].useIndexAsValue&&(s[u].value=u)});function c(u,v){const p=s.find(d=>d.id===u);if(!(v&&p?.disabled))if(e.multiple){const d=i.value.slice(),h=d.findIndex(P=>P===u),w=~h;if(v=v??!w,w&&e.mandatory&&d.length<=1||!w&&e.max!=null&&d.length+1>e.max)return;h<0&&v?d.push(u):h>=0&&!v&&d.splice(h,1),i.value=d}else{const d=i.value.includes(u);if(e.mandatory&&d||!d&&!v)return;i.value=v??!d?[u]:[]}}function f(u){if(e.multiple,i.value.length){const v=i.value[0],p=s.findIndex(w=>w.id===v);let d=(p+u)%s.length,h=s[d];for(;h.disabled&&d!==p;)d=(d+u)%s.length,h=s[d];if(h.disabled)return;i.value=[s[d].id]}else{const v=s.find(p=>!p.disabled);v&&(i.value=[v.id])}}const m={register:r,unregister:o,selected:i,select:c,disabled:g(()=>e.disabled),prev:()=>f(s.length-1),next:()=>f(1),isSelected:u=>i.value.includes(u),selectedClass:g(()=>e.selectedClass),items:g(()=>s),getItemIndex:u=>Kt(s,u)};return Re(t,m),m}function Kt(e,t){const n=Qe(e,[t]);return n.length?e.findIndex(s=>s.id===n[0]):-1}function Qe(e,t){const n=[];return t.forEach(s=>{const i=e.find(r=>ze(s,r.value)),a=e[s];i?.value!=null?n.push(i.id):a?.useIndexAsValue&&n.push(a.id)}),n}function Jt(e,t){const n=[];return t.forEach(s=>{const i=e.findIndex(a=>a.id===s);if(~i){const a=e[i];n.push(a.value!=null?a.value:i)}}),n}const et=Symbol.for("vuetify:v-btn-toggle"),Zt=y({...Ze(),...qt()},"VBtnToggle");N()({name:"VBtnToggle",props:Zt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:s,next:i,prev:a,select:r,selected:o}=Yt(e,et);return D(()=>{const l=_e.filterProps(e);return _(_e,X({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>[n.default?.({isSelected:s,next:i,prev:a,select:r,selected:o})]})}),{next:i,prev:a,select:r}}});const Qt=["x-small","small","default","large","x-large"],pe=y({size:{type:[String,Number],default:"default"}},"size");function Ce(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return Ie(()=>{const n=e.size;let s,i;return q(Qt,n)?s=`${t}--size-${n}`:n&&(i={width:C(n),height:C(n)}),{sizeClasses:s,sizeStyles:i}})}const en=y({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:de,opacity:[String,Number],...G(),...pe(),...j({tag:"i"}),...M()},"VIcon"),ae=N()({name:"VIcon",props:en(),setup(e,t){let{attrs:n,slots:s}=t;const i=Oe(),{themeClasses:a}=Vt(),{iconData:r}=Pt(()=>i.value||e.icon),{sizeClasses:o}=Ce(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color);return D(()=>{const f=s.default?.();f&&(i.value=Et(f).filter(u=>u.type===It&&u.children&&typeof u.children=="string")[0]?.children);const m=!!(n.onClick||n.onClickOnce);return _(r.value.component,{tag:e.tag,icon:r.value.icon,class:k(["v-icon","notranslate",a.value,o.value,l.value,{"v-icon--clickable":m,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class]),style:L([{"--v-icon-opacity":e.opacity},o.value?void 0:{fontSize:C(e.size),height:C(e.size),width:C(e.size)},c.value,e.style]),role:m?"button":void 0,"aria-hidden":!m,tabindex:m?e.disabled?-1:0:void 0},{default:()=>[f]})}),{}}});function tt(e,t){const n=Ae(),s=Oe(!1);if(Te){const i=new IntersectionObserver(a=>{s.value=!!a.find(r=>r.isIntersecting)},t);De(()=>{i.disconnect()}),ge(n,(a,r)=>{r&&(i.unobserve(r),s.value=!1),a&&i.observe(a)},{flush:"post"})}return{intersectionRef:n,isIntersecting:s}}const tn=y({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...G(),...pe(),...j({tag:"div"}),...M()},"VProgressCircular"),nn=N()({name:"VProgressCircular",props:tn(),setup(e,t){let{slots:n}=t;const s=20,i=2*Math.PI*s,a=Ae(),{themeClasses:r}=K(e),{sizeClasses:o,sizeStyles:l}=Ce(e),{textColorClasses:c,textColorStyles:f}=U(()=>e.color),{textColorClasses:m,textColorStyles:u}=U(()=>e.bgColor),{intersectionRef:v,isIntersecting:p}=tt(),{resizeRef:d,contentRect:h}=Lt(),w=g(()=>fe(parseFloat(e.modelValue),0,100)),P=g(()=>Number(e.width)),E=g(()=>l.value?Number(e.size):h.value?h.value.width:Math.max(P.value,32)),V=g(()=>s/(1-P.value/E.value)*2),T=g(()=>P.value/E.value*V.value),z=g(()=>C((100-w.value)/100*i));return Tt(()=>{v.value=a.value,d.value=a.value}),D(()=>_(e.tag,{ref:a,class:k(["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":p.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},r.value,o.value,c.value,e.class]),style:L([l.value,f.value,e.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:w.value},{default:()=>[S("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${V.value} ${V.value}`},[S("circle",{class:k(["v-progress-circular__underlay",m.value]),style:L(u.value),fill:"transparent",cx:"50%",cy:"50%",r:s,"stroke-width":T.value,"stroke-dasharray":i,"stroke-dashoffset":0},null),S("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:s,"stroke-width":T.value,"stroke-dasharray":i,"stroke-dashoffset":z.value},null)]),n.default&&S("div",{class:"v-progress-circular__content"},[n.default({value:w.value})])]})),{}}}),ke={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},nt=y({location:String},"location");function st(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:s}=We();return{locationStyles:b(()=>{if(!e.location)return{};const{side:a,align:r}=Ot(e.location.split(" ").length>1?e.location:`${e.location} center`,s.value);function o(c){return n?n(c):0}const l={};return a!=="center"&&(t?l[ke[a]]=`calc(100% - ${o(a)}px)`:l[a]=0),r!=="center"?t?l[ke[r]]=`calc(100% - ${o(r)}px)`:l[r]=0:(a==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[a]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[a]),l})}}const sn=y({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...G(),...nt({location:"top"}),...be(),...j(),...M()},"VProgressLinear"),an=N()({name:"VProgressLinear",props:sn(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const s=$e(e,"modelValue"),{isRtl:i,rtlClasses:a}=We(),{themeClasses:r}=K(e),{locationStyles:o}=st(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color),{backgroundColorClasses:f,backgroundColorStyles:m}=se(()=>e.bgColor||e.color),{backgroundColorClasses:u,backgroundColorStyles:v}=se(()=>e.bufferColor||e.bgColor||e.color),{backgroundColorClasses:p,backgroundColorStyles:d}=se(()=>e.color),{roundedClasses:h}=ye(e),{intersectionRef:w,isIntersecting:P}=tt(),E=b(()=>parseFloat(e.max)),V=b(()=>parseFloat(e.height)),T=b(()=>fe(parseFloat(e.bufferValue)/E.value*100,0,100)),z=b(()=>fe(parseFloat(s.value)/E.value*100,0,100)),I=b(()=>i.value!==e.reverse),Z=b(()=>e.indeterminate?"fade-transition":"slide-x-transition"),O=Fe&&window.matchMedia?.("(forced-colors: active)").matches;function Q(x){if(!w.value)return;const{left:ee,right:te,width:A}=w.value.getBoundingClientRect(),dt=I.value?A-x.clientX+(te-A):x.clientX-ee;s.value=Math.round(dt/A*E.value)}return D(()=>_(e.tag,{ref:w,class:k(["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&P.value,"v-progress-linear--reverse":I.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},h.value,r.value,a.value,e.class]),style:L([{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?C(V.value):0,"--v-progress-linear-height":C(V.value),...e.absolute?o.value:{}},e.style]),role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:Math.min(parseFloat(s.value),E.value),onClick:e.clickable&&Q},{default:()=>[e.stream&&S("div",{key:"stream",class:k(["v-progress-linear__stream",l.value]),style:{...c.value,[I.value?"left":"right"]:C(-V.value),borderTop:`${C(V.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${C(V.value/4)})`,width:C(100-T.value,"%"),"--v-progress-linear-stream-to":C(V.value*(I.value?1:-1))}},null),S("div",{class:k(["v-progress-linear__background",O?void 0:f.value]),style:L([m.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}])},null),S("div",{class:k(["v-progress-linear__buffer",O?void 0:u.value]),style:L([v.value,{opacity:parseFloat(e.bufferOpacity),width:C(T.value,"%")}])},null),_(Le,{name:Z.value},{default:()=>[e.indeterminate?S("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(x=>S("div",{key:x,class:k(["v-progress-linear__indeterminate",x,O?void 0:p.value]),style:L(d.value)},null))]):S("div",{class:k(["v-progress-linear__determinate",O?void 0:p.value]),style:L([d.value,{width:C(z.value,"%")}])},null)]}),n.default&&S("div",{class:"v-progress-linear__content"},[n.default({value:z.value,buffer:T.value})])]})),{}}}),rn=y({loading:[Boolean,String]},"loader");function on(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{loaderClasses:g(()=>({[`${t}--loading`]:e.loading}))}}function An(e,t){let{slots:n}=t;return S("div",{class:k(`${e.name}__loader`)},[n.default?.({color:e.color,isActive:e.active})||_(an,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const ln=["static","relative","fixed","absolute","sticky"],un=y({position:{type:String,validator:e=>ln.includes(e)}},"position");function cn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{positionClasses:g(()=>e.position?`${t}--${e.position}`:void 0)}}function dn(){const e=J("useRoute");return b(()=>e?.proxy?.$route)}function Dn(){return J("useRouter")?.proxy?.$router}function fn(e,t){const n=Rt("RouterLink"),s=g(()=>!!(e.href||e.to)),i=b(()=>s?.value||Se(t,"click")||Se(e,"click"));if(typeof n=="string"||!("useLink"in n)){const f=g(()=>e.href);return{isLink:s,isClickable:i,href:f,linkProps:ce({href:f})}}const a=n.useLink({to:g(()=>e.to||""),replace:g(()=>e.replace)}),r=b(()=>e.to?a:void 0),o=dn(),l=b(()=>r.value?e.exact?o.value?r.value.isExactActive?.value&&ze(r.value.route.value.query,o.value.query):r.value.isExactActive?.value??!1:r.value.isActive?.value??!1:!1),c=b(()=>e.to?r.value?.route.value.href:e.href);return{isLink:s,isClickable:i,isActive:l,route:r.value?.route,navigate:r.value?.navigate,href:c,linkProps:ce({href:c,"aria-current":g(()=>l.value?"page":void 0)})}}const vn=y({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let ie=!1;function Wn(e,t){let n=!1,s,i;Fe&&e?.beforeEach&&(He(()=>{window.addEventListener("popstate",a),s=e.beforeEach((r,o,l)=>{ie?n?t(l):l():setTimeout(()=>n?t(l):l()),ie=!0}),i=e?.afterEach(()=>{ie=!1})}),De(()=>{window.removeEventListener("popstate",a),s?.(),i?.()}));function a(r){r.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function mn(e,t){ge(()=>e.isActive?.value,n=>{e.isLink.value&&n!=null&&t&&He(()=>{t(n)})},{immediate:!0})}const ve=Symbol("rippleStop"),gn=80;function Be(e,t){e.style.transform=t,e.style.webkitTransform=t}function me(e){return e.constructor.name==="TouchEvent"}function at(e){return e.constructor.name==="KeyboardEvent"}const hn=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=0,i=0;if(!at(e)){const m=t.getBoundingClientRect(),u=me(e)?e.touches[e.touches.length-1]:e;s=u.clientX-m.left,i=u.clientY-m.top}let a=0,r=.3;t._ripple?.circle?(r=.15,a=t.clientWidth/2,a=n.center?a:a+Math.sqrt((s-a)**2+(i-a)**2)/4):a=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const o=`${(t.clientWidth-a*2)/2}px`,l=`${(t.clientHeight-a*2)/2}px`,c=n.center?o:`${s-a}px`,f=n.center?l:`${i-a}px`;return{radius:a,scale:r,x:c,y:f,centerX:o,centerY:l}},Y={show(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t?._ripple?.enabled)return;const s=document.createElement("span"),i=document.createElement("span");s.appendChild(i),s.className="v-ripple__container",n.class&&(s.className+=` ${n.class}`);const{radius:a,scale:r,x:o,y:l,centerX:c,centerY:f}=hn(e,t,n),m=`${a*2}px`;i.className="v-ripple__animation",i.style.width=m,i.style.height=m,t.appendChild(s);const u=window.getComputedStyle(t);u&&u.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),Be(i,`translate(${o}, ${l}) scale3d(${r},${r},${r})`),i.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Be(i,`translate(${c}, ${f}) scale3d(1,1,1)`)})})},hide(e){if(!e?._ripple?.enabled)return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const s=performance.now()-Number(n.dataset.activated),i=Math.max(250-s,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),n.parentNode?.parentNode===e&&e.removeChild(n.parentNode)},300)},i)}};function it(e){return typeof e>"u"||!!e}function F(e){const t={},n=e.currentTarget;if(!(!n?._ripple||n._ripple.touched||e[ve])){if(e[ve]=!0,me(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||at(e),n._ripple.class&&(t.class=n._ripple.class),me(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Y.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{n?._ripple?.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},gn)}else Y.show(e,n,t)}}function Ve(e){e[ve]=!0}function B(e){const t=e.currentTarget;if(t?._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{B(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),Y.hide(t)}}function rt(e){const t=e.currentTarget;t?._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let H=!1;function Pe(e,t){!H&&t.includes(e.key)&&(H=!0,F(e))}function ot(e){H=!1,B(e)}function lt(e){H&&(H=!1,B(e))}function ut(e,t,n){const{value:s,modifiers:i}=t,a=it(s);a||Y.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=a,e._ripple.centered=i.center,e._ripple.circle=i.circle;const r=ue(s)?s:{};r.class&&(e._ripple.class=r.class);const o=r.keys??["Enter","Space"];if(e._ripple.keyDownHandler=l=>Pe(l,o),a&&!n){if(i.stop){e.addEventListener("touchstart",Ve,{passive:!0}),e.addEventListener("mousedown",Ve);return}e.addEventListener("touchstart",F,{passive:!0}),e.addEventListener("touchend",B,{passive:!0}),e.addEventListener("touchmove",rt,{passive:!0}),e.addEventListener("touchcancel",B),e.addEventListener("mousedown",F),e.addEventListener("mouseup",B),e.addEventListener("mouseleave",B),e.addEventListener("keydown",l=>Pe(l,o)),e.addEventListener("keyup",ot),e.addEventListener("blur",lt),e.addEventListener("dragstart",B,{passive:!0})}else!a&&n&&ct(e)}function ct(e){e.removeEventListener("mousedown",F),e.removeEventListener("touchstart",F),e.removeEventListener("touchend",B),e.removeEventListener("touchmove",rt),e.removeEventListener("touchcancel",B),e.removeEventListener("mouseup",B),e.removeEventListener("mouseleave",B),e._ripple?.keyDownHandler&&e.removeEventListener("keydown",e._ripple.keyDownHandler),e.removeEventListener("keyup",ot),e.removeEventListener("dragstart",B),e.removeEventListener("blur",lt)}function bn(e,t){ut(e,t,!1)}function yn(e){ct(e),delete e._ripple}function pn(e,t){if(t.value===t.oldValue)return;const n=it(t.oldValue);ut(e,t,n)}const Cn={mounted:bn,unmounted:yn,updated:pn},wn=y({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:et},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:de,appendIcon:de,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...je(),...G(),...Ke(),...Dt(),...Xe(),...Xt(),...rn(),...nt(),...un(),...be(),...vn(),...pe(),...j({tag:"button"}),...M(),...Ye({variant:"elevated"})},"VBtn"),Fn=N()({name:"VBtn",props:wn(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:s}=t;const{themeClasses:i}=K(e),{borderClasses:a}=qe(e),{densityClasses:r}=Je(e),{dimensionStyles:o}=Wt(e),{elevationClasses:l}=Ue(e),{loaderClasses:c}=on(e),{locationStyles:f}=st(e),{positionClasses:m}=cn(e),{roundedClasses:u}=ye(e),{sizeClasses:v,sizeStyles:p}=Ce(e),d=Ut(e,e.symbol,!1),h=fn(e,n),w=b(()=>e.active!==void 0?e.active:h.isLink.value?h.isActive?.value:d?.isSelected.value),P=g(()=>w.value?e.activeColor??e.color:e.color),E=b(()=>({color:d?.isSelected.value&&(!h.isLink.value||h.isActive?.value)||!d||h.isActive?.value?P.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:V,colorStyles:T,variantClasses:z}=Gt(E),I=b(()=>d?.disabled.value||e.disabled),Z=g(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),O=b(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function Q(x){I.value||h.isLink.value&&(x.metaKey||x.ctrlKey||x.shiftKey||x.button!==0||n.target==="_blank")||(h.navigate?.(x),d?.toggle())}return mn(h,d?.select),D(()=>{const x=h.isLink.value?"a":e.tag,ee=!!(e.prependIcon||s.prepend),te=!!(e.appendIcon||s.append),A=!!(e.icon&&e.icon!==!0);return Nt(_(x,X({type:x==="a"?void 0:"button",class:["v-btn",d?.selectedClass.value,{"v-btn--active":w.value,"v-btn--block":e.block,"v-btn--disabled":I.value,"v-btn--elevated":Z.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},i.value,a.value,V.value,r.value,l.value,c.value,m.value,u.value,v.value,z.value,e.class],style:[T.value,o.value,f.value,p.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:I.value||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:Q,value:O.value},h.linkProps),{default:()=>[Mt(!0,"v-btn"),!e.icon&&ee&&S("span",{key:"prepend",class:"v-btn__prepend"},[s.prepend?_(ne,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},s.prepend):_(ae,{key:"prepend-icon",icon:e.prependIcon},null)]),S("span",{class:"v-btn__content","data-no-activator":""},[!s.default&&A?_(ae,{key:"content-icon",icon:e.icon},null):_(ne,{key:"content-defaults",disabled:!A,defaults:{VIcon:{icon:e.icon}}},{default:()=>[s.default?.()??$t(e.text)]})]),!e.icon&&te&&S("span",{key:"append",class:"v-btn__append"},[s.append?_(ne,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},s.append):_(ae,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&S("span",{key:"loader",class:"v-btn__loader"},[s.loader?.()??_(nn,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}),[[Cn,!I.value&&e.ripple,"",{center:!!e.icon}]])}),{group:d}}}),re=Symbol("Forwarded refs");function oe(e,t){let n=e;for(;n;){const s=Reflect.getOwnPropertyDescriptor(n,t);if(s)return s;n=Object.getPrototypeOf(n)}}function Hn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];return e[re]=n,new Proxy(e,{get(i,a){if(Reflect.has(i,a))return Reflect.get(i,a);if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const r of n)if(r.value&&Reflect.has(r.value,a)){const o=Reflect.get(r.value,a);return typeof o=="function"?o.bind(r.value):o}}},has(i,a){if(Reflect.has(i,a))return!0;if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const r of n)if(r.value&&Reflect.has(r.value,a))return!0;return!1},set(i,a,r){if(Reflect.has(i,a))return Reflect.set(i,a,r);if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,a))return Reflect.set(o.value,a,r);return!1},getOwnPropertyDescriptor(i,a){const r=Reflect.getOwnPropertyDescriptor(i,a);if(r)return r;if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const o of n){if(!o.value)continue;const l=oe(o.value,a)??("_"in o.value?oe(o.value._?.setupState,a):void 0);if(l)return l}for(const o of n){const l=o.value&&o.value[re];if(!l)continue;const c=l.slice();for(;c.length;){const f=c.shift(),m=oe(f.value,a);if(m)return m;const u=f.value&&f.value[re];u&&c.push(...u)}}}}})}export{Vn as $,Xt as A,Ye as B,Dn as C,xe as D,on as E,nn as F,pe as G,qt as H,On as I,rn as J,Ce as K,An as L,zn as M,Mt as N,In as O,Nn as P,Rn as Q,Cn as R,Pn as S,Ot as T,xn as U,Fn as V,_n as W,kn as X,R as Y,En as Z,Bn as _,Ln as a,Wn as a0,Je as b,se as c,j as d,Ke as e,Hn as f,fn as g,vn as h,ye as i,be as j,ae as k,ne as l,wn as m,an as n,Wt as o,$n as p,Dt as q,qe as r,Tn as s,Ue as t,U as u,Xe as v,je as w,Gt as x,Yt as y,Ut as z};
1
+ import{cv as q,p as y,g as N,bX as ft,f as Ee,c as b,h as C,cp as Ie,cn as W,cw as we,cx as vt,cy as mt,cz as gt,cd as $,cA as le,j as ue,c9 as ht,bq as Le,m as X,cB as bt,ca as yt,cl as Te,t as g,b as S,d as k,F as pt,aA as M,J as G,az as K,u as D,a as _,n as L,bP as J,bt as Ct,aV as Re,i as wt,bl as Ne,aU as ge,ct as ce,e as $e,bk as St,cC as xt,bE as ze,bD as _t,cD as kt,bZ as Bt,aT as Oe,cE as Vt,cF as Pt,cG as Et,cH as It,K as de,r as Ae,bn as De,be as Lt,b7 as fe,bi as Tt,aC as We,bs as Fe,H as Rt,cI as Se,aW as He,S as Nt,A as $t}from"./main-Clr8M5Ax.js";const Me=["top","bottom"],zt=["start","end","left","right"];function Ot(e,t){let[n,s]=e.split(" ");return s||(s=q(Me,n)?"start":q(zt,n)?"top":"center"),{side:xe(n,t),align:xe(s,t)}}function xe(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function xn(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function _n(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function kn(e){return{side:e.align,align:e.side}}function Bn(e){return q(Me,e.side)?"y":"x"}class R{constructor(t){let{x:n,y:s,width:i,height:a}=t;this.x=n,this.y=s,this.width=i,this.height=a}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Vn(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function Pn(e){return Array.isArray(e)?new R({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function En(e){if(e===document.documentElement)return visualViewport?new R({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale,height:visualViewport.height*visualViewport.scale}):new R({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});{const t=e.getBoundingClientRect();return new R({x:t.x,y:t.y,width:e.clientWidth,height:e.clientHeight})}}function In(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),s=n.transform;if(s){let i,a,r,o,l;if(s.startsWith("matrix3d("))i=s.slice(9,-1).split(/, /),a=Number(i[0]),r=Number(i[5]),o=Number(i[12]),l=Number(i[13]);else if(s.startsWith("matrix("))i=s.slice(7,-1).split(/, /),a=Number(i[0]),r=Number(i[3]),o=Number(i[4]),l=Number(i[5]);else return new R(t);const c=n.transformOrigin,f=t.x-o-(1-a)*parseFloat(c),m=t.y-l-(1-r)*parseFloat(c.slice(c.indexOf(" ")+1)),u=a?t.width/a:e.offsetWidth+1,v=r?t.height/r:e.offsetHeight+1;return new R({x:f,y:m,width:u,height:v})}else return new R(t)}function Ln(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let s;try{s=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof s.finished>"u"&&(s.finished=new Promise(i=>{s.onfinish=()=>{i(s)}})),s}const Tn="cubic-bezier(0.4, 0, 0.2, 1)",Rn="cubic-bezier(0.0, 0, 0.2, 1)",Nn="cubic-bezier(0.4, 0, 1, 1)",j=y({tag:{type:[String,Object,Function],default:"div"}},"tag"),At=y({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ne=N(!1)({name:"VDefaultsProvider",props:At(),setup(e,t){let{slots:n}=t;const{defaults:s,disabled:i,reset:a,root:r,scoped:o}=ft(e);return Ee(s,{reset:a,root:r,scoped:o,disabled:i}),()=>n.default?.()}}),Dt=y({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Wt(e){return{dimensionStyles:b(()=>{const n={},s=C(e.height),i=C(e.maxHeight),a=C(e.maxWidth),r=C(e.minHeight),o=C(e.minWidth),l=C(e.width);return s!=null&&(n.height=s),i!=null&&(n.maxHeight=i),a!=null&&(n.maxWidth=a),r!=null&&(n.minHeight=r),o!=null&&(n.minWidth=o),l!=null&&(n.width=l),n})}}function he(e){return Ie(()=>{const t=W(e),n=[],s={};if(t.background)if(we(t.background)){if(s.backgroundColor=t.background,!t.text&&vt(t.background)){const i=mt(t.background);if(i.a==null||i.a===1){const a=gt(i);s.color=a,s.caretColor=a}}}else n.push(`bg-${t.background}`);return t.text&&(we(t.text)?(s.color=t.text,s.caretColor=t.text):n.push(`text-${t.text}`)),{colorClasses:n,colorStyles:s}})}function U(e){const{colorClasses:t,colorStyles:n}=he(()=>({text:W(e)}));return{textColorClasses:t,textColorStyles:n}}function se(e){const{colorClasses:t,colorStyles:n}=he(()=>({background:W(e)}));return{backgroundColorClasses:t,backgroundColorStyles:n}}const be=y({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function ye(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{roundedClasses:b(()=>{const s=le(e)?e.value:e.rounded,i=le(e)?e.value:e.tile,a=[];if(s===!0||s==="")a.push(`${t}--rounded`);else if(typeof s=="string"||s===0)for(const r of String(s).split(" "))a.push(`rounded-${r}`);else(i||s===!1)&&a.push("rounded-0");return a})}}const $n=y({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),zn=(e,t)=>{let{slots:n}=t;const{transition:s,disabled:i,group:a,...r}=e,{component:o=a?ht:Le,...l}=ue(s)?s:{};let c;return ue(s)?c=X(l,bt({disabled:i,group:a}),r):c=X({name:i||!s?"":s},r),yt(o,c,n)};function Ft(e,t){if(!Te)return;const n=t.modifiers||{},s=t.value,{handler:i,options:a}=typeof s=="object"?s:{handler:s,options:{}},r=new IntersectionObserver(function(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const c=e._observe?.[t.instance.$.uid];if(!c)return;const f=o.some(m=>m.isIntersecting);i&&(!n.quiet||c.init)&&(!n.once||f||c.init)&&i(f,o,l),f&&n.once?Ge(e,t):c.init=!0},a);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:r},r.observe(e)}function Ge(e,t){const n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const On={mounted:Ft,unmounted:Ge},je=y({border:[Boolean,Number,String]},"border");function qe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{borderClasses:b(()=>{const s=e.border;return s===!0||s===""?`${t}--border`:typeof s=="string"||s===0?String(s).split(" ").map(i=>`border-${i}`):[]})}}const Xe=y({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Ue(e){return{elevationClasses:g(()=>{const n=le(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const Ht=["elevated","flat","tonal","outlined","text","plain"];function Mt(e,t){return S(pt,null,[e&&S("span",{key:"overlay",class:k(`${t}__overlay`)},null),S("span",{key:"underlay",class:k(`${t}__underlay`)},null)])}const Ye=y({color:String,variant:{type:String,default:"elevated",validator:e=>Ht.includes(e)}},"variant");function Gt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();const n=g(()=>{const{variant:a}=W(e);return`${t}--variant-${a}`}),{colorClasses:s,colorStyles:i}=he(()=>{const{variant:a,color:r}=W(e);return{[["elevated","flat"].includes(a)?"background":"text"]:r}});return{colorClasses:s,colorStyles:i,variantClasses:n}}const jt=[null,"default","comfortable","compact"],Ke=y({density:{type:String,default:"default",validator:e=>jt.includes(e)}},"density");function Je(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{densityClasses:g(()=>`${t}--density-${e.density}`)}}const Ze=y({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...je(),...G(),...Ke(),...Xe(),...be(),...j(),...M(),...Ye()},"VBtnGroup"),_e=N()({name:"VBtnGroup",props:Ze(),setup(e,t){let{slots:n}=t;const{themeClasses:s}=K(e),{densityClasses:i}=Je(e),{borderClasses:a}=qe(e),{elevationClasses:r}=Ue(e),{roundedClasses:o}=ye(e);Ee({VBtn:{height:g(()=>e.direction==="horizontal"?"auto":null),baseColor:g(()=>e.baseColor),color:g(()=>e.color),density:g(()=>e.density),flat:!0,variant:g(()=>e.variant)}}),D(()=>_(e.tag,{class:k(["v-btn-group",`v-btn-group--${e.direction}`,{"v-btn-group--divided":e.divided},s.value,a.value,i.value,r.value,o.value,e.class]),style:L(e.style)},n))}}),qt=y({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Xt=y({value:null,disabled:Boolean,selectedClass:String},"group-item");function Ut(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const s=J("useGroupItem");if(!s)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const i=Ct();Re(Symbol.for(`${t.description}:id`),i);const a=wt(t,null);if(!a){if(!n)return a;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const r=g(()=>e.value),o=b(()=>!!(a.disabled.value||e.disabled));a.register({id:i,value:r,disabled:o},s),Ne(()=>{a.unregister(i)});const l=b(()=>a.isSelected(i)),c=b(()=>a.items.value[0].id===i),f=b(()=>a.items.value[a.items.value.length-1].id===i),m=b(()=>l.value&&[a.selectedClass.value,e.selectedClass]);return ge(l,u=>{s.emit("group:selected",{value:u})},{flush:"sync"}),{id:i,isSelected:l,isFirst:c,isLast:f,toggle:()=>a.select(i,!l.value),select:u=>a.select(i,u),selectedClass:m,value:r,disabled:o,group:a}}function Yt(e,t){let n=!1;const s=ce([]),i=$e(e,"modelValue",[],u=>u==null?[]:Qe(s,_t(u)),u=>{const v=Jt(s,u);return e.multiple?v:v[0]}),a=J("useGroup");function r(u,v){const p=u,d=Symbol.for(`${t.description}:id`),w=kt(d,a?.vnode).indexOf(v);Bt(p.value)==null&&(p.value=w,p.useIndexAsValue=!0),w>-1?s.splice(w,0,p):s.push(p)}function o(u){if(n)return;l();const v=s.findIndex(p=>p.id===u);s.splice(v,1)}function l(){const u=s.find(v=>!v.disabled);u&&e.mandatory==="force"&&!i.value.length&&(i.value=[u.id])}St(()=>{l()}),Ne(()=>{n=!0}),xt(()=>{for(let u=0;u<s.length;u++)s[u].useIndexAsValue&&(s[u].value=u)});function c(u,v){const p=s.find(d=>d.id===u);if(!(v&&p?.disabled))if(e.multiple){const d=i.value.slice(),h=d.findIndex(P=>P===u),w=~h;if(v=v??!w,w&&e.mandatory&&d.length<=1||!w&&e.max!=null&&d.length+1>e.max)return;h<0&&v?d.push(u):h>=0&&!v&&d.splice(h,1),i.value=d}else{const d=i.value.includes(u);if(e.mandatory&&d||!d&&!v)return;i.value=v??!d?[u]:[]}}function f(u){if(e.multiple,i.value.length){const v=i.value[0],p=s.findIndex(w=>w.id===v);let d=(p+u)%s.length,h=s[d];for(;h.disabled&&d!==p;)d=(d+u)%s.length,h=s[d];if(h.disabled)return;i.value=[s[d].id]}else{const v=s.find(p=>!p.disabled);v&&(i.value=[v.id])}}const m={register:r,unregister:o,selected:i,select:c,disabled:g(()=>e.disabled),prev:()=>f(s.length-1),next:()=>f(1),isSelected:u=>i.value.includes(u),selectedClass:g(()=>e.selectedClass),items:g(()=>s),getItemIndex:u=>Kt(s,u)};return Re(t,m),m}function Kt(e,t){const n=Qe(e,[t]);return n.length?e.findIndex(s=>s.id===n[0]):-1}function Qe(e,t){const n=[];return t.forEach(s=>{const i=e.find(r=>ze(s,r.value)),a=e[s];i?.value!=null?n.push(i.id):a?.useIndexAsValue&&n.push(a.id)}),n}function Jt(e,t){const n=[];return t.forEach(s=>{const i=e.findIndex(a=>a.id===s);if(~i){const a=e[i];n.push(a.value!=null?a.value:i)}}),n}const et=Symbol.for("vuetify:v-btn-toggle"),Zt=y({...Ze(),...qt()},"VBtnToggle");N()({name:"VBtnToggle",props:Zt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:s,next:i,prev:a,select:r,selected:o}=Yt(e,et);return D(()=>{const l=_e.filterProps(e);return _(_e,X({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>[n.default?.({isSelected:s,next:i,prev:a,select:r,selected:o})]})}),{next:i,prev:a,select:r}}});const Qt=["x-small","small","default","large","x-large"],pe=y({size:{type:[String,Number],default:"default"}},"size");function Ce(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return Ie(()=>{const n=e.size;let s,i;return q(Qt,n)?s=`${t}--size-${n}`:n&&(i={width:C(n),height:C(n)}),{sizeClasses:s,sizeStyles:i}})}const en=y({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:de,opacity:[String,Number],...G(),...pe(),...j({tag:"i"}),...M()},"VIcon"),ae=N()({name:"VIcon",props:en(),setup(e,t){let{attrs:n,slots:s}=t;const i=Oe(),{themeClasses:a}=Vt(),{iconData:r}=Pt(()=>i.value||e.icon),{sizeClasses:o}=Ce(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color);return D(()=>{const f=s.default?.();f&&(i.value=Et(f).filter(u=>u.type===It&&u.children&&typeof u.children=="string")[0]?.children);const m=!!(n.onClick||n.onClickOnce);return _(r.value.component,{tag:e.tag,icon:r.value.icon,class:k(["v-icon","notranslate",a.value,o.value,l.value,{"v-icon--clickable":m,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class]),style:L([{"--v-icon-opacity":e.opacity},o.value?void 0:{fontSize:C(e.size),height:C(e.size),width:C(e.size)},c.value,e.style]),role:m?"button":void 0,"aria-hidden":!m,tabindex:m?e.disabled?-1:0:void 0},{default:()=>[f]})}),{}}});function tt(e,t){const n=Ae(),s=Oe(!1);if(Te){const i=new IntersectionObserver(a=>{s.value=!!a.find(r=>r.isIntersecting)},t);De(()=>{i.disconnect()}),ge(n,(a,r)=>{r&&(i.unobserve(r),s.value=!1),a&&i.observe(a)},{flush:"post"})}return{intersectionRef:n,isIntersecting:s}}const tn=y({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...G(),...pe(),...j({tag:"div"}),...M()},"VProgressCircular"),nn=N()({name:"VProgressCircular",props:tn(),setup(e,t){let{slots:n}=t;const s=20,i=2*Math.PI*s,a=Ae(),{themeClasses:r}=K(e),{sizeClasses:o,sizeStyles:l}=Ce(e),{textColorClasses:c,textColorStyles:f}=U(()=>e.color),{textColorClasses:m,textColorStyles:u}=U(()=>e.bgColor),{intersectionRef:v,isIntersecting:p}=tt(),{resizeRef:d,contentRect:h}=Lt(),w=g(()=>fe(parseFloat(e.modelValue),0,100)),P=g(()=>Number(e.width)),E=g(()=>l.value?Number(e.size):h.value?h.value.width:Math.max(P.value,32)),V=g(()=>s/(1-P.value/E.value)*2),T=g(()=>P.value/E.value*V.value),z=g(()=>C((100-w.value)/100*i));return Tt(()=>{v.value=a.value,d.value=a.value}),D(()=>_(e.tag,{ref:a,class:k(["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":p.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},r.value,o.value,c.value,e.class]),style:L([l.value,f.value,e.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:w.value},{default:()=>[S("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${V.value} ${V.value}`},[S("circle",{class:k(["v-progress-circular__underlay",m.value]),style:L(u.value),fill:"transparent",cx:"50%",cy:"50%",r:s,"stroke-width":T.value,"stroke-dasharray":i,"stroke-dashoffset":0},null),S("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:s,"stroke-width":T.value,"stroke-dasharray":i,"stroke-dashoffset":z.value},null)]),n.default&&S("div",{class:"v-progress-circular__content"},[n.default({value:w.value})])]})),{}}}),ke={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},nt=y({location:String},"location");function st(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:s}=We();return{locationStyles:b(()=>{if(!e.location)return{};const{side:a,align:r}=Ot(e.location.split(" ").length>1?e.location:`${e.location} center`,s.value);function o(c){return n?n(c):0}const l={};return a!=="center"&&(t?l[ke[a]]=`calc(100% - ${o(a)}px)`:l[a]=0),r!=="center"?t?l[ke[r]]=`calc(100% - ${o(r)}px)`:l[r]=0:(a==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[a]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[a]),l})}}const sn=y({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...G(),...nt({location:"top"}),...be(),...j(),...M()},"VProgressLinear"),an=N()({name:"VProgressLinear",props:sn(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const s=$e(e,"modelValue"),{isRtl:i,rtlClasses:a}=We(),{themeClasses:r}=K(e),{locationStyles:o}=st(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color),{backgroundColorClasses:f,backgroundColorStyles:m}=se(()=>e.bgColor||e.color),{backgroundColorClasses:u,backgroundColorStyles:v}=se(()=>e.bufferColor||e.bgColor||e.color),{backgroundColorClasses:p,backgroundColorStyles:d}=se(()=>e.color),{roundedClasses:h}=ye(e),{intersectionRef:w,isIntersecting:P}=tt(),E=b(()=>parseFloat(e.max)),V=b(()=>parseFloat(e.height)),T=b(()=>fe(parseFloat(e.bufferValue)/E.value*100,0,100)),z=b(()=>fe(parseFloat(s.value)/E.value*100,0,100)),I=b(()=>i.value!==e.reverse),Z=b(()=>e.indeterminate?"fade-transition":"slide-x-transition"),O=Fe&&window.matchMedia?.("(forced-colors: active)").matches;function Q(x){if(!w.value)return;const{left:ee,right:te,width:A}=w.value.getBoundingClientRect(),dt=I.value?A-x.clientX+(te-A):x.clientX-ee;s.value=Math.round(dt/A*E.value)}return D(()=>_(e.tag,{ref:w,class:k(["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&P.value,"v-progress-linear--reverse":I.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},h.value,r.value,a.value,e.class]),style:L([{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?C(V.value):0,"--v-progress-linear-height":C(V.value),...e.absolute?o.value:{}},e.style]),role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:Math.min(parseFloat(s.value),E.value),onClick:e.clickable&&Q},{default:()=>[e.stream&&S("div",{key:"stream",class:k(["v-progress-linear__stream",l.value]),style:{...c.value,[I.value?"left":"right"]:C(-V.value),borderTop:`${C(V.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${C(V.value/4)})`,width:C(100-T.value,"%"),"--v-progress-linear-stream-to":C(V.value*(I.value?1:-1))}},null),S("div",{class:k(["v-progress-linear__background",O?void 0:f.value]),style:L([m.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}])},null),S("div",{class:k(["v-progress-linear__buffer",O?void 0:u.value]),style:L([v.value,{opacity:parseFloat(e.bufferOpacity),width:C(T.value,"%")}])},null),_(Le,{name:Z.value},{default:()=>[e.indeterminate?S("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(x=>S("div",{key:x,class:k(["v-progress-linear__indeterminate",x,O?void 0:p.value]),style:L(d.value)},null))]):S("div",{class:k(["v-progress-linear__determinate",O?void 0:p.value]),style:L([d.value,{width:C(z.value,"%")}])},null)]}),n.default&&S("div",{class:"v-progress-linear__content"},[n.default({value:z.value,buffer:T.value})])]})),{}}}),rn=y({loading:[Boolean,String]},"loader");function on(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{loaderClasses:g(()=>({[`${t}--loading`]:e.loading}))}}function An(e,t){let{slots:n}=t;return S("div",{class:k(`${e.name}__loader`)},[n.default?.({color:e.color,isActive:e.active})||_(an,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const ln=["static","relative","fixed","absolute","sticky"],un=y({position:{type:String,validator:e=>ln.includes(e)}},"position");function cn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{positionClasses:g(()=>e.position?`${t}--${e.position}`:void 0)}}function dn(){const e=J("useRoute");return b(()=>e?.proxy?.$route)}function Dn(){return J("useRouter")?.proxy?.$router}function fn(e,t){const n=Rt("RouterLink"),s=g(()=>!!(e.href||e.to)),i=b(()=>s?.value||Se(t,"click")||Se(e,"click"));if(typeof n=="string"||!("useLink"in n)){const f=g(()=>e.href);return{isLink:s,isClickable:i,href:f,linkProps:ce({href:f})}}const a=n.useLink({to:g(()=>e.to||""),replace:g(()=>e.replace)}),r=b(()=>e.to?a:void 0),o=dn(),l=b(()=>r.value?e.exact?o.value?r.value.isExactActive?.value&&ze(r.value.route.value.query,o.value.query):r.value.isExactActive?.value??!1:r.value.isActive?.value??!1:!1),c=b(()=>e.to?r.value?.route.value.href:e.href);return{isLink:s,isClickable:i,isActive:l,route:r.value?.route,navigate:r.value?.navigate,href:c,linkProps:ce({href:c,"aria-current":g(()=>l.value?"page":void 0)})}}const vn=y({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let ie=!1;function Wn(e,t){let n=!1,s,i;Fe&&e?.beforeEach&&(He(()=>{window.addEventListener("popstate",a),s=e.beforeEach((r,o,l)=>{ie?n?t(l):l():setTimeout(()=>n?t(l):l()),ie=!0}),i=e?.afterEach(()=>{ie=!1})}),De(()=>{window.removeEventListener("popstate",a),s?.(),i?.()}));function a(r){r.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function mn(e,t){ge(()=>e.isActive?.value,n=>{e.isLink.value&&n!=null&&t&&He(()=>{t(n)})},{immediate:!0})}const ve=Symbol("rippleStop"),gn=80;function Be(e,t){e.style.transform=t,e.style.webkitTransform=t}function me(e){return e.constructor.name==="TouchEvent"}function at(e){return e.constructor.name==="KeyboardEvent"}const hn=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=0,i=0;if(!at(e)){const m=t.getBoundingClientRect(),u=me(e)?e.touches[e.touches.length-1]:e;s=u.clientX-m.left,i=u.clientY-m.top}let a=0,r=.3;t._ripple?.circle?(r=.15,a=t.clientWidth/2,a=n.center?a:a+Math.sqrt((s-a)**2+(i-a)**2)/4):a=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const o=`${(t.clientWidth-a*2)/2}px`,l=`${(t.clientHeight-a*2)/2}px`,c=n.center?o:`${s-a}px`,f=n.center?l:`${i-a}px`;return{radius:a,scale:r,x:c,y:f,centerX:o,centerY:l}},Y={show(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t?._ripple?.enabled)return;const s=document.createElement("span"),i=document.createElement("span");s.appendChild(i),s.className="v-ripple__container",n.class&&(s.className+=` ${n.class}`);const{radius:a,scale:r,x:o,y:l,centerX:c,centerY:f}=hn(e,t,n),m=`${a*2}px`;i.className="v-ripple__animation",i.style.width=m,i.style.height=m,t.appendChild(s);const u=window.getComputedStyle(t);u&&u.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),Be(i,`translate(${o}, ${l}) scale3d(${r},${r},${r})`),i.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Be(i,`translate(${c}, ${f}) scale3d(1,1,1)`)})})},hide(e){if(!e?._ripple?.enabled)return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const s=performance.now()-Number(n.dataset.activated),i=Math.max(250-s,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),n.parentNode?.parentNode===e&&e.removeChild(n.parentNode)},300)},i)}};function it(e){return typeof e>"u"||!!e}function F(e){const t={},n=e.currentTarget;if(!(!n?._ripple||n._ripple.touched||e[ve])){if(e[ve]=!0,me(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||at(e),n._ripple.class&&(t.class=n._ripple.class),me(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Y.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{n?._ripple?.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},gn)}else Y.show(e,n,t)}}function Ve(e){e[ve]=!0}function B(e){const t=e.currentTarget;if(t?._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{B(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),Y.hide(t)}}function rt(e){const t=e.currentTarget;t?._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let H=!1;function Pe(e,t){!H&&t.includes(e.key)&&(H=!0,F(e))}function ot(e){H=!1,B(e)}function lt(e){H&&(H=!1,B(e))}function ut(e,t,n){const{value:s,modifiers:i}=t,a=it(s);a||Y.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=a,e._ripple.centered=i.center,e._ripple.circle=i.circle;const r=ue(s)?s:{};r.class&&(e._ripple.class=r.class);const o=r.keys??["Enter","Space"];if(e._ripple.keyDownHandler=l=>Pe(l,o),a&&!n){if(i.stop){e.addEventListener("touchstart",Ve,{passive:!0}),e.addEventListener("mousedown",Ve);return}e.addEventListener("touchstart",F,{passive:!0}),e.addEventListener("touchend",B,{passive:!0}),e.addEventListener("touchmove",rt,{passive:!0}),e.addEventListener("touchcancel",B),e.addEventListener("mousedown",F),e.addEventListener("mouseup",B),e.addEventListener("mouseleave",B),e.addEventListener("keydown",l=>Pe(l,o)),e.addEventListener("keyup",ot),e.addEventListener("blur",lt),e.addEventListener("dragstart",B,{passive:!0})}else!a&&n&&ct(e)}function ct(e){e.removeEventListener("mousedown",F),e.removeEventListener("touchstart",F),e.removeEventListener("touchend",B),e.removeEventListener("touchmove",rt),e.removeEventListener("touchcancel",B),e.removeEventListener("mouseup",B),e.removeEventListener("mouseleave",B),e._ripple?.keyDownHandler&&e.removeEventListener("keydown",e._ripple.keyDownHandler),e.removeEventListener("keyup",ot),e.removeEventListener("dragstart",B),e.removeEventListener("blur",lt)}function bn(e,t){ut(e,t,!1)}function yn(e){ct(e),delete e._ripple}function pn(e,t){if(t.value===t.oldValue)return;const n=it(t.oldValue);ut(e,t,n)}const Cn={mounted:bn,unmounted:yn,updated:pn},wn=y({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:et},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:de,appendIcon:de,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...je(),...G(),...Ke(),...Dt(),...Xe(),...Xt(),...rn(),...nt(),...un(),...be(),...vn(),...pe(),...j({tag:"button"}),...M(),...Ye({variant:"elevated"})},"VBtn"),Fn=N()({name:"VBtn",props:wn(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:s}=t;const{themeClasses:i}=K(e),{borderClasses:a}=qe(e),{densityClasses:r}=Je(e),{dimensionStyles:o}=Wt(e),{elevationClasses:l}=Ue(e),{loaderClasses:c}=on(e),{locationStyles:f}=st(e),{positionClasses:m}=cn(e),{roundedClasses:u}=ye(e),{sizeClasses:v,sizeStyles:p}=Ce(e),d=Ut(e,e.symbol,!1),h=fn(e,n),w=b(()=>e.active!==void 0?e.active:h.isLink.value?h.isActive?.value:d?.isSelected.value),P=g(()=>w.value?e.activeColor??e.color:e.color),E=b(()=>({color:d?.isSelected.value&&(!h.isLink.value||h.isActive?.value)||!d||h.isActive?.value?P.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:V,colorStyles:T,variantClasses:z}=Gt(E),I=b(()=>d?.disabled.value||e.disabled),Z=g(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),O=b(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function Q(x){I.value||h.isLink.value&&(x.metaKey||x.ctrlKey||x.shiftKey||x.button!==0||n.target==="_blank")||(h.navigate?.(x),d?.toggle())}return mn(h,d?.select),D(()=>{const x=h.isLink.value?"a":e.tag,ee=!!(e.prependIcon||s.prepend),te=!!(e.appendIcon||s.append),A=!!(e.icon&&e.icon!==!0);return Nt(_(x,X({type:x==="a"?void 0:"button",class:["v-btn",d?.selectedClass.value,{"v-btn--active":w.value,"v-btn--block":e.block,"v-btn--disabled":I.value,"v-btn--elevated":Z.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},i.value,a.value,V.value,r.value,l.value,c.value,m.value,u.value,v.value,z.value,e.class],style:[T.value,o.value,f.value,p.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:I.value||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:Q,value:O.value},h.linkProps),{default:()=>[Mt(!0,"v-btn"),!e.icon&&ee&&S("span",{key:"prepend",class:"v-btn__prepend"},[s.prepend?_(ne,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},s.prepend):_(ae,{key:"prepend-icon",icon:e.prependIcon},null)]),S("span",{class:"v-btn__content","data-no-activator":""},[!s.default&&A?_(ae,{key:"content-icon",icon:e.icon},null):_(ne,{key:"content-defaults",disabled:!A,defaults:{VIcon:{icon:e.icon}}},{default:()=>[s.default?.()??$t(e.text)]})]),!e.icon&&te&&S("span",{key:"append",class:"v-btn__append"},[s.append?_(ne,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},s.append):_(ae,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&S("span",{key:"loader",class:"v-btn__loader"},[s.loader?.()??_(nn,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}),[[Cn,!I.value&&e.ripple,"",{center:!!e.icon}]])}),{group:d}}}),re=Symbol("Forwarded refs");function oe(e,t){let n=e;for(;n;){const s=Reflect.getOwnPropertyDescriptor(n,t);if(s)return s;n=Object.getPrototypeOf(n)}}function Hn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];return e[re]=n,new Proxy(e,{get(i,a){if(Reflect.has(i,a))return Reflect.get(i,a);if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const r of n)if(r.value&&Reflect.has(r.value,a)){const o=Reflect.get(r.value,a);return typeof o=="function"?o.bind(r.value):o}}},has(i,a){if(Reflect.has(i,a))return!0;if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const r of n)if(r.value&&Reflect.has(r.value,a))return!0;return!1},set(i,a,r){if(Reflect.has(i,a))return Reflect.set(i,a,r);if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,a))return Reflect.set(o.value,a,r);return!1},getOwnPropertyDescriptor(i,a){const r=Reflect.getOwnPropertyDescriptor(i,a);if(r)return r;if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const o of n){if(!o.value)continue;const l=oe(o.value,a)??("_"in o.value?oe(o.value._?.setupState,a):void 0);if(l)return l}for(const o of n){const l=o.value&&o.value[re];if(!l)continue;const c=l.slice();for(;c.length;){const f=c.shift(),m=oe(f.value,a);if(m)return m;const u=f.value&&f.value[re];u&&c.push(...u)}}}}})}export{Vn as $,Xt as A,Ye as B,Dn as C,xe as D,on as E,nn as F,pe as G,qt as H,On as I,rn as J,Ce as K,An as L,zn as M,Mt as N,In as O,Nn as P,Rn as Q,Cn as R,Pn as S,Ot as T,xn as U,Fn as V,_n as W,kn as X,R as Y,En as Z,Bn as _,Ln as a,Wn as a0,Je as b,se as c,j as d,Ke as e,Hn as f,fn as g,vn as h,ye as i,be as j,ae as k,ne as l,wn as m,an as n,Wt as o,$n as p,Dt as q,qe as r,Tn as s,Ue as t,U as u,Xe as v,je as w,Gt as x,Yt as y,Ut as z};