@cloudflare/kumo 2.6.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/ai/component-registry.json +1182 -163
  3. package/ai/component-registry.md +1425 -119
  4. package/ai/schemas.ts +137 -8
  5. package/dist/.build-complete +1 -1
  6. package/dist/ai/schemas.d.ts +259 -22
  7. package/dist/ai/schemas.d.ts.map +1 -1
  8. package/dist/ai/schemas.js +1516 -1299
  9. package/dist/ai/schemas.js.map +1 -1
  10. package/dist/chunks/Maps-imwfwgb7do9lr3i5.js +2448 -0
  11. package/dist/chunks/Maps-imwfwgb7do9lr3i5.js.map +1 -0
  12. package/dist/chunks/{autocomplete-hgprlcuf0ixbbo6d.js → autocomplete-a4gvspveibfuod24.js} +5 -5
  13. package/dist/chunks/{autocomplete-hgprlcuf0ixbbo6d.js.map → autocomplete-a4gvspveibfuod24.js.map} +1 -1
  14. package/dist/chunks/{badge-c1th6h6ahz7eu49q.js → badge-dfc1r37osagi3rs4.js} +9 -9
  15. package/dist/chunks/{badge-c1th6h6ahz7eu49q.js.map → badge-dfc1r37osagi3rs4.js.map} +1 -1
  16. package/dist/chunks/{banner-es5iwuk4pf25e29e.js → banner-j52y8l13puk7dybi.js} +2 -2
  17. package/dist/chunks/{banner-es5iwuk4pf25e29e.js.map → banner-j52y8l13puk7dybi.js.map} +1 -1
  18. package/dist/chunks/{breadcrumbs-lyj8ljudrm2owx5y.js → breadcrumbs-js59m7m57bdsveew.js} +4 -4
  19. package/dist/chunks/{breadcrumbs-lyj8ljudrm2owx5y.js.map → breadcrumbs-js59m7m57bdsveew.js.map} +1 -1
  20. package/dist/chunks/{button-gtdhvogt5rlrf1is.js → button-ebfdg9mkhojue36n.js} +80 -80
  21. package/dist/chunks/button-ebfdg9mkhojue36n.js.map +1 -0
  22. package/dist/chunks/{checkbox-byg8t8r9vbmif696.js → checkbox-k355pnfisqt0h4eg.js} +4 -4
  23. package/dist/chunks/{checkbox-byg8t8r9vbmif696.js.map → checkbox-k355pnfisqt0h4eg.js.map} +1 -1
  24. package/dist/chunks/{clipboard-text-lf909phvldd8rfk8.js → clipboard-text-isb05zkg2aox0tp6.js} +5 -5
  25. package/dist/chunks/{clipboard-text-lf909phvldd8rfk8.js.map → clipboard-text-isb05zkg2aox0tp6.js.map} +1 -1
  26. package/dist/chunks/{cloudflare-logo-fya2cd2ljozkzjh8.js → cloudflare-logo-fiuocxdxqrxawjfv.js} +2 -2
  27. package/dist/chunks/{cloudflare-logo-fya2cd2ljozkzjh8.js.map → cloudflare-logo-fiuocxdxqrxawjfv.js.map} +1 -1
  28. package/dist/chunks/{cn-ct4n7r74mh8y0f48.js → cn-bo7ya7641lkickbt.js} +6 -10
  29. package/dist/chunks/cn-bo7ya7641lkickbt.js.map +1 -0
  30. package/dist/chunks/{code-bbnjm8vk9hxl129r.js → code-pbkfdfat0yilg6dx.js} +2 -2
  31. package/dist/chunks/{code-bbnjm8vk9hxl129r.js.map → code-pbkfdfat0yilg6dx.js.map} +1 -1
  32. package/dist/chunks/{collapsible-dl61f8gd4j897hmv.js → collapsible-f9hgtc1u6xvqrgt8.js} +3 -3
  33. package/dist/chunks/{collapsible-dl61f8gd4j897hmv.js.map → collapsible-f9hgtc1u6xvqrgt8.js.map} +1 -1
  34. package/dist/chunks/{combobox-dxff22zxzq846nec.js → combobox-hc9wi9nwsyyli8ur.js} +5 -5
  35. package/dist/chunks/{combobox-dxff22zxzq846nec.js.map → combobox-hc9wi9nwsyyli8ur.js.map} +1 -1
  36. package/dist/chunks/{command-palette-i4r0402b838wiy0j.js → command-palette-c03zze4ayuytwxjg.js} +4 -4
  37. package/dist/chunks/{command-palette-i4r0402b838wiy0j.js.map → command-palette-c03zze4ayuytwxjg.js.map} +1 -1
  38. package/dist/chunks/{date-picker-mjocqqbggb76n8rt.js → date-picker-bffp889exjixmgz3.js} +8 -8
  39. package/dist/chunks/{date-picker-mjocqqbggb76n8rt.js.map → date-picker-bffp889exjixmgz3.js.map} +1 -1
  40. package/dist/chunks/{date-range-picker-o8uyril1kogvhoei.js → date-range-picker-oks2r14lbbukd545.js} +2 -2
  41. package/dist/chunks/{date-range-picker-o8uyril1kogvhoei.js.map → date-range-picker-oks2r14lbbukd545.js.map} +1 -1
  42. package/dist/chunks/{dialog-g1b8161nbyixdit0.js → dialog-ovhmzfuppr5xix0e.js} +15 -15
  43. package/dist/chunks/dialog-ovhmzfuppr5xix0e.js.map +1 -0
  44. package/dist/chunks/{dropdown-irp18txvgz8590e9.js → dropdown-iey8f344rd5dgahz.js} +24 -16
  45. package/dist/chunks/dropdown-iey8f344rd5dgahz.js.map +1 -0
  46. package/dist/chunks/{empty-daa6d7u9oleaw24a.js → empty-k83r53jh5utqvv7w.js} +3 -3
  47. package/dist/chunks/{empty-daa6d7u9oleaw24a.js.map → empty-k83r53jh5utqvv7w.js.map} +1 -1
  48. package/dist/chunks/{field-f1hy08um3jf9jos6.js → field-bmglk138wa8bf3ei.js} +4 -4
  49. package/dist/chunks/{field-f1hy08um3jf9jos6.js.map → field-bmglk138wa8bf3ei.js.map} +1 -1
  50. package/dist/chunks/{grid-do93dv1rjggqxx7p.js → grid-jze04557ljywg3uc.js} +2 -2
  51. package/dist/chunks/{grid-do93dv1rjggqxx7p.js.map → grid-jze04557ljywg3uc.js.map} +1 -1
  52. package/dist/chunks/input-area-sg518xu4pyg4m0km.js +144 -0
  53. package/dist/chunks/input-area-sg518xu4pyg4m0km.js.map +1 -0
  54. package/dist/chunks/{input-f2ct7obgdzypjmp2.js → input-ckl5misj0jd9cu5r.js} +4 -4
  55. package/dist/chunks/{input-f2ct7obgdzypjmp2.js.map → input-ckl5misj0jd9cu5r.js.map} +1 -1
  56. package/dist/chunks/{input-group-kcd3jin5pbdijmw8.js → input-group-bflx1m6ki55e99vf.js} +6 -6
  57. package/dist/chunks/{input-group-kcd3jin5pbdijmw8.js.map → input-group-bflx1m6ki55e99vf.js.map} +1 -1
  58. package/dist/chunks/{label-himqjkdhh0hgfdsa.js → label-i1xbmg8y1n0tbtkx.js} +4 -4
  59. package/dist/chunks/{label-himqjkdhh0hgfdsa.js.map → label-i1xbmg8y1n0tbtkx.js.map} +1 -1
  60. package/dist/chunks/{layer-card-cshi5vydqg3phyfx.js → layer-card-m6h85dpadvee39h2.js} +3 -3
  61. package/dist/chunks/{layer-card-cshi5vydqg3phyfx.js.map → layer-card-m6h85dpadvee39h2.js.map} +1 -1
  62. package/dist/chunks/{link-bw21ofmgg58igq5n.js → link-j93fl5m8zrcfivsr.js} +3 -3
  63. package/dist/chunks/{link-bw21ofmgg58igq5n.js.map → link-j93fl5m8zrcfivsr.js.map} +1 -1
  64. package/dist/chunks/{menubar-m12wcbbucuszspw4.js → menubar-opzxfzylaatfz4nv.js} +8 -8
  65. package/dist/chunks/{menubar-m12wcbbucuszspw4.js.map → menubar-opzxfzylaatfz4nv.js.map} +1 -1
  66. package/dist/chunks/{meter-dn8vgc0smpk0du75.js → meter-6br6z5ekw41trxeh.js} +3 -3
  67. package/dist/chunks/{meter-dn8vgc0smpk0du75.js.map → meter-6br6z5ekw41trxeh.js.map} +1 -1
  68. package/dist/chunks/{pagination-oafyxvdndm9m8250.js → pagination-j33ntwqmm9qskfgv.js} +4 -4
  69. package/dist/chunks/{pagination-oafyxvdndm9m8250.js.map → pagination-j33ntwqmm9qskfgv.js.map} +1 -1
  70. package/dist/chunks/{popover-bbxr39l1lx175hum.js → popover-cqdmpp8i4hg8gzzx.js} +3 -3
  71. package/dist/chunks/{popover-bbxr39l1lx175hum.js.map → popover-cqdmpp8i4hg8gzzx.js.map} +1 -1
  72. package/dist/chunks/{radio-ffx05ih9nc764evh.js → radio-ejey7i6r4tq314av.js} +3 -3
  73. package/dist/chunks/{radio-ffx05ih9nc764evh.js.map → radio-ejey7i6r4tq314av.js.map} +1 -1
  74. package/dist/chunks/{select-kl1skfh3pmwc33rp.js → select-p8adn2tnpom25hpl.js} +8 -8
  75. package/dist/chunks/{select-kl1skfh3pmwc33rp.js.map → select-p8adn2tnpom25hpl.js.map} +1 -1
  76. package/dist/chunks/{sensitive-input-izmbyk1t7r56ciiq.js → sensitive-input-it1hsswlccq3u7g6.js} +5 -5
  77. package/dist/chunks/{sensitive-input-izmbyk1t7r56ciiq.js.map → sensitive-input-it1hsswlccq3u7g6.js.map} +1 -1
  78. package/dist/chunks/{sidebar-ior8rnhsd7gy5am5.js → sidebar-7whsl7qwrw5b6ip8.js} +307 -307
  79. package/dist/chunks/sidebar-7whsl7qwrw5b6ip8.js.map +1 -0
  80. package/dist/chunks/{skeleton-line-epxenksfesr2fkcv.js → skeleton-line-omxgxia23vpav94x.js} +2 -2
  81. package/dist/chunks/{skeleton-line-epxenksfesr2fkcv.js.map → skeleton-line-omxgxia23vpav94x.js.map} +1 -1
  82. package/dist/chunks/{surface-g5a1buofz4erjov2.js → surface-gc2gblserrxcb1eg.js} +5 -5
  83. package/dist/chunks/{surface-g5a1buofz4erjov2.js.map → surface-gc2gblserrxcb1eg.js.map} +1 -1
  84. package/dist/chunks/{switch-kh8a6l3l0hszm9h4.js → switch-ljsq915e0l1a5mjd.js} +4 -4
  85. package/dist/chunks/{switch-kh8a6l3l0hszm9h4.js.map → switch-ljsq915e0l1a5mjd.js.map} +1 -1
  86. package/dist/chunks/{table-of-contents-jco9kvt48d34dwsw.js → table-of-contents-cghjqyk43nj5zmlw.js} +2 -2
  87. package/dist/chunks/{table-of-contents-jco9kvt48d34dwsw.js.map → table-of-contents-cghjqyk43nj5zmlw.js.map} +1 -1
  88. package/dist/chunks/{table-dz2k55oab66h2vi9.js → table-ojjjeqszmt9jgnug.js} +3 -3
  89. package/dist/chunks/{table-dz2k55oab66h2vi9.js.map → table-ojjjeqszmt9jgnug.js.map} +1 -1
  90. package/dist/chunks/{tabs-kcw98wibdz4mhpkc.js → tabs-kemdy19kfesj2xjr.js} +3 -3
  91. package/dist/chunks/{tabs-kcw98wibdz4mhpkc.js.map → tabs-kemdy19kfesj2xjr.js.map} +1 -1
  92. package/dist/chunks/{text-be7ehenoyldhyjma.js → text-oqp48b9m5u6t62b4.js} +2 -2
  93. package/dist/chunks/{text-be7ehenoyldhyjma.js.map → text-oqp48b9m5u6t62b4.js.map} +1 -1
  94. package/dist/chunks/{toast-dkdo1lu72tnefya6.js → toast-ldj9zi940w83ub90.js} +97 -81
  95. package/dist/chunks/toast-ldj9zi940w83ub90.js.map +1 -0
  96. package/dist/chunks/{toolbar-o7xe6pd189evdd53.js → toolbar-lmylyrod70sn0q4i.js} +6 -6
  97. package/dist/chunks/{toolbar-o7xe6pd189evdd53.js.map → toolbar-lmylyrod70sn0q4i.js.map} +1 -1
  98. package/dist/chunks/{tooltip-eqnhjdbvwapy8gj4.js → tooltip-mooldq78tg77ekvv.js} +4 -4
  99. package/dist/chunks/tooltip-mooldq78tg77ekvv.js.map +1 -0
  100. package/dist/chunks/vendor-base-ui-elpbzr8xeffrz4h2.js +25027 -0
  101. package/dist/chunks/vendor-base-ui-elpbzr8xeffrz4h2.js.map +1 -0
  102. package/dist/chunks/{vendor-floating-ui-c4mwmh0xmfzevy9l.js → vendor-floating-ui-k1zjlb8fkwtcw4k5.js} +22 -23
  103. package/dist/chunks/{vendor-floating-ui-c4mwmh0xmfzevy9l.js.map → vendor-floating-ui-k1zjlb8fkwtcw4k5.js.map} +1 -1
  104. package/dist/chunks/vendor-styling-ofvnbcuht98q88oo.js +3252 -0
  105. package/dist/chunks/vendor-styling-ofvnbcuht98q88oo.js.map +1 -0
  106. package/dist/code.js +2 -2
  107. package/dist/components/autocomplete.js +1 -1
  108. package/dist/components/badge.js +1 -1
  109. package/dist/components/banner.js +1 -1
  110. package/dist/components/breadcrumbs.js +1 -1
  111. package/dist/components/button.js +1 -1
  112. package/dist/components/chart.js +6 -4
  113. package/dist/components/checkbox.js +1 -1
  114. package/dist/components/clipboard-text.js +1 -1
  115. package/dist/components/cloudflare-logo.js +1 -1
  116. package/dist/components/code.js +1 -1
  117. package/dist/components/collapsible.js +1 -1
  118. package/dist/components/combobox.js +1 -1
  119. package/dist/components/command-palette.js +1 -1
  120. package/dist/components/date-picker.js +1 -1
  121. package/dist/components/date-range-picker.js +1 -1
  122. package/dist/components/dialog.js +1 -1
  123. package/dist/components/dropdown.js +1 -1
  124. package/dist/components/empty.js +1 -1
  125. package/dist/components/field.js +1 -1
  126. package/dist/components/flow.js +2277 -2312
  127. package/dist/components/flow.js.map +1 -1
  128. package/dist/components/grid.js +1 -1
  129. package/dist/components/input-group.js +1 -1
  130. package/dist/components/input.js +3 -3
  131. package/dist/components/label.js +1 -1
  132. package/dist/components/layer-card.js +1 -1
  133. package/dist/components/link.js +1 -1
  134. package/dist/components/loader.js +1 -1
  135. package/dist/components/menubar.js +1 -1
  136. package/dist/components/meter.js +1 -1
  137. package/dist/components/pagination.js +1 -1
  138. package/dist/components/popover.js +1 -1
  139. package/dist/components/radio.js +1 -1
  140. package/dist/components/select.js +1 -1
  141. package/dist/components/sensitive-input.js +1 -1
  142. package/dist/components/sidebar.js +1 -1
  143. package/dist/components/surface.js +1 -1
  144. package/dist/components/switch.js +1 -1
  145. package/dist/components/table-of-contents.js +1 -1
  146. package/dist/components/table.js +1 -1
  147. package/dist/components/tabs.js +1 -1
  148. package/dist/components/text.js +1 -1
  149. package/dist/components/toast.js +2 -2
  150. package/dist/components/toolbar.js +1 -1
  151. package/dist/components/tooltip.js +1 -1
  152. package/dist/index.js +128 -126
  153. package/dist/primitives/accordion.js +1 -1
  154. package/dist/primitives/alert-dialog.js +1 -1
  155. package/dist/primitives/autocomplete.js +1 -1
  156. package/dist/primitives/avatar.js +1 -1
  157. package/dist/primitives/button.js +1 -1
  158. package/dist/primitives/checkbox-group.js +1 -1
  159. package/dist/primitives/checkbox.js +1 -1
  160. package/dist/primitives/collapsible.js +1 -1
  161. package/dist/primitives/combobox.js +1 -1
  162. package/dist/primitives/context-menu.js +1 -1
  163. package/dist/primitives/csp-provider.js +1 -1
  164. package/dist/primitives/dialog.js +1 -1
  165. package/dist/primitives/direction-provider.js +1 -1
  166. package/dist/primitives/drawer.js +1 -1
  167. package/dist/primitives/field.js +1 -1
  168. package/dist/primitives/fieldset.js +1 -1
  169. package/dist/primitives/form.js +1 -1
  170. package/dist/primitives/input.js +1 -1
  171. package/dist/primitives/menu.js +1 -1
  172. package/dist/primitives/menubar.js +1 -1
  173. package/dist/primitives/meter.js +1 -1
  174. package/dist/primitives/navigation-menu.js +1 -1
  175. package/dist/primitives/number-field.js +1 -1
  176. package/dist/primitives/otp-field.js +3 -2
  177. package/dist/primitives/popover.js +1 -1
  178. package/dist/primitives/preview-card.js +1 -1
  179. package/dist/primitives/progress.js +1 -1
  180. package/dist/primitives/radio-group.js +1 -1
  181. package/dist/primitives/radio.js +1 -1
  182. package/dist/primitives/scroll-area.js +1 -1
  183. package/dist/primitives/select.js +1 -1
  184. package/dist/primitives/separator.js +1 -1
  185. package/dist/primitives/slider.js +1 -1
  186. package/dist/primitives/switch.js +1 -1
  187. package/dist/primitives/tabs.js +1 -1
  188. package/dist/primitives/toast.js +1 -1
  189. package/dist/primitives/toggle-group.js +1 -1
  190. package/dist/primitives/toggle.js +1 -1
  191. package/dist/primitives/toolbar.js +1 -1
  192. package/dist/primitives/tooltip.js +1 -1
  193. package/dist/primitives.js +27 -26
  194. package/dist/src/components/button/button.d.ts +2 -2
  195. package/dist/src/components/chart/Color.d.ts +16 -0
  196. package/dist/src/components/chart/Color.d.ts.map +1 -1
  197. package/dist/src/components/chart/EChart.d.ts +7 -0
  198. package/dist/src/components/chart/EChart.d.ts.map +1 -1
  199. package/dist/src/components/chart/Maps.d.ts +211 -0
  200. package/dist/src/components/chart/Maps.d.ts.map +1 -0
  201. package/dist/src/components/chart/SankeyChart.d.ts.map +1 -1
  202. package/dist/src/components/chart/TimeseriesChart.d.ts +8 -0
  203. package/dist/src/components/chart/TimeseriesChart.d.ts.map +1 -1
  204. package/dist/src/components/chart/index.d.ts +2 -1
  205. package/dist/src/components/chart/index.d.ts.map +1 -1
  206. package/dist/src/components/chart/timeseries-markers.d.ts +107 -0
  207. package/dist/src/components/chart/timeseries-markers.d.ts.map +1 -0
  208. package/dist/src/components/chart/timeseries-thresholds.d.ts +61 -0
  209. package/dist/src/components/chart/timeseries-thresholds.d.ts.map +1 -0
  210. package/dist/src/components/chart/timeseries-tooltip.d.ts +28 -0
  211. package/dist/src/components/chart/timeseries-tooltip.d.ts.map +1 -0
  212. package/dist/src/components/chart/tooltip-utils.d.ts +4 -0
  213. package/dist/src/components/chart/tooltip-utils.d.ts.map +1 -0
  214. package/dist/src/components/dialog/dialog.d.ts +12 -12
  215. package/dist/src/components/dropdown/dropdown.d.ts.map +1 -1
  216. package/dist/src/components/flow/connectors.d.ts +18 -0
  217. package/dist/src/components/flow/connectors.d.ts.map +1 -1
  218. package/dist/src/components/flow/diagram.d.ts +48 -39
  219. package/dist/src/components/flow/diagram.d.ts.map +1 -1
  220. package/dist/src/components/flow/flow-layout.d.ts +77 -0
  221. package/dist/src/components/flow/flow-layout.d.ts.map +1 -0
  222. package/dist/src/components/flow/node.d.ts.map +1 -1
  223. package/dist/src/components/flow/parallel.d.ts +3 -7
  224. package/dist/src/components/flow/parallel.d.ts.map +1 -1
  225. package/dist/src/components/flow/use-children.d.ts +0 -60
  226. package/dist/src/components/flow/use-children.d.ts.map +1 -1
  227. package/dist/src/components/input/input-area.d.ts +18 -0
  228. package/dist/src/components/input/input-area.d.ts.map +1 -1
  229. package/dist/src/components/sidebar/sidebar.d.ts +2 -0
  230. package/dist/src/components/sidebar/sidebar.d.ts.map +1 -1
  231. package/dist/src/components/toast/toast.d.ts +2 -2
  232. package/dist/src/components/toast/toast.d.ts.map +1 -1
  233. package/dist/src/index.d.ts +1 -1
  234. package/dist/src/index.d.ts.map +1 -1
  235. package/dist/src/primitives/index.d.ts +1 -0
  236. package/dist/src/primitives/index.d.ts.map +1 -1
  237. package/dist/src/primitives/otp-field.d.ts +1 -0
  238. package/dist/src/primitives/otp-field.d.ts.map +1 -1
  239. package/dist/src/utils/cn.d.ts +1 -2
  240. package/dist/src/utils/cn.d.ts.map +1 -1
  241. package/dist/styles/kumo-standalone.css +1 -1
  242. package/dist/utils.js +8 -7
  243. package/dist/utils.js.map +1 -1
  244. package/package.json +6 -5
  245. package/scripts/component-registry/discovery.ts +87 -0
  246. package/scripts/component-registry/index.test.ts +89 -1
  247. package/scripts/component-registry/index.ts +27 -2
  248. package/scripts/component-registry/sub-components.ts +34 -21
  249. package/scripts/generate-primitives.ts +9 -0
  250. package/dist/chunks/SankeyChart-g1tng405ml2e0qg2.js +0 -890
  251. package/dist/chunks/SankeyChart-g1tng405ml2e0qg2.js.map +0 -1
  252. package/dist/chunks/button-gtdhvogt5rlrf1is.js.map +0 -1
  253. package/dist/chunks/cn-ct4n7r74mh8y0f48.js.map +0 -1
  254. package/dist/chunks/dialog-g1b8161nbyixdit0.js.map +0 -1
  255. package/dist/chunks/dropdown-irp18txvgz8590e9.js.map +0 -1
  256. package/dist/chunks/input-area-bwyujceeulpfkpxv.js +0 -78
  257. package/dist/chunks/input-area-bwyujceeulpfkpxv.js.map +0 -1
  258. package/dist/chunks/sidebar-ior8rnhsd7gy5am5.js.map +0 -1
  259. package/dist/chunks/toast-dkdo1lu72tnefya6.js.map +0 -1
  260. package/dist/chunks/tooltip-eqnhjdbvwapy8gj4.js.map +0 -1
  261. package/dist/chunks/vendor-base-ui-f9z44m829vvptrg0.js +0 -24712
  262. package/dist/chunks/vendor-base-ui-f9z44m829vvptrg0.js.map +0 -1
  263. package/dist/chunks/vendor-styling-gobnkhsy0rva4qd3.js +0 -2775
  264. package/dist/chunks/vendor-styling-gobnkhsy0rva4qd3.js.map +0 -1
@@ -1,37 +1,37 @@
1
1
  "use client";
