uomtiles 0.1.3 → 0.1.6

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 (623) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/87P1vrJx2.js +1 -0
  3. package/.output/public/_nuxt/{BA52uD81.js → B30iI6NY.js} +1 -1
  4. package/.output/public/_nuxt/{CD84FXNW.js → B3Fqmbvs.js} +1 -1
  5. package/.output/public/_nuxt/BhdViME82.js +1 -0
  6. package/.output/public/_nuxt/{D-IOtyQX.js → BryCauXl.js} +1 -1
  7. package/.output/public/_nuxt/{CkfS_Wbu.js → BsG4RgIF.js} +1 -1
  8. package/.output/public/_nuxt/{zUWhKXtw2.js → BvI0Fk652.js} +1 -1
  9. package/.output/public/_nuxt/Bw9ZfIEz.js +1 -0
  10. package/.output/public/_nuxt/BxH0LSKl2.js +1 -0
  11. package/.output/public/_nuxt/{C5Y76DD6.js → C0tXXd_q.js} +1 -1
  12. package/.output/public/_nuxt/{CVwoxklV.js → C3P9RWxN.js} +1 -1
  13. package/.output/public/_nuxt/{D3Us7gX72.js → C9NpqQyG2.js} +1 -1
  14. package/.output/public/_nuxt/CJxz3JZZ2.js +2 -0
  15. package/.output/public/_nuxt/{JdUwgqKv.js → CNw483Zj.js} +1 -1
  16. package/.output/public/_nuxt/{Hbp_Okvs.js → CQoH790U.js} +2 -2
  17. package/.output/public/_nuxt/{D8GHPYwQ.js → CS7MV-ad.js} +4 -4
  18. package/.output/public/_nuxt/{DnVJUY7B.js → CVIKhDCB.js} +1 -1
  19. package/.output/public/_nuxt/{CeHZqNQ0.js → CVfH720g.js} +1 -1
  20. package/.output/public/_nuxt/{DLIy3f3M.js → CZ6SZO_d.js} +1 -1
  21. package/.output/public/_nuxt/{Bpc1HTfh.js → CanHJd1e.js} +1 -1
  22. package/.output/public/_nuxt/CeHFmSjl.js +1 -0
  23. package/.output/public/_nuxt/CeVhOOkF2.js +1 -0
  24. package/.output/public/_nuxt/Cigra9s92.js +1 -0
  25. package/.output/public/_nuxt/{Bh2Uv1S7.js → ClKxITwT.js} +1 -1
  26. package/.output/public/_nuxt/{sMWyPZfC2.js → CsaKOXaj2.js} +1 -1
  27. package/.output/public/_nuxt/{GqgcWtrL.js → CttzcMfv.js} +1 -1
  28. package/.output/public/_nuxt/Cw2siAf_2.js +1 -0
  29. package/.output/public/_nuxt/{DQ8r1OSk.js → DE6808Yp.js} +1 -1
  30. package/.output/public/_nuxt/{CUJ4QmLF.js → DUBSg_Y2.js} +1 -1
  31. package/.output/public/_nuxt/{CxkDmpVY.js → DWmS9_5P.js} +1 -1
  32. package/.output/public/_nuxt/DYM416m_.js +1 -0
  33. package/.output/public/_nuxt/{D_9SjQFe.js → D_SGIxNl.js} +1 -1
  34. package/.output/public/_nuxt/{BHSn2vP72.js → DbaWJJIa2.js} +1 -1
  35. package/.output/public/_nuxt/{C-b4mqsD.js → DjVe4luM.js} +1 -1
  36. package/.output/public/_nuxt/{CoPjdBwX.js → Dv7uv3N72.js} +1 -1
  37. package/.output/public/_nuxt/{CM9IbYJz.js → P5kgsppB.js} +1 -1
  38. package/.output/public/_nuxt/{KttxEAyP2.js → XR4gtbmm.js} +1 -1
  39. package/.output/public/_nuxt/_5p6z8Bm.js +2 -0
  40. package/.output/public/_nuxt/builds/latest.json +1 -1
  41. package/.output/public/_nuxt/builds/meta/98e45168-6e30-460e-aa28-fab54f032a83.json +1 -0
  42. package/.output/public/_nuxt/entry.DaxLd-bD.css +1 -0
  43. package/.output/public/_nuxt/flight-area-analysis.worker-CWQYRs9s.js +26 -0
  44. package/.output/public/_nuxt/hB2w6SMP2.js +64 -0
  45. package/.output/public/_nuxt/hePW80VL.js +1 -0
  46. package/.output/public/_nuxt/maplibre-gl-worker-BtpYDTzw.js +11 -0
  47. package/.output/public/_nuxt/{nearest-area.worker-iSLH0Y_s.js → nearest-area.worker-BYHYA0SF.js} +1 -1
  48. package/.output/public/_nuxt/uomtiles-validation.worker-BTXhap7R.js +2 -0
  49. package/.output/server/chunks/_/antigravity-nfz.mjs +16 -3
  50. package/.output/server/chunks/_/antigravity-nfz.mjs.map +1 -1
  51. package/.output/server/chunks/_/coerce.mjs +8 -0
  52. package/.output/server/chunks/_/coerce.mjs.map +1 -0
  53. package/.output/server/chunks/_/config.mjs +1 -1
  54. package/.output/server/chunks/_/error-500.mjs +2 -2
  55. package/.output/server/chunks/_/error-500.mjs.map +1 -1
  56. package/.output/server/chunks/_/file-workspace.mjs +57 -5
  57. package/.output/server/chunks/_/file-workspace.mjs.map +1 -1
  58. package/.output/server/chunks/_/map-service.mjs +1 -1
  59. package/.output/server/chunks/_/pixel-diff.mjs +1 -1
  60. package/.output/server/{node_modules/consola/dist/chunks → chunks/_}/prompt.mjs +2 -2
  61. package/.output/server/chunks/_/prompt.mjs.map +1 -0
  62. package/.output/server/chunks/_/schemas.mjs +5005 -0
  63. package/.output/server/chunks/_/schemas.mjs.map +1 -0
  64. package/.output/server/{node_modules/@vue/shared/dist/shared.cjs.prod.js → chunks/_/shared.cjs.prod.mjs} +90 -76
  65. package/.output/server/chunks/_/shared.cjs.prod.mjs.map +1 -0
  66. package/.output/server/chunks/_/uom-auth.mjs +42 -5
  67. package/.output/server/chunks/_/uom-auth.mjs.map +1 -1
  68. package/.output/server/chunks/build/{CompletedTaskSelect-Ba03kTs9.mjs → CompletedTaskSelect-nkBeLFh1.mjs} +768 -769
  69. package/.output/server/chunks/build/{CompletedTaskSelect-Ba03kTs9.mjs.map → CompletedTaskSelect-nkBeLFh1.mjs.map} +1 -1
  70. package/.output/server/chunks/build/Empty-Cq-rSwil.mjs +259 -0
  71. package/.output/server/chunks/build/Empty-Cq-rSwil.mjs.map +1 -0
  72. package/.output/server/chunks/build/{interval-i5OZnTaK.mjs → Form-6_bvrptP.mjs} +37 -43
  73. package/.output/server/chunks/build/Form-6_bvrptP.mjs.map +1 -0
  74. package/.output/server/chunks/build/FormField-DJWBDPj5.mjs +246 -0
  75. package/.output/server/chunks/build/FormField-DJWBDPj5.mjs.map +1 -0
  76. package/.output/server/chunks/build/{Input-DnAric-z.mjs → Input-BeUryJZ5.mjs} +67 -68
  77. package/.output/server/chunks/build/Input-BeUryJZ5.mjs.map +1 -0
  78. package/.output/server/chunks/build/{MapLayerControl-DpNmYvcU.mjs → MapLayerControl-DPdRMmuw.mjs} +771 -772
  79. package/.output/server/chunks/build/{MapLayerControl-DpNmYvcU.mjs.map → MapLayerControl-DPdRMmuw.mjs.map} +1 -1
  80. package/.output/server/chunks/build/Modal-BZfMeBGt.mjs +1319 -0
  81. package/.output/server/chunks/build/{Modal-BLhN9Eg2.mjs.map → Modal-BZfMeBGt.mjs.map} +1 -1
  82. package/.output/server/chunks/build/{OnlineMap-B-sCfHkC.mjs → OnlineMap-CYdaIiq1.mjs} +46 -23
  83. package/.output/server/chunks/build/OnlineMap-CYdaIiq1.mjs.map +1 -0
  84. package/.output/server/chunks/build/Pagination-5jGo7sr3.mjs +1024 -0
  85. package/.output/server/chunks/build/{Pagination-CUzoLc_-.mjs.map → Pagination-5jGo7sr3.mjs.map} +1 -1
  86. package/.output/server/chunks/build/{Tabs-cdLsZZoL.mjs → ScrollArea-1y_sQGDj.mjs} +951 -952
  87. package/.output/server/chunks/build/ScrollArea-1y_sQGDj.mjs.map +1 -0
  88. package/.output/server/chunks/build/{Skeleton-CHp-GjOx.mjs → Skeleton-hv0ZqADP.mjs} +10 -11
  89. package/.output/server/chunks/build/{Skeleton-CHp-GjOx.mjs.map → Skeleton-hv0ZqADP.mjs.map} +1 -1
  90. package/.output/server/chunks/build/{Slider-CrIUK3pl.mjs → Slider-DMNQ5v0F.mjs} +150 -151
  91. package/.output/server/chunks/build/{Slider-CrIUK3pl.mjs.map → Slider-DMNQ5v0F.mjs.map} +1 -1
  92. package/.output/server/chunks/build/{Tooltip-DExIlyhu.mjs → Tooltip-Da_m4qTB.mjs} +151 -152
  93. package/.output/server/chunks/build/{Tooltip-DExIlyhu.mjs.map → Tooltip-Da_m4qTB.mjs.map} +1 -1
  94. package/.output/server/chunks/build/advanced-CQaZH879.mjs +5011 -0
  95. package/.output/server/chunks/build/advanced-CQaZH879.mjs.map +1 -0
  96. package/.output/server/chunks/build/{compare-DaE10Dhp.mjs → compare-CXhy8zkR.mjs} +297 -306
  97. package/.output/server/chunks/build/compare-CXhy8zkR.mjs.map +1 -0
  98. package/.output/server/chunks/build/{cookie-CziAmOf1.mjs → cookie-B6O7_fHD.mjs} +6 -6
  99. package/.output/server/chunks/build/{cookie-CziAmOf1.mjs.map → cookie-B6O7_fHD.mjs.map} +1 -1
  100. package/.output/server/chunks/build/dashboard-m7MkDiLb.mjs +3229 -0
  101. package/.output/server/chunks/build/{dashboard-Dq8mphss.mjs.map → dashboard-m7MkDiLb.mjs.map} +1 -1
  102. package/.output/server/chunks/build/{details-DCNvSBgn.mjs → details-BuFz0zbq.mjs} +207 -216
  103. package/.output/server/chunks/build/details-BuFz0zbq.mjs.map +1 -0
  104. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +12 -21
  105. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs.map +1 -1
  106. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +8 -17
  107. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs.map +1 -1
  108. package/.output/server/chunks/build/esm-Dp2lJXbp.mjs +10 -10
  109. package/.output/server/chunks/build/esm-Dp2lJXbp.mjs.map +1 -1
  110. package/.output/server/chunks/build/{file-workspace-DMzPuPyG.mjs → file-workspace-C9v6Qocb.mjs} +4 -4
  111. package/.output/server/chunks/build/file-workspace-C9v6Qocb.mjs.map +1 -0
  112. package/.output/server/chunks/build/{layers-50nqoWES.mjs → layers-BXomRZx1.mjs} +107 -116
  113. package/.output/server/chunks/build/layers-BXomRZx1.mjs.map +1 -0
  114. package/.output/server/chunks/build/{login-BHSHtO-R.mjs → login-Bc6Roxwo.mjs} +149 -153
  115. package/.output/server/chunks/build/login-Bc6Roxwo.mjs.map +1 -0
  116. package/.output/server/chunks/build/{map-layers-C3HJoCLw.mjs → map-layers-CTSGZGmW.mjs} +6 -6
  117. package/.output/server/chunks/build/map-layers-CTSGZGmW.mjs.map +1 -0
  118. package/.output/server/chunks/build/{overlay-BS4_B29H.mjs → overlay-LIOZRR0G.mjs} +174 -154
  119. package/.output/server/chunks/build/{overlay-BS4_B29H.mjs.map → overlay-LIOZRR0G.mjs.map} +1 -1
  120. package/.output/server/chunks/build/pages-CBsYYFMD.mjs +210 -0
  121. package/.output/server/chunks/build/pages-CBsYYFMD.mjs.map +1 -0
  122. package/.output/server/chunks/build/{pages-5yYRS5nX.mjs → pages-DN0BdqEU.mjs} +5 -5
  123. package/.output/server/chunks/build/pages-DN0BdqEU.mjs.map +1 -0
  124. package/.output/server/chunks/build/{services-DWlDpsbi.mjs → services-DnEkW3P_.mjs} +255 -264
  125. package/.output/server/chunks/build/{services-DWlDpsbi.mjs.map → services-DnEkW3P_.mjs.map} +1 -1
  126. package/.output/server/chunks/build/{tasks-4b6D39Uy.mjs → tasks-Bbc6_UeW.mjs} +1084 -1084
  127. package/.output/server/chunks/build/{tasks-4b6D39Uy.mjs.map → tasks-Bbc6_UeW.mjs.map} +1 -1
  128. package/.output/server/chunks/build/tasks-BzxHEsMV.mjs +82 -0
  129. package/.output/server/chunks/build/tasks-BzxHEsMV.mjs.map +1 -0
  130. package/.output/server/chunks/nitro/nitro.mjs +1861 -310
  131. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  132. package/.output/server/chunks/routes/api/auth/captcha.post.mjs +3 -2
  133. package/.output/server/chunks/routes/api/auth/captcha.post.mjs.map +1 -1
  134. package/.output/server/chunks/routes/api/auth/login.post.mjs +3 -2
  135. package/.output/server/chunks/routes/api/auth/login.post.mjs.map +1 -1
  136. package/.output/server/chunks/routes/api/auth/logout.post.mjs +3 -2
  137. package/.output/server/chunks/routes/api/auth/logout.post.mjs.map +1 -1
  138. package/.output/server/chunks/routes/api/auth/map-token.post.mjs +3 -2
  139. package/.output/server/chunks/routes/api/auth/map-token.post.mjs.map +1 -1
  140. package/.output/server/chunks/routes/api/auth/send-sms.post.mjs +3 -2
  141. package/.output/server/chunks/routes/api/auth/send-sms.post.mjs.map +1 -1
  142. package/.output/server/chunks/routes/api/auth/status.get.mjs +3 -2
  143. package/.output/server/chunks/routes/api/auth/status.get.mjs.map +1 -1
  144. package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs +3 -2
  145. package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs.map +1 -1
  146. package/.output/server/chunks/routes/api/map/base/status.get.mjs +3 -2
  147. package/.output/server/chunks/routes/api/map/base/status.get.mjs.map +1 -1
  148. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs +3 -2
  149. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs.map +1 -1
  150. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs +3 -2
  151. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs.map +1 -1
  152. package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs +3 -2
  153. package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs.map +1 -1
  154. package/.output/server/chunks/routes/api/map/layers/status.get.mjs +3 -2
  155. package/.output/server/chunks/routes/api/map/layers/status.get.mjs.map +1 -1
  156. package/.output/server/chunks/routes/api/map/live/status.get.mjs +3 -2
  157. package/.output/server/chunks/routes/api/map/live/status.get.mjs.map +1 -1
  158. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +3 -2
  159. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs.map +1 -1
  160. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +3 -2
  161. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs.map +1 -1
  162. package/.output/server/chunks/routes/api/map-service/config.post.mjs +8 -8
  163. package/.output/server/chunks/routes/api/map-service/config.post.mjs.map +1 -1
  164. package/.output/server/chunks/routes/api/map-service/file.post.mjs +3 -3
  165. package/.output/server/chunks/routes/api/map-service/source.post.mjs +5 -5
  166. package/.output/server/chunks/routes/api/map-service/source.post.mjs.map +1 -1
  167. package/.output/server/chunks/routes/api/map-service/status.get.mjs +3 -3
  168. package/.output/server/chunks/routes/api/uom/myspace.post.mjs +71 -0
  169. package/.output/server/chunks/routes/api/uom/myspace.post.mjs.map +1 -0
  170. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +8 -13
  171. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs.map +1 -1
  172. package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +3 -3
  173. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +8 -7
  174. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs.map +1 -1
  175. package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs +9 -8
  176. package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs.map +1 -1
  177. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +6 -5
  178. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs.map +1 -1
  179. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +7 -6
  180. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs.map +1 -1
  181. package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +3 -3
  182. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +10 -9
  183. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs.map +1 -1
  184. package/.output/server/chunks/routes/api/workspace/compare.post.mjs +5 -5
  185. package/.output/server/chunks/routes/api/workspace/compare.post.mjs.map +1 -1
  186. package/.output/server/chunks/routes/api/workspace/fetch.post.mjs +5 -5
  187. package/.output/server/chunks/routes/api/workspace/fetch.post.mjs.map +1 -1
  188. package/.output/server/chunks/routes/api/workspace/files.get.mjs +3 -3
  189. package/.output/server/chunks/routes/api/workspace/files.post.mjs +4 -4
  190. package/.output/server/chunks/routes/api/workspace/stop.post.mjs +6 -6
  191. package/.output/server/chunks/routes/api/workspace/stop.post.mjs.map +1 -1
  192. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +6 -6
  193. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs.map +1 -1
  194. package/.output/server/chunks/routes/renderer.mjs +42597 -155
  195. package/.output/server/chunks/routes/renderer.mjs.map +1 -1
  196. package/.output/server/chunks/routes/services/wms.get.mjs +14 -13
  197. package/.output/server/chunks/routes/services/wms.get.mjs.map +1 -1
  198. package/.output/server/chunks/routes/services/wmts.get.mjs +14 -13
  199. package/.output/server/chunks/routes/services/wmts.get.mjs.map +1 -1
  200. package/.output/server/chunks/virtual/entry.mjs +1317 -1136
  201. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  202. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  203. package/.output/server/index.mjs +4 -3
  204. package/.output/server/index.mjs.map +1 -1
  205. package/README.md +7 -31
  206. package/dist/package.json +6 -1
  207. package/dist/src/cli.js +4 -3
  208. package/dist/src/core/fetch-process.js +11 -0
  209. package/package.json +6 -1
  210. package/.output/public/_nuxt/7KYNy7kZ.js +0 -1
  211. package/.output/public/_nuxt/7Rgc2iDI2.js +0 -1
  212. package/.output/public/_nuxt/BRsHq3Fz2.js +0 -1
  213. package/.output/public/_nuxt/BiRI-vq-.js +0 -1
  214. package/.output/public/_nuxt/CGkIG2vL2.js +0 -1
  215. package/.output/public/_nuxt/CUQ3MZqI.js +0 -1
  216. package/.output/public/_nuxt/CzRdWh7s2.js +0 -1
  217. package/.output/public/_nuxt/DK3Fl9T5.js +0 -1
  218. package/.output/public/_nuxt/D_Ggu6R_2.js +0 -1
  219. package/.output/public/_nuxt/DuGgjt-h2.js +0 -64
  220. package/.output/public/_nuxt/GEOST6As.js +0 -1
  221. package/.output/public/_nuxt/L0GXeO1Y2.js +0 -1
  222. package/.output/public/_nuxt/builds/meta/ad8f3148-5aa4-4a0f-8e7a-e55147c5de1a.json +0 -1
  223. package/.output/public/_nuxt/entry.U-KS0GEu.css +0 -1
  224. package/.output/public/_nuxt/maplibre-gl-worker.nfnkSQvL.mjs +0 -6
  225. package/.output/server/chunks/build/Empty-CKvANuoV.mjs +0 -260
  226. package/.output/server/chunks/build/Empty-CKvANuoV.mjs.map +0 -1
  227. package/.output/server/chunks/build/FormField-BJHVyy1m.mjs +0 -247
  228. package/.output/server/chunks/build/FormField-BJHVyy1m.mjs.map +0 -1
  229. package/.output/server/chunks/build/Input-DnAric-z.mjs.map +0 -1
  230. package/.output/server/chunks/build/Modal-BLhN9Eg2.mjs +0 -1320
  231. package/.output/server/chunks/build/OnlineMap-B-sCfHkC.mjs.map +0 -1
  232. package/.output/server/chunks/build/Pagination-CUzoLc_-.mjs +0 -1025
  233. package/.output/server/chunks/build/Tabs-cdLsZZoL.mjs.map +0 -1
  234. package/.output/server/chunks/build/advanced-DaSpS8Px.mjs +0 -1426
  235. package/.output/server/chunks/build/advanced-DaSpS8Px.mjs.map +0 -1
  236. package/.output/server/chunks/build/compare-DaE10Dhp.mjs.map +0 -1
  237. package/.output/server/chunks/build/dashboard-Dq8mphss.mjs +0 -3238
  238. package/.output/server/chunks/build/details-DCNvSBgn.mjs.map +0 -1
  239. package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs.map +0 -1
  240. package/.output/server/chunks/build/interval-i5OZnTaK.mjs.map +0 -1
  241. package/.output/server/chunks/build/layers-50nqoWES.mjs.map +0 -1
  242. package/.output/server/chunks/build/login-BHSHtO-R.mjs.map +0 -1
  243. package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs.map +0 -1
  244. package/.output/server/chunks/build/pages-5yYRS5nX.mjs.map +0 -1
  245. package/.output/server/chunks/build/pages-DfOPr0fC.mjs +0 -219
  246. package/.output/server/chunks/build/pages-DfOPr0fC.mjs.map +0 -1
  247. package/.output/server/chunks/build/tasks-BPPx2UMG.mjs +0 -91
  248. package/.output/server/chunks/build/tasks-BPPx2UMG.mjs.map +0 -1
  249. package/.output/server/node_modules/@babel/parser/lib/index.js +0 -14611
  250. package/.output/server/node_modules/@babel/parser/package.json +0 -50
  251. package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +0 -295
  252. package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +0 -701
  253. package/.output/server/node_modules/@iconify/utils/lib/css/common.js +0 -75
  254. package/.output/server/node_modules/@iconify/utils/lib/css/format.js +0 -39
  255. package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +0 -47
  256. package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +0 -128
  257. package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +0 -19
  258. package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +0 -13
  259. package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +0 -17
  260. package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +0 -16
  261. package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +0 -30
  262. package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +0 -78
  263. package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +0 -100
  264. package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +0 -28
  265. package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +0 -58
  266. package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +0 -48
  267. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +0 -203
  268. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +0 -33
  269. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +0 -132
  270. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +0 -165
  271. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +0 -79
  272. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +0 -92
  273. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +0 -26
  274. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +0 -76
  275. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +0 -66
  276. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +0 -45
  277. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +0 -103
  278. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +0 -36
  279. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +0 -92
  280. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +0 -62
  281. package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +0 -25
  282. package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +0 -16
  283. package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +0 -57
  284. package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +0 -33
  285. package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +0 -12
  286. package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +0 -125
  287. package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +0 -19
  288. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -25
  289. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +0 -36
  290. package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +0 -91
  291. package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +0 -46
  292. package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -23
  293. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +0 -42
  294. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +0 -123
  295. package/.output/server/node_modules/@iconify/utils/lib/index.js +0 -52
  296. package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +0 -30
  297. package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +0 -26
  298. package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +0 -27
  299. package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +0 -105
  300. package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +0 -26
  301. package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +0 -26
  302. package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +0 -9
  303. package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +0 -113
  304. package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +0 -31
  305. package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +0 -13
  306. package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +0 -9
  307. package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +0 -41
  308. package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +0 -22
  309. package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +0 -67
  310. package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +0 -54
  311. package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +0 -27
  312. package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +0 -7
  313. package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +0 -22
  314. package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +0 -8
  315. package/.output/server/node_modules/@iconify/utils/package.json +0 -119
  316. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +0 -6801
  317. package/.output/server/node_modules/@vue/compiler-core/package.json +0 -58
  318. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +0 -692
  319. package/.output/server/node_modules/@vue/compiler-dom/package.json +0 -57
  320. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +0 -1420
  321. package/.output/server/node_modules/@vue/compiler-ssr/package.json +0 -34
  322. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1903
  323. package/.output/server/node_modules/@vue/reactivity/package.json +0 -55
  324. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +0 -6976
  325. package/.output/server/node_modules/@vue/runtime-core/package.json +0 -52
  326. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1841
  327. package/.output/server/node_modules/@vue/runtime-dom/package.json +0 -60
  328. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +0 -904
  329. package/.output/server/node_modules/@vue/server-renderer/package.json +0 -53
  330. package/.output/server/node_modules/@vue/shared/package.json +0 -47
  331. package/.output/server/node_modules/consola/dist/core.mjs +0 -512
  332. package/.output/server/node_modules/consola/dist/index.mjs +0 -651
  333. package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +0 -72
  334. package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +0 -288
  335. package/.output/server/node_modules/consola/package.json +0 -136
  336. package/.output/server/node_modules/devalue/index.js +0 -17
  337. package/.output/server/node_modules/devalue/package.json +0 -39
  338. package/.output/server/node_modules/devalue/src/base64.js +0 -60
  339. package/.output/server/node_modules/devalue/src/constants.js +0 -12
  340. package/.output/server/node_modules/devalue/src/operations.js +0 -193
  341. package/.output/server/node_modules/devalue/src/parse.js +0 -270
  342. package/.output/server/node_modules/devalue/src/stringify.js +0 -428
  343. package/.output/server/node_modules/devalue/src/uneval.js +0 -582
  344. package/.output/server/node_modules/devalue/src/utils.js +0 -185
  345. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
  346. package/.output/server/node_modules/entities/dist/commonjs/decode.js +0 -568
  347. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
  348. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
  349. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
  350. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
  351. package/.output/server/node_modules/entities/dist/commonjs/package.json +0 -3
  352. package/.output/server/node_modules/entities/package.json +0 -120
  353. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +0 -344
  354. package/.output/server/node_modules/estree-walker/package.json +0 -37
  355. package/.output/server/node_modules/fflate/esm/index.mjs +0 -2710
  356. package/.output/server/node_modules/fflate/package.json +0 -128
  357. package/.output/server/node_modules/fnv1a-64/dist/index.mjs +0 -95
  358. package/.output/server/node_modules/fnv1a-64/package.json +0 -75
  359. package/.output/server/node_modules/hookable/dist/index.mjs +0 -257
  360. package/.output/server/node_modules/hookable/package.json +0 -53
  361. package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +0 -19
  362. package/.output/server/node_modules/nostics/dist/index.mjs +0 -187
  363. package/.output/server/node_modules/nostics/package.json +0 -125
  364. package/.output/server/node_modules/object-identity/index.js +0 -60
  365. package/.output/server/node_modules/object-identity/package.json +0 -40
  366. package/.output/server/node_modules/p-limit/index.js +0 -104
  367. package/.output/server/node_modules/p-limit/package.json +0 -58
  368. package/.output/server/node_modules/pmtiles/dist/esm/index.js +0 -2
  369. package/.output/server/node_modules/pmtiles/package.json +0 -50
  370. package/.output/server/node_modules/source-map-js/lib/array-set.js +0 -121
  371. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +0 -140
  372. package/.output/server/node_modules/source-map-js/lib/base64.js +0 -67
  373. package/.output/server/node_modules/source-map-js/lib/binary-search.js +0 -111
  374. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +0 -79
  375. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +0 -132
  376. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +0 -1188
  377. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +0 -444
  378. package/.output/server/node_modules/source-map-js/lib/source-node.js +0 -413
  379. package/.output/server/node_modules/source-map-js/lib/util.js +0 -594
  380. package/.output/server/node_modules/source-map-js/package.json +0 -71
  381. package/.output/server/node_modules/source-map-js/source-map.js +0 -8
  382. package/.output/server/node_modules/tailwindcss/dist/chunk-DCG7AFIE.mjs +0 -1
  383. package/.output/server/node_modules/tailwindcss/dist/colors.mjs +0 -1
  384. package/.output/server/node_modules/tailwindcss/package.json +0 -89
  385. package/.output/server/node_modules/ufo/dist/index.mjs +0 -645
  386. package/.output/server/node_modules/ufo/package.json +0 -48
  387. package/.output/server/node_modules/undici/index.js +0 -234
  388. package/.output/server/node_modules/undici/lib/api/abort-signal.js +0 -59
  389. package/.output/server/node_modules/undici/lib/api/api-connect.js +0 -110
  390. package/.output/server/node_modules/undici/lib/api/api-pipeline.js +0 -252
  391. package/.output/server/node_modules/undici/lib/api/api-request.js +0 -214
  392. package/.output/server/node_modules/undici/lib/api/api-stream.js +0 -209
  393. package/.output/server/node_modules/undici/lib/api/api-upgrade.js +0 -111
  394. package/.output/server/node_modules/undici/lib/api/index.js +0 -7
  395. package/.output/server/node_modules/undici/lib/api/readable.js +0 -580
  396. package/.output/server/node_modules/undici/lib/cache/memory-cache-store.js +0 -279
  397. package/.output/server/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -467
  398. package/.output/server/node_modules/undici/lib/core/connect.js +0 -153
  399. package/.output/server/node_modules/undici/lib/core/constants.js +0 -143
  400. package/.output/server/node_modules/undici/lib/core/diagnostics.js +0 -227
  401. package/.output/server/node_modules/undici/lib/core/errors.js +0 -477
  402. package/.output/server/node_modules/undici/lib/core/request.js +0 -464
  403. package/.output/server/node_modules/undici/lib/core/socks5-client.js +0 -422
  404. package/.output/server/node_modules/undici/lib/core/socks5-utils.js +0 -212
  405. package/.output/server/node_modules/undici/lib/core/symbols.js +0 -75
  406. package/.output/server/node_modules/undici/lib/core/tree.js +0 -160
  407. package/.output/server/node_modules/undici/lib/core/util.js +0 -992
  408. package/.output/server/node_modules/undici/lib/dispatcher/agent.js +0 -158
  409. package/.output/server/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
  410. package/.output/server/node_modules/undici/lib/dispatcher/client-h1.js +0 -1731
  411. package/.output/server/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
  412. package/.output/server/node_modules/undici/lib/dispatcher/client.js +0 -664
  413. package/.output/server/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -184
  414. package/.output/server/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
  415. package/.output/server/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
  416. package/.output/server/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  417. package/.output/server/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  418. package/.output/server/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
  419. package/.output/server/node_modules/undici/lib/dispatcher/pool.js +0 -118
  420. package/.output/server/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -319
  421. package/.output/server/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  422. package/.output/server/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
  423. package/.output/server/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -260
  424. package/.output/server/node_modules/undici/lib/encoding/index.js +0 -33
  425. package/.output/server/node_modules/undici/lib/global.js +0 -59
  426. package/.output/server/node_modules/undici/lib/handler/cache-handler.js +0 -760
  427. package/.output/server/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
  428. package/.output/server/node_modules/undici/lib/handler/decorator-handler.js +0 -67
  429. package/.output/server/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
  430. package/.output/server/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  431. package/.output/server/node_modules/undici/lib/handler/retry-handler.js +0 -418
  432. package/.output/server/node_modules/undici/lib/handler/unwrap-handler.js +0 -106
  433. package/.output/server/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  434. package/.output/server/node_modules/undici/lib/interceptor/cache.js +0 -602
  435. package/.output/server/node_modules/undici/lib/interceptor/decompress.js +0 -259
  436. package/.output/server/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
  437. package/.output/server/node_modules/undici/lib/interceptor/dns.js +0 -571
  438. package/.output/server/node_modules/undici/lib/interceptor/dump.js +0 -112
  439. package/.output/server/node_modules/undici/lib/interceptor/redirect.js +0 -21
  440. package/.output/server/node_modules/undici/lib/interceptor/response-error.js +0 -95
  441. package/.output/server/node_modules/undici/lib/interceptor/retry.js +0 -19
  442. package/.output/server/node_modules/undici/lib/llhttp/constants.js +0 -531
  443. package/.output/server/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  444. package/.output/server/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  445. package/.output/server/node_modules/undici/lib/llhttp/utils.js +0 -12
  446. package/.output/server/node_modules/undici/lib/mock/mock-agent.js +0 -232
  447. package/.output/server/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  448. package/.output/server/node_modules/undici/lib/mock/mock-client.js +0 -68
  449. package/.output/server/node_modules/undici/lib/mock/mock-errors.js +0 -29
  450. package/.output/server/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
  451. package/.output/server/node_modules/undici/lib/mock/mock-pool.js +0 -68
  452. package/.output/server/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  453. package/.output/server/node_modules/undici/lib/mock/mock-utils.js +0 -486
  454. package/.output/server/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  455. package/.output/server/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
  456. package/.output/server/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
  457. package/.output/server/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  458. package/.output/server/node_modules/undici/lib/util/cache.js +0 -676
  459. package/.output/server/node_modules/undici/lib/util/date.js +0 -670
  460. package/.output/server/node_modules/undici/lib/util/promise.js +0 -28
  461. package/.output/server/node_modules/undici/lib/util/runtime-features.js +0 -124
  462. package/.output/server/node_modules/undici/lib/util/stats.js +0 -32
  463. package/.output/server/node_modules/undici/lib/util/timers.js +0 -425
  464. package/.output/server/node_modules/undici/lib/web/cache/cache.js +0 -864
  465. package/.output/server/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  466. package/.output/server/node_modules/undici/lib/web/cache/util.js +0 -45
  467. package/.output/server/node_modules/undici/lib/web/cookies/constants.js +0 -12
  468. package/.output/server/node_modules/undici/lib/web/cookies/index.js +0 -199
  469. package/.output/server/node_modules/undici/lib/web/cookies/parse.js +0 -314
  470. package/.output/server/node_modules/undici/lib/web/cookies/util.js +0 -352
  471. package/.output/server/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
  472. package/.output/server/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
  473. package/.output/server/node_modules/undici/lib/web/eventsource/util.js +0 -29
  474. package/.output/server/node_modules/undici/lib/web/fetch/body.js +0 -509
  475. package/.output/server/node_modules/undici/lib/web/fetch/constants.js +0 -131
  476. package/.output/server/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  477. package/.output/server/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
  478. package/.output/server/node_modules/undici/lib/web/fetch/formdata.js +0 -259
  479. package/.output/server/node_modules/undici/lib/web/fetch/global.js +0 -40
  480. package/.output/server/node_modules/undici/lib/web/fetch/headers.js +0 -719
  481. package/.output/server/node_modules/undici/lib/web/fetch/index.js +0 -2413
  482. package/.output/server/node_modules/undici/lib/web/fetch/request.js +0 -1115
  483. package/.output/server/node_modules/undici/lib/web/fetch/response.js +0 -641
  484. package/.output/server/node_modules/undici/lib/web/fetch/util.js +0 -1522
  485. package/.output/server/node_modules/undici/lib/web/infra/index.js +0 -229
  486. package/.output/server/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  487. package/.output/server/node_modules/undici/lib/web/webidl/index.js +0 -1006
  488. package/.output/server/node_modules/undici/lib/web/websocket/connection.js +0 -329
  489. package/.output/server/node_modules/undici/lib/web/websocket/constants.js +0 -126
  490. package/.output/server/node_modules/undici/lib/web/websocket/events.js +0 -331
  491. package/.output/server/node_modules/undici/lib/web/websocket/frame.js +0 -133
  492. package/.output/server/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -100
  493. package/.output/server/node_modules/undici/lib/web/websocket/receiver.js +0 -507
  494. package/.output/server/node_modules/undici/lib/web/websocket/sender.js +0 -109
  495. package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  496. package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -498
  497. package/.output/server/node_modules/undici/lib/web/websocket/util.js +0 -347
  498. package/.output/server/node_modules/undici/lib/web/websocket/websocket.js +0 -758
  499. package/.output/server/node_modules/undici/package.json +0 -152
  500. package/.output/server/node_modules/unhead/dist/client.mjs +0 -22
  501. package/.output/server/node_modules/unhead/dist/index.mjs +0 -52
  502. package/.output/server/node_modules/unhead/dist/legacy.mjs +0 -33
  503. package/.output/server/node_modules/unhead/dist/minify.mjs +0 -183
  504. package/.output/server/node_modules/unhead/dist/parser.mjs +0 -518
  505. package/.output/server/node_modules/unhead/dist/plugins.mjs +0 -631
  506. package/.output/server/node_modules/unhead/dist/scripts.node.mjs +0 -6
  507. package/.output/server/node_modules/unhead/dist/server.mjs +0 -99
  508. package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +0 -673
  509. package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +0 -47
  510. package/.output/server/node_modules/unhead/dist/shared/unhead.BQWSw36o.mjs +0 -192
  511. package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +0 -67
  512. package/.output/server/node_modules/unhead/dist/shared/unhead.BdK3SLPN.mjs +0 -585
  513. package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +0 -6
  514. package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +0 -17
  515. package/.output/server/node_modules/unhead/dist/shared/unhead.C3b2Ipoj.mjs +0 -223
  516. package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +0 -32
  517. package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +0 -7
  518. package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +0 -27
  519. package/.output/server/node_modules/unhead/dist/shared/unhead.CfKy3Kuq.mjs +0 -196
  520. package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +0 -59
  521. package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +0 -400
  522. package/.output/server/node_modules/unhead/dist/shared/unhead.MC5RsXLj.mjs +0 -19
  523. package/.output/server/node_modules/unhead/dist/shared/unhead.jEy9BmRq.mjs +0 -264
  524. package/.output/server/node_modules/unhead/dist/shared/unhead.tQnRaXfX.mjs +0 -240
  525. package/.output/server/node_modules/unhead/dist/stream/client.mjs +0 -28
  526. package/.output/server/node_modules/unhead/dist/stream/iife.mjs +0 -2
  527. package/.output/server/node_modules/unhead/dist/stream/server.mjs +0 -264
  528. package/.output/server/node_modules/unhead/dist/utils.mjs +0 -7
  529. package/.output/server/node_modules/unhead/package.json +0 -179
  530. package/.output/server/node_modules/vue/dist/vue.cjs.js +0 -80
  531. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +0 -66
  532. package/.output/server/node_modules/vue/index.js +0 -7
  533. package/.output/server/node_modules/vue/index.mjs +0 -1
  534. package/.output/server/node_modules/vue/package.json +0 -112
  535. package/.output/server/node_modules/vue/server-renderer/index.mjs +0 -1
  536. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +0 -278
  537. package/.output/server/node_modules/vue-bundle-renderer/package.json +0 -54
  538. package/.output/server/node_modules/yocto-queue/index.js +0 -90
  539. package/.output/server/node_modules/yocto-queue/package.json +0 -48
  540. package/.output/server/node_modules/zod/index.js +0 -4
  541. package/.output/server/node_modules/zod/package.json +0 -135
  542. package/.output/server/node_modules/zod/v4/classic/checks.js +0 -1
  543. package/.output/server/node_modules/zod/v4/classic/coerce.js +0 -17
  544. package/.output/server/node_modules/zod/v4/classic/compat.js +0 -31
  545. package/.output/server/node_modules/zod/v4/classic/errors.js +0 -48
  546. package/.output/server/node_modules/zod/v4/classic/external.js +0 -20
  547. package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +0 -599
  548. package/.output/server/node_modules/zod/v4/classic/iso.js +0 -30
  549. package/.output/server/node_modules/zod/v4/classic/package.json +0 -7
  550. package/.output/server/node_modules/zod/v4/classic/parse.js +0 -15
  551. package/.output/server/node_modules/zod/v4/classic/schemas.js +0 -1395
  552. package/.output/server/node_modules/zod/v4/core/api.js +0 -1087
  553. package/.output/server/node_modules/zod/v4/core/checks.js +0 -575
  554. package/.output/server/node_modules/zod/v4/core/core.js +0 -78
  555. package/.output/server/node_modules/zod/v4/core/doc.js +0 -35
  556. package/.output/server/node_modules/zod/v4/core/errors.js +0 -185
  557. package/.output/server/node_modules/zod/v4/core/index.js +0 -16
  558. package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  559. package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +0 -601
  560. package/.output/server/node_modules/zod/v4/core/json-schema.js +0 -1
  561. package/.output/server/node_modules/zod/v4/core/package.json +0 -7
  562. package/.output/server/node_modules/zod/v4/core/parse.js +0 -93
  563. package/.output/server/node_modules/zod/v4/core/regexes.js +0 -139
  564. package/.output/server/node_modules/zod/v4/core/registries.js +0 -51
  565. package/.output/server/node_modules/zod/v4/core/schemas.js +0 -2239
  566. package/.output/server/node_modules/zod/v4/core/to-json-schema.js +0 -448
  567. package/.output/server/node_modules/zod/v4/core/util.js +0 -674
  568. package/.output/server/node_modules/zod/v4/core/versions.js +0 -5
  569. package/.output/server/node_modules/zod/v4/locales/ar.js +0 -106
  570. package/.output/server/node_modules/zod/v4/locales/az.js +0 -105
  571. package/.output/server/node_modules/zod/v4/locales/be.js +0 -156
  572. package/.output/server/node_modules/zod/v4/locales/bg.js +0 -120
  573. package/.output/server/node_modules/zod/v4/locales/ca.js +0 -107
  574. package/.output/server/node_modules/zod/v4/locales/cs.js +0 -111
  575. package/.output/server/node_modules/zod/v4/locales/da.js +0 -115
  576. package/.output/server/node_modules/zod/v4/locales/de.js +0 -108
  577. package/.output/server/node_modules/zod/v4/locales/el.js +0 -109
  578. package/.output/server/node_modules/zod/v4/locales/en.js +0 -113
  579. package/.output/server/node_modules/zod/v4/locales/eo.js +0 -109
  580. package/.output/server/node_modules/zod/v4/locales/es.js +0 -132
  581. package/.output/server/node_modules/zod/v4/locales/fa.js +0 -114
  582. package/.output/server/node_modules/zod/v4/locales/fi.js +0 -112
  583. package/.output/server/node_modules/zod/v4/locales/fr-CA.js +0 -107
  584. package/.output/server/node_modules/zod/v4/locales/fr.js +0 -125
  585. package/.output/server/node_modules/zod/v4/locales/he.js +0 -214
  586. package/.output/server/node_modules/zod/v4/locales/hr.js +0 -122
  587. package/.output/server/node_modules/zod/v4/locales/hu.js +0 -108
  588. package/.output/server/node_modules/zod/v4/locales/hy.js +0 -147
  589. package/.output/server/node_modules/zod/v4/locales/id.js +0 -106
  590. package/.output/server/node_modules/zod/v4/locales/index.js +0 -52
  591. package/.output/server/node_modules/zod/v4/locales/is.js +0 -109
  592. package/.output/server/node_modules/zod/v4/locales/it.js +0 -108
  593. package/.output/server/node_modules/zod/v4/locales/ja.js +0 -107
  594. package/.output/server/node_modules/zod/v4/locales/ka.js +0 -112
  595. package/.output/server/node_modules/zod/v4/locales/kh.js +0 -5
  596. package/.output/server/node_modules/zod/v4/locales/km.js +0 -110
  597. package/.output/server/node_modules/zod/v4/locales/ko.js +0 -111
  598. package/.output/server/node_modules/zod/v4/locales/lt.js +0 -203
  599. package/.output/server/node_modules/zod/v4/locales/mk.js +0 -109
  600. package/.output/server/node_modules/zod/v4/locales/ms.js +0 -107
  601. package/.output/server/node_modules/zod/v4/locales/nl.js +0 -110
  602. package/.output/server/node_modules/zod/v4/locales/no.js +0 -108
  603. package/.output/server/node_modules/zod/v4/locales/ota.js +0 -109
  604. package/.output/server/node_modules/zod/v4/locales/package.json +0 -7
  605. package/.output/server/node_modules/zod/v4/locales/pl.js +0 -109
  606. package/.output/server/node_modules/zod/v4/locales/ps.js +0 -114
  607. package/.output/server/node_modules/zod/v4/locales/pt.js +0 -108
  608. package/.output/server/node_modules/zod/v4/locales/ro.js +0 -119
  609. package/.output/server/node_modules/zod/v4/locales/ru.js +0 -156
  610. package/.output/server/node_modules/zod/v4/locales/sl.js +0 -109
  611. package/.output/server/node_modules/zod/v4/locales/sv.js +0 -110
  612. package/.output/server/node_modules/zod/v4/locales/ta.js +0 -110
  613. package/.output/server/node_modules/zod/v4/locales/th.js +0 -110
  614. package/.output/server/node_modules/zod/v4/locales/tr.js +0 -105
  615. package/.output/server/node_modules/zod/v4/locales/ua.js +0 -5
  616. package/.output/server/node_modules/zod/v4/locales/uk.js +0 -108
  617. package/.output/server/node_modules/zod/v4/locales/ur.js +0 -110
  618. package/.output/server/node_modules/zod/v4/locales/uz.js +0 -110
  619. package/.output/server/node_modules/zod/v4/locales/vi.js +0 -108
  620. package/.output/server/node_modules/zod/v4/locales/yo.js +0 -107
  621. package/.output/server/node_modules/zod/v4/locales/zh-CN.js +0 -109
  622. package/.output/server/node_modules/zod/v4/locales/zh-TW.js +0 -107
  623. package/.output/server/package.json +0 -38
