codex 1.8.0a4__py3-none-any.whl → 1.8.0a5__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 (408) hide show
  1. codex/librarian/watchdog/emitter.py +2 -4
  2. codex/librarian/watchdog/observers.py +7 -5
  3. codex/static_root/assets/{VCheckbox--x5j8A4a.47af0eec9cc5.js → VCheckbox-DHvC7hbe.ae1c7324ade6.js} +1 -1
  4. codex/static_root/assets/VCheckbox-DHvC7hbe.ae1c7324ade6.js.br +0 -0
  5. codex/static_root/assets/VCheckbox-DHvC7hbe.ae1c7324ade6.js.gz +0 -0
  6. codex/static_root/assets/{VCheckbox--x5j8A4a.js → VCheckbox-DHvC7hbe.js} +1 -1
  7. codex/static_root/assets/VCheckbox-DHvC7hbe.js.br +0 -0
  8. codex/static_root/assets/VCheckbox-DHvC7hbe.js.gz +0 -0
  9. codex/static_root/assets/{VCheckboxBtn-C44aiFUU.3d08a2da4b68.js → VCheckboxBtn-XxL4O9xH.c4b67c18e0e1.js} +1 -1
  10. codex/static_root/assets/VCheckboxBtn-XxL4O9xH.c4b67c18e0e1.js.br +0 -0
  11. codex/static_root/assets/VCheckboxBtn-XxL4O9xH.c4b67c18e0e1.js.gz +0 -0
  12. codex/static_root/assets/{VCheckboxBtn-C44aiFUU.js → VCheckboxBtn-XxL4O9xH.js} +1 -1
  13. codex/static_root/assets/VCheckboxBtn-XxL4O9xH.js.br +0 -0
  14. codex/static_root/assets/VCheckboxBtn-XxL4O9xH.js.gz +0 -0
  15. codex/static_root/assets/{VCombobox-DuJ5WhJs.d4d57278cd15.js → VCombobox-BoW8Kh-e.61327b5e10bb.js} +1 -1
  16. codex/static_root/assets/VCombobox-BoW8Kh-e.61327b5e10bb.js.br +0 -0
  17. codex/static_root/assets/VCombobox-BoW8Kh-e.61327b5e10bb.js.gz +0 -0
  18. codex/static_root/assets/{VCombobox-DuJ5WhJs.js → VCombobox-BoW8Kh-e.js} +1 -1
  19. codex/static_root/assets/VCombobox-BoW8Kh-e.js.br +0 -0
  20. codex/static_root/assets/VCombobox-BoW8Kh-e.js.gz +0 -0
  21. codex/static_root/assets/{VDialog-BxuI97hb.250bc105e373.js → VDialog-CV7DVOv7.e2c75b479fa7.js} +1 -1
  22. codex/static_root/assets/VDialog-CV7DVOv7.e2c75b479fa7.js.br +0 -0
  23. codex/static_root/assets/VDialog-CV7DVOv7.e2c75b479fa7.js.gz +0 -0
  24. codex/static_root/assets/{VDialog-BxuI97hb.js → VDialog-CV7DVOv7.js} +1 -1
  25. codex/static_root/assets/VDialog-CV7DVOv7.js.br +0 -0
  26. codex/static_root/assets/VDialog-CV7DVOv7.js.gz +0 -0
  27. codex/static_root/assets/{VDivider-DSzkVD8n.9346c2b22bde.js → VDivider-CxU3qElH.7d7459402b56.js} +1 -1
  28. codex/static_root/assets/VDivider-CxU3qElH.7d7459402b56.js.br +0 -0
  29. codex/static_root/assets/VDivider-CxU3qElH.7d7459402b56.js.gz +0 -0
  30. codex/static_root/assets/{VDivider-DSzkVD8n.js → VDivider-CxU3qElH.js} +1 -1
  31. codex/static_root/assets/VDivider-CxU3qElH.js.br +0 -0
  32. codex/static_root/assets/VDivider-CxU3qElH.js.gz +0 -0
  33. codex/static_root/assets/{VExpansionPanels-7DSA7BWQ.7fc1339ad9d6.js → VExpansionPanels-CgFdhG6Q.f2796b0282af.js} +1 -1
  34. codex/static_root/assets/VExpansionPanels-CgFdhG6Q.f2796b0282af.js.br +0 -0
  35. codex/static_root/assets/VExpansionPanels-CgFdhG6Q.f2796b0282af.js.gz +0 -0
  36. codex/static_root/assets/{VExpansionPanels-7DSA7BWQ.js → VExpansionPanels-CgFdhG6Q.js} +1 -1
  37. codex/static_root/assets/VExpansionPanels-CgFdhG6Q.js.br +0 -0
  38. codex/static_root/assets/VExpansionPanels-CgFdhG6Q.js.gz +0 -0
  39. codex/static_root/assets/{VForm-BZtlScrY.bf87851b598f.js → VForm-B1WsME-Z.0b9ccc230eb2.js} +1 -1
  40. codex/static_root/assets/VForm-B1WsME-Z.0b9ccc230eb2.js.br +0 -0
  41. codex/static_root/assets/VForm-B1WsME-Z.0b9ccc230eb2.js.gz +0 -0
  42. codex/static_root/assets/{VForm-BZtlScrY.js → VForm-B1WsME-Z.js} +1 -1
  43. codex/static_root/assets/VForm-B1WsME-Z.js.br +0 -0
  44. codex/static_root/assets/VForm-B1WsME-Z.js.gz +0 -0
  45. codex/static_root/assets/{VRadioGroup-CRzhTpe9.1fc9e0e7a980.js → VRadioGroup-DCUx7y6C.2861fec6e6a0.js} +1 -1
  46. codex/static_root/assets/VRadioGroup-DCUx7y6C.2861fec6e6a0.js.br +0 -0
  47. codex/static_root/assets/VRadioGroup-DCUx7y6C.2861fec6e6a0.js.gz +0 -0
  48. codex/static_root/assets/{VRadioGroup-CRzhTpe9.js → VRadioGroup-DCUx7y6C.js} +1 -1
  49. codex/static_root/assets/VRadioGroup-DCUx7y6C.js.br +0 -0
  50. codex/static_root/assets/VRadioGroup-DCUx7y6C.js.gz +0 -0
  51. codex/static_root/assets/{VSelect-_Cduank3.65530f781519.js → VSelect-YxNTFJrP.116693188362.js} +1 -1
  52. codex/static_root/assets/VSelect-YxNTFJrP.116693188362.js.br +0 -0
  53. codex/static_root/assets/VSelect-YxNTFJrP.116693188362.js.gz +0 -0
  54. codex/static_root/assets/{VSelect-_Cduank3.js → VSelect-YxNTFJrP.js} +1 -1
  55. codex/static_root/assets/VSelect-YxNTFJrP.js.br +0 -0
  56. codex/static_root/assets/VSelect-YxNTFJrP.js.gz +0 -0
  57. codex/static_root/assets/{VSelectionControl-C0Md0bXa.js → VSelectionControl-BPA0ic7g.aada6ce833dd.js} +1 -1
  58. codex/static_root/assets/VSelectionControl-BPA0ic7g.aada6ce833dd.js.br +0 -0
  59. codex/static_root/assets/VSelectionControl-BPA0ic7g.aada6ce833dd.js.gz +0 -0
  60. codex/static_root/assets/{VSelectionControl-C0Md0bXa.0b96d6d65ba2.js → VSelectionControl-BPA0ic7g.js} +1 -1
  61. codex/static_root/assets/VSelectionControl-BPA0ic7g.js.br +0 -0
  62. codex/static_root/assets/VSelectionControl-BPA0ic7g.js.gz +0 -0
  63. codex/static_root/assets/{VTable-lswnBwdy.f27115046a94.js → VTable-D4BwHtFv.d29fe7c35b22.js} +1 -1
  64. codex/static_root/assets/VTable-D4BwHtFv.d29fe7c35b22.js.br +0 -0
  65. codex/static_root/assets/VTable-D4BwHtFv.d29fe7c35b22.js.gz +0 -0
  66. codex/static_root/assets/{VTable-lswnBwdy.js → VTable-D4BwHtFv.js} +1 -1
  67. codex/static_root/assets/VTable-D4BwHtFv.js.br +0 -0
  68. codex/static_root/assets/VTable-D4BwHtFv.js.gz +0 -0
  69. codex/static_root/assets/{VWindowItem-hsPEpCj_.4bf66f9ba4b1.js → VWindowItem-C3z65uZs.591bc6af76fb.js} +1 -1
  70. codex/static_root/assets/VWindowItem-C3z65uZs.591bc6af76fb.js.br +0 -0
  71. codex/static_root/assets/VWindowItem-C3z65uZs.591bc6af76fb.js.gz +0 -0
  72. codex/static_root/assets/{VWindowItem-hsPEpCj_.js → VWindowItem-C3z65uZs.js} +1 -1
  73. codex/static_root/assets/VWindowItem-C3z65uZs.js.br +0 -0
  74. codex/static_root/assets/VWindowItem-C3z65uZs.js.gz +0 -0
  75. codex/static_root/assets/{admin-CVe4N6vl.5e8ec2bd60d3.js → admin-CM0Xppii.03ac876567b2.js} +1 -1
  76. codex/static_root/assets/admin-CM0Xppii.03ac876567b2.js.br +0 -0
  77. codex/static_root/assets/admin-CM0Xppii.03ac876567b2.js.gz +0 -0
  78. codex/static_root/assets/{admin-CVe4N6vl.js → admin-CM0Xppii.js} +1 -1
  79. codex/static_root/assets/admin-CM0Xppii.js.br +0 -0
  80. codex/static_root/assets/admin-CM0Xppii.js.gz +0 -0
  81. codex/static_root/assets/{admin-6qrzqcJO.2b8351e2c2c6.js → admin-CsBVaS4j.a0e6a9def7ad.js} +1 -1
  82. codex/static_root/assets/admin-CsBVaS4j.a0e6a9def7ad.js.br +0 -0
  83. codex/static_root/assets/admin-CsBVaS4j.a0e6a9def7ad.js.gz +0 -0
  84. codex/static_root/assets/{admin-6qrzqcJO.js → admin-CsBVaS4j.js} +1 -1
  85. codex/static_root/assets/admin-CsBVaS4j.js.br +0 -0
  86. codex/static_root/assets/admin-CsBVaS4j.js.gz +0 -0
  87. codex/static_root/assets/{admin-menu-B6raGfpC.790d01e1ec98.js → admin-menu-BUZuv4uS.8585e0c0a6c8.js} +1 -1
  88. codex/static_root/assets/admin-menu-BUZuv4uS.8585e0c0a6c8.js.br +0 -0
  89. codex/static_root/assets/admin-menu-BUZuv4uS.8585e0c0a6c8.js.gz +0 -0
  90. codex/static_root/assets/{admin-menu-B6raGfpC.js → admin-menu-BUZuv4uS.js} +1 -1
  91. codex/static_root/assets/admin-menu-BUZuv4uS.js.br +0 -0
  92. codex/static_root/assets/admin-menu-BUZuv4uS.js.gz +0 -0
  93. codex/static_root/assets/{admin-settings-button-progress-D0jgpe2z.f9d1511fe4a7.js → admin-settings-button-progress-Dipo0PP7.19669d20dfd7.js} +1 -1
  94. codex/static_root/assets/admin-settings-button-progress-Dipo0PP7.19669d20dfd7.js.br +0 -0
  95. codex/static_root/assets/admin-settings-button-progress-Dipo0PP7.19669d20dfd7.js.gz +0 -0
  96. codex/static_root/assets/{admin-settings-button-progress-D0jgpe2z.js → admin-settings-button-progress-Dipo0PP7.js} +1 -1
  97. codex/static_root/assets/admin-settings-button-progress-Dipo0PP7.js.br +0 -0
  98. codex/static_root/assets/admin-settings-button-progress-Dipo0PP7.js.gz +0 -0
  99. codex/static_root/assets/{browser-DPWgTJvq.js → browser-DzCKEw2G.98046b4d4872.js} +1 -1
  100. codex/static_root/assets/browser-DzCKEw2G.98046b4d4872.js.br +0 -0
  101. codex/static_root/assets/browser-DzCKEw2G.98046b4d4872.js.gz +0 -0
  102. codex/static_root/assets/{browser-DPWgTJvq.aa42fd45fdc5.js → browser-DzCKEw2G.js} +1 -1
  103. codex/static_root/assets/browser-DzCKEw2G.js.br +0 -0
  104. codex/static_root/assets/browser-DzCKEw2G.js.gz +0 -0
  105. codex/static_root/assets/{change-password-dialog-f0bnLsTX.ad5174bfd6b9.js → change-password-dialog-D1OeFEUC.8138235c049a.js} +1 -1
  106. codex/static_root/assets/change-password-dialog-D1OeFEUC.8138235c049a.js.br +0 -0
  107. codex/static_root/assets/change-password-dialog-D1OeFEUC.8138235c049a.js.gz +0 -0
  108. codex/static_root/assets/{change-password-dialog-f0bnLsTX.js → change-password-dialog-D1OeFEUC.js} +1 -1
  109. codex/static_root/assets/change-password-dialog-D1OeFEUC.js.br +0 -0
  110. codex/static_root/assets/change-password-dialog-D1OeFEUC.js.gz +0 -0
  111. codex/static_root/assets/{confirm-dialog-D2RCUHSr.ccb67b05d69e.js → confirm-dialog-D5lYr159.67ad41df0568.js} +1 -1
  112. codex/static_root/assets/confirm-dialog-D5lYr159.67ad41df0568.js.br +0 -0
  113. codex/static_root/assets/confirm-dialog-D5lYr159.67ad41df0568.js.gz +0 -0
  114. codex/static_root/assets/{confirm-dialog-D2RCUHSr.js → confirm-dialog-D5lYr159.js} +1 -1
  115. codex/static_root/assets/confirm-dialog-D5lYr159.js.br +0 -0
  116. codex/static_root/assets/confirm-dialog-D5lYr159.js.gz +0 -0
  117. codex/static_root/assets/{datetime-column-C544paek.4b5c5cd44e86.js → datetime-column-BHJUFRH0.0c01c4f17587.js} +1 -1
  118. codex/static_root/assets/datetime-column-BHJUFRH0.0c01c4f17587.js.br +1 -0
  119. codex/static_root/assets/datetime-column-BHJUFRH0.0c01c4f17587.js.gz +0 -0
  120. codex/static_root/assets/{datetime-column-C544paek.js → datetime-column-BHJUFRH0.js} +1 -1
  121. codex/static_root/assets/datetime-column-BHJUFRH0.js.br +1 -0
  122. codex/static_root/assets/datetime-column-BHJUFRH0.js.gz +0 -0
  123. codex/static_root/assets/{filter-C2tmS7Gm.59b3cb2ccc7e.js → filter-pdNpb8Ph.c143537d084e.js} +1 -1
  124. codex/static_root/assets/filter-pdNpb8Ph.c143537d084e.js.br +0 -0
  125. codex/static_root/assets/filter-pdNpb8Ph.c143537d084e.js.gz +0 -0
  126. codex/static_root/assets/{filter-C2tmS7Gm.js → filter-pdNpb8Ph.js} +1 -1
  127. codex/static_root/assets/filter-pdNpb8Ph.js.br +0 -0
  128. codex/static_root/assets/filter-pdNpb8Ph.js.gz +0 -0
  129. codex/static_root/assets/{flag-tab-BVUqzGNH.307659fba7b5.js → flag-tab-BOoeWAvK.2084d7dcc301.js} +1 -1
  130. codex/static_root/assets/flag-tab-BOoeWAvK.2084d7dcc301.js.br +0 -0
  131. codex/static_root/assets/flag-tab-BOoeWAvK.2084d7dcc301.js.gz +0 -0
  132. codex/static_root/assets/{flag-tab-BVUqzGNH.js → flag-tab-BOoeWAvK.js} +1 -1
  133. codex/static_root/assets/flag-tab-BOoeWAvK.js.br +0 -0
  134. codex/static_root/assets/flag-tab-BOoeWAvK.js.gz +0 -0
  135. codex/static_root/assets/{forwardRefs-Byns6lbl.js → forwardRefs-B2I55_WJ.f0c1cbc4a0ab.js} +1 -1
  136. codex/static_root/assets/forwardRefs-B2I55_WJ.f0c1cbc4a0ab.js.br +0 -0
  137. codex/static_root/assets/forwardRefs-B2I55_WJ.f0c1cbc4a0ab.js.gz +0 -0
  138. codex/static_root/assets/{forwardRefs-Byns6lbl.018798a57db2.js → forwardRefs-B2I55_WJ.js} +1 -1
  139. codex/static_root/assets/forwardRefs-B2I55_WJ.js.br +0 -0
  140. codex/static_root/assets/forwardRefs-B2I55_WJ.js.gz +0 -0
  141. codex/static_root/assets/{group-tab-TNxZJJZ6.6d88969a9263.js → group-tab-w47I1rdn.7065986d5287.js} +1 -1
  142. codex/static_root/assets/group-tab-w47I1rdn.7065986d5287.js.br +0 -0
  143. codex/static_root/assets/group-tab-w47I1rdn.7065986d5287.js.gz +0 -0
  144. codex/static_root/assets/{group-tab-TNxZJJZ6.js → group-tab-w47I1rdn.js} +1 -1
  145. codex/static_root/assets/group-tab-w47I1rdn.js.br +0 -0
  146. codex/static_root/assets/group-tab-w47I1rdn.js.gz +0 -0
  147. codex/static_root/assets/{http-error-D3uGBdtN.39e149587f96.js → http-error-BKtD5wqd.1725e1eecfc2.js} +1 -1
  148. codex/static_root/assets/http-error-BKtD5wqd.1725e1eecfc2.js.br +0 -0
  149. codex/static_root/assets/http-error-BKtD5wqd.1725e1eecfc2.js.gz +0 -0
  150. codex/static_root/assets/{http-error-D3uGBdtN.js → http-error-BKtD5wqd.js} +1 -1
  151. codex/static_root/assets/http-error-BKtD5wqd.js.br +0 -0
  152. codex/static_root/assets/http-error-BKtD5wqd.js.gz +0 -0
  153. codex/static_root/assets/{index-J6F_OMTQ.2a8861f7acc1.js → index-B9Ib32Ec.1303654c1b5b.js} +1 -1
  154. codex/static_root/assets/index-B9Ib32Ec.1303654c1b5b.js.br +0 -0
  155. codex/static_root/assets/index-B9Ib32Ec.1303654c1b5b.js.gz +0 -0
  156. codex/static_root/assets/{index-J6F_OMTQ.js → index-B9Ib32Ec.js} +1 -1
  157. codex/static_root/assets/index-B9Ib32Ec.js.br +0 -0
  158. codex/static_root/assets/index-B9Ib32Ec.js.gz +0 -0
  159. codex/static_root/assets/{library-tab-DX9ZW9uM.js → library-tab-C4AlOeXD.9f996b458b04.js} +1 -1
  160. codex/static_root/assets/library-tab-C4AlOeXD.9f996b458b04.js.br +0 -0
  161. codex/static_root/assets/library-tab-C4AlOeXD.9f996b458b04.js.gz +0 -0
  162. codex/static_root/assets/{library-tab-DX9ZW9uM.8419900ed9b8.js → library-tab-C4AlOeXD.js} +1 -1
  163. codex/static_root/assets/library-tab-C4AlOeXD.js.br +0 -0
  164. codex/static_root/assets/library-tab-C4AlOeXD.js.gz +0 -0
  165. codex/static_root/assets/{main-CXE4elND.b45c7c290af2.js → main-X1Z4xIQI.5df58dac13fa.js} +3 -3
  166. codex/static_root/assets/main-X1Z4xIQI.5df58dac13fa.js.br +0 -0
  167. codex/static_root/assets/main-X1Z4xIQI.5df58dac13fa.js.gz +0 -0
  168. codex/static_root/assets/{main-CXE4elND.js → main-X1Z4xIQI.js} +3 -3
  169. codex/static_root/assets/main-X1Z4xIQI.js.br +0 -0
  170. codex/static_root/assets/main-X1Z4xIQI.js.gz +0 -0
  171. codex/static_root/assets/pager-full-pdf-CqLbumDX.d1f77c3c239d.js +1 -0
  172. codex/static_root/assets/pager-full-pdf-CqLbumDX.d1f77c3c239d.js.br +0 -0
  173. codex/static_root/assets/pager-full-pdf-CqLbumDX.d1f77c3c239d.js.gz +0 -0
  174. codex/static_root/assets/pager-full-pdf-CqLbumDX.js +1 -0
  175. codex/static_root/assets/pager-full-pdf-CqLbumDX.js.br +0 -0
  176. codex/static_root/assets/pager-full-pdf-CqLbumDX.js.gz +0 -0
  177. codex/static_root/assets/{pagination-toolbar-BqvFln9z.d38452f8ce48.js → pagination-toolbar-BadizPsz.20a820cc43d5.js} +1 -1
  178. codex/static_root/assets/pagination-toolbar-BadizPsz.20a820cc43d5.js.br +0 -0
  179. codex/static_root/assets/pagination-toolbar-BadizPsz.20a820cc43d5.js.gz +0 -0
  180. codex/static_root/assets/{pagination-toolbar-BqvFln9z.js → pagination-toolbar-BadizPsz.js} +1 -1
  181. codex/static_root/assets/pagination-toolbar-BadizPsz.js.br +0 -0
  182. codex/static_root/assets/pagination-toolbar-BadizPsz.js.gz +0 -0
  183. codex/static_root/assets/{pdf-doc-BeNzjayP.e6b65a74287b.js → pdf-doc-Cc7LjuVH.50a1134c0c22.js} +1 -1
  184. codex/static_root/assets/pdf-doc-Cc7LjuVH.50a1134c0c22.js.br +0 -0
  185. codex/static_root/assets/pdf-doc-Cc7LjuVH.50a1134c0c22.js.gz +0 -0
  186. codex/static_root/assets/{pdf-doc-BeNzjayP.js → pdf-doc-Cc7LjuVH.js} +1 -1
  187. codex/static_root/assets/pdf-doc-Cc7LjuVH.js.br +0 -0
  188. codex/static_root/assets/pdf-doc-Cc7LjuVH.js.gz +0 -0
  189. codex/static_root/assets/{reader-DG9FVXqI.js → reader-C37T4GJm.26c0f984ddf3.js} +2 -2
  190. codex/static_root/assets/reader-C37T4GJm.26c0f984ddf3.js.br +0 -0
  191. codex/static_root/assets/reader-C37T4GJm.26c0f984ddf3.js.gz +0 -0
  192. codex/static_root/assets/{reader-DG9FVXqI.366a61e33d8b.js → reader-C37T4GJm.js} +2 -2
  193. codex/static_root/assets/reader-C37T4GJm.js.br +0 -0
  194. codex/static_root/assets/reader-C37T4GJm.js.gz +0 -0
  195. codex/static_root/assets/{relation-chips-BrO8HnXq.fa4a7390c640.js → relation-chips-rkqmCrEw.1a6f234a0899.js} +1 -1
  196. codex/static_root/assets/relation-chips-rkqmCrEw.1a6f234a0899.js.br +0 -0
  197. codex/static_root/assets/relation-chips-rkqmCrEw.1a6f234a0899.js.gz +0 -0
  198. codex/static_root/assets/{relation-chips-BrO8HnXq.js → relation-chips-rkqmCrEw.js} +1 -1
  199. codex/static_root/assets/relation-chips-rkqmCrEw.js.br +0 -0
  200. codex/static_root/assets/relation-chips-rkqmCrEw.js.gz +0 -0
  201. codex/static_root/assets/{settings-drawer-a2xwlRQb.41475006862d.js → settings-drawer-BS779eYY.963020313321.js} +2 -2
  202. codex/static_root/assets/settings-drawer-BS779eYY.963020313321.js.br +0 -0
  203. codex/static_root/assets/settings-drawer-BS779eYY.963020313321.js.gz +0 -0
  204. codex/static_root/assets/{settings-drawer-a2xwlRQb.js → settings-drawer-BS779eYY.js} +2 -2
  205. codex/static_root/assets/settings-drawer-BS779eYY.js.br +0 -0
  206. codex/static_root/assets/settings-drawer-BS779eYY.js.gz +0 -0
  207. codex/static_root/assets/{ssrBoot-BUdwZUw6.964a0734eff2.js → ssrBoot-C5ZJUkKV.1251cc98694f.js} +1 -1
  208. codex/static_root/assets/ssrBoot-C5ZJUkKV.1251cc98694f.js.br +0 -0
  209. codex/static_root/assets/ssrBoot-C5ZJUkKV.1251cc98694f.js.gz +0 -0
  210. codex/static_root/assets/{ssrBoot-BUdwZUw6.js → ssrBoot-C5ZJUkKV.js} +1 -1
  211. codex/static_root/assets/ssrBoot-C5ZJUkKV.js.br +0 -0
  212. codex/static_root/assets/ssrBoot-C5ZJUkKV.js.gz +0 -0
  213. codex/static_root/assets/{stats-tab-D_Sf0W-w.7dd721aef1d7.js → stats-tab-z3FI1pNN.6b939512abda.js} +1 -1
  214. codex/static_root/assets/stats-tab-z3FI1pNN.6b939512abda.js.br +0 -0
  215. codex/static_root/assets/stats-tab-z3FI1pNN.6b939512abda.js.gz +0 -0
  216. codex/static_root/assets/{stats-tab-D_Sf0W-w.js → stats-tab-z3FI1pNN.js} +1 -1
  217. codex/static_root/assets/stats-tab-z3FI1pNN.js.br +0 -0
  218. codex/static_root/assets/stats-tab-z3FI1pNN.js.gz +0 -0
  219. codex/static_root/assets/{task-tab-CuZPm55f.827f36543dcc.js → task-tab-BE1wVkJL.2d74ce37b1c5.js} +1 -1
  220. codex/static_root/assets/task-tab-BE1wVkJL.2d74ce37b1c5.js.br +0 -0
  221. codex/static_root/assets/task-tab-BE1wVkJL.2d74ce37b1c5.js.gz +0 -0
  222. codex/static_root/assets/{task-tab-CuZPm55f.js → task-tab-BE1wVkJL.js} +1 -1
  223. codex/static_root/assets/task-tab-BE1wVkJL.js.br +0 -0
  224. codex/static_root/assets/task-tab-BE1wVkJL.js.gz +0 -0
  225. codex/static_root/assets/{unauthorized-Bx_I2aj6.4846dbaf53c3.js → unauthorized-CfuSCHk2.ee21e2ffcf45.js} +1 -1
  226. codex/static_root/assets/unauthorized-CfuSCHk2.ee21e2ffcf45.js.br +0 -0
  227. codex/static_root/assets/unauthorized-CfuSCHk2.ee21e2ffcf45.js.gz +0 -0
  228. codex/static_root/assets/{unauthorized-Bx_I2aj6.js → unauthorized-CfuSCHk2.js} +1 -1
  229. codex/static_root/assets/unauthorized-CfuSCHk2.js.br +0 -0
  230. codex/static_root/assets/unauthorized-CfuSCHk2.js.gz +0 -0
  231. codex/static_root/assets/{user-tab-6FMrYQKf.ac405e881ade.js → user-tab-DlFyXNuJ.3b545349e672.js} +1 -1
  232. codex/static_root/assets/user-tab-DlFyXNuJ.3b545349e672.js.br +0 -0
  233. codex/static_root/assets/user-tab-DlFyXNuJ.3b545349e672.js.gz +0 -0
  234. codex/static_root/assets/{user-tab-6FMrYQKf.js → user-tab-DlFyXNuJ.js} +1 -1
  235. codex/static_root/assets/user-tab-DlFyXNuJ.js.br +0 -0
  236. codex/static_root/assets/user-tab-DlFyXNuJ.js.gz +0 -0
  237. codex/static_root/{manifest.dfd8ee684697.json → manifest.ddb32d0e47ed.json} +309 -309
  238. codex/static_root/manifest.ddb32d0e47ed.json.br +0 -0
  239. codex/static_root/manifest.ddb32d0e47ed.json.gz +0 -0
  240. codex/static_root/manifest.json +309 -309
  241. codex/static_root/manifest.json.br +0 -0
  242. codex/static_root/manifest.json.gz +0 -0
  243. codex/static_root/staticfiles.json +1 -1
  244. {codex-1.8.0a4.dist-info → codex-1.8.0a5.dist-info}/METADATA +1 -1
  245. {codex-1.8.0a4.dist-info → codex-1.8.0a5.dist-info}/RECORD +248 -248
  246. codex/static_root/assets/VCheckbox--x5j8A4a.47af0eec9cc5.js.br +0 -0
  247. codex/static_root/assets/VCheckbox--x5j8A4a.47af0eec9cc5.js.gz +0 -0
  248. codex/static_root/assets/VCheckbox--x5j8A4a.js.br +0 -0
  249. codex/static_root/assets/VCheckbox--x5j8A4a.js.gz +0 -0
  250. codex/static_root/assets/VCheckboxBtn-C44aiFUU.3d08a2da4b68.js.br +0 -0
  251. codex/static_root/assets/VCheckboxBtn-C44aiFUU.3d08a2da4b68.js.gz +0 -0
  252. codex/static_root/assets/VCheckboxBtn-C44aiFUU.js.br +0 -0
  253. codex/static_root/assets/VCheckboxBtn-C44aiFUU.js.gz +0 -0
  254. codex/static_root/assets/VCombobox-DuJ5WhJs.d4d57278cd15.js.br +0 -0
  255. codex/static_root/assets/VCombobox-DuJ5WhJs.d4d57278cd15.js.gz +0 -0
  256. codex/static_root/assets/VCombobox-DuJ5WhJs.js.br +0 -0
  257. codex/static_root/assets/VCombobox-DuJ5WhJs.js.gz +0 -0
  258. codex/static_root/assets/VDialog-BxuI97hb.250bc105e373.js.br +0 -0
  259. codex/static_root/assets/VDialog-BxuI97hb.250bc105e373.js.gz +0 -0
  260. codex/static_root/assets/VDialog-BxuI97hb.js.br +0 -0
  261. codex/static_root/assets/VDialog-BxuI97hb.js.gz +0 -0
  262. codex/static_root/assets/VDivider-DSzkVD8n.9346c2b22bde.js.br +0 -0
  263. codex/static_root/assets/VDivider-DSzkVD8n.9346c2b22bde.js.gz +0 -0
  264. codex/static_root/assets/VDivider-DSzkVD8n.js.br +0 -0
  265. codex/static_root/assets/VDivider-DSzkVD8n.js.gz +0 -0
  266. codex/static_root/assets/VExpansionPanels-7DSA7BWQ.7fc1339ad9d6.js.br +0 -0
  267. codex/static_root/assets/VExpansionPanels-7DSA7BWQ.7fc1339ad9d6.js.gz +0 -0
  268. codex/static_root/assets/VExpansionPanels-7DSA7BWQ.js.br +0 -0
  269. codex/static_root/assets/VExpansionPanels-7DSA7BWQ.js.gz +0 -0
  270. codex/static_root/assets/VForm-BZtlScrY.bf87851b598f.js.br +0 -0
  271. codex/static_root/assets/VForm-BZtlScrY.bf87851b598f.js.gz +0 -0
  272. codex/static_root/assets/VForm-BZtlScrY.js.br +0 -0
  273. codex/static_root/assets/VForm-BZtlScrY.js.gz +0 -0
  274. codex/static_root/assets/VRadioGroup-CRzhTpe9.1fc9e0e7a980.js.br +0 -0
  275. codex/static_root/assets/VRadioGroup-CRzhTpe9.1fc9e0e7a980.js.gz +0 -0
  276. codex/static_root/assets/VRadioGroup-CRzhTpe9.js.br +0 -0
  277. codex/static_root/assets/VRadioGroup-CRzhTpe9.js.gz +0 -0
  278. codex/static_root/assets/VSelect-_Cduank3.65530f781519.js.br +0 -0
  279. codex/static_root/assets/VSelect-_Cduank3.65530f781519.js.gz +0 -0
  280. codex/static_root/assets/VSelect-_Cduank3.js.br +0 -0
  281. codex/static_root/assets/VSelect-_Cduank3.js.gz +0 -0
  282. codex/static_root/assets/VSelectionControl-C0Md0bXa.0b96d6d65ba2.js.br +0 -0
  283. codex/static_root/assets/VSelectionControl-C0Md0bXa.0b96d6d65ba2.js.gz +0 -0
  284. codex/static_root/assets/VSelectionControl-C0Md0bXa.js.br +0 -0
  285. codex/static_root/assets/VSelectionControl-C0Md0bXa.js.gz +0 -0
  286. codex/static_root/assets/VTable-lswnBwdy.f27115046a94.js.br +0 -0
  287. codex/static_root/assets/VTable-lswnBwdy.f27115046a94.js.gz +0 -0
  288. codex/static_root/assets/VTable-lswnBwdy.js.br +0 -0
  289. codex/static_root/assets/VTable-lswnBwdy.js.gz +0 -0
  290. codex/static_root/assets/VWindowItem-hsPEpCj_.4bf66f9ba4b1.js.br +0 -0
  291. codex/static_root/assets/VWindowItem-hsPEpCj_.4bf66f9ba4b1.js.gz +0 -0
  292. codex/static_root/assets/VWindowItem-hsPEpCj_.js.br +0 -0
  293. codex/static_root/assets/VWindowItem-hsPEpCj_.js.gz +0 -0
  294. codex/static_root/assets/admin-6qrzqcJO.2b8351e2c2c6.js.br +0 -0
  295. codex/static_root/assets/admin-6qrzqcJO.2b8351e2c2c6.js.gz +0 -0
  296. codex/static_root/assets/admin-6qrzqcJO.js.br +0 -0
  297. codex/static_root/assets/admin-6qrzqcJO.js.gz +0 -0
  298. codex/static_root/assets/admin-CVe4N6vl.5e8ec2bd60d3.js.br +0 -0
  299. codex/static_root/assets/admin-CVe4N6vl.5e8ec2bd60d3.js.gz +0 -0
  300. codex/static_root/assets/admin-CVe4N6vl.js.br +0 -0
  301. codex/static_root/assets/admin-CVe4N6vl.js.gz +0 -0
  302. codex/static_root/assets/admin-menu-B6raGfpC.790d01e1ec98.js.br +0 -0
  303. codex/static_root/assets/admin-menu-B6raGfpC.790d01e1ec98.js.gz +0 -0
  304. codex/static_root/assets/admin-menu-B6raGfpC.js.br +0 -0
  305. codex/static_root/assets/admin-menu-B6raGfpC.js.gz +0 -0
  306. codex/static_root/assets/admin-settings-button-progress-D0jgpe2z.f9d1511fe4a7.js.br +0 -0
  307. codex/static_root/assets/admin-settings-button-progress-D0jgpe2z.f9d1511fe4a7.js.gz +0 -0
  308. codex/static_root/assets/admin-settings-button-progress-D0jgpe2z.js.br +0 -0
  309. codex/static_root/assets/admin-settings-button-progress-D0jgpe2z.js.gz +0 -0
  310. codex/static_root/assets/browser-DPWgTJvq.aa42fd45fdc5.js.br +0 -0
  311. codex/static_root/assets/browser-DPWgTJvq.aa42fd45fdc5.js.gz +0 -0
  312. codex/static_root/assets/browser-DPWgTJvq.js.br +0 -0
  313. codex/static_root/assets/browser-DPWgTJvq.js.gz +0 -0
  314. codex/static_root/assets/change-password-dialog-f0bnLsTX.ad5174bfd6b9.js.br +0 -0
  315. codex/static_root/assets/change-password-dialog-f0bnLsTX.ad5174bfd6b9.js.gz +0 -0
  316. codex/static_root/assets/change-password-dialog-f0bnLsTX.js.br +0 -0
  317. codex/static_root/assets/change-password-dialog-f0bnLsTX.js.gz +0 -0
  318. codex/static_root/assets/confirm-dialog-D2RCUHSr.ccb67b05d69e.js.br +0 -0
  319. codex/static_root/assets/confirm-dialog-D2RCUHSr.ccb67b05d69e.js.gz +0 -0
  320. codex/static_root/assets/confirm-dialog-D2RCUHSr.js.br +0 -0
  321. codex/static_root/assets/confirm-dialog-D2RCUHSr.js.gz +0 -0
  322. codex/static_root/assets/datetime-column-C544paek.4b5c5cd44e86.js.br +0 -0
  323. codex/static_root/assets/datetime-column-C544paek.4b5c5cd44e86.js.gz +0 -0
  324. codex/static_root/assets/datetime-column-C544paek.js.br +0 -0
  325. codex/static_root/assets/datetime-column-C544paek.js.gz +0 -0
  326. codex/static_root/assets/filter-C2tmS7Gm.59b3cb2ccc7e.js.br +0 -0
  327. codex/static_root/assets/filter-C2tmS7Gm.59b3cb2ccc7e.js.gz +0 -0
  328. codex/static_root/assets/filter-C2tmS7Gm.js.br +0 -0
  329. codex/static_root/assets/filter-C2tmS7Gm.js.gz +0 -0
  330. codex/static_root/assets/flag-tab-BVUqzGNH.307659fba7b5.js.br +0 -0
  331. codex/static_root/assets/flag-tab-BVUqzGNH.307659fba7b5.js.gz +0 -0
  332. codex/static_root/assets/flag-tab-BVUqzGNH.js.br +0 -0
  333. codex/static_root/assets/flag-tab-BVUqzGNH.js.gz +0 -0
  334. codex/static_root/assets/forwardRefs-Byns6lbl.018798a57db2.js.br +0 -0
  335. codex/static_root/assets/forwardRefs-Byns6lbl.018798a57db2.js.gz +0 -0
  336. codex/static_root/assets/forwardRefs-Byns6lbl.js.br +0 -0
  337. codex/static_root/assets/forwardRefs-Byns6lbl.js.gz +0 -0
  338. codex/static_root/assets/group-tab-TNxZJJZ6.6d88969a9263.js.br +0 -0
  339. codex/static_root/assets/group-tab-TNxZJJZ6.6d88969a9263.js.gz +0 -0
  340. codex/static_root/assets/group-tab-TNxZJJZ6.js.br +0 -0
  341. codex/static_root/assets/group-tab-TNxZJJZ6.js.gz +0 -0
  342. codex/static_root/assets/http-error-D3uGBdtN.39e149587f96.js.br +0 -0
  343. codex/static_root/assets/http-error-D3uGBdtN.39e149587f96.js.gz +0 -0
  344. codex/static_root/assets/http-error-D3uGBdtN.js.br +0 -0
  345. codex/static_root/assets/http-error-D3uGBdtN.js.gz +0 -0
  346. codex/static_root/assets/index-J6F_OMTQ.2a8861f7acc1.js.br +0 -0
  347. codex/static_root/assets/index-J6F_OMTQ.2a8861f7acc1.js.gz +0 -0
  348. codex/static_root/assets/index-J6F_OMTQ.js.br +0 -0
  349. codex/static_root/assets/index-J6F_OMTQ.js.gz +0 -0
  350. codex/static_root/assets/library-tab-DX9ZW9uM.8419900ed9b8.js.br +0 -0
  351. codex/static_root/assets/library-tab-DX9ZW9uM.8419900ed9b8.js.gz +0 -0
  352. codex/static_root/assets/library-tab-DX9ZW9uM.js.br +0 -0
  353. codex/static_root/assets/library-tab-DX9ZW9uM.js.gz +0 -0
  354. codex/static_root/assets/main-CXE4elND.b45c7c290af2.js.br +0 -0
  355. codex/static_root/assets/main-CXE4elND.b45c7c290af2.js.gz +0 -0
  356. codex/static_root/assets/main-CXE4elND.js.br +0 -0
  357. codex/static_root/assets/main-CXE4elND.js.gz +0 -0
  358. codex/static_root/assets/pager-full-pdf-C8QcluEe.99a4c4dddf53.js +0 -1
  359. codex/static_root/assets/pager-full-pdf-C8QcluEe.99a4c4dddf53.js.br +0 -0
  360. codex/static_root/assets/pager-full-pdf-C8QcluEe.99a4c4dddf53.js.gz +0 -0
  361. codex/static_root/assets/pager-full-pdf-C8QcluEe.js +0 -1
  362. codex/static_root/assets/pager-full-pdf-C8QcluEe.js.br +0 -0
  363. codex/static_root/assets/pager-full-pdf-C8QcluEe.js.gz +0 -0
  364. codex/static_root/assets/pagination-toolbar-BqvFln9z.d38452f8ce48.js.br +0 -0
  365. codex/static_root/assets/pagination-toolbar-BqvFln9z.d38452f8ce48.js.gz +0 -0
  366. codex/static_root/assets/pagination-toolbar-BqvFln9z.js.br +0 -0
  367. codex/static_root/assets/pagination-toolbar-BqvFln9z.js.gz +0 -0
  368. codex/static_root/assets/pdf-doc-BeNzjayP.e6b65a74287b.js.br +0 -0
  369. codex/static_root/assets/pdf-doc-BeNzjayP.e6b65a74287b.js.gz +0 -0
  370. codex/static_root/assets/pdf-doc-BeNzjayP.js.br +0 -0
  371. codex/static_root/assets/pdf-doc-BeNzjayP.js.gz +0 -0
  372. codex/static_root/assets/reader-DG9FVXqI.366a61e33d8b.js.br +0 -0
  373. codex/static_root/assets/reader-DG9FVXqI.366a61e33d8b.js.gz +0 -0
  374. codex/static_root/assets/reader-DG9FVXqI.js.br +0 -0
  375. codex/static_root/assets/reader-DG9FVXqI.js.gz +0 -0
  376. codex/static_root/assets/relation-chips-BrO8HnXq.fa4a7390c640.js.br +0 -0
  377. codex/static_root/assets/relation-chips-BrO8HnXq.fa4a7390c640.js.gz +0 -0
  378. codex/static_root/assets/relation-chips-BrO8HnXq.js.br +0 -0
  379. codex/static_root/assets/relation-chips-BrO8HnXq.js.gz +0 -0
  380. codex/static_root/assets/settings-drawer-a2xwlRQb.41475006862d.js.br +0 -0
  381. codex/static_root/assets/settings-drawer-a2xwlRQb.41475006862d.js.gz +0 -0
  382. codex/static_root/assets/settings-drawer-a2xwlRQb.js.br +0 -0
  383. codex/static_root/assets/settings-drawer-a2xwlRQb.js.gz +0 -0
  384. codex/static_root/assets/ssrBoot-BUdwZUw6.964a0734eff2.js.br +0 -0
  385. codex/static_root/assets/ssrBoot-BUdwZUw6.964a0734eff2.js.gz +0 -0
  386. codex/static_root/assets/ssrBoot-BUdwZUw6.js.br +0 -0
  387. codex/static_root/assets/ssrBoot-BUdwZUw6.js.gz +0 -0
  388. codex/static_root/assets/stats-tab-D_Sf0W-w.7dd721aef1d7.js.br +0 -0
  389. codex/static_root/assets/stats-tab-D_Sf0W-w.7dd721aef1d7.js.gz +0 -0
  390. codex/static_root/assets/stats-tab-D_Sf0W-w.js.br +0 -0
  391. codex/static_root/assets/stats-tab-D_Sf0W-w.js.gz +0 -0
  392. codex/static_root/assets/task-tab-CuZPm55f.827f36543dcc.js.br +0 -0
  393. codex/static_root/assets/task-tab-CuZPm55f.827f36543dcc.js.gz +0 -0
  394. codex/static_root/assets/task-tab-CuZPm55f.js.br +0 -0
  395. codex/static_root/assets/task-tab-CuZPm55f.js.gz +0 -0
  396. codex/static_root/assets/unauthorized-Bx_I2aj6.4846dbaf53c3.js.br +0 -0
  397. codex/static_root/assets/unauthorized-Bx_I2aj6.4846dbaf53c3.js.gz +0 -0
  398. codex/static_root/assets/unauthorized-Bx_I2aj6.js.br +0 -0
  399. codex/static_root/assets/unauthorized-Bx_I2aj6.js.gz +0 -0
  400. codex/static_root/assets/user-tab-6FMrYQKf.ac405e881ade.js.br +0 -0
  401. codex/static_root/assets/user-tab-6FMrYQKf.ac405e881ade.js.gz +0 -0
  402. codex/static_root/assets/user-tab-6FMrYQKf.js.br +0 -0
  403. codex/static_root/assets/user-tab-6FMrYQKf.js.gz +0 -0
  404. codex/static_root/manifest.dfd8ee684697.json.br +0 -0
  405. codex/static_root/manifest.dfd8ee684697.json.gz +0 -0
  406. {codex-1.8.0a4.dist-info → codex-1.8.0a5.dist-info}/WHEEL +0 -0
  407. {codex-1.8.0a4.dist-info → codex-1.8.0a5.dist-info}/entry_points.txt +0 -0
  408. {codex-1.8.0a4.dist-info → codex-1.8.0a5.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-CXE4elND.js";import{V as P}from"./forwardRefs-Byns6lbl.js";import{C as A,V as O}from"./VDialog-BxuI97hb.js";import{S as T,V as U}from"./VForm-BZtlScrY.js";import{useAdminStore as I}from"./admin-6qrzqcJO.js";import{c as u}from"./VSelectionControl-C0Md0bXa.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-X1Z4xIQI.js";import{V as P}from"./forwardRefs-B2I55_WJ.js";import{C as A,V as O}from"./VDialog-CV7DVOv7.js";import{S as T,V as U}from"./VForm-B1WsME-Z.js";import{useAdminStore as I}from"./admin-CsBVaS4j.js";import{c as u}from"./VSelectionControl-BPA0ic7g.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-BxuI97hb.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-CXE4elND.js";import{V as y,k as T}from"./forwardRefs-Byns6lbl.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-CV7DVOv7.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-X1Z4xIQI.js";import{V as y,k as T}from"./forwardRefs-B2I55_WJ.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-BxuI97hb.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-CXE4elND.js";import{V as y,k as T}from"./forwardRefs-Byns6lbl.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-CV7DVOv7.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-X1Z4xIQI.js";import{V as y,k as T}from"./forwardRefs-B2I55_WJ.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-CXE4elND.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-X1Z4xIQI.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};
