@cloudraker/reki 2.6.1 → 2.7.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 (373) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +1 -1
  3. package/ai/component-registry.json +1155 -27
  4. package/ai/component-registry.md +1139 -21
  5. package/ai/schemas.ts +219 -2
  6. package/dist/.build-complete +1 -1
  7. package/dist/ai/schemas.d.ts +539 -5
  8. package/dist/ai/schemas.d.ts.map +1 -1
  9. package/dist/ai/schemas.js +1691 -1405
  10. package/dist/ai/schemas.js.map +1 -1
  11. package/dist/chunks/{SankeyChart-jwwpwps4npqzbrvn.js → SankeyChart-gogf860o4u387kjn.js} +2 -2
  12. package/dist/chunks/{SankeyChart-jwwpwps4npqzbrvn.js.map → SankeyChart-gogf860o4u387kjn.js.map} +1 -1
  13. package/dist/chunks/actor-display-izds1bhw0yswurqm.js +35 -0
  14. package/dist/chunks/actor-display-izds1bhw0yswurqm.js.map +1 -0
  15. package/dist/chunks/address-input-g1la0xqrpg8ic6ak.js +80 -0
  16. package/dist/chunks/address-input-g1la0xqrpg8ic6ak.js.map +1 -0
  17. package/dist/chunks/array-display-lu1259ap3qrl847e.js +12 -0
  18. package/dist/chunks/array-display-lu1259ap3qrl847e.js.map +1 -0
  19. package/dist/chunks/{autocomplete-f4vetako14h2aqsw.js → autocomplete-htuy5t9ag29qhuwa.js} +4 -4
  20. package/dist/chunks/{autocomplete-f4vetako14h2aqsw.js.map → autocomplete-htuy5t9ag29qhuwa.js.map} +1 -1
  21. package/dist/chunks/avatar-g40cun6cn17fcxd4.js +57 -0
  22. package/dist/chunks/avatar-g40cun6cn17fcxd4.js.map +1 -0
  23. package/dist/chunks/avatar-group-fpcaziey1yu7226v.js +23 -0
  24. package/dist/chunks/avatar-group-fpcaziey1yu7226v.js.map +1 -0
  25. package/dist/chunks/{breadcrumbs-d6149hyct4puz3x4.js → breadcrumbs-mq1utzm0q4u2r5v5.js} +2 -2
  26. package/dist/chunks/{breadcrumbs-d6149hyct4puz3x4.js.map → breadcrumbs-mq1utzm0q4u2r5v5.js.map} +1 -1
  27. package/dist/chunks/{button-nc5p1h28cwes0tjw.js → button-fvlz1rzc3s1hpyxs.js} +14 -14
  28. package/dist/chunks/button-fvlz1rzc3s1hpyxs.js.map +1 -0
  29. package/dist/chunks/{checkbox-g2661n3eodgoispq.js → checkbox-h3kfhlron3b6sfhv.js} +3 -3
  30. package/dist/chunks/{checkbox-g2661n3eodgoispq.js.map → checkbox-h3kfhlron3b6sfhv.js.map} +1 -1
  31. package/dist/chunks/chip-iu7movvthovdurgb.js +69 -0
  32. package/dist/chunks/chip-iu7movvthovdurgb.js.map +1 -0
  33. package/dist/chunks/circular-progress-bar-ofg0ps2axad1wsr6.js +60 -0
  34. package/dist/chunks/circular-progress-bar-ofg0ps2axad1wsr6.js.map +1 -0
  35. package/dist/chunks/{clipboard-text-g3659lejx2d7i93e.js → clipboard-text-ogue8iq06n1z7q7v.js} +4 -4
  36. package/dist/chunks/{clipboard-text-g3659lejx2d7i93e.js.map → clipboard-text-ogue8iq06n1z7q7v.js.map} +1 -1
  37. package/dist/chunks/{collapsible-ndvmgo29s5iqfcor.js → collapsible-ivqat099ene9z3bv.js} +2 -2
  38. package/dist/chunks/{collapsible-ndvmgo29s5iqfcor.js.map → collapsible-ivqat099ene9z3bv.js.map} +1 -1
  39. package/dist/chunks/color-sample-h7hspma3rb91go3z.js +32 -0
  40. package/dist/chunks/color-sample-h7hspma3rb91go3z.js.map +1 -0
  41. package/dist/chunks/{combobox-i38w67netm8ukw4f.js → combobox-iytvpzp5poljxgek.js} +4 -4
  42. package/dist/chunks/{combobox-i38w67netm8ukw4f.js.map → combobox-iytvpzp5poljxgek.js.map} +1 -1
  43. package/dist/chunks/{command-palette-fe5cjfdgsg3t17vq.js → command-palette-k6vrx8ely8rmf4a5.js} +4 -4
  44. package/dist/chunks/command-palette-k6vrx8ely8rmf4a5.js.map +1 -0
  45. package/dist/chunks/data-grid-i7kfgm7zr5tj0e0a.js +3110 -0
  46. package/dist/chunks/data-grid-i7kfgm7zr5tj0e0a.js.map +1 -0
  47. package/dist/chunks/{dialog-m4go8xof25fospqo.js → dialog-ggx34i6k4eulfvgk.js} +3 -3
  48. package/dist/chunks/{dialog-m4go8xof25fospqo.js.map → dialog-ggx34i6k4eulfvgk.js.map} +1 -1
  49. package/dist/chunks/double-text-input-k0i5xnfq6khv01wu.js +39 -0
  50. package/dist/chunks/double-text-input-k0i5xnfq6khv01wu.js.map +1 -0
  51. package/dist/chunks/{dropdown-j5uht8mn4z7xc9fc.js → dropdown-bt1lfs2jli0khnex.js} +2 -2
  52. package/dist/chunks/{dropdown-j5uht8mn4z7xc9fc.js.map → dropdown-bt1lfs2jli0khnex.js.map} +1 -1
  53. package/dist/chunks/emails-display-nsbqzscr0f9bqimg.js +12 -0
  54. package/dist/chunks/emails-display-nsbqzscr0f9bqimg.js.map +1 -0
  55. package/dist/chunks/{empty-kazxr0248zjemw6n.js → empty-dxy8jti5bsxxh905.js} +2 -2
  56. package/dist/chunks/{empty-kazxr0248zjemw6n.js.map → empty-dxy8jti5bsxxh905.js.map} +1 -1
  57. package/dist/chunks/expandable-list-bjceh467ocazog53.js +26 -0
  58. package/dist/chunks/expandable-list-bjceh467ocazog53.js.map +1 -0
  59. package/dist/chunks/{field-fe5m8z3vbpvtctbe.js → field-b0aywboxuss4rpu7.js} +3 -3
  60. package/dist/chunks/{field-fe5m8z3vbpvtctbe.js.map → field-b0aywboxuss4rpu7.js.map} +1 -1
  61. package/dist/chunks/{input-area-ciw85g3fno06t4tw.js → input-area-cuijpofpark5w5qq.js} +4 -4
  62. package/dist/chunks/{input-area-ciw85g3fno06t4tw.js.map → input-area-cuijpofpark5w5qq.js.map} +1 -1
  63. package/dist/chunks/{input-i5nefqk213n4z7pr.js → input-eno4q26x68rx3i8q.js} +3 -3
  64. package/dist/chunks/{input-i5nefqk213n4z7pr.js.map → input-eno4q26x68rx3i8q.js.map} +1 -1
  65. package/dist/chunks/{input-group-mo7tq7jr19hmgor5.js → input-group-dl9htnza7kq4om4c.js} +5 -5
  66. package/dist/chunks/{input-group-mo7tq7jr19hmgor5.js.map → input-group-dl9htnza7kq4om4c.js.map} +1 -1
  67. package/dist/chunks/json-display-fy0t2khc4itn130p.js +31 -0
  68. package/dist/chunks/json-display-fy0t2khc4itn130p.js.map +1 -0
  69. package/dist/chunks/{label-fcho4757rbdess0c.js → label-ld57mr4ocdxsf06p.js} +3 -3
  70. package/dist/chunks/{label-fcho4757rbdess0c.js.map → label-ld57mr4ocdxsf06p.js.map} +1 -1
  71. package/dist/chunks/{layer-card-kzu48dhzxm3e9p4u.js → layer-card-iuquuc1w3116umfw.js} +2 -2
  72. package/dist/chunks/{layer-card-kzu48dhzxm3e9p4u.js.map → layer-card-iuquuc1w3116umfw.js.map} +1 -1
  73. package/dist/chunks/{link-j2gu5dr3nr4i4yf0.js → link-8pn6y27h3m3ud8fl.js} +2 -2
  74. package/dist/chunks/{link-j2gu5dr3nr4i4yf0.js.map → link-8pn6y27h3m3ud8fl.js.map} +1 -1
  75. package/dist/chunks/link-chip-cz5v6lw9icmcndzl.js +58 -0
  76. package/dist/chunks/link-chip-cz5v6lw9icmcndzl.js.map +1 -0
  77. package/dist/chunks/links-display-dfaehepz86s2wxx1.js +20 -0
  78. package/dist/chunks/links-display-dfaehepz86s2wxx1.js.map +1 -0
  79. package/dist/chunks/menu-item-kyqq7o2krghxbpw5.js +178 -0
  80. package/dist/chunks/menu-item-kyqq7o2krghxbpw5.js.map +1 -0
  81. package/dist/chunks/{menubar-ir5gbjmsizsddz7g.js → menubar-56kqktsa5a28xyzj.js} +2 -2
  82. package/dist/chunks/{menubar-ir5gbjmsizsddz7g.js.map → menubar-56kqktsa5a28xyzj.js.map} +1 -1
  83. package/dist/chunks/{meter-o5yd7ctjf80vvyjx.js → meter-b5rnmibceu4z8i6a.js} +2 -2
  84. package/dist/chunks/{meter-o5yd7ctjf80vvyjx.js.map → meter-b5rnmibceu4z8i6a.js.map} +1 -1
  85. package/dist/chunks/notification-counter-hiq85elmcydnhzoo.js +30 -0
  86. package/dist/chunks/notification-counter-hiq85elmcydnhzoo.js.map +1 -0
  87. package/dist/chunks/overflowing-text-mm8bkx7voc6h8ra4.js +49 -0
  88. package/dist/chunks/overflowing-text-mm8bkx7voc6h8ra4.js.map +1 -0
  89. package/dist/chunks/{pagination-bryw6rohfr7mm3km.js → pagination-iczb9ooenevbxslx.js} +3 -3
  90. package/dist/chunks/{pagination-bryw6rohfr7mm3km.js.map → pagination-iczb9ooenevbxslx.js.map} +1 -1
  91. package/dist/chunks/phones-display-cdsrl07dv6obf4eg.js +19 -0
  92. package/dist/chunks/phones-display-cdsrl07dv6obf4eg.js.map +1 -0
  93. package/dist/chunks/pill-pfpvgbcnqhtyksz5.js +22 -0
  94. package/dist/chunks/pill-pfpvgbcnqhtyksz5.js.map +1 -0
  95. package/dist/chunks/{popover-elxcmvv7mu7m7uk4.js → popover-ldqdlpv6sqvkjume.js} +2 -2
  96. package/dist/chunks/{popover-elxcmvv7mu7m7uk4.js.map → popover-ldqdlpv6sqvkjume.js.map} +1 -1
  97. package/dist/chunks/{radio-newyq331uk4lltr6.js → radio-lyeniil3x20cyb8z.js} +2 -2
  98. package/dist/chunks/{radio-newyq331uk4lltr6.js.map → radio-lyeniil3x20cyb8z.js.map} +1 -1
  99. package/dist/chunks/rating-yyd4t8e62ast4obo.js +48 -0
  100. package/dist/chunks/rating-yyd4t8e62ast4obo.js.map +1 -0
  101. package/dist/chunks/record-board-iapx3cw5rusehrta.js +3395 -0
  102. package/dist/chunks/record-board-iapx3cw5rusehrta.js.map +1 -0
  103. package/dist/chunks/{select-h5480mbro0ypxu0b.js → select-hmoccee4zagd34tq.js} +6 -6
  104. package/dist/chunks/{select-h5480mbro0ypxu0b.js.map → select-hmoccee4zagd34tq.js.map} +1 -1
  105. package/dist/chunks/{sensitive-input-lqugq6uvx0lkpu0u.js → sensitive-input-nkfx72rduc7aijaf.js} +4 -4
  106. package/dist/chunks/{sensitive-input-lqugq6uvx0lkpu0u.js.map → sensitive-input-nkfx72rduc7aijaf.js.map} +1 -1
  107. package/dist/chunks/{sidebar-noz668nhdu2gso12.js → sidebar-gwfibai76tw069d4.js} +34 -33
  108. package/dist/chunks/sidebar-gwfibai76tw069d4.js.map +1 -0
  109. package/dist/chunks/status-ot0itdwxloqgahi0.js +29 -0
  110. package/dist/chunks/status-ot0itdwxloqgahi0.js.map +1 -0
  111. package/dist/chunks/{surface-cyxme7mlr49l33f8.js → surface-fqmma34ju0agh5pe.js} +2 -2
  112. package/dist/chunks/{surface-cyxme7mlr49l33f8.js.map → surface-fqmma34ju0agh5pe.js.map} +1 -1
  113. package/dist/chunks/{switch-bigo96fyjlh7ivbi.js → switch-nhtmn65n5s7gg6vb.js} +3 -3
  114. package/dist/chunks/{switch-bigo96fyjlh7ivbi.js.map → switch-nhtmn65n5s7gg6vb.js.map} +1 -1
  115. package/dist/chunks/{table-mwcmwp6a80zvyrxw.js → table-cjj894o3niouq4tg.js} +2 -2
  116. package/dist/chunks/{table-mwcmwp6a80zvyrxw.js.map → table-cjj894o3niouq4tg.js.map} +1 -1
  117. package/dist/chunks/{tabs-e4pcjkw94kpe35x0.js → tabs-klj6wapad6fpd9at.js} +14 -16
  118. package/dist/chunks/tabs-klj6wapad6fpd9at.js.map +1 -0
  119. package/dist/chunks/tag-h5kwf5eh7dyyvc2c.js +58 -0
  120. package/dist/chunks/tag-h5kwf5eh7dyyvc2c.js.map +1 -0
  121. package/dist/chunks/{toast-ivr4097bstjcjotf.js → toast-j47dl441zpxa1yw3.js} +3 -3
  122. package/dist/chunks/{toast-ivr4097bstjcjotf.js.map → toast-j47dl441zpxa1yw3.js.map} +1 -1
  123. package/dist/chunks/{tooltip-ncaia8n1lavkyw8n.js → tooltip-bkgxuz77xzg5fooc.js} +2 -2
  124. package/dist/chunks/{tooltip-ncaia8n1lavkyw8n.js.map → tooltip-bkgxuz77xzg5fooc.js.map} +1 -1
  125. package/dist/chunks/{vendor-base-ui-bgl9g5nkvqy3tn36.js → vendor-base-ui-djdjrfuoxlb1lubi.js} +2358 -2358
  126. package/dist/chunks/{vendor-base-ui-bgl9g5nkvqy3tn36.js.map → vendor-base-ui-djdjrfuoxlb1lubi.js.map} +1 -1
  127. package/dist/code.js +1 -1
  128. package/dist/components/actor-display.js +6 -0
  129. package/dist/components/actor-display.js.map +1 -0
  130. package/dist/components/address-input.js +6 -0
  131. package/dist/components/address-input.js.map +1 -0
  132. package/dist/components/array-display.js +6 -0
  133. package/dist/components/array-display.js.map +1 -0
  134. package/dist/components/autocomplete.js +1 -1
  135. package/dist/components/avatar-group.js +6 -0
  136. package/dist/components/avatar-group.js.map +1 -0
  137. package/dist/components/avatar.js +6 -0
  138. package/dist/components/avatar.js.map +1 -0
  139. package/dist/components/breadcrumbs.js +1 -1
  140. package/dist/components/button.js +1 -1
  141. package/dist/components/chart.js +1 -1
  142. package/dist/components/checkbox.js +1 -1
  143. package/dist/components/chip.js +8 -0
  144. package/dist/components/chip.js.map +1 -0
  145. package/dist/components/circular-progress-bar.js +6 -0
  146. package/dist/components/circular-progress-bar.js.map +1 -0
  147. package/dist/components/clipboard-text.js +1 -1
  148. package/dist/components/collapsible.js +1 -1
  149. package/dist/components/color-sample.js +6 -0
  150. package/dist/components/color-sample.js.map +1 -0
  151. package/dist/components/combobox.js +1 -1
  152. package/dist/components/command-palette.js +1 -1
  153. package/dist/components/data-grid.js +8 -0
  154. package/dist/components/data-grid.js.map +1 -0
  155. package/dist/components/dialog.js +1 -1
  156. package/dist/components/double-text-input.js +6 -0
  157. package/dist/components/double-text-input.js.map +1 -0
  158. package/dist/components/dropdown.js +1 -1
  159. package/dist/components/emails-display.js +6 -0
  160. package/dist/components/emails-display.js.map +1 -0
  161. package/dist/components/empty.js +1 -1
  162. package/dist/components/expandable-list.js +6 -0
  163. package/dist/components/expandable-list.js.map +1 -0
  164. package/dist/components/field.js +1 -1
  165. package/dist/components/input-group.js +1 -1
  166. package/dist/components/input.js +3 -3
  167. package/dist/components/json-display.js +6 -0
  168. package/dist/components/json-display.js.map +1 -0
  169. package/dist/components/label.js +1 -1
  170. package/dist/components/layer-card.js +1 -1
  171. package/dist/components/link-chip.js +6 -0
  172. package/dist/components/link-chip.js.map +1 -0
  173. package/dist/components/link.js +1 -1
  174. package/dist/components/links-display.js +6 -0
  175. package/dist/components/links-display.js.map +1 -0
  176. package/dist/components/menu-item.js +11 -0
  177. package/dist/components/menu-item.js.map +1 -0
  178. package/dist/components/menubar.js +1 -1
  179. package/dist/components/meter.js +1 -1
  180. package/dist/components/notification-counter.js +6 -0
  181. package/dist/components/notification-counter.js.map +1 -0
  182. package/dist/components/overflowing-text.js +6 -0
  183. package/dist/components/overflowing-text.js.map +1 -0
  184. package/dist/components/pagination.js +1 -1
  185. package/dist/components/phones-display.js +6 -0
  186. package/dist/components/phones-display.js.map +1 -0
  187. package/dist/components/pill.js +6 -0
  188. package/dist/components/pill.js.map +1 -0
  189. package/dist/components/popover.js +1 -1
  190. package/dist/components/radio.js +1 -1
  191. package/dist/components/rating.js +6 -0
  192. package/dist/components/rating.js.map +1 -0
  193. package/dist/components/record-board.js +8 -0
  194. package/dist/components/record-board.js.map +1 -0
  195. package/dist/components/select.js +1 -1
  196. package/dist/components/sensitive-input.js +1 -1
  197. package/dist/components/sidebar.js +1 -1
  198. package/dist/components/status.js +6 -0
  199. package/dist/components/status.js.map +1 -0
  200. package/dist/components/surface.js +1 -1
  201. package/dist/components/switch.js +1 -1
  202. package/dist/components/table.js +1 -1
  203. package/dist/components/tabs.js +1 -1
  204. package/dist/components/tag.js +10 -0
  205. package/dist/components/tag.js.map +1 -0
  206. package/dist/components/toast.js +2 -2
  207. package/dist/components/tooltip.js +1 -1
  208. package/dist/index.js +378 -253
  209. package/dist/index.js.map +1 -1
  210. package/dist/primitives/accordion.js +1 -1
  211. package/dist/primitives/alert-dialog.js +1 -1
  212. package/dist/primitives/autocomplete.js +1 -1
  213. package/dist/primitives/avatar.js +1 -1
  214. package/dist/primitives/button.js +1 -1
  215. package/dist/primitives/checkbox-group.js +1 -1
  216. package/dist/primitives/checkbox.js +1 -1
  217. package/dist/primitives/collapsible.js +1 -1
  218. package/dist/primitives/combobox.js +1 -1
  219. package/dist/primitives/context-menu.js +1 -1
  220. package/dist/primitives/csp-provider.js +1 -1
  221. package/dist/primitives/dialog.js +1 -1
  222. package/dist/primitives/direction-provider.js +1 -1
  223. package/dist/primitives/drawer.js +1 -1
  224. package/dist/primitives/field.js +1 -1
  225. package/dist/primitives/fieldset.js +1 -1
  226. package/dist/primitives/form.js +1 -1
  227. package/dist/primitives/input.js +1 -1
  228. package/dist/primitives/menu.js +1 -1
  229. package/dist/primitives/menubar.js +1 -1
  230. package/dist/primitives/meter.js +1 -1
  231. package/dist/primitives/navigation-menu.js +1 -1
  232. package/dist/primitives/number-field.js +1 -1
  233. package/dist/primitives/otp-field.js +1 -1
  234. package/dist/primitives/popover.js +1 -1
  235. package/dist/primitives/preview-card.js +1 -1
  236. package/dist/primitives/progress.js +1 -1
  237. package/dist/primitives/radio-group.js +1 -1
  238. package/dist/primitives/radio.js +1 -1
  239. package/dist/primitives/scroll-area.js +1 -1
  240. package/dist/primitives/select.js +1 -1
  241. package/dist/primitives/separator.js +1 -1
  242. package/dist/primitives/slider.js +1 -1
  243. package/dist/primitives/switch.js +1 -1
  244. package/dist/primitives/tabs.js +1 -1
  245. package/dist/primitives/toast.js +1 -1
  246. package/dist/primitives/toggle-group.js +1 -1
  247. package/dist/primitives/toggle.js +1 -1
  248. package/dist/primitives/toolbar.js +1 -1
  249. package/dist/primitives/tooltip.js +1 -1
  250. package/dist/primitives.js +1 -1
  251. package/dist/scripts/theme-generator/config.d.ts.map +1 -1
  252. package/dist/scripts/theme-generator/config.js +229 -5
  253. package/dist/scripts/theme-generator/config.js.map +1 -1
  254. package/dist/src/components/actor-display/actor-display.d.ts +33 -0
  255. package/dist/src/components/actor-display/actor-display.d.ts.map +1 -0
  256. package/dist/src/components/actor-display/index.d.ts +2 -0
  257. package/dist/src/components/actor-display/index.d.ts.map +1 -0
  258. package/dist/src/components/address-input/address-input.d.ts +42 -0
  259. package/dist/src/components/address-input/address-input.d.ts.map +1 -0
  260. package/dist/src/components/address-input/index.d.ts +2 -0
  261. package/dist/src/components/address-input/index.d.ts.map +1 -0
  262. package/dist/src/components/array-display/array-display.d.ts +30 -0
  263. package/dist/src/components/array-display/array-display.d.ts.map +1 -0
  264. package/dist/src/components/array-display/index.d.ts +2 -0
  265. package/dist/src/components/array-display/index.d.ts.map +1 -0
  266. package/dist/src/components/avatar/avatar.d.ts +80 -0
  267. package/dist/src/components/avatar/avatar.d.ts.map +1 -0
  268. package/dist/src/components/avatar/index.d.ts +2 -0
  269. package/dist/src/components/avatar/index.d.ts.map +1 -0
  270. package/dist/src/components/avatar-group/avatar-group.d.ts +35 -0
  271. package/dist/src/components/avatar-group/avatar-group.d.ts.map +1 -0
  272. package/dist/src/components/avatar-group/index.d.ts +2 -0
  273. package/dist/src/components/avatar-group/index.d.ts.map +1 -0
  274. package/dist/src/components/button/button.d.ts +4 -4
  275. package/dist/src/components/chip/chip.d.ts +78 -0
  276. package/dist/src/components/chip/chip.d.ts.map +1 -0
  277. package/dist/src/components/chip/index.d.ts +2 -0
  278. package/dist/src/components/chip/index.d.ts.map +1 -0
  279. package/dist/src/components/circular-progress-bar/circular-progress-bar.d.ts +35 -0
  280. package/dist/src/components/circular-progress-bar/circular-progress-bar.d.ts.map +1 -0
  281. package/dist/src/components/circular-progress-bar/index.d.ts +2 -0
  282. package/dist/src/components/circular-progress-bar/index.d.ts.map +1 -0
  283. package/dist/src/components/color-sample/color-sample.d.ts +56 -0
  284. package/dist/src/components/color-sample/color-sample.d.ts.map +1 -0
  285. package/dist/src/components/color-sample/index.d.ts +2 -0
  286. package/dist/src/components/color-sample/index.d.ts.map +1 -0
  287. package/dist/src/components/data-grid/data-grid.d.ts +25 -0
  288. package/dist/src/components/data-grid/data-grid.d.ts.map +1 -0
  289. package/dist/src/components/data-grid/index.d.ts +3 -0
  290. package/dist/src/components/data-grid/index.d.ts.map +1 -0
  291. package/dist/src/components/data-grid/types.d.ts +103 -0
  292. package/dist/src/components/data-grid/types.d.ts.map +1 -0
  293. package/dist/src/components/data-grid/use-data-grid-edit.d.ts +34 -0
  294. package/dist/src/components/data-grid/use-data-grid-edit.d.ts.map +1 -0
  295. package/dist/src/components/double-text-input/double-text-input.d.ts +47 -0
  296. package/dist/src/components/double-text-input/double-text-input.d.ts.map +1 -0
  297. package/dist/src/components/double-text-input/index.d.ts +2 -0
  298. package/dist/src/components/double-text-input/index.d.ts.map +1 -0
  299. package/dist/src/components/emails-display/emails-display.d.ts +30 -0
  300. package/dist/src/components/emails-display/emails-display.d.ts.map +1 -0
  301. package/dist/src/components/emails-display/index.d.ts +2 -0
  302. package/dist/src/components/emails-display/index.d.ts.map +1 -0
  303. package/dist/src/components/expandable-list/expandable-list.d.ts +41 -0
  304. package/dist/src/components/expandable-list/expandable-list.d.ts.map +1 -0
  305. package/dist/src/components/expandable-list/index.d.ts +2 -0
  306. package/dist/src/components/expandable-list/index.d.ts.map +1 -0
  307. package/dist/src/components/json-display/index.d.ts +2 -0
  308. package/dist/src/components/json-display/index.d.ts.map +1 -0
  309. package/dist/src/components/json-display/json-display.d.ts +29 -0
  310. package/dist/src/components/json-display/json-display.d.ts.map +1 -0
  311. package/dist/src/components/link-chip/index.d.ts +2 -0
  312. package/dist/src/components/link-chip/index.d.ts.map +1 -0
  313. package/dist/src/components/link-chip/link-chip.d.ts +50 -0
  314. package/dist/src/components/link-chip/link-chip.d.ts.map +1 -0
  315. package/dist/src/components/links-display/index.d.ts +2 -0
  316. package/dist/src/components/links-display/index.d.ts.map +1 -0
  317. package/dist/src/components/links-display/links-display.d.ts +37 -0
  318. package/dist/src/components/links-display/links-display.d.ts.map +1 -0
  319. package/dist/src/components/menu-item/index.d.ts +2 -0
  320. package/dist/src/components/menu-item/index.d.ts.map +1 -0
  321. package/dist/src/components/menu-item/menu-item.d.ts +104 -0
  322. package/dist/src/components/menu-item/menu-item.d.ts.map +1 -0
  323. package/dist/src/components/notification-counter/index.d.ts +2 -0
  324. package/dist/src/components/notification-counter/index.d.ts.map +1 -0
  325. package/dist/src/components/notification-counter/notification-counter.d.ts +51 -0
  326. package/dist/src/components/notification-counter/notification-counter.d.ts.map +1 -0
  327. package/dist/src/components/overflowing-text/index.d.ts +2 -0
  328. package/dist/src/components/overflowing-text/index.d.ts.map +1 -0
  329. package/dist/src/components/overflowing-text/overflowing-text.d.ts +48 -0
  330. package/dist/src/components/overflowing-text/overflowing-text.d.ts.map +1 -0
  331. package/dist/src/components/phones-display/index.d.ts +2 -0
  332. package/dist/src/components/phones-display/index.d.ts.map +1 -0
  333. package/dist/src/components/phones-display/phones-display.d.ts +31 -0
  334. package/dist/src/components/phones-display/phones-display.d.ts.map +1 -0
  335. package/dist/src/components/pill/index.d.ts +2 -0
  336. package/dist/src/components/pill/index.d.ts.map +1 -0
  337. package/dist/src/components/pill/pill.d.ts +31 -0
  338. package/dist/src/components/pill/pill.d.ts.map +1 -0
  339. package/dist/src/components/rating/index.d.ts +2 -0
  340. package/dist/src/components/rating/index.d.ts.map +1 -0
  341. package/dist/src/components/rating/rating.d.ts +37 -0
  342. package/dist/src/components/rating/rating.d.ts.map +1 -0
  343. package/dist/src/components/record-board/index.d.ts +2 -0
  344. package/dist/src/components/record-board/index.d.ts.map +1 -0
  345. package/dist/src/components/record-board/record-board.d.ts +75 -0
  346. package/dist/src/components/record-board/record-board.d.ts.map +1 -0
  347. package/dist/src/components/sidebar/sidebar.d.ts.map +1 -1
  348. package/dist/src/components/status/index.d.ts +2 -0
  349. package/dist/src/components/status/index.d.ts.map +1 -0
  350. package/dist/src/components/status/status.d.ts +52 -0
  351. package/dist/src/components/status/status.d.ts.map +1 -0
  352. package/dist/src/components/tabs/tabs.d.ts.map +1 -1
  353. package/dist/src/components/tag/index.d.ts +2 -0
  354. package/dist/src/components/tag/index.d.ts.map +1 -0
  355. package/dist/src/components/tag/tag.d.ts +153 -0
  356. package/dist/src/components/tag/tag.d.ts.map +1 -0
  357. package/dist/src/index.d.ts +25 -0
  358. package/dist/src/index.d.ts.map +1 -1
  359. package/dist/src/utils/use-is-dark-mode.d.ts +18 -0
  360. package/dist/src/utils/use-is-dark-mode.d.ts.map +1 -0
  361. package/dist/styles/reki-standalone.css +1 -1
  362. package/dist/styles/reki.css +19 -0
  363. package/dist/styles/theme-fedramp.css +6 -0
  364. package/dist/styles/theme-reki.css +164 -10
  365. package/package.json +114 -4
  366. package/scripts/component-registry/index.ts +6 -11
  367. package/scripts/extract-demo-examples.ts +323 -0
  368. package/scripts/generate-stories.ts +205 -0
  369. package/scripts/theme-generator/config.ts +230 -5
  370. package/dist/chunks/button-nc5p1h28cwes0tjw.js.map +0 -1
  371. package/dist/chunks/command-palette-fe5cjfdgsg3t17vq.js.map +0 -1
  372. package/dist/chunks/sidebar-noz668nhdu2gso12.js.map +0 -1
  373. package/dist/chunks/tabs-e4pcjkw94kpe35x0.js.map +0 -1
