@nanoforge-dev/editor 0.0.2-beta.4555742 → 0.0.2-beta.580354c

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 (293) hide show
  1. package/dist/client/_app/immutable/assets/0.BRAq3OL4.css +1 -0
  2. package/dist/client/_app/immutable/assets/0.BRAq3OL4.css.br +0 -0
  3. package/dist/client/_app/immutable/assets/0.BRAq3OL4.css.gz +0 -0
  4. package/dist/client/_app/immutable/chunks/{B5BlQANa2.js → B4w9-fYM2.js} +1 -1
  5. package/dist/client/_app/immutable/chunks/B4w9-fYM2.js.br +0 -0
  6. package/dist/client/_app/immutable/chunks/B4w9-fYM2.js.gz +0 -0
  7. package/dist/client/_app/immutable/chunks/{BpsTeBMk2.js → BS47D1Yd2.js} +1 -1
  8. package/dist/client/_app/immutable/chunks/BS47D1Yd2.js.br +0 -0
  9. package/dist/client/_app/immutable/chunks/BS47D1Yd2.js.gz +0 -0
  10. package/dist/client/_app/immutable/chunks/{NRUHq-_72.js → BWDRzheF2.js} +1 -1
  11. package/dist/client/_app/immutable/chunks/BWDRzheF2.js.br +0 -0
  12. package/dist/client/_app/immutable/chunks/BWDRzheF2.js.gz +0 -0
  13. package/dist/client/_app/immutable/chunks/{YpKUr6uE2.js → BZqFHUa32.js} +1 -1
  14. package/dist/client/_app/immutable/chunks/BZqFHUa32.js.br +0 -0
  15. package/dist/client/_app/immutable/chunks/BZqFHUa32.js.gz +0 -0
  16. package/dist/client/_app/immutable/chunks/{CwcsJxhS2.js → Bk9DeFcz2.js} +1 -1
  17. package/dist/client/_app/immutable/chunks/Bk9DeFcz2.js.br +0 -0
  18. package/dist/client/_app/immutable/chunks/Bk9DeFcz2.js.gz +0 -0
  19. package/dist/client/_app/immutable/chunks/{D8Kk1mwW.js → BlGyHMDZ.js} +1 -1
  20. package/dist/client/_app/immutable/chunks/BlGyHMDZ.js.br +0 -0
  21. package/dist/client/_app/immutable/chunks/BlGyHMDZ.js.gz +0 -0
  22. package/dist/client/_app/immutable/chunks/Brp9NRGe.js +6 -0
  23. package/dist/client/_app/immutable/chunks/Brp9NRGe.js.br +0 -0
  24. package/dist/client/_app/immutable/chunks/Brp9NRGe.js.gz +0 -0
  25. package/dist/client/_app/immutable/chunks/{DRG11iPc2.js → BwWAgYKi2.js} +1 -1
  26. package/dist/client/_app/immutable/chunks/BwWAgYKi2.js.br +3 -0
  27. package/dist/client/_app/immutable/chunks/BwWAgYKi2.js.gz +0 -0
  28. package/dist/client/_app/immutable/chunks/BwpZ7W8G.js +1 -0
  29. package/dist/client/_app/immutable/chunks/BwpZ7W8G.js.br +0 -0
  30. package/dist/client/_app/immutable/chunks/BwpZ7W8G.js.gz +0 -0
  31. package/dist/client/_app/immutable/chunks/{CHHvlOt72.js → BzGBrbo22.js} +1 -1
  32. package/dist/client/_app/immutable/chunks/BzGBrbo22.js.br +0 -0
  33. package/dist/client/_app/immutable/chunks/BzGBrbo22.js.gz +0 -0
  34. package/dist/client/_app/immutable/chunks/{D5kSEVHd2.js → C7bUlFLk2.js} +1 -1
  35. package/dist/client/_app/immutable/chunks/C7bUlFLk2.js.br +0 -0
  36. package/dist/client/_app/immutable/chunks/C7bUlFLk2.js.gz +0 -0
  37. package/dist/client/_app/immutable/chunks/{B41NCdmk2.js → C83DJP9w2.js} +1 -1
  38. package/dist/client/_app/immutable/chunks/C83DJP9w2.js.br +0 -0
  39. package/dist/client/_app/immutable/chunks/C83DJP9w2.js.gz +0 -0
  40. package/dist/client/_app/immutable/chunks/{Wjj5hwVF2.js → CKei9xPI2.js} +2 -2
  41. package/dist/client/_app/immutable/chunks/CKei9xPI2.js.br +0 -0
  42. package/dist/client/_app/immutable/chunks/CKei9xPI2.js.gz +0 -0
  43. package/dist/client/_app/immutable/chunks/CObqXk_q.js +1 -0
  44. package/dist/client/_app/immutable/chunks/CObqXk_q.js.br +0 -0
  45. package/dist/client/_app/immutable/chunks/CObqXk_q.js.gz +0 -0
  46. package/dist/client/_app/immutable/chunks/{Bd4_wRJp.js → CZo4a556.js} +1 -1
  47. package/dist/client/_app/immutable/chunks/CZo4a556.js.br +0 -0
  48. package/dist/client/_app/immutable/chunks/CZo4a556.js.gz +0 -0
  49. package/dist/client/_app/immutable/chunks/{CuyfOZTk2.js → CnhOha0Z2.js} +1 -1
  50. package/dist/client/_app/immutable/chunks/CnhOha0Z2.js.br +0 -0
  51. package/dist/client/_app/immutable/chunks/CnhOha0Z2.js.gz +0 -0
  52. package/dist/client/_app/immutable/chunks/D1JHNh7-.js +293 -0
  53. package/dist/client/_app/immutable/chunks/D1JHNh7-.js.br +0 -0
  54. package/dist/client/_app/immutable/chunks/D1JHNh7-.js.gz +0 -0
  55. package/dist/client/_app/immutable/chunks/{Bfd-bGrZ2.js → DFXoGGM32.js} +1 -1
  56. package/dist/client/_app/immutable/chunks/DFXoGGM32.js.br +0 -0
  57. package/dist/client/_app/immutable/chunks/DFXoGGM32.js.gz +0 -0
  58. package/dist/client/_app/immutable/chunks/{VTYQK3v_2.js → DH-ThjiG2.js} +2 -2
  59. package/dist/client/_app/immutable/chunks/DH-ThjiG2.js.br +0 -0
  60. package/dist/client/_app/immutable/chunks/DH-ThjiG2.js.gz +0 -0
  61. package/dist/client/_app/immutable/chunks/{CNh34b3X2.js → DHQLzCjY2.js} +1 -1
  62. package/dist/client/_app/immutable/chunks/DHQLzCjY2.js.br +0 -0
  63. package/dist/client/_app/immutable/chunks/DHQLzCjY2.js.gz +0 -0
  64. package/dist/client/_app/immutable/chunks/{D8HnIxQ42.js → DT8Ddh1L2.js} +1 -1
  65. package/dist/client/_app/immutable/chunks/DT8Ddh1L2.js.br +0 -0
  66. package/dist/client/_app/immutable/chunks/DT8Ddh1L2.js.gz +0 -0
  67. package/dist/client/_app/immutable/chunks/{Cx3ix-dL2.js → DuDzfUqN2.js} +1 -1
  68. package/dist/client/_app/immutable/chunks/DuDzfUqN2.js.br +0 -0
  69. package/dist/client/_app/immutable/chunks/DuDzfUqN2.js.gz +0 -0
  70. package/dist/client/_app/immutable/chunks/{56adh18U.js → Fu4roQAh.js} +1 -1
  71. package/dist/client/_app/immutable/chunks/Fu4roQAh.js.br +0 -0
  72. package/dist/client/_app/immutable/chunks/Fu4roQAh.js.gz +0 -0
  73. package/dist/client/_app/immutable/chunks/ZLGReh43.js +3 -0
  74. package/dist/client/_app/immutable/chunks/ZLGReh43.js.br +0 -0
  75. package/dist/client/_app/immutable/chunks/ZLGReh43.js.gz +0 -0
  76. package/dist/client/_app/immutable/chunks/{CN98h0cI2.js → mRVEsFly2.js} +1 -1
  77. package/dist/client/_app/immutable/chunks/mRVEsFly2.js.br +0 -0
  78. package/dist/client/_app/immutable/chunks/mRVEsFly2.js.gz +0 -0
  79. package/dist/client/_app/immutable/chunks/{DJq0R92X.js → orCHVlgT.js} +1 -1
  80. package/dist/client/_app/immutable/chunks/orCHVlgT.js.br +0 -0
  81. package/dist/client/_app/immutable/chunks/orCHVlgT.js.gz +0 -0
  82. package/dist/client/_app/immutable/chunks/{Drjp27p72.js → uo5fvlDn2.js} +1 -1
  83. package/dist/client/_app/immutable/chunks/uo5fvlDn2.js.br +0 -0
  84. package/dist/client/_app/immutable/chunks/uo5fvlDn2.js.gz +0 -0
  85. package/dist/client/_app/immutable/chunks/{CeXz7yzc.js → v6YHThuS.js} +1 -1
  86. package/dist/client/_app/immutable/chunks/v6YHThuS.js.br +0 -0
  87. package/dist/client/_app/immutable/chunks/v6YHThuS.js.gz +0 -0
  88. package/dist/client/_app/immutable/entry/{app.CgTzSlEq.js → app.B8CjVJ8m.js} +2 -2
  89. package/dist/client/_app/immutable/entry/app.B8CjVJ8m.js.br +0 -0
  90. package/dist/client/_app/immutable/entry/app.B8CjVJ8m.js.gz +0 -0
  91. package/dist/client/_app/immutable/entry/start.xcie2Yx0.js +1 -0
  92. package/dist/client/_app/immutable/entry/start.xcie2Yx0.js.br +0 -0
  93. package/dist/client/_app/immutable/entry/start.xcie2Yx0.js.gz +0 -0
  94. package/dist/client/_app/immutable/nodes/{0.HtU0ZBoq.js → 0.Cc3CiDns.js} +1 -1
  95. package/dist/client/_app/immutable/nodes/0.Cc3CiDns.js.br +0 -0
  96. package/dist/client/_app/immutable/nodes/0.Cc3CiDns.js.gz +0 -0
  97. package/dist/client/_app/immutable/nodes/{1.Hn-xzJlH.js → 1.aoxJA8Qo.js} +1 -1
  98. package/dist/client/_app/immutable/nodes/1.aoxJA8Qo.js.br +3 -0
  99. package/dist/client/_app/immutable/nodes/1.aoxJA8Qo.js.gz +0 -0
  100. package/dist/client/_app/immutable/nodes/{9.Cr9x1mlV.js → 10.DTh0Qakp.js} +1 -1
  101. package/dist/client/_app/immutable/nodes/10.DTh0Qakp.js.br +0 -0
  102. package/dist/client/_app/immutable/nodes/10.DTh0Qakp.js.gz +0 -0
  103. package/dist/client/_app/immutable/nodes/2.DggbBWOd.js +1 -0
  104. package/dist/client/_app/immutable/nodes/2.DggbBWOd.js.br +0 -0
  105. package/dist/client/_app/immutable/nodes/2.DggbBWOd.js.gz +0 -0
  106. package/dist/client/_app/immutable/nodes/3.CldxEoeJ.js +6 -0
  107. package/dist/client/_app/immutable/nodes/3.CldxEoeJ.js.br +0 -0
  108. package/dist/client/_app/immutable/nodes/3.CldxEoeJ.js.gz +0 -0
  109. package/dist/client/_app/version.json +1 -1
  110. package/dist/client/_app/version.json.br +0 -0
  111. package/dist/client/_app/version.json.gz +0 -0
  112. package/dist/server/chunks/{0-CQDIDss4.js → 0-BAWoYonx.js} +6 -6
  113. package/dist/server/chunks/{0-CQDIDss4.js.map → 0-BAWoYonx.js.map} +1 -1
  114. package/dist/server/chunks/{1-CYyEReIL.js → 1-l2q82N-q.js} +6 -6
  115. package/dist/server/chunks/{1-CYyEReIL.js.map → 1-l2q82N-q.js.map} +1 -1
  116. package/dist/server/chunks/10-DliMkA_F.js +22 -0
  117. package/dist/server/chunks/10-DliMkA_F.js.map +1 -0
  118. package/dist/server/chunks/{2-COraPbPF.js → 2-BTcCBWEw.js} +9 -9
  119. package/dist/server/chunks/{2-COraPbPF.js.map → 2-BTcCBWEw.js.map} +1 -1
  120. package/dist/server/chunks/3-B9-EfDcH.js +22 -0
  121. package/dist/server/chunks/3-B9-EfDcH.js.map +1 -0
  122. package/dist/server/chunks/{3-CcIZ_M60.js → 4-BYQgShv3.js} +116 -5
  123. package/dist/server/chunks/4-BYQgShv3.js.map +1 -0
  124. package/dist/server/chunks/{8-CRPOubhA.js → 5-B4IXyXqv.js} +12 -4
  125. package/dist/server/chunks/5-B4IXyXqv.js.map +1 -0
  126. package/dist/server/chunks/{4-DyArZX6h.js → 6-DH_IMDRv.js} +12 -4
  127. package/dist/server/chunks/6-DH_IMDRv.js.map +1 -0
  128. package/dist/server/chunks/{6-AD0Ee23-.js → 7-CPMeoSUO.js} +37 -4
  129. package/dist/server/chunks/7-CPMeoSUO.js.map +1 -0
  130. package/dist/server/chunks/{7-CuJ7XfzT.js → 8-CRTa48Fz.js} +4 -4
  131. package/dist/server/chunks/{7-CuJ7XfzT.js.map → 8-CRTa48Fz.js.map} +1 -1
  132. package/dist/server/chunks/{5-DVrv6Zto.js → 9-DPn3d8kr.js} +12 -4
  133. package/dist/server/chunks/9-DPn3d8kr.js.map +1 -0
  134. package/dist/server/chunks/{_layout.svelte-CP4jFwsK.js → _layout.svelte-uX7XiB9K.js} +6 -6
  135. package/dist/server/chunks/_layout.svelte-uX7XiB9K.js.map +1 -0
  136. package/dist/server/chunks/{_page.svelte-aqS45KvA.js → _page.svelte-1s5jXYk_.js} +206 -45
  137. package/dist/server/chunks/_page.svelte-1s5jXYk_.js.map +1 -0
  138. package/dist/server/chunks/{_page.svelte-DNEdNwOa.js → _page.svelte-B-TY3dq2.js} +7 -7
  139. package/dist/server/chunks/_page.svelte-B-TY3dq2.js.map +1 -0
  140. package/dist/server/chunks/{_page.svelte-C7h5iN8e.js → _page.svelte-BHks8xKU.js} +6 -6
  141. package/dist/server/chunks/_page.svelte-BHks8xKU.js.map +1 -0
  142. package/dist/server/chunks/{_server.ts-BYvWhjnh.js → _server.ts-a-I4s4R9.js} +2 -2
  143. package/dist/server/chunks/{_server.ts-BYvWhjnh.js.map → _server.ts-a-I4s4R9.js.map} +1 -1
  144. package/dist/server/chunks/{_server.ts-CrY08U-x.js → _server.ts-y6LeO9-5.js} +15 -3
  145. package/dist/server/chunks/_server.ts-y6LeO9-5.js.map +1 -0
  146. package/dist/server/chunks/app-DUeJj5RD.js.map +1 -1
  147. package/dist/server/chunks/chunk-ByNZkrT6.js.map +1 -1
  148. package/dist/server/chunks/{client-BpCCCb_o.js → client-DWDrOrQL.js} +3 -3
  149. package/dist/server/chunks/client-DWDrOrQL.js.map +1 -0
  150. package/dist/server/chunks/decorate-CQ_JIwqD.js +11 -0
  151. package/dist/server/chunks/decorate-CQ_JIwqD.js.map +1 -0
  152. package/dist/server/chunks/{error-CFpEevfM.js → error-cCQrHDre.js} +132 -62
  153. package/dist/server/chunks/error-cCQrHDre.js.map +1 -0
  154. package/dist/server/chunks/{error.svelte-DoUr3CqI.js → error.svelte-nsiVeFAJ.js} +3 -3
  155. package/dist/server/chunks/{error.svelte-DoUr3CqI.js.map → error.svelte-nsiVeFAJ.js.map} +1 -1
  156. package/dist/server/chunks/{events-DeYJGjCt.js → events-Bhh2w-5S.js} +1063 -1059
  157. package/dist/server/chunks/events-Bhh2w-5S.js.map +1 -0
  158. package/dist/server/chunks/{exports-8wSs4fiF.js → exports-CWOtdr_a.js} +4 -4
  159. package/dist/server/chunks/{exports-8wSs4fiF.js.map → exports-CWOtdr_a.js.map} +1 -1
  160. package/dist/server/chunks/format-DGOlJxF5.js.map +1 -1
  161. package/dist/server/chunks/{hooks.server-CG8Cy27D.js → hooks.server-Cdesln7C.js} +4 -4
  162. package/dist/server/chunks/{hooks.server-CG8Cy27D.js.map → hooks.server-Cdesln7C.js.map} +1 -1
  163. package/dist/server/chunks/hooks.universal-DhGFdBkK.js.map +1 -1
  164. package/dist/server/chunks/{internal-eM0YTBgj.js → internal-DsA4iYdx.js} +2 -2
  165. package/dist/server/chunks/{internal-eM0YTBgj.js.map → internal-DsA4iYdx.js.map} +1 -1
  166. package/dist/server/chunks/{internal-DXl_jCjC.js → internal2-DF9-voLX.js} +10 -10
  167. package/dist/server/chunks/internal2-DF9-voLX.js.map +1 -0
  168. package/dist/server/chunks/{loader-circle-zqx69BdD.js → loader-circle-CFNm9vip.js} +2 -2
  169. package/dist/server/chunks/{loader-circle-zqx69BdD.js.map → loader-circle-CFNm9vip.js.map} +1 -1
  170. package/dist/server/chunks/{logo-BCJKEF48.js → logo-CgSTOPfJ.js} +4 -4
  171. package/dist/server/chunks/logo-CgSTOPfJ.js.map +1 -0
  172. package/dist/server/chunks/{project-loader-Q4QyAH66.js → project-loader-DPwVwx5v.js} +4 -4
  173. package/dist/server/chunks/{project-loader-Q4QyAH66.js.map → project-loader-DPwVwx5v.js.map} +1 -1
  174. package/dist/server/chunks/{request-handler-D-qbwxhh.js → request-handler-guINVc1G.js} +12 -7
  175. package/dist/server/chunks/request-handler-guINVc1G.js.map +1 -0
  176. package/dist/server/chunks/runtime-CDHWD9vo.js.map +1 -1
  177. package/dist/server/chunks/{schemas-CyYMWYjZ.js → schemas-nSPQog67.js} +165 -125
  178. package/dist/server/chunks/schemas-nSPQog67.js.map +1 -0
  179. package/dist/server/chunks/{session-CmQRz9-0.js → session-DLCjVGKo.js} +2 -2
  180. package/dist/server/chunks/{session-CmQRz9-0.js.map → session-DLCjVGKo.js.map} +1 -1
  181. package/dist/server/chunks/shared-server-Cha0Qlv9.js.map +1 -1
  182. package/dist/server/chunks/{state-UEnMVrEd.js → state-CuPzwLiF.js} +3 -3
  183. package/dist/server/chunks/{state-UEnMVrEd.js.map → state-CuPzwLiF.js.map} +1 -1
  184. package/dist/server/index.js +10 -8
  185. package/dist/server/index.js.map +1 -1
  186. package/dist/server/manifest.js +31 -31
  187. package/dist/server/manifest.js.map +1 -1
  188. package/package.json +7 -5
  189. package/dist/client/_app/immutable/assets/0.DH-_Mfdo.css +0 -1
  190. package/dist/client/_app/immutable/assets/0.DH-_Mfdo.css.br +0 -0
  191. package/dist/client/_app/immutable/assets/0.DH-_Mfdo.css.gz +0 -0
  192. package/dist/client/_app/immutable/chunks/56adh18U.js.br +0 -0
  193. package/dist/client/_app/immutable/chunks/56adh18U.js.gz +0 -0
  194. package/dist/client/_app/immutable/chunks/B41NCdmk2.js.br +0 -0
  195. package/dist/client/_app/immutable/chunks/B41NCdmk2.js.gz +0 -0
  196. package/dist/client/_app/immutable/chunks/B5BlQANa2.js.br +0 -0
  197. package/dist/client/_app/immutable/chunks/B5BlQANa2.js.gz +0 -0
  198. package/dist/client/_app/immutable/chunks/BAdxhMRi.js +0 -1
  199. package/dist/client/_app/immutable/chunks/BAdxhMRi.js.br +0 -0
  200. package/dist/client/_app/immutable/chunks/BAdxhMRi.js.gz +0 -0
  201. package/dist/client/_app/immutable/chunks/Bd4_wRJp.js.br +0 -0
  202. package/dist/client/_app/immutable/chunks/Bd4_wRJp.js.gz +0 -0
  203. package/dist/client/_app/immutable/chunks/Bfd-bGrZ2.js.br +0 -0
  204. package/dist/client/_app/immutable/chunks/Bfd-bGrZ2.js.gz +0 -0
  205. package/dist/client/_app/immutable/chunks/BgJkaMKb.js +0 -1
  206. package/dist/client/_app/immutable/chunks/BgJkaMKb.js.br +0 -0
  207. package/dist/client/_app/immutable/chunks/BgJkaMKb.js.gz +0 -0
  208. package/dist/client/_app/immutable/chunks/BpsTeBMk2.js.br +0 -0
  209. package/dist/client/_app/immutable/chunks/BpsTeBMk2.js.gz +0 -0
  210. package/dist/client/_app/immutable/chunks/BtTZd70i.js +0 -293
  211. package/dist/client/_app/immutable/chunks/BtTZd70i.js.br +0 -0
  212. package/dist/client/_app/immutable/chunks/BtTZd70i.js.gz +0 -0
  213. package/dist/client/_app/immutable/chunks/CHHvlOt72.js.br +0 -0
  214. package/dist/client/_app/immutable/chunks/CHHvlOt72.js.gz +0 -0
  215. package/dist/client/_app/immutable/chunks/CN98h0cI2.js.br +0 -0
  216. package/dist/client/_app/immutable/chunks/CN98h0cI2.js.gz +0 -0
  217. package/dist/client/_app/immutable/chunks/CNh34b3X2.js.br +0 -0
  218. package/dist/client/_app/immutable/chunks/CNh34b3X2.js.gz +0 -0
  219. package/dist/client/_app/immutable/chunks/CeXz7yzc.js.br +0 -3
  220. package/dist/client/_app/immutable/chunks/CeXz7yzc.js.gz +0 -0
  221. package/dist/client/_app/immutable/chunks/CuyfOZTk2.js.br +0 -0
  222. package/dist/client/_app/immutable/chunks/CuyfOZTk2.js.gz +0 -0
  223. package/dist/client/_app/immutable/chunks/CwcsJxhS2.js.br +0 -0
  224. package/dist/client/_app/immutable/chunks/CwcsJxhS2.js.gz +0 -0
  225. package/dist/client/_app/immutable/chunks/Cx3ix-dL2.js.br +0 -0
  226. package/dist/client/_app/immutable/chunks/Cx3ix-dL2.js.gz +0 -0
  227. package/dist/client/_app/immutable/chunks/D5kSEVHd2.js.br +0 -0
  228. package/dist/client/_app/immutable/chunks/D5kSEVHd2.js.gz +0 -0
  229. package/dist/client/_app/immutable/chunks/D8HnIxQ42.js.br +0 -0
  230. package/dist/client/_app/immutable/chunks/D8HnIxQ42.js.gz +0 -0
  231. package/dist/client/_app/immutable/chunks/D8Kk1mwW.js.br +0 -0
  232. package/dist/client/_app/immutable/chunks/D8Kk1mwW.js.gz +0 -0
  233. package/dist/client/_app/immutable/chunks/DJq0R92X.js.br +0 -0
  234. package/dist/client/_app/immutable/chunks/DJq0R92X.js.gz +0 -0
  235. package/dist/client/_app/immutable/chunks/DRG11iPc2.js.br +0 -0
  236. package/dist/client/_app/immutable/chunks/DRG11iPc2.js.gz +0 -0
  237. package/dist/client/_app/immutable/chunks/Drjp27p72.js.br +0 -0
  238. package/dist/client/_app/immutable/chunks/Drjp27p72.js.gz +0 -0
  239. package/dist/client/_app/immutable/chunks/H2okCofJ.js +0 -3
  240. package/dist/client/_app/immutable/chunks/H2okCofJ.js.br +0 -0
  241. package/dist/client/_app/immutable/chunks/H2okCofJ.js.gz +0 -0
  242. package/dist/client/_app/immutable/chunks/NRUHq-_72.js.br +0 -0
  243. package/dist/client/_app/immutable/chunks/NRUHq-_72.js.gz +0 -0
  244. package/dist/client/_app/immutable/chunks/QKmwP2RH.js +0 -6
  245. package/dist/client/_app/immutable/chunks/QKmwP2RH.js.br +0 -0
  246. package/dist/client/_app/immutable/chunks/QKmwP2RH.js.gz +0 -0
  247. package/dist/client/_app/immutable/chunks/VTYQK3v_2.js.br +0 -0
  248. package/dist/client/_app/immutable/chunks/VTYQK3v_2.js.gz +0 -0
  249. package/dist/client/_app/immutable/chunks/Wjj5hwVF2.js.br +0 -0
  250. package/dist/client/_app/immutable/chunks/Wjj5hwVF2.js.gz +0 -0
  251. package/dist/client/_app/immutable/chunks/YpKUr6uE2.js.br +0 -0
  252. package/dist/client/_app/immutable/chunks/YpKUr6uE2.js.gz +0 -0
  253. package/dist/client/_app/immutable/entry/app.CgTzSlEq.js.br +0 -0
  254. package/dist/client/_app/immutable/entry/app.CgTzSlEq.js.gz +0 -0
  255. package/dist/client/_app/immutable/entry/start.DeuMoHin.js +0 -1
  256. package/dist/client/_app/immutable/entry/start.DeuMoHin.js.br +0 -1
  257. package/dist/client/_app/immutable/entry/start.DeuMoHin.js.gz +0 -0
  258. package/dist/client/_app/immutable/nodes/0.HtU0ZBoq.js.br +0 -0
  259. package/dist/client/_app/immutable/nodes/0.HtU0ZBoq.js.gz +0 -0
  260. package/dist/client/_app/immutable/nodes/1.Hn-xzJlH.js.br +0 -0
  261. package/dist/client/_app/immutable/nodes/1.Hn-xzJlH.js.gz +0 -0
  262. package/dist/client/_app/immutable/nodes/10.5lzO6BCT.js +0 -6
  263. package/dist/client/_app/immutable/nodes/10.5lzO6BCT.js.br +0 -0
  264. package/dist/client/_app/immutable/nodes/10.5lzO6BCT.js.gz +0 -0
  265. package/dist/client/_app/immutable/nodes/2.BrjqCWm0.js +0 -1
  266. package/dist/client/_app/immutable/nodes/2.BrjqCWm0.js.br +0 -0
  267. package/dist/client/_app/immutable/nodes/2.BrjqCWm0.js.gz +0 -0
  268. package/dist/client/_app/immutable/nodes/9.Cr9x1mlV.js.br +0 -0
  269. package/dist/client/_app/immutable/nodes/9.Cr9x1mlV.js.gz +0 -0
  270. package/dist/server/chunks/10-D0mJxn8S.js +0 -22
  271. package/dist/server/chunks/10-D0mJxn8S.js.map +0 -1
  272. package/dist/server/chunks/3-CcIZ_M60.js.map +0 -1
  273. package/dist/server/chunks/4-DyArZX6h.js.map +0 -1
  274. package/dist/server/chunks/5-DVrv6Zto.js.map +0 -1
  275. package/dist/server/chunks/6-AD0Ee23-.js.map +0 -1
  276. package/dist/server/chunks/8-CRPOubhA.js.map +0 -1
  277. package/dist/server/chunks/9-Bk259Pew.js +0 -22
  278. package/dist/server/chunks/9-Bk259Pew.js.map +0 -1
  279. package/dist/server/chunks/_layout.svelte-CP4jFwsK.js.map +0 -1
  280. package/dist/server/chunks/_page.svelte-C7h5iN8e.js.map +0 -1
  281. package/dist/server/chunks/_page.svelte-DNEdNwOa.js.map +0 -1
  282. package/dist/server/chunks/_page.svelte-aqS45KvA.js.map +0 -1
  283. package/dist/server/chunks/_server.ts-CrY08U-x.js.map +0 -1
  284. package/dist/server/chunks/client-BpCCCb_o.js.map +0 -1
  285. package/dist/server/chunks/error-CFpEevfM.js.map +0 -1
  286. package/dist/server/chunks/events-DeYJGjCt.js.map +0 -1
  287. package/dist/server/chunks/internal-DXl_jCjC.js.map +0 -1
  288. package/dist/server/chunks/logo-BCJKEF48.js.map +0 -1
  289. package/dist/server/chunks/request-handler-D-qbwxhh.js.map +0 -1
  290. package/dist/server/chunks/schemas-CyYMWYjZ.js.map +0 -1
  291. /package/dist/client/_app/immutable/assets/{10.BP_hUVIU.css → 3.BP_hUVIU.css} +0 -0
  292. /package/dist/client/_app/immutable/assets/{10.BP_hUVIU.css.br → 3.BP_hUVIU.css.br} +0 -0
  293. /package/dist/client/_app/immutable/assets/{10.BP_hUVIU.css.gz → 3.BP_hUVIU.css.gz} +0 -0