@@ -1,1903 +0,0 @@
1
- /**
2
- * @vue/reactivity v3.5.41
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **/
6
- 'use strict';
7
-
8
- Object.defineProperty(exports, '__esModule', { value: true });
9
-
10
- var shared = require('@vue/shared');
11
-
12
- let activeEffectScope;
13
- class EffectScope {
14
- // TODO isolatedDeclarations "__v_skip"
15
- constructor(detached = false) {
16
- this.detached = detached;
17
- /**
18
- * @internal
19
- */
20
- this._active = true;
21
- /**
22
- * @internal track `on` calls, allow `on` call multiple times
23
- */
24
- this._on = 0;
25
- /**
26
- * @internal
27
- */
28
- this.effects = [];
29
- /**
30
- * @internal
31
- */
32
- this.cleanups = [];
33
- this._isPaused = false;
34
- this._warnOnRun = true;
35
- this.__v_skip = true;
36
- if (!detached && activeEffectScope) {
37
- if (activeEffectScope.active) {
38
- this.parent = activeEffectScope;
39
- this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
40
- this
41
- ) - 1;
42
- } else {
43
- this._active = false;
44
- this._warnOnRun = false;
45
- }
46
- }
47
- }
48
- get active() {
49
- return this._active;
50
- }
51
- pause() {
52
- if (this._active) {
53
- this._isPaused = true;
54
- let i, l;
55
- if (this.scopes) {
56
- const scopes = this.scopes.slice();
57
- for (i = 0, l = scopes.length; i < l; i++) {
58
- scopes[i].pause();
59
- }
60
- }
61
- for (i = 0, l = this.effects.length; i < l; i++) {
62
- this.effects[i].pause();
63
- }
64
- }
65
- }
66
- /**
67
- * Resumes the effect scope, including all child scopes and effects.
68
- */
69
- resume() {
70
- if (this._active) {
71
- if (this._isPaused) {
72
- this._isPaused = false;
73
- let i, l;
74
- if (this.scopes) {
75
- const scopes = this.scopes.slice();
76
- for (i = 0, l = scopes.length; i < l; i++) {
77
- scopes[i].resume();
78
- }
79
- }
80
- const effects = this.effects.slice();
81
- for (i = 0, l = effects.length; i < l; i++) {
82
- effects[i].resume();
83
- }
84
- }
85
- }
86
- }
87
- run(fn) {
88
- if (this._active) {
89
- const currentEffectScope = activeEffectScope;
90
- try {
91
- activeEffectScope = this;
92
- return fn();
93
- } finally {
94
- activeEffectScope = currentEffectScope;
95
- }
96
- }
97
- }
98
- /**
99
- * This should only be called on non-detached scopes
100
- * @internal
101
- */
102
- on() {
103
- if (++this._on === 1) {
104
- this.prevScope = activeEffectScope;
105
- activeEffectScope = this;
106
- }
107
- }
108
- /**
109
- * This should only be called on non-detached scopes
110
- * @internal
111
- */
112
- off() {
113
- if (this._on > 0 && --this._on === 0) {
114
- if (activeEffectScope === this) {
115
- activeEffectScope = this.prevScope;
116
- } else {
117
- let current = activeEffectScope;
118
- while (current) {
119
- if (current.prevScope === this) {
120
- current.prevScope = this.prevScope;
121
- break;
122
- }
123
- current = current.prevScope;
124
- }
125
- }
126
- this.prevScope = void 0;
127
- }
128
- }
129
- stop(fromParent) {
130
- if (this._active) {
131
- this._active = false;
132
- let i, l;
133
- for (i = 0, l = this.effects.length; i < l; i++) {
134
- this.effects[i].stop();
135
- }
136
- this.effects.length = 0;
137
- for (i = 0, l = this.cleanups.length; i < l; i++) {
138
- this.cleanups[i]();
139
- }
140
- this.cleanups.length = 0;
141
- if (this.scopes) {
142
- const scopes = this.scopes.slice();
143
- for (i = 0, l = scopes.length; i < l; i++) {
144
- scopes[i].stop(true);
145
- }
146
- this.scopes.length = 0;
147
- }
148
- if (!this.detached && this.parent && !fromParent) {
149
- const last = this.parent.scopes.pop();
150
- if (last && last !== this) {
151
- this.parent.scopes[this.index] = last;
152
- last.index = this.index;
153
- }
154
- }
155
- this.parent = void 0;
156
- }
157
- }
158
- }
159
- function effectScope(detached) {
160
- return new EffectScope(detached);
161
- }
162
- function getCurrentScope() {
163
- return activeEffectScope;
164
- }
165
- function onScopeDispose(fn, failSilently = false) {
166
- if (activeEffectScope) {
167
- activeEffectScope.cleanups.push(fn);
168
- }
169
- }
170
-
171
- let activeSub;
172
- const EffectFlags = {
173
- "ACTIVE": 1,
174
- "1": "ACTIVE",
175
- "RUNNING": 2,
176
- "2": "RUNNING",
177
- "TRACKING": 4,
178
- "4": "TRACKING",
179
- "NOTIFIED": 8,
180
- "8": "NOTIFIED",
181
- "DIRTY": 16,
182
- "16": "DIRTY",
183
- "ALLOW_RECURSE": 32,
184
- "32": "ALLOW_RECURSE",
185
- "PAUSED": 64,
186
- "64": "PAUSED",
187
- "EVALUATED": 128,
188
- "128": "EVALUATED"
189
- };
190
- const pausedQueueEffects = /* @__PURE__ */ new WeakSet();
191
- class ReactiveEffect {
192
- constructor(fn) {
193
- this.fn = fn;
194
- /**
195
- * @internal
196
- */
197
- this.deps = void 0;
198
- /**
199
- * @internal
200
- */
201
- this.depsTail = void 0;
202
- /**
203
- * @internal
204
- */
205
- this.flags = 1 | 4;
206
- /**
207
- * @internal
208
- */
209
- this.next = void 0;
210
- /**
211
- * @internal
212
- */
213
- this.cleanup = void 0;
214
- this.scheduler = void 0;
215
- if (activeEffectScope) {
216
- if (activeEffectScope.active) {
217
- activeEffectScope.effects.push(this);
218
- } else {
219
- this.flags &= -2;
220
- }
221
- }
222
- }
223
- pause() {
224
- this.flags |= 64;
225
- }
226
- resume() {
227
- if (this.flags & 64) {
228
- this.flags &= -65;
229
- if (pausedQueueEffects.has(this)) {
230
- pausedQueueEffects.delete(this);
231
- this.trigger();
232
- }
233
- }
234
- }
235
- /**
236
- * @internal
237
- */
238
- notify() {
239
- if (this.flags & 2 && !(this.flags & 32)) {
240
- return;
241
- }
242
- if (!(this.flags & 8)) {
243
- batch(this);
244
- }
245
- }
246
- run() {
247
- if (!(this.flags & 1)) {
248
- return this.fn();
249
- }
250
- this.flags |= 2;
251
- cleanupEffect(this);
252
- prepareDeps(this);
253
- const prevEffect = activeSub;
254
- const prevShouldTrack = shouldTrack;
255
- activeSub = this;
256
- shouldTrack = true;
257
- try {
258
- return this.fn();
259
- } finally {
260
- cleanupDeps(this);
261
- activeSub = prevEffect;
262
- shouldTrack = prevShouldTrack;
263
- this.flags &= -3;
264
- }
265
- }
266
- stop() {
267
- if (this.flags & 1) {
268
- for (let link = this.deps; link; link = link.nextDep) {
269
- removeSub(link);
270
- }
271
- this.deps = this.depsTail = void 0;
272
- cleanupEffect(this);
273
- this.onStop && this.onStop();
274
- this.flags &= -2;
275
- }
276
- }
277
- trigger() {
278
- if (this.flags & 64) {
279
- pausedQueueEffects.add(this);
280
- } else if (this.scheduler) {
281
- this.scheduler();
282
- } else {
283
- this.runIfDirty();
284
- }
285
- }
286
- /**
287
- * @internal
288
- */
289
- runIfDirty() {
290
- if (isDirty(this)) {
291
- this.run();
292
- }
293
- }
294
- get dirty() {
295
- return isDirty(this);
296
- }
297
- }
298
- let batchDepth = 0;
299
- let batchedSub;
300
- let batchedComputed;
301
- function batch(sub, isComputed = false) {
302
- sub.flags |= 8;
303
- if (isComputed) {
304
- sub.next = batchedComputed;
305
- batchedComputed = sub;
306
- return;
307
- }
308
- sub.next = batchedSub;
309
- batchedSub = sub;
310
- }
311
- function startBatch() {
312
- batchDepth++;
313
- }
314
- function endBatch() {
315
- if (--batchDepth > 0) {
316
- return;
317
- }
318
- if (batchedComputed) {
319
- let e = batchedComputed;
320
- batchedComputed = void 0;
321
- while (e) {
322
- const next = e.next;
323
- e.next = void 0;
324
- e.flags &= -9;
325
- e = next;
326
- }
327
- }
328
- let error;
329
- while (batchedSub) {
330
- let e = batchedSub;
331
- batchedSub = void 0;
332
- while (e) {
333
- const next = e.next;
334
- e.next = void 0;
335
- e.flags &= -9;
336
- if (e.flags & 1) {
337
- try {
338
- ;
339
- e.trigger();
340
- } catch (err) {
341
- if (!error) error = err;
342
- }
343
- }
344
- e = next;
345
- }
346
- }
347
- if (error) throw error;
348
- }
349
- function prepareDeps(sub) {
350
- for (let link = sub.deps; link; link = link.nextDep) {
351
- link.version = -1;
352
- link.prevActiveLink = link.dep.activeLink;
353
- link.dep.activeLink = link;
354
- }
355
- }
356
- function cleanupDeps(sub) {
357
- let head;
358
- let tail = sub.depsTail;
359
- let link = tail;
360
- while (link) {
361
- const prev = link.prevDep;
362
- if (link.version === -1) {
363
- if (link === tail) tail = prev;
364
- removeSub(link);
365
- removeDep(link);
366
- } else {
367
- head = link;
368
- }
369
- link.dep.activeLink = link.prevActiveLink;
370
- link.prevActiveLink = void 0;
371
- link = prev;
372
- }
373
- sub.deps = head;
374
- sub.depsTail = tail;
375
- }
376
- function isDirty(sub) {
377
- for (let link = sub.deps; link; link = link.nextDep) {
378
- if (link.dep.version !== link.version || link.dep.computed && (refreshComputed(link.dep.computed) || link.dep.version !== link.version)) {
379
- return true;
380
- }
381
- }
382
- if (sub._dirty) {
383
- return true;
384
- }
385
- return false;
386
- }
387
- function refreshComputed(computed) {
388
- if (computed.flags & 4 && !(computed.flags & 16)) {
389
- return;
390
- }
391
- computed.flags &= -17;
392
- if (computed.globalVersion === globalVersion) {
393
- return;
394
- }
395
- computed.globalVersion = globalVersion;
396
- if (!computed.isSSR && computed.flags & 128 && (!computed.deps && !computed._dirty || !isDirty(computed))) {
397
- return;
398
- }
399
- computed.flags |= 2;
400
- const dep = computed.dep;
401
- const prevSub = activeSub;
402
- const prevShouldTrack = shouldTrack;
403
- activeSub = computed;
404
- shouldTrack = true;
405
- try {
406
- prepareDeps(computed);
407
- const value = computed.fn(computed._value);
408
- if (dep.version === 0 || shared.hasChanged(value, computed._value)) {
409
- computed.flags |= 128;
410
- computed._value = value;
411
- dep.version++;
412
- }
413
- } catch (err) {
414
- dep.version++;
415
- throw err;
416
- } finally {
417
- activeSub = prevSub;
418
- shouldTrack = prevShouldTrack;
419
- cleanupDeps(computed);
420
- computed.flags &= -3;
421
- }
422
- }
423
- function removeSub(link, soft = false) {
424
- const { dep, prevSub, nextSub } = link;
425
- if (prevSub) {
426
- prevSub.nextSub = nextSub;
427
- link.prevSub = void 0;
428
- }
429
- if (nextSub) {
430
- nextSub.prevSub = prevSub;
431
- link.nextSub = void 0;
432
- }
433
- if (dep.subs === link) {
434
- dep.subs = prevSub;
435
- if (!prevSub && dep.computed) {
436
- dep.computed.flags &= -5;
437
- for (let l = dep.computed.deps; l; l = l.nextDep) {
438
- removeSub(l, true);
439
- }
440
- }
441
- }
442
- if (!soft && !--dep.sc && dep.map) {
443
- dep.map.delete(dep.key);
444
- }
445
- }
446
- function removeDep(link) {
447
- const { prevDep, nextDep } = link;
448
- if (prevDep) {
449
- prevDep.nextDep = nextDep;
450
- link.prevDep = void 0;
451
- }
452
- if (nextDep) {
453
- nextDep.prevDep = prevDep;
454
- link.nextDep = void 0;
455
- }
456
- }
457
- function effect(fn, options) {
458
- if (fn.effect instanceof ReactiveEffect) {
459
- fn = fn.effect.fn;
460
- }
461
- const e = new ReactiveEffect(fn);
462
- if (options) {
463
- shared.extend(e, options);
464
- }
465
- try {
466
- e.run();
467
- } catch (err) {
468
- e.stop();
469
- throw err;
470
- }
471
- const runner = e.run.bind(e);
472
- runner.effect = e;
473
- return runner;
474
- }
475
- function stop(runner) {
476
- runner.effect.stop();
477
- }
478
- let shouldTrack = true;
479
- const trackStack = [];
480
- function pauseTracking() {
481
- trackStack.push(shouldTrack);
482
- shouldTrack = false;
483
- }
484
- function enableTracking() {
485
- trackStack.push(shouldTrack);
486
- shouldTrack = true;
487
- }
488
- function resetTracking() {
489
- const last = trackStack.pop();
490
- shouldTrack = last === void 0 ? true : last;
491
- }
492
- function onEffectCleanup(fn, failSilently = false) {
493
- if (activeSub instanceof ReactiveEffect) {
494
- activeSub.cleanup = fn;
495
- }
496
- }
497
- function cleanupEffect(e) {
498
- const { cleanup } = e;
499
- e.cleanup = void 0;
500
- if (cleanup) {
501
- const prevSub = activeSub;
502
- activeSub = void 0;
503
- try {
504
- cleanup();
505
- } finally {
506
- activeSub = prevSub;
507
- }
508
- }
509
- }
510
-
511
- let globalVersion = 0;
512
- class Link {
513
- constructor(sub, dep) {
514
- this.sub = sub;
515
- this.dep = dep;
516
- this.version = dep.version;
517
- this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
518
- }
519
- }
520
- class Dep {
521
- // TODO isolatedDeclarations "__v_skip"
522
- constructor(computed) {
523
- this.computed = computed;
524
- this.version = 0;
525
- /**
526
- * Link between this dep and the current active effect
527
- */
528
- this.activeLink = void 0;
529
- /**
530
- * Doubly linked list representing the subscribing effects (tail)
531
- */
532
- this.subs = void 0;
533
- /**
534
- * For object property deps cleanup
535
- */
536
- this.map = void 0;
537
- this.key = void 0;
538
- /**
539
- * Subscriber counter
540
- */
541
- this.sc = 0;
542
- /**
543
- * @internal
544
- */
545
- this.__v_skip = true;
546
- }
547
- track(debugInfo) {
548
- if (!activeSub || !shouldTrack || activeSub === this.computed) {
549
- return;
550
- }
551
- let link = this.activeLink;
552
- if (link === void 0 || link.sub !== activeSub) {
553
- link = this.activeLink = new Link(activeSub, this);
554
- if (!activeSub.deps) {
555
- activeSub.deps = activeSub.depsTail = link;
556
- } else {
557
- link.prevDep = activeSub.depsTail;
558
- activeSub.depsTail.nextDep = link;
559
- activeSub.depsTail = link;
560
- }
561
- addSub(link);
562
- } else if (link.version === -1) {
563
- link.version = this.version;
564
- if (link.nextDep) {
565
- const next = link.nextDep;
566
- next.prevDep = link.prevDep;
567
- if (link.prevDep) {
568
- link.prevDep.nextDep = next;
569
- }
570
- link.prevDep = activeSub.depsTail;
571
- link.nextDep = void 0;
572
- activeSub.depsTail.nextDep = link;
573
- activeSub.depsTail = link;
574
- if (activeSub.deps === link) {
575
- activeSub.deps = next;
576
- }
577
- }
578
- }
579
- return link;
580
- }
581
- trigger(debugInfo) {
582
- this.version++;
583
- globalVersion++;
584
- this.notify(debugInfo);
585
- }
586
- notify(debugInfo) {
587
- startBatch();
588
- try {
589
- if (false) ;
590
- for (let link = this.subs; link; link = link.prevSub) {
591
- if (link.sub.notify()) {
592
- ;
593
- link.sub.dep.notify();
594
- }
595
- }
596
- } finally {
597
- endBatch();
598
- }
599
- }
600
- }
601
- function addSub(link) {
602
- link.dep.sc++;
603
- if (link.sub.flags & 4) {
604
- const computed = link.dep.computed;
605
- if (computed && !link.dep.subs) {
606
- computed.flags |= 4 | 16;
607
- for (let l = computed.deps; l; l = l.nextDep) {
608
- addSub(l);
609
- }
610
- }
611
- const currentTail = link.dep.subs;
612
- if (currentTail !== link) {
613
- link.prevSub = currentTail;
614
- if (currentTail) currentTail.nextSub = link;
615
- }
616
- link.dep.subs = link;
617
- }
618
- }
619
- const targetMap = /* @__PURE__ */ new WeakMap();
620
- const ITERATE_KEY = /* @__PURE__ */ Symbol(
621
- ""
622
- );
623
- const MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(
624
- ""
625
- );
626
- const ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(
627
- ""
628
- );
629
- function track(target, type, key) {
630
- if (shouldTrack && activeSub) {
631
- let depsMap = targetMap.get(target);
632
- if (!depsMap) {
633
- targetMap.set(target, depsMap = /* @__PURE__ */ new Map());
634
- }
635
- let dep = depsMap.get(key);
636
- if (!dep) {
637
- depsMap.set(key, dep = new Dep());
638
- dep.map = depsMap;
639
- dep.key = key;
640
- }
641
- {
642
- dep.track();
643
- }
644
- }
645
- }
646
- function trigger(target, type, key, newValue, oldValue, oldTarget) {
647
- const depsMap = targetMap.get(target);
648
- if (!depsMap) {
649
- globalVersion++;
650
- return;
651
- }
652
- const run = (dep) => {
653
- if (dep) {
654
- {
655
- dep.trigger();
656
- }
657
- }
658
- };
659
- startBatch();
660
- if (type === "clear") {
661
- depsMap.forEach(run);
662
- } else {
663
- const targetIsArray = shared.isArray(target);
664
- const isArrayIndex = targetIsArray && shared.isIntegerKey(key);
665
- if (targetIsArray && key === "length") {
666
- const newLength = Number(newValue);
667
- depsMap.forEach((dep, key2) => {
668
- if (key2 === "length" || key2 === ARRAY_ITERATE_KEY || !shared.isSymbol(key2) && key2 >= newLength) {
669
- run(dep);
670
- }
671
- });
672
- } else {
673
- if (key !== void 0 || depsMap.has(void 0)) {
674
- run(depsMap.get(key));
675
- }
676
- if (isArrayIndex) {
677
- run(depsMap.get(ARRAY_ITERATE_KEY));
678
- }
679
- switch (type) {
680
- case "add":
681
- if (!targetIsArray) {
682
- run(depsMap.get(ITERATE_KEY));
683
- if (shared.isMap(target)) {
684
- run(depsMap.get(MAP_KEY_ITERATE_KEY));
685
- }
686
- } else if (isArrayIndex) {
687
- run(depsMap.get("length"));
688
- }
689
- break;
690
- case "delete":
691
- if (!targetIsArray) {
692
- run(depsMap.get(ITERATE_KEY));
693
- if (shared.isMap(target)) {
694
- run(depsMap.get(MAP_KEY_ITERATE_KEY));
695
- }
696
- }
697
- break;
698
- case "set":
699
- if (shared.isMap(target)) {
700
- run(depsMap.get(ITERATE_KEY));
701
- }
702
- break;
703
- }
704
- }
705
- }
706
- endBatch();
707
- }
708
- function getDepFromReactive(object, key) {
709
- const depMap = targetMap.get(object);
710
- return depMap && depMap.get(key);
711
- }
712
-
713
- function reactiveReadArray(array) {
714
- const raw = toRaw(array);
715
- if (raw === array) return raw;
716
- track(raw, "iterate", ARRAY_ITERATE_KEY);
717
- return isShallow(array) ? raw : raw.map(toReactive);
718
- }
719
- function shallowReadArray(arr) {
720
- track(arr = toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
721
- return arr;
722
- }
723
- function toWrapped(target, item) {
724
- if (isReadonly(target)) {
725
- return isReactive(target) ? toReadonly(toReactive(item)) : toReadonly(item);
726
- }
727
- return toReactive(item);
728
- }
729
- const arrayInstrumentations = {
730
- __proto__: null,
731
- [Symbol.iterator]() {
732
- return iterator(this, Symbol.iterator, (item) => toWrapped(this, item));
733
- },
734
- concat(...args) {
735
- return reactiveReadArray(this).concat(
736
- ...args.map((x) => shared.isArray(x) ? reactiveReadArray(x) : x)
737
- );
738
- },
739
- entries() {
740
- return iterator(this, "entries", (value) => {
741
- value[1] = toWrapped(this, value[1]);
742
- return value;
743
- });
744
- },
745
- every(fn, thisArg) {
746
- return apply(this, "every", fn, thisArg, void 0, arguments);
747
- },
748
- filter(fn, thisArg) {
749
- return apply(
750
- this,
751
- "filter",
752
- fn,
753
- thisArg,
754
- (v) => v.map((item) => toWrapped(this, item)),
755
- arguments
756
- );
757
- },
758
- find(fn, thisArg) {
759
- return apply(
760
- this,
761
- "find",
762
- fn,
763
- thisArg,
764
- (item) => toWrapped(this, item),
765
- arguments
766
- );
767
- },
768
- findIndex(fn, thisArg) {
769
- return apply(this, "findIndex", fn, thisArg, void 0, arguments);
770
- },
771
- findLast(fn, thisArg) {
772
- return apply(
773
- this,
774
- "findLast",
775
- fn,
776
- thisArg,
777
- (item) => toWrapped(this, item),
778
- arguments
779
- );
780
- },
781
- findLastIndex(fn, thisArg) {
782
- return apply(this, "findLastIndex", fn, thisArg, void 0, arguments);
783
- },
784
- // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
785
- forEach(fn, thisArg) {
786
- return apply(this, "forEach", fn, thisArg, void 0, arguments);
787
- },
788
- includes(...args) {
789
- return searchProxy(this, "includes", args);
790
- },
791
- indexOf(...args) {
792
- return searchProxy(this, "indexOf", args);
793
- },
794
- join(separator) {
795
- return reactiveReadArray(this).join(separator);
796
- },
797
- // keys() iterator only reads `length`, no optimization required
798
- lastIndexOf(...args) {
799
- return searchProxy(this, "lastIndexOf", args);
800
- },
801
- map(fn, thisArg) {
802
- return apply(this, "map", fn, thisArg, void 0, arguments);
803
- },
804
- pop() {
805
- return noTracking(this, "pop");
806
- },
807
- push(...args) {
808
- return noTracking(this, "push", args);
809
- },
810
- reduce(fn, ...args) {
811
- return reduce(this, "reduce", fn, args);
812
- },
813
- reduceRight(fn, ...args) {
814
- return reduce(this, "reduceRight", fn, args);
815
- },
816
- shift() {
817
- return noTracking(this, "shift");
818
- },
819
- // slice could use ARRAY_ITERATE but also seems to beg for range tracking
820
- some(fn, thisArg) {
821
- return apply(this, "some", fn, thisArg, void 0, arguments);
822
- },
823
- splice(...args) {
824
- return noTracking(this, "splice", args);
825
- },
826
- toReversed() {
827
- return reactiveReadArray(this).toReversed();
828
- },
829
- toSorted(comparer) {
830
- return reactiveReadArray(this).toSorted(comparer);
831
- },
832
- toSpliced(...args) {
833
- return reactiveReadArray(this).toSpliced(...args);
834
- },
835
- unshift(...args) {
836
- return noTracking(this, "unshift", args);
837
- },
838
- values() {
839
- return iterator(this, "values", (item) => toWrapped(this, item));
840
- }
841
- };
842
- function iterator(self, method, wrapValue) {
843
- const arr = shallowReadArray(self);
844
- const iter = arr[method]();
845
- if (arr !== self && !isShallow(self)) {
846
- iter._next = iter.next;
847
- iter.next = () => {
848
- const result = iter._next();
849
- if (!result.done) {
850
- result.value = wrapValue(result.value);
851
- }
852
- return result;
853
- };
854
- }
855
- return iter;
856
- }
857
- const arrayProto = Array.prototype;
858
- function apply(self, method, fn, thisArg, wrappedRetFn, args) {
859
- const arr = shallowReadArray(self);
860
- const needsWrap = arr !== self && !isShallow(self);
861
- const methodFn = arr[method];
862
- if (methodFn !== arrayProto[method]) {
863
- const result2 = methodFn.apply(self, args);
864
- return needsWrap ? toReactive(result2) : result2;
865
- }
866
- let wrappedFn = fn;
867
- if (arr !== self) {
868
- if (needsWrap) {
869
- wrappedFn = function(item, index) {
870
- return fn.call(this, toWrapped(self, item), index, self);
871
- };
872
- } else if (fn.length > 2) {
873
- wrappedFn = function(item, index) {
874
- return fn.call(this, item, index, self);
875
- };
876
- }
877
- }
878
- const result = methodFn.call(arr, wrappedFn, thisArg);
879
- return needsWrap && wrappedRetFn ? wrappedRetFn(result) : result;
880
- }
881
- function reduce(self, method, fn, args) {
882
- const arr = shallowReadArray(self);
883
- const needsWrap = arr !== self && !isShallow(self);
884
- let wrappedFn = fn;
885
- let wrapInitialAccumulator = false;
886
- if (arr !== self) {
887
- if (needsWrap) {
888
- wrapInitialAccumulator = args.length === 0;
889
- wrappedFn = function(acc, item, index) {
890
- if (wrapInitialAccumulator) {
891
- wrapInitialAccumulator = false;
892
- acc = toWrapped(self, acc);
893
- }
894
- return fn.call(this, acc, toWrapped(self, item), index, self);
895
- };
896
- } else if (fn.length > 3) {
897
- wrappedFn = function(acc, item, index) {
898
- return fn.call(this, acc, item, index, self);
899
- };
900
- }
901
- }
902
- const result = arr[method](wrappedFn, ...args);
903
- return wrapInitialAccumulator ? toWrapped(self, result) : result;
904
- }
905
- function searchProxy(self, method, args) {
906
- const arr = toRaw(self);
907
- track(arr, "iterate", ARRAY_ITERATE_KEY);
908
- const res = arr[method](...args);
909
- if ((res === -1 || res === false) && isProxy(args[0])) {
910
- args[0] = toRaw(args[0]);
911
- return arr[method](...args);
912
- }
913
- return res;
914
- }
915
- function noTracking(self, method, args = []) {
916
- pauseTracking();
917
- startBatch();
918
- const res = toRaw(self)[method].apply(self, args);
919
- endBatch();
920
- resetTracking();
921
- return res;
922
- }
923
-
924
- const isNonTrackableKeys = /* @__PURE__ */ shared.makeMap(`__proto__,__v_isRef,__isVue`);
925
- const builtInSymbols = new Set(
926
- /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(shared.isSymbol)
927
- );
928
- function hasOwnProperty(key) {
929
- if (!shared.isSymbol(key)) key = String(key);
930
- const obj = toRaw(this);
931
- track(obj, "has", key);
932
- return obj.hasOwnProperty(key);
933
- }
934
- class BaseReactiveHandler {
935
- constructor(_isReadonly = false, _isShallow = false) {
936
- this._isReadonly = _isReadonly;
937
- this._isShallow = _isShallow;
938
- }
939
- get(target, key, receiver) {
940
- if (key === "__v_skip") return target["__v_skip"];
941
- const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow;
942
- if (key === "__v_isReactive") {
943
- return !isReadonly2;
944
- } else if (key === "__v_isReadonly") {
945
- return isReadonly2;
946
- } else if (key === "__v_isShallow") {
947
- return isShallow2;
948
- } else if (key === "__v_raw") {
949
- if (receiver === (isReadonly2 ? isShallow2 ? shallowReadonlyMap : readonlyMap : isShallow2 ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype
950
- // this means the receiver is a user proxy of the reactive proxy
951
- Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) {
952
- return target;
953
- }
954
- return;
955
- }
956
- const targetIsArray = shared.isArray(target);
957
- if (!isReadonly2) {
958
- let fn;
959
- if (targetIsArray && (fn = arrayInstrumentations[key])) {
960
- return fn;
961
- }
962
- if (key === "hasOwnProperty") {
963
- return hasOwnProperty;
964
- }
965
- }
966
- const res = Reflect.get(
967
- target,
968
- key,
969
- // if this is a proxy wrapping a ref, return methods using the raw ref
970
- // as receiver so that we don't have to call `toRaw` on the ref in all
971
- // its class methods
972
- isRef(target) ? target : receiver
973
- );
974
- if (shared.isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
975
- return res;
976
- }
977
- if (!isReadonly2) {
978
- track(target, "get", key);
979
- }
980
- if (isShallow2) {
981
- return res;
982
- }
983
- if (isRef(res)) {
984
- const value = targetIsArray && shared.isIntegerKey(key) ? res : res.value;
985
- return isReadonly2 && shared.isObject(value) ? readonly(value) : value;
986
- }
987
- if (shared.isObject(res)) {
988
- return isReadonly2 ? readonly(res) : reactive(res);
989
- }
990
- return res;
991
- }
992
- }
993
- class MutableReactiveHandler extends BaseReactiveHandler {
994
- constructor(isShallow2 = false) {
995
- super(false, isShallow2);
996
- }
997
- set(target, key, value, receiver) {
998
- let oldValue = target[key];
999
- const isArrayWithIntegerKey = shared.isArray(target) && shared.isIntegerKey(key);
1000
- if (!this._isShallow) {
1001
- const isOldValueReadonly = isReadonly(oldValue);
1002
- if (!isShallow(value) && !isReadonly(value)) {
1003
- oldValue = toRaw(oldValue);
1004
- value = toRaw(value);
1005
- }
1006
- if (!isArrayWithIntegerKey && isRef(oldValue) && !isRef(value)) {
1007
- if (isOldValueReadonly) {
1008
- return true;
1009
- } else {
1010
- oldValue.value = value;
1011
- return true;
1012
- }
1013
- }
1014
- }
1015
- const hadKey = isArrayWithIntegerKey ? Number(key) < target.length : shared.hasOwn(target, key);
1016
- const result = Reflect.set(
1017
- target,
1018
- key,
1019
- value,
1020
- isRef(target) ? target : receiver
1021
- );
1022
- if (target === toRaw(receiver) && result) {
1023
- if (!hadKey) {
1024
- trigger(target, "add", key, value);
1025
- } else if (shared.hasChanged(value, oldValue)) {
1026
- trigger(target, "set", key, value);
1027
- }
1028
- }
1029
- return result;
1030
- }
1031
- deleteProperty(target, key) {
1032
- const hadKey = shared.hasOwn(target, key);
1033
- target[key];
1034
- const result = Reflect.deleteProperty(target, key);
1035
- if (result && hadKey) {
1036
- trigger(target, "delete", key, void 0);
1037
- }
1038
- return result;
1039
- }
1040
- has(target, key) {
1041
- const result = Reflect.has(target, key);
1042
- if (!shared.isSymbol(key) || !builtInSymbols.has(key)) {
1043
- track(target, "has", key);
1044
- }
1045
- return result;
1046
- }
1047
- ownKeys(target) {
1048
- track(
1049
- target,
1050
- "iterate",
1051
- shared.isArray(target) ? "length" : ITERATE_KEY
1052
- );
1053
- return Reflect.ownKeys(target);
1054
- }
1055
- }
1056
- class ReadonlyReactiveHandler extends BaseReactiveHandler {
1057
- constructor(isShallow2 = false) {
1058
- super(true, isShallow2);
1059
- }
1060
- set(target, key) {
1061
- return true;
1062
- }
1063
- deleteProperty(target, key) {
1064
- return true;
1065
- }
1066
- }
1067
- const mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();
1068
- const readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();
1069
- const shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(true);
1070
- const shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);
1071
-
1072
- const toShallow = (value) => value;
1073
- const getProto = (v) => Reflect.getPrototypeOf(v);
1074
- function createIterableMethod(method, isReadonly2, isShallow2) {
1075
- return function(...args) {
1076
- const target = this["__v_raw"];
1077
- const rawTarget = toRaw(target);
1078
- const targetIsMap = shared.isMap(rawTarget);
1079
- const isPair = method === "entries" || method === Symbol.iterator && targetIsMap;
1080
- const isKeyOnly = method === "keys" && targetIsMap;
1081
- const innerIterator = target[method](...args);
1082
- const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
1083
- !isReadonly2 && track(
1084
- rawTarget,
1085
- "iterate",
1086
- isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY
1087
- );
1088
- return shared.extend(
1089
- // inheriting all iterator properties
1090
- Object.create(innerIterator),
1091
- {
1092
- // iterator protocol
1093
- next() {
1094
- const { value, done } = innerIterator.next();
1095
- return done ? { value, done } : {
1096
- value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
1097
- done
1098
- };
1099
- }
1100
- }
1101
- );
1102
- };
1103
- }
1104
- function createReadonlyMethod(type) {
1105
- return function(...args) {
1106
- return type === "delete" ? false : type === "clear" ? void 0 : this;
1107
- };
1108
- }
1109
- function createInstrumentations(readonly, shallow) {
1110
- const instrumentations = {
1111
- get(key) {
1112
- const target = this["__v_raw"];
1113
- const rawTarget = toRaw(target);
1114
- const rawKey = toRaw(key);
1115
- if (!readonly) {
1116
- if (shared.hasChanged(key, rawKey)) {
1117
- track(rawTarget, "get", key);
1118
- }
1119
- track(rawTarget, "get", rawKey);
1120
- }
1121
- const { has } = getProto(rawTarget);
1122
- const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
1123
- if (has.call(rawTarget, key)) {
1124
- return wrap(target.get(key));
1125
- } else if (has.call(rawTarget, rawKey)) {
1126
- return wrap(target.get(rawKey));
1127
- } else if (target !== rawTarget) {
1128
- target.get(key);
1129
- }
1130
- },
1131
- get size() {
1132
- const target = this["__v_raw"];
1133
- !readonly && track(toRaw(target), "iterate", ITERATE_KEY);
1134
- return target.size;
1135
- },
1136
- has(key) {
1137
- const target = this["__v_raw"];
1138
- const rawTarget = toRaw(target);
1139
- const rawKey = toRaw(key);
1140
- if (!readonly) {
1141
- if (shared.hasChanged(key, rawKey)) {
1142
- track(rawTarget, "has", key);
1143
- }
1144
- track(rawTarget, "has", rawKey);
1145
- }
1146
- return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);
1147
- },
1148
- forEach(callback, thisArg) {
1149
- const observed = this;
1150
- const target = observed["__v_raw"];
1151
- const rawTarget = toRaw(target);
1152
- const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
1153
- !readonly && track(rawTarget, "iterate", ITERATE_KEY);
1154
- return target.forEach((value, key) => {
1155
- return callback.call(thisArg, wrap(value), wrap(key), observed);
1156
- });
1157
- }
1158
- };
1159
- shared.extend(
1160
- instrumentations,
1161
- readonly ? {
1162
- add: createReadonlyMethod("add"),
1163
- set: createReadonlyMethod("set"),
1164
- delete: createReadonlyMethod("delete"),
1165
- clear: createReadonlyMethod("clear")
1166
- } : {
1167
- add(value) {
1168
- const target = toRaw(this);
1169
- const proto = getProto(target);
1170
- const rawValue = toRaw(value);
1171
- const valueToAdd = !shallow && !isShallow(value) && !isReadonly(value) ? rawValue : value;
1172
- const hadKey = proto.has.call(target, valueToAdd) || shared.hasChanged(value, valueToAdd) && proto.has.call(target, value) || shared.hasChanged(rawValue, valueToAdd) && proto.has.call(target, rawValue);
1173
- if (!hadKey) {
1174
- target.add(valueToAdd);
1175
- trigger(target, "add", valueToAdd, valueToAdd);
1176
- }
1177
- return this;
1178
- },
1179
- set(key, value) {
1180
- if (!shallow && !isShallow(value) && !isReadonly(value)) {
1181
- value = toRaw(value);
1182
- }
1183
- const target = toRaw(this);
1184
- const { has, get } = getProto(target);
1185
- let hadKey = has.call(target, key);
1186
- if (!hadKey) {
1187
- key = toRaw(key);
1188
- hadKey = has.call(target, key);
1189
- }
1190
- const oldValue = get.call(target, key);
1191
- target.set(key, value);
1192
- if (!hadKey) {
1193
- trigger(target, "add", key, value);
1194
- } else if (shared.hasChanged(value, oldValue)) {
1195
- trigger(target, "set", key, value);
1196
- }
1197
- return this;
1198
- },
1199
- delete(key) {
1200
- const target = toRaw(this);
1201
- const { has, get } = getProto(target);
1202
- let hadKey = has.call(target, key);
1203
- if (!hadKey) {
1204
- key = toRaw(key);
1205
- hadKey = has.call(target, key);
1206
- }
1207
- get ? get.call(target, key) : void 0;
1208
- const result = target.delete(key);
1209
- if (hadKey) {
1210
- trigger(target, "delete", key, void 0);
1211
- }
1212
- return result;
1213
- },
1214
- clear() {
1215
- const target = toRaw(this);
1216
- const hadItems = target.size !== 0;
1217
- const result = target.clear();
1218
- if (hadItems) {
1219
- trigger(
1220
- target,
1221
- "clear",
1222
- void 0,
1223
- void 0);
1224
- }
1225
- return result;
1226
- }
1227
- }
1228
- );
1229
- const iteratorMethods = [
1230
- "keys",
1231
- "values",
1232
- "entries",
1233
- Symbol.iterator
1234
- ];
1235
- iteratorMethods.forEach((method) => {
1236
- instrumentations[method] = createIterableMethod(method, readonly, shallow);
1237
- });
1238
- return instrumentations;
1239
- }
1240
- function createInstrumentationGetter(isReadonly2, shallow) {
1241
- const instrumentations = createInstrumentations(isReadonly2, shallow);
1242
- return (target, key, receiver) => {
1243
- if (key === "__v_isReactive") {
1244
- return !isReadonly2;
1245
- } else if (key === "__v_isReadonly") {
1246
- return isReadonly2;
1247
- } else if (key === "__v_raw") {
1248
- return target;
1249
- }
1250
- return Reflect.get(
1251
- shared.hasOwn(instrumentations, key) && key in target ? instrumentations : target,
1252
- key,
1253
- receiver
1254
- );
1255
- };
1256
- }
1257
- const mutableCollectionHandlers = {
1258
- get: /* @__PURE__ */ createInstrumentationGetter(false, false)
1259
- };
1260
- const shallowCollectionHandlers = {
1261
- get: /* @__PURE__ */ createInstrumentationGetter(false, true)
1262
- };
1263
- const readonlyCollectionHandlers = {
1264
- get: /* @__PURE__ */ createInstrumentationGetter(true, false)
1265
- };
1266
- const shallowReadonlyCollectionHandlers = {
1267
- get: /* @__PURE__ */ createInstrumentationGetter(true, true)
1268
- };
1269
-
1270
- const reactiveMap = /* @__PURE__ */ new WeakMap();
1271
- const shallowReactiveMap = /* @__PURE__ */ new WeakMap();
1272
- const readonlyMap = /* @__PURE__ */ new WeakMap();
1273
- const shallowReadonlyMap = /* @__PURE__ */ new WeakMap();
1274
- function targetTypeMap(rawType) {
1275
- switch (rawType) {
1276
- case "Object":
1277
- case "Array":
1278
- return 1 /* COMMON */;
1279
- case "Map":
1280
- case "Set":
1281
- case "WeakMap":
1282
- case "WeakSet":
1283
- return 2 /* COLLECTION */;
1284
- default:
1285
- return 0 /* INVALID */;
1286
- }
1287
- }
1288
- // @__NO_SIDE_EFFECTS__
1289
- function reactive(target) {
1290
- if (/* @__PURE__ */ isReadonly(target)) {
1291
- return target;
1292
- }
1293
- return createReactiveObject(
1294
- target,
1295
- false,
1296
- mutableHandlers,
1297
- mutableCollectionHandlers,
1298
- reactiveMap
1299
- );
1300
- }
1301
- // @__NO_SIDE_EFFECTS__
1302
- function shallowReactive(target) {
1303
- return createReactiveObject(
1304
- target,
1305
- false,
1306
- shallowReactiveHandlers,
1307
- shallowCollectionHandlers,
1308
- shallowReactiveMap
1309
- );
1310
- }
1311
- // @__NO_SIDE_EFFECTS__
1312
- function readonly(target) {
1313
- return createReactiveObject(
1314
- target,
1315
- true,
1316
- readonlyHandlers,
1317
- readonlyCollectionHandlers,
1318
- readonlyMap
1319
- );
1320
- }
1321
- // @__NO_SIDE_EFFECTS__
1322
- function shallowReadonly(target) {
1323
- return createReactiveObject(
1324
- target,
1325
- true,
1326
- shallowReadonlyHandlers,
1327
- shallowReadonlyCollectionHandlers,
1328
- shallowReadonlyMap
1329
- );
1330
- }
1331
- function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {
1332
- if (!shared.isObject(target)) {
1333
- return target;
1334
- }
1335
- if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) {
1336
- return target;
1337
- }
1338
- if (target["__v_skip"] || !Object.isExtensible(target)) {
1339
- return target;
1340
- }
1341
- const existingProxy = proxyMap.get(target);
1342
- if (existingProxy) {
1343
- return existingProxy;
1344
- }
1345
- const targetType = targetTypeMap(shared.toRawType(target));
1346
- if (targetType === 0 /* INVALID */) {
1347
- return target;
1348
- }
1349
- const proxy = new Proxy(
1350
- target,
1351
- targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers
1352
- );
1353
- proxyMap.set(target, proxy);
1354
- return proxy;
1355
- }
1356
- // @__NO_SIDE_EFFECTS__
1357
- function isReactive(value) {
1358
- if (/* @__PURE__ */ isReadonly(value)) {
1359
- return /* @__PURE__ */ isReactive(value["__v_raw"]);
1360
- }
1361
- return !!(value && value["__v_isReactive"]);
1362
- }
1363
- // @__NO_SIDE_EFFECTS__
1364
- function isReadonly(value) {
1365
- return !!(value && value["__v_isReadonly"]);
1366
- }
1367
- // @__NO_SIDE_EFFECTS__
1368
- function isShallow(value) {
1369
- return !!(value && value["__v_isShallow"]);
1370
- }
1371
- // @__NO_SIDE_EFFECTS__
1372
- function isProxy(value) {
1373
- return value ? !!value["__v_raw"] : false;
1374
- }
1375
- // @__NO_SIDE_EFFECTS__
1376
- function toRaw(observed) {
1377
- const raw = observed && observed["__v_raw"];
1378
- return raw ? /* @__PURE__ */ toRaw(raw) : observed;
1379
- }
1380
- function markRaw(value) {
1381
- if (!shared.hasOwn(value, "__v_skip") && Object.isExtensible(value)) {
1382
- shared.def(value, "__v_skip", true);
1383
- }
1384
- return value;
1385
- }
1386
- const toReactive = (value) => shared.isObject(value) ? /* @__PURE__ */ reactive(value) : value;
1387
- const toReadonly = (value) => shared.isObject(value) ? /* @__PURE__ */ readonly(value) : value;
1388
-
1389
- // @__NO_SIDE_EFFECTS__
1390
- function isRef(r) {
1391
- return r ? r["__v_isRef"] === true : false;
1392
- }
1393
- // @__NO_SIDE_EFFECTS__
1394
- function ref(value) {
1395
- return createRef(value, false);
1396
- }
1397
- // @__NO_SIDE_EFFECTS__
1398
- function shallowRef(value) {
1399
- return createRef(value, true);
1400
- }
1401
- function createRef(rawValue, shallow) {
1402
- if (/* @__PURE__ */ isRef(rawValue)) {
1403
- return rawValue;
1404
- }
1405
- return new RefImpl(rawValue, shallow);
1406
- }
1407
- class RefImpl {
1408
- constructor(value, isShallow2) {
1409
- this.dep = new Dep();
1410
- this["__v_isRef"] = true;
1411
- this["__v_isShallow"] = false;
1412
- this._rawValue = isShallow2 ? value : toRaw(value);
1413
- this._value = isShallow2 ? value : toReactive(value);
1414
- this["__v_isShallow"] = isShallow2;
1415
- }
1416
- get value() {
1417
- {
1418
- this.dep.track();
1419
- }
1420
- return this._value;
1421
- }
1422
- set value(newValue) {
1423
- const oldValue = this._rawValue;
1424
- const useDirectValue = this["__v_isShallow"] || isShallow(newValue) || isReadonly(newValue);
1425
- newValue = useDirectValue ? newValue : toRaw(newValue);
1426
- if (shared.hasChanged(newValue, oldValue)) {
1427
- this._rawValue = newValue;
1428
- this._value = useDirectValue ? newValue : toReactive(newValue);
1429
- {
1430
- this.dep.trigger();
1431
- }
1432
- }
1433
- }
1434
- }
1435
- function triggerRef(ref2) {
1436
- if (ref2.dep) {
1437
- {
1438
- ref2.dep.trigger();
1439
- }
1440
- }
1441
- }
1442
- function unref(ref2) {
1443
- return /* @__PURE__ */ isRef(ref2) ? ref2.value : ref2;
1444
- }
1445
- function toValue(source) {
1446
- return shared.isFunction(source) ? source() : unref(source);
1447
- }
1448
- const shallowUnwrapHandlers = {
1449
- get: (target, key, receiver) => key === "__v_raw" ? target : unref(Reflect.get(target, key, receiver)),
1450
- set: (target, key, value, receiver) => {
1451
- const oldValue = target[key];
1452
- if (/* @__PURE__ */ isRef(oldValue) && !/* @__PURE__ */ isRef(value)) {
1453
- oldValue.value = value;
1454
- return true;
1455
- } else {
1456
- return Reflect.set(target, key, value, receiver);
1457
- }
1458
- }
1459
- };
1460
- function proxyRefs(objectWithRefs) {
1461
- return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);
1462
- }
1463
- class CustomRefImpl {
1464
- constructor(factory) {
1465
- this["__v_isRef"] = true;
1466
- this._value = void 0;
1467
- const dep = this.dep = new Dep();
1468
- const { get, set } = factory(dep.track.bind(dep), dep.trigger.bind(dep));
1469
- this._get = get;
1470
- this._set = set;
1471
- }
1472
- get value() {
1473
- return this._value = this._get();
1474
- }
1475
- set value(newVal) {
1476
- this._set(newVal);
1477
- }
1478
- }
1479
- function customRef(factory) {
1480
- return new CustomRefImpl(factory);
1481
- }
1482
- // @__NO_SIDE_EFFECTS__
1483
- function toRefs(object) {
1484
- const ret = shared.isArray(object) ? new Array(object.length) : {};
1485
- for (const key in object) {
1486
- ret[key] = propertyToRef(object, key);
1487
- }
1488
- return ret;
1489
- }
1490
- class ObjectRefImpl {
1491
- constructor(_object, key, _defaultValue) {
1492
- this._object = _object;
1493
- this._defaultValue = _defaultValue;
1494
- this["__v_isRef"] = true;
1495
- this._value = void 0;
1496
- this._key = shared.isSymbol(key) ? key : String(key);
1497
- this._raw = toRaw(_object);
1498
- let shallow = true;
1499
- let obj = _object;
1500
- if (!shared.isArray(_object) || shared.isSymbol(this._key) || !shared.isIntegerKey(this._key)) {
1501
- do {
1502
- shallow = !isProxy(obj) || isShallow(obj);
1503
- } while (shallow && (obj = obj["__v_raw"]));
1504
- }
1505
- this._shallow = shallow;
1506
- }
1507
- get value() {
1508
- let val = this._object[this._key];
1509
- if (this._shallow) {
1510
- val = unref(val);
1511
- }
1512
- return this._value = val === void 0 ? this._defaultValue : val;
1513
- }
1514
- set value(newVal) {
1515
- if (this._shallow && /* @__PURE__ */ isRef(this._raw[this._key])) {
1516
- const nestedRef = this._object[this._key];
1517
- if (/* @__PURE__ */ isRef(nestedRef)) {
1518
- nestedRef.value = newVal;
1519
- return;
1520
- }
1521
- }
1522
- this._object[this._key] = newVal;
1523
- }
1524
- get dep() {
1525
- return getDepFromReactive(this._raw, this._key);
1526
- }
1527
- }
1528
- class GetterRefImpl {
1529
- constructor(_getter) {
1530
- this._getter = _getter;
1531
- this["__v_isRef"] = true;
1532
- this["__v_isReadonly"] = true;
1533
- this._value = void 0;
1534
- }
1535
- get value() {
1536
- return this._value = this._getter();
1537
- }
1538
- }
1539
- // @__NO_SIDE_EFFECTS__
1540
- function toRef(source, key, defaultValue) {
1541
- if (/* @__PURE__ */ isRef(source)) {
1542
- return source;
1543
- } else if (shared.isFunction(source)) {
1544
- return new GetterRefImpl(source);
1545
- } else if (shared.isObject(source) && arguments.length > 1) {
1546
- return propertyToRef(source, key, defaultValue);
1547
- } else {
1548
- return /* @__PURE__ */ ref(source);
1549
- }
1550
- }
1551
- function propertyToRef(source, key, defaultValue) {
1552
- return new ObjectRefImpl(source, key, defaultValue);
1553
- }
1554
-
1555
- class ComputedRefImpl {
1556
- constructor(fn, setter, isSSR) {
1557
- this.fn = fn;
1558
- this.setter = setter;
1559
- /**
1560
- * @internal
1561
- */
1562
- this._value = void 0;
1563
- /**
1564
- * @internal
1565
- */
1566
- this.dep = new Dep(this);
1567
- /**
1568
- * @internal
1569
- */
1570
- this.__v_isRef = true;
1571
- // TODO isolatedDeclarations "__v_isReadonly"
1572
- // A computed is also a subscriber that tracks other deps
1573
- /**
1574
- * @internal
1575
- */
1576
- this.deps = void 0;
1577
- /**
1578
- * @internal
1579
- */
1580
- this.depsTail = void 0;
1581
- /**
1582
- * @internal
1583
- */
1584
- this.flags = 16;
1585
- /**
1586
- * @internal
1587
- */
1588
- this.globalVersion = globalVersion - 1;
1589
- /**
1590
- * @internal
1591
- */
1592
- this.next = void 0;
1593
- // for backwards compat
1594
- this.effect = this;
1595
- this["__v_isReadonly"] = !setter;
1596
- this.isSSR = isSSR;
1597
- }
1598
- /**
1599
- * @internal
1600
- */
1601
- notify() {
1602
- this.flags |= 16;
1603
- if (!(this.flags & 8) && // avoid infinite self recursion
1604
- activeSub !== this) {
1605
- batch(this, true);
1606
- return true;
1607
- }
1608
- }
1609
- get value() {
1610
- const link = this.dep.track();
1611
- refreshComputed(this);
1612
- if (link) {
1613
- link.version = this.dep.version;
1614
- }
1615
- return this._value;
1616
- }
1617
- set value(newValue) {
1618
- if (this.setter) {
1619
- this.setter(newValue);
1620
- }
1621
- }
1622
- }
1623
- // @__NO_SIDE_EFFECTS__
1624
- function computed(getterOrOptions, debugOptions, isSSR = false) {
1625
- let getter;
1626
- let setter;
1627
- if (shared.isFunction(getterOrOptions)) {
1628
- getter = getterOrOptions;
1629
- } else {
1630
- getter = getterOrOptions.get;
1631
- setter = getterOrOptions.set;
1632
- }
1633
- const cRef = new ComputedRefImpl(getter, setter, isSSR);
1634
- return cRef;
1635
- }
1636
-
1637
- const TrackOpTypes = {
1638
- "GET": "get",
1639
- "HAS": "has",
1640
- "ITERATE": "iterate"
1641
- };
1642
- const TriggerOpTypes = {
1643
- "SET": "set",
1644
- "ADD": "add",
1645
- "DELETE": "delete",
1646
- "CLEAR": "clear"
1647
- };
1648
- const ReactiveFlags = {
1649
- "SKIP": "__v_skip",
1650
- "IS_REACTIVE": "__v_isReactive",
1651
- "IS_READONLY": "__v_isReadonly",
1652
- "IS_SHALLOW": "__v_isShallow",
1653
- "RAW": "__v_raw",
1654
- "IS_REF": "__v_isRef"
1655
- };
1656
-
1657
- const WatchErrorCodes = {
1658
- "WATCH_GETTER": 2,
1659
- "2": "WATCH_GETTER",
1660
- "WATCH_CALLBACK": 3,
1661
- "3": "WATCH_CALLBACK",
1662
- "WATCH_CLEANUP": 4,
1663
- "4": "WATCH_CLEANUP"
1664
- };
1665
- const INITIAL_WATCHER_VALUE = {};
1666
- const cleanupMap = /* @__PURE__ */ new WeakMap();
1667
- let activeWatcher = void 0;
1668
- function getCurrentWatcher() {
1669
- return activeWatcher;
1670
- }
1671
- function onWatcherCleanup(cleanupFn, failSilently = false, owner = activeWatcher) {
1672
- if (owner) {
1673
- let cleanups = cleanupMap.get(owner);
1674
- if (!cleanups) cleanupMap.set(owner, cleanups = []);
1675
- cleanups.push(cleanupFn);
1676
- }
1677
- }
1678
- function watch(source, cb, options = shared.EMPTY_OBJ) {
1679
- const { immediate, deep, once, scheduler, augmentJob, call } = options;
1680
- const reactiveGetter = (source2) => {
1681
- if (deep) return source2;
1682
- if (isShallow(source2) || deep === false || deep === 0)
1683
- return traverse(source2, 1);
1684
- return traverse(source2);
1685
- };
1686
- let effect;
1687
- let getter;
1688
- let cleanup;
1689
- let boundCleanup;
1690
- let forceTrigger = false;
1691
- let isMultiSource = false;
1692
- if (isRef(source)) {
1693
- getter = () => source.value;
1694
- forceTrigger = isShallow(source);
1695
- } else if (isReactive(source)) {
1696
- getter = () => reactiveGetter(source);
1697
- forceTrigger = true;
1698
- } else if (shared.isArray(source)) {
1699
- isMultiSource = true;
1700
- forceTrigger = source.some((s) => isReactive(s) || isShallow(s));
1701
- getter = () => source.map((s) => {
1702
- if (isRef(s)) {
1703
- return s.value;
1704
- } else if (isReactive(s)) {
1705
- return reactiveGetter(s);
1706
- } else if (shared.isFunction(s)) {
1707
- return call ? call(s, 2) : s();
1708
- } else ;
1709
- });
1710
- } else if (shared.isFunction(source)) {
1711
- if (cb) {
1712
- getter = call ? () => call(source, 2) : source;
1713
- } else {
1714
- getter = () => {
1715
- if (cleanup) {
1716
- pauseTracking();
1717
- try {
1718
- cleanup();
1719
- } finally {
1720
- resetTracking();
1721
- }
1722
- }
1723
- const currentEffect = activeWatcher;
1724
- activeWatcher = effect;
1725
- try {
1726
- return call ? call(source, 3, [boundCleanup]) : source(boundCleanup);
1727
- } finally {
1728
- activeWatcher = currentEffect;
1729
- }
1730
- };
1731
- }
1732
- } else {
1733
- getter = shared.NOOP;
1734
- }
1735
- if (cb && deep) {
1736
- const baseGetter = getter;
1737
- const depth = deep === true ? Infinity : deep;
1738
- getter = () => traverse(baseGetter(), depth);
1739
- }
1740
- const scope = getCurrentScope();
1741
- const watchHandle = () => {
1742
- effect.stop();
1743
- if (scope && scope.active) {
1744
- shared.remove(scope.effects, effect);
1745
- }
1746
- };
1747
- if (once && cb) {
1748
- const _cb = cb;
1749
- cb = (...args) => {
1750
- const res = _cb(...args);
1751
- watchHandle();
1752
- return res;
1753
- };
1754
- }
1755
- let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;
1756
- const job = (immediateFirstRun) => {
1757
- if (!(effect.flags & 1) || !effect.dirty && !immediateFirstRun) {
1758
- return;
1759
- }
1760
- if (cb) {
1761
- const newValue = effect.run();
1762
- if (immediateFirstRun || deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => shared.hasChanged(v, oldValue[i])) : shared.hasChanged(newValue, oldValue))) {
1763
- if (cleanup) {
1764
- cleanup();
1765
- }
1766
- const currentWatcher = activeWatcher;
1767
- activeWatcher = effect;
1768
- try {
1769
- const args = [
1770
- newValue,
1771
- // pass undefined as the old value when it's changed for the first time
1772
- oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,
1773
- boundCleanup
1774
- ];
1775
- oldValue = newValue;
1776
- call ? call(cb, 3, args) : (
1777
- // @ts-expect-error
1778
- cb(...args)
1779
- );
1780
- } finally {
1781
- activeWatcher = currentWatcher;
1782
- }
1783
- }
1784
- } else {
1785
- effect.run();
1786
- }
1787
- };
1788
- if (augmentJob) {
1789
- augmentJob(job);
1790
- }
1791
- effect = new ReactiveEffect(getter);
1792
- effect.scheduler = scheduler ? () => scheduler(job, false) : job;
1793
- boundCleanup = (fn) => onWatcherCleanup(fn, false, effect);
1794
- cleanup = effect.onStop = () => {
1795
- const cleanups = cleanupMap.get(effect);
1796
- if (cleanups) {
1797
- if (call) {
1798
- call(cleanups, 4);
1799
- } else {
1800
- for (const cleanup2 of cleanups) cleanup2();
1801
- }
1802
- cleanupMap.delete(effect);
1803
- }
1804
- };
1805
- if (cb) {
1806
- if (immediate) {
1807
- job(true);
1808
- } else {
1809
- oldValue = effect.run();
1810
- }
1811
- } else if (scheduler) {
1812
- scheduler(job.bind(null, true), true);
1813
- } else {
1814
- effect.run();
1815
- }
1816
- watchHandle.pause = effect.pause.bind(effect);
1817
- watchHandle.resume = effect.resume.bind(effect);
1818
- watchHandle.stop = watchHandle;
1819
- return watchHandle;
1820
- }
1821
- function traverse(value, depth = Infinity, seen) {
1822
- if (depth <= 0 || !shared.isObject(value) || value["__v_skip"]) {
1823
- return value;
1824
- }
1825
- seen = seen || /* @__PURE__ */ new Map();
1826
- if ((seen.get(value) || 0) >= depth) {
1827
- return value;
1828
- }
1829
- seen.set(value, depth);
1830
- depth--;
1831
- if (isRef(value)) {
1832
- traverse(value.value, depth, seen);
1833
- } else if (shared.isArray(value)) {
1834
- for (let i = 0; i < value.length; i++) {
1835
- traverse(value[i], depth, seen);
1836
- }
1837
- } else if (shared.isSet(value) || shared.isMap(value)) {
1838
- value.forEach((v) => {
1839
- traverse(v, depth, seen);
1840
- });
1841
- } else if (shared.isPlainObject(value)) {
1842
- for (const key in value) {
1843
- traverse(value[key], depth, seen);
1844
- }
1845
- for (const key of Object.getOwnPropertySymbols(value)) {
1846
- if (Object.prototype.propertyIsEnumerable.call(value, key)) {
1847
- traverse(value[key], depth, seen);
1848
- }
1849
- }
1850
- }
1851
- return value;
1852
- }
1853
-
1854
- exports.ARRAY_ITERATE_KEY = ARRAY_ITERATE_KEY;
1855
- exports.EffectFlags = EffectFlags;
1856
- exports.EffectScope = EffectScope;
1857
- exports.ITERATE_KEY = ITERATE_KEY;
1858
- exports.MAP_KEY_ITERATE_KEY = MAP_KEY_ITERATE_KEY;
1859
- exports.ReactiveEffect = ReactiveEffect;
1860
- exports.ReactiveFlags = ReactiveFlags;
1861
- exports.TrackOpTypes = TrackOpTypes;
1862
- exports.TriggerOpTypes = TriggerOpTypes;
1863
- exports.WatchErrorCodes = WatchErrorCodes;
1864
- exports.computed = computed;
1865
- exports.customRef = customRef;
1866
- exports.effect = effect;
1867
- exports.effectScope = effectScope;
1868
- exports.enableTracking = enableTracking;
1869
- exports.getCurrentScope = getCurrentScope;
1870
- exports.getCurrentWatcher = getCurrentWatcher;
1871
- exports.isProxy = isProxy;
1872
- exports.isReactive = isReactive;
1873
- exports.isReadonly = isReadonly;
1874
- exports.isRef = isRef;
1875
- exports.isShallow = isShallow;
1876
- exports.markRaw = markRaw;
1877
- exports.onEffectCleanup = onEffectCleanup;
1878
- exports.onScopeDispose = onScopeDispose;
1879
- exports.onWatcherCleanup = onWatcherCleanup;
1880
- exports.pauseTracking = pauseTracking;
1881
- exports.proxyRefs = proxyRefs;
1882
- exports.reactive = reactive;
1883
- exports.reactiveReadArray = reactiveReadArray;
1884
- exports.readonly = readonly;
1885
- exports.ref = ref;
1886
- exports.resetTracking = resetTracking;
1887
- exports.shallowReactive = shallowReactive;
1888
- exports.shallowReadArray = shallowReadArray;
1889
- exports.shallowReadonly = shallowReadonly;
1890
- exports.shallowRef = shallowRef;
1891
- exports.stop = stop;
1892
- exports.toRaw = toRaw;
1893
- exports.toReactive = toReactive;
1894
- exports.toReadonly = toReadonly;
1895
- exports.toRef = toRef;
1896
- exports.toRefs = toRefs;
1897
- exports.toValue = toValue;
1898
- exports.track = track;
1899
- exports.traverse = traverse;
1900
- exports.trigger = trigger;
1901
- exports.triggerRef = triggerRef;
1902
- exports.unref = unref;
1903
- exports.watch = watch;