2
- function d(e, o, t) {
2
+ function f(e, o, t) {
3
3
  function n(l, u) {
4
4
  if (l._zod || Object.defineProperty(l, "_zod", {
5
5
  value: {
6
6
  def: u,
7
- constr: i,
7
+ constr: a,
8
8
  traits: /* @__PURE__ */ new Set()
9
9
  },
10
10
  enumerable: !1
11
11
  }), l._zod.traits.has(e))
12
12
  return;
13
13
  l._zod.traits.add(e), o(l, u);
14
- const p = i.prototype, h = Object.keys(p);
15
- for (let v = 0; v < h.length; v++) {
16
- const w = h[v];
17
- w in l || (l[w] = p[w].bind(l));
14
+ const d = a.prototype, m = Object.keys(d);
15
+ for (let v = 0; v < m.length; v++) {
16
+ const w = m[v];
17
+ w in l || (l[w] = d[w].bind(l));
18
18
  }
19
19
  }
20
20
  const r = t?.Parent ?? Object;
21
- class a extends r {
21
+ class s extends r {
22
22
  }
23
- Object.defineProperty(a, "name", { value: e });
24
- function i(l) {
23
+ Object.defineProperty(s, "name", { value: e });
24
+ function a(l) {
25
25
  var u;
26
- const p = t?.Parent ? new a() : this;
27
- n(p, l), (u = p._zod).deferred ?? (u.deferred = []);
28
- for (const h of p._zod.deferred)
29
- h();
30
- return p;
26
+ const d = t?.Parent ? new s() : this;
27
+ n(d, l), (u = d._zod).deferred ?? (u.deferred = []);
28
+ for (const m of d._zod.deferred)
29
+ m();
30
+ return d;
31
31
  }
32
- return Object.defineProperty(i, "init", { value: n }), Object.defineProperty(i, Symbol.hasInstance, {
32
+ return Object.defineProperty(a, "init", { value: n }), Object.defineProperty(a, Symbol.hasInstance, {
33
33
  value: (l) => t?.Parent && l instanceof t.Parent ? !0 : l?._zod?.traits?.has(e)
34
- }), Object.defineProperty(i, "name", { value: e }), i;
34
+ }), Object.defineProperty(a, "name", { value: e }), a;
35
35
  }
36
36
  class q extends Error {
37
37
  constructor() {
@@ -44,7 +44,7 @@ class Ge extends Error {
44
44
  }
45
45
  }
46
46
  const qe = {};
47
- function F(e) {
47
+ function M(e) {
48
48
  return qe;
49
49
  }
50
50
  function Ke(e) {
@@ -78,8 +78,8 @@ function To(e, o) {
78
78
  const u = n.match(/\d?e-(\d?)/);
79
79
  u?.[1] && (r = Number.parseInt(u[1]));
80
80
  }
81
- const a = t > r ? t : r, i = Number.parseInt(e.toFixed(a).replace(".", "")), l = Number.parseInt(o.toFixed(a).replace(".", ""));
82
- return i % l / 10 ** a;
81
+ const s = t > r ? t : r, a = Number.parseInt(e.toFixed(s).replace(".", "")), l = Number.parseInt(o.toFixed(s).replace(".", ""));
82
+ return a % l / 10 ** s;
83
83
  }
84
84
  const Ze = Symbol("evaluating");
85
85
  function $(e, o, t) {
@@ -98,7 +98,7 @@ function $(e, o, t) {
98
98
  configurable: !0
99
99
  });
100
100
  }
101
- function B(e, o, t) {
101
+ function V(e, o, t) {
102
102
  Object.defineProperty(e, o, {
103
103
  value: t,
104
104
  writable: !0,
@@ -106,7 +106,7 @@ function B(e, o, t) {
106
106
  configurable: !0
107
107
  });
108
108
  }
109
- function M(...e) {
109
+ function U(...e) {
110
110
  const o = {};
111
111
  for (const t of e) {
112
112
  const n = Object.getOwnPropertyDescriptors(t);
@@ -125,7 +125,7 @@ const Xe = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
125
125
  function ae(e) {
126
126
  return typeof e == "object" && e !== null && !Array.isArray(e);
127
127
  }
128
- const Io = be(() => {
128
+ const No = be(() => {
129
129
  if (typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare"))
130
130
  return !1;
131
131
  try {
@@ -147,7 +147,7 @@ function K(e) {
147
147
  function Ye(e) {
148
148
  return K(e) ? { ...e } : Array.isArray(e) ? [...e] : e;
149
149
  }
150
- const No = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
150
+ const Io = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
151
151
  function ue(e) {
152
152
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
153
153
  }
@@ -168,10 +168,10 @@ function k(e) {
168
168
  }
169
169
  return delete o.message, typeof o.error == "string" ? { ...o, error: () => o.error } : o;
170
170
  }
171
- function Eo(e) {
171
+ function Co(e) {
172
172
  return Object.keys(e).filter((o) => e[o]._zod.optin === "optional" && e[o]._zod.optout === "optional");
173
173
  }
174
- const Co = {
174
+ const Eo = {
175
175
  safeint: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER],
176
176
  int32: [-2147483648, 2147483647],
177
177
  uint32: [0, 4294967295],
@@ -182,52 +182,52 @@ function Ao(e, o) {
182
182
  const t = e._zod.def, n = t.checks;
183
183
  if (n && n.length > 0)
184
184
  throw new Error(".pick() cannot be used on object schemas containing refinements");
185
- const a = M(e._zod.def, {
185
+ const s = U(e._zod.def, {
186
186
  get shape() {
187
- const i = {};
187
+ const a = {};
188
188
  for (const l in o) {
189
189
  if (!(l in t.shape))
190
190
  throw new Error(`Unrecognized key: "${l}"`);
191
- o[l] && (i[l] = t.shape[l]);
191
+ o[l] && (a[l] = t.shape[l]);
192
192
  }
193
- return B(this, "shape", i), i;
193
+ return V(this, "shape", a), a;
194
194
  },
195
195
  checks: []
196
196
  });
197
- return J(e, a);
197
+ return J(e, s);
198
198
  }
199
199
  function xo(e, o) {
200
200
  const t = e._zod.def, n = t.checks;
201
201
  if (n && n.length > 0)
202
202
  throw new Error(".omit() cannot be used on object schemas containing refinements");
203
- const a = M(e._zod.def, {
203
+ const s = U(e._zod.def, {
204
204
  get shape() {
205
- const i = { ...e._zod.def.shape };
205
+ const a = { ...e._zod.def.shape };
206
206
  for (const l in o) {
207
207
  if (!(l in t.shape))
208
208
  throw new Error(`Unrecognized key: "${l}"`);
209
- o[l] && delete i[l];
209
+ o[l] && delete a[l];
210
210
  }
211
- return B(this, "shape", i), i;
211
+ return V(this, "shape", a), a;
212
212
  },
213
213
  checks: []
214
214
  });
215
- return J(e, a);
215
+ return J(e, s);
216
216
  }
217
217
  function jo(e, o) {
218
218
  if (!K(o))
219
219
  throw new Error("Invalid input to extend: expected a plain object");
220
220
  const t = e._zod.def.checks;
221
221
  if (t && t.length > 0) {
222
- const a = e._zod.def.shape;
223
- for (const i in o)
224
- if (Object.getOwnPropertyDescriptor(a, i) !== void 0)
222
+ const s = e._zod.def.shape;
223
+ for (const a in o)
224
+ if (Object.getOwnPropertyDescriptor(s, a) !== void 0)
225
225
  throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
226
226
  }
227
- const r = M(e._zod.def, {
227
+ const r = U(e._zod.def, {
228
228
  get shape() {
229
- const a = { ...e._zod.def.shape, ...o };
230
- return B(this, "shape", a), a;
229
+ const s = { ...e._zod.def.shape, ...o };
230
+ return V(this, "shape", s), s;
231
231
  }
232
232
  });
233
233
  return J(e, r);
@@ -235,19 +235,19 @@ function jo(e, o) {
235
235
  function Ro(e, o) {
236
236
  if (!K(o))
237
237
  throw new Error("Invalid input to safeExtend: expected a plain object");
238
- const t = M(e._zod.def, {
238
+ const t = U(e._zod.def, {
239
239
  get shape() {
240
240
  const n = { ...e._zod.def.shape, ...o };
241
- return B(this, "shape", n), n;
241
+ return V(this, "shape", n), n;
242
242
  }
243
243
  });
244
244
  return J(e, t);
245
245
  }
246
246
  function Do(e, o) {
247
- const t = M(e._zod.def, {
247
+ const t = U(e._zod.def, {
248
248
  get shape() {
249
249
  const n = { ...e._zod.def.shape, ...o._zod.def.shape };
250
- return B(this, "shape", n), n;
250
+ return V(this, "shape", n), n;
251
251
  },
252
252
  get catchall() {
253
253
  return o._zod.def.catchall;
@@ -257,54 +257,54 @@ function Do(e, o) {
257
257
  });
258
258
  return J(e, t);
259
259
  }
260
- function Uo(e, o, t) {
260
+ function Fo(e, o, t) {
261
261
  const r = o._zod.def.checks;
262
262
  if (r && r.length > 0)
263
263
  throw new Error(".partial() cannot be used on object schemas containing refinements");
264
- const i = M(o._zod.def, {
264
+ const a = U(o._zod.def, {
265
265
  get shape() {
266
266
  const l = o._zod.def.shape, u = { ...l };
267
267
  if (t)
268
- for (const p in t) {
269
- if (!(p in l))
270
- throw new Error(`Unrecognized key: "${p}"`);
271
- t[p] && (u[p] = e ? new e({
268
+ for (const d in t) {
269
+ if (!(d in l))
270
+ throw new Error(`Unrecognized key: "${d}"`);
271
+ t[d] && (u[d] = e ? new e({
272
272
  type: "optional",
273
- innerType: l[p]
274
- }) : l[p]);
273
+ innerType: l[d]
274
+ }) : l[d]);
275
275
  }
276
276
  else
277
- for (const p in l)
278
- u[p] = e ? new e({
277
+ for (const d in l)
278
+ u[d] = e ? new e({
279
279
  type: "optional",
280
- innerType: l[p]
281
- }) : l[p];
282
- return B(this, "shape", u), u;
280
+ innerType: l[d]
281
+ }) : l[d];
282
+ return V(this, "shape", u), u;
283
283
  },
284
284
  checks: []
285
285
  });
286
- return J(o, i);
286
+ return J(o, a);
287
287
  }
288
- function Fo(e, o, t) {
289
- const n = M(o._zod.def, {
288
+ function Mo(e, o, t) {
289
+ const n = U(o._zod.def, {
290
290
  get shape() {
291
- const r = o._zod.def.shape, a = { ...r };
291
+ const r = o._zod.def.shape, s = { ...r };
292
292
  if (t)
293
- for (const i in t) {
294
- if (!(i in a))
295
- throw new Error(`Unrecognized key: "${i}"`);
296
- t[i] && (a[i] = new e({
293
+ for (const a in t) {
294
+ if (!(a in s))
295
+ throw new Error(`Unrecognized key: "${a}"`);
296
+ t[a] && (s[a] = new e({
297
297
  type: "nonoptional",
298
- innerType: r[i]
298
+ innerType: r[a]
299
299
  }));
300
300
  }
301
301
  else
302
- for (const i in r)
303
- a[i] = new e({
302
+ for (const a in r)
303
+ s[a] = new e({
304
304
  type: "nonoptional",
305
- innerType: r[i]
305
+ innerType: r[a]
306
306
  });
307
- return B(this, "shape", a), a;
307
+ return V(this, "shape", s), s;
308
308
  }
309
309
  });
310
310
  return J(o, n);
@@ -317,7 +317,7 @@ function G(e, o = 0) {
317
317
  return !0;
318
318
  return !1;
319
319
  }
320
- function V(e, o) {
320
+ function B(e, o) {
321
321
  return o.map((t) => {
322
322
  var n;
323
323
  return (n = t).path ?? (n.path = []), t.path.unshift(e), t;
@@ -357,67 +357,67 @@ const He = (e, o) => {
357
357
  value: () => e.message,
358
358
  enumerable: !1
359
359
  });
360
- }, Qe = d("$ZodError", He), eo = d("$ZodError", He, { Parent: Error });
360
+ }, Qe = f("$ZodError", He), eo = f("$ZodError", He, { Parent: Error });
361
361
  function Lo(e, o = (t) => t.message) {
362
362
  const t = {}, n = [];
363
363
  for (const r of e.issues)
364
364
  r.path.length > 0 ? (t[r.path[0]] = t[r.path[0]] || [], t[r.path[0]].push(o(r))) : n.push(o(r));
365
365
  return { formErrors: n, fieldErrors: t };
366
366
  }
367
- function Mo(e, o = (t) => t.message) {
367
+ function Uo(e, o = (t) => t.message) {
368
368
  const t = { _errors: [] }, n = (r) => {
369
- for (const a of r.issues)
370
- if (a.code === "invalid_union" && a.errors.length)
371
- a.errors.map((i) => n({ issues: i }));
372
- else if (a.code === "invalid_key")
373
- n({ issues: a.issues });
374
- else if (a.code === "invalid_element")
375
- n({ issues: a.issues });
376
- else if (a.path.length === 0)
377
- t._errors.push(o(a));
369
+ for (const s of r.issues)
370
+ if (s.code === "invalid_union" && s.errors.length)
371
+ s.errors.map((a) => n({ issues: a }));
372
+ else if (s.code === "invalid_key")
373
+ n({ issues: s.issues });
374
+ else if (s.code === "invalid_element")
375
+ n({ issues: s.issues });
376
+ else if (s.path.length === 0)
377
+ t._errors.push(o(s));
378
378
  else {
379
- let i = t, l = 0;
380
- for (; l < a.path.length; ) {
381
- const u = a.path[l];
382
- l === a.path.length - 1 ? (i[u] = i[u] || { _errors: [] }, i[u]._errors.push(o(a))) : i[u] = i[u] || { _errors: [] }, i = i[u], l++;
379
+ let a = t, l = 0;
380
+ for (; l < s.path.length; ) {
381
+ const u = s.path[l];
382
+ l === s.path.length - 1 ? (a[u] = a[u] || { _errors: [] }, a[u]._errors.push(o(s))) : a[u] = a[u] || { _errors: [] }, a = a[u], l++;
383
383
  }
384
384
  }
385
385
  };
386
386
  return n(e), t;
387
387
  }
388
388
  const we = (e) => (o, t, n, r) => {
389
- const a = n ? Object.assign(n, { async: !1 }) : { async: !1 }, i = o._zod.run({ value: t, issues: [] }, a);
390
- if (i instanceof Promise)
389
+ const s = n ? Object.assign(n, { async: !1 }) : { async: !1 }, a = o._zod.run({ value: t, issues: [] }, s);
390
+ if (a instanceof Promise)
391
391
  throw new q();
392
- if (i.issues.length) {
393
- const l = new (r?.Err ?? e)(i.issues.map((u) => L(u, a, F())));
392
+ if (a.issues.length) {
393
+ const l = new (r?.Err ?? e)(a.issues.map((u) => L(u, s, M())));
394
394
  throw Xe(l, r?.callee), l;
395
395
  }
396
- return i.value;
396
+ return a.value;
397
397
  }, Se = (e) => async (o, t, n, r) => {
398
- const a = n ? Object.assign(n, { async: !0 }) : { async: !0 };
399
- let i = o._zod.run({ value: t, issues: [] }, a);
400
- if (i instanceof Promise && (i = await i), i.issues.length) {
401
- const l = new (r?.Err ?? e)(i.issues.map((u) => L(u, a, F())));
398
+ const s = n ? Object.assign(n, { async: !0 }) : { async: !0 };
399
+ let a = o._zod.run({ value: t, issues: [] }, s);
400
+ if (a instanceof Promise && (a = await a), a.issues.length) {
401
+ const l = new (r?.Err ?? e)(a.issues.map((u) => L(u, s, M())));
402
402
  throw Xe(l, r?.callee), l;
403
403
  }
404
- return i.value;
404
+ return a.value;
405
405
  }, pe = (e) => (o, t, n) => {
406
- const r = n ? { ...n, async: !1 } : { async: !1 }, a = o._zod.run({ value: t, issues: [] }, r);
407
- if (a instanceof Promise)
406
+ const r = n ? { ...n, async: !1 } : { async: !1 }, s = o._zod.run({ value: t, issues: [] }, r);
407
+ if (s instanceof Promise)
408
408
  throw new q();
409
- return a.issues.length ? {
409
+ return s.issues.length ? {
410
410
  success: !1,
411
- error: new (e ?? Qe)(a.issues.map((i) => L(i, r, F())))
412
- } : { success: !0, data: a.value };
411
+ error: new (e ?? Qe)(s.issues.map((a) => L(a, r, M())))
412
+ } : { success: !0, data: s.value };
413
413
  }, Jo = /* @__PURE__ */ pe(eo), de = (e) => async (o, t, n) => {
414
414
  const r = n ? Object.assign(n, { async: !0 }) : { async: !0 };
415
- let a = o._zod.run({ value: t, issues: [] }, r);
416
- return a instanceof Promise && (a = await a), a.issues.length ? {
415
+ let s = o._zod.run({ value: t, issues: [] }, r);
416
+ return s instanceof Promise && (s = await s), s.issues.length ? {
417
417
  success: !1,
418
- error: new e(a.issues.map((i) => L(i, r, F())))
419
- } : { success: !0, data: a.value };
420
- }, Vo = /* @__PURE__ */ de(eo), Bo = (e) => (o, t, n) => {
418
+ error: new e(s.issues.map((a) => L(a, r, M())))
419
+ } : { success: !0, data: s.value };
420
+ }, Bo = /* @__PURE__ */ de(eo), Vo = (e) => (o, t, n) => {
421
421
  const r = n ? Object.assign(n, { direction: "backward" }) : { direction: "backward" };
422
422
  return we(e)(o, t, r);
423
423
  }, Wo = (e) => (o, t, n) => we(e)(o, t, n), Go = (e) => async (o, t, n) => {
@@ -450,19 +450,19 @@ function vt(e) {
450
450
  const bt = (e) => {
451
451
  const o = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
452
452
  return new RegExp(`^${o}$`);
453
- }, yt = /^-?\d+$/, ro = /^-?\d+(?:\.\d+)?$/, zt = /^(?:true|false)$/i, kt = /^null$/i, wt = /^[^A-Z]*$/, St = /^[^a-z]*$/, x = /* @__PURE__ */ d("$ZodCheck", (e, o) => {
453
+ }, yt = /^-?\d+$/, ro = /^-?\d+(?:\.\d+)?$/, zt = /^(?:true|false)$/i, kt = /^null$/i, wt = /^[^A-Z]*$/, St = /^[^a-z]*$/, j = /* @__PURE__ */ f("$ZodCheck", (e, o) => {
454
454
  var t;
455
455
  e._zod ?? (e._zod = {}), e._zod.def = o, (t = e._zod).onattach ?? (t.onattach = []);
456
456
  }), io = {
457
457
  number: "number",
458
458
  bigint: "bigint",
459
459
  object: "date"
460
- }, ao = /* @__PURE__ */ d("$ZodCheckLessThan", (e, o) => {
461
- x.init(e, o);
460
+ }, ao = /* @__PURE__ */ f("$ZodCheckLessThan", (e, o) => {
461
+ j.init(e, o);
462
462
  const t = io[typeof o.value];
463
463
  e._zod.onattach.push((n) => {
464
- const r = n._zod.bag, a = (o.inclusive ? r.maximum : r.exclusiveMaximum) ?? Number.POSITIVE_INFINITY;
465
- o.value < a && (o.inclusive ? r.maximum = o.value : r.exclusiveMaximum = o.value);
464
+ const r = n._zod.bag, s = (o.inclusive ? r.maximum : r.exclusiveMaximum) ?? Number.POSITIVE_INFINITY;
465
+ o.value < s && (o.inclusive ? r.maximum = o.value : r.exclusiveMaximum = o.value);
466
466
  }), e._zod.check = (n) => {
467
467
  (o.inclusive ? n.value <= o.value : n.value < o.value) || n.issues.push({
468
468
  origin: t,
@@ -474,12 +474,12 @@ const bt = (e) => {
474
474
  continue: !o.abort
475
475
  });
476
476
  };
477
- }), so = /* @__PURE__ */ d("$ZodCheckGreaterThan", (e, o) => {
478
- x.init(e, o);
477
+ }), so = /* @__PURE__ */ f("$ZodCheckGreaterThan", (e, o) => {
478
+ j.init(e, o);
479
479
  const t = io[typeof o.value];
480
480
  e._zod.onattach.push((n) => {
481
- const r = n._zod.bag, a = (o.inclusive ? r.minimum : r.exclusiveMinimum) ?? Number.NEGATIVE_INFINITY;
482
- o.value > a && (o.inclusive ? r.minimum = o.value : r.exclusiveMinimum = o.value);
481
+ const r = n._zod.bag, s = (o.inclusive ? r.minimum : r.exclusiveMinimum) ?? Number.NEGATIVE_INFINITY;
482
+ o.value > s && (o.inclusive ? r.minimum = o.value : r.exclusiveMinimum = o.value);
483
483
  }), e._zod.check = (n) => {
484
484
  (o.inclusive ? n.value >= o.value : n.value > o.value) || n.issues.push({
485
485
  origin: t,
@@ -491,8 +491,8 @@ const bt = (e) => {
491
491
  continue: !o.abort
492
492
  });
493
493
  };
494
- }), $t = /* @__PURE__ */ d("$ZodCheckMultipleOf", (e, o) => {
495
- x.init(e, o), e._zod.onattach.push((t) => {
494
+ }), $t = /* @__PURE__ */ f("$ZodCheckMultipleOf", (e, o) => {
495
+ j.init(e, o), e._zod.onattach.push((t) => {
496
496
  var n;
497
497
  (n = t._zod.bag).multipleOf ?? (n.multipleOf = o.value);
498
498
  }), e._zod.check = (t) => {
@@ -507,17 +507,17 @@ const bt = (e) => {
507
507
  continue: !o.abort
508
508
  });
509
509
  };
510
- }), Zt = /* @__PURE__ */ d("$ZodCheckNumberFormat", (e, o) => {
511
- x.init(e, o), o.format = o.format || "float64";
512
- const t = o.format?.includes("int"), n = t ? "int" : "number", [r, a] = Co[o.format];
513
- e._zod.onattach.push((i) => {
514
- const l = i._zod.bag;
515
- l.format = o.format, l.minimum = r, l.maximum = a, t && (l.pattern = yt);
516
- }), e._zod.check = (i) => {
517
- const l = i.value;
510
+ }), Zt = /* @__PURE__ */ f("$ZodCheckNumberFormat", (e, o) => {
511
+ j.init(e, o), o.format = o.format || "float64";
512
+ const t = o.format?.includes("int"), n = t ? "int" : "number", [r, s] = Eo[o.format];
513
+ e._zod.onattach.push((a) => {
514
+ const l = a._zod.bag;
515
+ l.format = o.format, l.minimum = r, l.maximum = s, t && (l.pattern = yt);
516
+ }), e._zod.check = (a) => {
517
+ const l = a.value;
518
518
  if (t) {
519
519
  if (!Number.isInteger(l)) {
520
- i.issues.push({
520
+ a.issues.push({
521
521
  expected: n,
522
522
  format: o.format,
523
523
  code: "invalid_type",
@@ -528,7 +528,7 @@ const bt = (e) => {
528
528
  return;
529
529
  }
530
530
  if (!Number.isSafeInteger(l)) {
531
- l > 0 ? i.issues.push({
531
+ l > 0 ? a.issues.push({
532
532
  input: l,
533
533
  code: "too_big",
534
534
  maximum: Number.MAX_SAFE_INTEGER,
@@ -537,7 +537,7 @@ const bt = (e) => {
537
537
  origin: n,
538
538
  inclusive: !0,
539
539
  continue: !o.abort
540
- }) : i.issues.push({
540
+ }) : a.issues.push({
541
541
  input: l,
542
542
  code: "too_small",
543
543
  minimum: Number.MIN_SAFE_INTEGER,
@@ -550,7 +550,7 @@ const bt = (e) => {
550
550
  return;
551
551
  }
552
552
  }
553
- l < r && i.issues.push({
553
+ l < r && a.issues.push({
554
554
  origin: "number",
555
555
  input: l,
556
556
  code: "too_small",
@@ -558,19 +558,19 @@ const bt = (e) => {
558
558
  inclusive: !0,
559
559
  inst: e,
560
560
  continue: !o.abort
561
- }), l > a && i.issues.push({
561
+ }), l > s && a.issues.push({
562
562
  origin: "number",
563
563
  input: l,
564
564
  code: "too_big",
565
- maximum: a,
565
+ maximum: s,
566
566
  inclusive: !0,
567
567
  inst: e,
568
568
  continue: !o.abort
569
569
  });
570
570
  };
571
- }), Pt = /* @__PURE__ */ d("$ZodCheckMaxLength", (e, o) => {
571
+ }), Pt = /* @__PURE__ */ f("$ZodCheckMaxLength", (e, o) => {
572
572
  var t;
573
- x.init(e, o), (t = e._zod.def).when ?? (t.when = (n) => {
573
+ j.init(e, o), (t = e._zod.def).when ?? (t.when = (n) => {
574
574
  const r = n.value;
575
575
  return !ye(r) && r.length !== void 0;
576
576
  }), e._zod.onattach.push((n) => {
@@ -580,9 +580,9 @@ const bt = (e) => {
580
580
  const r = n.value;
581
581
  if (r.length <= o.maximum)
582
582
  return;
583
- const i = ke(r);
583
+ const a = ke(r);
584
584
  n.issues.push({
585
- origin: i,
585
+ origin: a,
586
586
  code: "too_big",
587
587
  maximum: o.maximum,
588
588
  inclusive: !0,
@@ -591,9 +591,9 @@ const bt = (e) => {
591
591
  continue: !o.abort
592
592
  });
593
593
  };
594
- }), Tt = /* @__PURE__ */ d("$ZodCheckMinLength", (e, o) => {
594
+ }), Tt = /* @__PURE__ */ f("$ZodCheckMinLength", (e, o) => {
595
595
  var t;
596
- x.init(e, o), (t = e._zod.def).when ?? (t.when = (n) => {
596
+ j.init(e, o), (t = e._zod.def).when ?? (t.when = (n) => {
597
597
  const r = n.value;
598
598
  return !ye(r) && r.length !== void 0;
599
599
  }), e._zod.onattach.push((n) => {
@@ -603,9 +603,9 @@ const bt = (e) => {
603
603
  const r = n.value;
604
604
  if (r.length >= o.minimum)
605
605
  return;
606
- const i = ke(r);
606
+ const a = ke(r);
607
607
  n.issues.push({
608
- origin: i,
608
+ origin: a,
609
609
  code: "too_small",
610
610
  minimum: o.minimum,
611
611
  inclusive: !0,
@@ -614,21 +614,21 @@ const bt = (e) => {
614
614
  continue: !o.abort
615
615
  });
616
616
  };
617
- }), Ot = /* @__PURE__ */ d("$ZodCheckLengthEquals", (e, o) => {
617
+ }), Ot = /* @__PURE__ */ f("$ZodCheckLengthEquals", (e, o) => {
618
618
  var t;
619
- x.init(e, o), (t = e._zod.def).when ?? (t.when = (n) => {
619
+ j.init(e, o), (t = e._zod.def).when ?? (t.when = (n) => {
620
620
  const r = n.value;
621
621
  return !ye(r) && r.length !== void 0;
622
622
  }), e._zod.onattach.push((n) => {
623
623
  const r = n._zod.bag;
624
624
  r.minimum = o.length, r.maximum = o.length, r.length = o.length;
625
625
  }), e._zod.check = (n) => {
626
- const r = n.value, a = r.length;
627
- if (a === o.length)
626
+ const r = n.value, s = r.length;
627
+ if (s === o.length)
628
628
  return;
629
- const i = ke(r), l = a > o.length;
629
+ const a = ke(r), l = s > o.length;
630
630
  n.issues.push({
631
- origin: i,
631
+ origin: a,
632
632
  ...l ? { code: "too_big", maximum: o.length } : { code: "too_small", minimum: o.length },
633
633
  inclusive: !0,
634
634
  exact: !0,
@@ -637,11 +637,11 @@ const bt = (e) => {
637
637
  continue: !o.abort
638
638
  });
639
639
  };
640
- }), fe = /* @__PURE__ */ d("$ZodCheckStringFormat", (e, o) => {
640
+ }), fe = /* @__PURE__ */ f("$ZodCheckStringFormat", (e, o) => {
641
641
  var t, n;
642
- x.init(e, o), e._zod.onattach.push((r) => {
643
- const a = r._zod.bag;
644
- a.format = o.format, o.pattern && (a.patterns ?? (a.patterns = /* @__PURE__ */ new Set()), a.patterns.add(o.pattern));
642
+ j.init(e, o), e._zod.onattach.push((r) => {
643
+ const s = r._zod.bag;
644
+ s.format = o.format, o.pattern && (s.patterns ?? (s.patterns = /* @__PURE__ */ new Set()), s.patterns.add(o.pattern));
645
645
  }), o.pattern ? (t = e._zod).check ?? (t.check = (r) => {
646
646
  o.pattern.lastIndex = 0, !o.pattern.test(r.value) && r.issues.push({
647
647
  origin: "string",
@@ -654,7 +654,7 @@ const bt = (e) => {
654
654
  });
655
655
  }) : (n = e._zod).check ?? (n.check = () => {
656
656
  });
657
- }), It = /* @__PURE__ */ d("$ZodCheckRegex", (e, o) => {
657
+ }), Nt = /* @__PURE__ */ f("$ZodCheckRegex", (e, o) => {
658
658
  fe.init(e, o), e._zod.check = (t) => {
659
659
  o.pattern.lastIndex = 0, !o.pattern.test(t.value) && t.issues.push({
660
660
  origin: "string",
@@ -666,16 +666,16 @@ const bt = (e) => {
666
666
  continue: !o.abort
667
667
  });
668
668
  };
669
- }), Nt = /* @__PURE__ */ d("$ZodCheckLowerCase", (e, o) => {
669
+ }), It = /* @__PURE__ */ f("$ZodCheckLowerCase", (e, o) => {
670
670
  o.pattern ?? (o.pattern = wt), fe.init(e, o);
671
- }), Et = /* @__PURE__ */ d("$ZodCheckUpperCase", (e, o) => {
671
+ }), Ct = /* @__PURE__ */ f("$ZodCheckUpperCase", (e, o) => {
672
672
  o.pattern ?? (o.pattern = St), fe.init(e, o);
673
- }), Ct = /* @__PURE__ */ d("$ZodCheckIncludes", (e, o) => {
674
- x.init(e, o);
673
+ }), Et = /* @__PURE__ */ f("$ZodCheckIncludes", (e, o) => {
674
+ j.init(e, o);
675
675
  const t = ue(o.includes), n = new RegExp(typeof o.position == "number" ? `^.{${o.position}}${t}` : t);
676
676
  o.pattern = n, e._zod.onattach.push((r) => {
677
- const a = r._zod.bag;
678
- a.patterns ?? (a.patterns = /* @__PURE__ */ new Set()), a.patterns.add(n);
677
+ const s = r._zod.bag;
678
+ s.patterns ?? (s.patterns = /* @__PURE__ */ new Set()), s.patterns.add(n);
679
679
  }), e._zod.check = (r) => {
680
680
  r.value.includes(o.includes, o.position) || r.issues.push({
681
681
  origin: "string",
@@ -687,8 +687,8 @@ const bt = (e) => {
687
687
  continue: !o.abort
688
688
  });
689
689
  };
690
- }), At = /* @__PURE__ */ d("$ZodCheckStartsWith", (e, o) => {
691
- x.init(e, o);
690
+ }), At = /* @__PURE__ */ f("$ZodCheckStartsWith", (e, o) => {
691
+ j.init(e, o);
692
692
  const t = new RegExp(`^${ue(o.prefix)}.*`);
693
693
  o.pattern ?? (o.pattern = t), e._zod.onattach.push((n) => {
694
694
  const r = n._zod.bag;
@@ -704,8 +704,8 @@ const bt = (e) => {
704
704
  continue: !o.abort
705
705
  });
706
706
  };
707
- }), xt = /* @__PURE__ */ d("$ZodCheckEndsWith", (e, o) => {
708
- x.init(e, o);
707
+ }), xt = /* @__PURE__ */ f("$ZodCheckEndsWith", (e, o) => {
708
+ j.init(e, o);
709
709
  const t = new RegExp(`.*${ue(o.suffix)}$`);
710
710
  o.pattern ?? (o.pattern = t), e._zod.onattach.push((n) => {
711
711
  const r = n._zod.bag;
@@ -721,8 +721,8 @@ const bt = (e) => {
721
721
  continue: !o.abort
722
722
  });
723
723
  };
724
- }), jt = /* @__PURE__ */ d("$ZodCheckOverwrite", (e, o) => {
725
- x.init(e, o), e._zod.check = (t) => {
724
+ }), jt = /* @__PURE__ */ f("$ZodCheckOverwrite", (e, o) => {
725
+ j.init(e, o), e._zod.check = (t) => {
726
726
  t.value = o.tx(t.value);
727
727
  };
728
728
  });
@@ -739,12 +739,12 @@ class Rt {
739
739
  return;
740
740
  }
741
741
  const n = o.split(`
742
- `).filter((i) => i), r = Math.min(...n.map((i) => i.length - i.trimStart().length)), a = n.map((i) => i.slice(r)).map((i) => " ".repeat(this.indent * 2) + i);
743
- for (const i of a)
744
- this.content.push(i);
742
+ `).filter((a) => a), r = Math.min(...n.map((a) => a.length - a.trimStart().length)), s = n.map((a) => a.slice(r)).map((a) => " ".repeat(this.indent * 2) + a);
743
+ for (const a of s)
744
+ this.content.push(a);
745
745
  }
746
746
  compile() {
747
- const o = Function, t = this?.args, r = [...(this?.content ?? [""]).map((a) => ` ${a}`)];
747
+ const o = Function, t = this?.args, r = [...(this?.content ?? [""]).map((s) => ` ${s}`)];
748
748
  return new o(...t, r.join(`
749
749
  `));
750
750
  }
@@ -753,64 +753,64 @@ const Dt = {
753
753
  major: 4,
754
754
  minor: 3,
755
755
  patch: 6
756
- }, Z = /* @__PURE__ */ d("$ZodType", (e, o) => {
756
+ }, Z = /* @__PURE__ */ f("$ZodType", (e, o) => {
757
757
  var t;
758
758
  e ?? (e = {}), e._zod.def = o, e._zod.bag = e._zod.bag || {}, e._zod.version = Dt;
759
759
  const n = [...e._zod.def.checks ?? []];
760
760
  e._zod.traits.has("$ZodCheck") && n.unshift(e);
761
761
  for (const r of n)
762
- for (const a of r._zod.onattach)
763
- a(e);
762
+ for (const s of r._zod.onattach)
763
+ s(e);
764
764
  if (n.length === 0)
765
765
  (t = e._zod).deferred ?? (t.deferred = []), e._zod.deferred?.push(() => {
766
766
  e._zod.run = e._zod.parse;
767
767
  });
768
768
  else {
769
- const r = (i, l, u) => {
770
- let p = G(i), h;
769
+ const r = (a, l, u) => {
770
+ let d = G(a), m;
771
771
  for (const v of l) {
772
772
  if (v._zod.def.when) {
773
- if (!v._zod.def.when(i))
773
+ if (!v._zod.def.when(a))
774
774
  continue;
775
- } else if (p)
775
+ } else if (d)
776
776
  continue;
777
- const w = i.issues.length, S = v._zod.check(i);
777
+ const w = a.issues.length, S = v._zod.check(a);
778
778
  if (S instanceof Promise && u?.async === !1)
779
779
  throw new q();
780
- if (h || S instanceof Promise)
781
- h = (h ?? Promise.resolve()).then(async () => {
782
- await S, i.issues.length !== w && (p || (p = G(i, w)));
780
+ if (m || S instanceof Promise)
781
+ m = (m ?? Promise.resolve()).then(async () => {
782
+ await S, a.issues.length !== w && (d || (d = G(a, w)));
783
783
  });
784
784
  else {
785
- if (i.issues.length === w)
785
+ if (a.issues.length === w)
786
786
  continue;
787
- p || (p = G(i, w));
787
+ d || (d = G(a, w));
788
788
  }
789
789
  }
790
- return h ? h.then(() => i) : i;
791
- }, a = (i, l, u) => {
792
- if (G(i))
793
- return i.aborted = !0, i;
794
- const p = r(l, n, u);
795
- if (p instanceof Promise) {
790
+ return m ? m.then(() => a) : a;
791
+ }, s = (a, l, u) => {
792
+ if (G(a))
793
+ return a.aborted = !0, a;
794
+ const d = r(l, n, u);
795
+ if (d instanceof Promise) {
796
796
  if (u.async === !1)
797
797
  throw new q();
798
- return p.then((h) => e._zod.parse(h, u));
798
+ return d.then((m) => e._zod.parse(m, u));
799
799
  }
800
- return e._zod.parse(p, u);
800
+ return e._zod.parse(d, u);
801
801
  };
802
- e._zod.run = (i, l) => {
802
+ e._zod.run = (a, l) => {
803
803
  if (l.skipChecks)
804
- return e._zod.parse(i, l);
804
+ return e._zod.parse(a, l);
805
805
  if (l.direction === "backward") {
806
- const p = e._zod.parse({ value: i.value, issues: [] }, { ...l, skipChecks: !0 });
807
- return p instanceof Promise ? p.then((h) => a(h, i, l)) : a(p, i, l);
806
+ const d = e._zod.parse({ value: a.value, issues: [] }, { ...l, skipChecks: !0 });
807
+ return d instanceof Promise ? d.then((m) => s(m, a, l)) : s(d, a, l);
808
808
  }
809
- const u = e._zod.parse(i, l);
809
+ const u = e._zod.parse(a, l);
810
810
  if (u instanceof Promise) {
811
811
  if (l.async === !1)
812
812
  throw new q();
813
- return u.then((p) => r(p, n, l));
813
+ return u.then((d) => r(d, n, l));
814
814
  }
815
815
  return r(u, n, l);
816
816
  };
@@ -818,16 +818,16 @@ const Dt = {
818
818
  $(e, "~standard", () => ({
819
819
  validate: (r) => {
820
820
  try {
821
- const a = Jo(e, r);
822
- return a.success ? { value: a.data } : { issues: a.error?.issues };
821
+ const s = Jo(e, r);
822
+ return s.success ? { value: s.data } : { issues: s.error?.issues };
823
823
  } catch {
824
- return Vo(e, r).then((i) => i.success ? { value: i.data } : { issues: i.error?.issues });
824
+ return Bo(e, r).then((a) => a.success ? { value: a.data } : { issues: a.error?.issues });
825
825
  }
826
826
  },
827
827
  vendor: "zod",
828
828
  version: 1
829
829
  }));
830
- }), $e = /* @__PURE__ */ d("$ZodString", (e, o) => {
830
+ }), $e = /* @__PURE__ */ f("$ZodString", (e, o) => {
831
831
  Z.init(e, o), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? bt(e._zod.bag), e._zod.parse = (t, n) => {
832
832
  if (o.coerce)
833
833
  try {
@@ -841,11 +841,11 @@ const Dt = {
841
841
  inst: e
842
842
  }), t;
843
843
  };
844
- }), T = /* @__PURE__ */ d("$ZodStringFormat", (e, o) => {
844
+ }), T = /* @__PURE__ */ f("$ZodStringFormat", (e, o) => {
845
845
  fe.init(e, o), $e.init(e, o);
846
- }), Ut = /* @__PURE__ */ d("$ZodGUID", (e, o) => {
846
+ }), Ft = /* @__PURE__ */ f("$ZodGUID", (e, o) => {
847
847
  o.pattern ?? (o.pattern = at), T.init(e, o);
848
- }), Ft = /* @__PURE__ */ d("$ZodUUID", (e, o) => {
848
+ }), Mt = /* @__PURE__ */ f("$ZodUUID", (e, o) => {
849
849
  if (o.version) {
850
850
  const n = {
851
851
  v1: 1,
@@ -863,9 +863,9 @@ const Dt = {
863
863
  } else
864
864
  o.pattern ?? (o.pattern = Te());
865
865
  T.init(e, o);
866
- }), Lt = /* @__PURE__ */ d("$ZodEmail", (e, o) => {
866
+ }), Lt = /* @__PURE__ */ f("$ZodEmail", (e, o) => {
867
867
  o.pattern ?? (o.pattern = st), T.init(e, o);
868
- }), Mt = /* @__PURE__ */ d("$ZodURL", (e, o) => {
868
+ }), Ut = /* @__PURE__ */ f("$ZodURL", (e, o) => {
869
869
  T.init(e, o), e._zod.check = (t) => {
870
870
  try {
871
871
  const n = t.value.trim(), r = new URL(n);
@@ -897,31 +897,31 @@ const Dt = {
897
897
  });
898
898
  }
899
899
  };
900
- }), Jt = /* @__PURE__ */ d("$ZodEmoji", (e, o) => {
900
+ }), Jt = /* @__PURE__ */ f("$ZodEmoji", (e, o) => {
901
901
  o.pattern ?? (o.pattern = lt()), T.init(e, o);
902
- }), Vt = /* @__PURE__ */ d("$ZodNanoID", (e, o) => {
902
+ }), Bt = /* @__PURE__ */ f("$ZodNanoID", (e, o) => {
903
903
  o.pattern ?? (o.pattern = rt), T.init(e, o);
904
- }), Bt = /* @__PURE__ */ d("$ZodCUID", (e, o) => {
904
+ }), Vt = /* @__PURE__ */ f("$ZodCUID", (e, o) => {
905
905
  o.pattern ?? (o.pattern = Qo), T.init(e, o);
906
- }), Wt = /* @__PURE__ */ d("$ZodCUID2", (e, o) => {
906
+ }), Wt = /* @__PURE__ */ f("$ZodCUID2", (e, o) => {
907
907
  o.pattern ?? (o.pattern = et), T.init(e, o);
908
- }), Gt = /* @__PURE__ */ d("$ZodULID", (e, o) => {
908
+ }), Gt = /* @__PURE__ */ f("$ZodULID", (e, o) => {
909
909
  o.pattern ?? (o.pattern = ot), T.init(e, o);
910
- }), qt = /* @__PURE__ */ d("$ZodXID", (e, o) => {
910
+ }), qt = /* @__PURE__ */ f("$ZodXID", (e, o) => {
911
911
  o.pattern ?? (o.pattern = tt), T.init(e, o);
912
- }), Kt = /* @__PURE__ */ d("$ZodKSUID", (e, o) => {
912
+ }), Kt = /* @__PURE__ */ f("$ZodKSUID", (e, o) => {
913
913
  o.pattern ?? (o.pattern = nt), T.init(e, o);
914
- }), Xt = /* @__PURE__ */ d("$ZodISODateTime", (e, o) => {
914
+ }), Xt = /* @__PURE__ */ f("$ZodISODateTime", (e, o) => {
915
915
  o.pattern ?? (o.pattern = vt(o)), T.init(e, o);
916
- }), Yt = /* @__PURE__ */ d("$ZodISODate", (e, o) => {
916
+ }), Yt = /* @__PURE__ */ f("$ZodISODate", (e, o) => {
917
917
  o.pattern ?? (o.pattern = gt), T.init(e, o);
918
- }), Ht = /* @__PURE__ */ d("$ZodISOTime", (e, o) => {
918
+ }), Ht = /* @__PURE__ */ f("$ZodISOTime", (e, o) => {
919
919
  o.pattern ?? (o.pattern = _t(o)), T.init(e, o);
920
- }), Qt = /* @__PURE__ */ d("$ZodISODuration", (e, o) => {
920
+ }), Qt = /* @__PURE__ */ f("$ZodISODuration", (e, o) => {
921
921
  o.pattern ?? (o.pattern = it), T.init(e, o);
922
- }), en = /* @__PURE__ */ d("$ZodIPv4", (e, o) => {
922
+ }), en = /* @__PURE__ */ f("$ZodIPv4", (e, o) => {
923
923
  o.pattern ?? (o.pattern = ut), T.init(e, o), e._zod.bag.format = "ipv4";
924
- }), on = /* @__PURE__ */ d("$ZodIPv6", (e, o) => {
924
+ }), on = /* @__PURE__ */ f("$ZodIPv6", (e, o) => {
925
925
  o.pattern ?? (o.pattern = pt), T.init(e, o), e._zod.bag.format = "ipv6", e._zod.check = (t) => {
926
926
  try {
927
927
  new URL(`http://[${t.value}]`);
@@ -935,21 +935,21 @@ const Dt = {
935
935
  });
936
936
  }
937
937
  };
938
- }), tn = /* @__PURE__ */ d("$ZodCIDRv4", (e, o) => {
938
+ }), tn = /* @__PURE__ */ f("$ZodCIDRv4", (e, o) => {
939
939
  o.pattern ?? (o.pattern = dt), T.init(e, o);
940
- }), nn = /* @__PURE__ */ d("$ZodCIDRv6", (e, o) => {
940
+ }), nn = /* @__PURE__ */ f("$ZodCIDRv6", (e, o) => {
941
941
  o.pattern ?? (o.pattern = ft), T.init(e, o), e._zod.check = (t) => {
942
942
  const n = t.value.split("/");
943
943
  try {
944
944
  if (n.length !== 2)
945
945
  throw new Error();
946
- const [r, a] = n;
947
- if (!a)
946
+ const [r, s] = n;
947
+ if (!s)
948
948
  throw new Error();
949
- const i = Number(a);
950
- if (`${i}` !== a)
949
+ const a = Number(s);
950
+ if (`${a}` !== s)
951
951
  throw new Error();
952
- if (i < 0 || i > 128)
952
+ if (a < 0 || a > 128)
953
953
  throw new Error();
954
954
  new URL(`http://[${r}]`);
955
955
  } catch {
@@ -974,7 +974,7 @@ function co(e) {
974
974
  return !1;
975
975
  }
976
976
  }
977
- const rn = /* @__PURE__ */ d("$ZodBase64", (e, o) => {
977
+ const rn = /* @__PURE__ */ f("$ZodBase64", (e, o) => {
978
978
  o.pattern ?? (o.pattern = ht), T.init(e, o), e._zod.bag.contentEncoding = "base64", e._zod.check = (t) => {
979
979
  co(t.value) || t.issues.push({
980
980
  code: "invalid_format",
@@ -991,7 +991,7 @@ function an(e) {
991
991
  const o = e.replace(/[-_]/g, (n) => n === "-" ? "+" : "/"), t = o.padEnd(Math.ceil(o.length / 4) * 4, "=");
992
992
  return co(t);
993
993
  }
994
- const sn = /* @__PURE__ */ d("$ZodBase64URL", (e, o) => {
994
+ const sn = /* @__PURE__ */ f("$ZodBase64URL", (e, o) => {
995
995
  o.pattern ?? (o.pattern = oo), T.init(e, o), e._zod.bag.contentEncoding = "base64url", e._zod.check = (t) => {
996
996
  an(t.value) || t.issues.push({
997
997
  code: "invalid_format",
@@ -1001,7 +1001,7 @@ const sn = /* @__PURE__ */ d("$ZodBase64URL", (e, o) => {
1001
1001
  continue: !o.abort
1002
1002
  });
1003
1003
  };
1004
- }), cn = /* @__PURE__ */ d("$ZodE164", (e, o) => {
1004
+ }), cn = /* @__PURE__ */ f("$ZodE164", (e, o) => {
1005
1005
  o.pattern ?? (o.pattern = mt), T.init(e, o);
1006
1006
  });
1007
1007
  function ln(e, o = null) {
@@ -1018,7 +1018,7 @@ function ln(e, o = null) {
1018
1018
  return !1;
1019
1019
  }
1020
1020
  }
1021
- const un = /* @__PURE__ */ d("$ZodJWT", (e, o) => {
1021
+ const un = /* @__PURE__ */ f("$ZodJWT", (e, o) => {
1022
1022
  T.init(e, o), e._zod.check = (t) => {
1023
1023
  ln(t.value, o.alg) || t.issues.push({
1024
1024
  code: "invalid_format",
@@ -1028,7 +1028,7 @@ const un = /* @__PURE__ */ d("$ZodJWT", (e, o) => {
1028
1028
  continue: !o.abort
1029
1029
  });
1030
1030
  };
1031
- }), lo = /* @__PURE__ */ d("$ZodNumber", (e, o) => {
1031
+ }), lo = /* @__PURE__ */ f("$ZodNumber", (e, o) => {
1032
1032
  Z.init(e, o), e._zod.pattern = e._zod.bag.pattern ?? ro, e._zod.parse = (t, n) => {
1033
1033
  if (o.coerce)
1034
1034
  try {
@@ -1038,18 +1038,18 @@ const un = /* @__PURE__ */ d("$ZodJWT", (e, o) => {
1038
1038
  const r = t.value;
1039
1039
  if (typeof r == "number" && !Number.isNaN(r) && Number.isFinite(r))
1040
1040
  return t;
1041
- const a = typeof r == "number" ? Number.isNaN(r) ? "NaN" : Number.isFinite(r) ? void 0 : "Infinity" : void 0;
1041
+ const s = typeof r == "number" ? Number.isNaN(r) ? "NaN" : Number.isFinite(r) ? void 0 : "Infinity" : void 0;
1042
1042
  return t.issues.push({
1043
1043
  expected: "number",
1044
1044
  code: "invalid_type",
1045
1045
  input: r,
1046
1046
  inst: e,
1047
- ...a ? { received: a } : {}
1047
+ ...s ? { received: s } : {}
1048
1048
  }), t;
1049
1049
  };
1050
- }), pn = /* @__PURE__ */ d("$ZodNumberFormat", (e, o) => {
1050
+ }), pn = /* @__PURE__ */ f("$ZodNumberFormat", (e, o) => {
1051
1051
  Zt.init(e, o), lo.init(e, o);
1052
- }), dn = /* @__PURE__ */ d("$ZodBoolean", (e, o) => {
1052
+ }), dn = /* @__PURE__ */ f("$ZodBoolean", (e, o) => {
1053
1053
  Z.init(e, o), e._zod.pattern = zt, e._zod.parse = (t, n) => {
1054
1054
  if (o.coerce)
1055
1055
  try {
@@ -1064,7 +1064,7 @@ const un = /* @__PURE__ */ d("$ZodJWT", (e, o) => {
1064
1064
  inst: e
1065
1065
  }), t;
1066
1066
  };
1067
- }), fn = /* @__PURE__ */ d("$ZodNull", (e, o) => {
1067
+ }), fn = /* @__PURE__ */ f("$ZodNull", (e, o) => {
1068
1068
  Z.init(e, o), e._zod.pattern = kt, e._zod.values = /* @__PURE__ */ new Set([null]), e._zod.parse = (t, n) => {
1069
1069
  const r = t.value;
1070
1070
  return r === null || t.issues.push({
@@ -1074,9 +1074,9 @@ const un = /* @__PURE__ */ d("$ZodJWT", (e, o) => {
1074
1074
  inst: e
1075
1075
  }), t;
1076
1076
  };
1077
- }), hn = /* @__PURE__ */ d("$ZodUnknown", (e, o) => {
1077
+ }), hn = /* @__PURE__ */ f("$ZodUnknown", (e, o) => {
1078
1078
  Z.init(e, o), e._zod.parse = (t) => t;
1079
- }), mn = /* @__PURE__ */ d("$ZodNever", (e, o) => {
1079
+ }), mn = /* @__PURE__ */ f("$ZodNever", (e, o) => {
1080
1080
  Z.init(e, o), e._zod.parse = (t, n) => (t.issues.push({
1081
1081
  expected: "never",
1082
1082
  code: "invalid_type",
@@ -1085,9 +1085,9 @@ const un = /* @__PURE__ */ d("$ZodJWT", (e, o) => {
1085
1085
  }), t);
1086
1086
  });
1087
1087
  function Oe(e, o, t) {
1088
- e.issues.length && o.issues.push(...V(t, e.issues)), o.value[t] = e.value;
1088
+ e.issues.length && o.issues.push(...B(t, e.issues)), o.value[t] = e.value;
1089
1089
  }
1090
- const gn = /* @__PURE__ */ d("$ZodArray", (e, o) => {
1090
+ const gn = /* @__PURE__ */ f("$ZodArray", (e, o) => {
1091
1091
  Z.init(e, o), e._zod.parse = (t, n) => {
1092
1092
  const r = t.value;
1093
1093
  if (!Array.isArray(r))
@@ -1098,22 +1098,22 @@ const gn = /* @__PURE__ */ d("$ZodArray", (e, o) => {
1098
1098
  inst: e
1099
1099
  }), t;
1100
1100
  t.value = Array(r.length);
1101
- const a = [];
1102
- for (let i = 0; i < r.length; i++) {
1103
- const l = r[i], u = o.element._zod.run({
1101
+ const s = [];
1102
+ for (let a = 0; a < r.length; a++) {
1103
+ const l = r[a], u = o.element._zod.run({
1104
1104
  value: l,
1105
1105
  issues: []
1106
1106
  }, n);
1107
- u instanceof Promise ? a.push(u.then((p) => Oe(p, t, i))) : Oe(u, t, i);
1107
+ u instanceof Promise ? s.push(u.then((d) => Oe(d, t, a))) : Oe(u, t, a);
1108
1108
  }
1109
- return a.length ? Promise.all(a).then(() => t) : t;
1109
+ return s.length ? Promise.all(s).then(() => t) : t;
1110
1110
  };
1111
1111
  });
1112
1112
  function se(e, o, t, n, r) {
1113
1113
  if (e.issues.length) {
1114
1114
  if (r && !(t in n))
1115
1115
  return;
1116
- o.issues.push(...V(t, e.issues));
1116
+ o.issues.push(...B(t, e.issues));
1117
1117
  }
1118
1118
  e.value === void 0 ? t in n && (o.value[t] = void 0) : o.value[t] = e.value;
1119
1119
  }
@@ -1122,7 +1122,7 @@ function uo(e) {
1122
1122
  for (const n of o)
1123
1123
  if (!e.shape?.[n]?._zod?.traits?.has("$ZodType"))
1124
1124
  throw new Error(`Invalid element at key "${n}": expected a Zod schema`);
1125
- const t = Eo(e.shape);
1125
+ const t = Co(e.shape);
1126
1126
  return {
1127
1127
  ...e,
1128
1128
  keys: o,
@@ -1131,26 +1131,26 @@ function uo(e) {
1131
1131
  optionalKeys: new Set(t)
1132
1132
  };
1133
1133
  }
1134
- function po(e, o, t, n, r, a) {
1135
- const i = [], l = r.keySet, u = r.catchall._zod, p = u.def.type, h = u.optout === "optional";
1134
+ function po(e, o, t, n, r, s) {
1135
+ const a = [], l = r.keySet, u = r.catchall._zod, d = u.def.type, m = u.optout === "optional";
1136
1136
  for (const v in o) {
1137
1137
  if (l.has(v))
1138
1138
  continue;
1139
- if (p === "never") {
1140
- i.push(v);
1139
+ if (d === "never") {
1140
+ a.push(v);
1141
1141
  continue;
1142
1142
  }
1143
1143
  const w = u.run({ value: o[v], issues: [] }, n);
1144
- w instanceof Promise ? e.push(w.then((S) => se(S, t, v, o, h))) : se(w, t, v, o, h);
1144
+ w instanceof Promise ? e.push(w.then((S) => se(S, t, v, o, m))) : se(w, t, v, o, m);
1145
1145
  }
1146
- return i.length && t.issues.push({
1146
+ return a.length && t.issues.push({
1147
1147
  code: "unrecognized_keys",
1148
- keys: i,
1148
+ keys: a,
1149
1149
  input: o,
1150
- inst: a
1150
+ inst: s
1151
1151
  }), e.length ? Promise.all(e).then(() => t) : t;
1152
1152
  }
1153
- const _n = /* @__PURE__ */ d("$ZodObject", (e, o) => {
1153
+ const _n = /* @__PURE__ */ f("$ZodObject", (e, o) => {
1154
1154
  if (Z.init(e, o), !Object.getOwnPropertyDescriptor(o, "shape")?.get) {
1155
1155
  const l = o.shape;
1156
1156
  Object.defineProperty(o, "shape", {
@@ -1165,98 +1165,98 @@ const _n = /* @__PURE__ */ d("$ZodObject", (e, o) => {
1165
1165
  const n = be(() => uo(o));
1166
1166
  $(e._zod, "propValues", () => {
1167
1167
  const l = o.shape, u = {};
1168
- for (const p in l) {
1169
- const h = l[p]._zod;
1170
- if (h.values) {
1171
- u[p] ?? (u[p] = /* @__PURE__ */ new Set());
1172
- for (const v of h.values)
1173
- u[p].add(v);
1168
+ for (const d in l) {
1169
+ const m = l[d]._zod;
1170
+ if (m.values) {
1171
+ u[d] ?? (u[d] = /* @__PURE__ */ new Set());
1172
+ for (const v of m.values)
1173
+ u[d].add(v);
1174
1174
  }
1175
1175
  }
1176
1176
  return u;
1177
1177
  });
1178
- const r = ae, a = o.catchall;
1179
- let i;
1178
+ const r = ae, s = o.catchall;
1179
+ let a;
1180
1180
  e._zod.parse = (l, u) => {
1181
- i ?? (i = n.value);
1182
- const p = l.value;
1183
- if (!r(p))
1181
+ a ?? (a = n.value);
1182
+ const d = l.value;
1183
+ if (!r(d))
1184
1184
  return l.issues.push({
1185
1185
  expected: "object",
1186
1186
  code: "invalid_type",
1187
- input: p,
1187
+ input: d,
1188
1188
  inst: e
1189
1189
  }), l;
1190
1190
  l.value = {};
1191
- const h = [], v = i.shape;
1192
- for (const w of i.keys) {
1193
- const S = v[w], E = S._zod.optout === "optional", N = S._zod.run({ value: p[w], issues: [] }, u);
1194
- N instanceof Promise ? h.push(N.then((ee) => se(ee, l, w, p, E))) : se(N, l, w, p, E);
1191
+ const m = [], v = a.shape;
1192
+ for (const w of a.keys) {
1193
+ const S = v[w], E = S._zod.optout === "optional", C = S._zod.run({ value: d[w], issues: [] }, u);
1194
+ C instanceof Promise ? m.push(C.then((ee) => se(ee, l, w, d, E))) : se(C, l, w, d, E);
1195
1195
  }
1196
- return a ? po(h, p, l, u, n.value, e) : h.length ? Promise.all(h).then(() => l) : l;
1196
+ return s ? po(m, d, l, u, n.value, e) : m.length ? Promise.all(m).then(() => l) : l;
1197
1197
  };
1198
- }), vn = /* @__PURE__ */ d("$ZodObjectJIT", (e, o) => {
1198
+ }), vn = /* @__PURE__ */ f("$ZodObjectJIT", (e, o) => {
1199
1199
  _n.init(e, o);
1200
1200
  const t = e._zod.parse, n = be(() => uo(o)), r = (w) => {
1201
- const S = new Rt(["shape", "payload", "ctx"]), E = n.value, N = (D) => {
1202
- const A = Pe(D);
1203
- return `shape[${A}]._zod.run({ value: input[${A}], issues: [] }, ctx)`;
1201
+ const S = new Rt(["shape", "payload", "ctx"]), E = n.value, C = (F) => {
1202
+ const x = Pe(F);
1203
+ return `shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`;
1204
1204
  };
1205
1205
  S.write("const input = payload.value;");
1206
1206
  const ee = /* @__PURE__ */ Object.create(null);
1207
1207
  let $o = 0;
1208
- for (const D of E.keys)
1209
- ee[D] = `key_${$o++}`;
1208
+ for (const F of E.keys)
1209
+ ee[F] = `key_${$o++}`;
1210
1210
  S.write("const newResult = {};");
1211
- for (const D of E.keys) {
1212
- const A = ee[D], R = Pe(D), Po = w[D]?._zod?.optout === "optional";
1213
- S.write(`const ${A} = ${N(D)};`), Po ? S.write(`
1214
- if (${A}.issues.length) {
1215
- if (${R} in input) {
1216
- payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
1211
+ for (const F of E.keys) {
1212
+ const x = ee[F], D = Pe(F), Po = w[F]?._zod?.optout === "optional";
1213
+ S.write(`const ${x} = ${C(F)};`), Po ? S.write(`
1214
+ if (${x}.issues.length) {
1215
+ if (${D} in input) {
1216
+ payload.issues = payload.issues.concat(${x}.issues.map(iss => ({
1217
1217
  ...iss,
1218
- path: iss.path ? [${R}, ...iss.path] : [${R}]
1218
+ path: iss.path ? [${D}, ...iss.path] : [${D}]
1219
1219
  })));
1220
1220
  }
1221
1221
  }
1222
1222
 
1223
- if (${A}.value === undefined) {
1224
- if (${R} in input) {
1225
- newResult[${R}] = undefined;
1223
+ if (${x}.value === undefined) {
1224
+ if (${D} in input) {
1225
+ newResult[${D}] = undefined;
1226
1226
  }
1227
1227
  } else {
1228
- newResult[${R}] = ${A}.value;
1228
+ newResult[${D}] = ${x}.value;
1229
1229
  }
1230
1230
 
1231
1231
  `) : S.write(`
1232
- if (${A}.issues.length) {
1233
- payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
1232
+ if (${x}.issues.length) {
1233
+ payload.issues = payload.issues.concat(${x}.issues.map(iss => ({
1234
1234
  ...iss,
1235
- path: iss.path ? [${R}, ...iss.path] : [${R}]
1235
+ path: iss.path ? [${D}, ...iss.path] : [${D}]
1236
1236
  })));
1237
1237
  }
1238
1238
 
1239
- if (${A}.value === undefined) {
1240
- if (${R} in input) {
1241
- newResult[${R}] = undefined;
1239
+ if (${x}.value === undefined) {
1240
+ if (${D} in input) {
1241
+ newResult[${D}] = undefined;
1242
1242
  }
1243
1243
  } else {
1244
- newResult[${R}] = ${A}.value;
1244
+ newResult[${D}] = ${x}.value;
1245
1245
  }
1246
1246
 
1247
1247
  `);
1248
1248
  }
1249
1249
  S.write("payload.value = newResult;"), S.write("return payload;");
1250
1250
  const Zo = S.compile();
1251
- return (D, A) => Zo(w, D, A);
1251
+ return (F, x) => Zo(w, F, x);
1252
1252
  };
1253
- let a;
1254
- const i = ae, l = !qe.jitless, p = l && Io.value, h = o.catchall;
1253
+ let s;
1254
+ const a = ae, l = !qe.jitless, d = l && No.value, m = o.catchall;
1255
1255
  let v;
1256
1256
  e._zod.parse = (w, S) => {
1257
1257
  v ?? (v = n.value);
1258
1258
  const E = w.value;
1259
- return i(E) ? l && p && S?.async === !1 && S.jitless !== !0 ? (a || (a = r(o.shape)), w = a(w, S), h ? po([], E, w, S, v, e) : w) : t(w, S) : (w.issues.push({
1259
+ return a(E) ? l && d && S?.async === !1 && S.jitless !== !0 ? (s || (s = r(o.shape)), w = s(w, S), m ? po([], E, w, S, v, e) : w) : t(w, S) : (w.issues.push({
1260
1260
  expected: "object",
1261
1261
  code: "invalid_type",
1262
1262
  input: E,
@@ -1264,53 +1264,53 @@ const _n = /* @__PURE__ */ d("$ZodObject", (e, o) => {
1264
1264
  }), w);
1265
1265
  };
1266
1266
  });
1267
- function Ie(e, o, t, n) {
1268
- for (const a of e)
1269
- if (a.issues.length === 0)
1270
- return o.value = a.value, o;
1271
- const r = e.filter((a) => !G(a));
1267
+ function Ne(e, o, t, n) {
1268
+ for (const s of e)
1269
+ if (s.issues.length === 0)
1270
+ return o.value = s.value, o;
1271
+ const r = e.filter((s) => !G(s));
1272
1272
  return r.length === 1 ? (o.value = r[0].value, r[0]) : (o.issues.push({
1273
1273
  code: "invalid_union",
1274
1274
  input: o.value,
1275
1275
  inst: t,
1276
- errors: e.map((a) => a.issues.map((i) => L(i, n, F())))
1276
+ errors: e.map((s) => s.issues.map((a) => L(a, n, M())))
1277
1277
  }), o);
1278
1278
  }
1279
- const bn = /* @__PURE__ */ d("$ZodUnion", (e, o) => {
1279
+ const bn = /* @__PURE__ */ f("$ZodUnion", (e, o) => {
1280
1280
  Z.init(e, o), $(e._zod, "optin", () => o.options.some((r) => r._zod.optin === "optional") ? "optional" : void 0), $(e._zod, "optout", () => o.options.some((r) => r._zod.optout === "optional") ? "optional" : void 0), $(e._zod, "values", () => {
1281
1281
  if (o.options.every((r) => r._zod.values))
1282
1282
  return new Set(o.options.flatMap((r) => Array.from(r._zod.values)));
1283
1283
  }), $(e._zod, "pattern", () => {
1284
1284
  if (o.options.every((r) => r._zod.pattern)) {
1285
- const r = o.options.map((a) => a._zod.pattern);
1286
- return new RegExp(`^(${r.map((a) => ze(a.source)).join("|")})$`);
1285
+ const r = o.options.map((s) => s._zod.pattern);
1286
+ return new RegExp(`^(${r.map((s) => ze(s.source)).join("|")})$`);
1287
1287
  }
1288
1288
  });
1289
1289
  const t = o.options.length === 1, n = o.options[0]._zod.run;
1290
- e._zod.parse = (r, a) => {
1290
+ e._zod.parse = (r, s) => {
1291
1291
  if (t)
1292
- return n(r, a);
1293
- let i = !1;
1292
+ return n(r, s);
1293
+ let a = !1;
1294
1294
  const l = [];
1295
1295
  for (const u of o.options) {
1296
- const p = u._zod.run({
1296
+ const d = u._zod.run({
1297
1297
  value: r.value,
1298
1298
  issues: []
1299
- }, a);
1300
- if (p instanceof Promise)
1301
- l.push(p), i = !0;
1299
+ }, s);
1300
+ if (d instanceof Promise)
1301
+ l.push(d), a = !0;
1302
1302
  else {
1303
- if (p.issues.length === 0)
1304
- return p;
1305
- l.push(p);
1303
+ if (d.issues.length === 0)
1304
+ return d;
1305
+ l.push(d);
1306
1306
  }
1307
1307
  }
1308
- return i ? Promise.all(l).then((u) => Ie(u, r, e, a)) : Ie(l, r, e, a);
1308
+ return a ? Promise.all(l).then((u) => Ne(u, r, e, s)) : Ne(l, r, e, s);
1309
1309
  };
1310
- }), yn = /* @__PURE__ */ d("$ZodIntersection", (e, o) => {
1310
+ }), yn = /* @__PURE__ */ f("$ZodIntersection", (e, o) => {
1311
1311
  Z.init(e, o), e._zod.parse = (t, n) => {
1312
- const r = t.value, a = o.left._zod.run({ value: r, issues: [] }, n), i = o.right._zod.run({ value: r, issues: [] }, n);
1313
- return a instanceof Promise || i instanceof Promise ? Promise.all([a, i]).then(([u, p]) => Ne(t, u, p)) : Ne(t, a, i);
1312
+ const r = t.value, s = o.left._zod.run({ value: r, issues: [] }, n), a = o.right._zod.run({ value: r, issues: [] }, n);
1313
+ return s instanceof Promise || a instanceof Promise ? Promise.all([s, a]).then(([u, d]) => Ie(t, u, d)) : Ie(t, s, a);
1314
1314
  };
1315
1315
  });
1316
1316
  function _e(e, o) {
@@ -1319,15 +1319,15 @@ function _e(e, o) {
1319
1319
  if (e instanceof Date && o instanceof Date && +e == +o)
1320
1320
  return { valid: !0, data: e };
1321
1321
  if (K(e) && K(o)) {
1322
- const t = Object.keys(o), n = Object.keys(e).filter((a) => t.indexOf(a) !== -1), r = { ...e, ...o };
1323
- for (const a of n) {
1324
- const i = _e(e[a], o[a]);
1325
- if (!i.valid)
1322
+ const t = Object.keys(o), n = Object.keys(e).filter((s) => t.indexOf(s) !== -1), r = { ...e, ...o };
1323
+ for (const s of n) {
1324
+ const a = _e(e[s], o[s]);
1325
+ if (!a.valid)
1326
1326
  return {
1327
1327
  valid: !1,
1328
- mergeErrorPath: [a, ...i.mergeErrorPath]
1328
+ mergeErrorPath: [s, ...a.mergeErrorPath]
1329
1329
  };
1330
- r[a] = i.data;
1330
+ r[s] = a.data;
1331
1331
  }
1332
1332
  return { valid: !0, data: r };
1333
1333
  }
@@ -1336,19 +1336,19 @@ function _e(e, o) {
1336
1336
  return { valid: !1, mergeErrorPath: [] };
1337
1337
  const t = [];
1338
1338
  for (let n = 0; n < e.length; n++) {
1339
- const r = e[n], a = o[n], i = _e(r, a);
1340
- if (!i.valid)
1339
+ const r = e[n], s = o[n], a = _e(r, s);
1340
+ if (!a.valid)
1341
1341
  return {
1342
1342
  valid: !1,
1343
- mergeErrorPath: [n, ...i.mergeErrorPath]
1343
+ mergeErrorPath: [n, ...a.mergeErrorPath]
1344
1344
  };
1345
- t.push(i.data);
1345
+ t.push(a.data);
1346
1346
  }
1347
1347
  return { valid: !0, data: t };
1348
1348
  }
1349
1349
  return { valid: !1, mergeErrorPath: [] };
1350
1350
  }
1351
- function Ne(e, o, t) {
1351
+ function Ie(e, o, t) {
1352
1352
  const n = /* @__PURE__ */ new Map();
1353
1353
  let r;
1354
1354
  for (const l of o.issues)
@@ -1364,66 +1364,66 @@ function Ne(e, o, t) {
1364
1364
  n.has(u) || n.set(u, {}), n.get(u).r = !0;
1365
1365
  else
1366
1366
  e.issues.push(l);
1367
- const a = [...n].filter(([, l]) => l.l && l.r).map(([l]) => l);
1368
- if (a.length && r && e.issues.push({ ...r, keys: a }), G(e))
1367
+ const s = [...n].filter(([, l]) => l.l && l.r).map(([l]) => l);
1368
+ if (s.length && r && e.issues.push({ ...r, keys: s }), G(e))
1369
1369
  return e;
1370
- const i = _e(o.value, t.value);
1371
- if (!i.valid)
1372
- throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`);
1373
- return e.value = i.data, e;
1370
+ const a = _e(o.value, t.value);
1371
+ if (!a.valid)
1372
+ throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);
1373
+ return e.value = a.data, e;
1374
1374
  }
1375
- const zn = /* @__PURE__ */ d("$ZodTuple", (e, o) => {
1375
+ const zn = /* @__PURE__ */ f("$ZodTuple", (e, o) => {
1376
1376
  Z.init(e, o);
1377
1377
  const t = o.items;
1378
1378
  e._zod.parse = (n, r) => {
1379
- const a = n.value;
1380
- if (!Array.isArray(a))
1379
+ const s = n.value;
1380
+ if (!Array.isArray(s))
1381
1381
  return n.issues.push({
1382
- input: a,
1382
+ input: s,
1383
1383
  inst: e,
1384
1384
  expected: "tuple",
1385
1385
  code: "invalid_type"
1386
1386
  }), n;
1387
1387
  n.value = [];
1388
- const i = [], l = [...t].reverse().findIndex((h) => h._zod.optin !== "optional"), u = l === -1 ? 0 : t.length - l;
1388
+ const a = [], l = [...t].reverse().findIndex((m) => m._zod.optin !== "optional"), u = l === -1 ? 0 : t.length - l;
1389
1389
  if (!o.rest) {
1390
- const h = a.length > t.length, v = a.length < u - 1;
1391
- if (h || v)
1390
+ const m = s.length > t.length, v = s.length < u - 1;
1391
+ if (m || v)
1392
1392
  return n.issues.push({
1393
- ...h ? { code: "too_big", maximum: t.length, inclusive: !0 } : { code: "too_small", minimum: t.length },
1394
- input: a,
1393
+ ...m ? { code: "too_big", maximum: t.length, inclusive: !0 } : { code: "too_small", minimum: t.length },
1394
+ input: s,
1395
1395
  inst: e,
1396
1396
  origin: "array"
1397
1397
  }), n;
1398
1398
  }
1399
- let p = -1;
1400
- for (const h of t) {
1401
- if (p++, p >= a.length && p >= u)
1399
+ let d = -1;
1400
+ for (const m of t) {
1401
+ if (d++, d >= s.length && d >= u)
1402
1402
  continue;
1403
- const v = h._zod.run({
1404
- value: a[p],
1403
+ const v = m._zod.run({
1404
+ value: s[d],
1405
1405
  issues: []
1406
1406
  }, r);
1407
- v instanceof Promise ? i.push(v.then((w) => te(w, n, p))) : te(v, n, p);
1407
+ v instanceof Promise ? a.push(v.then((w) => te(w, n, d))) : te(v, n, d);
1408
1408
  }
1409
1409
  if (o.rest) {
1410
- const h = a.slice(t.length);
1411
- for (const v of h) {
1412
- p++;
1410
+ const m = s.slice(t.length);
1411
+ for (const v of m) {
1412
+ d++;
1413
1413
  const w = o.rest._zod.run({
1414
1414
  value: v,
1415
1415
  issues: []
1416
1416
  }, r);
1417
- w instanceof Promise ? i.push(w.then((S) => te(S, n, p))) : te(w, n, p);
1417
+ w instanceof Promise ? a.push(w.then((S) => te(S, n, d))) : te(w, n, d);
1418
1418
  }
1419
1419
  }
1420
- return i.length ? Promise.all(i).then(() => n) : n;
1420
+ return a.length ? Promise.all(a).then(() => n) : n;
1421
1421
  };
1422
1422
  });
1423
1423
  function te(e, o, t) {
1424
- e.issues.length && o.issues.push(...V(t, e.issues)), o.value[t] = e.value;
1424
+ e.issues.length && o.issues.push(...B(t, e.issues)), o.value[t] = e.value;
1425
1425
  }
1426
- const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
1426
+ const kn = /* @__PURE__ */ f("$ZodRecord", (e, o) => {
1427
1427
  Z.init(e, o), e._zod.parse = (t, n) => {
1428
1428
  const r = t.value;
1429
1429
  if (!K(r))
@@ -1433,21 +1433,21 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
1433
1433
  input: r,
1434
1434
  inst: e
1435
1435
  }), t;
1436
- const a = [], i = o.keyType._zod.values;
1437
- if (i) {
1436
+ const s = [], a = o.keyType._zod.values;
1437
+ if (a) {
1438
1438
  t.value = {};
1439
1439
  const l = /* @__PURE__ */ new Set();
1440
- for (const p of i)
1441
- if (typeof p == "string" || typeof p == "number" || typeof p == "symbol") {
1442
- l.add(typeof p == "number" ? p.toString() : p);
1443
- const h = o.valueType._zod.run({ value: r[p], issues: [] }, n);
1444
- h instanceof Promise ? a.push(h.then((v) => {
1445
- v.issues.length && t.issues.push(...V(p, v.issues)), t.value[p] = v.value;
1446
- })) : (h.issues.length && t.issues.push(...V(p, h.issues)), t.value[p] = h.value);
1440
+ for (const d of a)
1441
+ if (typeof d == "string" || typeof d == "number" || typeof d == "symbol") {
1442
+ l.add(typeof d == "number" ? d.toString() : d);
1443
+ const m = o.valueType._zod.run({ value: r[d], issues: [] }, n);
1444
+ m instanceof Promise ? s.push(m.then((v) => {
1445
+ v.issues.length && t.issues.push(...B(d, v.issues)), t.value[d] = v.value;
1446
+ })) : (m.issues.length && t.issues.push(...B(d, m.issues)), t.value[d] = m.value);
1447
1447
  }
1448
1448
  let u;
1449
- for (const p in r)
1450
- l.has(p) || (u = u ?? [], u.push(p));
1449
+ for (const d in r)
1450
+ l.has(d) || (u = u ?? [], u.push(d));
1451
1451
  u && u.length > 0 && t.issues.push({
1452
1452
  code: "unrecognized_keys",
1453
1453
  input: r,
@@ -1472,88 +1472,88 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
1472
1472
  o.mode === "loose" ? t.value[l] = r[l] : t.issues.push({
1473
1473
  code: "invalid_key",
1474
1474
  origin: "record",
1475
- issues: u.issues.map((v) => L(v, n, F())),
1475
+ issues: u.issues.map((v) => L(v, n, M())),
1476
1476
  input: l,
1477
1477
  path: [l],
1478
1478
  inst: e
1479
1479
  });
1480
1480
  continue;
1481
1481
  }
1482
- const h = o.valueType._zod.run({ value: r[l], issues: [] }, n);
1483
- h instanceof Promise ? a.push(h.then((v) => {
1484
- v.issues.length && t.issues.push(...V(l, v.issues)), t.value[u.value] = v.value;
1485
- })) : (h.issues.length && t.issues.push(...V(l, h.issues)), t.value[u.value] = h.value);
1482
+ const m = o.valueType._zod.run({ value: r[l], issues: [] }, n);
1483
+ m instanceof Promise ? s.push(m.then((v) => {
1484
+ v.issues.length && t.issues.push(...B(l, v.issues)), t.value[u.value] = v.value;
1485
+ })) : (m.issues.length && t.issues.push(...B(l, m.issues)), t.value[u.value] = m.value);
1486
1486
  }
1487
1487
  }
1488
- return a.length ? Promise.all(a).then(() => t) : t;
1488
+ return s.length ? Promise.all(s).then(() => t) : t;
1489
1489
  };
1490
- }), wn = /* @__PURE__ */ d("$ZodEnum", (e, o) => {
1490
+ }), wn = /* @__PURE__ */ f("$ZodEnum", (e, o) => {
1491
1491
  Z.init(e, o);
1492
1492
  const t = Ke(o.entries), n = new Set(t);
1493
- e._zod.values = n, e._zod.pattern = new RegExp(`^(${t.filter((r) => No.has(typeof r)).map((r) => typeof r == "string" ? ue(r) : r.toString()).join("|")})$`), e._zod.parse = (r, a) => {
1494
- const i = r.value;
1495
- return n.has(i) || r.issues.push({
1493
+ e._zod.values = n, e._zod.pattern = new RegExp(`^(${t.filter((r) => Io.has(typeof r)).map((r) => typeof r == "string" ? ue(r) : r.toString()).join("|")})$`), e._zod.parse = (r, s) => {
1494
+ const a = r.value;
1495
+ return n.has(a) || r.issues.push({
1496
1496
  code: "invalid_value",
1497
1497
  values: t,
1498
- input: i,
1498
+ input: a,
1499
1499
  inst: e
1500
1500
  }), r;
1501
1501
  };
1502
- }), Sn = /* @__PURE__ */ d("$ZodTransform", (e, o) => {
1502
+ }), Sn = /* @__PURE__ */ f("$ZodTransform", (e, o) => {
1503
1503
  Z.init(e, o), e._zod.parse = (t, n) => {
1504
1504
  if (n.direction === "backward")
1505
1505
  throw new Ge(e.constructor.name);
1506
1506
  const r = o.transform(t.value, t);
1507
1507
  if (n.async)
1508
- return (r instanceof Promise ? r : Promise.resolve(r)).then((i) => (t.value = i, t));
1508
+ return (r instanceof Promise ? r : Promise.resolve(r)).then((a) => (t.value = a, t));
1509
1509
  if (r instanceof Promise)
1510
1510
  throw new q();
1511
1511
  return t.value = r, t;
1512
1512
  };
1513
1513
  });
1514
- function Ee(e, o) {
1514
+ function Ce(e, o) {
1515
1515
  return e.issues.length && o === void 0 ? { issues: [], value: void 0 } : e;
1516
1516
  }
1517
- const fo = /* @__PURE__ */ d("$ZodOptional", (e, o) => {
1517
+ const fo = /* @__PURE__ */ f("$ZodOptional", (e, o) => {
1518
1518
  Z.init(e, o), e._zod.optin = "optional", e._zod.optout = "optional", $(e._zod, "values", () => o.innerType._zod.values ? /* @__PURE__ */ new Set([...o.innerType._zod.values, void 0]) : void 0), $(e._zod, "pattern", () => {
1519
1519
  const t = o.innerType._zod.pattern;
1520
1520
  return t ? new RegExp(`^(${ze(t.source)})?$`) : void 0;
1521
1521
  }), e._zod.parse = (t, n) => {
1522
1522
  if (o.innerType._zod.optin === "optional") {
1523
1523
  const r = o.innerType._zod.run(t, n);
1524
- return r instanceof Promise ? r.then((a) => Ee(a, t.value)) : Ee(r, t.value);
1524
+ return r instanceof Promise ? r.then((s) => Ce(s, t.value)) : Ce(r, t.value);
1525
1525
  }
1526
1526
  return t.value === void 0 ? t : o.innerType._zod.run(t, n);
1527
1527
  };
1528
- }), $n = /* @__PURE__ */ d("$ZodExactOptional", (e, o) => {
1528
+ }), $n = /* @__PURE__ */ f("$ZodExactOptional", (e, o) => {
1529
1529
  fo.init(e, o), $(e._zod, "values", () => o.innerType._zod.values), $(e._zod, "pattern", () => o.innerType._zod.pattern), e._zod.parse = (t, n) => o.innerType._zod.run(t, n);
1530
- }), Zn = /* @__PURE__ */ d("$ZodNullable", (e, o) => {
1530
+ }), Zn = /* @__PURE__ */ f("$ZodNullable", (e, o) => {
1531
1531
  Z.init(e, o), $(e._zod, "optin", () => o.innerType._zod.optin), $(e._zod, "optout", () => o.innerType._zod.optout), $(e._zod, "pattern", () => {
1532
1532
  const t = o.innerType._zod.pattern;
1533
1533
  return t ? new RegExp(`^(${ze(t.source)}|null)$`) : void 0;
1534
1534
  }), $(e._zod, "values", () => o.innerType._zod.values ? /* @__PURE__ */ new Set([...o.innerType._zod.values, null]) : void 0), e._zod.parse = (t, n) => t.value === null ? t : o.innerType._zod.run(t, n);
1535
- }), Pn = /* @__PURE__ */ d("$ZodDefault", (e, o) => {
1535
+ }), Pn = /* @__PURE__ */ f("$ZodDefault", (e, o) => {
1536
1536
  Z.init(e, o), e._zod.optin = "optional", $(e._zod, "values", () => o.innerType._zod.values), e._zod.parse = (t, n) => {
1537
1537
  if (n.direction === "backward")
1538
1538
  return o.innerType._zod.run(t, n);
1539
1539
  if (t.value === void 0)
1540
1540
  return t.value = o.defaultValue, t;
1541
1541
  const r = o.innerType._zod.run(t, n);
1542
- return r instanceof Promise ? r.then((a) => Ce(a, o)) : Ce(r, o);
1542
+ return r instanceof Promise ? r.then((s) => Ee(s, o)) : Ee(r, o);
1543
1543
  };
1544
1544
  });
1545
- function Ce(e, o) {
1545
+ function Ee(e, o) {
1546
1546
  return e.value === void 0 && (e.value = o.defaultValue), e;
1547
1547
  }
1548
- const Tn = /* @__PURE__ */ d("$ZodPrefault", (e, o) => {
1548
+ const Tn = /* @__PURE__ */ f("$ZodPrefault", (e, o) => {
1549
1549
  Z.init(e, o), e._zod.optin = "optional", $(e._zod, "values", () => o.innerType._zod.values), e._zod.parse = (t, n) => (n.direction === "backward" || t.value === void 0 && (t.value = o.defaultValue), o.innerType._zod.run(t, n));
1550
- }), On = /* @__PURE__ */ d("$ZodNonOptional", (e, o) => {
1550
+ }), On = /* @__PURE__ */ f("$ZodNonOptional", (e, o) => {
1551
1551
  Z.init(e, o), $(e._zod, "values", () => {
1552
1552
  const t = o.innerType._zod.values;
1553
1553
  return t ? new Set([...t].filter((n) => n !== void 0)) : void 0;
1554
1554
  }), e._zod.parse = (t, n) => {
1555
1555
  const r = o.innerType._zod.run(t, n);
1556
- return r instanceof Promise ? r.then((a) => Ae(a, e)) : Ae(r, e);
1556
+ return r instanceof Promise ? r.then((s) => Ae(s, e)) : Ae(r, e);
1557
1557
  };
1558
1558
  });
1559
1559
  function Ae(e, o) {
@@ -1564,39 +1564,39 @@ function Ae(e, o) {
1564
1564
  inst: o
1565
1565
  }), e;
1566
1566
  }
1567
- const In = /* @__PURE__ */ d("$ZodCatch", (e, o) => {
1567
+ const Nn = /* @__PURE__ */ f("$ZodCatch", (e, o) => {
1568
1568
  Z.init(e, o), $(e._zod, "optin", () => o.innerType._zod.optin), $(e._zod, "optout", () => o.innerType._zod.optout), $(e._zod, "values", () => o.innerType._zod.values), e._zod.parse = (t, n) => {
1569
1569
  if (n.direction === "backward")
1570
1570
  return o.innerType._zod.run(t, n);
1571
1571
  const r = o.innerType._zod.run(t, n);
1572
- return r instanceof Promise ? r.then((a) => (t.value = a.value, a.issues.length && (t.value = o.catchValue({
1572
+ return r instanceof Promise ? r.then((s) => (t.value = s.value, s.issues.length && (t.value = o.catchValue({
1573
1573
  ...t,
1574
1574
  error: {
1575
- issues: a.issues.map((i) => L(i, n, F()))
1575
+ issues: s.issues.map((a) => L(a, n, M()))
1576
1576
  },
1577
1577
  input: t.value
1578
1578
  }), t.issues = []), t)) : (t.value = r.value, r.issues.length && (t.value = o.catchValue({
1579
1579
  ...t,
1580
1580
  error: {
1581
- issues: r.issues.map((a) => L(a, n, F()))
1581
+ issues: r.issues.map((s) => L(s, n, M()))
1582
1582
  },
1583
1583
  input: t.value
1584
1584
  }), t.issues = []), t);
1585
1585
  };
1586
- }), Nn = /* @__PURE__ */ d("$ZodPipe", (e, o) => {
1586
+ }), In = /* @__PURE__ */ f("$ZodPipe", (e, o) => {
1587
1587
  Z.init(e, o), $(e._zod, "values", () => o.in._zod.values), $(e._zod, "optin", () => o.in._zod.optin), $(e._zod, "optout", () => o.out._zod.optout), $(e._zod, "propValues", () => o.in._zod.propValues), e._zod.parse = (t, n) => {
1588
1588
  if (n.direction === "backward") {
1589
- const a = o.out._zod.run(t, n);
1590
- return a instanceof Promise ? a.then((i) => ne(i, o.in, n)) : ne(a, o.in, n);
1589
+ const s = o.out._zod.run(t, n);
1590
+ return s instanceof Promise ? s.then((a) => ne(a, o.in, n)) : ne(s, o.in, n);
1591
1591
  }
1592
1592
  const r = o.in._zod.run(t, n);
1593
- return r instanceof Promise ? r.then((a) => ne(a, o.out, n)) : ne(r, o.out, n);
1593
+ return r instanceof Promise ? r.then((s) => ne(s, o.out, n)) : ne(r, o.out, n);
1594
1594
  };
1595
1595
  });
1596
1596
  function ne(e, o, t) {
1597
1597
  return e.issues.length ? (e.aborted = !0, e) : o._zod.run({ value: e.value, issues: e.issues }, t);
1598
1598
  }
1599
- const En = /* @__PURE__ */ d("$ZodReadonly", (e, o) => {
1599
+ const Cn = /* @__PURE__ */ f("$ZodReadonly", (e, o) => {
1600
1600
  Z.init(e, o), $(e._zod, "propValues", () => o.innerType._zod.propValues), $(e._zod, "values", () => o.innerType._zod.values), $(e._zod, "optin", () => o.innerType?._zod?.optin), $(e._zod, "optout", () => o.innerType?._zod?.optout), e._zod.parse = (t, n) => {
1601
1601
  if (n.direction === "backward")
1602
1602
  return o.innerType._zod.run(t, n);
@@ -1607,13 +1607,13 @@ const En = /* @__PURE__ */ d("$ZodReadonly", (e, o) => {
1607
1607
  function xe(e) {
1608
1608
  return e.value = Object.freeze(e.value), e;
1609
1609
  }
1610
- const Cn = /* @__PURE__ */ d("$ZodLazy", (e, o) => {
1610
+ const En = /* @__PURE__ */ f("$ZodLazy", (e, o) => {
1611
1611
  Z.init(e, o), $(e._zod, "innerType", () => o.getter()), $(e._zod, "pattern", () => e._zod.innerType?._zod?.pattern), $(e._zod, "propValues", () => e._zod.innerType?._zod?.propValues), $(e._zod, "optin", () => e._zod.innerType?._zod?.optin ?? void 0), $(e._zod, "optout", () => e._zod.innerType?._zod?.optout ?? void 0), e._zod.parse = (t, n) => e._zod.innerType._zod.run(t, n);
1612
- }), An = /* @__PURE__ */ d("$ZodCustom", (e, o) => {
1613
- x.init(e, o), Z.init(e, o), e._zod.parse = (t, n) => t, e._zod.check = (t) => {
1612
+ }), An = /* @__PURE__ */ f("$ZodCustom", (e, o) => {
1613
+ j.init(e, o), Z.init(e, o), e._zod.parse = (t, n) => t, e._zod.check = (t) => {
1614
1614
  const n = t.value, r = o.fn(n);
1615
1615
  if (r instanceof Promise)
1616
- return r.then((a) => je(a, t, n, e));
1616
+ return r.then((s) => je(s, t, n, e));
1617
1617
  je(r, t, n, e);
1618
1618
  };
1619
1619
  });
@@ -1695,7 +1695,7 @@ function De(e, o) {
1695
1695
  });
1696
1696
  }
1697
1697
  // @__NO_SIDE_EFFECTS__
1698
- function Un(e, o) {
1698
+ function Fn(e, o) {
1699
1699
  return new e({
1700
1700
  type: "string",
1701
1701
  format: "uuid",
@@ -1705,7 +1705,7 @@ function Un(e, o) {
1705
1705
  });
1706
1706
  }
1707
1707
  // @__NO_SIDE_EFFECTS__
1708
- function Fn(e, o) {
1708
+ function Mn(e, o) {
1709
1709
  return new e({
1710
1710
  type: "string",
1711
1711
  format: "uuid",
@@ -1727,7 +1727,7 @@ function Ln(e, o) {
1727
1727
  });
1728
1728
  }
1729
1729
  // @__NO_SIDE_EFFECTS__
1730
- function Mn(e, o) {
1730
+ function Un(e, o) {
1731
1731
  return new e({
1732
1732
  type: "string",
1733
1733
  format: "uuid",
@@ -1748,7 +1748,7 @@ function Jn(e, o) {
1748
1748
  });
1749
1749
  }
1750
1750
  // @__NO_SIDE_EFFECTS__
1751
- function Vn(e, o) {
1751
+ function Bn(e, o) {
1752
1752
  return new e({
1753
1753
  type: "string",
1754
1754
  format: "emoji",
@@ -1758,7 +1758,7 @@ function Vn(e, o) {
1758
1758
  });
1759
1759
  }
1760
1760
  // @__NO_SIDE_EFFECTS__
1761
- function Bn(e, o) {
1761
+ function Vn(e, o) {
1762
1762
  return new e({
1763
1763
  type: "string",
1764
1764
  format: "nanoid",
@@ -1983,7 +1983,7 @@ function hr(e, o) {
1983
1983
  });
1984
1984
  }
1985
1985
  // @__NO_SIDE_EFFECTS__
1986
- function Ue(e, o) {
1986
+ function Fe(e, o) {
1987
1987
  return new ao({
1988
1988
  check: "less_than",
1989
1989
  ...k(o),
@@ -2001,7 +2001,7 @@ function he(e, o) {
2001
2001
  });
2002
2002
  }
2003
2003
  // @__NO_SIDE_EFFECTS__
2004
- function Fe(e, o) {
2004
+ function Me(e, o) {
2005
2005
  return new so({
2006
2006
  check: "greater_than",
2007
2007
  ...k(o),
@@ -2052,7 +2052,7 @@ function mo(e, o) {
2052
2052
  }
2053
2053
  // @__NO_SIDE_EFFECTS__
2054
2054
  function mr(e, o) {
2055
- return new It({
2055
+ return new Nt({
2056
2056
  check: "string_format",
2057
2057
  format: "regex",
2058
2058
  ...k(o),
@@ -2061,7 +2061,7 @@ function mr(e, o) {
2061
2061
  }
2062
2062
  // @__NO_SIDE_EFFECTS__
2063
2063
  function gr(e) {
2064
- return new Nt({
2064
+ return new It({
2065
2065
  check: "string_format",
2066
2066
  format: "lowercase",
2067
2067
  ...k(e)
@@ -2069,7 +2069,7 @@ function gr(e) {
2069
2069
  }
2070
2070
  // @__NO_SIDE_EFFECTS__
2071
2071
  function _r(e) {
2072
- return new Et({
2072
+ return new Ct({
2073
2073
  check: "string_format",
2074
2074
  format: "uppercase",
2075
2075
  ...k(e)
@@ -2077,7 +2077,7 @@ function _r(e) {
2077
2077
  }
2078
2078
  // @__NO_SIDE_EFFECTS__
2079
2079
  function vr(e, o) {
2080
- return new Ct({
2080
+ return new Et({
2081
2081
  check: "string_format",
2082
2082
  format: "includes",
2083
2083
  ...k(o),
@@ -2163,7 +2163,7 @@ function Tr(e) {
2163
2163
  }
2164
2164
  // @__NO_SIDE_EFFECTS__
2165
2165
  function Or(e, o) {
2166
- const t = new x({
2166
+ const t = new j({
2167
2167
  check: "custom",
2168
2168
  ...k(o)
2169
2169
  });
@@ -2188,102 +2188,102 @@ function go(e) {
2188
2188
  }
2189
2189
  function O(e, o, t = { path: [], schemaPath: [] }) {
2190
2190
  var n;
2191
- const r = e._zod.def, a = o.seen.get(e);
2192
- if (a)
2193
- return a.count++, t.schemaPath.includes(e) && (a.cycle = t.path), a.schema;
2194
- const i = { schema: {}, count: 1, cycle: void 0, path: t.path };
2195
- o.seen.set(e, i);
2191
+ const r = e._zod.def, s = o.seen.get(e);
2192
+ if (s)
2193
+ return s.count++, t.schemaPath.includes(e) && (s.cycle = t.path), s.schema;
2194
+ const a = { schema: {}, count: 1, cycle: void 0, path: t.path };
2195
+ o.seen.set(e, a);
2196
2196
  const l = e._zod.toJSONSchema?.();
2197
2197
  if (l)
2198
- i.schema = l;
2198
+ a.schema = l;
2199
2199
  else {
2200
- const h = {
2200
+ const m = {
2201
2201
  ...t,
2202
2202
  schemaPath: [...t.schemaPath, e],
2203
2203
  path: t.path
2204
2204
  };
2205
2205
  if (e._zod.processJSONSchema)
2206
- e._zod.processJSONSchema(o, i.schema, h);
2206
+ e._zod.processJSONSchema(o, a.schema, m);
2207
2207
  else {
2208
- const w = i.schema, S = o.processors[r.type];
2208
+ const w = a.schema, S = o.processors[r.type];
2209
2209
  if (!S)
2210
2210
  throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);
2211
- S(e, o, w, h);
2211
+ S(e, o, w, m);
2212
2212
  }
2213
2213
  const v = e._zod.parent;
2214
- v && (i.ref || (i.ref = v), O(v, o, h), o.seen.get(v).isParent = !0);
2214
+ v && (a.ref || (a.ref = v), O(v, o, m), o.seen.get(v).isParent = !0);
2215
2215
  }
2216
2216
  const u = o.metadataRegistry.get(e);
2217
- return u && Object.assign(i.schema, u), o.io === "input" && C(e) && (delete i.schema.examples, delete i.schema.default), o.io === "input" && i.schema._prefault && ((n = i.schema).default ?? (n.default = i.schema._prefault)), delete i.schema._prefault, o.seen.get(e).schema;
2217
+ return u && Object.assign(a.schema, u), o.io === "input" && A(e) && (delete a.schema.examples, delete a.schema.default), o.io === "input" && a.schema._prefault && ((n = a.schema).default ?? (n.default = a.schema._prefault)), delete a.schema._prefault, o.seen.get(e).schema;
2218
2218
  }
2219
2219
  function _o(e, o) {
2220
2220
  const t = e.seen.get(o);
2221
2221
  if (!t)
2222
2222
  throw new Error("Unprocessed schema. This is a bug in Zod.");
2223
2223
  const n = /* @__PURE__ */ new Map();
2224
- for (const i of e.seen.entries()) {
2225
- const l = e.metadataRegistry.get(i[0])?.id;
2224
+ for (const a of e.seen.entries()) {
2225
+ const l = e.metadataRegistry.get(a[0])?.id;
2226
2226
  if (l) {
2227
2227
  const u = n.get(l);
2228
- if (u && u !== i[0])
2228
+ if (u && u !== a[0])
2229
2229
  throw new Error(`Duplicate schema id "${l}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
2230
- n.set(l, i[0]);
2230
+ n.set(l, a[0]);
2231
2231
  }
2232
2232
  }
2233
- const r = (i) => {
2233
+ const r = (a) => {
2234
2234
  const l = e.target === "draft-2020-12" ? "$defs" : "definitions";
2235
2235
  if (e.external) {
2236
- const v = e.external.registry.get(i[0])?.id, w = e.external.uri ?? ((E) => E);
2236
+ const v = e.external.registry.get(a[0])?.id, w = e.external.uri ?? ((E) => E);
2237
2237
  if (v)
2238
2238
  return { ref: w(v) };
2239
- const S = i[1].defId ?? i[1].schema.id ?? `schema${e.counter++}`;
2240
- return i[1].defId = S, { defId: S, ref: `${w("__shared")}#/${l}/${S}` };
2239
+ const S = a[1].defId ?? a[1].schema.id ?? `schema${e.counter++}`;
2240
+ return a[1].defId = S, { defId: S, ref: `${w("__shared")}#/${l}/${S}` };
2241
2241
  }
2242
- if (i[1] === t)
2242
+ if (a[1] === t)
2243
2243
  return { ref: "#" };
2244
- const p = `#/${l}/`, h = i[1].schema.id ?? `__schema${e.counter++}`;
2245
- return { defId: h, ref: p + h };
2246
- }, a = (i) => {
2247
- if (i[1].schema.$ref)
2244
+ const d = `#/${l}/`, m = a[1].schema.id ?? `__schema${e.counter++}`;
2245
+ return { defId: m, ref: d + m };
2246
+ }, s = (a) => {
2247
+ if (a[1].schema.$ref)
2248
2248
  return;
2249
- const l = i[1], { ref: u, defId: p } = r(i);
2250
- l.def = { ...l.schema }, p && (l.defId = p);
2251
- const h = l.schema;
2252
- for (const v in h)
2253
- delete h[v];
2254
- h.$ref = u;
2249
+ const l = a[1], { ref: u, defId: d } = r(a);
2250
+ l.def = { ...l.schema }, d && (l.defId = d);
2251
+ const m = l.schema;
2252
+ for (const v in m)
2253
+ delete m[v];
2254
+ m.$ref = u;
2255
2255
  };
2256
2256
  if (e.cycles === "throw")
2257
- for (const i of e.seen.entries()) {
2258
- const l = i[1];
2257
+ for (const a of e.seen.entries()) {
2258
+ const l = a[1];
2259
2259
  if (l.cycle)
2260
2260
  throw new Error(`Cycle detected: #/${l.cycle?.join("/")}/<root>
2261
2261
 
2262
2262
  Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);
2263
2263
  }
2264
- for (const i of e.seen.entries()) {
2265
- const l = i[1];
2266
- if (o === i[0]) {
2267
- a(i);
2264
+ for (const a of e.seen.entries()) {
2265
+ const l = a[1];
2266
+ if (o === a[0]) {
2267
+ s(a);
2268
2268
  continue;
2269
2269
  }
2270
2270
  if (e.external) {
2271
- const p = e.external.registry.get(i[0])?.id;
2272
- if (o !== i[0] && p) {
2273
- a(i);
2271
+ const d = e.external.registry.get(a[0])?.id;
2272
+ if (o !== a[0] && d) {
2273
+ s(a);
2274
2274
  continue;
2275
2275
  }
2276
2276
  }
2277
- if (e.metadataRegistry.get(i[0])?.id) {
2278
- a(i);
2277
+ if (e.metadataRegistry.get(a[0])?.id) {
2278
+ s(a);
2279
2279
  continue;
2280
2280
  }
2281
2281
  if (l.cycle) {
2282
- a(i);
2282
+ s(a);
2283
2283
  continue;
2284
2284
  }
2285
2285
  if (l.count > 1 && e.reused === "ref") {
2286
- a(i);
2286
+ s(a);
2287
2287
  continue;
2288
2288
  }
2289
2289
  }
@@ -2292,23 +2292,23 @@ function vo(e, o) {
2292
2292
  const t = e.seen.get(o);
2293
2293
  if (!t)
2294
2294
  throw new Error("Unprocessed schema. This is a bug in Zod.");
2295
- const n = (i) => {
2296
- const l = e.seen.get(i);
2295
+ const n = (a) => {
2296
+ const l = e.seen.get(a);
2297
2297
  if (l.ref === null)
2298
2298
  return;
2299
- const u = l.def ?? l.schema, p = { ...u }, h = l.ref;
2300
- if (l.ref = null, h) {
2301
- n(h);
2302
- const w = e.seen.get(h), S = w.schema;
2303
- if (S.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (u.allOf = u.allOf ?? [], u.allOf.push(S)) : Object.assign(u, S), Object.assign(u, p), i._zod.parent === h)
2304
- for (const N in u)
2305
- N === "$ref" || N === "allOf" || N in p || delete u[N];
2299
+ const u = l.def ?? l.schema, d = { ...u }, m = l.ref;
2300
+ if (l.ref = null, m) {
2301
+ n(m);
2302
+ const w = e.seen.get(m), S = w.schema;
2303
+ if (S.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (u.allOf = u.allOf ?? [], u.allOf.push(S)) : Object.assign(u, S), Object.assign(u, d), a._zod.parent === m)
2304
+ for (const C in u)
2305
+ C === "$ref" || C === "allOf" || C in d || delete u[C];
2306
2306
  if (S.$ref && w.def)
2307
- for (const N in u)
2308
- N === "$ref" || N === "allOf" || N in w.def && JSON.stringify(u[N]) === JSON.stringify(w.def[N]) && delete u[N];
2307
+ for (const C in u)
2308
+ C === "$ref" || C === "allOf" || C in w.def && JSON.stringify(u[C]) === JSON.stringify(w.def[C]) && delete u[C];
2309
2309
  }
2310
- const v = i._zod.parent;
2311
- if (v && v !== h) {
2310
+ const v = a._zod.parent;
2311
+ if (v && v !== m) {
2312
2312
  n(v);
2313
2313
  const w = e.seen.get(v);
2314
2314
  if (w?.schema.$ref && (u.$ref = w.schema.$ref, w.def))
@@ -2316,30 +2316,30 @@ function vo(e, o) {
2316
2316
  S === "$ref" || S === "allOf" || S in w.def && JSON.stringify(u[S]) === JSON.stringify(w.def[S]) && delete u[S];
2317
2317
  }
2318
2318
  e.override({
2319
- zodSchema: i,
2319
+ zodSchema: a,
2320
2320
  jsonSchema: u,
2321
2321
  path: l.path ?? []
2322
2322
  });
2323
2323
  };
2324
- for (const i of [...e.seen.entries()].reverse())
2325
- n(i[0]);
2324
+ for (const a of [...e.seen.entries()].reverse())
2325
+ n(a[0]);
2326
2326
  const r = {};
2327
2327
  if (e.target === "draft-2020-12" ? r.$schema = "https://json-schema.org/draft/2020-12/schema" : e.target === "draft-07" ? r.$schema = "http://json-schema.org/draft-07/schema#" : e.target === "draft-04" ? r.$schema = "http://json-schema.org/draft-04/schema#" : e.target, e.external?.uri) {
2328
- const i = e.external.registry.get(o)?.id;
2329
- if (!i)
2328
+ const a = e.external.registry.get(o)?.id;
2329
+ if (!a)
2330
2330
  throw new Error("Schema is missing an `id` property");
2331
- r.$id = e.external.uri(i);
2331
+ r.$id = e.external.uri(a);
2332
2332
  }
2333
2333
  Object.assign(r, t.def ?? t.schema);
2334
- const a = e.external?.defs ?? {};
2335
- for (const i of e.seen.entries()) {
2336
- const l = i[1];
2337
- l.def && l.defId && (a[l.defId] = l.def);
2334
+ const s = e.external?.defs ?? {};
2335
+ for (const a of e.seen.entries()) {
2336
+ const l = a[1];
2337
+ l.def && l.defId && (s[l.defId] = l.def);
2338
2338
  }
2339
- e.external || Object.keys(a).length > 0 && (e.target === "draft-2020-12" ? r.$defs = a : r.definitions = a);
2339
+ e.external || Object.keys(s).length > 0 && (e.target === "draft-2020-12" ? r.$defs = s : r.definitions = s);
2340
2340
  try {
2341
- const i = JSON.parse(JSON.stringify(r));
2342
- return Object.defineProperty(i, "~standard", {
2341
+ const a = JSON.parse(JSON.stringify(r));
2342
+ return Object.defineProperty(a, "~standard", {
2343
2343
  value: {
2344
2344
  ...o["~standard"],
2345
2345
  jsonSchema: {
@@ -2349,12 +2349,12 @@ function vo(e, o) {
2349
2349
  },
2350
2350
  enumerable: !1,
2351
2351
  writable: !1
2352
- }), i;
2352
+ }), a;
2353
2353
  } catch {
2354
2354
  throw new Error("Error converting schema to JSON.");
2355
2355
  }
2356
2356
  }
2357
- function C(e, o) {
2357
+ function A(e, o) {
2358
2358
  const t = o ?? { seen: /* @__PURE__ */ new Set() };
2359
2359
  if (t.seen.has(e))
2360
2360
  return !1;
@@ -2363,68 +2363,68 @@ function C(e, o) {
2363
2363
  if (n.type === "transform")
2364
2364
  return !0;
2365
2365
  if (n.type === "array")
2366
- return C(n.element, t);
2366
+ return A(n.element, t);
2367
2367
  if (n.type === "set")
2368
- return C(n.valueType, t);
2368
+ return A(n.valueType, t);
2369
2369
  if (n.type === "lazy")
2370
- return C(n.getter(), t);
2370
+ return A(n.getter(), t);
2371
2371
  if (n.type === "promise" || n.type === "optional" || n.type === "nonoptional" || n.type === "nullable" || n.type === "readonly" || n.type === "default" || n.type === "prefault")
2372
- return C(n.innerType, t);
2372
+ return A(n.innerType, t);
2373
2373
  if (n.type === "intersection")
2374
- return C(n.left, t) || C(n.right, t);
2374
+ return A(n.left, t) || A(n.right, t);
2375
2375
  if (n.type === "record" || n.type === "map")
2376
- return C(n.keyType, t) || C(n.valueType, t);
2376
+ return A(n.keyType, t) || A(n.valueType, t);
2377
2377
  if (n.type === "pipe")
2378
- return C(n.in, t) || C(n.out, t);
2378
+ return A(n.in, t) || A(n.out, t);
2379
2379
  if (n.type === "object") {
2380
2380
  for (const r in n.shape)
2381
- if (C(n.shape[r], t))
2381
+ if (A(n.shape[r], t))
2382
2382
  return !0;
2383
2383
  return !1;
2384
2384
  }
2385
2385
  if (n.type === "union") {
2386
2386
  for (const r of n.options)
2387
- if (C(r, t))
2387
+ if (A(r, t))
2388
2388
  return !0;
2389
2389
  return !1;
2390
2390
  }
2391
2391
  if (n.type === "tuple") {
2392
2392
  for (const r of n.items)
2393
- if (C(r, t))
2393
+ if (A(r, t))
2394
2394
  return !0;
2395
- return !!(n.rest && C(n.rest, t));
2395
+ return !!(n.rest && A(n.rest, t));
2396
2396
  }
2397
2397
  return !1;
2398
2398
  }
2399
- const Ir = (e, o = {}) => (t) => {
2399
+ const Nr = (e, o = {}) => (t) => {
2400
2400
  const n = go({ ...t, processors: o });
2401
2401
  return O(e, n), _o(n, e), vo(n, e);
2402
2402
  }, le = (e, o, t = {}) => (n) => {
2403
- const { libraryOptions: r, target: a } = n ?? {}, i = go({ ...r ?? {}, target: a, io: o, processors: t });
2404
- return O(e, i), _o(i, e), vo(i, e);
2405
- }, Nr = {
2403
+ const { libraryOptions: r, target: s } = n ?? {}, a = go({ ...r ?? {}, target: s, io: o, processors: t });
2404
+ return O(e, a), _o(a, e), vo(a, e);
2405
+ }, Ir = {
2406
2406
  guid: "uuid",
2407
2407
  url: "uri",
2408
2408
  datetime: "date-time",
2409
2409
  json_string: "json-string",
2410
2410
  regex: ""
2411
2411
  // do not set
2412
- }, Er = (e, o, t, n) => {
2412
+ }, Cr = (e, o, t, n) => {
2413
2413
  const r = t;
2414
2414
  r.type = "string";
2415
- const { minimum: a, maximum: i, format: l, patterns: u, contentEncoding: p } = e._zod.bag;
2416
- if (typeof a == "number" && (r.minLength = a), typeof i == "number" && (r.maxLength = i), l && (r.format = Nr[l] ?? l, r.format === "" && delete r.format, l === "time" && delete r.format), p && (r.contentEncoding = p), u && u.size > 0) {
2417
- const h = [...u];
2418
- h.length === 1 ? r.pattern = h[0].source : h.length > 1 && (r.allOf = [
2419
- ...h.map((v) => ({
2415
+ const { minimum: s, maximum: a, format: l, patterns: u, contentEncoding: d } = e._zod.bag;
2416
+ if (typeof s == "number" && (r.minLength = s), typeof a == "number" && (r.maxLength = a), l && (r.format = Ir[l] ?? l, r.format === "" && delete r.format, l === "time" && delete r.format), d && (r.contentEncoding = d), u && u.size > 0) {
2417
+ const m = [...u];
2418
+ m.length === 1 ? r.pattern = m[0].source : m.length > 1 && (r.allOf = [
2419
+ ...m.map((v) => ({
2420
2420
  ...o.target === "draft-07" || o.target === "draft-04" || o.target === "openapi-3.0" ? { type: "string" } : {},
2421
2421
  pattern: v.source
2422
2422
  }))
2423
2423
  ]);
2424
2424
  }
2425
- }, Cr = (e, o, t, n) => {
2426
- const r = t, { minimum: a, maximum: i, format: l, multipleOf: u, exclusiveMaximum: p, exclusiveMinimum: h } = e._zod.bag;
2427
- typeof l == "string" && l.includes("int") ? r.type = "integer" : r.type = "number", typeof h == "number" && (o.target === "draft-04" || o.target === "openapi-3.0" ? (r.minimum = h, r.exclusiveMinimum = !0) : r.exclusiveMinimum = h), typeof a == "number" && (r.minimum = a, typeof h == "number" && o.target !== "draft-04" && (h >= a ? delete r.minimum : delete r.exclusiveMinimum)), typeof p == "number" && (o.target === "draft-04" || o.target === "openapi-3.0" ? (r.maximum = p, r.exclusiveMaximum = !0) : r.exclusiveMaximum = p), typeof i == "number" && (r.maximum = i, typeof p == "number" && o.target !== "draft-04" && (p <= i ? delete r.maximum : delete r.exclusiveMaximum)), typeof u == "number" && (r.multipleOf = u);
2425
+ }, Er = (e, o, t, n) => {
2426
+ const r = t, { minimum: s, maximum: a, format: l, multipleOf: u, exclusiveMaximum: d, exclusiveMinimum: m } = e._zod.bag;
2427
+ typeof l == "string" && l.includes("int") ? r.type = "integer" : r.type = "number", typeof m == "number" && (o.target === "draft-04" || o.target === "openapi-3.0" ? (r.minimum = m, r.exclusiveMinimum = !0) : r.exclusiveMinimum = m), typeof s == "number" && (r.minimum = s, typeof m == "number" && o.target !== "draft-04" && (m >= s ? delete r.minimum : delete r.exclusiveMinimum)), typeof d == "number" && (o.target === "draft-04" || o.target === "openapi-3.0" ? (r.maximum = d, r.exclusiveMaximum = !0) : r.exclusiveMaximum = d), typeof a == "number" && (r.maximum = a, typeof d == "number" && o.target !== "draft-04" && (d <= a ? delete r.maximum : delete r.exclusiveMaximum)), typeof u == "number" && (r.multipleOf = u);
2428
2428
  }, Ar = (e, o, t, n) => {
2429
2429
  t.type = "boolean";
2430
2430
  }, xr = (e, o, t, n) => {
@@ -2433,162 +2433,162 @@ const Ir = (e, o = {}) => (t) => {
2433
2433
  t.not = {};
2434
2434
  }, Rr = (e, o, t, n) => {
2435
2435
  }, Dr = (e, o, t, n) => {
2436
- const r = e._zod.def, a = Ke(r.entries);
2437
- a.every((i) => typeof i == "number") && (t.type = "number"), a.every((i) => typeof i == "string") && (t.type = "string"), t.enum = a;
2438
- }, Ur = (e, o, t, n) => {
2436
+ const r = e._zod.def, s = Ke(r.entries);
2437
+ s.every((a) => typeof a == "number") && (t.type = "number"), s.every((a) => typeof a == "string") && (t.type = "string"), t.enum = s;
2438
+ }, Fr = (e, o, t, n) => {
2439
2439
  if (o.unrepresentable === "throw")
2440
2440
  throw new Error("Custom types cannot be represented in JSON Schema");
2441
- }, Fr = (e, o, t, n) => {
2441
+ }, Mr = (e, o, t, n) => {
2442
2442
  if (o.unrepresentable === "throw")
2443
2443
  throw new Error("Transforms cannot be represented in JSON Schema");
2444
2444
  }, Lr = (e, o, t, n) => {
2445
- const r = t, a = e._zod.def, { minimum: i, maximum: l } = e._zod.bag;
2446
- typeof i == "number" && (r.minItems = i), typeof l == "number" && (r.maxItems = l), r.type = "array", r.items = O(a.element, o, { ...n, path: [...n.path, "items"] });
2447
- }, Mr = (e, o, t, n) => {
2448
- const r = t, a = e._zod.def;
2445
+ const r = t, s = e._zod.def, { minimum: a, maximum: l } = e._zod.bag;
2446
+ typeof a == "number" && (r.minItems = a), typeof l == "number" && (r.maxItems = l), r.type = "array", r.items = O(s.element, o, { ...n, path: [...n.path, "items"] });
2447
+ }, Ur = (e, o, t, n) => {
2448
+ const r = t, s = e._zod.def;
2449
2449
  r.type = "object", r.properties = {};
2450
- const i = a.shape;
2451
- for (const p in i)
2452
- r.properties[p] = O(i[p], o, {
2450
+ const a = s.shape;
2451
+ for (const d in a)
2452
+ r.properties[d] = O(a[d], o, {
2453
2453
  ...n,
2454
- path: [...n.path, "properties", p]
2454
+ path: [...n.path, "properties", d]
2455
2455
  });
2456
- const l = new Set(Object.keys(i)), u = new Set([...l].filter((p) => {
2457
- const h = a.shape[p]._zod;
2458
- return o.io === "input" ? h.optin === void 0 : h.optout === void 0;
2456
+ const l = new Set(Object.keys(a)), u = new Set([...l].filter((d) => {
2457
+ const m = s.shape[d]._zod;
2458
+ return o.io === "input" ? m.optin === void 0 : m.optout === void 0;
2459
2459
  }));
2460
- u.size > 0 && (r.required = Array.from(u)), a.catchall?._zod.def.type === "never" ? r.additionalProperties = !1 : a.catchall ? a.catchall && (r.additionalProperties = O(a.catchall, o, {
2460
+ u.size > 0 && (r.required = Array.from(u)), s.catchall?._zod.def.type === "never" ? r.additionalProperties = !1 : s.catchall ? s.catchall && (r.additionalProperties = O(s.catchall, o, {
2461
2461
  ...n,
2462
2462
  path: [...n.path, "additionalProperties"]
2463
2463
  })) : o.io === "output" && (r.additionalProperties = !1);
2464
2464
  }, Jr = (e, o, t, n) => {
2465
- const r = e._zod.def, a = r.inclusive === !1, i = r.options.map((l, u) => O(l, o, {
2465
+ const r = e._zod.def, s = r.inclusive === !1, a = r.options.map((l, u) => O(l, o, {
2466
2466
  ...n,
2467
- path: [...n.path, a ? "oneOf" : "anyOf", u]
2467
+ path: [...n.path, s ? "oneOf" : "anyOf", u]
2468
2468
  }));
2469
- a ? t.oneOf = i : t.anyOf = i;
2470
- }, Vr = (e, o, t, n) => {
2471
- const r = e._zod.def, a = O(r.left, o, {
2469
+ s ? t.oneOf = a : t.anyOf = a;
2470
+ }, Br = (e, o, t, n) => {
2471
+ const r = e._zod.def, s = O(r.left, o, {
2472
2472
  ...n,
2473
2473
  path: [...n.path, "allOf", 0]
2474
- }), i = O(r.right, o, {
2474
+ }), a = O(r.right, o, {
2475
2475
  ...n,
2476
2476
  path: [...n.path, "allOf", 1]
2477
- }), l = (p) => "allOf" in p && Object.keys(p).length === 1, u = [
2478
- ...l(a) ? a.allOf : [a],
2479
- ...l(i) ? i.allOf : [i]
2477
+ }), l = (d) => "allOf" in d && Object.keys(d).length === 1, u = [
2478
+ ...l(s) ? s.allOf : [s],
2479
+ ...l(a) ? a.allOf : [a]
2480
2480
  ];
2481
2481
  t.allOf = u;
2482
- }, Br = (e, o, t, n) => {
2483
- const r = t, a = e._zod.def;
2482
+ }, Vr = (e, o, t, n) => {
2483
+ const r = t, s = e._zod.def;
2484
2484
  r.type = "array";
2485
- const i = o.target === "draft-2020-12" ? "prefixItems" : "items", l = o.target === "draft-2020-12" || o.target === "openapi-3.0" ? "items" : "additionalItems", u = a.items.map((w, S) => O(w, o, {
2485
+ const a = o.target === "draft-2020-12" ? "prefixItems" : "items", l = o.target === "draft-2020-12" || o.target === "openapi-3.0" ? "items" : "additionalItems", u = s.items.map((w, S) => O(w, o, {
2486
2486
  ...n,
2487
- path: [...n.path, i, S]
2488
- })), p = a.rest ? O(a.rest, o, {
2487
+ path: [...n.path, a, S]
2488
+ })), d = s.rest ? O(s.rest, o, {
2489
2489
  ...n,
2490
- path: [...n.path, l, ...o.target === "openapi-3.0" ? [a.items.length] : []]
2490
+ path: [...n.path, l, ...o.target === "openapi-3.0" ? [s.items.length] : []]
2491
2491
  }) : null;
2492
- o.target === "draft-2020-12" ? (r.prefixItems = u, p && (r.items = p)) : o.target === "openapi-3.0" ? (r.items = {
2492
+ o.target === "draft-2020-12" ? (r.prefixItems = u, d && (r.items = d)) : o.target === "openapi-3.0" ? (r.items = {
2493
2493
  anyOf: u
2494
- }, p && r.items.anyOf.push(p), r.minItems = u.length, p || (r.maxItems = u.length)) : (r.items = u, p && (r.additionalItems = p));
2495
- const { minimum: h, maximum: v } = e._zod.bag;
2496
- typeof h == "number" && (r.minItems = h), typeof v == "number" && (r.maxItems = v);
2494
+ }, d && r.items.anyOf.push(d), r.minItems = u.length, d || (r.maxItems = u.length)) : (r.items = u, d && (r.additionalItems = d));
2495
+ const { minimum: m, maximum: v } = e._zod.bag;
2496
+ typeof m == "number" && (r.minItems = m), typeof v == "number" && (r.maxItems = v);
2497
2497
  }, Wr = (e, o, t, n) => {
2498
- const r = t, a = e._zod.def;
2498
+ const r = t, s = e._zod.def;
2499
2499
  r.type = "object";
2500
- const i = a.keyType, u = i._zod.bag?.patterns;
2501
- if (a.mode === "loose" && u && u.size > 0) {
2502
- const h = O(a.valueType, o, {
2500
+ const a = s.keyType, u = a._zod.bag?.patterns;
2501
+ if (s.mode === "loose" && u && u.size > 0) {
2502
+ const m = O(s.valueType, o, {
2503
2503
  ...n,
2504
2504
  path: [...n.path, "patternProperties", "*"]
2505
2505
  });
2506
2506
  r.patternProperties = {};
2507
2507
  for (const v of u)
2508
- r.patternProperties[v.source] = h;
2508
+ r.patternProperties[v.source] = m;
2509
2509
  } else
2510
- (o.target === "draft-07" || o.target === "draft-2020-12") && (r.propertyNames = O(a.keyType, o, {
2510
+ (o.target === "draft-07" || o.target === "draft-2020-12") && (r.propertyNames = O(s.keyType, o, {
2511
2511
  ...n,
2512
2512
  path: [...n.path, "propertyNames"]
2513
- })), r.additionalProperties = O(a.valueType, o, {
2513
+ })), r.additionalProperties = O(s.valueType, o, {
2514
2514
  ...n,
2515
2515
  path: [...n.path, "additionalProperties"]
2516
2516
  });
2517
- const p = i._zod.values;
2518
- if (p) {
2519
- const h = [...p].filter((v) => typeof v == "string" || typeof v == "number");
2520
- h.length > 0 && (r.required = h);
2517
+ const d = a._zod.values;
2518
+ if (d) {
2519
+ const m = [...d].filter((v) => typeof v == "string" || typeof v == "number");
2520
+ m.length > 0 && (r.required = m);
2521
2521
  }
2522
2522
  }, Gr = (e, o, t, n) => {
2523
- const r = e._zod.def, a = O(r.innerType, o, n), i = o.seen.get(e);
2524
- o.target === "openapi-3.0" ? (i.ref = r.innerType, t.nullable = !0) : t.anyOf = [a, { type: "null" }];
2523
+ const r = e._zod.def, s = O(r.innerType, o, n), a = o.seen.get(e);
2524
+ o.target === "openapi-3.0" ? (a.ref = r.innerType, t.nullable = !0) : t.anyOf = [s, { type: "null" }];
2525
2525
  }, qr = (e, o, t, n) => {
2526
2526
  const r = e._zod.def;
2527
2527
  O(r.innerType, o, n);
2528
- const a = o.seen.get(e);
2529
- a.ref = r.innerType;
2528
+ const s = o.seen.get(e);
2529
+ s.ref = r.innerType;
2530
2530
  }, Kr = (e, o, t, n) => {
2531
2531
  const r = e._zod.def;
2532
2532
  O(r.innerType, o, n);
2533
- const a = o.seen.get(e);
2534
- a.ref = r.innerType, t.default = JSON.parse(JSON.stringify(r.defaultValue));
2533
+ const s = o.seen.get(e);
2534
+ s.ref = r.innerType, t.default = JSON.parse(JSON.stringify(r.defaultValue));
2535
2535
  }, Xr = (e, o, t, n) => {
2536
2536
  const r = e._zod.def;
2537
2537
  O(r.innerType, o, n);
2538
- const a = o.seen.get(e);
2539
- a.ref = r.innerType, o.io === "input" && (t._prefault = JSON.parse(JSON.stringify(r.defaultValue)));
2538
+ const s = o.seen.get(e);
2539
+ s.ref = r.innerType, o.io === "input" && (t._prefault = JSON.parse(JSON.stringify(r.defaultValue)));
2540
2540
  }, Yr = (e, o, t, n) => {
2541
2541
  const r = e._zod.def;
2542
2542
  O(r.innerType, o, n);
2543
- const a = o.seen.get(e);
2544
- a.ref = r.innerType;
2545
- let i;
2543
+ const s = o.seen.get(e);
2544
+ s.ref = r.innerType;
2545
+ let a;
2546
2546
  try {
2547
- i = r.catchValue(void 0);
2547
+ a = r.catchValue(void 0);
2548
2548
  } catch {
2549
2549
  throw new Error("Dynamic catch values are not supported in JSON Schema");
2550
2550
  }
2551
- t.default = i;
2551
+ t.default = a;
2552
2552
  }, Hr = (e, o, t, n) => {
2553
- const r = e._zod.def, a = o.io === "input" ? r.in._zod.def.type === "transform" ? r.out : r.in : r.out;
2554
- O(a, o, n);
2555
- const i = o.seen.get(e);
2556
- i.ref = a;
2553
+ const r = e._zod.def, s = o.io === "input" ? r.in._zod.def.type === "transform" ? r.out : r.in : r.out;
2554
+ O(s, o, n);
2555
+ const a = o.seen.get(e);
2556
+ a.ref = s;
2557
2557
  }, Qr = (e, o, t, n) => {
2558
2558
  const r = e._zod.def;
2559
2559
  O(r.innerType, o, n);
2560
- const a = o.seen.get(e);
2561
- a.ref = r.innerType, t.readOnly = !0;
2560
+ const s = o.seen.get(e);
2561
+ s.ref = r.innerType, t.readOnly = !0;
2562
2562
  }, bo = (e, o, t, n) => {
2563
2563
  const r = e._zod.def;
2564
2564
  O(r.innerType, o, n);
2565
- const a = o.seen.get(e);
2566
- a.ref = r.innerType;
2565
+ const s = o.seen.get(e);
2566
+ s.ref = r.innerType;
2567
2567
  }, ei = (e, o, t, n) => {
2568
2568
  const r = e._zod.innerType;
2569
2569
  O(r, o, n);
2570
- const a = o.seen.get(e);
2571
- a.ref = r;
2572
- }, oi = /* @__PURE__ */ d("ZodISODateTime", (e, o) => {
2573
- Xt.init(e, o), I.init(e, o);
2570
+ const s = o.seen.get(e);
2571
+ s.ref = r;
2572
+ }, oi = /* @__PURE__ */ f("ZodISODateTime", (e, o) => {
2573
+ Xt.init(e, o), N.init(e, o);
2574
2574
  });
2575
2575
  function ti(e) {
2576
2576
  return /* @__PURE__ */ ir(oi, e);
2577
2577
  }
2578
- const ni = /* @__PURE__ */ d("ZodISODate", (e, o) => {
2579
- Yt.init(e, o), I.init(e, o);
2578
+ const ni = /* @__PURE__ */ f("ZodISODate", (e, o) => {
2579
+ Yt.init(e, o), N.init(e, o);
2580
2580
  });
2581
2581
  function ri(e) {
2582
2582
  return /* @__PURE__ */ ar(ni, e);
2583
2583
  }
2584
- const ii = /* @__PURE__ */ d("ZodISOTime", (e, o) => {
2585
- Ht.init(e, o), I.init(e, o);
2584
+ const ii = /* @__PURE__ */ f("ZodISOTime", (e, o) => {
2585
+ Ht.init(e, o), N.init(e, o);
2586
2586
  });
2587
2587
  function ai(e) {
2588
2588
  return /* @__PURE__ */ sr(ii, e);
2589
2589
  }
2590
- const si = /* @__PURE__ */ d("ZodISODuration", (e, o) => {
2591
- Qt.init(e, o), I.init(e, o);
2590
+ const si = /* @__PURE__ */ f("ZodISODuration", (e, o) => {
2591
+ Qt.init(e, o), N.init(e, o);
2592
2592
  });
2593
2593
  function ci(e) {
2594
2594
  return /* @__PURE__ */ cr(si, e);
@@ -2596,7 +2596,7 @@ function ci(e) {
2596
2596
  const yo = (e, o) => {
2597
2597
  Qe.init(e, o), e.name = "ZodError", Object.defineProperties(e, {
2598
2598
  format: {
2599
- value: (t) => Mo(e, t)
2599
+ value: (t) => Uo(e, t)
2600
2600
  // enumerable: false,
2601
2601
  },
2602
2602
  flatten: {
@@ -2622,21 +2622,21 @@ const yo = (e, o) => {
2622
2622
  // enumerable: false,
2623
2623
  }
2624
2624
  });
2625
- }, li = d("ZodError", yo), j = d("ZodError", yo, {
2625
+ }, li = f("ZodError", yo), R = f("ZodError", yo, {
2626
2626
  Parent: Error
2627
- }), ui = /* @__PURE__ */ we(j), pi = /* @__PURE__ */ Se(j), di = /* @__PURE__ */ pe(j), fi = /* @__PURE__ */ de(j), hi = /* @__PURE__ */ Bo(j), mi = /* @__PURE__ */ Wo(j), gi = /* @__PURE__ */ Go(j), _i = /* @__PURE__ */ qo(j), vi = /* @__PURE__ */ Ko(j), bi = /* @__PURE__ */ Xo(j), yi = /* @__PURE__ */ Yo(j), zi = /* @__PURE__ */ Ho(j), P = /* @__PURE__ */ d("ZodType", (e, o) => (Z.init(e, o), Object.assign(e["~standard"], {
2627
+ }), ui = /* @__PURE__ */ we(R), pi = /* @__PURE__ */ Se(R), di = /* @__PURE__ */ pe(R), fi = /* @__PURE__ */ de(R), hi = /* @__PURE__ */ Vo(R), mi = /* @__PURE__ */ Wo(R), gi = /* @__PURE__ */ Go(R), _i = /* @__PURE__ */ qo(R), vi = /* @__PURE__ */ Ko(R), bi = /* @__PURE__ */ Xo(R), yi = /* @__PURE__ */ Yo(R), zi = /* @__PURE__ */ Ho(R), P = /* @__PURE__ */ f("ZodType", (e, o) => (Z.init(e, o), Object.assign(e["~standard"], {
2628
2628
  jsonSchema: {
2629
2629
  input: le(e, "input"),
2630
2630
  output: le(e, "output")
2631
2631
  }
2632
- }), e.toJSONSchema = Ir(e, {}), e.def = o, e.type = o.type, Object.defineProperty(e, "_def", { value: o }), e.check = (...t) => e.clone(M(o, {
2632
+ }), e.toJSONSchema = Nr(e, {}), e.def = o, e.type = o.type, Object.defineProperty(e, "_def", { value: o }), e.check = (...t) => e.clone(U(o, {
2633
2633
  checks: [
2634
2634
  ...o.checks ?? [],
2635
2635
  ...t.map((n) => typeof n == "function" ? { _zod: { check: n, def: { check: "custom" }, onattach: [] } } : n)
2636
2636
  ]
2637
2637
  }), {
2638
2638
  parent: !0
2639
- }), e.with = e.check, e.clone = (t, n) => J(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.parse = (t, n) => ui(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => di(e, t, n), e.parseAsync = async (t, n) => pi(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => fi(e, t, n), e.spa = e.safeParseAsync, e.encode = (t, n) => hi(e, t, n), e.decode = (t, n) => mi(e, t, n), e.encodeAsync = async (t, n) => gi(e, t, n), e.decodeAsync = async (t, n) => _i(e, t, n), e.safeEncode = (t, n) => vi(e, t, n), e.safeDecode = (t, n) => bi(e, t, n), e.safeEncodeAsync = async (t, n) => yi(e, t, n), e.safeDecodeAsync = async (t, n) => zi(e, t, n), e.refine = (t, n) => e.check(_a(t, n)), e.superRefine = (t) => e.check(va(t)), e.overwrite = (t) => e.check(/* @__PURE__ */ X(t)), e.optional = () => Ve(e), e.exactOptional = () => ta(e), e.nullable = () => Be(e), e.nullish = () => Ve(Be(e)), e.nonoptional = (t) => ca(e, t), e.array = () => U(e), e.or = (t) => _([e, t]), e.and = (t) => Xi(e, t), e.transform = (t) => We(e, ea(t)), e.default = (t) => ia(e, t), e.prefault = (t) => sa(e, t), e.catch = (t) => ua(e, t), e.pipe = (t) => We(e, t), e.readonly = () => fa(e), e.describe = (t) => {
2639
+ }), e.with = e.check, e.clone = (t, n) => J(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.parse = (t, n) => ui(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => di(e, t, n), e.parseAsync = async (t, n) => pi(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => fi(e, t, n), e.spa = e.safeParseAsync, e.encode = (t, n) => hi(e, t, n), e.decode = (t, n) => mi(e, t, n), e.encodeAsync = async (t, n) => gi(e, t, n), e.decodeAsync = async (t, n) => _i(e, t, n), e.safeEncode = (t, n) => vi(e, t, n), e.safeDecode = (t, n) => bi(e, t, n), e.safeEncodeAsync = async (t, n) => yi(e, t, n), e.safeDecodeAsync = async (t, n) => zi(e, t, n), e.refine = (t, n) => e.check(_a(t, n)), e.superRefine = (t) => e.check(va(t)), e.overwrite = (t) => e.check(/* @__PURE__ */ X(t)), e.optional = () => Be(e), e.exactOptional = () => ta(e), e.nullable = () => Ve(e), e.nullish = () => Be(Ve(e)), e.nonoptional = (t) => ca(e, t), e.array = () => I(e), e.or = (t) => _([e, t]), e.and = (t) => Xi(e, t), e.transform = (t) => We(e, ea(t)), e.default = (t) => ia(e, t), e.prefault = (t) => sa(e, t), e.catch = (t) => ua(e, t), e.pipe = (t) => We(e, t), e.readonly = () => fa(e), e.describe = (t) => {
2640
2640
  const n = e.clone();
2641
2641
  return Y.add(n, { description: t }), n;
2642
2642
  }, Object.defineProperty(e, "description", {
@@ -2649,104 +2649,104 @@ const yo = (e, o) => {
2649
2649
  return Y.get(e);
2650
2650
  const n = e.clone();
2651
2651
  return Y.add(n, t[0]), n;
2652
- }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e.apply = (t) => t(e), e)), zo = /* @__PURE__ */ d("_ZodString", (e, o) => {
2653
- $e.init(e, o), P.init(e, o), e._zod.processJSONSchema = (n, r, a) => Er(e, n, r);
2652
+ }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e.apply = (t) => t(e), e)), zo = /* @__PURE__ */ f("_ZodString", (e, o) => {
2653
+ $e.init(e, o), P.init(e, o), e._zod.processJSONSchema = (n, r, s) => Cr(e, n, r);
2654
2654
  const t = e._zod.bag;
2655
2655
  e.format = t.format ?? null, e.minLength = t.minimum ?? null, e.maxLength = t.maximum ?? null, e.regex = (...n) => e.check(/* @__PURE__ */ mr(...n)), e.includes = (...n) => e.check(/* @__PURE__ */ vr(...n)), e.startsWith = (...n) => e.check(/* @__PURE__ */ br(...n)), e.endsWith = (...n) => e.check(/* @__PURE__ */ yr(...n)), e.min = (...n) => e.check(/* @__PURE__ */ ce(...n)), e.max = (...n) => e.check(/* @__PURE__ */ ho(...n)), e.length = (...n) => e.check(/* @__PURE__ */ mo(...n)), e.nonempty = (...n) => e.check(/* @__PURE__ */ ce(1, ...n)), e.lowercase = (n) => e.check(/* @__PURE__ */ gr(n)), e.uppercase = (n) => e.check(/* @__PURE__ */ _r(n)), e.trim = () => e.check(/* @__PURE__ */ kr()), e.normalize = (...n) => e.check(/* @__PURE__ */ zr(...n)), e.toLowerCase = () => e.check(/* @__PURE__ */ wr()), e.toUpperCase = () => e.check(/* @__PURE__ */ Sr()), e.slugify = () => e.check(/* @__PURE__ */ $r());
2656
- }), ki = /* @__PURE__ */ d("ZodString", (e, o) => {
2657
- $e.init(e, o), zo.init(e, o), e.email = (t) => e.check(/* @__PURE__ */ Dn(wi, t)), e.url = (t) => e.check(/* @__PURE__ */ Jn(Si, t)), e.jwt = (t) => e.check(/* @__PURE__ */ rr(Ui, t)), e.emoji = (t) => e.check(/* @__PURE__ */ Vn($i, t)), e.guid = (t) => e.check(/* @__PURE__ */ De(Me, t)), e.uuid = (t) => e.check(/* @__PURE__ */ Un(re, t)), e.uuidv4 = (t) => e.check(/* @__PURE__ */ Fn(re, t)), e.uuidv6 = (t) => e.check(/* @__PURE__ */ Ln(re, t)), e.uuidv7 = (t) => e.check(/* @__PURE__ */ Mn(re, t)), e.nanoid = (t) => e.check(/* @__PURE__ */ Bn(Zi, t)), e.guid = (t) => e.check(/* @__PURE__ */ De(Me, t)), e.cuid = (t) => e.check(/* @__PURE__ */ Wn(Pi, t)), e.cuid2 = (t) => e.check(/* @__PURE__ */ Gn(Ti, t)), e.ulid = (t) => e.check(/* @__PURE__ */ qn(Oi, t)), e.base64 = (t) => e.check(/* @__PURE__ */ or(ji, t)), e.base64url = (t) => e.check(/* @__PURE__ */ tr(Ri, t)), e.xid = (t) => e.check(/* @__PURE__ */ Kn(Ii, t)), e.ksuid = (t) => e.check(/* @__PURE__ */ Xn(Ni, t)), e.ipv4 = (t) => e.check(/* @__PURE__ */ Yn(Ei, t)), e.ipv6 = (t) => e.check(/* @__PURE__ */ Hn(Ci, t)), e.cidrv4 = (t) => e.check(/* @__PURE__ */ Qn(Ai, t)), e.cidrv6 = (t) => e.check(/* @__PURE__ */ er(xi, t)), e.e164 = (t) => e.check(/* @__PURE__ */ nr(Di, t)), e.datetime = (t) => e.check(ti(t)), e.date = (t) => e.check(ri(t)), e.time = (t) => e.check(ai(t)), e.duration = (t) => e.check(ci(t));
2656
+ }), ki = /* @__PURE__ */ f("ZodString", (e, o) => {
2657
+ $e.init(e, o), zo.init(e, o), e.email = (t) => e.check(/* @__PURE__ */ Dn(wi, t)), e.url = (t) => e.check(/* @__PURE__ */ Jn(Si, t)), e.jwt = (t) => e.check(/* @__PURE__ */ rr(Fi, t)), e.emoji = (t) => e.check(/* @__PURE__ */ Bn($i, t)), e.guid = (t) => e.check(/* @__PURE__ */ De(Ue, t)), e.uuid = (t) => e.check(/* @__PURE__ */ Fn(re, t)), e.uuidv4 = (t) => e.check(/* @__PURE__ */ Mn(re, t)), e.uuidv6 = (t) => e.check(/* @__PURE__ */ Ln(re, t)), e.uuidv7 = (t) => e.check(/* @__PURE__ */ Un(re, t)), e.nanoid = (t) => e.check(/* @__PURE__ */ Vn(Zi, t)), e.guid = (t) => e.check(/* @__PURE__ */ De(Ue, t)), e.cuid = (t) => e.check(/* @__PURE__ */ Wn(Pi, t)), e.cuid2 = (t) => e.check(/* @__PURE__ */ Gn(Ti, t)), e.ulid = (t) => e.check(/* @__PURE__ */ qn(Oi, t)), e.base64 = (t) => e.check(/* @__PURE__ */ or(ji, t)), e.base64url = (t) => e.check(/* @__PURE__ */ tr(Ri, t)), e.xid = (t) => e.check(/* @__PURE__ */ Kn(Ni, t)), e.ksuid = (t) => e.check(/* @__PURE__ */ Xn(Ii, t)), e.ipv4 = (t) => e.check(/* @__PURE__ */ Yn(Ci, t)), e.ipv6 = (t) => e.check(/* @__PURE__ */ Hn(Ei, t)), e.cidrv4 = (t) => e.check(/* @__PURE__ */ Qn(Ai, t)), e.cidrv6 = (t) => e.check(/* @__PURE__ */ er(xi, t)), e.e164 = (t) => e.check(/* @__PURE__ */ nr(Di, t)), e.datetime = (t) => e.check(ti(t)), e.date = (t) => e.check(ri(t)), e.time = (t) => e.check(ai(t)), e.duration = (t) => e.check(ci(t));
2658
2658
  });
2659
2659
  function c(e) {
2660
2660
  return /* @__PURE__ */ Rn(ki, e);
2661
2661
  }
2662
- const I = /* @__PURE__ */ d("ZodStringFormat", (e, o) => {
2662
+ const N = /* @__PURE__ */ f("ZodStringFormat", (e, o) => {
2663
2663
  T.init(e, o), zo.init(e, o);
2664
- }), wi = /* @__PURE__ */ d("ZodEmail", (e, o) => {
2665
- Lt.init(e, o), I.init(e, o);
2666
- }), Me = /* @__PURE__ */ d("ZodGUID", (e, o) => {
2667
- Ut.init(e, o), I.init(e, o);
2668
- }), re = /* @__PURE__ */ d("ZodUUID", (e, o) => {
2669
- Ft.init(e, o), I.init(e, o);
2670
- }), Si = /* @__PURE__ */ d("ZodURL", (e, o) => {
2671
- Mt.init(e, o), I.init(e, o);
2672
- }), $i = /* @__PURE__ */ d("ZodEmoji", (e, o) => {
2673
- Jt.init(e, o), I.init(e, o);
2674
- }), Zi = /* @__PURE__ */ d("ZodNanoID", (e, o) => {
2675
- Vt.init(e, o), I.init(e, o);
2676
- }), Pi = /* @__PURE__ */ d("ZodCUID", (e, o) => {
2677
- Bt.init(e, o), I.init(e, o);
2678
- }), Ti = /* @__PURE__ */ d("ZodCUID2", (e, o) => {
2679
- Wt.init(e, o), I.init(e, o);
2680
- }), Oi = /* @__PURE__ */ d("ZodULID", (e, o) => {
2681
- Gt.init(e, o), I.init(e, o);
2682
- }), Ii = /* @__PURE__ */ d("ZodXID", (e, o) => {
2683
- qt.init(e, o), I.init(e, o);
2684
- }), Ni = /* @__PURE__ */ d("ZodKSUID", (e, o) => {
2685
- Kt.init(e, o), I.init(e, o);
2686
- }), Ei = /* @__PURE__ */ d("ZodIPv4", (e, o) => {
2687
- en.init(e, o), I.init(e, o);
2688
- }), Ci = /* @__PURE__ */ d("ZodIPv6", (e, o) => {
2689
- on.init(e, o), I.init(e, o);
2690
- }), Ai = /* @__PURE__ */ d("ZodCIDRv4", (e, o) => {
2691
- tn.init(e, o), I.init(e, o);
2692
- }), xi = /* @__PURE__ */ d("ZodCIDRv6", (e, o) => {
2693
- nn.init(e, o), I.init(e, o);
2694
- }), ji = /* @__PURE__ */ d("ZodBase64", (e, o) => {
2695
- rn.init(e, o), I.init(e, o);
2696
- }), Ri = /* @__PURE__ */ d("ZodBase64URL", (e, o) => {
2697
- sn.init(e, o), I.init(e, o);
2698
- }), Di = /* @__PURE__ */ d("ZodE164", (e, o) => {
2699
- cn.init(e, o), I.init(e, o);
2700
- }), Ui = /* @__PURE__ */ d("ZodJWT", (e, o) => {
2701
- un.init(e, o), I.init(e, o);
2702
- }), ko = /* @__PURE__ */ d("ZodNumber", (e, o) => {
2703
- lo.init(e, o), P.init(e, o), e._zod.processJSONSchema = (n, r, a) => Cr(e, n, r), e.gt = (n, r) => e.check(/* @__PURE__ */ Fe(n, r)), e.gte = (n, r) => e.check(/* @__PURE__ */ me(n, r)), e.min = (n, r) => e.check(/* @__PURE__ */ me(n, r)), e.lt = (n, r) => e.check(/* @__PURE__ */ Ue(n, r)), e.lte = (n, r) => e.check(/* @__PURE__ */ he(n, r)), e.max = (n, r) => e.check(/* @__PURE__ */ he(n, r)), e.int = (n) => e.check(Je(n)), e.safe = (n) => e.check(Je(n)), e.positive = (n) => e.check(/* @__PURE__ */ Fe(0, n)), e.nonnegative = (n) => e.check(/* @__PURE__ */ me(0, n)), e.negative = (n) => e.check(/* @__PURE__ */ Ue(0, n)), e.nonpositive = (n) => e.check(/* @__PURE__ */ he(0, n)), e.multipleOf = (n, r) => e.check(/* @__PURE__ */ Le(n, r)), e.step = (n, r) => e.check(/* @__PURE__ */ Le(n, r)), e.finite = () => e;
2664
+ }), wi = /* @__PURE__ */ f("ZodEmail", (e, o) => {
2665
+ Lt.init(e, o), N.init(e, o);
2666
+ }), Ue = /* @__PURE__ */ f("ZodGUID", (e, o) => {
2667
+ Ft.init(e, o), N.init(e, o);
2668
+ }), re = /* @__PURE__ */ f("ZodUUID", (e, o) => {
2669
+ Mt.init(e, o), N.init(e, o);
2670
+ }), Si = /* @__PURE__ */ f("ZodURL", (e, o) => {
2671
+ Ut.init(e, o), N.init(e, o);
2672
+ }), $i = /* @__PURE__ */ f("ZodEmoji", (e, o) => {
2673
+ Jt.init(e, o), N.init(e, o);
2674
+ }), Zi = /* @__PURE__ */ f("ZodNanoID", (e, o) => {
2675
+ Bt.init(e, o), N.init(e, o);
2676
+ }), Pi = /* @__PURE__ */ f("ZodCUID", (e, o) => {
2677
+ Vt.init(e, o), N.init(e, o);
2678
+ }), Ti = /* @__PURE__ */ f("ZodCUID2", (e, o) => {
2679
+ Wt.init(e, o), N.init(e, o);
2680
+ }), Oi = /* @__PURE__ */ f("ZodULID", (e, o) => {
2681
+ Gt.init(e, o), N.init(e, o);
2682
+ }), Ni = /* @__PURE__ */ f("ZodXID", (e, o) => {
2683
+ qt.init(e, o), N.init(e, o);
2684
+ }), Ii = /* @__PURE__ */ f("ZodKSUID", (e, o) => {
2685
+ Kt.init(e, o), N.init(e, o);
2686
+ }), Ci = /* @__PURE__ */ f("ZodIPv4", (e, o) => {
2687
+ en.init(e, o), N.init(e, o);
2688
+ }), Ei = /* @__PURE__ */ f("ZodIPv6", (e, o) => {
2689
+ on.init(e, o), N.init(e, o);
2690
+ }), Ai = /* @__PURE__ */ f("ZodCIDRv4", (e, o) => {
2691
+ tn.init(e, o), N.init(e, o);
2692
+ }), xi = /* @__PURE__ */ f("ZodCIDRv6", (e, o) => {
2693
+ nn.init(e, o), N.init(e, o);
2694
+ }), ji = /* @__PURE__ */ f("ZodBase64", (e, o) => {
2695
+ rn.init(e, o), N.init(e, o);
2696
+ }), Ri = /* @__PURE__ */ f("ZodBase64URL", (e, o) => {
2697
+ sn.init(e, o), N.init(e, o);
2698
+ }), Di = /* @__PURE__ */ f("ZodE164", (e, o) => {
2699
+ cn.init(e, o), N.init(e, o);
2700
+ }), Fi = /* @__PURE__ */ f("ZodJWT", (e, o) => {
2701
+ un.init(e, o), N.init(e, o);
2702
+ }), ko = /* @__PURE__ */ f("ZodNumber", (e, o) => {
2703
+ lo.init(e, o), P.init(e, o), e._zod.processJSONSchema = (n, r, s) => Er(e, n, r), e.gt = (n, r) => e.check(/* @__PURE__ */ Me(n, r)), e.gte = (n, r) => e.check(/* @__PURE__ */ me(n, r)), e.min = (n, r) => e.check(/* @__PURE__ */ me(n, r)), e.lt = (n, r) => e.check(/* @__PURE__ */ Fe(n, r)), e.lte = (n, r) => e.check(/* @__PURE__ */ he(n, r)), e.max = (n, r) => e.check(/* @__PURE__ */ he(n, r)), e.int = (n) => e.check(Je(n)), e.safe = (n) => e.check(Je(n)), e.positive = (n) => e.check(/* @__PURE__ */ Me(0, n)), e.nonnegative = (n) => e.check(/* @__PURE__ */ me(0, n)), e.negative = (n) => e.check(/* @__PURE__ */ Fe(0, n)), e.nonpositive = (n) => e.check(/* @__PURE__ */ he(0, n)), e.multipleOf = (n, r) => e.check(/* @__PURE__ */ Le(n, r)), e.step = (n, r) => e.check(/* @__PURE__ */ Le(n, r)), e.finite = () => e;
2704
2704
  const t = e._zod.bag;
2705
2705
  e.minValue = Math.max(t.minimum ?? Number.NEGATIVE_INFINITY, t.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null, e.maxValue = Math.min(t.maximum ?? Number.POSITIVE_INFINITY, t.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null, e.isInt = (t.format ?? "").includes("int") || Number.isSafeInteger(t.multipleOf ?? 0.5), e.isFinite = !0, e.format = t.format ?? null;
2706
2706
  });
2707
- function g(e) {
2707
+ function h(e) {
2708
2708
  return /* @__PURE__ */ lr(ko, e);
2709
2709
  }
2710
- const Fi = /* @__PURE__ */ d("ZodNumberFormat", (e, o) => {
2710
+ const Mi = /* @__PURE__ */ f("ZodNumberFormat", (e, o) => {
2711
2711
  pn.init(e, o), ko.init(e, o);
2712
2712
  });
2713
2713
  function Je(e) {
2714
- return /* @__PURE__ */ ur(Fi, e);
2714
+ return /* @__PURE__ */ ur(Mi, e);
2715
2715
  }
2716
- const Li = /* @__PURE__ */ d("ZodBoolean", (e, o) => {
2716
+ const Li = /* @__PURE__ */ f("ZodBoolean", (e, o) => {
2717
2717
  dn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Ar(e, t, n);
2718
2718
  });
2719
- function f(e) {
2719
+ function p(e) {
2720
2720
  return /* @__PURE__ */ pr(Li, e);
2721
2721
  }
2722
- const Mi = /* @__PURE__ */ d("ZodNull", (e, o) => {
2722
+ const Ui = /* @__PURE__ */ f("ZodNull", (e, o) => {
2723
2723
  fn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => xr(e, t, n);
2724
2724
  });
2725
2725
  function y(e) {
2726
- return /* @__PURE__ */ dr(Mi, e);
2726
+ return /* @__PURE__ */ dr(Ui, e);
2727
2727
  }
2728
- const Ji = /* @__PURE__ */ d("ZodUnknown", (e, o) => {
2728
+ const Ji = /* @__PURE__ */ f("ZodUnknown", (e, o) => {
2729
2729
  hn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Rr();
2730
2730
  });
2731
- function s() {
2731
+ function i() {
2732
2732
  return /* @__PURE__ */ fr(Ji);
2733
2733
  }
2734
- const Vi = /* @__PURE__ */ d("ZodNever", (e, o) => {
2734
+ const Bi = /* @__PURE__ */ f("ZodNever", (e, o) => {
2735
2735
  mn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => jr(e, t, n);
2736
2736
  });
2737
- function Bi(e) {
2738
- return /* @__PURE__ */ hr(Vi, e);
2737
+ function Vi(e) {
2738
+ return /* @__PURE__ */ hr(Bi, e);
2739
2739
  }
2740
- const Wi = /* @__PURE__ */ d("ZodArray", (e, o) => {
2740
+ const Wi = /* @__PURE__ */ f("ZodArray", (e, o) => {
2741
2741
  gn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Lr(e, t, n, r), e.element = o.element, e.min = (t, n) => e.check(/* @__PURE__ */ ce(t, n)), e.nonempty = (t) => e.check(/* @__PURE__ */ ce(1, t)), e.max = (t, n) => e.check(/* @__PURE__ */ ho(t, n)), e.length = (t, n) => e.check(/* @__PURE__ */ mo(t, n)), e.unwrap = () => e.element;
2742
2742
  });
2743
- function U(e, o) {
2743
+ function I(e, o) {
2744
2744
  return /* @__PURE__ */ Zr(Wi, e, o);
2745
2745
  }
2746
- const Gi = /* @__PURE__ */ d("ZodObject", (e, o) => {
2747
- vn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Mr(e, t, n, r), $(e, "shape", () => o.shape), e.keyof = () => b(Object.keys(e._zod.def.shape)), e.catchall = (t) => e.clone({ ...e._zod.def, catchall: t }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: s() }), e.loose = () => e.clone({ ...e._zod.def, catchall: s() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Bi() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (t) => jo(e, t), e.safeExtend = (t) => Ro(e, t), e.merge = (t) => Do(e, t), e.pick = (t) => Ao(e, t), e.omit = (t) => xo(e, t), e.partial = (...t) => Uo(wo, e, t[0]), e.required = (...t) => Fo(So, e, t[0]);
2746
+ const Gi = /* @__PURE__ */ f("ZodObject", (e, o) => {
2747
+ vn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Ur(e, t, n, r), $(e, "shape", () => o.shape), e.keyof = () => z(Object.keys(e._zod.def.shape)), e.catchall = (t) => e.clone({ ...e._zod.def, catchall: t }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: i() }), e.loose = () => e.clone({ ...e._zod.def, catchall: i() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Vi() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (t) => jo(e, t), e.safeExtend = (t) => Ro(e, t), e.merge = (t) => Do(e, t), e.pick = (t) => Ao(e, t), e.omit = (t) => xo(e, t), e.partial = (...t) => Fo(wo, e, t[0]), e.required = (...t) => Mo(So, e, t[0]);
2748
2748
  });
2749
- function z(e, o) {
2749
+ function b(e, o) {
2750
2750
  const t = {
2751
2751
  type: "object",
2752
2752
  shape: e ?? {},
@@ -2754,7 +2754,7 @@ function z(e, o) {
2754
2754
  };
2755
2755
  return new Gi(t);
2756
2756
  }
2757
- const qi = /* @__PURE__ */ d("ZodUnion", (e, o) => {
2757
+ const qi = /* @__PURE__ */ f("ZodUnion", (e, o) => {
2758
2758
  bn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Jr(e, t, n, r), e.options = o.options;
2759
2759
  });
2760
2760
  function _(e, o) {
@@ -2764,8 +2764,8 @@ function _(e, o) {
2764
2764
  ...k(o)
2765
2765
  });
2766
2766
  }
2767
- const Ki = /* @__PURE__ */ d("ZodIntersection", (e, o) => {
2768
- yn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Vr(e, t, n, r);
2767
+ const Ki = /* @__PURE__ */ f("ZodIntersection", (e, o) => {
2768
+ yn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Br(e, t, n, r);
2769
2769
  });
2770
2770
  function Xi(e, o) {
2771
2771
  return new Ki({
@@ -2774,22 +2774,22 @@ function Xi(e, o) {
2774
2774
  right: o
2775
2775
  });
2776
2776
  }
2777
- const Yi = /* @__PURE__ */ d("ZodTuple", (e, o) => {
2778
- zn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Br(e, t, n, r), e.rest = (t) => e.clone({
2777
+ const Yi = /* @__PURE__ */ f("ZodTuple", (e, o) => {
2778
+ zn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Vr(e, t, n, r), e.rest = (t) => e.clone({
2779
2779
  ...e._zod.def,
2780
2780
  rest: t
2781
2781
  });
2782
2782
  });
2783
2783
  function W(e, o, t) {
2784
- const n = o instanceof Z, r = n ? t : o, a = n ? o : null;
2784
+ const n = o instanceof Z, r = n ? t : o, s = n ? o : null;
2785
2785
  return new Yi({
2786
2786
  type: "tuple",
2787
2787
  items: e,
2788
- rest: a,
2788
+ rest: s,
2789
2789
  ...k(r)
2790
2790
  });
2791
2791
  }
2792
- const Hi = /* @__PURE__ */ d("ZodRecord", (e, o) => {
2792
+ const Hi = /* @__PURE__ */ f("ZodRecord", (e, o) => {
2793
2793
  kn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Wr(e, t, n, r), e.keyType = o.keyType, e.valueType = o.valueType;
2794
2794
  });
2795
2795
  function H(e, o, t) {
@@ -2800,38 +2800,38 @@ function H(e, o, t) {
2800
2800
  ...k(t)
2801
2801
  });
2802
2802
  }
2803
- const ve = /* @__PURE__ */ d("ZodEnum", (e, o) => {
2804
- wn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (n, r, a) => Dr(e, n, r), e.enum = o.entries, e.options = Object.values(o.entries);
2803
+ const ve = /* @__PURE__ */ f("ZodEnum", (e, o) => {
2804
+ wn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (n, r, s) => Dr(e, n, r), e.enum = o.entries, e.options = Object.values(o.entries);
2805
2805
  const t = new Set(Object.keys(o.entries));
2806
2806
  e.extract = (n, r) => {
2807
- const a = {};
2808
- for (const i of n)
2809
- if (t.has(i))
2810
- a[i] = o.entries[i];
2807
+ const s = {};
2808
+ for (const a of n)
2809
+ if (t.has(a))
2810
+ s[a] = o.entries[a];
2811
2811
  else
2812
- throw new Error(`Key ${i} not found in enum`);
2812
+ throw new Error(`Key ${a} not found in enum`);
2813
2813
  return new ve({
2814
2814
  ...o,
2815
2815
  checks: [],
2816
2816
  ...k(r),
2817
- entries: a
2817
+ entries: s
2818
2818
  });
2819
2819
  }, e.exclude = (n, r) => {
2820
- const a = { ...o.entries };
2821
- for (const i of n)
2822
- if (t.has(i))
2823
- delete a[i];
2820
+ const s = { ...o.entries };
2821
+ for (const a of n)
2822
+ if (t.has(a))
2823
+ delete s[a];
2824
2824
  else
2825
- throw new Error(`Key ${i} not found in enum`);
2825
+ throw new Error(`Key ${a} not found in enum`);
2826
2826
  return new ve({
2827
2827
  ...o,
2828
2828
  checks: [],
2829
2829
  ...k(r),
2830
- entries: a
2830
+ entries: s
2831
2831
  });
2832
2832
  };
2833
2833
  });
2834
- function b(e, o) {
2834
+ function z(e, o) {
2835
2835
  const t = Array.isArray(e) ? Object.fromEntries(e.map((n) => [n, n])) : e;
2836
2836
  return new ve({
2837
2837
  type: "enum",
@@ -2839,20 +2839,20 @@ function b(e, o) {
2839
2839
  ...k(o)
2840
2840
  });
2841
2841
  }
2842
- const Qi = /* @__PURE__ */ d("ZodTransform", (e, o) => {
2843
- Sn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Fr(e, t), e._zod.parse = (t, n) => {
2842
+ const Qi = /* @__PURE__ */ f("ZodTransform", (e, o) => {
2843
+ Sn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Mr(e, t), e._zod.parse = (t, n) => {
2844
2844
  if (n.direction === "backward")
2845
2845
  throw new Ge(e.constructor.name);
2846
- t.addIssue = (a) => {
2847
- if (typeof a == "string")
2848
- t.issues.push(Q(a, t.value, o));
2846
+ t.addIssue = (s) => {
2847
+ if (typeof s == "string")
2848
+ t.issues.push(Q(s, t.value, o));
2849
2849
  else {
2850
- const i = a;
2851
- i.fatal && (i.continue = !1), i.code ?? (i.code = "custom"), i.input ?? (i.input = t.value), i.inst ?? (i.inst = e), t.issues.push(Q(i));
2850
+ const a = s;
2851
+ a.fatal && (a.continue = !1), a.code ?? (a.code = "custom"), a.input ?? (a.input = t.value), a.inst ?? (a.inst = e), t.issues.push(Q(a));
2852
2852
  }
2853
2853
  };
2854
2854
  const r = o.transform(t.value, t);
2855
- return r instanceof Promise ? r.then((a) => (t.value = a, t)) : (t.value = r, t);
2855
+ return r instanceof Promise ? r.then((s) => (t.value = s, t)) : (t.value = r, t);
2856
2856
  };
2857
2857
  });
2858
2858
  function ea(e) {
@@ -2861,16 +2861,16 @@ function ea(e) {
2861
2861
  transform: e
2862
2862
  });
2863
2863
  }
2864
- const wo = /* @__PURE__ */ d("ZodOptional", (e, o) => {
2864
+ const wo = /* @__PURE__ */ f("ZodOptional", (e, o) => {
2865
2865
  fo.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => bo(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
2866
2866
  });
2867
- function Ve(e) {
2867
+ function Be(e) {
2868
2868
  return new wo({
2869
2869
  type: "optional",
2870
2870
  innerType: e
2871
2871
  });
2872
2872
  }
2873
- const oa = /* @__PURE__ */ d("ZodExactOptional", (e, o) => {
2873
+ const oa = /* @__PURE__ */ f("ZodExactOptional", (e, o) => {
2874
2874
  $n.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => bo(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
2875
2875
  });
2876
2876
  function ta(e) {
@@ -2879,16 +2879,16 @@ function ta(e) {
2879
2879
  innerType: e
2880
2880
  });
2881
2881
  }
2882
- const na = /* @__PURE__ */ d("ZodNullable", (e, o) => {
2882
+ const na = /* @__PURE__ */ f("ZodNullable", (e, o) => {
2883
2883
  Zn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Gr(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
2884
2884
  });
2885
- function Be(e) {
2885
+ function Ve(e) {
2886
2886
  return new na({
2887
2887
  type: "nullable",
2888
2888
  innerType: e
2889
2889
  });
2890
2890
  }
2891
- const ra = /* @__PURE__ */ d("ZodDefault", (e, o) => {
2891
+ const ra = /* @__PURE__ */ f("ZodDefault", (e, o) => {
2892
2892
  Pn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Kr(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
2893
2893
  });
2894
2894
  function ia(e, o) {
@@ -2900,7 +2900,7 @@ function ia(e, o) {
2900
2900
  }
2901
2901
  });
2902
2902
  }
2903
- const aa = /* @__PURE__ */ d("ZodPrefault", (e, o) => {
2903
+ const aa = /* @__PURE__ */ f("ZodPrefault", (e, o) => {
2904
2904
  Tn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Xr(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
2905
2905
  });
2906
2906
  function sa(e, o) {
@@ -2912,7 +2912,7 @@ function sa(e, o) {
2912
2912
  }
2913
2913
  });
2914
2914
  }
2915
- const So = /* @__PURE__ */ d("ZodNonOptional", (e, o) => {
2915
+ const So = /* @__PURE__ */ f("ZodNonOptional", (e, o) => {
2916
2916
  On.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => qr(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
2917
2917
  });
2918
2918
  function ca(e, o) {
@@ -2922,8 +2922,8 @@ function ca(e, o) {
2922
2922
  ...k(o)
2923
2923
  });
2924
2924
  }
2925
- const la = /* @__PURE__ */ d("ZodCatch", (e, o) => {
2926
- In.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Yr(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
2925
+ const la = /* @__PURE__ */ f("ZodCatch", (e, o) => {
2926
+ Nn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Yr(e, t, n, r), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
2927
2927
  });
2928
2928
  function ua(e, o) {
2929
2929
  return new la({
@@ -2932,8 +2932,8 @@ function ua(e, o) {
2932
2932
  catchValue: typeof o == "function" ? o : () => o
2933
2933
  });
2934
2934
  }
2935
- const pa = /* @__PURE__ */ d("ZodPipe", (e, o) => {
2936
- Nn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Hr(e, t, n, r), e.in = o.in, e.out = o.out;
2935
+ const pa = /* @__PURE__ */ f("ZodPipe", (e, o) => {
2936
+ In.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Hr(e, t, n, r), e.in = o.in, e.out = o.out;
2937
2937
  });
2938
2938
  function We(e, o) {
2939
2939
  return new pa({
@@ -2943,8 +2943,8 @@ function We(e, o) {
2943
2943
  // ...util.normalizeParams(params),
2944
2944
  });
2945
2945
  }
2946
- const da = /* @__PURE__ */ d("ZodReadonly", (e, o) => {
2947
- En.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Qr(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
2946
+ const da = /* @__PURE__ */ f("ZodReadonly", (e, o) => {
2947
+ Cn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Qr(e, t, n, r), e.unwrap = () => e._zod.def.innerType;
2948
2948
  });
2949
2949
  function fa(e) {
2950
2950
  return new da({
@@ -2952,8 +2952,8 @@ function fa(e) {
2952
2952
  innerType: e
2953
2953
  });
2954
2954
  }
2955
- const ha = /* @__PURE__ */ d("ZodLazy", (e, o) => {
2956
- Cn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => ei(e, t, n, r), e.unwrap = () => e._zod.def.getter();
2955
+ const ha = /* @__PURE__ */ f("ZodLazy", (e, o) => {
2956
+ En.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => ei(e, t, n, r), e.unwrap = () => e._zod.def.getter();
2957
2957
  });
2958
2958
  function ma(e) {
2959
2959
  return new ha({
@@ -2961,8 +2961,8 @@ function ma(e) {
2961
2961
  getter: e
2962
2962
  });
2963
2963
  }
2964
- const ga = /* @__PURE__ */ d("ZodCustom", (e, o) => {
2965
- An.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Ur(e, t);
2964
+ const ga = /* @__PURE__ */ f("ZodCustom", (e, o) => {
2965
+ An.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Fr(e, t);
2966
2966
  });
2967
2967
  function _a(e, o = {}) {
2968
2968
  return /* @__PURE__ */ Pr(ga, e, o);
@@ -2970,135 +2970,240 @@ function _a(e, o = {}) {
2970
2970
  function va(e) {
2971
2971
  return /* @__PURE__ */ Tr(e);
2972
2972
  }
2973
- const m = _([
2973
+ const g = _([
2974
2974
  c(),
2975
- g(),
2976
- f(),
2975
+ h(),
2976
+ p(),
2977
2977
  y(),
2978
- z({ path: c() })
2978
+ b({ path: c() })
2979
2979
  ]), ie = ma(
2980
2980
  () => _([
2981
- z({ and: U(ie) }),
2982
- z({ or: U(ie) }),
2983
- z({ not: ie }),
2984
- z({ path: c() }),
2985
- z({ eq: W([m, m]) }),
2986
- z({ neq: W([m, m]) }),
2987
- z({ gt: W([m, m]) }),
2988
- z({ gte: W([m, m]) }),
2989
- z({ lt: W([m, m]) }),
2990
- z({ lte: W([m, m]) })
2981
+ b({ and: I(ie) }),
2982
+ b({ or: I(ie) }),
2983
+ b({ not: ie }),
2984
+ b({ path: c() }),
2985
+ b({ eq: W([g, g]) }),
2986
+ b({ neq: W([g, g]) }),
2987
+ b({ gt: W([g, g]) }),
2988
+ b({ gte: W([g, g]) }),
2989
+ b({ lt: W([g, g]) }),
2990
+ b({ lte: W([g, g]) })
2991
2991
  ])
2992
2992
  ), ba = _([
2993
- f(),
2994
- z({ path: c() }),
2995
- z({ auth: b(["signedIn", "signedOut"]) }),
2993
+ p(),
2994
+ b({ path: c() }),
2995
+ b({ auth: z(["signedIn", "signedOut"]) }),
2996
2996
  ie
2997
- ]), ya = z({
2997
+ ]), ya = b({
2998
2998
  title: c(),
2999
2999
  message: c(),
3000
- variant: b(["default", "danger"]).optional(),
3000
+ variant: z(["default", "danger"]).optional(),
3001
3001
  confirmLabel: c().optional(),
3002
3002
  cancelLabel: c().optional()
3003
- }), za = z({
3003
+ }), za = b({
3004
3004
  name: c(),
3005
- params: H(c(), m).optional(),
3005
+ params: H(c(), g).optional(),
3006
3006
  confirm: ya.optional(),
3007
- onSuccess: z({ set: H(c(), m) }).optional(),
3008
- onError: z({ set: H(c(), m) }).optional()
3009
- }), ka = z({
3010
- items: U(s()),
3007
+ onSuccess: b({ set: H(c(), g) }).optional(),
3008
+ onError: b({ set: H(c(), g) }).optional()
3009
+ }), ka = b({
3010
+ items: I(i()),
3011
3011
  // Array of items to display in the dropdown
3012
- value: U(s()).optional(),
3012
+ value: I(i()).optional(),
3013
3013
  // The controlled input value
3014
- open: f().optional(),
3014
+ open: p().optional(),
3015
3015
  // Whether the popup is open (controlled)
3016
- children: _([c(), g(), f(), y(), m]).optional(),
3016
+ children: _([c(), h(), p(), y(), g]).optional(),
3017
3017
  // Autocomplete content (input group, popup content)
3018
3018
  className: c().optional(),
3019
3019
  // Additional CSS classes
3020
- label: _([c(), g(), f(), y(), m]).optional(),
3020
+ label: _([c(), h(), p(), y(), g]).optional(),
3021
3021
  // Label content (enables Field wrapper)
3022
- required: f().optional(),
3022
+ required: p().optional(),
3023
3023
  // Whether the field is required
3024
- labelTooltip: _([c(), g(), f(), y(), m]).optional(),
3024
+ labelTooltip: _([c(), h(), p(), y(), g]).optional(),
3025
3025
  // Tooltip content to display next to the label
3026
- description: _([c(), g(), f(), y(), m]).optional(),
3026
+ description: _([c(), h(), p(), y(), g]).optional(),
3027
3027
  // Helper text displayed below the field
3028
- error: s().optional()
3028
+ error: i().optional()
3029
3029
  // Error message or validation error object
3030
- }), wa = z({
3031
- variant: b(["primary", "secondary", "error", "warning", "success", "destructive", "info", "beta", "outline", "red", "green", "neutral", "orange", "purple", "teal", "teal-subtle", "blue"]).optional(),
3030
+ }), wa = b({
3031
+ variant: z(["primary", "secondary", "error", "warning", "success", "destructive", "info", "beta", "outline", "red", "green", "neutral", "orange", "purple", "teal", "teal-subtle", "blue"]).optional(),
3032
3032
  // Color variant of the badge. Recommended semantic variants: - `"primary"` — Primary badge - `"secondary"` — Secondary badge - `"error"` — Error badge - `"warning"` — Warning badge - `"success"` — Success badge - `"info"` — Info badge Additional token variants: - `"red"`, `"orange"`, `"green"`, `"teal"`, `"blue"`, `"purple"`, `"neutral"` - `"teal-subtle"`, `"neutral-subtle"` - `"inverted"` - `"outline"` — Bordered badge with transparent background - `"beta"` — Dashed-border badge for beta/experimental features
3033
- appearance: b(["filled", "dot"]).optional(),
3033
+ appearance: z(["filled", "dot"]).optional(),
3034
3034
  // Visual appearance of the badge. - `"filled"` — Filled background using the variant color (default) - `"dot"` — Outlined badge with a colored circle dot. Only `success`, `warning`, `error`, and `neutral` variants show a dot; other variants render the badge without a dot.
3035
3035
  className: c().optional(),
3036
3036
  // Additional CSS classes merged via `cn()`.
3037
- children: _([c(), g(), f(), y(), m]).optional()
3037
+ children: _([c(), h(), p(), y(), g]).optional()
3038
3038
  // Content rendered inside the badge.
3039
- }), Sa = z({
3039
+ }), Sa = b({
3040
3040
  className: c().optional(),
3041
3041
  // Additional CSS classes merged via `cn()`.
3042
3042
  id: c().optional(),
3043
3043
  lang: c().optional(),
3044
- icon: _([c(), g(), f(), y(), m]).optional(),
3044
+ icon: _([c(), h(), p(), y(), g]).optional(),
3045
3045
  // Icon element rendered before the banner content (e.g. from `@phosphor-icons/react`).
3046
3046
  title: c().optional(),
3047
3047
  // Primary heading text for the banner. Use for i18n string injection.
3048
- description: _([c(), g(), f(), y(), m]).optional(),
3048
+ description: _([c(), h(), p(), y(), g]).optional(),
3049
3049
  // Secondary description text displayed below the title. Use for i18n string injection.
3050
- action: _([c(), g(), f(), y(), m]).optional(),
3050
+ action: _([c(), h(), p(), y(), g]).optional(),
3051
3051
  // Action slot rendered at the trailing end of the banner (e.g. a CTA button or link). Only used in structured mode (with `title` or `description`).
3052
3052
  text: c().optional(),
3053
- children: _([c(), g(), f(), y(), m]).optional(),
3054
- variant: b(["default", "alert", "error", "secondary"]).optional()
3053
+ children: _([c(), h(), p(), y(), g]).optional(),
3054
+ variant: z(["default", "alert", "error", "secondary"]).optional()
3055
3055
  // Visual style of the banner. - `"default"` — Informational blue banner for general messages - `"alert"` — Warning yellow banner for cautionary messages - `"error"` — Error red banner for critical issues - `"secondary"` — Neutral banner for secondary messages
3056
- }), $a = z({
3057
- size: b(["sm", "base"]).optional(),
3056
+ }), $a = b({
3057
+ size: z(["sm", "base"]).optional(),
3058
3058
  // Size of the breadcrumbs. - `"sm"` — Compact breadcrumbs for dense UIs - `"base"` — Default breadcrumbs size
3059
- children: _([c(), g(), f(), y(), m]).optional(),
3059
+ children: _([c(), h(), p(), y(), g]).optional(),
3060
3060
  className: c().optional()
3061
3061
  // Additional CSS classes merged via `cn()`.
3062
- }), Za = z({
3063
- shape: b(["base", "square", "circle"]).optional(),
3064
- size: b(["xs", "sm", "base", "lg"]).optional(),
3065
- variant: b(["primary", "secondary", "ghost", "destructive", "secondary-destructive", "outline"]).optional(),
3066
- children: _([c(), g(), f(), y(), m]).optional(),
3062
+ }), Za = b({
3063
+ echarts: i(),
3064
+ // The ECharts core instance imported by the consumer (passed in for tree-shaking). Requires `MapChart`, `ScatterChart`, `TooltipComponent`, and a renderer registered via `echarts.use([...])`.
3065
+ geoJson: i(),
3066
+ // GeoJSON `FeatureCollection` for the land base.
3067
+ mapName: c().optional(),
3068
+ // Optional stable ECharts map registry name. Set this when the same GeoJSON is parsed into new object instances across mounts and should reuse one global ECharts registration.
3069
+ data: I(i()),
3070
+ // Raw data rows. Coordinates/value/name are read via the accessors below.
3071
+ lng: i(),
3072
+ // Longitude accessor (key of `T` or `(row) => number`).
3073
+ lat: i(),
3074
+ // Latitude accessor (key of `T` or `(row) => number`).
3075
+ value: i(),
3076
+ // Value accessor — drives bubble size.
3077
+ name: i().optional(),
3078
+ // Optional name accessor — used by the default tooltip.
3079
+ minRadius: h().optional(),
3080
+ // Smallest bubble radius in px. Default: `6`.
3081
+ maxRadius: h().optional(),
3082
+ // Largest bubble radius in px. Default: `26`.
3083
+ bubbleSize: i().optional(),
3084
+ // Explicit bubble radius `(value) => px`. Overrides the default `minRadius`/`maxRadius` scaling.
3085
+ bubbleColor: i().optional(),
3086
+ // Bubble fill colour — constant or `(row) => color`. Defaults to the chart blue.
3087
+ bubbleBorderColor: i().optional(),
3088
+ // Bubble border colour — constant or `(row) => color`. Default: `transparent`.
3089
+ bubbleBorderWidth: i().optional(),
3090
+ // Bubble border width — constant or `(row) => px`. Default: `0`.
3091
+ center: i().optional(),
3092
+ // Map center as `[longitude, latitude]`. Defaults to auto-fit.
3093
+ zoom: h().optional(),
3094
+ // Zoom level — multiplies the auto-fit scale. Default: `1.25`.
3095
+ roam: p().optional(),
3096
+ // Enable drag-to-pan and scroll-to-zoom. Default: `false`.
3097
+ projection: i().optional(),
3098
+ // Geographic projection. Defaults to a latitude-clamped Mercator (flat 2D web-map look). Pass another d3-geo projection to override, or `null` for ECharts' raw equirectangular plotting. Use a stable reference (module-level or memoised): a new object each render rebuilds the view and resets a roamed/zoomed map.
3099
+ showTooltip: p().optional(),
3100
+ // Show the tooltip. Default: `true`.
3101
+ valueFormat: i().optional(),
3102
+ // Format the value for the default tooltip. Default: `toLocaleString()`.
3103
+ tooltipFormatter: i().optional(),
3104
+ // Override the tooltip content for a row. Returns an HTML string rendered by ECharts' own tooltip. USE WITH CAUTION: the return value is injected as HTML. Escape any user-provided strings to avoid XSS.
3105
+ aspectRatio: i().optional(),
3106
+ // Container aspect ratio as `width / height` (e.g. `1.7` or `"16 / 9"`). The height derives from the rendered width so the map fills the frame with no letterboxing. Defaults to the projected aspect of the displayed window, so the land fits edge-to-edge. Pass `height` to fix a pixel height instead.
3107
+ height: h().optional(),
3108
+ // Fixed chart height in pixels. Overrides `aspectRatio` when set. Leave unset to size by aspect ratio (the default) so the map fills the container.
3067
3109
  className: c().optional(),
3068
- icon: _([c(), g(), f(), y(), m]).optional(),
3110
+ isDarkMode: p().optional()
3111
+ }), Pa = b({
3112
+ shape: z(["base", "square", "circle"]).optional(),
3113
+ size: z(["xs", "sm", "base", "lg"]).optional(),
3114
+ variant: z(["primary", "secondary", "ghost", "destructive", "secondary-destructive", "outline"]).optional(),
3115
+ children: _([c(), h(), p(), y(), g]).optional(),
3116
+ className: c().optional(),
3117
+ icon: _([c(), h(), p(), y(), g]).optional(),
3069
3118
  // Icon from `@phosphor-icons/react` or a React element. Rendered before children.
3070
- loading: f().optional(),
3119
+ loading: p().optional(),
3071
3120
  // Shows a loading spinner and disables interaction.
3072
3121
  title: c().optional(),
3073
3122
  id: c().optional(),
3074
3123
  lang: c().optional(),
3075
- disabled: f().optional(),
3124
+ disabled: p().optional(),
3076
3125
  name: c().optional(),
3077
- type: b(["submit", "reset", "button"]).optional(),
3078
- value: s().optional()
3079
- }), Pa = z({
3080
- variant: b(["default", "error"]).optional(),
3126
+ type: z(["submit", "reset", "button"]).optional(),
3127
+ value: i().optional()
3128
+ }), Ta = b({
3129
+ echarts: i(),
3130
+ // The ECharts core instance imported by the consumer. Passed in rather than imported directly so the consumer controls which ECharts modules are bundled (tree-shaking).
3131
+ options: i(),
3132
+ // ECharts option object — passed through to `chart.setOption()`
3133
+ optionUpdateBehavior: i().optional(),
3134
+ // Additional options passed as the second argument to `chart.setOption()`. Defaults to `{ notMerge: false, lazyUpdate: true }`.
3135
+ className: c().optional(),
3136
+ // Additional CSS classes applied to the chart container `<div>`
3137
+ isDarkMode: p().optional(),
3138
+ // When `true`, initialises ECharts with its built-in dark theme. Changing this value after mount destroys and re-creates the chart instance.
3139
+ height: h().optional(),
3140
+ // Height of the chart container in pixels. Defaults to `350`.
3141
+ aspectRatio: i().optional()
3142
+ // Container aspect ratio as `width / height` (e.g. `1.7` or `"16 / 9"`). When set, the height derives from the rendered width via CSS `aspect-ratio` and the `height` prop is ignored — useful for maps so the canvas matches the map's shape and fills the frame with no letterboxing.
3143
+ }), Oa = b({
3144
+ variant: z(["default", "error"]).optional(),
3081
3145
  // Visual variant: "default" or "error" for validation failures (visual only, no error text)
3082
- label: _([c(), g(), f(), y(), m]).optional(),
3146
+ label: _([c(), h(), p(), y(), g]).optional(),
3083
3147
  // Label content for the checkbox (enables built-in Field wrapper) - can be a string or any React node
3084
- labelTooltip: _([c(), g(), f(), y(), m]).optional(),
3148
+ labelTooltip: _([c(), h(), p(), y(), g]).optional(),
3085
3149
  // Tooltip content to display next to the label via an info icon
3086
- controlFirst: f().optional(),
3150
+ controlFirst: p().optional(),
3087
3151
  // When true (default), checkbox appears before label. When false, label appears before checkbox.
3088
- checked: f().optional(),
3152
+ checked: p().optional(),
3089
3153
  // Whether the checkbox is checked (controlled)
3090
- indeterminate: f().optional(),
3154
+ indeterminate: p().optional(),
3091
3155
  // Whether the checkbox is in indeterminate state
3092
- disabled: f().optional(),
3156
+ disabled: p().optional(),
3093
3157
  // Whether the checkbox is disabled
3094
3158
  name: c().optional(),
3095
3159
  // Name for form submission
3096
- required: f().optional(),
3160
+ required: p().optional(),
3097
3161
  // Whether the field is required
3098
3162
  className: c().optional()
3099
3163
  // Additional class name
3100
- }), Ta = z({
3101
- size: b(["sm", "base", "lg"]).optional(),
3164
+ }), Na = b({
3165
+ echarts: i(),
3166
+ // The ECharts core instance imported by the consumer (passed in for tree-shaking). Requires `MapChart`, `VisualMapComponent`, `TooltipComponent`, and a renderer registered via `echarts.use([...])`.
3167
+ geoJson: i(),
3168
+ // GeoJSON `FeatureCollection` whose regions are shaded by value.
3169
+ mapName: c().optional(),
3170
+ // Optional stable ECharts map registry name. Set this when the same GeoJSON is parsed into new object instances across mounts and should reuse one global ECharts registration.
3171
+ data: I(i()),
3172
+ // Raw data rows. The region key and value are read via the accessors below.
3173
+ name: i(),
3174
+ // Region-key accessor (key of `T` or `(row) => string`). Each row is joined to a GeoJSON feature whose `nameProperty` equals this value.
3175
+ value: i(),
3176
+ // Value accessor — drives the region's fill colour.
3177
+ nameProperty: c().optional(),
3178
+ // GeoJSON feature property to join on. Default: `"name"`. Real-world data is often more reliably matched on an ISO-code property (e.g. `"iso_a2"`).
3179
+ colorRange: I(c()).optional(),
3180
+ // Sequential colour ramp (low → high). Defaults to the Kumo choropleth blues, tuned to stay distinct from the no-data fill. Distributed across the continuous gradient.
3181
+ noDataColor: c().optional(),
3182
+ // Fill for regions with no matching data row. Defaults to the neutral land grey.
3183
+ showLegend: p().optional(),
3184
+ // Show the visualMap colour legend. Default: `false`.
3185
+ showTooltip: p().optional(),
3186
+ // Show the tooltip. Default: `true`.
3187
+ valueFormat: i().optional(),
3188
+ // Format the value for the default tooltip. Default: `toLocaleString()`.
3189
+ tooltipFormatter: i().optional(),
3190
+ // Override the tooltip content for a row. Returns an HTML string rendered by ECharts' own tooltip. USE WITH CAUTION: the return value is injected as HTML. Escape any user-provided strings to avoid XSS.
3191
+ center: i().optional(),
3192
+ // Map center as `[longitude, latitude]`. Defaults to auto-fit.
3193
+ zoom: h().optional(),
3194
+ // Zoom level — multiplies the auto-fit scale. Default: `1.25`.
3195
+ roam: p().optional(),
3196
+ // Enable drag-to-pan and scroll-to-zoom. Default: `false`.
3197
+ projection: i().optional(),
3198
+ // Geographic projection. Defaults to a latitude-clamped Mercator (flat 2D web-map look). Pass another d3-geo projection to override, or `null` for ECharts' raw equirectangular plotting. Use a stable reference (module-level or memoised): a new object each render rebuilds the view and resets a roamed/zoomed map.
3199
+ aspectRatio: i().optional(),
3200
+ // Container aspect ratio as `width / height` (e.g. `1.7` or `"16 / 9"`). The height derives from the rendered width so the map fills the frame with no letterboxing. Defaults to the projected aspect of the displayed window, so the regions fit edge-to-edge. Pass `height` to fix a pixel height instead.
3201
+ height: h().optional(),
3202
+ // Fixed chart height in pixels. Overrides `aspectRatio` when set. Leave unset to size by aspect ratio (the default) so the map fills the container.
3203
+ className: c().optional(),
3204
+ isDarkMode: p().optional()
3205
+ }), Ia = b({
3206
+ size: z(["sm", "base", "lg"]).optional(),
3102
3207
  // Size of the clipboard text field. - `"sm"` — Small clipboard text for compact UIs - `"base"` — Default clipboard text size - `"lg"` — Large clipboard text for prominent display
3103
3208
  text: c(),
3104
3209
  // The text to display and copy to clipboard.
@@ -3106,14 +3211,14 @@ const m = _([
3106
3211
  // If provided, this text will be copied to clipboard instead of the `text` prop.
3107
3212
  className: c().optional(),
3108
3213
  // Additional CSS classes merged via `cn()`.
3109
- tooltip: s().optional(),
3214
+ tooltip: i().optional(),
3110
3215
  // Tooltip config. Shows tooltip on hover, anchored toast on click.
3111
- labels: s().optional()
3216
+ labels: i().optional()
3112
3217
  // Accessible labels for i18n.
3113
- }), Oa = z({
3114
- children: _([c(), g(), f(), y(), m]).optional(),
3218
+ }), Ca = b({
3219
+ children: _([c(), h(), p(), y(), g]).optional(),
3115
3220
  className: c().optional(),
3116
- height: s().optional(),
3221
+ height: i().optional(),
3117
3222
  id: c().optional(),
3118
3223
  lang: c().optional(),
3119
3224
  media: c().optional(),
@@ -3121,231 +3226,231 @@ const m = _([
3121
3226
  name: c().optional(),
3122
3227
  target: c().optional(),
3123
3228
  type: c().optional(),
3124
- width: s().optional(),
3125
- accentHeight: s().optional(),
3126
- accumulate: b(["none", "sum"]).optional(),
3127
- additive: b(["replace", "sum"]).optional(),
3128
- alignmentBaseline: b(["auto", "baseline", "before-edge", "text-before-edge", "middle", "central", "after-edge", "text-after-edge", "ideographic", "alphabetic", "hanging", "mathematical", "inherit"]).optional(),
3129
- allowReorder: b(["no", "yes"]).optional(),
3130
- alphabetic: s().optional(),
3131
- amplitude: s().optional(),
3132
- arabicForm: b(["initial", "medial", "terminal", "isolated"]).optional(),
3133
- ascent: s().optional(),
3229
+ width: i().optional(),
3230
+ accentHeight: i().optional(),
3231
+ accumulate: z(["none", "sum"]).optional(),
3232
+ additive: z(["replace", "sum"]).optional(),
3233
+ alignmentBaseline: z(["auto", "baseline", "before-edge", "text-before-edge", "middle", "central", "after-edge", "text-after-edge", "ideographic", "alphabetic", "hanging", "mathematical", "inherit"]).optional(),
3234
+ allowReorder: z(["no", "yes"]).optional(),
3235
+ alphabetic: i().optional(),
3236
+ amplitude: i().optional(),
3237
+ arabicForm: z(["initial", "medial", "terminal", "isolated"]).optional(),
3238
+ ascent: i().optional(),
3134
3239
  attributeName: c().optional(),
3135
3240
  attributeType: c().optional(),
3136
- autoReverse: s().optional(),
3137
- azimuth: s().optional(),
3138
- baseFrequency: s().optional(),
3139
- baselineShift: s().optional(),
3140
- baseProfile: s().optional(),
3141
- bbox: s().optional(),
3142
- begin: s().optional(),
3143
- bias: s().optional(),
3144
- by: s().optional(),
3145
- calcMode: s().optional(),
3146
- capHeight: s().optional(),
3147
- clip: s().optional(),
3241
+ autoReverse: i().optional(),
3242
+ azimuth: i().optional(),
3243
+ baseFrequency: i().optional(),
3244
+ baselineShift: i().optional(),
3245
+ baseProfile: i().optional(),
3246
+ bbox: i().optional(),
3247
+ begin: i().optional(),
3248
+ bias: i().optional(),
3249
+ by: i().optional(),
3250
+ calcMode: i().optional(),
3251
+ capHeight: i().optional(),
3252
+ clip: i().optional(),
3148
3253
  clipPath: c().optional(),
3149
- clipPathUnits: s().optional(),
3150
- clipRule: s().optional(),
3151
- colorInterpolation: s().optional(),
3152
- colorInterpolationFilters: b(["auto", "sRGB", "linearRGB", "inherit"]).optional(),
3153
- colorProfile: s().optional(),
3154
- colorRendering: s().optional(),
3155
- contentScriptType: s().optional(),
3156
- contentStyleType: s().optional(),
3157
- cursor: s().optional(),
3158
- cx: s().optional(),
3159
- cy: s().optional(),
3254
+ clipPathUnits: i().optional(),
3255
+ clipRule: i().optional(),
3256
+ colorInterpolation: i().optional(),
3257
+ colorInterpolationFilters: z(["auto", "sRGB", "linearRGB", "inherit"]).optional(),
3258
+ colorProfile: i().optional(),
3259
+ colorRendering: i().optional(),
3260
+ contentScriptType: i().optional(),
3261
+ contentStyleType: i().optional(),
3262
+ cursor: i().optional(),
3263
+ cx: i().optional(),
3264
+ cy: i().optional(),
3160
3265
  d: c().optional(),
3161
- decelerate: s().optional(),
3162
- descent: s().optional(),
3163
- diffuseConstant: s().optional(),
3164
- direction: s().optional(),
3165
- display: s().optional(),
3166
- divisor: s().optional(),
3167
- dominantBaseline: b(["auto", "use-script", "no-change", "reset-size", "ideographic", "alphabetic", "hanging", "mathematical", "central", "middle", "text-after-edge", "text-before-edge", "inherit"]).optional(),
3168
- dur: s().optional(),
3169
- dx: s().optional(),
3170
- dy: s().optional(),
3171
- edgeMode: s().optional(),
3172
- elevation: s().optional(),
3173
- enableBackground: s().optional(),
3174
- end: s().optional(),
3175
- exponent: s().optional(),
3176
- externalResourcesRequired: s().optional(),
3266
+ decelerate: i().optional(),
3267
+ descent: i().optional(),
3268
+ diffuseConstant: i().optional(),
3269
+ direction: i().optional(),
3270
+ display: i().optional(),
3271
+ divisor: i().optional(),
3272
+ dominantBaseline: z(["auto", "use-script", "no-change", "reset-size", "ideographic", "alphabetic", "hanging", "mathematical", "central", "middle", "text-after-edge", "text-before-edge", "inherit"]).optional(),
3273
+ dur: i().optional(),
3274
+ dx: i().optional(),
3275
+ dy: i().optional(),
3276
+ edgeMode: i().optional(),
3277
+ elevation: i().optional(),
3278
+ enableBackground: i().optional(),
3279
+ end: i().optional(),
3280
+ exponent: i().optional(),
3281
+ externalResourcesRequired: i().optional(),
3177
3282
  fill: c().optional(),
3178
- fillOpacity: s().optional(),
3179
- fillRule: b(["nonzero", "evenodd", "inherit"]).optional(),
3283
+ fillOpacity: i().optional(),
3284
+ fillRule: z(["nonzero", "evenodd", "inherit"]).optional(),
3180
3285
  filter: c().optional(),
3181
- filterRes: s().optional(),
3182
- filterUnits: s().optional(),
3183
- floodColor: s().optional(),
3184
- floodOpacity: s().optional(),
3185
- focusable: s().optional(),
3286
+ filterRes: i().optional(),
3287
+ filterUnits: i().optional(),
3288
+ floodColor: i().optional(),
3289
+ floodOpacity: i().optional(),
3290
+ focusable: i().optional(),
3186
3291
  fontFamily: c().optional(),
3187
- fontSize: s().optional(),
3188
- fontSizeAdjust: s().optional(),
3189
- fontStretch: s().optional(),
3190
- fontStyle: s().optional(),
3191
- fontVariant: s().optional(),
3192
- fontWeight: s().optional(),
3193
- format: s().optional(),
3194
- fr: s().optional(),
3195
- from: s().optional(),
3196
- fx: s().optional(),
3197
- fy: s().optional(),
3198
- g1: s().optional(),
3199
- g2: s().optional(),
3200
- glyphName: s().optional(),
3201
- glyphOrientationHorizontal: s().optional(),
3202
- glyphOrientationVertical: s().optional(),
3203
- glyphRef: s().optional(),
3292
+ fontSize: i().optional(),
3293
+ fontSizeAdjust: i().optional(),
3294
+ fontStretch: i().optional(),
3295
+ fontStyle: i().optional(),
3296
+ fontVariant: i().optional(),
3297
+ fontWeight: i().optional(),
3298
+ format: i().optional(),
3299
+ fr: i().optional(),
3300
+ from: i().optional(),
3301
+ fx: i().optional(),
3302
+ fy: i().optional(),
3303
+ g1: i().optional(),
3304
+ g2: i().optional(),
3305
+ glyphName: i().optional(),
3306
+ glyphOrientationHorizontal: i().optional(),
3307
+ glyphOrientationVertical: i().optional(),
3308
+ glyphRef: i().optional(),
3204
3309
  gradientTransform: c().optional(),
3205
3310
  gradientUnits: c().optional(),
3206
- hanging: s().optional(),
3207
- horizAdvX: s().optional(),
3208
- horizOriginX: s().optional(),
3311
+ hanging: i().optional(),
3312
+ horizAdvX: i().optional(),
3313
+ horizOriginX: i().optional(),
3209
3314
  href: c().optional(),
3210
- ideographic: s().optional(),
3211
- imageRendering: s().optional(),
3212
- in2: s().optional(),
3315
+ ideographic: i().optional(),
3316
+ imageRendering: i().optional(),
3317
+ in2: i().optional(),
3213
3318
  in: c().optional(),
3214
- intercept: s().optional(),
3215
- k1: s().optional(),
3216
- k2: s().optional(),
3217
- k3: s().optional(),
3218
- k4: s().optional(),
3219
- k: s().optional(),
3220
- kernelMatrix: s().optional(),
3221
- kernelUnitLength: s().optional(),
3222
- kerning: s().optional(),
3223
- keyPoints: s().optional(),
3224
- keySplines: s().optional(),
3225
- keyTimes: s().optional(),
3226
- lengthAdjust: s().optional(),
3227
- letterSpacing: s().optional(),
3228
- lightingColor: s().optional(),
3229
- limitingConeAngle: s().optional(),
3230
- local: s().optional(),
3319
+ intercept: i().optional(),
3320
+ k1: i().optional(),
3321
+ k2: i().optional(),
3322
+ k3: i().optional(),
3323
+ k4: i().optional(),
3324
+ k: i().optional(),
3325
+ kernelMatrix: i().optional(),
3326
+ kernelUnitLength: i().optional(),
3327
+ kerning: i().optional(),
3328
+ keyPoints: i().optional(),
3329
+ keySplines: i().optional(),
3330
+ keyTimes: i().optional(),
3331
+ lengthAdjust: i().optional(),
3332
+ letterSpacing: i().optional(),
3333
+ lightingColor: i().optional(),
3334
+ limitingConeAngle: i().optional(),
3335
+ local: i().optional(),
3231
3336
  markerEnd: c().optional(),
3232
- markerHeight: s().optional(),
3337
+ markerHeight: i().optional(),
3233
3338
  markerMid: c().optional(),
3234
3339
  markerStart: c().optional(),
3235
- markerUnits: s().optional(),
3236
- markerWidth: s().optional(),
3340
+ markerUnits: i().optional(),
3341
+ markerWidth: i().optional(),
3237
3342
  mask: c().optional(),
3238
- maskContentUnits: s().optional(),
3239
- maskUnits: s().optional(),
3240
- mathematical: s().optional(),
3241
- mode: s().optional(),
3242
- numOctaves: s().optional(),
3243
- offset: s().optional(),
3244
- opacity: s().optional(),
3245
- operator: s().optional(),
3246
- order: s().optional(),
3247
- orient: s().optional(),
3248
- orientation: s().optional(),
3249
- origin: s().optional(),
3250
- overflow: s().optional(),
3251
- overlinePosition: s().optional(),
3252
- overlineThickness: s().optional(),
3253
- paintOrder: s().optional(),
3254
- panose1: s().optional(),
3343
+ maskContentUnits: i().optional(),
3344
+ maskUnits: i().optional(),
3345
+ mathematical: i().optional(),
3346
+ mode: i().optional(),
3347
+ numOctaves: i().optional(),
3348
+ offset: i().optional(),
3349
+ opacity: i().optional(),
3350
+ operator: i().optional(),
3351
+ order: i().optional(),
3352
+ orient: i().optional(),
3353
+ orientation: i().optional(),
3354
+ origin: i().optional(),
3355
+ overflow: i().optional(),
3356
+ overlinePosition: i().optional(),
3357
+ overlineThickness: i().optional(),
3358
+ paintOrder: i().optional(),
3359
+ panose1: i().optional(),
3255
3360
  path: c().optional(),
3256
- pathLength: s().optional(),
3361
+ pathLength: i().optional(),
3257
3362
  patternContentUnits: c().optional(),
3258
- patternTransform: s().optional(),
3363
+ patternTransform: i().optional(),
3259
3364
  patternUnits: c().optional(),
3260
- pointerEvents: s().optional(),
3365
+ pointerEvents: i().optional(),
3261
3366
  points: c().optional(),
3262
- pointsAtX: s().optional(),
3263
- pointsAtY: s().optional(),
3264
- pointsAtZ: s().optional(),
3265
- preserveAlpha: s().optional(),
3367
+ pointsAtX: i().optional(),
3368
+ pointsAtY: i().optional(),
3369
+ pointsAtZ: i().optional(),
3370
+ preserveAlpha: i().optional(),
3266
3371
  preserveAspectRatio: c().optional(),
3267
- primitiveUnits: s().optional(),
3268
- r: s().optional(),
3269
- radius: s().optional(),
3270
- refX: s().optional(),
3271
- refY: s().optional(),
3272
- renderingIntent: s().optional(),
3273
- repeatCount: s().optional(),
3274
- repeatDur: s().optional(),
3275
- requiredExtensions: s().optional(),
3276
- requiredFeatures: s().optional(),
3277
- restart: s().optional(),
3372
+ primitiveUnits: i().optional(),
3373
+ r: i().optional(),
3374
+ radius: i().optional(),
3375
+ refX: i().optional(),
3376
+ refY: i().optional(),
3377
+ renderingIntent: i().optional(),
3378
+ repeatCount: i().optional(),
3379
+ repeatDur: i().optional(),
3380
+ requiredExtensions: i().optional(),
3381
+ requiredFeatures: i().optional(),
3382
+ restart: i().optional(),
3278
3383
  result: c().optional(),
3279
- rotate: s().optional(),
3280
- rx: s().optional(),
3281
- ry: s().optional(),
3282
- scale: s().optional(),
3283
- seed: s().optional(),
3284
- shapeRendering: s().optional(),
3285
- slope: s().optional(),
3286
- spacing: s().optional(),
3287
- specularConstant: s().optional(),
3288
- specularExponent: s().optional(),
3289
- speed: s().optional(),
3384
+ rotate: i().optional(),
3385
+ rx: i().optional(),
3386
+ ry: i().optional(),
3387
+ scale: i().optional(),
3388
+ seed: i().optional(),
3389
+ shapeRendering: i().optional(),
3390
+ slope: i().optional(),
3391
+ spacing: i().optional(),
3392
+ specularConstant: i().optional(),
3393
+ specularExponent: i().optional(),
3394
+ speed: i().optional(),
3290
3395
  spreadMethod: c().optional(),
3291
- startOffset: s().optional(),
3292
- stdDeviation: s().optional(),
3293
- stemh: s().optional(),
3294
- stemv: s().optional(),
3295
- stitchTiles: s().optional(),
3396
+ startOffset: i().optional(),
3397
+ stdDeviation: i().optional(),
3398
+ stemh: i().optional(),
3399
+ stemv: i().optional(),
3400
+ stitchTiles: i().optional(),
3296
3401
  stopColor: c().optional(),
3297
- stopOpacity: s().optional(),
3298
- strikethroughPosition: s().optional(),
3299
- strikethroughThickness: s().optional(),
3300
- string: s().optional(),
3402
+ stopOpacity: i().optional(),
3403
+ strikethroughPosition: i().optional(),
3404
+ strikethroughThickness: i().optional(),
3405
+ string: i().optional(),
3301
3406
  stroke: c().optional(),
3302
- strokeDasharray: s().optional(),
3303
- strokeDashoffset: s().optional(),
3304
- strokeLinecap: b(["butt", "round", "square", "inherit"]).optional(),
3305
- strokeLinejoin: b(["miter", "round", "bevel", "inherit"]).optional(),
3306
- strokeMiterlimit: s().optional(),
3307
- strokeOpacity: s().optional(),
3308
- strokeWidth: s().optional(),
3309
- surfaceScale: s().optional(),
3310
- systemLanguage: s().optional(),
3311
- tableValues: s().optional(),
3312
- targetX: s().optional(),
3313
- targetY: s().optional(),
3314
- textAnchor: b(["start", "middle", "end", "inherit"]).optional(),
3315
- textDecoration: s().optional(),
3316
- textLength: s().optional(),
3317
- textRendering: s().optional(),
3318
- to: s().optional(),
3407
+ strokeDasharray: i().optional(),
3408
+ strokeDashoffset: i().optional(),
3409
+ strokeLinecap: z(["butt", "round", "square", "inherit"]).optional(),
3410
+ strokeLinejoin: z(["miter", "round", "bevel", "inherit"]).optional(),
3411
+ strokeMiterlimit: i().optional(),
3412
+ strokeOpacity: i().optional(),
3413
+ strokeWidth: i().optional(),
3414
+ surfaceScale: i().optional(),
3415
+ systemLanguage: i().optional(),
3416
+ tableValues: i().optional(),
3417
+ targetX: i().optional(),
3418
+ targetY: i().optional(),
3419
+ textAnchor: z(["start", "middle", "end", "inherit"]).optional(),
3420
+ textDecoration: i().optional(),
3421
+ textLength: i().optional(),
3422
+ textRendering: i().optional(),
3423
+ to: i().optional(),
3319
3424
  transform: c().optional(),
3320
- u1: s().optional(),
3321
- u2: s().optional(),
3322
- underlinePosition: s().optional(),
3323
- underlineThickness: s().optional(),
3324
- unicode: s().optional(),
3325
- unicodeBidi: s().optional(),
3326
- unicodeRange: s().optional(),
3327
- unitsPerEm: s().optional(),
3328
- vAlphabetic: s().optional(),
3425
+ u1: i().optional(),
3426
+ u2: i().optional(),
3427
+ underlinePosition: i().optional(),
3428
+ underlineThickness: i().optional(),
3429
+ unicode: i().optional(),
3430
+ unicodeBidi: i().optional(),
3431
+ unicodeRange: i().optional(),
3432
+ unitsPerEm: i().optional(),
3433
+ vAlphabetic: i().optional(),
3329
3434
  values: c().optional(),
3330
- vectorEffect: s().optional(),
3435
+ vectorEffect: i().optional(),
3331
3436
  version: c().optional(),
3332
- vertAdvY: s().optional(),
3333
- vertOriginX: s().optional(),
3334
- vertOriginY: s().optional(),
3335
- vHanging: s().optional(),
3336
- vIdeographic: s().optional(),
3437
+ vertAdvY: i().optional(),
3438
+ vertOriginX: i().optional(),
3439
+ vertOriginY: i().optional(),
3440
+ vHanging: i().optional(),
3441
+ vIdeographic: i().optional(),
3337
3442
  viewBox: c().optional(),
3338
- viewTarget: s().optional(),
3339
- visibility: s().optional(),
3340
- vMathematical: s().optional(),
3341
- widths: s().optional(),
3342
- wordSpacing: s().optional(),
3343
- writingMode: s().optional(),
3344
- x1: s().optional(),
3345
- x2: s().optional(),
3346
- x: s().optional(),
3443
+ viewTarget: i().optional(),
3444
+ visibility: i().optional(),
3445
+ vMathematical: i().optional(),
3446
+ widths: i().optional(),
3447
+ wordSpacing: i().optional(),
3448
+ writingMode: i().optional(),
3449
+ x1: i().optional(),
3450
+ x2: i().optional(),
3451
+ x: i().optional(),
3347
3452
  xChannelSelector: c().optional(),
3348
- xHeight: s().optional(),
3453
+ xHeight: i().optional(),
3349
3454
  xlinkActuate: c().optional(),
3350
3455
  xlinkArcrole: c().optional(),
3351
3456
  xlinkHref: c().optional(),
@@ -3358,98 +3463,98 @@ const m = _([
3358
3463
  xmlns: c().optional(),
3359
3464
  xmlnsXlink: c().optional(),
3360
3465
  xmlSpace: c().optional(),
3361
- y1: s().optional(),
3362
- y2: s().optional(),
3363
- y: s().optional(),
3466
+ y1: i().optional(),
3467
+ y2: i().optional(),
3468
+ y: i().optional(),
3364
3469
  yChannelSelector: c().optional(),
3365
- z: s().optional(),
3470
+ z: i().optional(),
3366
3471
  zoomAndPan: c().optional(),
3367
- variant: b(["glyph", "full"]).optional()
3472
+ variant: z(["glyph", "full"]).optional()
3368
3473
  // Logo variant - `glyph`: Cloud icon only - `full`: Cloud icon with "CLOUDFLARE" wordmark below
3369
- }), Ia = z({
3370
- lang: b(["ts", "tsx", "jsonc", "bash", "css"]).optional(),
3474
+ }), Ea = b({
3475
+ lang: z(["ts", "tsx", "jsonc", "bash", "css"]).optional(),
3371
3476
  // Language hint for the code content. - `"ts"` — TypeScript code - `"tsx"` — TypeScript JSX code - `"jsonc"` — JSON with comments - `"bash"` — Shell/Bash commands - `"css"` — CSS styles
3372
3477
  code: c(),
3373
3478
  // The code string to display.
3374
- values: s().optional(),
3479
+ values: i().optional(),
3375
3480
  // Template values for `{{key}}` interpolation. Values with `highlight: true` are visually emphasized.
3376
3481
  className: c().optional()
3377
3482
  // Additional CSS classes merged via `cn()`.
3378
- }), Na = z({
3483
+ }), Aa = b({
3379
3484
  className: c().optional(),
3380
3485
  // Additional CSS classes
3381
- onOpenChange: s().optional()
3486
+ onOpenChange: i().optional()
3382
3487
  // Callback when collapsed state changes
3383
- }), Ea = z({
3384
- size: b(["xs", "sm", "base", "lg"]).optional(),
3488
+ }), xa = b({
3489
+ size: z(["xs", "sm", "base", "lg"]).optional(),
3385
3490
  // Size of the combobox trigger. Matches Input component sizes. - `"xs"` — Extra small for compact UIs (h-5 / 20px) - `"sm"` — Small for secondary fields (h-6.5 / 26px) - `"base"` — Default size (h-9 / 36px) - `"lg"` — Large for prominent fields (h-10 / 40px)
3386
- inputSide: b(["right", "top"]).optional(),
3491
+ inputSide: z(["right", "top"]).optional(),
3387
3492
  // Position of the text input relative to chips in multi-select mode. - `"right"` — Input inline to the right of chips - `"top"` — Input above chips
3388
- items: U(s()),
3493
+ items: I(i()),
3389
3494
  // Array of items to display in the dropdown
3390
- value: U(s()).optional(),
3495
+ value: I(i()).optional(),
3391
3496
  // Currently selected value(s)
3392
- children: _([c(), g(), f(), y(), m]).optional(),
3497
+ children: _([c(), h(), p(), y(), g]).optional(),
3393
3498
  // Combobox content (trigger, content, items)
3394
3499
  className: c().optional(),
3395
3500
  // Additional CSS classes
3396
- label: _([c(), g(), f(), y(), m]).optional(),
3501
+ label: _([c(), h(), p(), y(), g]).optional(),
3397
3502
  // Label content for the combobox (enables Field wrapper) - can be a string or any React node
3398
- required: f().optional(),
3503
+ required: p().optional(),
3399
3504
  // Whether the combobox is required
3400
- labelTooltip: _([c(), g(), f(), y(), m]).optional(),
3505
+ labelTooltip: _([c(), h(), p(), y(), g]).optional(),
3401
3506
  // Tooltip content to display next to the label via an info icon
3402
- description: _([c(), g(), f(), y(), m]).optional(),
3507
+ description: _([c(), h(), p(), y(), g]).optional(),
3403
3508
  // Helper text displayed below the combobox
3404
- error: s().optional(),
3509
+ error: i().optional(),
3405
3510
  // Error message or validation error object
3406
- onValueChange: s().optional(),
3511
+ onValueChange: i().optional(),
3407
3512
  // Callback when selection changes
3408
- multiple: f().optional(),
3513
+ multiple: p().optional(),
3409
3514
  // Allow multiple selections
3410
- isItemEqualToValue: s().optional()
3515
+ isItemEqualToValue: i().optional()
3411
3516
  // Custom equality function for comparing items
3412
- }), Ca = z({
3413
- open: f(),
3517
+ }), ja = b({
3518
+ open: p(),
3414
3519
  // Whether the dialog is open
3415
- children: _([c(), g(), f(), y(), m]).optional(),
3520
+ children: _([c(), h(), p(), y(), g]).optional(),
3416
3521
  // Child content - typically one or more Panel components
3417
- container: s().optional()
3522
+ container: i().optional()
3418
3523
  // Container element for the portal. Use this to render the command palette inside a Shadow DOM or custom container. Overrides `KumoPortalProvider` context.
3419
- }), Aa = z({
3524
+ }), Ra = b({
3420
3525
  className: c().optional(),
3421
3526
  // Additional CSS classes
3422
- children: _([c(), g(), f(), y(), m]).optional()
3527
+ children: _([c(), h(), p(), y(), g]).optional()
3423
3528
  // Child elements
3424
- }), xa = z({
3425
- size: b(["sm", "base", "lg"]).optional(),
3529
+ }), Da = b({
3530
+ size: z(["sm", "base", "lg"]).optional(),
3426
3531
  // Calendar size. - `"sm"` — Compact calendar for tight spaces - `"base"` — Default calendar size - `"lg"` — Large calendar for prominent date selection
3427
- variant: b(["default", "subtle"]).optional(),
3532
+ variant: z(["default", "subtle"]).optional(),
3428
3533
  // Visual variant. - `"default"` — Standard appearance with overlay background - `"subtle"` — Minimal background
3429
3534
  timezone: c().optional(),
3430
3535
  // Display timezone string shown in the footer.
3431
3536
  className: c().optional(),
3432
3537
  // Additional CSS classes merged via `cn()`.
3433
- onStartDateChange: s().optional(),
3538
+ onStartDateChange: i().optional(),
3434
3539
  // Callback when start date changes
3435
- onEndDateChange: s().optional()
3540
+ onEndDateChange: i().optional()
3436
3541
  // Callback when end date changes
3437
- }), ja = z({
3542
+ }), Fa = b({
3438
3543
  className: c().optional(),
3439
3544
  // Additional CSS classes merged via `cn()`.
3440
- children: _([c(), g(), f(), y(), m]).optional(),
3545
+ children: _([c(), h(), p(), y(), g]).optional(),
3441
3546
  // Dialog content (typically Title, Description, Close, and action buttons).
3442
- container: s().optional(),
3547
+ container: i().optional(),
3443
3548
  // Container element for the portal. Use this to render the dialog inside a Shadow DOM or custom container. Overrides `KumoPortalProvider` context.
3444
- size: b(["base", "sm", "lg", "xl"]).optional()
3445
- // Dialog width. - `"sm"` — Small (min 288px) for simple confirmations - `"base"` — Default (min 384px) - `"lg"` — Large (min 512px) for complex content - `"xl"` — Extra large (min 768px) for detailed views
3446
- }), Ra = z({
3447
- variant: b(["default", "danger"]).optional()
3549
+ size: z(["base", "sm", "lg", "xl"]).optional()
3550
+ // Dialog width. - `"sm"` — Small (288px) for simple confirmations - `"base"` — Default (384px) - `"lg"` — Large (512px) for complex content - `"xl"` — Extra large (768px) for detailed views
3551
+ }), Ma = b({
3552
+ variant: z(["default", "danger"]).optional()
3448
3553
  // Visual style of the dropdown item. - `"default"` — Standard item appearance - `"danger"` — Destructive action with red text
3449
- }), Da = z({
3450
- size: b(["sm", "base", "lg"]).optional(),
3554
+ }), La = b({
3555
+ size: z(["sm", "base", "lg"]).optional(),
3451
3556
  // Size of the empty state container. - `"sm"` — Compact empty state for smaller containers - `"base"` — Default empty state size - `"lg"` — Large empty state for prominent placement
3452
- icon: _([c(), g(), f(), y(), m]).optional(),
3557
+ icon: _([c(), h(), p(), y(), g]).optional(),
3453
3558
  // Decorative icon displayed above the title (e.g. from `@phosphor-icons/react`).
3454
3559
  title: c(),
3455
3560
  // Primary heading text for the empty state.
@@ -3457,330 +3562,375 @@ const m = _([
3457
3562
  // Secondary description text displayed below the title.
3458
3563
  commandLine: c().optional(),
3459
3564
  // Shell command displayed in a copyable code block.
3460
- contents: _([c(), g(), f(), y(), m]).optional(),
3565
+ contents: _([c(), h(), p(), y(), g]).optional(),
3461
3566
  // Additional content (buttons, links) rendered below the description.
3462
3567
  className: c().optional()
3463
3568
  // Additional CSS classes merged via `cn()`.
3464
- }), Ua = z({
3465
- controlFirst: f().optional(),
3569
+ }), Ua = b({
3570
+ controlFirst: p().optional(),
3466
3571
  // When `true`, places the control before the label (for checkbox/switch layouts).
3467
- children: _([c(), g(), f(), y(), m]).optional(),
3572
+ children: _([c(), h(), p(), y(), g]).optional(),
3468
3573
  // The form control element(s) to wrap (Input, Select, Checkbox, etc.).
3469
- label: _([c(), g(), f(), y(), m]).optional(),
3574
+ label: _([c(), h(), p(), y(), g]).optional(),
3470
3575
  // The label content — can be a string or any React node.
3471
- required: f().optional(),
3576
+ required: p().optional(),
3472
3577
  // When explicitly `false`, shows gray "(optional)" text after the label. When `true` or `undefined`, no indicator is shown.
3473
- labelTooltip: _([c(), g(), f(), y(), m]).optional(),
3578
+ labelTooltip: _([c(), h(), p(), y(), g]).optional(),
3474
3579
  // Tooltip content displayed next to the label via an info icon.
3475
- error: s().optional(),
3580
+ error: i().optional(),
3476
3581
  // Validation error with a message and a browser `ValidityState` match key.
3477
- description: _([c(), g(), f(), y(), m]).optional(),
3582
+ description: _([c(), h(), p(), y(), g]).optional(),
3478
3583
  // Helper text displayed below the control (hidden when `error` is present).
3479
- hideLabel: f().optional()
3584
+ hideLabel: p().optional()
3480
3585
  // When `true`, Field renders layout, description, and error but skips the `<label>` element. Use when the child component provides its own accessible label (e.g. Select uses Base UI's `Select.Label` to avoid hover/focus coupling from native `<label>`).
3481
- }), Fa = z({
3482
- children: _([c(), g(), f(), y(), m]).optional(),
3586
+ }), Ja = b({
3587
+ children: _([c(), h(), p(), y(), g]).optional(),
3483
3588
  // Grid items to render.
3484
3589
  className: c().optional(),
3485
3590
  // Additional CSS classes merged via `cn()`.
3486
3591
  id: c().optional(),
3487
3592
  lang: c().optional(),
3488
3593
  title: c().optional(),
3489
- mobileDivider: f().optional(),
3594
+ mobileDivider: p().optional(),
3490
3595
  // Show dividers between grid items on mobile (only works with `"4up"` variant).
3491
- gap: b(["none", "sm", "base", "lg"]).optional(),
3596
+ gap: z(["none", "sm", "base", "lg"]).optional(),
3492
3597
  // Gap size between grid items. - `"none"` — No gap - `"sm"` — 12px gap - `"base"` — Responsive gap (8px → 24px → 32px) - `"lg"` — 32px gap
3493
- variant: b(["2up", "side-by-side", "2-1", "1-2", "1-3up", "3up", "4up", "6up", "1-2-4up"]).optional()
3598
+ variant: z(["2up", "side-by-side", "2-1", "1-2", "1-3up", "3up", "4up", "6up", "1-2-4up"]).optional()
3494
3599
  // Responsive column layout variant. - `"2up"` — 1 col → 2 cols at md - `"side-by-side"` — Always 2 cols - `"2-1"` — 66%/33% split at md - `"1-2"` — 33%/66% split at md - `"3up"` — 1 → 2 → 3 cols - `"4up"` — 1 → 2 → 3 → 4 cols - `"6up"` — 2 → 3 → 4 → 6 cols - `"1-2-4up"` — 1 → 2 → 4 cols
3495
- }), La = z({
3496
- label: _([c(), g(), f(), y(), m]).optional(),
3600
+ }), Ba = b({
3601
+ label: _([c(), h(), p(), y(), g]).optional(),
3497
3602
  // Label content for the input (enables Field wrapper) - can be a string or any React node
3498
- labelTooltip: _([c(), g(), f(), y(), m]).optional(),
3603
+ labelTooltip: _([c(), h(), p(), y(), g]).optional(),
3499
3604
  // Tooltip content to display next to the label via an info icon
3500
- description: _([c(), g(), f(), y(), m]).optional(),
3605
+ description: _([c(), h(), p(), y(), g]).optional(),
3501
3606
  // Helper text displayed below the input
3502
- error: s().optional(),
3607
+ error: i().optional(),
3503
3608
  // Error message or validation error object
3504
- passwordManagerIgnore: f().optional(),
3609
+ passwordManagerIgnore: p().optional(),
3505
3610
  // Suppress browser extension password manager overlays on non-credential inputs.
3506
- size: b(["xs", "sm", "base", "lg"]).optional(),
3611
+ size: z(["xs", "sm", "base", "lg"]).optional(),
3507
3612
  // Input size. - `"xs"` — Extra small for compact UIs - `"sm"` — Small for secondary fields - `"base"` — Default size - `"lg"` — Large for prominent fields
3508
- variant: b(["default", "error"]).optional()
3613
+ variant: z(["default", "error"]).optional()
3509
3614
  // Visual variant. - `"default"` — Standard input - `"error"` — Error state for validation failures
3510
- }), Ma = z({}), Ja = z({
3511
- label: _([c(), g(), f(), y(), m]).optional(),
3615
+ }), Va = b({}), Wa = b({
3616
+ label: _([c(), h(), p(), y(), g]).optional(),
3512
3617
  // The label content — can be a string or any React node.
3513
- description: _([c(), g(), f(), y(), m]).optional(),
3618
+ description: _([c(), h(), p(), y(), g]).optional(),
3514
3619
  // Helper text displayed below the control (hidden when `error` is present).
3515
- error: s().optional(),
3620
+ error: i().optional(),
3516
3621
  // Validation error with a message and a browser `ValidityState` match key.
3517
- required: f().optional(),
3622
+ required: p().optional(),
3518
3623
  // When explicitly `false`, shows gray "(optional)" text after the label. When `true` or `undefined`, no indicator is shown.
3519
- labelTooltip: _([c(), g(), f(), y(), m]).optional(),
3624
+ labelTooltip: _([c(), h(), p(), y(), g]).optional(),
3520
3625
  // Tooltip content displayed next to the label via an info icon.
3521
- children: _([c(), g(), f(), y(), m]).optional(),
3626
+ children: _([c(), h(), p(), y(), g]).optional(),
3522
3627
  className: c().optional(),
3523
3628
  id: c().optional(),
3524
3629
  lang: c().optional(),
3525
3630
  title: c().optional(),
3526
- size: b(["xs", "sm", "base", "lg"]).optional(),
3527
- disabled: f().optional()
3528
- }), Va = z({
3529
- children: _([c(), g(), f(), y(), m]).optional(),
3631
+ size: z(["xs", "sm", "base", "lg"]).optional(),
3632
+ disabled: p().optional()
3633
+ }), Ga = b({
3634
+ children: _([c(), h(), p(), y(), g]).optional(),
3530
3635
  // The label content — can be a string or any React node.
3531
- showOptional: f().optional(),
3636
+ showOptional: p().optional(),
3532
3637
  // When `true`, shows gray "(optional)" text after the label.
3533
- tooltip: _([c(), g(), f(), y(), m]).optional(),
3638
+ tooltip: _([c(), h(), p(), y(), g]).optional(),
3534
3639
  // Tooltip content displayed next to the label via an info icon.
3535
3640
  className: c().optional(),
3536
3641
  // Additional CSS classes merged via `cn()`.
3537
3642
  htmlFor: c().optional(),
3538
3643
  // The id of the form element this label is associated with
3539
- asContent: f().optional()
3644
+ asContent: p().optional()
3540
3645
  // When true, only renders the inline content (indicators, tooltip) without the outer label element with font styling. Useful when composed inside another label element that already provides the text styling.
3541
- }), Ba = z({
3542
- render: _([c(), g(), f(), y(), m]).optional(),
3646
+ }), qa = b({
3647
+ render: _([c(), h(), p(), y(), g]).optional(),
3543
3648
  // Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.
3544
- children: _([c(), g(), f(), y(), m]).optional(),
3649
+ children: _([c(), h(), p(), y(), g]).optional(),
3545
3650
  className: c().optional(),
3546
3651
  id: c().optional(),
3547
3652
  lang: c().optional(),
3548
3653
  title: c().optional()
3549
- }), Wa = z({
3550
- variant: b(["inline", "current", "plain"]).optional(),
3654
+ }), Ka = b({
3655
+ variant: z(["inline", "current", "plain"]).optional(),
3551
3656
  // Visual style of the link. - `"inline"` — Inline text link that flows with content - `"current"` — Link that inherits color from parent text - `"plain"` — Link without underline decoration
3552
3657
  to: c().optional(),
3553
- children: _([c(), g(), f(), y(), m]).optional(),
3658
+ children: _([c(), h(), p(), y(), g]).optional(),
3554
3659
  className: c().optional(),
3555
3660
  id: c().optional(),
3556
3661
  lang: c().optional(),
3557
3662
  title: c().optional(),
3558
- download: s().optional(),
3663
+ download: i().optional(),
3559
3664
  href: c().optional(),
3560
3665
  hrefLang: c().optional(),
3561
3666
  media: c().optional(),
3562
3667
  ping: c().optional(),
3563
- target: s().optional(),
3668
+ target: i().optional(),
3564
3669
  type: c().optional(),
3565
- referrerPolicy: b(["", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"]).optional(),
3566
- render: _([c(), g(), f(), y(), m]).optional()
3670
+ referrerPolicy: z(["", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"]).optional(),
3671
+ render: _([c(), h(), p(), y(), g]).optional()
3567
3672
  // Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.
3568
- }), Ga = z({
3673
+ }), Xa = b({
3569
3674
  className: c().optional(),
3570
3675
  // Additional CSS classes merged via `cn()`.
3571
- size: b(["sm", "base", "lg"]).optional()
3676
+ size: z(["sm", "base", "lg"]).optional()
3572
3677
  // Size of the spinner. Use a preset name or a custom pixel number. - `"sm"` — 16px, for inline use - `"base"` — 24px, default size - `"lg"` — 32px, for prominent loading states
3573
- }), qa = z({
3678
+ }), Ya = b({
3574
3679
  className: c().optional(),
3575
3680
  // Additional CSS classes merged via `cn()`.
3576
- isActive: s().optional(),
3681
+ isActive: i().optional(),
3577
3682
  // The currently active option value — matched against option index or `id`.
3578
- options: U(s()),
3683
+ options: I(i()),
3579
3684
  // Array of menu option configurations.
3580
- optionIds: f().optional()
3685
+ optionIds: p().optional()
3581
3686
  // When true, each option's `id` field is used for matching instead of its array index.
3582
- }), Ka = z({
3687
+ }), Ha = b({
3583
3688
  customValue: c().optional(),
3584
3689
  // Custom formatted value text (e.g. "750 / 1,000") displayed instead of percentage.
3585
3690
  label: c(),
3586
3691
  // Label text displayed above the meter track.
3587
- showValue: f().optional(),
3692
+ showValue: p().optional(),
3588
3693
  // Whether to display the percentage value next to the label.
3589
3694
  trackClassName: c().optional(),
3590
3695
  // Additional CSS classes for the track (background bar).
3591
3696
  indicatorClassName: c().optional(),
3592
3697
  // Additional CSS classes for the indicator (filled bar).
3593
- value: g().optional(),
3698
+ value: h().optional(),
3594
3699
  // Current value of the meter
3595
- max: g().optional(),
3700
+ max: h().optional(),
3596
3701
  // Maximum value of the meter (default: 100)
3597
- min: g().optional()
3702
+ min: h().optional()
3598
3703
  // Minimum value of the meter (default: 0)
3599
- }), Xa = z({
3600
- setPage: s(),
3704
+ }), Qa = b({
3705
+ setPage: i(),
3601
3706
  // Callback when page changes
3602
- page: g().optional(),
3707
+ page: h().optional(),
3603
3708
  // Current page number (1-indexed).
3604
- perPage: g().optional(),
3709
+ perPage: h().optional(),
3605
3710
  // Number of items displayed per page.
3606
- totalCount: g().optional(),
3711
+ totalCount: h().optional(),
3607
3712
  // Total number of items across all pages.
3608
3713
  className: c().optional(),
3609
3714
  // Additional CSS classes for the container
3610
- labels: s().optional(),
3715
+ labels: i().optional(),
3611
3716
  // Labels for internationalization of aria-labels. All labels have English defaults. For visible text like "Showing X of Y", use render props on sub-components: - `Pagination.Info` children for the info text - `Pagination.PageSize` label prop for the "Per page:" text
3612
- children: _([c(), g(), f(), y(), m]).optional(),
3717
+ children: _([c(), h(), p(), y(), g]).optional(),
3613
3718
  // Compound component children for custom layouts. Use Pagination.Info, Pagination.PageSize, Pagination.Controls, and Pagination.Separator.
3614
- controls: b(["full", "simple"]).optional(),
3615
- text: s().optional()
3616
- }), Ya = z({
3617
- side: b(["top", "bottom", "left", "right"]).optional()
3719
+ controls: z(["full", "simple"]).optional(),
3720
+ text: i().optional()
3721
+ }), es = b({
3722
+ side: z(["top", "bottom", "left", "right"]).optional()
3618
3723
  // Which side of the trigger the popover appears on. - `"top"` — Above the trigger - `"bottom"` — Below the trigger - `"left"` — Left of the trigger - `"right"` — Right of the trigger
3619
- }), Ha = z({
3620
- variant: b(["default", "error"]).optional(),
3621
- appearance: b(["default", "card"]).optional(),
3724
+ }), os = b({
3725
+ variant: z(["default", "error"]).optional(),
3726
+ appearance: i().optional(),
3727
+ // Visual appearance applied to all Radio.Item children. - `"default"` — Standard inline radio items - `"card"` — Choice card with border, padding, and highlighted selection state Individual items can override this with their own `appearance` prop.
3728
+ legend: c().optional(),
3729
+ // Legend text for the group (required for accessibility). For more control over legend styling, omit this prop and use `<Radio.Legend>` as a child instead.
3730
+ children: _([c(), h(), p(), y(), g]),
3731
+ // Child Radio.Item components (and optionally a Radio.Legend)
3732
+ orientation: i().optional(),
3733
+ // Layout direction of the radio items
3734
+ error: c().optional(),
3735
+ // Error message for the group
3736
+ description: _([c(), h(), p(), y(), g]).optional(),
3737
+ // Helper text for the group
3738
+ value: i().optional(),
3739
+ // The controlled value of the selected radio item.
3740
+ disabled: p().optional(),
3741
+ // Whether all radios in the group are disabled
3742
+ controlPosition: i().optional(),
3743
+ // Position of radio control relative to label: "start" puts radio before label, "end" puts label before radio. Defaults to "start" for default appearance and "end" for card appearance.
3744
+ name: c().optional(),
3745
+ // Form submission name for the radio group
3622
3746
  className: c().optional(),
3623
3747
  // Additional CSS classes
3624
- children: _([c(), g(), f(), y(), m]).optional(),
3625
- // Child elements
3626
- value: s().optional(),
3627
- // The controlled value of the selected radio item.
3628
- defaultValue: s().optional(),
3748
+ defaultValue: i().optional(),
3629
3749
  // The uncontrolled initial value of the selected radio item.
3630
- onValueChange: s().optional()
3750
+ onValueChange: i().optional()
3631
3751
  // Callback fired when the selected value changes. The second argument carries native event details about the interaction.
3632
- }), Qa = z({
3752
+ }), ts = b({
3753
+ echarts: i(),
3754
+ // The ECharts core instance imported by the consumer. Passed in rather than imported directly so the consumer controls which ECharts modules are bundled (tree-shaking).
3755
+ nodes: I(i()),
3756
+ // Array of nodes in the Sankey diagram
3757
+ links: I(i()),
3758
+ // Array of links connecting nodes by index
3759
+ height: h().optional(),
3760
+ // Height of the chart in pixels
3761
+ showNodeValues: p().optional(),
3762
+ // Show node values above labels (default: true if any node has a value)
3763
+ nodeLabelLayout: i().optional(),
3764
+ // Layout for node labels when showNodeValues is true. - 'stacked': value on top, name below (default) - 'inline': "value name" on a single line (better for small nodes)
3765
+ formatValue: i().optional(),
3766
+ // Format function for node values (default: toLocaleString)
3767
+ tooltipFormatter: i().optional(),
3768
+ // Custom tooltip formatter. Return HTML string or empty string to hide tooltip.
3769
+ nodeWidth: h().optional(),
3770
+ nodePadding: h().optional(),
3771
+ showTooltip: p().optional(),
3772
+ defaultNodeColor: c().optional(),
3773
+ left: i().optional(),
3774
+ // Left padding of the Sankey layout within the chart container. Accepts a number (px) or percentage string. ECharts default: '5%'.
3775
+ right: i().optional(),
3776
+ // Right padding of the Sankey layout within the chart container. Accepts a number (px) or percentage string. ECharts default: '5%'.
3777
+ linkColor: i().optional(),
3778
+ // Link fill style: 'gradient' blends source to target colors, 'gray' uses flat gray
3779
+ linkOpacity: h().optional(),
3780
+ className: c().optional(),
3781
+ isDarkMode: p().optional()
3782
+ }), ns = b({
3633
3783
  className: c().optional(),
3634
3784
  // Additional CSS classes merged via `cn()`.
3635
- size: b(["xs", "sm", "base", "lg"]).optional(),
3785
+ size: z(["xs", "sm", "base", "lg"]).optional(),
3636
3786
  // Size of the select trigger. Matches Input component sizes.
3637
- label: _([c(), g(), f(), y(), m]).optional(),
3787
+ label: _([c(), h(), p(), y(), g]).optional(),
3638
3788
  // Label content for the select. When provided, enables the Field wrapper with a visible label above the select. For accessibility without a visible label, use `aria-label` instead.
3639
- hideLabel: f().optional(),
3789
+ hideLabel: p().optional(),
3640
3790
  placeholder: c().optional(),
3641
3791
  // Placeholder text shown when no value is selected.
3642
- loading: f().optional(),
3792
+ loading: p().optional(),
3643
3793
  // When `true`, shows a skeleton loader in place of the selected value.
3644
- disabled: f().optional(),
3794
+ disabled: p().optional(),
3645
3795
  // Whether the select is disabled.
3646
- required: f().optional(),
3796
+ required: p().optional(),
3647
3797
  // Whether the select is required. When `false`, shows "(optional)" text.
3648
- labelTooltip: _([c(), g(), f(), y(), m]).optional(),
3798
+ labelTooltip: _([c(), h(), p(), y(), g]).optional(),
3649
3799
  // Tooltip content displayed next to the label via an info icon.
3650
- value: s().optional(),
3800
+ value: i().optional(),
3651
3801
  // Currently selected value (controlled mode).
3652
- children: _([c(), g(), f(), y(), m]).optional(),
3802
+ children: _([c(), h(), p(), y(), g]).optional(),
3653
3803
  // `Select.Option` elements to render in the dropdown.
3654
- description: _([c(), g(), f(), y(), m]).optional(),
3804
+ description: _([c(), h(), p(), y(), g]).optional(),
3655
3805
  // Helper text displayed below the select.
3656
- error: s().optional(),
3806
+ error: i().optional(),
3657
3807
  // Error message string or validation error object with `match` key.
3658
- onValueChange: s().optional(),
3808
+ onValueChange: i().optional(),
3659
3809
  // Callback when selection changes
3660
- defaultValue: s().optional(),
3810
+ defaultValue: i().optional(),
3661
3811
  // Initial value for uncontrolled mode
3662
- renderValue: s().optional(),
3812
+ renderValue: i().optional(),
3663
3813
  // A function that returns a ReactNode to format the selected value in the trigger. Required when using object values. Use `placeholder` for the empty state.
3664
- items: s().optional(),
3814
+ items: i().optional(),
3665
3815
  // Data structure of items rendered in the popup. Accepts a plain object map (`{ key: "Label" }`) or an array of `{ label, value }` for object/complex values.
3666
- isItemEqualToValue: s().optional()
3816
+ isItemEqualToValue: i().optional()
3667
3817
  // Custom equality function for comparing items. Required when value is an object, since object identity (`===`) won't match across renders.
3668
- }), es = z({
3818
+ }), rs = b({
3669
3819
  alt: c().optional(),
3670
- autoComplete: s().optional(),
3671
- checked: f().optional(),
3672
- disabled: f().optional(),
3673
- height: s().optional(),
3820
+ autoComplete: i().optional(),
3821
+ checked: p().optional(),
3822
+ disabled: p().optional(),
3823
+ height: i().optional(),
3674
3824
  list: c().optional(),
3675
3825
  name: c().optional(),
3676
3826
  placeholder: c().optional(),
3677
- readOnly: f().optional(),
3678
- required: f().optional(),
3679
- width: s().optional(),
3827
+ readOnly: p().optional(),
3828
+ required: p().optional(),
3829
+ width: i().optional(),
3680
3830
  className: c().optional(),
3681
3831
  id: c().optional(),
3682
3832
  lang: c().optional(),
3683
3833
  title: c().optional(),
3684
- children: _([c(), g(), f(), y(), m]).optional(),
3834
+ children: _([c(), h(), p(), y(), g]).optional(),
3685
3835
  value: c().optional(),
3686
3836
  // Controlled value
3687
- size: b(["xs", "sm", "base", "lg"]).optional(),
3837
+ size: z(["xs", "sm", "base", "lg"]).optional(),
3688
3838
  // Size of the input. - `"xs"` — Extra small for compact UIs - `"sm"` — Small for secondary fields - `"base"` — Default input size - `"lg"` — Large for prominent fields
3689
- variant: b(["default", "error"]).optional(),
3839
+ variant: z(["default", "error"]).optional(),
3690
3840
  // Style variant of the input. - `"default"` — Default input appearance - `"error"` — Error state for validation failures
3691
- label: _([c(), g(), f(), y(), m]).optional(),
3841
+ label: _([c(), h(), p(), y(), g]).optional(),
3692
3842
  // Label content for the input (enables Field wrapper and sets masked state label) - can be a string or any React node
3693
- labelTooltip: _([c(), g(), f(), y(), m]).optional(),
3843
+ labelTooltip: _([c(), h(), p(), y(), g]).optional(),
3694
3844
  // Tooltip content to display next to the label via an info icon
3695
- description: _([c(), g(), f(), y(), m]).optional(),
3845
+ description: _([c(), h(), p(), y(), g]).optional(),
3696
3846
  // Helper text displayed below the input
3697
- error: s().optional()
3847
+ error: i().optional()
3698
3848
  // Error message or validation error object
3699
- }), os = z({
3700
- defaultOpen: f().optional(),
3849
+ }), is = b({
3850
+ defaultOpen: p().optional(),
3701
3851
  // Initial open state when uncontrolled.
3702
- open: f().optional(),
3852
+ open: p().optional(),
3703
3853
  // Controlled open state.
3704
- variant: b(["sidebar", "floating", "inset"]).optional(),
3854
+ variant: z(["sidebar", "floating", "inset"]).optional(),
3705
3855
  // Sidebar layout variant.
3706
- side: b(["left", "right"]).optional(),
3856
+ side: z(["left", "right"]).optional(),
3707
3857
  // Which side the sidebar is on.
3708
- collapsible: b(["icon", "offcanvas", "none"]).optional(),
3709
- resizable: f().optional(),
3858
+ collapsible: z(["icon", "offcanvas", "none"]).optional(),
3859
+ resizable: p().optional(),
3710
3860
  // Enable drag-to-resize on the sidebar edge.
3711
- defaultWidth: g().optional(),
3861
+ defaultWidth: h().optional(),
3712
3862
  // Initial width in pixels when resizable.
3713
- minWidth: g().optional(),
3863
+ minWidth: h().optional(),
3714
3864
  // Minimum width in pixels when resizing.
3715
- maxWidth: g().optional(),
3865
+ maxWidth: h().optional(),
3716
3866
  // Maximum width in pixels when resizing.
3717
- contained: f().optional(),
3867
+ contained: p().optional(),
3718
3868
  // When true, the collapsed sidebar uses absolute positioning instead of fixed, keeping it scoped inside a bounded parent. Useful for demos and embedded sidebars.
3719
- peekable: f().optional(),
3869
+ peekable: p().optional(),
3720
3870
  // When true, hovering or focusing the collapsed sidebar temporarily expands it. The `state` will be `"peeking"` during the peek. Moving away collapses it back.
3721
- animationDuration: g().optional(),
3871
+ animationDuration: h().optional(),
3722
3872
  // Duration of sidebar expand/collapse animation in milliseconds.
3723
- mobileBreakpoint: g().optional(),
3873
+ mobileBreakpoint: h().optional(),
3724
3874
  // Viewport width (in px) below which the sidebar renders as a mobile dialog sheet instead of the desktop aside rail.
3725
- children: _([c(), g(), f(), y(), m]).optional(),
3875
+ children: _([c(), h(), p(), y(), g]).optional(),
3726
3876
  // Content — typically `<Sidebar>` + main content.
3727
3877
  className: c().optional()
3728
3878
  // Additional CSS classes for the wrapper div.
3729
- }), ts = z({
3730
- as: s().optional(),
3731
- render: _([c(), g(), f(), y(), m]).optional(),
3879
+ }), as = b({
3880
+ as: i().optional(),
3881
+ render: _([c(), h(), p(), y(), g]).optional(),
3732
3882
  // Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.
3733
- children: _([c(), g(), f(), y(), m]).optional(),
3883
+ children: _([c(), h(), p(), y(), g]).optional(),
3734
3884
  className: c().optional(),
3735
3885
  id: c().optional(),
3736
3886
  lang: c().optional(),
3737
3887
  title: c().optional()
3738
- }), ns = z({
3739
- variant: b(["default", "neutral"]).optional(),
3888
+ }), ss = b({
3889
+ variant: z(["default", "neutral"]).optional(),
3740
3890
  // Visual variant: "default" (pill, brand color) or "neutral" (squircle, monochrome)
3741
- label: _([c(), g(), f(), y(), m]).optional(),
3891
+ label: _([c(), h(), p(), y(), g]).optional(),
3742
3892
  // Label content for the switch (Field wrapper is built-in) - can be a string or any React node. Optional when used standalone for visual-only purposes.
3743
- labelTooltip: _([c(), g(), f(), y(), m]).optional(),
3893
+ labelTooltip: _([c(), h(), p(), y(), g]).optional(),
3744
3894
  // Tooltip content to display next to the label via an info icon
3745
- required: f().optional(),
3895
+ required: p().optional(),
3746
3896
  // Whether the switch is required. When explicitly false, shows "(optional)" text after the label.
3747
- controlFirst: f().optional(),
3897
+ controlFirst: p().optional(),
3748
3898
  // When true (default), switch appears before label. When false, label appears before switch.
3749
- size: b(["sm", "base", "lg"]).optional(),
3750
- checked: f().optional(),
3751
- disabled: f().optional(),
3752
- transitioning: f().optional(),
3899
+ size: z(["sm", "base", "lg"]).optional(),
3900
+ checked: p().optional(),
3901
+ disabled: p().optional(),
3902
+ transitioning: p().optional(),
3753
3903
  name: c().optional(),
3754
- type: b(["submit", "reset", "button"]).optional(),
3755
- value: s().optional(),
3904
+ type: z(["submit", "reset", "button"]).optional(),
3905
+ value: i().optional(),
3756
3906
  className: c().optional(),
3757
3907
  id: c().optional(),
3758
3908
  lang: c().optional(),
3759
3909
  title: c().optional(),
3760
- onClick: s()
3910
+ onClick: i()
3761
3911
  // Callback when switch is clicked
3762
- }), rs = z({
3763
- layout: b(["auto", "fixed"]).optional(),
3764
- variant: b(["default", "selected"]).optional(),
3765
- sticky: b(["left", "right"]).optional(),
3912
+ }), cs = b({
3913
+ layout: z(["auto", "fixed"]).optional(),
3914
+ variant: z(["default", "selected"]).optional(),
3915
+ sticky: z(["left", "right"]).optional(),
3766
3916
  className: c().optional(),
3767
3917
  // Additional CSS classes
3768
- children: _([c(), g(), f(), y(), m]).optional()
3918
+ children: _([c(), h(), p(), y(), g]).optional()
3769
3919
  // Child elements
3770
- }), is = z({
3771
- children: _([c(), g(), f(), y(), m]).optional(),
3920
+ }), ls = b({
3921
+ children: _([c(), h(), p(), y(), g]).optional(),
3772
3922
  className: c().optional(),
3773
3923
  id: c().optional(),
3774
3924
  lang: c().optional(),
3775
3925
  title: c().optional()
3776
- }), as = z({
3777
- tabs: U(s()).optional(),
3926
+ }), us = b({
3927
+ tabs: I(i()).optional(),
3778
3928
  // Array of tab items to render.
3779
3929
  value: c().optional(),
3780
3930
  // Controlled value. When set, component becomes controlled.
3781
3931
  selectedValue: c().optional(),
3782
3932
  // Default selected value for uncontrolled mode. Ignored when `value` is set.
3783
- activateOnFocus: f().optional(),
3933
+ activateOnFocus: p().optional(),
3784
3934
  // When `true`, tabs are activated immediately upon receiving focus via arrow keys. When `false` (default), tabs receive focus but require Enter/Space to activate.
3785
3935
  className: c().optional(),
3786
3936
  // Additional CSS classes for the root element.
@@ -3788,63 +3938,118 @@ const m = _([
3788
3938
  // Additional CSS classes for the tab list element.
3789
3939
  indicatorClassName: c().optional(),
3790
3940
  // Additional CSS classes for the indicator element.
3791
- variant: b(["segmented", "underline"]).optional(),
3941
+ variant: z(["segmented", "underline"]).optional(),
3792
3942
  // Tab style. - `"segmented"` — Pill-shaped indicator on a filled track - `"underline"` — Underline indicator below tab text
3793
- size: b(["base", "sm"]).optional(),
3943
+ size: z(["base", "sm"]).optional(),
3794
3944
  // Tab size. - `"base"` — Default size (h-9, text-base) - `"sm"` — Compact size (h-6.5, text-xs) — matches Input size="sm"
3795
- onValueChange: s().optional()
3945
+ onValueChange: i().optional()
3796
3946
  // Callback when active tab changes
3797
- }), ss = z({
3798
- variant: b(["heading1", "heading2", "heading3", "body", "secondary", "success", "error", "mono", "mono-secondary"]).optional(),
3947
+ }), ps = b({
3948
+ variant: z(["heading1", "heading2", "heading3", "body", "secondary", "success", "error", "mono", "mono-secondary"]).optional(),
3799
3949
  // Text style variant. Determines color, font, and weight. - `"heading1"` — Large page title (30px, semibold) - `"heading2"` — Section title (24px, semibold) - `"heading3"` — Subsection title (18px, semibold) - `"body"` — Default body text - `"secondary"` — Muted text for secondary information - `"success"` — Success state text - `"error"` — Error state text - `"mono"` — Monospace text for code - `"mono-secondary"` — Muted monospace text
3800
- size: b(["xs", "sm", "base", "lg"]).optional(),
3950
+ size: z(["xs", "sm", "base", "lg"]).optional(),
3801
3951
  // Text size (only applies to body/secondary/success/error variants). - `"xs"` — 12px - `"sm"` — 14px - `"base"` — 16px - `"lg"` — 18px
3802
- bold: f().optional(),
3952
+ bold: p().optional(),
3803
3953
  // Whether to use bold font weight (only applies to body variants).
3804
- truncate: f().optional(),
3954
+ truncate: p().optional(),
3805
3955
  // Whether to truncate overflowing text with an ellipsis. Adds `truncate min-w-0` classes.
3806
- as: b(["h1", "h2", "h3", "h4", "h5", "h6", "p", "span", "label", "dt", "dd", "li", "figcaption", "legend", "pre", "code", "em", "strong", "small", "abbr", "time"]).optional(),
3956
+ as: z(["h1", "h2", "h3", "h4", "h5", "h6", "p", "span", "label", "dt", "dd", "li", "figcaption", "legend", "pre", "code", "em", "strong", "small", "abbr", "time"]).optional(),
3807
3957
  // The HTML element to render. Accepts headings (`"h1"`–`"h6"`), block text (`"p"`, `"pre"`), inline text (`"span"`, `"code"`, `"em"`, `"strong"`, `"small"`, `"abbr"`, `"time"`), form-related (`"label"`, `"legend"`), list/definition (`"dt"`, `"dd"`, `"li"`), and `"figcaption"`. - **Required** for heading variants (`"heading1"`, `"heading2"`, `"heading3"`) — pick the element that reflects this text's place in the document outline, or `"span"` for decorative heading-styled text that is not a section heading. - **Optional** for body variants (defaults to `"p"`) and monospace variants (defaults to `"span"`).
3808
- children: _([c(), g(), f(), y(), m]).optional()
3958
+ children: _([c(), h(), p(), y(), g]).optional()
3809
3959
  // Text content.
3810
- }), cs = z({
3811
- variant: b(["default", "success", "error", "warning", "info"]).optional(),
3812
- className: c().optional(),
3813
- // Additional CSS classes
3814
- children: _([c(), g(), f(), y(), m]).optional()
3815
- // Child elements
3816
- }), ls = z({
3817
- disabled: f().optional(),
3818
- orientation: s().optional(),
3960
+ }), ds = b({
3961
+ echarts: i(),
3962
+ // The ECharts core instance imported by the consumer. Passed in rather than imported directly so the consumer controls which ECharts modules are bundled (tree-shaking).
3963
+ type: i().optional(),
3964
+ // Visual style of each series. Defaults to `"line"`.
3965
+ data: I(i()),
3966
+ // Array of time series data to display on the chart
3967
+ markers: I(i()).optional(),
3968
+ // Vertical reference markers rendered on the time axis.
3969
+ thresholds: I(i()).optional(),
3970
+ // Horizontal threshold lines rendered on the value axis.
3971
+ xAxisName: c().optional(),
3972
+ // Label for the x-axis (time axis)
3973
+ xAxisTickCount: h().optional(),
3974
+ // Number of ticks to display on the x-axis
3975
+ xAxisTickFormat: i().optional(),
3976
+ // Custom formatter for x-axis tick labels. Receives the raw timestamp in milliseconds and returns a display string, overriding ECharts' built-in time formatting.
3977
+ yAxisTickFormat: i().optional(),
3978
+ // Custom formatter for y-axis tick labels. Receives the raw value and returns a display string. When omitted, ECharts' built-in formatter is used.
3979
+ yAxisTickLabelFormat: i().optional(),
3980
+ yAxisName: c().optional(),
3981
+ // Label for the y-axis (value axis)
3982
+ yAxisTickCount: h().optional(),
3983
+ // Number of ticks to display on the y-axis
3984
+ tooltipValueFormat: i().optional(),
3985
+ // Custom formatter for tooltip values. Receives the raw y-value and returns a display string. When omitted, the raw value is shown. Takes precedence over the deprecated `yAxisTickLabelFormat` prop.
3986
+ tooltipMode: i().optional(),
3987
+ // Controls which series are shown in the tooltip. - `"all"` — show all series at the hovered timestamp (default) - `"single"` — show only the series whose value is closest to the cursor
3988
+ tooltipMaxItems: h().optional(),
3989
+ // Maximum number of series rows shown in the tooltip when `tooltipMode` is `"all"`. Additional series are hidden with a `+N more` footer. Defaults to `10`.
3990
+ tooltipBoundary: I(i()).optional(),
3991
+ // Constrains the tooltip to stay within a specific element or region. By default the tooltip avoids overflowing any clipping ancestor (scroll containers, viewports, etc.). Pass an `Element` or array of elements to restrict the tooltip to a specific container.
3992
+ tooltipFollowCursor: i().optional(),
3993
+ // Which axis the tooltip follows the cursor on. - `"both"` — tooltip tracks the cursor on both axes, staying near the pointer at all times. This is the default and matches the behaviour of ECharts' built-in tooltip. - `"x"` — tooltip follows the cursor horizontally but is locked to a fixed vertical position relative to the chart. This keeps the tooltip out of the way of the data and avoids vertical jitter as series values change — the same approach used by Recharts and many dashboard UIs. Only these two modes are offered because the x-axis is always time in a `TimeseriesChart`: y-only tracking and fully-fixed positioning don't produce useful tooltip behaviour for time-series data. Powered by Base UI Tooltip's `trackCursorAxis` under the hood.
3994
+ incomplete: i().optional(),
3995
+ // Indicates incomplete data periods with optional before/after timestamps in ms
3996
+ enableLegendSelection: p().optional(),
3997
+ // When `true`, adds a hidden ECharts legend so consumers can drive series visibility imperatively via the `legendSelect` / `legendUnSelect` / `legendToggleSelect` actions (e.g. to build a custom interactive legend). Toggled-off series are also excluded from the tooltip. Requires the consumer to register ECharts' `LegendComponent` (`echarts.use([LegendComponent])`); otherwise the legend actions no-op and, in development, ECharts logs a "component legend is used but not imported" warning.
3998
+ height: h().optional(),
3999
+ // Height of the chart in pixels. Defaults to `350`.
4000
+ isDarkMode: p().optional(),
4001
+ // When `true`, switches the chart to ECharts' built-in dark theme
4002
+ gradient: p().optional(),
4003
+ // When `true`, renders a vertical gradient fill beneath each line series. The gradient fades from the series' color at the top to transparent at the bottom. Has no effect when `type` is `"bar"`.
4004
+ loading: p().optional(),
4005
+ // When `true`, hides the chart and displays an animated sine-wave skeleton that oscillates back and forth to indicate that data is being fetched.
4006
+ ariaDescription: c().optional(),
4007
+ // Accessible description for screen readers. When provided, it is passed to ECharts' `aria.label.description` and announced when the chart receives focus. Consumers are responsible for writing a meaningful description — see the W3C guidance on complex images for recommendations.
4008
+ optionUpdateBehavior: i().optional()
4009
+ // Additional options passed as the second argument to `chart.setOption()`. Defaults to `{ notMerge: false, lazyUpdate: true }`.
4010
+ }), fs = b({
4011
+ variant: z(["default", "success", "error", "warning", "info"]).optional(),
4012
+ children: i(),
4013
+ // Application content. Toasts render via a portal above this.
4014
+ container: i().optional(),
4015
+ // Container element for the portal. Use this to render toasts inside a Shadow DOM or custom container. Overrides `KumoPortalProvider` context.
4016
+ toastManager: i().optional()
4017
+ // Optional toast manager created by `createKumoToastManager()`. When provided, allows code outside the React tree (timers, module-load callbacks, query-cache listeners) to dispatch toasts via the same dedupe-aware manager that `useKumoToastManager()` returns inside the tree. Forwarded to the underlying `@base-ui/react/toast` `Toast.Provider` `toastManager` prop — see https://base-ui.com/react/components/toast for the upstream primitive.
4018
+ }), hs = b({
4019
+ disabled: p().optional(),
4020
+ orientation: i().optional(),
3819
4021
  // The orientation of the toolbar.
3820
- loopFocus: f().optional(),
4022
+ loopFocus: p().optional(),
3821
4023
  // If `true`, using keyboard navigation will wrap focus to the other end of the toolbar once the end is reached.
3822
4024
  id: c().optional(),
3823
4025
  lang: c().optional(),
3824
4026
  title: c().optional(),
3825
- className: s().optional(),
4027
+ className: i().optional(),
3826
4028
  // CSS class applied to the element, or a function that returns a class based on the component's state.
3827
- render: _([c(), g(), f(), y(), m]).optional(),
4029
+ render: _([c(), h(), p(), y(), g]).optional(),
3828
4030
  // Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.
3829
- children: _([c(), g(), f(), y(), m]).optional(),
4031
+ children: _([c(), h(), p(), y(), g]).optional(),
3830
4032
  // Toolbar controls rendered as one grouped card.
3831
- size: b(["xs", "sm", "base", "lg"]).optional()
4033
+ size: z(["xs", "sm", "base", "lg"]).optional()
3832
4034
  // Locks every toolbar item to this size.
3833
- }), us = z({
3834
- side: b(["top", "bottom", "left", "right"]).optional(),
4035
+ }), ms = b({
4036
+ side: z(["top", "bottom", "left", "right"]).optional(),
3835
4037
  className: c().optional(),
3836
4038
  // Additional CSS classes
3837
- children: _([c(), g(), f(), y(), m]).optional(),
4039
+ children: _([c(), h(), p(), y(), g]).optional(),
3838
4040
  // Child elements
3839
- content: _([c(), g(), f(), y(), m])
4041
+ content: _([c(), h(), p(), y(), g])
3840
4042
  // Content to display in the tooltip
3841
- }), ps = b([
4043
+ }), gs = z([
3842
4044
  "Autocomplete",
3843
4045
  "Badge",
3844
4046
  "Banner",
3845
4047
  "Breadcrumbs",
4048
+ "BubbleMap",
3846
4049
  "Button",
4050
+ "Chart",
3847
4051
  "Checkbox",
4052
+ "ChoroplethMap",
3848
4053
  "ClipboardText",
3849
4054
  "CloudflareLogo",
3850
4055
  "Code",
@@ -3870,6 +4075,7 @@ const m = _([
3870
4075
  "Pagination",
3871
4076
  "Popover",
3872
4077
  "Radio",
4078
+ "SankeyChart",
3873
4079
  "Select",
3874
4080
  "SensitiveInput",
3875
4081
  "Sidebar",
@@ -3879,73 +4085,79 @@ const m = _([
3879
4085
  "TableOfContents",
3880
4086
  "Tabs",
3881
4087
  "Text",
4088
+ "TimeseriesChart",
3882
4089
  "Toasty",
3883
4090
  "Toolbar",
3884
4091
  "Tooltip"
3885
- ]), ds = {
4092
+ ]), _s = {
3886
4093
  Autocomplete: ka,
3887
4094
  Badge: wa,
3888
4095
  Banner: Sa,
3889
4096
  Breadcrumbs: $a,
3890
- Button: Za,
3891
- Checkbox: Pa,
3892
- ClipboardText: Ta,
3893
- CloudflareLogo: Oa,
3894
- Code: Ia,
3895
- Collapsible: Na,
3896
- Combobox: Ea,
3897
- CommandPalette: Ca,
3898
- DatePicker: Aa,
3899
- DateRangePicker: xa,
3900
- Dialog: ja,
3901
- DropdownMenu: Ra,
3902
- Empty: Da,
4097
+ BubbleMap: Za,
4098
+ Button: Pa,
4099
+ Chart: Ta,
4100
+ Checkbox: Oa,
4101
+ ChoroplethMap: Na,
4102
+ ClipboardText: Ia,
4103
+ CloudflareLogo: Ca,
4104
+ Code: Ea,
4105
+ Collapsible: Aa,
4106
+ Combobox: xa,
4107
+ CommandPalette: ja,
4108
+ DatePicker: Ra,
4109
+ DateRangePicker: Da,
4110
+ Dialog: Fa,
4111
+ DropdownMenu: Ma,
4112
+ Empty: La,
3903
4113
  Field: Ua,
3904
- Grid: Fa,
3905
- Input: La,
3906
- InputArea: Ma,
3907
- InputGroup: Ja,
3908
- Label: Va,
3909
- LayerCard: Ba,
3910
- Link: Wa,
3911
- Loader: Ga,
3912
- MenuBar: qa,
3913
- Meter: Ka,
3914
- Pagination: Xa,
3915
- Popover: Ya,
3916
- Radio: Ha,
3917
- Select: Qa,
3918
- SensitiveInput: es,
3919
- Sidebar: os,
3920
- Surface: ts,
3921
- Switch: ns,
3922
- Table: rs,
3923
- TableOfContents: is,
3924
- Tabs: as,
3925
- Text: ss,
3926
- Toasty: cs,
3927
- Toolbar: ls,
3928
- Tooltip: us
3929
- }, fs = z({
4114
+ Grid: Ja,
4115
+ Input: Ba,
4116
+ InputArea: Va,
4117
+ InputGroup: Wa,
4118
+ Label: Ga,
4119
+ LayerCard: qa,
4120
+ Link: Ka,
4121
+ Loader: Xa,
4122
+ MenuBar: Ya,
4123
+ Meter: Ha,
4124
+ Pagination: Qa,
4125
+ Popover: es,
4126
+ Radio: os,
4127
+ SankeyChart: ts,
4128
+ Select: ns,
4129
+ SensitiveInput: rs,
4130
+ Sidebar: is,
4131
+ Surface: as,
4132
+ Switch: ss,
4133
+ Table: cs,
4134
+ TableOfContents: ls,
4135
+ Tabs: us,
4136
+ Text: ps,
4137
+ TimeseriesChart: ds,
4138
+ Toasty: fs,
4139
+ Toolbar: hs,
4140
+ Tooltip: ms
4141
+ }, vs = b({
3930
4142
  key: c(),
3931
- type: ps,
3932
- props: H(c(), s()),
3933
- children: U(c()).optional(),
4143
+ type: gs,
4144
+ props: H(c(), i()),
4145
+ children: I(c()).optional(),
3934
4146
  parentKey: c().nullable().optional(),
3935
4147
  visible: ba.optional(),
3936
4148
  action: za.optional()
3937
- }), hs = z({
4149
+ }), bs = b({
3938
4150
  root: c(),
3939
- elements: H(c(), fs)
4151
+ elements: H(c(), vs)
3940
4152
  });
3941
- function gs(e) {
3942
- const o = ds[e.type];
4153
+ function zs(e) {
4154
+ const o = _s[e.type];
3943
4155
  return o ? o.safeParse(e.props) : { success: !1, error: new li([{ code: "custom", message: `Unknown component type: ${e.type}`, path: ["type"] }]) };
3944
4156
  }
3945
- function _s(e) {
3946
- return hs.safeParse(e);
4157
+ function ks(e) {
4158
+ return bs.safeParse(e);
3947
4159
  }
3948
- const vs = ["Autocomplete", "Badge", "Banner", "Breadcrumbs", "Button", "Checkbox", "ClipboardText", "CloudflareLogo", "Code", "Collapsible", "Combobox", "CommandPalette", "DatePicker", "DateRangePicker", "Dialog", "DropdownMenu", "Empty", "Field", "Grid", "Input", "InputArea", "InputGroup", "Label", "LayerCard", "Link", "Loader", "MenuBar", "Meter", "Pagination", "Popover", "Radio", "Select", "SensitiveInput", "Sidebar", "Surface", "Switch", "Table", "TableOfContents", "Tabs", "Text", "Toasty", "Toolbar", "Tooltip"];
4160
+ const ws = ["Autocomplete", "Badge", "Banner", "Breadcrumbs", "BubbleMap", "Button", "Chart", "Checkbox", "ChoroplethMap", "ClipboardText", "CloudflareLogo", "Code", "Collapsible", "Combobox", "CommandPalette", "DatePicker", "DateRangePicker", "Dialog", "DropdownMenu", "Empty", "Field", "Grid", "Input", "InputArea", "InputGroup", "Label", "LayerCard", "Link", "Loader", "MenuBar", "Meter", "Pagination", "Popover", "Radio", "SankeyChart", "Select", "SensitiveInput", "Sidebar", "Surface", "Switch", "Table", "TableOfContents", "Tabs", "Text", "TimeseriesChart", "Toasty", "Toolbar", "Tooltip"];
3949
4161
  export {
3950
4162
  ya as ActionConfirmSchema,
3951
4163
  za as ActionSchema,
@@ -3953,53 +4165,58 @@ export {
3953
4165
  wa as BadgePropsSchema,
3954
4166
  Sa as BannerPropsSchema,
3955
4167
  $a as BreadcrumbsPropsSchema,
3956
- Za as ButtonPropsSchema,
3957
- Pa as CheckboxPropsSchema,
3958
- Ta as ClipboardTextPropsSchema,
3959
- Oa as CloudflareLogoPropsSchema,
3960
- Ia as CodePropsSchema,
3961
- Na as CollapsiblePropsSchema,
3962
- Ea as ComboboxPropsSchema,
3963
- Ca as CommandPalettePropsSchema,
3964
- ds as ComponentPropsSchemas,
3965
- Aa as DatePickerPropsSchema,
3966
- xa as DateRangePickerPropsSchema,
3967
- ja as DialogPropsSchema,
3968
- Ra as DropdownMenuPropsSchema,
3969
- m as DynamicValueSchema,
3970
- Da as EmptyPropsSchema,
4168
+ Za as BubbleMapPropsSchema,
4169
+ Pa as ButtonPropsSchema,
4170
+ Ta as ChartPropsSchema,
4171
+ Oa as CheckboxPropsSchema,
4172
+ Na as ChoroplethMapPropsSchema,
4173
+ Ia as ClipboardTextPropsSchema,
4174
+ Ca as CloudflareLogoPropsSchema,
4175
+ Ea as CodePropsSchema,
4176
+ Aa as CollapsiblePropsSchema,
4177
+ xa as ComboboxPropsSchema,
4178
+ ja as CommandPalettePropsSchema,
4179
+ _s as ComponentPropsSchemas,
4180
+ Ra as DatePickerPropsSchema,
4181
+ Da as DateRangePickerPropsSchema,
4182
+ Fa as DialogPropsSchema,
4183
+ Ma as DropdownMenuPropsSchema,
4184
+ g as DynamicValueSchema,
4185
+ La as EmptyPropsSchema,
3971
4186
  Ua as FieldPropsSchema,
3972
- Fa as GridPropsSchema,
3973
- Ma as InputAreaPropsSchema,
3974
- Ja as InputGroupPropsSchema,
3975
- La as InputPropsSchema,
3976
- vs as KUMO_COMPONENT_NAMES,
3977
- ps as KumoComponentTypeSchema,
3978
- Va as LabelPropsSchema,
3979
- Ba as LayerCardPropsSchema,
3980
- Wa as LinkPropsSchema,
3981
- Ga as LoaderPropsSchema,
3982
- qa as MenuBarPropsSchema,
3983
- Ka as MeterPropsSchema,
3984
- Xa as PaginationPropsSchema,
3985
- Ya as PopoverPropsSchema,
3986
- Ha as RadioPropsSchema,
3987
- Qa as SelectPropsSchema,
3988
- es as SensitiveInputPropsSchema,
3989
- os as SidebarPropsSchema,
3990
- ts as SurfacePropsSchema,
3991
- ns as SwitchPropsSchema,
3992
- is as TableOfContentsPropsSchema,
3993
- rs as TablePropsSchema,
3994
- as as TabsPropsSchema,
3995
- ss as TextPropsSchema,
3996
- cs as ToastyPropsSchema,
3997
- ls as ToolbarPropsSchema,
3998
- us as TooltipPropsSchema,
3999
- fs as UIElementBaseSchema,
4000
- hs as UITreeSchema,
4187
+ Ja as GridPropsSchema,
4188
+ Va as InputAreaPropsSchema,
4189
+ Wa as InputGroupPropsSchema,
4190
+ Ba as InputPropsSchema,
4191
+ ws as KUMO_COMPONENT_NAMES,
4192
+ gs as KumoComponentTypeSchema,
4193
+ Ga as LabelPropsSchema,
4194
+ qa as LayerCardPropsSchema,
4195
+ Ka as LinkPropsSchema,
4196
+ Xa as LoaderPropsSchema,
4197
+ Ya as MenuBarPropsSchema,
4198
+ Ha as MeterPropsSchema,
4199
+ Qa as PaginationPropsSchema,
4200
+ es as PopoverPropsSchema,
4201
+ os as RadioPropsSchema,
4202
+ ts as SankeyChartPropsSchema,
4203
+ ns as SelectPropsSchema,
4204
+ rs as SensitiveInputPropsSchema,
4205
+ is as SidebarPropsSchema,
4206
+ as as SurfacePropsSchema,
4207
+ ss as SwitchPropsSchema,
4208
+ ls as TableOfContentsPropsSchema,
4209
+ cs as TablePropsSchema,
4210
+ us as TabsPropsSchema,
4211
+ ps as TextPropsSchema,
4212
+ ds as TimeseriesChartPropsSchema,
4213
+ fs as ToastyPropsSchema,
4214
+ hs as ToolbarPropsSchema,
4215
+ ms as TooltipPropsSchema,
4216
+ vs as UIElementBaseSchema,
4217
+ bs as UITreeSchema,
4001
4218
  ba as VisibilityConditionSchema,
4002
- gs as validateElementProps,
4003
- _s as validateUITree
4219
+ zs as validateElementProps,
4220
+ ks as validateUITree
4004
4221
  };
4005
4222
  //# sourceMappingURL=schemas.js.map