@@ -1,9 +1,9 @@
1
1
  import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-ByNZkrT6.js";
2
- import { $ as onDestroy, Ct as clsx, D as ensure_array_like, M as get$1, P as getContext, St as writable, T as derived$1, bt as unsubscribe_stores, ct as setContext, dt as spread_props, ft as store_get, g as bind_props, gt as tick, h as attributes, it as readonly$1, k as escape_html, p as attr_class, tt as props_id, w as derived, y as clsx$1 } from "./events-DeYJGjCt.js";
3
- import { Q as stringify$1, f as fromStore } from "./internal-DXl_jCjC.js";
4
- import "./exports-8wSs4fiF.js";
5
- import { i as invalidateAll, n as applyAction, t as afterNavigate } from "./client-BpCCCb_o.js";
6
- import { $ as createId, B as Spinner, F as Select, G as attachRef, H as Switch$1, I as Select_content, L as Select_item, Q as createBitsAttrs, R as Select_trigger, U as Switch_thumb, V as StyleToObject, Y as boxWith$1, Z as cn, n as Button, nt as enhance, tt as deserialize, ut as mergeProps$1 } from "./error-CFpEevfM.js";
2
+ import { $ as onDestroy, Ct as clsx, D as ensure_array_like, M as get$1, P as getContext, St as writable, T as derived$1, bt as unsubscribe_stores, ct as setContext, dt as spread_props, ft as store_get, g as bind_props, gt as tick, h as attributes, it as readonly$1, k as escape_html, p as attr_class, tt as props_id, w as derived, y as clsx$1 } from "./events-Bhh2w-5S.js";
3
+ import { Q as stringify$1, f as fromStore } from "./internal2-DF9-voLX.js";
4
+ import "./exports-CWOtdr_a.js";
5
+ import { i as invalidateAll, n as applyAction, t as afterNavigate } from "./client-DWDrOrQL.js";
6
+ import { $ as createBitsAttrs, H as StyleToObject, I as Select, K as attachRef, L as Select_content, Q as cn, R as Select_item, U as Switch$1, W as Switch_thumb, X as boxWith$1, dt as mergeProps$1, et as createId, nt as deserialize, rt as enhance, z as Select_trigger } from "./error-cCQrHDre.js";
7
7
  //#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
