@camera.ui/server 0.0.13-alpha.1 → 0.0.13-alpha.4

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.
Files changed (146) hide show
  1. package/dist/interface/assets/@mdi-DdmeckA1.js +1 -0
  2. package/dist/interface/assets/{@tanstack-CBqECT9Y.js → @tanstack-BRh6vUDU.js} +1 -1
  3. package/dist/interface/assets/{@vee-validate-CWdaG3kt.js → @vee-validate-aIk5PQoc.js} +1 -1
  4. package/dist/interface/assets/{@vue-DL9UVr_o.js → @vue-CHoPEscU.js} +1 -1
  5. package/dist/interface/assets/{@vueform-8UOOtZD4.js → @vueform-CEy-r2-e.js} +1 -1
  6. package/dist/interface/assets/{@vueuse-Dir68MUw.js → @vueuse-Ty7ydkJu.js} +1 -1
  7. package/dist/interface/assets/@xterm-LO7TPXYg.js +66 -0
  8. package/dist/interface/assets/{Account-DIyLTayx.js → Account-DIag_fJb.js} +1 -1
  9. package/dist/interface/assets/{Adminpanel-HbC8CMrH.js → Adminpanel-3UQD7k83.js} +2 -2
  10. package/dist/interface/assets/{Appearance-D7jOLM0M.js → Appearance-DyPCFCcA.js} +1 -1
  11. package/dist/interface/assets/Backup-BIwaSlv3.css +1 -0
  12. package/dist/interface/assets/{Backup-2hg7N8bX.js → Backup-B_md0hEE.js} +1 -1
  13. package/dist/interface/assets/{Camera-CzsBQTrn.js → Camera-RYKuJlEk.js} +1 -1
  14. package/dist/interface/assets/Cameras-C04Bv4eW.js +1 -0
  15. package/dist/interface/assets/Cameras-CW-HYbQa.css +1 -0
  16. package/dist/interface/assets/{Camview-CWTrsoY0.css → Camview-DGzPDs8l.css} +1 -1
  17. package/dist/interface/assets/{Camview-rK8gAIq1.js → Camview-cHy9U5Au.js} +1 -1
  18. package/dist/interface/assets/Config-BoMvRU2R.js +1 -0
  19. package/dist/interface/assets/Config-DahKsDli.css +1 -0
  20. package/dist/interface/assets/Console-DdfiafPz.css +1 -0
  21. package/dist/interface/assets/Console-DpF86XdY.js +4 -0
  22. package/dist/interface/assets/FirstSteps-43_Gw1p8.css +1 -0
  23. package/dist/interface/assets/FirstSteps-bb9JvbeK.js +1 -0
  24. package/dist/interface/assets/{NewCamera-CaZ8KccU.js → NewCamera-C19Y-MPI.js} +2 -2
  25. package/dist/interface/assets/NewCamera-DwPA4h8M.css +1 -0
  26. package/dist/interface/assets/Plugin-BgukgsPs.css +1 -0
  27. package/dist/interface/assets/{Plugin-C6LSJToC.js → Plugin-QDo9itJL.js} +1 -1
  28. package/dist/interface/assets/Plugins-Ca9wwgSE.css +1 -0
  29. package/dist/interface/assets/Plugins-DreFX0ds.js +1 -0
  30. package/dist/interface/assets/Recordings-B3hIlCpR.js +1 -0
  31. package/dist/interface/assets/Recordings-CWgcAA57.js +1 -0
  32. package/dist/interface/assets/Settings-BJ3dhoG6.js +1 -0
  33. package/dist/interface/assets/{Settings-B4CtAGoD.css → Settings-DMsesqQj.css} +1 -1
  34. package/dist/interface/assets/System-DkejFIOg.js +4 -0
  35. package/dist/interface/assets/User-BHWFyck9.css +1 -0
  36. package/dist/interface/assets/User-_5hrGMI-.js +1 -0
  37. package/dist/interface/assets/{VConfigEditor.vue_vue_type_script_setup_true_lang-CqJmioUl.js → VConfigEditor.vue_vue_type_script_setup_true_lang-C9bbpAse.js} +2 -2
  38. package/dist/interface/assets/VConsole-BZT1WyS-.css +1 -0
  39. package/dist/interface/assets/VConsole-UsuKdCF6.js +1 -0
  40. package/dist/interface/assets/VPlayer-6KqHadcW.js +1 -0
  41. package/dist/interface/assets/{VPlayer-CJu9D4Ha.css → VPlayer-BrBIxnlC.css} +1 -1
  42. package/dist/interface/assets/VPluginCard-D4bre1hy.js +4 -0
  43. package/dist/interface/assets/VPluginCard-EcierHZ1.css +1 -0
  44. package/dist/interface/assets/{ace-builds-CigWTak4.js → ace-builds-Jtyk_kwI.js} +1 -1
  45. package/dist/interface/assets/{axios--Jv2L996.js → axios-BI2i94Vb.js} +1 -1
  46. package/dist/interface/assets/{draggabilly-Arakw9Dk.js → draggabilly-YEGzHR3_.js} +1 -1
  47. package/dist/interface/assets/{ev-emitter-CXYwG0eJ.js → ev-emitter-t78oQA8k.js} +1 -1
  48. package/dist/interface/assets/{fast-deep-equal-5pvsDbwX.js → fast-deep-equal-Bs1__Kao.js} +1 -1
  49. package/dist/interface/assets/{highlight.js-TxRCSjhv.js → highlight.js-fBaokXp-.js} +1 -1
  50. package/dist/interface/assets/main-Bbvif0oi.js +9 -0
  51. package/dist/interface/assets/main-CHMPMUzx.css +1 -0
  52. package/dist/interface/assets/{nprogress-DSyAi0LF.js → nprogress-QK5AFhFr.js} +1 -1
  53. package/dist/interface/assets/{pinia-DvQcsQmR.js → pinia-B42WbXFS.js} +1 -1
  54. package/dist/interface/assets/{plugins-CMB4ORW-.js → plugins-BVTgiMCC.js} +1 -1
  55. package/dist/interface/assets/{system-N-zgarul.js → system-DzN6086S.js} +1 -1
  56. package/dist/interface/assets/{ui-buWmfohM.js → ui-s9WkyTXF.js} +1 -1
  57. package/dist/interface/assets/{unidragger-BYtqgAQ0.js → unidragger-91TYirAP.js} +1 -1
  58. package/dist/interface/assets/{v-calendar-CghEhjvD.js → v-calendar-DI1KYDXS.js} +1 -1
  59. package/dist/interface/assets/{vee-validate-PbgW_0me.js → vee-validate-Bcyi_7NV.js} +1 -1
  60. package/dist/interface/assets/{vue-i18n-DYaQP6Tc.js → vue-i18n-COBHesGQ.js} +1 -1
  61. package/dist/interface/assets/{vue-inline-svg-DZpyzRHr.js → vue-inline-svg-Dk2QTAg8.js} +1 -1
  62. package/dist/interface/assets/{vue-router-DWO1Myem.js → vue-router-C1SPCwo7.js} +1 -1
  63. package/dist/interface/assets/{vue3-apexcharts-rlKvKWKE.js → vue3-apexcharts-D1DBkA4f.js} +1 -1
  64. package/dist/interface/assets/{vue3-dnd-Kv-U-2jL.js → vue3-dnd-CB0hw1gI.js} +1 -1
  65. package/dist/interface/assets/{vue3-toastify-Dw-XOd2Z.js → vue3-toastify-DSsDwESL.js} +1 -1
  66. package/dist/interface/assets/{vuetify-B9MADlxz.js → vuetify-Bs5zynkb.js} +1 -1
  67. package/dist/interface/index.html +18 -18
  68. package/dist/interface/sw.js +1 -1
  69. package/dist/server/bin/cameraui.d.ts +0 -1
  70. package/dist/server/bin/cameraui.js +1 -3
  71. package/dist/server/bin/cameraui.js.map +1 -1
  72. package/dist/server/bin/fork.js +5 -2
  73. package/dist/server/bin/fork.js.map +1 -1
  74. package/dist/server/bin/installer/linux.d.ts +1 -0
  75. package/dist/server/bin/installer/linux.js +27 -7
  76. package/dist/server/bin/installer/linux.js.map +1 -1
  77. package/dist/server/package.json +3 -3
  78. package/dist/server/src/api/controllers/system.controller.js +1 -3
  79. package/dist/server/src/api/controllers/system.controller.js.map +1 -1
  80. package/dist/server/src/api/plugins/system.plugin.d.ts +0 -3
  81. package/dist/server/src/api/plugins/system.plugin.js +3 -11
  82. package/dist/server/src/api/plugins/system.plugin.js.map +1 -1
  83. package/dist/server/src/api/websocket/index.d.ts +1 -0
  84. package/dist/server/src/api/websocket/index.js +6 -0
  85. package/dist/server/src/api/websocket/index.js.map +1 -1
  86. package/dist/server/src/camera/controller.d.ts +3 -1
  87. package/dist/server/src/camera/controller.js +6 -0
  88. package/dist/server/src/camera/controller.js.map +1 -1
  89. package/dist/server/src/camera/index.d.ts +3 -7
  90. package/dist/server/src/camera/index.js +10 -7
  91. package/dist/server/src/camera/index.js.map +1 -1
  92. package/dist/server/src/camera/interfaces/camera.d.ts +1 -1
  93. package/dist/server/src/camera/interfaces/prebuffer.js +2 -2
  94. package/dist/server/src/camera/interfaces/prebuffer.js.map +1 -1
  95. package/dist/server/src/camera/types.d.ts +8 -2
  96. package/dist/server/src/camera/types.js.map +1 -1
  97. package/dist/server/src/go2rtc/index.js +1 -1
  98. package/dist/server/src/go2rtc/index.js.map +1 -1
  99. package/dist/server/src/nats/proxy/cameraDevice.d.ts +4 -9
  100. package/dist/server/src/nats/proxy/cameraDevice.js +47 -15
  101. package/dist/server/src/nats/proxy/cameraDevice.js.map +1 -1
  102. package/dist/server/src/nats/proxy/deviceManager.js +1 -2
  103. package/dist/server/src/nats/proxy/deviceManager.js.map +1 -1
  104. package/dist/server/src/nats/types.d.ts +12 -5
  105. package/dist/server/src/plugins/index.js +1 -1
  106. package/dist/server/src/plugins/index.js.map +1 -1
  107. package/dist/server/src/polyglot/node/plugins/child.js +2 -4
  108. package/dist/server/src/polyglot/node/plugins/child.js.map +1 -1
  109. package/dist/server/src/polyglot/node/plugins/proxy/cameraDevice.js +6 -4
  110. package/dist/server/src/polyglot/node/plugins/proxy/cameraDevice.js.map +1 -1
  111. package/dist/server/src/polyglot/python/camera/interfaces/camera.py +1 -1
  112. package/dist/server/src/polyglot/python/camera_ui_types/__init__.py +2 -2
  113. package/dist/server/src/polyglot/python/plugins/child.py +4 -8
  114. package/dist/server/src/polyglot/python/plugins/proxy/camera_device.py +10 -10
  115. package/dist/server/src/services/config/index.js +24 -1
  116. package/dist/server/src/services/config/index.js.map +1 -1
  117. package/package.json +3 -3
  118. package/dist/interface/assets/@mdi-CmcijEFB.js +0 -1
  119. package/dist/interface/assets/@xterm-B4Ga69iL.js +0 -9
  120. package/dist/interface/assets/Backup-DBv9xFPh.css +0 -1
  121. package/dist/interface/assets/Cameras-BsFSPUqe.js +0 -1
  122. package/dist/interface/assets/Cameras-Du4Q1fbV.css +0 -1
  123. package/dist/interface/assets/Config-CfhTfiRn.css +0 -1
  124. package/dist/interface/assets/Config-DLeBAE_a.js +0 -1
  125. package/dist/interface/assets/Console-CJPb2CoP.css +0 -1
  126. package/dist/interface/assets/Console-DUMi6dpk.js +0 -4
  127. package/dist/interface/assets/FirstSteps-CXJW46_r.css +0 -1
  128. package/dist/interface/assets/FirstSteps-DiJrcnu3.js +0 -1
  129. package/dist/interface/assets/NewCamera-XducYkxQ.css +0 -1
  130. package/dist/interface/assets/Plugin-DzKKCoqQ.css +0 -1
  131. package/dist/interface/assets/Plugins-OYudBc-U.css +0 -1
  132. package/dist/interface/assets/Plugins-Vi-pGdZ9.js +0 -1
  133. package/dist/interface/assets/Recordings-DS0l39MO.js +0 -1
  134. package/dist/interface/assets/Recordings-goAd_BPx.js +0 -1
  135. package/dist/interface/assets/Settings-DEb_eHGS.js +0 -1
  136. package/dist/interface/assets/System-DgUHNQS1.js +0 -4
  137. package/dist/interface/assets/System-sfhoKWOV.css +0 -1
  138. package/dist/interface/assets/User-BAxYeQHr.js +0 -1
  139. package/dist/interface/assets/User-DBVny1Dv.css +0 -1
  140. package/dist/interface/assets/VConsole-CCrJQT3v.js +0 -1
  141. package/dist/interface/assets/VConsole-Ce_ESyGu.css +0 -1
  142. package/dist/interface/assets/VPlayer-Bpk-n5Iq.js +0 -1
  143. package/dist/interface/assets/VPluginCard-B2NnTL3V.js +0 -4
  144. package/dist/interface/assets/VPluginCard-Dom2ud4Q.css +0 -1
  145. package/dist/interface/assets/main-B0_ewtlD.css +0 -1
  146. package/dist/interface/assets/main-DGpiuR7E.js +0 -9
