uomtiles 0.1.0

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 (507) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/1d1PDhA4.js +1 -0
  3. package/.output/public/_nuxt/3B2XYGg4.js +1 -0
  4. package/.output/public/_nuxt/981KwFWf.js +1 -0
  5. package/.output/public/_nuxt/B30dSvM4.js +1 -0
  6. package/.output/public/_nuxt/BN1Gp4Dm.js +1 -0
  7. package/.output/public/_nuxt/BQlj8Xoe.js +6 -0
  8. package/.output/public/_nuxt/BRkljK8J.js +1 -0
  9. package/.output/public/_nuxt/BSdHYVlE2.js +1 -0
  10. package/.output/public/_nuxt/B_MqTg2k2.js +1 -0
  11. package/.output/public/_nuxt/BiWblTbb2.js +64 -0
  12. package/.output/public/_nuxt/BrPwntMr.js +1 -0
  13. package/.output/public/_nuxt/BskybydR.js +1 -0
  14. package/.output/public/_nuxt/ByRlKR9F.js +1 -0
  15. package/.output/public/_nuxt/C0Zdl2EE2.js +1 -0
  16. package/.output/public/_nuxt/C4qlzA4o.js +1 -0
  17. package/.output/public/_nuxt/C7HxHbxA.js +1 -0
  18. package/.output/public/_nuxt/C97TfNgP.js +3 -0
  19. package/.output/public/_nuxt/CNs_Ozdc.js +1 -0
  20. package/.output/public/_nuxt/CPuhwLY1.js +1 -0
  21. package/.output/public/_nuxt/CVE291Pi.js +1 -0
  22. package/.output/public/_nuxt/C_0VY3Cv2.js +4 -0
  23. package/.output/public/_nuxt/Ce26t8_Y.js +1 -0
  24. package/.output/public/_nuxt/CfW544W5.js +1 -0
  25. package/.output/public/_nuxt/CgMd2Y5s.js +2 -0
  26. package/.output/public/_nuxt/CgdzV712.js +1 -0
  27. package/.output/public/_nuxt/D1wVNWS0.js +1 -0
  28. package/.output/public/_nuxt/DC3bhq63.js +1 -0
  29. package/.output/public/_nuxt/DK3Fl9T5.js +1 -0
  30. package/.output/public/_nuxt/DL1MZZLI.js +1 -0
  31. package/.output/public/_nuxt/DXm-42Fi.js +1 -0
  32. package/.output/public/_nuxt/Djg3Kzfv.js +1 -0
  33. package/.output/public/_nuxt/DkcySee1.js +1 -0
  34. package/.output/public/_nuxt/DmN-PKW1.js +1 -0
  35. package/.output/public/_nuxt/DtFVCXI9.js +1 -0
  36. package/.output/public/_nuxt/Dz7VMlHR.js +1 -0
  37. package/.output/public/_nuxt/NL65vbjG2.js +1 -0
  38. package/.output/public/_nuxt/Oxy7pKSk.js +3 -0
  39. package/.output/public/_nuxt/Pik8or8N2.js +1 -0
  40. package/.output/public/_nuxt/XZ59tThl.js +1 -0
  41. package/.output/public/_nuxt/ZpWjFsgV.js +1 -0
  42. package/.output/public/_nuxt/builds/latest.json +1 -0
  43. package/.output/public/_nuxt/builds/meta/9f85104e-738d-4a74-8daa-40b136ce17d5.json +1 -0
  44. package/.output/public/_nuxt/dXz6dFgW2.js +1 -0
  45. package/.output/public/_nuxt/entry.P6tFNE31.css +1 -0
  46. package/.output/public/_nuxt/error-404.Biv0P6cJ.css +1 -0
  47. package/.output/public/_nuxt/error-500.8ok468rV.css +1 -0
  48. package/.output/public/_nuxt/j0MRD-c3.js +1 -0
  49. package/.output/public/_nuxt/local-pixel-diff.worker-C6RdZoCq.js +2 -0
  50. package/.output/public/_nuxt/maplibre-gl-worker.nfnkSQvL.mjs +6 -0
  51. package/.output/public/_nuxt/nearest-area.worker-iSLH0Y_s.js +2 -0
  52. package/.output/public/_nuxt/q7DkoVkj.js +828 -0
  53. package/.output/public/_nuxt/raster-tile.worker-BFlOgJig.js +2 -0
  54. package/.output/public/_nuxt/services._3nQizF8.css +1 -0
  55. package/.output/public/_nuxt/sql-wasm.DfANybxk.wasm +0 -0
  56. package/.output/public/_nuxt/tile-diff.worker-CvWWI_eu.js +1 -0
  57. package/.output/public/_nuxt/zZ1EGR7Y.js +1 -0
  58. package/.output/public/apple-touch-icon.png +0 -0
  59. package/.output/public/favicon.ico +0 -0
  60. package/.output/public/favicon.svg +8 -0
  61. package/.output/public/icon-192.png +0 -0
  62. package/.output/public/icon-512.png +0 -0
  63. package/.output/public/site.webmanifest +11 -0
  64. package/.output/server/chunks/_/config.mjs +208 -0
  65. package/.output/server/chunks/_/config.mjs.map +1 -0
  66. package/.output/server/chunks/_/data-directory.mjs +24 -0
  67. package/.output/server/chunks/_/data-directory.mjs.map +1 -0
  68. package/.output/server/chunks/_/error-500.mjs +20 -0
  69. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  70. package/.output/server/chunks/_/file-workspace.mjs +910 -0
  71. package/.output/server/chunks/_/file-workspace.mjs.map +1 -0
  72. package/.output/server/chunks/_/icons.mjs +6269 -0
  73. package/.output/server/chunks/_/icons.mjs.map +1 -0
  74. package/.output/server/chunks/_/map-service.mjs +233 -0
  75. package/.output/server/chunks/_/map-service.mjs.map +1 -0
  76. package/.output/server/chunks/_/missing-tile.mjs +104 -0
  77. package/.output/server/chunks/_/missing-tile.mjs.map +1 -0
  78. package/.output/server/chunks/_/pixel-diff.mjs +78 -0
  79. package/.output/server/chunks/_/pixel-diff.mjs.map +1 -0
  80. package/.output/server/chunks/_/uom-auth.mjs +334 -0
  81. package/.output/server/chunks/_/uom-auth.mjs.map +1 -0
  82. package/.output/server/chunks/_/uom-map.mjs +265 -0
  83. package/.output/server/chunks/_/uom-map.mjs.map +1 -0
  84. package/.output/server/chunks/build/Alert-0ngTJXxP.mjs +5076 -0
  85. package/.output/server/chunks/build/Alert-0ngTJXxP.mjs.map +1 -0
  86. package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs +569 -0
  87. package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs.map +1 -0
  88. package/.output/server/chunks/build/Empty-CkW3mADt.mjs +359 -0
  89. package/.output/server/chunks/build/Empty-CkW3mADt.mjs.map +1 -0
  90. package/.output/server/chunks/build/FocusScope-Cf0lg0zt.mjs +207 -0
  91. package/.output/server/chunks/build/FocusScope-Cf0lg0zt.mjs.map +1 -0
  92. package/.output/server/chunks/build/FormField-CEUZHcv7.mjs +278 -0
  93. package/.output/server/chunks/build/FormField-CEUZHcv7.mjs.map +1 -0
  94. package/.output/server/chunks/build/Input-BeNavYXb.mjs +592 -0
  95. package/.output/server/chunks/build/Input-BeNavYXb.mjs.map +1 -0
  96. package/.output/server/chunks/build/MapBaseLayerTabs-4445J6yh.mjs +2003 -0
  97. package/.output/server/chunks/build/MapBaseLayerTabs-4445J6yh.mjs.map +1 -0
  98. package/.output/server/chunks/build/Modal-DNZtVxca.mjs +1326 -0
  99. package/.output/server/chunks/build/Modal-DNZtVxca.mjs.map +1 -0
  100. package/.output/server/chunks/build/OnlineMap-CKwiuqUY.mjs +146 -0
  101. package/.output/server/chunks/build/OnlineMap-CKwiuqUY.mjs.map +1 -0
  102. package/.output/server/chunks/build/Pagination-CDHx4HTZ.mjs +1025 -0
  103. package/.output/server/chunks/build/Pagination-CDHx4HTZ.mjs.map +1 -0
  104. package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs +2066 -0
  105. package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs.map +1 -0
  106. package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs +379 -0
  107. package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs.map +1 -0
  108. package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs +1087 -0
  109. package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs.map +1 -0
  110. package/.output/server/chunks/build/Tooltip-CkpSktvJ.mjs +1345 -0
  111. package/.output/server/chunks/build/Tooltip-CkpSktvJ.mjs.map +1 -0
  112. package/.output/server/chunks/build/_virtual_public-CeOptKUP.mjs +7 -0
  113. package/.output/server/chunks/build/_virtual_public-CeOptKUP.mjs.map +1 -0
  114. package/.output/server/chunks/build/advanced-D1onodoF.mjs +1430 -0
  115. package/.output/server/chunks/build/advanced-D1onodoF.mjs.map +1 -0
  116. package/.output/server/chunks/build/compare-DmSAW8oA.mjs +1093 -0
  117. package/.output/server/chunks/build/compare-DmSAW8oA.mjs.map +1 -0
  118. package/.output/server/chunks/build/dashboard-BJxrZ19n.mjs +3217 -0
  119. package/.output/server/chunks/build/dashboard-BJxrZ19n.mjs.map +1 -0
  120. package/.output/server/chunks/build/details-CBMqXYyo.mjs +3714 -0
  121. package/.output/server/chunks/build/details-CBMqXYyo.mjs.map +1 -0
  122. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +86 -0
  123. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs.map +1 -0
  124. package/.output/server/chunks/build/error-404-styles.DciiguV6.mjs +9 -0
  125. package/.output/server/chunks/build/error-404-styles.DciiguV6.mjs.map +1 -0
  126. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +74 -0
  127. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs.map +1 -0
  128. package/.output/server/chunks/build/error-500-styles.C562DYMR.mjs +9 -0
  129. package/.output/server/chunks/build/error-500-styles.C562DYMR.mjs.map +1 -0
  130. package/.output/server/chunks/build/esm-Dp2lJXbp.mjs +1121 -0
  131. package/.output/server/chunks/build/esm-Dp2lJXbp.mjs.map +1 -0
  132. package/.output/server/chunks/build/interval-BxUMpo78.mjs +411 -0
  133. package/.output/server/chunks/build/interval-BxUMpo78.mjs.map +1 -0
  134. package/.output/server/chunks/build/login-lbtjN0MV.mjs +642 -0
  135. package/.output/server/chunks/build/login-lbtjN0MV.mjs.map +1 -0
  136. package/.output/server/chunks/build/pages-Ba0Eixbd.mjs +220 -0
  137. package/.output/server/chunks/build/pages-Ba0Eixbd.mjs.map +1 -0
  138. package/.output/server/chunks/build/services-DuJwjAB8.mjs +3005 -0
  139. package/.output/server/chunks/build/services-DuJwjAB8.mjs.map +1 -0
  140. package/.output/server/chunks/build/services-styles.eoO16BY9.mjs +9 -0
  141. package/.output/server/chunks/build/services-styles.eoO16BY9.mjs.map +1 -0
  142. package/.output/server/chunks/build/tasks-CyN9x492.mjs +915 -0
  143. package/.output/server/chunks/build/tasks-CyN9x492.mjs.map +1 -0
  144. package/.output/server/chunks/build/tasks-D_Q5EDnn.mjs +87 -0
  145. package/.output/server/chunks/build/tasks-D_Q5EDnn.mjs.map +1 -0
  146. package/.output/server/chunks/nitro/nitro.mjs +6215 -0
  147. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  148. package/.output/server/chunks/routes/api/auth/captcha.post.mjs +21 -0
  149. package/.output/server/chunks/routes/api/auth/captcha.post.mjs.map +1 -0
  150. package/.output/server/chunks/routes/api/auth/login.post.mjs +27 -0
  151. package/.output/server/chunks/routes/api/auth/login.post.mjs.map +1 -0
  152. package/.output/server/chunks/routes/api/auth/logout.post.mjs +22 -0
  153. package/.output/server/chunks/routes/api/auth/logout.post.mjs.map +1 -0
  154. package/.output/server/chunks/routes/api/auth/map-token.post.mjs +22 -0
  155. package/.output/server/chunks/routes/api/auth/map-token.post.mjs.map +1 -0
  156. package/.output/server/chunks/routes/api/auth/send-sms.post.mjs +31 -0
  157. package/.output/server/chunks/routes/api/auth/send-sms.post.mjs.map +1 -0
  158. package/.output/server/chunks/routes/api/auth/status.get.mjs +21 -0
  159. package/.output/server/chunks/routes/api/auth/status.get.mjs.map +1 -0
  160. package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs +44 -0
  161. package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs.map +1 -0
  162. package/.output/server/chunks/routes/api/map/live/status.get.mjs +32 -0
  163. package/.output/server/chunks/routes/api/map/live/status.get.mjs.map +1 -0
  164. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +48 -0
  165. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs.map +1 -0
  166. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +46 -0
  167. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs.map +1 -0
  168. package/.output/server/chunks/routes/api/map-service/config.post.mjs +38 -0
  169. package/.output/server/chunks/routes/api/map-service/config.post.mjs.map +1 -0
  170. package/.output/server/chunks/routes/api/map-service/file.post.mjs +41 -0
  171. package/.output/server/chunks/routes/api/map-service/file.post.mjs.map +1 -0
  172. package/.output/server/chunks/routes/api/map-service/source.post.mjs +35 -0
  173. package/.output/server/chunks/routes/api/map-service/source.post.mjs.map +1 -0
  174. package/.output/server/chunks/routes/api/map-service/status.get.mjs +32 -0
  175. package/.output/server/chunks/routes/api/map-service/status.get.mjs.map +1 -0
  176. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +47 -0
  177. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs.map +1 -0
  178. package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +38 -0
  179. package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs.map +1 -0
  180. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +42 -0
  181. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs.map +1 -0
  182. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +48 -0
  183. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs.map +1 -0
  184. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +45 -0
  185. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs.map +1 -0
  186. package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +32 -0
  187. package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs.map +1 -0
  188. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +38 -0
  189. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs.map +1 -0
  190. package/.output/server/chunks/routes/api/workspace/compare.post.mjs +33 -0
  191. package/.output/server/chunks/routes/api/workspace/compare.post.mjs.map +1 -0
  192. package/.output/server/chunks/routes/api/workspace/fetch.post.mjs +33 -0
  193. package/.output/server/chunks/routes/api/workspace/fetch.post.mjs.map +1 -0
  194. package/.output/server/chunks/routes/api/workspace/files.get.mjs +27 -0
  195. package/.output/server/chunks/routes/api/workspace/files.get.mjs.map +1 -0
  196. package/.output/server/chunks/routes/api/workspace/files.post.mjs +38 -0
  197. package/.output/server/chunks/routes/api/workspace/files.post.mjs.map +1 -0
  198. package/.output/server/chunks/routes/api/workspace/stop.post.mjs +32 -0
  199. package/.output/server/chunks/routes/api/workspace/stop.post.mjs.map +1 -0
  200. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +36 -0
  201. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs.map +1 -0
  202. package/.output/server/chunks/routes/renderer.mjs +422 -0
  203. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  204. package/.output/server/chunks/routes/services/wms.get.mjs +54 -0
  205. package/.output/server/chunks/routes/services/wms.get.mjs.map +1 -0
  206. package/.output/server/chunks/routes/services/wmts.get.mjs +54 -0
  207. package/.output/server/chunks/routes/services/wmts.get.mjs.map +1 -0
  208. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  209. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  210. package/.output/server/chunks/virtual/entry.mjs +18545 -0
  211. package/.output/server/chunks/virtual/entry.mjs.map +1 -0
  212. package/.output/server/chunks/virtual/precomputed.mjs +4 -0
  213. package/.output/server/chunks/virtual/precomputed.mjs.map +1 -0
  214. package/.output/server/chunks/virtual/styles.mjs +10 -0
  215. package/.output/server/chunks/virtual/styles.mjs.map +1 -0
  216. package/.output/server/index.mjs +12 -0
  217. package/.output/server/index.mjs.map +1 -0
  218. package/.output/server/node_modules/@babel/parser/lib/index.js +14611 -0
  219. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  220. package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +295 -0
  221. package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +701 -0
  222. package/.output/server/node_modules/@iconify/utils/lib/css/common.js +75 -0
  223. package/.output/server/node_modules/@iconify/utils/lib/css/format.js +39 -0
  224. package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +47 -0
  225. package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +128 -0
  226. package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +19 -0
  227. package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +13 -0
  228. package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +17 -0
  229. package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +16 -0
  230. package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +30 -0
  231. package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +78 -0
  232. package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +100 -0
  233. package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +28 -0
  234. package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +58 -0
  235. package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +48 -0
  236. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +203 -0
  237. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +33 -0
  238. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +132 -0
  239. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +165 -0
  240. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +79 -0
  241. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +92 -0
  242. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +26 -0
  243. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +76 -0
  244. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +66 -0
  245. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +45 -0
  246. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +103 -0
  247. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +36 -0
  248. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +92 -0
  249. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +62 -0
  250. package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +25 -0
  251. package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +16 -0
  252. package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +57 -0
  253. package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +33 -0
  254. package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +12 -0
  255. package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +125 -0
  256. package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +19 -0
  257. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +25 -0
  258. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +36 -0
  259. package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +91 -0
  260. package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +46 -0
  261. package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +23 -0
  262. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +42 -0
  263. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +123 -0
  264. package/.output/server/node_modules/@iconify/utils/lib/index.js +52 -0
  265. package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +30 -0
  266. package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +26 -0
  267. package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +27 -0
  268. package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +105 -0
  269. package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +26 -0
  270. package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +26 -0
  271. package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +9 -0
  272. package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +113 -0
  273. package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +31 -0
  274. package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +13 -0
  275. package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +9 -0
  276. package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +41 -0
  277. package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +22 -0
  278. package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +67 -0
  279. package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +54 -0
  280. package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +27 -0
  281. package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +7 -0
  282. package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +22 -0
  283. package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +8 -0
  284. package/.output/server/node_modules/@iconify/utils/package.json +119 -0
  285. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6801 -0
  286. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  287. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +692 -0
  288. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  289. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1420 -0
  290. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  291. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1903 -0
  292. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  293. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6976 -0
  294. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  295. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1841 -0
  296. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  297. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +904 -0
  298. package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
  299. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +609 -0
  300. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  301. package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
  302. package/.output/server/node_modules/consola/dist/core.mjs +512 -0
  303. package/.output/server/node_modules/consola/dist/index.mjs +651 -0
  304. package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
  305. package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
  306. package/.output/server/node_modules/consola/package.json +136 -0
  307. package/.output/server/node_modules/devalue/index.js +17 -0
  308. package/.output/server/node_modules/devalue/package.json +39 -0
  309. package/.output/server/node_modules/devalue/src/base64.js +60 -0
  310. package/.output/server/node_modules/devalue/src/constants.js +12 -0
  311. package/.output/server/node_modules/devalue/src/operations.js +193 -0
  312. package/.output/server/node_modules/devalue/src/parse.js +270 -0
  313. package/.output/server/node_modules/devalue/src/stringify.js +428 -0
  314. package/.output/server/node_modules/devalue/src/uneval.js +582 -0
  315. package/.output/server/node_modules/devalue/src/utils.js +185 -0
  316. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  317. package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
  318. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  319. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  320. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  321. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  322. package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
  323. package/.output/server/node_modules/entities/package.json +120 -0
  324. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  325. package/.output/server/node_modules/estree-walker/package.json +37 -0
  326. package/.output/server/node_modules/fflate/esm/index.mjs +2710 -0
  327. package/.output/server/node_modules/fflate/package.json +128 -0
  328. package/.output/server/node_modules/fnv1a-64/dist/index.mjs +95 -0
  329. package/.output/server/node_modules/fnv1a-64/package.json +75 -0
  330. package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
  331. package/.output/server/node_modules/hookable/package.json +53 -0
  332. package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +19 -0
  333. package/.output/server/node_modules/nostics/dist/index.mjs +187 -0
  334. package/.output/server/node_modules/nostics/package.json +125 -0
  335. package/.output/server/node_modules/object-identity/index.js +60 -0
  336. package/.output/server/node_modules/object-identity/package.json +40 -0
  337. package/.output/server/node_modules/p-limit/index.js +104 -0
  338. package/.output/server/node_modules/p-limit/package.json +58 -0
  339. package/.output/server/node_modules/pmtiles/dist/esm/index.js +2 -0
  340. package/.output/server/node_modules/pmtiles/package.json +50 -0
  341. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  342. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  343. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  344. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  345. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  346. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  347. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  348. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  349. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  350. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  351. package/.output/server/node_modules/source-map-js/package.json +71 -0
  352. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  353. package/.output/server/node_modules/tailwindcss/dist/chunk-DCG7AFIE.mjs +1 -0
  354. package/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
  355. package/.output/server/node_modules/tailwindcss/package.json +89 -0
  356. package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
  357. package/.output/server/node_modules/ufo/package.json +48 -0
  358. package/.output/server/node_modules/unhead/dist/client.mjs +22 -0
  359. package/.output/server/node_modules/unhead/dist/index.mjs +52 -0
  360. package/.output/server/node_modules/unhead/dist/legacy.mjs +33 -0
  361. package/.output/server/node_modules/unhead/dist/minify.mjs +183 -0
  362. package/.output/server/node_modules/unhead/dist/parser.mjs +518 -0
  363. package/.output/server/node_modules/unhead/dist/plugins.mjs +631 -0
  364. package/.output/server/node_modules/unhead/dist/scripts.node.mjs +6 -0
  365. package/.output/server/node_modules/unhead/dist/server.mjs +99 -0
  366. package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +673 -0
  367. package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +47 -0
  368. package/.output/server/node_modules/unhead/dist/shared/unhead.BQWSw36o.mjs +192 -0
  369. package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +67 -0
  370. package/.output/server/node_modules/unhead/dist/shared/unhead.BdK3SLPN.mjs +585 -0
  371. package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +6 -0
  372. package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +17 -0
  373. package/.output/server/node_modules/unhead/dist/shared/unhead.C3b2Ipoj.mjs +223 -0
  374. package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +32 -0
  375. package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +7 -0
  376. package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +27 -0
  377. package/.output/server/node_modules/unhead/dist/shared/unhead.CfKy3Kuq.mjs +196 -0
  378. package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +59 -0
  379. package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +400 -0
  380. package/.output/server/node_modules/unhead/dist/shared/unhead.MC5RsXLj.mjs +19 -0
  381. package/.output/server/node_modules/unhead/dist/shared/unhead.jEy9BmRq.mjs +264 -0
  382. package/.output/server/node_modules/unhead/dist/shared/unhead.tQnRaXfX.mjs +240 -0
  383. package/.output/server/node_modules/unhead/dist/stream/client.mjs +28 -0
  384. package/.output/server/node_modules/unhead/dist/stream/iife.mjs +2 -0
  385. package/.output/server/node_modules/unhead/dist/stream/server.mjs +264 -0
  386. package/.output/server/node_modules/unhead/dist/utils.mjs +7 -0
  387. package/.output/server/node_modules/unhead/package.json +179 -0
  388. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  389. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  390. package/.output/server/node_modules/vue/index.js +7 -0
  391. package/.output/server/node_modules/vue/index.mjs +1 -0
  392. package/.output/server/node_modules/vue/package.json +112 -0
  393. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  394. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +278 -0
  395. package/.output/server/node_modules/vue-bundle-renderer/package.json +54 -0
  396. package/.output/server/node_modules/yocto-queue/index.js +90 -0
  397. package/.output/server/node_modules/yocto-queue/package.json +48 -0
  398. package/.output/server/node_modules/zod/index.js +4 -0
  399. package/.output/server/node_modules/zod/package.json +135 -0
  400. package/.output/server/node_modules/zod/v4/classic/checks.js +1 -0
  401. package/.output/server/node_modules/zod/v4/classic/coerce.js +17 -0
  402. package/.output/server/node_modules/zod/v4/classic/compat.js +31 -0
  403. package/.output/server/node_modules/zod/v4/classic/errors.js +48 -0
  404. package/.output/server/node_modules/zod/v4/classic/external.js +20 -0
  405. package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  406. package/.output/server/node_modules/zod/v4/classic/iso.js +30 -0
  407. package/.output/server/node_modules/zod/v4/classic/package.json +7 -0
  408. package/.output/server/node_modules/zod/v4/classic/parse.js +15 -0
  409. package/.output/server/node_modules/zod/v4/classic/schemas.js +1395 -0
  410. package/.output/server/node_modules/zod/v4/core/api.js +1087 -0
  411. package/.output/server/node_modules/zod/v4/core/checks.js +575 -0
  412. package/.output/server/node_modules/zod/v4/core/core.js +78 -0
  413. package/.output/server/node_modules/zod/v4/core/doc.js +35 -0
  414. package/.output/server/node_modules/zod/v4/core/errors.js +185 -0
  415. package/.output/server/node_modules/zod/v4/core/index.js +16 -0
  416. package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  417. package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  418. package/.output/server/node_modules/zod/v4/core/json-schema.js +1 -0
  419. package/.output/server/node_modules/zod/v4/core/package.json +7 -0
  420. package/.output/server/node_modules/zod/v4/core/parse.js +93 -0
  421. package/.output/server/node_modules/zod/v4/core/regexes.js +139 -0
  422. package/.output/server/node_modules/zod/v4/core/registries.js +51 -0
  423. package/.output/server/node_modules/zod/v4/core/schemas.js +2239 -0
  424. package/.output/server/node_modules/zod/v4/core/to-json-schema.js +448 -0
  425. package/.output/server/node_modules/zod/v4/core/util.js +674 -0
  426. package/.output/server/node_modules/zod/v4/core/versions.js +5 -0
  427. package/.output/server/node_modules/zod/v4/locales/ar.js +106 -0
  428. package/.output/server/node_modules/zod/v4/locales/az.js +105 -0
  429. package/.output/server/node_modules/zod/v4/locales/be.js +156 -0
  430. package/.output/server/node_modules/zod/v4/locales/bg.js +120 -0
  431. package/.output/server/node_modules/zod/v4/locales/ca.js +107 -0
  432. package/.output/server/node_modules/zod/v4/locales/cs.js +111 -0
  433. package/.output/server/node_modules/zod/v4/locales/da.js +115 -0
  434. package/.output/server/node_modules/zod/v4/locales/de.js +108 -0
  435. package/.output/server/node_modules/zod/v4/locales/el.js +109 -0
  436. package/.output/server/node_modules/zod/v4/locales/en.js +113 -0
  437. package/.output/server/node_modules/zod/v4/locales/eo.js +109 -0
  438. package/.output/server/node_modules/zod/v4/locales/es.js +132 -0
  439. package/.output/server/node_modules/zod/v4/locales/fa.js +114 -0
  440. package/.output/server/node_modules/zod/v4/locales/fi.js +112 -0
  441. package/.output/server/node_modules/zod/v4/locales/fr-CA.js +107 -0
  442. package/.output/server/node_modules/zod/v4/locales/fr.js +125 -0
  443. package/.output/server/node_modules/zod/v4/locales/he.js +214 -0
  444. package/.output/server/node_modules/zod/v4/locales/hr.js +122 -0
  445. package/.output/server/node_modules/zod/v4/locales/hu.js +108 -0
  446. package/.output/server/node_modules/zod/v4/locales/hy.js +147 -0
  447. package/.output/server/node_modules/zod/v4/locales/id.js +106 -0
  448. package/.output/server/node_modules/zod/v4/locales/index.js +52 -0
  449. package/.output/server/node_modules/zod/v4/locales/is.js +109 -0
  450. package/.output/server/node_modules/zod/v4/locales/it.js +108 -0
  451. package/.output/server/node_modules/zod/v4/locales/ja.js +107 -0
  452. package/.output/server/node_modules/zod/v4/locales/ka.js +112 -0
  453. package/.output/server/node_modules/zod/v4/locales/kh.js +5 -0
  454. package/.output/server/node_modules/zod/v4/locales/km.js +110 -0
  455. package/.output/server/node_modules/zod/v4/locales/ko.js +111 -0
  456. package/.output/server/node_modules/zod/v4/locales/lt.js +203 -0
  457. package/.output/server/node_modules/zod/v4/locales/mk.js +109 -0
  458. package/.output/server/node_modules/zod/v4/locales/ms.js +107 -0
  459. package/.output/server/node_modules/zod/v4/locales/nl.js +110 -0
  460. package/.output/server/node_modules/zod/v4/locales/no.js +108 -0
  461. package/.output/server/node_modules/zod/v4/locales/ota.js +109 -0
  462. package/.output/server/node_modules/zod/v4/locales/package.json +7 -0
  463. package/.output/server/node_modules/zod/v4/locales/pl.js +109 -0
  464. package/.output/server/node_modules/zod/v4/locales/ps.js +114 -0
  465. package/.output/server/node_modules/zod/v4/locales/pt.js +108 -0
  466. package/.output/server/node_modules/zod/v4/locales/ro.js +119 -0
  467. package/.output/server/node_modules/zod/v4/locales/ru.js +156 -0
  468. package/.output/server/node_modules/zod/v4/locales/sl.js +109 -0
  469. package/.output/server/node_modules/zod/v4/locales/sv.js +110 -0
  470. package/.output/server/node_modules/zod/v4/locales/ta.js +110 -0
  471. package/.output/server/node_modules/zod/v4/locales/th.js +110 -0
  472. package/.output/server/node_modules/zod/v4/locales/tr.js +105 -0
  473. package/.output/server/node_modules/zod/v4/locales/ua.js +5 -0
  474. package/.output/server/node_modules/zod/v4/locales/uk.js +108 -0
  475. package/.output/server/node_modules/zod/v4/locales/ur.js +110 -0
  476. package/.output/server/node_modules/zod/v4/locales/uz.js +110 -0
  477. package/.output/server/node_modules/zod/v4/locales/vi.js +108 -0
  478. package/.output/server/node_modules/zod/v4/locales/yo.js +107 -0
  479. package/.output/server/node_modules/zod/v4/locales/zh-CN.js +109 -0
  480. package/.output/server/node_modules/zod/v4/locales/zh-TW.js +107 -0
  481. package/.output/server/package.json +37 -0
  482. package/LICENSE +3 -0
  483. package/README.md +125 -0
  484. package/dist/src/bbox.js +55 -0
  485. package/dist/src/cli.js +255 -0
  486. package/dist/src/config.js +56 -0
  487. package/dist/src/core/fetch-process.js +19 -0
  488. package/dist/src/core/grid-renderer.js +149 -0
  489. package/dist/src/core/lease.js +103 -0
  490. package/dist/src/core/paths.js +13 -0
  491. package/dist/src/core/png.js +192 -0
  492. package/dist/src/core/raster-style.js +33 -0
  493. package/dist/src/core/uomtiles.js +307 -0
  494. package/dist/src/fetcher.js +208 -0
  495. package/dist/src/geographic-grid.js +162 -0
  496. package/dist/src/grid-crawl.js +478 -0
  497. package/dist/src/mask-image.js +16 -0
  498. package/dist/src/official-grid.js +51 -0
  499. package/dist/src/quality.js +30 -0
  500. package/dist/src/token.js +206 -0
  501. package/package.json +68 -0
  502. package/public/apple-touch-icon.png +0 -0
  503. package/public/favicon.ico +0 -0
  504. package/public/favicon.svg +8 -0
  505. package/public/icon-192.png +0 -0
  506. package/public/icon-512.png +0 -0
  507. package/public/site.webmanifest +11 -0