@@ -1,5 +1,5 @@
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: {
@@ -11,23 +11,23 @@ function d(e, o, t) {
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 _ = 0; _ < h.length; _++) {
16
- const w = h[_];
17
- w in l || (l[w] = p[w].bind(l));
14
+ const d = i.prototype, m = Object.keys(d);
15
+ for (let z = 0; z < m.length; z++) {
16
+ const w = m[z];
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 });
23
+ Object.defineProperty(s, "name", { value: e });
24
24
  function i(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
32
  return Object.defineProperty(i, "init", { value: n }), Object.defineProperty(i, Symbol.hasInstance, {
33
33
  value: (l) => t?.Parent && l instanceof t.Parent ? !0 : l?._zod?.traits?.has(e)
@@ -38,13 +38,13 @@ class q extends Error {
38
38
  super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
39
39
  }
40
40
  }
41
- class Ge extends Error {
41
+ class We extends Error {
42
42
  constructor(o) {
43
43
  super(`Encountered unidirectional transform during encode: ${o}`), this.name = "ZodEncodeError";
44
44
  }
45
45
  }
46
46
  const qe = {};
47
- function F(e) {
47
+ function U(e) {
48
48
  return qe;
49
49
  }
50
50
  function Ke(e) {
@@ -78,16 +78,16 @@ 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, i = Number.parseInt(e.toFixed(s).replace(".", "")), l = Number.parseInt(o.toFixed(s).replace(".", ""));
82
+ return i % l / 10 ** s;
83
83
  }
84
- const Ze = Symbol("evaluating");
84
+ const Pe = Symbol("evaluating");
85
85
  function $(e, o, t) {
86
86
  let n;
87
87
  Object.defineProperty(e, o, {
88
88
  get() {
89
- if (n !== Ze)
90
- return n === void 0 && (n = Ze, n = t()), n;
89
+ if (n !== Pe)
90
+ return n === void 0 && (n = Pe, n = t()), n;
91
91
  },
92
92
  set(r) {
93
93
  Object.defineProperty(e, o, {
@@ -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,
@@ -114,7 +114,7 @@ function M(...e) {
114
114
  }
115
115
  return Object.defineProperties({}, o);
116
116
  }
117
- function Pe(e) {
117
+ function Ze(e) {
118
118
  return JSON.stringify(e);
119
119
  }
120
120
  function Oo(e) {
@@ -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
  }
@@ -182,7 +182,7 @@ 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 = M(e._zod.def, {
186
186
  get shape() {
187
187
  const i = {};
188
188
  for (const l in o) {
@@ -190,17 +190,17 @@ function Ao(e, o) {
190
190
  throw new Error(`Unrecognized key: "${l}"`);
191
191
  o[l] && (i[l] = t.shape[l]);
192
192
  }
193
- return B(this, "shape", i), i;
193
+ return V(this, "shape", i), i;
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 = M(e._zod.def, {
204
204
  get shape() {
205
205
  const i = { ...e._zod.def.shape };
206
206
  for (const l in o) {
@@ -208,26 +208,26 @@ function xo(e, o) {
208
208
  throw new Error(`Unrecognized key: "${l}"`);
209
209
  o[l] && delete i[l];
210
210
  }
211
- return B(this, "shape", i), i;
211
+ return V(this, "shape", i), i;
212
212
  },
213
213
  checks: []
214
214
  });
215
- return J(e, a);
215
+ return J(e, s);
216
216
  }
217
- function jo(e, o) {
217
+ function Do(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;
222
+ const s = e._zod.def.shape;
223
223
  for (const i in o)
224
- if (Object.getOwnPropertyDescriptor(a, i) !== void 0)
224
+ if (Object.getOwnPropertyDescriptor(s, i) !== void 0)
225
225
  throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
226
226
  }
227
227
  const r = M(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);
@@ -238,16 +238,16 @@ function Ro(e, o) {
238
238
  const t = M(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
- function Do(e, o) {
246
+ function jo(e, o) {
247
247
  const t = M(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,7 +257,7 @@ function Do(e, o) {
257
257
  });
258
258
  return J(e, t);
259
259
  }
260
- function Uo(e, o, t) {
260
+ function Lo(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");
@@ -265,51 +265,51 @@ function Uo(e, o, t) {
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
286
  return J(o, i);
287
287
  }
288
- function Fo(e, o, t) {
288
+ function Uo(e, o, t) {
289
289
  const n = M(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
293
  for (const i in t) {
294
- if (!(i in a))
294
+ if (!(i in s))
295
295
  throw new Error(`Unrecognized key: "${i}"`);
296
- t[i] && (a[i] = new e({
296
+ t[i] && (s[i] = new e({
297
297
  type: "nonoptional",
298
298
  innerType: r[i]
299
299
  }));
300
300
  }
301
301
  else
302
302
  for (const i in r)
303
- a[i] = new e({
303
+ s[i] = new e({
304
304
  type: "nonoptional",
305
305
  innerType: r[i]
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);
311
311
  }
312
- function G(e, o = 0) {
312
+ function W(e, o = 0) {
313
313
  if (e.aborted === !0)
314
314
  return !0;
315
315
  for (let t = o; t < e.issues.length; t++)
@@ -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;
@@ -326,7 +326,7 @@ function V(e, o) {
326
326
  function oe(e) {
327
327
  return typeof e == "string" ? e : e?.message;
328
328
  }
329
- function L(e, o, t) {
329
+ function F(e, o, t) {
330
330
  const n = { ...e, path: e.path ?? [] };
331
331
  if (!e.message) {
332
332
  const r = oe(e.inst?._zod.def?.error?.(e)) ?? oe(o?.error?.(e)) ?? oe(t.customError?.(e)) ?? oe(t.localeError?.(e)) ?? "Invalid input";
@@ -357,8 +357,8 @@ 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 });
361
- function Lo(e, o = (t) => t.message) {
360
+ }, Qe = f("$ZodError", He), eo = f("$ZodError", He, { Parent: Error });
361
+ function Fo(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));
@@ -366,61 +366,61 @@ function Lo(e, o = (t) => t.message) {
366
366
  }
367
367
  function Mo(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((i) => n({ issues: i }));
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
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++;
380
+ for (; l < s.path.length; ) {
381
+ const u = s.path[l];
382
+ l === s.path.length - 1 ? (i[u] = i[u] || { _errors: [] }, i[u]._errors.push(o(s))) : i[u] = i[u] || { _errors: [] }, i = i[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);
389
+ const s = n ? Object.assign(n, { async: !1 }) : { async: !1 }, i = o._zod.run({ value: t, issues: [] }, s);
390
390
  if (i instanceof Promise)
391
391
  throw new q();
392
392
  if (i.issues.length) {
393
- const l = new (r?.Err ?? e)(i.issues.map((u) => L(u, a, F())));
393
+ const l = new (r?.Err ?? e)(i.issues.map((u) => F(u, s, U())));
394
394
  throw Xe(l, r?.callee), l;
395
395
  }
396
396
  return i.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);
398
+ const s = n ? Object.assign(n, { async: !0 }) : { async: !0 };
399
+ let i = o._zod.run({ value: t, issues: [] }, s);
400
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())));
401
+ const l = new (r?.Err ?? e)(i.issues.map((u) => F(u, s, U())));
402
402
  throw Xe(l, r?.callee), l;
403
403
  }
404
404
  return i.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((i) => F(i, r, U())))
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((i) => F(i, r, U())))
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
- }, Wo = (e) => (o, t, n) => we(e)(o, t, n), Go = (e) => async (o, t, n) => {
423
+ }, Go = (e) => (o, t, n) => we(e)(o, t, n), Wo = (e) => async (o, t, n) => {
424
424
  const r = n ? Object.assign(n, { direction: "backward" }) : { direction: "backward" };
425
425
  return Se(e)(o, t, r);
426
426
  }, qo = (e) => async (o, t, n) => Se(e)(o, t, n), Ko = (e) => (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]*$/, D = /* @__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
+ D.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
+ D.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
+ D.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,12 +507,12 @@ 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];
510
+ }), Pt = /* @__PURE__ */ f("$ZodCheckNumberFormat", (e, o) => {
511
+ D.init(e, o), o.format = o.format || "float64";
512
+ const t = o.format?.includes("int"), n = t ? "int" : "number", [r, s] = Co[o.format];
513
513
  e._zod.onattach.push((i) => {
514
514
  const l = i._zod.bag;
515
- l.format = o.format, l.minimum = r, l.maximum = a, t && (l.pattern = yt);
515
+ l.format = o.format, l.minimum = r, l.maximum = s, t && (l.pattern = yt);
516
516
  }), e._zod.check = (i) => {
517
517
  const l = i.value;
518
518
  if (t) {
@@ -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 && i.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
+ }), Zt = /* @__PURE__ */ f("$ZodCheckMaxLength", (e, o) => {
572
572
  var t;
573
- x.init(e, o), (t = e._zod.def).when ?? (t.when = (n) => {
573
+ D.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) => {
@@ -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
+ D.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) => {
@@ -614,19 +614,19 @@ 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
+ D.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 i = ke(r), l = s > o.length;
630
630
  n.issues.push({
631
631
  origin: i,
632
632
  ...l ? { code: "too_big", maximum: o.length } : { code: "too_small", minimum: o.length },
@@ -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
+ D.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
+ }), Et = /* @__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
+ }), Ct = /* @__PURE__ */ f("$ZodCheckIncludes", (e, o) => {
674
+ D.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
+ D.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
+ D.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
+ }), Dt = /* @__PURE__ */ f("$ZodCheckOverwrite", (e, o) => {
725
+ D.init(e, o), e._zod.check = (t) => {
726
726
  t.value = o.tx(t.value);
727
727
  };
728
728
  });
@@ -739,78 +739,78 @@ 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)
742
+ `).filter((i) => i), r = Math.min(...n.map((i) => i.length - i.trimStart().length)), s = n.map((i) => i.slice(r)).map((i) => " ".repeat(this.indent * 2) + i);
743
+ for (const i of s)
744
744
  this.content.push(i);
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
  }
751
751
  }
752
- const Dt = {
752
+ const jt = {
753
753
  major: 4,
754
754
  minor: 3,
755
755
  patch: 6
756
- }, Z = /* @__PURE__ */ d("$ZodType", (e, o) => {
756
+ }, P = /* @__PURE__ */ f("$ZodType", (e, o) => {
757
757
  var t;
758
- e ?? (e = {}), e._zod.def = o, e._zod.bag = e._zod.bag || {}, e._zod.version = Dt;
758
+ e ?? (e = {}), e._zod.def = o, e._zod.bag = e._zod.bag || {}, e._zod.version = jt;
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
769
  const r = (i, l, u) => {
770
- let p = G(i), h;
771
- for (const _ of l) {
772
- if (_._zod.def.when) {
773
- if (!_._zod.def.when(i))
770
+ let d = W(i), m;
771
+ for (const z of l) {
772
+ if (z._zod.def.when) {
773
+ if (!z._zod.def.when(i))
774
774
  continue;
775
- } else if (p)
775
+ } else if (d)
776
776
  continue;
777
- const w = i.issues.length, S = _._zod.check(i);
777
+ const w = i.issues.length, S = z._zod.check(i);
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, i.issues.length !== w && (d || (d = W(i, w)));
783
783
  });
784
784
  else {
785
785
  if (i.issues.length === w)
786
786
  continue;
787
- p || (p = G(i, w));
787
+ d || (d = W(i, w));
788
788
  }
789
789
  }
790
- return h ? h.then(() => i) : i;
791
- }, a = (i, l, u) => {
792
- if (G(i))
790
+ return m ? m.then(() => i) : i;
791
+ }, s = (i, l, u) => {
792
+ if (W(i))
793
793
  return i.aborted = !0, i;
794
- const p = r(l, n, u);
795
- if (p instanceof Promise) {
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
802
  e._zod.run = (i, l) => {
803
803
  if (l.skipChecks)
804
804
  return e._zod.parse(i, 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: i.value, issues: [] }, { ...l, skipChecks: !0 });
807
+ return d instanceof Promise ? d.then((m) => s(m, i, l)) : s(d, i, l);
808
808
  }
809
809
  const u = e._zod.parse(i, 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,17 +818,17 @@ 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((i) => i.success ? { value: i.data } : { issues: i.error?.issues });
825
825
  }
826
826
  },
827
827
  vendor: "zod",
828
828
  version: 1
829
829
  }));
830
- }), $e = /* @__PURE__ */ d("$ZodString", (e, o) => {
831
- Z.init(e, o), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? bt(e._zod.bag), e._zod.parse = (t, n) => {
830
+ }), $e = /* @__PURE__ */ f("$ZodString", (e, o) => {
831
+ P.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 {
834
834
  t.value = String(t.value);
@@ -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
+ }), Lt = /* @__PURE__ */ f("$ZodGUID", (e, o) => {
847
847
  o.pattern ?? (o.pattern = at), T.init(e, o);
848
- }), Ft = /* @__PURE__ */ d("$ZodUUID", (e, o) => {
848
+ }), Ut = /* @__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
+ }), Ft = /* @__PURE__ */ f("$ZodEmail", (e, o) => {
867
867
  o.pattern ?? (o.pattern = st), T.init(e, o);
868
- }), Mt = /* @__PURE__ */ d("$ZodURL", (e, o) => {
868
+ }), Mt = /* @__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
+ }), Gt = /* @__PURE__ */ f("$ZodCUID2", (e, o) => {
907
907
  o.pattern ?? (o.pattern = et), T.init(e, o);
908
- }), Gt = /* @__PURE__ */ d("$ZodULID", (e, o) => {
908
+ }), Wt = /* @__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,19 +935,19 @@ 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 i = Number(s);
950
+ if (`${i}` !== s)
951
951
  throw new Error();
952
952
  if (i < 0 || i > 128)
953
953
  throw new Error();
@@ -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,8 +1028,8 @@ const un = /* @__PURE__ */ d("$ZodJWT", (e, o) => {
1028
1028
  continue: !o.abort
1029
1029
  });
1030
1030
  };
1031
- }), lo = /* @__PURE__ */ d("$ZodNumber", (e, o) => {
1032
- Z.init(e, o), e._zod.pattern = e._zod.bag.pattern ?? ro, e._zod.parse = (t, n) => {
1031
+ }), lo = /* @__PURE__ */ f("$ZodNumber", (e, o) => {
1032
+ P.init(e, o), e._zod.pattern = e._zod.bag.pattern ?? ro, e._zod.parse = (t, n) => {
1033
1033
  if (o.coerce)
1034
1034
  try {
1035
1035
  t.value = Number(t.value);
@@ -1038,19 +1038,19 @@ 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) => {
1051
- Zt.init(e, o), lo.init(e, o);
1052
- }), dn = /* @__PURE__ */ d("$ZodBoolean", (e, o) => {
1053
- Z.init(e, o), e._zod.pattern = zt, e._zod.parse = (t, n) => {
1050
+ }), pn = /* @__PURE__ */ f("$ZodNumberFormat", (e, o) => {
1051
+ Pt.init(e, o), lo.init(e, o);
1052
+ }), dn = /* @__PURE__ */ f("$ZodBoolean", (e, o) => {
1053
+ P.init(e, o), e._zod.pattern = zt, e._zod.parse = (t, n) => {
1054
1054
  if (o.coerce)
1055
1055
  try {
1056
1056
  t.value = !!t.value;
@@ -1064,8 +1064,8 @@ const un = /* @__PURE__ */ d("$ZodJWT", (e, o) => {
1064
1064
  inst: e
1065
1065
  }), t;
1066
1066
  };
1067
- }), fn = /* @__PURE__ */ d("$ZodNull", (e, o) => {
1068
- Z.init(e, o), e._zod.pattern = kt, e._zod.values = /* @__PURE__ */ new Set([null]), e._zod.parse = (t, n) => {
1067
+ }), fn = /* @__PURE__ */ f("$ZodNull", (e, o) => {
1068
+ P.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({
1071
1071
  expected: "null",
@@ -1074,10 +1074,10 @@ const un = /* @__PURE__ */ d("$ZodJWT", (e, o) => {
1074
1074
  inst: e
1075
1075
  }), t;
1076
1076
  };
1077
- }), hn = /* @__PURE__ */ d("$ZodUnknown", (e, o) => {
1078
- Z.init(e, o), e._zod.parse = (t) => t;
1079
- }), mn = /* @__PURE__ */ d("$ZodNever", (e, o) => {
1080
- Z.init(e, o), e._zod.parse = (t, n) => (t.issues.push({
1077
+ }), hn = /* @__PURE__ */ f("$ZodUnknown", (e, o) => {
1078
+ P.init(e, o), e._zod.parse = (t) => t;
1079
+ }), mn = /* @__PURE__ */ f("$ZodNever", (e, o) => {
1080
+ P.init(e, o), e._zod.parse = (t, n) => (t.issues.push({
1081
1081
  expected: "never",
1082
1082
  code: "invalid_type",
1083
1083
  input: t.value,
@@ -1085,10 +1085,10 @@ 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) => {
1091
- Z.init(e, o), e._zod.parse = (t, n) => {
1090
+ const gn = /* @__PURE__ */ f("$ZodArray", (e, o) => {
1091
+ P.init(e, o), e._zod.parse = (t, n) => {
1092
1092
  const r = t.value;
1093
1093
  if (!Array.isArray(r))
1094
1094
  return t.issues.push({
@@ -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 = [];
1101
+ const s = [];
1102
1102
  for (let i = 0; i < r.length; i++) {
1103
1103
  const l = r[i], 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, i))) : Oe(u, t, i);
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
  }
@@ -1131,27 +1131,27 @@ 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";
1136
- for (const _ in o) {
1137
- if (l.has(_))
1134
+ function po(e, o, t, n, r, s) {
1135
+ const i = [], l = r.keySet, u = r.catchall._zod, d = u.def.type, m = u.optout === "optional";
1136
+ for (const z in o) {
1137
+ if (l.has(z))
1138
1138
  continue;
1139
- if (p === "never") {
1140
- i.push(_);
1139
+ if (d === "never") {
1140
+ i.push(z);
1141
1141
  continue;
1142
1142
  }
1143
- const w = u.run({ value: o[_], issues: [] }, n);
1144
- w instanceof Promise ? e.push(w.then((S) => se(S, t, _, o, h))) : se(w, t, _, o, h);
1143
+ const w = u.run({ value: o[z], issues: [] }, n);
1144
+ w instanceof Promise ? e.push(w.then((S) => se(S, t, z, o, m))) : se(w, t, z, o, m);
1145
1145
  }
1146
1146
  return i.length && t.issues.push({
1147
1147
  code: "unrecognized_keys",
1148
1148
  keys: i,
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) => {
1154
- if (Z.init(e, o), !Object.getOwnPropertyDescriptor(o, "shape")?.get) {
1153
+ const _n = /* @__PURE__ */ f("$ZodObject", (e, o) => {
1154
+ if (P.init(e, o), !Object.getOwnPropertyDescriptor(o, "shape")?.get) {
1155
1155
  const l = o.shape;
1156
1156
  Object.defineProperty(o, "shape", {
1157
1157
  get: () => {
@@ -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 _ of h.values)
1173
- u[p].add(_);
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 z of m.values)
1173
+ u[d].add(z);
1174
1174
  }
1175
1175
  }
1176
1176
  return u;
1177
1177
  });
1178
- const r = ae, a = o.catchall;
1178
+ const r = ae, s = o.catchall;
1179
1179
  let i;
1180
1180
  e._zod.parse = (l, u) => {
1181
1181
  i ?? (i = n.value);
1182
- const p = l.value;
1183
- if (!r(p))
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 = [], _ = i.shape;
1191
+ const m = [], z = i.shape;
1192
1192
  for (const w of i.keys) {
1193
- const S = _[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);
1193
+ const S = z[w], E = S._zod.optout === "optional", I = S._zod.run({ value: d[w], issues: [] }, u);
1194
+ I instanceof Promise ? m.push(I.then((ee) => se(ee, l, w, d, E))) : se(I, 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, I = (L) => {
1202
+ const x = Ze(L);
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 L of E.keys)
1209
+ ee[L] = `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 L of E.keys) {
1212
+ const x = ee[L], j = Ze(L), Zo = w[L]?._zod?.optout === "optional";
1213
+ S.write(`const ${x} = ${I(L)};`), Zo ? S.write(`
1214
+ if (${x}.issues.length) {
1215
+ if (${j} 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 ? [${j}, ...iss.path] : [${j}]
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 (${j} in input) {
1225
+ newResult[${j}] = undefined;
1226
1226
  }
1227
1227
  } else {
1228
- newResult[${R}] = ${A}.value;
1228
+ newResult[${j}] = ${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 ? [${j}, ...iss.path] : [${j}]
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 (${j} in input) {
1241
+ newResult[${j}] = undefined;
1242
1242
  }
1243
1243
  } else {
1244
- newResult[${R}] = ${A}.value;
1244
+ newResult[${j}] = ${x}.value;
1245
1245
  }
1246
1246
 
1247
1247
  `);
1248
1248
  }
1249
1249
  S.write("payload.value = newResult;"), S.write("return payload;");
1250
- const Zo = S.compile();
1251
- return (D, A) => Zo(w, D, A);
1250
+ const Po = S.compile();
1251
+ return (L, x) => Po(w, L, x);
1252
1252
  };
1253
- let a;
1254
- const i = ae, l = !qe.jitless, p = l && Io.value, h = o.catchall;
1255
- let _;
1253
+ let s;
1254
+ const i = ae, l = !qe.jitless, d = l && No.value, m = o.catchall;
1255
+ let z;
1256
1256
  e._zod.parse = (w, S) => {
1257
- _ ?? (_ = n.value);
1257
+ z ?? (z = 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, _, e) : w) : t(w, S) : (w.issues.push({
1259
+ return i(E) ? l && d && S?.async === !1 && S.jitless !== !0 ? (s || (s = r(o.shape)), w = s(w, S), m ? po([], E, w, S, z, 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) => !W(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((i) => F(i, n, U())))
1277
1277
  }), o);
1278
1278
  }
1279
- const bn = /* @__PURE__ */ d("$ZodUnion", (e, o) => {
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", () => {
1279
+ const bn = /* @__PURE__ */ f("$ZodUnion", (e, o) => {
1280
+ P.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);
1292
+ return n(r, s);
1293
1293
  let i = !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), i = !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 i ? Promise.all(l).then((u) => Ne(u, r, e, s)) : Ne(l, r, e, s);
1309
1309
  };
1310
- }), yn = /* @__PURE__ */ d("$ZodIntersection", (e, o) => {
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);
1310
+ }), yn = /* @__PURE__ */ f("$ZodIntersection", (e, o) => {
1311
+ P.init(e, o), e._zod.parse = (t, n) => {
1312
+ const r = t.value, s = o.left._zod.run({ value: r, issues: [] }, n), i = o.right._zod.run({ value: r, issues: [] }, n);
1313
+ return s instanceof Promise || i instanceof Promise ? Promise.all([s, i]).then(([u, d]) => Ie(t, u, d)) : Ie(t, s, i);
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]);
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 i = _e(e[s], o[s]);
1325
1325
  if (!i.valid)
1326
1326
  return {
1327
1327
  valid: !1,
1328
- mergeErrorPath: [a, ...i.mergeErrorPath]
1328
+ mergeErrorPath: [s, ...i.mergeErrorPath]
1329
1329
  };
1330
- r[a] = i.data;
1330
+ r[s] = i.data;
1331
1331
  }
1332
1332
  return { valid: !0, data: r };
1333
1333
  }
@@ -1336,7 +1336,7 @@ 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);
1339
+ const r = e[n], s = o[n], i = _e(r, s);
1340
1340
  if (!i.valid)
1341
1341
  return {
1342
1342
  valid: !1,
@@ -1348,7 +1348,7 @@ function _e(e, o) {
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,67 +1364,67 @@ 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 }), W(e))
1369
1369
  return e;
1370
1370
  const i = _e(o.value, t.value);
1371
1371
  if (!i.valid)
1372
1372
  throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`);
1373
1373
  return e.value = i.data, e;
1374
1374
  }
1375
- const zn = /* @__PURE__ */ d("$ZodTuple", (e, o) => {
1376
- Z.init(e, o);
1375
+ const zn = /* @__PURE__ */ f("$ZodTuple", (e, o) => {
1376
+ P.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 i = [], 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, _ = a.length < u - 1;
1391
- if (h || _)
1390
+ const m = s.length > t.length, z = s.length < u - 1;
1391
+ if (m || z)
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 _ = h._zod.run({
1404
- value: a[p],
1403
+ const z = m._zod.run({
1404
+ value: s[d],
1405
1405
  issues: []
1406
1406
  }, r);
1407
- _ instanceof Promise ? i.push(_.then((w) => te(w, n, p))) : te(_, n, p);
1407
+ z instanceof Promise ? i.push(z.then((w) => te(w, n, d))) : te(z, n, d);
1408
1408
  }
1409
1409
  if (o.rest) {
1410
- const h = a.slice(t.length);
1411
- for (const _ of h) {
1412
- p++;
1410
+ const m = s.slice(t.length);
1411
+ for (const z of m) {
1412
+ d++;
1413
1413
  const w = o.rest._zod.run({
1414
- value: _,
1414
+ value: z,
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 ? i.push(w.then((S) => te(S, n, d))) : te(w, n, d);
1418
1418
  }
1419
1419
  }
1420
1420
  return i.length ? Promise.all(i).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) => {
1427
- Z.init(e, o), e._zod.parse = (t, n) => {
1426
+ const kn = /* @__PURE__ */ f("$ZodRecord", (e, o) => {
1427
+ P.init(e, o), e._zod.parse = (t, n) => {
1428
1428
  const r = t.value;
1429
1429
  if (!K(r))
1430
1430
  return t.issues.push({
@@ -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;
1436
+ const s = [], i = o.keyType._zod.values;
1437
1437
  if (i) {
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((_) => {
1445
- _.issues.length && t.issues.push(...V(p, _.issues)), t.value[p] = _.value;
1446
- })) : (h.issues.length && t.issues.push(...V(p, h.issues)), t.value[p] = h.value);
1440
+ for (const d of i)
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((z) => {
1445
+ z.issues.length && t.issues.push(...B(d, z.issues)), t.value[d] = z.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,
@@ -1463,34 +1463,34 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
1463
1463
  if (u instanceof Promise)
1464
1464
  throw new Error("Async schemas not supported in object keys currently");
1465
1465
  if (typeof l == "string" && ro.test(l) && u.issues.length) {
1466
- const _ = o.keyType._zod.run({ value: Number(l), issues: [] }, n);
1467
- if (_ instanceof Promise)
1466
+ const z = o.keyType._zod.run({ value: Number(l), issues: [] }, n);
1467
+ if (z instanceof Promise)
1468
1468
  throw new Error("Async schemas not supported in object keys currently");
1469
- _.issues.length === 0 && (u = _);
1469
+ z.issues.length === 0 && (u = z);
1470
1470
  }
1471
1471
  if (u.issues.length) {
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((_) => L(_, n, F())),
1475
+ issues: u.issues.map((z) => F(z, n, U())),
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((_) => {
1484
- _.issues.length && t.issues.push(...V(l, _.issues)), t.value[u.value] = _.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((z) => {
1484
+ z.issues.length && t.issues.push(...B(l, z.issues)), t.value[u.value] = z.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) => {
1491
- Z.init(e, o);
1490
+ }), wn = /* @__PURE__ */ f("$ZodEnum", (e, o) => {
1491
+ P.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) => {
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
1494
  const i = r.value;
1495
1495
  return n.has(i) || r.issues.push({
1496
1496
  code: "invalid_value",
@@ -1499,10 +1499,10 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
1499
1499
  inst: e
1500
1500
  }), r;
1501
1501
  };
1502
- }), Sn = /* @__PURE__ */ d("$ZodTransform", (e, o) => {
1503
- Z.init(e, o), e._zod.parse = (t, n) => {
1502
+ }), Sn = /* @__PURE__ */ f("$ZodTransform", (e, o) => {
1503
+ P.init(e, o), e._zod.parse = (t, n) => {
1504
1504
  if (n.direction === "backward")
1505
- throw new Ge(e.constructor.name);
1505
+ throw new We(e.constructor.name);
1506
1506
  const r = o.transform(t.value, t);
1507
1507
  if (n.async)
1508
1508
  return (r instanceof Promise ? r : Promise.resolve(r)).then((i) => (t.value = i, t));
@@ -1514,46 +1514,46 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, o) => {
1514
1514
  function Ee(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) => {
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", () => {
1517
+ const fo = /* @__PURE__ */ f("$ZodOptional", (e, o) => {
1518
+ P.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) => Ee(s, t.value)) : Ee(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) => {
1531
- Z.init(e, o), $(e._zod, "optin", () => o.innerType._zod.optin), $(e._zod, "optout", () => o.innerType._zod.optout), $(e._zod, "pattern", () => {
1530
+ }), Pn = /* @__PURE__ */ f("$ZodNullable", (e, o) => {
1531
+ P.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) => {
1536
- Z.init(e, o), e._zod.optin = "optional", $(e._zod, "values", () => o.innerType._zod.values), e._zod.parse = (t, n) => {
1535
+ }), Zn = /* @__PURE__ */ f("$ZodDefault", (e, o) => {
1536
+ P.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) => Ce(s, o)) : Ce(r, o);
1543
1543
  };
1544
1544
  });
1545
1545
  function Ce(e, o) {
1546
1546
  return e.value === void 0 && (e.value = o.defaultValue), e;
1547
1547
  }
1548
- const Tn = /* @__PURE__ */ d("$ZodPrefault", (e, o) => {
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) => {
1551
- Z.init(e, o), $(e._zod, "values", () => {
1548
+ const Tn = /* @__PURE__ */ f("$ZodPrefault", (e, o) => {
1549
+ P.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__ */ f("$ZodNonOptional", (e, o) => {
1551
+ P.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,40 +1564,40 @@ function Ae(e, o) {
1564
1564
  inst: o
1565
1565
  }), e;
1566
1566
  }
1567
- const In = /* @__PURE__ */ d("$ZodCatch", (e, o) => {
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) => {
1567
+ const Nn = /* @__PURE__ */ f("$ZodCatch", (e, o) => {
1568
+ P.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((i) => F(i, n, U()))
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) => F(s, n, U()))
1582
1582
  },
1583
1583
  input: t.value
1584
1584
  }), t.issues = []), t);
1585
1585
  };
1586
- }), Nn = /* @__PURE__ */ d("$ZodPipe", (e, o) => {
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) => {
1586
+ }), In = /* @__PURE__ */ f("$ZodPipe", (e, o) => {
1587
+ P.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((i) => ne(i, 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) => {
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) => {
1599
+ const En = /* @__PURE__ */ f("$ZodReadonly", (e, o) => {
1600
+ P.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);
1603
1603
  const r = o.innerType._zod.run(t, n);
@@ -1607,17 +1607,17 @@ 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) => {
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) => {
1610
+ const Cn = /* @__PURE__ */ f("$ZodLazy", (e, o) => {
1611
+ P.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__ */ f("$ZodCustom", (e, o) => {
1613
+ D.init(e, o), P.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));
1617
- je(r, t, n, e);
1616
+ return r.then((s) => De(s, t, n, e));
1617
+ De(r, t, n, e);
1618
1618
  };
1619
1619
  });
1620
- function je(e, o, t, n) {
1620
+ function De(e, o, t, n) {
1621
1621
  if (!e) {
1622
1622
  const r = {
1623
1623
  code: "custom",
@@ -1662,10 +1662,10 @@ class xn {
1662
1662
  return this._map.has(o);
1663
1663
  }
1664
1664
  }
1665
- function jn() {
1665
+ function Dn() {
1666
1666
  return new xn();
1667
1667
  }
1668
- (Re = globalThis).__zod_globalRegistry ?? (Re.__zod_globalRegistry = jn());
1668
+ (Re = globalThis).__zod_globalRegistry ?? (Re.__zod_globalRegistry = Dn());
1669
1669
  const Y = globalThis.__zod_globalRegistry;
1670
1670
  // @__NO_SIDE_EFFECTS__
1671
1671
  function Rn(e, o) {
@@ -1675,7 +1675,7 @@ function Rn(e, o) {
1675
1675
  });
1676
1676
  }
1677
1677
  // @__NO_SIDE_EFFECTS__
1678
- function Dn(e, o) {
1678
+ function jn(e, o) {
1679
1679
  return new e({
1680
1680
  type: "string",
1681
1681
  format: "email",
@@ -1685,7 +1685,7 @@ function Dn(e, o) {
1685
1685
  });
1686
1686
  }
1687
1687
  // @__NO_SIDE_EFFECTS__
1688
- function De(e, o) {
1688
+ function je(e, o) {
1689
1689
  return new e({
1690
1690
  type: "string",
1691
1691
  format: "guid",
@@ -1695,7 +1695,7 @@ function De(e, o) {
1695
1695
  });
1696
1696
  }
1697
1697
  // @__NO_SIDE_EFFECTS__
1698
- function Un(e, o) {
1698
+ function Ln(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 Un(e, o) {
1709
1709
  return new e({
1710
1710
  type: "string",
1711
1711
  format: "uuid",
@@ -1716,7 +1716,7 @@ function Fn(e, o) {
1716
1716
  });
1717
1717
  }
1718
1718
  // @__NO_SIDE_EFFECTS__
1719
- function Ln(e, o) {
1719
+ function Fn(e, o) {
1720
1720
  return new e({
1721
1721
  type: "string",
1722
1722
  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",
@@ -1768,7 +1768,7 @@ function Bn(e, o) {
1768
1768
  });
1769
1769
  }
1770
1770
  // @__NO_SIDE_EFFECTS__
1771
- function Wn(e, o) {
1771
+ function Gn(e, o) {
1772
1772
  return new e({
1773
1773
  type: "string",
1774
1774
  format: "cuid",
@@ -1778,7 +1778,7 @@ function Wn(e, o) {
1778
1778
  });
1779
1779
  }
1780
1780
  // @__NO_SIDE_EFFECTS__
1781
- function Gn(e, o) {
1781
+ function Wn(e, o) {
1782
1782
  return new e({
1783
1783
  type: "string",
1784
1784
  format: "cuid2",
@@ -1983,7 +1983,7 @@ function hr(e, o) {
1983
1983
  });
1984
1984
  }
1985
1985
  // @__NO_SIDE_EFFECTS__
1986
- function Ue(e, o) {
1986
+ function Le(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 Ue(e, o) {
2005
2005
  return new so({
2006
2006
  check: "greater_than",
2007
2007
  ...k(o),
@@ -2019,7 +2019,7 @@ function me(e, o) {
2019
2019
  });
2020
2020
  }
2021
2021
  // @__NO_SIDE_EFFECTS__
2022
- function Le(e, o) {
2022
+ function Fe(e, o) {
2023
2023
  return new $t({
2024
2024
  check: "multiple_of",
2025
2025
  ...k(o),
@@ -2028,7 +2028,7 @@ function Le(e, o) {
2028
2028
  }
2029
2029
  // @__NO_SIDE_EFFECTS__
2030
2030
  function ho(e, o) {
2031
- return new Pt({
2031
+ return new Zt({
2032
2032
  check: "max_length",
2033
2033
  ...k(o),
2034
2034
  maximum: e
@@ -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)
@@ -2104,7 +2104,7 @@ function yr(e, o) {
2104
2104
  }
2105
2105
  // @__NO_SIDE_EFFECTS__
2106
2106
  function X(e) {
2107
- return new jt({
2107
+ return new Dt({
2108
2108
  check: "overwrite",
2109
2109
  tx: e
2110
2110
  });
@@ -2130,7 +2130,7 @@ function $r() {
2130
2130
  return /* @__PURE__ */ X((e) => Oo(e));
2131
2131
  }
2132
2132
  // @__NO_SIDE_EFFECTS__
2133
- function Zr(e, o, t) {
2133
+ function Pr(e, o, t) {
2134
2134
  return new e({
2135
2135
  type: "array",
2136
2136
  element: o,
@@ -2141,7 +2141,7 @@ function Zr(e, o, t) {
2141
2141
  });
2142
2142
  }
2143
2143
  // @__NO_SIDE_EFFECTS__
2144
- function Pr(e, o, t) {
2144
+ function Zr(e, o, t) {
2145
2145
  return new e({
2146
2146
  type: "custom",
2147
2147
  check: "custom",
@@ -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 D({
2167
2167
  check: "custom",
2168
2168
  ...k(o)
2169
2169
  });
@@ -2188,30 +2188,30 @@ 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;
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
2194
  const i = { schema: {}, count: 1, cycle: void 0, path: t.path };
2195
2195
  o.seen.set(e, i);
2196
2196
  const l = e._zod.toJSONSchema?.();
2197
2197
  if (l)
2198
2198
  i.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, i.schema, m);
2207
2207
  else {
2208
2208
  const w = i.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
- const _ = e._zod.parent;
2214
- _ && (i.ref || (i.ref = _), O(_, o, h), o.seen.get(_).isParent = !0);
2213
+ const z = e._zod.parent;
2214
+ z && (i.ref || (i.ref = z), O(z, o, m), o.seen.get(z).isParent = !0);
2215
2215
  }
2216
2216
  const u = o.metadataRegistry.get(e);
2217
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;
@@ -2233,25 +2233,25 @@ function _o(e, o) {
2233
2233
  const r = (i) => {
2234
2234
  const l = e.target === "draft-2020-12" ? "$defs" : "definitions";
2235
2235
  if (e.external) {
2236
- const _ = e.external.registry.get(i[0])?.id, w = e.external.uri ?? ((E) => E);
2237
- if (_)
2238
- return { ref: w(_) };
2236
+ const z = e.external.registry.get(i[0])?.id, w = e.external.uri ?? ((E) => E);
2237
+ if (z)
2238
+ return { ref: w(z) };
2239
2239
  const S = i[1].defId ?? i[1].schema.id ?? `schema${e.counter++}`;
2240
2240
  return i[1].defId = S, { defId: S, ref: `${w("__shared")}#/${l}/${S}` };
2241
2241
  }
2242
2242
  if (i[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) => {
2244
+ const d = `#/${l}/`, m = i[1].schema.id ?? `__schema${e.counter++}`;
2245
+ return { defId: m, ref: d + m };
2246
+ }, s = (i) => {
2247
2247
  if (i[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 _ in h)
2253
- delete h[_];
2254
- h.$ref = u;
2249
+ const l = i[1], { ref: u, defId: d } = r(i);
2250
+ l.def = { ...l.schema }, d && (l.defId = d);
2251
+ const m = l.schema;
2252
+ for (const z in m)
2253
+ delete m[z];
2254
+ m.$ref = u;
2255
2255
  };
2256
2256
  if (e.cycles === "throw")
2257
2257
  for (const i of e.seen.entries()) {
@@ -2264,26 +2264,26 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
2264
2264
  for (const i of e.seen.entries()) {
2265
2265
  const l = i[1];
2266
2266
  if (o === i[0]) {
2267
- a(i);
2267
+ s(i);
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(i[0])?.id;
2272
+ if (o !== i[0] && d) {
2273
+ s(i);
2274
2274
  continue;
2275
2275
  }
2276
2276
  }
2277
2277
  if (e.metadataRegistry.get(i[0])?.id) {
2278
- a(i);
2278
+ s(i);
2279
2279
  continue;
2280
2280
  }
2281
2281
  if (l.cycle) {
2282
- a(i);
2282
+ s(i);
2283
2283
  continue;
2284
2284
  }
2285
2285
  if (l.count > 1 && e.reused === "ref") {
2286
- a(i);
2286
+ s(i);
2287
2287
  continue;
2288
2288
  }
2289
2289
  }
@@ -2296,21 +2296,21 @@ function vo(e, o) {
2296
2296
  const l = e.seen.get(i);
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), i._zod.parent === m)
2304
+ for (const I in u)
2305
+ I === "$ref" || I === "allOf" || I in d || delete u[I];
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 I in u)
2308
+ I === "$ref" || I === "allOf" || I in w.def && JSON.stringify(u[I]) === JSON.stringify(w.def[I]) && delete u[I];
2309
2309
  }
2310
- const _ = i._zod.parent;
2311
- if (_ && _ !== h) {
2312
- n(_);
2313
- const w = e.seen.get(_);
2310
+ const z = i._zod.parent;
2311
+ if (z && z !== m) {
2312
+ n(z);
2313
+ const w = e.seen.get(z);
2314
2314
  if (w?.schema.$ref && (u.$ref = w.schema.$ref, w.def))
2315
2315
  for (const S in u)
2316
2316
  S === "$ref" || S === "allOf" || S in w.def && JSON.stringify(u[S]) === JSON.stringify(w.def[S]) && delete u[S];
@@ -2331,12 +2331,12 @@ function vo(e, o) {
2331
2331
  r.$id = e.external.uri(i);
2332
2332
  }
2333
2333
  Object.assign(r, t.def ?? t.schema);
2334
- const a = e.external?.defs ?? {};
2334
+ const s = e.external?.defs ?? {};
2335
2335
  for (const i of e.seen.entries()) {
2336
2336
  const l = i[1];
2337
- l.def && l.defId && (a[l.defId] = l.def);
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
2341
  const i = JSON.parse(JSON.stringify(r));
2342
2342
  return Object.defineProperty(i, "~standard", {
@@ -2396,13 +2396,13 @@ function C(e, o) {
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 });
2403
+ const { libraryOptions: r, target: s } = n ?? {}, i = go({ ...r ?? {}, target: s, io: o, processors: t });
2404
2404
  return O(e, i), _o(i, e), vo(i, e);
2405
- }, Nr = {
2405
+ }, Ir = {
2406
2406
  guid: "uuid",
2407
2407
  url: "uri",
2408
2408
  datetime: "date-time",
@@ -2412,136 +2412,136 @@ const Ir = (e, o = {}) => (t) => {
2412
2412
  }, Er = (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((_) => ({
2415
+ const { minimum: s, maximum: i, format: l, patterns: u, contentEncoding: d } = e._zod.bag;
2416
+ if (typeof s == "number" && (r.minLength = s), typeof i == "number" && (r.maxLength = i), 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((z) => ({
2420
2420
  ...o.target === "draft-07" || o.target === "draft-04" || o.target === "openapi-3.0" ? { type: "string" } : {},
2421
- pattern: _.source
2421
+ pattern: z.source
2422
2422
  }))
2423
2423
  ]);
2424
2424
  }
2425
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);
2426
+ const r = t, { minimum: s, maximum: i, 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 i == "number" && (r.maximum = i, typeof d == "number" && o.target !== "draft-04" && (d <= i ? 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) => {
2431
2431
  o.target === "openapi-3.0" ? (t.type = "string", t.nullable = !0, t.enum = [null]) : t.type = "null";
2432
- }, jr = (e, o, t, n) => {
2432
+ }, Dr = (e, o, t, n) => {
2433
2433
  t.not = {};
2434
2434
  }, Rr = (e, o, t, n) => {
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) => {
2435
+ }, jr = (e, o, t, n) => {
2436
+ const r = e._zod.def, s = Ke(r.entries);
2437
+ s.every((i) => typeof i == "number") && (t.type = "number"), s.every((i) => typeof i == "string") && (t.type = "string"), t.enum = s;
2438
+ }, Lr = (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
+ }, Ur = (e, o, t, n) => {
2442
2442
  if (o.unrepresentable === "throw")
2443
2443
  throw new Error("Transforms cannot be represented in JSON Schema");
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"] });
2444
+ }, Fr = (e, o, t, n) => {
2445
+ const r = t, s = 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(s.element, o, { ...n, path: [...n.path, "items"] });
2447
2447
  }, Mr = (e, o, t, n) => {
2448
- const r = t, a = e._zod.def;
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 i = s.shape;
2451
+ for (const d in i)
2452
+ r.properties[d] = O(i[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(i)), 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, i = 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 = i : t.anyOf = i;
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
2474
  }), i = 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],
2477
+ }), l = (d) => "allOf" in d && Object.keys(d).length === 1, u = [
2478
+ ...l(s) ? s.allOf : [s],
2479
2479
  ...l(i) ? i.allOf : [i]
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 i = 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
2487
  path: [...n.path, i, S]
2488
- })), p = a.rest ? O(a.rest, o, {
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: _ } = e._zod.bag;
2496
- typeof h == "number" && (r.minItems = h), typeof _ == "number" && (r.maxItems = _);
2497
- }, Wr = (e, o, t, n) => {
2498
- const r = t, a = e._zod.def;
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: z } = e._zod.bag;
2496
+ typeof m == "number" && (r.minItems = m), typeof z == "number" && (r.maxItems = z);
2497
+ }, Gr = (e, o, t, n) => {
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 i = s.keyType, u = i._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
- for (const _ of u)
2508
- r.patternProperties[_.source] = h;
2507
+ for (const z of u)
2508
+ r.patternProperties[z.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((_) => typeof _ == "string" || typeof _ == "number");
2520
- h.length > 0 && (r.required = h);
2517
+ const d = i._zod.values;
2518
+ if (d) {
2519
+ const m = [...d].filter((z) => typeof z == "string" || typeof z == "number");
2520
+ m.length > 0 && (r.required = m);
2521
2521
  }
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" }];
2522
+ }, Wr = (e, o, t, n) => {
2523
+ const r = e._zod.def, s = 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 = [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;
2543
+ const s = o.seen.get(e);
2544
+ s.ref = r.innerType;
2545
2545
  let i;
2546
2546
  try {
2547
2547
  i = r.catchValue(void 0);
@@ -2550,45 +2550,45 @@ const Ir = (e, o = {}) => (t) => {
2550
2550
  }
2551
2551
  t.default = i;
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);
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
2555
  const i = o.seen.get(e);
2556
- i.ref = a;
2556
+ i.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);
@@ -2600,7 +2600,7 @@ const yo = (e, o) => {
2600
2600
  // enumerable: false,
2601
2601
  },
2602
2602
  flatten: {
2603
- value: (t) => Lo(e, t)
2603
+ value: (t) => Fo(e, t)
2604
2604
  // enumerable: false,
2605
2605
  },
2606
2606
  addIssue: {
@@ -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__ */ Go(R), gi = /* @__PURE__ */ Wo(R), _i = /* @__PURE__ */ qo(R), vi = /* @__PURE__ */ Ko(R), bi = /* @__PURE__ */ Xo(R), yi = /* @__PURE__ */ Yo(R), zi = /* @__PURE__ */ Ho(R), Z = /* @__PURE__ */ f("ZodType", (e, o) => (P.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(M(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) => v([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 = () => A(e), e.or = (t) => b([e, t]), e.and = (t) => Xi(e, t), e.transform = (t) => Ge(e, ea(t)), e.default = (t) => ia(e, t), e.prefault = (t) => sa(e, t), e.catch = (t) => ua(e, t), e.pipe = (t) => Ge(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,123 +2649,123 @@ 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), Z.init(e, o), e._zod.processJSONSchema = (n, r, s) => Er(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__ */ jn(wi, t)), e.url = (t) => e.check(/* @__PURE__ */ Jn(Si, t)), e.jwt = (t) => e.check(/* @__PURE__ */ rr(Li, t)), e.emoji = (t) => e.check(/* @__PURE__ */ Bn($i, t)), e.guid = (t) => e.check(/* @__PURE__ */ je(Me, t)), e.uuid = (t) => e.check(/* @__PURE__ */ Ln(re, t)), e.uuidv4 = (t) => e.check(/* @__PURE__ */ Un(re, t)), e.uuidv6 = (t) => e.check(/* @__PURE__ */ Fn(re, t)), e.uuidv7 = (t) => e.check(/* @__PURE__ */ Mn(re, t)), e.nanoid = (t) => e.check(/* @__PURE__ */ Vn(Pi, t)), e.guid = (t) => e.check(/* @__PURE__ */ je(Me, t)), e.cuid = (t) => e.check(/* @__PURE__ */ Gn(Zi, t)), e.cuid2 = (t) => e.check(/* @__PURE__ */ Wn(Ti, t)), e.ulid = (t) => e.check(/* @__PURE__ */ qn(Oi, t)), e.base64 = (t) => e.check(/* @__PURE__ */ or(Di, 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(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(ji, 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
- function c(e) {
2659
+ function a(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
+ Ft.init(e, o), N.init(e, o);
2666
+ }), Me = /* @__PURE__ */ f("ZodGUID", (e, o) => {
2667
+ Lt.init(e, o), N.init(e, o);
2668
+ }), re = /* @__PURE__ */ f("ZodUUID", (e, o) => {
2669
+ Ut.init(e, o), N.init(e, o);
2670
+ }), Si = /* @__PURE__ */ f("ZodURL", (e, o) => {
2671
+ Mt.init(e, o), N.init(e, o);
2672
+ }), $i = /* @__PURE__ */ f("ZodEmoji", (e, o) => {
2673
+ Jt.init(e, o), N.init(e, o);
2674
+ }), Pi = /* @__PURE__ */ f("ZodNanoID", (e, o) => {
2675
+ Bt.init(e, o), N.init(e, o);
2676
+ }), Zi = /* @__PURE__ */ f("ZodCUID", (e, o) => {
2677
+ Vt.init(e, o), N.init(e, o);
2678
+ }), Ti = /* @__PURE__ */ f("ZodCUID2", (e, o) => {
2679
+ Gt.init(e, o), N.init(e, o);
2680
+ }), Oi = /* @__PURE__ */ f("ZodULID", (e, o) => {
2681
+ Wt.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
+ }), Ei = /* @__PURE__ */ f("ZodIPv4", (e, o) => {
2687
+ en.init(e, o), N.init(e, o);
2688
+ }), Ci = /* @__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
+ }), Di = /* @__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
+ }), ji = /* @__PURE__ */ f("ZodE164", (e, o) => {
2699
+ cn.init(e, o), N.init(e, o);
2700
+ }), Li = /* @__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), Z.init(e, o), e._zod.processJSONSchema = (n, r, s) => Cr(e, n, r), e.gt = (n, r) => e.check(/* @__PURE__ */ Ue(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__ */ Le(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__ */ Ue(0, n)), e.nonnegative = (n) => e.check(/* @__PURE__ */ me(0, n)), e.negative = (n) => e.check(/* @__PURE__ */ Le(0, n)), e.nonpositive = (n) => e.check(/* @__PURE__ */ he(0, n)), e.multipleOf = (n, r) => e.check(/* @__PURE__ */ Fe(n, r)), e.step = (n, r) => e.check(/* @__PURE__ */ Fe(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 Ui = /* @__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(Ui, e);
2715
2715
  }
2716
- const Li = /* @__PURE__ */ d("ZodBoolean", (e, o) => {
2717
- dn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Ar(e, t, n);
2716
+ const Fi = /* @__PURE__ */ f("ZodBoolean", (e, o) => {
2717
+ dn.init(e, o), Z.init(e, o), e._zod.processJSONSchema = (t, n, r) => Ar(e, t, n);
2718
2718
  });
2719
- function f(e) {
2720
- return /* @__PURE__ */ pr(Li, e);
2719
+ function p(e) {
2720
+ return /* @__PURE__ */ pr(Fi, e);
2721
2721
  }
2722
- const Mi = /* @__PURE__ */ d("ZodNull", (e, o) => {
2723
- fn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => xr(e, t, n);
2722
+ const Mi = /* @__PURE__ */ f("ZodNull", (e, o) => {
2723
+ fn.init(e, o), Z.init(e, o), e._zod.processJSONSchema = (t, n, r) => xr(e, t, n);
2724
2724
  });
2725
2725
  function y(e) {
2726
2726
  return /* @__PURE__ */ dr(Mi, e);
2727
2727
  }
2728
- const Ji = /* @__PURE__ */ d("ZodUnknown", (e, o) => {
2729
- hn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Rr();
2728
+ const Ji = /* @__PURE__ */ f("ZodUnknown", (e, o) => {
2729
+ hn.init(e, o), Z.init(e, o), e._zod.processJSONSchema = (t, n, r) => Rr();
2730
2730
  });
2731
- function s() {
2731
+ function c() {
2732
2732
  return /* @__PURE__ */ fr(Ji);
2733
2733
  }
2734
- const Vi = /* @__PURE__ */ d("ZodNever", (e, o) => {
2735
- mn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => jr(e, t, n);
2734
+ const Bi = /* @__PURE__ */ f("ZodNever", (e, o) => {
2735
+ mn.init(e, o), Z.init(e, o), e._zod.processJSONSchema = (t, n, r) => Dr(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) => {
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;
2740
+ const Gi = /* @__PURE__ */ f("ZodArray", (e, o) => {
2741
+ gn.init(e, o), Z.init(e, o), e._zod.processJSONSchema = (t, n, r) => Fr(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) {
2744
- return /* @__PURE__ */ Zr(Wi, e, o);
2743
+ function A(e, o) {
2744
+ return /* @__PURE__ */ Pr(Gi, 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 Wi = /* @__PURE__ */ f("ZodObject", (e, o) => {
2747
+ vn.init(e, o), Z.init(e, o), e._zod.processJSONSchema = (t, n, r) => Mr(e, t, n, r), $(e, "shape", () => o.shape), e.keyof = () => v(Object.keys(e._zod.def.shape)), e.catchall = (t) => e.clone({ ...e._zod.def, catchall: t }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: c() }), e.loose = () => e.clone({ ...e._zod.def, catchall: c() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Vi() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (t) => Do(e, t), e.safeExtend = (t) => Ro(e, t), e.merge = (t) => jo(e, t), e.pick = (t) => Ao(e, t), e.omit = (t) => xo(e, t), e.partial = (...t) => Lo(wo, e, t[0]), e.required = (...t) => Uo(So, e, t[0]);
2748
2748
  });
2749
- function z(e, o) {
2749
+ function _(e, o) {
2750
2750
  const t = {
2751
2751
  type: "object",
2752
2752
  shape: e ?? {},
2753
2753
  ...k(o)
2754
2754
  };
2755
- return new Gi(t);
2755
+ return new Wi(t);
2756
2756
  }
2757
- const qi = /* @__PURE__ */ d("ZodUnion", (e, o) => {
2758
- bn.init(e, o), P.init(e, o), e._zod.processJSONSchema = (t, n, r) => Jr(e, t, n, r), e.options = o.options;
2757
+ const qi = /* @__PURE__ */ f("ZodUnion", (e, o) => {
2758
+ bn.init(e, o), Z.init(e, o), e._zod.processJSONSchema = (t, n, r) => Jr(e, t, n, r), e.options = o.options;
2759
2759
  });
2760
- function v(e, o) {
2760
+ function b(e, o) {
2761
2761
  return new qi({
2762
2762
  type: "union",
2763
2763
  options: e,
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), Z.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,23 +2774,23 @@ 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), Z.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
- function W(e, o, t) {
2784
- const n = o instanceof Z, r = n ? t : o, a = n ? o : null;
2783
+ function G(e, o, t) {
2784
+ const n = o instanceof P, 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) => {
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;
2792
+ const Hi = /* @__PURE__ */ f("ZodRecord", (e, o) => {
2793
+ kn.init(e, o), Z.init(e, o), e._zod.processJSONSchema = (t, n, r) => Gr(e, t, n, r), e.keyType = o.keyType, e.valueType = o.valueType;
2794
2794
  });
2795
2795
  function H(e, o, t) {
2796
2796
  return new Hi({
@@ -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), Z.init(e, o), e._zod.processJSONSchema = (n, r, s) => jr(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 = {};
2807
+ const s = {};
2808
2808
  for (const i of n)
2809
2809
  if (t.has(i))
2810
- a[i] = o.entries[i];
2810
+ s[i] = o.entries[i];
2811
2811
  else
2812
2812
  throw new Error(`Key ${i} 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 };
2820
+ const s = { ...o.entries };
2821
2821
  for (const i of n)
2822
2822
  if (t.has(i))
2823
- delete a[i];
2823
+ delete s[i];
2824
2824
  else
2825
2825
  throw new Error(`Key ${i} 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 v(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), Z.init(e, o), e._zod.processJSONSchema = (t, n, r) => Ur(e, t), e._zod.parse = (t, n) => {
2844
2844
  if (n.direction === "backward")
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));
2845
+ throw new We(e.constructor.name);
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;
2850
+ const i = s;
2851
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));
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,17 +2861,17 @@ function ea(e) {
2861
2861
  transform: e
2862
2862
  });
2863
2863
  }
2864
- const wo = /* @__PURE__ */ d("ZodOptional", (e, o) => {
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;
2864
+ const wo = /* @__PURE__ */ f("ZodOptional", (e, o) => {
2865
+ fo.init(e, o), Z.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) => {
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;
2873
+ const oa = /* @__PURE__ */ f("ZodExactOptional", (e, o) => {
2874
+ $n.init(e, o), Z.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) {
2877
2877
  return new oa({
@@ -2879,17 +2879,17 @@ function ta(e) {
2879
2879
  innerType: e
2880
2880
  });
2881
2881
  }
2882
- const na = /* @__PURE__ */ d("ZodNullable", (e, o) => {
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;
2882
+ const na = /* @__PURE__ */ f("ZodNullable", (e, o) => {
2883
+ Pn.init(e, o), Z.init(e, o), e._zod.processJSONSchema = (t, n, r) => Wr(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) => {
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;
2891
+ const ra = /* @__PURE__ */ f("ZodDefault", (e, o) => {
2892
+ Zn.init(e, o), Z.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) {
2895
2895
  return new ra({
@@ -2900,8 +2900,8 @@ function ia(e, o) {
2900
2900
  }
2901
2901
  });
2902
2902
  }
2903
- const aa = /* @__PURE__ */ d("ZodPrefault", (e, o) => {
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;
2903
+ const aa = /* @__PURE__ */ f("ZodPrefault", (e, o) => {
2904
+ Tn.init(e, o), Z.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) {
2907
2907
  return new aa({
@@ -2912,8 +2912,8 @@ function sa(e, o) {
2912
2912
  }
2913
2913
  });
2914
2914
  }
2915
- const So = /* @__PURE__ */ d("ZodNonOptional", (e, o) => {
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;
2915
+ const So = /* @__PURE__ */ f("ZodNonOptional", (e, o) => {
2916
+ On.init(e, o), Z.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) {
2919
2919
  return new So({
@@ -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), Z.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,10 +2932,10 @@ 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), Z.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
- function We(e, o) {
2938
+ function Ge(e, o) {
2939
2939
  return new pa({
2940
2940
  type: "pipe",
2941
2941
  in: e,
@@ -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
+ En.init(e, o), Z.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
+ Cn.init(e, o), Z.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,1025 +2961,1311 @@ 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), Z.init(e, o), e._zod.processJSONSchema = (t, n, r) => Lr(e, t);
2966
2966
  });
2967
2967
  function _a(e, o = {}) {
2968
- return /* @__PURE__ */ Pr(ga, e, o);
2968
+ return /* @__PURE__ */ Zr(ga, e, o);
2969
2969
  }
2970
2970
  function va(e) {
2971
2971
  return /* @__PURE__ */ Tr(e);
2972
2972
  }
2973
- const m = v([
2974
- c(),
2975
- g(),
2976
- f(),
2973
+ const g = b([
2974
+ a(),
2975
+ h(),
2976
+ p(),
2977
2977
  y(),
2978
- z({ path: c() })
2978
+ _({ path: a() })
2979
2979
  ]), ie = ma(
2980
- () => v([
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]) })
2980
+ () => b([
2981
+ _({ and: A(ie) }),
2982
+ _({ or: A(ie) }),
2983
+ _({ not: ie }),
2984
+ _({ path: a() }),
2985
+ _({ eq: G([g, g]) }),
2986
+ _({ neq: G([g, g]) }),
2987
+ _({ gt: G([g, g]) }),
2988
+ _({ gte: G([g, g]) }),
2989
+ _({ lt: G([g, g]) }),
2990
+ _({ lte: G([g, g]) })
2991
2991
  ])
2992
- ), ba = v([
2993
- f(),
2994
- z({ path: c() }),
2995
- z({ auth: b(["signedIn", "signedOut"]) }),
2992
+ ), ba = b([
2993
+ p(),
2994
+ _({ path: a() }),
2995
+ _({ auth: v(["signedIn", "signedOut"]) }),
2996
2996
  ie
2997
- ]), ya = z({
2998
- title: c(),
2999
- message: c(),
3000
- variant: b(["default", "danger"]).optional(),
3001
- confirmLabel: c().optional(),
3002
- cancelLabel: c().optional()
3003
- }), za = z({
3004
- name: c(),
3005
- params: H(c(), m).optional(),
2997
+ ]), ya = _({
2998
+ title: a(),
2999
+ message: a(),
3000
+ variant: v(["default", "danger"]).optional(),
3001
+ confirmLabel: a().optional(),
3002
+ cancelLabel: a().optional()
3003
+ }), za = _({
3004
+ name: a(),
3005
+ params: H(a(), 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: _({ set: H(a(), g) }).optional(),
3008
+ onError: _({ set: H(a(), g) }).optional()
3009
+ }), ka = _({
3010
+ name: a(),
3011
+ // Display name of the actor (workspace member, system, or API).
3012
+ avatarUrl: c().optional(),
3013
+ // Avatar image URL. Falls back to the name's initial when absent.
3014
+ avatarSize: v(["xs", "sm", "base", "lg", "xl"]).optional(),
3015
+ // Avatar size.
3016
+ className: a().optional()
3017
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3018
+ }), wa = _({
3019
+ value: c(),
3020
+ // Current address value.
3021
+ disabled: p().optional(),
3022
+ // Disables all fields.
3023
+ className: a().optional()
3024
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3025
+ }), Sa = _({
3026
+ values: A(a()),
3027
+ // String values to render as chips.
3028
+ className: a().optional()
3029
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3030
+ }), $a = _({
3031
+ items: A(c()),
3011
3032
  // Array of items to display in the dropdown
3012
- value: U(s()).optional(),
3033
+ value: A(c()).optional(),
3013
3034
  // The controlled input value
3014
- open: f().optional(),
3035
+ open: p().optional(),
3015
3036
  // Whether the popup is open (controlled)
3016
- children: v([c(), g(), f(), y(), m]).optional(),
3037
+ children: b([a(), h(), p(), y(), g]).optional(),
3017
3038
  // Autocomplete content (input group, popup content)
3018
- className: c().optional(),
3039
+ className: a().optional(),
3019
3040
  // Additional CSS classes
3020
- label: v([c(), g(), f(), y(), m]).optional(),
3041
+ label: b([a(), h(), p(), y(), g]).optional(),
3021
3042
  // Label content (enables Field wrapper)
3022
- required: f().optional(),
3043
+ required: p().optional(),
3023
3044
  // Whether the field is required
3024
- labelTooltip: v([c(), g(), f(), y(), m]).optional(),
3045
+ labelTooltip: b([a(), h(), p(), y(), g]).optional(),
3025
3046
  // Tooltip content to display next to the label
3026
- description: v([c(), g(), f(), y(), m]).optional(),
3047
+ description: b([a(), h(), p(), y(), g]).optional(),
3027
3048
  // Helper text displayed below the field
3028
- error: s().optional()
3049
+ error: c().optional()
3029
3050
  // 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(),
3051
+ }), Pa = _({
3052
+ initials: a().optional(),
3053
+ // Up to ~2 characters shown when there is no image.
3054
+ alt: a().optional(),
3055
+ // Accessible name / image alt text.
3056
+ size: v(["xs", "sm", "base", "lg", "xl"]).optional(),
3057
+ // Glyph scale.
3058
+ shape: v(["circle", "square"]).optional(),
3059
+ // Round (default) or rounded-square.
3060
+ className: a().optional()
3061
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3062
+ }), Za = _({
3063
+ avatars: A(c()),
3064
+ // Avatar nodes to stack (typically reki `Avatar` elements).
3065
+ className: a().optional()
3066
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3067
+ }), Ta = _({
3068
+ variant: v(["primary", "secondary", "error", "warning", "success", "destructive", "info", "beta", "outline", "red", "green", "neutral", "orange", "purple", "teal", "teal-subtle", "blue"]).optional(),
3032
3069
  // 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(),
3070
+ appearance: v(["filled", "dot"]).optional(),
3034
3071
  // 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
- className: c().optional(),
3072
+ className: a().optional(),
3036
3073
  // Additional CSS classes merged via `cn()`.
3037
- children: v([c(), g(), f(), y(), m]).optional()
3074
+ children: b([a(), h(), p(), y(), g]).optional()
3038
3075
  // Content rendered inside the badge.
3039
- }), Sa = z({
3040
- className: c().optional(),
3076
+ }), Oa = _({
3077
+ className: a().optional(),
3041
3078
  // Additional CSS classes merged via `cn()`.
3042
- id: c().optional(),
3043
- lang: c().optional(),
3044
- icon: v([c(), g(), f(), y(), m]).optional(),
3079
+ id: a().optional(),
3080
+ lang: a().optional(),
3081
+ icon: b([a(), h(), p(), y(), g]).optional(),
3045
3082
  // Icon element rendered before the banner content (e.g. from `@phosphor-icons/react`).
3046
- title: c().optional(),
3083
+ title: a().optional(),
3047
3084
  // Primary heading text for the banner. Use for i18n string injection.
3048
- description: v([c(), g(), f(), y(), m]).optional(),
3085
+ description: b([a(), h(), p(), y(), g]).optional(),
3049
3086
  // Secondary description text displayed below the title. Use for i18n string injection.
3050
- action: v([c(), g(), f(), y(), m]).optional(),
3087
+ action: b([a(), h(), p(), y(), g]).optional(),
3051
3088
  // 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
- text: c().optional(),
3053
- children: v([c(), g(), f(), y(), m]).optional(),
3054
- variant: b(["default", "alert", "error", "secondary"]).optional()
3089
+ text: a().optional(),
3090
+ children: b([a(), h(), p(), y(), g]).optional(),
3091
+ variant: v(["default", "alert", "error", "secondary"]).optional()
3055
3092
  // 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(),
3093
+ }), Na = _({
3094
+ size: v(["sm", "base"]).optional(),
3058
3095
  // Size of the breadcrumbs. - `"sm"` — Compact breadcrumbs for dense UIs - `"base"` — Default breadcrumbs size
3059
- children: v([c(), g(), f(), y(), m]).optional(),
3060
- className: c().optional()
3096
+ children: b([a(), h(), p(), y(), g]).optional(),
3097
+ className: a().optional()
3061
3098
  // 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: v([c(), g(), f(), y(), m]).optional(),
3067
- className: c().optional(),
3068
- icon: v([c(), g(), f(), y(), m]).optional(),
3099
+ }), Ia = _({
3100
+ shape: v(["base", "square", "circle"]).optional(),
3101
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3102
+ variant: v(["primary", "secondary", "ghost", "destructive", "secondary-destructive", "outline"]).optional(),
3103
+ children: b([a(), h(), p(), y(), g]).optional(),
3104
+ className: a().optional(),
3105
+ icon: b([a(), h(), p(), y(), g]).optional(),
3069
3106
  // Icon from `@phosphor-icons/react` or a React element. Rendered before children.
3070
- loading: f().optional(),
3107
+ loading: p().optional(),
3071
3108
  // Shows a loading spinner and disables interaction.
3072
- title: c().optional(),
3073
- id: c().optional(),
3074
- lang: c().optional(),
3075
- disabled: f().optional(),
3076
- name: c().optional(),
3077
- type: b(["submit", "reset", "button"]).optional(),
3078
- value: s().optional()
3079
- }), Pa = z({
3080
- variant: b(["default", "error"]).optional(),
3109
+ title: a().optional(),
3110
+ id: a().optional(),
3111
+ lang: a().optional(),
3112
+ disabled: p().optional(),
3113
+ name: a().optional(),
3114
+ type: v(["submit", "reset", "button"]).optional(),
3115
+ value: c().optional()
3116
+ }), Ea = _({
3117
+ variant: v(["default", "error"]).optional(),
3081
3118
  // Visual variant: "default" or "error" for validation failures (visual only, no error text)
3082
- label: v([c(), g(), f(), y(), m]).optional(),
3119
+ label: b([a(), h(), p(), y(), g]).optional(),
3083
3120
  // Label content for the checkbox (enables built-in Field wrapper) - can be a string or any React node
3084
- labelTooltip: v([c(), g(), f(), y(), m]).optional(),
3121
+ labelTooltip: b([a(), h(), p(), y(), g]).optional(),
3085
3122
  // Tooltip content to display next to the label via an info icon
3086
- controlFirst: f().optional(),
3123
+ controlFirst: p().optional(),
3087
3124
  // When true (default), checkbox appears before label. When false, label appears before checkbox.
3088
- checked: f().optional(),
3125
+ checked: p().optional(),
3089
3126
  // Whether the checkbox is checked (controlled)
3090
- indeterminate: f().optional(),
3127
+ indeterminate: p().optional(),
3091
3128
  // Whether the checkbox is in indeterminate state
3092
- disabled: f().optional(),
3129
+ disabled: p().optional(),
3093
3130
  // Whether the checkbox is disabled
3094
- name: c().optional(),
3131
+ name: a().optional(),
3095
3132
  // Name for form submission
3096
- required: f().optional(),
3133
+ required: p().optional(),
3097
3134
  // Whether the field is required
3098
- className: c().optional()
3135
+ className: a().optional()
3099
3136
  // Additional class name
3100
- }), Ta = z({
3101
- size: b(["sm", "base", "lg"]).optional(),
3137
+ }), Ca = _({
3138
+ label: a(),
3139
+ // Text label (truncated with a tooltip on overflow).
3140
+ tooltipLabel: a().optional(),
3141
+ // Tooltip content shown when the label overflows. Defaults to `label`.
3142
+ variant: v(["regular", "highlighted", "transparent", "static"]).optional(),
3143
+ // Visual variant.
3144
+ size: v(["small", "large"]).optional(),
3145
+ // Size of the chip.
3146
+ accent: v(["primary", "secondary"]).optional(),
3147
+ // Text emphasis. `"secondary"` renders muted, medium-weight text.
3148
+ isBold: p().optional(),
3149
+ // Renders the label in a medium font weight.
3150
+ leftComponent: b([a(), h(), p(), y(), g]).optional(),
3151
+ // Node rendered before the label (e.g. an avatar or icon).
3152
+ rightComponent: b([a(), h(), p(), y(), g]).optional(),
3153
+ // Node rendered after the label (e.g. a remove button or count).
3154
+ disabled: p().optional(),
3155
+ // Disables the chip and dims it.
3156
+ className: a().optional()
3157
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3158
+ }), Aa = _({
3159
+ value: h(),
3160
+ // Progress as a percentage (0–100).
3161
+ size: h().optional(),
3162
+ // Diameter in pixels.
3163
+ barWidth: h().optional(),
3164
+ // Stroke width in pixels.
3165
+ label: a().optional(),
3166
+ // Accessible label.
3167
+ className: a().optional()
3168
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3169
+ }), xa = _({
3170
+ size: v(["sm", "base", "lg"]).optional(),
3102
3171
  // 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
- text: c(),
3172
+ text: a(),
3104
3173
  // The text to display and copy to clipboard.
3105
- textToCopy: c().optional(),
3174
+ textToCopy: a().optional(),
3106
3175
  // If provided, this text will be copied to clipboard instead of the `text` prop.
3107
- className: c().optional(),
3176
+ className: a().optional(),
3108
3177
  // Additional CSS classes merged via `cn()`.
3109
- tooltip: s().optional(),
3178
+ tooltip: c().optional(),
3110
3179
  // Tooltip config. Shows tooltip on hover, anchored toast on click.
3111
- labels: s().optional()
3180
+ labels: c().optional()
3112
3181
  // Accessible labels for i18n.
3113
- }), Oa = z({
3114
- children: v([c(), g(), f(), y(), m]).optional(),
3115
- className: c().optional(),
3116
- height: s().optional(),
3117
- id: c().optional(),
3118
- lang: c().optional(),
3119
- media: c().optional(),
3120
- method: c().optional(),
3121
- name: c().optional(),
3122
- target: c().optional(),
3123
- 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(),
3134
- attributeName: c().optional(),
3135
- 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(),
3148
- 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(),
3160
- 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(),
3177
- fill: c().optional(),
3178
- fillOpacity: s().optional(),
3179
- fillRule: b(["nonzero", "evenodd", "inherit"]).optional(),
3180
- filter: c().optional(),
3181
- filterRes: s().optional(),
3182
- filterUnits: s().optional(),
3183
- floodColor: s().optional(),
3184
- floodOpacity: s().optional(),
3185
- focusable: s().optional(),
3186
- 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(),
3204
- gradientTransform: c().optional(),
3205
- gradientUnits: c().optional(),
3206
- hanging: s().optional(),
3207
- horizAdvX: s().optional(),
3208
- horizOriginX: s().optional(),
3209
- href: c().optional(),
3210
- ideographic: s().optional(),
3211
- imageRendering: s().optional(),
3212
- in2: s().optional(),
3213
- 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(),
3231
- markerEnd: c().optional(),
3232
- markerHeight: s().optional(),
3233
- markerMid: c().optional(),
3234
- markerStart: c().optional(),
3235
- markerUnits: s().optional(),
3236
- markerWidth: s().optional(),
3237
- 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(),
3255
- path: c().optional(),
3256
- pathLength: s().optional(),
3257
- patternContentUnits: c().optional(),
3258
- patternTransform: s().optional(),
3259
- patternUnits: c().optional(),
3260
- pointerEvents: s().optional(),
3261
- points: c().optional(),
3262
- pointsAtX: s().optional(),
3263
- pointsAtY: s().optional(),
3264
- pointsAtZ: s().optional(),
3265
- preserveAlpha: s().optional(),
3266
- 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(),
3278
- 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(),
3290
- spreadMethod: c().optional(),
3291
- startOffset: s().optional(),
3292
- stdDeviation: s().optional(),
3293
- stemh: s().optional(),
3294
- stemv: s().optional(),
3295
- stitchTiles: s().optional(),
3296
- stopColor: c().optional(),
3297
- stopOpacity: s().optional(),
3298
- strikethroughPosition: s().optional(),
3299
- strikethroughThickness: s().optional(),
3300
- string: s().optional(),
3301
- 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(),
3319
- 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(),
3329
- values: c().optional(),
3330
- vectorEffect: s().optional(),
3331
- version: c().optional(),
3332
- vertAdvY: s().optional(),
3333
- vertOriginX: s().optional(),
3334
- vertOriginY: s().optional(),
3335
- vHanging: s().optional(),
3336
- vIdeographic: s().optional(),
3337
- 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(),
3347
- xChannelSelector: c().optional(),
3348
- xHeight: s().optional(),
3349
- xlinkActuate: c().optional(),
3350
- xlinkArcrole: c().optional(),
3351
- xlinkHref: c().optional(),
3352
- xlinkRole: c().optional(),
3353
- xlinkShow: c().optional(),
3354
- xlinkTitle: c().optional(),
3355
- xlinkType: c().optional(),
3356
- xmlBase: c().optional(),
3357
- xmlLang: c().optional(),
3358
- xmlns: c().optional(),
3359
- xmlnsXlink: c().optional(),
3360
- xmlSpace: c().optional(),
3361
- y1: s().optional(),
3362
- y2: s().optional(),
3363
- y: s().optional(),
3364
- yChannelSelector: c().optional(),
3365
- z: s().optional(),
3366
- zoomAndPan: c().optional(),
3367
- variant: b(["glyph", "full"]).optional()
3182
+ }), Da = _({
3183
+ children: b([a(), h(), p(), y(), g]).optional(),
3184
+ className: a().optional(),
3185
+ height: c().optional(),
3186
+ id: a().optional(),
3187
+ lang: a().optional(),
3188
+ media: a().optional(),
3189
+ method: a().optional(),
3190
+ name: a().optional(),
3191
+ target: a().optional(),
3192
+ type: a().optional(),
3193
+ width: c().optional(),
3194
+ accentHeight: c().optional(),
3195
+ accumulate: v(["none", "sum"]).optional(),
3196
+ additive: v(["replace", "sum"]).optional(),
3197
+ alignmentBaseline: v(["auto", "baseline", "before-edge", "text-before-edge", "middle", "central", "after-edge", "text-after-edge", "ideographic", "alphabetic", "hanging", "mathematical", "inherit"]).optional(),
3198
+ allowReorder: v(["no", "yes"]).optional(),
3199
+ alphabetic: c().optional(),
3200
+ amplitude: c().optional(),
3201
+ arabicForm: v(["initial", "medial", "terminal", "isolated"]).optional(),
3202
+ ascent: c().optional(),
3203
+ attributeName: a().optional(),
3204
+ attributeType: a().optional(),
3205
+ autoReverse: c().optional(),
3206
+ azimuth: c().optional(),
3207
+ baseFrequency: c().optional(),
3208
+ baselineShift: c().optional(),
3209
+ baseProfile: c().optional(),
3210
+ bbox: c().optional(),
3211
+ begin: c().optional(),
3212
+ bias: c().optional(),
3213
+ by: c().optional(),
3214
+ calcMode: c().optional(),
3215
+ capHeight: c().optional(),
3216
+ clip: c().optional(),
3217
+ clipPath: a().optional(),
3218
+ clipPathUnits: c().optional(),
3219
+ clipRule: c().optional(),
3220
+ colorInterpolation: c().optional(),
3221
+ colorInterpolationFilters: v(["auto", "sRGB", "linearRGB", "inherit"]).optional(),
3222
+ colorProfile: c().optional(),
3223
+ colorRendering: c().optional(),
3224
+ contentScriptType: c().optional(),
3225
+ contentStyleType: c().optional(),
3226
+ cursor: c().optional(),
3227
+ cx: c().optional(),
3228
+ cy: c().optional(),
3229
+ d: a().optional(),
3230
+ decelerate: c().optional(),
3231
+ descent: c().optional(),
3232
+ diffuseConstant: c().optional(),
3233
+ direction: c().optional(),
3234
+ display: c().optional(),
3235
+ divisor: c().optional(),
3236
+ dominantBaseline: v(["auto", "use-script", "no-change", "reset-size", "ideographic", "alphabetic", "hanging", "mathematical", "central", "middle", "text-after-edge", "text-before-edge", "inherit"]).optional(),
3237
+ dur: c().optional(),
3238
+ dx: c().optional(),
3239
+ dy: c().optional(),
3240
+ edgeMode: c().optional(),
3241
+ elevation: c().optional(),
3242
+ enableBackground: c().optional(),
3243
+ end: c().optional(),
3244
+ exponent: c().optional(),
3245
+ externalResourcesRequired: c().optional(),
3246
+ fill: a().optional(),
3247
+ fillOpacity: c().optional(),
3248
+ fillRule: v(["nonzero", "evenodd", "inherit"]).optional(),
3249
+ filter: a().optional(),
3250
+ filterRes: c().optional(),
3251
+ filterUnits: c().optional(),
3252
+ floodColor: c().optional(),
3253
+ floodOpacity: c().optional(),
3254
+ focusable: c().optional(),
3255
+ fontFamily: a().optional(),
3256
+ fontSize: c().optional(),
3257
+ fontSizeAdjust: c().optional(),
3258
+ fontStretch: c().optional(),
3259
+ fontStyle: c().optional(),
3260
+ fontVariant: c().optional(),
3261
+ fontWeight: c().optional(),
3262
+ format: c().optional(),
3263
+ fr: c().optional(),
3264
+ from: c().optional(),
3265
+ fx: c().optional(),
3266
+ fy: c().optional(),
3267
+ g1: c().optional(),
3268
+ g2: c().optional(),
3269
+ glyphName: c().optional(),
3270
+ glyphOrientationHorizontal: c().optional(),
3271
+ glyphOrientationVertical: c().optional(),
3272
+ glyphRef: c().optional(),
3273
+ gradientTransform: a().optional(),
3274
+ gradientUnits: a().optional(),
3275
+ hanging: c().optional(),
3276
+ horizAdvX: c().optional(),
3277
+ horizOriginX: c().optional(),
3278
+ href: a().optional(),
3279
+ ideographic: c().optional(),
3280
+ imageRendering: c().optional(),
3281
+ in2: c().optional(),
3282
+ in: a().optional(),
3283
+ intercept: c().optional(),
3284
+ k1: c().optional(),
3285
+ k2: c().optional(),
3286
+ k3: c().optional(),
3287
+ k4: c().optional(),
3288
+ k: c().optional(),
3289
+ kernelMatrix: c().optional(),
3290
+ kernelUnitLength: c().optional(),
3291
+ kerning: c().optional(),
3292
+ keyPoints: c().optional(),
3293
+ keySplines: c().optional(),
3294
+ keyTimes: c().optional(),
3295
+ lengthAdjust: c().optional(),
3296
+ letterSpacing: c().optional(),
3297
+ lightingColor: c().optional(),
3298
+ limitingConeAngle: c().optional(),
3299
+ local: c().optional(),
3300
+ markerEnd: a().optional(),
3301
+ markerHeight: c().optional(),
3302
+ markerMid: a().optional(),
3303
+ markerStart: a().optional(),
3304
+ markerUnits: c().optional(),
3305
+ markerWidth: c().optional(),
3306
+ mask: a().optional(),
3307
+ maskContentUnits: c().optional(),
3308
+ maskUnits: c().optional(),
3309
+ mathematical: c().optional(),
3310
+ mode: c().optional(),
3311
+ numOctaves: c().optional(),
3312
+ offset: c().optional(),
3313
+ opacity: c().optional(),
3314
+ operator: c().optional(),
3315
+ order: c().optional(),
3316
+ orient: c().optional(),
3317
+ orientation: c().optional(),
3318
+ origin: c().optional(),
3319
+ overflow: c().optional(),
3320
+ overlinePosition: c().optional(),
3321
+ overlineThickness: c().optional(),
3322
+ paintOrder: c().optional(),
3323
+ panose1: c().optional(),
3324
+ path: a().optional(),
3325
+ pathLength: c().optional(),
3326
+ patternContentUnits: a().optional(),
3327
+ patternTransform: c().optional(),
3328
+ patternUnits: a().optional(),
3329
+ pointerEvents: c().optional(),
3330
+ points: a().optional(),
3331
+ pointsAtX: c().optional(),
3332
+ pointsAtY: c().optional(),
3333
+ pointsAtZ: c().optional(),
3334
+ preserveAlpha: c().optional(),
3335
+ preserveAspectRatio: a().optional(),
3336
+ primitiveUnits: c().optional(),
3337
+ r: c().optional(),
3338
+ radius: c().optional(),
3339
+ refX: c().optional(),
3340
+ refY: c().optional(),
3341
+ renderingIntent: c().optional(),
3342
+ repeatCount: c().optional(),
3343
+ repeatDur: c().optional(),
3344
+ requiredExtensions: c().optional(),
3345
+ requiredFeatures: c().optional(),
3346
+ restart: c().optional(),
3347
+ result: a().optional(),
3348
+ rotate: c().optional(),
3349
+ rx: c().optional(),
3350
+ ry: c().optional(),
3351
+ scale: c().optional(),
3352
+ seed: c().optional(),
3353
+ shapeRendering: c().optional(),
3354
+ slope: c().optional(),
3355
+ spacing: c().optional(),
3356
+ specularConstant: c().optional(),
3357
+ specularExponent: c().optional(),
3358
+ speed: c().optional(),
3359
+ spreadMethod: a().optional(),
3360
+ startOffset: c().optional(),
3361
+ stdDeviation: c().optional(),
3362
+ stemh: c().optional(),
3363
+ stemv: c().optional(),
3364
+ stitchTiles: c().optional(),
3365
+ stopColor: a().optional(),
3366
+ stopOpacity: c().optional(),
3367
+ strikethroughPosition: c().optional(),
3368
+ strikethroughThickness: c().optional(),
3369
+ string: c().optional(),
3370
+ stroke: a().optional(),
3371
+ strokeDasharray: c().optional(),
3372
+ strokeDashoffset: c().optional(),
3373
+ strokeLinecap: v(["butt", "round", "square", "inherit"]).optional(),
3374
+ strokeLinejoin: v(["miter", "round", "bevel", "inherit"]).optional(),
3375
+ strokeMiterlimit: c().optional(),
3376
+ strokeOpacity: c().optional(),
3377
+ strokeWidth: c().optional(),
3378
+ surfaceScale: c().optional(),
3379
+ systemLanguage: c().optional(),
3380
+ tableValues: c().optional(),
3381
+ targetX: c().optional(),
3382
+ targetY: c().optional(),
3383
+ textAnchor: v(["start", "middle", "end", "inherit"]).optional(),
3384
+ textDecoration: c().optional(),
3385
+ textLength: c().optional(),
3386
+ textRendering: c().optional(),
3387
+ to: c().optional(),
3388
+ transform: a().optional(),
3389
+ u1: c().optional(),
3390
+ u2: c().optional(),
3391
+ underlinePosition: c().optional(),
3392
+ underlineThickness: c().optional(),
3393
+ unicode: c().optional(),
3394
+ unicodeBidi: c().optional(),
3395
+ unicodeRange: c().optional(),
3396
+ unitsPerEm: c().optional(),
3397
+ vAlphabetic: c().optional(),
3398
+ values: a().optional(),
3399
+ vectorEffect: c().optional(),
3400
+ version: a().optional(),
3401
+ vertAdvY: c().optional(),
3402
+ vertOriginX: c().optional(),
3403
+ vertOriginY: c().optional(),
3404
+ vHanging: c().optional(),
3405
+ vIdeographic: c().optional(),
3406
+ viewBox: a().optional(),
3407
+ viewTarget: c().optional(),
3408
+ visibility: c().optional(),
3409
+ vMathematical: c().optional(),
3410
+ widths: c().optional(),
3411
+ wordSpacing: c().optional(),
3412
+ writingMode: c().optional(),
3413
+ x1: c().optional(),
3414
+ x2: c().optional(),
3415
+ x: c().optional(),
3416
+ xChannelSelector: a().optional(),
3417
+ xHeight: c().optional(),
3418
+ xlinkActuate: a().optional(),
3419
+ xlinkArcrole: a().optional(),
3420
+ xlinkHref: a().optional(),
3421
+ xlinkRole: a().optional(),
3422
+ xlinkShow: a().optional(),
3423
+ xlinkTitle: a().optional(),
3424
+ xlinkType: a().optional(),
3425
+ xmlBase: a().optional(),
3426
+ xmlLang: a().optional(),
3427
+ xmlns: a().optional(),
3428
+ xmlnsXlink: a().optional(),
3429
+ xmlSpace: a().optional(),
3430
+ y1: c().optional(),
3431
+ y2: c().optional(),
3432
+ y: c().optional(),
3433
+ yChannelSelector: a().optional(),
3434
+ z: c().optional(),
3435
+ zoomAndPan: a().optional(),
3436
+ variant: v(["glyph", "full"]).optional()
3368
3437
  // 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(),
3438
+ }), Ra = _({
3439
+ lang: v(["ts", "tsx", "jsonc", "bash", "css"]).optional(),
3371
3440
  // 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
- code: c(),
3441
+ code: a(),
3373
3442
  // The code string to display.
3374
- values: s().optional(),
3443
+ values: c().optional(),
3375
3444
  // Template values for `{{key}}` interpolation. Values with `highlight: true` are visually emphasized.
3376
- className: c().optional()
3445
+ className: a().optional()
3377
3446
  // Additional CSS classes merged via `cn()`.
3378
- }), Na = z({
3379
- className: c().optional(),
3447
+ }), ja = _({
3448
+ className: a().optional(),
3380
3449
  // Additional CSS classes
3381
- onOpenChange: s().optional()
3450
+ onOpenChange: c().optional()
3382
3451
  // Callback when collapsed state changes
3383
- }), Ea = z({
3384
- size: b(["xs", "sm", "base", "lg"]).optional(),
3452
+ }), La = _({
3453
+ colorName: v(["gray", "red", "orange", "yellow", "green", "turquoise", "sky", "blue", "purple", "pink", "transparent"]),
3454
+ // Named CRM tag color to display.
3455
+ variant: v(["default", "circle", "pipeline"]).optional(),
3456
+ // Swatch shape. - `"default"` — small rounded square (default) - `"circle"` — full circle - `"pipeline"` — wider rounded bar (for pipeline/stage pickers)
3457
+ className: a().optional()
3458
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3459
+ }), Ua = _({
3460
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3385
3461
  // 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(),
3462
+ inputSide: v(["right", "top"]).optional(),
3387
3463
  // 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()),
3464
+ items: A(c()),
3389
3465
  // Array of items to display in the dropdown
3390
- value: U(s()).optional(),
3466
+ value: A(c()).optional(),
3391
3467
  // Currently selected value(s)
3392
- children: v([c(), g(), f(), y(), m]).optional(),
3468
+ children: b([a(), h(), p(), y(), g]).optional(),
3393
3469
  // Combobox content (trigger, content, items)
3394
- className: c().optional(),
3470
+ className: a().optional(),
3395
3471
  // Additional CSS classes
3396
- label: v([c(), g(), f(), y(), m]).optional(),
3472
+ label: b([a(), h(), p(), y(), g]).optional(),
3397
3473
  // Label content for the combobox (enables Field wrapper) - can be a string or any React node
3398
- required: f().optional(),
3474
+ required: p().optional(),
3399
3475
  // Whether the combobox is required
3400
- labelTooltip: v([c(), g(), f(), y(), m]).optional(),
3476
+ labelTooltip: b([a(), h(), p(), y(), g]).optional(),
3401
3477
  // Tooltip content to display next to the label via an info icon
3402
- description: v([c(), g(), f(), y(), m]).optional(),
3478
+ description: b([a(), h(), p(), y(), g]).optional(),
3403
3479
  // Helper text displayed below the combobox
3404
- error: s().optional(),
3480
+ error: c().optional(),
3405
3481
  // Error message or validation error object
3406
- onValueChange: s().optional(),
3482
+ onValueChange: c().optional(),
3407
3483
  // Callback when selection changes
3408
- multiple: f().optional(),
3484
+ multiple: p().optional(),
3409
3485
  // Allow multiple selections
3410
- isItemEqualToValue: s().optional()
3486
+ isItemEqualToValue: c().optional()
3411
3487
  // Custom equality function for comparing items
3412
- }), Ca = z({
3413
- open: f(),
3488
+ }), Fa = _({
3489
+ open: p(),
3414
3490
  // Whether the dialog is open
3415
- children: v([c(), g(), f(), y(), m]).optional(),
3491
+ children: b([a(), h(), p(), y(), g]).optional(),
3416
3492
  // Child content - typically one or more Panel components
3417
- container: s().optional()
3493
+ container: c().optional()
3418
3494
  // Container element for the portal. Use this to render the command palette inside a Shadow DOM or custom container. Overrides `RekiPortalProvider` context.
3419
- }), Aa = z({
3420
- className: c().optional(),
3495
+ }), Ma = _({
3496
+ kind: v(["text", "number"]),
3497
+ initialValue: c(),
3498
+ initialKey: a().optional(),
3499
+ align: v(["left", "right", "center"])
3500
+ }), Ja = _({
3501
+ className: a().optional(),
3421
3502
  // Additional CSS classes
3422
- children: v([c(), g(), f(), y(), m]).optional()
3503
+ children: b([a(), h(), p(), y(), g]).optional()
3423
3504
  // Child elements
3424
- }), xa = z({
3425
- size: b(["sm", "base", "lg"]).optional(),
3505
+ }), Ba = _({
3506
+ size: v(["sm", "base", "lg"]).optional(),
3426
3507
  // 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(),
3508
+ variant: v(["default", "subtle"]).optional(),
3428
3509
  // Visual variant. - `"default"` — Standard appearance with overlay background - `"subtle"` — Minimal background
3429
- timezone: c().optional(),
3510
+ timezone: a().optional(),
3430
3511
  // Display timezone string shown in the footer.
3431
- className: c().optional(),
3512
+ className: a().optional(),
3432
3513
  // Additional CSS classes merged via `cn()`.
3433
- onStartDateChange: s().optional(),
3514
+ onStartDateChange: c().optional(),
3434
3515
  // Callback when start date changes
3435
- onEndDateChange: s().optional()
3516
+ onEndDateChange: c().optional()
3436
3517
  // Callback when end date changes
3437
- }), ja = z({
3438
- className: c().optional(),
3518
+ }), Va = _({
3519
+ className: a().optional(),
3439
3520
  // Additional CSS classes merged via `cn()`.
3440
- children: v([c(), g(), f(), y(), m]).optional(),
3521
+ children: b([a(), h(), p(), y(), g]).optional(),
3441
3522
  // Dialog content (typically Title, Description, Close, and action buttons).
3442
- container: s().optional(),
3523
+ container: c().optional(),
3443
3524
  // Container element for the portal. Use this to render the dialog inside a Shadow DOM or custom container. Overrides `RekiPortalProvider` context.
3444
- size: b(["base", "sm", "lg", "xl"]).optional()
3525
+ size: v(["base", "sm", "lg", "xl"]).optional()
3445
3526
  // 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()
3527
+ }), Ga = _({
3528
+ value: c(),
3529
+ // Current paired value.
3530
+ firstPlaceholder: a().optional(),
3531
+ // Placeholder for the first input.
3532
+ secondPlaceholder: a().optional(),
3533
+ // Placeholder for the second input.
3534
+ disabled: p().optional(),
3535
+ // Disables both inputs.
3536
+ className: a().optional()
3537
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3538
+ }), Wa = _({
3539
+ variant: v(["default", "danger"]).optional()
3448
3540
  // 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(),
3541
+ }), qa = _({
3542
+ emails: A(a()),
3543
+ // Email addresses, primary first.
3544
+ className: a().optional()
3545
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3546
+ }), Ka = _({
3547
+ size: v(["sm", "base", "lg"]).optional(),
3451
3548
  // 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: v([c(), g(), f(), y(), m]).optional(),
3549
+ icon: b([a(), h(), p(), y(), g]).optional(),
3453
3550
  // Decorative icon displayed above the title (e.g. from `@phosphor-icons/react`).
3454
- title: c(),
3551
+ title: a(),
3455
3552
  // Primary heading text for the empty state.
3456
- description: c().optional(),
3553
+ description: a().optional(),
3457
3554
  // Secondary description text displayed below the title.
3458
- commandLine: c().optional(),
3555
+ commandLine: a().optional(),
3459
3556
  // Shell command displayed in a copyable code block.
3460
- contents: v([c(), g(), f(), y(), m]).optional(),
3557
+ contents: b([a(), h(), p(), y(), g]).optional(),
3461
3558
  // Additional content (buttons, links) rendered below the description.
3462
- className: c().optional()
3559
+ className: a().optional()
3463
3560
  // Additional CSS classes merged via `cn()`.
3464
- }), Ua = z({
3465
- controlFirst: f().optional(),
3561
+ }), Xa = _({
3562
+ children: b([a(), h(), p(), y(), g]).optional(),
3563
+ // Items to render. The first `max` are shown inline; the rest collapse into a `+N` chip.
3564
+ className: a().optional()
3565
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3566
+ }), Ya = _({
3567
+ controlFirst: p().optional(),
3466
3568
  // When `true`, places the control before the label (for checkbox/switch layouts).
3467
- children: v([c(), g(), f(), y(), m]).optional(),
3569
+ children: b([a(), h(), p(), y(), g]).optional(),
3468
3570
  // The form control element(s) to wrap (Input, Select, Checkbox, etc.).
3469
- label: v([c(), g(), f(), y(), m]).optional(),
3571
+ label: b([a(), h(), p(), y(), g]).optional(),
3470
3572
  // The label content — can be a string or any React node.
3471
- required: f().optional(),
3573
+ required: p().optional(),
3472
3574
  // When explicitly `false`, shows gray "(optional)" text after the label. When `true` or `undefined`, no indicator is shown.
3473
- labelTooltip: v([c(), g(), f(), y(), m]).optional(),
3575
+ labelTooltip: b([a(), h(), p(), y(), g]).optional(),
3474
3576
  // Tooltip content displayed next to the label via an info icon.
3475
- error: s().optional(),
3577
+ error: c().optional(),
3476
3578
  // Validation error with a message and a browser `ValidityState` match key.
3477
- description: v([c(), g(), f(), y(), m]).optional(),
3579
+ description: b([a(), h(), p(), y(), g]).optional(),
3478
3580
  // Helper text displayed below the control (hidden when `error` is present).
3479
- hideLabel: f().optional()
3581
+ hideLabel: p().optional()
3480
3582
  // 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: v([c(), g(), f(), y(), m]).optional(),
3583
+ }), Ha = _({
3584
+ children: b([a(), h(), p(), y(), g]).optional(),
3483
3585
  // Grid items to render.
3484
- className: c().optional(),
3586
+ className: a().optional(),
3485
3587
  // Additional CSS classes merged via `cn()`.
3486
- id: c().optional(),
3487
- lang: c().optional(),
3488
- title: c().optional(),
3489
- mobileDivider: f().optional(),
3588
+ id: a().optional(),
3589
+ lang: a().optional(),
3590
+ title: a().optional(),
3591
+ mobileDivider: p().optional(),
3490
3592
  // Show dividers between grid items on mobile (only works with `"4up"` variant).
3491
- gap: b(["none", "sm", "base", "lg"]).optional(),
3593
+ gap: v(["none", "sm", "base", "lg"]).optional(),
3492
3594
  // 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()
3595
+ variant: v(["2up", "side-by-side", "2-1", "1-2", "1-3up", "3up", "4up", "6up", "1-2-4up"]).optional()
3494
3596
  // 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: v([c(), g(), f(), y(), m]).optional(),
3597
+ }), Qa = _({
3598
+ label: b([a(), h(), p(), y(), g]).optional(),
3497
3599
  // Label content for the input (enables Field wrapper) - can be a string or any React node
3498
- labelTooltip: v([c(), g(), f(), y(), m]).optional(),
3600
+ labelTooltip: b([a(), h(), p(), y(), g]).optional(),
3499
3601
  // Tooltip content to display next to the label via an info icon
3500
- description: v([c(), g(), f(), y(), m]).optional(),
3602
+ description: b([a(), h(), p(), y(), g]).optional(),
3501
3603
  // Helper text displayed below the input
3502
- error: s().optional(),
3604
+ error: c().optional(),
3503
3605
  // Error message or validation error object
3504
- passwordManagerIgnore: f().optional(),
3606
+ passwordManagerIgnore: p().optional(),
3505
3607
  // Suppress browser extension password manager overlays on non-credential inputs.
3506
- size: b(["xs", "sm", "base", "lg"]).optional(),
3608
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3507
3609
  // 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()
3610
+ variant: v(["default", "error"]).optional()
3509
3611
  // Visual variant. - `"default"` — Standard input - `"error"` — Error state for validation failures
3510
- }), Ma = z({}), Ja = z({
3511
- label: v([c(), g(), f(), y(), m]).optional(),
3612
+ }), es = _({}), os = _({
3613
+ label: b([a(), h(), p(), y(), g]).optional(),
3512
3614
  // The label content — can be a string or any React node.
3513
- description: v([c(), g(), f(), y(), m]).optional(),
3615
+ description: b([a(), h(), p(), y(), g]).optional(),
3514
3616
  // Helper text displayed below the control (hidden when `error` is present).
3515
- error: s().optional(),
3617
+ error: c().optional(),
3516
3618
  // Validation error with a message and a browser `ValidityState` match key.
3517
- required: f().optional(),
3619
+ required: p().optional(),
3518
3620
  // When explicitly `false`, shows gray "(optional)" text after the label. When `true` or `undefined`, no indicator is shown.
3519
- labelTooltip: v([c(), g(), f(), y(), m]).optional(),
3621
+ labelTooltip: b([a(), h(), p(), y(), g]).optional(),
3520
3622
  // Tooltip content displayed next to the label via an info icon.
3521
- children: v([c(), g(), f(), y(), m]).optional(),
3522
- className: c().optional(),
3523
- id: c().optional(),
3524
- lang: c().optional(),
3525
- title: c().optional(),
3526
- size: b(["xs", "sm", "base", "lg"]).optional(),
3527
- disabled: f().optional()
3528
- }), Va = z({
3529
- children: v([c(), g(), f(), y(), m]).optional(),
3623
+ children: b([a(), h(), p(), y(), g]).optional(),
3624
+ className: a().optional(),
3625
+ id: a().optional(),
3626
+ lang: a().optional(),
3627
+ title: a().optional(),
3628
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3629
+ disabled: p().optional()
3630
+ }), ts = _({
3631
+ value: c(),
3632
+ // Value to render. Objects/arrays are stringified; strings are shown as-is.
3633
+ className: a().optional()
3634
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3635
+ }), ns = _({
3636
+ children: b([a(), h(), p(), y(), g]).optional(),
3530
3637
  // The label content — can be a string or any React node.
3531
- showOptional: f().optional(),
3638
+ showOptional: p().optional(),
3532
3639
  // When `true`, shows gray "(optional)" text after the label.
3533
- tooltip: v([c(), g(), f(), y(), m]).optional(),
3640
+ tooltip: b([a(), h(), p(), y(), g]).optional(),
3534
3641
  // Tooltip content displayed next to the label via an info icon.
3535
- className: c().optional(),
3642
+ className: a().optional(),
3536
3643
  // Additional CSS classes merged via `cn()`.
3537
- htmlFor: c().optional(),
3644
+ htmlFor: a().optional(),
3538
3645
  // The id of the form element this label is associated with
3539
- asContent: f().optional()
3646
+ asContent: p().optional()
3540
3647
  // 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: v([c(), g(), f(), y(), m]).optional(),
3648
+ }), rs = _({
3649
+ render: b([a(), h(), p(), y(), g]).optional(),
3543
3650
  // 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: v([c(), g(), f(), y(), m]).optional(),
3545
- className: c().optional(),
3546
- id: c().optional(),
3547
- lang: c().optional(),
3548
- title: c().optional()
3549
- }), Wa = z({
3550
- variant: b(["inline", "current", "plain"]).optional(),
3651
+ children: b([a(), h(), p(), y(), g]).optional(),
3652
+ className: a().optional(),
3653
+ id: a().optional(),
3654
+ lang: a().optional(),
3655
+ title: a().optional()
3656
+ }), is = _({
3657
+ variant: v(["inline", "current", "plain"]).optional(),
3551
3658
  // 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
- to: c().optional(),
3553
- children: v([c(), g(), f(), y(), m]).optional(),
3554
- className: c().optional(),
3555
- id: c().optional(),
3556
- lang: c().optional(),
3557
- title: c().optional(),
3558
- download: s().optional(),
3559
- href: c().optional(),
3560
- hrefLang: c().optional(),
3561
- media: c().optional(),
3562
- ping: c().optional(),
3563
- target: s().optional(),
3564
- 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: v([c(), g(), f(), y(), m]).optional()
3659
+ to: a().optional(),
3660
+ children: b([a(), h(), p(), y(), g]).optional(),
3661
+ className: a().optional(),
3662
+ id: a().optional(),
3663
+ lang: a().optional(),
3664
+ title: a().optional(),
3665
+ download: c().optional(),
3666
+ href: a().optional(),
3667
+ hrefLang: a().optional(),
3668
+ media: a().optional(),
3669
+ ping: a().optional(),
3670
+ target: c().optional(),
3671
+ type: a().optional(),
3672
+ referrerPolicy: v(["", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"]).optional(),
3673
+ render: b([a(), h(), p(), y(), g]).optional()
3567
3674
  // 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({
3569
- className: c().optional(),
3675
+ }), as = _({
3676
+ label: a(),
3677
+ // Text label (truncated with a tooltip on overflow).
3678
+ href: a(),
3679
+ // Destination href. Resolved through the configured `LinkProvider`.
3680
+ tooltipLabel: a().optional(),
3681
+ // Tooltip content shown when the label overflows. Defaults to `label`.
3682
+ size: v(["small", "large"]).optional(),
3683
+ // Size of the chip.
3684
+ accent: v(["primary", "secondary"]).optional(),
3685
+ // Text emphasis.
3686
+ isBold: p().optional(),
3687
+ // Renders the label in a medium font weight.
3688
+ leftComponent: b([a(), h(), p(), y(), g]).optional(),
3689
+ // Node rendered before the label (e.g. an avatar or icon).
3690
+ rightComponent: b([a(), h(), p(), y(), g]).optional(),
3691
+ // Node rendered after the label.
3692
+ target: a().optional(),
3693
+ // Opens the link in a new tab.
3694
+ className: a().optional()
3695
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3696
+ }), ss = _({
3697
+ links: A(c()),
3698
+ // Links to render, primary first.
3699
+ className: a().optional()
3700
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3701
+ }), cs = _({
3702
+ className: a().optional(),
3570
3703
  // Additional CSS classes merged via `cn()`.
3571
- size: b(["sm", "base", "lg"]).optional()
3704
+ size: v(["sm", "base", "lg"]).optional()
3572
3705
  // 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({
3574
- className: c().optional(),
3706
+ }), ls = _({
3707
+ className: a().optional(),
3575
3708
  // Additional CSS classes merged via `cn()`.
3576
- isActive: s().optional(),
3709
+ isActive: c().optional(),
3577
3710
  // The currently active option value — matched against option index or `id`.
3578
- options: U(s()),
3711
+ options: A(c()),
3579
3712
  // Array of menu option configurations.
3580
- optionIds: f().optional()
3713
+ optionIds: p().optional()
3581
3714
  // When true, each option's `id` field is used for matching instead of its array index.
3582
- }), Ka = z({
3583
- customValue: c().optional(),
3715
+ }), us = _({
3716
+ text: a(),
3717
+ // Row label.
3718
+ LeftIcon: c().optional(),
3719
+ // Optional leading icon.
3720
+ leftComponent: b([a(), h(), p(), y(), g]).optional(),
3721
+ // Optional leading element (avatar, color sample, …) shown before the text.
3722
+ rightComponent: b([a(), h(), p(), y(), g]).optional(),
3723
+ // Optional trailing element shown after the text.
3724
+ selected: p().optional(),
3725
+ // Shows a trailing check mark when true.
3726
+ focused: p().optional(),
3727
+ // Keyboard-focused / active styling.
3728
+ disabled: p().optional(),
3729
+ // Disables the row.
3730
+ className: a().optional()
3731
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3732
+ }), ps = _({
3733
+ customValue: a().optional(),
3584
3734
  // Custom formatted value text (e.g. "750 / 1,000") displayed instead of percentage.
3585
- label: c(),
3735
+ label: a(),
3586
3736
  // Label text displayed above the meter track.
3587
- showValue: f().optional(),
3737
+ showValue: p().optional(),
3588
3738
  // Whether to display the percentage value next to the label.
3589
- trackClassName: c().optional(),
3739
+ trackClassName: a().optional(),
3590
3740
  // Additional CSS classes for the track (background bar).
3591
- indicatorClassName: c().optional(),
3741
+ indicatorClassName: a().optional(),
3592
3742
  // Additional CSS classes for the indicator (filled bar).
3593
- value: g().optional(),
3743
+ value: h().optional(),
3594
3744
  // Current value of the meter
3595
- max: g().optional(),
3745
+ max: h().optional(),
3596
3746
  // Maximum value of the meter (default: 100)
3597
- min: g().optional()
3747
+ min: h().optional()
3598
3748
  // Minimum value of the meter (default: 0)
3599
- }), Xa = z({
3600
- setPage: s(),
3749
+ }), ds = _({
3750
+ count: h(),
3751
+ // Number to display. Values above `max` render as `{max}+`.
3752
+ variant: v(["primary", "secondary"]).optional(),
3753
+ // Visual variant. - `"primary"` — brand background (default) - `"secondary"` — neutral fill
3754
+ className: a().optional()
3755
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3756
+ }), fs = _({
3757
+ text: a(),
3758
+ // Text to render, truncated when it overflows its container.
3759
+ tooltipContent: b([a(), h(), p(), y(), g]).optional(),
3760
+ // Tooltip content shown when the text overflows. Defaults to `text`. Provide a custom node to show richer content than the raw string.
3761
+ lines: h().optional(),
3762
+ // Maximum number of lines before clamping. `1` (default) truncates to a single line with an ellipsis; higher values clamp to that many lines.
3763
+ alwaysShowTooltip: p().optional(),
3764
+ // Always show the tooltip on hover, even when the text is not overflowing.
3765
+ className: a().optional()
3766
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3767
+ }), hs = _({
3768
+ setPage: c(),
3601
3769
  // Callback when page changes
3602
- page: g().optional(),
3770
+ page: h().optional(),
3603
3771
  // Current page number (1-indexed).
3604
- perPage: g().optional(),
3772
+ perPage: h().optional(),
3605
3773
  // Number of items displayed per page.
3606
- totalCount: g().optional(),
3774
+ totalCount: h().optional(),
3607
3775
  // Total number of items across all pages.
3608
- className: c().optional(),
3776
+ className: a().optional(),
3609
3777
  // Additional CSS classes for the container
3610
- labels: s().optional(),
3778
+ labels: c().optional(),
3611
3779
  // 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: v([c(), g(), f(), y(), m]).optional(),
3780
+ children: b([a(), h(), p(), y(), g]).optional(),
3613
3781
  // 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()
3782
+ controls: v(["full", "simple"]).optional(),
3783
+ text: c().optional()
3784
+ }), ms = _({
3785
+ phones: A(a()),
3786
+ // Pre-formatted phone numbers, primary first.
3787
+ className: a().optional()
3788
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3789
+ }), gs = _({
3790
+ label: a(),
3791
+ // Text label.
3792
+ icon: c().optional(),
3793
+ // Optional leading icon (phosphor or any SVG component).
3794
+ className: a().optional()
3795
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3796
+ }), _s = _({
3797
+ side: v(["top", "bottom", "left", "right"]).optional()
3618
3798
  // 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(),
3622
- className: c().optional(),
3799
+ }), vs = _({
3800
+ variant: v(["default", "error"]).optional(),
3801
+ appearance: v(["default", "card"]).optional(),
3802
+ className: a().optional(),
3623
3803
  // Additional CSS classes
3624
- children: v([c(), g(), f(), y(), m]).optional(),
3804
+ children: b([a(), h(), p(), y(), g]).optional(),
3625
3805
  // Child elements
3626
- value: s().optional(),
3806
+ value: c().optional(),
3627
3807
  // The controlled value of the selected radio item.
3628
- defaultValue: s().optional(),
3808
+ defaultValue: c().optional(),
3629
3809
  // The uncontrolled initial value of the selected radio item.
3630
- onValueChange: s().optional()
3810
+ onValueChange: c().optional()
3631
3811
  // Callback fired when the selected value changes. The second argument carries native event details about the interaction.
3632
- }), Qa = z({
3633
- className: c().optional(),
3812
+ }), bs = _({
3813
+ value: c(),
3814
+ // Current rating (1..max), or `null` for unrated.
3815
+ readonly: p().optional(),
3816
+ // Renders as read-only (no hover/click).
3817
+ className: a().optional()
3818
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3819
+ }), ys = _({
3820
+ className: a().optional(),
3821
+ // Additional CSS classes
3822
+ children: b([a(), h(), p(), y(), g]).optional()
3823
+ // Child elements
3824
+ }), zs = _({
3825
+ className: a().optional(),
3634
3826
  // Additional CSS classes merged via `cn()`.
3635
- size: b(["xs", "sm", "base", "lg"]).optional(),
3827
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3636
3828
  // Size of the select trigger. Matches Input component sizes.
3637
- label: v([c(), g(), f(), y(), m]).optional(),
3829
+ label: b([a(), h(), p(), y(), g]).optional(),
3638
3830
  // 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(),
3640
- placeholder: c().optional(),
3831
+ hideLabel: p().optional(),
3832
+ placeholder: a().optional(),
3641
3833
  // Placeholder text shown when no value is selected.
3642
- loading: f().optional(),
3834
+ loading: p().optional(),
3643
3835
  // When `true`, shows a skeleton loader in place of the selected value.
3644
- disabled: f().optional(),
3836
+ disabled: p().optional(),
3645
3837
  // Whether the select is disabled.
3646
- required: f().optional(),
3838
+ required: p().optional(),
3647
3839
  // Whether the select is required. When `false`, shows "(optional)" text.
3648
- labelTooltip: v([c(), g(), f(), y(), m]).optional(),
3840
+ labelTooltip: b([a(), h(), p(), y(), g]).optional(),
3649
3841
  // Tooltip content displayed next to the label via an info icon.
3650
- value: s().optional(),
3842
+ value: c().optional(),
3651
3843
  // Currently selected value (controlled mode).
3652
- children: v([c(), g(), f(), y(), m]).optional(),
3844
+ children: b([a(), h(), p(), y(), g]).optional(),
3653
3845
  // `Select.Option` elements to render in the dropdown.
3654
- description: v([c(), g(), f(), y(), m]).optional(),
3846
+ description: b([a(), h(), p(), y(), g]).optional(),
3655
3847
  // Helper text displayed below the select.
3656
- error: s().optional(),
3848
+ error: c().optional(),
3657
3849
  // Error message string or validation error object with `match` key.
3658
- onValueChange: s().optional(),
3850
+ onValueChange: c().optional(),
3659
3851
  // Callback when selection changes
3660
- defaultValue: s().optional(),
3852
+ defaultValue: c().optional(),
3661
3853
  // Initial value for uncontrolled mode
3662
- renderValue: s().optional(),
3854
+ renderValue: c().optional(),
3663
3855
  // 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(),
3856
+ items: c().optional(),
3665
3857
  // 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()
3858
+ isItemEqualToValue: c().optional()
3667
3859
  // Custom equality function for comparing items. Required when value is an object, since object identity (`===`) won't match across renders.
3668
- }), es = z({
3669
- alt: c().optional(),
3670
- autoComplete: s().optional(),
3671
- checked: f().optional(),
3672
- disabled: f().optional(),
3673
- height: s().optional(),
3674
- list: c().optional(),
3675
- name: c().optional(),
3676
- placeholder: c().optional(),
3677
- readOnly: f().optional(),
3678
- required: f().optional(),
3679
- width: s().optional(),
3680
- className: c().optional(),
3681
- id: c().optional(),
3682
- lang: c().optional(),
3683
- title: c().optional(),
3684
- children: v([c(), g(), f(), y(), m]).optional(),
3685
- value: c().optional(),
3860
+ }), ks = _({
3861
+ alt: a().optional(),
3862
+ autoComplete: c().optional(),
3863
+ checked: p().optional(),
3864
+ disabled: p().optional(),
3865
+ height: c().optional(),
3866
+ list: a().optional(),
3867
+ name: a().optional(),
3868
+ placeholder: a().optional(),
3869
+ readOnly: p().optional(),
3870
+ required: p().optional(),
3871
+ width: c().optional(),
3872
+ className: a().optional(),
3873
+ id: a().optional(),
3874
+ lang: a().optional(),
3875
+ title: a().optional(),
3876
+ children: b([a(), h(), p(), y(), g]).optional(),
3877
+ value: a().optional(),
3686
3878
  // Controlled value
3687
- size: b(["xs", "sm", "base", "lg"]).optional(),
3879
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3688
3880
  // 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(),
3881
+ variant: v(["default", "error"]).optional(),
3690
3882
  // Style variant of the input. - `"default"` — Default input appearance - `"error"` — Error state for validation failures
3691
- label: v([c(), g(), f(), y(), m]).optional(),
3883
+ label: b([a(), h(), p(), y(), g]).optional(),
3692
3884
  // Label content for the input (enables Field wrapper and sets masked state label) - can be a string or any React node
3693
- labelTooltip: v([c(), g(), f(), y(), m]).optional(),
3885
+ labelTooltip: b([a(), h(), p(), y(), g]).optional(),
3694
3886
  // Tooltip content to display next to the label via an info icon
3695
- description: v([c(), g(), f(), y(), m]).optional(),
3887
+ description: b([a(), h(), p(), y(), g]).optional(),
3696
3888
  // Helper text displayed below the input
3697
- error: s().optional()
3889
+ error: c().optional()
3698
3890
  // Error message or validation error object
3699
- }), os = z({
3700
- defaultOpen: f().optional(),
3891
+ }), ws = _({
3892
+ defaultOpen: p().optional(),
3701
3893
  // Initial open state when uncontrolled.
3702
- open: f().optional(),
3894
+ open: p().optional(),
3703
3895
  // Controlled open state.
3704
- variant: b(["sidebar", "floating", "inset"]).optional(),
3896
+ variant: v(["sidebar", "floating", "inset"]).optional(),
3705
3897
  // Sidebar layout variant.
3706
- side: b(["left", "right"]).optional(),
3898
+ side: v(["left", "right"]).optional(),
3707
3899
  // Which side the sidebar is on.
3708
- collapsible: b(["icon", "offcanvas", "none"]).optional(),
3709
- resizable: f().optional(),
3900
+ collapsible: v(["icon", "offcanvas", "none"]).optional(),
3901
+ resizable: p().optional(),
3710
3902
  // Enable drag-to-resize on the sidebar edge.
3711
- defaultWidth: g().optional(),
3903
+ defaultWidth: h().optional(),
3712
3904
  // Initial width in pixels when resizable.
3713
- minWidth: g().optional(),
3905
+ minWidth: h().optional(),
3714
3906
  // Minimum width in pixels when resizing.
3715
- maxWidth: g().optional(),
3907
+ maxWidth: h().optional(),
3716
3908
  // Maximum width in pixels when resizing.
3717
- contained: f().optional(),
3909
+ contained: p().optional(),
3718
3910
  // 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(),
3911
+ peekable: p().optional(),
3720
3912
  // 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(),
3913
+ animationDuration: h().optional(),
3722
3914
  // Duration of sidebar expand/collapse animation in milliseconds.
3723
- mobileBreakpoint: g().optional(),
3915
+ mobileBreakpoint: h().optional(),
3724
3916
  // Viewport width (in px) below which the sidebar renders as a mobile dialog sheet instead of the desktop aside rail.
3725
- children: v([c(), g(), f(), y(), m]).optional(),
3917
+ children: b([a(), h(), p(), y(), g]).optional(),
3726
3918
  // Content — typically `<Sidebar>` + main content.
3727
- className: c().optional()
3919
+ className: a().optional()
3728
3920
  // Additional CSS classes for the wrapper div.
3729
- }), ts = z({
3730
- as: s().optional(),
3731
- render: v([c(), g(), f(), y(), m]).optional(),
3921
+ }), Ss = _({
3922
+ text: a(),
3923
+ // Status label text.
3924
+ isLoaderVisible: p().optional(),
3925
+ // Shows an inline loader after the text (e.g. while a transition runs).
3926
+ weight: v(["regular", "medium"]).optional(),
3927
+ // Font weight of the label.
3928
+ className: a().optional()
3929
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
3930
+ }), $s = _({
3931
+ as: c().optional(),
3932
+ render: b([a(), h(), p(), y(), g]).optional(),
3732
3933
  // 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: v([c(), g(), f(), y(), m]).optional(),
3734
- className: c().optional(),
3735
- id: c().optional(),
3736
- lang: c().optional(),
3737
- title: c().optional()
3738
- }), ns = z({
3739
- variant: b(["default", "neutral"]).optional(),
3934
+ children: b([a(), h(), p(), y(), g]).optional(),
3935
+ className: a().optional(),
3936
+ id: a().optional(),
3937
+ lang: a().optional(),
3938
+ title: a().optional()
3939
+ }), Ps = _({
3940
+ variant: v(["default", "neutral"]).optional(),
3740
3941
  // Visual variant: "default" (pill, brand color) or "neutral" (squircle, monochrome)
3741
- label: v([c(), g(), f(), y(), m]).optional(),
3942
+ label: b([a(), h(), p(), y(), g]).optional(),
3742
3943
  // 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: v([c(), g(), f(), y(), m]).optional(),
3944
+ labelTooltip: b([a(), h(), p(), y(), g]).optional(),
3744
3945
  // Tooltip content to display next to the label via an info icon
3745
- required: f().optional(),
3946
+ required: p().optional(),
3746
3947
  // Whether the switch is required. When explicitly false, shows "(optional)" text after the label.
3747
- controlFirst: f().optional(),
3948
+ controlFirst: p().optional(),
3748
3949
  // 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(),
3753
- name: c().optional(),
3754
- type: b(["submit", "reset", "button"]).optional(),
3755
- value: s().optional(),
3756
- className: c().optional(),
3757
- id: c().optional(),
3758
- lang: c().optional(),
3759
- title: c().optional(),
3760
- onClick: s()
3950
+ size: v(["sm", "base", "lg"]).optional(),
3951
+ checked: p().optional(),
3952
+ disabled: p().optional(),
3953
+ transitioning: p().optional(),
3954
+ name: a().optional(),
3955
+ type: v(["submit", "reset", "button"]).optional(),
3956
+ value: c().optional(),
3957
+ className: a().optional(),
3958
+ id: a().optional(),
3959
+ lang: a().optional(),
3960
+ title: a().optional(),
3961
+ onClick: c()
3761
3962
  // 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(),
3766
- className: c().optional(),
3963
+ }), Zs = _({
3964
+ layout: v(["auto", "fixed"]).optional(),
3965
+ variant: v(["default", "selected"]).optional(),
3966
+ sticky: v(["left", "right"]).optional(),
3967
+ className: a().optional(),
3767
3968
  // Additional CSS classes
3768
- children: v([c(), g(), f(), y(), m]).optional()
3969
+ children: b([a(), h(), p(), y(), g]).optional()
3769
3970
  // Child elements
3770
- }), is = z({
3771
- children: v([c(), g(), f(), y(), m]).optional(),
3772
- className: c().optional(),
3773
- id: c().optional(),
3774
- lang: c().optional(),
3775
- title: c().optional()
3776
- }), as = z({
3777
- tabs: U(s()).optional(),
3971
+ }), Ts = _({
3972
+ children: b([a(), h(), p(), y(), g]).optional(),
3973
+ className: a().optional(),
3974
+ id: a().optional(),
3975
+ lang: a().optional(),
3976
+ title: a().optional()
3977
+ }), Os = _({
3978
+ tabs: A(c()).optional(),
3778
3979
  // Array of tab items to render.
3779
- value: c().optional(),
3980
+ value: a().optional(),
3780
3981
  // Controlled value. When set, component becomes controlled.
3781
- selectedValue: c().optional(),
3982
+ selectedValue: a().optional(),
3782
3983
  // Default selected value for uncontrolled mode. Ignored when `value` is set.
3783
- activateOnFocus: f().optional(),
3984
+ activateOnFocus: p().optional(),
3784
3985
  // 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
- className: c().optional(),
3986
+ className: a().optional(),
3786
3987
  // Additional CSS classes for the root element.
3787
- listClassName: c().optional(),
3988
+ listClassName: a().optional(),
3788
3989
  // Additional CSS classes for the tab list element.
3789
- indicatorClassName: c().optional(),
3990
+ indicatorClassName: a().optional(),
3790
3991
  // Additional CSS classes for the indicator element.
3791
- variant: b(["segmented", "underline"]).optional(),
3992
+ variant: v(["segmented", "underline"]).optional(),
3792
3993
  // Tab style. - `"segmented"` — Pill-shaped indicator on a filled track - `"underline"` — Underline indicator below tab text
3793
- size: b(["base", "sm"]).optional(),
3994
+ size: v(["base", "sm"]).optional(),
3794
3995
  // 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()
3996
+ onValueChange: c().optional()
3796
3997
  // Callback when active tab changes
3797
- }), ss = z({
3798
- variant: b(["heading1", "heading2", "heading3", "body", "secondary", "success", "error", "mono", "mono-secondary"]).optional(),
3998
+ }), Ns = _({
3999
+ text: a(),
4000
+ // Text label rendered inside the tag (truncated with a tooltip on overflow).
4001
+ icon: c().optional(),
4002
+ // Optional leading icon (phosphor or any SVG component).
4003
+ variant: v(["solid", "outline", "border"]).optional(),
4004
+ // Visual style. - `"solid"` — subtle colored background (default) - `"outline"` — transparent background with a colored ring - `"border"` — subtle background with a matching colored ring
4005
+ weight: v(["regular", "medium"]).optional(),
4006
+ // Font weight of the label. - `"regular"` (default) - `"medium"`
4007
+ preventShrink: p().optional(),
4008
+ // Prevents the tag from shrinking inside flex containers.
4009
+ className: a().optional()
4010
+ // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
4011
+ }), Is = _({
4012
+ variant: v(["heading1", "heading2", "heading3", "body", "secondary", "success", "error", "mono", "mono-secondary"]).optional(),
3799
4013
  // 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(),
4014
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3801
4015
  // Text size (only applies to body/secondary/success/error variants). - `"xs"` — 12px - `"sm"` — 14px - `"base"` — 16px - `"lg"` — 18px
3802
- bold: f().optional(),
4016
+ bold: p().optional(),
3803
4017
  // Whether to use bold font weight (only applies to body variants).
3804
- truncate: f().optional(),
4018
+ truncate: p().optional(),
3805
4019
  // 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(),
4020
+ as: v(["h1", "h2", "h3", "h4", "h5", "h6", "p", "span", "label", "dt", "dd", "li", "figcaption", "legend", "pre", "code", "em", "strong", "small", "abbr", "time"]).optional(),
3807
4021
  // 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: v([c(), g(), f(), y(), m]).optional()
4022
+ children: b([a(), h(), p(), y(), g]).optional()
3809
4023
  // Text content.
3810
- }), cs = z({
3811
- variant: b(["default", "success", "error", "warning", "info"]).optional(),
3812
- className: c().optional(),
4024
+ }), Es = _({
4025
+ variant: v(["default", "success", "error", "warning", "info"]).optional(),
4026
+ className: a().optional(),
3813
4027
  // Additional CSS classes
3814
- children: v([c(), g(), f(), y(), m]).optional()
4028
+ children: b([a(), h(), p(), y(), g]).optional()
3815
4029
  // Child elements
3816
- }), ls = z({
3817
- side: b(["top", "bottom", "left", "right"]).optional(),
3818
- className: c().optional(),
4030
+ }), Cs = _({
4031
+ side: v(["top", "bottom", "left", "right"]).optional(),
4032
+ className: a().optional(),
3819
4033
  // Additional CSS classes
3820
- children: v([c(), g(), f(), y(), m]).optional(),
4034
+ children: b([a(), h(), p(), y(), g]).optional(),
3821
4035
  // Child elements
3822
- content: v([c(), g(), f(), y(), m])
4036
+ content: b([a(), h(), p(), y(), g])
3823
4037
  // Content to display in the tooltip
3824
- }), us = b([
4038
+ }), As = v([
4039
+ "ActorDisplay",
4040
+ "AddressInput",
4041
+ "ArrayDisplay",
3825
4042
  "Autocomplete",
4043
+ "Avatar",
4044
+ "AvatarGroup",
3826
4045
  "Badge",
3827
4046
  "Banner",
3828
4047
  "Breadcrumbs",
3829
4048
  "Button",
3830
4049
  "Checkbox",
4050
+ "Chip",
4051
+ "CircularProgressBar",
3831
4052
  "ClipboardText",
3832
4053
  "CloudflareLogo",
3833
4054
  "Code",
3834
4055
  "Collapsible",
4056
+ "ColorSample",
3835
4057
  "Combobox",
3836
4058
  "CommandPalette",
4059
+ "DataGrid",
3837
4060
  "DatePicker",
3838
4061
  "DateRangePicker",
3839
4062
  "Dialog",
4063
+ "DoubleTextInput",
3840
4064
  "DropdownMenu",
4065
+ "EmailsDisplay",
3841
4066
  "Empty",
4067
+ "ExpandableList",
3842
4068
  "Field",
3843
4069
  "Grid",
3844
4070
  "Input",
3845
4071
  "InputArea",
3846
4072
  "InputGroup",
4073
+ "JsonDisplay",
3847
4074
  "Label",
3848
4075
  "LayerCard",
3849
4076
  "Link",
4077
+ "LinkChip",
4078
+ "LinksDisplay",
3850
4079
  "Loader",
3851
4080
  "MenuBar",
4081
+ "MenuItem",
3852
4082
  "Meter",
4083
+ "NotificationCounter",
4084
+ "OverflowingText",
3853
4085
  "Pagination",
4086
+ "PhonesDisplay",
4087
+ "Pill",
3854
4088
  "Popover",
3855
4089
  "Radio",
4090
+ "Rating",
4091
+ "RecordBoard",
3856
4092
  "Select",
3857
4093
  "SensitiveInput",
3858
4094
  "Sidebar",
4095
+ "Status",
3859
4096
  "Surface",
3860
4097
  "Switch",
3861
4098
  "Table",
3862
4099
  "TableOfContents",
3863
4100
  "Tabs",
4101
+ "Tag",
3864
4102
  "Text",
3865
4103
  "Toasty",
3866
4104
  "Tooltip"
3867
- ]), ps = {
3868
- Autocomplete: ka,
3869
- Badge: wa,
3870
- Banner: Sa,
3871
- Breadcrumbs: $a,
3872
- Button: Za,
3873
- Checkbox: Pa,
3874
- ClipboardText: Ta,
3875
- CloudflareLogo: Oa,
3876
- Code: Ia,
3877
- Collapsible: Na,
3878
- Combobox: Ea,
3879
- CommandPalette: Ca,
3880
- DatePicker: Aa,
3881
- DateRangePicker: xa,
3882
- Dialog: ja,
3883
- DropdownMenu: Ra,
3884
- Empty: Da,
3885
- Field: Ua,
3886
- Grid: Fa,
3887
- Input: La,
3888
- InputArea: Ma,
3889
- InputGroup: Ja,
3890
- Label: Va,
3891
- LayerCard: Ba,
3892
- Link: Wa,
3893
- Loader: Ga,
3894
- MenuBar: qa,
3895
- Meter: Ka,
3896
- Pagination: Xa,
3897
- Popover: Ya,
3898
- Radio: Ha,
3899
- Select: Qa,
3900
- SensitiveInput: es,
3901
- Sidebar: os,
3902
- Surface: ts,
3903
- Switch: ns,
3904
- Table: rs,
3905
- TableOfContents: is,
3906
- Tabs: as,
3907
- Text: ss,
3908
- Toasty: cs,
3909
- Tooltip: ls
3910
- }, ds = z({
3911
- key: c(),
3912
- type: us,
3913
- props: H(c(), s()),
3914
- children: U(c()).optional(),
3915
- parentKey: c().nullable().optional(),
4105
+ ]), xs = {
4106
+ ActorDisplay: ka,
4107
+ AddressInput: wa,
4108
+ ArrayDisplay: Sa,
4109
+ Autocomplete: $a,
4110
+ Avatar: Pa,
4111
+ AvatarGroup: Za,
4112
+ Badge: Ta,
4113
+ Banner: Oa,
4114
+ Breadcrumbs: Na,
4115
+ Button: Ia,
4116
+ Checkbox: Ea,
4117
+ Chip: Ca,
4118
+ CircularProgressBar: Aa,
4119
+ ClipboardText: xa,
4120
+ CloudflareLogo: Da,
4121
+ Code: Ra,
4122
+ Collapsible: ja,
4123
+ ColorSample: La,
4124
+ Combobox: Ua,
4125
+ CommandPalette: Fa,
4126
+ DataGrid: Ma,
4127
+ DatePicker: Ja,
4128
+ DateRangePicker: Ba,
4129
+ Dialog: Va,
4130
+ DoubleTextInput: Ga,
4131
+ DropdownMenu: Wa,
4132
+ EmailsDisplay: qa,
4133
+ Empty: Ka,
4134
+ ExpandableList: Xa,
4135
+ Field: Ya,
4136
+ Grid: Ha,
4137
+ Input: Qa,
4138
+ InputArea: es,
4139
+ InputGroup: os,
4140
+ JsonDisplay: ts,
4141
+ Label: ns,
4142
+ LayerCard: rs,
4143
+ Link: is,
4144
+ LinkChip: as,
4145
+ LinksDisplay: ss,
4146
+ Loader: cs,
4147
+ MenuBar: ls,
4148
+ MenuItem: us,
4149
+ Meter: ps,
4150
+ NotificationCounter: ds,
4151
+ OverflowingText: fs,
4152
+ Pagination: hs,
4153
+ PhonesDisplay: ms,
4154
+ Pill: gs,
4155
+ Popover: _s,
4156
+ Radio: vs,
4157
+ Rating: bs,
4158
+ RecordBoard: ys,
4159
+ Select: zs,
4160
+ SensitiveInput: ks,
4161
+ Sidebar: ws,
4162
+ Status: Ss,
4163
+ Surface: $s,
4164
+ Switch: Ps,
4165
+ Table: Zs,
4166
+ TableOfContents: Ts,
4167
+ Tabs: Os,
4168
+ Tag: Ns,
4169
+ Text: Is,
4170
+ Toasty: Es,
4171
+ Tooltip: Cs
4172
+ }, Ds = _({
4173
+ key: a(),
4174
+ type: As,
4175
+ props: H(a(), c()),
4176
+ children: A(a()).optional(),
4177
+ parentKey: a().nullable().optional(),
3916
4178
  visible: ba.optional(),
3917
4179
  action: za.optional()
3918
- }), fs = z({
3919
- root: c(),
3920
- elements: H(c(), ds)
4180
+ }), Rs = _({
4181
+ root: a(),
4182
+ elements: H(a(), Ds)
3921
4183
  });
3922
- function ms(e) {
3923
- const o = ps[e.type];
4184
+ function Ls(e) {
4185
+ const o = xs[e.type];
3924
4186
  return o ? o.safeParse(e.props) : { success: !1, error: new li([{ code: "custom", message: `Unknown component type: ${e.type}`, path: ["type"] }]) };
3925
4187
  }
3926
- function gs(e) {
3927
- return fs.safeParse(e);
4188
+ function Us(e) {
4189
+ return Rs.safeParse(e);
3928
4190
  }
3929
- const _s = ["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", "Tooltip"];
4191
+ const Fs = ["ActorDisplay", "AddressInput", "ArrayDisplay", "Autocomplete", "Avatar", "AvatarGroup", "Badge", "Banner", "Breadcrumbs", "Button", "Checkbox", "Chip", "CircularProgressBar", "ClipboardText", "CloudflareLogo", "Code", "Collapsible", "ColorSample", "Combobox", "CommandPalette", "DataGrid", "DatePicker", "DateRangePicker", "Dialog", "DoubleTextInput", "DropdownMenu", "EmailsDisplay", "Empty", "ExpandableList", "Field", "Grid", "Input", "InputArea", "InputGroup", "JsonDisplay", "Label", "LayerCard", "Link", "LinkChip", "LinksDisplay", "Loader", "MenuBar", "MenuItem", "Meter", "NotificationCounter", "OverflowingText", "Pagination", "PhonesDisplay", "Pill", "Popover", "Radio", "Rating", "RecordBoard", "Select", "SensitiveInput", "Sidebar", "Status", "Surface", "Switch", "Table", "TableOfContents", "Tabs", "Tag", "Text", "Toasty", "Tooltip"];
3930
4192
  export {
3931
4193
  ya as ActionConfirmSchema,
3932
4194
  za as ActionSchema,
3933
- ka as AutocompletePropsSchema,
3934
- wa as BadgePropsSchema,
3935
- Sa as BannerPropsSchema,
3936
- $a as BreadcrumbsPropsSchema,
3937
- Za as ButtonPropsSchema,
3938
- Pa as CheckboxPropsSchema,
3939
- Ta as ClipboardTextPropsSchema,
3940
- Oa as CloudflareLogoPropsSchema,
3941
- Ia as CodePropsSchema,
3942
- Na as CollapsiblePropsSchema,
3943
- Ea as ComboboxPropsSchema,
3944
- Ca as CommandPalettePropsSchema,
3945
- ps as ComponentPropsSchemas,
3946
- Aa as DatePickerPropsSchema,
3947
- xa as DateRangePickerPropsSchema,
3948
- ja as DialogPropsSchema,
3949
- Ra as DropdownMenuPropsSchema,
3950
- m as DynamicValueSchema,
3951
- Da as EmptyPropsSchema,
3952
- Ua as FieldPropsSchema,
3953
- Fa as GridPropsSchema,
3954
- Ma as InputAreaPropsSchema,
3955
- Ja as InputGroupPropsSchema,
3956
- La as InputPropsSchema,
3957
- Va as LabelPropsSchema,
3958
- Ba as LayerCardPropsSchema,
3959
- Wa as LinkPropsSchema,
3960
- Ga as LoaderPropsSchema,
3961
- qa as MenuBarPropsSchema,
3962
- Ka as MeterPropsSchema,
3963
- Xa as PaginationPropsSchema,
3964
- Ya as PopoverPropsSchema,
3965
- _s as REKI_COMPONENT_NAMES,
3966
- Ha as RadioPropsSchema,
3967
- us as RekiComponentTypeSchema,
3968
- Qa as SelectPropsSchema,
3969
- es as SensitiveInputPropsSchema,
3970
- os as SidebarPropsSchema,
3971
- ts as SurfacePropsSchema,
3972
- ns as SwitchPropsSchema,
3973
- is as TableOfContentsPropsSchema,
3974
- rs as TablePropsSchema,
3975
- as as TabsPropsSchema,
3976
- ss as TextPropsSchema,
3977
- cs as ToastyPropsSchema,
3978
- ls as TooltipPropsSchema,
3979
- ds as UIElementBaseSchema,
3980
- fs as UITreeSchema,
4195
+ ka as ActorDisplayPropsSchema,
4196
+ wa as AddressInputPropsSchema,
4197
+ Sa as ArrayDisplayPropsSchema,
4198
+ $a as AutocompletePropsSchema,
4199
+ Za as AvatarGroupPropsSchema,
4200
+ Pa as AvatarPropsSchema,
4201
+ Ta as BadgePropsSchema,
4202
+ Oa as BannerPropsSchema,
4203
+ Na as BreadcrumbsPropsSchema,
4204
+ Ia as ButtonPropsSchema,
4205
+ Ea as CheckboxPropsSchema,
4206
+ Ca as ChipPropsSchema,
4207
+ Aa as CircularProgressBarPropsSchema,
4208
+ xa as ClipboardTextPropsSchema,
4209
+ Da as CloudflareLogoPropsSchema,
4210
+ Ra as CodePropsSchema,
4211
+ ja as CollapsiblePropsSchema,
4212
+ La as ColorSamplePropsSchema,
4213
+ Ua as ComboboxPropsSchema,
4214
+ Fa as CommandPalettePropsSchema,
4215
+ xs as ComponentPropsSchemas,
4216
+ Ma as DataGridPropsSchema,
4217
+ Ja as DatePickerPropsSchema,
4218
+ Ba as DateRangePickerPropsSchema,
4219
+ Va as DialogPropsSchema,
4220
+ Ga as DoubleTextInputPropsSchema,
4221
+ Wa as DropdownMenuPropsSchema,
4222
+ g as DynamicValueSchema,
4223
+ qa as EmailsDisplayPropsSchema,
4224
+ Ka as EmptyPropsSchema,
4225
+ Xa as ExpandableListPropsSchema,
4226
+ Ya as FieldPropsSchema,
4227
+ Ha as GridPropsSchema,
4228
+ es as InputAreaPropsSchema,
4229
+ os as InputGroupPropsSchema,
4230
+ Qa as InputPropsSchema,
4231
+ ts as JsonDisplayPropsSchema,
4232
+ ns as LabelPropsSchema,
4233
+ rs as LayerCardPropsSchema,
4234
+ as as LinkChipPropsSchema,
4235
+ is as LinkPropsSchema,
4236
+ ss as LinksDisplayPropsSchema,
4237
+ cs as LoaderPropsSchema,
4238
+ ls as MenuBarPropsSchema,
4239
+ us as MenuItemPropsSchema,
4240
+ ps as MeterPropsSchema,
4241
+ ds as NotificationCounterPropsSchema,
4242
+ fs as OverflowingTextPropsSchema,
4243
+ hs as PaginationPropsSchema,
4244
+ ms as PhonesDisplayPropsSchema,
4245
+ gs as PillPropsSchema,
4246
+ _s as PopoverPropsSchema,
4247
+ Fs as REKI_COMPONENT_NAMES,
4248
+ vs as RadioPropsSchema,
4249
+ bs as RatingPropsSchema,
4250
+ ys as RecordBoardPropsSchema,
4251
+ As as RekiComponentTypeSchema,
4252
+ zs as SelectPropsSchema,
4253
+ ks as SensitiveInputPropsSchema,
4254
+ ws as SidebarPropsSchema,
4255
+ Ss as StatusPropsSchema,
4256
+ $s as SurfacePropsSchema,
4257
+ Ps as SwitchPropsSchema,
4258
+ Ts as TableOfContentsPropsSchema,
4259
+ Zs as TablePropsSchema,
4260
+ Os as TabsPropsSchema,
4261
+ Ns as TagPropsSchema,
4262
+ Is as TextPropsSchema,
4263
+ Es as ToastyPropsSchema,
4264
+ Cs as TooltipPropsSchema,
4265
+ Ds as UIElementBaseSchema,
4266
+ Rs as UITreeSchema,
3981
4267
  ba as VisibilityConditionSchema,
3982
- ms as validateElementProps,
3983
- gs as validateUITree
4268
+ Ls as validateElementProps,
4269
+ Us as validateUITree
3984
4270
  };
3985
4271
  //# sourceMappingURL=schemas.js.map