@feugene/granularity 0.4.0 → 0.4.1

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 (424) hide show
  1. package/dist/chunks/_plugin-vue_export-helper-BG_EqiDU.js +8 -0
  2. package/dist/chunks/adapter-C7fKeUa4.js +6 -0
  3. package/dist/chunks/adapter-C7fKeUa4.js.map +1 -0
  4. package/dist/chunks/arrow-up-DNXrMoAI.js +25 -0
  5. package/dist/chunks/arrow-up-DNXrMoAI.js.map +1 -0
  6. package/dist/chunks/classTokens-BPeBXNzu.js +8 -0
  7. package/dist/chunks/classTokens-BPeBXNzu.js.map +1 -0
  8. package/dist/chunks/config-2wgwWaAB.js +10 -0
  9. package/dist/chunks/config-2wgwWaAB.js.map +1 -0
  10. package/dist/chunks/config-BKRmlivc.js +10 -0
  11. package/dist/chunks/config-BKRmlivc.js.map +1 -0
  12. package/dist/chunks/config-BRU5PR8_.js +10 -0
  13. package/dist/chunks/config-BRU5PR8_.js.map +1 -0
  14. package/dist/chunks/config-BUGfFjmC.js +16 -0
  15. package/dist/chunks/config-BUGfFjmC.js.map +1 -0
  16. package/dist/chunks/config-BXffa3ta.js +60 -0
  17. package/dist/chunks/config-BXffa3ta.js.map +1 -0
  18. package/dist/chunks/config-BaMO9dQh.js +22 -0
  19. package/dist/chunks/config-BaMO9dQh.js.map +1 -0
  20. package/dist/chunks/config-BbtK511H.js +11 -0
  21. package/dist/chunks/config-BbtK511H.js.map +1 -0
  22. package/dist/chunks/config-BcFOkUhh.js +15 -0
  23. package/dist/chunks/config-BcFOkUhh.js.map +1 -0
  24. package/dist/chunks/config-BcpRsZTe.js +10 -0
  25. package/dist/chunks/config-BcpRsZTe.js.map +1 -0
  26. package/dist/chunks/config-BhubOeci.js +15 -0
  27. package/dist/chunks/config-BhubOeci.js.map +1 -0
  28. package/dist/chunks/config-BhvNm4Pp.js +173 -0
  29. package/dist/chunks/config-BhvNm4Pp.js.map +1 -0
  30. package/dist/chunks/config-Bv2G0OU6.js +10 -0
  31. package/dist/chunks/config-Bv2G0OU6.js.map +1 -0
  32. package/dist/chunks/config-Bv5Dok4j.js +41 -0
  33. package/dist/chunks/config-Bv5Dok4j.js.map +1 -0
  34. package/dist/chunks/config-BzQ4S4Hb.js +11 -0
  35. package/dist/chunks/config-BzQ4S4Hb.js.map +1 -0
  36. package/dist/chunks/config-BzZGpWsj.js +11 -0
  37. package/dist/chunks/config-BzZGpWsj.js.map +1 -0
  38. package/dist/chunks/config-C0b_3LJV.js +42 -0
  39. package/dist/chunks/config-C0b_3LJV.js.map +1 -0
  40. package/dist/chunks/config-C2JKq8-2.js +60 -0
  41. package/dist/chunks/config-C2JKq8-2.js.map +1 -0
  42. package/dist/chunks/config-C6SBJxcH.js +10 -0
  43. package/dist/chunks/config-C6SBJxcH.js.map +1 -0
  44. package/dist/chunks/config-CJbjLC5X.js +55 -0
  45. package/dist/chunks/config-CJbjLC5X.js.map +1 -0
  46. package/dist/chunks/config-CJeyaUTp.js +40 -0
  47. package/dist/chunks/config-CJeyaUTp.js.map +1 -0
  48. package/dist/chunks/config-CMZE2fu0.js +11 -0
  49. package/dist/chunks/config-CMZE2fu0.js.map +1 -0
  50. package/dist/chunks/config-CU_CBd0k.js +24 -0
  51. package/dist/chunks/config-CU_CBd0k.js.map +1 -0
  52. package/dist/chunks/config-CYPU3ztl.js +26 -0
  53. package/dist/chunks/config-CYPU3ztl.js.map +1 -0
  54. package/dist/chunks/config-CcmeMlic.js +19 -0
  55. package/dist/chunks/config-CcmeMlic.js.map +1 -0
  56. package/dist/chunks/config-CdAx6ify2.js +11 -0
  57. package/dist/chunks/config-CdAx6ify2.js.map +1 -0
  58. package/dist/chunks/config-CxCAfXZ1.js +23 -0
  59. package/dist/chunks/config-CxCAfXZ1.js.map +1 -0
  60. package/dist/chunks/config-D1gSaT52.js +11 -0
  61. package/dist/chunks/config-D1gSaT52.js.map +1 -0
  62. package/dist/chunks/config-D7iuXJbl.js +11 -0
  63. package/dist/chunks/config-D7iuXJbl.js.map +1 -0
  64. package/dist/chunks/config-D7tRu8u3.js +11 -0
  65. package/dist/chunks/config-D7tRu8u3.js.map +1 -0
  66. package/dist/chunks/config-DBYCntwl.js +10 -0
  67. package/dist/chunks/config-DBYCntwl.js.map +1 -0
  68. package/dist/chunks/config-DFRYOcrP.js +11 -0
  69. package/dist/chunks/config-DFRYOcrP.js.map +1 -0
  70. package/dist/chunks/config-DW_RqmUp.js +10 -0
  71. package/dist/chunks/config-DW_RqmUp.js.map +1 -0
  72. package/dist/chunks/config-Dkq0HeLe.js +11 -0
  73. package/dist/chunks/config-Dkq0HeLe.js.map +1 -0
  74. package/dist/chunks/config-DlLE49_I.js +11 -0
  75. package/dist/chunks/config-DlLE49_I.js.map +1 -0
  76. package/dist/chunks/config-DvTUDLT1.js +46 -0
  77. package/dist/chunks/config-DvTUDLT1.js.map +1 -0
  78. package/dist/chunks/config-DwB5-qdP2.js +10 -0
  79. package/dist/chunks/config-DwB5-qdP2.js.map +1 -0
  80. package/dist/chunks/config-DxqMXzNV2.js +25 -0
  81. package/dist/chunks/config-DxqMXzNV2.js.map +1 -0
  82. package/dist/chunks/config-DxqpV-KM.js +47 -0
  83. package/dist/chunks/config-DxqpV-KM.js.map +1 -0
  84. package/dist/chunks/config-Dzz9P-GV2.js +11 -0
  85. package/dist/chunks/config-Dzz9P-GV2.js.map +1 -0
  86. package/dist/chunks/config-KGTIAFD92.js +10 -0
  87. package/dist/chunks/config-KGTIAFD92.js.map +1 -0
  88. package/dist/chunks/config-TyzU6gLf.js +10 -0
  89. package/dist/chunks/config-TyzU6gLf.js.map +1 -0
  90. package/dist/chunks/config-cn6knwud.js +37 -0
  91. package/dist/chunks/config-cn6knwud.js.map +1 -0
  92. package/dist/chunks/config-dD6Po-Cq.js +10 -0
  93. package/dist/chunks/config-dD6Po-Cq.js.map +1 -0
  94. package/dist/chunks/config-rFwazRKi.js +11 -0
  95. package/dist/chunks/config-rFwazRKi.js.map +1 -0
  96. package/dist/chunks/config-rQlbnEKn.js +10 -0
  97. package/dist/chunks/config-rQlbnEKn.js.map +1 -0
  98. package/dist/chunks/config-rxFL-6yF2.js +80 -0
  99. package/dist/chunks/config-rxFL-6yF2.js.map +1 -0
  100. package/dist/chunks/config-ug8O8epd.js +13 -0
  101. package/dist/chunks/config-ug8O8epd.js.map +1 -0
  102. package/dist/chunks/dialogShared-BtXUk6Zc.js +34 -0
  103. package/dist/chunks/dialogShared-BtXUk6Zc.js.map +1 -0
  104. package/dist/chunks/directives-Cuib0yOO.js +728 -0
  105. package/dist/chunks/directives-Cuib0yOO.js.map +1 -0
  106. package/dist/chunks/en-BMjJZttK.js +50 -0
  107. package/dist/chunks/en-BMjJZttK.js.map +1 -0
  108. package/dist/chunks/es-Cu_RlgIr.js +22 -0
  109. package/dist/chunks/es-Cu_RlgIr.js.map +1 -0
  110. package/dist/chunks/es-EYCf8G_1.js +50 -0
  111. package/dist/chunks/es-EYCf8G_1.js.map +1 -0
  112. package/dist/chunks/fileValidation-CgjTGoUx.js +221 -0
  113. package/dist/chunks/fileValidation-CgjTGoUx.js.map +1 -0
  114. package/dist/chunks/{grBadgeStyles-Bu4H8bFc.js → grBadgeStyles-pqqbVgLk.js} +20 -13
  115. package/dist/chunks/grBadgeStyles-pqqbVgLk.js.map +1 -0
  116. package/dist/chunks/{grButtonStyles-C5k0bN2e.js → grButtonStyles-BxZW2x0-.js} +62 -52
  117. package/dist/chunks/grButtonStyles-BxZW2x0-.js.map +1 -0
  118. package/dist/chunks/grDropdownStyles-DQfLh-bp.js +34 -0
  119. package/dist/chunks/grDropdownStyles-DQfLh-bp.js.map +1 -0
  120. package/dist/chunks/grLoadingStyles-CERsxyk9.js +19 -0
  121. package/dist/chunks/grLoadingStyles-CERsxyk9.js.map +1 -0
  122. package/dist/chunks/grModalStyles-Dv2NXBKi.js +49 -0
  123. package/dist/chunks/grModalStyles-Dv2NXBKi.js.map +1 -0
  124. package/dist/chunks/grSelectStyles-C1zNEkV7.js +52 -0
  125. package/dist/chunks/grSelectStyles-C1zNEkV7.js.map +1 -0
  126. package/dist/chunks/granularityI18n-BEWP9aJs.js +28 -0
  127. package/dist/chunks/granularityI18n-BEWP9aJs.js.map +1 -0
  128. package/dist/chunks/info-C0bHmdZq.js +28 -0
  129. package/dist/chunks/info-C0bHmdZq.js.map +1 -0
  130. package/dist/chunks/loader-circle-B2rWDk5u.js +25 -0
  131. package/dist/chunks/loader-circle-B2rWDk5u.js.map +1 -0
  132. package/dist/chunks/ru-DKswMSdd.js +50 -0
  133. package/dist/chunks/ru-DKswMSdd.js.map +1 -0
  134. package/dist/chunks/safelist-BF822K15.js +15 -0
  135. package/dist/chunks/safelist-BF822K15.js.map +1 -0
  136. package/dist/chunks/safelist-BY7z8fOl.js +26 -0
  137. package/dist/chunks/safelist-BY7z8fOl.js.map +1 -0
  138. package/dist/chunks/{shared-BqUqjuxn.js → shared-Bvjkhhm2.js} +151 -111
  139. package/dist/chunks/shared-Bvjkhhm2.js.map +1 -0
  140. package/dist/chunks/transition-mJ3PZCHH.js +1694 -0
  141. package/dist/chunks/transition-mJ3PZCHH.js.map +1 -0
  142. package/dist/chunks/x-Pa6C2hwi.js +25 -0
  143. package/dist/chunks/x-Pa6C2hwi.js.map +1 -0
  144. package/dist/chunks/x-circle-DQSlBLmX.js +69 -0
  145. package/dist/chunks/x-circle-DQSlBLmX.js.map +1 -0
  146. package/dist/components/GrAlert/chunks/GrAlert-BjerGcU8.js +148 -0
  147. package/dist/components/GrAlert/chunks/GrAlert-BjerGcU8.js.map +1 -0
  148. package/dist/components/GrAlert/index.js +3 -3
  149. package/dist/components/GrAvatar/chunks/GrAvatar-BjnPKNAL.js +43 -0
  150. package/dist/components/GrAvatar/chunks/GrAvatar-BjnPKNAL.js.map +1 -0
  151. package/dist/components/GrAvatar/index.js +3 -3
  152. package/dist/components/GrBadge/chunks/GrBadge-wuIb4_2K.js +34 -0
  153. package/dist/components/GrBadge/chunks/GrBadge-wuIb4_2K.js.map +1 -0
  154. package/dist/components/GrBadge/index.js +3 -3
  155. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-CxtamOZ-.js +35 -0
  156. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-CxtamOZ-.js.map +1 -0
  157. package/dist/components/GrBadgeWrap/index.js +3 -3
  158. package/dist/components/GrBottomNav/chunks/GrBottomNav-CsmQ7mTJ.js +33 -0
  159. package/dist/components/GrBottomNav/chunks/GrBottomNav-CsmQ7mTJ.js.map +1 -0
  160. package/dist/components/GrBottomNav/index.js +3 -3
  161. package/dist/components/GrButton/chunks/GrButton-BmGdp8-4.js +85 -0
  162. package/dist/components/GrButton/chunks/GrButton-BmGdp8-4.js.map +1 -0
  163. package/dist/components/GrButton/index.js +5 -5
  164. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CBj4tpms.js +23 -0
  165. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CBj4tpms.js.map +1 -0
  166. package/dist/components/GrButtonGroup/index.js +3 -3
  167. package/dist/components/GrCard/chunks/GrCard-xtDcXBr7.js +13 -0
  168. package/dist/components/GrCard/chunks/GrCard-xtDcXBr7.js.map +1 -0
  169. package/dist/components/GrCard/index.js +3 -3
  170. package/dist/components/GrCheckbox/chunks/GrCheckbox-Bt3d7ckE.js +136 -0
  171. package/dist/components/GrCheckbox/chunks/GrCheckbox-Bt3d7ckE.js.map +1 -0
  172. package/dist/components/GrCheckbox/index.js +3 -3
  173. package/dist/components/GrCollapse/chunks/GrCollapse-HU20VTVn.js +207 -0
  174. package/dist/components/GrCollapse/chunks/GrCollapse-HU20VTVn.js.map +1 -0
  175. package/dist/components/GrCollapse/index.js +3 -3
  176. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DjGOX9Hd.js +133 -0
  177. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DjGOX9Hd.js.map +1 -0
  178. package/dist/components/GrConfirmDialog/index.js +3 -3
  179. package/dist/components/GrDataTable/chunks/GrDataTable-QDOJWmdY.js +181 -0
  180. package/dist/components/GrDataTable/chunks/GrDataTable-QDOJWmdY.js.map +1 -0
  181. package/dist/components/GrDataTable/index.js +3 -3
  182. package/dist/components/GrDialog/chunks/GrDialog-gObmaVEl.js +223 -0
  183. package/dist/components/GrDialog/chunks/GrDialog-gObmaVEl.js.map +1 -0
  184. package/dist/components/GrDialog/index.js +4 -4
  185. package/dist/components/GrDrawer/chunks/GrDrawer-BJL_gTxI.js +158 -0
  186. package/dist/components/GrDrawer/chunks/GrDrawer-BJL_gTxI.js.map +1 -0
  187. package/dist/components/GrDrawer/index.js +3 -3
  188. package/dist/components/GrDropdown/chunks/GrDropdown-DVTU32T_.js +153 -0
  189. package/dist/components/GrDropdown/chunks/GrDropdown-DVTU32T_.js.map +1 -0
  190. package/dist/components/GrDropdown/index.js +3 -3
  191. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-fePQRcgh.js +311 -0
  192. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-fePQRcgh.js.map +1 -0
  193. package/dist/components/GrDropdownMenu/index.js +3 -3
  194. package/dist/components/GrEmptyState/chunks/GrEmptyState-Bs8d3tgb.js +64 -0
  195. package/dist/components/GrEmptyState/chunks/GrEmptyState-Bs8d3tgb.js.map +1 -0
  196. package/dist/components/GrEmptyState/index.js +3 -3
  197. package/dist/components/GrFileUpload/chunks/GrFileUpload-DVv8yXpl.js +370 -0
  198. package/dist/components/GrFileUpload/chunks/GrFileUpload-DVv8yXpl.js.map +1 -0
  199. package/dist/components/GrFileUpload/index.js +4 -4
  200. package/dist/components/GrFormField/chunks/GrFormField-BzezYcS8.js +37 -0
  201. package/dist/components/GrFormField/chunks/GrFormField-BzezYcS8.js.map +1 -0
  202. package/dist/components/GrFormField/index.js +3 -3
  203. package/dist/components/GrFormFile/chunks/GrFormFile-DtZOypJW.js +315 -0
  204. package/dist/components/GrFormFile/chunks/GrFormFile-DtZOypJW.js.map +1 -0
  205. package/dist/components/GrFormFile/index.js +3 -3
  206. package/dist/components/GrFormSection/chunks/GrFormSection-BIPB1RIk.js +37 -0
  207. package/dist/components/GrFormSection/chunks/GrFormSection-BIPB1RIk.js.map +1 -0
  208. package/dist/components/GrFormSection/index.js +3 -3
  209. package/dist/components/GrIcon/chunks/GrIcon-BV7RBU_0.js +34 -0
  210. package/dist/components/GrIcon/chunks/GrIcon-BV7RBU_0.js.map +1 -0
  211. package/dist/components/GrIcon/index.js +3 -3
  212. package/dist/components/GrImageViewer/chunks/GrImageViewer-fn8ilJTA.js +399 -0
  213. package/dist/components/GrImageViewer/chunks/GrImageViewer-fn8ilJTA.js.map +1 -0
  214. package/dist/components/GrImageViewer/index.js +3 -3
  215. package/dist/components/GrInput/chunks/GrInput-DLLRrH1A.js +213 -0
  216. package/dist/components/GrInput/chunks/GrInput-DLLRrH1A.js.map +1 -0
  217. package/dist/components/GrInput/index.js +3 -3
  218. package/dist/components/GrInputTag/chunks/GrInputTag-CzrrBxgU.js +259 -0
  219. package/dist/components/GrInputTag/chunks/GrInputTag-CzrrBxgU.js.map +1 -0
  220. package/dist/components/GrInputTag/index.js +3 -3
  221. package/dist/components/GrLink/chunks/GrLink-Dhkid3Mp.js +82 -0
  222. package/dist/components/GrLink/chunks/GrLink-Dhkid3Mp.js.map +1 -0
  223. package/dist/components/GrLink/index.js +3 -3
  224. package/dist/components/GrList/chunks/GrList-CjgeVjhY.js +79 -0
  225. package/dist/components/GrList/chunks/GrList-CjgeVjhY.js.map +1 -0
  226. package/dist/components/GrList/index.js +3 -3
  227. package/dist/components/GrLoading/chunks/GrLoading-DihGX3ol.js +71 -0
  228. package/dist/components/GrLoading/chunks/GrLoading-DihGX3ol.js.map +1 -0
  229. package/dist/components/GrLoading/index.js +3 -3
  230. package/dist/components/GrModal/chunks/GrModal-gvfvlp7k.js +170 -0
  231. package/dist/components/GrModal/chunks/GrModal-gvfvlp7k.js.map +1 -0
  232. package/dist/components/GrModal/index.js +4 -4
  233. package/dist/components/GrNavbar/chunks/GrNavbar-CQOAfO6y.js +77 -0
  234. package/dist/components/GrNavbar/chunks/GrNavbar-CQOAfO6y.js.map +1 -0
  235. package/dist/components/GrNavbar/index.js +3 -3
  236. package/dist/components/GrNumberInput/chunks/GrNumberInput-CyHgUotG.js +399 -0
  237. package/dist/components/GrNumberInput/chunks/GrNumberInput-CyHgUotG.js.map +1 -0
  238. package/dist/components/GrNumberInput/index.js +3 -3
  239. package/dist/components/GrPagination/chunks/GrPagination-C5cxRJsF.js +116 -0
  240. package/dist/components/GrPagination/chunks/GrPagination-C5cxRJsF.js.map +1 -0
  241. package/dist/components/GrPagination/index.js +3 -3
  242. package/dist/components/GrProgressBar/chunks/GrProgressBar-C9wAAFxR.js +41 -0
  243. package/dist/components/GrProgressBar/chunks/GrProgressBar-C9wAAFxR.js.map +1 -0
  244. package/dist/components/GrProgressBar/index.js +3 -3
  245. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Cfq9bvL3.js +192 -0
  246. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Cfq9bvL3.js.map +1 -0
  247. package/dist/components/GrPromptDialog/index.js +3 -3
  248. package/dist/components/GrRadio/chunks/GrRadio-B_t_ZNVl.js +186 -0
  249. package/dist/components/GrRadio/chunks/GrRadio-B_t_ZNVl.js.map +1 -0
  250. package/dist/components/GrRadio/index.js +3 -3
  251. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CVlgpUBr.js +82 -0
  252. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CVlgpUBr.js.map +1 -0
  253. package/dist/components/GrRadioGroup/index.js +3 -3
  254. package/dist/components/GrSegmented/chunks/GrSegmented-BPl1koHc.js +325 -0
  255. package/dist/components/GrSegmented/chunks/GrSegmented-BPl1koHc.js.map +1 -0
  256. package/dist/components/GrSegmented/index.js +3 -3
  257. package/dist/components/GrSelect/chunks/GrSelect-aVqUL-1F.js +445 -0
  258. package/dist/components/GrSelect/chunks/GrSelect-aVqUL-1F.js.map +1 -0
  259. package/dist/components/GrSelect/index.js +3 -3
  260. package/dist/components/GrSidebar/chunks/GrSidebar-DVucgcfV.js +46 -0
  261. package/dist/components/GrSidebar/chunks/GrSidebar-DVucgcfV.js.map +1 -0
  262. package/dist/components/GrSidebar/index.js +3 -3
  263. package/dist/components/GrSkeleton/chunks/GrSkeleton-CDTvCSoH.js +35 -0
  264. package/dist/components/GrSkeleton/chunks/GrSkeleton-CDTvCSoH.js.map +1 -0
  265. package/dist/components/GrSkeleton/index.js +3 -3
  266. package/dist/components/GrSwitch/chunks/GrSwitch-Bnamgqb2.js +81 -0
  267. package/dist/components/GrSwitch/chunks/GrSwitch-Bnamgqb2.js.map +1 -0
  268. package/dist/components/GrSwitch/index.js +3 -3
  269. package/dist/components/GrTable/chunks/GrTable-CyQ9uw8A.js +59 -0
  270. package/dist/components/GrTable/chunks/GrTable-CyQ9uw8A.js.map +1 -0
  271. package/dist/components/GrTable/index.js +3 -3
  272. package/dist/components/GrTabs/chunks/GrTabs-CiGmcmvm.js +120 -0
  273. package/dist/components/GrTabs/chunks/GrTabs-CiGmcmvm.js.map +1 -0
  274. package/dist/components/GrTabs/index.js +3 -3
  275. package/dist/components/GrTextarea/chunks/GrTextarea-VBSc6A7D.js +73 -0
  276. package/dist/components/GrTextarea/chunks/GrTextarea-VBSc6A7D.js.map +1 -0
  277. package/dist/components/GrTextarea/index.js +3 -3
  278. package/dist/components/GrToaster/chunks/GrToaster-I1e-zCpf.js +173 -0
  279. package/dist/components/GrToaster/chunks/GrToaster-I1e-zCpf.js.map +1 -0
  280. package/dist/components/GrToaster/index.js +3 -3
  281. package/dist/components/GrTooltip/chunks/GrTooltip-CrV1gI_c.js +57 -0
  282. package/dist/components/GrTooltip/chunks/GrTooltip-CrV1gI_c.js.map +1 -0
  283. package/dist/components/GrTooltip/index.js +3 -3
  284. package/dist/components/GrTree/chunks/GrTree-Dlev9oBd.js +736 -0
  285. package/dist/components/GrTree/chunks/GrTree-Dlev9oBd.js.map +1 -0
  286. package/dist/components/GrTree/index.js +3 -3
  287. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DN6XFjOD.js +456 -0
  288. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DN6XFjOD.js.map +1 -0
  289. package/dist/components/GrTreeSelect/index.js +3 -3
  290. package/dist/composables/useTheme.js +41 -30
  291. package/dist/composables/useTheme.js.map +1 -0
  292. package/dist/composables/useToast.js +43 -34
  293. package/dist/composables/useToast.js.map +1 -0
  294. package/dist/directives/index.js +2 -2
  295. package/dist/fileValidation/index.js +2 -2
  296. package/dist/granular-provider-node.js +25 -14
  297. package/dist/granular-provider-node.js.map +1 -0
  298. package/dist/granular-provider.js +5 -3
  299. package/dist/granular-provider.js.map +1 -0
  300. package/dist/i18n/all.js +8 -6
  301. package/dist/i18n/all.js.map +1 -0
  302. package/dist/i18n/index.js +3 -3
  303. package/dist/index.js +105 -105
  304. package/dist/vue/index.js +66 -26
  305. package/dist/vue/index.js.map +1 -0
  306. package/package.json +1 -1
  307. package/dist/chunks/_plugin-vue_export-helper-CHO2XVys.js +0 -8
  308. package/dist/chunks/adapter-D5uYoOZj.js +0 -4
  309. package/dist/chunks/arrow-up-Dv3dC3hu.js +0 -23
  310. package/dist/chunks/classTokens-CT1tqF2j.js +0 -6
  311. package/dist/chunks/config-B5JCvHys.js +0 -13
  312. package/dist/chunks/config-BDXa5Sna2.js +0 -9
  313. package/dist/chunks/config-BG5_FuZ-.js +0 -34
  314. package/dist/chunks/config-BMYKG1oB.js +0 -10
  315. package/dist/chunks/config-BQREEXFD.js +0 -8
  316. package/dist/chunks/config-BUZtbeTr.js +0 -40
  317. package/dist/chunks/config-BVXycfiO.js +0 -9
  318. package/dist/chunks/config-BZW-RL6E.js +0 -14
  319. package/dist/chunks/config-BhbfV-Is.js +0 -48
  320. package/dist/chunks/config-BmYFupZh.js +0 -8
  321. package/dist/chunks/config-BsZc_QQ-2.js +0 -20
  322. package/dist/chunks/config-C1Sn7mn-.js +0 -27
  323. package/dist/chunks/config-C4_REX-3.js +0 -9
  324. package/dist/chunks/config-CBFllZZ4.js +0 -9
  325. package/dist/chunks/config-CDyD_fCt.js +0 -8
  326. package/dist/chunks/config-CJeG727i.js +0 -149
  327. package/dist/chunks/config-CLawBqde.js +0 -21
  328. package/dist/chunks/config-CMz46RPG.js +0 -8
  329. package/dist/chunks/config-CO-7HRZd2.js +0 -8
  330. package/dist/chunks/config-CS7E7LME.js +0 -9
  331. package/dist/chunks/config-CVy124Xj.js +0 -8
  332. package/dist/chunks/config-CcixQGaN.js +0 -47
  333. package/dist/chunks/config-CiVXZxyQ.js +0 -9
  334. package/dist/chunks/config-CoMQmunP.js +0 -8
  335. package/dist/chunks/config-Cq6ufYtp.js +0 -9
  336. package/dist/chunks/config-D8CIEWcb.js +0 -8
  337. package/dist/chunks/config-D8hKc39m.js +0 -18
  338. package/dist/chunks/config-D9MxGwCJ.js +0 -8
  339. package/dist/chunks/config-DBXTZE36.js +0 -15
  340. package/dist/chunks/config-DK9C8O7L.js +0 -9
  341. package/dist/chunks/config-DTegOmx2.js +0 -8
  342. package/dist/chunks/config-DYI8XADo.js +0 -47
  343. package/dist/chunks/config-DlidGf7P.js +0 -8
  344. package/dist/chunks/config-DtNe7EIX.js +0 -35
  345. package/dist/chunks/config-EdWeK_ge.js +0 -17
  346. package/dist/chunks/config-FGAkxHFh.js +0 -8
  347. package/dist/chunks/config-M76gNxd2.js +0 -37
  348. package/dist/chunks/config-NuqoO_Of.js +0 -33
  349. package/dist/chunks/config-QsovJrku2.js +0 -66
  350. package/dist/chunks/config-R6F6zRJk.js +0 -9
  351. package/dist/chunks/config-SLwkDc4Q2.js +0 -9
  352. package/dist/chunks/config-aJ7sb62Y.js +0 -8
  353. package/dist/chunks/config-b9nc87Oc.js +0 -9
  354. package/dist/chunks/config-dSI8RttH2.js +0 -8
  355. package/dist/chunks/config-im2VHeSM.js +0 -9
  356. package/dist/chunks/config-vKeQ035f.js +0 -9
  357. package/dist/chunks/config-vMcxHlWi.js +0 -14
  358. package/dist/chunks/dialogShared-CONROtU2.js +0 -26
  359. package/dist/chunks/directives-Dr5NPOT8.js +0 -530
  360. package/dist/chunks/en-j3simI0h.js +0 -41
  361. package/dist/chunks/es-CIT9s_vo.js +0 -4
  362. package/dist/chunks/es-CLpJj7KP.js +0 -41
  363. package/dist/chunks/fileValidation-LFD-vwil.js +0 -193
  364. package/dist/chunks/grDropdownStyles-149X1NeB.js +0 -31
  365. package/dist/chunks/grLoadingStyles-Bjo7ylmq.js +0 -15
  366. package/dist/chunks/grModalStyles-Dmd4havY.js +0 -38
  367. package/dist/chunks/grSelectStyles-C3QKIn1J.js +0 -40
  368. package/dist/chunks/granularityI18n-8_v1B11L.js +0 -24
  369. package/dist/chunks/info-CNJnuTYC.js +0 -26
  370. package/dist/chunks/loader-circle-C5vCCMfB.js +0 -23
  371. package/dist/chunks/ru-CiOZPnBu.js +0 -41
  372. package/dist/chunks/safelist-Bq32hAXc.js +0 -13
  373. package/dist/chunks/safelist-CLcTRYB-.js +0 -22
  374. package/dist/chunks/transition-BJXMi52x.js +0 -1617
  375. package/dist/chunks/x--kxrj3ez.js +0 -23
  376. package/dist/chunks/x-circle-ChJ87u1v.js +0 -61
  377. package/dist/components/GrAlert/chunks/GrAlert-DLHkusb-.js +0 -129
  378. package/dist/components/GrAvatar/chunks/GrAvatar-BFYH3HJw.js +0 -32
  379. package/dist/components/GrBadge/chunks/GrBadge-D_AoqGrn.js +0 -27
  380. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C_N0QJfA.js +0 -26
  381. package/dist/components/GrBottomNav/chunks/GrBottomNav-Chpu3SVd.js +0 -21
  382. package/dist/components/GrButton/chunks/GrButton-BXVVt6Od.js +0 -67
  383. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CmnYHVH7.js +0 -16
  384. package/dist/components/GrCard/chunks/GrCard-DEpN6Ptf.js +0 -10
  385. package/dist/components/GrCheckbox/chunks/GrCheckbox-DF3vJApB.js +0 -111
  386. package/dist/components/GrCollapse/chunks/GrCollapse-D7QYRqNa.js +0 -150
  387. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-C7Eh8-Vn.js +0 -111
  388. package/dist/components/GrDataTable/chunks/GrDataTable-Dxsg1NMP.js +0 -142
  389. package/dist/components/GrDialog/chunks/GrDialog-BSd4-uP5.js +0 -169
  390. package/dist/components/GrDrawer/chunks/GrDrawer-DBBSwe1s.js +0 -135
  391. package/dist/components/GrDropdown/chunks/GrDropdown-BELyRP4A.js +0 -110
  392. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-B8fuk7iP.js +0 -233
  393. package/dist/components/GrEmptyState/chunks/GrEmptyState-BPGoafJI.js +0 -49
  394. package/dist/components/GrFileUpload/chunks/GrFileUpload-BPzx3LEM.js +0 -294
  395. package/dist/components/GrFormField/chunks/GrFormField-Cn8g9eFP.js +0 -28
  396. package/dist/components/GrFormFile/chunks/GrFormFile-DfinD5Iv.js +0 -248
  397. package/dist/components/GrFormSection/chunks/GrFormSection-dKpQw-vh.js +0 -27
  398. package/dist/components/GrIcon/chunks/GrIcon-CXIHuG7L.js +0 -25
  399. package/dist/components/GrImageViewer/chunks/GrImageViewer-CQSNx-D7.js +0 -322
  400. package/dist/components/GrInput/chunks/GrInput-CLKX1inm.js +0 -158
  401. package/dist/components/GrInputTag/chunks/GrInputTag-BAtLody2.js +0 -214
  402. package/dist/components/GrLink/chunks/GrLink-BpXnly-Y.js +0 -59
  403. package/dist/components/GrList/chunks/GrList-BrFc7VdS.js +0 -55
  404. package/dist/components/GrLoading/chunks/GrLoading-dFuoryMY.js +0 -53
  405. package/dist/components/GrModal/chunks/GrModal-uaWXH08K.js +0 -136
  406. package/dist/components/GrNavbar/chunks/GrNavbar-KzLHgdjX.js +0 -62
  407. package/dist/components/GrNumberInput/chunks/GrNumberInput-rENn1802.js +0 -315
  408. package/dist/components/GrPagination/chunks/GrPagination-DP0x3rx6.js +0 -93
  409. package/dist/components/GrProgressBar/chunks/GrProgressBar-DpW93sOi.js +0 -29
  410. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-ASfBwyzQ.js +0 -158
  411. package/dist/components/GrRadio/chunks/GrRadio-8BOo97XV.js +0 -147
  412. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BymbUmqI.js +0 -66
  413. package/dist/components/GrSegmented/chunks/GrSegmented-CK5C_lN7.js +0 -250
  414. package/dist/components/GrSelect/chunks/GrSelect-BMfc1-vs.js +0 -314
  415. package/dist/components/GrSidebar/chunks/GrSidebar-C4SXXhfO.js +0 -29
  416. package/dist/components/GrSkeleton/chunks/GrSkeleton-QlieOdpY.js +0 -25
  417. package/dist/components/GrSwitch/chunks/GrSwitch-Cefiutzu.js +0 -64
  418. package/dist/components/GrTable/chunks/GrTable-k_FUiJQk.js +0 -44
  419. package/dist/components/GrTabs/chunks/GrTabs-B46P-lUc.js +0 -98
  420. package/dist/components/GrTextarea/chunks/GrTextarea-BX7L1MJk.js +0 -57
  421. package/dist/components/GrToaster/chunks/GrToaster-C4l_BjOh.js +0 -139
  422. package/dist/components/GrTooltip/chunks/GrTooltip-BqRAzuLT.js +0 -37
  423. package/dist/components/GrTree/chunks/GrTree-C2CXR_vW.js +0 -614
  424. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DAAay-QB.js +0 -353