@@ -0,0 +1,3217 @@
1
+ import { av as useRoute$1, ap as useFetch, b as _sfc_main$5, d as useComponentProps, ay as useNuxtApp, f as useAppConfig, t as tv, P as Primitive, e as useLocale, l as createReusableTemplate, $ as $fetch$1, ag as clearNuxtData, ah as navigateTo, g as useForwardProps, r as reactivePick, h as usePortal, F as FieldGroupReset, V as VisuallyHidden_default, A as createContext } from '../virtual/entry.mjs';
2
+ import { p as provideDashboardContext, b as useDashboard, c as useResizable, d as _sfc_main$7, _ as _sfc_main$1$1 } from './DashboardSidebarToggle-pncTaIJq.mjs';
3
+ import { u as useForwardPropsEmits } from './PopperArrow-Bqfdf2Et.mjs';
4
+ import { _ as _sfc_main$4 } from './Tooltip-CkpSktvJ.mjs';
5
+ import { _ as _sfc_main$6, p as pointerDownOutside, D as DialogTrigger_default, a as DialogPortal_default, b as DialogTitle_default, c as DialogDescription_default, d as DialogClose_default, e as DialogRoot_default, f as DialogOverlay_default, g as DialogContent_default } from './Modal-DNZtVxca.mjs';
6
+ import { _ as _virtual_public__2Ffavicon_default } from './_virtual_public-CeOptKUP.mjs';
7
+ import { defineComponent, withAsyncContext, computed, mergeProps, withCtx, unref, createVNode, openBlock, createBlock, Fragment, renderList, createCommentVNode, renderSlot, ref, useSlots, useModel, useId, toRef, watch, mergeModels, onScopeDispose, resolveDynamicComponent, toHandlers, createTextVNode, toDisplayString, toRefs, watchEffect, withModifiers, normalizeStyle, createElementBlock, createElementVNode, getCurrentInstance, nextTick, useSSRContext } from 'vue';
8
+ import { D as defu } from '../nitro/nitro.mjs';
9
+ import { ssrRenderComponent, ssrRenderList, ssrRenderAttr, ssrRenderSlot, ssrRenderAttrs, ssrRenderClass, ssrRenderVNode, ssrInterpolate } from 'vue/server-renderer';
10
+ import 'unhead/plugins';
11
+ import 'unhead/utils';
12
+ import '../routes/renderer.mjs';
13
+ import 'unhead/server';
14
+ import 'unhead/legacy';
15
+ import 'nostics';
16
+ import 'vue-bundle-renderer/runtime';
17
+ import 'devalue';
18
+ import 'fnv1a-64';
19
+ import 'object-identity';
20
+ import 'tailwindcss/colors';
21
+ import './FocusScope-Cf0lg0zt.mjs';
22
+ import 'node:http';
23
+ import 'node:https';
24
+ import 'node:events';
25
+ import 'node:buffer';
26
+ import 'node:fs';
27
+ import 'node:path';
28
+ import 'node:crypto';
29
+ import 'node:url';
30
+ import '@iconify/utils';
31
+ import 'consola';
32
+
33
+ //#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-group.ts
34
+ var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_group_default = { "base": "fixed inset-0 flex overflow-hidden" };
35
+ //#endregion
36
+ //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardGroup.vue
37
+ var _sfc_main$3 = {
38
+ __name: "UDashboardGroup",
39
+ __ssrInlineRender: true,
40
+ props: {
41
+ as: {
42
+ type: null,
43
+ required: false
44
+ },
45
+ class: {
46
+ type: null,
47
+ required: false
48
+ },
49
+ ui: {
50
+ type: Object,
51
+ required: false
52
+ },
53
+ storage: {
54
+ type: String,
55
+ required: false,
56
+ default: "cookie"
57
+ },
58
+ storageKey: {
59
+ type: String,
60
+ required: false,
61
+ default: "dashboard"
62
+ },
63
+ storageOptions: {
64
+ type: Object,
65
+ required: false
66
+ },
67
+ persistent: {
68
+ type: Boolean,
69
+ required: false,
70
+ default: true
71
+ },
72
+ unit: {
73
+ type: String,
74
+ required: false,
75
+ default: "%"
76
+ }
77
+ },
78
+ setup(__props) {
79
+ const props = useComponentProps("dashboardGroup", __props);
80
+ const nuxtApp = useNuxtApp();
81
+ const appConfig = useAppConfig();
82
+ const ui = computed(() => tv({
83
+ extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_group_default,
84
+ ...appConfig.ui?.dashboardGroup || {}
85
+ }));
86
+ const sidebarOpen = ref(false);
87
+ const sidebarCollapsed = ref(false);
88
+ provideDashboardContext({
89
+ storage: props.storage,
90
+ storageKey: props.storageKey,
91
+ storageOptions: props.storageOptions,
92
+ persistent: props.persistent,
93
+ unit: props.unit,
94
+ sidebarOpen,
95
+ toggleSidebar: () => {
96
+ nuxtApp.hooks.callHook("dashboard:sidebar:toggle");
97
+ },
98
+ sidebarCollapsed,
99
+ collapseSidebar: (collapsed) => {
100
+ nuxtApp.hooks.callHook("dashboard:sidebar:collapse", collapsed);
101
+ },
102
+ toggleSearch: () => {
103
+ nuxtApp.hooks.callHook("dashboard:search:toggle");
104
+ }
105
+ });
106
+ return (_ctx, _push, _parent, _attrs) => {
107
+ _push(ssrRenderComponent(unref(Primitive), mergeProps({
108
+ as: unref(props).as,
109
+ class: ui.value({ class: [unref(props).ui?.base, unref(props).class] })
110
+ }, _attrs), {
111
+ default: withCtx((_, _push, _parent, _scopeId) => {
112
+ if (_push) ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent, _scopeId);
113
+ else return [renderSlot(_ctx.$slots, "default")];
114
+ }),
115
+ _: 3
116
+ }, _parent));
117
+ };
118
+ }
119
+ };
120
+ var _sfc_setup$4 = _sfc_main$3.setup;
121
+ _sfc_main$3.setup = (props, ctx) => {
122
+ const ssrContext = useSSRContext();
123
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardGroup.vue");
124
+ return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
125
+ };
126
+ //#endregion
127
+ //#region node_modules/.pnpm/nuxt@4.5.2_@babel+plugin-syntax-jsx@7.29.7_@babel+core@7.29.7__@babel+plugin-syntax-typ_e8b326918adce583caf1abc0a3047151/node_modules/nuxt/dist/app/composables/runtime-hook.js
128
+ /**
129
+ * Registers a runtime hook in a Nuxt application and ensures it is properly disposed of when the scope is destroyed.
130
+ * @param name - The name of the hook to register.
131
+ * @param fn - The callback function to be executed when the hook is triggered.
132
+ * @since 3.14.0
133
+ */
134
+ function useRuntimeHook(name, fn) {
135
+ const unregister = useNuxtApp().hook(name, fn);
136
+ onScopeDispose(unregister);
137
+ }
138
+ //#endregion
139
+ //#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fslideover.ts
140
+ var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fslideover_default = {
141
+ "slots": {
142
+ "overlay": "fixed inset-0 bg-elevated/75",
143
+ "content": "fixed bg-default divide-y divide-default sm:ring ring-default sm:shadow-lg flex flex-col focus:outline-none",
144
+ "header": "flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)",
145
+ "wrapper": "",
146
+ "body": "flex-1 overflow-y-auto p-4 sm:p-6",
147
+ "footer": "flex items-center gap-1.5 p-4 sm:px-6",
148
+ "title": "text-highlighted font-semibold",
149
+ "description": "mt-1 text-muted text-sm",
150
+ "close": "absolute top-4 end-4"
151
+ },
152
+ "variants": {
153
+ "side": {
154
+ "top": { "content": "" },
155
+ "right": { "content": "max-w-md" },
156
+ "bottom": { "content": "" },
157
+ "left": { "content": "max-w-md" }
158
+ },
159
+ "inset": { "true": { "content": "rounded-lg" } },
160
+ "transition": { "true": { "overlay": "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]" } }
161
+ },
162
+ "compoundVariants": [
163
+ {
164
+ "side": "top",
165
+ "inset": true,
166
+ "class": { "content": "max-h-[calc(100%-2rem)] inset-x-4 top-4" }
167
+ },
168
+ {
169
+ "side": "top",
170
+ "inset": false,
171
+ "class": { "content": "max-h-full inset-x-0 top-0" }
172
+ },
173
+ {
174
+ "side": "right",
175
+ "inset": true,
176
+ "class": { "content": "w-[calc(100%-2rem)] inset-y-4 right-4" }
177
+ },
178
+ {
179
+ "side": "right",
180
+ "inset": false,
181
+ "class": { "content": "w-full inset-y-0 right-0" }
182
+ },
183
+ {
184
+ "side": "bottom",
185
+ "inset": true,
186
+ "class": { "content": "max-h-[calc(100%-2rem)] inset-x-4 bottom-4" }
187
+ },
188
+ {
189
+ "side": "bottom",
190
+ "inset": false,
191
+ "class": { "content": "max-h-full inset-x-0 bottom-0" }
192
+ },
193
+ {
194
+ "side": "left",
195
+ "inset": true,
196
+ "class": { "content": "w-[calc(100%-2rem)] inset-y-4 left-4" }
197
+ },
198
+ {
199
+ "side": "left",
200
+ "inset": false,
201
+ "class": { "content": "w-full inset-y-0 left-0" }
202
+ },
203
+ {
204
+ "transition": true,
205
+ "side": "top",
206
+ "class": { "content": "data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]" }
207
+ },
208
+ {
209
+ "transition": true,
210
+ "side": "right",
211
+ "class": { "content": "data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]" }
212
+ },
213
+ {
214
+ "transition": true,
215
+ "side": "bottom",
216
+ "class": { "content": "data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]" }
217
+ },
218
+ {
219
+ "transition": true,
220
+ "side": "left",
221
+ "class": { "content": "data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]" }
222
+ }
223
+ ]
224
+ };
225
+ //#endregion
226
+ //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Slideover.vue
227
+ var _sfc_main$2 = {
228
+ __name: "USlideover",
229
+ __ssrInlineRender: true,
230
+ props: {
231
+ title: {
232
+ type: String,
233
+ required: false
234
+ },
235
+ description: {
236
+ type: String,
237
+ required: false
238
+ },
239
+ content: {
240
+ type: Object,
241
+ required: false
242
+ },
243
+ overlay: {
244
+ type: Boolean,
245
+ required: false,
246
+ default: true
247
+ },
248
+ transition: {
249
+ type: Boolean,
250
+ required: false,
251
+ default: true
252
+ },
253
+ side: {
254
+ type: null,
255
+ required: false,
256
+ default: "right"
257
+ },
258
+ inset: {
259
+ type: Boolean,
260
+ required: false
261
+ },
262
+ portal: {
263
+ type: [Boolean, String],
264
+ required: false,
265
+ skipCheck: true,
266
+ default: true
267
+ },
268
+ close: {
269
+ type: [Boolean, Object],
270
+ required: false,
271
+ default: true
272
+ },
273
+ closeIcon: {
274
+ type: null,
275
+ required: false
276
+ },
277
+ dismissible: {
278
+ type: Boolean,
279
+ required: false,
280
+ default: true
281
+ },
282
+ class: {
283
+ type: null,
284
+ required: false
285
+ },
286
+ ui: {
287
+ type: Object,
288
+ required: false
289
+ },
290
+ open: {
291
+ type: Boolean,
292
+ required: false
293
+ },
294
+ defaultOpen: {
295
+ type: Boolean,
296
+ required: false
297
+ },
298
+ modal: {
299
+ type: Boolean,
300
+ required: false,
301
+ default: true
302
+ },
303
+ unmountOnHide: {
304
+ type: Boolean,
305
+ required: false
306
+ }
307
+ },
308
+ emits: [
309
+ "leave",
310
+ "after:leave",
311
+ "enter",
312
+ "after:enter",
313
+ "close:prevent",
314
+ "update:open"
315
+ ],
316
+ setup(__props, { emit: __emit }) {
317
+ const _props = __props;
318
+ const emits = __emit;
319
+ const slots = useSlots();
320
+ const props = useComponentProps("slideover", _props);
321
+ const { t } = useLocale();
322
+ const appConfig = useAppConfig();
323
+ const rootProps = useForwardProps(reactivePick(props, "open", "defaultOpen", "modal", "unmountOnHide"), emits);
324
+ const portalProps = usePortal(toRef(() => props.portal));
325
+ const contentProps = toRef(() => props.content);
326
+ const contentEvents = computed(() => {
327
+ if (!props.dismissible) return ["interactOutside", "escapeKeyDown"].reduce((acc, curr) => {
328
+ acc[curr] = (e) => {
329
+ e.preventDefault();
330
+ emits("close:prevent");
331
+ };
332
+ return acc;
333
+ }, {});
334
+ return { pointerDownOutside };
335
+ });
336
+ const ui = computed(() => tv({
337
+ extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fslideover_default,
338
+ ...appConfig.ui?.slideover || {}
339
+ })({
340
+ transition: props.transition,
341
+ side: props.side,
342
+ inset: props.inset
343
+ }));
344
+ return (_ctx, _push, _parent, _attrs) => {
345
+ _push(ssrRenderComponent(unref(DialogRoot_default), mergeProps(unref(rootProps), _attrs), {
346
+ default: withCtx(({ open, close }, _push, _parent, _scopeId) => {
347
+ if (_push) {
348
+ if (!!slots.default) _push(ssrRenderComponent(unref(DialogTrigger_default), {
349
+ "as-child": "",
350
+ class: unref(props).class
351
+ }, {
352
+ default: withCtx((_, _push, _parent, _scopeId) => {
353
+ if (_push) ssrRenderSlot(_ctx.$slots, "default", { open }, null, _push, _parent, _scopeId);
354
+ else return [renderSlot(_ctx.$slots, "default", { open })];
355
+ }),
356
+ _: 2
357
+ }, _parent, _scopeId));
358
+ else _push(`<!---->`);
359
+ _push(ssrRenderComponent(unref(DialogPortal_default), mergeProps(unref(portalProps), { "force-mount": unref(portalProps).disabled && unref(props).unmountOnHide === false || void 0 }), {
360
+ default: withCtx((_, _push, _parent, _scopeId) => {
361
+ if (_push) _push(ssrRenderComponent(unref(FieldGroupReset), null, {
362
+ default: withCtx((_, _push, _parent, _scopeId) => {
363
+ if (_push) {
364
+ if (unref(props).overlay) _push(ssrRenderComponent(unref(DialogOverlay_default), {
365
+ "data-slot": "overlay",
366
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
367
+ }, null, _parent, _scopeId));
368
+ else _push(`<!---->`);
369
+ _push(ssrRenderComponent(unref(DialogContent_default), mergeProps({
370
+ "data-side": unref(props).side,
371
+ "data-slot": "content",
372
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] })
373
+ }, contentProps.value, {
374
+ onEnter: ($event) => emits("enter"),
375
+ onAfterEnter: ($event) => emits("after:enter"),
376
+ onLeave: ($event) => emits("leave"),
377
+ onAfterLeave: ($event) => emits("after:leave")
378
+ }, toHandlers(contentEvents.value)), {
379
+ default: withCtx((_, _push, _parent, _scopeId) => {
380
+ if (_push) {
381
+ if (!unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content) _push(ssrRenderComponent(unref(VisuallyHidden_default), null, {
382
+ default: withCtx((_, _push, _parent, _scopeId) => {
383
+ if (_push) {
384
+ if (!unref(props).title && !slots.title) _push(ssrRenderComponent(unref(DialogTitle_default), null, null, _parent, _scopeId));
385
+ else if (!!slots.content) _push(ssrRenderComponent(unref(DialogTitle_default), null, {
386
+ default: withCtx((_, _push, _parent, _scopeId) => {
387
+ if (_push) ssrRenderSlot(_ctx.$slots, "title", {}, () => {
388
+ _push(`${ssrInterpolate(unref(props).title)}`);
389
+ }, _push, _parent, _scopeId);
390
+ else return [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])];
391
+ }),
392
+ _: 2
393
+ }, _parent, _scopeId));
394
+ else _push(`<!---->`);
395
+ if (!unref(props).description && !slots.description) _push(ssrRenderComponent(unref(DialogDescription_default), null, null, _parent, _scopeId));
396
+ else if (!!slots.content) _push(ssrRenderComponent(unref(DialogDescription_default), null, {
397
+ default: withCtx((_, _push, _parent, _scopeId) => {
398
+ if (_push) ssrRenderSlot(_ctx.$slots, "description", {}, () => {
399
+ _push(`${ssrInterpolate(unref(props).description)}`);
400
+ }, _push, _parent, _scopeId);
401
+ else return [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])];
402
+ }),
403
+ _: 2
404
+ }, _parent, _scopeId));
405
+ else _push(`<!---->`);
406
+ } else return [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
407
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
408
+ _: 3
409
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
410
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
411
+ _: 3
412
+ })) : createCommentVNode("", true)];
413
+ }),
414
+ _: 2
415
+ }, _parent, _scopeId));
416
+ else _push(`<!---->`);
417
+ ssrRenderSlot(_ctx.$slots, "content", { close }, () => {
418
+ if (!!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close) {
419
+ _push(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class: unref(props).ui?.header }))}"${_scopeId}>`);
420
+ ssrRenderSlot(_ctx.$slots, "header", { close }, () => {
421
+ if (unref(props).title || !!slots.title || unref(props).description || !!slots.description) {
422
+ _push(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class: unref(props).ui?.wrapper }))}"${_scopeId}>`);
423
+ if (unref(props).title || !!slots.title) _push(ssrRenderComponent(unref(DialogTitle_default), {
424
+ "data-slot": "title",
425
+ class: ui.value.title({ class: unref(props).ui?.title })
426
+ }, {
427
+ default: withCtx((_, _push, _parent, _scopeId) => {
428
+ if (_push) ssrRenderSlot(_ctx.$slots, "title", {}, () => {
429
+ _push(`${ssrInterpolate(unref(props).title)}`);
430
+ }, _push, _parent, _scopeId);
431
+ else return [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])];
432
+ }),
433
+ _: 2
434
+ }, _parent, _scopeId));
435
+ else _push(`<!---->`);
436
+ if (unref(props).description || !!slots.description) _push(ssrRenderComponent(unref(DialogDescription_default), {
437
+ "data-slot": "description",
438
+ class: ui.value.description({ class: unref(props).ui?.description })
439
+ }, {
440
+ default: withCtx((_, _push, _parent, _scopeId) => {
441
+ if (_push) ssrRenderSlot(_ctx.$slots, "description", {}, () => {
442
+ _push(`${ssrInterpolate(unref(props).description)}`);
443
+ }, _push, _parent, _scopeId);
444
+ else return [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])];
445
+ }),
446
+ _: 2
447
+ }, _parent, _scopeId));
448
+ else _push(`<!---->`);
449
+ _push(`</div>`);
450
+ } else _push(`<!---->`);
451
+ ssrRenderSlot(_ctx.$slots, "actions", {}, null, _push, _parent, _scopeId);
452
+ if (unref(props).close || !!slots.close) _push(ssrRenderComponent(unref(DialogClose_default), { "as-child": "" }, {
453
+ default: withCtx((_, _push, _parent, _scopeId) => {
454
+ if (_push) ssrRenderSlot(_ctx.$slots, "close", { ui: ui.value }, () => {
455
+ if (unref(props).close) _push(ssrRenderComponent(_sfc_main$5, mergeProps({
456
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
457
+ color: "neutral",
458
+ variant: "ghost",
459
+ "aria-label": unref(t)("slideover.close")
460
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
461
+ "data-slot": "close",
462
+ class: ui.value.close({ class: unref(props).ui?.close })
463
+ }), null, _parent, _scopeId));
464
+ else _push(`<!---->`);
465
+ }, _push, _parent, _scopeId);
466
+ else return [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
467
+ key: 0,
468
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
469
+ color: "neutral",
470
+ variant: "ghost",
471
+ "aria-label": unref(t)("slideover.close")
472
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
473
+ "data-slot": "close",
474
+ class: ui.value.close({ class: unref(props).ui?.close })
475
+ }), null, 16, [
476
+ "icon",
477
+ "aria-label",
478
+ "class"
479
+ ])) : createCommentVNode("", true)])];
480
+ }),
481
+ _: 2
482
+ }, _parent, _scopeId));
483
+ else _push(`<!---->`);
484
+ }, _push, _parent, _scopeId);
485
+ _push(`</div>`);
486
+ } else _push(`<!---->`);
487
+ _push(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class: unref(props).ui?.body }))}"${_scopeId}>`);
488
+ ssrRenderSlot(_ctx.$slots, "body", { close }, null, _push, _parent, _scopeId);
489
+ _push(`</div>`);
490
+ if (!!slots.footer) {
491
+ _push(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class: unref(props).ui?.footer }))}"${_scopeId}>`);
492
+ ssrRenderSlot(_ctx.$slots, "footer", { close }, null, _push, _parent, _scopeId);
493
+ _push(`</div>`);
494
+ } else _push(`<!---->`);
495
+ }, _push, _parent, _scopeId);
496
+ } else return [!unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content ? (openBlock(), createBlock(unref(VisuallyHidden_default), { key: 0 }, {
497
+ default: withCtx(() => [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
498
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
499
+ _: 3
500
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
501
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
502
+ _: 3
503
+ })) : createCommentVNode("", true)]),
504
+ _: 3
505
+ })) : createCommentVNode("", true), renderSlot(_ctx.$slots, "content", { close }, () => [
506
+ !!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close ? (openBlock(), createBlock("div", {
507
+ key: 0,
508
+ "data-slot": "header",
509
+ class: ui.value.header({ class: unref(props).ui?.header })
510
+ }, [renderSlot(_ctx.$slots, "header", { close }, () => [
511
+ unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
512
+ key: 0,
513
+ "data-slot": "wrapper",
514
+ class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
515
+ }, [unref(props).title || !!slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), {
516
+ key: 0,
517
+ "data-slot": "title",
518
+ class: ui.value.title({ class: unref(props).ui?.title })
519
+ }, {
520
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
521
+ _: 3
522
+ }, 8, ["class"])) : createCommentVNode("", true), unref(props).description || !!slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), {
523
+ key: 1,
524
+ "data-slot": "description",
525
+ class: ui.value.description({ class: unref(props).ui?.description })
526
+ }, {
527
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
528
+ _: 3
529
+ }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
530
+ renderSlot(_ctx.$slots, "actions"),
531
+ unref(props).close || !!slots.close ? (openBlock(), createBlock(unref(DialogClose_default), {
532
+ key: 1,
533
+ "as-child": ""
534
+ }, {
535
+ default: withCtx(() => [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
536
+ key: 0,
537
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
538
+ color: "neutral",
539
+ variant: "ghost",
540
+ "aria-label": unref(t)("slideover.close")
541
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
542
+ "data-slot": "close",
543
+ class: ui.value.close({ class: unref(props).ui?.close })
544
+ }), null, 16, [
545
+ "icon",
546
+ "aria-label",
547
+ "class"
548
+ ])) : createCommentVNode("", true)])]),
549
+ _: 2
550
+ }, 1024)) : createCommentVNode("", true)
551
+ ])], 2)) : createCommentVNode("", true),
552
+ createVNode("div", {
553
+ "data-slot": "body",
554
+ class: ui.value.body({ class: unref(props).ui?.body })
555
+ }, [renderSlot(_ctx.$slots, "body", { close })], 2),
556
+ !!slots.footer ? (openBlock(), createBlock("div", {
557
+ key: 1,
558
+ "data-slot": "footer",
559
+ class: ui.value.footer({ class: unref(props).ui?.footer })
560
+ }, [renderSlot(_ctx.$slots, "footer", { close })], 2)) : createCommentVNode("", true)
561
+ ])];
562
+ }),
563
+ _: 2
564
+ }, _parent, _scopeId));
565
+ } else return [unref(props).overlay ? (openBlock(), createBlock(unref(DialogOverlay_default), {
566
+ key: 0,
567
+ "data-slot": "overlay",
568
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
569
+ }, null, 8, ["class"])) : createCommentVNode("", true), createVNode(unref(DialogContent_default), mergeProps({
570
+ "data-side": unref(props).side,
571
+ "data-slot": "content",
572
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] })
573
+ }, contentProps.value, {
574
+ onEnter: ($event) => emits("enter"),
575
+ onAfterEnter: ($event) => emits("after:enter"),
576
+ onLeave: ($event) => emits("leave"),
577
+ onAfterLeave: ($event) => emits("after:leave")
578
+ }, toHandlers(contentEvents.value)), {
579
+ default: withCtx(() => [!unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content ? (openBlock(), createBlock(unref(VisuallyHidden_default), { key: 0 }, {
580
+ default: withCtx(() => [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
581
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
582
+ _: 3
583
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
584
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
585
+ _: 3
586
+ })) : createCommentVNode("", true)]),
587
+ _: 3
588
+ })) : createCommentVNode("", true), renderSlot(_ctx.$slots, "content", { close }, () => [
589
+ !!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close ? (openBlock(), createBlock("div", {
590
+ key: 0,
591
+ "data-slot": "header",
592
+ class: ui.value.header({ class: unref(props).ui?.header })
593
+ }, [renderSlot(_ctx.$slots, "header", { close }, () => [
594
+ unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
595
+ key: 0,
596
+ "data-slot": "wrapper",
597
+ class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
598
+ }, [unref(props).title || !!slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), {
599
+ key: 0,
600
+ "data-slot": "title",
601
+ class: ui.value.title({ class: unref(props).ui?.title })
602
+ }, {
603
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
604
+ _: 3
605
+ }, 8, ["class"])) : createCommentVNode("", true), unref(props).description || !!slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), {
606
+ key: 1,
607
+ "data-slot": "description",
608
+ class: ui.value.description({ class: unref(props).ui?.description })
609
+ }, {
610
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
611
+ _: 3
612
+ }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
613
+ renderSlot(_ctx.$slots, "actions"),
614
+ unref(props).close || !!slots.close ? (openBlock(), createBlock(unref(DialogClose_default), {
615
+ key: 1,
616
+ "as-child": ""
617
+ }, {
618
+ default: withCtx(() => [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
619
+ key: 0,
620
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
621
+ color: "neutral",
622
+ variant: "ghost",
623
+ "aria-label": unref(t)("slideover.close")
624
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
625
+ "data-slot": "close",
626
+ class: ui.value.close({ class: unref(props).ui?.close })
627
+ }), null, 16, [
628
+ "icon",
629
+ "aria-label",
630
+ "class"
631
+ ])) : createCommentVNode("", true)])]),
632
+ _: 2
633
+ }, 1024)) : createCommentVNode("", true)
634
+ ])], 2)) : createCommentVNode("", true),
635
+ createVNode("div", {
636
+ "data-slot": "body",
637
+ class: ui.value.body({ class: unref(props).ui?.body })
638
+ }, [renderSlot(_ctx.$slots, "body", { close })], 2),
639
+ !!slots.footer ? (openBlock(), createBlock("div", {
640
+ key: 1,
641
+ "data-slot": "footer",
642
+ class: ui.value.footer({ class: unref(props).ui?.footer })
643
+ }, [renderSlot(_ctx.$slots, "footer", { close })], 2)) : createCommentVNode("", true)
644
+ ])]),
645
+ _: 2
646
+ }, 1040, [
647
+ "data-side",
648
+ "class",
649
+ "onEnter",
650
+ "onAfterEnter",
651
+ "onLeave",
652
+ "onAfterLeave"
653
+ ])];
654
+ }),
655
+ _: 2
656
+ }, _parent, _scopeId));
657
+ else return [createVNode(unref(FieldGroupReset), null, {
658
+ default: withCtx(() => [unref(props).overlay ? (openBlock(), createBlock(unref(DialogOverlay_default), {
659
+ key: 0,
660
+ "data-slot": "overlay",
661
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
662
+ }, null, 8, ["class"])) : createCommentVNode("", true), createVNode(unref(DialogContent_default), mergeProps({
663
+ "data-side": unref(props).side,
664
+ "data-slot": "content",
665
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] })
666
+ }, contentProps.value, {
667
+ onEnter: ($event) => emits("enter"),
668
+ onAfterEnter: ($event) => emits("after:enter"),
669
+ onLeave: ($event) => emits("leave"),
670
+ onAfterLeave: ($event) => emits("after:leave")
671
+ }, toHandlers(contentEvents.value)), {
672
+ default: withCtx(() => [!unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content ? (openBlock(), createBlock(unref(VisuallyHidden_default), { key: 0 }, {
673
+ default: withCtx(() => [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
674
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
675
+ _: 3
676
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
677
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
678
+ _: 3
679
+ })) : createCommentVNode("", true)]),
680
+ _: 3
681
+ })) : createCommentVNode("", true), renderSlot(_ctx.$slots, "content", { close }, () => [
682
+ !!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close ? (openBlock(), createBlock("div", {
683
+ key: 0,
684
+ "data-slot": "header",
685
+ class: ui.value.header({ class: unref(props).ui?.header })
686
+ }, [renderSlot(_ctx.$slots, "header", { close }, () => [
687
+ unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
688
+ key: 0,
689
+ "data-slot": "wrapper",
690
+ class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
691
+ }, [unref(props).title || !!slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), {
692
+ key: 0,
693
+ "data-slot": "title",
694
+ class: ui.value.title({ class: unref(props).ui?.title })
695
+ }, {
696
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
697
+ _: 3
698
+ }, 8, ["class"])) : createCommentVNode("", true), unref(props).description || !!slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), {
699
+ key: 1,
700
+ "data-slot": "description",
701
+ class: ui.value.description({ class: unref(props).ui?.description })
702
+ }, {
703
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
704
+ _: 3
705
+ }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
706
+ renderSlot(_ctx.$slots, "actions"),
707
+ unref(props).close || !!slots.close ? (openBlock(), createBlock(unref(DialogClose_default), {
708
+ key: 1,
709
+ "as-child": ""
710
+ }, {
711
+ default: withCtx(() => [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
712
+ key: 0,
713
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
714
+ color: "neutral",
715
+ variant: "ghost",
716
+ "aria-label": unref(t)("slideover.close")
717
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
718
+ "data-slot": "close",
719
+ class: ui.value.close({ class: unref(props).ui?.close })
720
+ }), null, 16, [
721
+ "icon",
722
+ "aria-label",
723
+ "class"
724
+ ])) : createCommentVNode("", true)])]),
725
+ _: 2
726
+ }, 1024)) : createCommentVNode("", true)
727
+ ])], 2)) : createCommentVNode("", true),
728
+ createVNode("div", {
729
+ "data-slot": "body",
730
+ class: ui.value.body({ class: unref(props).ui?.body })
731
+ }, [renderSlot(_ctx.$slots, "body", { close })], 2),
732
+ !!slots.footer ? (openBlock(), createBlock("div", {
733
+ key: 1,
734
+ "data-slot": "footer",
735
+ class: ui.value.footer({ class: unref(props).ui?.footer })
736
+ }, [renderSlot(_ctx.$slots, "footer", { close })], 2)) : createCommentVNode("", true)
737
+ ])]),
738
+ _: 2
739
+ }, 1040, [
740
+ "data-side",
741
+ "class",
742
+ "onEnter",
743
+ "onAfterEnter",
744
+ "onLeave",
745
+ "onAfterLeave"
746
+ ])]),
747
+ _: 2
748
+ }, 1024)];
749
+ }),
750
+ _: 2
751
+ }, _parent, _scopeId));
752
+ } else return [!!slots.default ? (openBlock(), createBlock(unref(DialogTrigger_default), {
753
+ key: 0,
754
+ "as-child": "",
755
+ class: unref(props).class
756
+ }, {
757
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", { open })]),
758
+ _: 2
759
+ }, 1032, ["class"])) : createCommentVNode("", true), createVNode(unref(DialogPortal_default), mergeProps(unref(portalProps), { "force-mount": unref(portalProps).disabled && unref(props).unmountOnHide === false || void 0 }), {
760
+ default: withCtx(() => [createVNode(unref(FieldGroupReset), null, {
761
+ default: withCtx(() => [unref(props).overlay ? (openBlock(), createBlock(unref(DialogOverlay_default), {
762
+ key: 0,
763
+ "data-slot": "overlay",
764
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
765
+ }, null, 8, ["class"])) : createCommentVNode("", true), createVNode(unref(DialogContent_default), mergeProps({
766
+ "data-side": unref(props).side,
767
+ "data-slot": "content",
768
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] })
769
+ }, contentProps.value, {
770
+ onEnter: ($event) => emits("enter"),
771
+ onAfterEnter: ($event) => emits("after:enter"),
772
+ onLeave: ($event) => emits("leave"),
773
+ onAfterLeave: ($event) => emits("after:leave")
774
+ }, toHandlers(contentEvents.value)), {
775
+ default: withCtx(() => [!unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content ? (openBlock(), createBlock(unref(VisuallyHidden_default), { key: 0 }, {
776
+ default: withCtx(() => [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
777
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
778
+ _: 3
779
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
780
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
781
+ _: 3
782
+ })) : createCommentVNode("", true)]),
783
+ _: 3
784
+ })) : createCommentVNode("", true), renderSlot(_ctx.$slots, "content", { close }, () => [
785
+ !!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close ? (openBlock(), createBlock("div", {
786
+ key: 0,
787
+ "data-slot": "header",
788
+ class: ui.value.header({ class: unref(props).ui?.header })
789
+ }, [renderSlot(_ctx.$slots, "header", { close }, () => [
790
+ unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
791
+ key: 0,
792
+ "data-slot": "wrapper",
793
+ class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
794
+ }, [unref(props).title || !!slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), {
795
+ key: 0,
796
+ "data-slot": "title",
797
+ class: ui.value.title({ class: unref(props).ui?.title })
798
+ }, {
799
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
800
+ _: 3
801
+ }, 8, ["class"])) : createCommentVNode("", true), unref(props).description || !!slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), {
802
+ key: 1,
803
+ "data-slot": "description",
804
+ class: ui.value.description({ class: unref(props).ui?.description })
805
+ }, {
806
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
807
+ _: 3
808
+ }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
809
+ renderSlot(_ctx.$slots, "actions"),
810
+ unref(props).close || !!slots.close ? (openBlock(), createBlock(unref(DialogClose_default), {
811
+ key: 1,
812
+ "as-child": ""
813
+ }, {
814
+ default: withCtx(() => [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
815
+ key: 0,
816
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
817
+ color: "neutral",
818
+ variant: "ghost",
819
+ "aria-label": unref(t)("slideover.close")
820
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
821
+ "data-slot": "close",
822
+ class: ui.value.close({ class: unref(props).ui?.close })
823
+ }), null, 16, [
824
+ "icon",
825
+ "aria-label",
826
+ "class"
827
+ ])) : createCommentVNode("", true)])]),
828
+ _: 2
829
+ }, 1024)) : createCommentVNode("", true)
830
+ ])], 2)) : createCommentVNode("", true),
831
+ createVNode("div", {
832
+ "data-slot": "body",
833
+ class: ui.value.body({ class: unref(props).ui?.body })
834
+ }, [renderSlot(_ctx.$slots, "body", { close })], 2),
835
+ !!slots.footer ? (openBlock(), createBlock("div", {
836
+ key: 1,
837
+ "data-slot": "footer",
838
+ class: ui.value.footer({ class: unref(props).ui?.footer })
839
+ }, [renderSlot(_ctx.$slots, "footer", { close })], 2)) : createCommentVNode("", true)
840
+ ])]),
841
+ _: 2
842
+ }, 1040, [
843
+ "data-side",
844
+ "class",
845
+ "onEnter",
846
+ "onAfterEnter",
847
+ "onLeave",
848
+ "onAfterLeave"
849
+ ])]),
850
+ _: 2
851
+ }, 1024)]),
852
+ _: 2
853
+ }, 1040, ["force-mount"])];
854
+ }),
855
+ _: 3
856
+ }, _parent));
857
+ };
858
+ }
859
+ };
860
+ var _sfc_setup$3 = _sfc_main$2.setup;
861
+ _sfc_main$2.setup = (props, ctx) => {
862
+ const ssrContext = useSSRContext();
863
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Slideover.vue");
864
+ return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
865
+ };
866
+ //#endregion
867
+ //#region node_modules/.pnpm/vaul-vue@0.4.1_reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3___vue@3.5.41_typescript@6.0.3_/node_modules/vaul-vue/dist/index.js
868
+ var rt = false;
869
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
870
+ var ut = (e) => typeof e < "u";
871
+ function st(e) {
872
+ return JSON.parse(JSON.stringify(e));
873
+ }
874
+ function $e(e, n, s, i = {}) {
875
+ var t, w, d;
876
+ const { clone: v = false, passive: D = false, eventName: $, deep: T = false, defaultValue: r, shouldEmit: l } = i, h = getCurrentInstance(), m = s || (h == null ? void 0 : h.emit) || ((t = h == null ? void 0 : h.$emit) == null ? void 0 : t.bind(h)) || ((d = (w = h == null ? void 0 : h.proxy) == null ? void 0 : w.$emit) == null ? void 0 : d.bind(h == null ? void 0 : h.proxy));
877
+ let u = $;
878
+ n || (n = "modelValue"), u = u || `update:${n.toString()}`;
879
+ const L = (a) => v ? typeof v == "function" ? v(a) : st(a) : a, H = () => ut(e[n]) ? L(e[n]) : r, p = (a) => {
880
+ l ? l(a) && m(u, a) : m(u, a);
881
+ };
882
+ if (D) {
883
+ const a = H(), c = ref(a);
884
+ let f = false;
885
+ return watch(() => e[n], (y) => {
886
+ f || (f = true, c.value = L(y), nextTick(() => f = false));
887
+ }), watch(c, (y) => {
888
+ !f && (y !== e[n] || T) && p(y);
889
+ }, { deep: T }), c;
890
+ } else return computed({
891
+ get() {
892
+ return H();
893
+ },
894
+ set(a) {
895
+ p(a);
896
+ }
897
+ });
898
+ }
899
+ var [ee, ct] = createContext("DrawerRoot"), Ee = /* @__PURE__ */ new WeakMap();
900
+ function C(e, n, s = false) {
901
+ if (!e || !(e instanceof HTMLElement) || !n) return;
902
+ const i = {};
903
+ Object.entries(n).forEach(([t, w]) => {
904
+ if (t.startsWith("--")) {
905
+ e.style.setProperty(t, w);
906
+ return;
907
+ }
908
+ i[t] = e.style[t], e.style[t] = w;
909
+ }), !s && Ee.set(e, i);
910
+ }
911
+ function ie(e, n) {
912
+ const s = (void 0).getComputedStyle(e), i = s.transform || s.webkitTransform || s.mozTransform;
913
+ let t = i.match(/^matrix3d\((.+)\)$/);
914
+ return t ? Number.parseFloat(t[1].split(", ")[_(n) ? 13 : 12]) : (t = i.match(/^matrix\((.+)\)$/), t ? Number.parseFloat(t[1].split(", ")[_(n) ? 5 : 4]) : null);
915
+ }
916
+ function vt(e) {
917
+ return 8 * (Math.log(e + 1) - 2);
918
+ }
919
+ function _(e) {
920
+ switch (e) {
921
+ case "top":
922
+ case "bottom": return true;
923
+ case "left":
924
+ case "right": return false;
925
+ default: return e;
926
+ }
927
+ }
928
+ function de(e, n) {
929
+ if (!e) return () => {};
930
+ const s = e.style.cssText;
931
+ return Object.assign(e.style, n), () => {
932
+ e.style.cssText = s;
933
+ };
934
+ }
935
+ var O = {
936
+ DURATION: .5,
937
+ EASE: [
938
+ .32,
939
+ .72,
940
+ 0,
941
+ 1
942
+ ]
943
+ };
944
+ var _e = .4;
945
+ var pt = .25;
946
+ var gt = 100;
947
+ var Be = 8;
948
+ var re = 16;
949
+ var Ce = 26;
950
+ var Oe = "vaul-dragging";
951
+ function mt({ activeSnapPoint: e, snapPoints: n, drawerRef: s, overlayRef: i, fadeFromIndex: t, onSnapPointChange: w, direction: d }) {
952
+ const v = ref(void 0);
953
+ const $ = computed(() => (n.value && e.value === n.value[n.value.length - 1]) ?? null), T = computed(() => n.value && n.value.length > 0 && ((t == null ? void 0 : t.value) || (t == null ? void 0 : t.value) === 0) && !Number.isNaN(t == null ? void 0 : t.value) && n.value[(t == null ? void 0 : t.value) ?? -1] === e.value || !n.value), r = computed(() => {
954
+ var p;
955
+ return ((p = n.value) == null ? void 0 : p.findIndex((a) => a === e.value)) ?? null;
956
+ }), l = computed(() => {
957
+ var p;
958
+ return ((p = n.value) == null ? void 0 : p.map((a) => {
959
+ const c = typeof a == "string";
960
+ let f = 0;
961
+ if (c && (f = Number.parseInt(a, 10)), _(d.value)) {
962
+ const P = c ? f : v.value ? a * v.value.innerHeight : 0;
963
+ return v.value ? d.value === "bottom" ? v.value.innerHeight - P : -v.value.innerHeight + P : P;
964
+ }
965
+ const y = c ? f : v.value ? a * v.value.innerWidth : 0;
966
+ return v.value ? d.value === "right" ? v.value.innerWidth - y : -v.value.innerWidth + y : y;
967
+ })) ?? [];
968
+ }), h = computed(() => {
969
+ var p;
970
+ return r.value !== null ? (p = l.value) == null ? void 0 : p[r.value] : null;
971
+ }), m = (p) => {
972
+ var c, f, y, P;
973
+ const a = ((c = l.value) == null ? void 0 : c.findIndex((x) => x === p)) ?? null;
974
+ nextTick(() => {
975
+ var x;
976
+ w(a, l.value), C((x = s.value) == null ? void 0 : x.$el, {
977
+ transition: `transform ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
978
+ transform: _(d.value) ? `translate3d(0, ${p}px, 0)` : `translate3d(${p}px, 0, 0)`
979
+ });
980
+ }), l.value && a !== l.value.length - 1 && a !== (t == null ? void 0 : t.value) ? C((f = i.value) == null ? void 0 : f.$el, {
981
+ transition: `opacity ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
982
+ opacity: "0"
983
+ }) : C((y = i.value) == null ? void 0 : y.$el, {
984
+ transition: `opacity ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
985
+ opacity: "1"
986
+ }), e.value = a !== null ? ((P = n.value) == null ? void 0 : P[a]) ?? null : null;
987
+ };
988
+ watch([
989
+ e,
990
+ l,
991
+ n
992
+ ], () => {
993
+ var p;
994
+ if (e.value) {
995
+ const a = ((p = n.value) == null ? void 0 : p.findIndex((c) => c === e.value)) ?? -1;
996
+ l.value && a !== -1 && typeof l.value[a] == "number" && m(l.value[a]);
997
+ }
998
+ }, { immediate: true });
999
+ function u({ draggedDistance: p, closeDrawer: a, velocity: c, dismissible: f }) {
1000
+ var j, G, z;
1001
+ if (t.value === void 0) return;
1002
+ const y = d.value === "bottom" || d.value === "right" ? (h.value ?? 0) - p : (h.value ?? 0) + p, P = r.value === t.value - 1, x = r.value === 0, W = p > 0;
1003
+ if (P && C((j = i.value) == null ? void 0 : j.$el, { transition: `opacity ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})` }), c > 2 && !W) {
1004
+ f ? a() : m(l.value[0]);
1005
+ return;
1006
+ }
1007
+ if (c > 2 && W && l && n.value) {
1008
+ m(l.value[n.value.length - 1]);
1009
+ return;
1010
+ }
1011
+ const te = (G = l.value) == null ? void 0 : G.reduce((M, g) => typeof M != "number" || typeof g != "number" ? M : Math.abs(g - y) < Math.abs(M - y) ? g : M), V = _(d.value) ? (void 0).innerHeight : (void 0).innerWidth;
1012
+ if (c > _e && Math.abs(p) < V * .4) {
1013
+ const M = W ? 1 : -1;
1014
+ if (M > 0 && $) {
1015
+ m(l.value[(((z = n.value) == null ? void 0 : z.length) ?? 0) - 1]);
1016
+ return;
1017
+ }
1018
+ if (x && M < 0 && f && a(), r.value === null) return;
1019
+ m(l.value[r.value + M]);
1020
+ return;
1021
+ }
1022
+ m(te);
1023
+ }
1024
+ function L({ draggedDistance: p }) {
1025
+ var c;
1026
+ if (h.value === null) return;
1027
+ const a = d.value === "bottom" || d.value === "right" ? h.value - p : h.value + p;
1028
+ (d.value === "bottom" || d.value === "right") && a < l.value[l.value.length - 1] || (d.value === "top" || d.value === "left") && a > l.value[l.value.length - 1] || C((c = s.value) == null ? void 0 : c.$el, { transform: _(d.value) ? `translate3d(0, ${a}px, 0)` : `translate3d(${a}px, 0, 0)` });
1029
+ }
1030
+ function H(p, a) {
1031
+ if (!n.value || typeof r.value != "number" || !l.value || t.value === void 0) return null;
1032
+ const c = r.value === t.value - 1;
1033
+ if (r.value >= t.value && a) return 0;
1034
+ if (c && !a) return 1;
1035
+ if (!T.value && !c) return null;
1036
+ const y = c ? r.value + 1 : r.value - 1, P = c ? l.value[y] - l.value[y - 1] : l.value[y + 1] - l.value[y], x = p / Math.abs(P);
1037
+ return c ? 1 - x : x;
1038
+ }
1039
+ return {
1040
+ isLastSnapPoint: $,
1041
+ shouldFade: T,
1042
+ getPercentageDragged: H,
1043
+ activeSnapPointIndex: r,
1044
+ onRelease: u,
1045
+ onDrag: L,
1046
+ snapPointsOffset: l
1047
+ };
1048
+ }
1049
+ function Te() {
1050
+ return /^((?!chrome|android).)*safari/i.test((void 0).userAgent);
1051
+ }
1052
+ var Q = null;
1053
+ function wt(e) {
1054
+ const { isOpen: n, modal: s, nested: i, hasBeenOpened: t, preventScrollRestoration: w, noBodyStyles: d } = e, v = ref(""), D = ref(0);
1055
+ function $() {
1056
+ if (Te() && Q === null && n.value && !d.value) {
1057
+ Q = {
1058
+ position: (void 0).body.style.position,
1059
+ top: (void 0).body.style.top,
1060
+ left: (void 0).body.style.left,
1061
+ height: (void 0).body.style.height
1062
+ };
1063
+ const { scrollX: r, innerHeight: l } = void 0;
1064
+ (void 0).body.style.setProperty("position", "fixed", "important"), Object.assign((void 0).body.style, {
1065
+ top: `${-D.value}px`,
1066
+ left: `${-r}px`,
1067
+ right: "0px",
1068
+ height: "auto"
1069
+ }), setTimeout(() => {
1070
+ requestAnimationFrame(() => {
1071
+ const h = l - (void 0).innerHeight;
1072
+ h && D.value >= l && ((void 0).body.style.top = `-${D.value + h}px`);
1073
+ });
1074
+ }, 300);
1075
+ }
1076
+ }
1077
+ function T() {
1078
+ if (Te() && Q !== null && !d.value) {
1079
+ const r = -Number.parseInt((void 0).body.style.top, 10), l = -Number.parseInt((void 0).body.style.left, 10);
1080
+ Object.assign((void 0).body.style, Q), (void 0).requestAnimationFrame(() => {
1081
+ if (w.value && v.value !== (void 0).location.href) {
1082
+ v.value = (void 0).location.href;
1083
+ return;
1084
+ }
1085
+ (void 0).scrollTo(l, r);
1086
+ }), Q = null;
1087
+ }
1088
+ }
1089
+ return watch([
1090
+ n,
1091
+ t,
1092
+ v
1093
+ ], () => {
1094
+ i.value || !t.value || (n.value ? ((void 0).matchMedia("(display-mode: standalone)").matches || $(), s.value || setTimeout(() => {
1095
+ T();
1096
+ }, 500)) : T());
1097
+ }), { restorePositionSetting: T };
1098
+ }
1099
+ function ht(e, n) {
1100
+ return e && e.value ? e : n;
1101
+ }
1102
+ function yt(e) {
1103
+ const { emitDrag: n, emitRelease: s, emitClose: i, emitOpenChange: t, open: w, dismissible: d, nested: v, modal: D, shouldScaleBackground: $, setBackgroundColorOnScale: T, scrollLockTimeout: r, closeThreshold: l, activeSnapPoint: h, fadeFromIndex: m, direction: u, noBodyStyles: L, handleOnly: H, preventScrollRestoration: p } = e, a = ref(w.value ?? false), c = ref(false), f = ref(false), y = ref(false), P = ref(null), x = ref(null), W = ref(null), te = ref(null), V = ref(null), j = ref(false), G = ref(null), z = ref(0), M = ref(false);
1104
+ ref(0);
1105
+ const g = ref(null);
1106
+ ref(0);
1107
+ const pe = computed(() => {
1108
+ var o;
1109
+ return ((o = g.value) == null ? void 0 : o.$el.getBoundingClientRect().height) || 0;
1110
+ }), U = ht(e.snapPoints, ref(void 0)), Ne = computed(() => {
1111
+ var o;
1112
+ return U && (((o = U.value) == null ? void 0 : o.length) ?? 0) > 0;
1113
+ }), Ae = ref(null), { activeSnapPointIndex: ge, onRelease: xe, snapPointsOffset: He, onDrag: Ue, shouldFade: me, getPercentageDragged: Le } = mt({
1114
+ snapPoints: U,
1115
+ activeSnapPoint: h,
1116
+ drawerRef: g,
1117
+ fadeFromIndex: m,
1118
+ overlayRef: P,
1119
+ onSnapPointChange: Me,
1120
+ direction: u
1121
+ });
1122
+ function Me(o, R) {
1123
+ U.value && o === R.length - 1 && (x.value = /* @__PURE__ */ new Date());
1124
+ }
1125
+ wt({
1126
+ isOpen: a,
1127
+ modal: D,
1128
+ nested: v,
1129
+ hasBeenOpened: c,
1130
+ noBodyStyles: L,
1131
+ preventScrollRestoration: p
1132
+ });
1133
+ function ne() {
1134
+ return ((void 0).innerWidth - Ce) / (void 0).innerWidth;
1135
+ }
1136
+ function we(o, R) {
1137
+ var k;
1138
+ if (!o) return false;
1139
+ let b = o;
1140
+ const B = (k = (void 0).getSelection()) == null ? void 0 : k.toString(), E = g.value ? ie(g.value.$el, u.value) : null, A = /* @__PURE__ */ new Date();
1141
+ if (b.hasAttribute("data-vaul-no-drag") || b.closest("[data-vaul-no-drag]")) return false;
1142
+ if (u.value === "right" || u.value === "left") return true;
1143
+ if (x.value && A.getTime() - x.value.getTime() < 500) return false;
1144
+ if (E !== null && (u.value === "bottom" ? E > 0 : E < 0)) return true;
1145
+ if (B && B.length > 0) return false;
1146
+ if (V.value && A.getTime() - V.value.getTime() < r.value && E === 0 || R) return V.value = A, false;
1147
+ for (; b;) {
1148
+ if (b.scrollHeight > b.clientHeight) {
1149
+ if (b.scrollTop !== 0) return V.value = /* @__PURE__ */ new Date(), false;
1150
+ if (b.getAttribute("role") === "dialog") return true;
1151
+ }
1152
+ b = b.parentNode;
1153
+ }
1154
+ return true;
1155
+ }
1156
+ function ke(o) {
1157
+ !d.value && !U.value || g.value && !g.value.$el.contains(o.target) || (f.value = true, W.value = /* @__PURE__ */ new Date(), o.target.setPointerCapture(o.pointerId), z.value = _(u.value) ? o.clientY : o.clientX);
1158
+ }
1159
+ function Ie(o) {
1160
+ var R, b, B, E, A, k;
1161
+ if (g.value && f.value) {
1162
+ const X = u.value === "bottom" || u.value === "right" ? 1 : -1, ae = (z.value - (_(u.value) ? o.clientY : o.clientX)) * X, le = ae > 0, ye = U.value && !d.value && !le;
1163
+ if (ye && ge.value === 0) return;
1164
+ const ce = Math.abs(ae), Se = (void 0).querySelector("[data-vaul-drawer-wrapper]") || (void 0).querySelector("[vaul-drawer-wrapper]");
1165
+ let q = ce / pe.value;
1166
+ const De = Le(ce, le);
1167
+ if (De !== null && (q = De), ye && q >= 1 || !j.value && !we(o.target, le)) return;
1168
+ if ((R = g == null ? void 0 : g.value) == null || R.$el.classList.add(Oe), j.value = true, C((b = g.value) == null ? void 0 : b.$el, { transition: "none" }), C((B = P.value) == null ? void 0 : B.$el, { transition: "none" }), U.value && Ue({ draggedDistance: ae }), le && !U.value) {
1169
+ const Y = vt(ae), oe = Math.min(Y * -1, 0) * X;
1170
+ C((E = g.value) == null ? void 0 : E.$el, { transform: _(u.value) ? `translate3d(0, ${oe}px, 0)` : `translate3d(${oe}px, 0, 0)` });
1171
+ return;
1172
+ }
1173
+ const qe = 1 - q;
1174
+ if ((me.value || m.value && ge.value === m.value - 1) && (n(q), C((A = P.value) == null ? void 0 : A.$el, {
1175
+ opacity: `${qe}`,
1176
+ transition: "none"
1177
+ }, true)), Se && P.value && $.value) {
1178
+ const Y = Math.min(ne() + q * (1 - ne()), 1), oe = 8 - q * 8, be = Math.max(0, 14 - q * 14);
1179
+ C(Se, {
1180
+ borderRadius: `${oe}px`,
1181
+ transform: _(u.value) ? `scale(${Y}) translate3d(0, ${be}px, 0)` : `scale(${Y}) translate3d(${be}px, 0, 0)`,
1182
+ transition: "none"
1183
+ }, true);
1184
+ }
1185
+ if (!U.value) {
1186
+ const Y = ce * X;
1187
+ C((k = g.value) == null ? void 0 : k.$el, { transform: _(u.value) ? `translate3d(0, ${Y}px, 0)` : `translate3d(${Y}px, 0, 0)` });
1188
+ }
1189
+ }
1190
+ }
1191
+ function he() {
1192
+ var b;
1193
+ if (!g.value) return;
1194
+ const o = (void 0).querySelector("[data-vaul-drawer-wrapper]") || (void 0).querySelector("[vaul-drawer-wrapper]"), R = ie(g.value.$el, u.value);
1195
+ C(g.value.$el, {
1196
+ transform: "translate3d(0, 0, 0)",
1197
+ transition: `transform ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`
1198
+ }), C((b = P.value) == null ? void 0 : b.$el, {
1199
+ transition: `opacity ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
1200
+ opacity: "1"
1201
+ }), $.value && R && R > 0 && a.value && C(o, {
1202
+ borderRadius: `${Be}px`,
1203
+ overflow: "hidden",
1204
+ ..._(u.value) ? {
1205
+ transform: `scale(${ne()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,
1206
+ transformOrigin: "top"
1207
+ } : {
1208
+ transform: `scale(${ne()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,
1209
+ transformOrigin: "left"
1210
+ },
1211
+ transitionProperty: "transform, border-radius",
1212
+ transitionDuration: `${O.DURATION}s`,
1213
+ transitionTimingFunction: `cubic-bezier(${O.EASE.join(",")})`
1214
+ }, true);
1215
+ }
1216
+ function K(o) {
1217
+ g.value && (i(), o || (a.value = false), (void 0).setTimeout(() => {
1218
+ U.value && (h.value = U.value[0]);
1219
+ }, O.DURATION * 1e3));
1220
+ }
1221
+ watchEffect(() => {
1222
+ if (!a.value && $.value && rt);
1223
+ }), watch(w, () => {
1224
+ a.value = w.value, w.value || K();
1225
+ });
1226
+ function We(o) {
1227
+ if (!f.value || !g.value) return;
1228
+ g.value.$el.classList.remove(Oe), j.value = false, f.value = false, te.value = /* @__PURE__ */ new Date();
1229
+ const R = ie(g.value.$el, u.value);
1230
+ if (!we(o.target, false) || !R || Number.isNaN(R) || W.value === null) return;
1231
+ const b = te.value.getTime() - W.value.getTime(), B = z.value - (_(u.value) ? o.clientY : o.clientX), E = Math.abs(B) / b;
1232
+ if (E > .05 && (y.value = true, (void 0).setTimeout(() => {
1233
+ y.value = false;
1234
+ }, 200)), U.value) {
1235
+ const k = u.value === "bottom" || u.value === "right" ? 1 : -1;
1236
+ xe({
1237
+ draggedDistance: B * k,
1238
+ closeDrawer: K,
1239
+ velocity: E,
1240
+ dismissible: d.value
1241
+ }), s(true);
1242
+ return;
1243
+ }
1244
+ if (u.value === "bottom" || u.value === "right" ? B > 0 : B < 0) {
1245
+ he(), s(true);
1246
+ return;
1247
+ }
1248
+ if (E > _e) {
1249
+ K(), s(false);
1250
+ return;
1251
+ }
1252
+ if (R >= Math.min(g.value.$el.getBoundingClientRect().height ?? 0, (void 0).innerHeight) * l.value) {
1253
+ K(), s(false);
1254
+ return;
1255
+ }
1256
+ s(true), he();
1257
+ }
1258
+ watch(a, (o) => {
1259
+ o && (x.value = /* @__PURE__ */ new Date()), t(o);
1260
+ }, { immediate: true });
1261
+ function Ve(o) {
1262
+ var B, E;
1263
+ const R = o ? ((void 0).innerWidth - re) / (void 0).innerWidth : 1, b = o ? -16 : 0;
1264
+ G.value && (void 0).clearTimeout(G.value), C((B = g.value) == null ? void 0 : B.$el, {
1265
+ transition: `transform ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
1266
+ transform: `scale(${R}) translate3d(0, ${b}px, 0)`
1267
+ }), !o && (E = g.value) != null && E.$el && (G.value = (void 0).setTimeout(() => {
1268
+ var k, X;
1269
+ const A = ie((k = g.value) == null ? void 0 : k.$el, u.value);
1270
+ C((X = g.value) == null ? void 0 : X.$el, {
1271
+ transition: "none",
1272
+ transform: _(u.value) ? `translate3d(0, ${A}px, 0)` : `translate3d(${A}px, 0, 0)`
1273
+ });
1274
+ }, 500));
1275
+ }
1276
+ function je(o) {
1277
+ var A;
1278
+ if (o < 0) return;
1279
+ const R = _(u.value) ? (void 0).innerHeight : (void 0).innerWidth, b = (R - re) / R, B = b + o * (1 - b), E = -16 + o * re;
1280
+ C((A = g.value) == null ? void 0 : A.$el, {
1281
+ transform: _(u.value) ? `scale(${B}) translate3d(0, ${E}px, 0)` : `scale(${B}) translate3d(${E}px, 0, 0)`,
1282
+ transition: "none"
1283
+ });
1284
+ }
1285
+ function ze(o) {
1286
+ var E;
1287
+ const R = _(u.value) ? (void 0).innerHeight : (void 0).innerWidth, b = o ? (R - re) / R : 1, B = o ? -16 : 0;
1288
+ o && C((E = g.value) == null ? void 0 : E.$el, {
1289
+ transition: `transform ${O.DURATION}s cubic-bezier(${O.EASE.join(",")})`,
1290
+ transform: _(u.value) ? `scale(${b}) translate3d(0, ${B}px, 0)` : `scale(${b}) translate3d(${B}px, 0, 0)`
1291
+ });
1292
+ }
1293
+ return {
1294
+ open: w,
1295
+ isOpen: a,
1296
+ modal: D,
1297
+ keyboardIsOpen: M,
1298
+ hasBeenOpened: c,
1299
+ drawerRef: g,
1300
+ drawerHeightRef: pe,
1301
+ overlayRef: P,
1302
+ handleRef: Ae,
1303
+ isDragging: f,
1304
+ dragStartTime: W,
1305
+ isAllowedToDrag: j,
1306
+ snapPoints: U,
1307
+ activeSnapPoint: h,
1308
+ hasSnapPoints: Ne,
1309
+ pointerStart: z,
1310
+ dismissible: d,
1311
+ snapPointsOffset: He,
1312
+ direction: u,
1313
+ shouldFade: me,
1314
+ fadeFromIndex: m,
1315
+ shouldScaleBackground: $,
1316
+ setBackgroundColorOnScale: T,
1317
+ onPress: ke,
1318
+ onDrag: Ie,
1319
+ onRelease: We,
1320
+ closeDrawer: K,
1321
+ onNestedDrag: je,
1322
+ onNestedRelease: ze,
1323
+ onNestedOpenChange: Ve,
1324
+ emitClose: i,
1325
+ emitDrag: n,
1326
+ emitRelease: s,
1327
+ emitOpenChange: t,
1328
+ nested: v,
1329
+ handleOnly: H,
1330
+ noBodyStyles: L
1331
+ };
1332
+ }
1333
+ var St = /* @__PURE__ */ defineComponent({
1334
+ __name: "DrawerRoot",
1335
+ props: {
1336
+ activeSnapPoint: { default: void 0 },
1337
+ closeThreshold: { default: pt },
1338
+ shouldScaleBackground: {
1339
+ type: Boolean,
1340
+ default: void 0
1341
+ },
1342
+ setBackgroundColorOnScale: {
1343
+ type: Boolean,
1344
+ default: true
1345
+ },
1346
+ scrollLockTimeout: { default: gt },
1347
+ fixed: {
1348
+ type: Boolean,
1349
+ default: void 0
1350
+ },
1351
+ dismissible: {
1352
+ type: Boolean,
1353
+ default: true
1354
+ },
1355
+ modal: {
1356
+ type: Boolean,
1357
+ default: true
1358
+ },
1359
+ open: {
1360
+ type: Boolean,
1361
+ default: void 0
1362
+ },
1363
+ defaultOpen: {
1364
+ type: Boolean,
1365
+ default: void 0
1366
+ },
1367
+ nested: {
1368
+ type: Boolean,
1369
+ default: false
1370
+ },
1371
+ direction: { default: "bottom" },
1372
+ noBodyStyles: { type: Boolean },
1373
+ handleOnly: {
1374
+ type: Boolean,
1375
+ default: false
1376
+ },
1377
+ preventScrollRestoration: { type: Boolean },
1378
+ snapPoints: { default: void 0 },
1379
+ fadeFromIndex: { default: void 0 }
1380
+ },
1381
+ emits: [
1382
+ "drag",
1383
+ "release",
1384
+ "close",
1385
+ "update:open",
1386
+ "update:activeSnapPoint",
1387
+ "animationEnd"
1388
+ ],
1389
+ setup(e, { expose: n, emit: s }) {
1390
+ const i = e, t = s;
1391
+ useSlots();
1392
+ const w = computed(() => i.fadeFromIndex ?? (i.snapPoints && i.snapPoints.length - 1)), d = $e(i, "open", t, {
1393
+ defaultValue: i.defaultOpen,
1394
+ passive: i.open === void 0
1395
+ }), v = $e(i, "activeSnapPoint", t, { passive: i.activeSnapPoint === void 0 }), D = {
1396
+ emitDrag: (m) => t("drag", m),
1397
+ emitRelease: (m) => t("release", m),
1398
+ emitClose: () => t("close"),
1399
+ emitOpenChange: (m) => {
1400
+ t("update:open", m), setTimeout(() => {
1401
+ t("animationEnd", m);
1402
+ }, O.DURATION * 1e3);
1403
+ }
1404
+ }, { closeDrawer: $, hasBeenOpened: T, modal: r, isOpen: l } = ct(yt({
1405
+ ...D,
1406
+ ...toRefs(i),
1407
+ activeSnapPoint: v,
1408
+ fadeFromIndex: w,
1409
+ open: d
1410
+ }));
1411
+ function h(m) {
1412
+ if (d.value !== void 0) {
1413
+ D.emitOpenChange(m);
1414
+ return;
1415
+ }
1416
+ l.value = m, m ? T.value = true : $();
1417
+ }
1418
+ return n({ open: l }), (m, u) => (openBlock(), createBlock(unref(DialogRoot_default), {
1419
+ open: unref(l),
1420
+ modal: unref(r),
1421
+ "onUpdate:open": h
1422
+ }, {
1423
+ default: withCtx(() => [renderSlot(m.$slots, "default", { open: unref(l) })]),
1424
+ _: 3
1425
+ }, 8, ["open", "modal"]));
1426
+ }
1427
+ });
1428
+ var _t = /* @__PURE__ */ defineComponent({
1429
+ __name: "DrawerRootNested",
1430
+ props: {
1431
+ activeSnapPoint: {},
1432
+ closeThreshold: {},
1433
+ shouldScaleBackground: { type: Boolean },
1434
+ setBackgroundColorOnScale: { type: Boolean },
1435
+ scrollLockTimeout: {},
1436
+ fixed: { type: Boolean },
1437
+ dismissible: { type: Boolean },
1438
+ modal: { type: Boolean },
1439
+ open: { type: Boolean },
1440
+ defaultOpen: { type: Boolean },
1441
+ nested: { type: Boolean },
1442
+ direction: {},
1443
+ noBodyStyles: { type: Boolean },
1444
+ handleOnly: { type: Boolean },
1445
+ preventScrollRestoration: { type: Boolean },
1446
+ snapPoints: {},
1447
+ fadeFromIndex: {}
1448
+ },
1449
+ emits: [
1450
+ "drag",
1451
+ "release",
1452
+ "close",
1453
+ "update:open",
1454
+ "update:activeSnapPoint",
1455
+ "animationEnd"
1456
+ ],
1457
+ setup(e, { emit: n }) {
1458
+ const s = e, i = n, { onNestedDrag: t, onNestedOpenChange: w, onNestedRelease: d } = ee();
1459
+ function v() {
1460
+ w(false);
1461
+ }
1462
+ function D(r) {
1463
+ t(r);
1464
+ }
1465
+ function $(r) {
1466
+ r && w(r), i("update:open", r);
1467
+ }
1468
+ const T = useForwardPropsEmits(s, i);
1469
+ return (r, l) => (openBlock(), createBlock(St, mergeProps(unref(T), {
1470
+ nested: "",
1471
+ onClose: v,
1472
+ onDrag: D,
1473
+ onRelease: unref(d),
1474
+ "onUpdate:open": $
1475
+ }), {
1476
+ default: withCtx(() => [renderSlot(r.$slots, "default")]),
1477
+ _: 3
1478
+ }, 16, ["onRelease"]));
1479
+ }
1480
+ });
1481
+ var Bt = /* @__PURE__ */ defineComponent({
1482
+ __name: "DrawerOverlay",
1483
+ setup(e) {
1484
+ const { overlayRef: n, hasSnapPoints: s, isOpen: i, shouldFade: t } = ee();
1485
+ return (w, d) => (openBlock(), createBlock(unref(DialogOverlay_default), {
1486
+ ref_key: "overlayRef",
1487
+ ref: n,
1488
+ "data-vaul-overlay": "",
1489
+ "data-vaul-snap-points": unref(i) && unref(s) ? "true" : "false",
1490
+ "data-vaul-snap-points-overlay": unref(i) && unref(t) ? "true" : "false"
1491
+ }, null, 8, ["data-vaul-snap-points", "data-vaul-snap-points-overlay"]));
1492
+ }
1493
+ });
1494
+ function bt() {
1495
+ const { direction: e, isOpen: n, shouldScaleBackground: s, setBackgroundColorOnScale: i, noBodyStyles: t } = ee(), w = ref(null), d = ref((void 0).body.style.backgroundColor);
1496
+ function v() {
1497
+ return ((void 0).innerWidth - Ce) / (void 0).innerWidth;
1498
+ }
1499
+ watchEffect((D) => {
1500
+ if (n.value && s.value) {
1501
+ w.value && clearTimeout(w.value);
1502
+ const $ = (void 0).querySelector("[data-vaul-drawer-wrapper]") || (void 0).querySelector("[vaul-drawer-wrapper]");
1503
+ if (!$) return;
1504
+ i.value && !t.value && de((void 0).body, { background: "black" }), de($, {
1505
+ transformOrigin: _(e.value) ? "top" : "left",
1506
+ transitionProperty: "transform, border-radius",
1507
+ transitionDuration: `${O.DURATION}s`,
1508
+ transitionTimingFunction: `cubic-bezier(${O.EASE.join(",")})`
1509
+ });
1510
+ const T = de($, {
1511
+ borderRadius: `${Be}px`,
1512
+ overflow: "hidden",
1513
+ ..._(e.value) ? { transform: `scale(${v()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)` } : { transform: `scale(${v()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)` }
1514
+ });
1515
+ D(() => {
1516
+ T(), w.value = (void 0).setTimeout(() => {
1517
+ d.value ? (void 0).body.style.background = d.value : (void 0).body.style.removeProperty("background");
1518
+ }, O.DURATION * 1e3);
1519
+ });
1520
+ }
1521
+ }, { flush: "pre" });
1522
+ }
1523
+ var Ct = /* @__PURE__ */ defineComponent({
1524
+ __name: "DrawerContent",
1525
+ setup(e) {
1526
+ const { open: n, isOpen: s, snapPointsOffset: i, hasSnapPoints: t, drawerRef: w, onPress: d, onDrag: v, onRelease: D, modal: $, emitOpenChange: T, dismissible: r, keyboardIsOpen: l, closeDrawer: h, direction: m, handleOnly: u } = ee();
1527
+ bt();
1528
+ const L = ref(false), H = computed(() => i.value && i.value.length > 0 ? `${i.value[0]}px` : "0");
1529
+ function p(f) {
1530
+ if (!$.value || f.defaultPrevented) {
1531
+ f.preventDefault();
1532
+ return;
1533
+ }
1534
+ l.value && (l.value = false), r.value ? T(false) : f.preventDefault();
1535
+ }
1536
+ function a(f) {
1537
+ u.value || d(f);
1538
+ }
1539
+ function c(f) {
1540
+ u.value || v(f);
1541
+ }
1542
+ return watchEffect(() => {
1543
+ t.value && (void 0).requestAnimationFrame(() => {
1544
+ L.value = true;
1545
+ });
1546
+ }), (f, y) => (openBlock(), createBlock(unref(DialogContent_default), {
1547
+ ref_key: "drawerRef",
1548
+ ref: w,
1549
+ "data-vaul-drawer": "",
1550
+ "data-vaul-drawer-direction": unref(m),
1551
+ "data-vaul-delayed-snap-points": L.value ? "true" : "false",
1552
+ "data-vaul-snap-points": unref(s) && unref(t) ? "true" : "false",
1553
+ style: normalizeStyle({ "--snap-point-height": H.value }),
1554
+ onPointerdown: a,
1555
+ onPointermove: c,
1556
+ onPointerup: unref(D),
1557
+ onPointerDownOutside: p,
1558
+ onOpenAutoFocus: y[0] || (y[0] = withModifiers(() => {}, ["prevent"])),
1559
+ onEscapeKeyDown: y[1] || (y[1] = (P) => {
1560
+ unref(r) || P.preventDefault();
1561
+ })
1562
+ }, {
1563
+ default: withCtx(() => [renderSlot(f.$slots, "default")]),
1564
+ _: 3
1565
+ }, 8, [
1566
+ "data-vaul-drawer-direction",
1567
+ "data-vaul-delayed-snap-points",
1568
+ "data-vaul-snap-points",
1569
+ "style",
1570
+ "onPointerup"
1571
+ ]));
1572
+ }
1573
+ });
1574
+ var $t = ["data-vaul-drawer-visible"];
1575
+ var Ot = {
1576
+ "data-vaul-handle-hitarea": "",
1577
+ "aria-hidden": "true"
1578
+ };
1579
+ var Tt = 250;
1580
+ var Pt = 120;
1581
+ var Nt = /* @__PURE__ */ defineComponent({
1582
+ __name: "DrawerHandle",
1583
+ props: { preventCycle: {
1584
+ type: Boolean,
1585
+ default: false
1586
+ } },
1587
+ setup(e) {
1588
+ const n = e, { onPress: s, onDrag: i, handleRef: t, handleOnly: w, isOpen: d, snapPoints: v, activeSnapPoint: D, isDragging: $, dismissible: T, closeDrawer: r } = ee(), l = ref(null), h = ref(false);
1589
+ function m() {
1590
+ if (h.value) {
1591
+ H();
1592
+ return;
1593
+ }
1594
+ (void 0).setTimeout(() => {
1595
+ u();
1596
+ }, Pt);
1597
+ }
1598
+ function u() {
1599
+ if ($.value || n.preventCycle || h.value) {
1600
+ H();
1601
+ return;
1602
+ }
1603
+ if (H(), !v.value || v.value.length === 0) {
1604
+ T.value || r();
1605
+ return;
1606
+ }
1607
+ const c = D.value === v.value[v.value.length - 1];
1608
+ if (c && T.value) {
1609
+ r();
1610
+ return;
1611
+ }
1612
+ const f = v.value.findIndex((P) => P === D.value);
1613
+ if (f === -1) return;
1614
+ const y = c ? 0 : f + 1;
1615
+ D.value = v.value[y];
1616
+ }
1617
+ function L() {
1618
+ l.value = (void 0).setTimeout(() => {
1619
+ h.value = true;
1620
+ }, Tt);
1621
+ }
1622
+ function H() {
1623
+ l.value && (void 0).clearTimeout(l.value), h.value = false;
1624
+ }
1625
+ function p(c) {
1626
+ w.value && s(c), L();
1627
+ }
1628
+ function a(c) {
1629
+ w.value && i(c);
1630
+ }
1631
+ return (c, f) => (openBlock(), createElementBlock("div", {
1632
+ ref_key: "handleRef",
1633
+ ref: t,
1634
+ "data-vaul-drawer-visible": unref(d) ? "true" : "false",
1635
+ "data-vaul-handle": "",
1636
+ "aria-hidden": "true",
1637
+ onClick: m,
1638
+ onPointercancel: H,
1639
+ onPointerdown: p,
1640
+ onPointermove: a
1641
+ }, [createElementVNode("span", Ot, [renderSlot(c.$slots, "default")])], 40, $t));
1642
+ }
1643
+ });
1644
+ //#endregion
1645
+ //#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdrawer.ts
1646
+ var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdrawer_default = {
1647
+ "slots": {
1648
+ "overlay": "fixed inset-0 bg-elevated/75",
1649
+ "content": "fixed bg-default ring ring-default flex focus:outline-none",
1650
+ "handle": ["shrink-0 !bg-accented", "transition-opacity"],
1651
+ "container": "w-full flex flex-col gap-4 p-4 overflow-y-auto",
1652
+ "header": "flex items-center gap-1.5 min-h-8",
1653
+ "wrapper": "min-w-0 flex-1",
1654
+ "title": "text-highlighted font-semibold",
1655
+ "description": "mt-1 text-muted text-sm",
1656
+ "actions": "flex items-center gap-1.5 shrink-0 ms-auto",
1657
+ "body": "flex-1",
1658
+ "footer": "flex flex-col gap-1.5",
1659
+ "close": ""
1660
+ },
1661
+ "variants": {
1662
+ "direction": {
1663
+ "top": {
1664
+ "content": "mb-24 flex-col-reverse",
1665
+ "handle": "mb-4"
1666
+ },
1667
+ "right": {
1668
+ "content": "flex-row rtl:flex-row-reverse",
1669
+ "handle": "!ml-4"
1670
+ },
1671
+ "bottom": {
1672
+ "content": "mt-24 flex-col",
1673
+ "handle": "mt-4"
1674
+ },
1675
+ "left": {
1676
+ "content": "flex-row-reverse rtl:flex-row",
1677
+ "handle": "!mr-4"
1678
+ }
1679
+ },
1680
+ "inset": { "true": { "content": "rounded-lg after:hidden overflow-hidden [--initial-transform:calc(100%+1.5rem)]" } },
1681
+ "snapPoints": { "true": "" }
1682
+ },
1683
+ "compoundVariants": [
1684
+ {
1685
+ "direction": ["top", "bottom"],
1686
+ "class": {
1687
+ "content": "h-auto max-h-[96%]",
1688
+ "handle": "!w-12 !h-1.5 mx-auto"
1689
+ }
1690
+ },
1691
+ {
1692
+ "direction": ["top", "bottom"],
1693
+ "snapPoints": true,
1694
+ "class": { "content": "h-full" }
1695
+ },
1696
+ {
1697
+ "direction": ["right", "left"],
1698
+ "class": {
1699
+ "content": "w-auto max-w-[calc(100%-2rem)]",
1700
+ "handle": "!h-12 !w-1.5 mt-auto mb-auto"
1701
+ }
1702
+ },
1703
+ {
1704
+ "direction": ["right", "left"],
1705
+ "snapPoints": true,
1706
+ "class": { "content": "w-full" }
1707
+ },
1708
+ {
1709
+ "direction": "top",
1710
+ "inset": true,
1711
+ "class": { "content": "inset-x-4 top-4" }
1712
+ },
1713
+ {
1714
+ "direction": "top",
1715
+ "inset": false,
1716
+ "class": { "content": "inset-x-0 top-0 rounded-b-lg" }
1717
+ },
1718
+ {
1719
+ "direction": "bottom",
1720
+ "inset": true,
1721
+ "class": { "content": "inset-x-4 bottom-4" }
1722
+ },
1723
+ {
1724
+ "direction": "bottom",
1725
+ "inset": false,
1726
+ "class": { "content": "inset-x-0 bottom-0 rounded-t-lg" }
1727
+ },
1728
+ {
1729
+ "direction": "left",
1730
+ "inset": true,
1731
+ "class": { "content": "inset-y-4 left-4" }
1732
+ },
1733
+ {
1734
+ "direction": "left",
1735
+ "inset": false,
1736
+ "class": { "content": "inset-y-0 left-0 rounded-r-lg" }
1737
+ },
1738
+ {
1739
+ "direction": "right",
1740
+ "inset": true,
1741
+ "class": { "content": "inset-y-4 right-4" }
1742
+ },
1743
+ {
1744
+ "direction": "right",
1745
+ "inset": false,
1746
+ "class": { "content": "inset-y-0 right-0 rounded-l-lg" }
1747
+ }
1748
+ ]
1749
+ };
1750
+ //#endregion
1751
+ //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Drawer.vue
1752
+ var _sfc_main$1 = {
1753
+ __name: "UDrawer",
1754
+ __ssrInlineRender: true,
1755
+ props: {
1756
+ as: {
1757
+ type: null,
1758
+ required: false
1759
+ },
1760
+ title: {
1761
+ type: String,
1762
+ required: false
1763
+ },
1764
+ description: {
1765
+ type: String,
1766
+ required: false
1767
+ },
1768
+ inset: {
1769
+ type: Boolean,
1770
+ required: false
1771
+ },
1772
+ content: {
1773
+ type: Object,
1774
+ required: false
1775
+ },
1776
+ overlay: {
1777
+ type: Boolean,
1778
+ required: false,
1779
+ default: true
1780
+ },
1781
+ handle: {
1782
+ type: Boolean,
1783
+ required: false,
1784
+ default: true
1785
+ },
1786
+ portal: {
1787
+ type: [Boolean, String],
1788
+ required: false,
1789
+ skipCheck: true,
1790
+ default: true
1791
+ },
1792
+ nested: {
1793
+ type: Boolean,
1794
+ required: false
1795
+ },
1796
+ close: {
1797
+ type: [Boolean, Object],
1798
+ required: false
1799
+ },
1800
+ closeIcon: {
1801
+ type: null,
1802
+ required: false
1803
+ },
1804
+ class: {
1805
+ type: null,
1806
+ required: false
1807
+ },
1808
+ ui: {
1809
+ type: Object,
1810
+ required: false
1811
+ },
1812
+ activeSnapPoint: {
1813
+ type: [
1814
+ Number,
1815
+ String,
1816
+ null
1817
+ ],
1818
+ required: false
1819
+ },
1820
+ closeThreshold: {
1821
+ type: Number,
1822
+ required: false
1823
+ },
1824
+ shouldScaleBackground: {
1825
+ type: Boolean,
1826
+ required: false
1827
+ },
1828
+ setBackgroundColorOnScale: {
1829
+ type: Boolean,
1830
+ required: false
1831
+ },
1832
+ scrollLockTimeout: {
1833
+ type: Number,
1834
+ required: false
1835
+ },
1836
+ fixed: {
1837
+ type: Boolean,
1838
+ required: false
1839
+ },
1840
+ dismissible: {
1841
+ type: Boolean,
1842
+ required: false,
1843
+ default: true
1844
+ },
1845
+ modal: {
1846
+ type: Boolean,
1847
+ required: false,
1848
+ default: true
1849
+ },
1850
+ open: {
1851
+ type: Boolean,
1852
+ required: false
1853
+ },
1854
+ defaultOpen: {
1855
+ type: Boolean,
1856
+ required: false
1857
+ },
1858
+ direction: {
1859
+ type: String,
1860
+ required: false,
1861
+ default: "bottom"
1862
+ },
1863
+ noBodyStyles: {
1864
+ type: Boolean,
1865
+ required: false
1866
+ },
1867
+ handleOnly: {
1868
+ type: Boolean,
1869
+ required: false
1870
+ },
1871
+ preventScrollRestoration: {
1872
+ type: Boolean,
1873
+ required: false
1874
+ },
1875
+ snapPoints: {
1876
+ type: Array,
1877
+ required: false
1878
+ }
1879
+ },
1880
+ emits: [
1881
+ "close:prevent",
1882
+ "drag",
1883
+ "release",
1884
+ "close",
1885
+ "update:open",
1886
+ "update:activeSnapPoint",
1887
+ "animationEnd"
1888
+ ],
1889
+ setup(__props, { emit: __emit }) {
1890
+ const _props = __props;
1891
+ const emits = __emit;
1892
+ const slots = useSlots();
1893
+ const props = useComponentProps("drawer", _props);
1894
+ const { t } = useLocale();
1895
+ const appConfig = useAppConfig();
1896
+ const rootProps = useForwardProps(reactivePick(props, "activeSnapPoint", "closeThreshold", "shouldScaleBackground", "setBackgroundColorOnScale", "scrollLockTimeout", "fixed", "dismissible", "modal", "open", "defaultOpen", "nested", "direction", "noBodyStyles", "handleOnly", "preventScrollRestoration", "snapPoints"), emits);
1897
+ const portalProps = usePortal(toRef(() => props.portal));
1898
+ const contentProps = toRef(() => props.content);
1899
+ const contentEvents = computed(() => {
1900
+ if (!props.dismissible) return ["interactOutside", "escapeKeyDown"].reduce((acc, curr) => {
1901
+ acc[curr] = (e) => {
1902
+ e.preventDefault();
1903
+ emits("close:prevent");
1904
+ };
1905
+ return acc;
1906
+ }, {});
1907
+ return { pointerDownOutside };
1908
+ });
1909
+ const ui = computed(() => tv({
1910
+ extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdrawer_default,
1911
+ ...appConfig.ui?.drawer || {}
1912
+ })({
1913
+ direction: props.direction,
1914
+ inset: props.inset,
1915
+ snapPoints: props.snapPoints && props.snapPoints.length > 0
1916
+ }));
1917
+ return (_ctx, _push, _parent, _attrs) => {
1918
+ ssrRenderVNode(_push, createVNode(resolveDynamicComponent(unref(props).nested ? unref(_t) : unref(St)), mergeProps(unref(rootProps), _attrs), {
1919
+ default: withCtx((_, _push, _parent, _scopeId) => {
1920
+ if (_push) {
1921
+ if (!!slots.default) _push(ssrRenderComponent(unref(DialogTrigger_default), {
1922
+ "as-child": "",
1923
+ class: unref(props).class
1924
+ }, {
1925
+ default: withCtx((_, _push, _parent, _scopeId) => {
1926
+ if (_push) ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent, _scopeId);
1927
+ else return [renderSlot(_ctx.$slots, "default")];
1928
+ }),
1929
+ _: 3
1930
+ }, _parent, _scopeId));
1931
+ else _push(`<!---->`);
1932
+ _push(ssrRenderComponent(unref(DialogPortal_default), unref(portalProps), {
1933
+ default: withCtx((_, _push, _parent, _scopeId) => {
1934
+ if (_push) _push(ssrRenderComponent(unref(FieldGroupReset), null, {
1935
+ default: withCtx((_, _push, _parent, _scopeId) => {
1936
+ if (_push) {
1937
+ if (unref(props).overlay) _push(ssrRenderComponent(unref(Bt), {
1938
+ "data-slot": "overlay",
1939
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
1940
+ }, null, _parent, _scopeId));
1941
+ else _push(`<!---->`);
1942
+ _push(ssrRenderComponent(unref(Ct), mergeProps({
1943
+ "data-slot": "content",
1944
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] })
1945
+ }, contentProps.value, toHandlers(contentEvents.value)), {
1946
+ default: withCtx((_, _push, _parent, _scopeId) => {
1947
+ if (_push) {
1948
+ if (unref(props).handle) _push(ssrRenderComponent(unref(Nt), {
1949
+ "data-slot": "handle",
1950
+ class: ui.value.handle({ class: unref(props).ui?.handle })
1951
+ }, null, _parent, _scopeId));
1952
+ else _push(`<!---->`);
1953
+ if (!unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content) _push(ssrRenderComponent(unref(VisuallyHidden_default), null, {
1954
+ default: withCtx((_, _push, _parent, _scopeId) => {
1955
+ if (_push) {
1956
+ if (!unref(props).title && !slots.title) _push(ssrRenderComponent(unref(DialogTitle_default), null, null, _parent, _scopeId));
1957
+ else if (!!slots.content) _push(ssrRenderComponent(unref(DialogTitle_default), null, {
1958
+ default: withCtx((_, _push, _parent, _scopeId) => {
1959
+ if (_push) ssrRenderSlot(_ctx.$slots, "title", {}, () => {
1960
+ _push(`${ssrInterpolate(unref(props).title)}`);
1961
+ }, _push, _parent, _scopeId);
1962
+ else return [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])];
1963
+ }),
1964
+ _: 3
1965
+ }, _parent, _scopeId));
1966
+ else _push(`<!---->`);
1967
+ if (!unref(props).description && !slots.description) _push(ssrRenderComponent(unref(DialogDescription_default), null, null, _parent, _scopeId));
1968
+ else if (!!slots.content) _push(ssrRenderComponent(unref(DialogDescription_default), null, {
1969
+ default: withCtx((_, _push, _parent, _scopeId) => {
1970
+ if (_push) ssrRenderSlot(_ctx.$slots, "description", {}, () => {
1971
+ _push(`${ssrInterpolate(unref(props).description)}`);
1972
+ }, _push, _parent, _scopeId);
1973
+ else return [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])];
1974
+ }),
1975
+ _: 3
1976
+ }, _parent, _scopeId));
1977
+ else _push(`<!---->`);
1978
+ } else return [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
1979
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
1980
+ _: 3
1981
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
1982
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
1983
+ _: 3
1984
+ })) : createCommentVNode("", true)];
1985
+ }),
1986
+ _: 3
1987
+ }, _parent, _scopeId));
1988
+ else _push(`<!---->`);
1989
+ ssrRenderSlot(_ctx.$slots, "content", {}, () => {
1990
+ _push(`<div data-slot="container" class="${ssrRenderClass(ui.value.container({ class: unref(props).ui?.container }))}"${_scopeId}>`);
1991
+ if (!!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close || !!slots.actions) {
1992
+ _push(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class: unref(props).ui?.header }))}"${_scopeId}>`);
1993
+ ssrRenderSlot(_ctx.$slots, "header", {}, () => {
1994
+ if (unref(props).title || !!slots.title || unref(props).description || !!slots.description) {
1995
+ _push(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class: unref(props).ui?.wrapper }))}"${_scopeId}>`);
1996
+ if (unref(props).title || !!slots.title) _push(ssrRenderComponent(unref(DialogTitle_default), {
1997
+ "data-slot": "title",
1998
+ class: ui.value.title({ class: unref(props).ui?.title })
1999
+ }, {
2000
+ default: withCtx((_, _push, _parent, _scopeId) => {
2001
+ if (_push) ssrRenderSlot(_ctx.$slots, "title", {}, () => {
2002
+ _push(`${ssrInterpolate(unref(props).title)}`);
2003
+ }, _push, _parent, _scopeId);
2004
+ else return [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])];
2005
+ }),
2006
+ _: 3
2007
+ }, _parent, _scopeId));
2008
+ else _push(`<!---->`);
2009
+ if (unref(props).description || !!slots.description) _push(ssrRenderComponent(unref(DialogDescription_default), {
2010
+ "data-slot": "description",
2011
+ class: ui.value.description({ class: unref(props).ui?.description })
2012
+ }, {
2013
+ default: withCtx((_, _push, _parent, _scopeId) => {
2014
+ if (_push) ssrRenderSlot(_ctx.$slots, "description", {}, () => {
2015
+ _push(`${ssrInterpolate(unref(props).description)}`);
2016
+ }, _push, _parent, _scopeId);
2017
+ else return [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])];
2018
+ }),
2019
+ _: 3
2020
+ }, _parent, _scopeId));
2021
+ else _push(`<!---->`);
2022
+ _push(`</div>`);
2023
+ } else _push(`<!---->`);
2024
+ if (!!slots.actions || unref(props).close || !!slots.close) {
2025
+ _push(`<div data-slot="actions" class="${ssrRenderClass(ui.value.actions({ class: unref(props).ui?.actions }))}"${_scopeId}>`);
2026
+ ssrRenderSlot(_ctx.$slots, "actions", {}, null, _push, _parent, _scopeId);
2027
+ if (unref(props).close || !!slots.close) _push(ssrRenderComponent(unref(DialogClose_default), { "as-child": "" }, {
2028
+ default: withCtx((_, _push, _parent, _scopeId) => {
2029
+ if (_push) ssrRenderSlot(_ctx.$slots, "close", { ui: ui.value }, () => {
2030
+ if (unref(props).close) _push(ssrRenderComponent(_sfc_main$5, mergeProps({
2031
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
2032
+ color: "neutral",
2033
+ variant: "ghost",
2034
+ "aria-label": unref(t)("drawer.close")
2035
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
2036
+ "data-slot": "close",
2037
+ class: ui.value.close({ class: unref(props).ui?.close })
2038
+ }), null, _parent, _scopeId));
2039
+ else _push(`<!---->`);
2040
+ }, _push, _parent, _scopeId);
2041
+ else return [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
2042
+ key: 0,
2043
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
2044
+ color: "neutral",
2045
+ variant: "ghost",
2046
+ "aria-label": unref(t)("drawer.close")
2047
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
2048
+ "data-slot": "close",
2049
+ class: ui.value.close({ class: unref(props).ui?.close })
2050
+ }), null, 16, [
2051
+ "icon",
2052
+ "aria-label",
2053
+ "class"
2054
+ ])) : createCommentVNode("", true)])];
2055
+ }),
2056
+ _: 3
2057
+ }, _parent, _scopeId));
2058
+ else _push(`<!---->`);
2059
+ _push(`</div>`);
2060
+ } else _push(`<!---->`);
2061
+ }, _push, _parent, _scopeId);
2062
+ _push(`</div>`);
2063
+ } else _push(`<!---->`);
2064
+ if (!!slots.body) {
2065
+ _push(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class: unref(props).ui?.body }))}"${_scopeId}>`);
2066
+ ssrRenderSlot(_ctx.$slots, "body", {}, null, _push, _parent, _scopeId);
2067
+ _push(`</div>`);
2068
+ } else _push(`<!---->`);
2069
+ if (!!slots.footer) {
2070
+ _push(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class: unref(props).ui?.footer }))}"${_scopeId}>`);
2071
+ ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push, _parent, _scopeId);
2072
+ _push(`</div>`);
2073
+ } else _push(`<!---->`);
2074
+ _push(`</div>`);
2075
+ }, _push, _parent, _scopeId);
2076
+ } else return [
2077
+ unref(props).handle ? (openBlock(), createBlock(unref(Nt), {
2078
+ key: 0,
2079
+ "data-slot": "handle",
2080
+ class: ui.value.handle({ class: unref(props).ui?.handle })
2081
+ }, null, 8, ["class"])) : createCommentVNode("", true),
2082
+ !unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content ? (openBlock(), createBlock(unref(VisuallyHidden_default), { key: 1 }, {
2083
+ default: withCtx(() => [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
2084
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
2085
+ _: 3
2086
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
2087
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
2088
+ _: 3
2089
+ })) : createCommentVNode("", true)]),
2090
+ _: 3
2091
+ })) : createCommentVNode("", true),
2092
+ renderSlot(_ctx.$slots, "content", {}, () => [createVNode("div", {
2093
+ "data-slot": "container",
2094
+ class: ui.value.container({ class: unref(props).ui?.container })
2095
+ }, [
2096
+ !!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close || !!slots.actions ? (openBlock(), createBlock("div", {
2097
+ key: 0,
2098
+ "data-slot": "header",
2099
+ class: ui.value.header({ class: unref(props).ui?.header })
2100
+ }, [renderSlot(_ctx.$slots, "header", {}, () => [unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
2101
+ key: 0,
2102
+ "data-slot": "wrapper",
2103
+ class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
2104
+ }, [unref(props).title || !!slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), {
2105
+ key: 0,
2106
+ "data-slot": "title",
2107
+ class: ui.value.title({ class: unref(props).ui?.title })
2108
+ }, {
2109
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
2110
+ _: 3
2111
+ }, 8, ["class"])) : createCommentVNode("", true), unref(props).description || !!slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), {
2112
+ key: 1,
2113
+ "data-slot": "description",
2114
+ class: ui.value.description({ class: unref(props).ui?.description })
2115
+ }, {
2116
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
2117
+ _: 3
2118
+ }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true), !!slots.actions || unref(props).close || !!slots.close ? (openBlock(), createBlock("div", {
2119
+ key: 1,
2120
+ "data-slot": "actions",
2121
+ class: ui.value.actions({ class: unref(props).ui?.actions })
2122
+ }, [renderSlot(_ctx.$slots, "actions"), unref(props).close || !!slots.close ? (openBlock(), createBlock(unref(DialogClose_default), {
2123
+ key: 0,
2124
+ "as-child": ""
2125
+ }, {
2126
+ default: withCtx(() => [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
2127
+ key: 0,
2128
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
2129
+ color: "neutral",
2130
+ variant: "ghost",
2131
+ "aria-label": unref(t)("drawer.close")
2132
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
2133
+ "data-slot": "close",
2134
+ class: ui.value.close({ class: unref(props).ui?.close })
2135
+ }), null, 16, [
2136
+ "icon",
2137
+ "aria-label",
2138
+ "class"
2139
+ ])) : createCommentVNode("", true)])]),
2140
+ _: 3
2141
+ })) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true),
2142
+ !!slots.body ? (openBlock(), createBlock("div", {
2143
+ key: 1,
2144
+ "data-slot": "body",
2145
+ class: ui.value.body({ class: unref(props).ui?.body })
2146
+ }, [renderSlot(_ctx.$slots, "body")], 2)) : createCommentVNode("", true),
2147
+ !!slots.footer ? (openBlock(), createBlock("div", {
2148
+ key: 2,
2149
+ "data-slot": "footer",
2150
+ class: ui.value.footer({ class: unref(props).ui?.footer })
2151
+ }, [renderSlot(_ctx.$slots, "footer")], 2)) : createCommentVNode("", true)
2152
+ ], 2)])
2153
+ ];
2154
+ }),
2155
+ _: 3
2156
+ }, _parent, _scopeId));
2157
+ } else return [unref(props).overlay ? (openBlock(), createBlock(unref(Bt), {
2158
+ key: 0,
2159
+ "data-slot": "overlay",
2160
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
2161
+ }, null, 8, ["class"])) : createCommentVNode("", true), createVNode(unref(Ct), mergeProps({
2162
+ "data-slot": "content",
2163
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] })
2164
+ }, contentProps.value, toHandlers(contentEvents.value)), {
2165
+ default: withCtx(() => [
2166
+ unref(props).handle ? (openBlock(), createBlock(unref(Nt), {
2167
+ key: 0,
2168
+ "data-slot": "handle",
2169
+ class: ui.value.handle({ class: unref(props).ui?.handle })
2170
+ }, null, 8, ["class"])) : createCommentVNode("", true),
2171
+ !unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content ? (openBlock(), createBlock(unref(VisuallyHidden_default), { key: 1 }, {
2172
+ default: withCtx(() => [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
2173
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
2174
+ _: 3
2175
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
2176
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
2177
+ _: 3
2178
+ })) : createCommentVNode("", true)]),
2179
+ _: 3
2180
+ })) : createCommentVNode("", true),
2181
+ renderSlot(_ctx.$slots, "content", {}, () => [createVNode("div", {
2182
+ "data-slot": "container",
2183
+ class: ui.value.container({ class: unref(props).ui?.container })
2184
+ }, [
2185
+ !!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close || !!slots.actions ? (openBlock(), createBlock("div", {
2186
+ key: 0,
2187
+ "data-slot": "header",
2188
+ class: ui.value.header({ class: unref(props).ui?.header })
2189
+ }, [renderSlot(_ctx.$slots, "header", {}, () => [unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
2190
+ key: 0,
2191
+ "data-slot": "wrapper",
2192
+ class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
2193
+ }, [unref(props).title || !!slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), {
2194
+ key: 0,
2195
+ "data-slot": "title",
2196
+ class: ui.value.title({ class: unref(props).ui?.title })
2197
+ }, {
2198
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
2199
+ _: 3
2200
+ }, 8, ["class"])) : createCommentVNode("", true), unref(props).description || !!slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), {
2201
+ key: 1,
2202
+ "data-slot": "description",
2203
+ class: ui.value.description({ class: unref(props).ui?.description })
2204
+ }, {
2205
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
2206
+ _: 3
2207
+ }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true), !!slots.actions || unref(props).close || !!slots.close ? (openBlock(), createBlock("div", {
2208
+ key: 1,
2209
+ "data-slot": "actions",
2210
+ class: ui.value.actions({ class: unref(props).ui?.actions })
2211
+ }, [renderSlot(_ctx.$slots, "actions"), unref(props).close || !!slots.close ? (openBlock(), createBlock(unref(DialogClose_default), {
2212
+ key: 0,
2213
+ "as-child": ""
2214
+ }, {
2215
+ default: withCtx(() => [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
2216
+ key: 0,
2217
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
2218
+ color: "neutral",
2219
+ variant: "ghost",
2220
+ "aria-label": unref(t)("drawer.close")
2221
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
2222
+ "data-slot": "close",
2223
+ class: ui.value.close({ class: unref(props).ui?.close })
2224
+ }), null, 16, [
2225
+ "icon",
2226
+ "aria-label",
2227
+ "class"
2228
+ ])) : createCommentVNode("", true)])]),
2229
+ _: 3
2230
+ })) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true),
2231
+ !!slots.body ? (openBlock(), createBlock("div", {
2232
+ key: 1,
2233
+ "data-slot": "body",
2234
+ class: ui.value.body({ class: unref(props).ui?.body })
2235
+ }, [renderSlot(_ctx.$slots, "body")], 2)) : createCommentVNode("", true),
2236
+ !!slots.footer ? (openBlock(), createBlock("div", {
2237
+ key: 2,
2238
+ "data-slot": "footer",
2239
+ class: ui.value.footer({ class: unref(props).ui?.footer })
2240
+ }, [renderSlot(_ctx.$slots, "footer")], 2)) : createCommentVNode("", true)
2241
+ ], 2)])
2242
+ ]),
2243
+ _: 3
2244
+ }, 16, ["class"])];
2245
+ }),
2246
+ _: 3
2247
+ }, _parent, _scopeId));
2248
+ else return [createVNode(unref(FieldGroupReset), null, {
2249
+ default: withCtx(() => [unref(props).overlay ? (openBlock(), createBlock(unref(Bt), {
2250
+ key: 0,
2251
+ "data-slot": "overlay",
2252
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
2253
+ }, null, 8, ["class"])) : createCommentVNode("", true), createVNode(unref(Ct), mergeProps({
2254
+ "data-slot": "content",
2255
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] })
2256
+ }, contentProps.value, toHandlers(contentEvents.value)), {
2257
+ default: withCtx(() => [
2258
+ unref(props).handle ? (openBlock(), createBlock(unref(Nt), {
2259
+ key: 0,
2260
+ "data-slot": "handle",
2261
+ class: ui.value.handle({ class: unref(props).ui?.handle })
2262
+ }, null, 8, ["class"])) : createCommentVNode("", true),
2263
+ !unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content ? (openBlock(), createBlock(unref(VisuallyHidden_default), { key: 1 }, {
2264
+ default: withCtx(() => [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
2265
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
2266
+ _: 3
2267
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
2268
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
2269
+ _: 3
2270
+ })) : createCommentVNode("", true)]),
2271
+ _: 3
2272
+ })) : createCommentVNode("", true),
2273
+ renderSlot(_ctx.$slots, "content", {}, () => [createVNode("div", {
2274
+ "data-slot": "container",
2275
+ class: ui.value.container({ class: unref(props).ui?.container })
2276
+ }, [
2277
+ !!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close || !!slots.actions ? (openBlock(), createBlock("div", {
2278
+ key: 0,
2279
+ "data-slot": "header",
2280
+ class: ui.value.header({ class: unref(props).ui?.header })
2281
+ }, [renderSlot(_ctx.$slots, "header", {}, () => [unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
2282
+ key: 0,
2283
+ "data-slot": "wrapper",
2284
+ class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
2285
+ }, [unref(props).title || !!slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), {
2286
+ key: 0,
2287
+ "data-slot": "title",
2288
+ class: ui.value.title({ class: unref(props).ui?.title })
2289
+ }, {
2290
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
2291
+ _: 3
2292
+ }, 8, ["class"])) : createCommentVNode("", true), unref(props).description || !!slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), {
2293
+ key: 1,
2294
+ "data-slot": "description",
2295
+ class: ui.value.description({ class: unref(props).ui?.description })
2296
+ }, {
2297
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
2298
+ _: 3
2299
+ }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true), !!slots.actions || unref(props).close || !!slots.close ? (openBlock(), createBlock("div", {
2300
+ key: 1,
2301
+ "data-slot": "actions",
2302
+ class: ui.value.actions({ class: unref(props).ui?.actions })
2303
+ }, [renderSlot(_ctx.$slots, "actions"), unref(props).close || !!slots.close ? (openBlock(), createBlock(unref(DialogClose_default), {
2304
+ key: 0,
2305
+ "as-child": ""
2306
+ }, {
2307
+ default: withCtx(() => [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
2308
+ key: 0,
2309
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
2310
+ color: "neutral",
2311
+ variant: "ghost",
2312
+ "aria-label": unref(t)("drawer.close")
2313
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
2314
+ "data-slot": "close",
2315
+ class: ui.value.close({ class: unref(props).ui?.close })
2316
+ }), null, 16, [
2317
+ "icon",
2318
+ "aria-label",
2319
+ "class"
2320
+ ])) : createCommentVNode("", true)])]),
2321
+ _: 3
2322
+ })) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true),
2323
+ !!slots.body ? (openBlock(), createBlock("div", {
2324
+ key: 1,
2325
+ "data-slot": "body",
2326
+ class: ui.value.body({ class: unref(props).ui?.body })
2327
+ }, [renderSlot(_ctx.$slots, "body")], 2)) : createCommentVNode("", true),
2328
+ !!slots.footer ? (openBlock(), createBlock("div", {
2329
+ key: 2,
2330
+ "data-slot": "footer",
2331
+ class: ui.value.footer({ class: unref(props).ui?.footer })
2332
+ }, [renderSlot(_ctx.$slots, "footer")], 2)) : createCommentVNode("", true)
2333
+ ], 2)])
2334
+ ]),
2335
+ _: 3
2336
+ }, 16, ["class"])]),
2337
+ _: 3
2338
+ })];
2339
+ }),
2340
+ _: 3
2341
+ }, _parent, _scopeId));
2342
+ } else return [!!slots.default ? (openBlock(), createBlock(unref(DialogTrigger_default), {
2343
+ key: 0,
2344
+ "as-child": "",
2345
+ class: unref(props).class
2346
+ }, {
2347
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
2348
+ _: 3
2349
+ }, 8, ["class"])) : createCommentVNode("", true), createVNode(unref(DialogPortal_default), unref(portalProps), {
2350
+ default: withCtx(() => [createVNode(unref(FieldGroupReset), null, {
2351
+ default: withCtx(() => [unref(props).overlay ? (openBlock(), createBlock(unref(Bt), {
2352
+ key: 0,
2353
+ "data-slot": "overlay",
2354
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
2355
+ }, null, 8, ["class"])) : createCommentVNode("", true), createVNode(unref(Ct), mergeProps({
2356
+ "data-slot": "content",
2357
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] })
2358
+ }, contentProps.value, toHandlers(contentEvents.value)), {
2359
+ default: withCtx(() => [
2360
+ unref(props).handle ? (openBlock(), createBlock(unref(Nt), {
2361
+ key: 0,
2362
+ "data-slot": "handle",
2363
+ class: ui.value.handle({ class: unref(props).ui?.handle })
2364
+ }, null, 8, ["class"])) : createCommentVNode("", true),
2365
+ !unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content ? (openBlock(), createBlock(unref(VisuallyHidden_default), { key: 1 }, {
2366
+ default: withCtx(() => [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
2367
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
2368
+ _: 3
2369
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
2370
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
2371
+ _: 3
2372
+ })) : createCommentVNode("", true)]),
2373
+ _: 3
2374
+ })) : createCommentVNode("", true),
2375
+ renderSlot(_ctx.$slots, "content", {}, () => [createVNode("div", {
2376
+ "data-slot": "container",
2377
+ class: ui.value.container({ class: unref(props).ui?.container })
2378
+ }, [
2379
+ !!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close || !!slots.actions ? (openBlock(), createBlock("div", {
2380
+ key: 0,
2381
+ "data-slot": "header",
2382
+ class: ui.value.header({ class: unref(props).ui?.header })
2383
+ }, [renderSlot(_ctx.$slots, "header", {}, () => [unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
2384
+ key: 0,
2385
+ "data-slot": "wrapper",
2386
+ class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
2387
+ }, [unref(props).title || !!slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), {
2388
+ key: 0,
2389
+ "data-slot": "title",
2390
+ class: ui.value.title({ class: unref(props).ui?.title })
2391
+ }, {
2392
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
2393
+ _: 3
2394
+ }, 8, ["class"])) : createCommentVNode("", true), unref(props).description || !!slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), {
2395
+ key: 1,
2396
+ "data-slot": "description",
2397
+ class: ui.value.description({ class: unref(props).ui?.description })
2398
+ }, {
2399
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
2400
+ _: 3
2401
+ }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true), !!slots.actions || unref(props).close || !!slots.close ? (openBlock(), createBlock("div", {
2402
+ key: 1,
2403
+ "data-slot": "actions",
2404
+ class: ui.value.actions({ class: unref(props).ui?.actions })
2405
+ }, [renderSlot(_ctx.$slots, "actions"), unref(props).close || !!slots.close ? (openBlock(), createBlock(unref(DialogClose_default), {
2406
+ key: 0,
2407
+ "as-child": ""
2408
+ }, {
2409
+ default: withCtx(() => [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$5, mergeProps({
2410
+ key: 0,
2411
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
2412
+ color: "neutral",
2413
+ variant: "ghost",
2414
+ "aria-label": unref(t)("drawer.close")
2415
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
2416
+ "data-slot": "close",
2417
+ class: ui.value.close({ class: unref(props).ui?.close })
2418
+ }), null, 16, [
2419
+ "icon",
2420
+ "aria-label",
2421
+ "class"
2422
+ ])) : createCommentVNode("", true)])]),
2423
+ _: 3
2424
+ })) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true),
2425
+ !!slots.body ? (openBlock(), createBlock("div", {
2426
+ key: 1,
2427
+ "data-slot": "body",
2428
+ class: ui.value.body({ class: unref(props).ui?.body })
2429
+ }, [renderSlot(_ctx.$slots, "body")], 2)) : createCommentVNode("", true),
2430
+ !!slots.footer ? (openBlock(), createBlock("div", {
2431
+ key: 2,
2432
+ "data-slot": "footer",
2433
+ class: ui.value.footer({ class: unref(props).ui?.footer })
2434
+ }, [renderSlot(_ctx.$slots, "footer")], 2)) : createCommentVNode("", true)
2435
+ ], 2)])
2436
+ ]),
2437
+ _: 3
2438
+ }, 16, ["class"])]),
2439
+ _: 3
2440
+ })]),
2441
+ _: 3
2442
+ }, 16)];
2443
+ }),
2444
+ _: 3
2445
+ }), _parent);
2446
+ };
2447
+ }
2448
+ };
2449
+ var _sfc_setup$2 = _sfc_main$1.setup;
2450
+ _sfc_main$1.setup = (props, ctx) => {
2451
+ const ssrContext = useSSRContext();
2452
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Drawer.vue");
2453
+ return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
2454
+ };
2455
+ //#endregion
2456
+ //#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-sidebar.ts
2457
+ var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_sidebar_default = {
2458
+ "slots": {
2459
+ "root": "relative hidden lg:flex flex-col min-h-svh min-w-16 w-(--width) shrink-0",
2460
+ "header": "h-(--ui-header-height) shrink-0 flex items-center gap-1.5 px-4",
2461
+ "body": "flex flex-col gap-4 flex-1 overflow-y-auto px-4 py-2",
2462
+ "footer": "shrink-0 flex items-center gap-1.5 px-4 py-2",
2463
+ "toggle": "",
2464
+ "handle": "",
2465
+ "content": "lg:hidden",
2466
+ "overlay": "lg:hidden"
2467
+ },
2468
+ "variants": {
2469
+ "menu": { "true": {
2470
+ "header": "sm:px-6",
2471
+ "body": "sm:px-6",
2472
+ "footer": "sm:px-6"
2473
+ } },
2474
+ "side": {
2475
+ "left": { "root": "border-e border-default" },
2476
+ "right": { "root": "" }
2477
+ },
2478
+ "toggleSide": {
2479
+ "left": { "toggle": "" },
2480
+ "right": { "toggle": "ms-auto" }
2481
+ }
2482
+ }
2483
+ };
2484
+ //#endregion
2485
+ //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardSidebar.vue
2486
+ var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
2487
+ __name: "UDashboardSidebar",
2488
+ __ssrInlineRender: true,
2489
+ props: /*@__PURE__*/ mergeModels({
2490
+ mode: {
2491
+ type: null,
2492
+ required: false,
2493
+ default: "slideover"
2494
+ },
2495
+ menu: {
2496
+ type: null,
2497
+ required: false
2498
+ },
2499
+ toggle: {
2500
+ type: [Boolean, Object],
2501
+ required: false,
2502
+ default: true
2503
+ },
2504
+ toggleSide: {
2505
+ type: String,
2506
+ required: false,
2507
+ default: "left"
2508
+ },
2509
+ autoClose: {
2510
+ type: Boolean,
2511
+ required: false,
2512
+ default: true
2513
+ },
2514
+ class: {
2515
+ type: null,
2516
+ required: false
2517
+ },
2518
+ ui: {
2519
+ type: Object,
2520
+ required: false
2521
+ },
2522
+ id: {
2523
+ type: String,
2524
+ required: false
2525
+ },
2526
+ side: {
2527
+ type: String,
2528
+ required: false,
2529
+ default: "left"
2530
+ },
2531
+ minSize: {
2532
+ type: Number,
2533
+ required: false,
2534
+ default: 10
2535
+ },
2536
+ maxSize: {
2537
+ type: Number,
2538
+ required: false,
2539
+ default: 20
2540
+ },
2541
+ defaultSize: {
2542
+ type: Number,
2543
+ required: false,
2544
+ default: 15
2545
+ },
2546
+ resizable: {
2547
+ type: Boolean,
2548
+ required: false,
2549
+ default: false
2550
+ },
2551
+ collapsible: {
2552
+ type: Boolean,
2553
+ required: false,
2554
+ default: false
2555
+ },
2556
+ collapsedSize: {
2557
+ type: Number,
2558
+ required: false,
2559
+ default: 0
2560
+ }
2561
+ }, {
2562
+ "open": {
2563
+ type: Boolean,
2564
+ default: false
2565
+ },
2566
+ "openModifiers": {},
2567
+ "collapsed": {
2568
+ type: Boolean,
2569
+ default: false
2570
+ },
2571
+ "collapsedModifiers": {}
2572
+ }),
2573
+ emits: ["update:open", "update:collapsed"],
2574
+ setup(__props) {
2575
+ const _props = __props;
2576
+ const slots = useSlots();
2577
+ const props = useComponentProps("dashboardSidebar", _props);
2578
+ const open = useModel(__props, "open", {
2579
+ type: Boolean,
2580
+ default: false
2581
+ });
2582
+ const collapsed = useModel(__props, "collapsed", {
2583
+ type: Boolean,
2584
+ default: false
2585
+ });
2586
+ const route = useRoute$1();
2587
+ const { t } = useLocale();
2588
+ const appConfig = useAppConfig();
2589
+ const dashboardContext = useDashboard({
2590
+ storageKey: "dashboard",
2591
+ unit: "%",
2592
+ sidebarOpen: ref(false),
2593
+ sidebarCollapsed: ref(false)
2594
+ });
2595
+ const id = `${dashboardContext.storageKey}-sidebar-${props.id || useId()}`;
2596
+ const { el, size, collapse, isCollapsed, isDragging, onMouseDown, onTouchStart, onDoubleClick } = useResizable(id, toRef(() => ({
2597
+ ...dashboardContext,
2598
+ ...props
2599
+ })), { collapsed });
2600
+ const [DefineToggleTemplate, ReuseToggleTemplate] = createReusableTemplate();
2601
+ const [DefineResizeHandleTemplate, ReuseResizeHandleTemplate] = createReusableTemplate();
2602
+ useRuntimeHook("dashboard:sidebar:toggle", () => {
2603
+ open.value = !open.value;
2604
+ });
2605
+ useRuntimeHook("dashboard:sidebar:collapse", (value) => {
2606
+ isCollapsed.value = value;
2607
+ });
2608
+ watch(open, () => dashboardContext.sidebarOpen.value = open.value, { immediate: true });
2609
+ watch(isCollapsed, () => dashboardContext.sidebarCollapsed.value = isCollapsed.value, { immediate: true });
2610
+ watch(() => route.fullPath, () => {
2611
+ if (!props.autoClose) return;
2612
+ open.value = false;
2613
+ });
2614
+ const ui = computed(() => tv({
2615
+ extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_sidebar_default,
2616
+ ...appConfig.ui?.dashboardSidebar || {}
2617
+ })({ side: props.side }));
2618
+ const Menu = computed(() => ({
2619
+ slideover: _sfc_main$2,
2620
+ modal: _sfc_main$6,
2621
+ drawer: _sfc_main$1
2622
+ })[props.mode]);
2623
+ const menuProps = toRef(() => defu(props.menu, {}, props.mode === "modal" ? {
2624
+ fullscreen: true,
2625
+ transition: false
2626
+ } : props.mode === "slideover" ? { side: "left" } : {}));
2627
+ function toggleOpen() {
2628
+ open.value = !open.value;
2629
+ }
2630
+ return (_ctx, _push, _parent, _attrs) => {
2631
+ _push(`<!--[-->`);
2632
+ _push(ssrRenderComponent(unref(DefineToggleTemplate), null, {
2633
+ default: withCtx((_, _push, _parent, _scopeId) => {
2634
+ if (_push) ssrRenderSlot(_ctx.$slots, "toggle", {
2635
+ open: open.value,
2636
+ toggle: toggleOpen,
2637
+ ui: ui.value
2638
+ }, () => {
2639
+ if (unref(props).toggle) _push(ssrRenderComponent(_sfc_main$7, mergeProps(typeof unref(props).toggle === "object" ? unref(props).toggle : {}, {
2640
+ side: unref(props).toggleSide,
2641
+ "data-slot": "toggle",
2642
+ class: ui.value.toggle({
2643
+ class: unref(props).ui?.toggle,
2644
+ toggleSide: unref(props).toggleSide
2645
+ })
2646
+ }), null, _parent, _scopeId));
2647
+ else _push(`<!---->`);
2648
+ }, _push, _parent, _scopeId);
2649
+ else return [renderSlot(_ctx.$slots, "toggle", {
2650
+ open: open.value,
2651
+ toggle: toggleOpen,
2652
+ ui: ui.value
2653
+ }, () => [unref(props).toggle ? (openBlock(), createBlock(_sfc_main$7, mergeProps({ key: 0 }, typeof unref(props).toggle === "object" ? unref(props).toggle : {}, {
2654
+ side: unref(props).toggleSide,
2655
+ "data-slot": "toggle",
2656
+ class: ui.value.toggle({
2657
+ class: unref(props).ui?.toggle,
2658
+ toggleSide: unref(props).toggleSide
2659
+ })
2660
+ }), null, 16, ["side", "class"])) : createCommentVNode("", true)])];
2661
+ }),
2662
+ _: 3
2663
+ }, _parent));
2664
+ _push(ssrRenderComponent(unref(DefineResizeHandleTemplate), null, {
2665
+ default: withCtx((_, _push, _parent, _scopeId) => {
2666
+ if (_push) ssrRenderSlot(_ctx.$slots, "resize-handle", {
2667
+ onMouseDown: unref(onMouseDown),
2668
+ onTouchStart: unref(onTouchStart),
2669
+ onDoubleClick: unref(onDoubleClick),
2670
+ ui: ui.value
2671
+ }, () => {
2672
+ if (unref(props).resizable) _push(ssrRenderComponent(_sfc_main$1$1, {
2673
+ "aria-controls": id,
2674
+ "data-slot": "handle",
2675
+ class: ui.value.handle({ class: unref(props).ui?.handle }),
2676
+ onMousedown: unref(onMouseDown),
2677
+ onTouchstart: unref(onTouchStart),
2678
+ onDblclick: unref(onDoubleClick)
2679
+ }, null, _parent, _scopeId));
2680
+ else _push(`<!---->`);
2681
+ }, _push, _parent, _scopeId);
2682
+ else return [renderSlot(_ctx.$slots, "resize-handle", {
2683
+ onMouseDown: unref(onMouseDown),
2684
+ onTouchStart: unref(onTouchStart),
2685
+ onDoubleClick: unref(onDoubleClick),
2686
+ ui: ui.value
2687
+ }, () => [unref(props).resizable ? (openBlock(), createBlock(_sfc_main$1$1, {
2688
+ key: 0,
2689
+ "aria-controls": id,
2690
+ "data-slot": "handle",
2691
+ class: ui.value.handle({ class: unref(props).ui?.handle }),
2692
+ onMousedown: unref(onMouseDown),
2693
+ onTouchstart: unref(onTouchStart),
2694
+ onDblclick: unref(onDoubleClick)
2695
+ }, null, 8, [
2696
+ "class",
2697
+ "onMousedown",
2698
+ "onTouchstart",
2699
+ "onDblclick"
2700
+ ])) : createCommentVNode("", true)])];
2701
+ }),
2702
+ _: 3
2703
+ }, _parent));
2704
+ if (unref(props).side === "right") _push(ssrRenderComponent(unref(ReuseResizeHandleTemplate), null, null, _parent));
2705
+ else _push(`<!---->`);
2706
+ _push(`<div${ssrRenderAttrs(mergeProps({
2707
+ id,
2708
+ ref_key: "el",
2709
+ ref: el,
2710
+ "data-slot": "root"
2711
+ }, _ctx.$attrs, {
2712
+ "data-collapsed": unref(isCollapsed),
2713
+ "data-dragging": unref(isDragging),
2714
+ class: ui.value.root({ class: [unref(props).ui?.root, unref(props).class] }),
2715
+ style: { "--width": `${unref(size) || 0}${unref(dashboardContext).unit}` }
2716
+ }))}>`);
2717
+ if (!!slots.header) {
2718
+ _push(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class: unref(props).ui?.header }))}">`);
2719
+ ssrRenderSlot(_ctx.$slots, "header", {
2720
+ collapsed: unref(isCollapsed),
2721
+ collapse: unref(collapse)
2722
+ }, null, _push, _parent);
2723
+ _push(`</div>`);
2724
+ } else _push(`<!---->`);
2725
+ _push(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class: unref(props).ui?.body }))}">`);
2726
+ ssrRenderSlot(_ctx.$slots, "default", {
2727
+ collapsed: unref(isCollapsed),
2728
+ collapse: unref(collapse)
2729
+ }, null, _push, _parent);
2730
+ _push(`</div>`);
2731
+ if (!!slots.footer) {
2732
+ _push(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class: unref(props).ui?.footer }))}">`);
2733
+ ssrRenderSlot(_ctx.$slots, "footer", {
2734
+ collapsed: unref(isCollapsed),
2735
+ collapse: unref(collapse)
2736
+ }, null, _push, _parent);
2737
+ _push(`</div>`);
2738
+ } else _push(`<!---->`);
2739
+ _push(`</div>`);
2740
+ if (unref(props).side === "left") _push(ssrRenderComponent(unref(ReuseResizeHandleTemplate), null, null, _parent));
2741
+ else _push(`<!---->`);
2742
+ _push(ssrRenderComponent(unref(Menu), mergeProps({
2743
+ open: open.value,
2744
+ "onUpdate:open": ($event) => open.value = $event,
2745
+ title: unref(t)("dashboardSidebar.title"),
2746
+ description: unref(t)("dashboardSidebar.description")
2747
+ }, menuProps.value, { ui: {
2748
+ overlay: ui.value.overlay({ class: unref(props).ui?.overlay }),
2749
+ content: ui.value.content({ class: unref(props).ui?.content })
2750
+ } }), {
2751
+ content: withCtx((contentData, _push, _parent, _scopeId) => {
2752
+ if (_push) ssrRenderSlot(_ctx.$slots, "content", contentData, () => {
2753
+ if (!!slots.header || unref(props).mode !== "drawer") {
2754
+ _push(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({
2755
+ class: unref(props).ui?.header,
2756
+ menu: true
2757
+ }))}"${_scopeId}>`);
2758
+ if (unref(props).mode !== "drawer" && unref(props).toggleSide === "left") _push(ssrRenderComponent(unref(ReuseToggleTemplate), null, null, _parent, _scopeId));
2759
+ else _push(`<!---->`);
2760
+ ssrRenderSlot(_ctx.$slots, "header", {
2761
+ collapsed: false,
2762
+ collapse: () => {}
2763
+ }, null, _push, _parent, _scopeId);
2764
+ if (unref(props).mode !== "drawer" && unref(props).toggleSide === "right") _push(ssrRenderComponent(unref(ReuseToggleTemplate), null, null, _parent, _scopeId));
2765
+ else _push(`<!---->`);
2766
+ _push(`</div>`);
2767
+ } else _push(`<!---->`);
2768
+ _push(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({
2769
+ class: unref(props).ui?.body,
2770
+ menu: true
2771
+ }))}"${_scopeId}>`);
2772
+ ssrRenderSlot(_ctx.$slots, "default", {
2773
+ collapsed: false,
2774
+ collapse: () => {}
2775
+ }, null, _push, _parent, _scopeId);
2776
+ _push(`</div>`);
2777
+ if (!!slots.footer) {
2778
+ _push(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({
2779
+ class: unref(props).ui?.footer,
2780
+ menu: true
2781
+ }))}"${_scopeId}>`);
2782
+ ssrRenderSlot(_ctx.$slots, "footer", {
2783
+ collapsed: false,
2784
+ collapse: () => {}
2785
+ }, null, _push, _parent, _scopeId);
2786
+ _push(`</div>`);
2787
+ } else _push(`<!---->`);
2788
+ }, _push, _parent, _scopeId);
2789
+ else return [renderSlot(_ctx.$slots, "content", contentData, () => [
2790
+ !!slots.header || unref(props).mode !== "drawer" ? (openBlock(), createBlock("div", {
2791
+ key: 0,
2792
+ "data-slot": "header",
2793
+ class: ui.value.header({
2794
+ class: unref(props).ui?.header,
2795
+ menu: true
2796
+ })
2797
+ }, [
2798
+ unref(props).mode !== "drawer" && unref(props).toggleSide === "left" ? (openBlock(), createBlock(unref(ReuseToggleTemplate), { key: 0 })) : createCommentVNode("", true),
2799
+ renderSlot(_ctx.$slots, "header", {
2800
+ collapsed: false,
2801
+ collapse: () => {}
2802
+ }),
2803
+ unref(props).mode !== "drawer" && unref(props).toggleSide === "right" ? (openBlock(), createBlock(unref(ReuseToggleTemplate), { key: 1 })) : createCommentVNode("", true)
2804
+ ], 2)) : createCommentVNode("", true),
2805
+ createVNode("div", {
2806
+ "data-slot": "body",
2807
+ class: ui.value.body({
2808
+ class: unref(props).ui?.body,
2809
+ menu: true
2810
+ })
2811
+ }, [renderSlot(_ctx.$slots, "default", {
2812
+ collapsed: false,
2813
+ collapse: () => {}
2814
+ })], 2),
2815
+ !!slots.footer ? (openBlock(), createBlock("div", {
2816
+ key: 1,
2817
+ "data-slot": "footer",
2818
+ class: ui.value.footer({
2819
+ class: unref(props).ui?.footer,
2820
+ menu: true
2821
+ })
2822
+ }, [renderSlot(_ctx.$slots, "footer", {
2823
+ collapsed: false,
2824
+ collapse: () => {}
2825
+ })], 2)) : createCommentVNode("", true)
2826
+ ])];
2827
+ }),
2828
+ _: 3
2829
+ }, _parent));
2830
+ _push(`<!--]-->`);
2831
+ };
2832
+ }
2833
+ });
2834
+ var _sfc_setup$1 = _sfc_main.setup;
2835
+ _sfc_main.setup = (props, ctx) => {
2836
+ const ssrContext = useSSRContext();
2837
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardSidebar.vue");
2838
+ return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
2839
+ };
2840
+ //#endregion
2841
+ //#region app/layouts/dashboard.vue?vue&type=script&setup=true&lang.ts
2842
+ var dashboard_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
2843
+ __name: "dashboard",
2844
+ __ssrInlineRender: true,
2845
+ async setup(__props) {
2846
+ let __temp, __restore;
2847
+ const route = useRoute$1();
2848
+ const { data: auth, pending: authPending } = ([__temp, __restore] = withAsyncContext(() => useFetch("/api/auth/status", { key: "auth-status" }, "$9tO8YbVQ9D")), __temp = await __temp, __restore(), __temp);
2849
+ const userLoading = computed(() => authPending.value || !auth.value?.username);
2850
+ const items = computed(() => [
2851
+ {
2852
+ label: "在线地图预览",
2853
+ icon: "i-lucide-map",
2854
+ to: { name: "index" },
2855
+ active: route.path === "/"
2856
+ },
2857
+ {
2858
+ label: "地图下载任务",
2859
+ icon: "i-lucide-download",
2860
+ to: { name: "tasks" },
2861
+ active: route.path.startsWith("/tasks")
2862
+ },
2863
+ {
2864
+ label: "地图版本对比",
2865
+ icon: "i-lucide-columns-2",
2866
+ to: { name: "compare" },
2867
+ active: route.path === "/compare"
2868
+ },
2869
+ {
2870
+ label: "地图高级功能",
2871
+ icon: "i-lucide-wand-sparkles",
2872
+ to: { name: "advanced" },
2873
+ active: route.path === "/advanced"
2874
+ },
2875
+ {
2876
+ label: "地图服务管理",
2877
+ icon: "i-lucide-radio-tower",
2878
+ to: { name: "services" },
2879
+ active: route.path === "/services"
2880
+ }
2881
+ ]);
2882
+ const sidebarButtonUi = { base: "text-left text-[#d5dfd9] hover:bg-[#30453b] hover:text-white active:bg-[#30453b] active:text-white focus-visible:outline-[#8de0ad]" };
2883
+ async function logout() {
2884
+ await $fetch$1("/api/auth/logout", { method: "POST" });
2885
+ await clearNuxtData();
2886
+ await navigateTo({ name: "login" });
2887
+ }
2888
+ return (_ctx, _push, _parent, _attrs) => {
2889
+ const _component_UDashboardGroup = _sfc_main$3;
2890
+ const _component_UDashboardSidebar = _sfc_main;
2891
+ const _component_UTooltip = _sfc_main$4;
2892
+ const _component_UButton = _sfc_main$5;
2893
+ _push(ssrRenderComponent(_component_UDashboardGroup, mergeProps({
2894
+ storage: "local",
2895
+ "storage-key": "uom-workspace",
2896
+ unit: "rem",
2897
+ class: "min-h-screen bg-default"
2898
+ }, _attrs), {
2899
+ default: withCtx((_, _push, _parent, _scopeId) => {
2900
+ if (_push) {
2901
+ _push(ssrRenderComponent(_component_UDashboardSidebar, {
2902
+ collapsible: "",
2903
+ resizable: "",
2904
+ "min-size": 14,
2905
+ "max-size": 20,
2906
+ class: "workspace-sidebar"
2907
+ }, {
2908
+ header: withCtx(({ collapsed }, _push, _parent, _scopeId) => {
2909
+ if (_push) {
2910
+ _push(`<div class="flex h-14 items-center gap-3 px-3"${_scopeId}><img${ssrRenderAttr("src", _virtual_public__2Ffavicon_default)} alt="" class="size-8 shrink-0 select-none" draggable="false"${_scopeId}>`);
2911
+ if (!collapsed) _push(`<div class="min-w-0"${_scopeId}><p class="truncate text-sm font-semibold text-white"${_scopeId}>UOM适飞地图</p></div>`);
2912
+ else _push(`<!---->`);
2913
+ _push(`</div>`);
2914
+ } else return [createVNode("div", { class: "flex h-14 items-center gap-3 px-3" }, [createVNode("img", {
2915
+ src: _virtual_public__2Ffavicon_default,
2916
+ alt: "",
2917
+ class: "size-8 shrink-0 select-none",
2918
+ draggable: "false"
2919
+ }), !collapsed ? (openBlock(), createBlock("div", {
2920
+ key: 0,
2921
+ class: "min-w-0"
2922
+ }, [createVNode("p", { class: "truncate text-sm font-semibold text-white" }, "UOM适飞地图")])) : createCommentVNode("", true)])];
2923
+ }),
2924
+ default: withCtx(({ collapsed }, _push, _parent, _scopeId) => {
2925
+ if (_push) {
2926
+ _push(`<div class="flex min-h-0 flex-1 flex-col"${_scopeId}><nav class="space-y-1 px-2 py-3" aria-label="主导航"${_scopeId}><!--[-->`);
2927
+ ssrRenderList(unref(items), (item) => {
2928
+ _push(`<div class="py-0.5"${_scopeId}>`);
2929
+ _push(ssrRenderComponent(_component_UTooltip, {
2930
+ text: collapsed ? item.label : void 0,
2931
+ content: { side: "right" }
2932
+ }, {
2933
+ default: withCtx((_, _push, _parent, _scopeId) => {
2934
+ if (_push) _push(ssrRenderComponent(_component_UButton, {
2935
+ to: item.to,
2936
+ icon: item.icon,
2937
+ label: collapsed ? void 0 : item.label,
2938
+ active: item.active,
2939
+ "active-color": "primary",
2940
+ "active-variant": "soft",
2941
+ color: "neutral",
2942
+ variant: "ghost",
2943
+ size: "md",
2944
+ ui: sidebarButtonUi,
2945
+ class: collapsed ? "w-full justify-center" : "w-full justify-start"
2946
+ }, null, _parent, _scopeId));
2947
+ else return [createVNode(_component_UButton, {
2948
+ to: item.to,
2949
+ icon: item.icon,
2950
+ label: collapsed ? void 0 : item.label,
2951
+ active: item.active,
2952
+ "active-color": "primary",
2953
+ "active-variant": "soft",
2954
+ color: "neutral",
2955
+ variant: "ghost",
2956
+ size: "md",
2957
+ ui: sidebarButtonUi,
2958
+ class: collapsed ? "w-full justify-center" : "w-full justify-start"
2959
+ }, null, 8, [
2960
+ "to",
2961
+ "icon",
2962
+ "label",
2963
+ "active",
2964
+ "class"
2965
+ ])];
2966
+ }),
2967
+ _: 2
2968
+ }, _parent, _scopeId));
2969
+ _push(`</div>`);
2970
+ });
2971
+ _push(`<!--]--></nav></div>`);
2972
+ } else return [createVNode("div", { class: "flex min-h-0 flex-1 flex-col" }, [createVNode("nav", {
2973
+ class: "space-y-1 px-2 py-3",
2974
+ "aria-label": "主导航"
2975
+ }, [(openBlock(true), createBlock(Fragment, null, renderList(unref(items), (item) => {
2976
+ return openBlock(), createBlock("div", {
2977
+ key: item.label,
2978
+ class: "py-0.5"
2979
+ }, [createVNode(_component_UTooltip, {
2980
+ text: collapsed ? item.label : void 0,
2981
+ content: { side: "right" }
2982
+ }, {
2983
+ default: withCtx(() => [createVNode(_component_UButton, {
2984
+ to: item.to,
2985
+ icon: item.icon,
2986
+ label: collapsed ? void 0 : item.label,
2987
+ active: item.active,
2988
+ "active-color": "primary",
2989
+ "active-variant": "soft",
2990
+ color: "neutral",
2991
+ variant: "ghost",
2992
+ size: "md",
2993
+ ui: sidebarButtonUi,
2994
+ class: collapsed ? "w-full justify-center" : "w-full justify-start"
2995
+ }, null, 8, [
2996
+ "to",
2997
+ "icon",
2998
+ "label",
2999
+ "active",
3000
+ "class"
3001
+ ])]),
3002
+ _: 2
3003
+ }, 1032, ["text"])]);
3004
+ }), 128))])])];
3005
+ }),
3006
+ footer: withCtx(({ collapsed }, _push, _parent, _scopeId) => {
3007
+ if (_push) {
3008
+ _push(`<div class="w-full min-w-0 overflow-hidden p-2"${_scopeId}><div${_scopeId}>`);
3009
+ _push(ssrRenderComponent(_component_UTooltip, {
3010
+ text: collapsed ? unref(userLoading) ? "用户加载中" : unref(auth)?.username || void 0 : void 0,
3011
+ content: { side: "right" }
3012
+ }, {
3013
+ default: withCtx((_, _push, _parent, _scopeId) => {
3014
+ if (_push) _push(ssrRenderComponent(_component_UButton, {
3015
+ as: "div",
3016
+ color: "neutral",
3017
+ variant: "ghost",
3018
+ size: "md",
3019
+ icon: "i-lucide-user-round",
3020
+ label: collapsed ? void 0 : unref(userLoading) ? "用户加载中" : unref(auth)?.username || void 0,
3021
+ loading: unref(userLoading),
3022
+ ui: sidebarButtonUi,
3023
+ class: collapsed ? "w-full select-none justify-center" : "w-full select-none justify-start"
3024
+ }, null, _parent, _scopeId));
3025
+ else return [createVNode(_component_UButton, {
3026
+ as: "div",
3027
+ color: "neutral",
3028
+ variant: "ghost",
3029
+ size: "md",
3030
+ icon: "i-lucide-user-round",
3031
+ label: collapsed ? void 0 : unref(userLoading) ? "用户加载中" : unref(auth)?.username || void 0,
3032
+ loading: unref(userLoading),
3033
+ ui: sidebarButtonUi,
3034
+ class: collapsed ? "w-full select-none justify-center" : "w-full select-none justify-start"
3035
+ }, null, 8, [
3036
+ "label",
3037
+ "loading",
3038
+ "class"
3039
+ ])];
3040
+ }),
3041
+ _: 2
3042
+ }, _parent, _scopeId));
3043
+ _push(`</div><div class="mt-1"${_scopeId}>`);
3044
+ _push(ssrRenderComponent(_component_UTooltip, {
3045
+ text: collapsed ? "退出登录" : void 0,
3046
+ content: { side: "right" }
3047
+ }, {
3048
+ default: withCtx((_, _push, _parent, _scopeId) => {
3049
+ if (_push) _push(ssrRenderComponent(_component_UButton, {
3050
+ color: "neutral",
3051
+ variant: "ghost",
3052
+ size: "md",
3053
+ icon: "i-lucide-log-out",
3054
+ label: collapsed ? void 0 : "退出登录",
3055
+ ui: sidebarButtonUi,
3056
+ class: collapsed ? "w-full justify-center" : "w-full justify-start",
3057
+ onClick: logout
3058
+ }, null, _parent, _scopeId));
3059
+ else return [createVNode(_component_UButton, {
3060
+ color: "neutral",
3061
+ variant: "ghost",
3062
+ size: "md",
3063
+ icon: "i-lucide-log-out",
3064
+ label: collapsed ? void 0 : "退出登录",
3065
+ ui: sidebarButtonUi,
3066
+ class: collapsed ? "w-full justify-center" : "w-full justify-start",
3067
+ onClick: logout
3068
+ }, null, 8, ["label", "class"])];
3069
+ }),
3070
+ _: 2
3071
+ }, _parent, _scopeId));
3072
+ _push(`</div></div>`);
3073
+ } else return [createVNode("div", { class: "w-full min-w-0 overflow-hidden p-2" }, [createVNode("div", null, [createVNode(_component_UTooltip, {
3074
+ text: collapsed ? unref(userLoading) ? "用户加载中" : unref(auth)?.username || void 0 : void 0,
3075
+ content: { side: "right" }
3076
+ }, {
3077
+ default: withCtx(() => [createVNode(_component_UButton, {
3078
+ as: "div",
3079
+ color: "neutral",
3080
+ variant: "ghost",
3081
+ size: "md",
3082
+ icon: "i-lucide-user-round",
3083
+ label: collapsed ? void 0 : unref(userLoading) ? "用户加载中" : unref(auth)?.username || void 0,
3084
+ loading: unref(userLoading),
3085
+ ui: sidebarButtonUi,
3086
+ class: collapsed ? "w-full select-none justify-center" : "w-full select-none justify-start"
3087
+ }, null, 8, [
3088
+ "label",
3089
+ "loading",
3090
+ "class"
3091
+ ])]),
3092
+ _: 2
3093
+ }, 1032, ["text"])]), createVNode("div", { class: "mt-1" }, [createVNode(_component_UTooltip, {
3094
+ text: collapsed ? "退出登录" : void 0,
3095
+ content: { side: "right" }
3096
+ }, {
3097
+ default: withCtx(() => [createVNode(_component_UButton, {
3098
+ color: "neutral",
3099
+ variant: "ghost",
3100
+ size: "md",
3101
+ icon: "i-lucide-log-out",
3102
+ label: collapsed ? void 0 : "退出登录",
3103
+ ui: sidebarButtonUi,
3104
+ class: collapsed ? "w-full justify-center" : "w-full justify-start",
3105
+ onClick: logout
3106
+ }, null, 8, ["label", "class"])]),
3107
+ _: 2
3108
+ }, 1032, ["text"])])])];
3109
+ }),
3110
+ _: 1
3111
+ }, _parent, _scopeId));
3112
+ ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent, _scopeId);
3113
+ } else return [createVNode(_component_UDashboardSidebar, {
3114
+ collapsible: "",
3115
+ resizable: "",
3116
+ "min-size": 14,
3117
+ "max-size": 20,
3118
+ class: "workspace-sidebar"
3119
+ }, {
3120
+ header: withCtx(({ collapsed }) => [createVNode("div", { class: "flex h-14 items-center gap-3 px-3" }, [createVNode("img", {
3121
+ src: _virtual_public__2Ffavicon_default,
3122
+ alt: "",
3123
+ class: "size-8 shrink-0 select-none",
3124
+ draggable: "false"
3125
+ }), !collapsed ? (openBlock(), createBlock("div", {
3126
+ key: 0,
3127
+ class: "min-w-0"
3128
+ }, [createVNode("p", { class: "truncate text-sm font-semibold text-white" }, "UOM适飞地图")])) : createCommentVNode("", true)])]),
3129
+ default: withCtx(({ collapsed }) => [createVNode("div", { class: "flex min-h-0 flex-1 flex-col" }, [createVNode("nav", {
3130
+ class: "space-y-1 px-2 py-3",
3131
+ "aria-label": "主导航"
3132
+ }, [(openBlock(true), createBlock(Fragment, null, renderList(unref(items), (item) => {
3133
+ return openBlock(), createBlock("div", {
3134
+ key: item.label,
3135
+ class: "py-0.5"
3136
+ }, [createVNode(_component_UTooltip, {
3137
+ text: collapsed ? item.label : void 0,
3138
+ content: { side: "right" }
3139
+ }, {
3140
+ default: withCtx(() => [createVNode(_component_UButton, {
3141
+ to: item.to,
3142
+ icon: item.icon,
3143
+ label: collapsed ? void 0 : item.label,
3144
+ active: item.active,
3145
+ "active-color": "primary",
3146
+ "active-variant": "soft",
3147
+ color: "neutral",
3148
+ variant: "ghost",
3149
+ size: "md",
3150
+ ui: sidebarButtonUi,
3151
+ class: collapsed ? "w-full justify-center" : "w-full justify-start"
3152
+ }, null, 8, [
3153
+ "to",
3154
+ "icon",
3155
+ "label",
3156
+ "active",
3157
+ "class"
3158
+ ])]),
3159
+ _: 2
3160
+ }, 1032, ["text"])]);
3161
+ }), 128))])])]),
3162
+ footer: withCtx(({ collapsed }) => [createVNode("div", { class: "w-full min-w-0 overflow-hidden p-2" }, [createVNode("div", null, [createVNode(_component_UTooltip, {
3163
+ text: collapsed ? unref(userLoading) ? "用户加载中" : unref(auth)?.username || void 0 : void 0,
3164
+ content: { side: "right" }
3165
+ }, {
3166
+ default: withCtx(() => [createVNode(_component_UButton, {
3167
+ as: "div",
3168
+ color: "neutral",
3169
+ variant: "ghost",
3170
+ size: "md",
3171
+ icon: "i-lucide-user-round",
3172
+ label: collapsed ? void 0 : unref(userLoading) ? "用户加载中" : unref(auth)?.username || void 0,
3173
+ loading: unref(userLoading),
3174
+ ui: sidebarButtonUi,
3175
+ class: collapsed ? "w-full select-none justify-center" : "w-full select-none justify-start"
3176
+ }, null, 8, [
3177
+ "label",
3178
+ "loading",
3179
+ "class"
3180
+ ])]),
3181
+ _: 2
3182
+ }, 1032, ["text"])]), createVNode("div", { class: "mt-1" }, [createVNode(_component_UTooltip, {
3183
+ text: collapsed ? "退出登录" : void 0,
3184
+ content: { side: "right" }
3185
+ }, {
3186
+ default: withCtx(() => [createVNode(_component_UButton, {
3187
+ color: "neutral",
3188
+ variant: "ghost",
3189
+ size: "md",
3190
+ icon: "i-lucide-log-out",
3191
+ label: collapsed ? void 0 : "退出登录",
3192
+ ui: sidebarButtonUi,
3193
+ class: collapsed ? "w-full justify-center" : "w-full justify-start",
3194
+ onClick: logout
3195
+ }, null, 8, ["label", "class"])]),
3196
+ _: 2
3197
+ }, 1032, ["text"])])])]),
3198
+ _: 1
3199
+ }), renderSlot(_ctx.$slots, "default")];
3200
+ }),
3201
+ _: 3
3202
+ }, _parent));
3203
+ };
3204
+ }
3205
+ });
3206
+ //#endregion
3207
+ //#region app/layouts/dashboard.vue
3208
+ var _sfc_setup = dashboard_vue_vue_type_script_setup_true_lang_default.setup;
3209
+ dashboard_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
3210
+ const ssrContext = useSSRContext();
3211
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("layouts/dashboard.vue");
3212
+ return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
3213
+ };
3214
+ var dashboard_default = dashboard_vue_vue_type_script_setup_true_lang_default;
3215
+
3216
+ export { dashboard_default as default };
3217
+ //# sourceMappingURL=dashboard-BJxrZ19n.mjs.map