@farm.js/core 0.1.61 → 0.1.63

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 (1294) hide show
  1. package/dist/after.cjs +3 -3
  2. package/dist/after.d.mts +25 -0
  3. package/dist/after.d.ts +25 -0
  4. package/dist/after.mjs +2 -2
  5. package/dist/agent-mcp-handler-7QMX2LUY.mjs +18 -0
  6. package/dist/agent-mcp-handler-OV4WRFBL.cjs +18 -0
  7. package/dist/agent-mcp.d-CCQ-wKwg.d.mts +115 -0
  8. package/dist/agent-mcp.d-DOJCBSh9.d.ts +115 -0
  9. package/dist/agent-runtime.cjs +36 -59
  10. package/dist/agent-runtime.d.mts +105 -0
  11. package/dist/agent-runtime.d.ts +105 -0
  12. package/dist/agent-runtime.mjs +35 -58
  13. package/dist/analyzer-KEA5JVDR.cjs +15 -0
  14. package/dist/analyzer-WNPQPWFR.mjs +15 -0
  15. package/dist/api/client.cjs +16 -15
  16. package/dist/api/client.d.mts +5 -0
  17. package/dist/api/client.d.ts +5 -0
  18. package/dist/api/client.mjs +14 -13
  19. package/dist/api/client.native.cjs +45 -0
  20. package/dist/api/client.native.d.mts +23 -0
  21. package/dist/api/client.native.d.ts +23 -0
  22. package/dist/api/client.native.mjs +45 -0
  23. package/dist/api/route-manager.cjs +41 -39
  24. package/dist/api/route-manager.d.mts +119 -0
  25. package/dist/api/route-manager.d.ts +119 -0
  26. package/dist/api/route-manager.mjs +40 -38
  27. package/dist/api/runtime.cjs +24 -22
  28. package/dist/api/runtime.d.mts +35 -0
  29. package/dist/api/runtime.d.ts +35 -0
  30. package/dist/api/runtime.mjs +24 -22
  31. package/dist/api-client.d-BNLXNCXJ.d.mts +622 -0
  32. package/dist/api-client.d-ddQBNGtu.d.ts +622 -0
  33. package/dist/api.cjs +52 -50
  34. package/dist/api.d.mts +103 -0
  35. package/dist/api.d.ts +103 -0
  36. package/dist/api.mjs +51 -49
  37. package/dist/app-manifest.d-BaA0omsv.d.mts +128 -0
  38. package/dist/app-manifest.d-poayV4lq.d.ts +128 -0
  39. package/dist/app-markdown.cjs +15 -15
  40. package/dist/app-markdown.d.mts +48 -0
  41. package/dist/app-markdown.d.ts +48 -0
  42. package/dist/app-markdown.mjs +14 -14
  43. package/dist/app.d-D4Dn03E3.d.ts +563 -0
  44. package/dist/app.d-DdWxeIGU.d.mts +563 -0
  45. package/dist/base-path.d-BOUV5ozD.d.mts +10 -0
  46. package/dist/base-path.d-BOUV5ozD.d.ts +10 -0
  47. package/dist/cache.cjs +10 -7
  48. package/dist/cache.d.mts +333 -0
  49. package/dist/cache.d.ts +333 -0
  50. package/dist/cache.mjs +9 -6
  51. package/dist/chunk-22W4FNTG.mjs +538 -0
  52. package/dist/chunk-23LVFSID.mjs +182 -0
  53. package/dist/chunk-25T5VXOE.mjs +1093 -0
  54. package/dist/chunk-2DA7CLY7.mjs +560 -0
  55. package/dist/chunk-2DLGV2ZG.mjs +71 -0
  56. package/dist/chunk-2HW5LWAH.cjs +19 -0
  57. package/dist/chunk-2I6PUKWJ.mjs +44 -0
  58. package/dist/chunk-2KMIJDY6.cjs +20 -0
  59. package/dist/chunk-2NGZFOKG.mjs +190 -0
  60. package/dist/chunk-2OF5RPVU.cjs +44 -0
  61. package/dist/chunk-2XGBJSDV.cjs +408 -0
  62. package/dist/chunk-3BIASUGR.cjs +59 -0
  63. package/dist/chunk-3CCAICF7.cjs +651 -0
  64. package/dist/chunk-3EEET2Q5.cjs +1044 -0
  65. package/dist/chunk-3EIPOTZV.cjs +272 -0
  66. package/dist/chunk-3HLQTOVU.cjs +6 -0
  67. package/dist/chunk-3OJNNCDL.cjs +2250 -0
  68. package/dist/chunk-3TXKFRSO.mjs +657 -0
  69. package/dist/chunk-3UZVPO72.mjs +387 -0
  70. package/dist/chunk-43V3ANPQ.mjs +251 -0
  71. package/dist/chunk-46P5KNTE.mjs +8 -0
  72. package/dist/chunk-47JV57DA.cjs +69 -0
  73. package/dist/chunk-4BS3HSY7.cjs +541 -0
  74. package/dist/chunk-4DCWVSL2.cjs +15 -0
  75. package/dist/chunk-4DIKLG56.mjs +141 -0
  76. package/dist/chunk-4EBC7EMW.cjs +8 -0
  77. package/dist/chunk-4IHMHFQB.cjs +458 -0
  78. package/dist/chunk-4MU4QCX4.mjs +158 -0
  79. package/dist/chunk-4P5634G6.cjs +386 -0
  80. package/dist/chunk-4ZJ5C7UJ.cjs +75 -0
  81. package/dist/chunk-52Y3C3HG.mjs +421 -0
  82. package/dist/chunk-53EHWHT2.cjs +166 -0
  83. package/dist/chunk-53ZCZ46B.cjs +137 -0
  84. package/dist/chunk-55U5QIXQ.mjs +35 -0
  85. package/dist/chunk-5A77OEIG.cjs +778 -0
  86. package/dist/chunk-5C7XMKQ4.cjs +410 -0
  87. package/dist/chunk-5DX3O6TT.cjs +266 -0
  88. package/dist/chunk-5FE5YT2N.mjs +458 -0
  89. package/dist/chunk-5IKQ7BIR.cjs +716 -0
  90. package/dist/chunk-5IQ2ERQA.cjs +657 -0
  91. package/dist/chunk-5J45H65F.mjs +48 -0
  92. package/dist/chunk-5L7I6AMY.cjs +433 -0
  93. package/dist/chunk-5OJVKXFV.cjs +2072 -0
  94. package/dist/chunk-5PZJ63PK.mjs +17 -0
  95. package/dist/chunk-5Y22WNTO.mjs +237 -0
  96. package/dist/chunk-5Y2P454O.cjs +421 -0
  97. package/dist/chunk-5Y4GYKKH.mjs +13 -0
  98. package/dist/chunk-5YPBFMBN.cjs +19 -0
  99. package/dist/chunk-65Y5SIBH.cjs +112 -0
  100. package/dist/chunk-6BJJYOFL.cjs +293 -0
  101. package/dist/chunk-6BLAY2VQ.mjs +45 -0
  102. package/dist/chunk-6CTFVBAT.cjs +29 -0
  103. package/dist/chunk-6FXBJPF5.cjs +35 -0
  104. package/dist/chunk-6HRAK7I5.mjs +215 -0
  105. package/dist/chunk-6IOZPJ3I.cjs +549 -0
  106. package/dist/chunk-6JHZPB52.cjs +538 -0
  107. package/dist/chunk-6XQSPIN6.cjs +155 -0
  108. package/dist/chunk-6YFC3ZFX.mjs +449 -0
  109. package/dist/chunk-6ZFRWRHO.mjs +54 -0
  110. package/dist/chunk-724WT3NI.mjs +83 -0
  111. package/dist/chunk-72KABRWN.mjs +2072 -0
  112. package/dist/chunk-72KCTHLV.cjs +723 -0
  113. package/dist/chunk-752XUZIM.cjs +229 -0
  114. package/dist/chunk-75XSZIRE.mjs +180 -0
  115. package/dist/chunk-7EPYN7GW.cjs +30 -0
  116. package/dist/chunk-7FFW7DC4.mjs +517 -0
  117. package/dist/chunk-7H45IJWO.mjs +2250 -0
  118. package/dist/chunk-7H4SVNC4.cjs +700 -0
  119. package/dist/chunk-7JUIK547.cjs +62 -0
  120. package/dist/chunk-7KJJ4SBS.cjs +13 -0
  121. package/dist/chunk-7PTISZSQ.cjs +176 -0
  122. package/dist/chunk-7PZVXMWG.mjs +113 -0
  123. package/dist/chunk-7S7AAK2D.mjs +82 -0
  124. package/dist/chunk-A25FXJ7D.cjs +38 -0
  125. package/dist/chunk-A2MN5PQJ.mjs +527 -0
  126. package/dist/chunk-A4PWGL46.mjs +141 -0
  127. package/dist/chunk-ALEUMLJN.mjs +190 -0
  128. package/dist/chunk-ANXU3D32.cjs +1232 -0
  129. package/dist/chunk-AOKXITZ6.cjs +16 -0
  130. package/dist/chunk-AQLHD6HZ.cjs +196 -0
  131. package/dist/chunk-ATYTLVSI.cjs +45 -0
  132. package/dist/chunk-AXVRUDMB.cjs +203 -0
  133. package/dist/chunk-AY2YD5ZX.mjs +34 -0
  134. package/dist/chunk-AYP2YFVN.mjs +168 -0
  135. package/dist/chunk-AZQXXXDX.mjs +80 -0
  136. package/dist/chunk-B4CWYGCG.mjs +541 -0
  137. package/dist/chunk-BA2IA32Q.mjs +1291 -0
  138. package/dist/chunk-BBPDJGCU.cjs +157 -0
  139. package/dist/chunk-BM2LH2JM.mjs +1040 -0
  140. package/dist/chunk-BMQAPZXD.mjs +31 -0
  141. package/dist/chunk-BNH53KOT.cjs +69 -0
  142. package/dist/chunk-BPAXGCKX.mjs +166 -0
  143. package/dist/chunk-BPNOYILC.cjs +450 -0
  144. package/dist/chunk-BQWBHWEW.mjs +252 -0
  145. package/dist/chunk-BRWIVOV4.cjs +48 -0
  146. package/dist/chunk-BRYPZIMB.mjs +6 -0
  147. package/dist/chunk-BT4SEFLC.cjs +660 -0
  148. package/dist/chunk-BTVDYS4B.cjs +70 -0
  149. package/dist/chunk-BTZ5O6VM.cjs +14 -0
  150. package/dist/chunk-BUC3FDYC.cjs +158 -0
  151. package/dist/chunk-C64XOPBZ.mjs +380 -0
  152. package/dist/chunk-C7GJDVN4.mjs +124 -0
  153. package/dist/chunk-C7LCTVJ2.cjs +30 -0
  154. package/dist/chunk-CA7DNRHO.cjs +164 -0
  155. package/dist/chunk-CBDRR3J3.mjs +6680 -0
  156. package/dist/chunk-CBOEJ5Z4.cjs +1093 -0
  157. package/dist/chunk-CFG4QERR.cjs +434 -0
  158. package/dist/chunk-CI4UNQHO.cjs +35 -0
  159. package/dist/chunk-CKPTIEDX.cjs +12 -0
  160. package/dist/chunk-CL2ONP73.cjs +180 -0
  161. package/dist/chunk-CLFEQGET.cjs +60 -0
  162. package/dist/chunk-CNNBFGL5.cjs +252 -0
  163. package/dist/chunk-CO6UYM2D.mjs +172 -0
  164. package/dist/chunk-CQL5ZGFU.cjs +50 -0
  165. package/dist/chunk-CROAFCMW.mjs +203 -0
  166. package/dist/chunk-CU5SYTJG.mjs +23 -0
  167. package/dist/chunk-CV6MFQ4Y.mjs +259 -0
  168. package/dist/chunk-D22BUQKW.cjs +82 -0
  169. package/dist/chunk-D2LCAV6L.mjs +79 -0
  170. package/dist/chunk-D4MRNBVF.cjs +1462 -0
  171. package/dist/chunk-D4XGKF67.cjs +127 -0
  172. package/dist/chunk-D7Y63SOY.mjs +15 -0
  173. package/dist/chunk-DMAP4RND.cjs +998 -0
  174. package/dist/chunk-DPE53XWL.mjs +1980 -0
  175. package/dist/chunk-DQF3QLOH.mjs +660 -0
  176. package/dist/chunk-DQJ2CIH7.cjs +87 -0
  177. package/dist/chunk-DU4VHHPJ.mjs +157 -0
  178. package/dist/chunk-DUIP64BF.cjs +16 -0
  179. package/dist/chunk-DV52ZS53.cjs +40 -0
  180. package/dist/chunk-DXUXQP2T.cjs +142 -0
  181. package/dist/chunk-DZPR2W6U.cjs +593 -0
  182. package/dist/chunk-DZZHTMWM.cjs +190 -0
  183. package/dist/chunk-E46NXBNJ.mjs +386 -0
  184. package/dist/chunk-E4RDMG3K.mjs +697 -0
  185. package/dist/chunk-E552H232.cjs +154 -0
  186. package/dist/chunk-E72UD6ME.mjs +277 -0
  187. package/dist/chunk-E7QOEV5Z.cjs +449 -0
  188. package/dist/chunk-ECKQFEX2.mjs +712 -0
  189. package/dist/chunk-EDPENAVO.mjs +266 -0
  190. package/dist/chunk-EENTT56C.mjs +12733 -0
  191. package/dist/chunk-EFLNOZGH.mjs +30 -0
  192. package/dist/chunk-EFZGB7JC.cjs +114 -0
  193. package/dist/chunk-EGHPFXPZ.cjs +590 -0
  194. package/dist/chunk-EJCVG25Z.mjs +49 -0
  195. package/dist/chunk-EMDGXYUD.mjs +75 -0
  196. package/dist/chunk-EOXPRC2C.cjs +48 -0
  197. package/dist/chunk-ERMUL73L.cjs +39 -0
  198. package/dist/chunk-ES2LD2YD.mjs +203 -0
  199. package/dist/chunk-EV4SBMPX.mjs +208 -0
  200. package/dist/chunk-EVIWKPJV.cjs +560 -0
  201. package/dist/chunk-EVMXPJCB.mjs +133 -0
  202. package/dist/chunk-EX6ZSN5P.cjs +224 -0
  203. package/dist/chunk-EYLC6GD6.cjs +517 -0
  204. package/dist/chunk-EZ34EHQP.mjs +462 -0
  205. package/dist/chunk-EZTKXD6P.cjs +182 -0
  206. package/dist/chunk-F3N52U7S.mjs +138 -0
  207. package/dist/chunk-FBEBSAVI.cjs +225 -0
  208. package/dist/chunk-FEFCISOX.cjs +102 -0
  209. package/dist/chunk-FHURJABM.mjs +45 -0
  210. package/dist/chunk-FN5UEC7I.mjs +55 -0
  211. package/dist/chunk-FNHN3RBD.cjs +9 -0
  212. package/dist/chunk-FSXSQQTV.mjs +79 -0
  213. package/dist/chunk-GBMWLDCC.cjs +138 -0
  214. package/dist/chunk-GHNW564E.mjs +1044 -0
  215. package/dist/chunk-GL3ZDHKI.mjs +274 -0
  216. package/dist/chunk-GLOICKDO.mjs +142 -0
  217. package/dist/chunk-GNZIAJGB.mjs +358 -0
  218. package/dist/chunk-GPKBUME5.mjs +716 -0
  219. package/dist/chunk-GSVJ3IIF.cjs +173 -0
  220. package/dist/chunk-GUZC226X.mjs +164 -0
  221. package/dist/chunk-GVOMPU3Y.cjs +537 -0
  222. package/dist/chunk-GWXZS7K5.mjs +24 -0
  223. package/dist/chunk-GYMGK467.mjs +214 -0
  224. package/dist/chunk-H227LYHT.mjs +88 -0
  225. package/dist/chunk-H3ASZDT7.mjs +42 -0
  226. package/dist/chunk-H4WUWLQR.mjs +16 -0
  227. package/dist/chunk-HA7YRO53.cjs +214 -0
  228. package/dist/chunk-HEPJIKKQ.cjs +190 -0
  229. package/dist/chunk-HLYRXN2I.cjs +242 -0
  230. package/dist/chunk-HNAISJFD.cjs +215 -0
  231. package/dist/chunk-HPP2II4Z.mjs +332 -0
  232. package/dist/chunk-HXNLKCWH.cjs +13 -0
  233. package/dist/chunk-HZOMT5DY.mjs +30 -0
  234. package/dist/chunk-I2BYNELA.cjs +380 -0
  235. package/dist/chunk-I32V5CZL.cjs +1965 -0
  236. package/dist/chunk-IAPTECEB.mjs +48 -0
  237. package/dist/chunk-IFTGERT3.mjs +408 -0
  238. package/dist/chunk-IGL6CO6M.mjs +9 -0
  239. package/dist/chunk-IOF4KXMP.mjs +537 -0
  240. package/dist/chunk-ITV4QQL2.cjs +93 -0
  241. package/dist/chunk-IWRLV46X.cjs +1980 -0
  242. package/dist/chunk-IYEY3JWJ.mjs +186 -0
  243. package/dist/chunk-J3GFOQOL.cjs +237 -0
  244. package/dist/chunk-JCEFKP5M.mjs +1473 -0
  245. package/dist/chunk-JGAE5XPL.cjs +26 -0
  246. package/dist/chunk-JIBEFLQ7.cjs +44 -0
  247. package/dist/chunk-JLDNXURZ.cjs +588 -0
  248. package/dist/chunk-JMYXO572.cjs +531 -0
  249. package/dist/chunk-JNYFXL7X.mjs +62 -0
  250. package/dist/chunk-JRHGJVJH.mjs +44 -0
  251. package/dist/chunk-JSDV2NUN.mjs +206 -0
  252. package/dist/chunk-JXIYH2NO.cjs +24 -0
  253. package/dist/chunk-JYNNIGQO.cjs +87 -0
  254. package/dist/chunk-JYT7AN37.cjs +79 -0
  255. package/dist/chunk-K3RU5MOR.mjs +80 -0
  256. package/dist/chunk-K5EW7GUU.mjs +417 -0
  257. package/dist/chunk-K76CBYQM.mjs +157 -0
  258. package/dist/chunk-KBGZ5FD6.cjs +17 -0
  259. package/dist/chunk-KORZ6PRE.cjs +64 -0
  260. package/dist/chunk-KPAJWD3N.mjs +168 -0
  261. package/dist/chunk-KQH2COEJ.mjs +42 -0
  262. package/dist/chunk-KVW2M6PI.mjs +341 -0
  263. package/dist/chunk-L2JG337G.cjs +712 -0
  264. package/dist/chunk-L4RTTTVE.mjs +8 -0
  265. package/dist/chunk-L5JDKFMQ.cjs +44 -0
  266. package/dist/chunk-LA45FN37.mjs +10009 -0
  267. package/dist/chunk-LA6O5EL2.mjs +254 -0
  268. package/dist/chunk-LEJDW34D.cjs +115 -0
  269. package/dist/chunk-LFFSDZ4Y.cjs +141 -0
  270. package/dist/chunk-LLZSYFOM.mjs +6 -0
  271. package/dist/chunk-LM55GS4R.mjs +38 -0
  272. package/dist/chunk-LNVGXUL3.cjs +172 -0
  273. package/dist/chunk-LQNW3ABP.cjs +527 -0
  274. package/dist/chunk-LRB5OVRT.cjs +124 -0
  275. package/dist/chunk-LSHX2H5G.cjs +57 -0
  276. package/dist/chunk-LT4VAF5Z.cjs +1359 -0
  277. package/dist/chunk-LWWDTBGL.cjs +254 -0
  278. package/dist/chunk-M25IONJP.mjs +16 -0
  279. package/dist/chunk-M53MIIXY.mjs +172 -0
  280. package/dist/chunk-MEQN6DDA.cjs +341 -0
  281. package/dist/chunk-MF3IA2AW.cjs +25 -0
  282. package/dist/chunk-MFQGU5CC.mjs +127 -0
  283. package/dist/chunk-MGKW5XZE.cjs +40 -0
  284. package/dist/chunk-MHLNWRCJ.cjs +36 -0
  285. package/dist/chunk-MK5E44WP.mjs +60 -0
  286. package/dist/chunk-MMK4MZUN.mjs +36 -0
  287. package/dist/chunk-MNIR7I7B.mjs +217 -0
  288. package/dist/chunk-MPU5DOXX.cjs +21 -0
  289. package/dist/chunk-MU5V7XHL.mjs +172 -0
  290. package/dist/chunk-N33DLJBC.mjs +272 -0
  291. package/dist/chunk-N35YPV4N.mjs +48 -0
  292. package/dist/chunk-N4AQNEXR.cjs +17 -0
  293. package/dist/chunk-N7XWC6BN.mjs +21 -0
  294. package/dist/chunk-NBIVGHAT.mjs +50 -0
  295. package/dist/chunk-NCIAP562.mjs +27 -0
  296. package/dist/chunk-NK2VWS7P.cjs +954 -0
  297. package/dist/chunk-NKRZLQUK.mjs +150 -0
  298. package/dist/chunk-NR63PD3P.mjs +64 -0
  299. package/dist/chunk-NRNAHZ57.mjs +39 -0
  300. package/dist/chunk-NWUHS6GV.cjs +79 -0
  301. package/dist/chunk-O27PLNQZ.cjs +878 -0
  302. package/dist/chunk-O4F3JUST.mjs +176 -0
  303. package/dist/chunk-O5FCWI6O.mjs +156 -0
  304. package/dist/chunk-OAJOQU5J.mjs +225 -0
  305. package/dist/chunk-OCS3PSYR.cjs +51 -0
  306. package/dist/chunk-OHWM2VI4.mjs +29 -0
  307. package/dist/chunk-OJO2GOM3.mjs +69 -0
  308. package/dist/chunk-OLGQZRW6.mjs +700 -0
  309. package/dist/chunk-OM7WILES.mjs +100 -0
  310. package/dist/chunk-ONG4RDW3.mjs +155 -0
  311. package/dist/chunk-OOJBBHYW.cjs +38 -0
  312. package/dist/chunk-OOZEU5KK.cjs +18 -0
  313. package/dist/chunk-OWQV6MLM.cjs +82 -0
  314. package/dist/chunk-OY5XDG24.cjs +113 -0
  315. package/dist/chunk-OYZXVBZP.cjs +133 -0
  316. package/dist/chunk-OZC2JPW6.cjs +10 -0
  317. package/dist/chunk-P2355C6E.cjs +186 -0
  318. package/dist/chunk-PAKCHVUS.mjs +450 -0
  319. package/dist/chunk-PCXIJKPM.mjs +878 -0
  320. package/dist/chunk-PENBZAHJ.cjs +88 -0
  321. package/dist/chunk-PIUTGRDI.cjs +358 -0
  322. package/dist/chunk-PMJSG4JS.cjs +152 -0
  323. package/dist/chunk-PO5MXV5X.cjs +13 -0
  324. package/dist/chunk-PRFNLQSP.cjs +277 -0
  325. package/dist/chunk-PSUYE5HR.mjs +25 -0
  326. package/dist/chunk-PTLXHRJZ.mjs +57 -0
  327. package/dist/chunk-PVJX4UPA.cjs +6680 -0
  328. package/dist/chunk-PZXYAWYG.cjs +274 -0
  329. package/dist/chunk-Q5B4LNON.mjs +19 -0
  330. package/dist/chunk-QAS7KE7J.cjs +169 -0
  331. package/dist/chunk-QDWMCFTH.mjs +434 -0
  332. package/dist/chunk-QGJ4FI2G.mjs +723 -0
  333. package/dist/chunk-QGOZLGVP.mjs +0 -0
  334. package/dist/chunk-QISW423S.cjs +335 -0
  335. package/dist/chunk-QMDU6QHN.mjs +778 -0
  336. package/dist/chunk-QMNWKQL4.cjs +206 -0
  337. package/dist/chunk-QN5WRQSQ.cjs +10012 -0
  338. package/dist/chunk-QOSDWGKT.mjs +109 -0
  339. package/dist/chunk-QPJ4MZTO.mjs +60 -0
  340. package/dist/chunk-QPNVDSFZ.mjs +18 -0
  341. package/dist/chunk-QQ44FYRO.cjs +27 -0
  342. package/dist/chunk-QSTRBKHZ.mjs +102 -0
  343. package/dist/chunk-QTD6EMN2.mjs +368 -0
  344. package/dist/chunk-R53QDV6T.cjs +100 -0
  345. package/dist/chunk-R5U7OIPI.cjs +34 -0
  346. package/dist/chunk-R62SF5R4.mjs +410 -0
  347. package/dist/chunk-RD623KW4.cjs +203 -0
  348. package/dist/chunk-RFKTJTWZ.mjs +26 -0
  349. package/dist/chunk-RFYL5OLP.mjs +9 -0
  350. package/dist/chunk-RI3EVPKD.cjs +57 -0
  351. package/dist/chunk-RLEALQEN.mjs +998 -0
  352. package/dist/chunk-RSEAX5MW.mjs +44 -0
  353. package/dist/chunk-RVGLYMJM.cjs +259 -0
  354. package/dist/chunk-S2NUYHRY.mjs +1232 -0
  355. package/dist/chunk-S32PDOLO.mjs +13 -0
  356. package/dist/chunk-S6O2L47H.mjs +549 -0
  357. package/dist/chunk-SA7MLSP4.mjs +229 -0
  358. package/dist/chunk-SBDWCDS6.cjs +8 -0
  359. package/dist/chunk-SF3JB56B.mjs +82 -0
  360. package/dist/chunk-SHD265HW.cjs +19 -0
  361. package/dist/chunk-SHIWRBFI.cjs +17 -0
  362. package/dist/chunk-SM2SYWAR.cjs +49 -0
  363. package/dist/chunk-SMUW7UST.mjs +196 -0
  364. package/dist/chunk-SNP33A33.cjs +9 -0
  365. package/dist/chunk-SQ5O7I3L.mjs +70 -0
  366. package/dist/chunk-STF6VDYQ.cjs +23 -0
  367. package/dist/chunk-SUCDVKUB.cjs +42 -0
  368. package/dist/chunk-SVCUSOEF.mjs +590 -0
  369. package/dist/chunk-SVXOCTQ2.cjs +251 -0
  370. package/dist/chunk-SXCL2MIN.cjs +208 -0
  371. package/dist/chunk-SYW346ZN.cjs +71 -0
  372. package/dist/chunk-SYXPWJ7N.cjs +387 -0
  373. package/dist/chunk-T4TBK5NY.mjs +593 -0
  374. package/dist/chunk-TGSEVBPO.mjs +93 -0
  375. package/dist/chunk-TGULJSHD.mjs +1965 -0
  376. package/dist/chunk-TJVUTGED.mjs +531 -0
  377. package/dist/chunk-TUOO6IK3.mjs +87 -0
  378. package/dist/chunk-TUPKMMXT.mjs +173 -0
  379. package/dist/chunk-TVCFY3KK.cjs +217 -0
  380. package/dist/chunk-TZVUF5JJ.mjs +651 -0
  381. package/dist/chunk-U6WCUVSV.cjs +1294 -0
  382. package/dist/chunk-UAQD67HM.mjs +154 -0
  383. package/dist/chunk-UB7RVEMX.mjs +73 -0
  384. package/dist/chunk-UIJOLBUL.mjs +19 -0
  385. package/dist/chunk-UNJZGVPU.cjs +6 -0
  386. package/dist/chunk-UPYIFH2H.cjs +168 -0
  387. package/dist/chunk-UR25Z5Z6.mjs +135 -0
  388. package/dist/chunk-UUMKLGUU.mjs +69 -0
  389. package/dist/chunk-UYRI6U3P.mjs +137 -0
  390. package/dist/chunk-UYTAP4FQ.cjs +60 -0
  391. package/dist/chunk-UZCMMJJT.cjs +80 -0
  392. package/dist/chunk-UZZ6IEQP.mjs +169 -0
  393. package/dist/chunk-V3UOEWCB.cjs +46 -0
  394. package/dist/chunk-V56632LA.cjs +141 -0
  395. package/dist/chunk-V727H3RI.cjs +1473 -0
  396. package/dist/chunk-VE3FWJBO.mjs +46 -0
  397. package/dist/chunk-VFXE6NWR.mjs +87 -0
  398. package/dist/chunk-VHIXGZYH.mjs +9 -0
  399. package/dist/chunk-VISQDC6W.mjs +10 -0
  400. package/dist/chunk-VIXTAVEA.mjs +59 -0
  401. package/dist/chunk-VM57CK74.cjs +42 -0
  402. package/dist/chunk-VOQ7XZZT.cjs +157 -0
  403. package/dist/chunk-VQJHT2ND.mjs +40 -0
  404. package/dist/chunk-VR6QLTTX.mjs +59 -0
  405. package/dist/chunk-VVTJTMGQ.cjs +135 -0
  406. package/dist/chunk-VXCFJWK5.cjs +59 -0
  407. package/dist/chunk-W2ZXMMHA.mjs +1462 -0
  408. package/dist/chunk-W6QLRQ3V.mjs +152 -0
  409. package/dist/chunk-WCLLPR6H.mjs +35 -0
  410. package/dist/chunk-WEGAVN37.cjs +45 -0
  411. package/dist/chunk-WFVSAT7Y.cjs +83 -0
  412. package/dist/chunk-WKPBIT5Q.cjs +150 -0
  413. package/dist/chunk-WNDAISB7.mjs +51 -0
  414. package/dist/chunk-WNLPQW7W.mjs +19 -0
  415. package/dist/chunk-WT6RAN2I.cjs +41 -0
  416. package/dist/chunk-WXFY5JIY.mjs +20 -0
  417. package/dist/chunk-WYAXRIYP.cjs +697 -0
  418. package/dist/chunk-WYL4ODZ4.mjs +38 -0
  419. package/dist/chunk-X333W5KV.cjs +31 -0
  420. package/dist/chunk-X3EFRVXY.mjs +12 -0
  421. package/dist/chunk-X3XUZWRB.mjs +141 -0
  422. package/dist/chunk-X4K7TYN6.cjs +1040 -0
  423. package/dist/chunk-XCXHQBMM.mjs +115 -0
  424. package/dist/chunk-XGJVRPYL.cjs +141 -0
  425. package/dist/chunk-XICXQXYE.mjs +433 -0
  426. package/dist/chunk-XMHERKSE.mjs +224 -0
  427. package/dist/chunk-XPIPMWY3.cjs +1 -0
  428. package/dist/chunk-XQ4DPO4G.mjs +13 -0
  429. package/dist/chunk-XQSYOVCW.cjs +417 -0
  430. package/dist/chunk-XR2ZIBQK.mjs +57 -0
  431. package/dist/chunk-XURDCXNH.cjs +48 -0
  432. package/dist/chunk-XVSBALOY.cjs +55 -0
  433. package/dist/chunk-Y2YBNQ3D.cjs +156 -0
  434. package/dist/chunk-Y3WG64CP.cjs +9 -0
  435. package/dist/chunk-Y6FXYEAI.mjs +10 -0
  436. package/dist/chunk-Y7NN63LS.mjs +40 -0
  437. package/dist/chunk-YDXLC4DW.cjs +54 -0
  438. package/dist/chunk-YIHRZBD7.cjs +172 -0
  439. package/dist/chunk-YKHRCY4T.cjs +73 -0
  440. package/dist/chunk-YN6BHOYY.cjs +368 -0
  441. package/dist/chunk-YP7YO3S3.mjs +17 -0
  442. package/dist/chunk-YSXTNSXS.mjs +1359 -0
  443. package/dist/chunk-YT3SLLZK.mjs +242 -0
  444. package/dist/chunk-YTVSWXEZ.cjs +168 -0
  445. package/dist/chunk-YWPNIYUP.mjs +41 -0
  446. package/dist/chunk-YX6AFPXC.mjs +8 -0
  447. package/dist/chunk-Z64V4WZI.mjs +17 -0
  448. package/dist/chunk-Z74NNER4.cjs +12736 -0
  449. package/dist/chunk-Z7P2BTZ3.cjs +454 -0
  450. package/dist/chunk-ZDAEHG2O.cjs +80 -0
  451. package/dist/chunk-ZFWYCVKS.mjs +454 -0
  452. package/dist/chunk-ZNH6NR3H.cjs +462 -0
  453. package/dist/chunk-ZNXTU4YH.mjs +114 -0
  454. package/dist/chunk-ZOYKJBP5.cjs +172 -0
  455. package/dist/chunk-ZQ5BDNKW.mjs +954 -0
  456. package/dist/chunk-ZXK2EYQW.cjs +8 -0
  457. package/dist/chunk-ZZ2QKCKW.mjs +293 -0
  458. package/dist/chunk-ZZI56IUY.mjs +588 -0
  459. package/dist/chunk-recovery.d-lnQFzcQP.d.mts +26 -0
  460. package/dist/chunk-recovery.d-lnQFzcQP.d.ts +26 -0
  461. package/dist/client/lifecycle.cjs +3 -3
  462. package/dist/client/lifecycle.d.mts +1 -0
  463. package/dist/client/lifecycle.d.ts +1 -0
  464. package/dist/client/lifecycle.mjs +2 -2
  465. package/dist/client-cache.d-Deoqq-nM.d.ts +76 -0
  466. package/dist/client-cache.d-di_Nasxa.d.mts +76 -0
  467. package/dist/client-component.d-CQLvqLAJ.d.ts +218 -0
  468. package/dist/client-component.d-CSEFlHfG.d.mts +218 -0
  469. package/dist/client-plugins.cjs +3 -3
  470. package/dist/client-plugins.d-BTF0gZm4.d.mts +4018 -0
  471. package/dist/client-plugins.d-BgPUYPc9.d.ts +4018 -0
  472. package/dist/client-plugins.d.mts +33 -0
  473. package/dist/client-plugins.d.ts +33 -0
  474. package/dist/client-plugins.mjs +2 -2
  475. package/dist/client.cjs +45 -40
  476. package/dist/client.d.mts +452 -0
  477. package/dist/client.d.ts +452 -0
  478. package/dist/client.mjs +44 -39
  479. package/dist/client.react-server.mjs +2 -0
  480. package/dist/config.cjs +3 -3
  481. package/dist/config.d-qt-mE8O5.d.mts +341 -0
  482. package/dist/config.d-qt-mE8O5.d.ts +341 -0
  483. package/dist/config.d.mts +40 -0
  484. package/dist/config.d.ts +40 -0
  485. package/dist/config.mjs +2 -2
  486. package/dist/cron.cjs +19 -9
  487. package/dist/cron.d.mts +186 -0
  488. package/dist/cron.d.ts +186 -0
  489. package/dist/cron.mjs +18 -8
  490. package/dist/deferred.cjs +3 -3
  491. package/dist/deferred.d.mts +44 -0
  492. package/dist/deferred.d.ts +44 -0
  493. package/dist/deferred.mjs +2 -2
  494. package/dist/deployment.cjs +3 -3
  495. package/dist/deployment.d.mts +36 -0
  496. package/dist/deployment.d.ts +36 -0
  497. package/dist/deployment.mjs +2 -2
  498. package/dist/desktop.cjs +13 -0
  499. package/dist/desktop.d.mts +120 -0
  500. package/dist/desktop.d.ts +120 -0
  501. package/dist/desktop.mjs +13 -0
  502. package/dist/dev-guard-2UW2KERP.cjs +59 -0
  503. package/dist/dev-guard-ONNMVQUN.mjs +59 -0
  504. package/dist/devtools-HDKTYIZF.mjs +463 -0
  505. package/dist/devtools-ZHN5JLVI.cjs +463 -0
  506. package/dist/devtools-client-SU4XH46J.mjs +250 -0
  507. package/dist/devtools-client-X5OQCXDF.cjs +250 -0
  508. package/dist/devtools-ui-CYBVFLPH.mjs +1265 -0
  509. package/dist/devtools-ui-SYRUXUA7.cjs +1265 -0
  510. package/dist/docs.cjs +66 -58
  511. package/dist/docs.d.mts +169 -0
  512. package/dist/docs.d.ts +169 -0
  513. package/dist/docs.mjs +65 -57
  514. package/dist/endpoint.d-BgHn0lhl.d.ts +370 -0
  515. package/dist/endpoint.d-BkMSCRf6.d.mts +370 -0
  516. package/dist/env-types.cjs +4 -4
  517. package/dist/env-types.d.mts +12 -0
  518. package/dist/env-types.d.ts +12 -0
  519. package/dist/env-types.mjs +3 -3
  520. package/dist/env.cjs +4 -4
  521. package/dist/env.d.mts +65 -0
  522. package/dist/env.d.ts +65 -0
  523. package/dist/env.mjs +3 -3
  524. package/dist/environment/vite.cjs +7 -3
  525. package/dist/environment/vite.d.mts +31 -0
  526. package/dist/environment/vite.d.ts +31 -0
  527. package/dist/environment/vite.mjs +6 -2
  528. package/dist/environment.cjs +3 -3
  529. package/dist/environment.d.mts +18 -0
  530. package/dist/environment.d.ts +18 -0
  531. package/dist/environment.mjs +2 -2
  532. package/dist/font.cjs +3 -3
  533. package/dist/font.d.mts +95 -0
  534. package/dist/font.d.ts +95 -0
  535. package/dist/font.mjs +2 -2
  536. package/dist/generate-route-types.d-BL2pq6xC.d.ts +33 -0
  537. package/dist/generate-route-types.d-BoVDU8qX.d.mts +33 -0
  538. package/dist/headers.cjs +8 -6
  539. package/dist/headers.d.mts +32 -0
  540. package/dist/headers.d.ts +32 -0
  541. package/dist/headers.mjs +7 -5
  542. package/dist/i18n/client.cjs +19 -30
  543. package/dist/i18n/client.d.mts +32 -0
  544. package/dist/i18n/client.d.ts +32 -0
  545. package/dist/i18n/client.mjs +9 -20
  546. package/dist/i18n/index.cjs +6 -6
  547. package/dist/i18n/index.d.mts +3 -0
  548. package/dist/i18n/index.d.ts +3 -0
  549. package/dist/i18n/index.mjs +5 -5
  550. package/dist/i18n/server.cjs +10 -10
  551. package/dist/i18n/server.d.mts +30 -0
  552. package/dist/i18n/server.d.ts +30 -0
  553. package/dist/i18n/server.mjs +9 -9
  554. package/dist/image/server.cjs +9 -5
  555. package/dist/image/server.d.mts +59 -0
  556. package/dist/image/server.d.ts +59 -0
  557. package/dist/image/server.mjs +8 -4
  558. package/dist/image/sharp.cjs +16 -20
  559. package/dist/image/sharp.d.mts +20 -0
  560. package/dist/image/sharp.d.ts +20 -0
  561. package/dist/image/sharp.mjs +8 -12
  562. package/dist/image-config.d-CeDgNyX4.d.mts +53 -0
  563. package/dist/image-config.d-CeDgNyX4.d.ts +53 -0
  564. package/dist/image.cjs +9 -18
  565. package/dist/image.d.mts +39 -0
  566. package/dist/image.d.ts +39 -0
  567. package/dist/image.mjs +4 -13
  568. package/dist/index.cjs +250 -174
  569. package/dist/index.d-BNNDpql4.d.ts +20 -0
  570. package/dist/index.d-BqcfqJvt.d.mts +20 -0
  571. package/dist/index.d-Coow7bD4.d.ts +54 -0
  572. package/dist/index.d-Dbjx0ku7.d.mts +54 -0
  573. package/dist/index.d.mts +1053 -0
  574. package/dist/index.d.ts +1053 -0
  575. package/dist/index.mjs +318 -242
  576. package/dist/instrumentation-runtime.d-CX9Zh-16.d.mts +22 -0
  577. package/dist/instrumentation-runtime.d-CX9Zh-16.d.ts +22 -0
  578. package/dist/instrumentation.cjs +5 -5
  579. package/dist/instrumentation.d.mts +7 -0
  580. package/dist/instrumentation.d.ts +7 -0
  581. package/dist/instrumentation.mjs +4 -4
  582. package/dist/integration-orm-52GPGTHO.cjs +14 -0
  583. package/dist/integration-orm-CO23MSFE.mjs +14 -0
  584. package/dist/integrations.cjs +23 -17
  585. package/dist/integrations.d.mts +33 -0
  586. package/dist/integrations.d.ts +33 -0
  587. package/dist/integrations.mjs +24 -18
  588. package/dist/internal/app-markdown-runtime.cjs +13 -13
  589. package/dist/internal/app-markdown-runtime.d.mts +86 -0
  590. package/dist/internal/app-markdown-runtime.d.ts +86 -0
  591. package/dist/internal/app-markdown-runtime.mjs +12 -12
  592. package/dist/internal/build-runtime.cjs +166 -133
  593. package/dist/internal/build-runtime.d.mts +46 -0
  594. package/dist/internal/build-runtime.d.ts +46 -0
  595. package/dist/internal/build-runtime.mjs +154 -121
  596. package/dist/internal/cli-runtime.cjs +102 -79
  597. package/dist/internal/cli-runtime.mjs +102 -79
  598. package/dist/internal/client-error-overlay.cjs +18 -49
  599. package/dist/internal/client-error-overlay.d.mts +25 -0
  600. package/dist/internal/client-error-overlay.d.ts +25 -0
  601. package/dist/internal/client-error-overlay.mjs +14 -45
  602. package/dist/internal/client-runtime.cjs +73 -59
  603. package/dist/internal/client-runtime.d.mts +93 -0
  604. package/dist/internal/client-runtime.d.ts +93 -0
  605. package/dist/internal/client-runtime.mjs +66 -52
  606. package/dist/internal/compression-runtime.cjs +4 -4
  607. package/dist/internal/compression-runtime.d.mts +48 -0
  608. package/dist/internal/compression-runtime.d.ts +48 -0
  609. package/dist/internal/compression-runtime.mjs +3 -3
  610. package/dist/internal/config-runtime.cjs +94 -65
  611. package/dist/internal/config-runtime.d.mts +336 -0
  612. package/dist/internal/config-runtime.d.ts +336 -0
  613. package/dist/internal/config-runtime.mjs +80 -51
  614. package/dist/internal/desktop-guard.cjs +17 -0
  615. package/dist/internal/desktop-guard.d.mts +52 -0
  616. package/dist/internal/desktop-guard.d.ts +52 -0
  617. package/dist/internal/desktop-guard.mjs +17 -0
  618. package/dist/internal/docs-precompiled-runtime.cjs +18 -24
  619. package/dist/internal/docs-precompiled-runtime.d.mts +43 -0
  620. package/dist/internal/docs-precompiled-runtime.d.ts +43 -0
  621. package/dist/internal/docs-precompiled-runtime.mjs +14 -20
  622. package/dist/internal/form-actions-client.cjs +14 -0
  623. package/dist/internal/form-actions-client.d.mts +5 -0
  624. package/dist/internal/form-actions-client.d.ts +5 -0
  625. package/dist/internal/form-actions-client.mjs +14 -0
  626. package/dist/internal/form-actions.cjs +19 -0
  627. package/dist/internal/form-actions.d.mts +14 -0
  628. package/dist/internal/form-actions.d.ts +14 -0
  629. package/dist/internal/form-actions.mjs +19 -0
  630. package/dist/internal/infra-analytics-runtime.cjs +24 -8
  631. package/dist/internal/infra-analytics-runtime.d.mts +16 -0
  632. package/dist/internal/infra-analytics-runtime.d.ts +16 -0
  633. package/dist/internal/infra-analytics-runtime.mjs +22 -6
  634. package/dist/internal/island-codec.cjs +22 -0
  635. package/dist/internal/island-codec.d.mts +29 -0
  636. package/dist/internal/island-codec.d.ts +29 -0
  637. package/dist/internal/island-codec.mjs +22 -0
  638. package/dist/internal/island-value-store.cjs +10 -0
  639. package/dist/internal/island-value-store.d.mts +6 -0
  640. package/dist/internal/island-value-store.d.ts +6 -0
  641. package/dist/internal/island-value-store.mjs +10 -0
  642. package/dist/internal/islands-boot.cjs +211 -0
  643. package/dist/internal/islands-boot.d.mts +8 -0
  644. package/dist/internal/islands-boot.d.ts +8 -0
  645. package/dist/internal/islands-boot.mjs +211 -0
  646. package/dist/internal/islands-runtime.cjs +161 -0
  647. package/dist/internal/islands-runtime.d.mts +66 -0
  648. package/dist/internal/islands-runtime.d.ts +66 -0
  649. package/dist/internal/islands-runtime.mjs +161 -0
  650. package/dist/internal/islands-server.cjs +16 -0
  651. package/dist/internal/islands-server.d.mts +3 -0
  652. package/dist/internal/islands-server.d.ts +3 -0
  653. package/dist/internal/islands-server.mjs +16 -0
  654. package/dist/internal/islx-client.cjs +5 -0
  655. package/dist/internal/islx-client.d.mts +6 -0
  656. package/dist/internal/islx-client.d.ts +6 -0
  657. package/dist/internal/islx-client.mjs +3 -0
  658. package/dist/internal/islx-react.cjs +4 -0
  659. package/dist/internal/islx-react.d.mts +1 -0
  660. package/dist/internal/islx-react.d.ts +1 -0
  661. package/dist/internal/islx-react.mjs +2 -0
  662. package/dist/internal/islx-server.cjs +5 -0
  663. package/dist/internal/islx-server.d.mts +2 -0
  664. package/dist/internal/islx-server.d.ts +2 -0
  665. package/dist/internal/islx-server.mjs +3 -0
  666. package/dist/internal/isolated-boundary.cjs +5 -4
  667. package/dist/internal/isolated-boundary.d.mts +66 -0
  668. package/dist/internal/isolated-boundary.d.ts +66 -0
  669. package/dist/internal/isolated-boundary.mjs +4 -3
  670. package/dist/internal/metadata-image-runtime.cjs +8 -7
  671. package/dist/internal/metadata-image-runtime.d.mts +30 -0
  672. package/dist/internal/metadata-image-runtime.d.ts +30 -0
  673. package/dist/internal/metadata-image-runtime.mjs +7 -6
  674. package/dist/internal/native-server-fns.cjs +25 -0
  675. package/dist/internal/native-server-fns.d.mts +42 -0
  676. package/dist/internal/native-server-fns.d.ts +42 -0
  677. package/dist/internal/native-server-fns.mjs +25 -0
  678. package/dist/internal/product-telemetry-runtime.cjs +22 -228
  679. package/dist/internal/product-telemetry-runtime.d.mts +45 -0
  680. package/dist/internal/product-telemetry-runtime.d.ts +45 -0
  681. package/dist/internal/product-telemetry-runtime.mjs +11 -217
  682. package/dist/internal/production-node-env.cjs +7 -3
  683. package/dist/internal/production-node-env.d.mts +21 -0
  684. package/dist/internal/production-node-env.d.ts +21 -0
  685. package/dist/internal/production-node-env.mjs +6 -2
  686. package/dist/internal/production-runtime.cjs +179 -90
  687. package/dist/internal/production-runtime.d.mts +566 -0
  688. package/dist/internal/production-runtime.d.ts +566 -0
  689. package/dist/internal/production-runtime.mjs +203 -114
  690. package/dist/internal/react-cache.cjs +71 -0
  691. package/dist/internal/react-cache.d.mts +10 -0
  692. package/dist/internal/react-cache.d.ts +10 -0
  693. package/dist/internal/react-cache.mjs +71 -0
  694. package/dist/internal/request-cookies.cjs +3 -3
  695. package/dist/internal/request-cookies.d.mts +16 -0
  696. package/dist/internal/request-cookies.d.ts +16 -0
  697. package/dist/internal/request-cookies.mjs +2 -2
  698. package/dist/internal/server-fn-transform.cjs +13 -0
  699. package/dist/internal/server-fn-transform.d.mts +24 -0
  700. package/dist/internal/server-fn-transform.d.ts +24 -0
  701. package/dist/internal/server-fn-transform.mjs +13 -0
  702. package/dist/internal/server-tree.cjs +7 -4
  703. package/dist/internal/server-tree.d.mts +50 -0
  704. package/dist/internal/server-tree.d.ts +50 -0
  705. package/dist/internal/server-tree.mjs +8 -5
  706. package/dist/island-value-protocol.d-BRayRghM.d.mts +12 -0
  707. package/dist/island-value-protocol.d-BRayRghM.d.ts +12 -0
  708. package/dist/island.d-CfGru1MO.d.mts +9 -0
  709. package/dist/island.d-CfGru1MO.d.ts +9 -0
  710. package/dist/json-ld.cjs +3 -16
  711. package/dist/json-ld.d.mts +94 -0
  712. package/dist/json-ld.d.ts +94 -0
  713. package/dist/json-ld.mjs +3 -16
  714. package/dist/layers-DMRXRL7F.cjs +18 -0
  715. package/dist/layers-T55SA47E.mjs +18 -0
  716. package/dist/layers.d-CcS42OGR.d.mts +55 -0
  717. package/dist/layers.d-CcS42OGR.d.ts +55 -0
  718. package/dist/lifecycle.d-C2aLBOwu.d.mts +176 -0
  719. package/dist/lifecycle.d-C2aLBOwu.d.ts +176 -0
  720. package/dist/manager-2LUKNX2N.cjs +14 -0
  721. package/dist/manager-H5ZM3HAM.mjs +14 -0
  722. package/dist/markdown.cjs +19 -12
  723. package/dist/markdown.d.mts +33 -0
  724. package/dist/markdown.d.ts +33 -0
  725. package/dist/markdown.mjs +18 -11
  726. package/dist/middleware.cjs +34 -26
  727. package/dist/middleware.d.mts +225 -0
  728. package/dist/middleware.d.ts +225 -0
  729. package/dist/middleware.mjs +38 -30
  730. package/dist/mobile.cjs +9 -0
  731. package/dist/mobile.d.mts +138 -0
  732. package/dist/mobile.d.ts +138 -0
  733. package/dist/mobile.mjs +9 -0
  734. package/dist/modules-KOKD4XS6.mjs +13 -0
  735. package/dist/modules-QTP7WJPD.cjs +13 -0
  736. package/dist/native-server-fn-handler-GLRHAYWV.mjs +28 -0
  737. package/dist/native-server-fn-handler-J5MYRXN6.cjs +28 -0
  738. package/dist/native-specs-5OLED4MM.cjs +15 -0
  739. package/dist/native-specs-LDV6IZ4N.mjs +15 -0
  740. package/dist/native-tree-AS5L3ID3.mjs +27 -0
  741. package/dist/native-tree-Z2WYUJEV.cjs +27 -0
  742. package/dist/native.cjs +87 -0
  743. package/dist/native.d.mts +72 -0
  744. package/dist/native.d.ts +72 -0
  745. package/dist/native.mjs +87 -0
  746. package/dist/navigation-delegate.d-Ca_BV0Wu.d.mts +29 -0
  747. package/dist/navigation-delegate.d-aHiPI6GL.d.ts +29 -0
  748. package/dist/navigation.cjs +22 -21
  749. package/dist/navigation.d.mts +51 -0
  750. package/dist/navigation.d.ts +51 -0
  751. package/dist/navigation.mjs +21 -20
  752. package/dist/nitro-DD4QCA66.mjs +650 -0
  753. package/dist/nitro-VRDX2H4M.cjs +650 -0
  754. package/dist/node-module-bundle-7JHPPF6B.mjs +11 -0
  755. package/dist/node-module-bundle-YJGYBOGK.cjs +11 -0
  756. package/dist/observability.cjs +3 -3
  757. package/dist/observability.d-B2363jB6.d.mts +448 -0
  758. package/dist/observability.d-B2363jB6.d.ts +448 -0
  759. package/dist/observability.d.mts +2 -0
  760. package/dist/observability.d.ts +2 -0
  761. package/dist/observability.mjs +2 -2
  762. package/dist/og.cjs +1 -1
  763. package/dist/og.d.mts +1 -0
  764. package/dist/og.d.ts +1 -0
  765. package/dist/og.mjs +1 -1
  766. package/dist/params.d-BALtrRim.d.ts +15 -0
  767. package/dist/params.d-ry-lxqmy.d.mts +15 -0
  768. package/dist/platform.cjs +29 -0
  769. package/dist/platform.d.mts +24 -0
  770. package/dist/platform.d.ts +24 -0
  771. package/dist/platform.mjs +29 -0
  772. package/dist/plugin-53SY5YBS.mjs +32 -0
  773. package/dist/plugin-HZIBL3DW.cjs +32 -0
  774. package/dist/plugin.cjs +154 -124
  775. package/dist/plugin.d.mts +58 -0
  776. package/dist/plugin.d.ts +58 -0
  777. package/dist/plugin.mjs +137 -107
  778. package/dist/port-UFUZL6RI.mjs +419 -0
  779. package/dist/port-VTLHPZOI.cjs +419 -0
  780. package/dist/production-runtime.d-C0rF7a10.d.ts +123 -0
  781. package/dist/production-runtime.d-CnAsSWgF.d.mts +123 -0
  782. package/dist/production-vite.d-BQFAlG7n.d.mts +13 -0
  783. package/dist/production-vite.d-BQFAlG7n.d.ts +13 -0
  784. package/dist/query/client.cjs +59 -69
  785. package/dist/query/client.d.mts +61 -0
  786. package/dist/query/client.d.ts +61 -0
  787. package/dist/query/client.mjs +51 -61
  788. package/dist/query/index.cjs +4 -4
  789. package/dist/query/index.d.mts +90 -0
  790. package/dist/query/index.d.ts +90 -0
  791. package/dist/query/index.mjs +3 -3
  792. package/dist/query/parsers.cjs +3 -3
  793. package/dist/query/parsers.d.mts +29 -0
  794. package/dist/query/parsers.d.ts +29 -0
  795. package/dist/query/parsers.mjs +2 -2
  796. package/dist/query/server.cjs +5 -11
  797. package/dist/query/server.d.mts +55 -0
  798. package/dist/query/server.d.ts +55 -0
  799. package/dist/query/server.mjs +3 -9
  800. package/dist/render-plan.d-BxeITFT1.d.ts +25 -0
  801. package/dist/render-plan.d-Z-93m5GZ.d.mts +25 -0
  802. package/dist/renderer/react/client.cjs +1 -1
  803. package/dist/renderer/react/client.d.mts +3 -0
  804. package/dist/renderer/react/client.d.ts +3 -0
  805. package/dist/renderer/react/client.mjs +1 -1
  806. package/dist/renderer/react/server.cjs +10 -14
  807. package/dist/renderer/react/server.d.mts +48 -0
  808. package/dist/renderer/react/server.d.ts +48 -0
  809. package/dist/renderer/react/server.mjs +12 -16
  810. package/dist/renderer/react/vite.cjs +1 -4
  811. package/dist/renderer/react/vite.d.mts +4 -0
  812. package/dist/renderer/react/vite.d.ts +4 -0
  813. package/dist/renderer/react/vite.mjs +1 -4
  814. package/dist/renderer-client.cjs +71 -77
  815. package/dist/renderer-client.d.mts +126 -0
  816. package/dist/renderer-client.d.ts +126 -0
  817. package/dist/renderer-client.mjs +51 -57
  818. package/dist/renderer.cjs +3 -3
  819. package/dist/renderer.d.mts +260 -0
  820. package/dist/renderer.d.ts +260 -0
  821. package/dist/renderer.mjs +2 -2
  822. package/dist/request.cjs +4 -4
  823. package/dist/request.d-8_fMFNEb.d.mts +24 -0
  824. package/dist/request.d-X7Q1vmGF.d.ts +24 -0
  825. package/dist/request.d.mts +34 -0
  826. package/dist/request.d.ts +34 -0
  827. package/dist/request.mjs +3 -3
  828. package/dist/resolver.d-BHyZgpa7.d.ts +14 -0
  829. package/dist/resolver.d-JnZKKsc5.d.mts +14 -0
  830. package/dist/response.d-BolW0Vx_.d.mts +10 -0
  831. package/dist/response.d-BolW0Vx_.d.ts +10 -0
  832. package/dist/route-pattern.d-CVsVbq5n.d.mts +13 -0
  833. package/dist/route-pattern.d-CVsVbq5n.d.ts +13 -0
  834. package/dist/route-rendering.d-BInmBmul.d.mts +44 -0
  835. package/dist/route-rendering.d-BUr3Jp8S.d.ts +44 -0
  836. package/dist/route.d-BaVH3V0w.d.mts +224 -0
  837. package/dist/route.d-DBTEqifW.d.ts +224 -0
  838. package/dist/router.cjs +5 -5
  839. package/dist/router.d-CZQmbpHx.d.mts +50 -0
  840. package/dist/router.d-crorSRiW.d.ts +50 -0
  841. package/dist/router.d.mts +36 -0
  842. package/dist/router.d.ts +36 -0
  843. package/dist/router.mjs +4 -4
  844. package/dist/routes.cjs +14 -12
  845. package/dist/routes.d-BknKQcTu.d.ts +237 -0
  846. package/dist/routes.d-D1IrO9KK.d.mts +237 -0
  847. package/dist/routes.d.mts +273 -0
  848. package/dist/routes.d.ts +273 -0
  849. package/dist/routes.mjs +13 -11
  850. package/dist/rsc-pipeline-3MPRULGA.mjs +83 -0
  851. package/dist/rsc-pipeline-RHEZNBFQ.cjs +83 -0
  852. package/dist/runtime-OZKFZQCU.cjs +1336 -0
  853. package/dist/runtime-X5UR7VHP.mjs +1336 -0
  854. package/dist/runtime.d-3iJAKptR.d.mts +28 -0
  855. package/dist/runtime.d-BtL3PCL3.d.ts +28 -0
  856. package/dist/runtime.d-CCsjTZJW.d.ts +69 -0
  857. package/dist/runtime.d-CETtpLb-.d.mts +69 -0
  858. package/dist/schema-dev-notice-JMXEQWIQ.mjs +54 -0
  859. package/dist/schema-dev-notice-PLBFDTOF.cjs +54 -0
  860. package/dist/schema.cjs +3 -3
  861. package/dist/schema.d.mts +115 -0
  862. package/dist/schema.d.ts +115 -0
  863. package/dist/schema.mjs +2 -2
  864. package/dist/search-client-OXH6GBNO.mjs +15 -0
  865. package/dist/search-client-ZZLKVO5R.cjs +15 -0
  866. package/dist/server-action-security.cjs +8 -7
  867. package/dist/server-action-security.d.mts +45 -0
  868. package/dist/server-action-security.d.ts +45 -0
  869. package/dist/server-action-security.mjs +7 -6
  870. package/dist/server-client-bridge.d-DKWDl5NB.d.mts +7 -0
  871. package/dist/server-client-bridge.d-DKWDl5NB.d.ts +7 -0
  872. package/dist/server-fn-client.cjs +4 -4
  873. package/dist/server-fn-client.d.mts +60 -0
  874. package/dist/server-fn-client.d.ts +60 -0
  875. package/dist/server-fn-client.mjs +3 -3
  876. package/dist/server-fn-error.d-DrcH9cc1.d.mts +26 -0
  877. package/dist/server-fn-error.d-DrcH9cc1.d.ts +26 -0
  878. package/dist/server-fn.cjs +15 -14
  879. package/dist/server-fn.d.mts +192 -0
  880. package/dist/server-fn.d.ts +192 -0
  881. package/dist/server-fn.mjs +14 -13
  882. package/dist/server-plugins.cjs +15 -15
  883. package/dist/server-plugins.d.mts +65 -0
  884. package/dist/server-plugins.d.ts +65 -0
  885. package/dist/server-plugins.mjs +14 -14
  886. package/dist/server-query-client.cjs +9 -8
  887. package/dist/server-query-client.d.mts +26 -0
  888. package/dist/server-query-client.d.ts +26 -0
  889. package/dist/server-query-client.mjs +8 -7
  890. package/dist/server-query-runtime.d-DXRNhX_3.d.ts +36 -0
  891. package/dist/server-query-runtime.d-aP52iuL5.d.mts +36 -0
  892. package/dist/server-query.cjs +17 -16
  893. package/dist/server-query.d.mts +46 -0
  894. package/dist/server-query.d.ts +46 -0
  895. package/dist/server-query.mjs +16 -15
  896. package/dist/server.cjs +266 -199
  897. package/dist/server.d.mts +78 -0
  898. package/dist/server.d.ts +78 -0
  899. package/dist/server.mjs +239 -172
  900. package/dist/session-2Q72D4QV.cjs +23 -0
  901. package/dist/session-QZXZOPR2.mjs +23 -0
  902. package/dist/shell-render.d-CG6bPiiA.d.mts +41 -0
  903. package/dist/shell-render.d-CG6bPiiA.d.ts +41 -0
  904. package/dist/spa-router.d-CCADbSqJ.d.ts +248 -0
  905. package/dist/spa-router.d-CtSHzXlC.d.mts +248 -0
  906. package/dist/storage.cjs +7 -3
  907. package/dist/storage.d.mts +60 -0
  908. package/dist/storage.d.ts +60 -0
  909. package/dist/storage.mjs +6 -2
  910. package/dist/testing.cjs +59 -76
  911. package/dist/testing.d.mts +110 -0
  912. package/dist/testing.d.ts +110 -0
  913. package/dist/testing.mjs +49 -66
  914. package/dist/theme/client.cjs +5 -5
  915. package/dist/theme/client.d.mts +10 -0
  916. package/dist/theme/client.d.ts +10 -0
  917. package/dist/theme/client.mjs +4 -4
  918. package/dist/theme/index.cjs +3 -3
  919. package/dist/theme/index.d.mts +6 -0
  920. package/dist/theme/index.d.ts +6 -0
  921. package/dist/theme/index.mjs +2 -2
  922. package/dist/theme/runtime.cjs +3 -3
  923. package/dist/theme/runtime.d.mts +13 -0
  924. package/dist/theme/runtime.d.ts +13 -0
  925. package/dist/theme/runtime.mjs +2 -2
  926. package/dist/theme/server.cjs +8 -8
  927. package/dist/theme/server.d.mts +8 -0
  928. package/dist/theme/server.d.ts +8 -0
  929. package/dist/theme/server.mjs +7 -7
  930. package/dist/types.d-BnIqOn9w.d.mts +73 -0
  931. package/dist/types.d-BnIqOn9w.d.ts +73 -0
  932. package/dist/types.d-C41ePjvP.d.mts +85 -0
  933. package/dist/types.d-C41ePjvP.d.ts +85 -0
  934. package/dist/types.d-DQnyD3VD.d.mts +30 -0
  935. package/dist/types.d-DQnyD3VD.d.ts +30 -0
  936. package/dist/utils.d-CjyE-npA.d.ts +54 -0
  937. package/dist/utils.d-zFPHKFFJ.d.mts +54 -0
  938. package/dist/version.cjs +3 -3
  939. package/dist/version.d.mts +3 -0
  940. package/dist/version.d.ts +3 -0
  941. package/dist/version.mjs +2 -2
  942. package/dist/vite.cjs +172 -120
  943. package/dist/vite.d.mts +186 -0
  944. package/dist/vite.d.ts +186 -0
  945. package/dist/vite.mjs +159 -107
  946. package/dist/workflows.cjs +14 -13
  947. package/dist/workflows.d-CRMzQZ3k.d.mts +188 -0
  948. package/dist/workflows.d-CRMzQZ3k.d.ts +188 -0
  949. package/dist/workflows.d.mts +1 -0
  950. package/dist/workflows.d.ts +1 -0
  951. package/dist/workflows.mjs +13 -12
  952. package/package.json +7 -2
  953. package/dist/agent-mcp-handler-LPJ2CADR.mjs +0 -19
  954. package/dist/agent-mcp-handler-SJAHFSPI.cjs +0 -19
  955. package/dist/chunk-23MGIV4X.mjs +0 -579
  956. package/dist/chunk-27ZWSI3W.cjs +0 -64
  957. package/dist/chunk-2A3EQHXX.mjs +0 -173
  958. package/dist/chunk-2CQ74SP6.cjs +0 -13
  959. package/dist/chunk-2ELDTQRN.mjs +0 -85
  960. package/dist/chunk-2J7W2WND.mjs +0 -149
  961. package/dist/chunk-2NNMOPDN.mjs +0 -237
  962. package/dist/chunk-2PQNJXFM.mjs +0 -20
  963. package/dist/chunk-2SJ4RQ6P.cjs +0 -57
  964. package/dist/chunk-2UC36WAC.mjs +0 -22
  965. package/dist/chunk-2VQKKQ6D.mjs +0 -51
  966. package/dist/chunk-2Y3JRYVG.mjs +0 -71
  967. package/dist/chunk-35GKZR22.mjs +0 -157
  968. package/dist/chunk-3BU22U3M.cjs +0 -237
  969. package/dist/chunk-3KZS4SUS.mjs +0 -414
  970. package/dist/chunk-3SDFA7UF.cjs +0 -701
  971. package/dist/chunk-3TLO7SBY.cjs +0 -240
  972. package/dist/chunk-3UEVPCGW.mjs +0 -435
  973. package/dist/chunk-3WNDJT2E.cjs +0 -109
  974. package/dist/chunk-44SYJEG3.mjs +0 -13
  975. package/dist/chunk-45ZSJLDT.mjs +0 -183
  976. package/dist/chunk-4E5AEDKY.mjs +0 -696
  977. package/dist/chunk-4E5WBPEG.mjs +0 -1157
  978. package/dist/chunk-4GLOOWKE.mjs +0 -1344
  979. package/dist/chunk-4JCQDWPX.mjs +0 -24
  980. package/dist/chunk-4NU4GGTC.cjs +0 -484
  981. package/dist/chunk-4OOBRCJX.mjs +0 -300
  982. package/dist/chunk-4PPEPOZZ.cjs +0 -21
  983. package/dist/chunk-4RB44K6Z.mjs +0 -94
  984. package/dist/chunk-4SIYUGRY.mjs +0 -93
  985. package/dist/chunk-4WQ6PGSJ.cjs +0 -367
  986. package/dist/chunk-4WVJLURN.mjs +0 -417
  987. package/dist/chunk-4ZFL5GFN.cjs +0 -520
  988. package/dist/chunk-54UPOYFS.mjs +0 -35
  989. package/dist/chunk-55YI3RRB.mjs +0 -192
  990. package/dist/chunk-5I3OT426.cjs +0 -11021
  991. package/dist/chunk-5QIKR7RR.cjs +0 -224
  992. package/dist/chunk-5SJWVY6R.mjs +0 -26
  993. package/dist/chunk-5WI2S4CO.mjs +0 -20
  994. package/dist/chunk-63H6BKXG.cjs +0 -389
  995. package/dist/chunk-655RLQQL.mjs +0 -43
  996. package/dist/chunk-6EODJYCX.cjs +0 -183
  997. package/dist/chunk-6EXBPJ24.cjs +0 -434
  998. package/dist/chunk-6MVFL3R5.cjs +0 -506
  999. package/dist/chunk-6NT6S2VQ.mjs +0 -180
  1000. package/dist/chunk-6QQDAAAZ.cjs +0 -38
  1001. package/dist/chunk-6SJ2KJTA.mjs +0 -314
  1002. package/dist/chunk-6SM5XXFS.cjs +0 -70
  1003. package/dist/chunk-6V4TDWEC.cjs +0 -455
  1004. package/dist/chunk-72ADZ6GQ.cjs +0 -19
  1005. package/dist/chunk-72AK62H5.mjs +0 -55
  1006. package/dist/chunk-75RZHGLS.cjs +0 -135
  1007. package/dist/chunk-77GNHH2Z.cjs +0 -236
  1008. package/dist/chunk-7DBXEASO.cjs +0 -40
  1009. package/dist/chunk-7LTCDQRS.mjs +0 -166
  1010. package/dist/chunk-7W3CPVXS.cjs +0 -24
  1011. package/dist/chunk-A6WIQH5Z.cjs +0 -31
  1012. package/dist/chunk-ADEA7PN3.cjs +0 -1101
  1013. package/dist/chunk-AELACLOB.mjs +0 -47
  1014. package/dist/chunk-AHGECQEW.mjs +0 -49
  1015. package/dist/chunk-AI7QMY7O.cjs +0 -41
  1016. package/dist/chunk-AJQTP4OO.mjs +0 -212
  1017. package/dist/chunk-AMDMVWMI.cjs +0 -39
  1018. package/dist/chunk-ARJWXNQL.cjs +0 -256
  1019. package/dist/chunk-BCMSYSN2.mjs +0 -183
  1020. package/dist/chunk-BIDYX3SL.cjs +0 -91
  1021. package/dist/chunk-BJIYRUGQ.mjs +0 -35
  1022. package/dist/chunk-BJPBQNIE.cjs +0 -2355
  1023. package/dist/chunk-BO36SELV.cjs +0 -395
  1024. package/dist/chunk-BOYNDCZL.mjs +0 -54
  1025. package/dist/chunk-BPMATOP2.cjs +0 -687
  1026. package/dist/chunk-BPOF5U4N.mjs +0 -566
  1027. package/dist/chunk-BRYHOB4X.mjs +0 -18
  1028. package/dist/chunk-BSC7JTOK.mjs +0 -70
  1029. package/dist/chunk-BTHHUD7Q.mjs +0 -51
  1030. package/dist/chunk-BUGNQIHC.mjs +0 -449
  1031. package/dist/chunk-C4NCTZLM.mjs +0 -22
  1032. package/dist/chunk-C4SPBWFM.cjs +0 -26
  1033. package/dist/chunk-C5GUTBZK.cjs +0 -173
  1034. package/dist/chunk-CBBLJMR5.mjs +0 -74
  1035. package/dist/chunk-CBJJH36A.cjs +0 -2187
  1036. package/dist/chunk-CGBDNNSM.cjs +0 -664
  1037. package/dist/chunk-CI6E3UOH.cjs +0 -314
  1038. package/dist/chunk-CMGMGHUZ.cjs +0 -27
  1039. package/dist/chunk-CNOQY6Z7.mjs +0 -156
  1040. package/dist/chunk-CQ6OSQ3K.mjs +0 -36
  1041. package/dist/chunk-CU625VAY.mjs +0 -13
  1042. package/dist/chunk-CVOSWIQA.mjs +0 -15300
  1043. package/dist/chunk-CXEN47J3.mjs +0 -550
  1044. package/dist/chunk-CXP5U3RW.cjs +0 -54
  1045. package/dist/chunk-D227TIEN.cjs +0 -1114
  1046. package/dist/chunk-D2BB47NB.cjs +0 -157
  1047. package/dist/chunk-D2ULAULS.cjs +0 -166
  1048. package/dist/chunk-D7JTOLFK.cjs +0 -285
  1049. package/dist/chunk-DAATZTKJ.mjs +0 -220
  1050. package/dist/chunk-DAO7JGTS.mjs +0 -73
  1051. package/dist/chunk-DQQOKWYA.cjs +0 -42
  1052. package/dist/chunk-DTSROJ5J.mjs +0 -367
  1053. package/dist/chunk-DVM4FKZL.cjs +0 -169
  1054. package/dist/chunk-DZ5ZVB2K.cjs +0 -9
  1055. package/dist/chunk-E2ROOWQC.cjs +0 -2225
  1056. package/dist/chunk-E3UK5IIB.cjs +0 -593
  1057. package/dist/chunk-E5GNDG5F.mjs +0 -701
  1058. package/dist/chunk-EA5K5BKU.mjs +0 -455
  1059. package/dist/chunk-ECKF2BAM.cjs +0 -403
  1060. package/dist/chunk-EK4QAEFZ.cjs +0 -550
  1061. package/dist/chunk-EMLAPBEM.mjs +0 -256
  1062. package/dist/chunk-ENLZ4R3Y.mjs +0 -55
  1063. package/dist/chunk-EUV4YR3V.cjs +0 -1362
  1064. package/dist/chunk-EWET4D2Y.mjs +0 -395
  1065. package/dist/chunk-EZDQRNQ7.mjs +0 -1496
  1066. package/dist/chunk-F2SE2VDO.mjs +0 -65
  1067. package/dist/chunk-F3LTXB63.mjs +0 -40
  1068. package/dist/chunk-F3VB7ONA.mjs +0 -338
  1069. package/dist/chunk-F5QO4FNE.mjs +0 -664
  1070. package/dist/chunk-FA2W42OV.mjs +0 -25
  1071. package/dist/chunk-FDR64H6B.mjs +0 -140
  1072. package/dist/chunk-FFFW3OQ7.cjs +0 -65
  1073. package/dist/chunk-FJ3M4CUX.cjs +0 -46
  1074. package/dist/chunk-FK6GO24V.cjs +0 -54
  1075. package/dist/chunk-FNO7A7CM.cjs +0 -1496
  1076. package/dist/chunk-FO427P6I.cjs +0 -392
  1077. package/dist/chunk-FP2INE7H.mjs +0 -113
  1078. package/dist/chunk-FUZEBRP3.mjs +0 -593
  1079. package/dist/chunk-FZ6YYU2W.mjs +0 -65
  1080. package/dist/chunk-G2KY33I6.mjs +0 -202
  1081. package/dist/chunk-G4MWPDSE.mjs +0 -19
  1082. package/dist/chunk-G643DQCH.cjs +0 -13
  1083. package/dist/chunk-G7HXGLEC.cjs +0 -175
  1084. package/dist/chunk-GC3SUL6M.mjs +0 -109
  1085. package/dist/chunk-GCXWJJKH.mjs +0 -169
  1086. package/dist/chunk-GHFS7RUB.mjs +0 -152
  1087. package/dist/chunk-GQ3Z3IZI.cjs +0 -241
  1088. package/dist/chunk-H4AMB6ZE.mjs +0 -421
  1089. package/dist/chunk-H77NVNJ2.mjs +0 -57
  1090. package/dist/chunk-HALDNTIV.mjs +0 -2225
  1091. package/dist/chunk-HITLGIAO.cjs +0 -55
  1092. package/dist/chunk-HLJ6MBUZ.cjs +0 -183
  1093. package/dist/chunk-HOXTWRGB.mjs +0 -484
  1094. package/dist/chunk-HREOKQWT.cjs +0 -45
  1095. package/dist/chunk-I2BHUNBU.mjs +0 -14
  1096. package/dist/chunk-I57LW5VZ.cjs +0 -94
  1097. package/dist/chunk-IE7XCHH3.cjs +0 -85
  1098. package/dist/chunk-IHNIDL6H.cjs +0 -772
  1099. package/dist/chunk-IK6LVLKC.cjs +0 -51
  1100. package/dist/chunk-IOEH4VWN.mjs +0 -202
  1101. package/dist/chunk-IWZKTWHZ.cjs +0 -435
  1102. package/dist/chunk-IZY3V5XW.mjs +0 -23
  1103. package/dist/chunk-J63ZH5OQ.cjs +0 -62
  1104. package/dist/chunk-J7FSKED3.cjs +0 -93
  1105. package/dist/chunk-JBSVKMC5.mjs +0 -28
  1106. package/dist/chunk-JDNHKPTD.cjs +0 -22
  1107. package/dist/chunk-JG6DJF5A.mjs +0 -238
  1108. package/dist/chunk-JGLC4TO3.cjs +0 -192
  1109. package/dist/chunk-JM5XPKWH.mjs +0 -41
  1110. package/dist/chunk-JNUWCDTF.cjs +0 -1344
  1111. package/dist/chunk-JNZ4TDWM.mjs +0 -445
  1112. package/dist/chunk-JPLUGGRV.mjs +0 -230
  1113. package/dist/chunk-JSROZYYO.cjs +0 -164
  1114. package/dist/chunk-KCMTCM6I.cjs +0 -53
  1115. package/dist/chunk-KGB5UXJJ.mjs +0 -27
  1116. package/dist/chunk-KGZIORNL.cjs +0 -43
  1117. package/dist/chunk-KI3MESHB.mjs +0 -224
  1118. package/dist/chunk-KIIMAWOJ.cjs +0 -505
  1119. package/dist/chunk-KMTGADN3.mjs +0 -95
  1120. package/dist/chunk-KN7K4VQN.mjs +0 -236
  1121. package/dist/chunk-KNBBQHO2.cjs +0 -51
  1122. package/dist/chunk-KR6CKSXT.cjs +0 -15
  1123. package/dist/chunk-KXWRO25S.cjs +0 -85
  1124. package/dist/chunk-L3KT7IXV.mjs +0 -91
  1125. package/dist/chunk-LCCBO7PJ.cjs +0 -46
  1126. package/dist/chunk-LIUGYUX3.cjs +0 -22
  1127. package/dist/chunk-LPEX4YW6.mjs +0 -13
  1128. package/dist/chunk-LSKZMJMP.cjs +0 -65
  1129. package/dist/chunk-LSZAVSGY.mjs +0 -1101
  1130. package/dist/chunk-LTNGXMQ6.cjs +0 -55
  1131. package/dist/chunk-LYLEZIG3.cjs +0 -73
  1132. package/dist/chunk-LYV44OIR.mjs +0 -256
  1133. package/dist/chunk-M2L4MYDQ.cjs +0 -14
  1134. package/dist/chunk-M7MKQXAF.cjs +0 -87
  1135. package/dist/chunk-MKYBIIAQ.mjs +0 -2187
  1136. package/dist/chunk-MQ3H6LT5.cjs +0 -202
  1137. package/dist/chunk-MRMI32SN.cjs +0 -1157
  1138. package/dist/chunk-MSSFIQGM.mjs +0 -1002
  1139. package/dist/chunk-MT763TDW.cjs +0 -43
  1140. package/dist/chunk-MVL2RAJW.mjs +0 -62
  1141. package/dist/chunk-MWSK6C4J.cjs +0 -18
  1142. package/dist/chunk-MWWVKDW3.cjs +0 -169
  1143. package/dist/chunk-N2NAS2AM.cjs +0 -725
  1144. package/dist/chunk-N46M65CI.mjs +0 -54
  1145. package/dist/chunk-N4UOK6ZI.cjs +0 -256
  1146. package/dist/chunk-NI2TCCTG.mjs +0 -11020
  1147. package/dist/chunk-NO3WWW3N.cjs +0 -192
  1148. package/dist/chunk-NPC7VWJE.mjs +0 -277
  1149. package/dist/chunk-NRDBW4MP.mjs +0 -45
  1150. package/dist/chunk-NRSN7G7E.mjs +0 -42
  1151. package/dist/chunk-NYJMY3JA.cjs +0 -156
  1152. package/dist/chunk-NZKJGRB3.cjs +0 -230
  1153. package/dist/chunk-O6BCQV2T.mjs +0 -46
  1154. package/dist/chunk-O6I6VWKK.mjs +0 -493
  1155. package/dist/chunk-O6WAEAX3.mjs +0 -2028
  1156. package/dist/chunk-O7BH5O46.mjs +0 -175
  1157. package/dist/chunk-OFZUJMCU.mjs +0 -601
  1158. package/dist/chunk-OHLSEQ57.mjs +0 -910
  1159. package/dist/chunk-OHY2ZWUG.cjs +0 -25
  1160. package/dist/chunk-OI6CMLWX.cjs +0 -47
  1161. package/dist/chunk-ONUEYC6N.mjs +0 -27
  1162. package/dist/chunk-OO7GXVSR.mjs +0 -9
  1163. package/dist/chunk-OT6ZEW74.mjs +0 -139
  1164. package/dist/chunk-OTC5BDGO.mjs +0 -687
  1165. package/dist/chunk-OX6O6WVA.cjs +0 -74
  1166. package/dist/chunk-OYEUREB6.cjs +0 -35
  1167. package/dist/chunk-OZVEHHMA.cjs +0 -194
  1168. package/dist/chunk-P5TJO5IS.mjs +0 -240
  1169. package/dist/chunk-PCOTGFSM.cjs +0 -139
  1170. package/dist/chunk-PNGWZFUQ.mjs +0 -39
  1171. package/dist/chunk-PSV6XKPO.cjs +0 -220
  1172. package/dist/chunk-PTZ2TVNE.cjs +0 -178
  1173. package/dist/chunk-PZNL3WEG.mjs +0 -772
  1174. package/dist/chunk-PZYCPSCC.cjs +0 -35
  1175. package/dist/chunk-Q2KB32T4.mjs +0 -690
  1176. package/dist/chunk-Q5B3KJBP.cjs +0 -152
  1177. package/dist/chunk-QBK2AA4U.cjs +0 -445
  1178. package/dist/chunk-QCFBDFRS.mjs +0 -169
  1179. package/dist/chunk-QCVE2OCI.cjs +0 -169
  1180. package/dist/chunk-QE6VAKLT.mjs +0 -85
  1181. package/dist/chunk-QNPEUFHQ.cjs +0 -27
  1182. package/dist/chunk-QORUJDIV.mjs +0 -46
  1183. package/dist/chunk-QV4VE2OW.mjs +0 -166
  1184. package/dist/chunk-QVKYGNVM.mjs +0 -27
  1185. package/dist/chunk-QVYLBY73.mjs +0 -93
  1186. package/dist/chunk-R3DS7A2T.mjs +0 -21
  1187. package/dist/chunk-R5A5KNVX.cjs +0 -20
  1188. package/dist/chunk-R5JIFR6B.cjs +0 -42
  1189. package/dist/chunk-RHAZ22ZN.mjs +0 -87
  1190. package/dist/chunk-RKPDESVW.cjs +0 -15301
  1191. package/dist/chunk-RSOJ7DRT.mjs +0 -506
  1192. package/dist/chunk-S3A45T7F.cjs +0 -166
  1193. package/dist/chunk-S3FNNQHR.mjs +0 -31
  1194. package/dist/chunk-S3JO3N4H.cjs +0 -17
  1195. package/dist/chunk-S67OYZU7.mjs +0 -711
  1196. package/dist/chunk-S6VYG6XU.cjs +0 -493
  1197. package/dist/chunk-SAXPH6G5.mjs +0 -169
  1198. package/dist/chunk-SC2WYWPF.mjs +0 -241
  1199. package/dist/chunk-SDOTRX3V.cjs +0 -690
  1200. package/dist/chunk-SEJ5N6SL.mjs +0 -38
  1201. package/dist/chunk-SFGWNC43.mjs +0 -97
  1202. package/dist/chunk-SHB3GYXI.mjs +0 -285
  1203. package/dist/chunk-SHLXACIO.cjs +0 -95
  1204. package/dist/chunk-SJNMVDDF.cjs +0 -86
  1205. package/dist/chunk-SK35NQKK.cjs +0 -27
  1206. package/dist/chunk-SKNL7VA2.mjs +0 -42
  1207. package/dist/chunk-SLQCDJSO.mjs +0 -18
  1208. package/dist/chunk-SOR334EB.cjs +0 -149
  1209. package/dist/chunk-SU7MH53P.cjs +0 -180
  1210. package/dist/chunk-SVRTJOUF.cjs +0 -113
  1211. package/dist/chunk-SYQ3MOWW.cjs +0 -73
  1212. package/dist/chunk-T4OGRVNS.mjs +0 -392
  1213. package/dist/chunk-T5OJPTVN.cjs +0 -417
  1214. package/dist/chunk-TE2G5ION.cjs +0 -2028
  1215. package/dist/chunk-TFQG7TBC.mjs +0 -43
  1216. package/dist/chunk-TIWHTW3Q.cjs +0 -24
  1217. package/dist/chunk-TKJZFIML.cjs +0 -20
  1218. package/dist/chunk-TKSCR644.cjs +0 -414
  1219. package/dist/chunk-TVGP4BBZ.mjs +0 -45
  1220. package/dist/chunk-U4KT7QP3.cjs +0 -23
  1221. package/dist/chunk-UDNPLXW7.mjs +0 -86
  1222. package/dist/chunk-UFDAAQFX.cjs +0 -169
  1223. package/dist/chunk-UFDV5N3C.cjs +0 -711
  1224. package/dist/chunk-UH6QN5NL.mjs +0 -178
  1225. package/dist/chunk-UP4CW6WP.mjs +0 -169
  1226. package/dist/chunk-UQZ4AYTH.cjs +0 -168
  1227. package/dist/chunk-US2QVW3E.cjs +0 -36
  1228. package/dist/chunk-UVW64BCB.cjs +0 -910
  1229. package/dist/chunk-UWPLULNK.mjs +0 -520
  1230. package/dist/chunk-UXFQ3UDA.cjs +0 -140
  1231. package/dist/chunk-UYIHRDE4.cjs +0 -97
  1232. package/dist/chunk-V2FTMRS7.mjs +0 -223
  1233. package/dist/chunk-VB6UCX3V.cjs +0 -421
  1234. package/dist/chunk-VEKFLAQM.cjs +0 -300
  1235. package/dist/chunk-VILIPRS6.mjs +0 -725
  1236. package/dist/chunk-VQLJWDVW.cjs +0 -696
  1237. package/dist/chunk-W3B4PKAW.mjs +0 -28
  1238. package/dist/chunk-W4E7WMXE.cjs +0 -71
  1239. package/dist/chunk-W7LF2J2S.mjs +0 -64
  1240. package/dist/chunk-WBKEZXWE.cjs +0 -449
  1241. package/dist/chunk-WC5UV2HQ.cjs +0 -212
  1242. package/dist/chunk-WMAPPDMM.cjs +0 -28
  1243. package/dist/chunk-WMOGFOUJ.cjs +0 -223
  1244. package/dist/chunk-WNSDDRNU.mjs +0 -24
  1245. package/dist/chunk-WWFTAUFG.cjs +0 -45
  1246. package/dist/chunk-WWIKMBRN.mjs +0 -1362
  1247. package/dist/chunk-XCMCS4DA.mjs +0 -1114
  1248. package/dist/chunk-XJJVLDM6.mjs +0 -194
  1249. package/dist/chunk-XJXBIP67.cjs +0 -277
  1250. package/dist/chunk-XNPDONUH.mjs +0 -389
  1251. package/dist/chunk-XSIRSMAS.cjs +0 -339
  1252. package/dist/chunk-XZNTNMHT.mjs +0 -15
  1253. package/dist/chunk-Y5SJM2W7.cjs +0 -579
  1254. package/dist/chunk-YDQZGSDS.mjs +0 -2355
  1255. package/dist/chunk-YFILVET3.mjs +0 -192
  1256. package/dist/chunk-YFPGHF5F.cjs +0 -202
  1257. package/dist/chunk-YHOCRI4H.mjs +0 -434
  1258. package/dist/chunk-YJRZR7VU.cjs +0 -28
  1259. package/dist/chunk-YKX5BK66.cjs +0 -46
  1260. package/dist/chunk-YOZYCI6Z.mjs +0 -73
  1261. package/dist/chunk-YSCV4SJF.cjs +0 -49
  1262. package/dist/chunk-YSLWRWWP.cjs +0 -601
  1263. package/dist/chunk-YWMZUGIS.mjs +0 -403
  1264. package/dist/chunk-YWN746US.cjs +0 -1002
  1265. package/dist/chunk-YX3DBN4M.cjs +0 -18
  1266. package/dist/chunk-Z2HLU4IX.cjs +0 -238
  1267. package/dist/chunk-Z2RZJZIZ.mjs +0 -168
  1268. package/dist/chunk-Z3HATSKO.mjs +0 -46
  1269. package/dist/chunk-ZEG3OPIB.cjs +0 -93
  1270. package/dist/chunk-ZLAT2CWY.mjs +0 -135
  1271. package/dist/chunk-ZMMBIVQM.mjs +0 -505
  1272. package/dist/chunk-ZMSZZXOR.mjs +0 -164
  1273. package/dist/chunk-ZWM5KGAA.cjs +0 -566
  1274. package/dist/chunk-ZZSRYEYU.mjs +0 -53
  1275. package/dist/devtools-ERIKFEXX.mjs +0 -472
  1276. package/dist/devtools-JZJJY5CK.cjs +0 -472
  1277. package/dist/devtools-client-CXQ6PXI6.cjs +0 -254
  1278. package/dist/devtools-client-HJS2T34Y.mjs +0 -254
  1279. package/dist/devtools-ui-5GBDIGMK.cjs +0 -1296
  1280. package/dist/devtools-ui-5KDAVPIF.mjs +0 -1296
  1281. package/dist/integration-orm-55F7CII5.cjs +0 -13
  1282. package/dist/integration-orm-KV5B3BGZ.mjs +0 -13
  1283. package/dist/layers-UTB43B7A.mjs +0 -18
  1284. package/dist/layers-VUWIOFEO.cjs +0 -18
  1285. package/dist/manager-RT733VRK.mjs +0 -14
  1286. package/dist/manager-XZ5TX7AO.cjs +0 -14
  1287. package/dist/nitro-7F65EZZS.cjs +0 -653
  1288. package/dist/nitro-MPZJGPXK.mjs +0 -653
  1289. package/dist/node-module-bundle-L5L7JCZ4.mjs +0 -11
  1290. package/dist/node-module-bundle-VAFZOXMJ.cjs +0 -11
  1291. package/dist/schema-dev-notice-O67CPXJ6.mjs +0 -56
  1292. package/dist/schema-dev-notice-Y7MQEFGN.cjs +0 -56
  1293. package/dist/search-client-G3RICOFU.cjs +0 -13
  1294. package/dist/search-client-KR7YRIVR.mjs +0 -13