@@ -0,0 +1 @@
1
+ @�ʜ��y����X.0d�DAES�j6�,h1ݳkM�=�jT��l�1F0}b�N����Ht��s���DZ�J�W���SG*�MKUh;�0|0��a�ז;EbA�?�������Å���>������G${Z�C�K!t��j_�P�R��0e[PrDY �m�ͺ�֖�$��.V�8�d}D!�F�#%�`t��*,�\x��wv�pD@2�í)�B�;�bJ��=�����S�Y(_&H�Ee�Μa�f3cGE����Q��q����Z�ۜd�\.D;&W�8�g |���%٨i�W�a(��g(����uc�q�4��`�S(�#% Z�c5���d��&jĹC���W�zL ��<9�%$5�n0�r���6�6�>�����:������u�"$�����+᪢��q:`q�غ
@@ -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-CXE4elND.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-X1Z4xIQI.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};
@@ -0,0 +1 @@
1
+ @�ʜ��y����X.0d�DAES�j6�,h1ݳkM�=�jT��l�1F0}b�N����Ht��s���DZ�J�W���SG*�MKUh;�0|0��a�ז;EbA�?�������Å���>������G${Z�C�K!t��j_�P�R��0e[PrDY �m�ͺ�֖�$��.V�8�d}D!�F�#%�`t��*,�\x��wv�pD@2�í)�B�;�bJ��=�����S�Y(_&H�Ee�Μa�f3cGE����Q��q����Z�ۜd�\.D;&W�8�g |���%٨i�W�a(��g(����uc�q�4��`�S(�#% Z�c5���d��&jĹC���W�zL ��<9�%$5�n0�r���6�6�>�����:������u�"$�����+᪢��q:`q�غ
@@ -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-CXE4elND.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-X1Z4xIQI.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-CXE4elND.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-X1Z4xIQI.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-CXE4elND.js";import{useAdminStore as f}from"./admin-6qrzqcJO.js";import{V as x}from"./VTable-lswnBwdy.js";import{c as C}from"./VSelectionControl-C0Md0bXa.js";import{V as S}from"./forwardRefs-Byns6lbl.js";import{V}from"./VCheckbox--x5j8A4a.js";import"./VCheckboxBtn-C44aiFUU.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-X1Z4xIQI.js";import{useAdminStore as f}from"./admin-CsBVaS4j.js";import{V as x}from"./VTable-D4BwHtFv.js";import{c as C}from"./VSelectionControl-BPA0ic7g.js";import{V as S}from"./forwardRefs-B2I55_WJ.js";import{V}from"./VCheckbox-DHvC7hbe.js";import"./VCheckboxBtn-XxL4O9xH.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-CXE4elND.js";import{useAdminStore as f}from"./admin-6qrzqcJO.js";import{V as x}from"./VTable-lswnBwdy.js";import{c as C}from"./VSelectionControl-C0Md0bXa.js";import{V as S}from"./forwardRefs-Byns6lbl.js";import{V}from"./VCheckbox--x5j8A4a.js";import"./VCheckboxBtn-C44aiFUU.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-X1Z4xIQI.js";import{useAdminStore as f}from"./admin-CsBVaS4j.js";import{V as x}from"./VTable-D4BwHtFv.js";import{c as C}from"./VSelectionControl-BPA0ic7g.js";import{V as S}from"./forwardRefs-B2I55_WJ.js";import{V}from"./VCheckbox-DHvC7hbe.js";import"./VCheckboxBtn-XxL4O9xH.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{cw as j,p as y,g as N,bX as vt,f as Ie,c as b,h as C,cq as Le,cn as W,cx as we,cy as mt,cz as gt,cA as ht,cd as $,cB as le,j as ue,c9 as bt,bq as Te,m as X,cC as yt,ca as pt,cl as Re,t as g,b as S,d as k,F as Ct,aA as M,J as G,az as K,u as D,a as _,n as L,bP as J,bt as wt,aV as Ne,i as St,bl as $e,aU as ge,cu as ce,e as ze,bk as xt,cD as _t,bE as Oe,bD as kt,cE as Bt,bZ as Pt,aT as Ae,cF as Vt,cG as Et,cH as It,cI as Lt,K as de,r as De,bn as We,be as Tt,b7 as fe,bi as Rt,aC as Fe,bs as He,H as Nt,cJ as Se,aW as Me,co as xe,S as $t,A as zt}from"./main-CXE4elND.js";const Ge=["top","bottom"],Ot=["start","end","left","right"];function At(e,t){let[n,s]=e.split(" ");return s||(s=j(Ge,n)?"start":j(Ot,n)?"top":"center"),{side:_e(n,t),align:_e(s,t)}}function _e(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function _n(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function kn(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function Bn(e){return{side:e.align,align:e.side}}function Pn(e){return j(Ge,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 En(e){return Array.isArray(e)?new R({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function In(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 Ln(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),s=n.transform;if(s){let i,a,o,r,l;if(s.startsWith("matrix3d("))i=s.slice(9,-1).split(/, /),a=Number(i[0]),o=Number(i[5]),r=Number(i[12]),l=Number(i[13]);else if(s.startsWith("matrix("))i=s.slice(7,-1).split(/, /),a=Number(i[0]),o=Number(i[3]),r=Number(i[4]),l=Number(i[5]);else return new R(t);const c=n.transformOrigin,f=t.x-r-(1-a)*parseFloat(c),m=t.y-l-(1-o)*parseFloat(c.slice(c.indexOf(" ")+1)),u=a?t.width/a:e.offsetWidth+1,v=o?t.height/o:e.offsetHeight+1;return new R({x:f,y:m,width:u,height:v})}else return new R(t)}function Tn(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 Rn="cubic-bezier(0.4, 0, 0.2, 1)",Nn="cubic-bezier(0.0, 0, 0.2, 1)",$n="cubic-bezier(0.4, 0, 1, 1)",q=y({tag:{type:[String,Object,Function],default:"div"}},"tag"),Dt=y({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ne=N(!1)({name:"VDefaultsProvider",props:Dt(),setup(e,t){let{slots:n}=t;const{defaults:s,disabled:i,reset:a,root:o,scoped:r}=vt(e);return Ie(s,{reset:a,root:o,scoped:r,disabled:i}),()=>n.default?.()}}),Wt=y({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ft(e){return{dimensionStyles:b(()=>{const n={},s=C(e.height),i=C(e.maxHeight),a=C(e.maxWidth),o=C(e.minHeight),r=C(e.minWidth),l=C(e.width);return s!=null&&(n.height=s),i!=null&&(n.maxHeight=i),a!=null&&(n.maxWidth=a),o!=null&&(n.minHeight=o),r!=null&&(n.minWidth=r),l!=null&&(n.width=l),n})}}function he(e){return Le(()=>{const t=W(e),n=[],s={};if(t.background)if(we(t.background)){if(s.backgroundColor=t.background,!t.text&&mt(t.background)){const i=gt(t.background);if(i.a==null||i.a===1){const a=ht(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 o of String(s).split(" "))a.push(`rounded-${o}`);else(i||s===!1)&&a.push("rounded-0");return a})}}const zn=y({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),On=(e,t)=>{let{slots:n}=t;const{transition:s,disabled:i,group:a,...o}=e,{component:r=a?bt:Te,...l}=ue(s)?s:{};let c;return ue(s)?c=X(l,yt({disabled:i,group:a}),o):c=X({name:i||!s?"":s},o),pt(r,c,n)};function Ht(e,t){if(!Re)return;const n=t.modifiers||{},s=t.value,{handler:i,options:a}=typeof s=="object"?s:{handler:s,options:{}},o=new IntersectionObserver(function(){let r=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=r.some(m=>m.isIntersecting);i&&(!n.quiet||c.init)&&(!n.once||f||c.init)&&i(f,r,l),f&&n.once?qe(e,t):c.init=!0},a);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:o},o.observe(e)}function qe(e,t){const n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const An={mounted:Ht,unmounted:qe},je=y({border:[Boolean,Number,String]},"border");function Xe(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 Ue=y({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Ye(e){return{elevationClasses:g(()=>{const n=le(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const Mt=["elevated","flat","tonal","outlined","text","plain"];function Gt(e,t){return S(Ct,null,[e&&S("span",{key:"overlay",class:k(`${t}__overlay`)},null),S("span",{key:"underlay",class:k(`${t}__underlay`)},null)])}const Ke=y({color:String,variant:{type:String,default:"elevated",validator:e=>Mt.includes(e)}},"variant");function qt(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:o}=W(e);return{[["elevated","flat"].includes(a)?"background":"text"]:o}});return{colorClasses:s,colorStyles:i,variantClasses:n}}const jt=[null,"default","comfortable","compact"],Je=y({density:{type:String,default:"default",validator:e=>jt.includes(e)}},"density");function Ze(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{densityClasses:g(()=>`${t}--density-${e.density}`)}}const Qe=y({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...je(),...G(),...Je(),...Ue(),...be(),...q(),...M(),...Ke()},"VBtnGroup"),ke=N()({name:"VBtnGroup",props:Qe(),setup(e,t){let{slots:n}=t;const{themeClasses:s}=K(e),{densityClasses:i}=Ze(e),{borderClasses:a}=Xe(e),{elevationClasses:o}=Ye(e),{roundedClasses:r}=ye(e);Ie({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,o.value,r.value,e.class]),style:L(e.style)},n))}}),Xt=y({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Ut=y({value:null,disabled:Boolean,selectedClass:String},"group-item");function Yt(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=wt();Ne(Symbol.for(`${t.description}:id`),i);const a=St(t,null);if(!a){if(!n)return a;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const o=g(()=>e.value),r=b(()=>!!(a.disabled.value||e.disabled));a.register({id:i,value:o,disabled:r},s),$e(()=>{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:o,disabled:r,group:a}}function Kt(e,t){let n=!1;const s=ce([]),i=ze(e,"modelValue",[],u=>u==null?[]:et(s,kt(u)),u=>{const v=Zt(s,u);return e.multiple?v:v[0]}),a=J("useGroup");function o(u,v){const p=u,d=Symbol.for(`${t.description}:id`),w=Bt(d,a?.vnode).indexOf(v);Pt(p.value)==null&&(p.value=w,p.useIndexAsValue=!0),w>-1?s.splice(w,0,p):s.push(p)}function r(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])}xt(()=>{l()}),$e(()=>{n=!0}),_t(()=>{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(V=>V===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:o,unregister:r,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=>Jt(s,u)};return Ne(t,m),m}function Jt(e,t){const n=et(e,[t]);return n.length?e.findIndex(s=>s.id===n[0]):-1}function et(e,t){const n=[];return t.forEach(s=>{const i=e.find(o=>Oe(s,o.value)),a=e[s];i?.value!=null?n.push(i.id):a!=null&&n.push(a.id)}),n}function Zt(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 tt=Symbol.for("vuetify:v-btn-toggle"),Qt=y({...Qe(),...Xt()},"VBtnToggle");N()({name:"VBtnToggle",props:Qt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:s,next:i,prev:a,select:o,selected:r}=Kt(e,tt);return D(()=>{const l=ke.filterProps(e);return _(ke,X({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>[n.default?.({isSelected:s,next:i,prev:a,select:o,selected:r})]})}),{next:i,prev:a,select:o}}});const en=["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 Le(()=>{const n=e.size;let s,i;return j(en,n)?s=`${t}--size-${n}`:n&&(i={width:C(n),height:C(n)}),{sizeClasses:s,sizeStyles:i}})}const tn=y({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:de,opacity:[String,Number],...G(),...pe(),...q({tag:"i"}),...M()},"VIcon"),ae=N()({name:"VIcon",props:tn(),setup(e,t){let{attrs:n,slots:s}=t;const i=Ae(),{themeClasses:a}=Vt(),{iconData:o}=Et(()=>i.value||e.icon),{sizeClasses:r}=Ce(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color);return D(()=>{const f=s.default?.();f&&(i.value=It(f).filter(u=>u.type===Lt&&u.children&&typeof u.children=="string")[0]?.children);const m=!!(n.onClick||n.onClickOnce);return _(o.value.component,{tag:e.tag,icon:o.value.icon,class:k(["v-icon","notranslate",a.value,r.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},r.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 nt(e,t){const n=De(),s=Ae(!1);if(Re){const i=new IntersectionObserver(a=>{s.value=!!a.find(o=>o.isIntersecting)},t);We(()=>{i.disconnect()}),ge(n,(a,o)=>{o&&(i.unobserve(o),s.value=!1),a&&i.observe(a)},{flush:"post"})}return{intersectionRef:n,isIntersecting:s}}const nn=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(),...q({tag:"div"}),...M()},"VProgressCircular"),sn=N()({name:"VProgressCircular",props:nn(),setup(e,t){let{slots:n}=t;const s=20,i=2*Math.PI*s,a=De(),{themeClasses:o}=K(e),{sizeClasses:r,sizeStyles:l}=Ce(e),{textColorClasses:c,textColorStyles:f}=U(()=>e.color),{textColorClasses:m,textColorStyles:u}=U(()=>e.bgColor),{intersectionRef:v,isIntersecting:p}=nt(),{resizeRef:d,contentRect:h}=Tt(),w=g(()=>fe(parseFloat(e.modelValue),0,100)),V=g(()=>Number(e.width)),E=g(()=>l.value?Number(e.size):h.value?h.value.width:Math.max(V.value,32)),P=g(()=>s/(1-V.value/E.value)*2),T=g(()=>V.value/E.value*P.value),z=g(()=>C((100-w.value)/100*i));return Rt(()=>{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"},o.value,r.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 ${P.value} ${P.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})])]})),{}}}),Be={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},st=y({location:String},"location");function at(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:s}=Fe();return{locationStyles:b(()=>{if(!e.location)return{};const{side:a,align:o}=At(e.location.split(" ").length>1?e.location:`${e.location} center`,s.value);function r(c){return n?n(c):0}const l={};return a!=="center"&&(t?l[Be[a]]=`calc(100% - ${r(a)}px)`:l[a]=0),o!=="center"?t?l[Be[o]]=`calc(100% - ${r(o)}px)`:l[o]=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 an=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(),...st({location:"top"}),...be(),...q(),...M()},"VProgressLinear"),on=N()({name:"VProgressLinear",props:an(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const s=ze(e,"modelValue"),{isRtl:i,rtlClasses:a}=Fe(),{themeClasses:o}=K(e),{locationStyles:r}=at(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:V}=nt(),E=b(()=>parseFloat(e.max)),P=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=He&&window.matchMedia?.("(forced-colors: active)").matches;function Q(x){if(!w.value)return;const{left:ee,right:te,width:A}=w.value.getBoundingClientRect(),ft=I.value?A-x.clientX+(te-A):x.clientX-ee;s.value=Math.round(ft/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&&V.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,o.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(P.value):0,"--v-progress-linear-height":C(P.value),...e.absolute?r.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(-P.value),borderTop:`${C(P.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${C(P.value/4)})`,width:C(100-T.value,"%"),"--v-progress-linear-stream-to":C(P.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),_(Te,{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 ln(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{loaderClasses:g(()=>({[`${t}--loading`]:e.loading}))}}function Dn(e,t){let{slots:n}=t;return S("div",{class:k(`${e.name}__loader`)},[n.default?.({color:e.color,isActive:e.active})||_(on,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const un=["static","relative","fixed","absolute","sticky"],cn=y({position:{type:String,validator:e=>un.includes(e)}},"position");function dn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{positionClasses:g(()=>e.position?`${t}--${e.position}`:void 0)}}function fn(){const e=J("useRoute");return b(()=>e?.proxy?.$route)}function Wn(){return J("useRouter")?.proxy?.$router}function vn(e,t){const n=Nt("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)}),o=b(()=>e.to?a:void 0),r=fn(),l=b(()=>o.value?e.exact?r.value?o.value.isExactActive?.value&&Oe(o.value.route.value.query,r.value.query):o.value.isExactActive?.value??!1:o.value.isActive?.value??!1:!1),c=b(()=>e.to?o.value?.route.value.href:e.href);return{isLink:s,isClickable:i,isActive:l,route:o.value?.route,navigate:o.value?.navigate,href:c,linkProps:ce({href:c,"aria-current":g(()=>l.value?"page":void 0)})}}const mn=y({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let ie=!1;function Fn(e,t){let n=!1,s,i;He&&e?.beforeEach&&(Me(()=>{window.addEventListener("popstate",a),s=e.beforeEach((o,r,l)=>{ie?n?t(l):l():setTimeout(()=>n?t(l):l()),ie=!0}),i=e?.afterEach(()=>{ie=!1})}),We(()=>{window.removeEventListener("popstate",a),s?.(),i?.()}));function a(o){o.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function gn(e,t){ge(()=>e.isActive?.value,n=>{e.isLink.value&&n!=null&&t&&Me(()=>{t(n)})},{immediate:!0})}const ve=Symbol("rippleStop"),hn=80;function Pe(e,t){e.style.transform=t,e.style.webkitTransform=t}function me(e){return e.constructor.name==="TouchEvent"}function it(e){return e.constructor.name==="KeyboardEvent"}const bn=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=0,i=0;if(!it(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,o=.3;t._ripple?.circle?(o=.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 r=`${(t.clientWidth-a*2)/2}px`,l=`${(t.clientHeight-a*2)/2}px`,c=n.center?r:`${s-a}px`,f=n.center?l:`${i-a}px`;return{radius:a,scale:o,x:c,y:f,centerX:r,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:o,x:r,y:l,centerX:c,centerY:f}=bn(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"),Pe(i,`translate(${r}, ${l}) scale3d(${o},${o},${o})`),i.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Pe(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 ot(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||it(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)},hn)}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 Ee(e,t){!H&&t.includes(e.keyCode)&&(H=!0,F(e))}function lt(e){H=!1,B(e)}function ut(e){H&&(H=!1,B(e))}function ct(e,t,n){const{value:s,modifiers:i}=t,a=ot(s);a||Y.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=a,e._ripple.centered=i.center,e._ripple.circle=i.circle;const o=ue(s)?s:{};o.class&&(e._ripple.class=o.class);const r=o.keys??[xe.enter,xe.space];if(e._ripple.keyDownHandler=l=>Ee(l,r),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=>Ee(l,r)),e.addEventListener("keyup",lt),e.addEventListener("blur",ut),e.addEventListener("dragstart",B,{passive:!0})}else!a&&n&&dt(e)}function dt(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",lt),e.removeEventListener("dragstart",B),e.removeEventListener("blur",ut)}function yn(e,t){ct(e,t,!1)}function pn(e){dt(e),delete e._ripple}function Cn(e,t){if(t.value===t.oldValue)return;const n=ot(t.oldValue);ct(e,t,n)}const wn={mounted:yn,unmounted:pn,updated:Cn},Sn=y({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:tt},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(),...Je(),...Wt(),...Ue(),...Ut(),...rn(),...st(),...cn(),...be(),...mn(),...pe(),...q({tag:"button"}),...M(),...Ke({variant:"elevated"})},"VBtn"),Hn=N()({name:"VBtn",props:Sn(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:s}=t;const{themeClasses:i}=K(e),{borderClasses:a}=Xe(e),{densityClasses:o}=Ze(e),{dimensionStyles:r}=Ft(e),{elevationClasses:l}=Ye(e),{loaderClasses:c}=ln(e),{locationStyles:f}=at(e),{positionClasses:m}=dn(e),{roundedClasses:u}=ye(e),{sizeClasses:v,sizeStyles:p}=Ce(e),d=Yt(e,e.symbol,!1),h=vn(e,n),w=b(()=>e.active!==void 0?e.active:h.isLink.value?h.isActive?.value:d?.isSelected.value),V=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?V.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:P,colorStyles:T,variantClasses:z}=qt(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 gn(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 $t(_(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,P.value,o.value,l.value,c.value,m.value,u.value,v.value,z.value,e.class],style:[T.value,r.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:()=>[Gt(!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?.()??zt(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?.()??_(sn,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}),[[wn,!I.value&&e.ripple,"",{center:!!e.icon}]])}),{group:d}}}),oe=Symbol("Forwarded refs");function re(e,t){let n=e;for(;n;){const s=Reflect.getOwnPropertyDescriptor(n,t);if(s)return s;n=Object.getPrototypeOf(n)}}function Mn(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[oe]=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 o of n)if(o.value&&Reflect.has(o.value,a)){const r=Reflect.get(o.value,a);return typeof r=="function"?r.bind(o.value):r}}},has(i,a){if(Reflect.has(i,a))return!0;if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,a))return!0;return!1},set(i,a,o){if(Reflect.has(i,a))return Reflect.set(i,a,o);if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const r of n)if(r.value&&Reflect.has(r.value,a))return Reflect.set(r.value,a,o);return!1},getOwnPropertyDescriptor(i,a){const o=Reflect.getOwnPropertyDescriptor(i,a);if(o)return o;if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const r of n){if(!r.value)continue;const l=re(r.value,a)??("_"in r.value?re(r.value._?.setupState,a):void 0);if(l)return l}for(const r of n){const l=r.value&&r.value[oe];if(!l)continue;const c=l.slice();for(;c.length;){const f=c.shift(),m=re(f.value,a);if(m)return m;const u=f.value&&f.value[oe];u&&c.push(...u)}}}}})}export{Vn as $,Ut as A,Ke as B,Wn as C,_e as D,ln as E,sn as F,pe as G,Xt as H,An as I,rn as J,Ce as K,Dn as L,On as M,Gt as N,Ln as O,$n as P,Nn as Q,wn as R,En as S,At as T,_n as U,Hn as V,kn as W,Bn as X,R as Y,In as Z,Pn as _,Tn as a,Fn as a0,Ze as b,se as c,q as d,Je as e,Mn as f,vn as g,mn as h,ye as i,be as j,ae as k,ne as l,Sn as m,on as n,Ft as o,zn as p,Wt as q,Xe as r,Rn as s,Ye as t,U as u,Ue as v,je as w,qt as x,Kt as y,Yt as z};
1
+ import{cw as j,p as y,g as N,bX as vt,f as Ie,c as b,h as C,cq as Le,cn as W,cx as we,cy as mt,cz as gt,cA as ht,cd as $,cB as le,j as ue,c9 as bt,bq as Te,m as X,cC as yt,ca as pt,cl as Re,t as g,b as S,d as k,F as Ct,aA as M,J as G,az as K,u as D,a as _,n as L,bP as J,bt as wt,aV as Ne,i as St,bl as $e,aU as ge,cu as ce,e as ze,bk as xt,cD as _t,bE as Oe,bD as kt,cE as Bt,bZ as Pt,aT as Ae,cF as Vt,cG as Et,cH as It,cI as Lt,K as de,r as De,bn as We,be as Tt,b7 as fe,bi as Rt,aC as Fe,bs as He,H as Nt,cJ as Se,aW as Me,co as xe,S as $t,A as zt}from"./main-X1Z4xIQI.js";const Ge=["top","bottom"],Ot=["start","end","left","right"];function At(e,t){let[n,s]=e.split(" ");return s||(s=j(Ge,n)?"start":j(Ot,n)?"top":"center"),{side:_e(n,t),align:_e(s,t)}}function _e(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function _n(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function kn(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function Bn(e){return{side:e.align,align:e.side}}function Pn(e){return j(Ge,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 En(e){return Array.isArray(e)?new R({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function In(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 Ln(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),s=n.transform;if(s){let i,a,o,r,l;if(s.startsWith("matrix3d("))i=s.slice(9,-1).split(/, /),a=Number(i[0]),o=Number(i[5]),r=Number(i[12]),l=Number(i[13]);else if(s.startsWith("matrix("))i=s.slice(7,-1).split(/, /),a=Number(i[0]),o=Number(i[3]),r=Number(i[4]),l=Number(i[5]);else return new R(t);const c=n.transformOrigin,f=t.x-r-(1-a)*parseFloat(c),m=t.y-l-(1-o)*parseFloat(c.slice(c.indexOf(" ")+1)),u=a?t.width/a:e.offsetWidth+1,v=o?t.height/o:e.offsetHeight+1;return new R({x:f,y:m,width:u,height:v})}else return new R(t)}function Tn(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 Rn="cubic-bezier(0.4, 0, 0.2, 1)",Nn="cubic-bezier(0.0, 0, 0.2, 1)",$n="cubic-bezier(0.4, 0, 1, 1)",q=y({tag:{type:[String,Object,Function],default:"div"}},"tag"),Dt=y({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ne=N(!1)({name:"VDefaultsProvider",props:Dt(),setup(e,t){let{slots:n}=t;const{defaults:s,disabled:i,reset:a,root:o,scoped:r}=vt(e);return Ie(s,{reset:a,root:o,scoped:r,disabled:i}),()=>n.default?.()}}),Wt=y({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ft(e){return{dimensionStyles:b(()=>{const n={},s=C(e.height),i=C(e.maxHeight),a=C(e.maxWidth),o=C(e.minHeight),r=C(e.minWidth),l=C(e.width);return s!=null&&(n.height=s),i!=null&&(n.maxHeight=i),a!=null&&(n.maxWidth=a),o!=null&&(n.minHeight=o),r!=null&&(n.minWidth=r),l!=null&&(n.width=l),n})}}function he(e){return Le(()=>{const t=W(e),n=[],s={};if(t.background)if(we(t.background)){if(s.backgroundColor=t.background,!t.text&&mt(t.background)){const i=gt(t.background);if(i.a==null||i.a===1){const a=ht(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 o of String(s).split(" "))a.push(`rounded-${o}`);else(i||s===!1)&&a.push("rounded-0");return a})}}const zn=y({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),On=(e,t)=>{let{slots:n}=t;const{transition:s,disabled:i,group:a,...o}=e,{component:r=a?bt:Te,...l}=ue(s)?s:{};let c;return ue(s)?c=X(l,yt({disabled:i,group:a}),o):c=X({name:i||!s?"":s},o),pt(r,c,n)};function Ht(e,t){if(!Re)return;const n=t.modifiers||{},s=t.value,{handler:i,options:a}=typeof s=="object"?s:{handler:s,options:{}},o=new IntersectionObserver(function(){let r=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=r.some(m=>m.isIntersecting);i&&(!n.quiet||c.init)&&(!n.once||f||c.init)&&i(f,r,l),f&&n.once?qe(e,t):c.init=!0},a);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:o},o.observe(e)}function qe(e,t){const n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const An={mounted:Ht,unmounted:qe},je=y({border:[Boolean,Number,String]},"border");function Xe(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 Ue=y({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Ye(e){return{elevationClasses:g(()=>{const n=le(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const Mt=["elevated","flat","tonal","outlined","text","plain"];function Gt(e,t){return S(Ct,null,[e&&S("span",{key:"overlay",class:k(`${t}__overlay`)},null),S("span",{key:"underlay",class:k(`${t}__underlay`)},null)])}const Ke=y({color:String,variant:{type:String,default:"elevated",validator:e=>Mt.includes(e)}},"variant");function qt(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:o}=W(e);return{[["elevated","flat"].includes(a)?"background":"text"]:o}});return{colorClasses:s,colorStyles:i,variantClasses:n}}const jt=[null,"default","comfortable","compact"],Je=y({density:{type:String,default:"default",validator:e=>jt.includes(e)}},"density");function Ze(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{densityClasses:g(()=>`${t}--density-${e.density}`)}}const Qe=y({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...je(),...G(),...Je(),...Ue(),...be(),...q(),...M(),...Ke()},"VBtnGroup"),ke=N()({name:"VBtnGroup",props:Qe(),setup(e,t){let{slots:n}=t;const{themeClasses:s}=K(e),{densityClasses:i}=Ze(e),{borderClasses:a}=Xe(e),{elevationClasses:o}=Ye(e),{roundedClasses:r}=ye(e);Ie({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,o.value,r.value,e.class]),style:L(e.style)},n))}}),Xt=y({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Ut=y({value:null,disabled:Boolean,selectedClass:String},"group-item");function Yt(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=wt();Ne(Symbol.for(`${t.description}:id`),i);const a=St(t,null);if(!a){if(!n)return a;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const o=g(()=>e.value),r=b(()=>!!(a.disabled.value||e.disabled));a.register({id:i,value:o,disabled:r},s),$e(()=>{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:o,disabled:r,group:a}}function Kt(e,t){let n=!1;const s=ce([]),i=ze(e,"modelValue",[],u=>u==null?[]:et(s,kt(u)),u=>{const v=Zt(s,u);return e.multiple?v:v[0]}),a=J("useGroup");function o(u,v){const p=u,d=Symbol.for(`${t.description}:id`),w=Bt(d,a?.vnode).indexOf(v);Pt(p.value)==null&&(p.value=w,p.useIndexAsValue=!0),w>-1?s.splice(w,0,p):s.push(p)}function r(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])}xt(()=>{l()}),$e(()=>{n=!0}),_t(()=>{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(V=>V===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:o,unregister:r,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=>Jt(s,u)};return Ne(t,m),m}function Jt(e,t){const n=et(e,[t]);return n.length?e.findIndex(s=>s.id===n[0]):-1}function et(e,t){const n=[];return t.forEach(s=>{const i=e.find(o=>Oe(s,o.value)),a=e[s];i?.value!=null?n.push(i.id):a!=null&&n.push(a.id)}),n}function Zt(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 tt=Symbol.for("vuetify:v-btn-toggle"),Qt=y({...Qe(),...Xt()},"VBtnToggle");N()({name:"VBtnToggle",props:Qt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:s,next:i,prev:a,select:o,selected:r}=Kt(e,tt);return D(()=>{const l=ke.filterProps(e);return _(ke,X({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>[n.default?.({isSelected:s,next:i,prev:a,select:o,selected:r})]})}),{next:i,prev:a,select:o}}});const en=["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 Le(()=>{const n=e.size;let s,i;return j(en,n)?s=`${t}--size-${n}`:n&&(i={width:C(n),height:C(n)}),{sizeClasses:s,sizeStyles:i}})}const tn=y({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:de,opacity:[String,Number],...G(),...pe(),...q({tag:"i"}),...M()},"VIcon"),ae=N()({name:"VIcon",props:tn(),setup(e,t){let{attrs:n,slots:s}=t;const i=Ae(),{themeClasses:a}=Vt(),{iconData:o}=Et(()=>i.value||e.icon),{sizeClasses:r}=Ce(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color);return D(()=>{const f=s.default?.();f&&(i.value=It(f).filter(u=>u.type===Lt&&u.children&&typeof u.children=="string")[0]?.children);const m=!!(n.onClick||n.onClickOnce);return _(o.value.component,{tag:e.tag,icon:o.value.icon,class:k(["v-icon","notranslate",a.value,r.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},r.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 nt(e,t){const n=De(),s=Ae(!1);if(Re){const i=new IntersectionObserver(a=>{s.value=!!a.find(o=>o.isIntersecting)},t);We(()=>{i.disconnect()}),ge(n,(a,o)=>{o&&(i.unobserve(o),s.value=!1),a&&i.observe(a)},{flush:"post"})}return{intersectionRef:n,isIntersecting:s}}const nn=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(),...q({tag:"div"}),...M()},"VProgressCircular"),sn=N()({name:"VProgressCircular",props:nn(),setup(e,t){let{slots:n}=t;const s=20,i=2*Math.PI*s,a=De(),{themeClasses:o}=K(e),{sizeClasses:r,sizeStyles:l}=Ce(e),{textColorClasses:c,textColorStyles:f}=U(()=>e.color),{textColorClasses:m,textColorStyles:u}=U(()=>e.bgColor),{intersectionRef:v,isIntersecting:p}=nt(),{resizeRef:d,contentRect:h}=Tt(),w=g(()=>fe(parseFloat(e.modelValue),0,100)),V=g(()=>Number(e.width)),E=g(()=>l.value?Number(e.size):h.value?h.value.width:Math.max(V.value,32)),P=g(()=>s/(1-V.value/E.value)*2),T=g(()=>V.value/E.value*P.value),z=g(()=>C((100-w.value)/100*i));return Rt(()=>{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"},o.value,r.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 ${P.value} ${P.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})])]})),{}}}),Be={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},st=y({location:String},"location");function at(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:s}=Fe();return{locationStyles:b(()=>{if(!e.location)return{};const{side:a,align:o}=At(e.location.split(" ").length>1?e.location:`${e.location} center`,s.value);function r(c){return n?n(c):0}const l={};return a!=="center"&&(t?l[Be[a]]=`calc(100% - ${r(a)}px)`:l[a]=0),o!=="center"?t?l[Be[o]]=`calc(100% - ${r(o)}px)`:l[o]=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 an=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(),...st({location:"top"}),...be(),...q(),...M()},"VProgressLinear"),on=N()({name:"VProgressLinear",props:an(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const s=ze(e,"modelValue"),{isRtl:i,rtlClasses:a}=Fe(),{themeClasses:o}=K(e),{locationStyles:r}=at(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:V}=nt(),E=b(()=>parseFloat(e.max)),P=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=He&&window.matchMedia?.("(forced-colors: active)").matches;function Q(x){if(!w.value)return;const{left:ee,right:te,width:A}=w.value.getBoundingClientRect(),ft=I.value?A-x.clientX+(te-A):x.clientX-ee;s.value=Math.round(ft/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&&V.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,o.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(P.value):0,"--v-progress-linear-height":C(P.value),...e.absolute?r.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(-P.value),borderTop:`${C(P.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${C(P.value/4)})`,width:C(100-T.value,"%"),"--v-progress-linear-stream-to":C(P.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),_(Te,{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 ln(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{loaderClasses:g(()=>({[`${t}--loading`]:e.loading}))}}function Dn(e,t){let{slots:n}=t;return S("div",{class:k(`${e.name}__loader`)},[n.default?.({color:e.color,isActive:e.active})||_(on,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const un=["static","relative","fixed","absolute","sticky"],cn=y({position:{type:String,validator:e=>un.includes(e)}},"position");function dn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{positionClasses:g(()=>e.position?`${t}--${e.position}`:void 0)}}function fn(){const e=J("useRoute");return b(()=>e?.proxy?.$route)}function Wn(){return J("useRouter")?.proxy?.$router}function vn(e,t){const n=Nt("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)}),o=b(()=>e.to?a:void 0),r=fn(),l=b(()=>o.value?e.exact?r.value?o.value.isExactActive?.value&&Oe(o.value.route.value.query,r.value.query):o.value.isExactActive?.value??!1:o.value.isActive?.value??!1:!1),c=b(()=>e.to?o.value?.route.value.href:e.href);return{isLink:s,isClickable:i,isActive:l,route:o.value?.route,navigate:o.value?.navigate,href:c,linkProps:ce({href:c,"aria-current":g(()=>l.value?"page":void 0)})}}const mn=y({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let ie=!1;function Fn(e,t){let n=!1,s,i;He&&e?.beforeEach&&(Me(()=>{window.addEventListener("popstate",a),s=e.beforeEach((o,r,l)=>{ie?n?t(l):l():setTimeout(()=>n?t(l):l()),ie=!0}),i=e?.afterEach(()=>{ie=!1})}),We(()=>{window.removeEventListener("popstate",a),s?.(),i?.()}));function a(o){o.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function gn(e,t){ge(()=>e.isActive?.value,n=>{e.isLink.value&&n!=null&&t&&Me(()=>{t(n)})},{immediate:!0})}const ve=Symbol("rippleStop"),hn=80;function Pe(e,t){e.style.transform=t,e.style.webkitTransform=t}function me(e){return e.constructor.name==="TouchEvent"}function it(e){return e.constructor.name==="KeyboardEvent"}const bn=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=0,i=0;if(!it(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,o=.3;t._ripple?.circle?(o=.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 r=`${(t.clientWidth-a*2)/2}px`,l=`${(t.clientHeight-a*2)/2}px`,c=n.center?r:`${s-a}px`,f=n.center?l:`${i-a}px`;return{radius:a,scale:o,x:c,y:f,centerX:r,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:o,x:r,y:l,centerX:c,centerY:f}=bn(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"),Pe(i,`translate(${r}, ${l}) scale3d(${o},${o},${o})`),i.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Pe(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 ot(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||it(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)},hn)}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 Ee(e,t){!H&&t.includes(e.keyCode)&&(H=!0,F(e))}function lt(e){H=!1,B(e)}function ut(e){H&&(H=!1,B(e))}function ct(e,t,n){const{value:s,modifiers:i}=t,a=ot(s);a||Y.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=a,e._ripple.centered=i.center,e._ripple.circle=i.circle;const o=ue(s)?s:{};o.class&&(e._ripple.class=o.class);const r=o.keys??[xe.enter,xe.space];if(e._ripple.keyDownHandler=l=>Ee(l,r),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=>Ee(l,r)),e.addEventListener("keyup",lt),e.addEventListener("blur",ut),e.addEventListener("dragstart",B,{passive:!0})}else!a&&n&&dt(e)}function dt(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",lt),e.removeEventListener("dragstart",B),e.removeEventListener("blur",ut)}function yn(e,t){ct(e,t,!1)}function pn(e){dt(e),delete e._ripple}function Cn(e,t){if(t.value===t.oldValue)return;const n=ot(t.oldValue);ct(e,t,n)}const wn={mounted:yn,unmounted:pn,updated:Cn},Sn=y({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:tt},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(),...Je(),...Wt(),...Ue(),...Ut(),...rn(),...st(),...cn(),...be(),...mn(),...pe(),...q({tag:"button"}),...M(),...Ke({variant:"elevated"})},"VBtn"),Hn=N()({name:"VBtn",props:Sn(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:s}=t;const{themeClasses:i}=K(e),{borderClasses:a}=Xe(e),{densityClasses:o}=Ze(e),{dimensionStyles:r}=Ft(e),{elevationClasses:l}=Ye(e),{loaderClasses:c}=ln(e),{locationStyles:f}=at(e),{positionClasses:m}=dn(e),{roundedClasses:u}=ye(e),{sizeClasses:v,sizeStyles:p}=Ce(e),d=Yt(e,e.symbol,!1),h=vn(e,n),w=b(()=>e.active!==void 0?e.active:h.isLink.value?h.isActive?.value:d?.isSelected.value),V=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?V.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:P,colorStyles:T,variantClasses:z}=qt(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 gn(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 $t(_(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,P.value,o.value,l.value,c.value,m.value,u.value,v.value,z.value,e.class],style:[T.value,r.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:()=>[Gt(!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?.()??zt(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?.()??_(sn,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}),[[wn,!I.value&&e.ripple,"",{center:!!e.icon}]])}),{group:d}}}),oe=Symbol("Forwarded refs");function re(e,t){let n=e;for(;n;){const s=Reflect.getOwnPropertyDescriptor(n,t);if(s)return s;n=Object.getPrototypeOf(n)}}function Mn(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[oe]=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 o of n)if(o.value&&Reflect.has(o.value,a)){const r=Reflect.get(o.value,a);return typeof r=="function"?r.bind(o.value):r}}},has(i,a){if(Reflect.has(i,a))return!0;if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,a))return!0;return!1},set(i,a,o){if(Reflect.has(i,a))return Reflect.set(i,a,o);if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const r of n)if(r.value&&Reflect.has(r.value,a))return Reflect.set(r.value,a,o);return!1},getOwnPropertyDescriptor(i,a){const o=Reflect.getOwnPropertyDescriptor(i,a);if(o)return o;if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const r of n){if(!r.value)continue;const l=re(r.value,a)??("_"in r.value?re(r.value._?.setupState,a):void 0);if(l)return l}for(const r of n){const l=r.value&&r.value[oe];if(!l)continue;const c=l.slice();for(;c.length;){const f=c.shift(),m=re(f.value,a);if(m)return m;const u=f.value&&f.value[oe];u&&c.push(...u)}}}}})}export{Vn as $,Ut as A,Ke as B,Wn as C,_e as D,ln as E,sn as F,pe as G,Xt as H,An as I,rn as J,Ce as K,Dn as L,On as M,Gt as N,Ln as O,$n as P,Nn as Q,wn as R,En as S,At as T,_n as U,Hn as V,kn as W,Bn as X,R as Y,In as Z,Pn as _,Tn as a,Fn as a0,Ze as b,se as c,q as d,Je as e,Mn as f,vn as g,mn as h,ye as i,be as j,ae as k,ne as l,Sn as m,on as n,Ft as o,zn as p,Wt as q,Xe as r,Rn as s,Ye as t,U as u,Ue as v,je as w,qt as x,Kt as y,Yt as z};
@@ -1 +1 @@
1
- import{cw as j,p as y,g as N,bX as vt,f as Ie,c as b,h as C,cq as Le,cn as W,cx as we,cy as mt,cz as gt,cA as ht,cd as $,cB as le,j as ue,c9 as bt,bq as Te,m as X,cC as yt,ca as pt,cl as Re,t as g,b as S,d as k,F as Ct,aA as M,J as G,az as K,u as D,a as _,n as L,bP as J,bt as wt,aV as Ne,i as St,bl as $e,aU as ge,cu as ce,e as ze,bk as xt,cD as _t,bE as Oe,bD as kt,cE as Bt,bZ as Pt,aT as Ae,cF as Vt,cG as Et,cH as It,cI as Lt,K as de,r as De,bn as We,be as Tt,b7 as fe,bi as Rt,aC as Fe,bs as He,H as Nt,cJ as Se,aW as Me,co as xe,S as $t,A as zt}from"./main-CXE4elND.js";const Ge=["top","bottom"],Ot=["start","end","left","right"];function At(e,t){let[n,s]=e.split(" ");return s||(s=j(Ge,n)?"start":j(Ot,n)?"top":"center"),{side:_e(n,t),align:_e(s,t)}}function _e(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function _n(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function kn(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function Bn(e){return{side:e.align,align:e.side}}function Pn(e){return j(Ge,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 En(e){return Array.isArray(e)?new R({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function In(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 Ln(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),s=n.transform;if(s){let i,a,o,r,l;if(s.startsWith("matrix3d("))i=s.slice(9,-1).split(/, /),a=Number(i[0]),o=Number(i[5]),r=Number(i[12]),l=Number(i[13]);else if(s.startsWith("matrix("))i=s.slice(7,-1).split(/, /),a=Number(i[0]),o=Number(i[3]),r=Number(i[4]),l=Number(i[5]);else return new R(t);const c=n.transformOrigin,f=t.x-r-(1-a)*parseFloat(c),m=t.y-l-(1-o)*parseFloat(c.slice(c.indexOf(" ")+1)),u=a?t.width/a:e.offsetWidth+1,v=o?t.height/o:e.offsetHeight+1;return new R({x:f,y:m,width:u,height:v})}else return new R(t)}function Tn(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 Rn="cubic-bezier(0.4, 0, 0.2, 1)",Nn="cubic-bezier(0.0, 0, 0.2, 1)",$n="cubic-bezier(0.4, 0, 1, 1)",q=y({tag:{type:[String,Object,Function],default:"div"}},"tag"),Dt=y({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ne=N(!1)({name:"VDefaultsProvider",props:Dt(),setup(e,t){let{slots:n}=t;const{defaults:s,disabled:i,reset:a,root:o,scoped:r}=vt(e);return Ie(s,{reset:a,root:o,scoped:r,disabled:i}),()=>n.default?.()}}),Wt=y({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ft(e){return{dimensionStyles:b(()=>{const n={},s=C(e.height),i=C(e.maxHeight),a=C(e.maxWidth),o=C(e.minHeight),r=C(e.minWidth),l=C(e.width);return s!=null&&(n.height=s),i!=null&&(n.maxHeight=i),a!=null&&(n.maxWidth=a),o!=null&&(n.minHeight=o),r!=null&&(n.minWidth=r),l!=null&&(n.width=l),n})}}function he(e){return Le(()=>{const t=W(e),n=[],s={};if(t.background)if(we(t.background)){if(s.backgroundColor=t.background,!t.text&&mt(t.background)){const i=gt(t.background);if(i.a==null||i.a===1){const a=ht(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 o of String(s).split(" "))a.push(`rounded-${o}`);else(i||s===!1)&&a.push("rounded-0");return a})}}const zn=y({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),On=(e,t)=>{let{slots:n}=t;const{transition:s,disabled:i,group:a,...o}=e,{component:r=a?bt:Te,...l}=ue(s)?s:{};let c;return ue(s)?c=X(l,yt({disabled:i,group:a}),o):c=X({name:i||!s?"":s},o),pt(r,c,n)};function Ht(e,t){if(!Re)return;const n=t.modifiers||{},s=t.value,{handler:i,options:a}=typeof s=="object"?s:{handler:s,options:{}},o=new IntersectionObserver(function(){let r=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=r.some(m=>m.isIntersecting);i&&(!n.quiet||c.init)&&(!n.once||f||c.init)&&i(f,r,l),f&&n.once?qe(e,t):c.init=!0},a);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:o},o.observe(e)}function qe(e,t){const n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const An={mounted:Ht,unmounted:qe},je=y({border:[Boolean,Number,String]},"border");function Xe(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 Ue=y({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Ye(e){return{elevationClasses:g(()=>{const n=le(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const Mt=["elevated","flat","tonal","outlined","text","plain"];function Gt(e,t){return S(Ct,null,[e&&S("span",{key:"overlay",class:k(`${t}__overlay`)},null),S("span",{key:"underlay",class:k(`${t}__underlay`)},null)])}const Ke=y({color:String,variant:{type:String,default:"elevated",validator:e=>Mt.includes(e)}},"variant");function qt(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:o}=W(e);return{[["elevated","flat"].includes(a)?"background":"text"]:o}});return{colorClasses:s,colorStyles:i,variantClasses:n}}const jt=[null,"default","comfortable","compact"],Je=y({density:{type:String,default:"default",validator:e=>jt.includes(e)}},"density");function Ze(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{densityClasses:g(()=>`${t}--density-${e.density}`)}}const Qe=y({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...je(),...G(),...Je(),...Ue(),...be(),...q(),...M(),...Ke()},"VBtnGroup"),ke=N()({name:"VBtnGroup",props:Qe(),setup(e,t){let{slots:n}=t;const{themeClasses:s}=K(e),{densityClasses:i}=Ze(e),{borderClasses:a}=Xe(e),{elevationClasses:o}=Ye(e),{roundedClasses:r}=ye(e);Ie({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,o.value,r.value,e.class]),style:L(e.style)},n))}}),Xt=y({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Ut=y({value:null,disabled:Boolean,selectedClass:String},"group-item");function Yt(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=wt();Ne(Symbol.for(`${t.description}:id`),i);const a=St(t,null);if(!a){if(!n)return a;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const o=g(()=>e.value),r=b(()=>!!(a.disabled.value||e.disabled));a.register({id:i,value:o,disabled:r},s),$e(()=>{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:o,disabled:r,group:a}}function Kt(e,t){let n=!1;const s=ce([]),i=ze(e,"modelValue",[],u=>u==null?[]:et(s,kt(u)),u=>{const v=Zt(s,u);return e.multiple?v:v[0]}),a=J("useGroup");function o(u,v){const p=u,d=Symbol.for(`${t.description}:id`),w=Bt(d,a?.vnode).indexOf(v);Pt(p.value)==null&&(p.value=w,p.useIndexAsValue=!0),w>-1?s.splice(w,0,p):s.push(p)}function r(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])}xt(()=>{l()}),$e(()=>{n=!0}),_t(()=>{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(V=>V===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:o,unregister:r,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=>Jt(s,u)};return Ne(t,m),m}function Jt(e,t){const n=et(e,[t]);return n.length?e.findIndex(s=>s.id===n[0]):-1}function et(e,t){const n=[];return t.forEach(s=>{const i=e.find(o=>Oe(s,o.value)),a=e[s];i?.value!=null?n.push(i.id):a!=null&&n.push(a.id)}),n}function Zt(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 tt=Symbol.for("vuetify:v-btn-toggle"),Qt=y({...Qe(),...Xt()},"VBtnToggle");N()({name:"VBtnToggle",props:Qt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:s,next:i,prev:a,select:o,selected:r}=Kt(e,tt);return D(()=>{const l=ke.filterProps(e);return _(ke,X({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>[n.default?.({isSelected:s,next:i,prev:a,select:o,selected:r})]})}),{next:i,prev:a,select:o}}});const en=["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 Le(()=>{const n=e.size;let s,i;return j(en,n)?s=`${t}--size-${n}`:n&&(i={width:C(n),height:C(n)}),{sizeClasses:s,sizeStyles:i}})}const tn=y({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:de,opacity:[String,Number],...G(),...pe(),...q({tag:"i"}),...M()},"VIcon"),ae=N()({name:"VIcon",props:tn(),setup(e,t){let{attrs:n,slots:s}=t;const i=Ae(),{themeClasses:a}=Vt(),{iconData:o}=Et(()=>i.value||e.icon),{sizeClasses:r}=Ce(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color);return D(()=>{const f=s.default?.();f&&(i.value=It(f).filter(u=>u.type===Lt&&u.children&&typeof u.children=="string")[0]?.children);const m=!!(n.onClick||n.onClickOnce);return _(o.value.component,{tag:e.tag,icon:o.value.icon,class:k(["v-icon","notranslate",a.value,r.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},r.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 nt(e,t){const n=De(),s=Ae(!1);if(Re){const i=new IntersectionObserver(a=>{s.value=!!a.find(o=>o.isIntersecting)},t);We(()=>{i.disconnect()}),ge(n,(a,o)=>{o&&(i.unobserve(o),s.value=!1),a&&i.observe(a)},{flush:"post"})}return{intersectionRef:n,isIntersecting:s}}const nn=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(),...q({tag:"div"}),...M()},"VProgressCircular"),sn=N()({name:"VProgressCircular",props:nn(),setup(e,t){let{slots:n}=t;const s=20,i=2*Math.PI*s,a=De(),{themeClasses:o}=K(e),{sizeClasses:r,sizeStyles:l}=Ce(e),{textColorClasses:c,textColorStyles:f}=U(()=>e.color),{textColorClasses:m,textColorStyles:u}=U(()=>e.bgColor),{intersectionRef:v,isIntersecting:p}=nt(),{resizeRef:d,contentRect:h}=Tt(),w=g(()=>fe(parseFloat(e.modelValue),0,100)),V=g(()=>Number(e.width)),E=g(()=>l.value?Number(e.size):h.value?h.value.width:Math.max(V.value,32)),P=g(()=>s/(1-V.value/E.value)*2),T=g(()=>V.value/E.value*P.value),z=g(()=>C((100-w.value)/100*i));return Rt(()=>{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"},o.value,r.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 ${P.value} ${P.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})])]})),{}}}),Be={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},st=y({location:String},"location");function at(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:s}=Fe();return{locationStyles:b(()=>{if(!e.location)return{};const{side:a,align:o}=At(e.location.split(" ").length>1?e.location:`${e.location} center`,s.value);function r(c){return n?n(c):0}const l={};return a!=="center"&&(t?l[Be[a]]=`calc(100% - ${r(a)}px)`:l[a]=0),o!=="center"?t?l[Be[o]]=`calc(100% - ${r(o)}px)`:l[o]=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 an=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(),...st({location:"top"}),...be(),...q(),...M()},"VProgressLinear"),on=N()({name:"VProgressLinear",props:an(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const s=ze(e,"modelValue"),{isRtl:i,rtlClasses:a}=Fe(),{themeClasses:o}=K(e),{locationStyles:r}=at(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:V}=nt(),E=b(()=>parseFloat(e.max)),P=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=He&&window.matchMedia?.("(forced-colors: active)").matches;function Q(x){if(!w.value)return;const{left:ee,right:te,width:A}=w.value.getBoundingClientRect(),ft=I.value?A-x.clientX+(te-A):x.clientX-ee;s.value=Math.round(ft/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&&V.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,o.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(P.value):0,"--v-progress-linear-height":C(P.value),...e.absolute?r.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(-P.value),borderTop:`${C(P.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${C(P.value/4)})`,width:C(100-T.value,"%"),"--v-progress-linear-stream-to":C(P.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),_(Te,{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 ln(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{loaderClasses:g(()=>({[`${t}--loading`]:e.loading}))}}function Dn(e,t){let{slots:n}=t;return S("div",{class:k(`${e.name}__loader`)},[n.default?.({color:e.color,isActive:e.active})||_(on,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const un=["static","relative","fixed","absolute","sticky"],cn=y({position:{type:String,validator:e=>un.includes(e)}},"position");function dn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{positionClasses:g(()=>e.position?`${t}--${e.position}`:void 0)}}function fn(){const e=J("useRoute");return b(()=>e?.proxy?.$route)}function Wn(){return J("useRouter")?.proxy?.$router}function vn(e,t){const n=Nt("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)}),o=b(()=>e.to?a:void 0),r=fn(),l=b(()=>o.value?e.exact?r.value?o.value.isExactActive?.value&&Oe(o.value.route.value.query,r.value.query):o.value.isExactActive?.value??!1:o.value.isActive?.value??!1:!1),c=b(()=>e.to?o.value?.route.value.href:e.href);return{isLink:s,isClickable:i,isActive:l,route:o.value?.route,navigate:o.value?.navigate,href:c,linkProps:ce({href:c,"aria-current":g(()=>l.value?"page":void 0)})}}const mn=y({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let ie=!1;function Fn(e,t){let n=!1,s,i;He&&e?.beforeEach&&(Me(()=>{window.addEventListener("popstate",a),s=e.beforeEach((o,r,l)=>{ie?n?t(l):l():setTimeout(()=>n?t(l):l()),ie=!0}),i=e?.afterEach(()=>{ie=!1})}),We(()=>{window.removeEventListener("popstate",a),s?.(),i?.()}));function a(o){o.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function gn(e,t){ge(()=>e.isActive?.value,n=>{e.isLink.value&&n!=null&&t&&Me(()=>{t(n)})},{immediate:!0})}const ve=Symbol("rippleStop"),hn=80;function Pe(e,t){e.style.transform=t,e.style.webkitTransform=t}function me(e){return e.constructor.name==="TouchEvent"}function it(e){return e.constructor.name==="KeyboardEvent"}const bn=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=0,i=0;if(!it(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,o=.3;t._ripple?.circle?(o=.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 r=`${(t.clientWidth-a*2)/2}px`,l=`${(t.clientHeight-a*2)/2}px`,c=n.center?r:`${s-a}px`,f=n.center?l:`${i-a}px`;return{radius:a,scale:o,x:c,y:f,centerX:r,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:o,x:r,y:l,centerX:c,centerY:f}=bn(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"),Pe(i,`translate(${r}, ${l}) scale3d(${o},${o},${o})`),i.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Pe(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 ot(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||it(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)},hn)}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 Ee(e,t){!H&&t.includes(e.keyCode)&&(H=!0,F(e))}function lt(e){H=!1,B(e)}function ut(e){H&&(H=!1,B(e))}function ct(e,t,n){const{value:s,modifiers:i}=t,a=ot(s);a||Y.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=a,e._ripple.centered=i.center,e._ripple.circle=i.circle;const o=ue(s)?s:{};o.class&&(e._ripple.class=o.class);const r=o.keys??[xe.enter,xe.space];if(e._ripple.keyDownHandler=l=>Ee(l,r),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=>Ee(l,r)),e.addEventListener("keyup",lt),e.addEventListener("blur",ut),e.addEventListener("dragstart",B,{passive:!0})}else!a&&n&&dt(e)}function dt(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",lt),e.removeEventListener("dragstart",B),e.removeEventListener("blur",ut)}function yn(e,t){ct(e,t,!1)}function pn(e){dt(e),delete e._ripple}function Cn(e,t){if(t.value===t.oldValue)return;const n=ot(t.oldValue);ct(e,t,n)}const wn={mounted:yn,unmounted:pn,updated:Cn},Sn=y({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:tt},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(),...Je(),...Wt(),...Ue(),...Ut(),...rn(),...st(),...cn(),...be(),...mn(),...pe(),...q({tag:"button"}),...M(),...Ke({variant:"elevated"})},"VBtn"),Hn=N()({name:"VBtn",props:Sn(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:s}=t;const{themeClasses:i}=K(e),{borderClasses:a}=Xe(e),{densityClasses:o}=Ze(e),{dimensionStyles:r}=Ft(e),{elevationClasses:l}=Ye(e),{loaderClasses:c}=ln(e),{locationStyles:f}=at(e),{positionClasses:m}=dn(e),{roundedClasses:u}=ye(e),{sizeClasses:v,sizeStyles:p}=Ce(e),d=Yt(e,e.symbol,!1),h=vn(e,n),w=b(()=>e.active!==void 0?e.active:h.isLink.value?h.isActive?.value:d?.isSelected.value),V=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?V.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:P,colorStyles:T,variantClasses:z}=qt(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 gn(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 $t(_(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,P.value,o.value,l.value,c.value,m.value,u.value,v.value,z.value,e.class],style:[T.value,r.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:()=>[Gt(!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?.()??zt(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?.()??_(sn,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}),[[wn,!I.value&&e.ripple,"",{center:!!e.icon}]])}),{group:d}}}),oe=Symbol("Forwarded refs");function re(e,t){let n=e;for(;n;){const s=Reflect.getOwnPropertyDescriptor(n,t);if(s)return s;n=Object.getPrototypeOf(n)}}function Mn(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[oe]=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 o of n)if(o.value&&Reflect.has(o.value,a)){const r=Reflect.get(o.value,a);return typeof r=="function"?r.bind(o.value):r}}},has(i,a){if(Reflect.has(i,a))return!0;if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,a))return!0;return!1},set(i,a,o){if(Reflect.has(i,a))return Reflect.set(i,a,o);if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const r of n)if(r.value&&Reflect.has(r.value,a))return Reflect.set(r.value,a,o);return!1},getOwnPropertyDescriptor(i,a){const o=Reflect.getOwnPropertyDescriptor(i,a);if(o)return o;if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const r of n){if(!r.value)continue;const l=re(r.value,a)??("_"in r.value?re(r.value._?.setupState,a):void 0);if(l)return l}for(const r of n){const l=r.value&&r.value[oe];if(!l)continue;const c=l.slice();for(;c.length;){const f=c.shift(),m=re(f.value,a);if(m)return m;const u=f.value&&f.value[oe];u&&c.push(...u)}}}}})}export{Vn as $,Ut as A,Ke as B,Wn as C,_e as D,ln as E,sn as F,pe as G,Xt as H,An as I,rn as J,Ce as K,Dn as L,On as M,Gt as N,Ln as O,$n as P,Nn as Q,wn as R,En as S,At as T,_n as U,Hn as V,kn as W,Bn as X,R as Y,In as Z,Pn as _,Tn as a,Fn as a0,Ze as b,se as c,q as d,Je as e,Mn as f,vn as g,mn as h,ye as i,be as j,ae as k,ne as l,Sn as m,on as n,Ft as o,zn as p,Wt as q,Xe as r,Rn as s,Ye as t,U as u,Ue as v,je as w,qt as x,Kt as y,Yt as z};
1
+ import{cw as j,p as y,g as N,bX as vt,f as Ie,c as b,h as C,cq as Le,cn as W,cx as we,cy as mt,cz as gt,cA as ht,cd as $,cB as le,j as ue,c9 as bt,bq as Te,m as X,cC as yt,ca as pt,cl as Re,t as g,b as S,d as k,F as Ct,aA as M,J as G,az as K,u as D,a as _,n as L,bP as J,bt as wt,aV as Ne,i as St,bl as $e,aU as ge,cu as ce,e as ze,bk as xt,cD as _t,bE as Oe,bD as kt,cE as Bt,bZ as Pt,aT as Ae,cF as Vt,cG as Et,cH as It,cI as Lt,K as de,r as De,bn as We,be as Tt,b7 as fe,bi as Rt,aC as Fe,bs as He,H as Nt,cJ as Se,aW as Me,co as xe,S as $t,A as zt}from"./main-X1Z4xIQI.js";const Ge=["top","bottom"],Ot=["start","end","left","right"];function At(e,t){let[n,s]=e.split(" ");return s||(s=j(Ge,n)?"start":j(Ot,n)?"top":"center"),{side:_e(n,t),align:_e(s,t)}}function _e(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function _n(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function kn(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function Bn(e){return{side:e.align,align:e.side}}function Pn(e){return j(Ge,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 En(e){return Array.isArray(e)?new R({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function In(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 Ln(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),s=n.transform;if(s){let i,a,o,r,l;if(s.startsWith("matrix3d("))i=s.slice(9,-1).split(/, /),a=Number(i[0]),o=Number(i[5]),r=Number(i[12]),l=Number(i[13]);else if(s.startsWith("matrix("))i=s.slice(7,-1).split(/, /),a=Number(i[0]),o=Number(i[3]),r=Number(i[4]),l=Number(i[5]);else return new R(t);const c=n.transformOrigin,f=t.x-r-(1-a)*parseFloat(c),m=t.y-l-(1-o)*parseFloat(c.slice(c.indexOf(" ")+1)),u=a?t.width/a:e.offsetWidth+1,v=o?t.height/o:e.offsetHeight+1;return new R({x:f,y:m,width:u,height:v})}else return new R(t)}function Tn(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 Rn="cubic-bezier(0.4, 0, 0.2, 1)",Nn="cubic-bezier(0.0, 0, 0.2, 1)",$n="cubic-bezier(0.4, 0, 1, 1)",q=y({tag:{type:[String,Object,Function],default:"div"}},"tag"),Dt=y({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ne=N(!1)({name:"VDefaultsProvider",props:Dt(),setup(e,t){let{slots:n}=t;const{defaults:s,disabled:i,reset:a,root:o,scoped:r}=vt(e);return Ie(s,{reset:a,root:o,scoped:r,disabled:i}),()=>n.default?.()}}),Wt=y({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ft(e){return{dimensionStyles:b(()=>{const n={},s=C(e.height),i=C(e.maxHeight),a=C(e.maxWidth),o=C(e.minHeight),r=C(e.minWidth),l=C(e.width);return s!=null&&(n.height=s),i!=null&&(n.maxHeight=i),a!=null&&(n.maxWidth=a),o!=null&&(n.minHeight=o),r!=null&&(n.minWidth=r),l!=null&&(n.width=l),n})}}function he(e){return Le(()=>{const t=W(e),n=[],s={};if(t.background)if(we(t.background)){if(s.backgroundColor=t.background,!t.text&&mt(t.background)){const i=gt(t.background);if(i.a==null||i.a===1){const a=ht(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 o of String(s).split(" "))a.push(`rounded-${o}`);else(i||s===!1)&&a.push("rounded-0");return a})}}const zn=y({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),On=(e,t)=>{let{slots:n}=t;const{transition:s,disabled:i,group:a,...o}=e,{component:r=a?bt:Te,...l}=ue(s)?s:{};let c;return ue(s)?c=X(l,yt({disabled:i,group:a}),o):c=X({name:i||!s?"":s},o),pt(r,c,n)};function Ht(e,t){if(!Re)return;const n=t.modifiers||{},s=t.value,{handler:i,options:a}=typeof s=="object"?s:{handler:s,options:{}},o=new IntersectionObserver(function(){let r=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=r.some(m=>m.isIntersecting);i&&(!n.quiet||c.init)&&(!n.once||f||c.init)&&i(f,r,l),f&&n.once?qe(e,t):c.init=!0},a);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:o},o.observe(e)}function qe(e,t){const n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const An={mounted:Ht,unmounted:qe},je=y({border:[Boolean,Number,String]},"border");function Xe(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 Ue=y({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Ye(e){return{elevationClasses:g(()=>{const n=le(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const Mt=["elevated","flat","tonal","outlined","text","plain"];function Gt(e,t){return S(Ct,null,[e&&S("span",{key:"overlay",class:k(`${t}__overlay`)},null),S("span",{key:"underlay",class:k(`${t}__underlay`)},null)])}const Ke=y({color:String,variant:{type:String,default:"elevated",validator:e=>Mt.includes(e)}},"variant");function qt(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:o}=W(e);return{[["elevated","flat"].includes(a)?"background":"text"]:o}});return{colorClasses:s,colorStyles:i,variantClasses:n}}const jt=[null,"default","comfortable","compact"],Je=y({density:{type:String,default:"default",validator:e=>jt.includes(e)}},"density");function Ze(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{densityClasses:g(()=>`${t}--density-${e.density}`)}}const Qe=y({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...je(),...G(),...Je(),...Ue(),...be(),...q(),...M(),...Ke()},"VBtnGroup"),ke=N()({name:"VBtnGroup",props:Qe(),setup(e,t){let{slots:n}=t;const{themeClasses:s}=K(e),{densityClasses:i}=Ze(e),{borderClasses:a}=Xe(e),{elevationClasses:o}=Ye(e),{roundedClasses:r}=ye(e);Ie({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,o.value,r.value,e.class]),style:L(e.style)},n))}}),Xt=y({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Ut=y({value:null,disabled:Boolean,selectedClass:String},"group-item");function Yt(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=wt();Ne(Symbol.for(`${t.description}:id`),i);const a=St(t,null);if(!a){if(!n)return a;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const o=g(()=>e.value),r=b(()=>!!(a.disabled.value||e.disabled));a.register({id:i,value:o,disabled:r},s),$e(()=>{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:o,disabled:r,group:a}}function Kt(e,t){let n=!1;const s=ce([]),i=ze(e,"modelValue",[],u=>u==null?[]:et(s,kt(u)),u=>{const v=Zt(s,u);return e.multiple?v:v[0]}),a=J("useGroup");function o(u,v){const p=u,d=Symbol.for(`${t.description}:id`),w=Bt(d,a?.vnode).indexOf(v);Pt(p.value)==null&&(p.value=w,p.useIndexAsValue=!0),w>-1?s.splice(w,0,p):s.push(p)}function r(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])}xt(()=>{l()}),$e(()=>{n=!0}),_t(()=>{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(V=>V===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:o,unregister:r,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=>Jt(s,u)};return Ne(t,m),m}function Jt(e,t){const n=et(e,[t]);return n.length?e.findIndex(s=>s.id===n[0]):-1}function et(e,t){const n=[];return t.forEach(s=>{const i=e.find(o=>Oe(s,o.value)),a=e[s];i?.value!=null?n.push(i.id):a!=null&&n.push(a.id)}),n}function Zt(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 tt=Symbol.for("vuetify:v-btn-toggle"),Qt=y({...Qe(),...Xt()},"VBtnToggle");N()({name:"VBtnToggle",props:Qt(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:s,next:i,prev:a,select:o,selected:r}=Kt(e,tt);return D(()=>{const l=ke.filterProps(e);return _(ke,X({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>[n.default?.({isSelected:s,next:i,prev:a,select:o,selected:r})]})}),{next:i,prev:a,select:o}}});const en=["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 Le(()=>{const n=e.size;let s,i;return j(en,n)?s=`${t}--size-${n}`:n&&(i={width:C(n),height:C(n)}),{sizeClasses:s,sizeStyles:i}})}const tn=y({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:de,opacity:[String,Number],...G(),...pe(),...q({tag:"i"}),...M()},"VIcon"),ae=N()({name:"VIcon",props:tn(),setup(e,t){let{attrs:n,slots:s}=t;const i=Ae(),{themeClasses:a}=Vt(),{iconData:o}=Et(()=>i.value||e.icon),{sizeClasses:r}=Ce(e),{textColorClasses:l,textColorStyles:c}=U(()=>e.color);return D(()=>{const f=s.default?.();f&&(i.value=It(f).filter(u=>u.type===Lt&&u.children&&typeof u.children=="string")[0]?.children);const m=!!(n.onClick||n.onClickOnce);return _(o.value.component,{tag:e.tag,icon:o.value.icon,class:k(["v-icon","notranslate",a.value,r.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},r.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 nt(e,t){const n=De(),s=Ae(!1);if(Re){const i=new IntersectionObserver(a=>{s.value=!!a.find(o=>o.isIntersecting)},t);We(()=>{i.disconnect()}),ge(n,(a,o)=>{o&&(i.unobserve(o),s.value=!1),a&&i.observe(a)},{flush:"post"})}return{intersectionRef:n,isIntersecting:s}}const nn=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(),...q({tag:"div"}),...M()},"VProgressCircular"),sn=N()({name:"VProgressCircular",props:nn(),setup(e,t){let{slots:n}=t;const s=20,i=2*Math.PI*s,a=De(),{themeClasses:o}=K(e),{sizeClasses:r,sizeStyles:l}=Ce(e),{textColorClasses:c,textColorStyles:f}=U(()=>e.color),{textColorClasses:m,textColorStyles:u}=U(()=>e.bgColor),{intersectionRef:v,isIntersecting:p}=nt(),{resizeRef:d,contentRect:h}=Tt(),w=g(()=>fe(parseFloat(e.modelValue),0,100)),V=g(()=>Number(e.width)),E=g(()=>l.value?Number(e.size):h.value?h.value.width:Math.max(V.value,32)),P=g(()=>s/(1-V.value/E.value)*2),T=g(()=>V.value/E.value*P.value),z=g(()=>C((100-w.value)/100*i));return Rt(()=>{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"},o.value,r.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 ${P.value} ${P.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})])]})),{}}}),Be={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},st=y({location:String},"location");function at(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:s}=Fe();return{locationStyles:b(()=>{if(!e.location)return{};const{side:a,align:o}=At(e.location.split(" ").length>1?e.location:`${e.location} center`,s.value);function r(c){return n?n(c):0}const l={};return a!=="center"&&(t?l[Be[a]]=`calc(100% - ${r(a)}px)`:l[a]=0),o!=="center"?t?l[Be[o]]=`calc(100% - ${r(o)}px)`:l[o]=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 an=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(),...st({location:"top"}),...be(),...q(),...M()},"VProgressLinear"),on=N()({name:"VProgressLinear",props:an(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const s=ze(e,"modelValue"),{isRtl:i,rtlClasses:a}=Fe(),{themeClasses:o}=K(e),{locationStyles:r}=at(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:V}=nt(),E=b(()=>parseFloat(e.max)),P=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=He&&window.matchMedia?.("(forced-colors: active)").matches;function Q(x){if(!w.value)return;const{left:ee,right:te,width:A}=w.value.getBoundingClientRect(),ft=I.value?A-x.clientX+(te-A):x.clientX-ee;s.value=Math.round(ft/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&&V.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,o.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(P.value):0,"--v-progress-linear-height":C(P.value),...e.absolute?r.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(-P.value),borderTop:`${C(P.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${C(P.value/4)})`,width:C(100-T.value,"%"),"--v-progress-linear-stream-to":C(P.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),_(Te,{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 ln(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{loaderClasses:g(()=>({[`${t}--loading`]:e.loading}))}}function Dn(e,t){let{slots:n}=t;return S("div",{class:k(`${e.name}__loader`)},[n.default?.({color:e.color,isActive:e.active})||_(on,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const un=["static","relative","fixed","absolute","sticky"],cn=y({position:{type:String,validator:e=>un.includes(e)}},"position");function dn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$();return{positionClasses:g(()=>e.position?`${t}--${e.position}`:void 0)}}function fn(){const e=J("useRoute");return b(()=>e?.proxy?.$route)}function Wn(){return J("useRouter")?.proxy?.$router}function vn(e,t){const n=Nt("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)}),o=b(()=>e.to?a:void 0),r=fn(),l=b(()=>o.value?e.exact?r.value?o.value.isExactActive?.value&&Oe(o.value.route.value.query,r.value.query):o.value.isExactActive?.value??!1:o.value.isActive?.value??!1:!1),c=b(()=>e.to?o.value?.route.value.href:e.href);return{isLink:s,isClickable:i,isActive:l,route:o.value?.route,navigate:o.value?.navigate,href:c,linkProps:ce({href:c,"aria-current":g(()=>l.value?"page":void 0)})}}const mn=y({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let ie=!1;function Fn(e,t){let n=!1,s,i;He&&e?.beforeEach&&(Me(()=>{window.addEventListener("popstate",a),s=e.beforeEach((o,r,l)=>{ie?n?t(l):l():setTimeout(()=>n?t(l):l()),ie=!0}),i=e?.afterEach(()=>{ie=!1})}),We(()=>{window.removeEventListener("popstate",a),s?.(),i?.()}));function a(o){o.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function gn(e,t){ge(()=>e.isActive?.value,n=>{e.isLink.value&&n!=null&&t&&Me(()=>{t(n)})},{immediate:!0})}const ve=Symbol("rippleStop"),hn=80;function Pe(e,t){e.style.transform=t,e.style.webkitTransform=t}function me(e){return e.constructor.name==="TouchEvent"}function it(e){return e.constructor.name==="KeyboardEvent"}const bn=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=0,i=0;if(!it(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,o=.3;t._ripple?.circle?(o=.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 r=`${(t.clientWidth-a*2)/2}px`,l=`${(t.clientHeight-a*2)/2}px`,c=n.center?r:`${s-a}px`,f=n.center?l:`${i-a}px`;return{radius:a,scale:o,x:c,y:f,centerX:r,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:o,x:r,y:l,centerX:c,centerY:f}=bn(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"),Pe(i,`translate(${r}, ${l}) scale3d(${o},${o},${o})`),i.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Pe(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 ot(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||it(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)},hn)}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 Ee(e,t){!H&&t.includes(e.keyCode)&&(H=!0,F(e))}function lt(e){H=!1,B(e)}function ut(e){H&&(H=!1,B(e))}function ct(e,t,n){const{value:s,modifiers:i}=t,a=ot(s);a||Y.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=a,e._ripple.centered=i.center,e._ripple.circle=i.circle;const o=ue(s)?s:{};o.class&&(e._ripple.class=o.class);const r=o.keys??[xe.enter,xe.space];if(e._ripple.keyDownHandler=l=>Ee(l,r),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=>Ee(l,r)),e.addEventListener("keyup",lt),e.addEventListener("blur",ut),e.addEventListener("dragstart",B,{passive:!0})}else!a&&n&&dt(e)}function dt(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",lt),e.removeEventListener("dragstart",B),e.removeEventListener("blur",ut)}function yn(e,t){ct(e,t,!1)}function pn(e){dt(e),delete e._ripple}function Cn(e,t){if(t.value===t.oldValue)return;const n=ot(t.oldValue);ct(e,t,n)}const wn={mounted:yn,unmounted:pn,updated:Cn},Sn=y({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:tt},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(),...Je(),...Wt(),...Ue(),...Ut(),...rn(),...st(),...cn(),...be(),...mn(),...pe(),...q({tag:"button"}),...M(),...Ke({variant:"elevated"})},"VBtn"),Hn=N()({name:"VBtn",props:Sn(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:s}=t;const{themeClasses:i}=K(e),{borderClasses:a}=Xe(e),{densityClasses:o}=Ze(e),{dimensionStyles:r}=Ft(e),{elevationClasses:l}=Ye(e),{loaderClasses:c}=ln(e),{locationStyles:f}=at(e),{positionClasses:m}=dn(e),{roundedClasses:u}=ye(e),{sizeClasses:v,sizeStyles:p}=Ce(e),d=Yt(e,e.symbol,!1),h=vn(e,n),w=b(()=>e.active!==void 0?e.active:h.isLink.value?h.isActive?.value:d?.isSelected.value),V=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?V.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:P,colorStyles:T,variantClasses:z}=qt(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 gn(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 $t(_(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,P.value,o.value,l.value,c.value,m.value,u.value,v.value,z.value,e.class],style:[T.value,r.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:()=>[Gt(!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?.()??zt(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?.()??_(sn,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}),[[wn,!I.value&&e.ripple,"",{center:!!e.icon}]])}),{group:d}}}),oe=Symbol("Forwarded refs");function re(e,t){let n=e;for(;n;){const s=Reflect.getOwnPropertyDescriptor(n,t);if(s)return s;n=Object.getPrototypeOf(n)}}function Mn(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[oe]=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 o of n)if(o.value&&Reflect.has(o.value,a)){const r=Reflect.get(o.value,a);return typeof r=="function"?r.bind(o.value):r}}},has(i,a){if(Reflect.has(i,a))return!0;if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,a))return!0;return!1},set(i,a,o){if(Reflect.has(i,a))return Reflect.set(i,a,o);if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const r of n)if(r.value&&Reflect.has(r.value,a))return Reflect.set(r.value,a,o);return!1},getOwnPropertyDescriptor(i,a){const o=Reflect.getOwnPropertyDescriptor(i,a);if(o)return o;if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const r of n){if(!r.value)continue;const l=re(r.value,a)??("_"in r.value?re(r.value._?.setupState,a):void 0);if(l)return l}for(const r of n){const l=r.value&&r.value[oe];if(!l)continue;const c=l.slice();for(;c.length;){const f=c.shift(),m=re(f.value,a);if(m)return m;const u=f.value&&f.value[oe];u&&c.push(...u)}}}}})}export{Vn as $,Ut as A,Ke as B,Wn as C,_e as D,ln as E,sn as F,pe as G,Xt as H,An as I,rn as J,Ce as K,Dn as L,On as M,Gt as N,Ln as O,$n as P,Nn as Q,wn as R,En as S,At as T,_n as U,Hn as V,kn as W,Bn as X,R as Y,In as Z,Pn as _,Tn as a,Fn as a0,Ze as b,se as c,q as d,Je as e,Mn as f,vn as g,mn as h,ye as i,be as j,ae as k,ne as l,Sn as m,on as n,Ft as o,zn as p,Wt as q,Xe as r,Rn as s,Ye as t,U as u,Ue as v,je as w,qt as x,Kt as y,Yt as z};