8
8
  var _a$1;
9
9
  function $constructor(name, initializer, params) {
@@ -3169,7 +3169,7 @@ function toJSONSchema(input, params) {
3169
3169
  return finalize(ctx, input);
3170
3170
  }
3171
3171
  //#endregion
3172
- //#region .svelte-kit/adapter-bun/chunks/loading-button.js
3172
+ //#region .svelte-kit/adapter-bun/chunks/form.svelte.js
3173
3173
  var labelAttrs = createBitsAttrs({
3174
3174
  component: "label",
3175
3175
  parts: ["root"]
@@ -6688,7 +6688,7 @@ function IsUnsafePropertyKey(key) {
6688
6688
  function HasPropertyKey(value, key) {
6689
6689
  return IsUnsafePropertyKey(key) ? Object.prototype.hasOwnProperty.call(value, key) : key in value;
6690
6690
  }
6691
- /** Returns property keys for this object via `Object.getOwnPropertyKeys({ ... })` */
6691
+ /** Returns property keys for this object via `Object.getOwnPropertyNames({ ... })` */
6692
6692
  function Keys(value) {
6693
6693
  return Object.getOwnPropertyNames(value);
6694
6694
  }
@@ -7233,6 +7233,27 @@ function Infer(...args) {
7233
7233
  function IsInfer(value) {
7234
7234
  return IsKind(value, "Infer");
7235
7235
  }
7236
+ /** Creates a Dependent type */
7237
+ function Dependent$1(if_, then_, else_, options = {}) {
7238
+ return Create({ "~kind": "Dependent" }, {
7239
+ if: if_,
7240
+ then: then_,
7241
+ else: else_
7242
+ }, options);
7243
+ }
7244
+ /** Returns true if the given value is TDependent. */
7245
+ function IsDependent(value) {
7246
+ return IsKind(value, "Dependent");
7247
+ }
7248
+ /** Extracts options from a IsDependent. */
7249
+ function DependentOptions(type) {
7250
+ return Discard(type, [
7251
+ "~kind",
7252
+ "if",
7253
+ "then",
7254
+ "else"
7255
+ ]);
7256
+ }
7236
7257
  function IsTypeScriptEnumLike(value) {
7237
7258
  return IsObjectNotArray(value);
7238
7259
  }
@@ -7461,7 +7482,7 @@ function Null(options) {
7461
7482
  function IsNull(value) {
7462
7483
  return IsKind(value, "Null");
7463
7484
  }
7464
- var NumberPattern = "-?(?:0|[1-9][0-9]*)(?:.[0-9]+)?";
7485
+ var NumberPattern = "-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?";
7465
7486
  /** Creates a Number type. */
7466
7487
  function Number$2(options) {
7467
7488
  return Create({ "~kind": "Number" }, { type: "number" }, options);
@@ -7598,24 +7619,6 @@ function FromBooleanKey(value) {
7598
7619
  false: value
7599
7620
  });
7600
7621
  }
7601
- function FromEnumValue(value) {
7602
- return IsString$1(value) || IsNumber$1(value) ? Literal$1(value) : IsNull$1(value) ? Null() : Never();
7603
- }
7604
- function EnumValuesToVariants(values) {
7605
- return values.map((value) => FromEnumValue(value));
7606
- }
7607
- function EnumValuesToUnion(values) {
7608
- return Union(EnumValuesToVariants(values));
7609
- }
7610
- function EnumToUnion(type) {
7611
- return EnumValuesToUnion(type.enum);
7612
- }
7613
- function FromEnumKey(values, value) {
7614
- return FromKey(EnumValuesToUnion(values), value);
7615
- }
7616
- function FromIntegerKey(_key, value) {
7617
- return CreateRecord(IntegerKey, value);
7618
- }
7619
7622
  /** Creates a Tuple type. */
7620
7623
  function Tuple$1(types, options = {}) {
7621
7624
  const [items, minItems, additionalItems] = [
@@ -7713,18 +7716,45 @@ function DistributeUnion(types, distribution, result = []) {
7713
7716
  function Distribute$1(types, result = []) {
7714
7717
  return TakeLeft(types, (left, right) => IsUnion(left) ? Distribute$1(right, DistributeUnion(left.anyOf, result)) : Distribute$1(right, DistributeType(left, result)), () => result);
7715
7718
  }
7719
+ function ExcludeType(left, right) {
7720
+ return IsExtendsTrueLike(Extends({}, left, right)) ? [] : [left];
7721
+ }
7722
+ function ExcludeUnion(types, right) {
7723
+ return types.reduce((result, head) => {
7724
+ return [...result, ...ExcludeType(head, right)];
7725
+ }, []);
7726
+ }
7727
+ function ExcludeOperation(left, right) {
7728
+ const evaluated = EvaluateType(left);
7729
+ return EvaluateUnion(ExcludeUnion(IsUnion(evaluated) ? evaluated.anyOf : [evaluated], right));
7730
+ }
7731
+ function EvaluateDependent(if_, then_, else_) {
7732
+ return EvaluateUnion([Intersect([if_, then_]), ExcludeOperation(else_, if_)]);
7733
+ }
7734
+ function EvaluateEnum(values) {
7735
+ return EvaluateUnion(values.map((value) => Literal$1(value)));
7736
+ }
7716
7737
  function EvaluateIntersect(types) {
7717
7738
  return Broaden(Distribute$1(types));
7718
7739
  }
7740
+ function EvaluateTemplateLiteral(pattern) {
7741
+ return EvaluateType(TemplateLiteralDecode(pattern));
7742
+ }
7719
7743
  function EvaluateUnion(types) {
7720
7744
  return Broaden(types);
7721
7745
  }
7722
7746
  function EvaluateType(type) {
7723
- return IsIntersect(type) ? EvaluateIntersect(type.allOf) : IsUnion(type) ? EvaluateUnion(type.anyOf) : type;
7747
+ return IsDependent(type) ? EvaluateDependent(type.if, type.then, type.else) : IsEnum(type) ? EvaluateEnum(type.enum) : IsIntersect(type) ? EvaluateIntersect(type.allOf) : IsTemplateLiteral(type) ? EvaluateTemplateLiteral(type.pattern) : IsUnion(type) ? EvaluateUnion(type.anyOf) : type;
7724
7748
  }
7725
7749
  function EvaluateUnionFast(types) {
7726
7750
  return IsEqual(types.length, 1) ? types[0] : IsEqual(types.length, 0) ? Never() : Union(types);
7727
7751
  }
7752
+ function FromEnumKey(values, value) {
7753
+ return FromKey(EvaluateEnum(values), value);
7754
+ }
7755
+ function FromIntegerKey(_key, value) {
7756
+ return CreateRecord(IntegerKey, value);
7757
+ }
7728
7758
  function FromIntersectKey(types, value) {
7729
7759
  return FromKey(EvaluateIntersect(types), value);
7730
7760
  }
@@ -7738,7 +7768,7 @@ function FromStringKey(key, value) {
7738
7768
  return HasPropertyKey(key, "pattern") && (IsString$1(key.pattern) || key.pattern instanceof RegExp) ? CreateRecord(key.pattern.toString(), value) : CreateRecord(StringKey, value);
7739
7769
  }
7740
7770
  function FromTemplateKey(pattern, value) {
7741
- return IsTemplateLiteralFinite(ParsePatternIntoTypes(pattern)) ? FromKey(TemplateLiteralDecode(pattern), value) : CreateRecord(pattern, value);
7771
+ return IsTemplateLiteralFinite(ParsePatternIntoTypes(pattern)) ? FromKey(EvaluateTemplateLiteral(pattern), value) : CreateRecord(pattern, value);
7742
7772
  }
7743
7773
  function FlattenType(type) {
7744
7774
  return IsUnion(type) ? Flatten(type.anyOf) : [type];
@@ -7845,7 +7875,7 @@ function IsVoid(value) {
7845
7875
  return IsKind(value, "Void");
7846
7876
  }
7847
7877
  function IntrinsicOrCall(ref, parameters) {
7848
- return IsEqual(ref, "Array") ? _Array_(parameters[0]) : IsEqual(ref, "AsyncIterator") ? AsyncIterator(parameters[0]) : IsEqual(ref, "Iterator") ? Iterator(parameters[0]) : IsEqual(ref, "Promise") ? _Promise_(parameters[0]) : IsEqual(ref, "Awaited") ? AwaitedDeferred(parameters[0]) : IsEqual(ref, "Capitalize") ? CapitalizeDeferred(parameters[0]) : IsEqual(ref, "ConstructorParameters") ? ConstructorParametersDeferred(parameters[0]) : IsEqual(ref, "Evaluate") ? EvaluateDeferred(parameters[0]) : IsEqual(ref, "Exclude") ? ExcludeDeferred(parameters[0], parameters[1]) : IsEqual(ref, "Extract") ? ExtractDeferred(parameters[0], parameters[1]) : IsEqual(ref, "Index") ? IndexDeferred(parameters[0], parameters[1]) : IsEqual(ref, "InstanceType") ? InstanceTypeDeferred(parameters[0]) : IsEqual(ref, "Lowercase") ? LowercaseDeferred(parameters[0]) : IsEqual(ref, "NonNullable") ? NonNullableDeferred(parameters[0]) : IsEqual(ref, "Omit") ? OmitDeferred(parameters[0], parameters[1]) : IsEqual(ref, "Options") ? OptionsDeferred(parameters[0], parameters[1]) : IsEqual(ref, "Parameters") ? ParametersDeferred(parameters[0]) : IsEqual(ref, "Partial") ? PartialDeferred(parameters[0]) : IsEqual(ref, "Pick") ? PickDeferred(parameters[0], parameters[1]) : IsEqual(ref, "Readonly") ? ReadonlyObjectDeferred(parameters[0]) : IsEqual(ref, "KeyOf") ? KeyOfDeferred(parameters[0]) : IsEqual(ref, "Record") ? RecordDeferred(parameters[0], parameters[1]) : IsEqual(ref, "Required") ? RequiredDeferred(parameters[0]) : IsEqual(ref, "ReturnType") ? ReturnTypeDeferred(parameters[0]) : IsEqual(ref, "Uncapitalize") ? UncapitalizeDeferred(parameters[0]) : IsEqual(ref, "Uppercase") ? UppercaseDeferred(parameters[0]) : CallConstruct(Ref(ref), parameters);
7878
+ return IsEqual(ref, "Array") ? _Array_(parameters[0]) : IsEqual(ref, "AsyncIterator") ? AsyncIterator(parameters[0]) : IsEqual(ref, "Iterator") ? Iterator(parameters[0]) : IsEqual(ref, "Promise") ? _Promise_(parameters[0]) : IsEqual(ref, "Awaited") ? AwaitedDeferred(parameters[0]) : IsEqual(ref, "Capitalize") ? CapitalizeDeferred(parameters[0]) : IsEqual(ref, "ConstructorParameters") ? ConstructorParametersDeferred(parameters[0]) : IsEqual(ref, "Evaluate") ? EvaluateDeferred(parameters[0]) : IsEqual(ref, "Exclude") ? ExcludeDeferred(parameters[0], parameters[1]) : IsEqual(ref, "Extract") ? ExtractDeferred(parameters[0], parameters[1]) : IsEqual(ref, "Index") ? IndexDeferred(parameters[0], parameters[1]) : IsEqual(ref, "InstanceType") ? InstanceTypeDeferred(parameters[0]) : IsEqual(ref, "Lowercase") ? LowercaseDeferred(parameters[0]) : IsEqual(ref, "NonNullable") ? NonNullableDeferred(parameters[0]) : IsEqual(ref, "Omit") ? OmitDeferred(parameters[0], parameters[1]) : IsEqual(ref, "Parameters") ? ParametersDeferred(parameters[0]) : IsEqual(ref, "Partial") ? PartialDeferred(parameters[0]) : IsEqual(ref, "Pick") ? PickDeferred(parameters[0], parameters[1]) : IsEqual(ref, "Readonly") ? ReadonlyObjectDeferred(parameters[0]) : IsEqual(ref, "KeyOf") ? KeyOfDeferred(parameters[0]) : IsEqual(ref, "Record") ? RecordDeferred(parameters[0], parameters[1]) : IsEqual(ref, "Required") ? RequiredDeferred(parameters[0]) : IsEqual(ref, "ReturnType") ? ReturnTypeDeferred(parameters[0]) : IsEqual(ref, "Uncapitalize") ? UncapitalizeDeferred(parameters[0]) : IsEqual(ref, "Uppercase") ? UppercaseDeferred(parameters[0]) : CallConstruct(Ref(ref), parameters);
7849
7879
  }
7850
7880
  function Unreachable() {
7851
7881
  throw Error("Unreachable");
@@ -8002,7 +8032,7 @@ function FactorExtends(type, extend) {
8002
8032
  return IsEqual(extend.length, 3) ? ConditionalDeferred(type, extend[0], extend[1], extend[2]) : type;
8003
8033
  }
8004
8034
  function FactorWith(type, withClause) {
8005
- return IsArray$1(withClause) && IsEqual(withClause.length, 0) ? type : OptionsDeferred(type, withClause);
8035
+ return IsArray$1(withClause) && IsEqual(withClause.length, 0) ? type : WithDeferred(type, withClause);
8006
8036
  }
8007
8037
  function FactorMapping(input) {
8008
8038
  const [keyOf, type, indexArray, extend, withClause] = input;
@@ -8158,12 +8188,12 @@ function MappedAsMapping(input) {
8158
8188
  function MappedMapping(input) {
8159
8189
  return IsArray$1(input[6]) && IsEqual(input[6].length, 1) ? MappedDeferred(Identifier(input[3]), input[5], input[6][0], ApplyReadonly$1(input[1], ApplyOptional$1(input[8], input[10]))) : MappedDeferred(Identifier(input[3]), input[5], Ref(input[3]), ApplyReadonly$1(input[1], ApplyOptional$1(input[8], input[10])));
8160
8190
  }
8191
+ function DependentMapping(input) {
8192
+ return IsEqual(input.length, 6) ? Dependent$1(input[1], input[3], input[5]) : Dependent$1(input[1], input[3], Unknown());
8193
+ }
8161
8194
  function ReferenceMapping(input) {
8162
8195
  return Ref(input);
8163
8196
  }
8164
- function OptionsMapping(input) {
8165
- return OptionsDeferred(input[2], input[4]);
8166
- }
8167
8197
  function JsonNumberMapping(input) {
8168
8198
  return parseFloat(input);
8169
8199
  }
@@ -8554,9 +8584,9 @@ var Base = (input) => If(If(If(Const("(", input), ([_0, input]) => If(Type(input
8554
8584
  _0,
8555
8585
  _1,
8556
8586
  _2
8557
- ], input]))), ([_0, input]) => [_0, input], () => If(Keyword(input), ([_0, input]) => [_0, input], () => If(_Object_(input), ([_0, input]) => [_0, input], () => If(Tuple(input), ([_0, input]) => [_0, input], () => If(TemplateLiteral$1(input), ([_0, input]) => [_0, input], () => If(Literal(input), ([_0, input]) => [_0, input], () => If(Constructor(input), ([_0, input]) => [_0, input], () => If(_Function_(input), ([_0, input]) => [_0, input], () => If(Mapped$1(input), ([_0, input]) => [_0, input], () => If(Options$1(input), ([_0, input]) => [_0, input], () => If(GenericCall(input), ([_0, input]) => [_0, input], () => If(Reference(input), ([_0, input]) => [_0, input], () => [])))))))))))), ([_0, input]) => [BaseMapping(_0), input]);
8558
- var With = (input) => If(If(If(Const("with", input), ([_0, input]) => If(JsonObject(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [WithMapping(_0), input]);
8559
- var Factor = (input) => If(If(KeyOf$1(input), ([_0, input]) => If(Base(input), ([_1, input]) => If(IndexArray(input), ([_2, input]) => If(Extends$1(input), ([_3, input]) => If(With(input), ([_4, input]) => [[
8587
+ ], input]))), ([_0, input]) => [_0, input], () => If(Keyword(input), ([_0, input]) => [_0, input], () => If(_Object_(input), ([_0, input]) => [_0, input], () => If(Tuple(input), ([_0, input]) => [_0, input], () => If(TemplateLiteral$1(input), ([_0, input]) => [_0, input], () => If(Literal(input), ([_0, input]) => [_0, input], () => If(Constructor(input), ([_0, input]) => [_0, input], () => If(_Function_(input), ([_0, input]) => [_0, input], () => If(Mapped$1(input), ([_0, input]) => [_0, input], () => If(Dependent(input), ([_0, input]) => [_0, input], () => If(GenericCall(input), ([_0, input]) => [_0, input], () => If(Reference(input), ([_0, input]) => [_0, input], () => [])))))))))))), ([_0, input]) => [BaseMapping(_0), input]);
8588
+ var With$1 = (input) => If(If(If(Const("with", input), ([_0, input]) => If(JsonObject(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [WithMapping(_0), input]);
8589
+ var Factor = (input) => If(If(KeyOf$1(input), ([_0, input]) => If(Base(input), ([_1, input]) => If(IndexArray(input), ([_2, input]) => If(Extends$1(input), ([_3, input]) => If(With$1(input), ([_4, input]) => [[
8560
8590
  _0,
8561
8591
  _1,
8562
8592
  _2,
@@ -8716,15 +8746,20 @@ var Mapped$1 = (input) => If(If(Const("{", input), ([_0, input]) => If(MappedRea
8716
8746
  _11,
8717
8747
  _12
8718
8748
  ], input]))))))))))))), ([_0, input]) => [MappedMapping(_0), input]);
8719
- var Reference = (input) => If(Ident(input), ([_0, input]) => [ReferenceMapping(_0), input]);
8720
- var Options$1 = (input) => If(If(Const("Options", input), ([_0, input]) => If(Const("<", input), ([_1, input]) => If(Type(input), ([_2, input]) => If(Const(",", input), ([_3, input]) => If(JsonObject(input), ([_4, input]) => If(Const(">", input), ([_5, input]) => [[
8749
+ var Dependent = (input) => If(If(If(Const("if", input), ([_0, input]) => If(Type(input), ([_1, input]) => If(Const("then", input), ([_2, input]) => If(Type(input), ([_3, input]) => If(Const("else", input), ([_4, input]) => If(Type(input), ([_5, input]) => [[
8721
8750
  _0,
8722
8751
  _1,
8723
8752
  _2,
8724
8753
  _3,
8725
8754
  _4,
8726
8755
  _5
8727
- ], input])))))), ([_0, input]) => [OptionsMapping(_0), input]);
8756
+ ], input])))))), ([_0, input]) => [_0, input], () => If(If(Const("if", input), ([_0, input]) => If(Type(input), ([_1, input]) => If(Const("then", input), ([_2, input]) => If(Type(input), ([_3, input]) => [[
8757
+ _0,
8758
+ _1,
8759
+ _2,
8760
+ _3
8761
+ ], input])))), ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [DependentMapping(_0), input]);
8762
+ var Reference = (input) => If(Ident(input), ([_0, input]) => [ReferenceMapping(_0), input]);
8728
8763
  var JsonNumber = (input) => If(Number$1(input), ([_0, input]) => [JsonNumberMapping(_0), input]);
8729
8764
  var JsonBoolean = (input) => If(If(Const("true", input), ([_0, input]) => [_0, input], () => If(Const("false", input), ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [JsonBooleanMapping(_0), input]);
8730
8765
  var JsonString = (input) => If(String$1(["\"", "'"], input), ([_0, input]) => [JsonStringMapping(_0), input]);
@@ -8751,13 +8786,13 @@ var JsonArray = (input) => If(If(Const("[", input), ([_0, input]) => If(JsonElem
8751
8786
  var Json = (input) => If(If(JsonNumber(input), ([_0, input]) => [_0, input], () => If(JsonBoolean(input), ([_0, input]) => [_0, input], () => If(JsonString(input), ([_0, input]) => [_0, input], () => If(JsonNull(input), ([_0, input]) => [_0, input], () => If(JsonObject(input), ([_0, input]) => [_0, input], () => If(JsonArray(input), ([_0, input]) => [_0, input], () => [])))))), ([_0, input]) => [JsonMapping(_0), input]);
8752
8787
  var PatternBigInt = (input) => If(Const("-?(?:0|[1-9][0-9]*)n", input), ([_0, input]) => [PatternBigIntMapping(_0), input]);
8753
8788
  var PatternString = (input) => If(Const(".*", input), ([_0, input]) => [PatternStringMapping(_0), input]);
8754
- var PatternNumber = (input) => If(Const("-?(?:0|[1-9][0-9]*)(?:.[0-9]+)?", input), ([_0, input]) => [PatternNumberMapping(_0), input]);
8789
+ var PatternNumber = (input) => If(Const("-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?", input), ([_0, input]) => [PatternNumberMapping(_0), input]);
8755
8790
  var PatternInteger = (input) => If(Const("-?(?:0|[1-9][0-9]*)", input), ([_0, input]) => [PatternIntegerMapping(_0), input]);
8756
8791
  var PatternNever = (input) => If(Const("(?!)", input), ([_0, input]) => [PatternNeverMapping(_0), input]);
8757
8792
  var PatternText = (input) => If(Until_1([
8758
8793
  "-?(?:0|[1-9][0-9]*)n",
8759
8794
  ".*",
8760
- "-?(?:0|[1-9][0-9]*)(?:.[0-9]+)?",
8795
+ "-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?",
8761
8796
  "-?(?:0|[1-9][0-9]*)",
8762
8797
  "(?!)",
8763
8798
  "(",
@@ -8858,8 +8893,8 @@ function EncodeTemplateLiteral(templatePattern, right, pattern) {
8858
8893
  function EncodeTemplateLiteralDeferred(types, right, pattern) {
8859
8894
  return EncodeType(TemplateLiteralAction(types, {}), right, pattern);
8860
8895
  }
8861
- function EncodeEnum(types, right, pattern) {
8862
- return EncodeUnion(EnumValuesToVariants(types), right, pattern);
8896
+ function EncodeEnum(values, right, pattern) {
8897
+ return EncodeType(EvaluateEnum(values), right, pattern);
8863
8898
  }
8864
8899
  function EncodeUnion(types, right, pattern, result = []) {
8865
8900
  return TakeLeft(types, (head, tail) => EncodeUnion(tail, right, pattern, [...result, EncodeType(head, [], "")]), () => EncodeTypes(right, `${pattern}(${JoinString(result)})`));
@@ -8945,20 +8980,23 @@ function ExtendsRightInfer(inferred, name, left, right) {
8945
8980
  function ExtendsRightAny(inferred, _left) {
8946
8981
  return ExtendsTrue(inferred);
8947
8982
  }
8983
+ function ExtendsRightDependent(inferred, left, if_, then_, else_) {
8984
+ return Match(ExtendsLeft(inferred, left, if_), (inferred) => Match(ExtendsLeft(inferred, left, then_), (inferred) => ExtendsTrue(inferred), () => ExtendsFalse()), () => Match(ExtendsLeft(inferred, left, else_), (inferred) => ExtendsTrue(inferred), () => ExtendsFalse()));
8985
+ }
8948
8986
  function ExtendsRightEnum(inferred, left, right) {
8949
- return ExtendsLeft(inferred, left, EnumValuesToUnion(right));
8987
+ return ExtendsLeft(inferred, left, EvaluateEnum(right));
8950
8988
  }
8951
8989
  function ExtendsRightIntersect(inferred, left, right) {
8952
8990
  return TakeLeft(right, (head, tail) => Match(ExtendsLeft(inferred, left, head), (inferred) => ExtendsRightIntersect(inferred, left, tail), () => ExtendsFalse()), () => ExtendsTrue(inferred));
8953
8991
  }
8954
8992
  function ExtendsRightTemplateLiteral(inferred, left, right) {
8955
- return ExtendsLeft(inferred, left, TemplateLiteralDecode(right));
8993
+ return ExtendsLeft(inferred, left, EvaluateTemplateLiteral(right));
8956
8994
  }
8957
8995
  function ExtendsRightUnion(inferred, left, right) {
8958
8996
  return TakeLeft(right, (head, tail) => Match(ExtendsLeft(inferred, left, head), (inferred) => ExtendsTrue(inferred), () => ExtendsRightUnion(inferred, left, tail)), () => ExtendsFalse());
8959
8997
  }
8960
8998
  function ExtendsRight(inferred, left, right) {
8961
- return IsAny(right) ? ExtendsRightAny(inferred, left) : IsEnum(right) ? ExtendsRightEnum(inferred, left, right.enum) : IsInfer(right) ? ExtendsRightInfer(inferred, right.name, left, right.extends) : IsIntersect(right) ? ExtendsRightIntersect(inferred, left, right.allOf) : IsTemplateLiteral(right) ? ExtendsRightTemplateLiteral(inferred, left, right.pattern) : IsUnion(right) ? ExtendsRightUnion(inferred, left, right.anyOf) : IsUnknown(right) ? ExtendsTrue(inferred) : ExtendsFalse();
8999
+ return IsAny(right) ? ExtendsRightAny(inferred, left) : IsDependent(right) ? ExtendsRightDependent(inferred, left, right.if, right.then, right.else) : IsEnum(right) ? ExtendsRightEnum(inferred, left, right.enum) : IsInfer(right) ? ExtendsRightInfer(inferred, right.name, left, right.extends) : IsIntersect(right) ? ExtendsRightIntersect(inferred, left, right.allOf) : IsTemplateLiteral(right) ? ExtendsRightTemplateLiteral(inferred, left, right.pattern) : IsUnion(right) ? ExtendsRightUnion(inferred, left, right.anyOf) : IsUnknown(right) ? ExtendsTrue(inferred) : ExtendsFalse();
8962
9000
  }
8963
9001
  function ExtendsAny(inferred, left, right) {
8964
9002
  return IsInfer(right) ? ExtendsRight(inferred, left, right) : IsAny(right) ? ExtendsTrue(inferred) : IsUnknown(right) ? ExtendsTrue(inferred) : ExtendsUnion$1(inferred);
@@ -9002,8 +9040,11 @@ function ExtendsReturnType(inferred, left, right) {
9002
9040
  function ExtendsConstructor(inferred, parameters, returnType, right) {
9003
9041
  return IsAny(right) ? ExtendsTrue(inferred) : IsUnknown(right) ? ExtendsTrue(inferred) : IsConstructor(right) ? Match(ExtendsParameters(inferred, parameters, right["parameters"]), (inferred) => ExtendsReturnType(inferred, returnType, right["instanceType"]), () => ExtendsFalse()) : ExtendsFalse();
9004
9042
  }
9043
+ function ExtendsDependent(inferred, if_, then_, else_, right) {
9044
+ return Match(ExtendsLeft(inferred, if_, right), () => ExtendsLeft(inferred, then_, right), () => ExtendsLeft(inferred, else_, right));
9045
+ }
9005
9046
  function ExtendsEnum(inferred, left, right) {
9006
- return ExtendsLeft(inferred, EnumToUnion(left), right);
9047
+ return ExtendsLeft(inferred, EvaluateEnum(left), right);
9007
9048
  }
9008
9049
  function ExtendsFunction(inferred, parameters, returnType, right) {
9009
9050
  return IsAny(right) ? ExtendsTrue(inferred) : IsUnknown(right) ? ExtendsTrue(inferred) : IsFunction(right) ? Match(ExtendsParameters(inferred, parameters, right["parameters"]), (inferred) => ExtendsReturnType(inferred, returnType, right["returnType"]), () => ExtendsFalse()) : ExtendsFalse();
@@ -9085,7 +9126,7 @@ function ExtendsSymbol(inferred, left, right) {
9085
9126
  return IsSymbol(right) ? ExtendsTrue(inferred) : ExtendsRight(inferred, left, right);
9086
9127
  }
9087
9128
  function ExtendsTemplateLiteral(inferred, left, right) {
9088
- return ExtendsLeft(inferred, TemplateLiteralDecode(left), right);
9129
+ return ExtendsLeft(inferred, EvaluateTemplateLiteral(left), right);
9089
9130
  }
9090
9131
  function Inferrable(name, type) {
9091
9132
  return Create({ "~kind": "Inferrable" }, {
@@ -9169,7 +9210,7 @@ function ExtendsVoid(inferred, left, right) {
9169
9210
  return IsVoid(right) ? ExtendsTrue(inferred) : ExtendsRight(inferred, left, right);
9170
9211
  }
9171
9212
  function ExtendsLeft(inferred, left, right) {
9172
- return IsAny(left) ? ExtendsAny(inferred, left, right) : IsArray(left) ? ExtendsArray(inferred, left, left.items, right) : IsAsyncIterator(left) ? ExtendsAsyncIterator(inferred, left.iteratorItems, right) : IsBigInt(left) ? ExtendsBigInt(inferred, left, right) : IsBoolean(left) ? ExtendsBoolean(inferred, left, right) : IsConstructor(left) ? ExtendsConstructor(inferred, left.parameters, left.instanceType, right) : IsEnum(left) ? ExtendsEnum(inferred, left, right) : IsFunction(left) ? ExtendsFunction(inferred, left.parameters, left.returnType, right) : IsInteger(left) ? ExtendsInteger(inferred, left, right) : IsIntersect(left) ? ExtendsIntersect(inferred, left.allOf, right) : IsIterator(left) ? ExtendsIterator(inferred, left.iteratorItems, right) : IsLiteral(left) ? ExtendsLiteral(inferred, left, right) : IsNever(left) ? ExtendsNever(inferred, left, right) : IsNull(left) ? ExtendsNull(inferred, left, right) : IsNumber(left) ? ExtendsNumber(inferred, left, right) : IsObject(left) ? ExtendsObject(inferred, left.properties, right) : IsPromise(left) ? ExtendsPromise(inferred, left.item, right) : IsString(left) ? ExtendsString(inferred, left, right) : IsSymbol(left) ? ExtendsSymbol(inferred, left, right) : IsTemplateLiteral(left) ? ExtendsTemplateLiteral(inferred, left.pattern, right) : IsTuple(left) ? ExtendsTuple(inferred, left.items, right) : IsUndefined(left) ? ExtendsUndefined(inferred, left, right) : IsUnion(left) ? ExtendsUnion(inferred, left.anyOf, right) : IsUnknown(left) ? ExtendsUnknown(inferred, left, right) : IsVoid(left) ? ExtendsVoid(inferred, left, right) : ExtendsFalse();
9213
+ return IsAny(left) ? ExtendsAny(inferred, left, right) : IsArray(left) ? ExtendsArray(inferred, left, left.items, right) : IsAsyncIterator(left) ? ExtendsAsyncIterator(inferred, left.iteratorItems, right) : IsBigInt(left) ? ExtendsBigInt(inferred, left, right) : IsBoolean(left) ? ExtendsBoolean(inferred, left, right) : IsConstructor(left) ? ExtendsConstructor(inferred, left.parameters, left.instanceType, right) : IsDependent(left) ? ExtendsDependent(inferred, left.if, left.then, left.else, right) : IsEnum(left) ? ExtendsEnum(inferred, left.enum, right) : IsFunction(left) ? ExtendsFunction(inferred, left.parameters, left.returnType, right) : IsInteger(left) ? ExtendsInteger(inferred, left, right) : IsIntersect(left) ? ExtendsIntersect(inferred, left.allOf, right) : IsIterator(left) ? ExtendsIterator(inferred, left.iteratorItems, right) : IsLiteral(left) ? ExtendsLiteral(inferred, left, right) : IsNever(left) ? ExtendsNever(inferred, left, right) : IsNull(left) ? ExtendsNull(inferred, left, right) : IsNumber(left) ? ExtendsNumber(inferred, left, right) : IsObject(left) ? ExtendsObject(inferred, left.properties, right) : IsPromise(left) ? ExtendsPromise(inferred, left.item, right) : IsString(left) ? ExtendsString(inferred, left, right) : IsSymbol(left) ? ExtendsSymbol(inferred, left, right) : IsTemplateLiteral(left) ? ExtendsTemplateLiteral(inferred, left.pattern, right) : IsTuple(left) ? ExtendsTuple(inferred, left.items, right) : IsUndefined(left) ? ExtendsUndefined(inferred, left, right) : IsUnion(left) ? ExtendsUnion(inferred, left.anyOf, right) : IsUnknown(left) ? ExtendsUnknown(inferred, left, right) : IsVoid(left) ? ExtendsVoid(inferred, left, right) : ExtendsFalse();
9173
9214
  }
9174
9215
  function InterfaceOperation(heritage, properties) {
9175
9216
  return EvaluateIntersect([...heritage, _Object_$1(properties)]);
@@ -9450,7 +9491,7 @@ function FromLiteral$2(mapping, value) {
9450
9491
  return IsString$1(value) ? Literal$1(ApplyMapping(mapping, value)) : Literal$1(value);
9451
9492
  }
9452
9493
  function FromTemplateLiteral$2(mapping, pattern) {
9453
- return FromType$11(mapping, TemplateLiteralDecode(pattern));
9494
+ return FromType$11(mapping, EvaluateTemplateLiteral(pattern));
9454
9495
  }
9455
9496
  function FromUnion$6(mapping, types) {
9456
9497
  return Union(types.map((type) => FromType$11(mapping, type)));
@@ -9566,17 +9607,6 @@ function ExcludeDeferred(left, right, options = {}) {
9566
9607
  function Exclude(left, right, options = {}) {
9567
9608
  return ExcludeAction(left, right, options);
9568
9609
  }
9569
- function ExcludeUnionLeft(types, right) {
9570
- return types.reduce((result, head) => {
9571
- return [...result, ...ExcludeTypeLeft(head, right)];
9572
- }, []);
9573
- }
9574
- function ExcludeTypeLeft(left, right) {
9575
- return IsExtendsTrueLike(Extends({}, left, right)) ? [] : [left];
9576
- }
9577
- function ExcludeOperation(left, right) {
9578
- return EvaluateUnion(IsEnum(left) ? ExcludeUnionLeft(EnumValuesToVariants(left.enum), right) : IsUnion(left) ? ExcludeUnionLeft(Flatten(left.anyOf), right) : ExcludeTypeLeft(left, right));
9579
- }
9580
9610
  function ExcludeAction(left, right, options) {
9581
9611
  return CanInstantiate([left, right]) ? Update(ExcludeOperation(left, right), {}, options) : ExcludeDeferred(left, right, options);
9582
9612
  }
@@ -9591,16 +9621,17 @@ function ExtractDeferred(left, right, options = {}) {
9591
9621
  function Extract(left, right, options = {}) {
9592
9622
  return ExtractAction(left, right, options);
9593
9623
  }
9594
- function ExtractUnionLeft(types, right) {
9624
+ function ExtractType(left, right) {
9625
+ return IsExtendsTrueLike(Extends({}, left, right)) ? [left] : [];
9626
+ }
9627
+ function ExtractUnion(types, right) {
9595
9628
  return types.reduce((result, head) => {
9596
- return [...result, ...ExtractTypeLeft(head, right)];
9629
+ return [...result, ...ExtractType(head, right)];
9597
9630
  }, []);
9598
9631
  }
9599
- function ExtractTypeLeft(left, right) {
9600
- return IsExtendsTrueLike(Extends({}, left, right)) ? [left] : [];
9601
- }
9602
9632
  function ExtractOperation(left, right) {
9603
- return EvaluateUnion(IsEnum(left) ? ExtractUnionLeft(EnumValuesToVariants(left.enum), right) : IsUnion(left) ? ExtractUnionLeft(Flatten(left.anyOf), right) : ExtractTypeLeft(left, right));
9633
+ const evaluated = EvaluateType(left);
9634
+ return EvaluateUnion(ExtractUnion(IsUnion(evaluated) ? evaluated.anyOf : [evaluated], right));
9604
9635
  }
9605
9636
  function ExtractAction(left, right, options) {
9606
9637
  return CanInstantiate([left, right]) ? Update(ExtractOperation(left, right), {}, options) : ExtractDeferred(left, right, options);
@@ -9627,6 +9658,9 @@ function Index(type, indexer_or_keys, options = {}) {
9627
9658
  function FromCyclic$4(defs, ref) {
9628
9659
  return FromType$10(CyclicTarget(defs, ref));
9629
9660
  }
9661
+ function FromDependent$4(if_, then_, else_) {
9662
+ return FromType$10(EvaluateDependent(if_, then_, else_));
9663
+ }
9630
9664
  function CollapseIntersectProperties(left, right) {
9631
9665
  const leftKeys = Keys(left).filter((key) => !HasPropertyKey(right, key));
9632
9666
  const rightKeys = Keys(right).filter((key) => !HasPropertyKey(left, key));
@@ -9671,7 +9705,7 @@ function FromUnion$5(types) {
9671
9705
  return TakeLeft(types, (left, right) => ReduceVariants(right, FromType$10(left)), () => Unreachable$1());
9672
9706
  }
9673
9707
  function FromType$10(type) {
9674
- return IsCyclic(type) ? FromCyclic$4(type.$defs, type.$ref) : IsIntersect(type) ? FromIntersect$4(type.allOf) : IsUnion(type) ? FromUnion$5(type.anyOf) : IsTuple(type) ? FromTuple$3(type.items) : IsObject(type) ? FromObject$5(type.properties) : {};
9708
+ return IsCyclic(type) ? FromCyclic$4(type.$defs, type.$ref) : IsDependent(type) ? FromDependent$4(type.if, type.then, type.else) : IsIntersect(type) ? FromIntersect$4(type.allOf) : IsUnion(type) ? FromUnion$5(type.anyOf) : IsTuple(type) ? FromTuple$3(type.items) : IsObject(type) ? FromObject$5(type.properties) : {};
9675
9709
  }
9676
9710
  /**
9677
9711
  * Collapses a type into a TObject schema. This is a lossy fast path used to
@@ -9702,13 +9736,11 @@ function FromArray$2(type, indexer) {
9702
9736
  function FromCyclic$3(defs, ref) {
9703
9737
  return FromType$9(CyclicTarget(defs, ref));
9704
9738
  }
9705
- function FromUnion$4(types) {
9706
- return types.reduce((result, left) => {
9707
- return [...result, ...FromType$9(left)];
9708
- }, []);
9739
+ function FromDependent$3(if_, then_, else_) {
9740
+ return FromType$9(EvaluateDependent(if_, then_, else_));
9709
9741
  }
9710
- function FromEnum(values) {
9711
- return FromUnion$4(EnumValuesToVariants(values));
9742
+ function FromEnum$1(values) {
9743
+ return FromType$9(EvaluateEnum(values));
9712
9744
  }
9713
9745
  function FromIntersect$3(types) {
9714
9746
  return FromType$9(EvaluateIntersect(types));
@@ -9717,10 +9749,15 @@ function FromLiteral$1(value) {
9717
9749
  return [`${value}`];
9718
9750
  }
9719
9751
  function FromTemplateLiteral$1(pattern) {
9720
- return FromType$9(TemplateLiteralDecode(pattern));
9752
+ return FromType$9(EvaluateTemplateLiteral(pattern));
9753
+ }
9754
+ function FromUnion$4(types) {
9755
+ return types.reduce((result, left) => {
9756
+ return [...result, ...FromType$9(left)];
9757
+ }, []);
9721
9758
  }
9722
9759
  function FromType$9(type) {
9723
- return IsCyclic(type) ? FromCyclic$3(type.$defs, type.$ref) : IsEnum(type) ? FromEnum(type.enum) : IsIntersect(type) ? FromIntersect$3(type.allOf) : IsLiteral(type) ? FromLiteral$1(type.const) : IsTemplateLiteral(type) ? FromTemplateLiteral$1(type.pattern) : IsUnion(type) ? FromUnion$4(type.anyOf) : [];
9760
+ return IsCyclic(type) ? FromCyclic$3(type.$defs, type.$ref) : IsDependent(type) ? FromDependent$3(type.if, type.then, type.else) : IsEnum(type) ? FromEnum$1(type.enum) : IsIntersect(type) ? FromIntersect$3(type.allOf) : IsLiteral(type) ? FromLiteral$1(type.const) : IsTemplateLiteral(type) ? FromTemplateLiteral$1(type.pattern) : IsUnion(type) ? FromUnion$4(type.anyOf) : [];
9724
9761
  }
9725
9762
  /**
9726
9763
  * Transforms a type meant as an Indexer into string[] array which is used by Indexable types
@@ -9789,7 +9826,7 @@ function FromType$7(type, indexer) {
9789
9826
  return IsArray(type) ? FromArray$2(type.items, indexer) : IsObject(type) ? FromObject$4(type.properties, indexer) : IsTuple(type) ? FromTuple$2(type.items, indexer) : Never();
9790
9827
  }
9791
9828
  function NormalizeType$1(type) {
9792
- return IsCyclic(type) || IsIntersect(type) || IsUnion(type) ? CollapseToObject(type) : type;
9829
+ return IsCyclic(type) || IsDependent(type) || IsIntersect(type) || IsUnion(type) ? CollapseToObject(type) : type;
9793
9830
  }
9794
9831
  function IndexAction(type, indexer, options) {
9795
9832
  return CanInstantiate([type, indexer]) ? Update(FromType$7(NormalizeType$1(type), indexer), {}, options) : IndexDeferred(type, indexer, options);
@@ -9850,7 +9887,7 @@ function FromType$6(type) {
9850
9887
  return IsAny(type) ? FromAny() : IsArray(type) ? FromArray$1(type.items) : IsObject(type) ? FromObject$3(type.properties) : IsRecord(type) ? FromRecord(type) : IsTuple(type) ? FromTuple$1(type.items) : Never();
9851
9888
  }
9852
9889
  function NormalizeType(type) {
9853
- return IsCyclic(type) || IsIntersect(type) || IsUnion(type) ? CollapseToObject(type) : type;
9890
+ return IsCyclic(type) || IsDependent(type) || IsIntersect(type) || IsUnion(type) ? CollapseToObject(type) : type;
9854
9891
  }
9855
9892
  function KeyOfAction(type, options) {
9856
9893
  return CanInstantiate([type]) ? Update(FromType$6(NormalizeType(type)), {}, options) : KeyOfDeferred(type, options);
@@ -9872,24 +9909,27 @@ function Mapped(identifier, type, as, property, options = {}) {
9872
9909
  return MappedAction({}, { callstack: [] }, identifier, type, as, property, options);
9873
9910
  }
9874
9911
  function FromTemplateLiteral(pattern) {
9875
- return FromType$5(TemplateLiteralDecode(pattern));
9912
+ return FromType$5(EvaluateTemplateLiteral(pattern));
9876
9913
  }
9877
9914
  function FromUnion$3(types) {
9878
9915
  return types.reduce((result, left) => {
9879
9916
  return [...result, ...FromType$5(left)];
9880
9917
  }, []);
9881
9918
  }
9919
+ function FromEnum(values) {
9920
+ return FromType$5(EvaluateEnum(values));
9921
+ }
9882
9922
  function FromLiteral(value) {
9883
9923
  return IsNumber$1(value) ? [Literal$1(`${value}`)] : [Literal$1(value)];
9884
9924
  }
9885
9925
  function FromType$5(type) {
9886
- return IsEnum(type) ? FromUnion$3(EnumValuesToVariants(type.enum)) : IsLiteral(type) ? FromLiteral(type.const) : IsTemplateLiteral(type) ? FromTemplateLiteral(type.pattern) : IsUnion(type) ? FromUnion$3(type.anyOf) : [type];
9926
+ return IsEnum(type) ? FromEnum(type.enum) : IsLiteral(type) ? FromLiteral(type.const) : IsTemplateLiteral(type) ? FromTemplateLiteral(type.pattern) : IsUnion(type) ? FromUnion$3(type.anyOf) : [type];
9887
9927
  }
9888
9928
  function MappedVariants(type) {
9889
9929
  return FromType$5(type);
9890
9930
  }
9891
9931
  function CanonicalAs(instantiatedAs) {
9892
- return IsTemplateLiteral(instantiatedAs) ? TemplateLiteralDecode(instantiatedAs.pattern) : instantiatedAs;
9932
+ return IsTemplateLiteral(instantiatedAs) ? EvaluateTemplateLiteral(instantiatedAs.pattern) : instantiatedAs;
9893
9933
  }
9894
9934
  function MappedVariant(context, state, identifier, variant, as, property) {
9895
9935
  const variantContext = Assign(context, { [identifier["name"]]: variant });
@@ -9991,20 +10031,6 @@ function OmitAction(type, indexer, options) {
9991
10031
  function OmitInstantiate(context, state, type, indexer, options) {
9992
10032
  return OmitAction(InstantiateType(context, state, type), InstantiateType(context, state, indexer), options);
9993
10033
  }
9994
- /** Creates a deferred Options action. */
9995
- function OptionsDeferred(type, options) {
9996
- return Deferred("Options", [type, options], {});
9997
- }
9998
- /** Applies an immediate Options action to the given type. */
9999
- function Options(type, options) {
10000
- return OptionsAction(type, options);
10001
- }
10002
- function OptionsAction(type, options) {
10003
- return CanInstantiate([type]) ? Update(type, {}, options) : OptionsDeferred(type, options);
10004
- }
10005
- function OptionsInstantiate(context, state, type, options) {
10006
- return OptionsAction(InstantiateType(context, state, type), options);
10007
- }
10008
10034
  /** Creates a deferred Parameters action. */
10009
10035
  function ParametersDeferred(type, options = {}) {
10010
10036
  return Deferred("Parameters", [type], options);
@@ -10034,8 +10060,11 @@ function FromCyclic$2(defs, ref) {
10034
10060
  const partial = FromType$3(CyclicTarget(defs, ref));
10035
10061
  return Cyclic(Assign(defs, { [ref]: partial }), ref);
10036
10062
  }
10063
+ function FromDependent$2(if_, then_, else_) {
10064
+ return FromType$3(EvaluateDependent(if_, then_, else_));
10065
+ }
10037
10066
  function FromIntersect$2(types) {
10038
- return EvaluateIntersect(types.map((type) => FromType$3(type)));
10067
+ return FromType$3(EvaluateIntersect(types));
10039
10068
  }
10040
10069
  function FromUnion$2(types) {
10041
10070
  return Union(types.map((type) => FromType$3(type)));
@@ -10049,7 +10078,7 @@ function FromObject$2(properties) {
10049
10078
  }, {}));
10050
10079
  }
10051
10080
  function FromType$3(type) {
10052
- return IsCyclic(type) ? FromCyclic$2(type.$defs, type.$ref) : IsIntersect(type) ? FromIntersect$2(type.allOf) : IsUnion(type) ? FromUnion$2(type.anyOf) : IsObject(type) ? FromObject$2(type.properties) : _Object_$1({});
10081
+ return IsCyclic(type) ? FromCyclic$2(type.$defs, type.$ref) : IsDependent(type) ? FromDependent$2(type.if, type.then, type.else) : IsIntersect(type) ? FromIntersect$2(type.allOf) : IsUnion(type) ? FromUnion$2(type.anyOf) : IsObject(type) ? FromObject$2(type.properties) : _Object_$1({});
10053
10082
  }
10054
10083
  function PartialAction(type, options) {
10055
10084
  return CanInstantiate([type]) ? Update(FromType$3(type), {}, options) : PartialDeferred(type, options);
@@ -10099,8 +10128,11 @@ function FromCyclic$1(defs, ref) {
10099
10128
  const partial = FromType$1(CyclicTarget(defs, ref));
10100
10129
  return Cyclic(Assign(defs, { [ref]: partial }), ref);
10101
10130
  }
10131
+ function FromDependent$1(if_, then_, else_) {
10132
+ return FromType$1(EvaluateDependent(if_, then_, else_));
10133
+ }
10102
10134
  function FromIntersect$1(types) {
10103
- return EvaluateIntersect(types.map((type) => FromType$1(type)));
10135
+ return FromType$1(EvaluateIntersect(types));
10104
10136
  }
10105
10137
  function FromObject$1(properties) {
10106
10138
  return _Object_$1(Keys(properties).reduce((result, left) => {
@@ -10117,7 +10149,7 @@ function FromUnion$1(types) {
10117
10149
  return Union(types.map((type) => FromType$1(type)));
10118
10150
  }
10119
10151
  function FromType$1(type) {
10120
- return IsArray(type) ? FromArray(type.items) : IsCyclic(type) ? FromCyclic$1(type.$defs, type.$ref) : IsIntersect(type) ? FromIntersect$1(type.allOf) : IsObject(type) ? FromObject$1(type.properties) : IsTuple(type) ? FromTuple(type.items) : IsUnion(type) ? FromUnion$1(type.anyOf) : type;
10152
+ return IsArray(type) ? FromArray(type.items) : IsCyclic(type) ? FromCyclic$1(type.$defs, type.$ref) : IsDependent(type) ? FromDependent$1(type.if, type.then, type.else) : IsIntersect(type) ? FromIntersect$1(type.allOf) : IsObject(type) ? FromObject$1(type.properties) : IsTuple(type) ? FromTuple(type.items) : IsUnion(type) ? FromUnion$1(type.anyOf) : type;
10121
10153
  }
10122
10154
  function ReadonlyObjectAction(type, options) {
10123
10155
  return CanInstantiate([type]) ? Update(FromType$1(type), {}, options) : ReadonlyObjectDeferred(type);
@@ -10132,8 +10164,11 @@ function FromCyclic(defs, ref) {
10132
10164
  const partial = FromType(CyclicTarget(defs, ref));
10133
10165
  return Cyclic(Assign(defs, { [ref]: partial }), ref);
10134
10166
  }
10167
+ function FromDependent(if_, then_, else_) {
10168
+ return FromType(EvaluateDependent(if_, then_, else_));
10169
+ }
10135
10170
  function FromIntersect(types) {
10136
- return EvaluateIntersect(types.map((type) => FromType(type)));
10171
+ return FromType(EvaluateIntersect(types));
10137
10172
  }
10138
10173
  function FromUnion(types) {
10139
10174
  return Union(types.map((type) => FromType(type)));
@@ -10147,7 +10182,7 @@ function FromObject(properties) {
10147
10182
  }, {}));
10148
10183
  }
10149
10184
  function FromType(type) {
10150
- return IsCyclic(type) ? FromCyclic(type.$defs, type.$ref) : IsIntersect(type) ? FromIntersect(type.allOf) : IsUnion(type) ? FromUnion(type.anyOf) : IsObject(type) ? FromObject(type.properties) : _Object_$1({});
10185
+ return IsCyclic(type) ? FromCyclic(type.$defs, type.$ref) : IsDependent(type) ? FromDependent(type.if, type.then, type.else) : IsIntersect(type) ? FromIntersect(type.allOf) : IsUnion(type) ? FromUnion(type.anyOf) : IsObject(type) ? FromObject(type.properties) : _Object_$1({});
10151
10186
  }
10152
10187
  /** Creates a deferred Required action. */
10153
10188
  function RequiredDeferred(type, options = {}) {
@@ -10180,6 +10215,27 @@ function ReturnTypeAction(type, options) {
10180
10215
  function ReturnTypeInstantiate(context, state, type, options = {}) {
10181
10216
  return ReturnTypeAction(InstantiateType(context, state, type), options);
10182
10217
  }
10218
+ /** Creates a deferred With action. */
10219
+ function WithDeferred(type, options) {
10220
+ return Deferred("With", [type, options], {});
10221
+ }
10222
+ /** Applies annotation options to the given type. */
10223
+ function With(type, options) {
10224
+ return WithAction(type, options);
10225
+ }
10226
+ /**
10227
+ * @deprecated Type.Options\<T\> has been renamed to Type.With\<T\>. This type will be removed in the
10228
+ * next version of TypeBox.
10229
+ */
10230
+ function Options(type, options) {
10231
+ return With(type, options);
10232
+ }
10233
+ function WithAction(type, options) {
10234
+ return CanInstantiate([type]) ? Update(type, {}, options) : WithDeferred(type, options);
10235
+ }
10236
+ function WithInstantiate(context, state, type, options) {
10237
+ return WithAction(InstantiateType(context, state, type), options);
10238
+ }
10183
10239
  function SpreadElement(type) {
10184
10240
  return IsRest(type) ? IsTuple(type.items) ? RestSpread(type.items.items) : IsInfer(type.items) ? [type] : IsRef(type.items) ? [type] : [Never()] : [type];
10185
10241
  }
@@ -10219,13 +10275,13 @@ function InstantiateTypes(context, state, types) {
10219
10275
  return types.map((type) => InstantiateType(context, state, type));
10220
10276
  }
10221
10277
  function InstantiateDeferred(context, state, action, parameters, options) {
10222
- return IsEqual(action, "Awaited") ? AwaitedInstantiate(context, state, parameters[0], options) : IsEqual(action, "Capitalize") ? CapitalizeInstantiate(context, state, parameters[0], options) : IsEqual(action, "Conditional") ? ConditionalInstantiate(context, state, parameters[0], parameters[1], parameters[2], parameters[3], options) : IsEqual(action, "ConstructorParameters") ? ConstructorParametersInstantiate(context, state, parameters[0], options) : IsEqual(action, "Evaluate") ? EvaluateInstantiate(context, state, parameters[0], options) : IsEqual(action, "Exclude") ? ExcludeInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "Extract") ? ExtractInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "Index") ? IndexInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "InstanceType") ? InstanceTypeInstantiate(context, state, parameters[0], options) : IsEqual(action, "Interface") ? InterfaceInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "KeyOf") ? KeyOfInstantiate(context, state, parameters[0], options) : IsEqual(action, "Lowercase") ? LowercaseInstantiate(context, state, parameters[0], options) : IsEqual(action, "Mapped") ? MappedInstantiate(context, state, parameters[0], parameters[1], parameters[2], parameters[3], options) : IsEqual(action, "Module") ? ModuleInstantiate(context, state, parameters[0], options) : IsEqual(action, "NonNullable") ? NonNullableInstantiate(context, state, parameters[0], options) : IsEqual(action, "Pick") ? PickInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "Options") ? OptionsInstantiate(context, state, parameters[0], parameters[1]) : IsEqual(action, "Parameters") ? ParametersInstantiate(context, state, parameters[0], options) : IsEqual(action, "Partial") ? PartialInstantiate(context, state, parameters[0], options) : IsEqual(action, "Omit") ? OmitInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "ReadonlyObject") ? ReadonlyObjectInstantiate(context, state, parameters[0], options) : IsEqual(action, "Record") ? RecordInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "Required") ? RequiredInstantiate(context, state, parameters[0], options) : IsEqual(action, "ReturnType") ? ReturnTypeInstantiate(context, state, parameters[0], options) : IsEqual(action, "TemplateLiteral") ? TemplateLiteralInstantiate(context, state, parameters[0], options) : IsEqual(action, "Uncapitalize") ? UncapitalizeInstantiate(context, state, parameters[0], options) : IsEqual(action, "Uppercase") ? UppercaseInstantiate(context, state, parameters[0], options) : Deferred(action, parameters, options);
10278
+ return IsEqual(action, "Awaited") ? AwaitedInstantiate(context, state, parameters[0], options) : IsEqual(action, "Capitalize") ? CapitalizeInstantiate(context, state, parameters[0], options) : IsEqual(action, "Conditional") ? ConditionalInstantiate(context, state, parameters[0], parameters[1], parameters[2], parameters[3], options) : IsEqual(action, "ConstructorParameters") ? ConstructorParametersInstantiate(context, state, parameters[0], options) : IsEqual(action, "Evaluate") ? EvaluateInstantiate(context, state, parameters[0], options) : IsEqual(action, "Exclude") ? ExcludeInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "Extract") ? ExtractInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "Index") ? IndexInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "InstanceType") ? InstanceTypeInstantiate(context, state, parameters[0], options) : IsEqual(action, "Interface") ? InterfaceInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "KeyOf") ? KeyOfInstantiate(context, state, parameters[0], options) : IsEqual(action, "Lowercase") ? LowercaseInstantiate(context, state, parameters[0], options) : IsEqual(action, "Mapped") ? MappedInstantiate(context, state, parameters[0], parameters[1], parameters[2], parameters[3], options) : IsEqual(action, "Module") ? ModuleInstantiate(context, state, parameters[0], options) : IsEqual(action, "NonNullable") ? NonNullableInstantiate(context, state, parameters[0], options) : IsEqual(action, "Pick") ? PickInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "Parameters") ? ParametersInstantiate(context, state, parameters[0], options) : IsEqual(action, "Partial") ? PartialInstantiate(context, state, parameters[0], options) : IsEqual(action, "Omit") ? OmitInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "ReadonlyObject") ? ReadonlyObjectInstantiate(context, state, parameters[0], options) : IsEqual(action, "Record") ? RecordInstantiate(context, state, parameters[0], parameters[1], options) : IsEqual(action, "Required") ? RequiredInstantiate(context, state, parameters[0], options) : IsEqual(action, "ReturnType") ? ReturnTypeInstantiate(context, state, parameters[0], options) : IsEqual(action, "TemplateLiteral") ? TemplateLiteralInstantiate(context, state, parameters[0], options) : IsEqual(action, "Uncapitalize") ? UncapitalizeInstantiate(context, state, parameters[0], options) : IsEqual(action, "Uppercase") ? UppercaseInstantiate(context, state, parameters[0], options) : IsEqual(action, "With") ? WithInstantiate(context, state, parameters[0], parameters[1]) : Deferred(action, parameters, options);
10223
10279
  }
10224
10280
  function InstantiateType(context, state, input) {
10225
10281
  const immutable = IsImmutable(input);
10226
10282
  const modifiers = ModifierActions(input, IsReadonly(input) ? "add" : "none", IsOptional(input) ? "add" : "none");
10227
10283
  const type = IsBase(modifiers[0]) ? modifiers[0].Clone() : modifiers[0];
10228
- const instantiated = IsRef(type) ? RefInstantiate(context, state, type, type.$ref) : IsArray(type) ? _Array_(InstantiateType(context, state, type.items), ArrayOptions(type)) : IsAsyncIterator(type) ? AsyncIterator(InstantiateType(context, state, type.iteratorItems), AsyncIteratorOptions(type)) : IsCall(type) ? CallInstantiate(context, state, type.target, type.arguments) : IsConstructor(type) ? Constructor$1(InstantiateTypes(context, state, type.parameters), InstantiateType(context, state, type.instanceType), ConstructorOptions(type)) : IsDeferred(type) ? InstantiateDeferred(context, state, type.action, type.parameters, type.options) : IsFunction(type) ? _Function_$1(InstantiateTypes(context, state, type.parameters), InstantiateType(context, state, type.returnType), FunctionOptions(type)) : IsIntersect(type) ? Intersect(InstantiateTypes(context, state, type.allOf), IntersectOptions(type)) : IsIterator(type) ? Iterator(InstantiateType(context, state, type.iteratorItems), IteratorOptions(type)) : IsObject(type) ? _Object_$1(InstantiateProperties(context, state, type.properties), ObjectOptions(type)) : IsPromise(type) ? _Promise_(InstantiateType(context, state, type.item), PromiseOptions(type)) : IsRecord(type) ? RecordFromPattern(RecordPattern(type), InstantiateType(context, state, RecordValue(type))) : IsRest(type) ? Rest(InstantiateType(context, state, type.items)) : IsTuple(type) ? Tuple$1(InstantiateElements(context, state, type.items), TupleOptions(type)) : IsUnion(type) ? Union(InstantiateTypes(context, state, type.anyOf), UnionOptions(type)) : type;
10284
+ const instantiated = IsRef(type) ? RefInstantiate(context, state, type, type.$ref) : IsArray(type) ? _Array_(InstantiateType(context, state, type.items), ArrayOptions(type)) : IsAsyncIterator(type) ? AsyncIterator(InstantiateType(context, state, type.iteratorItems), AsyncIteratorOptions(type)) : IsCall(type) ? CallInstantiate(context, state, type.target, type.arguments) : IsConstructor(type) ? Constructor$1(InstantiateTypes(context, state, type.parameters), InstantiateType(context, state, type.instanceType), ConstructorOptions(type)) : IsDeferred(type) ? InstantiateDeferred(context, state, type.action, type.parameters, type.options) : IsFunction(type) ? _Function_$1(InstantiateTypes(context, state, type.parameters), InstantiateType(context, state, type.returnType), FunctionOptions(type)) : IsDependent(type) ? Dependent$1(InstantiateType(context, state, type.if), InstantiateType(context, state, type.then), InstantiateType(context, state, type.else), DependentOptions(type)) : IsIntersect(type) ? Intersect(InstantiateTypes(context, state, type.allOf), IntersectOptions(type)) : IsIterator(type) ? Iterator(InstantiateType(context, state, type.iteratorItems), IteratorOptions(type)) : IsObject(type) ? _Object_$1(InstantiateProperties(context, state, type.properties), ObjectOptions(type)) : IsPromise(type) ? _Promise_(InstantiateType(context, state, type.item), PromiseOptions(type)) : IsRecord(type) ? RecordFromPattern(RecordPattern(type), InstantiateType(context, state, RecordValue(type))) : IsRest(type) ? Rest(InstantiateType(context, state, type.items)) : IsTuple(type) ? Tuple$1(InstantiateElements(context, state, type.items), TupleOptions(type)) : IsUnion(type) ? Union(InstantiateTypes(context, state, type.anyOf), UnionOptions(type)) : type;
10229
10285
  const withImmutable = immutable ? Immutable(instantiated) : instantiated;
10230
10286
  return ApplyReadonly(modifiers[1], ApplyOptional(modifiers[2], withImmutable));
10231
10287
  }
@@ -10313,6 +10369,7 @@ function Script(...args) {
10313
10369
  Cyclic: () => Cyclic,
10314
10370
  Decode: () => Decode,
10315
10371
  DecodeBuilder: () => DecodeBuilder,
10372
+ Dependent: () => Dependent$1,
10316
10373
  Encode: () => Encode,
10317
10374
  EncodeBuilder: () => EncodeBuilder,
10318
10375
  Enum: () => Enum,
@@ -10342,6 +10399,7 @@ function Script(...args) {
10342
10399
  IsCodec: () => IsCodec,
10343
10400
  IsConstructor: () => IsConstructor,
10344
10401
  IsCyclic: () => IsCyclic,
10402
+ IsDependent: () => IsDependent,
10345
10403
  IsEnum: () => IsEnum,
10346
10404
  IsFunction: () => IsFunction,
10347
10405
  IsGeneric: () => IsGeneric,
@@ -10419,7 +10477,8 @@ function Script(...args) {
10419
10477
  Unknown: () => Unknown,
10420
10478
  Unsafe: () => Unsafe,
10421
10479
  Uppercase: () => Uppercase,
10422
- Void: () => Void
10480
+ Void: () => Void,
10481
+ With: () => With
10423
10482
  })).Base;
10424
10483
  async function validate$1(schema, data, errorMap) {
10425
10484
  const result = await schema.safeParseAsync(data, { errorMap });
@@ -10546,25 +10605,6 @@ var useForm = (config) => {
10546
10605
  }));
10547
10606
  return result;
10548
10607
  };
10549
- function Loading_button($$renderer, $$props) {
10550
- let { loading = false, disabled, children, $$slots, $$events, ...restProps } = $$props;
10551
- Button($$renderer, spread_props([
10552
- { disabled: disabled || loading },
10553
- restProps,
10554
- {
10555
- children: ($$renderer) => {
10556
- if (loading) {
10557
- $$renderer.push("<!--[0-->");
10558
- Spinner($$renderer, {});
10559
- } else $$renderer.push("<!--[-1-->");
10560
- $$renderer.push(`<!--]--> `);
10561
- children?.($$renderer);
10562
- $$renderer.push(`<!---->`);
10563
- },
10564
- $$slots: { default: true }
10565
- }
10566
- ]));
10567
- }
10568
10608
  //#endregion
10569
10609
  //#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
10570
10610
  const ZodISODateTime = /*@__PURE__*/ $constructor("ZodISODateTime", (inst, def) => {
@@ -11319,6 +11359,6 @@ function superRefine(fn, params) {
11319
11359
  return /* @__PURE__ */ _superRefine(fn, params);
11320
11360
  }
11321
11361
  //#endregion
11322
- export { Form$1 as a, FormFieldSwitch as c, string as i, Loading_button as l, boolean as n, FormField as o, object as r, FormFieldSelect as s, _enum as t, useForm as u };
11362
+ export { Form$1 as a, FormFieldSwitch as c, string as i, useForm as l, boolean as n, FormField as o, object as r, FormFieldSelect as s, _enum as t };
11323
11363
 
11324
- //# sourceMappingURL=schemas-CyYMWYjZ.js.map
11364
+ //# sourceMappingURL=schemas-nSPQog67.js.map