@@ -0,0 +1,1473 @@
1
+ // src/mobile/native-theme.ts
2
+ var FARM_NATIVE_THEME = {
3
+ spacing: 4,
4
+ colors: {
5
+ "red-50": "#fef2f2",
6
+ "red-100": "#ffe2e2",
7
+ "red-200": "#ffc9c9",
8
+ "red-300": "#ffa2a2",
9
+ "red-400": "#ff6467",
10
+ "red-500": "#fb2c36",
11
+ "red-600": "#e7000b",
12
+ "red-700": "#c10007",
13
+ "red-800": "#9f0712",
14
+ "red-900": "#82181a",
15
+ "red-950": "#460809",
16
+ "orange-50": "#fff7ed",
17
+ "orange-100": "#ffedd4",
18
+ "orange-200": "#ffd6a7",
19
+ "orange-300": "#ffb86a",
20
+ "orange-400": "#ff8904",
21
+ "orange-500": "#ff6900",
22
+ "orange-600": "#f54900",
23
+ "orange-700": "#ca3500",
24
+ "orange-800": "#9f2d00",
25
+ "orange-900": "#7e2a0c",
26
+ "orange-950": "#441306",
27
+ "amber-50": "#fffbeb",
28
+ "amber-100": "#fef3c6",
29
+ "amber-200": "#fee685",
30
+ "amber-300": "#ffd230",
31
+ "amber-400": "#ffb900",
32
+ "amber-500": "#fe9a00",
33
+ "amber-600": "#e17100",
34
+ "amber-700": "#bb4d00",
35
+ "amber-800": "#973c00",
36
+ "amber-900": "#7b3306",
37
+ "amber-950": "#461901",
38
+ "yellow-50": "#fefce8",
39
+ "yellow-100": "#fef9c2",
40
+ "yellow-200": "#fff085",
41
+ "yellow-300": "#ffdf20",
42
+ "yellow-400": "#fdc700",
43
+ "yellow-500": "#f0b100",
44
+ "yellow-600": "#d08700",
45
+ "yellow-700": "#a65f00",
46
+ "yellow-800": "#894b00",
47
+ "yellow-900": "#733e0a",
48
+ "yellow-950": "#432004",
49
+ "lime-50": "#f7fee7",
50
+ "lime-100": "#ecfcca",
51
+ "lime-200": "#d8f999",
52
+ "lime-300": "#bbf451",
53
+ "lime-400": "#9ae600",
54
+ "lime-500": "#7ccf00",
55
+ "lime-600": "#5ea500",
56
+ "lime-700": "#497d00",
57
+ "lime-800": "#3c6300",
58
+ "lime-900": "#35530e",
59
+ "lime-950": "#192e03",
60
+ "green-50": "#f0fdf4",
61
+ "green-100": "#dcfce7",
62
+ "green-200": "#b9f8cf",
63
+ "green-300": "#7bf1a8",
64
+ "green-400": "#05df72",
65
+ "green-500": "#00c950",
66
+ "green-600": "#00a63e",
67
+ "green-700": "#008236",
68
+ "green-800": "#016630",
69
+ "green-900": "#0d542b",
70
+ "green-950": "#032e15",
71
+ "emerald-50": "#ecfdf5",
72
+ "emerald-100": "#d0fae5",
73
+ "emerald-200": "#a4f4cf",
74
+ "emerald-300": "#5ee9b5",
75
+ "emerald-400": "#00d492",
76
+ "emerald-500": "#00bc7d",
77
+ "emerald-600": "#009966",
78
+ "emerald-700": "#007a55",
79
+ "emerald-800": "#006045",
80
+ "emerald-900": "#004f3b",
81
+ "emerald-950": "#002c22",
82
+ "teal-50": "#f0fdfa",
83
+ "teal-100": "#cbfbf1",
84
+ "teal-200": "#96f7e4",
85
+ "teal-300": "#46ecd5",
86
+ "teal-400": "#00d5be",
87
+ "teal-500": "#00bba7",
88
+ "teal-600": "#009689",
89
+ "teal-700": "#00786f",
90
+ "teal-800": "#005f5a",
91
+ "teal-900": "#0b4f4a",
92
+ "teal-950": "#022f2e",
93
+ "cyan-50": "#ecfeff",
94
+ "cyan-100": "#cefafe",
95
+ "cyan-200": "#a2f4fd",
96
+ "cyan-300": "#53eafd",
97
+ "cyan-400": "#00d3f2",
98
+ "cyan-500": "#00b8db",
99
+ "cyan-600": "#0092b8",
100
+ "cyan-700": "#007595",
101
+ "cyan-800": "#005f78",
102
+ "cyan-900": "#104e64",
103
+ "cyan-950": "#053345",
104
+ "sky-50": "#f0f9ff",
105
+ "sky-100": "#dff2fe",
106
+ "sky-200": "#b8e6fe",
107
+ "sky-300": "#74d4ff",
108
+ "sky-400": "#00bcff",
109
+ "sky-500": "#00a6f4",
110
+ "sky-600": "#0084d1",
111
+ "sky-700": "#0069a8",
112
+ "sky-800": "#00598a",
113
+ "sky-900": "#024a70",
114
+ "sky-950": "#052f4a",
115
+ "blue-50": "#eff6ff",
116
+ "blue-100": "#dbeafe",
117
+ "blue-200": "#bedbff",
118
+ "blue-300": "#8ec5ff",
119
+ "blue-400": "#51a2ff",
120
+ "blue-500": "#2b7fff",
121
+ "blue-600": "#155dfc",
122
+ "blue-700": "#1447e6",
123
+ "blue-800": "#193cb8",
124
+ "blue-900": "#1c398e",
125
+ "blue-950": "#162456",
126
+ "indigo-50": "#eef2ff",
127
+ "indigo-100": "#e0e7ff",
128
+ "indigo-200": "#c6d2ff",
129
+ "indigo-300": "#a3b3ff",
130
+ "indigo-400": "#7c86ff",
131
+ "indigo-500": "#615fff",
132
+ "indigo-600": "#4f39f6",
133
+ "indigo-700": "#432dd7",
134
+ "indigo-800": "#372aac",
135
+ "indigo-900": "#312c85",
136
+ "indigo-950": "#1e1a4d",
137
+ "violet-50": "#f5f3ff",
138
+ "violet-100": "#ede9fe",
139
+ "violet-200": "#ddd6ff",
140
+ "violet-300": "#c4b4ff",
141
+ "violet-400": "#a684ff",
142
+ "violet-500": "#8e51ff",
143
+ "violet-600": "#7f22fe",
144
+ "violet-700": "#7008e7",
145
+ "violet-800": "#5d0ec0",
146
+ "violet-900": "#4d179a",
147
+ "violet-950": "#2f0d68",
148
+ "purple-50": "#faf5ff",
149
+ "purple-100": "#f3e8ff",
150
+ "purple-200": "#e9d4ff",
151
+ "purple-300": "#dab2ff",
152
+ "purple-400": "#c27aff",
153
+ "purple-500": "#ad46ff",
154
+ "purple-600": "#9810fa",
155
+ "purple-700": "#8200db",
156
+ "purple-800": "#6e11b0",
157
+ "purple-900": "#59168b",
158
+ "purple-950": "#3c0366",
159
+ "fuchsia-50": "#fdf4ff",
160
+ "fuchsia-100": "#fae8ff",
161
+ "fuchsia-200": "#f6cfff",
162
+ "fuchsia-300": "#f4a8ff",
163
+ "fuchsia-400": "#ed6aff",
164
+ "fuchsia-500": "#e12afb",
165
+ "fuchsia-600": "#c800de",
166
+ "fuchsia-700": "#a800b7",
167
+ "fuchsia-800": "#8a0194",
168
+ "fuchsia-900": "#721378",
169
+ "fuchsia-950": "#4b004f",
170
+ "pink-50": "#fdf2f8",
171
+ "pink-100": "#fce7f3",
172
+ "pink-200": "#fccee8",
173
+ "pink-300": "#fda5d5",
174
+ "pink-400": "#fb64b6",
175
+ "pink-500": "#f6339a",
176
+ "pink-600": "#e60076",
177
+ "pink-700": "#c6005c",
178
+ "pink-800": "#a3004c",
179
+ "pink-900": "#861043",
180
+ "pink-950": "#510424",
181
+ "rose-50": "#fff1f2",
182
+ "rose-100": "#ffe4e6",
183
+ "rose-200": "#ffccd3",
184
+ "rose-300": "#ffa1ad",
185
+ "rose-400": "#ff637e",
186
+ "rose-500": "#ff2056",
187
+ "rose-600": "#ec003f",
188
+ "rose-700": "#c70036",
189
+ "rose-800": "#a50036",
190
+ "rose-900": "#8b0836",
191
+ "rose-950": "#4d0218",
192
+ "slate-50": "#f8fafc",
193
+ "slate-100": "#f1f5f9",
194
+ "slate-200": "#e2e8f0",
195
+ "slate-300": "#cad5e2",
196
+ "slate-400": "#90a1b9",
197
+ "slate-500": "#62748e",
198
+ "slate-600": "#45556c",
199
+ "slate-700": "#314158",
200
+ "slate-800": "#1d293d",
201
+ "slate-900": "#0f172b",
202
+ "slate-950": "#020618",
203
+ "gray-50": "#f9fafb",
204
+ "gray-100": "#f3f4f6",
205
+ "gray-200": "#e5e7eb",
206
+ "gray-300": "#d1d5dc",
207
+ "gray-400": "#99a1af",
208
+ "gray-500": "#6a7282",
209
+ "gray-600": "#4a5565",
210
+ "gray-700": "#364153",
211
+ "gray-800": "#1e2939",
212
+ "gray-900": "#101828",
213
+ "gray-950": "#030712",
214
+ "zinc-50": "#fafafa",
215
+ "zinc-100": "#f4f4f5",
216
+ "zinc-200": "#e4e4e7",
217
+ "zinc-300": "#d4d4d8",
218
+ "zinc-400": "#9f9fa9",
219
+ "zinc-500": "#71717b",
220
+ "zinc-600": "#52525c",
221
+ "zinc-700": "#3f3f46",
222
+ "zinc-800": "#27272a",
223
+ "zinc-900": "#18181b",
224
+ "zinc-950": "#09090b",
225
+ "neutral-50": "#fafafa",
226
+ "neutral-100": "#f5f5f5",
227
+ "neutral-200": "#e5e5e5",
228
+ "neutral-300": "#d4d4d4",
229
+ "neutral-400": "#a1a1a1",
230
+ "neutral-500": "#737373",
231
+ "neutral-600": "#525252",
232
+ "neutral-700": "#404040",
233
+ "neutral-800": "#262626",
234
+ "neutral-900": "#171717",
235
+ "neutral-950": "#0a0a0a",
236
+ "stone-50": "#fafaf9",
237
+ "stone-100": "#f5f5f4",
238
+ "stone-200": "#e7e5e4",
239
+ "stone-300": "#d6d3d1",
240
+ "stone-400": "#a6a09b",
241
+ "stone-500": "#79716b",
242
+ "stone-600": "#57534d",
243
+ "stone-700": "#44403b",
244
+ "stone-800": "#292524",
245
+ "stone-900": "#1c1917",
246
+ "stone-950": "#0c0a09",
247
+ "mauve-50": "#fafafa",
248
+ "mauve-100": "#f3f1f3",
249
+ "mauve-200": "#e7e4e7",
250
+ "mauve-300": "#d7d0d7",
251
+ "mauve-400": "#a89ea9",
252
+ "mauve-500": "#79697b",
253
+ "mauve-600": "#594c5b",
254
+ "mauve-700": "#463947",
255
+ "mauve-800": "#2a212c",
256
+ "mauve-900": "#1d161e",
257
+ "mauve-950": "#0c090c",
258
+ "olive-50": "#fbfbf9",
259
+ "olive-100": "#f4f4f0",
260
+ "olive-200": "#e8e8e3",
261
+ "olive-300": "#d8d8d0",
262
+ "olive-400": "#abab9c",
263
+ "olive-500": "#7c7c67",
264
+ "olive-600": "#5b5b4b",
265
+ "olive-700": "#474739",
266
+ "olive-800": "#2b2b22",
267
+ "olive-900": "#1d1d16",
268
+ "olive-950": "#0c0c09",
269
+ "mist-50": "#f9fbfb",
270
+ "mist-100": "#f1f3f3",
271
+ "mist-200": "#e3e7e8",
272
+ "mist-300": "#d0d6d8",
273
+ "mist-400": "#9ca8ab",
274
+ "mist-500": "#67787c",
275
+ "mist-600": "#4b585b",
276
+ "mist-700": "#394447",
277
+ "mist-800": "#22292b",
278
+ "mist-900": "#161b1d",
279
+ "mist-950": "#090b0c",
280
+ "taupe-50": "#fbfaf9",
281
+ "taupe-100": "#f3f1f1",
282
+ "taupe-200": "#e8e4e3",
283
+ "taupe-300": "#d8d2d0",
284
+ "taupe-400": "#aba09c",
285
+ "taupe-500": "#7c6d67",
286
+ "taupe-600": "#5b4f4b",
287
+ "taupe-700": "#473c39",
288
+ "taupe-800": "#2b2422",
289
+ "taupe-900": "#1d1816",
290
+ "taupe-950": "#0c0a09",
291
+ black: "#000000",
292
+ white: "#ffffff"
293
+ },
294
+ text: {
295
+ xs: [12, 16],
296
+ sm: [14, 20],
297
+ base: [16, 24],
298
+ lg: [18, 28],
299
+ xl: [20, 28],
300
+ "2xl": [24, 32],
301
+ "3xl": [30, 36],
302
+ "4xl": [36, 40],
303
+ "5xl": [48, 48],
304
+ "6xl": [60, 60],
305
+ "7xl": [72, 72],
306
+ "8xl": [96, 96],
307
+ "9xl": [128, 128]
308
+ },
309
+ fontWeight: {
310
+ thin: 100,
311
+ extralight: 200,
312
+ light: 300,
313
+ normal: 400,
314
+ medium: 500,
315
+ semibold: 600,
316
+ bold: 700,
317
+ extrabold: 800,
318
+ black: 900
319
+ },
320
+ tracking: { tighter: -0.05, tight: -0.025, normal: 0, wide: 0.025, wider: 0.05, widest: 0.1 },
321
+ leading: { tight: 1.25, snug: 1.375, normal: 1.5, relaxed: 1.625, loose: 2 },
322
+ radius: { xs: 2, sm: 4, md: 6, lg: 8, xl: 12, "2xl": 16, "3xl": 24, "4xl": 32 },
323
+ container: {
324
+ "3xs": 256,
325
+ "2xs": 288,
326
+ xs: 320,
327
+ sm: 384,
328
+ md: 448,
329
+ lg: 512,
330
+ xl: 576,
331
+ "2xl": 672,
332
+ "3xl": 768,
333
+ "4xl": 896,
334
+ "5xl": 1024,
335
+ "6xl": 1152,
336
+ "7xl": 1280
337
+ }
338
+ };
339
+
340
+ // src/mobile/native-style.ts
341
+ var FARM_NATIVE_TEXT_KEYS = /* @__PURE__ */ new Set([
342
+ "color",
343
+ "fontSize",
344
+ "lineHeight",
345
+ "fontWeight",
346
+ "fontStyle",
347
+ "fontFamily",
348
+ "textAlign",
349
+ "letterSpacing",
350
+ "textTransform",
351
+ "textDecorationLine",
352
+ // `leading-*`: a multiple of the font size, or a fixed height. Either wins over the line
353
+ // height a `text-*` size sets, as in Tailwind.
354
+ "lineHeightScale",
355
+ "lineHeightPx"
356
+ ]);
357
+ var ALL_SIDES = ["Top", "Right", "Bottom", "Left"];
358
+ var ALL_CORNERS = ["TopLeft", "TopRight", "BottomRight", "BottomLeft"];
359
+ var each = (keys, value) => Object.fromEntries(keys.map((key) => [key, value]));
360
+ var SIDES = {
361
+ t: ["Top"],
362
+ r: ["Right"],
363
+ b: ["Bottom"],
364
+ l: ["Left"],
365
+ x: ["Left", "Right"],
366
+ y: ["Top", "Bottom"],
367
+ s: ["Left"],
368
+ e: ["Right"]
369
+ };
370
+ var CORNERS = {
371
+ t: ["TopLeft", "TopRight"],
372
+ r: ["TopRight", "BottomRight"],
373
+ b: ["BottomLeft", "BottomRight"],
374
+ l: ["TopLeft", "BottomLeft"],
375
+ tl: ["TopLeft"],
376
+ tr: ["TopRight"],
377
+ br: ["BottomRight"],
378
+ bl: ["BottomLeft"]
379
+ };
380
+ var ALIGN = {
381
+ start: "flex-start",
382
+ end: "flex-end",
383
+ center: "center",
384
+ between: "space-between",
385
+ around: "space-around",
386
+ evenly: "space-evenly",
387
+ stretch: "stretch",
388
+ baseline: "baseline",
389
+ auto: "auto"
390
+ };
391
+ var DROPPED = /^(?:relative|cursor-.+|select-.+|outline-.+|pointer-events-.+)$/;
392
+ var DEFAULT_THEME = FARM_NATIVE_THEME;
393
+ var THEME = DEFAULT_THEME;
394
+ function withTheme(theme, run) {
395
+ const previous = THEME;
396
+ THEME = theme ?? DEFAULT_THEME;
397
+ try {
398
+ return run();
399
+ } finally {
400
+ THEME = previous;
401
+ }
402
+ }
403
+ function spacing(value) {
404
+ if (value === "px") return 1;
405
+ if (value === "auto") return "auto";
406
+ if (!/^\d+(?:\.5)?$/.test(value)) return void 0;
407
+ return Number(value) * THEME.spacing;
408
+ }
409
+ function size(value) {
410
+ if (value === "full") return "100%";
411
+ const fraction = /^(\d+)\/(\d+)$/.exec(value);
412
+ if (fraction) return `${Math.round(Number(fraction[1]) / Number(fraction[2]) * 1e4) / 100}%`;
413
+ return spacing(value);
414
+ }
415
+ function color(value) {
416
+ const [name, alpha] = value.split("/");
417
+ if (name === "transparent") return "transparent";
418
+ if (name === "current" || name === "inherit") return "currentColor";
419
+ const hex = THEME.colors[name];
420
+ if (!hex) return void 0;
421
+ if (alpha === void 0) return hex;
422
+ if (!/^\d{1,3}$/.test(alpha) || Number(alpha) > 100) return void 0;
423
+ return `${hex}${Math.round(Number(alpha) / 100 * 255).toString(16).padStart(2, "0")}`;
424
+ }
425
+ function utility(token) {
426
+ if (DROPPED.test(token)) return {};
427
+ switch (token) {
428
+ case "flex":
429
+ return { display: "flex", flexDirection: "row" };
430
+ case "flex-row":
431
+ return { flexDirection: "row" };
432
+ case "flex-col":
433
+ return { flexDirection: "column" };
434
+ case "flex-1":
435
+ return { flexGrow: 1, flexShrink: 1, flexBasis: 0 };
436
+ case "flex-auto":
437
+ return { flexGrow: 1, flexShrink: 1 };
438
+ case "flex-initial":
439
+ return { flexGrow: 0, flexShrink: 1 };
440
+ case "flex-none":
441
+ return { flexGrow: 0, flexShrink: 0 };
442
+ case "grow":
443
+ return { flexGrow: 1 };
444
+ case "grow-0":
445
+ return { flexGrow: 0 };
446
+ case "shrink":
447
+ return { flexShrink: 1 };
448
+ case "shrink-0":
449
+ return { flexShrink: 0 };
450
+ case "flex-nowrap":
451
+ return {};
452
+ case "flex-wrap":
453
+ return { flexWrap: "wrap" };
454
+ case "hidden":
455
+ return { display: "none" };
456
+ case "overflow-hidden":
457
+ return { overflow: "hidden" };
458
+ case "overflow-visible":
459
+ return { overflow: "visible" };
460
+ case "italic":
461
+ return { fontStyle: "italic" };
462
+ case "not-italic":
463
+ return { fontStyle: "normal" };
464
+ case "underline":
465
+ return { textDecorationLine: "underline" };
466
+ case "line-through":
467
+ return { textDecorationLine: "line-through" };
468
+ case "no-underline":
469
+ return { textDecorationLine: "none" };
470
+ case "uppercase":
471
+ case "lowercase":
472
+ case "capitalize":
473
+ return { textTransform: token };
474
+ case "normal-case":
475
+ return { textTransform: "none" };
476
+ case "text-left":
477
+ case "text-center":
478
+ case "text-right":
479
+ case "text-justify":
480
+ return { textAlign: token.slice(5) };
481
+ case "rounded":
482
+ return each(
483
+ ALL_CORNERS.map((corner) => `border${corner}Radius`),
484
+ THEME.radius.sm
485
+ );
486
+ case "border":
487
+ return {
488
+ ...each(
489
+ ALL_SIDES.map((side) => `border${side}Width`),
490
+ 1
491
+ ),
492
+ ...each(
493
+ ALL_SIDES.map((side) => `border${side}Color`),
494
+ "currentColor"
495
+ )
496
+ };
497
+ case "border-solid":
498
+ case "border-dashed":
499
+ case "border-dotted":
500
+ return { borderStyle: token.slice(7) };
501
+ case "border-none":
502
+ return { borderStyle: "none" };
503
+ }
504
+ let match = /^(items|justify|self)-([a-z]+)$/.exec(token);
505
+ if (match) {
506
+ const value = ALIGN[match[2]];
507
+ if (!value) return void 0;
508
+ const key = { items: "alignItems", justify: "justifyContent", self: "alignSelf" }[match[1]];
509
+ return { [key]: value };
510
+ }
511
+ match = /^(-?)(p|m)([trblxyse]?)-(.+)$/.exec(token);
512
+ if (match) {
513
+ const value = spacing(match[4]);
514
+ if (value === void 0 || match[2] === "p" && (value === "auto" || match[1]))
515
+ return void 0;
516
+ const signed = match[1] && typeof value === "number" ? -value : value;
517
+ const property = match[2] === "p" ? "padding" : "margin";
518
+ const sides2 = match[3] ? SIDES[match[3]] : ALL_SIDES;
519
+ return each(
520
+ sides2.map((side) => `${property}${side}`),
521
+ signed
522
+ );
523
+ }
524
+ match = /^gap(-[xy])?-(.+)$/.exec(token);
525
+ if (match) {
526
+ const value = spacing(match[2]);
527
+ if (typeof value !== "number") return void 0;
528
+ if (match[1] === "-x") return { columnGap: value };
529
+ if (match[1] === "-y") return { rowGap: value };
530
+ return { rowGap: value, columnGap: value };
531
+ }
532
+ match = /^(w|h|size|min-w|min-h|max-h)-(.+)$/.exec(token);
533
+ if (match) {
534
+ const value = size(match[2]);
535
+ if (value === void 0 || value === "auto" && match[1].includes("-")) return void 0;
536
+ if (match[1] === "size") return { width: value, height: value };
537
+ const key = {
538
+ w: "width",
539
+ h: "height",
540
+ "min-w": "minWidth",
541
+ "min-h": "minHeight",
542
+ "max-h": "maxHeight"
543
+ }[match[1]];
544
+ return value === "auto" ? {} : { [key]: value };
545
+ }
546
+ match = /^max-w-(.+)$/.exec(token);
547
+ if (match) {
548
+ if (match[1] === "none") return {};
549
+ if (match[1] === "full") return { maxWidth: "100%" };
550
+ const value = THEME.container[match[1]];
551
+ return value === void 0 ? void 0 : { maxWidth: value };
552
+ }
553
+ match = /^text-(.+)$/.exec(token);
554
+ if (match) {
555
+ const text = THEME.text[match[1]];
556
+ if (text) {
557
+ return Number.isFinite(text[1]) ? { fontSize: text[0], lineHeight: text[1] } : { fontSize: text[0] };
558
+ }
559
+ const value = color(match[1]);
560
+ return value === void 0 ? void 0 : { color: value };
561
+ }
562
+ match = /^font-(.+)$/.exec(token);
563
+ if (match) {
564
+ if (match[1] === "sans" || match[1] === "serif" || match[1] === "mono") {
565
+ return { fontFamily: match[1] };
566
+ }
567
+ const weight = THEME.fontWeight[match[1]];
568
+ return weight === void 0 ? void 0 : { fontWeight: weight };
569
+ }
570
+ match = /^leading-(.+)$/.exec(token);
571
+ if (match) {
572
+ if (match[1] === "none") return { lineHeightScale: 1 };
573
+ const scale = THEME.leading[match[1]];
574
+ if (scale !== void 0) return { lineHeightScale: scale };
575
+ const value = spacing(match[1]);
576
+ return typeof value === "number" ? { lineHeightPx: value } : void 0;
577
+ }
578
+ match = /^tracking-(.+)$/.exec(token);
579
+ if (match) {
580
+ const value = THEME.tracking[match[1]];
581
+ return value === void 0 ? void 0 : { letterSpacing: value };
582
+ }
583
+ match = /^bg-(.+)$/.exec(token);
584
+ if (match) {
585
+ const value = color(match[1]);
586
+ return value === void 0 ? void 0 : { backgroundColor: value };
587
+ }
588
+ match = /^border-([trblxy])$/.exec(token);
589
+ if (match) {
590
+ return each(
591
+ SIDES[match[1]].map((side) => `border${side}Width`),
592
+ 1
593
+ );
594
+ }
595
+ match = /^border(?:-([trblxy]))?-(.+)$/.exec(token);
596
+ if (match) {
597
+ const sides2 = match[1] ? SIDES[match[1]] : ALL_SIDES;
598
+ if (/^(?:0|2|4|8)$/.test(match[2])) {
599
+ return Object.fromEntries(sides2.map((side) => [`border${side}Width`, Number(match[2])]));
600
+ }
601
+ const value = color(match[2]);
602
+ if (value === void 0) return void 0;
603
+ return Object.fromEntries(sides2.map((side) => [`border${side}Color`, value]));
604
+ }
605
+ match = /^rounded(?:-([trbl]{1,2}))?(?:-([a-z0-9]+))?$/.exec(token);
606
+ if (match) {
607
+ const radius = match[2] === void 0 ? THEME.radius.sm : match[2] === "none" ? 0 : match[2] === "full" ? 9999 : THEME.radius[match[2]];
608
+ if (radius === void 0) return void 0;
609
+ const corners = match[1] ? CORNERS[match[1]] : [...ALL_CORNERS];
610
+ if (!corners) return void 0;
611
+ return Object.fromEntries(corners.map((corner) => [`border${corner}Radius`, radius]));
612
+ }
613
+ match = /^opacity-(\d{1,3})$/.exec(token);
614
+ if (match && Number(match[1]) <= 100) return { opacity: Number(match[1]) / 100 };
615
+ return void 0;
616
+ }
617
+ function farmNativeClassProblem(token, theme) {
618
+ return withTheme(theme, () => classProblem(token));
619
+ }
620
+ function classProblem(token) {
621
+ const parts = token.split(":");
622
+ const base = parts.pop().replace(/^!/, "");
623
+ if (parts.some((variant) => variant !== "dark")) {
624
+ return `"${token}" needs a variant the native tier cannot apply`;
625
+ }
626
+ if (base.includes("[")) return `"${token}" is an arbitrary value`;
627
+ return utility(base) === void 0 ? `class "${token}" has no native-tier style` : void 0;
628
+ }
629
+ function resolveFarmNativeClasses(className, theme) {
630
+ return withTheme(theme, () => resolveClasses(className));
631
+ }
632
+ function resolveClasses(className) {
633
+ const light = [];
634
+ const darkParts = [];
635
+ const themedDark = [];
636
+ const darkTheme = THEME.darkColors ? { ...THEME, colors: { ...THEME.colors, ...THEME.darkColors } } : void 0;
637
+ const unsupported = [];
638
+ for (const token of className.split(/\s+/)) {
639
+ if (!token) continue;
640
+ if (classProblem(token)) {
641
+ unsupported.push(token);
642
+ continue;
643
+ }
644
+ const parts = token.split(":");
645
+ const base = parts.pop().replace(/^!/, "");
646
+ const resolved = utility(base);
647
+ (parts.length > 0 ? darkParts : light).push(resolved);
648
+ if (parts.length === 0 && darkTheme) {
649
+ const lightTheme = THEME;
650
+ THEME = darkTheme;
651
+ const dark2 = utility(base);
652
+ THEME = lightTheme;
653
+ if (dark2 && JSON.stringify(dark2) !== JSON.stringify(resolved)) themedDark.push(dark2);
654
+ }
655
+ }
656
+ const merge = (parts) => Object.assign(
657
+ {},
658
+ ...parts.sort((left, right) => Object.keys(right).length - Object.keys(left).length)
659
+ );
660
+ const style = merge(light);
661
+ const dark = { ...merge(themedDark), ...merge(darkParts) };
662
+ return { style, ...Object.keys(dark).length > 0 ? { dark } : {}, unsupported };
663
+ }
664
+ function longhands(style) {
665
+ const [[key, value]] = Object.entries(style);
666
+ if (key === "gap") return { rowGap: value, columnGap: value };
667
+ if (key === "borderWidth")
668
+ return each(
669
+ ALL_SIDES.map((side) => `border${side}Width`),
670
+ value
671
+ );
672
+ if (key === "borderColor")
673
+ return each(
674
+ ALL_SIDES.map((side) => `border${side}Color`),
675
+ value
676
+ );
677
+ if (key === "borderRadius") {
678
+ return each(
679
+ ALL_CORNERS.map((corner) => `border${corner}Radius`),
680
+ value
681
+ );
682
+ }
683
+ return style;
684
+ }
685
+ var PX = /^(-?\d*\.?\d+)px$/;
686
+ function cssLength(value) {
687
+ if (value === "0") return 0;
688
+ if (value === "auto") return "auto";
689
+ const px = PX.exec(value);
690
+ if (px) return Number(px[1]);
691
+ if (/^-?\d*\.?\d+%$/.test(value)) return value;
692
+ const rem = /^(-?\d*\.?\d+)rem$/.exec(value);
693
+ return rem ? Number(rem[1]) * 16 : void 0;
694
+ }
695
+ var CSS_LENGTHS = new Set(
696
+ "gap row-gap column-gap padding-top padding-right padding-bottom padding-left margin-top margin-right margin-bottom margin-left width height min-width min-height max-width max-height border-width border-top-width border-right-width border-bottom-width border-left-width border-radius font-size line-height letter-spacing flex-basis".split(" ")
697
+ );
698
+ var CSS_KEYWORDS = {
699
+ display: /* @__PURE__ */ new Set(["flex", "none"]),
700
+ "flex-direction": /* @__PURE__ */ new Set(["row", "column"]),
701
+ "align-items": /* @__PURE__ */ new Set(["flex-start", "flex-end", "center", "stretch", "baseline"]),
702
+ "align-self": /* @__PURE__ */ new Set(["auto", "flex-start", "flex-end", "center", "stretch", "baseline"]),
703
+ "justify-content": /* @__PURE__ */ new Set([
704
+ "flex-start",
705
+ "flex-end",
706
+ "center",
707
+ "space-between",
708
+ "space-around",
709
+ "space-evenly"
710
+ ]),
711
+ "font-style": /* @__PURE__ */ new Set(["normal", "italic"]),
712
+ "text-align": /* @__PURE__ */ new Set(["left", "center", "right", "justify"]),
713
+ "text-transform": /* @__PURE__ */ new Set(["none", "uppercase", "lowercase", "capitalize"]),
714
+ "text-decoration-line": /* @__PURE__ */ new Set(["none", "underline", "line-through"]),
715
+ "border-style": /* @__PURE__ */ new Set(["solid", "dashed", "dotted", "none"]),
716
+ overflow: /* @__PURE__ */ new Set(["hidden", "visible"])
717
+ };
718
+ var CSS_COLORS = /* @__PURE__ */ new Set(["color", "background-color", "border-color"]);
719
+ var CSS_NUMBERS = /* @__PURE__ */ new Set(["opacity", "flex-grow", "flex-shrink", "font-weight"]);
720
+ var SHORTHAND_SIDES = ["Top", "Right", "Bottom", "Left"];
721
+ var FARM_NATIVE_STYLE_PROPERTIES = new Set(
722
+ [
723
+ ...CSS_LENGTHS,
724
+ ...CSS_COLORS,
725
+ ...CSS_NUMBERS,
726
+ ...Object.keys(CSS_KEYWORDS),
727
+ "padding",
728
+ "margin",
729
+ "flex",
730
+ "flex-wrap"
731
+ ].map((property) => property.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase()))
732
+ );
733
+ function camel(property) {
734
+ return property.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());
735
+ }
736
+ function cssColor(value) {
737
+ if (/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(value)) return value.toLowerCase();
738
+ if (value === "transparent" || value === "currentcolor") {
739
+ return value === "currentcolor" ? "currentColor" : value;
740
+ }
741
+ const rgb = /^rgba?\((\d{1,3})[ ,]+(\d{1,3})[ ,]+(\d{1,3})(?:[ ,/]+([\d.]+%?))?\)$/i.exec(value);
742
+ if (!rgb) return value === "white" ? "#ffffff" : value === "black" ? "#000000" : void 0;
743
+ const hex = rgb.slice(1, 4).map((channel) => Math.min(255, Number(channel)).toString(16).padStart(2, "0")).join("");
744
+ if (rgb[4] === void 0) return `#${hex}`;
745
+ const alpha = rgb[4].endsWith("%") ? Number(rgb[4].slice(0, -1)) / 100 : Number(rgb[4]);
746
+ return `#${hex}${Math.round(Math.min(1, alpha) * 255).toString(16).padStart(2, "0")}`;
747
+ }
748
+ var IGNORED_PROPERTIES = /* @__PURE__ */ new Set([
749
+ // No effect on a static, touch-only screen, or the shell owns it.
750
+ "cursor",
751
+ "outline",
752
+ "outline-offset",
753
+ "user-select",
754
+ "-webkit-user-select",
755
+ "-webkit-tap-highlight-color",
756
+ "pointer-events",
757
+ "box-sizing",
758
+ "color-scheme",
759
+ "appearance",
760
+ "-webkit-appearance",
761
+ "transition",
762
+ "transition-property",
763
+ "transition-duration",
764
+ "transition-timing-function",
765
+ "will-change",
766
+ "-webkit-font-smoothing",
767
+ "-moz-osx-font-smoothing",
768
+ "text-rendering"
769
+ ]);
770
+ var BORDER_STYLES = /* @__PURE__ */ new Set(["solid", "dashed", "dotted", "none"]);
771
+ function sides(property, values) {
772
+ const [top, right = top, bottom = top, left = right] = values;
773
+ const ordered = [top, right, bottom, left];
774
+ return Object.fromEntries(
775
+ SHORTHAND_SIDES.map((side, index) => [property.replace("*", side), ordered[index]])
776
+ );
777
+ }
778
+ function border(value, side) {
779
+ const keys = side ? [side] : SHORTHAND_SIDES;
780
+ if (value === "none" || value === "0")
781
+ return each(
782
+ keys.map((key) => `border${key}Width`),
783
+ 0
784
+ );
785
+ let width;
786
+ let style;
787
+ let color2;
788
+ for (const part of value.split(/\s+(?![^(]*\))/)) {
789
+ if (BORDER_STYLES.has(part)) style = part;
790
+ else if (cssLength(part) !== void 0 && width === void 0) width = cssLength(part);
791
+ else if (part === "thin") width = 1;
792
+ else if (cssColor(part)) color2 = cssColor(part);
793
+ else return void 0;
794
+ }
795
+ return {
796
+ ...each(
797
+ keys.map((key) => `border${key}Width`),
798
+ style === "none" ? 0 : width ?? 3
799
+ ),
800
+ ...color2 ? each(
801
+ keys.map((key) => `border${key}Color`),
802
+ color2
803
+ ) : {},
804
+ ...style ? { borderStyle: style } : {}
805
+ };
806
+ }
807
+ function resolveFarmNativeDeclaration(property, value) {
808
+ if (IGNORED_PROPERTIES.has(property) || value === "inherit" || value === "unset") return null;
809
+ switch (property) {
810
+ case "padding":
811
+ case "margin": {
812
+ const parts = value.split(/\s+/).map(cssLength);
813
+ if (parts.length > 4 || parts.some((part) => part === void 0)) return void 0;
814
+ if (property === "padding" && parts.includes("auto")) return void 0;
815
+ return sides(`${property}*`, parts);
816
+ }
817
+ case "gap": {
818
+ const parts = value.split(/\s+/).map(cssLength);
819
+ if (parts.length > 2 || parts.some((part) => typeof part !== "number")) return void 0;
820
+ return { rowGap: parts[0], columnGap: parts[1] ?? parts[0] };
821
+ }
822
+ case "border-radius": {
823
+ const parts = value.split(/\s+/).map(cssLength);
824
+ if (parts.length > 4 || parts.some((part) => typeof part !== "number")) return void 0;
825
+ const [a, b = a, c = a, d = b] = parts;
826
+ return {
827
+ borderTopLeftRadius: a,
828
+ borderTopRightRadius: b,
829
+ borderBottomRightRadius: c,
830
+ borderBottomLeftRadius: d
831
+ };
832
+ }
833
+ case "border":
834
+ return border(value, "");
835
+ case "border-top":
836
+ case "border-right":
837
+ case "border-bottom":
838
+ case "border-left":
839
+ return border(value, property[7].toUpperCase() + property.slice(8));
840
+ case "background-color": {
841
+ const parsed = cssColor(value);
842
+ return parsed ? { backgroundColor: parsed } : void 0;
843
+ }
844
+ case "background": {
845
+ const parsed = cssColor(value);
846
+ if (parsed) return { backgroundColor: parsed };
847
+ return value.split(/\s+/).every((part) => /^(?:none|0(?:%|px)?)$/.test(part)) ? { backgroundColor: "transparent" } : void 0;
848
+ }
849
+ case "display":
850
+ if (value === "flex" || value === "inline-flex") return { display: "flex" };
851
+ if (value === "block" || value === "flow-root") return {};
852
+ return value === "none" ? { display: "none" } : void 0;
853
+ case "flex-wrap":
854
+ return value === "nowrap" ? {} : value === "wrap" ? { flexWrap: "wrap" } : void 0;
855
+ case "flex":
856
+ if (/^\d+$/.test(value)) return { flexGrow: Number(value), flexShrink: 1, flexBasis: 0 };
857
+ if (value === "none") return { flexGrow: 0, flexShrink: 0 };
858
+ if (value === "auto") return { flexGrow: 1, flexShrink: 1 };
859
+ return void 0;
860
+ case "font":
861
+ return void 0;
862
+ case "font-family":
863
+ return {
864
+ fontFamily: /mono/.test(value) ? "mono" : /(?:^|,\s*)serif\b|georgia|times/.test(value) ? "serif" : "sans"
865
+ };
866
+ case "font-weight":
867
+ if (value === "bold") return { fontWeight: 700 };
868
+ if (value === "normal") return { fontWeight: 400 };
869
+ return /^\d{3}$/.test(value) ? { fontWeight: Number(value) } : void 0;
870
+ case "line-height":
871
+ if (/^\d*\.?\d+$/.test(value)) return { lineHeightScale: Number(value) };
872
+ if (value === "normal") return null;
873
+ return typeof cssLength(value) === "number" ? { lineHeightPx: cssLength(value) } : void 0;
874
+ case "text-decoration":
875
+ case "text-decoration-line":
876
+ return CSS_KEYWORDS["text-decoration-line"].has(value) ? { textDecorationLine: value } : void 0;
877
+ case "list-style":
878
+ case "list-style-type":
879
+ return value === "none" ? null : void 0;
880
+ case "align-items":
881
+ case "align-self":
882
+ case "justify-content":
883
+ value = value === "start" ? "flex-start" : value === "end" ? "flex-end" : value;
884
+ break;
885
+ case "text-align":
886
+ value = value === "start" ? "left" : value === "end" ? "right" : value;
887
+ break;
888
+ }
889
+ if (CSS_LENGTHS.has(property)) {
890
+ const length = cssLength(value);
891
+ return length === void 0 ? void 0 : longhands({ [camel(property)]: length });
892
+ }
893
+ if (CSS_COLORS.has(property)) {
894
+ const parsed = cssColor(value);
895
+ return parsed ? longhands({ [camel(property)]: parsed }) : void 0;
896
+ }
897
+ if (CSS_NUMBERS.has(property)) {
898
+ return /^\d*\.?\d+$/.test(value) ? { [camel(property)]: Number(value) } : void 0;
899
+ }
900
+ if (CSS_KEYWORDS[property]?.has(value)) return { [camel(property)]: value };
901
+ return void 0;
902
+ }
903
+ function splitFarmCssDeclarations(css) {
904
+ const out = [];
905
+ let depth = 0;
906
+ let start = 0;
907
+ const push = (end) => {
908
+ const text = css.slice(start, end);
909
+ const colon = text.indexOf(":");
910
+ if (colon > 0) {
911
+ out.push([
912
+ text.slice(0, colon).trim().toLowerCase(),
913
+ text.slice(colon + 1).replace(/\s*!important\s*$/i, "").trim()
914
+ ]);
915
+ }
916
+ };
917
+ for (let index = 0; index < css.length; index += 1) {
918
+ const char = css[index];
919
+ if (char === "(") depth += 1;
920
+ else if (char === ")") depth = Math.max(0, depth - 1);
921
+ else if (char === ";" && depth === 0) {
922
+ push(index);
923
+ start = index + 1;
924
+ }
925
+ }
926
+ push(css.length);
927
+ return out;
928
+ }
929
+ function substituteFarmNativeVars(value, vars, depth = 0) {
930
+ if (!value.includes("var(")) return value;
931
+ if (depth > 8) return void 0;
932
+ let missing = false;
933
+ const replaced = value.replace(
934
+ /var\(\s*(--[\w-]+)\s*(?:,\s*([^()]*(?:\([^()]*\))?[^()]*))?\)/g,
935
+ (_, name, fallback) => {
936
+ const resolved = vars[name] ?? fallback?.trim();
937
+ if (resolved === void 0) {
938
+ missing = true;
939
+ return "";
940
+ }
941
+ return resolved;
942
+ }
943
+ );
944
+ return missing ? void 0 : substituteFarmNativeVars(replaced, vars, depth + 1);
945
+ }
946
+ function resolveFarmNativeInlineStyle(css, vars = {
947
+ light: {},
948
+ dark: {}
949
+ }) {
950
+ const style = {};
951
+ const dark = {};
952
+ const unsupported = [];
953
+ const themes = [
954
+ [style, vars.light],
955
+ [dark, { ...vars.light, ...vars.dark }]
956
+ ];
957
+ for (const [property, raw] of splitFarmCssDeclarations(css)) {
958
+ if (!property) continue;
959
+ for (const [target, themeVars] of themes) {
960
+ const value = substituteFarmNativeVars(raw, themeVars)?.toLowerCase();
961
+ const resolved = value === void 0 ? void 0 : resolveFarmNativeDeclaration(property, value);
962
+ if (resolved === void 0) {
963
+ unsupported.push(`${property}: ${raw.toLowerCase()}`);
964
+ break;
965
+ }
966
+ if (resolved) Object.assign(target, resolved);
967
+ }
968
+ }
969
+ for (const key of Object.keys(dark)) {
970
+ if (dark[key] === style[key]) delete dark[key];
971
+ }
972
+ return { style, dark, unsupported };
973
+ }
974
+ function oklchToHex(value) {
975
+ const match = /^oklch\(\s*([\d.]+)(%?)\s+([\d.]+)\s+([\d.]+|none)(?:deg)?\s*(?:\/\s*([\d.]+)(%?))?\s*\)$/.exec(
976
+ value
977
+ );
978
+ if (!match) return void 0;
979
+ const l = Number(match[1]) / (match[2] ? 100 : 1);
980
+ const c = Number(match[3]);
981
+ const h = (match[4] === "none" ? 0 : Number(match[4])) * Math.PI / 180;
982
+ const a = c * Math.cos(h);
983
+ const b = c * Math.sin(h);
984
+ const l_ = (l + 0.3963377774 * a + 0.2158037573 * b) ** 3;
985
+ const m_ = (l - 0.1055613458 * a - 0.0638541728 * b) ** 3;
986
+ const s_ = (l - 0.0894841775 * a - 1.291485548 * b) ** 3;
987
+ const linear = [
988
+ 4.0767416621 * l_ - 3.3077115913 * m_ + 0.2309699292 * s_,
989
+ -1.2684380046 * l_ + 2.6097574011 * m_ - 0.3413193965 * s_,
990
+ -0.0041960863 * l_ - 0.7034186147 * m_ + 1.707614701 * s_
991
+ ];
992
+ const hex = linear.map((channel) => {
993
+ const clamped = Math.min(1, Math.max(0, channel));
994
+ const gamma = clamped <= 31308e-7 ? 12.92 * clamped : 1.055 * clamped ** (1 / 2.4) - 0.055;
995
+ return Math.round(gamma * 255).toString(16).padStart(2, "0");
996
+ }).join("");
997
+ if (match[5] === void 0) return `#${hex}`;
998
+ const alpha = Number(match[5]) / (match[6] ? 100 : 1);
999
+ return `#${hex}${Math.round(Math.min(1, alpha) * 255).toString(16).padStart(2, "0")}`;
1000
+ }
1001
+ function themeColor(value) {
1002
+ const parsed = cssColor(value.toLowerCase());
1003
+ if (parsed && parsed !== "currentColor") return parsed;
1004
+ return oklchToHex(value.toLowerCase());
1005
+ }
1006
+ function themeLength(value) {
1007
+ const length = cssLength(value.trim());
1008
+ return typeof length === "number" ? length : void 0;
1009
+ }
1010
+ function createFarmNativeTheme(declarations, vars = {
1011
+ light: {},
1012
+ dark: {}
1013
+ }) {
1014
+ const theme = {
1015
+ spacing: DEFAULT_THEME.spacing,
1016
+ colors: { ...DEFAULT_THEME.colors },
1017
+ darkColors: {},
1018
+ text: { ...DEFAULT_THEME.text },
1019
+ fontWeight: { ...DEFAULT_THEME.fontWeight },
1020
+ tracking: { ...DEFAULT_THEME.tracking },
1021
+ leading: { ...DEFAULT_THEME.leading },
1022
+ radius: { ...DEFAULT_THEME.radius },
1023
+ container: { ...DEFAULT_THEME.container }
1024
+ };
1025
+ const namespaces = [
1026
+ ["color-", "colors"],
1027
+ ["text-", "text"],
1028
+ ["font-weight-", "fontWeight"],
1029
+ ["tracking-", "tracking"],
1030
+ ["leading-", "leading"],
1031
+ ["radius-", "radius"],
1032
+ ["container-", "container"]
1033
+ ];
1034
+ const resolve = (value, scheme, depth = 0) => {
1035
+ const reference = /^var\(\s*(--[\w-]+)\s*(?:,\s*(.+))?\)$/.exec(value.trim());
1036
+ if (!reference) return value.trim();
1037
+ if (depth > 8) return void 0;
1038
+ const name = reference[1];
1039
+ const next = (scheme === "dark" ? vars.dark[name] ?? vars.light[name] : vars.light[name]) ?? reference[2];
1040
+ return next === void 0 ? void 0 : resolve(next, scheme, depth + 1);
1041
+ };
1042
+ const lineHeights = [];
1043
+ for (const [rawName, value] of declarations) {
1044
+ const name = rawName.replace(/^--/, "");
1045
+ if (value.trim() === "initial") {
1046
+ if (name === "*") {
1047
+ for (const [, key] of namespaces) theme[key] = {};
1048
+ continue;
1049
+ }
1050
+ for (const [prefix, key] of namespaces) {
1051
+ if (!name.startsWith(prefix)) continue;
1052
+ const rest2 = name.slice(prefix.length);
1053
+ const values = theme[key];
1054
+ if (rest2.endsWith("*")) {
1055
+ for (const entry of Object.keys(values)) {
1056
+ if (entry.startsWith(rest2.slice(0, -1))) delete values[entry];
1057
+ }
1058
+ } else delete values[rest2];
1059
+ }
1060
+ continue;
1061
+ }
1062
+ const light = resolve(value, "light");
1063
+ if (name === "spacing") {
1064
+ const px = light === void 0 ? void 0 : themeLength(light);
1065
+ if (px !== void 0) theme.spacing = px;
1066
+ continue;
1067
+ }
1068
+ if (name.startsWith("color-")) {
1069
+ const key = name.slice(6);
1070
+ const color2 = light === void 0 ? void 0 : themeColor(light);
1071
+ const darkValue = resolve(value, "dark");
1072
+ const dark = darkValue === void 0 ? void 0 : themeColor(darkValue);
1073
+ delete theme.colors[key];
1074
+ delete theme.darkColors[key];
1075
+ if (color2) theme.colors[key] = color2;
1076
+ if (color2 && dark && dark !== color2) theme.darkColors[key] = dark;
1077
+ continue;
1078
+ }
1079
+ const lineHeight = /^text-(.+)--line-height$/.exec(name);
1080
+ if (lineHeight) {
1081
+ if (light !== void 0) lineHeights.push([lineHeight[1], light]);
1082
+ continue;
1083
+ }
1084
+ if (name.startsWith("text-") && !name.includes("--")) {
1085
+ const px = light === void 0 ? void 0 : themeLength(light);
1086
+ const key = name.slice(5);
1087
+ if (px === void 0) delete theme.text[key];
1088
+ else theme.text[key] = [px, theme.text[key]?.[1] ?? Number.NaN];
1089
+ continue;
1090
+ }
1091
+ const numeric = [
1092
+ ["font-weight-", "fontWeight"],
1093
+ ["leading-", "leading"]
1094
+ ];
1095
+ const number = numeric.find(([prefix]) => name.startsWith(prefix));
1096
+ if (number) {
1097
+ const parsed = light === void 0 ? Number.NaN : Number(light);
1098
+ const key = name.slice(number[0].length);
1099
+ if (Number.isFinite(parsed)) theme[number[1]][key] = parsed;
1100
+ else delete theme[number[1]][key];
1101
+ continue;
1102
+ }
1103
+ if (name.startsWith("tracking-")) {
1104
+ const em = light === void 0 ? void 0 : /^(-?[\d.]+)em$/.exec(light.trim());
1105
+ const key = name.slice(9);
1106
+ if (em) theme.tracking[key] = Number(em[1]);
1107
+ else delete theme.tracking[key];
1108
+ continue;
1109
+ }
1110
+ for (const [prefix, key] of [
1111
+ ["radius-", "radius"],
1112
+ ["container-", "container"]
1113
+ ]) {
1114
+ if (!name.startsWith(prefix)) continue;
1115
+ const px = light === void 0 ? void 0 : themeLength(light);
1116
+ if (px === void 0) delete theme[key][name.slice(prefix.length)];
1117
+ else theme[key][name.slice(prefix.length)] = px;
1118
+ }
1119
+ }
1120
+ for (const [size2, value] of lineHeights) {
1121
+ const text = theme.text[size2];
1122
+ if (!text) continue;
1123
+ const calc = /^calc\(\s*([\d.]+)\s*\/\s*([\d.]+)\s*\)$/.exec(value.trim());
1124
+ const ratio = calc ? Number(calc[1]) / Number(calc[2]) : Number(value);
1125
+ const px = Number.isFinite(ratio) ? Math.round(ratio * text[0] * 1e3) / 1e3 : themeLength(value);
1126
+ if (px !== void 0) theme.text[size2] = [text[0], px];
1127
+ }
1128
+ const { darkColors, ...rest } = theme;
1129
+ return Object.keys(darkColors).length > 0 ? { ...rest, darkColors } : rest;
1130
+ }
1131
+
1132
+ // src/mobile/native-css.ts
1133
+ var IGNORED_PSEUDO = /^:(?:hover|focus|focus-visible|focus-within|active|visited|target|checked|placeholder-shown|disabled|enabled|empty)$/;
1134
+ var DROPPED_AT_RULES = /^@(?:font-face|keyframes|-webkit-keyframes|property|page|import|charset|namespace|tailwind|config|plugin|source|custom-variant|variant|utility|theme)\b/;
1135
+ function stripComments(css) {
1136
+ return css.replace(/\/\*[\s\S]*?\*\//g, "");
1137
+ }
1138
+ function splitList(text) {
1139
+ const parts = [];
1140
+ let depth = 0;
1141
+ let start = 0;
1142
+ for (let index = 0; index < text.length; index += 1) {
1143
+ const char = text[index];
1144
+ if (char === "(" || char === "[") depth += 1;
1145
+ else if (char === ")" || char === "]") depth -= 1;
1146
+ else if (char === "," && depth === 0) {
1147
+ parts.push(text.slice(start, index).trim());
1148
+ start = index + 1;
1149
+ }
1150
+ }
1151
+ parts.push(text.slice(start).trim());
1152
+ return parts.filter(Boolean);
1153
+ }
1154
+ function parseCompound(text) {
1155
+ const compound = { classes: [], attributes: [], positions: [] };
1156
+ const token = /([a-zA-Z][\w-]*|\*)|#([\w-]+)|\.([\w-]+)|\[([\w-]+)(?:([~|^$*]?=)["']?([^"'\]]*)["']?)?\]|(::?[\w-]+)(\([^)]*\))?/gy;
1157
+ let match;
1158
+ let index = 0;
1159
+ while (index < text.length) {
1160
+ token.lastIndex = index;
1161
+ match = token.exec(text);
1162
+ if (!match) return void 0;
1163
+ index = token.lastIndex;
1164
+ if (match[1]) {
1165
+ if (match[1] !== "*") compound.tag = match[1].toLowerCase();
1166
+ } else if (match[2]) compound.id = match[2];
1167
+ else if (match[3]) compound.classes.push(match[3]);
1168
+ else if (match[4]) {
1169
+ if (match[5] && match[5] !== "=") return void 0;
1170
+ compound.attributes.push({ name: match[4].toLowerCase(), value: match[6] });
1171
+ } else if (match[7]) {
1172
+ if (match[8]) return void 0;
1173
+ if (match[7] === ":first-child" || match[7] === ":last-child") {
1174
+ compound.positions.push(match[7].slice(1));
1175
+ } else if (match[7] === ":root") compound.tag = "html";
1176
+ else if (IGNORED_PSEUDO.test(match[7])) return null;
1177
+ else return void 0;
1178
+ }
1179
+ }
1180
+ return compound;
1181
+ }
1182
+ function parseSelector(text) {
1183
+ const steps = [];
1184
+ let specificity = 0;
1185
+ const parts = text.replace(/\s*([>+~])\s*/g, " $1 ").trim().split(/\s+/);
1186
+ let combinator;
1187
+ for (let index = parts.length - 1; index >= 0; index -= 1) {
1188
+ const part = parts[index];
1189
+ if (part === ">" || part === "+" || part === "~") {
1190
+ combinator = part;
1191
+ continue;
1192
+ }
1193
+ const compound = parseCompound(part);
1194
+ if (compound === null) return null;
1195
+ if (compound === void 0) return void 0;
1196
+ if (steps.length > 0) steps[steps.length - 1].combinator = combinator ?? " ";
1197
+ steps.push({ compound });
1198
+ combinator = void 0;
1199
+ specificity += (compound.id ? 1e4 : 0) + (compound.classes.length + compound.attributes.length + compound.positions.length) * 100 + (compound.tag ? 1 : 0);
1200
+ }
1201
+ return steps.length > 0 ? { steps, specificity } : void 0;
1202
+ }
1203
+ function parseFarmNativeStylesheet(css) {
1204
+ const sheet = {
1205
+ rules: [],
1206
+ unknown: [],
1207
+ vars: { light: {}, dark: {} },
1208
+ layered: /* @__PURE__ */ new Set()
1209
+ };
1210
+ let order = 0;
1211
+ const walk = (text, context) => {
1212
+ let index = 0;
1213
+ while (index < text.length) {
1214
+ const open = text.indexOf("{", index);
1215
+ const semicolon = text.indexOf(";", index);
1216
+ if (open < 0) break;
1217
+ if (semicolon >= 0 && semicolon < open) {
1218
+ index = semicolon + 1;
1219
+ continue;
1220
+ }
1221
+ const prelude = text.slice(index, open).trim();
1222
+ let depth = 1;
1223
+ let close = open + 1;
1224
+ while (close < text.length && depth > 0) {
1225
+ if (text[close] === "{") depth += 1;
1226
+ else if (text[close] === "}") depth -= 1;
1227
+ close += 1;
1228
+ }
1229
+ const body = text.slice(open + 1, close - 1);
1230
+ index = close;
1231
+ if (prelude.startsWith("@")) {
1232
+ if (DROPPED_AT_RULES.test(prelude)) continue;
1233
+ if (/^@layer\b/.test(prelude)) {
1234
+ walk(body, { ...context, layered: true });
1235
+ } else if (/^@media\b/.test(prelude)) {
1236
+ const query = prelude.slice(6).trim();
1237
+ if (/^\(\s*prefers-color-scheme:\s*dark\s*\)$/.test(query))
1238
+ walk(body, { ...context, dark: true });
1239
+ else if (/^\(\s*prefers-color-scheme:\s*light\s*\)$/.test(query))
1240
+ walk(body, { ...context, light: true });
1241
+ else walk(body, { ...context, unknownMedia: prelude });
1242
+ } else if (/^@supports\b/.test(prelude)) {
1243
+ walk(body, context);
1244
+ } else {
1245
+ walk(body, { ...context, unknownMedia: prelude });
1246
+ }
1247
+ continue;
1248
+ }
1249
+ const declarations = splitFarmCssDeclarations(body);
1250
+ const applies = /@apply\b/.test(body);
1251
+ for (const text2 of splitList(prelude)) {
1252
+ const selector = parseSelector(text2);
1253
+ if (selector === null) continue;
1254
+ const subject = selector?.steps[0].compound;
1255
+ if (context.layered) {
1256
+ for (const name of subject?.classes ?? []) sheet.layered.add(name);
1257
+ continue;
1258
+ }
1259
+ if (selector && selector.steps.length === 1 && subject?.tag === "html" && !subject.classes.length) {
1260
+ for (const [property, value] of declarations) {
1261
+ if (property.startsWith("--")) {
1262
+ (context.dark ? sheet.vars.dark : sheet.vars.light)[property] = value;
1263
+ }
1264
+ }
1265
+ }
1266
+ if (!selector || context.unknownMedia || applies) {
1267
+ const fallback = /(?:^|[\s>+~])([a-zA-Z][\w-]*)?((?:[.#:[][^\s>+~]*)?)$/.exec(text2);
1268
+ sheet.unknown.push({
1269
+ classes: [...(fallback?.[2] ?? "").matchAll(/\.([\w-]+)/g)].map((match) => match[1]),
1270
+ tag: fallback?.[1]?.toLowerCase(),
1271
+ text: context.unknownMedia ? `${context.unknownMedia} ${text2}` : applies ? `${text2} { @apply }` : text2
1272
+ });
1273
+ continue;
1274
+ }
1275
+ if (context.light) continue;
1276
+ const own = declarations.filter(([property]) => !property.startsWith("--"));
1277
+ if (own.length > 0) {
1278
+ sheet.rules.push({
1279
+ selector,
1280
+ text: text2,
1281
+ declarations: own,
1282
+ dark: context.dark,
1283
+ order: order++
1284
+ });
1285
+ }
1286
+ }
1287
+ }
1288
+ };
1289
+ walk(stripComments(css), {});
1290
+ return sheet;
1291
+ }
1292
+ function classesOf(element) {
1293
+ return (element.attributes.class ?? "").split(/\s+/).filter(Boolean);
1294
+ }
1295
+ function matchesCompound(compound, element) {
1296
+ if (compound.tag && compound.tag !== element.tag) return false;
1297
+ if (compound.id && element.attributes.id !== compound.id) return false;
1298
+ if (compound.classes.length > 0) {
1299
+ const classes = classesOf(element);
1300
+ if (!compound.classes.every((name) => classes.includes(name))) return false;
1301
+ }
1302
+ for (const attribute of compound.attributes) {
1303
+ const value = attribute.name === "data-farm-shell" && element.tag === "html" ? element.attributes[attribute.name] ?? "android" : element.attributes[attribute.name];
1304
+ if (value === void 0) return false;
1305
+ if (attribute.value !== void 0 && value !== attribute.value) return false;
1306
+ }
1307
+ for (const position of compound.positions) {
1308
+ if (position === "first-child" && element.previous) return false;
1309
+ if (position === "last-child" && !element.last) return false;
1310
+ }
1311
+ return true;
1312
+ }
1313
+ function matches(selector, element) {
1314
+ const step = (index, target) => {
1315
+ if (!target) return false;
1316
+ const { compound, combinator } = selector.steps[index];
1317
+ if (!matchesCompound(compound, target)) return false;
1318
+ if (index === selector.steps.length - 1) return true;
1319
+ switch (combinator) {
1320
+ case ">":
1321
+ return step(index + 1, target.parent);
1322
+ case "+":
1323
+ return step(index + 1, target.previous);
1324
+ case "~":
1325
+ for (let sibling = target.previous; sibling; sibling = sibling.previous) {
1326
+ if (step(index + 1, sibling)) return true;
1327
+ }
1328
+ return false;
1329
+ default:
1330
+ for (let ancestor = target.parent; ancestor; ancestor = ancestor.parent) {
1331
+ if (step(index + 1, ancestor)) return true;
1332
+ }
1333
+ return false;
1334
+ }
1335
+ };
1336
+ return step(0, element);
1337
+ }
1338
+ function cascadeFarmNativeStylesheets(sheets, element) {
1339
+ const style = {};
1340
+ const dark = {};
1341
+ const unsupported = [];
1342
+ const classes = classesOf(element);
1343
+ const matched = [];
1344
+ sheets.forEach((sheet, index) => {
1345
+ for (const rule of sheet.rules) {
1346
+ if (matches(rule.selector, element)) matched.push({ rule, sheet, index });
1347
+ }
1348
+ for (const unknown of sheet.unknown) {
1349
+ const touches = unknown.classes.some((name) => classes.includes(name)) || unknown.classes.length === 0 && unknown.tag === element.tag;
1350
+ if (touches) unsupported.push(`selector "${unknown.text}"`);
1351
+ }
1352
+ });
1353
+ matched.sort(
1354
+ (left, right) => left.rule.selector.specificity - right.rule.selector.specificity || left.index - right.index || left.rule.order - right.rule.order
1355
+ );
1356
+ for (const { rule, sheet } of matched) {
1357
+ for (const [property, raw] of rule.declarations) {
1358
+ const themes = rule.dark ? [dark] : [style, dark];
1359
+ for (const target of themes) {
1360
+ const vars = target === dark ? { ...sheet.vars.light, ...sheet.vars.dark } : sheet.vars.light;
1361
+ const value = substituteFarmNativeVars(raw, vars);
1362
+ const resolved = value === void 0 ? void 0 : resolveFarmNativeDeclaration(property, value.toLowerCase().trim());
1363
+ if (resolved === void 0) {
1364
+ const message = `${property}: ${raw}`;
1365
+ if (!unsupported.includes(message)) unsupported.push(message);
1366
+ break;
1367
+ }
1368
+ if (resolved) Object.assign(target, resolved);
1369
+ }
1370
+ }
1371
+ }
1372
+ for (const key of Object.keys(dark)) {
1373
+ if (dark[key] === style[key]) delete dark[key];
1374
+ }
1375
+ const layered = classes.filter((name) => sheets.some((sheet) => sheet.layered.has(name)));
1376
+ return { style, dark, unsupported, layered };
1377
+ }
1378
+ function inspectFarmNativeStylesheets(sheets, target) {
1379
+ const problems = [];
1380
+ let styled = false;
1381
+ const touches = (compound, subject) => "class" in target ? compound.classes.includes(target.class) : subject && compound.tag === target.tag && compound.classes.length === 0;
1382
+ for (const sheet of sheets) {
1383
+ for (const rule of sheet.rules) {
1384
+ if (!rule.selector.steps.some((step, index) => touches(step.compound, index === 0))) continue;
1385
+ styled = true;
1386
+ for (const [property, raw] of rule.declarations) {
1387
+ for (const vars of [sheet.vars.light, { ...sheet.vars.light, ...sheet.vars.dark }]) {
1388
+ const value = substituteFarmNativeVars(raw, vars);
1389
+ if (value === void 0 || resolveFarmNativeDeclaration(property, value.toLowerCase().trim()) === void 0) {
1390
+ const message = `"${rule.text} { ${property}: ${raw} }" has no native-tier style`;
1391
+ if (!problems.includes(message)) problems.push(message);
1392
+ break;
1393
+ }
1394
+ }
1395
+ }
1396
+ }
1397
+ for (const unknown of sheet.unknown) {
1398
+ const hit = "class" in target ? unknown.classes.includes(target.class) : unknown.classes.length === 0 && unknown.tag === target.tag;
1399
+ if (hit) {
1400
+ styled = true;
1401
+ problems.push(`"${unknown.text}" is CSS the native tier cannot apply`);
1402
+ }
1403
+ }
1404
+ }
1405
+ return { styled, problems };
1406
+ }
1407
+ function cascadeFarmNativeStylesheetsForElement(sheets, element, contextClasses = /* @__PURE__ */ new Set()) {
1408
+ const { tag, classes = [] } = element;
1409
+ const problems = [];
1410
+ const inherit = /* @__PURE__ */ new Set();
1411
+ const problem = (message) => {
1412
+ if (!problems.includes(message)) problems.push(message);
1413
+ };
1414
+ for (const sheet of sheets) {
1415
+ for (const rule of sheet.rules) {
1416
+ const [subject, ...context] = rule.selector.steps;
1417
+ const compound = subject.compound;
1418
+ if (compound.tag && compound.tag !== tag || compound.classes.some((name) => !classes.includes(name))) {
1419
+ continue;
1420
+ }
1421
+ const unreachable = context.some(
1422
+ (step) => step.compound.classes.length > 0 && step.compound.classes.some((name) => !contextClasses.has(name))
1423
+ );
1424
+ if (unreachable) continue;
1425
+ const shellOnly = tag === "html" && compound.attributes.every((attribute) => attribute.name === "data-farm-shell");
1426
+ if (context.length > 0 || compound.id || compound.positions.length > 0 || compound.attributes.length > 0 && !shellOnly) {
1427
+ problem(`"${rule.text}" depends on where <${tag}> renders`);
1428
+ continue;
1429
+ }
1430
+ for (const [property, value] of rule.declarations) {
1431
+ if (value.trim().toLowerCase() !== "inherit") continue;
1432
+ for (const key of INHERITABLE[property] ?? []) inherit.add(key);
1433
+ }
1434
+ }
1435
+ for (const unknown of sheet.unknown) {
1436
+ const touches = unknown.classes.length > 0 ? unknown.classes.some((name) => classes.includes(name)) : !unknown.tag || unknown.tag === tag;
1437
+ if (touches) problem(`"${unknown.text}" is CSS a port cannot apply`);
1438
+ }
1439
+ }
1440
+ const { style, dark, unsupported } = cascadeFarmNativeStylesheets(sheets, {
1441
+ tag,
1442
+ attributes: {
1443
+ ...tag === "html" ? { "data-farm-shell": "" } : {},
1444
+ ...classes.length > 0 ? { class: classes.join(" ") } : {}
1445
+ }
1446
+ });
1447
+ for (const message of unsupported) problem(`<${tag}> ${message}`);
1448
+ return { style, dark, inherit: [...inherit].sort(), problems };
1449
+ }
1450
+ var INHERITABLE = {
1451
+ font: ["fontFamily", "fontSize", "fontStyle", "fontWeight", "lineHeight"],
1452
+ "font-family": ["fontFamily"],
1453
+ "font-size": ["fontSize"],
1454
+ "font-style": ["fontStyle"],
1455
+ "font-weight": ["fontWeight"],
1456
+ "line-height": ["lineHeight"],
1457
+ "letter-spacing": ["letterSpacing"],
1458
+ color: ["color"],
1459
+ "text-align": ["textAlign"]
1460
+ };
1461
+
1462
+ export {
1463
+ FARM_NATIVE_TEXT_KEYS,
1464
+ farmNativeClassProblem,
1465
+ resolveFarmNativeClasses,
1466
+ FARM_NATIVE_STYLE_PROPERTIES,
1467
+ resolveFarmNativeInlineStyle,
1468
+ createFarmNativeTheme,
1469
+ parseFarmNativeStylesheet,
1470
+ cascadeFarmNativeStylesheets,
1471
+ inspectFarmNativeStylesheets,
1472
+ cascadeFarmNativeStylesheetsForElement
1473
+ };