@@ -0,0 +1 @@
1
+ var H="M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M16.5,16.25C16.5,14.75 13.5,14 12,14C10.5,14 7.5,14.75 7.5,16.25V17H16.5M12,12.25A2.25,2.25 0 0,0 14.25,10A2.25,2.25 0 0,0 12,7.75A2.25,2.25 0 0,0 9.75,10A2.25,2.25 0 0,0 12,12.25Z",V="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7.07,18.28C7.5,17.38 10.12,16.5 12,16.5C13.88,16.5 16.5,17.38 16.93,18.28C15.57,19.36 13.86,20 12,20C10.14,20 8.43,19.36 7.07,18.28M18.36,16.83C16.93,15.09 13.46,14.5 12,14.5C10.54,14.5 7.07,15.09 5.64,16.83C4.62,15.5 4,13.82 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,13.82 19.38,15.5 18.36,16.83M12,6C10.06,6 8.5,7.56 8.5,9.5C8.5,11.44 10.06,13 12,13C13.94,13 15.5,11.44 15.5,9.5C15.5,7.56 13.94,6 12,6M12,11A1.5,1.5 0 0,1 10.5,9.5A1.5,1.5 0 0,1 12,8A1.5,1.5 0 0,1 13.5,9.5A1.5,1.5 0 0,1 12,11Z",L="M21.7,13.35L20.7,14.35L18.65,12.3L19.65,11.3C19.86,11.09 20.21,11.09 20.42,11.3L21.7,12.58C21.91,12.79 21.91,13.14 21.7,13.35M12,18.94L18.06,12.88L20.11,14.93L14.06,21H12V18.94M12,14C7.58,14 4,15.79 4,18V20H10V18.11L14,14.11C13.34,14.03 12.67,14 12,14M12,4A4,4 0 0,0 8,8A4,4 0 0,0 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4Z",C="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z",M="M2,2H11V11H2V2M9,4H4V9H9V4M22,13V22H13V13H22M15,20H20V15H15V20M16,8V11H13V8H16M11,16H8V13H11V16Z",a="M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22M12,7L7,12H10V16H14V12H17L12,7Z",A="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z",i="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21",r="M3 16C3 18.8 5.2 21 8 21H10V19H8C6.3 19 5 17.7 5 16V14H3V16M21 8C21 5.2 18.8 3 16 3H14V5H16C17.7 5 19 6.3 19 8V10H21V8M16 21C18.8 21 21 18.8 21 16V14H19V16C19 17.7 17.7 19 16 19H14V21H16M8 3C5.2 3 3 5.2 3 8V10H5V8C5 6.3 6.3 5 8 5H10V3H8Z",s="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z",d="M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M20,18H4V6H8.05L9.88,4H14.12L15.95,6H20V18M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15Z",e="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z",m="M21 15V18H24V20H21V23H19V20H16V18H19V15H21M14 18H3V6H19V13H21V6C21 4.89 20.11 4 19 4H3C1.9 4 1 4.89 1 6V18C1 19.11 1.9 20 3 20H14V18Z",v="M14.5 12C14.5 10.62 13.38 9.5 12 9.5C10.62 9.5 9.5 10.62 9.5 12C9.5 13 10.09 13.84 10.93 14.25L9.82 15.35C8.73 14.64 8 13.41 8 12C8 9.79 9.79 8 12 8C14.21 8 16 9.79 16 12C16 13.41 15.27 14.64 14.18 15.35L13.08 14.25C13.92 13.84 14.5 13 14.5 12M12 2C6.5 2 2 6.5 2 12C2 15.06 3.38 17.8 5.54 19.63L6.61 18.57C4.71 17 3.5 14.64 3.5 12C3.5 7.31 7.31 3.5 12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 14.64 19.29 17 17.39 18.57L18.46 19.63C20.62 17.79 22 15.06 22 12C22 6.5 17.5 2 12 2M19 12C19 8.13 15.87 5 12 5C8.13 5 5 8.13 5 12C5 14.23 6.05 16.22 7.68 17.5L8.75 16.43C7.39 15.42 6.5 13.82 6.5 12C6.5 8.97 8.97 6.5 12 6.5C15.03 6.5 17.5 8.97 17.5 12C17.5 13.82 16.61 15.42 15.25 16.43L16.33 17.5C17.95 16.22 19 14.23 19 12M6 22H18L12 16L6 22Z",Z="M6.03 12.03L8.03 15.5L5.5 18.68L2 12.62L6.03 12.03M17 18V15.29C17.88 14.9 18.5 14.03 18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L8.31 9C7.36 9.53 7.03 10.75 7.58 11.71L9.08 14.31C9.63 15.26 10.86 15.59 11.81 15.04L13.69 13.96C13.94 14.55 14.41 15.03 15 15.29V18C15 19.1 15.9 20 17 20H22V18H17Z",o="M20.84 22.73L18.11 20H17C15.9 20 15 19.1 15 18V16.89L12.66 14.55L11.81 15.04C10.86 15.59 9.63 15.26 9.08 14.31L7.58 11.71C7.18 11 7.25 10.18 7.68 9.57L1.11 3L2.39 1.73L22.11 21.46L20.84 22.73M18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L10.77 7.57L17.86 14.66C18.26 14.22 18.5 13.64 18.5 13M2 12.62L5.5 18.68L8.03 15.5L6.03 12.03L2 12.62Z",t="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",n="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",l="M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V5H19V19M17,17H7V7H17V17Z",c="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",u="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",S="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",h="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",f="M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z",g="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",O="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",p="M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z",P="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",R="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z",k="M20,19V7H4V19H20M20,3A2,2 0 0,1 22,5V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V5C2,3.89 2.9,3 4,3H20M13,17V15H18V17H13M9.58,13L5.57,9H8.4L11.7,12.3C12.09,12.69 12.09,13.33 11.7,13.72L8.42,17H5.59L9.58,13Z",w="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",y="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",B="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",D="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",U="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",E="M9,3H11V5H9V3M13,3H15V5H13V3M9,7H11V9H9V7M13,7H15V9H13V7M9,11H11V13H9V11M13,11H15V13H13V11M9,15H11V17H9V15M13,15H15V17H13V15M9,19H11V21H9V19M13,19H15V21H13V19Z",I="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z",T="M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z",x="M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14M11.5,3C14.15,3 16.55,4 18.4,5.6L21,3V10H14L16.62,7.38C15.23,6.22 13.46,5.5 11.5,5.5C7.96,5.5 4.95,7.81 3.9,11L1.53,10.22C2.92,6.03 6.85,3 11.5,3Z",z="M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z",b="M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z",F="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z",G="M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4C2.92,22 2,21.1 2,20V4A2,2 0 0,1 4,2M4,4V11H11V4H4M4,20H11V13H4V20M20,20V13H13V20H20M20,4H13V11H20V4Z",W="M22,16V4A2,2 0 0,0 20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16M11,12L13.03,14.71L16,11L20,16H8M2,6V20A2,2 0 0,0 4,22H18V20H4V6",N="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",j="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",q="M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z",Q="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",J="M14.08,15.59L16.67,13H7V11H16.67L14.08,8.41L15.5,7L20.5,12L15.5,17L14.08,15.59M19,3A2,2 0 0,1 21,5V9.67L19,7.67V5H5V19H19V16.33L21,14.33V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19Z",K="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",X="M15.5,14L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5M9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14M12,10H10V12H9V10H7V9H9V7H10V9H12V10Z",Y="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z",_="M19,11C19,12.19 18.66,13.3 18.1,14.28L16.87,13.05C17.14,12.43 17.3,11.74 17.3,11H19M15,11.16L9,5.18V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V11L15,11.16M4.27,3L21,19.73L19.73,21L15.54,16.81C14.77,17.27 13.91,17.58 13,17.72V21H11V17.72C7.72,17.23 5,14.41 5,11H6.7C6.7,14 9.24,16.1 12,16.1C12.81,16.1 13.6,15.91 14.31,15.58L12.65,13.92L12,14A3,3 0 0,1 9,11V10.28L3,4.27L4.27,3Z",$="M19,13H5V11H19V13Z",H1="M21,16V4H3V16H21M21,2A2,2 0 0,1 23,4V16A2,2 0 0,1 21,18H14V20H16V22H8V20H10V18H3C1.89,18 1,17.1 1,16V4C1,2.89 1.89,2 3,2H21M5,6H14V11H5V6M15,6H19V8H15V6M19,9V14H15V9H19M5,12H9V14H5V12M10,12H14V14H10V12Z",V1="M2 12A10 10 0 0 0 15 21.54A10 10 0 0 1 15 2.46A10 10 0 0 0 2 12Z",L1="M21 10V9L15 3H5C3.89 3 3 3.89 3 5V19C3 20.11 3.9 21 5 21H11V19.13L19.39 10.74C19.83 10.3 20.39 10.06 21 10M14 4.5L19.5 10H14V4.5M22.85 14.19L21.87 15.17L19.83 13.13L20.81 12.15C21 11.95 21.33 11.95 21.53 12.15L22.85 13.47C23.05 13.67 23.05 14 22.85 14.19M19.13 13.83L21.17 15.87L15.04 22H13V19.96L19.13 13.83Z",C1="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",M1="M14,19H18V5H14M6,19H10V5H6V19Z",a1="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",A1="M3 17.25V21H6.75L17.81 9.93L14.06 6.18L3 17.25M22.61 18.36L18.36 22.61L13.16 17.41L14.93 15.64L15.93 16.64L18.4 14.16L19.82 15.58L18.36 17L19.42 18L20.84 16.6L22.61 18.36M6.61 10.83L1.39 5.64L5.64 1.39L7.4 3.16L4.93 5.64L6 6.7L8.46 4.22L9.88 5.64L8.46 7.05L9.46 8.05L6.61 10.83M20.71 7C21.1 6.61 21.1 6 20.71 5.59L18.37 3.29C18 2.9 17.35 2.9 16.96 3.29L15.12 5.12L18.87 8.87L20.71 7Z",i1="M19,11H11V17H19V11M23,19V5C23,3.88 22.1,3 21,3H3A2,2 0 0,0 1,5V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19M21,19H3V4.97H21V19Z",r1="M8,5.14V19.14L19,12.14L8,5.14Z",s1="M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",d1="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",e1="M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",m1="M16.56,5.44L15.11,6.89C16.84,7.94 18,9.83 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12C6,9.83 7.16,7.94 8.88,6.88L7.44,5.44C5.36,6.88 4,9.28 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,9.28 18.64,6.88 16.56,5.44M13,3H11V13H13",v1="M20.5,11H19V7C19,5.89 18.1,5 17,5H13V3.5A2.5,2.5 0 0,0 10.5,1A2.5,2.5 0 0,0 8,3.5V5H4A2,2 0 0,0 2,7V10.8H3.5C5,10.8 6.2,12 6.2,13.5C6.2,15 5,16.2 3.5,16.2H2V20A2,2 0 0,0 4,22H7.8V20.5C7.8,19 9,17.8 10.5,17.8C12,17.8 13.2,19 13.2,20.5V22H17A2,2 0 0,0 19,20V16H20.5A2.5,2.5 0 0,0 23,13.5A2.5,2.5 0 0,0 20.5,11Z",Z1="M4,6V19H20V6H4Z",o1="M4,6V19H20V6H4M18,17H6V8H18V17Z",t1="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",n1="M12,4C14.1,4 16.1,4.8 17.6,6.3C20.7,9.4 20.7,14.5 17.6,17.6C15.8,19.5 13.3,20.2 10.9,19.9L11.4,17.9C13.1,18.1 14.9,17.5 16.2,16.2C18.5,13.9 18.5,10.1 16.2,7.7C15.1,6.6 13.5,6 12,6V10.6L7,5.6L12,0.6V4M6.3,17.6C3.7,15 3.3,11 5.1,7.9L6.6,9.4C5.5,11.6 5.9,14.4 7.8,16.2C8.3,16.7 8.9,17.1 9.6,17.4L9,19.4C8,19 7.1,18.4 6.3,17.6Z",l1="M12.5,3C17.15,3 21.08,6.03 22.47,10.22L20.1,11C19.05,7.81 16.04,5.5 12.5,5.5C10.54,5.5 8.77,6.22 7.38,7.38L10,10H3V3L5.6,5.6C7.45,4 9.85,3 12.5,3M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14Z",c1="M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12S8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5S19.66 2 18 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12S4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.34C15.11 18.55 15.08 18.77 15.08 19C15.08 20.61 16.39 21.91 18 21.91S20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08M18 4C18.55 4 19 4.45 19 5S18.55 6 18 6 17 5.55 17 5 17.45 4 18 4M6 13C5.45 13 5 12.55 5 12S5.45 11 6 11 7 11.45 7 12 6.55 13 6 13M18 20C17.45 20 17 19.55 17 19S17.45 18 18 18 19 18.45 19 19 18.55 20 18 20Z",u1="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9",S1="M20 2H4C2.9 2 2 2.9 2 4V16C2 17.11 2.9 18 4 18H8L12 22L16 18H20C21.11 18 22 17.11 22 16V4C22 2.9 21.11 2 20 2M10.46 14L6.96 10.5L8.37 9.08L10.46 11.17L15.64 6L17.05 7.41L10.46 14Z",h1="M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M11,6V9H8V11H11V14H13V11H16V9H13V6H11Z",f1="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z",g1="M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z",O1="M8 13C6.14 13 4.59 14.28 4.14 16H2V18H4.14C4.59 19.72 6.14 21 8 21S11.41 19.72 11.86 18H22V16H11.86C11.41 14.28 9.86 13 8 13M8 19C6.9 19 6 18.1 6 17C6 15.9 6.9 15 8 15S10 15.9 10 17C10 18.1 9.1 19 8 19M19.86 6C19.41 4.28 17.86 3 16 3S12.59 4.28 12.14 6H2V8H12.14C12.59 9.72 14.14 11 16 11S19.41 9.72 19.86 8H22V6H19.86M16 9C14.9 9 14 8.1 14 7C14 5.9 14.9 5 16 5S18 5.9 18 7C18 8.1 17.1 9 16 9Z",p1="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z",P1="M5.41,7.41L10,12L5.41,16.59L4,15.17L7.17,12L4,8.83L5.41,7.41M18.59,16.59L14,12L18.59,7.42L20,8.83L16.83,12L20,15.17L18.59,16.59Z",R1="M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",k1="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z",w1="M3.14,1A2.14,2.14 0 0,0 1,3.14V5H3V3H5V1H3.14M7,1V3H10V1H7M12,1V3H14V5H16V3.14C16,1.96 15.04,1 13.86,1H12M1,7V10H3V7H1M9,7C7.89,7 7,7.89 7,9C7,11.33 7,16 7,16C7,16 11.57,16 13.86,16A2.14,2.14 0 0,0 16,13.86C16,11.57 16,7 16,7C16,7 11.33,7 9,7M18,7V9H20V11H22V9C22,7.89 21.11,7 20,7H18M9,9H14V14H9V9M1,12V13.86C1,15.04 1.96,16 3.14,16H5V14H3V12H1M20,13V16H22V13H20M7,18V20C7,21.11 7.89,22 9,22H11V20H9V18H7M20,18V20H18V22H20C21.11,22 22,21.11 22,20V18H20M13,20V22H16V20H13Z",y1="M2,4H8V6H16V4H22V10H20V14H22V20H16V18H8V20H2V14H4V10H2V4M16,10V8H8V10H6V14H8V16H16V14H18V10H16M4,6V8H6V6H4M18,6V8H20V6H18M4,16V18H6V16H4M18,16V18H20V16H18Z",B1="M13 3V11H21V3H13M3 21H11V13H3V21M3 3V11H11V3H3M13 16H16V13H18V16H21V18H18V21H16V18H13V16Z",D1="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",U1="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",E1="M3.55 19.09L4.96 20.5L6.76 18.71L5.34 17.29M12 6C8.69 6 6 8.69 6 12S8.69 18 12 18 18 15.31 18 12C18 8.68 15.31 6 12 6M20 13H23V11H20M17.24 18.71L19.04 20.5L20.45 19.09L18.66 17.29M20.45 5L19.04 3.6L17.24 5.39L18.66 6.81M13 1H11V4H13M6.76 5.39L4.96 3.6L3.55 5L5.34 6.81L6.76 5.39M1 13H4V11H1M13 20H11V23H13",I1="M2.28,3L1,4.27L2.47,5.74C2.04,6 1.61,6.29 1.2,6.6L3,9C3.53,8.6 4.08,8.25 4.66,7.93L6.89,10.16C6.15,10.5 5.44,10.91 4.8,11.4L6.6,13.8C7.38,13.22 8.26,12.77 9.2,12.47L11.75,15C10.5,15.07 9.34,15.5 8.4,16.2L12,21L14.46,17.73L17.74,21L19,19.72M12,3C9.85,3 7.8,3.38 5.9,4.07L8.29,6.47C9.5,6.16 10.72,6 12,6C15.38,6 18.5,7.11 21,9L22.8,6.6C19.79,4.34 16.06,3 12,3M12,9C11.62,9 11.25,9 10.88,9.05L14.07,12.25C15.29,12.53 16.43,13.07 17.4,13.8L19.2,11.4C17.2,9.89 14.7,9 12,9Z";export{t as $,R1 as A,u as B,I1 as C,c1 as D,h as E,c as F,S as G,K as H,X as I,Y as J,E as K,n as L,d1 as M,j as N,q as O,U1 as P,D1 as Q,b as R,z as S,w as T,a1 as U,m as V,B1 as W,O as X,s as Y,N as Z,D as _,I as a,U as a0,y as a1,f1 as a2,p1 as a3,e as a4,o as a5,Z1 as a6,o1 as a7,w1 as a8,l as a9,p as aA,R as aa,O1 as ab,C1 as ac,l1 as ad,M1 as ae,r1 as af,x as ag,_ as ah,v as ai,M as aj,i1 as ak,f as al,d as am,r as an,H as ao,y1 as ap,S1 as aq,h1 as ar,a as as,n1 as at,B as au,k1 as av,s1 as aw,u1 as ax,J as ay,L as az,F as b,Z as c,G as d,e1 as e,W as f,L1 as g,k as h,v1 as i,H1 as j,P as k,V as l,T as m,A1 as n,C as o,A as p,g1 as q,m1 as r,g as s,i as t,V1 as u,E1 as v,t1 as w,Q as x,$ as y,P1 as z};
@@ -1 +1 @@
1
- var he=s=>{throw TypeError(s)};var Gt=(s,t,e)=>t.has(s)||he("Cannot "+e);var r=(s,t,e)=>(Gt(s,t,"read from private field"),e?e.call(s):t.get(s)),f=(s,t,e)=>t.has(s)?he("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),h=(s,t,e,i)=>(Gt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),y=(s,t,e)=>(Gt(s,t,"access private method"),e);var xt=(s,t,e,i)=>({set _(n){h(s,t,n,e)},get _(){return r(s,t,i)}});import{i as Fe,u as ze,h as Ye,a as Je,r as Xe,c as De,b as Ee,w as mt,o as Me,t as Ae,d as Ue}from"./@vue-DL9UVr_o.js";var At=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yt=typeof window>"u"||"Deno"in globalThis;function L(){}function Ze(s,t){return typeof s=="function"?s(t):s}function Bt(s){return typeof s=="number"&&s>=0&&s!==1/0}function qe(s,t){return Math.max(s+(t||0)-Date.now(),0)}function vt(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ce(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:u,stale:l}=s;if(u){if(i){if(t.queryHash!==ae(u,t.options))return!1}else if(!qt(t.queryKey,u))return!1}if(e!=="all"){const O=t.isActive();if(e==="active"&&!O||e==="inactive"&&O)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||n&&n!==t.state.fetchStatus||a&&!a(t))}function le(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(pt(t.options.mutationKey)!==pt(a))return!1}else if(!qt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ae(s,t){return((t==null?void 0:t.queryKeyHashFn)||pt)(s)}function pt(s){return JSON.stringify(s,(t,e)=>$t(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function qt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?!Object.keys(t).some(e=>!qt(s[e],t[e])):!1}function Ie(s,t){if(s===t)return s;const e=fe(s)&&fe(t);if(e||$t(s)&&$t(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),u=a.length,l=e?[]:{};let O=0;for(let v=0;v<u;v++){const p=e?v:a[v];(!e&&i.includes(p)||e)&&s[p]===void 0&&t[p]===void 0?(l[p]=void 0,O++):(l[p]=Ie(s[p],t[p]),l[p]===s[p]&&s[p]!==void 0&&O++)}return n===u&&O===n?s:l}return t}function Ht(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function fe(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function $t(s){if(!de(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!de(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function de(s){return Object.prototype.toString.call(s)==="[object Object]"}function ts(s){return new Promise(t=>{setTimeout(t,s)})}function Vt(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Ie(s,t):t}function es(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function ss(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var Te=Symbol();function je(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===Te?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}var ut,Z,bt,ve,is=(ve=class extends At{constructor(){super();f(this,ut);f(this,Z);f(this,bt);h(this,bt,t=>{if(!yt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,bt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),h(this,Z,void 0))}setEventListener(t){var e;h(this,bt,t),(e=r(this,Z))==null||e.call(this),h(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,ut)!==t&&(h(this,ut,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,ut)=="boolean"?r(this,ut):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ut=new WeakMap,Z=new WeakMap,bt=new WeakMap,ve),ue=new is,gt,tt,Ot,be,rs=(be=class extends At{constructor(){super();f(this,gt,!0);f(this,tt);f(this,Ot);h(this,Ot,t=>{if(!yt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,Ot))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),h(this,tt,void 0))}setEventListener(t){var e;h(this,Ot,t),(e=r(this,tt))==null||e.call(this),h(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,gt)!==t&&(h(this,gt,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,gt)}},gt=new WeakMap,tt=new WeakMap,Ot=new WeakMap,be),Nt=new rs;function ns(s){return Math.min(1e3*2**s,3e4)}function Ke(s){return(s??"online")==="online"?Nt.isOnline():!0}var xe=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function _t(s){return s instanceof xe}function Le(s){let t=!1,e=0,i=!1,n,a,u;const l=new Promise((C,S)=>{a=C,u=S}),O=C=>{var S;i||(P(new xe(C)),(S=s.abort)==null||S.call(s))},v=()=>{t=!0},p=()=>{t=!1},c=()=>ue.isFocused()&&(s.networkMode==="always"||Nt.isOnline())&&s.canRun(),o=()=>Ke(s.networkMode)&&s.canRun(),d=C=>{var S;i||(i=!0,(S=s.onSuccess)==null||S.call(s,C),n==null||n(),a(C))},P=C=>{var S;i||(i=!0,(S=s.onError)==null||S.call(s,C),n==null||n(),u(C))},F=()=>new Promise(C=>{var S;n=Q=>{(i||c())&&C(Q)},(S=s.onPause)==null||S.call(s)}).then(()=>{var C;n=void 0,i||(C=s.onContinue)==null||C.call(s)}),D=()=>{if(i)return;let C;const S=e===0?s.initialPromise:void 0;try{C=S??s.fn()}catch(Q){C=Promise.reject(Q)}Promise.resolve(C).then(d).catch(Q=>{var g;if(i)return;const E=s.retry??(yt?0:3),M=s.retryDelay??ns,G=typeof M=="function"?M(e,Q):M,W=E===!0||typeof E=="number"&&e<E||typeof E=="function"&&E(e,Q);if(t||!W){P(Q);return}e++,(g=s.onFail)==null||g.call(s,e,Q),ts(G).then(()=>c()?void 0:F()).then(()=>{t?P(Q):D()})})};return{promise:l,cancel:O,continue:()=>(n==null||n(),l),cancelRetry:v,continueRetry:p,canStart:o,start:()=>(o()?D():F().then(D),l)}}function as(){let s=[],t=0,e=o=>{o()},i=o=>{o()},n=o=>setTimeout(o,0);const a=o=>{n=o},u=o=>{let d;t++;try{d=o()}finally{t--,t||v()}return d},l=o=>{t?s.push(o):n(()=>{e(o)})},O=o=>(...d)=>{l(()=>{o(...d)})},v=()=>{const o=s;s=[],o.length&&n(()=>{i(()=>{o.forEach(d=>{e(d)})})})};return{batch:u,batchCalls:O,schedule:l,setNotifyFunction:o=>{e=o},setBatchNotifyFunction:o=>{i=o},setScheduler:a}}var A=as(),ot,ge,ke=(ge=class{constructor(){f(this,ot)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Bt(this.gcTime)&&h(this,ot,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(yt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ot)&&(clearTimeout(r(this,ot)),h(this,ot,void 0))}},ot=new WeakMap,ge),Ct,wt,x,U,It,ht,H,z,Oe,us=(Oe=class extends ke{constructor(t){super();f(this,H);f(this,Ct);f(this,wt);f(this,x);f(this,U);f(this,It);f(this,ht);h(this,ht,!1),h(this,It,t.defaultOptions),this.setOptions(t.options),this.observers=[],h(this,x,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,h(this,Ct,os(this.options)),this.state=t.state??r(this,Ct),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,U))==null?void 0:t.promise}setOptions(t){this.options={...r(this,It),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,x).remove(this)}setData(t,e){const i=Vt(this.state.data,t,this.options);return y(this,H,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){y(this,H,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,U))==null?void 0:i.promise;return(n=r(this,U))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Ct))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!qe(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,x).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,U)&&(r(this,ht)?r(this,U).cancel({revert:!0}):r(this,U).cancelRetry()),this.scheduleGc()),r(this,x).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||y(this,H,z).call(this,{type:"invalidate"})}fetch(t,e){var O,v,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,U))return r(this,U).continueRetry(),r(this,U).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(o=>o.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(h(this,ht,!0),i.signal)})},a=()=>{const c=je(this.options,e),o={queryKey:this.queryKey,meta:this.meta};return n(o),h(this,ht,!1),this.options.persister?this.options.persister(c,o,this):c(o)},u={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};n(u),(O=this.options.behavior)==null||O.onFetch(u,this),h(this,wt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=u.fetchOptions)==null?void 0:v.meta))&&y(this,H,z).call(this,{type:"fetch",meta:(p=u.fetchOptions)==null?void 0:p.meta});const l=c=>{var o,d,P,F;_t(c)&&c.silent||y(this,H,z).call(this,{type:"error",error:c}),_t(c)||((d=(o=r(this,x).config).onError)==null||d.call(o,c,this),(F=(P=r(this,x).config).onSettled)==null||F.call(P,this.state.data,c,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return h(this,U,Le({initialPromise:e==null?void 0:e.initialPromise,fn:u.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var o,d,P,F;if(c===void 0){l(new Error(`${this.queryHash} data is undefined`));return}this.setData(c),(d=(o=r(this,x).config).onSuccess)==null||d.call(o,c,this),(F=(P=r(this,x).config).onSettled)==null||F.call(P,c,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(c,o)=>{y(this,H,z).call(this,{type:"failed",failureCount:c,error:o})},onPause:()=>{y(this,H,z).call(this,{type:"pause"})},onContinue:()=>{y(this,H,z).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),r(this,U).start()}},Ct=new WeakMap,wt=new WeakMap,x=new WeakMap,U=new WeakMap,It=new WeakMap,ht=new WeakMap,H=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...He(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return _t(n)&&n.revert&&r(this,wt)?{...r(this,wt),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),A.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,x).notify({query:this,type:"updated",action:t})})},Oe);function He(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ke(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function os(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var _,Ce,Ne=(Ce=class extends At{constructor(e={}){super();f(this,_);this.config=e,h(this,_,new Map)}build(e,i,n){const a=i.queryKey,u=i.queryHash??ae(a,i);let l=this.get(u);return l||(l=new us({cache:this,queryKey:a,queryHash:u,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(l)),l}add(e){r(this,_).has(e.queryHash)||(r(this,_).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,_).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,_).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){A.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,_).get(e)}getAll(){return[...r(this,_).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ce(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ce(e,n)):i}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){A.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){A.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},_=new WeakMap,Ce),B,q,ct,$,X,we,hs=(we=class extends ke{constructor(t){super();f(this,$);f(this,B);f(this,q);f(this,ct);this.mutationId=t.mutationId,h(this,q,t.mutationCache),h(this,B,[]),this.state=t.state||Ge(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,B).includes(t)||(r(this,B).push(t),this.clearGcTimeout(),r(this,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){h(this,B,r(this,B).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,B).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,ct))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var n,a,u,l,O,v,p,c,o,d,P,F,D,C,S,Q,E,M,G,W;h(this,ct,Le({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(g,k)=>{y(this,$,X).call(this,{type:"failed",failureCount:g,error:k})},onPause:()=>{y(this,$,X).call(this,{type:"pause"})},onContinue:()=>{y(this,$,X).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,q).canRun(this)}));const e=this.state.status==="pending",i=!r(this,ct).canStart();try{if(!e){y(this,$,X).call(this,{type:"pending",variables:t,isPaused:i}),await((a=(n=r(this,q).config).onMutate)==null?void 0:a.call(n,t,this));const k=await((l=(u=this.options).onMutate)==null?void 0:l.call(u,t));k!==this.state.context&&y(this,$,X).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const g=await r(this,ct).start();return await((v=(O=r(this,q).config).onSuccess)==null?void 0:v.call(O,g,t,this.state.context,this)),await((c=(p=this.options).onSuccess)==null?void 0:c.call(p,g,t,this.state.context)),await((d=(o=r(this,q).config).onSettled)==null?void 0:d.call(o,g,null,this.state.variables,this.state.context,this)),await((F=(P=this.options).onSettled)==null?void 0:F.call(P,g,null,t,this.state.context)),y(this,$,X).call(this,{type:"success",data:g}),g}catch(g){try{throw await((C=(D=r(this,q).config).onError)==null?void 0:C.call(D,g,t,this.state.context,this)),await((Q=(S=this.options).onError)==null?void 0:Q.call(S,g,t,this.state.context)),await((M=(E=r(this,q).config).onSettled)==null?void 0:M.call(E,void 0,g,this.state.variables,this.state.context,this)),await((W=(G=this.options).onSettled)==null?void 0:W.call(G,void 0,g,t,this.state.context)),g}finally{y(this,$,X).call(this,{type:"error",error:g})}}finally{r(this,q).runNext(this)}}},B=new WeakMap,q=new WeakMap,ct=new WeakMap,$=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),A.batch(()=>{r(this,B).forEach(i=>{i.onMutationUpdate(t)}),r(this,q).notify({mutation:this,type:"updated",action:t})})},we);function Ge(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var K,Tt,Qe,_e=(Qe=class extends At{constructor(e={}){super();f(this,K);f(this,Tt);this.config=e,h(this,K,new Map),h(this,Tt,Date.now())}build(e,i,n){const a=new hs({mutationCache:this,mutationId:++xt(this,Tt)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){const i=Lt(e),n=r(this,K).get(i)??[];n.push(e),r(this,K).set(i,n),this.notify({type:"added",mutation:e})}remove(e){var n;const i=Lt(e);if(r(this,K).has(i)){const a=(n=r(this,K).get(i))==null?void 0:n.filter(u=>u!==e);a&&(a.length===0?r(this,K).delete(i):r(this,K).set(i,a))}this.notify({type:"removed",mutation:e})}canRun(e){var n;const i=(n=r(this,K).get(Lt(e)))==null?void 0:n.find(a=>a.state.status==="pending");return!i||i===e}runNext(e){var n;const i=(n=r(this,K).get(Lt(e)))==null?void 0:n.find(a=>a!==e&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}clear(){A.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...r(this,K).values()].flat()}find(e){const i={exact:!0,...e};return this.getAll().find(n=>le(i,n))}findAll(e={}){return this.getAll().filter(i=>le(e,i))}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return A.batch(()=>Promise.all(e.map(i=>i.continue().catch(L))))}},K=new WeakMap,Tt=new WeakMap,Qe);function Lt(s){var t;return((t=s.options.scope)==null?void 0:t.id)??String(s.mutationId)}function cs(s){return{onFetch:(t,e)=>{const i=async()=>{var P,F,D,C,S;const n=t.options,a=(D=(F=(P=t.fetchOptions)==null?void 0:P.meta)==null?void 0:F.fetchMore)==null?void 0:D.direction,u=((C=t.state.data)==null?void 0:C.pages)||[],l=((S=t.state.data)==null?void 0:S.pageParams)||[],O={pages:[],pageParams:[]};let v=!1;const p=Q=>{Object.defineProperty(Q,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},c=je(t.options,t.fetchOptions),o=async(Q,E,M)=>{if(v)return Promise.reject();if(E==null&&Q.pages.length)return Promise.resolve(Q);const G={queryKey:t.queryKey,pageParam:E,direction:M?"backward":"forward",meta:t.options.meta};p(G);const W=await c(G),{maxPages:g}=t.options,k=M?ss:es;return{pages:k(Q.pages,W,g),pageParams:k(Q.pageParams,E,g)}};let d;if(a&&u.length){const Q=a==="backward",E=Q?ls:ye,M={pages:u,pageParams:l},G=E(n,M);d=await o(M,G,Q)}else{d=await o(O,l[0]??n.initialPageParam);const Q=s??u.length;for(let E=1;E<Q;E++){const M=ye(n,d);if(M==null)break;d=await o(d,M)}}return d};t.options.persister?t.fetchFn=()=>{var n,a;return(a=(n=t.options).persister)==null?void 0:a.call(n,i,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=i}}}function ye(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ls(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var R,et,st,Qt,St,it,Pt,Rt,Se,fs=(Se=class{constructor(t={}){f(this,R);f(this,et);f(this,st);f(this,Qt);f(this,St);f(this,it);f(this,Pt);f(this,Rt);h(this,R,t.queryCache||new Ne),h(this,et,t.mutationCache||new _e),h(this,st,t.defaultOptions||{}),h(this,Qt,new Map),h(this,St,new Map),h(this,it,0)}mount(){xt(this,it)._++,r(this,it)===1&&(h(this,Pt,ue.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onFocus())})),h(this,Rt,Nt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onOnline())})))}unmount(){var t,e;xt(this,it)._--,r(this,it)===0&&((t=r(this,Pt))==null||t.call(this),h(this,Pt,void 0),(e=r(this,Rt))==null||e.call(this),h(this,Rt,void 0))}isFetching(t){return r(this,R).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,R).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const i=this.defaultQueryOptions(t),n=r(this,R).build(this,i);return t.revalidateIfStale&&n.isStaleByTime(vt(i.staleTime,n))&&this.prefetchQuery(i),Promise.resolve(e)}}getQueriesData(t){return r(this,R).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,R).get(n.queryHash),u=a==null?void 0:a.state.data,l=Ze(e,u);if(l!==void 0)return r(this,R).build(this,n).setData(l,{...i,manual:!0})}setQueriesData(t,e,i){return A.batch(()=>r(this,R).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,R).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,R);A.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,R),n={type:"active",...t};return A.batch(()=>(i.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){const i={revert:!0,...e},n=A.batch(()=>r(this,R).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t={},e={}){return A.batch(()=>{if(r(this,R).findAll(t).forEach(n=>{n.invalidate()}),t.refetchType==="none")return Promise.resolve();const i={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(i,e)})}refetchQueries(t={},e){const i={...e,cancelRefetch:(e==null?void 0:e.cancelRefetch)??!0},n=A.batch(()=>r(this,R).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let u=a.fetch(void 0,i);return i.throwOnError||(u=u.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,R).build(this,e);return i.isStaleByTime(vt(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=cs(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}resumePausedMutations(){return Nt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,R)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){h(this,st,t)}setQueryDefaults(t,e){r(this,Qt).set(pt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Qt).values()];let i={};return e.forEach(n=>{qt(t,n.queryKey)&&(i={...i,...n.defaultOptions})}),i}setMutationDefaults(t,e){r(this,St).set(pt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,St).values()];let i={};return e.forEach(n=>{qt(t,n.mutationKey)&&(i={...i,...n.defaultOptions})}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ae(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===Te&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,R).clear(),r(this,et).clear()}},R=new WeakMap,et=new WeakMap,st=new WeakMap,Qt=new WeakMap,St=new WeakMap,it=new WeakMap,Pt=new WeakMap,Rt=new WeakMap,Se),T,b,jt,I,lt,Ft,V,Kt,Dt,Et,ft,dt,rt,Mt,w,Ut,Wt,zt,Yt,Jt,Xt,Zt,te,Be,Pe,ds=(Pe=class extends At{constructor(t,e){super();f(this,w);f(this,T);f(this,b);f(this,jt);f(this,I);f(this,lt);f(this,Ft);f(this,V);f(this,Kt);f(this,Dt);f(this,Et);f(this,ft);f(this,dt);f(this,rt);f(this,Mt,new Set);this.options=e,h(this,T,t),h(this,V,null),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,b).addObserver(this),pe(r(this,b),this.options)?y(this,w,Ut).call(this):this.updateResult(),y(this,w,Jt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ee(r(this,b),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ee(r(this,b),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,y(this,w,Xt).call(this),y(this,w,Zt).call(this),r(this,b).removeObserver(this)}setOptions(t,e){const i=this.options,n=r(this,b);if(this.options=r(this,T).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,b))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");y(this,w,te).call(this),r(this,b).setOptions(this.options),i._defaulted&&!Ht(this.options,i)&&r(this,T).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,b),observer:this});const a=this.hasListeners();a&&me(r(this,b),n,this.options,i)&&y(this,w,Ut).call(this),this.updateResult(e),a&&(r(this,b)!==n||N(this.options.enabled,r(this,b))!==N(i.enabled,r(this,b))||vt(this.options.staleTime,r(this,b))!==vt(i.staleTime,r(this,b)))&&y(this,w,Wt).call(this);const u=y(this,w,zt).call(this);a&&(r(this,b)!==n||N(this.options.enabled,r(this,b))!==N(i.enabled,r(this,b))||u!==r(this,rt))&&y(this,w,Yt).call(this,u)}getOptimisticResult(t){const e=r(this,T).getQueryCache().build(r(this,T),t),i=this.createResult(e,t);return ps(this,i)&&(h(this,I,i),h(this,Ft,this.options),h(this,lt,r(this,b).state)),i}getCurrentResult(){return r(this,I)}trackResult(t,e){const i={};return Object.keys(t).forEach(n=>{Object.defineProperty(i,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),e==null||e(n),t[n])})}),i}trackProp(t){r(this,Mt).add(t)}getCurrentQuery(){return r(this,b)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,T).defaultQueryOptions(t),i=r(this,T).getQueryCache().build(r(this,T),e);return i.isFetchingOptimistic=!0,i.fetch().then(()=>this.createResult(i,e))}fetch(t){return y(this,w,Ut).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,I)))}createResult(t,e){var W;const i=r(this,b),n=this.options,a=r(this,I),u=r(this,lt),l=r(this,Ft),v=t!==i?t.state:r(this,jt),{state:p}=t;let c={...p},o=!1,d;if(e._optimisticResults){const g=this.hasListeners(),k=!g&&pe(t,e),We=g&&me(t,i,e,n);(k||We)&&(c={...c,...He(p.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:P,errorUpdatedAt:F,status:D}=c;if(e.select&&c.data!==void 0)if(a&&c.data===(u==null?void 0:u.data)&&e.select===r(this,Kt))d=r(this,Dt);else try{h(this,Kt,e.select),d=e.select(c.data),d=Vt(a==null?void 0:a.data,d,e),h(this,Dt,d),h(this,V,null)}catch(g){h(this,V,g)}else d=c.data;if(e.placeholderData!==void 0&&d===void 0&&D==="pending"){let g;if(a!=null&&a.isPlaceholderData&&e.placeholderData===(l==null?void 0:l.placeholderData))g=a.data;else if(g=typeof e.placeholderData=="function"?e.placeholderData((W=r(this,Et))==null?void 0:W.state.data,r(this,Et)):e.placeholderData,e.select&&g!==void 0)try{g=e.select(g),h(this,V,null)}catch(k){h(this,V,k)}g!==void 0&&(D="success",d=Vt(a==null?void 0:a.data,g,e),o=!0)}r(this,V)&&(P=r(this,V),d=r(this,Dt),F=Date.now(),D="error");const C=c.fetchStatus==="fetching",S=D==="pending",Q=D==="error",E=S&&C,M=d!==void 0;return{status:D,fetchStatus:c.fetchStatus,isPending:S,isSuccess:D==="success",isError:Q,isInitialLoading:E,isLoading:E,data:d,dataUpdatedAt:c.dataUpdatedAt,error:P,errorUpdatedAt:F,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>v.dataUpdateCount||c.errorUpdateCount>v.errorUpdateCount,isFetching:C,isRefetching:C&&!S,isLoadingError:Q&&!M,isPaused:c.fetchStatus==="paused",isPlaceholderData:o,isRefetchError:Q&&M,isStale:oe(t,e),refetch:this.refetch}}updateResult(t){const e=r(this,I),i=this.createResult(r(this,b),this.options);if(h(this,lt,r(this,b).state),h(this,Ft,this.options),r(this,lt).data!==void 0&&h(this,Et,r(this,b)),Ht(i,e))return;h(this,I,i);const n={},a=()=>{if(!e)return!0;const{notifyOnChangeProps:u}=this.options,l=typeof u=="function"?u():u;if(l==="all"||!l&&!r(this,Mt).size)return!0;const O=new Set(l??r(this,Mt));return this.options.throwOnError&&O.add("error"),Object.keys(r(this,I)).some(v=>{const p=v;return r(this,I)[p]!==e[p]&&O.has(p)})};(t==null?void 0:t.listeners)!==!1&&a()&&(n.listeners=!0),y(this,w,Be).call(this,{...n,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&y(this,w,Jt).call(this)}},T=new WeakMap,b=new WeakMap,jt=new WeakMap,I=new WeakMap,lt=new WeakMap,Ft=new WeakMap,V=new WeakMap,Kt=new WeakMap,Dt=new WeakMap,Et=new WeakMap,ft=new WeakMap,dt=new WeakMap,rt=new WeakMap,Mt=new WeakMap,w=new WeakSet,Ut=function(t){y(this,w,te).call(this);let e=r(this,b).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},Wt=function(){y(this,w,Xt).call(this);const t=vt(this.options.staleTime,r(this,b));if(yt||r(this,I).isStale||!Bt(t))return;const i=qe(r(this,I).dataUpdatedAt,t)+1;h(this,ft,setTimeout(()=>{r(this,I).isStale||this.updateResult()},i))},zt=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,b)):this.options.refetchInterval)??!1},Yt=function(t){y(this,w,Zt).call(this),h(this,rt,t),!(yt||N(this.options.enabled,r(this,b))===!1||!Bt(r(this,rt))||r(this,rt)===0)&&h(this,dt,setInterval(()=>{(this.options.refetchIntervalInBackground||ue.isFocused())&&y(this,w,Ut).call(this)},r(this,rt)))},Jt=function(){y(this,w,Wt).call(this),y(this,w,Yt).call(this,y(this,w,zt).call(this))},Xt=function(){r(this,ft)&&(clearTimeout(r(this,ft)),h(this,ft,void 0))},Zt=function(){r(this,dt)&&(clearInterval(r(this,dt)),h(this,dt,void 0))},te=function(){const t=r(this,T).getQueryCache().build(r(this,T),this.options);if(t===r(this,b))return;const e=r(this,b);h(this,b,t),h(this,jt,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},Be=function(t){A.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,I))}),r(this,T).getQueryCache().notify({query:r(this,b),type:"observerResultsUpdated"})})},Pe);function ys(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function pe(s,t){return ys(s,t)||s.state.data!==void 0&&ee(s,t,t.refetchOnMount)}function ee(s,t,e){if(N(t.enabled,s)!==!1){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&oe(s,t)}return!1}function me(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&oe(s,e)}function oe(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(vt(t.staleTime,s))}function ps(s,t){return!Ht(s.getCurrentResult(),t)}var nt,at,j,Y,J,kt,se,Re,ms=(Re=class extends At{constructor(t,e){super();f(this,J);f(this,nt);f(this,at);f(this,j);f(this,Y);h(this,nt,t),this.setOptions(e),this.bindMethods(),y(this,J,kt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,nt).defaultMutationOptions(t),Ht(this.options,e)||r(this,nt).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,j),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&pt(e.mutationKey)!==pt(this.options.mutationKey)?this.reset():((i=r(this,j))==null?void 0:i.state.status)==="pending"&&r(this,j).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,j))==null||t.removeObserver(this)}onMutationUpdate(t){y(this,J,kt).call(this),y(this,J,se).call(this,t)}getCurrentResult(){return r(this,at)}reset(){var t;(t=r(this,j))==null||t.removeObserver(this),h(this,j,void 0),y(this,J,kt).call(this),y(this,J,se).call(this)}mutate(t,e){var i;return h(this,Y,e),(i=r(this,j))==null||i.removeObserver(this),h(this,j,r(this,nt).getMutationCache().build(r(this,nt),this.options)),r(this,j).addObserver(this),r(this,j).execute(t)}},nt=new WeakMap,at=new WeakMap,j=new WeakMap,Y=new WeakMap,J=new WeakSet,kt=function(){var e;const t=((e=r(this,j))==null?void 0:e.state)??Ge();h(this,at,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},se=function(t){A.batch(()=>{var e,i,n,a,u,l,O,v;if(r(this,Y)&&this.hasListeners()){const p=r(this,at).variables,c=r(this,at).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,p,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,p,c)):(t==null?void 0:t.type)==="error"&&((l=(u=r(this,Y)).onError)==null||l.call(u,t.error,p,c),(v=(O=r(this,Y)).onSettled)==null||v.call(O,void 0,t.error,p,c))}this.listeners.forEach(p=>{p(r(this,at))})})},Re),vs="VUE_QUERY_CLIENT";function $e(s){const t=s?`:${s}`:"";return`${vs}${t}`}function ie(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function re(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&Fe(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>re(n,t,String(a),i+1));if(typeof s=="object"&&gs(s)){const n=Object.entries(s).map(([a,u])=>[a,re(u,t,a,i+1)]);return Object.fromEntries(n)}return s}function bs(s,t){return re(s,t)}function m(s,t=!1){return bs(s,(e,i,n)=>{if(n===1&&i==="queryKey")return m(e,!0);if(t&&Os(e))return m(e(),t);if(Fe(e))return m(ze(e),t)})}function gs(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function Os(s){return typeof s=="function"}function ne(s,t){return typeof s=="function"?s(...t):!!s}function Ve(s=""){if(!Ye())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=$e(s),e=Je(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Cs=class extends Ne{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},ws=class extends _e{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},Qs=class extends fs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Cs,mutationCache:s.mutationCache||new ws};super(t),this.isRestoring=Xe(!1)}isFetching(s={}){return super.isFetching(m(s))}isMutating(s={}){return super.isMutating(m(s))}getQueryData(s){return super.getQueryData(m(s))}ensureQueryData(s){return super.ensureQueryData(m(s))}getQueriesData(s){return super.getQueriesData(m(s))}setQueryData(s,t,e={}){return super.setQueryData(m(s),t,m(e))}setQueriesData(s,t,e={}){return super.setQueriesData(m(s),t,m(e))}getQueryState(s){return super.getQueryState(m(s))}removeQueries(s={}){return super.removeQueries(m(s))}resetQueries(s={},t={}){return super.resetQueries(m(s),m(t))}cancelQueries(s={},t={}){return super.cancelQueries(m(s),m(t))}invalidateQueries(s={},t={}){return new Promise(e=>{setTimeout(async()=>{await super.invalidateQueries(m(s),m(t)),e()},0)})}refetchQueries(s={},t={}){return super.refetchQueries(m(s),m(t))}fetchQuery(s){return super.fetchQuery(m(s))}prefetchQuery(s){return super.prefetchQuery(m(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(m(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(m(s))}setDefaultOptions(s){super.setDefaultOptions(m(s))}setQueryDefaults(s,t){super.setQueryDefaults(m(s),m(t))}getQueryDefaults(s){return super.getQueryDefaults(m(s))}setMutationDefaults(s,t){super.setMutationDefaults(m(s),m(t))}getMutationDefaults(s){return super.getMutationDefaults(m(s))}},Ms={install:(s,t={})=>{const e=$e(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const u="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Qs(u)}yt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[u,l]=t.clientPersister(i);n=u,l.then(()=>{var O;i.isRestoring.value=!1,(O=t.clientPersisterOnSuccess)==null||O.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const u=s.unmount;s.unmount=function(){a(),u()}}s.provide(e,i)}};function Ss(s,t,e){const i=Ve(),n=De(()=>{const o=m(t);typeof o.enabled=="function"&&(o.enabled=o.enabled());const d=i.defaultQueryOptions(o);return d._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",d}),a=new s(i,n.value),u=Ee(a.getCurrentResult());let l=()=>{};mt(i.isRestoring,o=>{o||(l(),l=a.subscribe(d=>{ie(u,d)}))},{immediate:!0});const O=()=>{a.setOptions(n.value),ie(u,a.getCurrentResult())};mt(n,O),Me(()=>{l()});const v=(...o)=>(O(),u.refetch(...o)),p=()=>new Promise((o,d)=>{let P=()=>{};const F=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const D=a.getOptimisticResult(n.value);D.isStale?(P(),a.fetchOptimistic(n.value).then(o,C=>{ne(n.value.throwOnError,[C,a.getCurrentQuery()])?d(C):o(a.getCurrentResult())})):(P(),o(D))}};F(),P=mt(n,F)});mt(()=>u.error,o=>{if(u.isError&&!u.isFetching&&ne(n.value.throwOnError,[o,a.getCurrentQuery()]))throw o});const c=Ae(Ue(u));for(const o in u)typeof u[o]=="function"&&(c[o]=u[o]);return c.suspense=p,c.refetch=v,c}function As(s,t){return Ss(ds,s)}function Us(s,t){const e=Ve(),i=De(()=>e.defaultMutationOptions(m(s))),n=new ms(e,i.value),a=Ee(n.getCurrentResult()),u=n.subscribe(v=>{ie(a,v)}),l=(v,p)=>{n.mutate(v,p).catch(()=>{})};mt(i,()=>{n.setOptions(i.value)}),Me(()=>{u()});const O=Ae(Ue(a));return mt(()=>a.error,v=>{if(v&&ne(i.value.throwOnError,[v]))throw v}),{...O,mutate:l,mutateAsync:a.mutate,reset:a.reset}}export{Qs as Q,Ms as V,As as a,Us as b,Ve as u};
1
+ var he=s=>{throw TypeError(s)};var Gt=(s,t,e)=>t.has(s)||he("Cannot "+e);var r=(s,t,e)=>(Gt(s,t,"read from private field"),e?e.call(s):t.get(s)),f=(s,t,e)=>t.has(s)?he("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),h=(s,t,e,i)=>(Gt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),y=(s,t,e)=>(Gt(s,t,"access private method"),e);var xt=(s,t,e,i)=>({set _(n){h(s,t,n,e)},get _(){return r(s,t,i)}});import{i as Fe,u as ze,h as Ye,a as Je,r as Xe,c as De,b as Ee,w as mt,o as Me,t as Ae,d as Ue}from"./@vue-CHoPEscU.js";var At=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yt=typeof window>"u"||"Deno"in globalThis;function L(){}function Ze(s,t){return typeof s=="function"?s(t):s}function Bt(s){return typeof s=="number"&&s>=0&&s!==1/0}function qe(s,t){return Math.max(s+(t||0)-Date.now(),0)}function vt(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ce(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:u,stale:l}=s;if(u){if(i){if(t.queryHash!==ae(u,t.options))return!1}else if(!qt(t.queryKey,u))return!1}if(e!=="all"){const O=t.isActive();if(e==="active"&&!O||e==="inactive"&&O)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||n&&n!==t.state.fetchStatus||a&&!a(t))}function le(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(pt(t.options.mutationKey)!==pt(a))return!1}else if(!qt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ae(s,t){return((t==null?void 0:t.queryKeyHashFn)||pt)(s)}function pt(s){return JSON.stringify(s,(t,e)=>$t(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function qt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?!Object.keys(t).some(e=>!qt(s[e],t[e])):!1}function Ie(s,t){if(s===t)return s;const e=fe(s)&&fe(t);if(e||$t(s)&&$t(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),u=a.length,l=e?[]:{};let O=0;for(let v=0;v<u;v++){const p=e?v:a[v];(!e&&i.includes(p)||e)&&s[p]===void 0&&t[p]===void 0?(l[p]=void 0,O++):(l[p]=Ie(s[p],t[p]),l[p]===s[p]&&s[p]!==void 0&&O++)}return n===u&&O===n?s:l}return t}function Ht(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function fe(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function $t(s){if(!de(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!de(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function de(s){return Object.prototype.toString.call(s)==="[object Object]"}function ts(s){return new Promise(t=>{setTimeout(t,s)})}function Vt(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Ie(s,t):t}function es(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function ss(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var Te=Symbol();function je(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===Te?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}var ut,Z,bt,ve,is=(ve=class extends At{constructor(){super();f(this,ut);f(this,Z);f(this,bt);h(this,bt,t=>{if(!yt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,bt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),h(this,Z,void 0))}setEventListener(t){var e;h(this,bt,t),(e=r(this,Z))==null||e.call(this),h(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,ut)!==t&&(h(this,ut,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,ut)=="boolean"?r(this,ut):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ut=new WeakMap,Z=new WeakMap,bt=new WeakMap,ve),ue=new is,gt,tt,Ot,be,rs=(be=class extends At{constructor(){super();f(this,gt,!0);f(this,tt);f(this,Ot);h(this,Ot,t=>{if(!yt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,Ot))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),h(this,tt,void 0))}setEventListener(t){var e;h(this,Ot,t),(e=r(this,tt))==null||e.call(this),h(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,gt)!==t&&(h(this,gt,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,gt)}},gt=new WeakMap,tt=new WeakMap,Ot=new WeakMap,be),Nt=new rs;function ns(s){return Math.min(1e3*2**s,3e4)}function Ke(s){return(s??"online")==="online"?Nt.isOnline():!0}var xe=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function _t(s){return s instanceof xe}function Le(s){let t=!1,e=0,i=!1,n,a,u;const l=new Promise((C,S)=>{a=C,u=S}),O=C=>{var S;i||(P(new xe(C)),(S=s.abort)==null||S.call(s))},v=()=>{t=!0},p=()=>{t=!1},c=()=>ue.isFocused()&&(s.networkMode==="always"||Nt.isOnline())&&s.canRun(),o=()=>Ke(s.networkMode)&&s.canRun(),d=C=>{var S;i||(i=!0,(S=s.onSuccess)==null||S.call(s,C),n==null||n(),a(C))},P=C=>{var S;i||(i=!0,(S=s.onError)==null||S.call(s,C),n==null||n(),u(C))},F=()=>new Promise(C=>{var S;n=Q=>{(i||c())&&C(Q)},(S=s.onPause)==null||S.call(s)}).then(()=>{var C;n=void 0,i||(C=s.onContinue)==null||C.call(s)}),D=()=>{if(i)return;let C;const S=e===0?s.initialPromise:void 0;try{C=S??s.fn()}catch(Q){C=Promise.reject(Q)}Promise.resolve(C).then(d).catch(Q=>{var g;if(i)return;const E=s.retry??(yt?0:3),M=s.retryDelay??ns,G=typeof M=="function"?M(e,Q):M,W=E===!0||typeof E=="number"&&e<E||typeof E=="function"&&E(e,Q);if(t||!W){P(Q);return}e++,(g=s.onFail)==null||g.call(s,e,Q),ts(G).then(()=>c()?void 0:F()).then(()=>{t?P(Q):D()})})};return{promise:l,cancel:O,continue:()=>(n==null||n(),l),cancelRetry:v,continueRetry:p,canStart:o,start:()=>(o()?D():F().then(D),l)}}function as(){let s=[],t=0,e=o=>{o()},i=o=>{o()},n=o=>setTimeout(o,0);const a=o=>{n=o},u=o=>{let d;t++;try{d=o()}finally{t--,t||v()}return d},l=o=>{t?s.push(o):n(()=>{e(o)})},O=o=>(...d)=>{l(()=>{o(...d)})},v=()=>{const o=s;s=[],o.length&&n(()=>{i(()=>{o.forEach(d=>{e(d)})})})};return{batch:u,batchCalls:O,schedule:l,setNotifyFunction:o=>{e=o},setBatchNotifyFunction:o=>{i=o},setScheduler:a}}var A=as(),ot,ge,ke=(ge=class{constructor(){f(this,ot)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Bt(this.gcTime)&&h(this,ot,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(yt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ot)&&(clearTimeout(r(this,ot)),h(this,ot,void 0))}},ot=new WeakMap,ge),Ct,wt,x,U,It,ht,H,z,Oe,us=(Oe=class extends ke{constructor(t){super();f(this,H);f(this,Ct);f(this,wt);f(this,x);f(this,U);f(this,It);f(this,ht);h(this,ht,!1),h(this,It,t.defaultOptions),this.setOptions(t.options),this.observers=[],h(this,x,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,h(this,Ct,os(this.options)),this.state=t.state??r(this,Ct),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,U))==null?void 0:t.promise}setOptions(t){this.options={...r(this,It),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,x).remove(this)}setData(t,e){const i=Vt(this.state.data,t,this.options);return y(this,H,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){y(this,H,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,U))==null?void 0:i.promise;return(n=r(this,U))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Ct))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!qe(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,x).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,U)&&(r(this,ht)?r(this,U).cancel({revert:!0}):r(this,U).cancelRetry()),this.scheduleGc()),r(this,x).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||y(this,H,z).call(this,{type:"invalidate"})}fetch(t,e){var O,v,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,U))return r(this,U).continueRetry(),r(this,U).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(o=>o.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(h(this,ht,!0),i.signal)})},a=()=>{const c=je(this.options,e),o={queryKey:this.queryKey,meta:this.meta};return n(o),h(this,ht,!1),this.options.persister?this.options.persister(c,o,this):c(o)},u={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};n(u),(O=this.options.behavior)==null||O.onFetch(u,this),h(this,wt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=u.fetchOptions)==null?void 0:v.meta))&&y(this,H,z).call(this,{type:"fetch",meta:(p=u.fetchOptions)==null?void 0:p.meta});const l=c=>{var o,d,P,F;_t(c)&&c.silent||y(this,H,z).call(this,{type:"error",error:c}),_t(c)||((d=(o=r(this,x).config).onError)==null||d.call(o,c,this),(F=(P=r(this,x).config).onSettled)==null||F.call(P,this.state.data,c,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return h(this,U,Le({initialPromise:e==null?void 0:e.initialPromise,fn:u.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var o,d,P,F;if(c===void 0){l(new Error(`${this.queryHash} data is undefined`));return}this.setData(c),(d=(o=r(this,x).config).onSuccess)==null||d.call(o,c,this),(F=(P=r(this,x).config).onSettled)==null||F.call(P,c,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(c,o)=>{y(this,H,z).call(this,{type:"failed",failureCount:c,error:o})},onPause:()=>{y(this,H,z).call(this,{type:"pause"})},onContinue:()=>{y(this,H,z).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),r(this,U).start()}},Ct=new WeakMap,wt=new WeakMap,x=new WeakMap,U=new WeakMap,It=new WeakMap,ht=new WeakMap,H=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...He(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return _t(n)&&n.revert&&r(this,wt)?{...r(this,wt),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),A.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,x).notify({query:this,type:"updated",action:t})})},Oe);function He(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ke(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function os(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var _,Ce,Ne=(Ce=class extends At{constructor(e={}){super();f(this,_);this.config=e,h(this,_,new Map)}build(e,i,n){const a=i.queryKey,u=i.queryHash??ae(a,i);let l=this.get(u);return l||(l=new us({cache:this,queryKey:a,queryHash:u,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(l)),l}add(e){r(this,_).has(e.queryHash)||(r(this,_).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,_).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,_).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){A.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,_).get(e)}getAll(){return[...r(this,_).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ce(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ce(e,n)):i}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){A.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){A.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},_=new WeakMap,Ce),B,q,ct,$,X,we,hs=(we=class extends ke{constructor(t){super();f(this,$);f(this,B);f(this,q);f(this,ct);this.mutationId=t.mutationId,h(this,q,t.mutationCache),h(this,B,[]),this.state=t.state||Ge(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,B).includes(t)||(r(this,B).push(t),this.clearGcTimeout(),r(this,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){h(this,B,r(this,B).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,B).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,ct))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var n,a,u,l,O,v,p,c,o,d,P,F,D,C,S,Q,E,M,G,W;h(this,ct,Le({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(g,k)=>{y(this,$,X).call(this,{type:"failed",failureCount:g,error:k})},onPause:()=>{y(this,$,X).call(this,{type:"pause"})},onContinue:()=>{y(this,$,X).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,q).canRun(this)}));const e=this.state.status==="pending",i=!r(this,ct).canStart();try{if(!e){y(this,$,X).call(this,{type:"pending",variables:t,isPaused:i}),await((a=(n=r(this,q).config).onMutate)==null?void 0:a.call(n,t,this));const k=await((l=(u=this.options).onMutate)==null?void 0:l.call(u,t));k!==this.state.context&&y(this,$,X).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const g=await r(this,ct).start();return await((v=(O=r(this,q).config).onSuccess)==null?void 0:v.call(O,g,t,this.state.context,this)),await((c=(p=this.options).onSuccess)==null?void 0:c.call(p,g,t,this.state.context)),await((d=(o=r(this,q).config).onSettled)==null?void 0:d.call(o,g,null,this.state.variables,this.state.context,this)),await((F=(P=this.options).onSettled)==null?void 0:F.call(P,g,null,t,this.state.context)),y(this,$,X).call(this,{type:"success",data:g}),g}catch(g){try{throw await((C=(D=r(this,q).config).onError)==null?void 0:C.call(D,g,t,this.state.context,this)),await((Q=(S=this.options).onError)==null?void 0:Q.call(S,g,t,this.state.context)),await((M=(E=r(this,q).config).onSettled)==null?void 0:M.call(E,void 0,g,this.state.variables,this.state.context,this)),await((W=(G=this.options).onSettled)==null?void 0:W.call(G,void 0,g,t,this.state.context)),g}finally{y(this,$,X).call(this,{type:"error",error:g})}}finally{r(this,q).runNext(this)}}},B=new WeakMap,q=new WeakMap,ct=new WeakMap,$=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),A.batch(()=>{r(this,B).forEach(i=>{i.onMutationUpdate(t)}),r(this,q).notify({mutation:this,type:"updated",action:t})})},we);function Ge(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var K,Tt,Qe,_e=(Qe=class extends At{constructor(e={}){super();f(this,K);f(this,Tt);this.config=e,h(this,K,new Map),h(this,Tt,Date.now())}build(e,i,n){const a=new hs({mutationCache:this,mutationId:++xt(this,Tt)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){const i=Lt(e),n=r(this,K).get(i)??[];n.push(e),r(this,K).set(i,n),this.notify({type:"added",mutation:e})}remove(e){var n;const i=Lt(e);if(r(this,K).has(i)){const a=(n=r(this,K).get(i))==null?void 0:n.filter(u=>u!==e);a&&(a.length===0?r(this,K).delete(i):r(this,K).set(i,a))}this.notify({type:"removed",mutation:e})}canRun(e){var n;const i=(n=r(this,K).get(Lt(e)))==null?void 0:n.find(a=>a.state.status==="pending");return!i||i===e}runNext(e){var n;const i=(n=r(this,K).get(Lt(e)))==null?void 0:n.find(a=>a!==e&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}clear(){A.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...r(this,K).values()].flat()}find(e){const i={exact:!0,...e};return this.getAll().find(n=>le(i,n))}findAll(e={}){return this.getAll().filter(i=>le(e,i))}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return A.batch(()=>Promise.all(e.map(i=>i.continue().catch(L))))}},K=new WeakMap,Tt=new WeakMap,Qe);function Lt(s){var t;return((t=s.options.scope)==null?void 0:t.id)??String(s.mutationId)}function cs(s){return{onFetch:(t,e)=>{const i=async()=>{var P,F,D,C,S;const n=t.options,a=(D=(F=(P=t.fetchOptions)==null?void 0:P.meta)==null?void 0:F.fetchMore)==null?void 0:D.direction,u=((C=t.state.data)==null?void 0:C.pages)||[],l=((S=t.state.data)==null?void 0:S.pageParams)||[],O={pages:[],pageParams:[]};let v=!1;const p=Q=>{Object.defineProperty(Q,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},c=je(t.options,t.fetchOptions),o=async(Q,E,M)=>{if(v)return Promise.reject();if(E==null&&Q.pages.length)return Promise.resolve(Q);const G={queryKey:t.queryKey,pageParam:E,direction:M?"backward":"forward",meta:t.options.meta};p(G);const W=await c(G),{maxPages:g}=t.options,k=M?ss:es;return{pages:k(Q.pages,W,g),pageParams:k(Q.pageParams,E,g)}};let d;if(a&&u.length){const Q=a==="backward",E=Q?ls:ye,M={pages:u,pageParams:l},G=E(n,M);d=await o(M,G,Q)}else{d=await o(O,l[0]??n.initialPageParam);const Q=s??u.length;for(let E=1;E<Q;E++){const M=ye(n,d);if(M==null)break;d=await o(d,M)}}return d};t.options.persister?t.fetchFn=()=>{var n,a;return(a=(n=t.options).persister)==null?void 0:a.call(n,i,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=i}}}function ye(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ls(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var R,et,st,Qt,St,it,Pt,Rt,Se,fs=(Se=class{constructor(t={}){f(this,R);f(this,et);f(this,st);f(this,Qt);f(this,St);f(this,it);f(this,Pt);f(this,Rt);h(this,R,t.queryCache||new Ne),h(this,et,t.mutationCache||new _e),h(this,st,t.defaultOptions||{}),h(this,Qt,new Map),h(this,St,new Map),h(this,it,0)}mount(){xt(this,it)._++,r(this,it)===1&&(h(this,Pt,ue.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onFocus())})),h(this,Rt,Nt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onOnline())})))}unmount(){var t,e;xt(this,it)._--,r(this,it)===0&&((t=r(this,Pt))==null||t.call(this),h(this,Pt,void 0),(e=r(this,Rt))==null||e.call(this),h(this,Rt,void 0))}isFetching(t){return r(this,R).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,R).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const i=this.defaultQueryOptions(t),n=r(this,R).build(this,i);return t.revalidateIfStale&&n.isStaleByTime(vt(i.staleTime,n))&&this.prefetchQuery(i),Promise.resolve(e)}}getQueriesData(t){return r(this,R).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,R).get(n.queryHash),u=a==null?void 0:a.state.data,l=Ze(e,u);if(l!==void 0)return r(this,R).build(this,n).setData(l,{...i,manual:!0})}setQueriesData(t,e,i){return A.batch(()=>r(this,R).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,R).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,R);A.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,R),n={type:"active",...t};return A.batch(()=>(i.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){const i={revert:!0,...e},n=A.batch(()=>r(this,R).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t={},e={}){return A.batch(()=>{if(r(this,R).findAll(t).forEach(n=>{n.invalidate()}),t.refetchType==="none")return Promise.resolve();const i={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(i,e)})}refetchQueries(t={},e){const i={...e,cancelRefetch:(e==null?void 0:e.cancelRefetch)??!0},n=A.batch(()=>r(this,R).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let u=a.fetch(void 0,i);return i.throwOnError||(u=u.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,R).build(this,e);return i.isStaleByTime(vt(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=cs(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}resumePausedMutations(){return Nt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,R)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){h(this,st,t)}setQueryDefaults(t,e){r(this,Qt).set(pt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Qt).values()];let i={};return e.forEach(n=>{qt(t,n.queryKey)&&(i={...i,...n.defaultOptions})}),i}setMutationDefaults(t,e){r(this,St).set(pt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,St).values()];let i={};return e.forEach(n=>{qt(t,n.mutationKey)&&(i={...i,...n.defaultOptions})}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ae(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===Te&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,R).clear(),r(this,et).clear()}},R=new WeakMap,et=new WeakMap,st=new WeakMap,Qt=new WeakMap,St=new WeakMap,it=new WeakMap,Pt=new WeakMap,Rt=new WeakMap,Se),T,b,jt,I,lt,Ft,V,Kt,Dt,Et,ft,dt,rt,Mt,w,Ut,Wt,zt,Yt,Jt,Xt,Zt,te,Be,Pe,ds=(Pe=class extends At{constructor(t,e){super();f(this,w);f(this,T);f(this,b);f(this,jt);f(this,I);f(this,lt);f(this,Ft);f(this,V);f(this,Kt);f(this,Dt);f(this,Et);f(this,ft);f(this,dt);f(this,rt);f(this,Mt,new Set);this.options=e,h(this,T,t),h(this,V,null),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,b).addObserver(this),pe(r(this,b),this.options)?y(this,w,Ut).call(this):this.updateResult(),y(this,w,Jt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ee(r(this,b),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ee(r(this,b),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,y(this,w,Xt).call(this),y(this,w,Zt).call(this),r(this,b).removeObserver(this)}setOptions(t,e){const i=this.options,n=r(this,b);if(this.options=r(this,T).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,b))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");y(this,w,te).call(this),r(this,b).setOptions(this.options),i._defaulted&&!Ht(this.options,i)&&r(this,T).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,b),observer:this});const a=this.hasListeners();a&&me(r(this,b),n,this.options,i)&&y(this,w,Ut).call(this),this.updateResult(e),a&&(r(this,b)!==n||N(this.options.enabled,r(this,b))!==N(i.enabled,r(this,b))||vt(this.options.staleTime,r(this,b))!==vt(i.staleTime,r(this,b)))&&y(this,w,Wt).call(this);const u=y(this,w,zt).call(this);a&&(r(this,b)!==n||N(this.options.enabled,r(this,b))!==N(i.enabled,r(this,b))||u!==r(this,rt))&&y(this,w,Yt).call(this,u)}getOptimisticResult(t){const e=r(this,T).getQueryCache().build(r(this,T),t),i=this.createResult(e,t);return ps(this,i)&&(h(this,I,i),h(this,Ft,this.options),h(this,lt,r(this,b).state)),i}getCurrentResult(){return r(this,I)}trackResult(t,e){const i={};return Object.keys(t).forEach(n=>{Object.defineProperty(i,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),e==null||e(n),t[n])})}),i}trackProp(t){r(this,Mt).add(t)}getCurrentQuery(){return r(this,b)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,T).defaultQueryOptions(t),i=r(this,T).getQueryCache().build(r(this,T),e);return i.isFetchingOptimistic=!0,i.fetch().then(()=>this.createResult(i,e))}fetch(t){return y(this,w,Ut).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,I)))}createResult(t,e){var W;const i=r(this,b),n=this.options,a=r(this,I),u=r(this,lt),l=r(this,Ft),v=t!==i?t.state:r(this,jt),{state:p}=t;let c={...p},o=!1,d;if(e._optimisticResults){const g=this.hasListeners(),k=!g&&pe(t,e),We=g&&me(t,i,e,n);(k||We)&&(c={...c,...He(p.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:P,errorUpdatedAt:F,status:D}=c;if(e.select&&c.data!==void 0)if(a&&c.data===(u==null?void 0:u.data)&&e.select===r(this,Kt))d=r(this,Dt);else try{h(this,Kt,e.select),d=e.select(c.data),d=Vt(a==null?void 0:a.data,d,e),h(this,Dt,d),h(this,V,null)}catch(g){h(this,V,g)}else d=c.data;if(e.placeholderData!==void 0&&d===void 0&&D==="pending"){let g;if(a!=null&&a.isPlaceholderData&&e.placeholderData===(l==null?void 0:l.placeholderData))g=a.data;else if(g=typeof e.placeholderData=="function"?e.placeholderData((W=r(this,Et))==null?void 0:W.state.data,r(this,Et)):e.placeholderData,e.select&&g!==void 0)try{g=e.select(g),h(this,V,null)}catch(k){h(this,V,k)}g!==void 0&&(D="success",d=Vt(a==null?void 0:a.data,g,e),o=!0)}r(this,V)&&(P=r(this,V),d=r(this,Dt),F=Date.now(),D="error");const C=c.fetchStatus==="fetching",S=D==="pending",Q=D==="error",E=S&&C,M=d!==void 0;return{status:D,fetchStatus:c.fetchStatus,isPending:S,isSuccess:D==="success",isError:Q,isInitialLoading:E,isLoading:E,data:d,dataUpdatedAt:c.dataUpdatedAt,error:P,errorUpdatedAt:F,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>v.dataUpdateCount||c.errorUpdateCount>v.errorUpdateCount,isFetching:C,isRefetching:C&&!S,isLoadingError:Q&&!M,isPaused:c.fetchStatus==="paused",isPlaceholderData:o,isRefetchError:Q&&M,isStale:oe(t,e),refetch:this.refetch}}updateResult(t){const e=r(this,I),i=this.createResult(r(this,b),this.options);if(h(this,lt,r(this,b).state),h(this,Ft,this.options),r(this,lt).data!==void 0&&h(this,Et,r(this,b)),Ht(i,e))return;h(this,I,i);const n={},a=()=>{if(!e)return!0;const{notifyOnChangeProps:u}=this.options,l=typeof u=="function"?u():u;if(l==="all"||!l&&!r(this,Mt).size)return!0;const O=new Set(l??r(this,Mt));return this.options.throwOnError&&O.add("error"),Object.keys(r(this,I)).some(v=>{const p=v;return r(this,I)[p]!==e[p]&&O.has(p)})};(t==null?void 0:t.listeners)!==!1&&a()&&(n.listeners=!0),y(this,w,Be).call(this,{...n,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&y(this,w,Jt).call(this)}},T=new WeakMap,b=new WeakMap,jt=new WeakMap,I=new WeakMap,lt=new WeakMap,Ft=new WeakMap,V=new WeakMap,Kt=new WeakMap,Dt=new WeakMap,Et=new WeakMap,ft=new WeakMap,dt=new WeakMap,rt=new WeakMap,Mt=new WeakMap,w=new WeakSet,Ut=function(t){y(this,w,te).call(this);let e=r(this,b).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},Wt=function(){y(this,w,Xt).call(this);const t=vt(this.options.staleTime,r(this,b));if(yt||r(this,I).isStale||!Bt(t))return;const i=qe(r(this,I).dataUpdatedAt,t)+1;h(this,ft,setTimeout(()=>{r(this,I).isStale||this.updateResult()},i))},zt=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,b)):this.options.refetchInterval)??!1},Yt=function(t){y(this,w,Zt).call(this),h(this,rt,t),!(yt||N(this.options.enabled,r(this,b))===!1||!Bt(r(this,rt))||r(this,rt)===0)&&h(this,dt,setInterval(()=>{(this.options.refetchIntervalInBackground||ue.isFocused())&&y(this,w,Ut).call(this)},r(this,rt)))},Jt=function(){y(this,w,Wt).call(this),y(this,w,Yt).call(this,y(this,w,zt).call(this))},Xt=function(){r(this,ft)&&(clearTimeout(r(this,ft)),h(this,ft,void 0))},Zt=function(){r(this,dt)&&(clearInterval(r(this,dt)),h(this,dt,void 0))},te=function(){const t=r(this,T).getQueryCache().build(r(this,T),this.options);if(t===r(this,b))return;const e=r(this,b);h(this,b,t),h(this,jt,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},Be=function(t){A.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,I))}),r(this,T).getQueryCache().notify({query:r(this,b),type:"observerResultsUpdated"})})},Pe);function ys(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function pe(s,t){return ys(s,t)||s.state.data!==void 0&&ee(s,t,t.refetchOnMount)}function ee(s,t,e){if(N(t.enabled,s)!==!1){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&oe(s,t)}return!1}function me(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&oe(s,e)}function oe(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(vt(t.staleTime,s))}function ps(s,t){return!Ht(s.getCurrentResult(),t)}var nt,at,j,Y,J,kt,se,Re,ms=(Re=class extends At{constructor(t,e){super();f(this,J);f(this,nt);f(this,at);f(this,j);f(this,Y);h(this,nt,t),this.setOptions(e),this.bindMethods(),y(this,J,kt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,nt).defaultMutationOptions(t),Ht(this.options,e)||r(this,nt).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,j),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&pt(e.mutationKey)!==pt(this.options.mutationKey)?this.reset():((i=r(this,j))==null?void 0:i.state.status)==="pending"&&r(this,j).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,j))==null||t.removeObserver(this)}onMutationUpdate(t){y(this,J,kt).call(this),y(this,J,se).call(this,t)}getCurrentResult(){return r(this,at)}reset(){var t;(t=r(this,j))==null||t.removeObserver(this),h(this,j,void 0),y(this,J,kt).call(this),y(this,J,se).call(this)}mutate(t,e){var i;return h(this,Y,e),(i=r(this,j))==null||i.removeObserver(this),h(this,j,r(this,nt).getMutationCache().build(r(this,nt),this.options)),r(this,j).addObserver(this),r(this,j).execute(t)}},nt=new WeakMap,at=new WeakMap,j=new WeakMap,Y=new WeakMap,J=new WeakSet,kt=function(){var e;const t=((e=r(this,j))==null?void 0:e.state)??Ge();h(this,at,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},se=function(t){A.batch(()=>{var e,i,n,a,u,l,O,v;if(r(this,Y)&&this.hasListeners()){const p=r(this,at).variables,c=r(this,at).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,p,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,p,c)):(t==null?void 0:t.type)==="error"&&((l=(u=r(this,Y)).onError)==null||l.call(u,t.error,p,c),(v=(O=r(this,Y)).onSettled)==null||v.call(O,void 0,t.error,p,c))}this.listeners.forEach(p=>{p(r(this,at))})})},Re),vs="VUE_QUERY_CLIENT";function $e(s){const t=s?`:${s}`:"";return`${vs}${t}`}function ie(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function re(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&Fe(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>re(n,t,String(a),i+1));if(typeof s=="object"&&gs(s)){const n=Object.entries(s).map(([a,u])=>[a,re(u,t,a,i+1)]);return Object.fromEntries(n)}return s}function bs(s,t){return re(s,t)}function m(s,t=!1){return bs(s,(e,i,n)=>{if(n===1&&i==="queryKey")return m(e,!0);if(t&&Os(e))return m(e(),t);if(Fe(e))return m(ze(e),t)})}function gs(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function Os(s){return typeof s=="function"}function ne(s,t){return typeof s=="function"?s(...t):!!s}function Ve(s=""){if(!Ye())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=$e(s),e=Je(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Cs=class extends Ne{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},ws=class extends _e{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},Qs=class extends fs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Cs,mutationCache:s.mutationCache||new ws};super(t),this.isRestoring=Xe(!1)}isFetching(s={}){return super.isFetching(m(s))}isMutating(s={}){return super.isMutating(m(s))}getQueryData(s){return super.getQueryData(m(s))}ensureQueryData(s){return super.ensureQueryData(m(s))}getQueriesData(s){return super.getQueriesData(m(s))}setQueryData(s,t,e={}){return super.setQueryData(m(s),t,m(e))}setQueriesData(s,t,e={}){return super.setQueriesData(m(s),t,m(e))}getQueryState(s){return super.getQueryState(m(s))}removeQueries(s={}){return super.removeQueries(m(s))}resetQueries(s={},t={}){return super.resetQueries(m(s),m(t))}cancelQueries(s={},t={}){return super.cancelQueries(m(s),m(t))}invalidateQueries(s={},t={}){return new Promise(e=>{setTimeout(async()=>{await super.invalidateQueries(m(s),m(t)),e()},0)})}refetchQueries(s={},t={}){return super.refetchQueries(m(s),m(t))}fetchQuery(s){return super.fetchQuery(m(s))}prefetchQuery(s){return super.prefetchQuery(m(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(m(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(m(s))}setDefaultOptions(s){super.setDefaultOptions(m(s))}setQueryDefaults(s,t){super.setQueryDefaults(m(s),m(t))}getQueryDefaults(s){return super.getQueryDefaults(m(s))}setMutationDefaults(s,t){super.setMutationDefaults(m(s),m(t))}getMutationDefaults(s){return super.getMutationDefaults(m(s))}},Ms={install:(s,t={})=>{const e=$e(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const u="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Qs(u)}yt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[u,l]=t.clientPersister(i);n=u,l.then(()=>{var O;i.isRestoring.value=!1,(O=t.clientPersisterOnSuccess)==null||O.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const u=s.unmount;s.unmount=function(){a(),u()}}s.provide(e,i)}};function Ss(s,t,e){const i=Ve(),n=De(()=>{const o=m(t);typeof o.enabled=="function"&&(o.enabled=o.enabled());const d=i.defaultQueryOptions(o);return d._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",d}),a=new s(i,n.value),u=Ee(a.getCurrentResult());let l=()=>{};mt(i.isRestoring,o=>{o||(l(),l=a.subscribe(d=>{ie(u,d)}))},{immediate:!0});const O=()=>{a.setOptions(n.value),ie(u,a.getCurrentResult())};mt(n,O),Me(()=>{l()});const v=(...o)=>(O(),u.refetch(...o)),p=()=>new Promise((o,d)=>{let P=()=>{};const F=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const D=a.getOptimisticResult(n.value);D.isStale?(P(),a.fetchOptimistic(n.value).then(o,C=>{ne(n.value.throwOnError,[C,a.getCurrentQuery()])?d(C):o(a.getCurrentResult())})):(P(),o(D))}};F(),P=mt(n,F)});mt(()=>u.error,o=>{if(u.isError&&!u.isFetching&&ne(n.value.throwOnError,[o,a.getCurrentQuery()]))throw o});const c=Ae(Ue(u));for(const o in u)typeof u[o]=="function"&&(c[o]=u[o]);return c.suspense=p,c.refetch=v,c}function As(s,t){return Ss(ds,s)}function Us(s,t){const e=Ve(),i=De(()=>e.defaultMutationOptions(m(s))),n=new ms(e,i.value),a=Ee(n.getCurrentResult()),u=n.subscribe(v=>{ie(a,v)}),l=(v,p)=>{n.mutate(v,p).catch(()=>{})};mt(i,()=>{n.setOptions(i.value)}),Me(()=>{u()});const O=Ae(Ue(a));return mt(()=>a.error,v=>{if(v&&ne(i.value.throwOnError,[v]))throw v}),{...O,mutate:l,mutateAsync:a.mutate,reset:a.reset}}export{Qs as Q,Ms as V,As as a,Us as b,Ve as u};
@@ -1,4 +1,4 @@
1
- import{Z as s,a as h,b as a}from"./zod-BaF2dDCd.js";import{i as j,c as y}from"./vee-validate-PbgW_0me.js";/**
1
+ import{Z as s,a as h,b as a}from"./zod-BaF2dDCd.js";import{i as j,c as y}from"./vee-validate-Bcyi_7NV.js";/**
2
2
  * vee-validate v4.13.2
3
3
  * (c) 2024 Abdelrahman Awad
4
4
  * @license MIT
@@ -14,4 +14,4 @@
14
14
  * @vue/runtime-dom v3.4.37
15
15
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
16
  * @license MIT
17
- **/const ac="http://www.w3.org/2000/svg",dc="http://www.w3.org/1998/Math/MathML",Le=typeof document<"u"?document:null,ur=Le&&Le.createElement("template"),hc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Le.createElementNS(ac,e):t==="mathml"?Le.createElementNS(dc,e):n?Le.createElement(e,{is:n}):Le.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Le.createTextNode(e),createComment:e=>Le.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Le.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ur.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=ur.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},je="transition",St="animation",Ct=Symbol("_vtc"),Vi=(e,{slots:t})=>fc(el,ji(e),t);Vi.displayName="Transition";const Hi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},pc=Vi.props=re({},ii,Hi),et=(e,t=[])=>{L(e)?e.forEach(n=>n(...t)):e&&e(...t)},ar=e=>e?L(e)?e.some(t=>t.length>1):e.length>1:!1;function ji(e){const t={};for(const F in e)F in Hi||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:C=`${n}-leave-to`}=e,w=gc(r),O=w&&w[0],W=w&&w[1],{onBeforeEnter:K,onEnter:T,onEnterCancelled:S,onLeave:R,onLeaveCancelled:I,onBeforeAppear:v=K,onAppear:H=T,onAppearCancelled:k=S}=t,P=(F,J,se)=>{De(F,J?d:l),De(F,J?a:o),se&&se()},$=(F,J)=>{F._isLeaving=!1,De(F,h),De(F,C),De(F,p),J&&J()},D=F=>(J,se)=>{const Ce=F?H:T,te=()=>P(J,F,se);et(Ce,[J,te]),dr(()=>{De(J,F?c:i),Pe(J,F?d:l),ar(Ce)||hr(J,s,O,te)})};return re(t,{onBeforeEnter(F){et(K,[F]),Pe(F,i),Pe(F,o)},onBeforeAppear(F){et(v,[F]),Pe(F,c),Pe(F,a)},onEnter:D(!1),onAppear:D(!0),onLeave(F,J){F._isLeaving=!0;const se=()=>$(F,J);Pe(F,h),Pe(F,p),Ki(),dr(()=>{F._isLeaving&&(De(F,h),Pe(F,C),ar(R)||hr(F,s,W,se))}),et(R,[F,se])},onEnterCancelled(F){P(F,!1),et(S,[F])},onAppearCancelled(F){P(F,!0),et(k,[F])},onLeaveCancelled(F){$(F),et(I,[F])}})}function gc(e){if(e==null)return null;if(X(e))return[Vn(e.enter),Vn(e.leave)];{const t=Vn(e);return[t,t]}}function Vn(e){return Fr(e)}function Pe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ct]||(e[Ct]=new Set)).add(t)}function De(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Ct];n&&(n.delete(t),n.size||(e[Ct]=void 0))}function dr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let mc=0;function hr(e,t,n,s){const r=e._endId=++mc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Di(e,t);if(!o)return s();const a=o+"end";let d=0;const h=()=>{e.removeEventListener(a,p),i()},p=C=>{C.target===e&&++d>=c&&h()};setTimeout(()=>{d<c&&h()},l+1),e.addEventListener(a,p)}function Di(e,t){const n=window.getComputedStyle(e),s=w=>(n[w]||"").split(", "),r=s(`${je}Delay`),i=s(`${je}Duration`),o=pr(r,i),l=s(`${St}Delay`),c=s(`${St}Duration`),a=pr(l,c);let d=null,h=0,p=0;t===je?o>0&&(d=je,h=o,p=i.length):t===St?a>0&&(d=St,h=a,p=c.length):(h=Math.max(o,a),d=h>0?o>a?je:St:null,p=d?d===je?i.length:c.length:0);const C=d===je&&/\b(transform|all)(,|$)/.test(s(`${je}Property`).toString());return{type:d,timeout:h,propCount:p,hasTransform:C}}function pr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>gr(n)+gr(e[s])))}function gr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ki(){return document.body.offsetHeight}function _c(e,t,n){const s=e[Ct];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const hn=Symbol("_vod"),ki=Symbol("_vsh"),yf={beforeMount(e,{value:t},{transition:n}){e[hn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):At(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),At(e,!0),s.enter(e)):s.leave(e,()=>{At(e,!1)}):At(e,t))},beforeUnmount(e,{value:t}){At(e,t)}};function At(e,t){e.style.display=t?e[hn]:"none",e[ki]=!t}const Ui=Symbol("");function bf(e){const t=xt();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>is(i,r))},s=()=>{const r=e(t.proxy);rs(t.subTree,r),n(r)};fi(()=>{Nl(s)}),Sn(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Ts(()=>r.disconnect())})}function rs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{rs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)is(e.el,t);else if(e.type===ge)e.children.forEach(n=>rs(n,t));else if(e.type===Nt){let{el:n,anchor:s}=e;for(;n&&(is(n,t),n!==s);)n=n.nextSibling}}function is(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[Ui]=s}}const yc=/(^|;)\s*display\s*:/;function bc(e,t,n){const s=e.style,r=ne(n);let i=!1;if(n&&!r){if(t)if(ne(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&on(s,l,"")}else for(const o in t)n[o]==null&&on(s,o,"");for(const o in n)o==="display"&&(i=!0),on(s,o,n[o])}else if(r){if(t!==n){const o=s[Ui];o&&(n+=";"+o),s.cssText=n,i=yc.test(n)}}else t&&e.removeAttribute("style");hn in e&&(e[hn]=i?s.display:"",e[ki]&&(s.display="none"))}const mr=/\s*!important$/;function on(e,t,n){if(L(n))n.forEach(s=>on(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Cc(e,t);mr.test(n)?e.setProperty($e(s),n.replace(mr,""),"important"):e[s]=n}}const _r=["Webkit","Moz","ms"],Hn={};function Cc(e,t){const n=Hn[t];if(n)return n;let s=Te(t);if(s!=="filter"&&s in e)return Hn[t]=s;s=bn(s);for(let r=0;r<_r.length;r++){const i=_r[r]+s;if(i in e)return Hn[t]=i}return t}const yr="http://www.w3.org/1999/xlink";function br(e,t,n,s,r,i=ao(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(yr,t.slice(6,t.length)):e.setAttributeNS(yr,t,n):n==null||i&&!Or(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Re(n)?String(n):n)}function vc(e,t,n,s){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const o=r==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?"":String(n);(o!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const o=typeof e[t];o==="boolean"?n=Or(n):n==null&&o==="string"?(n="",i=!0):o==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function Ls(e,t,n,s){e.addEventListener(t,n,s)}function xc(e,t,n,s){e.removeEventListener(t,n,s)}const Cr=Symbol("_vei");function Ec(e,t,n,s,r=null){const i=e[Cr]||(e[Cr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=wc(t);if(s){const a=i[t]=Ac(s,r);Ls(e,l,a,c)}else o&&(xc(e,l,o,c),i[t]=void 0)}}const vr=/(?:Once|Passive|Capture)$/;function wc(e){let t;if(vr.test(e)){t={};let s;for(;s=e.match(vr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):$e(e.slice(2)),t]}let jn=0;const Tc=Promise.resolve(),Sc=()=>jn||(Tc.then(()=>jn=0),jn=Date.now());function Ac(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;we(Ic(s,n.value),t,5,[s])};return n.value=e,n.attached=Sc(),n}function Ic(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const xr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Fc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?_c(e,s,o):t==="style"?bc(e,n,s):mn(t)?ls(t)||Ec(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mc(e,t,s,o))?(vc(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&br(e,t,s,o,i,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),br(e,t,s,o))};function Mc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&xr(t)&&V(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return xr(t)&&ne(n)?!1:t in e}const Wi=new WeakMap,Gi=new WeakMap,pn=Symbol("_moveCb"),Er=Symbol("_enterCb"),qi={name:"TransitionGroup",props:re({},pc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xt(),s=ri();let r,i;return Es(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Nc(r[0].el,n.vnode.el,o))return;r.forEach(Rc),r.forEach(Pc);const l=r.filter(Lc);Ki(),l.forEach(c=>{const a=c.el,d=a.style;Pe(a,o),d.transform=d.webkitTransform=d.transitionDuration="";const h=a[pn]=p=>{p&&p.target!==a||(!p||/transform$/.test(p.propertyName))&&(a.removeEventListener("transitionend",h),a[pn]=null,De(a,o))};a.addEventListener("transitionend",h)})}),()=>{const o=q(e),l=ji(o);let c=o.tag||ge;if(r=[],i)for(let a=0;a<i.length;a++){const d=i[a];d.el&&d.el instanceof Element&&(r.push(d),ot(d,jt(d,l,s,n)),Wi.set(d,d.el.getBoundingClientRect()))}i=t.default?xs(t.default()):[];for(let a=0;a<i.length;a++){const d=i[a];d.key!=null&&ot(d,jt(d,l,s,n))}return ue(c,null,i)}}},Oc=e=>delete e.mode;qi.props;const Cf=qi;function Rc(e){const t=e.el;t[pn]&&t[pn](),t[Er]&&t[Er]()}function Pc(e){Gi.set(e,e.el.getBoundingClientRect())}function Lc(e){const t=Wi.get(e),n=Gi.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function Nc(e,t,n){const s=e.cloneNode(),r=e[Ct];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=Di(s);return i.removeChild(s),o}const gn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return L(t)?n=>at(t,n):t},gt=Symbol("_assign"),vf={deep:!0,created(e,t,n){e[gt]=gn(n),Ls(e,"change",()=>{const s=e._modelValue,r=Ji(e),i=e.checked,o=e[gt];if(L(s)){const l=Rr(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const a=[...s];a.splice(l,1),o(a)}}else if(_n(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(zi(e,i))})},mounted:wr,beforeUpdate(e,t,n){e[gt]=gn(n),wr(e,t,n)}};function wr(e,{value:t,oldValue:n},s){e._modelValue=t,L(t)?e.checked=Rr(t,s.props.value)>-1:_n(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=mt(t,zi(e,!0)))}const xf={created(e,{value:t},n){e.checked=mt(t,n.props.value),e[gt]=gn(n),Ls(e,"change",()=>{e[gt](Ji(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[gt]=gn(s),t!==n&&(e.checked=mt(t,s.props.value))}};function Ji(e){return"_value"in e?e._value:e.value}function zi(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Bc=["ctrl","shift","alt","meta"],$c={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Bc.some(n=>e[`${n}Key`]&&!t.includes(n))},Ef=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=$c[t[o]];if(l&&l(r,t))return}return e(r,...i)})},Vc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},wf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=$e(r.key);if(t.some(o=>o===i||Vc[o]===i))return e(r)})},Hc=re({patchProp:Fc},hc);let Tr;function Yi(){return Tr||(Tr=Fl(Hc))}const Tf=(...e)=>{Yi().render(...e)},Sf=(...e)=>{const t=Yi().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Dc(s);if(!r)return;const i=t._component;!V(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,jc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function jc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Dc(e){return ne(e)?document.querySelector(e):e}export{Gc as $,kc as A,Jc as B,xt as C,Wc as D,df as E,Zc as F,Vo as G,Ot as H,q as I,ef as J,Kc as K,Xl as L,ue as M,ge as N,Pi as O,bl as P,sf as Q,Zo as R,tf as S,po as T,Ts as U,Zl as V,Vi as W,Cn as X,nf as Y,lf as Z,fc as _,nn as a,ws as a0,In as a1,$o as a2,fi as a3,bt as a4,Sf as a5,Be as a6,fe as a7,bn as a8,Te as a9,Cf as aa,Es as ab,sl as ac,nl as ad,af as ae,Tf as af,il as ag,Jr as ah,zc as ai,Yc as aj,cf as ak,hf as al,bf as am,vf as an,mf as ao,xf as ap,Qc as aq,pf as ar,rf as as,ff as at,ms as b,cc as c,qr as d,Rs as e,gf as f,Xc as g,uf as h,de as i,Ni as j,of as k,_f as l,Ql as m,vn as n,Uc as o,wf as p,Ef as q,jo as r,Uo as s,qc as t,Xr as u,yf as v,sn as w,Sn as x,Jo as y,mo as z};
17
+ **/const ac="http://www.w3.org/2000/svg",dc="http://www.w3.org/1998/Math/MathML",Le=typeof document<"u"?document:null,ur=Le&&Le.createElement("template"),hc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Le.createElementNS(ac,e):t==="mathml"?Le.createElementNS(dc,e):n?Le.createElement(e,{is:n}):Le.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Le.createTextNode(e),createComment:e=>Le.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Le.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ur.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=ur.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},je="transition",St="animation",Ct=Symbol("_vtc"),Vi=(e,{slots:t})=>fc(el,ji(e),t);Vi.displayName="Transition";const Hi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},pc=Vi.props=re({},ii,Hi),et=(e,t=[])=>{L(e)?e.forEach(n=>n(...t)):e&&e(...t)},ar=e=>e?L(e)?e.some(t=>t.length>1):e.length>1:!1;function ji(e){const t={};for(const F in e)F in Hi||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:C=`${n}-leave-to`}=e,w=gc(r),O=w&&w[0],W=w&&w[1],{onBeforeEnter:K,onEnter:T,onEnterCancelled:S,onLeave:R,onLeaveCancelled:I,onBeforeAppear:v=K,onAppear:H=T,onAppearCancelled:k=S}=t,P=(F,J,se)=>{De(F,J?d:l),De(F,J?a:o),se&&se()},$=(F,J)=>{F._isLeaving=!1,De(F,h),De(F,C),De(F,p),J&&J()},D=F=>(J,se)=>{const Ce=F?H:T,te=()=>P(J,F,se);et(Ce,[J,te]),dr(()=>{De(J,F?c:i),Pe(J,F?d:l),ar(Ce)||hr(J,s,O,te)})};return re(t,{onBeforeEnter(F){et(K,[F]),Pe(F,i),Pe(F,o)},onBeforeAppear(F){et(v,[F]),Pe(F,c),Pe(F,a)},onEnter:D(!1),onAppear:D(!0),onLeave(F,J){F._isLeaving=!0;const se=()=>$(F,J);Pe(F,h),Pe(F,p),Ki(),dr(()=>{F._isLeaving&&(De(F,h),Pe(F,C),ar(R)||hr(F,s,W,se))}),et(R,[F,se])},onEnterCancelled(F){P(F,!1),et(S,[F])},onAppearCancelled(F){P(F,!0),et(k,[F])},onLeaveCancelled(F){$(F),et(I,[F])}})}function gc(e){if(e==null)return null;if(X(e))return[Vn(e.enter),Vn(e.leave)];{const t=Vn(e);return[t,t]}}function Vn(e){return Fr(e)}function Pe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ct]||(e[Ct]=new Set)).add(t)}function De(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Ct];n&&(n.delete(t),n.size||(e[Ct]=void 0))}function dr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let mc=0;function hr(e,t,n,s){const r=e._endId=++mc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Di(e,t);if(!o)return s();const a=o+"end";let d=0;const h=()=>{e.removeEventListener(a,p),i()},p=C=>{C.target===e&&++d>=c&&h()};setTimeout(()=>{d<c&&h()},l+1),e.addEventListener(a,p)}function Di(e,t){const n=window.getComputedStyle(e),s=w=>(n[w]||"").split(", "),r=s(`${je}Delay`),i=s(`${je}Duration`),o=pr(r,i),l=s(`${St}Delay`),c=s(`${St}Duration`),a=pr(l,c);let d=null,h=0,p=0;t===je?o>0&&(d=je,h=o,p=i.length):t===St?a>0&&(d=St,h=a,p=c.length):(h=Math.max(o,a),d=h>0?o>a?je:St:null,p=d?d===je?i.length:c.length:0);const C=d===je&&/\b(transform|all)(,|$)/.test(s(`${je}Property`).toString());return{type:d,timeout:h,propCount:p,hasTransform:C}}function pr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>gr(n)+gr(e[s])))}function gr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ki(){return document.body.offsetHeight}function _c(e,t,n){const s=e[Ct];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const hn=Symbol("_vod"),ki=Symbol("_vsh"),yf={beforeMount(e,{value:t},{transition:n}){e[hn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):At(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),At(e,!0),s.enter(e)):s.leave(e,()=>{At(e,!1)}):At(e,t))},beforeUnmount(e,{value:t}){At(e,t)}};function At(e,t){e.style.display=t?e[hn]:"none",e[ki]=!t}const Ui=Symbol("");function bf(e){const t=xt();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>is(i,r))},s=()=>{const r=e(t.proxy);rs(t.subTree,r),n(r)};fi(()=>{Nl(s)}),Sn(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Ts(()=>r.disconnect())})}function rs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{rs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)is(e.el,t);else if(e.type===ge)e.children.forEach(n=>rs(n,t));else if(e.type===Nt){let{el:n,anchor:s}=e;for(;n&&(is(n,t),n!==s);)n=n.nextSibling}}function is(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[Ui]=s}}const yc=/(^|;)\s*display\s*:/;function bc(e,t,n){const s=e.style,r=ne(n);let i=!1;if(n&&!r){if(t)if(ne(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&on(s,l,"")}else for(const o in t)n[o]==null&&on(s,o,"");for(const o in n)o==="display"&&(i=!0),on(s,o,n[o])}else if(r){if(t!==n){const o=s[Ui];o&&(n+=";"+o),s.cssText=n,i=yc.test(n)}}else t&&e.removeAttribute("style");hn in e&&(e[hn]=i?s.display:"",e[ki]&&(s.display="none"))}const mr=/\s*!important$/;function on(e,t,n){if(L(n))n.forEach(s=>on(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Cc(e,t);mr.test(n)?e.setProperty($e(s),n.replace(mr,""),"important"):e[s]=n}}const _r=["Webkit","Moz","ms"],Hn={};function Cc(e,t){const n=Hn[t];if(n)return n;let s=Te(t);if(s!=="filter"&&s in e)return Hn[t]=s;s=bn(s);for(let r=0;r<_r.length;r++){const i=_r[r]+s;if(i in e)return Hn[t]=i}return t}const yr="http://www.w3.org/1999/xlink";function br(e,t,n,s,r,i=ao(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(yr,t.slice(6,t.length)):e.setAttributeNS(yr,t,n):n==null||i&&!Or(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Re(n)?String(n):n)}function vc(e,t,n,s){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const o=r==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?"":String(n);(o!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const o=typeof e[t];o==="boolean"?n=Or(n):n==null&&o==="string"?(n="",i=!0):o==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function Ls(e,t,n,s){e.addEventListener(t,n,s)}function xc(e,t,n,s){e.removeEventListener(t,n,s)}const Cr=Symbol("_vei");function Ec(e,t,n,s,r=null){const i=e[Cr]||(e[Cr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=wc(t);if(s){const a=i[t]=Ac(s,r);Ls(e,l,a,c)}else o&&(xc(e,l,o,c),i[t]=void 0)}}const vr=/(?:Once|Passive|Capture)$/;function wc(e){let t;if(vr.test(e)){t={};let s;for(;s=e.match(vr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):$e(e.slice(2)),t]}let jn=0;const Tc=Promise.resolve(),Sc=()=>jn||(Tc.then(()=>jn=0),jn=Date.now());function Ac(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;we(Ic(s,n.value),t,5,[s])};return n.value=e,n.attached=Sc(),n}function Ic(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const xr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Fc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?_c(e,s,o):t==="style"?bc(e,n,s):mn(t)?ls(t)||Ec(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mc(e,t,s,o))?(vc(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&br(e,t,s,o,i,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),br(e,t,s,o))};function Mc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&xr(t)&&V(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return xr(t)&&ne(n)?!1:t in e}const Wi=new WeakMap,Gi=new WeakMap,pn=Symbol("_moveCb"),Er=Symbol("_enterCb"),qi={name:"TransitionGroup",props:re({},pc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xt(),s=ri();let r,i;return Es(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Nc(r[0].el,n.vnode.el,o))return;r.forEach(Rc),r.forEach(Pc);const l=r.filter(Lc);Ki(),l.forEach(c=>{const a=c.el,d=a.style;Pe(a,o),d.transform=d.webkitTransform=d.transitionDuration="";const h=a[pn]=p=>{p&&p.target!==a||(!p||/transform$/.test(p.propertyName))&&(a.removeEventListener("transitionend",h),a[pn]=null,De(a,o))};a.addEventListener("transitionend",h)})}),()=>{const o=q(e),l=ji(o);let c=o.tag||ge;if(r=[],i)for(let a=0;a<i.length;a++){const d=i[a];d.el&&d.el instanceof Element&&(r.push(d),ot(d,jt(d,l,s,n)),Wi.set(d,d.el.getBoundingClientRect()))}i=t.default?xs(t.default()):[];for(let a=0;a<i.length;a++){const d=i[a];d.key!=null&&ot(d,jt(d,l,s,n))}return ue(c,null,i)}}},Oc=e=>delete e.mode;qi.props;const Cf=qi;function Rc(e){const t=e.el;t[pn]&&t[pn](),t[Er]&&t[Er]()}function Pc(e){Gi.set(e,e.el.getBoundingClientRect())}function Lc(e){const t=Wi.get(e),n=Gi.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function Nc(e,t,n){const s=e.cloneNode(),r=e[Ct];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=Di(s);return i.removeChild(s),o}const gn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return L(t)?n=>at(t,n):t},gt=Symbol("_assign"),vf={deep:!0,created(e,t,n){e[gt]=gn(n),Ls(e,"change",()=>{const s=e._modelValue,r=Ji(e),i=e.checked,o=e[gt];if(L(s)){const l=Rr(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const a=[...s];a.splice(l,1),o(a)}}else if(_n(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(zi(e,i))})},mounted:wr,beforeUpdate(e,t,n){e[gt]=gn(n),wr(e,t,n)}};function wr(e,{value:t,oldValue:n},s){e._modelValue=t,L(t)?e.checked=Rr(t,s.props.value)>-1:_n(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=mt(t,zi(e,!0)))}const xf={created(e,{value:t},n){e.checked=mt(t,n.props.value),e[gt]=gn(n),Ls(e,"change",()=>{e[gt](Ji(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[gt]=gn(s),t!==n&&(e.checked=mt(t,s.props.value))}};function Ji(e){return"_value"in e?e._value:e.value}function zi(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Bc=["ctrl","shift","alt","meta"],$c={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Bc.some(n=>e[`${n}Key`]&&!t.includes(n))},Ef=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=$c[t[o]];if(l&&l(r,t))return}return e(r,...i)})},Vc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},wf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=$e(r.key);if(t.some(o=>o===i||Vc[o]===i))return e(r)})},Hc=re({patchProp:Fc},hc);let Tr;function Yi(){return Tr||(Tr=Fl(Hc))}const Tf=(...e)=>{Yi().render(...e)},Sf=(...e)=>{const t=Yi().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Dc(s);if(!r)return;const i=t._component;!V(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,jc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function jc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Dc(e){return ne(e)?document.querySelector(e):e}export{Gc as $,kc as A,Jc as B,xt as C,Wc as D,df as E,Zc as F,Vo as G,Ot as H,q as I,ef as J,Kc as K,Xl as L,ue as M,ge as N,Pi as O,bl as P,sf as Q,Zo as R,tf as S,po as T,Ts as U,Zl as V,Vi as W,Cn as X,nf as Y,lf as Z,fc as _,nn as a,ws as a0,In as a1,$o as a2,fi as a3,bt as a4,Sf as a5,Be as a6,fe as a7,bn as a8,Te as a9,Cf as aa,Es as ab,sl as ac,nl as ad,af as ae,Tf as af,il as ag,Jr as ah,zc as ai,Yc as aj,cf as ak,hf as al,vf as am,bf as an,mf as ao,xf as ap,Qc as aq,pf as ar,rf as as,ff as at,ms as b,cc as c,qr as d,Rs as e,gf as f,Xc as g,uf as h,de as i,Ni as j,of as k,_f as l,Ql as m,vn as n,Uc as o,wf as p,Ef as q,jo as r,Uo as s,qc as t,Xr as u,yf as v,sn as w,Sn as x,Jo as y,mo as z};
@@ -1 +1 @@
1
- import{t as v,c as b,e as S,f as V,g as D,v as B,j as p,n as y,k as w,l as C,m as N,p as j,q as T}from"./@vue-DL9UVr_o.js";var L={name:"Toggle",emits:["input","update:modelValue","change"],props:{value:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},modelValue:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},id:{type:[String,Number],required:!1,default:"toggle"},name:{type:[String,Number],required:!1,default:"toggle"},disabled:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!1},falseValue:{type:[String,Number,Boolean],required:!1,default:!1},trueValue:{type:[String,Number,Boolean],required:!1,default:!0},onLabel:{type:[String,Object],required:!1,default:""},offLabel:{type:[String,Object],required:!1,default:""},classes:{type:Object,required:!1,default:()=>({})},labelledby:{type:String,required:!1},describedby:{type:String,required:!1},aria:{required:!1,type:Object,default:()=>({})}},setup(e,n){const a=function(d,o,c){const{value:r,modelValue:u,falseValue:t,trueValue:l,disabled:f}=v(d),i=u&&u.value!==void 0?u:r,s=b(()=>i.value===l.value),h=g=>{o.emit("input",g),o.emit("update:modelValue",g),o.emit("change",g)},k=()=>{h(l.value)},m=()=>{h(t.value)};return[null,void 0,!1,0,"0","off"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&m(),[!0,1,"1","on"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&k(),{externalValue:i,checked:s,update:h,check:k,uncheck:m,handleInput:g=>{h(g.target.checked?l.value:t.value)},handleClick:()=>{f.value||(s.value?m():k())}}}(e,n),O=function(d,o,c){const{trueValue:r,falseValue:u,onLabel:t,offLabel:l}=v(d),f=c.checked,i=c.update;return{label:b(()=>{let s=f.value?t.value:l.value;return s||(s="&nbsp;"),s}),toggle:()=>{i(f.value?u.value:r.value)},on:()=>{i(r.value)},off:()=>{i(u.value)}}}(e,0,{checked:a.checked,update:a.update}),q=function(d,o,c){const r=v(d),u=r.disabled,t=c.checked,l=b(()=>({container:"toggle-container",toggle:"toggle",toggleOn:"toggle-on",toggleOff:"toggle-off",toggleOnDisabled:"toggle-on-disabled",toggleOffDisabled:"toggle-off-disabled",handle:"toggle-handle",handleOn:"toggle-handle-on",handleOff:"toggle-handle-off",handleOnDisabled:"toggle-handle-on-disabled",handleOffDisabled:"toggle-handle-off-disabled",label:"toggle-label",...r.classes.value}));return{classList:b(()=>({container:l.value.container,toggle:[l.value.toggle,u.value?t.value?l.value.toggleOnDisabled:l.value.toggleOffDisabled:t.value?l.value.toggleOn:l.value.toggleOff],handle:[l.value.handle,u.value?t.value?l.value.handleOnDisabled:l.value.handleOffDisabled:t.value?l.value.handleOn:l.value.handleOff],label:l.value.label}))}}(e,0,{checked:a.checked}),x=function(d,o,c){const{disabled:r}=v(d),u=c.check,t=c.uncheck,l=c.checked;return{handleSpace:()=>{r.value||(l.value?t():u())}}}(e,0,{check:a.check,uncheck:a.uncheck,checked:a.checked});return{...a,...q,...O,...x}}};const M=["tabindex","aria-checked","aria-describedby","aria-labelledby"],z=["id","name","value","checked","disabled"],H=["innerHTML"],K=["checked"];L.render=function(e,n,a,O,q,x){return S(),V("div",N({class:e.classList.container,tabindex:a.disabled?void 0:0,"aria-checked":e.checked,"aria-describedby":a.describedby,"aria-labelledby":a.labelledby,role:"switch"},a.aria,{onKeypress:n[1]||(n[1]=j(T((...d)=>e.handleSpace&&e.handleSpace(...d),["prevent"]),["space"]))}),[D(p("input",{type:"checkbox",id:a.id,name:a.name,value:a.trueValue,checked:e.checked,disabled:a.disabled},null,8,z),[[B,!1]]),p("div",{class:y(e.classList.toggle),onClick:n[0]||(n[0]=(...d)=>e.handleClick&&e.handleClick(...d))},[p("span",{class:y(e.classList.handle)},null,2),w(e.$slots,"label",{checked:e.checked,classList:e.classList},()=>[p("span",{class:y(e.classList.label),innerHTML:e.label},null,10,H)]),a.required?(S(),V("input",{key:0,type:"checkbox",style:{appearance:"none",height:"1px",margin:"0",padding:"0",fontSize:"0",background:"transparent",position:"absolute",width:"100%",bottom:"0",outline:"none"},checked:e.checked,"aria-hidden":"true",tabindex:"-1",required:""},null,8,K)):C("v-if",!0)],2)],16,M)},L.__file="src/Toggle.vue";export{L as b};
1
+ import{t as v,c as b,e as S,f as V,g as D,v as B,j as p,n as y,k as w,l as C,m as N,p as j,q as T}from"./@vue-CHoPEscU.js";var L={name:"Toggle",emits:["input","update:modelValue","change"],props:{value:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},modelValue:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},id:{type:[String,Number],required:!1,default:"toggle"},name:{type:[String,Number],required:!1,default:"toggle"},disabled:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!1},falseValue:{type:[String,Number,Boolean],required:!1,default:!1},trueValue:{type:[String,Number,Boolean],required:!1,default:!0},onLabel:{type:[String,Object],required:!1,default:""},offLabel:{type:[String,Object],required:!1,default:""},classes:{type:Object,required:!1,default:()=>({})},labelledby:{type:String,required:!1},describedby:{type:String,required:!1},aria:{required:!1,type:Object,default:()=>({})}},setup(e,n){const a=function(d,o,c){const{value:r,modelValue:u,falseValue:t,trueValue:l,disabled:f}=v(d),i=u&&u.value!==void 0?u:r,s=b(()=>i.value===l.value),h=g=>{o.emit("input",g),o.emit("update:modelValue",g),o.emit("change",g)},k=()=>{h(l.value)},m=()=>{h(t.value)};return[null,void 0,!1,0,"0","off"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&m(),[!0,1,"1","on"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&k(),{externalValue:i,checked:s,update:h,check:k,uncheck:m,handleInput:g=>{h(g.target.checked?l.value:t.value)},handleClick:()=>{f.value||(s.value?m():k())}}}(e,n),O=function(d,o,c){const{trueValue:r,falseValue:u,onLabel:t,offLabel:l}=v(d),f=c.checked,i=c.update;return{label:b(()=>{let s=f.value?t.value:l.value;return s||(s="&nbsp;"),s}),toggle:()=>{i(f.value?u.value:r.value)},on:()=>{i(r.value)},off:()=>{i(u.value)}}}(e,0,{checked:a.checked,update:a.update}),q=function(d,o,c){const r=v(d),u=r.disabled,t=c.checked,l=b(()=>({container:"toggle-container",toggle:"toggle",toggleOn:"toggle-on",toggleOff:"toggle-off",toggleOnDisabled:"toggle-on-disabled",toggleOffDisabled:"toggle-off-disabled",handle:"toggle-handle",handleOn:"toggle-handle-on",handleOff:"toggle-handle-off",handleOnDisabled:"toggle-handle-on-disabled",handleOffDisabled:"toggle-handle-off-disabled",label:"toggle-label",...r.classes.value}));return{classList:b(()=>({container:l.value.container,toggle:[l.value.toggle,u.value?t.value?l.value.toggleOnDisabled:l.value.toggleOffDisabled:t.value?l.value.toggleOn:l.value.toggleOff],handle:[l.value.handle,u.value?t.value?l.value.handleOnDisabled:l.value.handleOffDisabled:t.value?l.value.handleOn:l.value.handleOff],label:l.value.label}))}}(e,0,{checked:a.checked}),x=function(d,o,c){const{disabled:r}=v(d),u=c.check,t=c.uncheck,l=c.checked;return{handleSpace:()=>{r.value||(l.value?t():u())}}}(e,0,{check:a.check,uncheck:a.uncheck,checked:a.checked});return{...a,...q,...O,...x}}};const M=["tabindex","aria-checked","aria-describedby","aria-labelledby"],z=["id","name","value","checked","disabled"],H=["innerHTML"],K=["checked"];L.render=function(e,n,a,O,q,x){return S(),V("div",N({class:e.classList.container,tabindex:a.disabled?void 0:0,"aria-checked":e.checked,"aria-describedby":a.describedby,"aria-labelledby":a.labelledby,role:"switch"},a.aria,{onKeypress:n[1]||(n[1]=j(T((...d)=>e.handleSpace&&e.handleSpace(...d),["prevent"]),["space"]))}),[D(p("input",{type:"checkbox",id:a.id,name:a.name,value:a.trueValue,checked:e.checked,disabled:a.disabled},null,8,z),[[B,!1]]),p("div",{class:y(e.classList.toggle),onClick:n[0]||(n[0]=(...d)=>e.handleClick&&e.handleClick(...d))},[p("span",{class:y(e.classList.handle)},null,2),w(e.$slots,"label",{checked:e.checked,classList:e.classList},()=>[p("span",{class:y(e.classList.label),innerHTML:e.label},null,10,H)]),a.required?(S(),V("input",{key:0,type:"checkbox",style:{appearance:"none",height:"1px",margin:"0",padding:"0",fontSize:"0",background:"transparent",position:"absolute",width:"100%",bottom:"0",outline:"none"},checked:e.checked,"aria-hidden":"true",tabindex:"-1",required:""},null,8,K)):C("v-if",!0)],2)],16,M)},L.__file="src/Toggle.vue";export{L as b};
@@ -1 +1 @@
1
- import{s as me,x as pe,y as he,z as we,o as Ae,A as Le,i as ne,u as Fe,B as Pe,d as ge,r as h,c as k,C as ye,w as C,D as oe,b as K,E as re,F as ie}from"./@vue-DL9UVr_o.js";import{n as Y}from"./nprogress-DSyAi0LF.js";function N(e){return we()?(Ae(e),!0):!1}function Mt(e){let n=0,t,o;const s=()=>{n-=1,o&&n<=0&&(o.stop(),t=void 0,o=void 0)};return(...r)=>(n+=1,t||(o=Le(!0),t=o.run(()=>e(...r))),N(s),t)}function He(e,n,{enumerable:t=!1,unwrap:o=!0}={}){for(const[s,r]of Object.entries(n))s!=="value"&&(ne(r)&&o?Object.defineProperty(e,s,{get(){return r.value},set(a){r.value=a},enumerable:t}):Object.defineProperty(e,s,{value:r,enumerable:t}));return e}function We(e,n){if(typeof Symbol<"u"){const t={...e};return Object.defineProperty(t,Symbol.iterator,{enumerable:!1,value(){let o=0;return{next:()=>({value:n[o++],done:o>n.length})}}}),t}else return Object.assign([...n],e)}function O(e){return typeof e=="function"?e():Fe(e)}const q=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ce=e=>e!=null,Re=Object.prototype.toString,Se=e=>Re.call(e)==="[object Object]",W=()=>{},V=Ye();function Ye(){var e,n;return q&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function le(e,n){function t(...o){return new Promise((s,r)=>{Promise.resolve(e(()=>n.apply(this,o),{fn:n,thisArg:this,args:o})).then(s).catch(r)})}return t}const be=e=>e();function Ne(e,n={}){let t,o,s=W;const r=l=>{clearTimeout(l),s(),s=W};return l=>{const u=O(e),i=O(n.maxWait);return t&&r(t),u<=0||i!==void 0&&i<=0?(o&&(r(o),o=null),Promise.resolve(l())):new Promise((v,d)=>{s=n.rejectOnCancel?d:v,i&&!o&&(o=setTimeout(()=>{t&&r(t),o=null,v(l())},i)),t=setTimeout(()=>{o&&r(o),o=null,v(l())},u)})}}function ze(...e){let n=0,t,o=!0,s=W,r,a,l,u,i;!ne(e[0])&&typeof e[0]=="object"?{delay:a,trailing:l=!0,leading:u=!0,rejectOnCancel:i=!1}=e[0]:[a,l=!0,u=!0,i=!1]=e;const v=()=>{t&&(clearTimeout(t),t=void 0,s(),s=W)};return c=>{const f=O(a),p=Date.now()-n,w=()=>r=c();return v(),f<=0?(n=Date.now(),w()):(p>f&&(u||!o)?(n=Date.now(),w()):l&&(r=new Promise((S,m)=>{s=i?m:S,t=setTimeout(()=>{n=Date.now(),o=!0,S(w()),v()},Math.max(0,f-p))})),!u&&!t&&(t=setTimeout(()=>o=!0,f)),o=!1,r)}}function Ie(e=be){const n=h(!0);function t(){n.value=!1}function o(){n.value=!0}const s=(...r)=>{n.value&&e(...r)};return{isActive:ge(n),pause:t,resume:o,eventFilter:s}}const Ee={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function Xe(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}const $e=/-(\w)/g,je=Xe(e=>e.replace($e,(n,t)=>t?t.toUpperCase():""));function Be(e){return ye()}function De(...e){if(e.length!==1)return Pe(...e);const n=e[0];return typeof n=="function"?ge(me(()=>({get:n,set:W}))):h(n)}function Ve(e,n=200,t={}){return le(Ne(n,t),e)}function qe(e,n=200,t=!1,o=!0,s=!1){return le(ze(n,t,o,s),e)}function xt(e,n={}){let t=e,o,s;const r=me((c,f)=>(o=c,s=f,{get(){return a()},set(p){l(p)}}));function a(c=!0){return c&&o(),t}function l(c,f=!0){var p,w;if(c===t)return;const S=t;((p=n.onBeforeChange)==null?void 0:p.call(n,c,S))!==!1&&(t=c,(w=n.onChanged)==null||w.call(n,c,S),f&&s())}return He(r,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:c=>l(c,!1),peek:()=>a(!1),lay:c=>l(c,!1)},{enumerable:!0})}function Ue(e,n,t={}){const{eventFilter:o=be,...s}=t;return C(e,le(o,n),s)}function Ge(e,n,t={}){const{eventFilter:o,...s}=t,{eventFilter:r,pause:a,resume:l,isActive:u}=Ie(o);return{stop:Ue(e,n,{...s,eventFilter:r}),pause:a,resume:l,isActive:u}}function U(e,n=!0,t){Be()?pe(e,t):n?e():he(e)}const Je=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Ke=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function Qe(e,n,t,o){let s=e<12?"AM":"PM";return o&&(s=s.split("").reduce((r,a)=>r+=`${a}.`,"")),t?s.toLowerCase():s}function I(e){const n=["th","st","nd","rd"],t=e%100;return e+(n[(t-20)%10]||n[t]||n[0])}function Ze(e,n,t={}){var o;const s=e.getFullYear(),r=e.getMonth(),a=e.getDate(),l=e.getHours(),u=e.getMinutes(),i=e.getSeconds(),v=e.getMilliseconds(),d=e.getDay(),c=(o=t.customMeridiem)!=null?o:Qe,f={Yo:()=>I(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>r+1,Mo:()=>I(r+1),MM:()=>`${r+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(t.locales,{month:"short"}),MMMM:()=>e.toLocaleDateString(t.locales,{month:"long"}),D:()=>String(a),Do:()=>I(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(l),Ho:()=>I(l),HH:()=>`${l}`.padStart(2,"0"),h:()=>`${l%12||12}`.padStart(1,"0"),ho:()=>I(l%12||12),hh:()=>`${l%12||12}`.padStart(2,"0"),m:()=>String(u),mo:()=>I(u),mm:()=>`${u}`.padStart(2,"0"),s:()=>String(i),so:()=>I(i),ss:()=>`${i}`.padStart(2,"0"),SSS:()=>`${v}`.padStart(3,"0"),d:()=>d,dd:()=>e.toLocaleDateString(t.locales,{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(t.locales,{weekday:"short"}),dddd:()=>e.toLocaleDateString(t.locales,{weekday:"long"}),A:()=>c(l,u),AA:()=>c(l,u,!1,!0),a:()=>c(l,u,!0),aa:()=>c(l,u,!0,!0)};return n.replace(Ke,(p,w)=>{var S,m;return(m=w??((S=f[p])==null?void 0:S.call(f)))!=null?m:p})}function et(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const n=e.match(Je);if(n){const t=n[2]-1||0,o=(n[7]||"0").substring(0,3);return new Date(n[1],t,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}function Ot(e,n="HH:mm:ss",t={}){return k(()=>Ze(et(O(e)),O(n),t))}function Tt(e,n,t){let o;ne(t)?o={evaluating:t}:o=t||{};const{lazy:s=!1,evaluating:r=void 0,shallow:a=!0,onError:l=W}=o,u=h(!s),i=a?oe(n):h(n);let v=0;return re(async d=>{if(!u.value)return;v++;const c=v;let f=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const p=await e(w=>{d(()=>{r&&(r.value=!1),f||w()})});c===v&&(i.value=p)}catch(p){l(p)}finally{r&&c===v&&(r.value=!1),f=!0}}),s?k(()=>(u.value=!0,i.value)):i}function kt(e={}){const{inheritAttrs:n=!0}=e,t=oe(),o=ie({setup(r,{slots:a}){return()=>{t.value=a.default}}}),s=ie({inheritAttrs:n,setup(r,{attrs:a,slots:l}){return()=>{var u;t.value;const i=(u=t.value)==null?void 0:u.call(t,{...tt(a),$slots:l});return n&&(i==null?void 0:i.length)===1?i[0]:i}}});return We({define:o,reuse:s},[o,s])}function tt(e){const n={};for(const t in e)n[je(t)]=e[t];return n}function L(e){var n;const t=O(e);return(n=t==null?void 0:t.$el)!=null?n:t}const F=q?window:void 0,_e=q?window.document:void 0;function D(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=F):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(v=>v()),r.length=0},l=(v,d,c,f)=>(v.addEventListener(d,c,f),()=>v.removeEventListener(d,c,f)),u=C(()=>[L(n),O(s)],([v,d])=>{if(a(),!v)return;const c=Se(d)?{...d}:d;r.push(...t.flatMap(f=>o.map(p=>l(v,f,p,c))))},{immediate:!0,flush:"post"}),i=()=>{u(),a()};return N(i),i}let ae=!1;function At(e,n,t={}){const{window:o=F,ignore:s=[],capture:r=!0,detectIframe:a=!1}=t;if(!o)return W;V&&!ae&&(ae=!0,Array.from(o.document.body.children).forEach(c=>c.addEventListener("click",W)),o.document.documentElement.addEventListener("click",W));let l=!0;const u=c=>s.some(f=>{if(typeof f=="string")return Array.from(o.document.querySelectorAll(f)).some(p=>p===c.target||c.composedPath().includes(p));{const p=L(f);return p&&(c.target===p||c.composedPath().includes(p))}}),v=[D(o,"click",c=>{const f=L(e);if(!(!f||f===c.target||c.composedPath().includes(f))){if(c.detail===0&&(l=!u(c)),!l){l=!0;return}n(c)}},{passive:!0,capture:r}),D(o,"pointerdown",c=>{const f=L(e);l=!u(c)&&!!(f&&!c.composedPath().includes(f))},{passive:!0}),a&&D(o,"blur",c=>{setTimeout(()=>{var f;const p=L(e);((f=o.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(p!=null&&p.contains(o.document.activeElement))&&n(c)},0)})].filter(Boolean);return()=>v.forEach(c=>c())}function nt(e){return typeof e=="function"?e:typeof e=="string"?n=>n.key===e:Array.isArray(e)?n=>e.includes(n.key):()=>!0}function Lt(...e){let n,t,o={};e.length===3?(n=e[0],t=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(n=!0,t=e[0],o=e[1]):(n=e[0],t=e[1]):(n=!0,t=e[0]);const{target:s=F,eventName:r="keydown",passive:a=!1,dedupe:l=!1}=o,u=nt(n);return D(s,r,v=>{v.repeat&&O(l)||u(v)&&t(v)},a)}function ot(){const e=h(!1),n=ye();return n&&pe(()=>{e.value=!0},n),e}function $(e){const n=ot();return k(()=>(n.value,!!e()))}function rt(e,n,t={}){const{window:o=F,...s}=t;let r;const a=$(()=>o&&"MutationObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},u=k(()=>{const c=O(e),f=(Array.isArray(c)?c:[c]).map(L).filter(Ce);return new Set(f)}),i=C(()=>u.value,c=>{l(),a.value&&c.size&&(r=new MutationObserver(n),c.forEach(f=>r.observe(f,s)))},{immediate:!0,flush:"post"}),v=()=>r==null?void 0:r.takeRecords(),d=()=>{l(),i()};return N(d),{isSupported:a,stop:d,takeRecords:v}}function lt(e,n={}){const{window:t=F}=n,o=$(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=h(!1),a=i=>{r.value=i.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},u=re(()=>{o.value&&(l(),s=t.matchMedia(O(e)),"addEventListener"in s?s.addEventListener("change",a):s.addListener(a),r.value=s.matches)});return N(()=>{u(),l(),s=void 0}),r}const G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},J="__vueuse_ssr_handlers__",st=ut();function ut(){return J in G||(G[J]=G[J]||{}),G[J]}function it(e,n){return st[e]||n}function at(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ct={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ce="vueuse-storage";function ft(e,n,t,o={}){var s;const{flush:r="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:u=!0,mergeDefaults:i=!1,shallow:v,window:d=F,eventFilter:c,onError:f=y=>{console.error(y)},initOnMounted:p}=o,w=(v?oe:h)(typeof n=="function"?n():n);if(!t)try{t=it("getDefaultStorage",()=>{var y;return(y=F)==null?void 0:y.localStorage})()}catch(y){f(y)}if(!t)return w;const S=O(n),m=at(S),_=(s=o.serializer)!=null?s:ct[m],{pause:A,resume:M}=Ge(w,()=>T(w.value),{flush:r,deep:a,eventFilter:c});d&&l&&U(()=>{D(d,"storage",P),D(d,ce,E),p&&P()}),p||P();function g(y,x){d&&d.dispatchEvent(new CustomEvent(ce,{detail:{key:e,oldValue:y,newValue:x,storageArea:t}}))}function T(y){try{const x=t.getItem(e);if(y==null)g(x,null),t.removeItem(e);else{const H=_.write(y);x!==H&&(t.setItem(e,H),g(x,H))}}catch(x){f(x)}}function b(y){const x=y?y.newValue:t.getItem(e);if(x==null)return u&&S!=null&&t.setItem(e,_.write(S)),S;if(!y&&i){const H=_.read(x);return typeof i=="function"?i(H,S):m==="object"&&!Array.isArray(H)?{...S,...H}:H}else return typeof x!="string"?x:_.read(x)}function P(y){if(!(y&&y.storageArea!==t)){if(y&&y.key==null){w.value=S;return}if(!(y&&y.key!==e)){A();try{(y==null?void 0:y.newValue)!==_.write(w.value)&&(w.value=b(y))}catch(x){f(x)}finally{y?he(M):M()}}}}function E(y){P(y.detail)}return w}function Ft(e={}){const{document:n=_e}=e;if(!n)return h("visible");const t=h(n.visibilityState);return D(n,"visibilitychange",()=>{t.value=n.visibilityState}),t}function Me(e,n,t={}){const{window:o=F,...s}=t;let r;const a=$(()=>o&&"ResizeObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},u=k(()=>Array.isArray(e)?e.map(d=>L(d)):[L(e)]),i=C(u,d=>{if(l(),a.value&&o){r=new ResizeObserver(n);for(const c of d)c&&r.observe(c,s)}},{immediate:!0,flush:"post"}),v=()=>{l(),i()};return N(v),{isSupported:a,stop:v}}function Pt(e,n={}){const{reset:t=!0,windowResize:o=!0,windowScroll:s=!0,immediate:r=!0}=n,a=h(0),l=h(0),u=h(0),i=h(0),v=h(0),d=h(0),c=h(0),f=h(0);function p(){const w=L(e);if(!w){t&&(a.value=0,l.value=0,u.value=0,i.value=0,v.value=0,d.value=0,c.value=0,f.value=0);return}const S=w.getBoundingClientRect();a.value=S.height,l.value=S.bottom,u.value=S.left,i.value=S.right,v.value=S.top,d.value=S.width,c.value=S.x,f.value=S.y}return Me(e,p),C(()=>L(e),w=>!w&&p()),rt(e,p,{attributeFilter:["style","class"]}),s&&D("scroll",p,{capture:!0,passive:!0}),o&&D("resize",p,{passive:!0}),U(()=>{r&&p()}),{height:a,bottom:l,left:u,right:i,top:v,width:d,x:c,y:f,update:p}}function Ht(e,n={width:0,height:0},t={}){const{window:o=F,box:s="content-box"}=t,r=k(()=>{var d,c;return(c=(d=L(e))==null?void 0:d.namespaceURI)==null?void 0:c.includes("svg")}),a=h(n.width),l=h(n.height),{stop:u}=Me(e,([d])=>{const c=s==="border-box"?d.borderBoxSize:s==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(o&&r.value){const f=L(e);if(f){const p=f.getBoundingClientRect();a.value=p.width,l.value=p.height}}else if(c){const f=Array.isArray(c)?c:[c];a.value=f.reduce((p,{inlineSize:w})=>p+w,0),l.value=f.reduce((p,{blockSize:w})=>p+w,0)}else a.value=d.contentRect.width,l.value=d.contentRect.height},t);U(()=>{const d=L(e);d&&(a.value="offsetWidth"in d?d.offsetWidth:n.width,l.value="offsetHeight"in d?d.offsetHeight:n.height)});const i=C(()=>L(e),d=>{a.value=d?n.width:0,l.value=d?n.height:0});function v(){u(),i()}return{width:a,height:l,stop:v}}const B=new Map;function Wt(e){const n=we();function t(l){var u;const i=B.get(e)||new Set;i.add(l),B.set(e,i);const v=()=>s(l);return(u=n==null?void 0:n.cleanups)==null||u.push(v),v}function o(l){function u(...i){s(u),l(...i)}return t(u)}function s(l){const u=B.get(e);u&&(u.delete(l),u.size||r())}function r(){B.delete(e)}function a(l,u){var i;(i=B.get(e))==null||i.forEach(v=>v(l,u))}return{on:t,once:o,off:s,emit:a,reset:r}}const fe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Ct(e,n={}){const{document:t=_e,autoExit:o=!1}=n,s=k(()=>{var m;return(m=L(e))!=null?m:t==null?void 0:t.querySelector("html")}),r=h(!1),a=k(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(m=>t&&m in t||s.value&&m in s.value)),l=k(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(m=>t&&m in t||s.value&&m in s.value)),u=k(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(m=>t&&m in t||s.value&&m in s.value)),i=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(m=>t&&m in t),v=$(()=>s.value&&t&&a.value!==void 0&&l.value!==void 0&&u.value!==void 0),d=()=>i?(t==null?void 0:t[i])===s.value:!1,c=()=>{if(u.value){if(t&&t[u.value]!=null)return t[u.value];{const m=s.value;if((m==null?void 0:m[u.value])!=null)return!!m[u.value]}}return!1};async function f(){if(!(!v.value||!r.value)){if(l.value)if((t==null?void 0:t[l.value])!=null)await t[l.value]();else{const m=s.value;(m==null?void 0:m[l.value])!=null&&await m[l.value]()}r.value=!1}}async function p(){if(!v.value||r.value)return;c()&&await f();const m=s.value;a.value&&(m==null?void 0:m[a.value])!=null&&(await m[a.value](),r.value=!0)}async function w(){await(r.value?f():p())}const S=()=>{const m=c();(!m||m&&d())&&(r.value=m)};return D(t,fe,S,!1),D(()=>L(s),fe,S,!1),o&&N(f),{isSupported:v,isFullscreen:r,enter:p,exit:f,toggle:w}}const de=1;function Rt(e,n={}){const{throttle:t=0,idle:o=200,onStop:s=W,onScroll:r=W,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:u="auto",window:i=F,onError:v=b=>{console.error(b)}}=n,d=h(0),c=h(0),f=k({get(){return d.value},set(b){w(b,void 0)}}),p=k({get(){return c.value},set(b){w(void 0,b)}});function w(b,P){var E,y,x,H;if(!i)return;const R=O(e);if(!R)return;(x=R instanceof Document?i.document.body:R)==null||x.scrollTo({top:(E=O(P))!=null?E:p.value,left:(y=O(b))!=null?y:f.value,behavior:O(u)});const j=((H=R==null?void 0:R.document)==null?void 0:H.documentElement)||(R==null?void 0:R.documentElement)||R;f!=null&&(d.value=j.scrollLeft),p!=null&&(c.value=j.scrollTop)}const S=h(!1),m=K({left:!0,right:!1,top:!0,bottom:!1}),_=K({left:!1,right:!1,top:!1,bottom:!1}),A=b=>{S.value&&(S.value=!1,_.left=!1,_.right=!1,_.top=!1,_.bottom=!1,s(b))},M=Ve(A,t+o),g=b=>{var P;if(!i)return;const E=((P=b==null?void 0:b.document)==null?void 0:P.documentElement)||(b==null?void 0:b.documentElement)||L(b),{display:y,flexDirection:x}=getComputedStyle(E),H=E.scrollLeft;_.left=H<d.value,_.right=H>d.value;const R=Math.abs(H)<=(a.left||0),j=Math.abs(H)+E.clientWidth>=E.scrollWidth-(a.right||0)-de;y==="flex"&&x==="row-reverse"?(m.left=j,m.right=R):(m.left=R,m.right=j),d.value=H;let z=E.scrollTop;b===i.document&&!z&&(z=i.document.body.scrollTop),_.top=z<c.value,_.bottom=z>c.value;const se=Math.abs(z)<=(a.top||0),ue=Math.abs(z)+E.clientHeight>=E.scrollHeight-(a.bottom||0)-de;y==="flex"&&x==="column-reverse"?(m.top=ue,m.bottom=se):(m.top=se,m.bottom=ue),c.value=z},T=b=>{var P;if(!i)return;const E=(P=b.target.documentElement)!=null?P:b.target;g(E),S.value=!0,M(b),r(b)};return D(e,"scroll",t?qe(T,t,!0,!1):T,l),U(()=>{try{const b=O(e);if(!b)return;g(b)}catch(b){v(b)}}),D(e,"scrollend",A,l),{x:f,y:p,isScrolling:S,arrivedState:m,directions:_,measure(){const b=O(e);i&&b&&g(b)}}}function Q(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Yt(e,n,t={}){const{window:o=F}=t;return ft(e,n,o==null?void 0:o.localStorage,t)}const dt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function vt(e={}){const{type:n="page",touch:t=!0,resetOnTouchEnds:o=!1,initialValue:s={x:0,y:0},window:r=F,target:a=r,scroll:l=!0,eventFilter:u}=e;let i=null;const v=h(s.x),d=h(s.y),c=h(null),f=typeof n=="function"?n:dt[n],p=g=>{const T=f(g);i=g,T&&([v.value,d.value]=T,c.value="mouse")},w=g=>{if(g.touches.length>0){const T=f(g.touches[0]);T&&([v.value,d.value]=T,c.value="touch")}},S=()=>{if(!i||!r)return;const g=f(i);i instanceof MouseEvent&&g&&(v.value=g[0]+r.scrollX,d.value=g[1]+r.scrollY)},m=()=>{v.value=s.x,d.value=s.y},_=u?g=>u(()=>p(g),{}):g=>p(g),A=u?g=>u(()=>w(g),{}):g=>w(g),M=u?()=>u(()=>S(),{}):()=>S();if(a){const g={passive:!0};D(a,["mousemove","dragover"],_,g),t&&n!=="movement"&&(D(a,["touchstart","touchmove"],A,g),o&&D(a,"touchend",m,g)),l&&n==="page"&&D(r,"scroll",M,{passive:!0})}return{x:v,y:d,sourceType:c}}function Nt(e,n={}){const{handleOutside:t=!0,window:o=F}=n,s=n.type||"page",{x:r,y:a,sourceType:l}=vt(n),u=h(e??(o==null?void 0:o.document.body)),i=h(0),v=h(0),d=h(0),c=h(0),f=h(0),p=h(0),w=h(!0);let S=()=>{};return o&&(S=C([u,r,a],()=>{const m=L(u);if(!m)return;const{left:_,top:A,width:M,height:g}=m.getBoundingClientRect();d.value=_+(s==="page"?o.pageXOffset:0),c.value=A+(s==="page"?o.pageYOffset:0),f.value=g,p.value=M;const T=r.value-d.value,b=a.value-c.value;w.value=M===0||g===0||T<0||b<0||T>M||b>g,(t||!w.value)&&(i.value=T,v.value=b)},{immediate:!0}),D(document,"mouseleave",()=>{w.value=!0})),{x:r,y:a,sourceType:l,elementX:i,elementY:v,elementPositionX:d,elementPositionY:c,elementHeight:f,elementWidth:p,isOutside:w,stop:S}}function zt(e={}){const{touch:n=!0,drag:t=!0,capture:o=!1,initialValue:s=!1,window:r=F}=e,a=h(s),l=h(null);if(!r)return{pressed:a,sourceType:l};const u=d=>()=>{a.value=!0,l.value=d},i=()=>{a.value=!1,l.value=null},v=k(()=>L(e.target)||r);return D(v,"mousedown",u("mouse"),{passive:!0,capture:o}),D(r,"mouseleave",i,{passive:!0,capture:o}),D(r,"mouseup",i,{passive:!0,capture:o}),t&&(D(v,"dragstart",u("mouse"),{passive:!0,capture:o}),D(r,"drop",i,{passive:!0,capture:o}),D(r,"dragend",i,{passive:!0,capture:o})),n&&(D(v,"touchstart",u("touch"),{passive:!0,capture:o}),D(r,"touchend",i,{passive:!0,capture:o}),D(r,"touchcancel",i,{passive:!0,capture:o})),{pressed:a,sourceType:l}}function mt(e={}){const{window:n=F}=e,t=n==null?void 0:n.navigator,o=$(()=>t&&"connection"in t),s=h(!0),r=h(!1),a=h(void 0),l=h(void 0),u=h(void 0),i=h(void 0),v=h(void 0),d=h(void 0),c=h("unknown"),f=o.value&&t.connection;function p(){t&&(s.value=t.onLine,a.value=s.value?void 0:Date.now(),l.value=s.value?Date.now():void 0,f&&(u.value=f.downlink,i.value=f.downlinkMax,d.value=f.effectiveType,v.value=f.rtt,r.value=f.saveData,c.value=f.type))}return n&&(D(n,"offline",()=>{s.value=!1,a.value=Date.now()}),D(n,"online",()=>{s.value=!0,l.value=Date.now()})),f&&D(f,"change",p,!1),p(),{isSupported:o,isOnline:s,saveData:r,offlineAt:a,onlineAt:l,downlink:u,downlinkMax:i,effectiveType:d,rtt:v,type:c}}function It(e={}){const{isOnline:n}=mt(e);return n}function Xt(e={}){const{window:n=F}=e,t=$(()=>n&&"screen"in n&&"orientation"in n.screen),o=t.value?n.screen.orientation:{},s=h(o.type),r=h(o.angle||0);return t.value&&D(n,"orientationchange",()=>{s.value=o.type,r.value=o.angle}),{isSupported:t,orientation:s,angle:r,lockOrientation:u=>t.value&&typeof o.lock=="function"?o.lock(u):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{t.value&&typeof o.unlock=="function"&&o.unlock()}}}function xe(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:xe(t)}}function pt(e){const n=e||window.event,t=n.target;return xe(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const Z=new WeakMap;function $t(e,n=!1){const t=h(n);let o=null,s="";C(De(e),l=>{const u=Q(O(l));if(u){const i=u;if(Z.get(i)||Z.set(i,i.style.overflow),i.style.overflow!=="hidden"&&(s=i.style.overflow),i.style.overflow==="hidden")return t.value=!0;if(t.value)return i.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=Q(O(e));!l||t.value||(V&&(o=D(l,"touchmove",u=>{pt(u)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=Q(O(e));!l||!t.value||(V&&(o==null||o()),l.style.overflow=s,Z.delete(l),t.value=!1)};return N(a),k({get(){return t.value},set(l){l?r():a()}})}function jt(e,n={}){const{threshold:t=50,onSwipe:o,onSwipeEnd:s,onSwipeStart:r,passive:a=!0,window:l=F}=n,u=K({x:0,y:0}),i=K({x:0,y:0}),v=k(()=>u.x-i.x),d=k(()=>u.y-i.y),{max:c,abs:f}=Math,p=k(()=>c(f(v.value),f(d.value))>=t),w=h(!1),S=k(()=>p.value?f(v.value)>f(d.value)?v.value>0?"left":"right":d.value>0?"up":"down":"none"),m=E=>[E.touches[0].clientX,E.touches[0].clientY],_=(E,y)=>{u.x=E,u.y=y},A=(E,y)=>{i.x=E,i.y=y};let M;const g=ht(l==null?void 0:l.document);a?M=g?{passive:!0}:{capture:!1}:M=g?{passive:!1,capture:!0}:{capture:!0};const T=E=>{w.value&&(s==null||s(E,S.value)),w.value=!1},b=[D(e,"touchstart",E=>{if(E.touches.length!==1)return;M.capture&&!M.passive&&E.preventDefault();const[y,x]=m(E);_(y,x),A(y,x),r==null||r(E)},M),D(e,"touchmove",E=>{if(E.touches.length!==1)return;const[y,x]=m(E);A(y,x),!w.value&&p.value&&(w.value=!0),w.value&&(o==null||o(E))},M),D(e,["touchend","touchcancel"],T,M)];return{isPassiveEventSupported:g,isSwiping:w,direction:S,coordsStart:u,coordsEnd:i,lengthX:v,lengthY:d,stop:()=>b.forEach(E=>E())}}function ht(e){if(!e)return!1;let n=!1;const t={get passive(){return n=!0,!1}};return e.addEventListener("x",W,t),e.removeEventListener("x",W),n}function Bt(e={}){const{window:n=F,behavior:t="auto"}=e;if(!n)return{x:h(0),y:h(0)};const o=h(n.scrollX),s=h(n.scrollY),r=k({get(){return o.value},set(l){scrollTo({left:l,behavior:t})}}),a=k({get(){return s.value},set(l){scrollTo({top:l,behavior:t})}});return D(n,"scroll",()=>{o.value=n.scrollX,s.value=n.scrollY},{capture:!1,passive:!0}),{x:r,y:a}}function Vt(e={}){const{window:n=F,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:r=!0}=e,a=h(t),l=h(o),u=()=>{n&&(r?(a.value=n.innerWidth,l.value=n.innerHeight):(a.value=n.document.documentElement.clientWidth,l.value=n.document.documentElement.clientHeight))};if(u(),U(u),D("resize",u,{passive:!0}),s){const i=lt("(orientation: portrait)");C(i,()=>u())}return{width:a,height:l}}function Oe(e){var n;const t=O(e);return(n=t==null?void 0:t.$el)!=null?n:t}const Te=q?window:void 0;function X(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=Te):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(v=>v()),r.length=0},l=(v,d,c,f)=>(v.addEventListener(d,c,f),()=>v.removeEventListener(d,c,f)),u=C(()=>[Oe(n),O(s)],([v,d])=>{if(a(),!v)return;const c=Se(d)?{...d}:d;r.push(...t.flatMap(f=>o.map(p=>l(v,f,p,c))))},{immediate:!0,flush:"post"}),i=()=>{u(),a()};return N(i),i}const wt=500,gt=10;function ve(e,n,t){var o,s;const r=k(()=>Oe(e));let a,l,u,i=!1;function v(){a&&(clearTimeout(a),a=void 0),l=void 0,u=void 0,i=!1}function d(m){var _,A,M;const[g,T,b]=[u,l,i];if(v(),!(t!=null&&t.onMouseUp)||!T||!g||(_=t==null?void 0:t.modifiers)!=null&&_.self&&m.target!==r.value)return;(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&m.preventDefault(),(M=t==null?void 0:t.modifiers)!=null&&M.stop&&m.stopPropagation();const P=m.x-T.x,E=m.y-T.y,y=Math.sqrt(P*P+E*E);t.onMouseUp(m.timeStamp-g,y,b)}function c(m){var _,A,M,g;(_=t==null?void 0:t.modifiers)!=null&&_.self&&m.target!==r.value||(v(),(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&m.preventDefault(),(M=t==null?void 0:t.modifiers)!=null&&M.stop&&m.stopPropagation(),l={x:m.x,y:m.y},u=m.timeStamp,a=setTimeout(()=>{i=!0,n(m)},(g=t==null?void 0:t.delay)!=null?g:wt))}function f(m){var _,A,M,g;if((_=t==null?void 0:t.modifiers)!=null&&_.self&&m.target!==r.value||!l||(t==null?void 0:t.distanceThreshold)===!1)return;(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&m.preventDefault(),(M=t==null?void 0:t.modifiers)!=null&&M.stop&&m.stopPropagation();const T=m.x-l.x,b=m.y-l.y;Math.sqrt(T*T+b*b)>=((g=t==null?void 0:t.distanceThreshold)!=null?g:gt)&&v()}const p={capture:(o=t==null?void 0:t.modifiers)==null?void 0:o.capture,once:(s=t==null?void 0:t.modifiers)==null?void 0:s.once},w=[X(r,"pointerdown",c,p),X(r,"pointermove",f,p),X(r,["pointerup","pointerleave"],d,p)];return()=>w.forEach(m=>m())}const qt={[Ee.mounted](e,n){typeof n.value=="function"?ve(e,n.value,{modifiers:n.modifiers}):ve(e,...n.value)}};function yt(e,n={}){const{delayEnter:t=0,delayLeave:o=0,window:s=Te}=n,r=h(!1);let a;const l=u=>{const i=u?t:o;a&&(clearTimeout(a),a=void 0),i?a=setTimeout(()=>r.value=u,i):r.value=u};return s&&(X(e,"mouseenter",()=>l(!0),{passive:!0}),X(e,"mouseleave",()=>l(!1),{passive:!0})),r}const Ut={[Ee.mounted](e,n){if(typeof n.value=="function"){const t=yt(e);C(t,o=>n.value(o))}}};function ee(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ke(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:ke(t)}}function St(e){const n=e||window.event,t=n.target;return ke(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const te=new WeakMap;function bt(e,n=!1){const t=h(n);let o=null,s="";C(De(e),l=>{const u=ee(O(l));if(u){const i=u;if(te.get(i)||te.set(i,i.style.overflow),i.style.overflow!=="hidden"&&(s=i.style.overflow),i.style.overflow==="hidden")return t.value=!0;if(t.value)return i.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=ee(O(e));!l||t.value||(V&&(o=X(l,"touchmove",u=>{St(u)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=ee(O(e));!l||!t.value||(V&&(o==null||o()),l.style.overflow=s,te.delete(l),t.value=!1)};return N(a),k({get(){return t.value},set(l){l?r():a()}})}function Et(){let e=!1;const n=h(!1);return(t,o)=>{if(n.value=o.value,e)return;e=!0;const s=bt(t,o.value);C(n,r=>s.value=r)}}Et();function Gt(e=null,n){const t=h(e),o=k({set:r=>r?Y.start():Y.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&Y.configure(n);const s=Y.set;return Y.set=r=>(t.value=r,s.call(Y,r)),re(()=>{typeof t.value=="number"&&q&&s.call(Y,t.value)}),N(Y.remove),{isLoading:o,progress:t,start:Y.start,done:Y.done,remove:()=>{t.value=null,Y.remove()}}}export{qt as A,Ft as B,Me as C,Ot as a,Xt as b,Mt as c,Vt as d,lt as e,Wt as f,jt as g,Bt as h,It as i,Ht as j,$t as k,vt as l,Nt as m,zt as n,At as o,Rt as p,Lt as q,xt as r,D as s,Pt as t,Yt as u,Ct as v,Gt as w,kt as x,Tt as y,Ut as z};
1
+ import{s as me,x as pe,y as he,z as we,o as Ae,A as Le,i as ne,u as Fe,B as Pe,d as ge,r as h,c as k,C as ye,w as C,D as oe,b as K,E as re,F as ie}from"./@vue-CHoPEscU.js";import{n as Y}from"./nprogress-QK5AFhFr.js";function N(e){return we()?(Ae(e),!0):!1}function Mt(e){let n=0,t,o;const s=()=>{n-=1,o&&n<=0&&(o.stop(),t=void 0,o=void 0)};return(...r)=>(n+=1,t||(o=Le(!0),t=o.run(()=>e(...r))),N(s),t)}function He(e,n,{enumerable:t=!1,unwrap:o=!0}={}){for(const[s,r]of Object.entries(n))s!=="value"&&(ne(r)&&o?Object.defineProperty(e,s,{get(){return r.value},set(a){r.value=a},enumerable:t}):Object.defineProperty(e,s,{value:r,enumerable:t}));return e}function We(e,n){if(typeof Symbol<"u"){const t={...e};return Object.defineProperty(t,Symbol.iterator,{enumerable:!1,value(){let o=0;return{next:()=>({value:n[o++],done:o>n.length})}}}),t}else return Object.assign([...n],e)}function O(e){return typeof e=="function"?e():Fe(e)}const q=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ce=e=>e!=null,Re=Object.prototype.toString,Se=e=>Re.call(e)==="[object Object]",W=()=>{},V=Ye();function Ye(){var e,n;return q&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function le(e,n){function t(...o){return new Promise((s,r)=>{Promise.resolve(e(()=>n.apply(this,o),{fn:n,thisArg:this,args:o})).then(s).catch(r)})}return t}const be=e=>e();function Ne(e,n={}){let t,o,s=W;const r=l=>{clearTimeout(l),s(),s=W};return l=>{const u=O(e),i=O(n.maxWait);return t&&r(t),u<=0||i!==void 0&&i<=0?(o&&(r(o),o=null),Promise.resolve(l())):new Promise((v,d)=>{s=n.rejectOnCancel?d:v,i&&!o&&(o=setTimeout(()=>{t&&r(t),o=null,v(l())},i)),t=setTimeout(()=>{o&&r(o),o=null,v(l())},u)})}}function ze(...e){let n=0,t,o=!0,s=W,r,a,l,u,i;!ne(e[0])&&typeof e[0]=="object"?{delay:a,trailing:l=!0,leading:u=!0,rejectOnCancel:i=!1}=e[0]:[a,l=!0,u=!0,i=!1]=e;const v=()=>{t&&(clearTimeout(t),t=void 0,s(),s=W)};return c=>{const f=O(a),p=Date.now()-n,w=()=>r=c();return v(),f<=0?(n=Date.now(),w()):(p>f&&(u||!o)?(n=Date.now(),w()):l&&(r=new Promise((S,m)=>{s=i?m:S,t=setTimeout(()=>{n=Date.now(),o=!0,S(w()),v()},Math.max(0,f-p))})),!u&&!t&&(t=setTimeout(()=>o=!0,f)),o=!1,r)}}function Ie(e=be){const n=h(!0);function t(){n.value=!1}function o(){n.value=!0}const s=(...r)=>{n.value&&e(...r)};return{isActive:ge(n),pause:t,resume:o,eventFilter:s}}const Ee={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function Xe(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}const $e=/-(\w)/g,je=Xe(e=>e.replace($e,(n,t)=>t?t.toUpperCase():""));function Be(e){return ye()}function De(...e){if(e.length!==1)return Pe(...e);const n=e[0];return typeof n=="function"?ge(me(()=>({get:n,set:W}))):h(n)}function Ve(e,n=200,t={}){return le(Ne(n,t),e)}function qe(e,n=200,t=!1,o=!0,s=!1){return le(ze(n,t,o,s),e)}function xt(e,n={}){let t=e,o,s;const r=me((c,f)=>(o=c,s=f,{get(){return a()},set(p){l(p)}}));function a(c=!0){return c&&o(),t}function l(c,f=!0){var p,w;if(c===t)return;const S=t;((p=n.onBeforeChange)==null?void 0:p.call(n,c,S))!==!1&&(t=c,(w=n.onChanged)==null||w.call(n,c,S),f&&s())}return He(r,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:c=>l(c,!1),peek:()=>a(!1),lay:c=>l(c,!1)},{enumerable:!0})}function Ue(e,n,t={}){const{eventFilter:o=be,...s}=t;return C(e,le(o,n),s)}function Ge(e,n,t={}){const{eventFilter:o,...s}=t,{eventFilter:r,pause:a,resume:l,isActive:u}=Ie(o);return{stop:Ue(e,n,{...s,eventFilter:r}),pause:a,resume:l,isActive:u}}function U(e,n=!0,t){Be()?pe(e,t):n?e():he(e)}const Je=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Ke=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function Qe(e,n,t,o){let s=e<12?"AM":"PM";return o&&(s=s.split("").reduce((r,a)=>r+=`${a}.`,"")),t?s.toLowerCase():s}function I(e){const n=["th","st","nd","rd"],t=e%100;return e+(n[(t-20)%10]||n[t]||n[0])}function Ze(e,n,t={}){var o;const s=e.getFullYear(),r=e.getMonth(),a=e.getDate(),l=e.getHours(),u=e.getMinutes(),i=e.getSeconds(),v=e.getMilliseconds(),d=e.getDay(),c=(o=t.customMeridiem)!=null?o:Qe,f={Yo:()=>I(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>r+1,Mo:()=>I(r+1),MM:()=>`${r+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(t.locales,{month:"short"}),MMMM:()=>e.toLocaleDateString(t.locales,{month:"long"}),D:()=>String(a),Do:()=>I(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(l),Ho:()=>I(l),HH:()=>`${l}`.padStart(2,"0"),h:()=>`${l%12||12}`.padStart(1,"0"),ho:()=>I(l%12||12),hh:()=>`${l%12||12}`.padStart(2,"0"),m:()=>String(u),mo:()=>I(u),mm:()=>`${u}`.padStart(2,"0"),s:()=>String(i),so:()=>I(i),ss:()=>`${i}`.padStart(2,"0"),SSS:()=>`${v}`.padStart(3,"0"),d:()=>d,dd:()=>e.toLocaleDateString(t.locales,{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(t.locales,{weekday:"short"}),dddd:()=>e.toLocaleDateString(t.locales,{weekday:"long"}),A:()=>c(l,u),AA:()=>c(l,u,!1,!0),a:()=>c(l,u,!0),aa:()=>c(l,u,!0,!0)};return n.replace(Ke,(p,w)=>{var S,m;return(m=w??((S=f[p])==null?void 0:S.call(f)))!=null?m:p})}function et(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const n=e.match(Je);if(n){const t=n[2]-1||0,o=(n[7]||"0").substring(0,3);return new Date(n[1],t,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}function Ot(e,n="HH:mm:ss",t={}){return k(()=>Ze(et(O(e)),O(n),t))}function Tt(e,n,t){let o;ne(t)?o={evaluating:t}:o=t||{};const{lazy:s=!1,evaluating:r=void 0,shallow:a=!0,onError:l=W}=o,u=h(!s),i=a?oe(n):h(n);let v=0;return re(async d=>{if(!u.value)return;v++;const c=v;let f=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const p=await e(w=>{d(()=>{r&&(r.value=!1),f||w()})});c===v&&(i.value=p)}catch(p){l(p)}finally{r&&c===v&&(r.value=!1),f=!0}}),s?k(()=>(u.value=!0,i.value)):i}function kt(e={}){const{inheritAttrs:n=!0}=e,t=oe(),o=ie({setup(r,{slots:a}){return()=>{t.value=a.default}}}),s=ie({inheritAttrs:n,setup(r,{attrs:a,slots:l}){return()=>{var u;t.value;const i=(u=t.value)==null?void 0:u.call(t,{...tt(a),$slots:l});return n&&(i==null?void 0:i.length)===1?i[0]:i}}});return We({define:o,reuse:s},[o,s])}function tt(e){const n={};for(const t in e)n[je(t)]=e[t];return n}function L(e){var n;const t=O(e);return(n=t==null?void 0:t.$el)!=null?n:t}const F=q?window:void 0,_e=q?window.document:void 0;function D(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=F):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(v=>v()),r.length=0},l=(v,d,c,f)=>(v.addEventListener(d,c,f),()=>v.removeEventListener(d,c,f)),u=C(()=>[L(n),O(s)],([v,d])=>{if(a(),!v)return;const c=Se(d)?{...d}:d;r.push(...t.flatMap(f=>o.map(p=>l(v,f,p,c))))},{immediate:!0,flush:"post"}),i=()=>{u(),a()};return N(i),i}let ae=!1;function At(e,n,t={}){const{window:o=F,ignore:s=[],capture:r=!0,detectIframe:a=!1}=t;if(!o)return W;V&&!ae&&(ae=!0,Array.from(o.document.body.children).forEach(c=>c.addEventListener("click",W)),o.document.documentElement.addEventListener("click",W));let l=!0;const u=c=>s.some(f=>{if(typeof f=="string")return Array.from(o.document.querySelectorAll(f)).some(p=>p===c.target||c.composedPath().includes(p));{const p=L(f);return p&&(c.target===p||c.composedPath().includes(p))}}),v=[D(o,"click",c=>{const f=L(e);if(!(!f||f===c.target||c.composedPath().includes(f))){if(c.detail===0&&(l=!u(c)),!l){l=!0;return}n(c)}},{passive:!0,capture:r}),D(o,"pointerdown",c=>{const f=L(e);l=!u(c)&&!!(f&&!c.composedPath().includes(f))},{passive:!0}),a&&D(o,"blur",c=>{setTimeout(()=>{var f;const p=L(e);((f=o.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(p!=null&&p.contains(o.document.activeElement))&&n(c)},0)})].filter(Boolean);return()=>v.forEach(c=>c())}function nt(e){return typeof e=="function"?e:typeof e=="string"?n=>n.key===e:Array.isArray(e)?n=>e.includes(n.key):()=>!0}function Lt(...e){let n,t,o={};e.length===3?(n=e[0],t=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(n=!0,t=e[0],o=e[1]):(n=e[0],t=e[1]):(n=!0,t=e[0]);const{target:s=F,eventName:r="keydown",passive:a=!1,dedupe:l=!1}=o,u=nt(n);return D(s,r,v=>{v.repeat&&O(l)||u(v)&&t(v)},a)}function ot(){const e=h(!1),n=ye();return n&&pe(()=>{e.value=!0},n),e}function $(e){const n=ot();return k(()=>(n.value,!!e()))}function rt(e,n,t={}){const{window:o=F,...s}=t;let r;const a=$(()=>o&&"MutationObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},u=k(()=>{const c=O(e),f=(Array.isArray(c)?c:[c]).map(L).filter(Ce);return new Set(f)}),i=C(()=>u.value,c=>{l(),a.value&&c.size&&(r=new MutationObserver(n),c.forEach(f=>r.observe(f,s)))},{immediate:!0,flush:"post"}),v=()=>r==null?void 0:r.takeRecords(),d=()=>{l(),i()};return N(d),{isSupported:a,stop:d,takeRecords:v}}function lt(e,n={}){const{window:t=F}=n,o=$(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=h(!1),a=i=>{r.value=i.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},u=re(()=>{o.value&&(l(),s=t.matchMedia(O(e)),"addEventListener"in s?s.addEventListener("change",a):s.addListener(a),r.value=s.matches)});return N(()=>{u(),l(),s=void 0}),r}const G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},J="__vueuse_ssr_handlers__",st=ut();function ut(){return J in G||(G[J]=G[J]||{}),G[J]}function it(e,n){return st[e]||n}function at(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ct={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ce="vueuse-storage";function ft(e,n,t,o={}){var s;const{flush:r="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:u=!0,mergeDefaults:i=!1,shallow:v,window:d=F,eventFilter:c,onError:f=y=>{console.error(y)},initOnMounted:p}=o,w=(v?oe:h)(typeof n=="function"?n():n);if(!t)try{t=it("getDefaultStorage",()=>{var y;return(y=F)==null?void 0:y.localStorage})()}catch(y){f(y)}if(!t)return w;const S=O(n),m=at(S),_=(s=o.serializer)!=null?s:ct[m],{pause:A,resume:M}=Ge(w,()=>T(w.value),{flush:r,deep:a,eventFilter:c});d&&l&&U(()=>{D(d,"storage",P),D(d,ce,E),p&&P()}),p||P();function g(y,x){d&&d.dispatchEvent(new CustomEvent(ce,{detail:{key:e,oldValue:y,newValue:x,storageArea:t}}))}function T(y){try{const x=t.getItem(e);if(y==null)g(x,null),t.removeItem(e);else{const H=_.write(y);x!==H&&(t.setItem(e,H),g(x,H))}}catch(x){f(x)}}function b(y){const x=y?y.newValue:t.getItem(e);if(x==null)return u&&S!=null&&t.setItem(e,_.write(S)),S;if(!y&&i){const H=_.read(x);return typeof i=="function"?i(H,S):m==="object"&&!Array.isArray(H)?{...S,...H}:H}else return typeof x!="string"?x:_.read(x)}function P(y){if(!(y&&y.storageArea!==t)){if(y&&y.key==null){w.value=S;return}if(!(y&&y.key!==e)){A();try{(y==null?void 0:y.newValue)!==_.write(w.value)&&(w.value=b(y))}catch(x){f(x)}finally{y?he(M):M()}}}}function E(y){P(y.detail)}return w}function Ft(e={}){const{document:n=_e}=e;if(!n)return h("visible");const t=h(n.visibilityState);return D(n,"visibilitychange",()=>{t.value=n.visibilityState}),t}function Me(e,n,t={}){const{window:o=F,...s}=t;let r;const a=$(()=>o&&"ResizeObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},u=k(()=>Array.isArray(e)?e.map(d=>L(d)):[L(e)]),i=C(u,d=>{if(l(),a.value&&o){r=new ResizeObserver(n);for(const c of d)c&&r.observe(c,s)}},{immediate:!0,flush:"post"}),v=()=>{l(),i()};return N(v),{isSupported:a,stop:v}}function Pt(e,n={}){const{reset:t=!0,windowResize:o=!0,windowScroll:s=!0,immediate:r=!0}=n,a=h(0),l=h(0),u=h(0),i=h(0),v=h(0),d=h(0),c=h(0),f=h(0);function p(){const w=L(e);if(!w){t&&(a.value=0,l.value=0,u.value=0,i.value=0,v.value=0,d.value=0,c.value=0,f.value=0);return}const S=w.getBoundingClientRect();a.value=S.height,l.value=S.bottom,u.value=S.left,i.value=S.right,v.value=S.top,d.value=S.width,c.value=S.x,f.value=S.y}return Me(e,p),C(()=>L(e),w=>!w&&p()),rt(e,p,{attributeFilter:["style","class"]}),s&&D("scroll",p,{capture:!0,passive:!0}),o&&D("resize",p,{passive:!0}),U(()=>{r&&p()}),{height:a,bottom:l,left:u,right:i,top:v,width:d,x:c,y:f,update:p}}function Ht(e,n={width:0,height:0},t={}){const{window:o=F,box:s="content-box"}=t,r=k(()=>{var d,c;return(c=(d=L(e))==null?void 0:d.namespaceURI)==null?void 0:c.includes("svg")}),a=h(n.width),l=h(n.height),{stop:u}=Me(e,([d])=>{const c=s==="border-box"?d.borderBoxSize:s==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(o&&r.value){const f=L(e);if(f){const p=f.getBoundingClientRect();a.value=p.width,l.value=p.height}}else if(c){const f=Array.isArray(c)?c:[c];a.value=f.reduce((p,{inlineSize:w})=>p+w,0),l.value=f.reduce((p,{blockSize:w})=>p+w,0)}else a.value=d.contentRect.width,l.value=d.contentRect.height},t);U(()=>{const d=L(e);d&&(a.value="offsetWidth"in d?d.offsetWidth:n.width,l.value="offsetHeight"in d?d.offsetHeight:n.height)});const i=C(()=>L(e),d=>{a.value=d?n.width:0,l.value=d?n.height:0});function v(){u(),i()}return{width:a,height:l,stop:v}}const B=new Map;function Wt(e){const n=we();function t(l){var u;const i=B.get(e)||new Set;i.add(l),B.set(e,i);const v=()=>s(l);return(u=n==null?void 0:n.cleanups)==null||u.push(v),v}function o(l){function u(...i){s(u),l(...i)}return t(u)}function s(l){const u=B.get(e);u&&(u.delete(l),u.size||r())}function r(){B.delete(e)}function a(l,u){var i;(i=B.get(e))==null||i.forEach(v=>v(l,u))}return{on:t,once:o,off:s,emit:a,reset:r}}const fe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Ct(e,n={}){const{document:t=_e,autoExit:o=!1}=n,s=k(()=>{var m;return(m=L(e))!=null?m:t==null?void 0:t.querySelector("html")}),r=h(!1),a=k(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(m=>t&&m in t||s.value&&m in s.value)),l=k(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(m=>t&&m in t||s.value&&m in s.value)),u=k(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(m=>t&&m in t||s.value&&m in s.value)),i=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(m=>t&&m in t),v=$(()=>s.value&&t&&a.value!==void 0&&l.value!==void 0&&u.value!==void 0),d=()=>i?(t==null?void 0:t[i])===s.value:!1,c=()=>{if(u.value){if(t&&t[u.value]!=null)return t[u.value];{const m=s.value;if((m==null?void 0:m[u.value])!=null)return!!m[u.value]}}return!1};async function f(){if(!(!v.value||!r.value)){if(l.value)if((t==null?void 0:t[l.value])!=null)await t[l.value]();else{const m=s.value;(m==null?void 0:m[l.value])!=null&&await m[l.value]()}r.value=!1}}async function p(){if(!v.value||r.value)return;c()&&await f();const m=s.value;a.value&&(m==null?void 0:m[a.value])!=null&&(await m[a.value](),r.value=!0)}async function w(){await(r.value?f():p())}const S=()=>{const m=c();(!m||m&&d())&&(r.value=m)};return D(t,fe,S,!1),D(()=>L(s),fe,S,!1),o&&N(f),{isSupported:v,isFullscreen:r,enter:p,exit:f,toggle:w}}const de=1;function Rt(e,n={}){const{throttle:t=0,idle:o=200,onStop:s=W,onScroll:r=W,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:u="auto",window:i=F,onError:v=b=>{console.error(b)}}=n,d=h(0),c=h(0),f=k({get(){return d.value},set(b){w(b,void 0)}}),p=k({get(){return c.value},set(b){w(void 0,b)}});function w(b,P){var E,y,x,H;if(!i)return;const R=O(e);if(!R)return;(x=R instanceof Document?i.document.body:R)==null||x.scrollTo({top:(E=O(P))!=null?E:p.value,left:(y=O(b))!=null?y:f.value,behavior:O(u)});const j=((H=R==null?void 0:R.document)==null?void 0:H.documentElement)||(R==null?void 0:R.documentElement)||R;f!=null&&(d.value=j.scrollLeft),p!=null&&(c.value=j.scrollTop)}const S=h(!1),m=K({left:!0,right:!1,top:!0,bottom:!1}),_=K({left:!1,right:!1,top:!1,bottom:!1}),A=b=>{S.value&&(S.value=!1,_.left=!1,_.right=!1,_.top=!1,_.bottom=!1,s(b))},M=Ve(A,t+o),g=b=>{var P;if(!i)return;const E=((P=b==null?void 0:b.document)==null?void 0:P.documentElement)||(b==null?void 0:b.documentElement)||L(b),{display:y,flexDirection:x}=getComputedStyle(E),H=E.scrollLeft;_.left=H<d.value,_.right=H>d.value;const R=Math.abs(H)<=(a.left||0),j=Math.abs(H)+E.clientWidth>=E.scrollWidth-(a.right||0)-de;y==="flex"&&x==="row-reverse"?(m.left=j,m.right=R):(m.left=R,m.right=j),d.value=H;let z=E.scrollTop;b===i.document&&!z&&(z=i.document.body.scrollTop),_.top=z<c.value,_.bottom=z>c.value;const se=Math.abs(z)<=(a.top||0),ue=Math.abs(z)+E.clientHeight>=E.scrollHeight-(a.bottom||0)-de;y==="flex"&&x==="column-reverse"?(m.top=ue,m.bottom=se):(m.top=se,m.bottom=ue),c.value=z},T=b=>{var P;if(!i)return;const E=(P=b.target.documentElement)!=null?P:b.target;g(E),S.value=!0,M(b),r(b)};return D(e,"scroll",t?qe(T,t,!0,!1):T,l),U(()=>{try{const b=O(e);if(!b)return;g(b)}catch(b){v(b)}}),D(e,"scrollend",A,l),{x:f,y:p,isScrolling:S,arrivedState:m,directions:_,measure(){const b=O(e);i&&b&&g(b)}}}function Q(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Yt(e,n,t={}){const{window:o=F}=t;return ft(e,n,o==null?void 0:o.localStorage,t)}const dt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function vt(e={}){const{type:n="page",touch:t=!0,resetOnTouchEnds:o=!1,initialValue:s={x:0,y:0},window:r=F,target:a=r,scroll:l=!0,eventFilter:u}=e;let i=null;const v=h(s.x),d=h(s.y),c=h(null),f=typeof n=="function"?n:dt[n],p=g=>{const T=f(g);i=g,T&&([v.value,d.value]=T,c.value="mouse")},w=g=>{if(g.touches.length>0){const T=f(g.touches[0]);T&&([v.value,d.value]=T,c.value="touch")}},S=()=>{if(!i||!r)return;const g=f(i);i instanceof MouseEvent&&g&&(v.value=g[0]+r.scrollX,d.value=g[1]+r.scrollY)},m=()=>{v.value=s.x,d.value=s.y},_=u?g=>u(()=>p(g),{}):g=>p(g),A=u?g=>u(()=>w(g),{}):g=>w(g),M=u?()=>u(()=>S(),{}):()=>S();if(a){const g={passive:!0};D(a,["mousemove","dragover"],_,g),t&&n!=="movement"&&(D(a,["touchstart","touchmove"],A,g),o&&D(a,"touchend",m,g)),l&&n==="page"&&D(r,"scroll",M,{passive:!0})}return{x:v,y:d,sourceType:c}}function Nt(e,n={}){const{handleOutside:t=!0,window:o=F}=n,s=n.type||"page",{x:r,y:a,sourceType:l}=vt(n),u=h(e??(o==null?void 0:o.document.body)),i=h(0),v=h(0),d=h(0),c=h(0),f=h(0),p=h(0),w=h(!0);let S=()=>{};return o&&(S=C([u,r,a],()=>{const m=L(u);if(!m)return;const{left:_,top:A,width:M,height:g}=m.getBoundingClientRect();d.value=_+(s==="page"?o.pageXOffset:0),c.value=A+(s==="page"?o.pageYOffset:0),f.value=g,p.value=M;const T=r.value-d.value,b=a.value-c.value;w.value=M===0||g===0||T<0||b<0||T>M||b>g,(t||!w.value)&&(i.value=T,v.value=b)},{immediate:!0}),D(document,"mouseleave",()=>{w.value=!0})),{x:r,y:a,sourceType:l,elementX:i,elementY:v,elementPositionX:d,elementPositionY:c,elementHeight:f,elementWidth:p,isOutside:w,stop:S}}function zt(e={}){const{touch:n=!0,drag:t=!0,capture:o=!1,initialValue:s=!1,window:r=F}=e,a=h(s),l=h(null);if(!r)return{pressed:a,sourceType:l};const u=d=>()=>{a.value=!0,l.value=d},i=()=>{a.value=!1,l.value=null},v=k(()=>L(e.target)||r);return D(v,"mousedown",u("mouse"),{passive:!0,capture:o}),D(r,"mouseleave",i,{passive:!0,capture:o}),D(r,"mouseup",i,{passive:!0,capture:o}),t&&(D(v,"dragstart",u("mouse"),{passive:!0,capture:o}),D(r,"drop",i,{passive:!0,capture:o}),D(r,"dragend",i,{passive:!0,capture:o})),n&&(D(v,"touchstart",u("touch"),{passive:!0,capture:o}),D(r,"touchend",i,{passive:!0,capture:o}),D(r,"touchcancel",i,{passive:!0,capture:o})),{pressed:a,sourceType:l}}function mt(e={}){const{window:n=F}=e,t=n==null?void 0:n.navigator,o=$(()=>t&&"connection"in t),s=h(!0),r=h(!1),a=h(void 0),l=h(void 0),u=h(void 0),i=h(void 0),v=h(void 0),d=h(void 0),c=h("unknown"),f=o.value&&t.connection;function p(){t&&(s.value=t.onLine,a.value=s.value?void 0:Date.now(),l.value=s.value?Date.now():void 0,f&&(u.value=f.downlink,i.value=f.downlinkMax,d.value=f.effectiveType,v.value=f.rtt,r.value=f.saveData,c.value=f.type))}return n&&(D(n,"offline",()=>{s.value=!1,a.value=Date.now()}),D(n,"online",()=>{s.value=!0,l.value=Date.now()})),f&&D(f,"change",p,!1),p(),{isSupported:o,isOnline:s,saveData:r,offlineAt:a,onlineAt:l,downlink:u,downlinkMax:i,effectiveType:d,rtt:v,type:c}}function It(e={}){const{isOnline:n}=mt(e);return n}function Xt(e={}){const{window:n=F}=e,t=$(()=>n&&"screen"in n&&"orientation"in n.screen),o=t.value?n.screen.orientation:{},s=h(o.type),r=h(o.angle||0);return t.value&&D(n,"orientationchange",()=>{s.value=o.type,r.value=o.angle}),{isSupported:t,orientation:s,angle:r,lockOrientation:u=>t.value&&typeof o.lock=="function"?o.lock(u):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{t.value&&typeof o.unlock=="function"&&o.unlock()}}}function xe(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:xe(t)}}function pt(e){const n=e||window.event,t=n.target;return xe(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const Z=new WeakMap;function $t(e,n=!1){const t=h(n);let o=null,s="";C(De(e),l=>{const u=Q(O(l));if(u){const i=u;if(Z.get(i)||Z.set(i,i.style.overflow),i.style.overflow!=="hidden"&&(s=i.style.overflow),i.style.overflow==="hidden")return t.value=!0;if(t.value)return i.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=Q(O(e));!l||t.value||(V&&(o=D(l,"touchmove",u=>{pt(u)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=Q(O(e));!l||!t.value||(V&&(o==null||o()),l.style.overflow=s,Z.delete(l),t.value=!1)};return N(a),k({get(){return t.value},set(l){l?r():a()}})}function jt(e,n={}){const{threshold:t=50,onSwipe:o,onSwipeEnd:s,onSwipeStart:r,passive:a=!0,window:l=F}=n,u=K({x:0,y:0}),i=K({x:0,y:0}),v=k(()=>u.x-i.x),d=k(()=>u.y-i.y),{max:c,abs:f}=Math,p=k(()=>c(f(v.value),f(d.value))>=t),w=h(!1),S=k(()=>p.value?f(v.value)>f(d.value)?v.value>0?"left":"right":d.value>0?"up":"down":"none"),m=E=>[E.touches[0].clientX,E.touches[0].clientY],_=(E,y)=>{u.x=E,u.y=y},A=(E,y)=>{i.x=E,i.y=y};let M;const g=ht(l==null?void 0:l.document);a?M=g?{passive:!0}:{capture:!1}:M=g?{passive:!1,capture:!0}:{capture:!0};const T=E=>{w.value&&(s==null||s(E,S.value)),w.value=!1},b=[D(e,"touchstart",E=>{if(E.touches.length!==1)return;M.capture&&!M.passive&&E.preventDefault();const[y,x]=m(E);_(y,x),A(y,x),r==null||r(E)},M),D(e,"touchmove",E=>{if(E.touches.length!==1)return;const[y,x]=m(E);A(y,x),!w.value&&p.value&&(w.value=!0),w.value&&(o==null||o(E))},M),D(e,["touchend","touchcancel"],T,M)];return{isPassiveEventSupported:g,isSwiping:w,direction:S,coordsStart:u,coordsEnd:i,lengthX:v,lengthY:d,stop:()=>b.forEach(E=>E())}}function ht(e){if(!e)return!1;let n=!1;const t={get passive(){return n=!0,!1}};return e.addEventListener("x",W,t),e.removeEventListener("x",W),n}function Bt(e={}){const{window:n=F,behavior:t="auto"}=e;if(!n)return{x:h(0),y:h(0)};const o=h(n.scrollX),s=h(n.scrollY),r=k({get(){return o.value},set(l){scrollTo({left:l,behavior:t})}}),a=k({get(){return s.value},set(l){scrollTo({top:l,behavior:t})}});return D(n,"scroll",()=>{o.value=n.scrollX,s.value=n.scrollY},{capture:!1,passive:!0}),{x:r,y:a}}function Vt(e={}){const{window:n=F,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:r=!0}=e,a=h(t),l=h(o),u=()=>{n&&(r?(a.value=n.innerWidth,l.value=n.innerHeight):(a.value=n.document.documentElement.clientWidth,l.value=n.document.documentElement.clientHeight))};if(u(),U(u),D("resize",u,{passive:!0}),s){const i=lt("(orientation: portrait)");C(i,()=>u())}return{width:a,height:l}}function qt(e=null,n){const t=h(e),o=k({set:r=>r?Y.start():Y.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&Y.configure(n);const s=Y.set;return Y.set=r=>(t.value=r,s.call(Y,r)),re(()=>{typeof t.value=="number"&&q&&s.call(Y,t.value)}),N(Y.remove),{isLoading:o,progress:t,start:Y.start,done:Y.done,remove:()=>{t.value=null,Y.remove()}}}function Oe(e){var n;const t=O(e);return(n=t==null?void 0:t.$el)!=null?n:t}const Te=q?window:void 0;function X(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=Te):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(v=>v()),r.length=0},l=(v,d,c,f)=>(v.addEventListener(d,c,f),()=>v.removeEventListener(d,c,f)),u=C(()=>[Oe(n),O(s)],([v,d])=>{if(a(),!v)return;const c=Se(d)?{...d}:d;r.push(...t.flatMap(f=>o.map(p=>l(v,f,p,c))))},{immediate:!0,flush:"post"}),i=()=>{u(),a()};return N(i),i}const wt=500,gt=10;function ve(e,n,t){var o,s;const r=k(()=>Oe(e));let a,l,u,i=!1;function v(){a&&(clearTimeout(a),a=void 0),l=void 0,u=void 0,i=!1}function d(m){var _,A,M;const[g,T,b]=[u,l,i];if(v(),!(t!=null&&t.onMouseUp)||!T||!g||(_=t==null?void 0:t.modifiers)!=null&&_.self&&m.target!==r.value)return;(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&m.preventDefault(),(M=t==null?void 0:t.modifiers)!=null&&M.stop&&m.stopPropagation();const P=m.x-T.x,E=m.y-T.y,y=Math.sqrt(P*P+E*E);t.onMouseUp(m.timeStamp-g,y,b)}function c(m){var _,A,M,g;(_=t==null?void 0:t.modifiers)!=null&&_.self&&m.target!==r.value||(v(),(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&m.preventDefault(),(M=t==null?void 0:t.modifiers)!=null&&M.stop&&m.stopPropagation(),l={x:m.x,y:m.y},u=m.timeStamp,a=setTimeout(()=>{i=!0,n(m)},(g=t==null?void 0:t.delay)!=null?g:wt))}function f(m){var _,A,M,g;if((_=t==null?void 0:t.modifiers)!=null&&_.self&&m.target!==r.value||!l||(t==null?void 0:t.distanceThreshold)===!1)return;(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&m.preventDefault(),(M=t==null?void 0:t.modifiers)!=null&&M.stop&&m.stopPropagation();const T=m.x-l.x,b=m.y-l.y;Math.sqrt(T*T+b*b)>=((g=t==null?void 0:t.distanceThreshold)!=null?g:gt)&&v()}const p={capture:(o=t==null?void 0:t.modifiers)==null?void 0:o.capture,once:(s=t==null?void 0:t.modifiers)==null?void 0:s.once},w=[X(r,"pointerdown",c,p),X(r,"pointermove",f,p),X(r,["pointerup","pointerleave"],d,p)];return()=>w.forEach(m=>m())}const Ut={[Ee.mounted](e,n){typeof n.value=="function"?ve(e,n.value,{modifiers:n.modifiers}):ve(e,...n.value)}};function yt(e,n={}){const{delayEnter:t=0,delayLeave:o=0,window:s=Te}=n,r=h(!1);let a;const l=u=>{const i=u?t:o;a&&(clearTimeout(a),a=void 0),i?a=setTimeout(()=>r.value=u,i):r.value=u};return s&&(X(e,"mouseenter",()=>l(!0),{passive:!0}),X(e,"mouseleave",()=>l(!1),{passive:!0})),r}const Gt={[Ee.mounted](e,n){if(typeof n.value=="function"){const t=yt(e);C(t,o=>n.value(o))}}};function ee(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ke(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:ke(t)}}function St(e){const n=e||window.event,t=n.target;return ke(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const te=new WeakMap;function bt(e,n=!1){const t=h(n);let o=null,s="";C(De(e),l=>{const u=ee(O(l));if(u){const i=u;if(te.get(i)||te.set(i,i.style.overflow),i.style.overflow!=="hidden"&&(s=i.style.overflow),i.style.overflow==="hidden")return t.value=!0;if(t.value)return i.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=ee(O(e));!l||t.value||(V&&(o=X(l,"touchmove",u=>{St(u)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=ee(O(e));!l||!t.value||(V&&(o==null||o()),l.style.overflow=s,te.delete(l),t.value=!1)};return N(a),k({get(){return t.value},set(l){l?r():a()}})}function Et(){let e=!1;const n=h(!1);return(t,o)=>{if(n.value=o.value,e)return;e=!0;const s=bt(t,o.value);C(n,r=>s.value=r)}}Et();export{Ut as A,Ft as B,Me as C,Ot as a,Xt as b,Mt as c,Vt as d,lt as e,Wt as f,jt as g,Bt as h,It as i,qt as j,Ht as k,$t as l,vt as m,Nt as n,At as o,zt as p,Rt as q,xt as r,Lt as s,D as t,Yt as u,Pt as v,Ct as w,kt as x,Tt as y,Gt as z};