@@ -0,0 +1,1694 @@
1
+ import * as e$1 from "vue";
2
+ import { Fragment, Teleport, cloneVNode, computed, defineComponent, getCurrentInstance, h, inject, nextTick, normalizeClass, onMounted, onUnmounted, provide, reactive, ref, shallowRef, unref, watch, watchEffect } from "vue";
3
+ //#region ../../node_modules/@headlessui/vue/dist/utils/micro-task.js
4
+ function t$5(e) {
5
+ typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((o) => setTimeout(() => {
6
+ throw o;
7
+ }));
8
+ }
9
+ //#endregion
10
+ //#region ../../node_modules/@headlessui/vue/dist/utils/disposables.js
11
+ function o$3() {
12
+ let a = [], s = {
13
+ addEventListener(e, t, r, i) {
14
+ return e.addEventListener(t, r, i), s.add(() => e.removeEventListener(t, r, i));
15
+ },
16
+ requestAnimationFrame(...e) {
17
+ let t = requestAnimationFrame(...e);
18
+ s.add(() => cancelAnimationFrame(t));
19
+ },
20
+ nextFrame(...e) {
21
+ s.requestAnimationFrame(() => {
22
+ s.requestAnimationFrame(...e);
23
+ });
24
+ },
25
+ setTimeout(...e) {
26
+ let t = setTimeout(...e);
27
+ s.add(() => clearTimeout(t));
28
+ },
29
+ microTask(...e) {
30
+ let t = { current: !0 };
31
+ return t$5(() => {
32
+ t.current && e[0]();
33
+ }), s.add(() => {
34
+ t.current = !1;
35
+ });
36
+ },
37
+ style(e, t, r) {
38
+ let i = e.style.getPropertyValue(t);
39
+ return Object.assign(e.style, { [t]: r }), this.add(() => {
40
+ Object.assign(e.style, { [t]: i });
41
+ });
42
+ },
43
+ group(e) {
44
+ let t = o$3();
45
+ return e(t), this.add(() => t.dispose());
46
+ },
47
+ add(e) {
48
+ return a.push(e), () => {
49
+ let t = a.indexOf(e);
50
+ if (t >= 0) for (let r of a.splice(t, 1)) r();
51
+ };
52
+ },
53
+ dispose() {
54
+ for (let e of a.splice(0)) e();
55
+ }
56
+ };
57
+ return s;
58
+ }
59
+ //#endregion
60
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/use-id.js
61
+ var r;
62
+ var n$4 = Symbol("headlessui.useid"), o$2 = 0;
63
+ var i$5 = (r = e$1.useId) != null ? r : function() {
64
+ return e$1.inject(n$4, () => `${++o$2}`)();
65
+ };
66
+ //#endregion
67
+ //#region ../../node_modules/@headlessui/vue/dist/utils/dom.js
68
+ function o$1(e) {
69
+ var l;
70
+ if (e == null || e.value == null) return null;
71
+ let n = (l = e.value.$el) != null ? l : e.value;
72
+ return n instanceof Node ? n : null;
73
+ }
74
+ //#endregion
75
+ //#region ../../node_modules/@headlessui/vue/dist/utils/match.js
76
+ function u$5(r, n, ...a) {
77
+ if (r in n) {
78
+ let e = n[r];
79
+ return typeof e == "function" ? e(...a) : e;
80
+ }
81
+ let t = /* @__PURE__ */ new Error(`Tried to handle "${r}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map((e) => `"${e}"`).join(", ")}.`);
82
+ throw Error.captureStackTrace && Error.captureStackTrace(t, u$5), t;
83
+ }
84
+ //#endregion
85
+ //#region ../../node_modules/@headlessui/vue/dist/utils/env.js
86
+ var i$4 = Object.defineProperty;
87
+ var d$4 = (t, e, r) => e in t ? i$4(t, e, {
88
+ enumerable: !0,
89
+ configurable: !0,
90
+ writable: !0,
91
+ value: r
92
+ }) : t[e] = r;
93
+ var n$3 = (t, e, r) => (d$4(t, typeof e != "symbol" ? e + "" : e, r), r);
94
+ var s$3 = class {
95
+ constructor() {
96
+ n$3(this, "current", this.detect());
97
+ n$3(this, "currentId", 0);
98
+ }
99
+ set(e) {
100
+ this.current !== e && (this.currentId = 0, this.current = e);
101
+ }
102
+ reset() {
103
+ this.set(this.detect());
104
+ }
105
+ nextId() {
106
+ return ++this.currentId;
107
+ }
108
+ get isServer() {
109
+ return this.current === "server";
110
+ }
111
+ get isClient() {
112
+ return this.current === "client";
113
+ }
114
+ detect() {
115
+ return typeof window == "undefined" || typeof document == "undefined" ? "server" : "client";
116
+ }
117
+ };
118
+ var c$2 = new s$3();
119
+ //#endregion
120
+ //#region ../../node_modules/@headlessui/vue/dist/utils/owner.js
121
+ function i$3(r) {
122
+ if (c$2.isServer) return null;
123
+ if (r instanceof Node) return r.ownerDocument;
124
+ if (r != null && r.hasOwnProperty("value")) {
125
+ let n = o$1(r);
126
+ if (n) return n.ownerDocument;
127
+ }
128
+ return document;
129
+ }
130
+ //#endregion
131
+ //#region ../../node_modules/@headlessui/vue/dist/utils/focus-management.js
132
+ var c$1 = [
133
+ "[contentEditable=true]",
134
+ "[tabindex]",
135
+ "a[href]",
136
+ "area[href]",
137
+ "button:not([disabled])",
138
+ "iframe",
139
+ "input:not([disabled])",
140
+ "select:not([disabled])",
141
+ "textarea:not([disabled])"
142
+ ].map((e) => `${e}:not([tabindex='-1'])`).join(",");
143
+ var N$4 = ((n) => (n[n.First = 1] = "First", n[n.Previous = 2] = "Previous", n[n.Next = 4] = "Next", n[n.Last = 8] = "Last", n[n.WrapAround = 16] = "WrapAround", n[n.NoScroll = 32] = "NoScroll", n))(N$4 || {}), T$2 = ((o) => (o[o.Error = 0] = "Error", o[o.Overflow = 1] = "Overflow", o[o.Success = 2] = "Success", o[o.Underflow = 3] = "Underflow", o))(T$2 || {}), F$1 = ((t) => (t[t.Previous = -1] = "Previous", t[t.Next = 1] = "Next", t))(F$1 || {});
144
+ function E$2(e = document.body) {
145
+ return e == null ? [] : Array.from(e.querySelectorAll(c$1)).sort((r, t) => Math.sign((r.tabIndex || Number.MAX_SAFE_INTEGER) - (t.tabIndex || Number.MAX_SAFE_INTEGER)));
146
+ }
147
+ var h$1 = ((t) => (t[t.Strict = 0] = "Strict", t[t.Loose = 1] = "Loose", t))(h$1 || {});
148
+ function w$4(e, r = 0) {
149
+ var t;
150
+ return e === ((t = i$3(e)) == null ? void 0 : t.body) ? !1 : u$5(r, {
151
+ [0]() {
152
+ return e.matches(c$1);
153
+ },
154
+ [1]() {
155
+ let l = e;
156
+ for (; l !== null;) {
157
+ if (l.matches(c$1)) return !0;
158
+ l = l.parentElement;
159
+ }
160
+ return !1;
161
+ }
162
+ });
163
+ }
164
+ var y$2 = ((t) => (t[t.Keyboard = 0] = "Keyboard", t[t.Mouse = 1] = "Mouse", t))(y$2 || {});
165
+ typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("keydown", (e) => {
166
+ e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
167
+ }, !0), document.addEventListener("click", (e) => {
168
+ e.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : e.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
169
+ }, !0));
170
+ function S$1(e) {
171
+ e?.focus({ preventScroll: !0 });
172
+ }
173
+ var H$2 = ["textarea", "input"].join(",");
174
+ function I(e) {
175
+ var r, t;
176
+ return (t = (r = e == null ? void 0 : e.matches) == null ? void 0 : r.call(e, H$2)) != null ? t : !1;
177
+ }
178
+ function O(e, r = (t) => t) {
179
+ return e.slice().sort((t, l) => {
180
+ let o = r(t), i = r(l);
181
+ if (o === null || i === null) return 0;
182
+ let n = o.compareDocumentPosition(i);
183
+ return n & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : n & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
184
+ });
185
+ }
186
+ function P(e, r, { sorted: t = !0, relativeTo: l = null, skipElements: o = [] } = {}) {
187
+ var m;
188
+ let i = (m = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e == null ? void 0 : e.ownerDocument) != null ? m : document, n = Array.isArray(e) ? t ? O(e) : e : E$2(e);
189
+ o.length > 0 && n.length > 1 && (n = n.filter((s) => !o.includes(s))), l = l != null ? l : i.activeElement;
190
+ let x = (() => {
191
+ if (r & 5) return 1;
192
+ if (r & 10) return -1;
193
+ throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
194
+ })(), p = (() => {
195
+ if (r & 1) return 0;
196
+ if (r & 2) return Math.max(0, n.indexOf(l)) - 1;
197
+ if (r & 4) return Math.max(0, n.indexOf(l)) + 1;
198
+ if (r & 8) return n.length - 1;
199
+ throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
200
+ })(), L = r & 32 ? { preventScroll: !0 } : {}, a = 0, d = n.length, u;
201
+ do {
202
+ if (a >= d || a + d <= 0) return 0;
203
+ let s = p + a;
204
+ if (r & 16) s = (s + d) % d;
205
+ else {
206
+ if (s < 0) return 3;
207
+ if (s >= d) return 1;
208
+ }
209
+ u = n[s], u?.focus(L), a += x;
210
+ } while (u !== i.activeElement);
211
+ return r & 6 && I(u) && u.select(), 2;
212
+ }
213
+ //#endregion
214
+ //#region ../../node_modules/@headlessui/vue/dist/utils/platform.js
215
+ function t$4() {
216
+ return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
217
+ }
218
+ function i$2() {
219
+ return /Android/gi.test(window.navigator.userAgent);
220
+ }
221
+ function n$2() {
222
+ return t$4() || i$2();
223
+ }
224
+ //#endregion
225
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/use-document-event.js
226
+ function u$4(e, t, n) {
227
+ c$2.isServer || watchEffect((o) => {
228
+ document.addEventListener(e, t, n), o(() => document.removeEventListener(e, t, n));
229
+ });
230
+ }
231
+ //#endregion
232
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/use-window-event.js
233
+ function w$3(e, n, t) {
234
+ c$2.isServer || watchEffect((o) => {
235
+ window.addEventListener(e, n, t), o(() => window.removeEventListener(e, n, t));
236
+ });
237
+ }
238
+ //#endregion
239
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/use-outside-click.js
240
+ function w$2(f, m, l = computed(() => !0)) {
241
+ function a(e, r) {
242
+ if (!l.value || e.defaultPrevented) return;
243
+ let t = r(e);
244
+ if (t === null || !t.getRootNode().contains(t)) return;
245
+ let c = function o(n) {
246
+ return typeof n == "function" ? o(n()) : Array.isArray(n) || n instanceof Set ? n : [n];
247
+ }(f);
248
+ for (let o of c) {
249
+ if (o === null) continue;
250
+ let n = o instanceof HTMLElement ? o : o$1(o);
251
+ if (n != null && n.contains(t) || e.composed && e.composedPath().includes(n)) return;
252
+ }
253
+ return !w$4(t, h$1.Loose) && t.tabIndex !== -1 && e.preventDefault(), m(e, t);
254
+ }
255
+ let u = ref(null);
256
+ u$4("pointerdown", (e) => {
257
+ var r, t;
258
+ l.value && (u.value = ((t = (r = e.composedPath) == null ? void 0 : r.call(e)) == null ? void 0 : t[0]) || e.target);
259
+ }, !0), u$4("mousedown", (e) => {
260
+ var r, t;
261
+ l.value && (u.value = ((t = (r = e.composedPath) == null ? void 0 : r.call(e)) == null ? void 0 : t[0]) || e.target);
262
+ }, !0), u$4("click", (e) => {
263
+ n$2() || u.value && (a(e, () => u.value), u.value = null);
264
+ }, !0), u$4("touchend", (e) => a(e, () => e.target instanceof HTMLElement ? e.target : null), !0), w$3("blur", (e) => a(e, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
265
+ }
266
+ //#endregion
267
+ //#region ../../node_modules/@headlessui/vue/dist/utils/render.js
268
+ var N$3 = ((o) => (o[o.None = 0] = "None", o[o.RenderStrategy = 1] = "RenderStrategy", o[o.Static = 2] = "Static", o))(N$3 || {}), S = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(S || {});
269
+ function A$2({ visible: r = !0, features: t = 0, ourProps: e, theirProps: o, ...i }) {
270
+ var a;
271
+ let n = j(o, e), l = Object.assign(i, { props: n });
272
+ if (r || t & 2 && n.static) return y$1(l);
273
+ if (t & 1) return u$5((a = n.unmount) == null || a ? 0 : 1, {
274
+ [0]() {
275
+ return null;
276
+ },
277
+ [1]() {
278
+ return y$1({
279
+ ...i,
280
+ props: {
281
+ ...n,
282
+ hidden: !0,
283
+ style: { display: "none" }
284
+ }
285
+ });
286
+ }
287
+ });
288
+ return y$1(l);
289
+ }
290
+ function y$1({ props: r, attrs: t, slots: e, slot: o, name: i }) {
291
+ var m, h$5;
292
+ let { as: n, ...l } = T$1(r, ["unmount", "static"]), a = (m = e.default) == null ? void 0 : m.call(e, o), d = {};
293
+ if (o) {
294
+ let u = !1, c = [];
295
+ for (let [p, f] of Object.entries(o)) typeof f == "boolean" && (u = !0), f === !0 && c.push(p);
296
+ u && (d["data-headlessui-state"] = c.join(" "));
297
+ }
298
+ if (n === "template") {
299
+ if (a = b(a != null ? a : []), Object.keys(l).length > 0 || Object.keys(t).length > 0) {
300
+ let [u, ...c] = a != null ? a : [];
301
+ if (!v(u) || c.length > 0) throw new Error([
302
+ "Passing props on \"template\"!",
303
+ "",
304
+ `The current component <${i} /> is rendering a "template".`,
305
+ "However we need to passthrough the following props:",
306
+ Object.keys(l).concat(Object.keys(t)).map((s) => s.trim()).filter((s, g, R) => R.indexOf(s) === g).sort((s, g) => s.localeCompare(g)).map((s) => ` - ${s}`).join(`
307
+ `),
308
+ "",
309
+ "You can apply a few solutions:",
310
+ ["Add an `as=\"...\"` prop, to ensure that we render an actual element instead of a \"template\".", "Render a single element as the child so that we can forward the props onto that element."].map((s) => ` - ${s}`).join(`
311
+ `)
312
+ ].join(`
313
+ `));
314
+ let p = j((h$5 = u.props) != null ? h$5 : {}, l, d), f = cloneVNode(u, p, !0);
315
+ for (let s in p) s.startsWith("on") && (f.props || (f.props = {}), f.props[s] = p[s]);
316
+ return f;
317
+ }
318
+ return Array.isArray(a) && a.length === 1 ? a[0] : a;
319
+ }
320
+ return h(n, Object.assign({}, l, d), { default: () => a });
321
+ }
322
+ function b(r) {
323
+ return r.flatMap((t) => t.type === Fragment ? b(t.children) : [t]);
324
+ }
325
+ function j(...r) {
326
+ if (r.length === 0) return {};
327
+ if (r.length === 1) return r[0];
328
+ let t = {}, e = {};
329
+ for (let i of r) for (let n in i) n.startsWith("on") && typeof i[n] == "function" ? (e[n] ?? (e[n] = []), e[n].push(i[n])) : t[n] = i[n];
330
+ if (t.disabled || t["aria-disabled"]) return Object.assign(t, Object.fromEntries(Object.keys(e).map((i) => [i, void 0])));
331
+ for (let i in e) Object.assign(t, { [i](n, ...l) {
332
+ let a = e[i];
333
+ for (let d of a) {
334
+ if (n instanceof Event && n.defaultPrevented) return;
335
+ d(n, ...l);
336
+ }
337
+ } });
338
+ return t;
339
+ }
340
+ function T$1(r, t = []) {
341
+ let e = Object.assign({}, r);
342
+ for (let o of t) o in e && delete e[o];
343
+ return e;
344
+ }
345
+ function v(r) {
346
+ return r == null ? !1 : typeof r.type == "string" || typeof r.type == "object" || typeof r.type == "function";
347
+ }
348
+ //#endregion
349
+ //#region ../../node_modules/@headlessui/vue/dist/internal/hidden.js
350
+ var u$3 = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(u$3 || {});
351
+ var f$1 = defineComponent({
352
+ name: "Hidden",
353
+ props: {
354
+ as: {
355
+ type: [Object, String],
356
+ default: "div"
357
+ },
358
+ features: {
359
+ type: Number,
360
+ default: 1
361
+ }
362
+ },
363
+ setup(t, { slots: n, attrs: i }) {
364
+ return () => {
365
+ var r;
366
+ let { features: e, ...d } = t;
367
+ return A$2({
368
+ ourProps: {
369
+ "aria-hidden": (e & 2) === 2 ? !0 : (r = d["aria-hidden"]) != null ? r : void 0,
370
+ hidden: (e & 4) === 4 ? !0 : void 0,
371
+ style: {
372
+ position: "fixed",
373
+ top: 1,
374
+ left: 1,
375
+ width: 1,
376
+ height: 0,
377
+ padding: 0,
378
+ margin: -1,
379
+ overflow: "hidden",
380
+ clip: "rect(0, 0, 0, 0)",
381
+ whiteSpace: "nowrap",
382
+ borderWidth: "0",
383
+ ...(e & 4) === 4 && (e & 2) !== 2 && { display: "none" }
384
+ }
385
+ },
386
+ theirProps: d,
387
+ slot: {},
388
+ attrs: i,
389
+ slots: n,
390
+ name: "Hidden"
391
+ });
392
+ };
393
+ }
394
+ });
395
+ //#endregion
396
+ //#region ../../node_modules/@headlessui/vue/dist/internal/open-closed.js
397
+ var n$1 = Symbol("Context");
398
+ var i$1 = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(i$1 || {});
399
+ function s$2() {
400
+ return l$2() !== null;
401
+ }
402
+ function l$2() {
403
+ return inject(n$1, null);
404
+ }
405
+ function t$3(o) {
406
+ provide(n$1, o);
407
+ }
408
+ //#endregion
409
+ //#region ../../node_modules/@headlessui/vue/dist/keyboard.js
410
+ var o = ((r) => (r.Space = " ", r.Enter = "Enter", r.Escape = "Escape", r.Backspace = "Backspace", r.Delete = "Delete", r.ArrowLeft = "ArrowLeft", r.ArrowUp = "ArrowUp", r.ArrowRight = "ArrowRight", r.ArrowDown = "ArrowDown", r.Home = "Home", r.End = "End", r.PageUp = "PageUp", r.PageDown = "PageDown", r.Tab = "Tab", r))(o || {});
411
+ //#endregion
412
+ //#region ../../node_modules/@headlessui/vue/dist/utils/document-ready.js
413
+ function t$2(n) {
414
+ function e() {
415
+ document.readyState !== "loading" && (n(), document.removeEventListener("DOMContentLoaded", e));
416
+ }
417
+ typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("DOMContentLoaded", e), e());
418
+ }
419
+ //#endregion
420
+ //#region ../../node_modules/@headlessui/vue/dist/utils/active-element-history.js
421
+ var t$1 = [];
422
+ t$2(() => {
423
+ function e(n) {
424
+ n.target instanceof HTMLElement && n.target !== document.body && t$1[0] !== n.target && (t$1.unshift(n.target), t$1 = t$1.filter((r) => r != null && r.isConnected), t$1.splice(10));
425
+ }
426
+ window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
427
+ });
428
+ //#endregion
429
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/use-event-listener.js
430
+ function E$1(n, e, o, r) {
431
+ c$2.isServer || watchEffect((t) => {
432
+ n = n != null ? n : window, n.addEventListener(e, o, r), t(() => n.removeEventListener(e, o, r));
433
+ });
434
+ }
435
+ //#endregion
436
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/use-tab-direction.js
437
+ var d$3 = ((r) => (r[r.Forwards = 0] = "Forwards", r[r.Backwards = 1] = "Backwards", r))(d$3 || {});
438
+ function n() {
439
+ let o = ref(0);
440
+ return w$3("keydown", (e) => {
441
+ e.key === "Tab" && (o.value = e.shiftKey ? 1 : 0);
442
+ }), o;
443
+ }
444
+ //#endregion
445
+ //#region ../../node_modules/@headlessui/vue/dist/components/focus-trap/focus-trap.js
446
+ function B(t) {
447
+ if (!t) return /* @__PURE__ */ new Set();
448
+ if (typeof t == "function") return new Set(t());
449
+ let n = /* @__PURE__ */ new Set();
450
+ for (let r of t.value) {
451
+ let l = o$1(r);
452
+ l instanceof HTMLElement && n.add(l);
453
+ }
454
+ return n;
455
+ }
456
+ var A$1 = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus", e[e.TabLock = 4] = "TabLock", e[e.FocusLock = 8] = "FocusLock", e[e.RestoreFocus = 16] = "RestoreFocus", e[e.All = 30] = "All", e))(A$1 || {});
457
+ var ue = Object.assign(defineComponent({
458
+ name: "FocusTrap",
459
+ props: {
460
+ as: {
461
+ type: [Object, String],
462
+ default: "div"
463
+ },
464
+ initialFocus: {
465
+ type: Object,
466
+ default: null
467
+ },
468
+ features: {
469
+ type: Number,
470
+ default: 30
471
+ },
472
+ containers: {
473
+ type: [Object, Function],
474
+ default: ref(/* @__PURE__ */ new Set())
475
+ }
476
+ },
477
+ inheritAttrs: !1,
478
+ setup(t, { attrs: n$5, slots: r, expose: l }) {
479
+ let o = ref(null);
480
+ l({
481
+ el: o,
482
+ $el: o
483
+ });
484
+ let i = computed(() => i$3(o)), e = ref(!1);
485
+ onMounted(() => e.value = !0), onUnmounted(() => e.value = !1), $$1({ ownerDocument: i }, computed(() => e.value && Boolean(t.features & 16)));
486
+ let m = z$1({
487
+ ownerDocument: i,
488
+ container: o,
489
+ initialFocus: computed(() => t.initialFocus)
490
+ }, computed(() => e.value && Boolean(t.features & 2)));
491
+ J({
492
+ ownerDocument: i,
493
+ container: o,
494
+ containers: t.containers,
495
+ previousActiveElement: m
496
+ }, computed(() => e.value && Boolean(t.features & 8)));
497
+ let f = n();
498
+ function a(u) {
499
+ let T = o$1(o);
500
+ if (!T) return;
501
+ ((w) => w())(() => {
502
+ u$5(f.value, {
503
+ [d$3.Forwards]: () => {
504
+ P(T, N$4.First, { skipElements: [u.relatedTarget] });
505
+ },
506
+ [d$3.Backwards]: () => {
507
+ P(T, N$4.Last, { skipElements: [u.relatedTarget] });
508
+ }
509
+ });
510
+ });
511
+ }
512
+ let s = ref(!1);
513
+ function F(u) {
514
+ u.key === "Tab" && (s.value = !0, requestAnimationFrame(() => {
515
+ s.value = !1;
516
+ }));
517
+ }
518
+ function H(u) {
519
+ if (!e.value) return;
520
+ let T = B(t.containers);
521
+ o$1(o) instanceof HTMLElement && T.add(o$1(o));
522
+ let d = u.relatedTarget;
523
+ d instanceof HTMLElement && d.dataset.headlessuiFocusGuard !== "true" && (N$2(T, d) || (s.value ? P(o$1(o), u$5(f.value, {
524
+ [d$3.Forwards]: () => N$4.Next,
525
+ [d$3.Backwards]: () => N$4.Previous
526
+ }) | N$4.WrapAround, { relativeTo: u.target }) : u.target instanceof HTMLElement && S$1(u.target)));
527
+ }
528
+ return () => {
529
+ let u = {}, T = {
530
+ ref: o,
531
+ onKeydown: F,
532
+ onFocusout: H
533
+ }, { features: d, initialFocus: w, containers: Q, ...O } = t;
534
+ return h(Fragment, [
535
+ Boolean(d & 4) && h(f$1, {
536
+ as: "button",
537
+ type: "button",
538
+ "data-headlessui-focus-guard": !0,
539
+ onFocus: a,
540
+ features: u$3.Focusable
541
+ }),
542
+ A$2({
543
+ ourProps: T,
544
+ theirProps: {
545
+ ...n$5,
546
+ ...O
547
+ },
548
+ slot: u,
549
+ attrs: n$5,
550
+ slots: r,
551
+ name: "FocusTrap"
552
+ }),
553
+ Boolean(d & 4) && h(f$1, {
554
+ as: "button",
555
+ type: "button",
556
+ "data-headlessui-focus-guard": !0,
557
+ onFocus: a,
558
+ features: u$3.Focusable
559
+ })
560
+ ]);
561
+ };
562
+ }
563
+ }), { features: A$1 });
564
+ function W$1(t) {
565
+ let n = ref(t$1.slice());
566
+ return watch([t], ([r], [l]) => {
567
+ l === !0 && r === !1 ? t$5(() => {
568
+ n.value.splice(0);
569
+ }) : l === !1 && r === !0 && (n.value = t$1.slice());
570
+ }, { flush: "post" }), () => {
571
+ var r;
572
+ return (r = n.value.find((l) => l != null && l.isConnected)) != null ? r : null;
573
+ };
574
+ }
575
+ function $$1({ ownerDocument: t }, n) {
576
+ let r = W$1(n);
577
+ onMounted(() => {
578
+ watchEffect(() => {
579
+ var l, o;
580
+ n.value || ((l = t.value) == null ? void 0 : l.activeElement) === ((o = t.value) == null ? void 0 : o.body) && S$1(r());
581
+ }, { flush: "post" });
582
+ }), onUnmounted(() => {
583
+ n.value && S$1(r());
584
+ });
585
+ }
586
+ function z$1({ ownerDocument: t, container: n, initialFocus: r }, l) {
587
+ let o = ref(null), i = ref(!1);
588
+ return onMounted(() => i.value = !0), onUnmounted(() => i.value = !1), onMounted(() => {
589
+ watch([
590
+ n,
591
+ r,
592
+ l
593
+ ], (e, m) => {
594
+ if (e.every((a, s) => (m == null ? void 0 : m[s]) === a) || !l.value) return;
595
+ let f = o$1(n);
596
+ f && t$5(() => {
597
+ var F, H;
598
+ if (!i.value) return;
599
+ let a = o$1(r), s = (F = t.value) == null ? void 0 : F.activeElement;
600
+ if (a) {
601
+ if (a === s) {
602
+ o.value = s;
603
+ return;
604
+ }
605
+ } else if (f.contains(s)) {
606
+ o.value = s;
607
+ return;
608
+ }
609
+ a ? S$1(a) : P(f, N$4.First | N$4.NoScroll) === T$2.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), o.value = (H = t.value) == null ? void 0 : H.activeElement;
610
+ });
611
+ }, {
612
+ immediate: !0,
613
+ flush: "post"
614
+ });
615
+ }), o;
616
+ }
617
+ function J({ ownerDocument: t, container: n, containers: r, previousActiveElement: l }, o) {
618
+ var i;
619
+ E$1((i = t.value) == null ? void 0 : i.defaultView, "focus", (e) => {
620
+ if (!o.value) return;
621
+ let m = B(r);
622
+ o$1(n) instanceof HTMLElement && m.add(o$1(n));
623
+ let f = l.value;
624
+ if (!f) return;
625
+ let a = e.target;
626
+ a && a instanceof HTMLElement ? N$2(m, a) ? (l.value = a, S$1(a)) : (e.preventDefault(), e.stopPropagation(), S$1(f)) : S$1(l.value);
627
+ }, !0);
628
+ }
629
+ function N$2(t, n) {
630
+ for (let r of t) if (r.contains(n)) return !0;
631
+ return !1;
632
+ }
633
+ //#endregion
634
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/use-store.js
635
+ function m$2(t) {
636
+ let e = shallowRef(t.getSnapshot());
637
+ return onUnmounted(t.subscribe(() => {
638
+ e.value = t.getSnapshot();
639
+ })), e;
640
+ }
641
+ //#endregion
642
+ //#region ../../node_modules/@headlessui/vue/dist/utils/store.js
643
+ function a$1(o, r) {
644
+ let t = o(), n = /* @__PURE__ */ new Set();
645
+ return {
646
+ getSnapshot() {
647
+ return t;
648
+ },
649
+ subscribe(e) {
650
+ return n.add(e), () => n.delete(e);
651
+ },
652
+ dispatch(e, ...s) {
653
+ let i = r[e].call(t, ...s);
654
+ i && (t = i, n.forEach((c) => c()));
655
+ }
656
+ };
657
+ }
658
+ //#endregion
659
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/adjust-scrollbar-padding.js
660
+ function c() {
661
+ let o;
662
+ return {
663
+ before({ doc: e }) {
664
+ var l;
665
+ let n = e.documentElement;
666
+ o = ((l = e.defaultView) != null ? l : window).innerWidth - n.clientWidth;
667
+ },
668
+ after({ doc: e, d: n }) {
669
+ let t = e.documentElement, l = t.clientWidth - t.offsetWidth, r = o - l;
670
+ n.style(t, "paddingRight", `${r}px`);
671
+ }
672
+ };
673
+ }
674
+ //#endregion
675
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/handle-ios-locking.js
676
+ function w$1() {
677
+ return t$4() ? { before({ doc: r, d: n, meta: c }) {
678
+ function a(o) {
679
+ return c.containers.flatMap((l) => l()).some((l) => l.contains(o));
680
+ }
681
+ n.microTask(() => {
682
+ var s;
683
+ if (window.getComputedStyle(r.documentElement).scrollBehavior !== "auto") {
684
+ let t = o$3();
685
+ t.style(r.documentElement, "scrollBehavior", "auto"), n.add(() => n.microTask(() => t.dispose()));
686
+ }
687
+ let o = (s = window.scrollY) != null ? s : window.pageYOffset, l = null;
688
+ n.addEventListener(r, "click", (t) => {
689
+ if (t.target instanceof HTMLElement) try {
690
+ let e = t.target.closest("a");
691
+ if (!e) return;
692
+ let { hash: f } = new URL(e.href), i = r.querySelector(f);
693
+ i && !a(i) && (l = i);
694
+ } catch {}
695
+ }, !0), n.addEventListener(r, "touchstart", (t) => {
696
+ if (t.target instanceof HTMLElement) if (a(t.target)) {
697
+ let e = t.target;
698
+ for (; e.parentElement && a(e.parentElement);) e = e.parentElement;
699
+ n.style(e, "overscrollBehavior", "contain");
700
+ } else n.style(t.target, "touchAction", "none");
701
+ }), n.addEventListener(r, "touchmove", (t) => {
702
+ if (t.target instanceof HTMLElement) {
703
+ if (t.target.tagName === "INPUT") return;
704
+ if (a(t.target)) {
705
+ let e = t.target;
706
+ for (; e.parentElement && e.dataset.headlessuiPortal !== "" && !(e.scrollHeight > e.clientHeight || e.scrollWidth > e.clientWidth);) e = e.parentElement;
707
+ e.dataset.headlessuiPortal === "" && t.preventDefault();
708
+ } else t.preventDefault();
709
+ }
710
+ }, { passive: !1 }), n.add(() => {
711
+ var e;
712
+ o !== ((e = window.scrollY) != null ? e : window.pageYOffset) && window.scrollTo(0, o), l && l.isConnected && (l.scrollIntoView({ block: "nearest" }), l = null);
713
+ });
714
+ });
715
+ } } : {};
716
+ }
717
+ //#endregion
718
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/prevent-scroll.js
719
+ function l$1() {
720
+ return { before({ doc: e, d: o }) {
721
+ o.style(e.documentElement, "overflow", "hidden");
722
+ } };
723
+ }
724
+ //#endregion
725
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/overflow-store.js
726
+ function m$1(e) {
727
+ let n = {};
728
+ for (let t of e) Object.assign(n, t(n));
729
+ return n;
730
+ }
731
+ var a = a$1(() => /* @__PURE__ */ new Map(), {
732
+ PUSH(e, n) {
733
+ var o;
734
+ let t = (o = this.get(e)) != null ? o : {
735
+ doc: e,
736
+ count: 0,
737
+ d: o$3(),
738
+ meta: /* @__PURE__ */ new Set()
739
+ };
740
+ return t.count++, t.meta.add(n), this.set(e, t), this;
741
+ },
742
+ POP(e, n) {
743
+ let t = this.get(e);
744
+ return t && (t.count--, t.meta.delete(n)), this;
745
+ },
746
+ SCROLL_PREVENT({ doc: e, d: n, meta: t }) {
747
+ let o = {
748
+ doc: e,
749
+ d: n,
750
+ meta: m$1(t)
751
+ }, c$3 = [
752
+ w$1(),
753
+ c(),
754
+ l$1()
755
+ ];
756
+ c$3.forEach(({ before: r }) => r == null ? void 0 : r(o)), c$3.forEach(({ after: r }) => r == null ? void 0 : r(o));
757
+ },
758
+ SCROLL_ALLOW({ d: e }) {
759
+ e.dispose();
760
+ },
761
+ TEARDOWN({ doc: e }) {
762
+ this.delete(e);
763
+ }
764
+ });
765
+ a.subscribe(() => {
766
+ let e = a.getSnapshot(), n = /* @__PURE__ */ new Map();
767
+ for (let [t] of e) n.set(t, t.documentElement.style.overflow);
768
+ for (let t of e.values()) {
769
+ let o = n.get(t.doc) === "hidden", c = t.count !== 0;
770
+ (c && !o || !c && o) && a.dispatch(t.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", t), t.count === 0 && a.dispatch("TEARDOWN", t);
771
+ }
772
+ });
773
+ //#endregion
774
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/document-overflow/use-document-overflow.js
775
+ function d$2(t, a$2, n) {
776
+ let i = m$2(a), l = computed(() => {
777
+ let e = t.value ? i.value.get(t.value) : void 0;
778
+ return e ? e.count > 0 : !1;
779
+ });
780
+ return watch([t, a$2], ([e, m], [r], o) => {
781
+ if (!e || !m) return;
782
+ a.dispatch("PUSH", e, n);
783
+ let f = !1;
784
+ o(() => {
785
+ f || (a.dispatch("POP", r != null ? r : e, n), f = !0);
786
+ });
787
+ }, { immediate: !0 }), l;
788
+ }
789
+ //#endregion
790
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/use-inert.js
791
+ var i = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
792
+ function E(d, f = ref(!0)) {
793
+ watchEffect((o) => {
794
+ var a;
795
+ if (!f.value) return;
796
+ let e = o$1(d);
797
+ if (!e) return;
798
+ o(function() {
799
+ var u;
800
+ if (!e) return;
801
+ let r = (u = t.get(e)) != null ? u : 1;
802
+ if (r === 1 ? t.delete(e) : t.set(e, r - 1), r !== 1) return;
803
+ let n = i.get(e);
804
+ n && (n["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", n["aria-hidden"]), e.inert = n.inert, i.delete(e));
805
+ });
806
+ let l = (a = t.get(e)) != null ? a : 0;
807
+ t.set(e, l + 1), l === 0 && (i.set(e, {
808
+ "aria-hidden": e.getAttribute("aria-hidden"),
809
+ inert: e.inert
810
+ }), e.setAttribute("aria-hidden", "true"), e.inert = !0);
811
+ });
812
+ }
813
+ //#endregion
814
+ //#region ../../node_modules/@headlessui/vue/dist/hooks/use-root-containers.js
815
+ function N$1({ defaultContainers: o = [], portals: i, mainTreeNodeRef: H } = {}) {
816
+ let t = ref(null), r = i$3(t);
817
+ function u() {
818
+ var l, f, a;
819
+ let n = [];
820
+ for (let e of o) e !== null && (e instanceof HTMLElement ? n.push(e) : "value" in e && e.value instanceof HTMLElement && n.push(e.value));
821
+ if (i != null && i.value) for (let e of i.value) n.push(e);
822
+ for (let e of (l = r == null ? void 0 : r.querySelectorAll("html > *, body > *")) != null ? l : []) e !== document.body && e !== document.head && e instanceof HTMLElement && e.id !== "headlessui-portal-root" && (e.contains(o$1(t)) || e.contains((a = (f = o$1(t)) == null ? void 0 : f.getRootNode()) == null ? void 0 : a.host) || n.some((M) => e.contains(M)) || n.push(e));
823
+ return n;
824
+ }
825
+ return {
826
+ resolveContainers: u,
827
+ contains(n) {
828
+ return u().some((l) => l.contains(n));
829
+ },
830
+ mainTreeNodeRef: t,
831
+ MainTreeNode() {
832
+ return H != null ? null : h(f$1, {
833
+ features: u$3.Hidden,
834
+ ref: t
835
+ });
836
+ }
837
+ };
838
+ }
839
+ //#endregion
840
+ //#region ../../node_modules/@headlessui/vue/dist/internal/portal-force-root.js
841
+ var e = Symbol("ForcePortalRootContext");
842
+ function s$1() {
843
+ return inject(e, !1);
844
+ }
845
+ var u$2 = defineComponent({
846
+ name: "ForcePortalRoot",
847
+ props: {
848
+ as: {
849
+ type: [Object, String],
850
+ default: "template"
851
+ },
852
+ force: {
853
+ type: Boolean,
854
+ default: !1
855
+ }
856
+ },
857
+ setup(o, { slots: t, attrs: r }) {
858
+ return provide(e, o.force), () => {
859
+ let { force: f, ...n } = o;
860
+ return A$2({
861
+ theirProps: n,
862
+ ourProps: {},
863
+ slot: {},
864
+ slots: t,
865
+ attrs: r,
866
+ name: "ForcePortalRoot"
867
+ });
868
+ };
869
+ }
870
+ });
871
+ //#endregion
872
+ //#region ../../node_modules/@headlessui/vue/dist/internal/stack-context.js
873
+ var u$1 = Symbol("StackContext");
874
+ var s = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(s || {});
875
+ function y() {
876
+ return inject(u$1, () => {});
877
+ }
878
+ function R$1({ type: o, enabled: r, element: e, onUpdate: i }) {
879
+ let a = y();
880
+ function t(...n) {
881
+ i?.(...n), a(...n);
882
+ }
883
+ onMounted(() => {
884
+ watch(r, (n, d) => {
885
+ n ? t(0, o, e) : d === !0 && t(1, o, e);
886
+ }, {
887
+ immediate: !0,
888
+ flush: "sync"
889
+ });
890
+ }), onUnmounted(() => {
891
+ r.value && t(1, o, e);
892
+ }), provide(u$1, t);
893
+ }
894
+ //#endregion
895
+ //#region ../../node_modules/@headlessui/vue/dist/components/description/description.js
896
+ var u = Symbol("DescriptionContext");
897
+ function w() {
898
+ let t = inject(u, null);
899
+ if (t === null) throw new Error("Missing parent");
900
+ return t;
901
+ }
902
+ function k({ slot: t = ref({}), name: o = "Description", props: s = {} } = {}) {
903
+ let e = ref([]);
904
+ function r(n) {
905
+ return e.value.push(n), () => {
906
+ let i = e.value.indexOf(n);
907
+ i !== -1 && e.value.splice(i, 1);
908
+ };
909
+ }
910
+ return provide(u, {
911
+ register: r,
912
+ slot: t,
913
+ name: o,
914
+ props: s
915
+ }), computed(() => e.value.length > 0 ? e.value.join(" ") : void 0);
916
+ }
917
+ var K = defineComponent({
918
+ name: "Description",
919
+ props: {
920
+ as: {
921
+ type: [Object, String],
922
+ default: "p"
923
+ },
924
+ id: {
925
+ type: String,
926
+ default: null
927
+ }
928
+ },
929
+ setup(t, { attrs: o, slots: s }) {
930
+ var n;
931
+ let e = (n = t.id) != null ? n : `headlessui-description-${i$5()}`, r = w();
932
+ return onMounted(() => onUnmounted(r.register(e))), () => {
933
+ let { name: i = "Description", slot: l = ref({}), props: d = {} } = r, { ...c } = t;
934
+ return A$2({
935
+ ourProps: {
936
+ ...Object.entries(d).reduce((a, [g, m]) => Object.assign(a, { [g]: unref(m) }), {}),
937
+ id: e
938
+ },
939
+ theirProps: c,
940
+ slot: l.value,
941
+ attrs: o,
942
+ slots: s,
943
+ name: i
944
+ });
945
+ };
946
+ }
947
+ });
948
+ //#endregion
949
+ //#region ../../node_modules/@headlessui/vue/dist/components/portal/portal.js
950
+ function x(e) {
951
+ let t = i$3(e);
952
+ if (!t) {
953
+ if (e === null) return null;
954
+ throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`);
955
+ }
956
+ let l = t.getElementById("headlessui-portal-root");
957
+ if (l) return l;
958
+ let r = t.createElement("div");
959
+ return r.setAttribute("id", "headlessui-portal-root"), t.body.appendChild(r);
960
+ }
961
+ var f = /* @__PURE__ */ new WeakMap();
962
+ function U(e) {
963
+ var t;
964
+ return (t = f.get(e)) != null ? t : 0;
965
+ }
966
+ function M(e, t) {
967
+ let l = t(U(e));
968
+ return l <= 0 ? f.delete(e) : f.set(e, l), l;
969
+ }
970
+ var $ = defineComponent({
971
+ name: "Portal",
972
+ props: { as: {
973
+ type: [Object, String],
974
+ default: "div"
975
+ } },
976
+ setup(e, { slots: t, attrs: l }) {
977
+ let r = ref(null), i = computed(() => i$3(r)), o = s$1(), u = inject(H$1, null), n = ref(o === !0 || u == null ? x(r.value) : u.resolveTarget());
978
+ n.value && M(n.value, (a) => a + 1);
979
+ let c = ref(!1);
980
+ onMounted(() => {
981
+ c.value = !0;
982
+ }), watchEffect(() => {
983
+ o || u != null && (n.value = u.resolveTarget());
984
+ });
985
+ let v = inject(d$1, null), g = !1, b = getCurrentInstance();
986
+ return watch(r, () => {
987
+ if (g || !v) return;
988
+ let a = o$1(r);
989
+ a && (onUnmounted(v.register(a), b), g = !0);
990
+ }), onUnmounted(() => {
991
+ var P, T;
992
+ let a = (P = i.value) == null ? void 0 : P.getElementById("headlessui-portal-root");
993
+ !a || n.value !== a || M(n.value, (L) => L - 1) || n.value.children.length > 0 || (T = n.value.parentElement) == null || T.removeChild(n.value);
994
+ }), () => {
995
+ if (!c.value || n.value === null) return null;
996
+ let a = {
997
+ ref: r,
998
+ "data-headlessui-portal": ""
999
+ };
1000
+ return h(Teleport, { to: n.value }, A$2({
1001
+ ourProps: a,
1002
+ theirProps: e,
1003
+ slot: {},
1004
+ attrs: l,
1005
+ slots: t,
1006
+ name: "Portal"
1007
+ }));
1008
+ };
1009
+ }
1010
+ }), d$1 = Symbol("PortalParentContext");
1011
+ function q() {
1012
+ let e = inject(d$1, null), t = ref([]);
1013
+ function l(o) {
1014
+ return t.value.push(o), e && e.register(o), () => r(o);
1015
+ }
1016
+ function r(o) {
1017
+ let u = t.value.indexOf(o);
1018
+ u !== -1 && t.value.splice(u, 1), e && e.unregister(o);
1019
+ }
1020
+ let i = {
1021
+ register: l,
1022
+ unregister: r,
1023
+ portals: t
1024
+ };
1025
+ return [t, defineComponent({
1026
+ name: "PortalWrapper",
1027
+ setup(o, { slots: u }) {
1028
+ return provide(d$1, i), () => {
1029
+ var n;
1030
+ return (n = u.default) == null ? void 0 : n.call(u);
1031
+ };
1032
+ }
1033
+ })];
1034
+ }
1035
+ var H$1 = Symbol("PortalGroupContext"), z = defineComponent({
1036
+ name: "PortalGroup",
1037
+ props: {
1038
+ as: {
1039
+ type: [Object, String],
1040
+ default: "template"
1041
+ },
1042
+ target: {
1043
+ type: Object,
1044
+ default: null
1045
+ }
1046
+ },
1047
+ setup(e, { attrs: t, slots: l }) {
1048
+ return provide(H$1, reactive({ resolveTarget() {
1049
+ return e.target;
1050
+ } })), () => {
1051
+ let { target: i, ...o } = e;
1052
+ return A$2({
1053
+ theirProps: o,
1054
+ ourProps: {},
1055
+ slot: {},
1056
+ attrs: t,
1057
+ slots: l,
1058
+ name: "PortalGroup"
1059
+ });
1060
+ };
1061
+ }
1062
+ });
1063
+ //#endregion
1064
+ //#region ../../node_modules/@headlessui/vue/dist/components/dialog/dialog.js
1065
+ var Te$1 = ((l) => (l[l.Open = 0] = "Open", l[l.Closed = 1] = "Closed", l))(Te$1 || {});
1066
+ var H = Symbol("DialogContext");
1067
+ function T(t) {
1068
+ let i = inject(H, null);
1069
+ if (i === null) {
1070
+ let l = /* @__PURE__ */ new Error(`<${t} /> is missing a parent <Dialog /> component.`);
1071
+ throw Error.captureStackTrace && Error.captureStackTrace(l, T), l;
1072
+ }
1073
+ return i;
1074
+ }
1075
+ var A = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Ye = defineComponent({
1076
+ name: "Dialog",
1077
+ inheritAttrs: !1,
1078
+ props: {
1079
+ as: {
1080
+ type: [Object, String],
1081
+ default: "div"
1082
+ },
1083
+ static: {
1084
+ type: Boolean,
1085
+ default: !1
1086
+ },
1087
+ unmount: {
1088
+ type: Boolean,
1089
+ default: !0
1090
+ },
1091
+ open: {
1092
+ type: [Boolean, String],
1093
+ default: A
1094
+ },
1095
+ initialFocus: {
1096
+ type: Object,
1097
+ default: null
1098
+ },
1099
+ id: {
1100
+ type: String,
1101
+ default: null
1102
+ },
1103
+ role: {
1104
+ type: String,
1105
+ default: "dialog"
1106
+ }
1107
+ },
1108
+ emits: { close: (t) => !0 },
1109
+ setup(t, { emit: i, attrs: l, slots: p, expose: s$4 }) {
1110
+ var q$1, W;
1111
+ let n = (q$1 = t.id) != null ? q$1 : `headlessui-dialog-${i$5()}`, u = ref(!1);
1112
+ onMounted(() => {
1113
+ u.value = !0;
1114
+ });
1115
+ let r = !1, g = computed(() => t.role === "dialog" || t.role === "alertdialog" ? t.role : (r || (r = !0, console.warn(`Invalid role [${g}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), D = ref(0), S = l$2(), R = computed(() => t.open === A && S !== null ? (S.value & i$1.Open) === i$1.Open : t.open), m = ref(null), E$3 = computed(() => i$3(m));
1116
+ if (s$4({
1117
+ el: m,
1118
+ $el: m
1119
+ }), !(t.open !== A || S !== null)) throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
1120
+ if (typeof R.value != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${R.value === A ? void 0 : t.open}`);
1121
+ let c = computed(() => u.value && R.value ? 0 : 1), k$1 = computed(() => c.value === 0), w = computed(() => D.value > 1), N = inject(H, null) !== null, [Q, X] = q(), { resolveContainers: B, mainTreeNodeRef: K, MainTreeNode: Z } = N$1({
1122
+ portals: Q,
1123
+ defaultContainers: [computed(() => {
1124
+ var e;
1125
+ return (e = h$4.panelRef.value) != null ? e : m.value;
1126
+ })]
1127
+ }), ee = computed(() => w.value ? "parent" : "leaf"), U = computed(() => S !== null ? (S.value & i$1.Closing) === i$1.Closing : !1), te = computed(() => N || U.value ? !1 : k$1.value);
1128
+ E(computed(() => {
1129
+ var e, a, d;
1130
+ return (d = Array.from((a = (e = E$3.value) == null ? void 0 : e.querySelectorAll("body > *")) != null ? a : []).find((f) => f.id === "headlessui-portal-root" ? !1 : f.contains(o$1(K)) && f instanceof HTMLElement)) != null ? d : null;
1131
+ }), te);
1132
+ let ae = computed(() => w.value ? !0 : k$1.value);
1133
+ E(computed(() => {
1134
+ var e, a, d;
1135
+ return (d = Array.from((a = (e = E$3.value) == null ? void 0 : e.querySelectorAll("[data-headlessui-portal]")) != null ? a : []).find((f) => f.contains(o$1(K)) && f instanceof HTMLElement)) != null ? d : null;
1136
+ }), ae), R$1({
1137
+ type: "Dialog",
1138
+ enabled: computed(() => c.value === 0),
1139
+ element: m,
1140
+ onUpdate: (e, a) => {
1141
+ if (a === "Dialog") return u$5(e, {
1142
+ [s.Add]: () => D.value += 1,
1143
+ [s.Remove]: () => D.value -= 1
1144
+ });
1145
+ }
1146
+ });
1147
+ let re = k({
1148
+ name: "DialogDescription",
1149
+ slot: computed(() => ({ open: R.value }))
1150
+ }), M = ref(null), h$4 = {
1151
+ titleId: M,
1152
+ panelRef: ref(null),
1153
+ dialogState: c,
1154
+ setTitleId(e) {
1155
+ M.value !== e && (M.value = e);
1156
+ },
1157
+ close() {
1158
+ i("close", !1);
1159
+ }
1160
+ };
1161
+ provide(H, h$4);
1162
+ w$2(B, (e, a) => {
1163
+ e.preventDefault(), h$4.close(), nextTick(() => a == null ? void 0 : a.focus());
1164
+ }, computed(() => !(!k$1.value || w.value)));
1165
+ let ie = computed(() => !(w.value || c.value !== 0));
1166
+ E$1((W = E$3.value) == null ? void 0 : W.defaultView, "keydown", (e) => {
1167
+ ie.value && (e.defaultPrevented || e.key === o.Escape && (e.preventDefault(), e.stopPropagation(), h$4.close()));
1168
+ });
1169
+ return d$2(E$3, computed(() => !(U.value || c.value !== 0 || N)), (e) => {
1170
+ var a;
1171
+ return { containers: [...(a = e.containers) != null ? a : [], B] };
1172
+ }), watchEffect((e) => {
1173
+ if (c.value !== 0) return;
1174
+ let a = o$1(m);
1175
+ if (!a) return;
1176
+ let d = new ResizeObserver((f) => {
1177
+ for (let L of f) {
1178
+ let x = L.target.getBoundingClientRect();
1179
+ x.x === 0 && x.y === 0 && x.width === 0 && x.height === 0 && h$4.close();
1180
+ }
1181
+ });
1182
+ d.observe(a), e(() => d.disconnect());
1183
+ }), () => {
1184
+ let { open: e, initialFocus: a, ...d } = t, f = {
1185
+ ...l,
1186
+ ref: m,
1187
+ id: n,
1188
+ role: g.value,
1189
+ "aria-modal": c.value === 0 ? !0 : void 0,
1190
+ "aria-labelledby": M.value,
1191
+ "aria-describedby": re.value
1192
+ }, L = { open: c.value === 0 };
1193
+ return h(u$2, { force: !0 }, () => [h($, () => h(z, { target: m.value }, () => h(u$2, { force: !1 }, () => h(ue, {
1194
+ initialFocus: a,
1195
+ containers: B,
1196
+ features: k$1.value ? u$5(ee.value, {
1197
+ parent: ue.features.RestoreFocus,
1198
+ leaf: ue.features.All & ~ue.features.FocusLock
1199
+ }) : ue.features.None
1200
+ }, () => h(X, {}, () => A$2({
1201
+ ourProps: f,
1202
+ theirProps: {
1203
+ ...d,
1204
+ ...l
1205
+ },
1206
+ slot: L,
1207
+ attrs: l,
1208
+ slots: p,
1209
+ visible: c.value === 0,
1210
+ features: N$3.RenderStrategy | N$3.Static,
1211
+ name: "Dialog"
1212
+ })))))), h(Z)]);
1213
+ };
1214
+ }
1215
+ });
1216
+ defineComponent({
1217
+ name: "DialogOverlay",
1218
+ props: {
1219
+ as: {
1220
+ type: [Object, String],
1221
+ default: "div"
1222
+ },
1223
+ id: {
1224
+ type: String,
1225
+ default: null
1226
+ }
1227
+ },
1228
+ setup(t, { attrs: i, slots: l }) {
1229
+ var u;
1230
+ let p = (u = t.id) != null ? u : `headlessui-dialog-overlay-${i$5()}`, s = T("DialogOverlay");
1231
+ function n(r) {
1232
+ r.target === r.currentTarget && (r.preventDefault(), r.stopPropagation(), s.close());
1233
+ }
1234
+ return () => {
1235
+ let { ...r } = t;
1236
+ return A$2({
1237
+ ourProps: {
1238
+ id: p,
1239
+ "aria-hidden": !0,
1240
+ onClick: n
1241
+ },
1242
+ theirProps: r,
1243
+ slot: { open: s.dialogState.value === 0 },
1244
+ attrs: i,
1245
+ slots: l,
1246
+ name: "DialogOverlay"
1247
+ });
1248
+ };
1249
+ }
1250
+ });
1251
+ defineComponent({
1252
+ name: "DialogBackdrop",
1253
+ props: {
1254
+ as: {
1255
+ type: [Object, String],
1256
+ default: "div"
1257
+ },
1258
+ id: {
1259
+ type: String,
1260
+ default: null
1261
+ }
1262
+ },
1263
+ inheritAttrs: !1,
1264
+ setup(t, { attrs: i, slots: l, expose: p }) {
1265
+ var r;
1266
+ let s = (r = t.id) != null ? r : `headlessui-dialog-backdrop-${i$5()}`, n = T("DialogBackdrop"), u = ref(null);
1267
+ return p({
1268
+ el: u,
1269
+ $el: u
1270
+ }), onMounted(() => {
1271
+ if (n.panelRef.value === null) throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
1272
+ }), () => {
1273
+ let { ...g } = t, D = {
1274
+ id: s,
1275
+ ref: u,
1276
+ "aria-hidden": !0
1277
+ };
1278
+ return h(u$2, { force: !0 }, () => h($, () => A$2({
1279
+ ourProps: D,
1280
+ theirProps: {
1281
+ ...i,
1282
+ ...g
1283
+ },
1284
+ slot: { open: n.dialogState.value === 0 },
1285
+ attrs: i,
1286
+ slots: l,
1287
+ name: "DialogBackdrop"
1288
+ })));
1289
+ };
1290
+ }
1291
+ });
1292
+ var Ge = defineComponent({
1293
+ name: "DialogPanel",
1294
+ props: {
1295
+ as: {
1296
+ type: [Object, String],
1297
+ default: "div"
1298
+ },
1299
+ id: {
1300
+ type: String,
1301
+ default: null
1302
+ }
1303
+ },
1304
+ setup(t, { attrs: i, slots: l, expose: p }) {
1305
+ var r;
1306
+ let s = (r = t.id) != null ? r : `headlessui-dialog-panel-${i$5()}`, n = T("DialogPanel");
1307
+ p({
1308
+ el: n.panelRef,
1309
+ $el: n.panelRef
1310
+ });
1311
+ function u(g) {
1312
+ g.stopPropagation();
1313
+ }
1314
+ return () => {
1315
+ let { ...g } = t;
1316
+ return A$2({
1317
+ ourProps: {
1318
+ id: s,
1319
+ ref: n.panelRef,
1320
+ onClick: u
1321
+ },
1322
+ theirProps: g,
1323
+ slot: { open: n.dialogState.value === 0 },
1324
+ attrs: i,
1325
+ slots: l,
1326
+ name: "DialogPanel"
1327
+ });
1328
+ };
1329
+ }
1330
+ }), Ve = defineComponent({
1331
+ name: "DialogTitle",
1332
+ props: {
1333
+ as: {
1334
+ type: [Object, String],
1335
+ default: "h2"
1336
+ },
1337
+ id: {
1338
+ type: String,
1339
+ default: null
1340
+ }
1341
+ },
1342
+ setup(t, { attrs: i, slots: l }) {
1343
+ var n;
1344
+ let p = (n = t.id) != null ? n : `headlessui-dialog-title-${i$5()}`, s = T("DialogTitle");
1345
+ return onMounted(() => {
1346
+ s.setTitleId(p), onUnmounted(() => s.setTitleId(null));
1347
+ }), () => {
1348
+ let { ...u } = t;
1349
+ return A$2({
1350
+ ourProps: { id: p },
1351
+ theirProps: u,
1352
+ slot: { open: s.dialogState.value === 0 },
1353
+ attrs: i,
1354
+ slots: l,
1355
+ name: "DialogTitle"
1356
+ });
1357
+ };
1358
+ }
1359
+ }), Je = K;
1360
+ //#endregion
1361
+ //#region ../../node_modules/@headlessui/vue/dist/utils/once.js
1362
+ function l(r) {
1363
+ let e = { called: !1 };
1364
+ return (...t) => {
1365
+ if (!e.called) return e.called = !0, r(...t);
1366
+ };
1367
+ }
1368
+ //#endregion
1369
+ //#region ../../node_modules/@headlessui/vue/dist/components/transitions/utils/transition.js
1370
+ function m(e, ...t) {
1371
+ e && t.length > 0 && e.classList.add(...t);
1372
+ }
1373
+ function d(e, ...t) {
1374
+ e && t.length > 0 && e.classList.remove(...t);
1375
+ }
1376
+ var g$1 = ((i) => (i.Finished = "finished", i.Cancelled = "cancelled", i))(g$1 || {});
1377
+ function F(e, t) {
1378
+ let i = o$3();
1379
+ if (!e) return i.dispose;
1380
+ let { transitionDuration: n, transitionDelay: a } = getComputedStyle(e), [l, s] = [n, a].map((o) => {
1381
+ let [u = 0] = o.split(",").filter(Boolean).map((r) => r.includes("ms") ? parseFloat(r) : parseFloat(r) * 1e3).sort((r, c) => c - r);
1382
+ return u;
1383
+ });
1384
+ return l !== 0 ? i.setTimeout(() => t("finished"), l + s) : t("finished"), i.add(() => t("cancelled")), i.dispose;
1385
+ }
1386
+ function L$1(e, t, i, n, a, l$3) {
1387
+ let s = o$3(), o = l$3 !== void 0 ? l(l$3) : () => {};
1388
+ return d(e, ...a), m(e, ...t, ...i), s.nextFrame(() => {
1389
+ d(e, ...i), m(e, ...n), s.add(F(e, (u) => (d(e, ...n, ...t), m(e, ...a), o(u))));
1390
+ }), s.add(() => d(e, ...t, ...i, ...n, ...a)), s.add(() => o("cancelled")), s.dispose;
1391
+ }
1392
+ //#endregion
1393
+ //#region ../../node_modules/@headlessui/vue/dist/components/transitions/transition.js
1394
+ function g(e = "") {
1395
+ return e.split(/\s+/).filter((t) => t.length > 1);
1396
+ }
1397
+ var R = Symbol("TransitionContext");
1398
+ var pe = ((a) => (a.Visible = "visible", a.Hidden = "hidden", a))(pe || {});
1399
+ function me() {
1400
+ return inject(R, null) !== null;
1401
+ }
1402
+ function Te() {
1403
+ let e = inject(R, null);
1404
+ if (e === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
1405
+ return e;
1406
+ }
1407
+ function ge() {
1408
+ let e = inject(N, null);
1409
+ if (e === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
1410
+ return e;
1411
+ }
1412
+ var N = Symbol("NestingContext");
1413
+ function L(e) {
1414
+ return "children" in e ? L(e.children) : e.value.filter(({ state: t }) => t === "visible").length > 0;
1415
+ }
1416
+ function Q(e) {
1417
+ let t = ref([]), a = ref(!1);
1418
+ onMounted(() => a.value = !0), onUnmounted(() => a.value = !1);
1419
+ function s(n, r = S.Hidden) {
1420
+ let l = t.value.findIndex(({ id: f }) => f === n);
1421
+ l !== -1 && (u$5(r, {
1422
+ [S.Unmount]() {
1423
+ t.value.splice(l, 1);
1424
+ },
1425
+ [S.Hidden]() {
1426
+ t.value[l].state = "hidden";
1427
+ }
1428
+ }), !L(t) && a.value && e?.());
1429
+ }
1430
+ function h(n) {
1431
+ let r = t.value.find(({ id: l }) => l === n);
1432
+ return r ? r.state !== "visible" && (r.state = "visible") : t.value.push({
1433
+ id: n,
1434
+ state: "visible"
1435
+ }), () => s(n, S.Unmount);
1436
+ }
1437
+ return {
1438
+ children: t,
1439
+ register: h,
1440
+ unregister: s
1441
+ };
1442
+ }
1443
+ var W = N$3.RenderStrategy, he = defineComponent({
1444
+ props: {
1445
+ as: {
1446
+ type: [Object, String],
1447
+ default: "div"
1448
+ },
1449
+ show: {
1450
+ type: [Boolean],
1451
+ default: null
1452
+ },
1453
+ unmount: {
1454
+ type: [Boolean],
1455
+ default: !0
1456
+ },
1457
+ appear: {
1458
+ type: [Boolean],
1459
+ default: !1
1460
+ },
1461
+ enter: {
1462
+ type: [String],
1463
+ default: ""
1464
+ },
1465
+ enterFrom: {
1466
+ type: [String],
1467
+ default: ""
1468
+ },
1469
+ enterTo: {
1470
+ type: [String],
1471
+ default: ""
1472
+ },
1473
+ entered: {
1474
+ type: [String],
1475
+ default: ""
1476
+ },
1477
+ leave: {
1478
+ type: [String],
1479
+ default: ""
1480
+ },
1481
+ leaveFrom: {
1482
+ type: [String],
1483
+ default: ""
1484
+ },
1485
+ leaveTo: {
1486
+ type: [String],
1487
+ default: ""
1488
+ }
1489
+ },
1490
+ emits: {
1491
+ beforeEnter: () => !0,
1492
+ afterEnter: () => !0,
1493
+ beforeLeave: () => !0,
1494
+ afterLeave: () => !0
1495
+ },
1496
+ setup(e, { emit: t, attrs: a, slots: s, expose: h$2 }) {
1497
+ let n = ref(0);
1498
+ function r() {
1499
+ n.value |= i$1.Opening, t("beforeEnter");
1500
+ }
1501
+ function l() {
1502
+ n.value &= ~i$1.Opening, t("afterEnter");
1503
+ }
1504
+ function f() {
1505
+ n.value |= i$1.Closing, t("beforeLeave");
1506
+ }
1507
+ function S$2() {
1508
+ n.value &= ~i$1.Closing, t("afterLeave");
1509
+ }
1510
+ if (!me() && s$2()) return () => h(Se, {
1511
+ ...e,
1512
+ onBeforeEnter: r,
1513
+ onAfterEnter: l,
1514
+ onBeforeLeave: f,
1515
+ onAfterLeave: S$2
1516
+ }, s);
1517
+ let d = ref(null), y = computed(() => e.unmount ? S.Unmount : S.Hidden);
1518
+ h$2({
1519
+ el: d,
1520
+ $el: d
1521
+ });
1522
+ let { show: v, appear: A } = Te(), { register: D, unregister: H } = ge(), i = ref(v.value ? "visible" : "hidden"), I = { value: !0 }, c = i$5(), b = { value: !1 }, P = Q(() => {
1523
+ !b.value && i.value !== "hidden" && (i.value = "hidden", H(c), S$2());
1524
+ });
1525
+ onMounted(() => {
1526
+ onUnmounted(D(c));
1527
+ }), watchEffect(() => {
1528
+ if (y.value === S.Hidden && c) {
1529
+ if (v.value && i.value !== "visible") {
1530
+ i.value = "visible";
1531
+ return;
1532
+ }
1533
+ u$5(i.value, {
1534
+ ["hidden"]: () => H(c),
1535
+ ["visible"]: () => D(c)
1536
+ });
1537
+ }
1538
+ });
1539
+ let j = g(e.enter), M = g(e.enterFrom), X = g(e.enterTo), _ = g(e.entered), Y = g(e.leave), Z = g(e.leaveFrom), ee = g(e.leaveTo);
1540
+ onMounted(() => {
1541
+ watchEffect(() => {
1542
+ if (i.value === "visible") {
1543
+ let o = o$1(d);
1544
+ if (o instanceof Comment && o.data === "") throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
1545
+ }
1546
+ });
1547
+ });
1548
+ function te(o) {
1549
+ let E = I.value && !A.value, p = o$1(d);
1550
+ !p || !(p instanceof HTMLElement) || E || (b.value = !0, v.value && r(), v.value || f(), o(v.value ? L$1(p, j, M, X, _, (V) => {
1551
+ b.value = !1, V === g$1.Finished && l();
1552
+ }) : L$1(p, Y, Z, ee, _, (V) => {
1553
+ b.value = !1, V === g$1.Finished && (L(P) || (i.value = "hidden", H(c), S$2()));
1554
+ })));
1555
+ }
1556
+ return onMounted(() => {
1557
+ watch([v], (o, E, p) => {
1558
+ te(p), I.value = !1;
1559
+ }, { immediate: !0 });
1560
+ }), provide(N, P), t$3(computed(() => u$5(i.value, {
1561
+ ["visible"]: i$1.Open,
1562
+ ["hidden"]: i$1.Closed
1563
+ }) | n.value)), () => {
1564
+ let { appear: o, show: E, enter: p, enterFrom: V, enterTo: Ce, entered: ye, leave: be, leaveFrom: Ee, leaveTo: Ve, ...U } = e, ne = { ref: d };
1565
+ return A$2({
1566
+ theirProps: {
1567
+ ...U,
1568
+ ...A.value && v.value && c$2.isServer ? { class: normalizeClass([
1569
+ a.class,
1570
+ U.class,
1571
+ ...j,
1572
+ ...M
1573
+ ]) } : {}
1574
+ },
1575
+ ourProps: ne,
1576
+ slot: {},
1577
+ slots: s,
1578
+ attrs: a,
1579
+ features: W,
1580
+ visible: i.value === "visible",
1581
+ name: "TransitionChild"
1582
+ });
1583
+ };
1584
+ }
1585
+ }), ce = he, Se = defineComponent({
1586
+ inheritAttrs: !1,
1587
+ props: {
1588
+ as: {
1589
+ type: [Object, String],
1590
+ default: "div"
1591
+ },
1592
+ show: {
1593
+ type: [Boolean],
1594
+ default: null
1595
+ },
1596
+ unmount: {
1597
+ type: [Boolean],
1598
+ default: !0
1599
+ },
1600
+ appear: {
1601
+ type: [Boolean],
1602
+ default: !1
1603
+ },
1604
+ enter: {
1605
+ type: [String],
1606
+ default: ""
1607
+ },
1608
+ enterFrom: {
1609
+ type: [String],
1610
+ default: ""
1611
+ },
1612
+ enterTo: {
1613
+ type: [String],
1614
+ default: ""
1615
+ },
1616
+ entered: {
1617
+ type: [String],
1618
+ default: ""
1619
+ },
1620
+ leave: {
1621
+ type: [String],
1622
+ default: ""
1623
+ },
1624
+ leaveFrom: {
1625
+ type: [String],
1626
+ default: ""
1627
+ },
1628
+ leaveTo: {
1629
+ type: [String],
1630
+ default: ""
1631
+ }
1632
+ },
1633
+ emits: {
1634
+ beforeEnter: () => !0,
1635
+ afterEnter: () => !0,
1636
+ beforeLeave: () => !0,
1637
+ afterLeave: () => !0
1638
+ },
1639
+ setup(e, { emit: t, attrs: a, slots: s }) {
1640
+ let h$3 = l$2(), n = computed(() => e.show === null && h$3 !== null ? (h$3.value & i$1.Open) === i$1.Open : e.show);
1641
+ watchEffect(() => {
1642
+ if (![!0, !1].includes(n.value)) throw new Error("A <Transition /> is used but it is missing a `:show=\"true | false\"` prop.");
1643
+ });
1644
+ let r = ref(n.value ? "visible" : "hidden"), l = Q(() => {
1645
+ r.value = "hidden";
1646
+ }), f = ref(!0), S = {
1647
+ show: n,
1648
+ appear: computed(() => e.appear || !f.value)
1649
+ };
1650
+ return onMounted(() => {
1651
+ watchEffect(() => {
1652
+ f.value = !1, n.value ? r.value = "visible" : L(l) || (r.value = "hidden");
1653
+ });
1654
+ }), provide(N, l), provide(R, S), () => {
1655
+ let d = T$1(e, [
1656
+ "show",
1657
+ "appear",
1658
+ "unmount",
1659
+ "onBeforeEnter",
1660
+ "onBeforeLeave",
1661
+ "onAfterEnter",
1662
+ "onAfterLeave"
1663
+ ]), y = { unmount: e.unmount };
1664
+ return A$2({
1665
+ ourProps: {
1666
+ ...y,
1667
+ as: "template"
1668
+ },
1669
+ theirProps: {},
1670
+ slot: {},
1671
+ slots: {
1672
+ ...s,
1673
+ default: () => [h(ce, {
1674
+ onBeforeEnter: () => t("beforeEnter"),
1675
+ onAfterEnter: () => t("afterEnter"),
1676
+ onBeforeLeave: () => t("beforeLeave"),
1677
+ onAfterLeave: () => t("afterLeave"),
1678
+ ...a,
1679
+ ...y,
1680
+ ...d
1681
+ }, s.default)]
1682
+ },
1683
+ attrs: {},
1684
+ features: W,
1685
+ visible: r.value === "visible",
1686
+ name: "Transition"
1687
+ });
1688
+ };
1689
+ }
1690
+ });
1691
+ //#endregion
1692
+ export { Ve as a, Je as i, he as n, Ye as o, Ge as r, Se as t };
1693
+
1694
+ //# sourceMappingURL=transition-mJ3PZCHH.js.map