uomtiles 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/7KYNy7kZ.js +1 -0
  3. package/.output/public/_nuxt/7Rgc2iDI2.js +1 -0
  4. package/.output/public/_nuxt/BA52uD81.js +1 -0
  5. package/.output/public/_nuxt/{CU486JdV2.js → BHSn2vP72.js} +2 -2
  6. package/.output/public/_nuxt/BRsHq3Fz2.js +1 -0
  7. package/.output/public/_nuxt/Bh2Uv1S7.js +1 -0
  8. package/.output/public/_nuxt/BiRI-vq-.js +1 -0
  9. package/.output/public/_nuxt/{DaQqwE3R.js → BndUkSHF.js} +44 -44
  10. package/.output/public/_nuxt/Bpc1HTfh.js +1 -0
  11. package/.output/public/_nuxt/C-b4mqsD.js +1 -0
  12. package/.output/public/_nuxt/C5Y76DD6.js +1 -0
  13. package/.output/public/_nuxt/CD84FXNW.js +1 -0
  14. package/.output/public/_nuxt/CGkIG2vL2.js +1 -0
  15. package/.output/public/_nuxt/CM9IbYJz.js +1 -0
  16. package/.output/public/_nuxt/CUJ4QmLF.js +1 -0
  17. package/.output/public/_nuxt/CUQ3MZqI.js +1 -0
  18. package/.output/public/_nuxt/CVwoxklV.js +1 -0
  19. package/.output/public/_nuxt/CeHZqNQ0.js +1 -0
  20. package/.output/public/_nuxt/CkfS_Wbu.js +3 -0
  21. package/.output/public/_nuxt/CoPjdBwX.js +1 -0
  22. package/.output/public/_nuxt/CxkDmpVY.js +1 -0
  23. package/.output/public/_nuxt/CzRdWh7s2.js +1 -0
  24. package/.output/public/_nuxt/D-IOtyQX.js +1 -0
  25. package/.output/public/_nuxt/D3Us7gX72.js +1 -0
  26. package/.output/public/_nuxt/DLIy3f3M.js +1 -0
  27. package/.output/public/_nuxt/{CovBj6WN.js → DQ8r1OSk.js} +1 -1
  28. package/.output/public/_nuxt/D_9SjQFe.js +1 -0
  29. package/.output/public/_nuxt/D_Ggu6R_2.js +1 -0
  30. package/.output/public/_nuxt/{Q79ec-Ro.js → DnVJUY7B.js} +1 -1
  31. package/.output/public/_nuxt/{Bd1EvHmY.js → DuGgjt-h2.js} +1 -1
  32. package/.output/public/_nuxt/GEOST6As.js +1 -0
  33. package/.output/public/_nuxt/{DpIPeY5m.js → GqgcWtrL.js} +1 -1
  34. package/.output/public/_nuxt/{0hm88Oke.js → Hbp_Okvs.js} +1 -1
  35. package/.output/public/_nuxt/JdUwgqKv.js +1 -0
  36. package/.output/public/_nuxt/KttxEAyP2.js +1 -0
  37. package/.output/public/_nuxt/L0GXeO1Y2.js +1 -0
  38. package/.output/public/_nuxt/builds/latest.json +1 -1
  39. package/.output/public/_nuxt/builds/meta/78b9349b-da32-49d9-b6c7-85727e6d8129.json +1 -0
  40. package/.output/public/_nuxt/entry.U-KS0GEu.css +1 -0
  41. package/.output/public/_nuxt/maplibre-gl-worker-BtpYDTzw.js +11 -0
  42. package/.output/public/_nuxt/sMWyPZfC2.js +1 -0
  43. package/.output/public/_nuxt/zUWhKXtw2.js +1 -0
  44. package/.output/server/chunks/_/antigravity-nfz.mjs +629 -0
  45. package/.output/server/chunks/_/antigravity-nfz.mjs.map +1 -0
  46. package/.output/server/chunks/_/config.mjs +1 -1
  47. package/.output/server/chunks/_/file-workspace.mjs +1 -1
  48. package/.output/server/chunks/_/map-layer-update-manager.mjs +770 -0
  49. package/.output/server/chunks/_/map-layer-update-manager.mjs.map +1 -0
  50. package/.output/server/chunks/_/map-service.mjs +1 -1
  51. package/.output/server/chunks/_/uom-auth.mjs +1 -1
  52. package/.output/server/chunks/build/{CompletedTaskSelect-CKTpyHS3.mjs → CompletedTaskSelect-Ba03kTs9.mjs} +6 -7
  53. package/.output/server/chunks/build/{CompletedTaskSelect-CKTpyHS3.mjs.map → CompletedTaskSelect-Ba03kTs9.mjs.map} +1 -1
  54. package/.output/server/chunks/build/{Empty-BGIn09cL.mjs → Empty-CKvANuoV.mjs} +4 -103
  55. package/.output/server/chunks/build/Empty-CKvANuoV.mjs.map +1 -0
  56. package/.output/server/chunks/build/{FormField-DnJWfrKE.mjs → FormField-BJHVyy1m.mjs} +4 -35
  57. package/.output/server/chunks/build/FormField-BJHVyy1m.mjs.map +1 -0
  58. package/.output/server/chunks/build/{Input-AdlINKtJ.mjs → Input-DnAric-z.mjs} +1 -1
  59. package/.output/server/chunks/build/{Input-AdlINKtJ.mjs.map → Input-DnAric-z.mjs.map} +1 -1
  60. package/.output/server/chunks/build/MapLayerControl-DpNmYvcU.mjs +5720 -0
  61. package/.output/server/chunks/build/MapLayerControl-DpNmYvcU.mjs.map +1 -0
  62. package/.output/server/chunks/build/{Modal-CozaqIp1.mjs → Modal-BLhN9Eg2.mjs} +4 -18
  63. package/.output/server/chunks/build/{Modal-CozaqIp1.mjs.map → Modal-BLhN9Eg2.mjs.map} +1 -1
  64. package/.output/server/chunks/build/{OnlineMap-cFSicmkV.mjs → OnlineMap-B-sCfHkC.mjs} +6 -3
  65. package/.output/server/chunks/build/OnlineMap-B-sCfHkC.mjs.map +1 -0
  66. package/.output/server/chunks/build/{Pagination-GvNCxmOW.mjs → Pagination-CUzoLc_-.mjs} +1 -1
  67. package/.output/server/chunks/build/{Pagination-GvNCxmOW.mjs.map → Pagination-CUzoLc_-.mjs.map} +1 -1
  68. package/.output/server/chunks/build/Skeleton-CHp-GjOx.mjs +59 -0
  69. package/.output/server/chunks/build/Skeleton-CHp-GjOx.mjs.map +1 -0
  70. package/.output/server/chunks/build/{Slider-zQx1c7hB.mjs → Slider-CrIUK3pl.mjs} +5 -5
  71. package/.output/server/chunks/build/{Slider-zQx1c7hB.mjs.map → Slider-CrIUK3pl.mjs.map} +1 -1
  72. package/.output/server/chunks/build/{MapBaseLayerTabs-CRl5Zwlr.mjs → Tabs-cdLsZZoL.mjs} +429 -931
  73. package/.output/server/chunks/build/Tabs-cdLsZZoL.mjs.map +1 -0
  74. package/.output/server/chunks/build/{Tooltip-DNUdH4oF.mjs → Tooltip-DExIlyhu.mjs} +4 -195
  75. package/.output/server/chunks/build/Tooltip-DExIlyhu.mjs.map +1 -0
  76. package/.output/server/chunks/build/{advanced-5ZGMUBqC.mjs → advanced-DaSpS8Px.mjs} +31 -34
  77. package/.output/server/chunks/build/advanced-DaSpS8Px.mjs.map +1 -0
  78. package/.output/server/chunks/build/{compare-CtgF4Anj.mjs → compare-DaE10Dhp.mjs} +56 -37
  79. package/.output/server/chunks/build/compare-DaE10Dhp.mjs.map +1 -0
  80. package/.output/server/chunks/build/cookie-CziAmOf1.mjs +175 -0
  81. package/.output/server/chunks/build/cookie-CziAmOf1.mjs.map +1 -0
  82. package/.output/server/chunks/build/{dashboard-GneN-WPG.mjs → dashboard-Dq8mphss.mjs} +12 -6
  83. package/.output/server/chunks/build/{dashboard-GneN-WPG.mjs.map → dashboard-Dq8mphss.mjs.map} +1 -1
  84. package/.output/server/chunks/build/{details-CgufnL1d.mjs → details-DCNvSBgn.mjs} +5 -4
  85. package/.output/server/chunks/build/{details-CgufnL1d.mjs.map → details-DCNvSBgn.mjs.map} +1 -1
  86. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +1 -1
  87. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +1 -1
  88. package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs +104 -0
  89. package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs.map +1 -0
  90. package/.output/server/chunks/build/{interval-9B2MrM2e.mjs → interval-i5OZnTaK.mjs} +2 -2
  91. package/.output/server/chunks/build/{interval-9B2MrM2e.mjs.map → interval-i5OZnTaK.mjs.map} +1 -1
  92. package/.output/server/chunks/build/layers-50nqoWES.mjs +553 -0
  93. package/.output/server/chunks/build/layers-50nqoWES.mjs.map +1 -0
  94. package/.output/server/chunks/build/{login-Cf5EiCE4.mjs → login-BHSHtO-R.mjs} +6 -5
  95. package/.output/server/chunks/build/{login-Cf5EiCE4.mjs.map → login-BHSHtO-R.mjs.map} +1 -1
  96. package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs +86 -0
  97. package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs.map +1 -0
  98. package/.output/server/chunks/build/{DashboardSidebarToggle-CUI9NSow.mjs → overlay-BS4_B29H.mjs} +411 -4
  99. package/.output/server/chunks/build/overlay-BS4_B29H.mjs.map +1 -0
  100. package/.output/server/chunks/build/pages-5yYRS5nX.mjs +37 -0
  101. package/.output/server/chunks/build/pages-5yYRS5nX.mjs.map +1 -0
  102. package/.output/server/chunks/build/{pages-0c5sp_lv.mjs → pages-DfOPr0fC.mjs} +21 -21
  103. package/.output/server/chunks/build/pages-DfOPr0fC.mjs.map +1 -0
  104. package/.output/server/chunks/build/{services-BB49kSpd.mjs → services-DWlDpsbi.mjs} +45 -41
  105. package/.output/server/chunks/build/{services-BB49kSpd.mjs.map → services-DWlDpsbi.mjs.map} +1 -1
  106. package/.output/server/chunks/build/{tasks-BRcMLuRW.mjs → tasks-4b6D39Uy.mjs} +44 -100
  107. package/.output/server/chunks/build/{tasks-BRcMLuRW.mjs.map → tasks-4b6D39Uy.mjs.map} +1 -1
  108. package/.output/server/chunks/build/{tasks-Aa8PwjVL.mjs → tasks-BPPx2UMG.mjs} +10 -6
  109. package/.output/server/chunks/build/tasks-BPPx2UMG.mjs.map +1 -0
  110. package/.output/server/chunks/nitro/nitro.mjs +309 -250
  111. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs +29 -0
  112. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs.map +1 -0
  113. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs +31 -0
  114. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs.map +1 -0
  115. package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs +39 -0
  116. package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs.map +1 -0
  117. package/.output/server/chunks/routes/api/map/layers/status.get.mjs +60 -0
  118. package/.output/server/chunks/routes/api/map/layers/status.get.mjs.map +1 -0
  119. package/.output/server/chunks/routes/api/map/live/status.get.mjs +1 -1
  120. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +1 -1
  121. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +1 -1
  122. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +1 -1
  123. package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +1 -1
  124. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +1 -1
  125. package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs +1 -1
  126. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +1 -1
  127. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +1 -1
  128. package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +1 -1
  129. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +1 -1
  130. package/.output/server/chunks/routes/api/workspace/files.post.mjs +1 -1
  131. package/.output/server/chunks/routes/api/workspace/stop.post.mjs +1 -1
  132. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +2 -2
  133. package/.output/server/chunks/routes/renderer.mjs +3 -3
  134. package/.output/server/chunks/routes/services/wms.get.mjs +1 -1
  135. package/.output/server/chunks/routes/services/wmts.get.mjs +1 -1
  136. package/.output/server/chunks/virtual/entry.mjs +320 -443
  137. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  138. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  139. package/.output/server/chunks/virtual/styles.mjs +1 -1
  140. package/.output/server/node_modules/undici/index.js +234 -0
  141. package/.output/server/node_modules/undici/lib/api/abort-signal.js +59 -0
  142. package/.output/server/node_modules/undici/lib/api/api-connect.js +110 -0
  143. package/.output/server/node_modules/undici/lib/api/api-pipeline.js +252 -0
  144. package/.output/server/node_modules/undici/lib/api/api-request.js +214 -0
  145. package/.output/server/node_modules/undici/lib/api/api-stream.js +209 -0
  146. package/.output/server/node_modules/undici/lib/api/api-upgrade.js +111 -0
  147. package/.output/server/node_modules/undici/lib/api/index.js +7 -0
  148. package/.output/server/node_modules/undici/lib/api/readable.js +580 -0
  149. package/.output/server/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
  150. package/.output/server/node_modules/undici/lib/cache/sqlite-cache-store.js +467 -0
  151. package/.output/server/node_modules/undici/lib/core/connect.js +153 -0
  152. package/.output/server/node_modules/undici/lib/core/constants.js +143 -0
  153. package/.output/server/node_modules/undici/lib/core/diagnostics.js +227 -0
  154. package/.output/server/node_modules/undici/lib/core/errors.js +477 -0
  155. package/.output/server/node_modules/undici/lib/core/request.js +464 -0
  156. package/.output/server/node_modules/undici/lib/core/socks5-client.js +422 -0
  157. package/.output/server/node_modules/undici/lib/core/socks5-utils.js +212 -0
  158. package/.output/server/node_modules/undici/lib/core/symbols.js +75 -0
  159. package/.output/server/node_modules/undici/lib/core/tree.js +160 -0
  160. package/.output/server/node_modules/undici/lib/core/util.js +992 -0
  161. package/.output/server/node_modules/undici/lib/dispatcher/agent.js +158 -0
  162. package/.output/server/node_modules/undici/lib/dispatcher/balanced-pool.js +219 -0
  163. package/.output/server/node_modules/undici/lib/dispatcher/client-h1.js +1731 -0
  164. package/.output/server/node_modules/undici/lib/dispatcher/client-h2.js +995 -0
  165. package/.output/server/node_modules/undici/lib/dispatcher/client.js +664 -0
  166. package/.output/server/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
  167. package/.output/server/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
  168. package/.output/server/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
  169. package/.output/server/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
  170. package/.output/server/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
  171. package/.output/server/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
  172. package/.output/server/node_modules/undici/lib/dispatcher/pool.js +118 -0
  173. package/.output/server/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
  174. package/.output/server/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  175. package/.output/server/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
  176. package/.output/server/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
  177. package/.output/server/node_modules/undici/lib/encoding/index.js +33 -0
  178. package/.output/server/node_modules/undici/lib/global.js +59 -0
  179. package/.output/server/node_modules/undici/lib/handler/cache-handler.js +760 -0
  180. package/.output/server/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
  181. package/.output/server/node_modules/undici/lib/handler/decorator-handler.js +67 -0
  182. package/.output/server/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
  183. package/.output/server/node_modules/undici/lib/handler/redirect-handler.js +238 -0
  184. package/.output/server/node_modules/undici/lib/handler/retry-handler.js +418 -0
  185. package/.output/server/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
  186. package/.output/server/node_modules/undici/lib/handler/wrap-handler.js +105 -0
  187. package/.output/server/node_modules/undici/lib/interceptor/cache.js +602 -0
  188. package/.output/server/node_modules/undici/lib/interceptor/decompress.js +259 -0
  189. package/.output/server/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
  190. package/.output/server/node_modules/undici/lib/interceptor/dns.js +571 -0
  191. package/.output/server/node_modules/undici/lib/interceptor/dump.js +112 -0
  192. package/.output/server/node_modules/undici/lib/interceptor/redirect.js +21 -0
  193. package/.output/server/node_modules/undici/lib/interceptor/response-error.js +95 -0
  194. package/.output/server/node_modules/undici/lib/interceptor/retry.js +19 -0
  195. package/.output/server/node_modules/undici/lib/llhttp/constants.js +531 -0
  196. package/.output/server/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
  197. package/.output/server/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
  198. package/.output/server/node_modules/undici/lib/llhttp/utils.js +12 -0
  199. package/.output/server/node_modules/undici/lib/mock/mock-agent.js +232 -0
  200. package/.output/server/node_modules/undici/lib/mock/mock-call-history.js +248 -0
  201. package/.output/server/node_modules/undici/lib/mock/mock-client.js +68 -0
  202. package/.output/server/node_modules/undici/lib/mock/mock-errors.js +29 -0
  203. package/.output/server/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
  204. package/.output/server/node_modules/undici/lib/mock/mock-pool.js +68 -0
  205. package/.output/server/node_modules/undici/lib/mock/mock-symbols.js +32 -0
  206. package/.output/server/node_modules/undici/lib/mock/mock-utils.js +486 -0
  207. package/.output/server/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  208. package/.output/server/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
  209. package/.output/server/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
  210. package/.output/server/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
  211. package/.output/server/node_modules/undici/lib/util/cache.js +676 -0
  212. package/.output/server/node_modules/undici/lib/util/date.js +670 -0
  213. package/.output/server/node_modules/undici/lib/util/promise.js +28 -0
  214. package/.output/server/node_modules/undici/lib/util/runtime-features.js +124 -0
  215. package/.output/server/node_modules/undici/lib/util/stats.js +32 -0
  216. package/.output/server/node_modules/undici/lib/util/timers.js +425 -0
  217. package/.output/server/node_modules/undici/lib/web/cache/cache.js +864 -0
  218. package/.output/server/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  219. package/.output/server/node_modules/undici/lib/web/cache/util.js +45 -0
  220. package/.output/server/node_modules/undici/lib/web/cookies/constants.js +12 -0
  221. package/.output/server/node_modules/undici/lib/web/cookies/index.js +199 -0
  222. package/.output/server/node_modules/undici/lib/web/cookies/parse.js +314 -0
  223. package/.output/server/node_modules/undici/lib/web/cookies/util.js +352 -0
  224. package/.output/server/node_modules/undici/lib/web/eventsource/eventsource-stream.js +399 -0
  225. package/.output/server/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
  226. package/.output/server/node_modules/undici/lib/web/eventsource/util.js +29 -0
  227. package/.output/server/node_modules/undici/lib/web/fetch/body.js +509 -0
  228. package/.output/server/node_modules/undici/lib/web/fetch/constants.js +131 -0
  229. package/.output/server/node_modules/undici/lib/web/fetch/data-url.js +596 -0
  230. package/.output/server/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
  231. package/.output/server/node_modules/undici/lib/web/fetch/formdata.js +259 -0
  232. package/.output/server/node_modules/undici/lib/web/fetch/global.js +40 -0
  233. package/.output/server/node_modules/undici/lib/web/fetch/headers.js +719 -0
  234. package/.output/server/node_modules/undici/lib/web/fetch/index.js +2413 -0
  235. package/.output/server/node_modules/undici/lib/web/fetch/request.js +1115 -0
  236. package/.output/server/node_modules/undici/lib/web/fetch/response.js +641 -0
  237. package/.output/server/node_modules/undici/lib/web/fetch/util.js +1522 -0
  238. package/.output/server/node_modules/undici/lib/web/infra/index.js +229 -0
  239. package/.output/server/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
  240. package/.output/server/node_modules/undici/lib/web/webidl/index.js +1006 -0
  241. package/.output/server/node_modules/undici/lib/web/websocket/connection.js +329 -0
  242. package/.output/server/node_modules/undici/lib/web/websocket/constants.js +126 -0
  243. package/.output/server/node_modules/undici/lib/web/websocket/events.js +331 -0
  244. package/.output/server/node_modules/undici/lib/web/websocket/frame.js +133 -0
  245. package/.output/server/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
  246. package/.output/server/node_modules/undici/lib/web/websocket/receiver.js +507 -0
  247. package/.output/server/node_modules/undici/lib/web/websocket/sender.js +109 -0
  248. package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
  249. package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketstream.js +498 -0
  250. package/.output/server/node_modules/undici/lib/web/websocket/util.js +347 -0
  251. package/.output/server/node_modules/undici/lib/web/websocket/websocket.js +758 -0
  252. package/.output/server/node_modules/undici/package.json +152 -0
  253. package/.output/server/package.json +2 -1
  254. package/LICENSE +201 -2
  255. package/README.md +23 -34
  256. package/dist/package.json +3 -2
  257. package/dist/shared/antigravity-schema.js +45 -0
  258. package/dist/shared/dji-grid.js +62 -0
  259. package/dist/shared/types/map-layers.js +2 -0
  260. package/dist/src/cli.js +63 -5
  261. package/dist/src/core/dji-snapshot.js +135 -0
  262. package/dist/src/core/map-layer-paths.js +11 -0
  263. package/dist/src/map-layer-update.js +646 -0
  264. package/package.json +3 -2
  265. package/.output/public/_nuxt/BNfSclJ4.js +0 -1
  266. package/.output/public/_nuxt/BYzlinOr2.js +0 -1
  267. package/.output/public/_nuxt/Be4dNlar.js +0 -1
  268. package/.output/public/_nuxt/C7fHMLd7.js +0 -1
  269. package/.output/public/_nuxt/CNs_Ozdc.js +0 -1
  270. package/.output/public/_nuxt/CQ8inUdm.js +0 -1
  271. package/.output/public/_nuxt/Cc_JfSB1.js +0 -1
  272. package/.output/public/_nuxt/CyZDc0eO2.js +0 -1
  273. package/.output/public/_nuxt/CzFefJH0.js +0 -1
  274. package/.output/public/_nuxt/D-t0hXHB.js +0 -1
  275. package/.output/public/_nuxt/D3Pl7yw22.js +0 -1
  276. package/.output/public/_nuxt/D4gbGuiW.js +0 -1
  277. package/.output/public/_nuxt/DDp9lK3g.js +0 -1
  278. package/.output/public/_nuxt/DIIXHC50.js +0 -1
  279. package/.output/public/_nuxt/DWFUvzz0.js +0 -1
  280. package/.output/public/_nuxt/D_VoD6-f.js +0 -1
  281. package/.output/public/_nuxt/DfXX-x_z.js +0 -1
  282. package/.output/public/_nuxt/Dgyf2aNY.js +0 -1
  283. package/.output/public/_nuxt/GM5myUL22.js +0 -1
  284. package/.output/public/_nuxt/IC4wc76W.js +0 -1
  285. package/.output/public/_nuxt/IfL46N3Z.js +0 -1
  286. package/.output/public/_nuxt/KEU2l6zJ.js +0 -3
  287. package/.output/public/_nuxt/SEETjfdJ.js +0 -1
  288. package/.output/public/_nuxt/builds/meta/2c4adba2-91b5-44e4-91d3-50a61695207b.json +0 -1
  289. package/.output/public/_nuxt/entry.CZ_dkjcs.css +0 -1
  290. package/.output/public/_nuxt/maplibre-gl-worker.nfnkSQvL.mjs +0 -6
  291. package/.output/public/_nuxt/nGp0t_eD.js +0 -1
  292. package/.output/server/chunks/build/Alert-DHVVSgdD.mjs +0 -1074
  293. package/.output/server/chunks/build/Alert-DHVVSgdD.mjs.map +0 -1
  294. package/.output/server/chunks/build/DashboardSidebarToggle-CUI9NSow.mjs.map +0 -1
  295. package/.output/server/chunks/build/Empty-BGIn09cL.mjs.map +0 -1
  296. package/.output/server/chunks/build/FocusScope-DNZVMnza.mjs +0 -207
  297. package/.output/server/chunks/build/FocusScope-DNZVMnza.mjs.map +0 -1
  298. package/.output/server/chunks/build/FormField-DnJWfrKE.mjs.map +0 -1
  299. package/.output/server/chunks/build/MapBaseLayerTabs-CRl5Zwlr.mjs.map +0 -1
  300. package/.output/server/chunks/build/OnlineMap-cFSicmkV.mjs.map +0 -1
  301. package/.output/server/chunks/build/Tooltip-DNUdH4oF.mjs.map +0 -1
  302. package/.output/server/chunks/build/advanced-5ZGMUBqC.mjs.map +0 -1
  303. package/.output/server/chunks/build/compare-CtgF4Anj.mjs.map +0 -1
  304. package/.output/server/chunks/build/pages-0c5sp_lv.mjs.map +0 -1
  305. package/.output/server/chunks/build/tasks-Aa8PwjVL.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import{At as e,Bt as t,Lt as n,M as r,Mn as i,Mt as a,Nn as o,Ot as s,P as c,Pn as l,Wn as u,Xt as d,_t as f,en as p,ln as ee,pr as te,ut as ne,wt as re}from"./C97TfNgP.js";import{Yt as ie}from"./CgMd2Y5s.js";import{a as ae,b as oe,c as se,n as ce,o as le,r as ue,s as de,v as fe}from"./nGp0t_eD.js";import{o as pe}from"./0hm88Oke.js";import{s as me}from"./DIIXHC50.js";function he(e){return`schema`in e&&typeof e.coercer==`function`&&typeof e.validator==`function`&&typeof e.refiner==`function`}function ge(e){return`~standard`in e}async function _e(e,t){let n=await t[`~standard`].validate(e);return n.issues?{errors:n.issues?.map(e=>({name:e.path?.map(e=>typeof e==`object`?e.key:e).join(`.`)||``,message:e.message}))||[],result:null}:{errors:null,result:n.value}}async function ve(e,t){let[n,r]=t.validate(e);return n?{errors:n.failures().map(e=>({message:e.message,name:e.path.join(`.`)})),result:null}:{errors:null,result:r}}function ye(e,t){if(ge(t))return _e(e,t);if(he(t))return ve(e,t);throw Error(`Form validation failed: Unsupported form schema`)}function be(e,t){return t?t.split(`.`).reduce((e,t)=>e?.[t],e):e}function xe(e,t,n){if(!t)return Object.assign(e,n);if(!e)return e;let r=t.split(`.`),i=e;for(let e=0;e<r.length-1;e++){let t=r[e];(i[t]===void 0||i[t]===null)&&(e+1<r.length&&!Number.isNaN(Number(r[e+1]))?i[t]=[]:i[t]={}),i=i[t]}let a=r[r.length-1];return i[a]=n,e}var Se=class e extends Error{formId;errors;constructor(t,n){super(`Form validation exception`),this.formId=t,this.errors=n,Object.setPrototypeOf(this,e.prototype)}},Ce={base:``},we={__name:`UForm`,props:{id:{type:[String,Number],required:!1},schema:{type:null,required:!1},state:{type:null,required:!1},validate:{type:Function,required:!1},validateOn:{type:Array,required:!1,default(){return[`input`,`blur`,`change`]}},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},validateOnInputDelay:{type:Number,required:!1,default:300},transform:{type:null,required:!1,default:()=>!0},nested:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},onSubmit:{type:Function,required:!1}},emits:[`submit`,`error`],setup(he,{expose:ge,emit:_e}){let ve=he,we=_e,m=oe(`form`,ve),Te=pe(),h=r(()=>fe({extend:Ce,...Te.ui?.form||{}})),g=m.id??d(),_=p(`formRef`),v=me(`form-${g}`),y=m.nested===!0&&ne(ce,void 0),b=m.nested===!0?ne(se,void 0):void 0,x=r(()=>b?.value?m.name?be(b.value,m.name):b.value:m.state);a(ce,v),a(se,x);let S=l(new Map);re(async()=>{y&&(await f(),y.emit({type:`attach`,validate:A,formId:g,name:m.name,api:Fe}))}),s(()=>{v.reset(),y&&y.emit({type:`detach`,formId:g})}),re(async()=>{v.on(async e=>{e.type===`attach`?S.value.set(e.formId,{validate:e.validate,name:e.name,api:e.api}):e.type===`detach`?S.value.delete(e.formId):m.validateOn?.includes(e.type)&&!j.value&&(e.type===`input`?(e.eager||D.has(e.name))&&await A({name:e.name,silent:!0,nested:!1}):await A({name:e.name,silent:!0,nested:!1})),e.type===`blur`&&D.add(e.name),(e.type===`change`||e.type===`input`||e.type===`blur`||e.type===`focus`)&&E.add(e.name),(e.type===`change`||e.type===`input`)&&T.add(e.name)})});let C=l([]);a(ue,C);let w=l({});a(ae,w);let T=i(new Set),E=i(new Set),D=i(new Set);function O(e){return e.map(e=>({...e,id:e?.name?w.value[e.name]?.id:void 0}))}let k=l(null);async function Ee(){let e=m.validate?await m.validate(x.value)??[]:[];if(m.schema){let{errors:t,result:n}=await ye(x.value,m.schema);t?e=e.concat(t):k.value=n}return O(e)}async function A(e={silent:!1,nested:!1,transform:!1}){let t=e.name&&!Array.isArray(e.name)?[e.name]:e.name,n=[],r=[];if(!t&&e.nested){let t=Array.from(S.value.values()).map(t=>Oe(t,e)),i=await Promise.all(t);r=i.filter(e=>e.error).flatMap(e=>e.error.errors.map(t=>ke(t,e.name))),n=i.filter(e=>e.output!==void 0)}let i=[...await Ee(),...r];if(t?C.value=Me(i,t):C.value=i,C.value?.length){if(e.silent)return!1;throw new Se(g,C.value)}return e.transform?(n.forEach(e=>{e.name?xe(k.value,e.name,e.output):Object.assign(k.value,e.output)}),k.value??x.value):x.value}let j=l(!1);a(le,o(j));async function De(e){j.value=!!m.loadingAuto;let t=e;try{t.data=await A({nested:!0,transform:m.transform}),await m.onSubmit?.(t),T.clear()}catch(e){if(!(e instanceof Se))throw e;let n={...t,errors:e.errors};we(`error`,n)}finally{j.value=!1}}let M=r(()=>m.disabled||j.value);a(de,r(()=>({disabled:M.value,validateOnInputDelay:m.validateOnInputDelay})));async function Oe(e,t){try{let n=await e.validate({...t,silent:!1});return{name:e.name,output:n}}catch(t){if(!(t instanceof Se))throw t;return{name:e.name,error:t}}}function ke(e,t){return!t||!e.name?e:{...e,name:t+`.`+e.name}}function N(e,t){let n=t+`.`,r=e?.name?.startsWith(n)?e.name.substring(n.length):e.name;return{...e,name:r}}function P(e,t){return t?e.filter(e=>e?.name?.startsWith(t+`.`)).map(e=>N(e,t)):e}function F(e){return e.api.getErrors().map(t=>e.name?{...t,name:e.name+`.`+t.name}:t)}function Ae(e,t){return!e||!t?!0:e instanceof RegExp?e.test(t):t===e||typeof e==`string`&&e.startsWith(t+`.`)}function je(e,t){if(!e||e instanceof RegExp)return e;if(t!==e)return typeof e==`string`&&e.startsWith(t+`.`)?e.substring(t.length+1):e}function Me(e,t){let n=new Set(t),r=t.map(e=>w.value?.[e]?.pattern).filter(Boolean),i=e=>e.name?n.has(e.name)?!0:r.some(t=>t.test(e.name)):!1,a=C.value.filter(e=>!i(e)),o=e.filter(i);return[...a,...o]}function Ne(e,t){return e.filter(e=>t instanceof RegExp?!(e.name&&t.test(e.name)):!e.name||e.name!==t)}function Pe(e){return!e.name||!!w.value[e.name]}let Fe={validate:A,errors:C,setErrors(e,t){let n=O(e.filter(Pe)),r=[];for(let n of S.value.values())if(Ae(t,n.name)){let i=P(e,n.name);n.api.setErrors(i,je(t,n.name||``)),r.push(...F(n))}if(t){let e=Ne(C.value,t);C.value=[...e,...n,...r]}else C.value=[...n,...r]},async submit(){_.value instanceof HTMLFormElement&&_.value.reportValidity()===!1||await De(new Event(`submit`))},getErrors(e){return e?C.value.filter(t=>e instanceof RegExp?t.name&&e.test(t.name):t.name===e):C.value},clear(e){let t=e?C.value.filter(t=>Pe(t)&&(e instanceof RegExp?!(t.name&&e.test(t.name)):t.name!==e)):[],n=[];for(let t of S.value.values())Ae(e,t.name)&&t.api.clear(),n.push(...F(t));C.value=[...t,...n]},disabled:M,loading:j,dirty:r(()=>!!T.size),dirtyFields:o(T),blurredFields:o(D),touchedFields:o(E)};return ge(Fe),(r,i)=>(e(),c(t(u(y)?`div`:`form`),{id:u(g),ref_key:`formRef`,ref:_,name:u(y)?void 0:u(m).name,method:`post`,class:te(h.value({class:[u(m).ui?.base,u(m).class]})),onSubmit:ie(De,[`prevent`])},{default:ee(()=>[n(r.$slots,`default`,{errors:C.value,loading:j.value})]),_:3},40,[`id`,`name`,`class`]))}},m=globalThis.setInterval,Te;function h(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,"name",{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}var g=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},_=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(Te=globalThis).__zod_globalConfig??(Te.__zod_globalConfig={});var v=globalThis.__zod_globalConfig;function y(e){return e&&Object.assign(v,e),v}function b(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function x(e,t){return typeof t==`bigint`?t.toString():t}function S(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function C(e){return e==null}function w(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}var T=Symbol(`evaluating`);function E(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==T)return r===void 0&&(r=T,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function D(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function O(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function k(e){return JSON.stringify(e)}function Ee(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var A=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function j(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var De=S(()=>{if(v.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function M(e){if(j(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return j(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function Oe(e){return M(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var ke=new Set([`string`,`number`,`symbol`]);function N(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function P(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function F(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function Ae(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}-Number.MAX_VALUE,Number.MAX_VALUE;function je(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return P(e,O(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return D(this,`shape`,e),e},checks:[]}))}function Me(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return P(e,O(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return D(this,`shape`,r),r},checks:[]}))}function Ne(e,t){if(!M(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return P(e,O(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return D(this,`shape`,n),n}}))}function Pe(e,t){if(!M(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return P(e,O(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return D(this,`shape`,n),n}}))}function Fe(e,t){if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);return P(e,O(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return D(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function Ie(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return P(t,O(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return D(this,`shape`,i),i},checks:[]}))}function Le(e,t,n){return P(t,O(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return D(this,`shape`,i),i}}))}function I(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Re(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function ze(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function L(e){return typeof e==`string`?e:e?.message}function R(e,t,n){let r=e.message?e.message:L(e.inst?._zod.def?.error?.(e))??L(t?.error?.(e))??L(n.customError?.(e))??L(n.localeError?.(e))??`Invalid input`,{inst:i,continue:a,input:o,...s}=e;return s.path??=[],s.message=r,t?.reportInput&&(s.input=o),s}function Be(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function z(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var Ve=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,x,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},He=h(`$ZodError`,Ve),Ue=h(`$ZodError`,Ve,{Parent:Error});function We(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function Ge(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i];i===e.length-1?(r[n]=r[n]||{_errors:[]},r[n]._errors.push(t(a))):r[n]=r[n]||{_errors:[]},r=r[n],i++}}}};return r(e),n}var Ke=e=>(t,n,r,i)=>{let a=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new g;if(o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>R(e,a,y())));throw A(t,i?.callee),t}return o.value},qe=e=>async(t,n,r,i)=>{let a=r?{...r,async:!0}:{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>R(e,a,y())));throw A(t,i?.callee),t}return o.value},B=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new g;return a.issues.length?{success:!1,error:new(e??He)(a.issues.map(e=>R(e,i,y())))}:{success:!0,data:a.value}},Je=B(Ue),V=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>R(e,i,y())))}:{success:!0,data:a.value}},Ye=V(Ue),Xe=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return Ke(e)(t,n,i)},Ze=e=>(t,n,r)=>Ke(e)(t,n,r),Qe=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return qe(e)(t,n,i)},$e=e=>async(t,n,r)=>qe(e)(t,n,r),et=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return B(e)(t,n,i)},tt=e=>(t,n,r)=>B(e)(t,n,r),nt=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return V(e)(t,n,i)},rt=e=>async(t,n,r)=>V(e)(t,n,r),it=/^[cC][0-9a-z]{6,}$/,at=/^[0-9a-z]+$/,ot=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,st=/^[0-9a-vA-V]{20}$/,ct=/^[A-Za-z0-9]{27}$/,lt=/^[a-zA-Z0-9_-]{21}$/,ut=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,dt=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,ft=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,pt=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,mt=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function ht(){return new RegExp(mt,`u`)}var gt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,_t=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,vt=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,yt=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,bt=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,xt=/^[A-Za-z0-9_-]*$/,St=/^https?$/,Ct=/^\+[1-9]\d{6,14}$/,wt=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`,Tt=RegExp(`^${wt}$`);function Et(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Dt(e){return RegExp(`^${Et(e)}$`)}function Ot(e){let t=Et({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${wt}T(?:${r})$`)}var kt=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},At=/^[^A-Z]*$/,jt=/^[^a-z]*$/,H=h(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Mt=h(`$ZodCheckMaxLength`,(e,t)=>{var n;H.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=Be(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Nt=h(`$ZodCheckMinLength`,(e,t)=>{var n;H.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=Be(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Pt=h(`$ZodCheckLengthEquals`,(e,t)=>{var n;H.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=Be(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),U=h(`$ZodCheckStringFormat`,(e,t)=>{var n,r;H.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Ft=h(`$ZodCheckRegex`,(e,t)=>{U.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),It=h(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=At,U.init(e,t)}),Lt=h(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=jt,U.init(e,t)}),Rt=h(`$ZodCheckIncludes`,(e,t)=>{H.init(e,t);let n=N(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),zt=h(`$ZodCheckStartsWith`,(e,t)=>{H.init(e,t);let n=RegExp(`^${N(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Bt=h(`$ZodCheckEndsWith`,(e,t)=>{H.init(e,t);let n=RegExp(`.*${N(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Vt=h(`$ZodCheckOverwrite`,(e,t)=>{H.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),Ht=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
1
+ import{At as e,Bt as t,Lt as n,M as r,Mn as i,Mt as a,Nn as o,Ot as s,P as c,Pn as l,Wn as u,Xt as d,_t as f,en as p,ln as ee,pr as te,ut as ne,wt as re}from"./C97TfNgP.js";import{Yt as ie}from"./CgMd2Y5s.js";import{a as ae,b as oe,c as se,n as ce,o as le,r as ue,s as de,v as fe}from"./CM9IbYJz.js";import{o as pe}from"./Hbp_Okvs.js";import{s as me}from"./C-b4mqsD.js";function he(e){return`schema`in e&&typeof e.coercer==`function`&&typeof e.validator==`function`&&typeof e.refiner==`function`}function ge(e){return`~standard`in e}async function _e(e,t){let n=await t[`~standard`].validate(e);return n.issues?{errors:n.issues?.map(e=>({name:e.path?.map(e=>typeof e==`object`?e.key:e).join(`.`)||``,message:e.message}))||[],result:null}:{errors:null,result:n.value}}async function ve(e,t){let[n,r]=t.validate(e);return n?{errors:n.failures().map(e=>({message:e.message,name:e.path.join(`.`)})),result:null}:{errors:null,result:r}}function ye(e,t){if(ge(t))return _e(e,t);if(he(t))return ve(e,t);throw Error(`Form validation failed: Unsupported form schema`)}function be(e,t){return t?t.split(`.`).reduce((e,t)=>e?.[t],e):e}function xe(e,t,n){if(!t)return Object.assign(e,n);if(!e)return e;let r=t.split(`.`),i=e;for(let e=0;e<r.length-1;e++){let t=r[e];(i[t]===void 0||i[t]===null)&&(e+1<r.length&&!Number.isNaN(Number(r[e+1]))?i[t]=[]:i[t]={}),i=i[t]}let a=r[r.length-1];return i[a]=n,e}var Se=class e extends Error{formId;errors;constructor(t,n){super(`Form validation exception`),this.formId=t,this.errors=n,Object.setPrototypeOf(this,e.prototype)}},Ce={base:``},we={__name:`UForm`,props:{id:{type:[String,Number],required:!1},schema:{type:null,required:!1},state:{type:null,required:!1},validate:{type:Function,required:!1},validateOn:{type:Array,required:!1,default(){return[`input`,`blur`,`change`]}},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},validateOnInputDelay:{type:Number,required:!1,default:300},transform:{type:null,required:!1,default:()=>!0},nested:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},onSubmit:{type:Function,required:!1}},emits:[`submit`,`error`],setup(he,{expose:ge,emit:_e}){let ve=he,we=_e,m=oe(`form`,ve),Te=pe(),h=r(()=>fe({extend:Ce,...Te.ui?.form||{}})),g=m.id??d(),_=p(`formRef`),v=me(`form-${g}`),y=m.nested===!0&&ne(ce,void 0),b=m.nested===!0?ne(se,void 0):void 0,x=r(()=>b?.value?m.name?be(b.value,m.name):b.value:m.state);a(ce,v),a(se,x);let S=l(new Map);re(async()=>{y&&(await f(),y.emit({type:`attach`,validate:A,formId:g,name:m.name,api:Fe}))}),s(()=>{v.reset(),y&&y.emit({type:`detach`,formId:g})}),re(async()=>{v.on(async e=>{e.type===`attach`?S.value.set(e.formId,{validate:e.validate,name:e.name,api:e.api}):e.type===`detach`?S.value.delete(e.formId):m.validateOn?.includes(e.type)&&!j.value&&(e.type===`input`?(e.eager||D.has(e.name))&&await A({name:e.name,silent:!0,nested:!1}):await A({name:e.name,silent:!0,nested:!1})),e.type===`blur`&&D.add(e.name),(e.type===`change`||e.type===`input`||e.type===`blur`||e.type===`focus`)&&E.add(e.name),(e.type===`change`||e.type===`input`)&&T.add(e.name)})});let C=l([]);a(ue,C);let w=l({});a(ae,w);let T=i(new Set),E=i(new Set),D=i(new Set);function O(e){return e.map(e=>({...e,id:e?.name?w.value[e.name]?.id:void 0}))}let k=l(null);async function Ee(){let e=m.validate?await m.validate(x.value)??[]:[];if(m.schema){let{errors:t,result:n}=await ye(x.value,m.schema);t?e=e.concat(t):k.value=n}return O(e)}async function A(e={silent:!1,nested:!1,transform:!1}){let t=e.name&&!Array.isArray(e.name)?[e.name]:e.name,n=[],r=[];if(!t&&e.nested){let t=Array.from(S.value.values()).map(t=>Oe(t,e)),i=await Promise.all(t);r=i.filter(e=>e.error).flatMap(e=>e.error.errors.map(t=>ke(t,e.name))),n=i.filter(e=>e.output!==void 0)}let i=[...await Ee(),...r];if(t?C.value=Me(i,t):C.value=i,C.value?.length){if(e.silent)return!1;throw new Se(g,C.value)}return e.transform?(n.forEach(e=>{e.name?xe(k.value,e.name,e.output):Object.assign(k.value,e.output)}),k.value??x.value):x.value}let j=l(!1);a(le,o(j));async function De(e){j.value=!!m.loadingAuto;let t=e;try{t.data=await A({nested:!0,transform:m.transform}),await m.onSubmit?.(t),T.clear()}catch(e){if(!(e instanceof Se))throw e;let n={...t,errors:e.errors};we(`error`,n)}finally{j.value=!1}}let M=r(()=>m.disabled||j.value);a(de,r(()=>({disabled:M.value,validateOnInputDelay:m.validateOnInputDelay})));async function Oe(e,t){try{let n=await e.validate({...t,silent:!1});return{name:e.name,output:n}}catch(t){if(!(t instanceof Se))throw t;return{name:e.name,error:t}}}function ke(e,t){return!t||!e.name?e:{...e,name:t+`.`+e.name}}function N(e,t){let n=t+`.`,r=e?.name?.startsWith(n)?e.name.substring(n.length):e.name;return{...e,name:r}}function P(e,t){return t?e.filter(e=>e?.name?.startsWith(t+`.`)).map(e=>N(e,t)):e}function F(e){return e.api.getErrors().map(t=>e.name?{...t,name:e.name+`.`+t.name}:t)}function Ae(e,t){return!e||!t?!0:e instanceof RegExp?e.test(t):t===e||typeof e==`string`&&e.startsWith(t+`.`)}function je(e,t){if(!e||e instanceof RegExp)return e;if(t!==e)return typeof e==`string`&&e.startsWith(t+`.`)?e.substring(t.length+1):e}function Me(e,t){let n=new Set(t),r=t.map(e=>w.value?.[e]?.pattern).filter(Boolean),i=e=>e.name?n.has(e.name)?!0:r.some(t=>t.test(e.name)):!1,a=C.value.filter(e=>!i(e)),o=e.filter(i);return[...a,...o]}function Ne(e,t){return e.filter(e=>t instanceof RegExp?!(e.name&&t.test(e.name)):!e.name||e.name!==t)}function Pe(e){return!e.name||!!w.value[e.name]}let Fe={validate:A,errors:C,setErrors(e,t){let n=O(e.filter(Pe)),r=[];for(let n of S.value.values())if(Ae(t,n.name)){let i=P(e,n.name);n.api.setErrors(i,je(t,n.name||``)),r.push(...F(n))}if(t){let e=Ne(C.value,t);C.value=[...e,...n,...r]}else C.value=[...n,...r]},async submit(){_.value instanceof HTMLFormElement&&_.value.reportValidity()===!1||await De(new Event(`submit`))},getErrors(e){return e?C.value.filter(t=>e instanceof RegExp?t.name&&e.test(t.name):t.name===e):C.value},clear(e){let t=e?C.value.filter(t=>Pe(t)&&(e instanceof RegExp?!(t.name&&e.test(t.name)):t.name!==e)):[],n=[];for(let t of S.value.values())Ae(e,t.name)&&t.api.clear(),n.push(...F(t));C.value=[...t,...n]},disabled:M,loading:j,dirty:r(()=>!!T.size),dirtyFields:o(T),blurredFields:o(D),touchedFields:o(E)};return ge(Fe),(r,i)=>(e(),c(t(u(y)?`div`:`form`),{id:u(g),ref_key:`formRef`,ref:_,name:u(y)?void 0:u(m).name,method:`post`,class:te(h.value({class:[u(m).ui?.base,u(m).class]})),onSubmit:ie(De,[`prevent`])},{default:ee(()=>[n(r.$slots,`default`,{errors:C.value,loading:j.value})]),_:3},40,[`id`,`name`,`class`]))}},m=globalThis.setInterval,Te;function h(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,"name",{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}var g=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},_=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(Te=globalThis).__zod_globalConfig??(Te.__zod_globalConfig={});var v=globalThis.__zod_globalConfig;function y(e){return e&&Object.assign(v,e),v}function b(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function x(e,t){return typeof t==`bigint`?t.toString():t}function S(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function C(e){return e==null}function w(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}var T=Symbol(`evaluating`);function E(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==T)return r===void 0&&(r=T,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function D(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function O(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function k(e){return JSON.stringify(e)}function Ee(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var A=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function j(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var De=S(()=>{if(v.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function M(e){if(j(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return j(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function Oe(e){return M(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var ke=new Set([`string`,`number`,`symbol`]);function N(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function P(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function F(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function Ae(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}-Number.MAX_VALUE,Number.MAX_VALUE;function je(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return P(e,O(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return D(this,`shape`,e),e},checks:[]}))}function Me(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return P(e,O(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return D(this,`shape`,r),r},checks:[]}))}function Ne(e,t){if(!M(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return P(e,O(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return D(this,`shape`,n),n}}))}function Pe(e,t){if(!M(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return P(e,O(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return D(this,`shape`,n),n}}))}function Fe(e,t){if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);return P(e,O(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return D(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function Ie(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return P(t,O(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return D(this,`shape`,i),i},checks:[]}))}function Le(e,t,n){return P(t,O(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return D(this,`shape`,i),i}}))}function I(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Re(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function ze(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function L(e){return typeof e==`string`?e:e?.message}function R(e,t,n){let r=e.message?e.message:L(e.inst?._zod.def?.error?.(e))??L(t?.error?.(e))??L(n.customError?.(e))??L(n.localeError?.(e))??`Invalid input`,{inst:i,continue:a,input:o,...s}=e;return s.path??=[],s.message=r,t?.reportInput&&(s.input=o),s}function Be(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function z(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var Ve=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,x,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},He=h(`$ZodError`,Ve),Ue=h(`$ZodError`,Ve,{Parent:Error});function We(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function Ge(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i];i===e.length-1?(r[n]=r[n]||{_errors:[]},r[n]._errors.push(t(a))):r[n]=r[n]||{_errors:[]},r=r[n],i++}}}};return r(e),n}var Ke=e=>(t,n,r,i)=>{let a=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new g;if(o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>R(e,a,y())));throw A(t,i?.callee),t}return o.value},qe=e=>async(t,n,r,i)=>{let a=r?{...r,async:!0}:{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>R(e,a,y())));throw A(t,i?.callee),t}return o.value},B=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new g;return a.issues.length?{success:!1,error:new(e??He)(a.issues.map(e=>R(e,i,y())))}:{success:!0,data:a.value}},Je=B(Ue),V=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>R(e,i,y())))}:{success:!0,data:a.value}},Ye=V(Ue),Xe=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return Ke(e)(t,n,i)},Ze=e=>(t,n,r)=>Ke(e)(t,n,r),Qe=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return qe(e)(t,n,i)},$e=e=>async(t,n,r)=>qe(e)(t,n,r),et=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return B(e)(t,n,i)},tt=e=>(t,n,r)=>B(e)(t,n,r),nt=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return V(e)(t,n,i)},rt=e=>async(t,n,r)=>V(e)(t,n,r),it=/^[cC][0-9a-z]{6,}$/,at=/^[0-9a-z]+$/,ot=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,st=/^[0-9a-vA-V]{20}$/,ct=/^[A-Za-z0-9]{27}$/,lt=/^[a-zA-Z0-9_-]{21}$/,ut=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,dt=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,ft=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,pt=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,mt=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function ht(){return new RegExp(mt,`u`)}var gt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,_t=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,vt=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,yt=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,bt=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,xt=/^[A-Za-z0-9_-]*$/,St=/^https?$/,Ct=/^\+[1-9]\d{6,14}$/,wt=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`,Tt=RegExp(`^${wt}$`);function Et(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Dt(e){return RegExp(`^${Et(e)}$`)}function Ot(e){let t=Et({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${wt}T(?:${r})$`)}var kt=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},At=/^[^A-Z]*$/,jt=/^[^a-z]*$/,H=h(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Mt=h(`$ZodCheckMaxLength`,(e,t)=>{var n;H.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=Be(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Nt=h(`$ZodCheckMinLength`,(e,t)=>{var n;H.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=Be(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Pt=h(`$ZodCheckLengthEquals`,(e,t)=>{var n;H.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!C(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=Be(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),U=h(`$ZodCheckStringFormat`,(e,t)=>{var n,r;H.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Ft=h(`$ZodCheckRegex`,(e,t)=>{U.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),It=h(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=At,U.init(e,t)}),Lt=h(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=jt,U.init(e,t)}),Rt=h(`$ZodCheckIncludes`,(e,t)=>{H.init(e,t);let n=N(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),zt=h(`$ZodCheckStartsWith`,(e,t)=>{H.init(e,t);let n=RegExp(`^${N(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Bt=h(`$ZodCheckEndsWith`,(e,t)=>{H.init(e,t);let n=RegExp(`.*${N(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Vt=h(`$ZodCheckOverwrite`,(e,t)=>{H.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),Ht=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
2
2
  `).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(`
3
3
  `))}},Ut={major:4,minor:4,patch:3},W=h(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Ut;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=I(e),i;for(let a of t){if(a._zod.def.when){if(Re(e)||!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new g;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=I(e,t))});else{if(e.issues.length===t)continue;r||=I(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(I(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new g;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new g;return o.then(e=>t(e,r,a))}return t(o,r,a)}}E(e,`~standard`,()=>({validate:t=>{try{let n=Je(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return Ye(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),Wt=h(`$ZodString`,(e,t)=>{W.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??kt(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),G=h(`$ZodStringFormat`,(e,t)=>{U.init(e,t),Wt.init(e,t)}),Gt=h(`$ZodGUID`,(e,t)=>{t.pattern??=dt,G.init(e,t)}),Kt=h(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=ft(e)}else t.pattern??=ft();G.init(e,t)}),qt=h(`$ZodEmail`,(e,t)=>{t.pattern??=pt,G.init(e,t)}),Jt=h(`$ZodURL`,(e,t)=>{G.init(e,t),e._zod.check=n=>{try{let r=n.value.trim();if(!t.normalize&&t.protocol?.source===St.source&&!/^https?:\/\//i.test(r)){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}let i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),n.value=t.normalize?i.href:r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),Yt=h(`$ZodEmoji`,(e,t)=>{t.pattern??=ht(),G.init(e,t)}),Xt=h(`$ZodNanoID`,(e,t)=>{t.pattern??=lt,G.init(e,t)}),Zt=h(`$ZodCUID`,(e,t)=>{t.pattern??=it,G.init(e,t)}),Qt=h(`$ZodCUID2`,(e,t)=>{t.pattern??=at,G.init(e,t)}),$t=h(`$ZodULID`,(e,t)=>{t.pattern??=ot,G.init(e,t)}),en=h(`$ZodXID`,(e,t)=>{t.pattern??=st,G.init(e,t)}),tn=h(`$ZodKSUID`,(e,t)=>{t.pattern??=ct,G.init(e,t)}),nn=h(`$ZodISODateTime`,(e,t)=>{t.pattern??=Ot(t),G.init(e,t)}),rn=h(`$ZodISODate`,(e,t)=>{t.pattern??=Tt,G.init(e,t)}),an=h(`$ZodISOTime`,(e,t)=>{t.pattern??=Dt(t),G.init(e,t)}),on=h(`$ZodISODuration`,(e,t)=>{t.pattern??=ut,G.init(e,t)}),sn=h(`$ZodIPv4`,(e,t)=>{t.pattern??=gt,G.init(e,t),e._zod.bag.format=`ipv4`}),cn=h(`$ZodIPv6`,(e,t)=>{t.pattern??=_t,G.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),ln=h(`$ZodCIDRv4`,(e,t)=>{t.pattern??=vt,G.init(e,t)}),un=h(`$ZodCIDRv6`,(e,t)=>{t.pattern??=yt,G.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function dn(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var fn=h(`$ZodBase64`,(e,t)=>{t.pattern??=bt,G.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{dn(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function pn(e){if(!xt.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return dn(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var mn=h(`$ZodBase64URL`,(e,t)=>{t.pattern??=xt,G.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{pn(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),hn=h(`$ZodE164`,(e,t)=>{t.pattern??=Ct,G.init(e,t)});function gn(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var _n=h(`$ZodJWT`,(e,t)=>{G.init(e,t),e._zod.check=n=>{gn(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),vn=h(`$ZodUnknown`,(e,t)=>{W.init(e,t),e._zod.parse=e=>e}),yn=h(`$ZodNever`,(e,t)=>{W.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function bn(e,t,n){e.issues.length&&t.issues.push(...ze(n,e.issues)),t.value[n]=e.value}var xn=h(`$ZodArray`,(e,t)=>{W.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>bn(t,n,e))):bn(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function Sn(e,t,n,r,i,a){let o=n in r;if(e.issues.length){if(i&&a&&!o)return;t.issues.push(...ze(n,e.issues))}if(!o&&!i){e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]});return}e.value===void 0?o&&(t.value[n]=void 0):t.value[n]=e.value}function Cn(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=Ae(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function wn(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optin===`optional`,d=c.optout===`optional`;for(let i in t){if(i===`__proto__`||s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>Sn(e,n,i,t,u,d))):Sn(a,n,i,t,u,d)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}var Tn=h(`$ZodObject`,(e,t)=>{if(W.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let n={...e};return Object.defineProperty(t,"shape",{value:n}),n}})}let n=S(()=>Cn(t));E(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=j,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optin===`optional`,i=n._zod.optout===`optional`,a=n._zod.run({value:s[e],issues:[]},o);a instanceof Promise?c.push(a.then(n=>Sn(n,t,e,s,r,i))):Sn(a,t,e,s,r,i)}return i?wn(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),En=h(`$ZodObjectJIT`,(e,t)=>{Tn.init(e,t);let n=e._zod.parse,r=S(()=>Cn(t)),i=e=>{let t=new Ht([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=k(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=k(r),s=e[r],c=s?._zod?.optin===`optional`,l=s?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),c&&l?t.write(`
4
4
  if (${n}.issues.length) {
@@ -0,0 +1 @@
1
+ import"./CgMd2Y5s.js";import{ct as e}from"./CM9IbYJz.js";var t=e;function n(){return t}export{n as t};
@@ -1 +1 @@
1
- import{At as e,Bt as t,F as n,G as r,I as i,It as a,Lt as o,M as s,Ot as c,P as l,Pn as u,S as d,U as f,Vn as p,Wn as m,Zt as h,gr as g,gt as _,ht as v,ln as y,pr as b,wt as x,zn as S}from"./C97TfNgP.js";import{p as C,u as w}from"./SEETjfdJ.js";import{D as T,b as E,ot as D,q as O,u as k,v as A,y as j}from"./nGp0t_eD.js";import{o as M}from"./0hm88Oke.js";import{t as N}from"./CgcnoKpi.js";import{h as P,l as F,t as I}from"./DIIXHC50.js";import{c as L,i as R}from"./DfXX-x_z.js";import{t as z}from"./CQ8inUdm.js";import{a as B}from"#entry";function ee(e=[],t,n){let r=[...e];return r[n]=t,r.sort((e,t)=>e-t)}function V(e,t,n){let r=100/(n-t)*(e-t);return N(r,0,100)}function H(e,t){if(t>2)return`Value ${e+1} of ${t}`;if(t===2)return[`Minimum`,`Maximum`][e]}function te(e,t){if(e.length===1)return 0;let n=e.map(e=>Math.abs(e-t)),r=Math.min(...n);return n.indexOf(r)}function U(e,t,n){let r=e/2;return(r-G([0,50],[0,r])(t)*n)*n}function W(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function ne(e,t){if(t>0){let n=W(e);return Math.min(...n)>=t}return!0}function G(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function re(e){return(String(e).split(`.`)[1]||``).length}function ie(e,t){let n=10**t;return Math.round(e*n)/n}var K=[`PageUp`,`PageDown`],q=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],J={"from-left":[`Home`,`PageDown`,`ArrowDown`,`ArrowLeft`],"from-right":[`Home`,`PageDown`,`ArrowDown`,`ArrowRight`],"from-bottom":[`Home`,`PageDown`,`ArrowDown`,`ArrowLeft`],"from-top":[`Home`,`PageUp`,`ArrowUp`,`ArrowLeft`]},[Y,X]=D([`SliderVertical`,`SliderHorizontal`]),ae=r({__name:`SliderHorizontal`,props:{dir:{type:String,required:!1},min:{type:Number,required:!0},max:{type:Number,required:!0},inverted:{type:Boolean,required:!0}},emits:[`slideEnd`,`slideStart`,`slideMove`,`homeKeyDown`,`endKeyDown`,`stepKeyDown`],setup(t,{emit:n}){let r=t,i=n,{max:a,min:c,dir:d,inverted:f}=p(r),{forwardRef:h,currentElement:_}=I(),v=Z(),b=u(),x=u(),S=s(()=>d?.value!==`rtl`&&!f.value||d?.value!==`ltr`&&f.value);function C(e,t){let n=x.value||_.value.getBoundingClientRect(),r=[...v.thumbElements.value][v.valueIndexToChangeRef.value],i=v.thumbAlignment.value===`contain`?r.clientWidth:0;!b.value&&!t&&v.thumbAlignment.value===`contain`&&(b.value=e.clientX-r.getBoundingClientRect().left);let o=G([0,n.width-i],S.value?[c.value,a.value]:[a.value,c.value]);return x.value=n,o(t?e.clientX-n.left-i/2:e.clientX-n.left-(b.value??0))}return X({startEdge:s(()=>S.value?`left`:`right`),endEdge:s(()=>S.value?`right`:`left`),direction:s(()=>S.value?1:-1),size:`width`}),(t,n)=>(e(),l(Q,{ref:m(h),dir:m(d),"data-orientation":`horizontal`,style:g({"--reka-slider-thumb-transform":!S.value&&m(v).thumbAlignment.value===`overflow`?`translateX(50%)`:`translateX(-50%)`}),onSlideStart:n[0]||=e=>{let t=C(e,!0);i(`slideStart`,t)},onSlideMove:n[1]||=e=>{let t=C(e);i(`slideMove`,t)},onSlideEnd:n[2]||=()=>{x.value=void 0,b.value=void 0,i(`slideEnd`)},onStepKeyDown:n[3]||=e=>{let t=S.value?`from-left`:`from-right`,n=m(J)[t].includes(e.key);i(`stepKeyDown`,e,n?-1:1)},onEndKeyDown:n[4]||=e=>i(`endKeyDown`,e),onHomeKeyDown:n[5]||=e=>i(`homeKeyDown`,e)},{default:y(()=>[o(t.$slots,`default`)]),_:3},8,[`dir`,`style`]))}}),oe=r({__name:`SliderVertical`,props:{min:{type:Number,required:!0},max:{type:Number,required:!0},inverted:{type:Boolean,required:!0}},emits:[`slideEnd`,`slideStart`,`slideMove`,`homeKeyDown`,`endKeyDown`,`stepKeyDown`],setup(t,{emit:n}){let r=t,i=n,{max:a,min:c,inverted:d}=p(r),f=Z(),{forwardRef:h,currentElement:_}=I(),v=u(),b=u(),x=s(()=>!d.value);function S(e,t){let n=b.value||_.value.getBoundingClientRect(),r=[...f.thumbElements.value][f.valueIndexToChangeRef.value],i=f.thumbAlignment.value===`contain`?r.clientHeight:0;!v.value&&!t&&f.thumbAlignment.value===`contain`&&(v.value=e.clientY-r.getBoundingClientRect().top);let o=G([0,n.height-i],x.value?[a.value,c.value]:[c.value,a.value]),s=t?e.clientY-n.top-i/2:e.clientY-n.top-(v.value??0);return b.value=n,o(s)}return X({startEdge:s(()=>x.value?`bottom`:`top`),endEdge:s(()=>x.value?`top`:`bottom`),direction:s(()=>x.value?1:-1),size:`height`}),(t,n)=>(e(),l(Q,{ref:m(h),"data-orientation":`vertical`,style:g({"--reka-slider-thumb-transform":!x.value&&m(f).thumbAlignment.value===`overflow`?`translateY(-50%)`:`translateY(50%)`}),onSlideStart:n[0]||=e=>{let t=S(e,!0);i(`slideStart`,t)},onSlideMove:n[1]||=e=>{let t=S(e);i(`slideMove`,t)},onSlideEnd:n[2]||=()=>{b.value=void 0,v.value=void 0,i(`slideEnd`)},onStepKeyDown:n[3]||=e=>{let t=x.value?`from-bottom`:`from-top`,n=m(J)[t].includes(e.key);i(`stepKeyDown`,e,n?-1:1)},onEndKeyDown:n[4]||=e=>i(`endKeyDown`,e),onHomeKeyDown:n[5]||=e=>i(`homeKeyDown`,e)},{default:y(()=>[o(t.$slots,`default`)]),_:3},8,[`style`]))}}),[Z,se]=D(`SliderRoot`),ce=r({inheritAttrs:!1,__name:`SliderRoot`,props:{defaultValue:{type:Array,required:!1,default:()=>[0]},modelValue:{type:[Array,null],required:!1},disabled:{type:Boolean,required:!1,default:!1},orientation:{type:String,required:!1,default:`horizontal`},dir:{type:String,required:!1},inverted:{type:Boolean,required:!1,default:!1},min:{type:Number,required:!1,default:0},max:{type:Number,required:!1,default:100},step:{type:Number,required:!1,default:1},minStepsBetweenThumbs:{type:Number,required:!1,default:0},thumbAlignment:{type:String,required:!1,default:`contain`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`,`valueCommit`],setup(r,{emit:i}){let a=r,c=i,{min:d,max:f,step:h,minStepsBetweenThumbs:g,orientation:v,disabled:b,thumbAlignment:x,dir:w}=p(a),T=C(w),{forwardRef:E,currentElement:D}=I(),O=L(D),{CollectionSlot:k}=B({isProvider:!0}),A=P(a,`modelValue`,c,{defaultValue:a.defaultValue,passive:a.modelValue===void 0}),j=s(()=>Array.isArray(A.value)?[...A.value]:[]),M=u(0),F=u(j.value);function z(e){U(e,te(j.value,e))}function V(e){U(e,M.value)}function H(){let e=F.value[M.value];j.value[M.value]!==e&&c(`valueCommit`,S(j.value))}function U(e,t,{commit:n}={commit:!1}){let r=re(h.value),i=ie(Math.round((e-d.value)/h.value)*h.value+d.value,r),a=N(i,d.value,f.value),o=ee(j.value,a,t);if(ne(o,g.value*h.value)){M.value=o.indexOf(a);let e=String(o)!==String(A.value);e&&n&&c(`valueCommit`,o),e&&(W.value[M.value]?.focus(),A.value=o)}}let W=u([]);return se({modelValue:A,currentModelValue:j,valueIndexToChangeRef:M,thumbElements:W,orientation:v,min:d,max:f,disabled:b,thumbAlignment:x}),(r,i)=>(e(),l(m(k),null,{default:y(()=>[(e(),l(t(m(v)===`horizontal`?ae:oe),_(r.$attrs,{ref:m(E),"as-child":r.asChild,as:r.as,min:m(d),max:m(f),dir:m(T),inverted:r.inverted,"aria-disabled":m(b),"data-disabled":m(b)?``:void 0,onPointerdown:i[0]||=()=>{m(b)||(F.value=j.value)},onSlideStart:i[1]||=e=>!m(b)&&z(e),onSlideMove:i[2]||=e=>!m(b)&&V(e),onSlideEnd:i[3]||=e=>!m(b)&&H(),onHomeKeyDown:i[4]||=e=>!m(b)&&U(m(d),0,{commit:!0}),onEndKeyDown:i[5]||=e=>!m(b)&&U(m(f),j.value.length-1,{commit:!0}),onStepKeyDown:i[6]||=(e,t)=>{if(!m(b)){let n=m(K).includes(e.key)||e.shiftKey&&m(q).includes(e.key)?10:1,r=M.value,i=j.value[r];U(i+m(h)*n*t,r,{commit:!0})}}}),{default:y(()=>[o(r.$slots,`default`,{modelValue:m(A)}),m(O)&&r.name?(e(),l(m(R),{key:0,type:`number`,value:m(A),name:r.name,required:r.required,disabled:m(b),step:m(h)},null,8,[`value`,`name`,`required`,`disabled`,`step`])):n(`v-if`,!0)]),_:3},16,[`as-child`,`as`,`min`,`max`,`dir`,`inverted`,`aria-disabled`,`data-disabled`]))]),_:3}))}}),Q=r({__name:`SliderImpl`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},emits:[`slideStart`,`slideMove`,`slideEnd`,`homeKeyDown`,`endKeyDown`,`stepKeyDown`],setup(t,{emit:n}){let r=t,i=n,a=Z();return(t,n)=>(e(),l(m(T),_({"data-slider-impl":``},r,{onKeydown:n[0]||=e=>{e.key===`Home`?(i(`homeKeyDown`,e),e.preventDefault()):e.key===`End`?(i(`endKeyDown`,e),e.preventDefault()):m(K).concat(m(q)).includes(e.key)&&(i(`stepKeyDown`,e),e.preventDefault())},onPointerdown:n[1]||=e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),m(a).thumbElements.value.includes(t)?t.focus():i(`slideStart`,e)},onPointermove:n[2]||=e=>{e.target.hasPointerCapture(e.pointerId)&&i(`slideMove`,e)},onPointerup:n[3]||=e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),i(`slideEnd`,e))}}),{default:y(()=>[o(t.$slots,`default`)]),_:3},16))}}),le=r({__name:`SliderRange`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(t){let n=Z(),r=Y();I();let i=s(()=>n.currentModelValue.value.map(e=>V(e,n.min.value,n.max.value))),a=s(()=>n.currentModelValue.value.length>1?Math.min(...i.value):0),c=s(()=>100-Math.max(...i.value,0));return(t,i)=>(e(),l(m(T),{"data-disabled":m(n).disabled.value?``:void 0,"data-orientation":m(n).orientation.value,"as-child":t.asChild,as:t.as,style:g({[m(r).startEdge.value]:`${a.value}%`,[m(r).endEdge.value]:`${c.value}%`})},{default:y(()=>[o(t.$slots,`default`)]),_:3},8,[`data-disabled`,`data-orientation`,`as-child`,`as`,`style`]))}}),ue=r({inheritAttrs:!1,__name:`SliderThumbImpl`,props:{index:{type:Number,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t,r=Z(),i=Y(),{forwardRef:a,currentElement:u}=I(),{CollectionItem:d}=B(),p=s(()=>r.modelValue?.value?.[n.index]),h=s(()=>p.value===void 0?0:V(p.value,r.min.value??0,r.max.value??100)),g=s(()=>H(n.index,r.modelValue?.value?.length??0)),v=w(u),b=s(()=>v[i.size].value),S=s(()=>r.thumbAlignment.value===`overflow`||!b.value?0:U(b.value,h.value,i.direction.value)),C=F();return x(()=>{r.thumbElements.value.push(u.value)}),c(()=>{let e=r.thumbElements.value.findIndex(e=>e===u.value)??-1;r.thumbElements.value.splice(e,1)}),(t,n)=>(e(),l(m(d),null,{default:y(()=>[f(m(T),_(t.$attrs,{ref:m(a),role:`slider`,tabindex:m(r).disabled.value?void 0:0,"aria-label":t.$attrs[`aria-label`]||g.value,"data-disabled":m(r).disabled.value?``:void 0,"data-orientation":m(r).orientation.value,"aria-valuenow":p.value,"aria-valuemin":m(r).min.value,"aria-valuemax":m(r).max.value,"aria-orientation":m(r).orientation.value,"as-child":t.asChild,as:t.as,style:{transform:`var(--reka-slider-thumb-transform)`,position:`absolute`,[m(i).startEdge.value]:`calc(${h.value}% + ${S.value}px)`,display:!m(C)&&p.value===void 0?`none`:void 0},onFocus:n[0]||=()=>{m(r).valueIndexToChangeRef.value=t.index}}),{default:y(()=>[o(t.$slots,`default`)]),_:3},16,[`tabindex`,`aria-label`,`data-disabled`,`data-orientation`,`aria-valuenow`,`aria-valuemin`,`aria-valuemax`,`aria-orientation`,`as-child`,`as`,`style`])]),_:3}))}}),$=r({__name:`SliderThumb`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(t){let n=t,{getItems:r}=B(),{forwardRef:i,currentElement:a}=I(),c=s(()=>a.value?r(!0).findIndex(e=>e.ref===a.value):-1);return(t,r)=>(e(),l(ue,_({ref:m(i)},n,{index:c.value}),{default:y(()=>[o(t.$slots,`default`)]),_:3},16,[`index`]))}}),de=r({__name:`SliderTrack`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(t){let n=Z();return I(),(t,r)=>(e(),l(m(T),{"as-child":t.asChild,as:t.as,"data-disabled":m(n).disabled.value?``:void 0,"data-orientation":m(n).orientation.value},{default:y(()=>[o(t.$slots,`default`)]),_:3},8,[`as-child`,`as`,`data-disabled`,`data-orientation`]))}}),fe={slots:{root:`relative flex items-center select-none touch-none`,track:`relative bg-accented overflow-hidden rounded-full grow`,range:`absolute rounded-full`,thumb:`rounded-full bg-default ring-2 focus-visible:outline-3 focus-visible:outline-offset-2`},variants:{color:{primary:{range:`bg-primary`,thumb:`ring-primary outline-primary/25`},secondary:{range:`bg-secondary`,thumb:`ring-secondary outline-secondary/25`},success:{range:`bg-success`,thumb:`ring-success outline-success/25`},info:{range:`bg-info`,thumb:`ring-info outline-info/25`},warning:{range:`bg-warning`,thumb:`ring-warning outline-warning/25`},error:{range:`bg-error`,thumb:`ring-error outline-error/25`},neutral:{range:`bg-inverted`,thumb:`ring-inverted outline-inverted/25`}},size:{xs:{thumb:`size-3`},sm:{thumb:`size-3.5`},md:{thumb:`size-4`},lg:{thumb:`size-4.5`},xl:{thumb:`size-5`}},orientation:{horizontal:{root:`w-full`,range:`h-full`},vertical:{root:`flex-col h-full`,range:`w-full`}},disabled:{true:{root:`opacity-75 cursor-not-allowed`}}},compoundVariants:[{orientation:`horizontal`,size:`xs`,class:{track:`h-[6px]`}},{orientation:`horizontal`,size:`sm`,class:{track:`h-[7px]`}},{orientation:`horizontal`,size:`md`,class:{track:`h-[8px]`}},{orientation:`horizontal`,size:`lg`,class:{track:`h-[9px]`}},{orientation:`horizontal`,size:`xl`,class:{track:`h-[10px]`}},{orientation:`vertical`,size:`xs`,class:{track:`w-[6px]`}},{orientation:`vertical`,size:`sm`,class:{track:`w-[7px]`}},{orientation:`vertical`,size:`md`,class:{track:`w-[8px]`}},{orientation:`vertical`,size:`lg`,class:{track:`w-[9px]`}},{orientation:`vertical`,size:`xl`,class:{track:`w-[10px]`}}],defaultVariants:{size:`md`,color:`primary`}},pe={__name:`USlider`,props:v({as:{type:null,required:!1},size:{type:null,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:`horizontal`},tooltip:{type:[Boolean,Object],required:!1},defaultValue:{type:[Number,Array],required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},name:{type:String,required:!1},disabled:{type:Boolean,required:!1},inverted:{type:Boolean,required:!1},min:{type:Number,required:!1,default:0},max:{type:Number,required:!1,default:100},step:{type:Number,required:!1,default:1},minStepsBetweenThumbs:{type:Number,required:!1}},{modelValue:{type:null},modelModifiers:{}}),emits:v([`change`],[`update:modelValue`]),setup(t,{emit:n}){let r=t,o=n,c=E(`slider`,r),u=h(t,`modelValue`),p=M(),g=j(O(c,`as`,`orientation`,`min`,`max`,`step`,`minStepsBetweenThumbs`,`inverted`),o),{id:v,emitFormChange:x,emitFormInput:S,size:C,color:w,name:T,disabled:D,ariaAttrs:N}=k(r),P=s(()=>typeof c.defaultValue==`number`?[c.defaultValue]:c.defaultValue),F=s({get(){return typeof u.value==`number`?[u.value]:u.value??P.value},set(e){u.value=e?.length===1?e[0]:e}}),I=s(()=>F.value?.length??1),L=s(()=>A({extend:fe,...p.ui?.slider||{}})({disabled:D.value,size:C.value??c.size,color:w.value??c.color,orientation:c.orientation}));function R(e){let t=new Event(`change`,{target:{value:e}});o(`change`,t),x()}return(t,n)=>(e(),l(m(ce),_({...m(g),...m(N)},{id:m(v),modelValue:F.value,"onUpdate:modelValue":[n[0]||=e=>F.value=e,n[1]||=e=>m(S)()],name:m(T),disabled:m(D),"data-slot":`root`,class:L.value.root({class:[m(c).ui?.root,m(c).class]}),"default-value":P.value,onValueCommit:R}),{default:y(()=>[f(m(de),{"data-slot":`track`,class:b(L.value.track({class:m(c).ui?.track}))},{default:y(()=>[f(m(le),{"data-slot":`range`,class:b(L.value.range({class:m(c).ui?.range}))},null,8,[`class`])]),_:1},8,[`class`]),(e(!0),i(d,null,a(I.value,t=>(e(),i(d,{key:t},[m(c).tooltip?(e(),l(z,_({key:0,text:I.value>1?String(F.value?.[t-1]):String(F.value),"disable-closing-trigger":``},{ref_for:!0},typeof m(c).tooltip==`object`?m(c).tooltip:{}),{default:y(()=>[f(m($),{"data-slot":`thumb`,class:b(L.value.thumb({class:m(c).ui?.thumb})),"aria-label":I.value===1?`Thumb`:`Thumb ${t} of ${I.value}`},null,8,[`class`,`aria-label`])]),_:2},1040,[`text`])):(e(),l(m($),{key:1,"data-slot":`thumb`,class:b(L.value.thumb({class:m(c).ui?.thumb})),"aria-label":I.value===1?`Thumb`:`Thumb ${t} of ${I.value}`},null,8,[`class`,`aria-label`]))],64))),128))]),_:1},16,[`id`,`modelValue`,`name`,`disabled`,`class`,`default-value`]))}};export{pe as t};
1
+ import{At as e,Bt as t,F as n,G as r,I as i,It as a,Lt as o,M as s,Ot as c,P as l,Pn as u,S as d,U as f,Vn as p,Wn as m,Zt as h,gr as g,gt as _,ht as v,ln as y,pr as b,wt as x,zn as S}from"./C97TfNgP.js";import{_ as C,f as w}from"./CUJ4QmLF.js";import{D as T,b as E,q as D,st as O,u as k,v as A,y as j}from"./CM9IbYJz.js";import{o as M}from"./Hbp_Okvs.js";import{t as N}from"./CgcnoKpi.js";import{d as P,f as F}from"./CeHZqNQ0.js";import{h as I,l as L,t as R}from"./C-b4mqsD.js";import{t as z}from"./BA52uD81.js";import{a as B}from"#entry";function ee(e=[],t,n){let r=[...e];return r[n]=t,r.sort((e,t)=>e-t)}function V(e,t,n){let r=100/(n-t)*(e-t);return N(r,0,100)}function H(e,t){if(t>2)return`Value ${e+1} of ${t}`;if(t===2)return[`Minimum`,`Maximum`][e]}function te(e,t){if(e.length===1)return 0;let n=e.map(e=>Math.abs(e-t)),r=Math.min(...n);return n.indexOf(r)}function U(e,t,n){let r=e/2;return(r-G([0,50],[0,r])(t)*n)*n}function W(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function ne(e,t){if(t>0){let n=W(e);return Math.min(...n)>=t}return!0}function G(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function re(e){return(String(e).split(`.`)[1]||``).length}function ie(e,t){let n=10**t;return Math.round(e*n)/n}var K=[`PageUp`,`PageDown`],q=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],J={"from-left":[`Home`,`PageDown`,`ArrowDown`,`ArrowLeft`],"from-right":[`Home`,`PageDown`,`ArrowDown`,`ArrowRight`],"from-bottom":[`Home`,`PageDown`,`ArrowDown`,`ArrowLeft`],"from-top":[`Home`,`PageUp`,`ArrowUp`,`ArrowLeft`]},[Y,X]=O([`SliderVertical`,`SliderHorizontal`]),ae=r({__name:`SliderHorizontal`,props:{dir:{type:String,required:!1},min:{type:Number,required:!0},max:{type:Number,required:!0},inverted:{type:Boolean,required:!0}},emits:[`slideEnd`,`slideStart`,`slideMove`,`homeKeyDown`,`endKeyDown`,`stepKeyDown`],setup(t,{emit:n}){let r=t,i=n,{max:a,min:c,dir:d,inverted:f}=p(r),{forwardRef:h,currentElement:_}=R(),v=Z(),b=u(),x=u(),S=s(()=>d?.value!==`rtl`&&!f.value||d?.value!==`ltr`&&f.value);function C(e,t){let n=x.value||_.value.getBoundingClientRect(),r=[...v.thumbElements.value][v.valueIndexToChangeRef.value],i=v.thumbAlignment.value===`contain`?r.clientWidth:0;!b.value&&!t&&v.thumbAlignment.value===`contain`&&(b.value=e.clientX-r.getBoundingClientRect().left);let o=G([0,n.width-i],S.value?[c.value,a.value]:[a.value,c.value]);return x.value=n,o(t?e.clientX-n.left-i/2:e.clientX-n.left-(b.value??0))}return X({startEdge:s(()=>S.value?`left`:`right`),endEdge:s(()=>S.value?`right`:`left`),direction:s(()=>S.value?1:-1),size:`width`}),(t,n)=>(e(),l(Q,{ref:m(h),dir:m(d),"data-orientation":`horizontal`,style:g({"--reka-slider-thumb-transform":!S.value&&m(v).thumbAlignment.value===`overflow`?`translateX(50%)`:`translateX(-50%)`}),onSlideStart:n[0]||=e=>{let t=C(e,!0);i(`slideStart`,t)},onSlideMove:n[1]||=e=>{let t=C(e);i(`slideMove`,t)},onSlideEnd:n[2]||=()=>{x.value=void 0,b.value=void 0,i(`slideEnd`)},onStepKeyDown:n[3]||=e=>{let t=S.value?`from-left`:`from-right`,n=m(J)[t].includes(e.key);i(`stepKeyDown`,e,n?-1:1)},onEndKeyDown:n[4]||=e=>i(`endKeyDown`,e),onHomeKeyDown:n[5]||=e=>i(`homeKeyDown`,e)},{default:y(()=>[o(t.$slots,`default`)]),_:3},8,[`dir`,`style`]))}}),oe=r({__name:`SliderVertical`,props:{min:{type:Number,required:!0},max:{type:Number,required:!0},inverted:{type:Boolean,required:!0}},emits:[`slideEnd`,`slideStart`,`slideMove`,`homeKeyDown`,`endKeyDown`,`stepKeyDown`],setup(t,{emit:n}){let r=t,i=n,{max:a,min:c,inverted:d}=p(r),f=Z(),{forwardRef:h,currentElement:_}=R(),v=u(),b=u(),x=s(()=>!d.value);function S(e,t){let n=b.value||_.value.getBoundingClientRect(),r=[...f.thumbElements.value][f.valueIndexToChangeRef.value],i=f.thumbAlignment.value===`contain`?r.clientHeight:0;!v.value&&!t&&f.thumbAlignment.value===`contain`&&(v.value=e.clientY-r.getBoundingClientRect().top);let o=G([0,n.height-i],x.value?[a.value,c.value]:[c.value,a.value]),s=t?e.clientY-n.top-i/2:e.clientY-n.top-(v.value??0);return b.value=n,o(s)}return X({startEdge:s(()=>x.value?`bottom`:`top`),endEdge:s(()=>x.value?`top`:`bottom`),direction:s(()=>x.value?1:-1),size:`height`}),(t,n)=>(e(),l(Q,{ref:m(h),"data-orientation":`vertical`,style:g({"--reka-slider-thumb-transform":!x.value&&m(f).thumbAlignment.value===`overflow`?`translateY(-50%)`:`translateY(50%)`}),onSlideStart:n[0]||=e=>{let t=S(e,!0);i(`slideStart`,t)},onSlideMove:n[1]||=e=>{let t=S(e);i(`slideMove`,t)},onSlideEnd:n[2]||=()=>{b.value=void 0,v.value=void 0,i(`slideEnd`)},onStepKeyDown:n[3]||=e=>{let t=x.value?`from-bottom`:`from-top`,n=m(J)[t].includes(e.key);i(`stepKeyDown`,e,n?-1:1)},onEndKeyDown:n[4]||=e=>i(`endKeyDown`,e),onHomeKeyDown:n[5]||=e=>i(`homeKeyDown`,e)},{default:y(()=>[o(t.$slots,`default`)]),_:3},8,[`style`]))}}),[Z,se]=O(`SliderRoot`),ce=r({inheritAttrs:!1,__name:`SliderRoot`,props:{defaultValue:{type:Array,required:!1,default:()=>[0]},modelValue:{type:[Array,null],required:!1},disabled:{type:Boolean,required:!1,default:!1},orientation:{type:String,required:!1,default:`horizontal`},dir:{type:String,required:!1},inverted:{type:Boolean,required:!1,default:!1},min:{type:Number,required:!1,default:0},max:{type:Number,required:!1,default:100},step:{type:Number,required:!1,default:1},minStepsBetweenThumbs:{type:Number,required:!1,default:0},thumbAlignment:{type:String,required:!1,default:`contain`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`,`valueCommit`],setup(r,{emit:i}){let a=r,c=i,{min:d,max:f,step:h,minStepsBetweenThumbs:g,orientation:v,disabled:b,thumbAlignment:x,dir:w}=p(a),T=C(w),{forwardRef:E,currentElement:D}=R(),O=F(D),{CollectionSlot:k}=B({isProvider:!0}),A=I(a,`modelValue`,c,{defaultValue:a.defaultValue,passive:a.modelValue===void 0}),j=s(()=>Array.isArray(A.value)?[...A.value]:[]),M=u(0),L=u(j.value);function z(e){U(e,te(j.value,e))}function V(e){U(e,M.value)}function H(){let e=L.value[M.value];j.value[M.value]!==e&&c(`valueCommit`,S(j.value))}function U(e,t,{commit:n}={commit:!1}){let r=re(h.value),i=ie(Math.round((e-d.value)/h.value)*h.value+d.value,r),a=N(i,d.value,f.value),o=ee(j.value,a,t);if(ne(o,g.value*h.value)){M.value=o.indexOf(a);let e=String(o)!==String(A.value);e&&n&&c(`valueCommit`,o),e&&(W.value[M.value]?.focus(),A.value=o)}}let W=u([]);return se({modelValue:A,currentModelValue:j,valueIndexToChangeRef:M,thumbElements:W,orientation:v,min:d,max:f,disabled:b,thumbAlignment:x}),(r,i)=>(e(),l(m(k),null,{default:y(()=>[(e(),l(t(m(v)===`horizontal`?ae:oe),_(r.$attrs,{ref:m(E),"as-child":r.asChild,as:r.as,min:m(d),max:m(f),dir:m(T),inverted:r.inverted,"aria-disabled":m(b),"data-disabled":m(b)?``:void 0,onPointerdown:i[0]||=()=>{m(b)||(L.value=j.value)},onSlideStart:i[1]||=e=>!m(b)&&z(e),onSlideMove:i[2]||=e=>!m(b)&&V(e),onSlideEnd:i[3]||=e=>!m(b)&&H(),onHomeKeyDown:i[4]||=e=>!m(b)&&U(m(d),0,{commit:!0}),onEndKeyDown:i[5]||=e=>!m(b)&&U(m(f),j.value.length-1,{commit:!0}),onStepKeyDown:i[6]||=(e,t)=>{if(!m(b)){let n=m(K).includes(e.key)||e.shiftKey&&m(q).includes(e.key)?10:1,r=M.value,i=j.value[r];U(i+m(h)*n*t,r,{commit:!0})}}}),{default:y(()=>[o(r.$slots,`default`,{modelValue:m(A)}),m(O)&&r.name?(e(),l(m(P),{key:0,type:`number`,value:m(A),name:r.name,required:r.required,disabled:m(b),step:m(h)},null,8,[`value`,`name`,`required`,`disabled`,`step`])):n(`v-if`,!0)]),_:3},16,[`as-child`,`as`,`min`,`max`,`dir`,`inverted`,`aria-disabled`,`data-disabled`]))]),_:3}))}}),Q=r({__name:`SliderImpl`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},emits:[`slideStart`,`slideMove`,`slideEnd`,`homeKeyDown`,`endKeyDown`,`stepKeyDown`],setup(t,{emit:n}){let r=t,i=n,a=Z();return(t,n)=>(e(),l(m(T),_({"data-slider-impl":``},r,{onKeydown:n[0]||=e=>{e.key===`Home`?(i(`homeKeyDown`,e),e.preventDefault()):e.key===`End`?(i(`endKeyDown`,e),e.preventDefault()):m(K).concat(m(q)).includes(e.key)&&(i(`stepKeyDown`,e),e.preventDefault())},onPointerdown:n[1]||=e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),m(a).thumbElements.value.includes(t)?t.focus():i(`slideStart`,e)},onPointermove:n[2]||=e=>{e.target.hasPointerCapture(e.pointerId)&&i(`slideMove`,e)},onPointerup:n[3]||=e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),i(`slideEnd`,e))}}),{default:y(()=>[o(t.$slots,`default`)]),_:3},16))}}),le=r({__name:`SliderRange`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(t){let n=Z(),r=Y();R();let i=s(()=>n.currentModelValue.value.map(e=>V(e,n.min.value,n.max.value))),a=s(()=>n.currentModelValue.value.length>1?Math.min(...i.value):0),c=s(()=>100-Math.max(...i.value,0));return(t,i)=>(e(),l(m(T),{"data-disabled":m(n).disabled.value?``:void 0,"data-orientation":m(n).orientation.value,"as-child":t.asChild,as:t.as,style:g({[m(r).startEdge.value]:`${a.value}%`,[m(r).endEdge.value]:`${c.value}%`})},{default:y(()=>[o(t.$slots,`default`)]),_:3},8,[`data-disabled`,`data-orientation`,`as-child`,`as`,`style`]))}}),ue=r({inheritAttrs:!1,__name:`SliderThumbImpl`,props:{index:{type:Number,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t,r=Z(),i=Y(),{forwardRef:a,currentElement:u}=R(),{CollectionItem:d}=B(),p=s(()=>r.modelValue?.value?.[n.index]),h=s(()=>p.value===void 0?0:V(p.value,r.min.value??0,r.max.value??100)),g=s(()=>H(n.index,r.modelValue?.value?.length??0)),v=w(u),b=s(()=>v[i.size].value),S=s(()=>r.thumbAlignment.value===`overflow`||!b.value?0:U(b.value,h.value,i.direction.value)),C=L();return x(()=>{r.thumbElements.value.push(u.value)}),c(()=>{let e=r.thumbElements.value.findIndex(e=>e===u.value)??-1;r.thumbElements.value.splice(e,1)}),(t,n)=>(e(),l(m(d),null,{default:y(()=>[f(m(T),_(t.$attrs,{ref:m(a),role:`slider`,tabindex:m(r).disabled.value?void 0:0,"aria-label":t.$attrs[`aria-label`]||g.value,"data-disabled":m(r).disabled.value?``:void 0,"data-orientation":m(r).orientation.value,"aria-valuenow":p.value,"aria-valuemin":m(r).min.value,"aria-valuemax":m(r).max.value,"aria-orientation":m(r).orientation.value,"as-child":t.asChild,as:t.as,style:{transform:`var(--reka-slider-thumb-transform)`,position:`absolute`,[m(i).startEdge.value]:`calc(${h.value}% + ${S.value}px)`,display:!m(C)&&p.value===void 0?`none`:void 0},onFocus:n[0]||=()=>{m(r).valueIndexToChangeRef.value=t.index}}),{default:y(()=>[o(t.$slots,`default`)]),_:3},16,[`tabindex`,`aria-label`,`data-disabled`,`data-orientation`,`aria-valuenow`,`aria-valuemin`,`aria-valuemax`,`aria-orientation`,`as-child`,`as`,`style`])]),_:3}))}}),$=r({__name:`SliderThumb`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(t){let n=t,{getItems:r}=B(),{forwardRef:i,currentElement:a}=R(),c=s(()=>a.value?r(!0).findIndex(e=>e.ref===a.value):-1);return(t,r)=>(e(),l(ue,_({ref:m(i)},n,{index:c.value}),{default:y(()=>[o(t.$slots,`default`)]),_:3},16,[`index`]))}}),de=r({__name:`SliderTrack`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(t){let n=Z();return R(),(t,r)=>(e(),l(m(T),{"as-child":t.asChild,as:t.as,"data-disabled":m(n).disabled.value?``:void 0,"data-orientation":m(n).orientation.value},{default:y(()=>[o(t.$slots,`default`)]),_:3},8,[`as-child`,`as`,`data-disabled`,`data-orientation`]))}}),fe={slots:{root:`relative flex items-center select-none touch-none`,track:`relative bg-accented overflow-hidden rounded-full grow`,range:`absolute rounded-full`,thumb:`rounded-full bg-default ring-2 focus-visible:outline-3 focus-visible:outline-offset-2`},variants:{color:{primary:{range:`bg-primary`,thumb:`ring-primary outline-primary/25`},secondary:{range:`bg-secondary`,thumb:`ring-secondary outline-secondary/25`},success:{range:`bg-success`,thumb:`ring-success outline-success/25`},info:{range:`bg-info`,thumb:`ring-info outline-info/25`},warning:{range:`bg-warning`,thumb:`ring-warning outline-warning/25`},error:{range:`bg-error`,thumb:`ring-error outline-error/25`},neutral:{range:`bg-inverted`,thumb:`ring-inverted outline-inverted/25`}},size:{xs:{thumb:`size-3`},sm:{thumb:`size-3.5`},md:{thumb:`size-4`},lg:{thumb:`size-4.5`},xl:{thumb:`size-5`}},orientation:{horizontal:{root:`w-full`,range:`h-full`},vertical:{root:`flex-col h-full`,range:`w-full`}},disabled:{true:{root:`opacity-75 cursor-not-allowed`}}},compoundVariants:[{orientation:`horizontal`,size:`xs`,class:{track:`h-[6px]`}},{orientation:`horizontal`,size:`sm`,class:{track:`h-[7px]`}},{orientation:`horizontal`,size:`md`,class:{track:`h-[8px]`}},{orientation:`horizontal`,size:`lg`,class:{track:`h-[9px]`}},{orientation:`horizontal`,size:`xl`,class:{track:`h-[10px]`}},{orientation:`vertical`,size:`xs`,class:{track:`w-[6px]`}},{orientation:`vertical`,size:`sm`,class:{track:`w-[7px]`}},{orientation:`vertical`,size:`md`,class:{track:`w-[8px]`}},{orientation:`vertical`,size:`lg`,class:{track:`w-[9px]`}},{orientation:`vertical`,size:`xl`,class:{track:`w-[10px]`}}],defaultVariants:{size:`md`,color:`primary`}},pe={__name:`USlider`,props:v({as:{type:null,required:!1},size:{type:null,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:`horizontal`},tooltip:{type:[Boolean,Object],required:!1},defaultValue:{type:[Number,Array],required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},name:{type:String,required:!1},disabled:{type:Boolean,required:!1},inverted:{type:Boolean,required:!1},min:{type:Number,required:!1,default:0},max:{type:Number,required:!1,default:100},step:{type:Number,required:!1,default:1},minStepsBetweenThumbs:{type:Number,required:!1}},{modelValue:{type:null},modelModifiers:{}}),emits:v([`change`],[`update:modelValue`]),setup(t,{emit:n}){let r=t,o=n,c=E(`slider`,r),u=h(t,`modelValue`),p=M(),g=j(D(c,`as`,`orientation`,`min`,`max`,`step`,`minStepsBetweenThumbs`,`inverted`),o),{id:v,emitFormChange:x,emitFormInput:S,size:C,color:w,name:T,disabled:O,ariaAttrs:N}=k(r),P=s(()=>typeof c.defaultValue==`number`?[c.defaultValue]:c.defaultValue),F=s({get(){return typeof u.value==`number`?[u.value]:u.value??P.value},set(e){u.value=e?.length===1?e[0]:e}}),I=s(()=>F.value?.length??1),L=s(()=>A({extend:fe,...p.ui?.slider||{}})({disabled:O.value,size:C.value??c.size,color:w.value??c.color,orientation:c.orientation}));function R(e){let t=new Event(`change`,{target:{value:e}});o(`change`,t),x()}return(t,n)=>(e(),l(m(ce),_({...m(g),...m(N)},{id:m(v),modelValue:F.value,"onUpdate:modelValue":[n[0]||=e=>F.value=e,n[1]||=e=>m(S)()],name:m(T),disabled:m(O),"data-slot":`root`,class:L.value.root({class:[m(c).ui?.root,m(c).class]}),"default-value":P.value,onValueCommit:R}),{default:y(()=>[f(m(de),{"data-slot":`track`,class:b(L.value.track({class:m(c).ui?.track}))},{default:y(()=>[f(m(le),{"data-slot":`range`,class:b(L.value.range({class:m(c).ui?.range}))},null,8,[`class`])]),_:1},8,[`class`]),(e(!0),i(d,null,a(I.value,t=>(e(),i(d,{key:t},[m(c).tooltip?(e(),l(z,_({key:0,text:I.value>1?String(F.value?.[t-1]):String(F.value),"disable-closing-trigger":``},{ref_for:!0},typeof m(c).tooltip==`object`?m(c).tooltip:{}),{default:y(()=>[f(m($),{"data-slot":`thumb`,class:b(L.value.thumb({class:m(c).ui?.thumb})),"aria-label":I.value===1?`Thumb`:`Thumb ${t} of ${I.value}`},null,8,[`class`,`aria-label`])]),_:2},1040,[`text`])):(e(),l(m($),{key:1,"data-slot":`thumb`,class:b(L.value.thumb({class:m(c).ui?.thumb})),"aria-label":I.value===1?`Thumb`:`Thumb ${t} of ${I.value}`},null,8,[`class`,`aria-label`]))],64))),128))]),_:1},16,[`id`,`modelValue`,`name`,`disabled`,`class`,`default-value`]))}};export{pe as t};
@@ -3,4 +3,4 @@ import{t as e}from"./DK3Fl9T5.js";import{$ as t,Bn as n,Cr as r,En as i,G as a,H
3
3
  }
4
4
  `},rule:{compressed:`{key}:`,compact:` {key}: `,expanded:`
5
5
  {key}: `}};function An(e,t=`expanded`){let n=[];for(let r=0;r<e.length;r++){let{selector:i,rules:a}=e[r],o=(i instanceof Array?i.join(t===`compressed`?`,`:`, `):i)+kn.selectorStart[t],s=!0;for(let e in a)s||(o+=`;`),o+=kn.rule[t].replace(`{key}`,e)+a[e],s=!1;o+=kn.selectorEnd[t],n.push(o)}return n.join(t===`compressed`?``:`
6
- `)}function jn(e,t={}){let n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes(`currentColor`)?`background`:`mask`),i=t.varName;i===void 0&&r===`mask`&&(i=`svg`);let a={...t,mode:r,varName:i};r===`background`&&delete a.varName;let o=Object.create(null);return Object.assign(o,t.rules,Dn(a),On({...dn,...e,body:n},a)),An([{selector:t.iconSelector||`.icon`,rules:o}],a.format)}var Mn=!1;function Nn(e){if(Mn)return;let t=JSON.parse(`[{"prefix":"lucide","icons":{"archive":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"5\\" x=\\"2\\" y=\\"3\\" rx=\\"1\\"/><path d=\\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4\\"/></g>"},"arrow-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 5v14m7-7l-7 7l-7-7\\"/>"},"arrow-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m12 19l-7-7l7-7m7 7H5\\"/>"},"arrow-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7l7 7l-7 7\\"/>"},"arrow-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m5 12l7-7l7 7m-7 7V5\\"/>"},"arrow-up-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M7 7h10v10M7 17L17 7\\"/>"},"badge-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3.85 8.62a4 4 0 0 1 4.78-4.77a4 4 0 0 1 6.74 0a4 4 0 0 1 4.78 4.78a4 4 0 0 1 0 6.74a4 4 0 0 1-4.77 4.78a4 4 0 0 1-6.75 0a4 4 0 0 1-4.78-4.77a4 4 0 0 1 0-6.76\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 6L9 17l-5-5\\"/>"},"chevron-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 9l6 6l6-6\\"/>"},"chevron-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m15 18l-6-6l6-6\\"/>"},"chevron-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m9 18l6-6l-6-6\\"/>"},"chevron-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18 15l-6-6l-6 6\\"/>"},"chevrons-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\"/>"},"chevrons-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\"/>"},"circle-alert":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 8v4m0 4h.01\\"/></g>"},"circle-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"circle-stop":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"9\\" y=\\"9\\" rx=\\"1\\"/></g>"},"circle-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m15 9l-6 6m0-6l6 6\\"/></g>"},"cloud":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9\\"/>"},"cloud-off":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057m-2.926 2.753A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78M2 2l20 20\\"/>"},"columns-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M12 3v18\\"/></g>"},"copy":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"copy-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m12 15l2 2l4-4\\"/><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"database":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><ellipse cx=\\"12\\" cy=\\"5\\" rx=\\"9\\" ry=\\"3\\"/><path d=\\"M3 5v14a9 3 0 0 0 18 0V5\\"/><path d=\\"M3 12a9 3 0 0 0 18 0\\"/></g>"},"download":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/><path d=\\"m7 10l5 5l5-5\\"/></g>"},"earth":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M21.54 15H17a2 2 0 0 0-2 2v4.54M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/></g>"},"ellipsis":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"12\\" r=\\"1\\"/></g>"},"eye":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"eye-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\"/><path d=\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\"/></g>"},"file":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5\\"/></g>"},"file-check-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4M3 15l2 2l4-4\\"/></g>","hidden":true},"file-up":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5m-8 4v6m3-3l-3-3l-3 3\\"/></g>"},"file-x-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4M8 12.5l-5 5m0-5l5 5\\"/></g>","hidden":true},"files":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8\\"/><path d=\\"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706zM5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1\\"/></g>"},"folder":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-open":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\"/>"},"grip-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"9\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"19\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"19\\" r=\\"1\\"/></g>"},"hash":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\"/>"},"image":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" ry=\\"2\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\\"/></g>"},"info":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 16v-4m0-4h.01\\"/></g>"},"keyboard":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 8h.01M12 12h.01M14 8h.01M16 12h.01M18 8h.01M6 8h.01M7 16h10m-9-4h.01\\"/><rect width=\\"20\\" height=\\"16\\" x=\\"2\\" y=\\"4\\" rx=\\"2\\"/></g>"},"layers-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74zm7 .545l1.5.845a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l1.5-.845\\"/>"},"lightbulb":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\"/>"},"list":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 5h.01M3 12h.01M3 19h.01M8 5h13M8 12h13M8 19h13\\"/>"},"list-check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M16 5H3m13 7H3m8 7H3m12-1l2 2l4-4\\"/>"},"loader-circle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21 12a9 9 0 1 1-6.219-8.56\\"/>"},"locate-fixed":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 12h3m14 0h3M12 2v3m0 14v3\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"7\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"log-out":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\"/>"},"map":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0zm.894.211v15M9 3.236v15\\"/>"},"map-pin":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/></g>"},"map-pin-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.43 12.935c.357-.967.57-1.955.57-2.935a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0a32 32 0 0 0 .813-.728\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/><path d=\\"m16 18l2 2l4-4\\"/></g>"},"map-pin-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12.75 7.09a3 3 0 0 1 2.16 2.16m2.162 7.822c-1.634 2.17-3.527 3.912-4.471 4.727a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 1.432-4.568M2 2l20 20\\"/><path d=\\"M8.475 2.818A8 8 0 0 1 20 10c0 1.183-.31 2.377-.81 3.533M9.13 9.13a3 3 0 0 0 3.74 3.74\\"/></g>"},"map-pin-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.752 11.901A7.8 7.8 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0l.09-.077\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/><path d=\\"m21.5 15.5l-5 5m5 0l-5-5\\"/></g>"},"menu":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 5h16M4 12h16M4 19h16\\"/>"},"message-square":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/>"},"message-square-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/><path d=\\"m9 11l2 2l4-4\\"/></g>"},"minus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14\\"/>"},"monitor":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M8 21h8m-4-4v4\\"/></g>"},"monitor-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m14.5 12.5l-5-5m0 5l5-5\\"/><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M12 17v4m-4 0h8\\"/></g>"},"moon":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\"/>"},"package":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73zm1 .27V12\\"/><path d=\\"M3.29 7L12 12l8.71-5M7.5 4.27l9 5.15\\"/></g>"},"package-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 22v-9m3.17-10.79a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.66 1.66 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z\\"/><path d=\\"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13\\"/><path d=\\"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.64 1.64 0 0 0 1.63 0z\\"/></g>"},"panel-left-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m7-6l-3-3l3-3\\"/></g>"},"panel-left-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m5-12l3 3l-3 3\\"/></g>"},"panel-right-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18M8 9l3 3l-3 3\\"/></g>"},"panel-right-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18m-5-6l-3-3l3-3\\"/></g>"},"play":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\\"/>"},"plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7v14\\"/>"},"radar":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.07 4.93A10 10 0 0 0 6.99 3.34M4 6h.01M2.29 9.62a10 10 0 1 0 19.02-1.27\\"/><path d=\\"M16.24 7.76a6 6 0 1 0-8.01 8.91M12 18h.01m5.98-6.34a6 6 0 0 1-2.22 5.01\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/><path d=\\"m13.41 10.59l5.66-5.66\\"/></g>"},"radio-tower":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4.9 16.1C1 12.2 1 5.8 4.9 1.9m2.9 2.8a6.14 6.14 0 0 0-.8 7.5\\"/><circle cx=\\"12\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"M16.2 4.8c2 2 2.26 5.11.8 7.47M19.1 1.9a9.96 9.96 0 0 1 0 14.1m-9.6 2h5M8 22l4-11l4 11\\"/></g>"},"refresh-cw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\"/><path d=\\"M8 16H3v5\\"/></g>"},"rotate-ccw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\"/><path d=\\"M3 3v5h5\\"/></g>"},"scan-line":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 7V5a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2m4-5h10\\"/>"},"scan-text":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 7V5a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2m4-9h8m-8 4h10M7 16h6\\"/>"},"search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m21 21l-4.34-4.34\\"/><circle cx=\\"11\\" cy=\\"11\\" r=\\"8\\"/></g>"},"sliders-horizontal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 5H3m9 14H3M14 3v4m2 10v4m5-9h-9m9 7h-5m5-14h-7m-6 5v4m0-2H3\\"/>"},"smartphone":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"20\\" x=\\"5\\" y=\\"2\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M12 18h.01\\"/></g>"},"square":{"width":24,"height":24,"body":"<rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" rx=\\"2\\"/>"},"star":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\"/>"},"sun":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"4\\"/><path d=\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\"/></g>"},"trash-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\"/>"},"triangle-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\"/>"},"upload":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/>"},"user-round":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"8\\" r=\\"5\\"/><path d=\\"M20 21a8 8 0 0 0-16 0\\"/></g>"},"wand-sparkles":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.64 3.64l-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72M14 7l3 3M5 6v4m14 4v4M10 2v2M7 8H3m18 8h-4M11 3H9\\"/>"},"x":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M18 6L6 18M6 6l12 12\\"/>"}}}]`);for(let n of t)for(let[t,r]of Object.entries(n.icons))e(n.prefix?n.prefix+`:`+t:t,r);Mn=!0}async function Pn(e,t){if(!e)return null;Nn(H);let n=U(e);if(n)return n;let r,i=Bt(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null));return t>0?await Promise.race([i,new Promise(n=>{r=setTimeout(()=>{console.warn(`[Icon] loading icon \`${e}\` timed out after ${t}ms`),n()},t)})]).finally(()=>clearTimeout(r)):await i,U(e)}function Fn(e){let t=M().icon,n=(t.collections||[]).sort((e,t)=>t.length-e.length);return l(()=>{let r=e(),i=r.startsWith(t.cssSelectorPrefix)?r.slice(t.cssSelectorPrefix.length):r,a=t.aliases?.[i]||i;if(!a.includes(`:`)){let e=n.find(e=>a.startsWith(e+`-`));return e?e+`:`+a.slice(e.length+1):a}return a})}function In(e,t){if(e!==!1)return e===!0||e===null?t:e}var $;function Ln(e){return e.replace(/([^\w-])/g,`\\$1`)}function Rn(){if($)return $;$=new Set;let e=e=>{if(e=e.replace(/^:where\((.*)\)$/,`$1`).trim(),e.startsWith(`.`))return e},t=n=>{if(n?.length)for(let r of n){r?.cssRules&&t(r.cssRules);let n=r?.selectorText;if(typeof n==`string`){let t=e(n);t&&$.add(t)}}};if(typeof document<`u`)for(let e of document.styleSheets)try{t(e.cssRules||e.rules)}catch{}return $}var zn=a({name:`NuxtIconCss`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){let t=v(),n=M().icon,r=l(()=>{if(!e.name)return``;let t=n.cssSelectorPrefix+e.name;return typeof e.customize==`function`?t+`--customized-`+Me(e.customize.toString()):t});function i(e){if(!e)return;let n=U(e);if(n)return n;let r=t.payload?.data?.[e];if(r)return H(e,r),r}let a=l(()=>`.`+Ln(r.value));function o(t,r=!0){let i=a.value;n.cssWherePseudo&&(i=`:where(${i})`);let o=jn(t,{iconSelector:i,format:`compressed`,customise:In(e.customize,n.customize)});return n.cssLayer&&r?`@layer ${n.cssLayer} { ${o} }`:o}{let t=Rn();async function n(e){if(t.has(a.value)||typeof document>`u`)return;let n=document.createElement(`style`);n.textContent=o(e);let r=document.head.querySelector(`style, link[rel="stylesheet"]`);r?document.head.insertBefore(n,r):document.head.appendChild(n),t.add(a.value)}b(()=>e.name,()=>{if(t.has(a.value))return;let r=i(e.name);r?n(r):Pn(e.name,-1).then(e=>{e&&n(e)}).catch(()=>null)},{immediate:!0})}return()=>S(`span`,{class:[`iconify`,r.value]})}}),Bn=a({name:`NuxtIconSvg`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=v(),r=M().icon,i=Fn(()=>e.name),a=`i-`+i.value;if(i.value){let e=n.payload.data[a];e?H(i.value,e):Nn(H)}return()=>S(sn,{icon:i.value,ssr:!0,customise:In(e.customize,r.customize)},t)}}),Vn=e({default:()=>Hn}),Hn=a({name:`NuxtIcon`,props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=v(),r=M().icon,i=Fn(()=>e.name),a=l(()=>n.vueApp?.component(i.value)||((e.mode||r.mode)===`svg`?Bn:zn)),o=l(()=>{let t=e.size||r.size;return t?{fontSize:Number.isNaN(+t)?t:t+`px`}:null});return()=>S(a.value,{...r.attrs,name:i.value,class:r.class,style:o.value,customize:e.customize},t)}});export{Vt as a,Ee as c,ge as d,de as f,ft as i,D as l,Vn as n,M as o,ue as p,cn as r,Pe as s,Hn as t,ve as u};
6
+ `)}function jn(e,t={}){let n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes(`currentColor`)?`background`:`mask`),i=t.varName;i===void 0&&r===`mask`&&(i=`svg`);let a={...t,mode:r,varName:i};r===`background`&&delete a.varName;let o=Object.create(null);return Object.assign(o,t.rules,Dn(a),On({...dn,...e,body:n},a)),An([{selector:t.iconSelector||`.icon`,rules:o}],a.format)}var Mn=!1;function Nn(e){if(Mn)return;let t=JSON.parse(`[{"prefix":"lucide","icons":{"archive":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"5\\" x=\\"2\\" y=\\"3\\" rx=\\"1\\"/><path d=\\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4\\"/></g>"},"arrow-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 5v14m7-7l-7 7l-7-7\\"/>"},"arrow-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m12 19l-7-7l7-7m7 7H5\\"/>"},"arrow-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7l7 7l-7 7\\"/>"},"arrow-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m5 12l7-7l7 7m-7 7V5\\"/>"},"arrow-up-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M7 7h10v10M7 17L17 7\\"/>"},"badge-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3.85 8.62a4 4 0 0 1 4.78-4.77a4 4 0 0 1 6.74 0a4 4 0 0 1 4.78 4.78a4 4 0 0 1 0 6.74a4 4 0 0 1-4.77 4.78a4 4 0 0 1-6.75 0a4 4 0 0 1-4.78-4.77a4 4 0 0 1 0-6.76\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 6L9 17l-5-5\\"/>"},"chevron-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 9l6 6l6-6\\"/>"},"chevron-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m15 18l-6-6l6-6\\"/>"},"chevron-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m9 18l6-6l-6-6\\"/>"},"chevron-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18 15l-6-6l-6 6\\"/>"},"chevrons-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\"/>"},"chevrons-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\"/>"},"circle-alert":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 8v4m0 4h.01\\"/></g>"},"circle-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"circle-stop":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"9\\" y=\\"9\\" rx=\\"1\\"/></g>"},"circle-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m15 9l-6 6m0-6l6 6\\"/></g>"},"cloud":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9\\"/>"},"cloud-off":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057m-2.926 2.753A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78M2 2l20 20\\"/>"},"columns-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M12 3v18\\"/></g>"},"copy":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"copy-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m12 15l2 2l4-4\\"/><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"database":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><ellipse cx=\\"12\\" cy=\\"5\\" rx=\\"9\\" ry=\\"3\\"/><path d=\\"M3 5v14a9 3 0 0 0 18 0V5\\"/><path d=\\"M3 12a9 3 0 0 0 18 0\\"/></g>"},"download":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/><path d=\\"m7 10l5 5l5-5\\"/></g>"},"ellipsis":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"12\\" r=\\"1\\"/></g>"},"eye":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"eye-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\"/><path d=\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\"/></g>"},"file":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5\\"/></g>"},"file-check-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4M3 15l2 2l4-4\\"/></g>","hidden":true},"file-up":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5m-8 4v6m3-3l-3-3l-3 3\\"/></g>"},"file-x-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4M8 12.5l-5 5m0-5l5 5\\"/></g>","hidden":true},"files":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8\\"/><path d=\\"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706zM5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1\\"/></g>"},"folder":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-open":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\"/>"},"grip-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"9\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"19\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"19\\" r=\\"1\\"/></g>"},"hash":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\"/>"},"image":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" ry=\\"2\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\\"/></g>"},"info":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 16v-4m0-4h.01\\"/></g>"},"keyboard":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 8h.01M12 12h.01M14 8h.01M16 12h.01M18 8h.01M6 8h.01M7 16h10m-9-4h.01\\"/><rect width=\\"20\\" height=\\"16\\" x=\\"2\\" y=\\"4\\" rx=\\"2\\"/></g>"},"layers-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74zm7 .545l1.5.845a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l1.5-.845\\"/>"},"layers-3":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z\\"/><path d=\\"m6.08 9.5l-3.5 1.6a1 1 0 0 0 0 1.81l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9a1 1 0 0 0 0-1.83l-3.5-1.59\\"/><path d=\\"m6.08 14.5l-3.5 1.6a1 1 0 0 0 0 1.81l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9a1 1 0 0 0 0-1.83l-3.5-1.59\\"/></g>","hidden":true},"lightbulb":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\"/>"},"list":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 5h.01M3 12h.01M3 19h.01M8 5h13M8 12h13M8 19h13\\"/>"},"list-check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M16 5H3m13 7H3m8 7H3m12-1l2 2l4-4\\"/>"},"loader-circle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21 12a9 9 0 1 1-6.219-8.56\\"/>"},"locate-fixed":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 12h3m14 0h3M12 2v3m0 14v3\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"7\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"log-out":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\"/>"},"map":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0zm.894.211v15M9 3.236v15\\"/>"},"map-pin":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/></g>"},"map-pin-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.43 12.935c.357-.967.57-1.955.57-2.935a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0a32 32 0 0 0 .813-.728\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/><path d=\\"m16 18l2 2l4-4\\"/></g>"},"map-pin-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12.75 7.09a3 3 0 0 1 2.16 2.16m2.162 7.822c-1.634 2.17-3.527 3.912-4.471 4.727a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 1.432-4.568M2 2l20 20\\"/><path d=\\"M8.475 2.818A8 8 0 0 1 20 10c0 1.183-.31 2.377-.81 3.533M9.13 9.13a3 3 0 0 0 3.74 3.74\\"/></g>"},"map-pin-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.752 11.901A7.8 7.8 0 0 0 20 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 1.202 0l.09-.077\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/><path d=\\"m21.5 15.5l-5 5m5 0l-5-5\\"/></g>"},"menu":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 5h16M4 12h16M4 19h16\\"/>"},"message-square":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/>"},"message-square-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/><path d=\\"m9 11l2 2l4-4\\"/></g>"},"minus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14\\"/>"},"monitor":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M8 21h8m-4-4v4\\"/></g>"},"monitor-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m14.5 12.5l-5-5m0 5l5-5\\"/><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M12 17v4m-4 0h8\\"/></g>"},"moon":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\"/>"},"package":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73zm1 .27V12\\"/><path d=\\"M3.29 7L12 12l8.71-5M7.5 4.27l9 5.15\\"/></g>"},"package-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 22v-9m3.17-10.79a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.66 1.66 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z\\"/><path d=\\"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13\\"/><path d=\\"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.64 1.64 0 0 0 1.63 0z\\"/></g>"},"panel-left-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m7-6l-3-3l3-3\\"/></g>"},"panel-left-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m5-12l3 3l-3 3\\"/></g>"},"panel-right-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18M8 9l3 3l-3 3\\"/></g>"},"panel-right-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18m-5-6l-3-3l3-3\\"/></g>"},"play":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\\"/>"},"plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7v14\\"/>"},"radar":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.07 4.93A10 10 0 0 0 6.99 3.34M4 6h.01M2.29 9.62a10 10 0 1 0 19.02-1.27\\"/><path d=\\"M16.24 7.76a6 6 0 1 0-8.01 8.91M12 18h.01m5.98-6.34a6 6 0 0 1-2.22 5.01\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/><path d=\\"m13.41 10.59l5.66-5.66\\"/></g>"},"radio-tower":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4.9 16.1C1 12.2 1 5.8 4.9 1.9m2.9 2.8a6.14 6.14 0 0 0-.8 7.5\\"/><circle cx=\\"12\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"M16.2 4.8c2 2 2.26 5.11.8 7.47M19.1 1.9a9.96 9.96 0 0 1 0 14.1m-9.6 2h5M8 22l4-11l4 11\\"/></g>"},"refresh-cw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\"/><path d=\\"M8 16H3v5\\"/></g>"},"rotate-ccw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\"/><path d=\\"M3 3v5h5\\"/></g>"},"scan-line":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 7V5a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2m4-5h10\\"/>"},"scan-text":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 7V5a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2m4-9h8m-8 4h10M7 16h6\\"/>"},"search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m21 21l-4.34-4.34\\"/><circle cx=\\"11\\" cy=\\"11\\" r=\\"8\\"/></g>"},"settings-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14 17H5M19 7h-9\\"/><circle cx=\\"17\\" cy=\\"17\\" r=\\"3\\"/><circle cx=\\"7\\" cy=\\"7\\" r=\\"3\\"/></g>"},"sliders-horizontal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 5H3m9 14H3M14 3v4m2 10v4m5-9h-9m9 7h-5m5-14h-7m-6 5v4m0-2H3\\"/>"},"smartphone":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"20\\" x=\\"5\\" y=\\"2\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M12 18h.01\\"/></g>"},"square":{"width":24,"height":24,"body":"<rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" rx=\\"2\\"/>"},"star":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\"/>"},"sun":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"4\\"/><path d=\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\"/></g>"},"trash-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\"/>"},"triangle-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\"/>"},"upload":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/>"},"user-round":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"8\\" r=\\"5\\"/><path d=\\"M20 21a8 8 0 0 0-16 0\\"/></g>"},"wand-sparkles":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.64 3.64l-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72M14 7l3 3M5 6v4m14 4v4M10 2v2M7 8H3m18 8h-4M11 3H9\\"/>"},"x":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M18 6L6 18M6 6l12 12\\"/>"}}}]`);for(let n of t)for(let[t,r]of Object.entries(n.icons))e(n.prefix?n.prefix+`:`+t:t,r);Mn=!0}async function Pn(e,t){if(!e)return null;Nn(H);let n=U(e);if(n)return n;let r,i=Bt(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null));return t>0?await Promise.race([i,new Promise(n=>{r=setTimeout(()=>{console.warn(`[Icon] loading icon \`${e}\` timed out after ${t}ms`),n()},t)})]).finally(()=>clearTimeout(r)):await i,U(e)}function Fn(e){let t=M().icon,n=(t.collections||[]).sort((e,t)=>t.length-e.length);return l(()=>{let r=e(),i=r.startsWith(t.cssSelectorPrefix)?r.slice(t.cssSelectorPrefix.length):r,a=t.aliases?.[i]||i;if(!a.includes(`:`)){let e=n.find(e=>a.startsWith(e+`-`));return e?e+`:`+a.slice(e.length+1):a}return a})}function In(e,t){if(e!==!1)return e===!0||e===null?t:e}var $;function Ln(e){return e.replace(/([^\w-])/g,`\\$1`)}function Rn(){if($)return $;$=new Set;let e=e=>{if(e=e.replace(/^:where\((.*)\)$/,`$1`).trim(),e.startsWith(`.`))return e},t=n=>{if(n?.length)for(let r of n){r?.cssRules&&t(r.cssRules);let n=r?.selectorText;if(typeof n==`string`){let t=e(n);t&&$.add(t)}}};if(typeof document<`u`)for(let e of document.styleSheets)try{t(e.cssRules||e.rules)}catch{}return $}var zn=a({name:`NuxtIconCss`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){let t=v(),n=M().icon,r=l(()=>{if(!e.name)return``;let t=n.cssSelectorPrefix+e.name;return typeof e.customize==`function`?t+`--customized-`+Me(e.customize.toString()):t});function i(e){if(!e)return;let n=U(e);if(n)return n;let r=t.payload?.data?.[e];if(r)return H(e,r),r}let a=l(()=>`.`+Ln(r.value));function o(t,r=!0){let i=a.value;n.cssWherePseudo&&(i=`:where(${i})`);let o=jn(t,{iconSelector:i,format:`compressed`,customise:In(e.customize,n.customize)});return n.cssLayer&&r?`@layer ${n.cssLayer} { ${o} }`:o}{let t=Rn();async function n(e){if(t.has(a.value)||typeof document>`u`)return;let n=document.createElement(`style`);n.textContent=o(e);let r=document.head.querySelector(`style, link[rel="stylesheet"]`);r?document.head.insertBefore(n,r):document.head.appendChild(n),t.add(a.value)}b(()=>e.name,()=>{if(t.has(a.value))return;let r=i(e.name);r?n(r):Pn(e.name,-1).then(e=>{e&&n(e)}).catch(()=>null)},{immediate:!0})}return()=>S(`span`,{class:[`iconify`,r.value]})}}),Bn=a({name:`NuxtIconSvg`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=v(),r=M().icon,i=Fn(()=>e.name),a=`i-`+i.value;if(i.value){let e=n.payload.data[a];e?H(i.value,e):Nn(H)}return()=>S(sn,{icon:i.value,ssr:!0,customise:In(e.customize,r.customize)},t)}}),Vn=e({default:()=>Hn}),Hn=a({name:`NuxtIcon`,props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=v(),r=M().icon,i=Fn(()=>e.name),a=l(()=>n.vueApp?.component(i.value)||((e.mode||r.mode)===`svg`?Bn:zn)),o=l(()=>{let t=e.size||r.size;return t?{fontSize:Number.isNaN(+t)?t:t+`px`}:null});return()=>S(a.value,{...r.attrs,name:i.value,class:r.class,style:o.value,customize:e.customize},t)}});export{Vt as a,Ee as c,ge as d,de as f,ft as i,D as l,Vn as n,M as o,ue as p,cn as r,Pe as s,Hn as t,ve as u};
@@ -0,0 +1 @@
1
+ import{M as e}from"./C97TfNgP.js";import{ct as t}from"./CM9IbYJz.js";import{t as n}from"./DmN-PKW1.js";function r(e){return e.replace(/^\d{4}-\d{2}-\d{2}T\d{2}-\d{2}-\d{2}-[a-f0-9]{8}-/i,``).replace(/\.uomtiles$/i,``)}function i(e){return e.replace(/^\d{4}-\d{2}-\d{2}T\d{2}-\d{2}-\d{2}-[a-f0-9]{8}-/i,``).replace(/\.(?:uomtiles|mbtiles|pmtiles)$/i,``)}function a(){let a=n(`workspace-files`,()=>[]),o=n(`workspace-task-filename`,()=>null),s=n(`workspace-pending`,()=>!1),c=n(`workspace-ready`,()=>!1),l=e(()=>a.value.find(e=>e.filename===o.value)||null);async function u(){try{let e=await t(`/api/workspace/files`);a.value=e,o.value&&!e.some(e=>e.filename===o.value)&&(o.value=null)}finally{c.value=!0}}async function d(e){if(!e.name.toLowerCase().endsWith(`.uomtiles`))throw Error(`工作区仅支持 .uomtiles 任务文件`);s.value=!0;try{let n=await t(`/api/workspace/files`,{method:`POST`,headers:{"x-uomtiles-filename":encodeURIComponent(e.name),"content-type":`application/octet-stream`},body:e});return await u(),n}finally{s.value=!1}}async function f(e){s.value=!0;try{let n=await t(`/api/workspace/tasks`,{method:`POST`,body:{filename:e}});return await u(),o.value=n.filename,n}finally{s.value=!1}}async function p(){l.value&&(await t(`/api/workspace/fetch`,{method:`POST`,body:{filename:l.value.filename}}),await u())}async function m(e=l.value?.filename){await t(`/api/workspace/stop`,{method:`POST`,body:e?{filename:e}:{}}),await u()}async function h(e){s.value=!0;try{await t(`/api/workspace/${encodeURIComponent(e)}`,{method:`DELETE`}),o.value===e&&(o.value=null),await u()}finally{s.value=!1}}function g(e){o.value=e}return{files:a,selected:l,pending:s,ready:c,refresh:u,importFile:d,createTask:f,selectTask:g,start:p,stop:m,deleteTask:h,displayWorkspaceName:r,displayMapFileName:i}}export{a as n,i as t};
@@ -0,0 +1 @@
1
+ import{$t as e,At as t,F as n,H as r,I as i,It as a,Lt as o,M as s,P as c,S as l,Wn as u,_r as d,gt as f,ln as p,pr as m}from"./C97TfNgP.js";import{D as h,b as g,h as _,t as v,v as y}from"./CM9IbYJz.js";import{o as b}from"./Hbp_Okvs.js";var x={slots:{root:`relative flex flex-col items-center justify-center gap-4 rounded-lg p-4 sm:p-6 lg:p-8 min-w-0`,header:`flex flex-col items-center gap-2 max-w-sm text-center`,avatar:`shrink-0 mb-2`,title:`text-highlighted text-pretty font-medium`,description:`text-balance text-center`,body:`flex flex-col items-center gap-4 max-w-sm`,actions:`flex flex-wrap justify-center gap-2 shrink-0`,footer:`flex flex-col items-center gap-2 max-w-sm`},variants:{size:{xs:{avatar:`size-8 text-base`,title:`text-sm`,description:`text-xs`},sm:{avatar:`size-9 text-lg`,title:`text-sm`,description:`text-xs`},md:{avatar:`size-10 text-xl`,title:`text-base`,description:`text-sm`},lg:{avatar:`size-11 text-[22px]`,title:`text-base`,description:`text-sm`},xl:{avatar:`size-12 text-2xl`,title:`text-lg`,description:`text-base`}},variant:{solid:{root:`bg-inverted`,title:`text-inverted`,description:`text-dimmed`},outline:{root:`bg-default ring ring-default`,description:`text-muted`},soft:{root:`bg-elevated/50`,description:`text-toned`},subtle:{root:`bg-elevated/50 ring ring-default`,description:`text-toned`},naked:{description:`text-muted`}},loading:{true:{avatar:`[&>[data-slot=icon]]:animate-spin`}}},defaultVariants:{variant:`outline`,size:`md`}},S={__name:`UEmpty`,props:{as:{type:null,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},actions:{type:Array,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(S){let C=S,w=e(),T=g(`empty`,C),E=b(),D=s(()=>T.loading?T.loadingIcon||E.ui.icons.loading:T.icon),O=s(()=>y({extend:x,...E.ui?.empty||{}})({variant:T.variant,size:T.size,loading:T.loading}));return(e,s)=>(t(),c(u(h),{as:u(T).as,"aria-busy":u(T).loading?`true`:void 0,"data-slot":`root`,class:m(O.value.root({class:[u(T).ui?.root,u(T).class]}))},{default:p(()=>[w.header||D.value||u(T).avatar||w.leading||u(T).title||w.title||u(T).description||w.description?(t(),i(`div`,{key:0,"data-slot":`header`,class:m(O.value.header({class:u(T).ui?.header}))},[o(e.$slots,`header`,{},()=>[o(e.$slots,`leading`,{ui:O.value},()=>[D.value||u(T).avatar?(t(),c(_,f({key:0,icon:D.value},typeof u(T).avatar==`object`?u(T).avatar:{},{"data-slot":`avatar`,class:O.value.avatar({class:u(T).ui?.avatar})}),null,16,[`icon`,`class`])):n(``,!0)]),u(T).title||w.title?(t(),i(`h2`,{key:0,"data-slot":`title`,class:m(O.value.title({class:u(T).ui?.title}))},[o(e.$slots,`title`,{},()=>[r(d(u(T).title),1)])],2)):n(``,!0),u(T).description||w.description?(t(),i(`div`,{key:1,"data-slot":`description`,class:m(O.value.description({class:u(T).ui?.description}))},[o(e.$slots,`description`,{},()=>[r(d(u(T).description),1)])],2)):n(``,!0)])],2)):n(``,!0),w.body||u(T).actions?.length||w.actions?(t(),i(`div`,{key:1,"data-slot":`body`,class:m(O.value.body({class:u(T).ui?.body}))},[o(e.$slots,`body`,{},()=>[u(T).actions?.length||w.actions?(t(),i(`div`,{key:0,"data-slot":`actions`,class:m(O.value.actions({class:u(T).ui?.actions}))},[o(e.$slots,`actions`,{},()=>[(t(!0),i(l,null,a(u(T).actions,(e,n)=>(t(),c(v,f({key:n,size:u(T).size},{ref_for:!0},e),null,16,[`size`]))),128))])],2)):n(``,!0)])],2)):n(``,!0),w.footer?(t(),i(`div`,{key:2,"data-slot":`footer`,class:m(O.value.footer({class:u(T).ui?.footer}))},[o(e.$slots,`footer`)],2)):n(``,!0)]),_:3},8,[`as`,`aria-busy`,`class`]))}};export{S as t};
@@ -0,0 +1 @@
1
+ import{At as e,F as t,G as n,I as r,It as i,N as a,Nn as o,P as s,Pn as c,S as l,U as u,Wn as d,_r as f,bt as p,en as m,in as h,kn as g,ln as _,pr as v,wt as y}from"./C97TfNgP.js";import{t as b}from"./CM9IbYJz.js";import{r as x}from"./3B2XYGg4.js";import{t as S}from"./DmN-PKW1.js";import{i as C,n as ee,o as te,r as ne,t as re}from"./CeHZqNQ0.js";import{t as w}from"./D_9SjQFe.js";import{t as ie}from"./BA52uD81.js";import{c as T,f as E,n as D,r as O,s as k,u as A}from"#entry";import{a as j,r as M,t as N}from"./CVwoxklV.js";import{a as P,i as F,n as I,o as L,r as R,s as z,t as B}from"./C5Y76DD6.js";import{t as ae}from"./KttxEAyP2.js";import{t as oe}from"./sMWyPZfC2.js";var V={class:`relative h-full min-h-[32rem] w-full overflow-hidden bg-muted`},H={key:0,class:`absolute inset-0 grid place-items-center bg-muted`},U=Object.assign(n({__name:`MapLayerPreview`,setup(n){let i=m(`container`),o=c(!1),{baseLayer:s,overlayLayers:l,setOverlayError:f}=M(),g=null,_=null,v=null,b=null;function x(){return{version:8,sources:P(),layers:[...R(s.value),...L(l.value),F(s.value)]}}return y(()=>{if(!i.value)return;if(!document.createElement(`canvas`).getContext(`webgl2`)){o.value=!0;return}try{g=new k({container:i.value,style:x(),center:[116.4,39.9],zoom:7,minZoom:3,maxZoom:18,attributionControl:!1})}catch{o.value=!0;return}let e=g;z(e,()=>({baseLayer:s.value,overlayLayers:l.value})),e.addControl(new T({showCompass:!1}),`top-right`),e.addControl(new A({unit:`metric`}),`bottom-left`),e.addControl(new E({compact:!0}),`bottom-right`),b=new ResizeObserver(()=>e.resize()),b.observe(i.value),_=new N(e,f),_.start(l.value),e.once(`load`,()=>{g===e&&(v=new B(e))})}),h([s,l],()=>{g&&(I(g,{baseLayer:s.value,overlayLayers:l.value}),_?.update(l.value))},{deep:!0}),p(()=>{v?.destroy(),v=null,_?.destroy(),_=null,b?.disconnect(),b=null,g?.remove(),g=null}),(n,s)=>{let c=ae;return e(),r(`div`,V,[a(`div`,{ref_key:`container`,ref:i,class:`h-full w-full`},null,512),d(o)?(e(),r(`div`,H,[u(c,{icon:`i-lucide-monitor-x`,title:`当前浏览器未启用 WebGL2`})])):t(``,!0)])}}}),{__name:`MapLayerPreview`}),W=[`dji-nfz`,`antigravity-nfz`],G=750,K=2e3;function q(){let e=S(`map-layer-update-tasks`,()=>({"dji-nfz":null,"antigravity-nfz":null})),t=S(`map-layer-update-starting`,()=>({"dji-nfz":!1,"antigravity-nfz":!1})),n=S(`map-layer-update-restoring`,()=>({"dji-nfz":!1,"antigravity-nfz":!1})),r=S(`map-layer-update-errors`,()=>({})),i=new Map,a=!1;function s(t,n){e.value={...e.value,[t]:n}}function c(e,t,n){e.value={...e.value,[t]:n}}function l(e,t){let n={...r.value};t?n[e]=t:delete n[e],r.value=n}function u(e,t,n){let r=new AbortController,a,o=Promise.resolve().then(()=>n(r.signal)).catch(t=>{throw Y(t)||l(e,X(t)),t}).finally(()=>{i.get(e)===a&&i.delete(e)});return a={kind:t,controller:r,promise:o},i.set(e,a),o}async function d(e,t,n){let r=t;for(;r.status===`running`;){await Z(G,n);try{r=await globalThis.$fetch(`/api/map/layers/${e}/update`,{cache:`no-store`,signal:n}),s(e,r),l(e)}catch(t){if(Y(t))throw t;l(e,X(t)),await Z(K,n)}}return r}function f(e){let t=i.get(e);return t?t.promise:u(e,`restore`,async t=>{c(n,e,!0);try{let n=await globalThis.$fetch(`/api/map/layers/${e}/update`,{cache:`no-store`,signal:t});return s(e,n),l(e),d(e,n,t)}finally{c(n,e,!1)}})}async function p(){await Promise.allSettled(W.map(e=>f(e)))}async function m(e){let n=i.get(e);if(n?.kind===`update`)return n.promise;if(n){try{await n.promise}catch(e){if(Y(e))throw e}if(a)throw Q();return m(e)}return u(e,`update`,async n=>{c(t,e,!0),l(e);let r;try{r=await globalThis.$fetch(`/api/map/layers/${e}/update`,{method:`POST`,signal:n})}finally{c(t,e,!1)}return s(e,r),d(e,r,n)})}function h(){a=!0;for(let e of i.values())e.controller.abort();i.clear();for(let e of W)c(t,e,!1),c(n,e,!1)}return g(h,!0),{tasks:o(e),starting:o(t),restoring:o(n),errors:o(r),restore:p,start:m,dispose:h}}function se(e){return e?`更新`:`下载`}function ce(e){let t=e===`dji-nfz`?`DJI Flysafe`:`Antigravity`;return e===`dji-nfz`?{title:`${t} 检查完成`,description:`区域数据未变化,检查时间已刷新`}:{title:`${t} 无新版本`,description:void 0}}function J(e){return e?.status===`running`}function Y(e){return e instanceof Error&&e.name===`AbortError`}function X(e){if(e&&typeof e==`object`){let t=`data`in e?e.data:void 0;if(t&&typeof t==`object`&&`message`in t&&typeof t.message==`string`)return t.message;if(`statusMessage`in e&&typeof e.statusMessage==`string`)return e.statusMessage}return e instanceof Error?e.message:`无法更新地图图层`}function Z(e,t){return t.aborted?Promise.reject(Q()):new Promise((n,r)=>{let i=setTimeout(()=>{t.removeEventListener(`abort`,a),n()},e);function a(){clearTimeout(i),r(Q())}t.addEventListener(`abort`,a,{once:!0})})}function Q(){let e=Error(`Map layer update polling was cancelled`);return e.name=`AbortError`,e}var le={class:`grid min-h-0 flex-1 xl:grid-cols-[23rem_minmax(0,1fr)]`},ue={class:`min-h-0 overflow-y-auto border-b border-default bg-default xl:border-r xl:border-b-0`},de={class:`p-5`,"aria-labelledby":`layer-source-status`},fe={class:`flex items-center justify-between gap-3`},pe={key:0,class:`text-xs text-muted`},me={key:0,class:`mt-3 divide-y divide-default border-y border-default`},he={class:`grid grid-cols-[minmax(0,1fr)_auto] items-start gap-3`},ge={class:`min-w-0`},_e={class:`truncate text-sm font-medium text-highlighted`},ve={class:`mt-0.5 h-4 truncate text-xs text-muted uom-mono`},ye={key:0},be={key:1,"aria-hidden":`true`},xe={class:`flex items-center gap-2`},Se={key:0,class:`mt-3 space-y-2`,role:`status`,"aria-live":`polite`},Ce={class:`min-w-0 truncate`},we={key:0,class:`shrink-0 uom-mono`},$={key:1,class:`mt-2 text-xs text-error`,role:`status`},Te={key:3,class:`mt-2 text-xs text-error`},Ee={key:1,class:`mt-3 divide-y divide-default border-y border-default`,"aria-hidden":`true`},De={class:`space-y-2`},Oe={class:`relative min-h-[32rem]`},ke=n({__name:`layers`,setup(n){w({layout:`dashboard`}),x({title:`地图图层管理`});let{overlayErrors:o}=M(),{status:c,pending:m,refresh:h}=C(),{tasks:g,starting:S,restoring:T,errors:E,restore:k,start:A}=q(),N=O(),P=[`dji-nfz`,`antigravity-nfz`],F=!0;y(async()=>{await k(),F&&await h()}),p(()=>{F=!1});function I(e){return e?`可用`:`不可用`}function L(e){return c.value?.overlayLayers[e].available?`i-lucide-refresh-cw`:`i-lucide-download`}function R(e){return S.value[e]||J(g.value[e])}function z(e){return e?.status===`failed`?`text-error`:e?.status===`completed`?`text-success`:e?.status===`no-update`?`text-info`:`text-muted`}async function B(e){let t=c.value?.overlayLayers[e].available??!1;try{let n=await A(e);if(!F)return;await h({reloadOverlays:n.status===`completed`});let r=j[e];if(n.status===`no-update`){let t=ce(e);N.add({...t,color:`info`,icon:`i-lucide-circle-check`})}else n.status===`completed`?N.add({title:`${r} ${t?`已更新`:`已下载`}`,color:`success`,icon:`i-lucide-circle-check`}):n.status===`failed`&&N.add({title:`${r} 更新失败`,description:n.error,color:`error`,icon:`i-lucide-circle-alert`})}catch(t){if(!F||Y(t))return;N.add({title:`${j[e]} 更新失败`,description:X(t),color:`error`,icon:`i-lucide-circle-alert`})}}return(n,p)=>{let y=b,x=ie,S=ne,C=ee,w=te,O=D,k=oe,A=U,M=re;return e(),s(M,{id:`map-layers`,class:`h-svh min-w-0 overflow-hidden`,ui:{body:`gap-0 overflow-hidden p-0 sm:gap-0 sm:p-0`}},{header:_(()=>[u(C,{title:`地图图层管理`},{right:_(()=>[u(x,{text:`刷新状态`},{default:_(()=>[u(y,{icon:`i-lucide-refresh-cw`,"aria-label":`刷新状态`,color:`neutral`,variant:`outline`,size:`sm`,square:``,loading:d(m),onClick:p[0]||=()=>d(h)()},null,8,[`loading`])]),_:1}),u(S)]),_:1})]),body:_(()=>[a(`div`,le,[a(`aside`,ue,[a(`section`,de,[a(`div`,fe,[p[1]||=a(`h2`,{id:`layer-source-status`,class:`text-sm font-semibold text-highlighted`},`数据源状态`,-1),d(m)?(e(),r(`span`,pe,`读取中`)):t(``,!0)]),d(c)?(e(),r(`div`,me,[(e(),r(l,null,i(P,i=>a(`div`,{key:i,class:`py-4`},[a(`div`,he,[a(`div`,ge,[a(`p`,_e,f(d(j)[i]),1),a(`p`,ve,[d(c).overlayLayers[i].version?(e(),r(`span`,ye,f(d(c).overlayLayers[i].version),1)):(e(),r(`span`,be,`\xA0`))])]),a(`div`,xe,[u(w,{label:I(d(c).overlayLayers[i].available),color:d(c).overlayLayers[i].available?`success`:`neutral`,variant:`subtle`,size:`sm`,class:`h-5`},null,8,[`label`,`color`]),u(y,{icon:L(i),label:(`mapLayerUpdateActionLabel`in n?n.mapLayerUpdateActionLabel:d(se))(d(c).overlayLayers[i].available),color:`neutral`,variant:`outline`,size:`xs`,class:`h-7 w-[4.5rem] justify-center`,loading:R(i),disabled:d(T)[i]||R(i),onClick:e=>B(i)},null,8,[`icon`,`label`,`loading`,`disabled`,`onClick`])])]),(`isMapLayerUpdateRunning`in n?n.isMapLayerUpdateRunning:d(J))(d(g)[i])?(e(),r(`div`,Se,[a(`div`,{class:v([`flex h-4 items-center justify-between gap-3 text-xs`,d(E)[i]?`text-error`:`text-muted`])},[a(`span`,Ce,f(d(E)[i]||d(g)[i]?.message),1),d(g)[i]?.percent===null?t(``,!0):(e(),r(`span`,we,f(d(g)[i]?.percent)+`%`,1))],2),u(O,{"model-value":d(g)[i]?.percent??null,max:100,size:`xs`,color:`info`},null,8,[`model-value`])])):d(E)[i]?(e(),r(`p`,$,f(d(E)[i]),1)):d(g)[i]&&d(g)[i]?.status!==`idle`?(e(),r(`p`,{key:2,class:v([`mt-2 text-xs`,z(d(g)[i])]),role:`status`},f(d(g)[i]?.error||d(g)[i]?.message),3)):d(o)[i]?(e(),r(`p`,Te,f(d(o)[i]?.message),1)):t(``,!0)])),64))])):(e(),r(`div`,Ee,[(e(),r(l,null,i(P,e=>a(`div`,{key:e,class:`flex h-[4.75rem] items-center justify-between gap-4 py-4`},[a(`div`,De,[u(k,{class:`h-4 w-28`}),u(k,{class:`h-3 w-20`})]),u(k,{class:`h-7 w-[4.5rem]`})])),64))]))])]),a(`main`,Oe,[u(A)])])]),_:1})}}});export{ke as default};
@@ -1 +1 @@
1
- {"id":"2c4adba2-91b5-44e4-91d3-50a61695207b","timestamp":1787385319776}
1
+ {"id":"78b9349b-da32-49d9-b6c7-85727e6d8129","timestamp":1787505086360}
@@ -0,0 +1 @@
1
+ {"id":"78b9349b-da32-49d9-b6c7-85727e6d8129","timestamp":1787505086360,"prerendered":[]}