@qitqode/qitqode-android-arm64 0.2.0 → 0.2.2

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 (418) hide show
  1. package/bun +0 -0
  2. package/bundle/{chunk-cx7p4ezk.js → chunk-03mbn7nj.js} +2 -2
  3. package/bundle/{chunk-rrd0jf5m.js → chunk-07s30fpb.js} +1 -1
  4. package/bundle/{chunk-yacccwf6.js → chunk-087tnr8a.js} +1 -1
  5. package/bundle/chunk-0cdtq1r3.js +2 -0
  6. package/bundle/{chunk-kx2dp8ch.js → chunk-0f3ft9dh.js} +1 -1
  7. package/bundle/{chunk-rgxy4ngt.js → chunk-0gab4v98.js} +1 -1
  8. package/bundle/chunk-0ych0f5w.js +2 -0
  9. package/bundle/{chunk-w8d9srv7.js → chunk-0yjdatm6.js} +2 -2
  10. package/bundle/chunk-0ykeedfm.js +2 -0
  11. package/bundle/{chunk-rph9zj24.js → chunk-0zxwjsvz.js} +1 -1
  12. package/bundle/{chunk-pqnbdygz.js → chunk-1p6jjrea.js} +2 -2
  13. package/bundle/{chunk-9cw4cnz0.js → chunk-1q1cddy4.js} +1 -1
  14. package/bundle/{chunk-w9pdvcf9.js → chunk-1sfcxdbw.js} +2 -2
  15. package/bundle/chunk-22hr3ndh.js +2 -0
  16. package/bundle/chunk-23tyxyyj.js +2 -0
  17. package/bundle/chunk-2517cev8.js +2 -0
  18. package/bundle/chunk-28g1ndpx.js +2 -0
  19. package/bundle/{chunk-txqc7543.js → chunk-29zm623f.js} +2 -2
  20. package/bundle/{chunk-wm77svwm.js → chunk-2a9rzgk6.js} +1 -1
  21. package/bundle/chunk-2avxtbv3.js +2 -0
  22. package/bundle/{chunk-eaqfnwdj.js → chunk-2bgqy6z7.js} +1 -1
  23. package/bundle/{chunk-fyz7fngd.js → chunk-2faah8w1.js} +1 -1
  24. package/bundle/{chunk-9zre5e54.js → chunk-2hv2c8d5.js} +1 -1
  25. package/bundle/{chunk-swcgsrbj.js → chunk-2jpmxt4v.js} +1 -1
  26. package/bundle/chunk-2qk0k2eb.js +2 -0
  27. package/bundle/{chunk-nsjp44fp.js → chunk-2qwmrp16.js} +1 -1
  28. package/bundle/{chunk-dykqn0nj.js → chunk-2xqqkf86.js} +2 -2
  29. package/bundle/{chunk-d9x9kqvy.js → chunk-3888asr7.js} +1 -1
  30. package/bundle/chunk-3c3xzz0g.js +3 -0
  31. package/bundle/{chunk-zfcfyagt.js → chunk-3h49k2ck.js} +1 -1
  32. package/bundle/{chunk-r0g5yyhf.js → chunk-3jms025t.js} +1 -1
  33. package/bundle/{chunk-52b1v7mn.js → chunk-3qfpw8f6.js} +1 -1
  34. package/bundle/{chunk-v3x5nrc4.js → chunk-3tmq81kq.js} +2 -2
  35. package/bundle/{chunk-neqy8j4n.js → chunk-42r7z6sq.js} +1 -1
  36. package/bundle/chunk-42wdfks8.js +2 -0
  37. package/bundle/{chunk-kp8nkm3m.js → chunk-44y6dffe.js} +1 -1
  38. package/bundle/{chunk-j5kyf7vt.js → chunk-45fyv9f1.js} +2 -2
  39. package/bundle/chunk-4f19vqxf.js +2 -0
  40. package/bundle/{chunk-d93z6hrn.js → chunk-4fk46ngj.js} +1 -1
  41. package/bundle/{chunk-njkserae.js → chunk-4hd3v58j.js} +1 -1
  42. package/bundle/chunk-4m3k1atq.js +2 -0
  43. package/bundle/{chunk-1wpjmwnh.js → chunk-4mvg7jt1.js} +1 -1
  44. package/bundle/chunk-4n2ytddp.js +2 -0
  45. package/bundle/{chunk-zesbm9k1.js → chunk-4sxg9cgr.js} +1 -1
  46. package/bundle/{chunk-8fgamz4y.js → chunk-4v61ysex.js} +1 -1
  47. package/bundle/chunk-4yg42p6y.js +2 -0
  48. package/bundle/chunk-4zx3ze68.js +2 -0
  49. package/bundle/{chunk-qq2rcxv2.js → chunk-543pt030.js} +2 -2
  50. package/bundle/{chunk-rexdr63q.js → chunk-5az84brc.js} +2 -2
  51. package/bundle/{chunk-pnpre7ys.js → chunk-5js6a6gf.js} +1 -1
  52. package/bundle/{chunk-y0ydzdfc.js → chunk-5t0w9ecw.js} +1 -1
  53. package/bundle/{chunk-nq495be3.js → chunk-5wwd40t3.js} +1 -1
  54. package/bundle/chunk-637sjdzq.js +2 -0
  55. package/bundle/{chunk-snt1kefv.js → chunk-64c8q9zg.js} +3 -3
  56. package/bundle/{chunk-g794ey6w.js → chunk-6avjq7my.js} +1 -1
  57. package/bundle/{chunk-n0trgp1c.js → chunk-6dfjtzqb.js} +2 -2
  58. package/bundle/{chunk-dz3s882k.js → chunk-6f8qqbac.js} +189 -189
  59. package/bundle/chunk-6h8f89tt.js +2 -0
  60. package/bundle/{chunk-b0jh0rby.js → chunk-6j339s7a.js} +2 -2
  61. package/bundle/{chunk-8q6z6emx.js → chunk-6kf4vw2g.js} +1 -1
  62. package/bundle/{chunk-hgsykghj.js → chunk-6pcmv8vs.js} +2 -2
  63. package/bundle/chunk-6sjj203r.js +2 -0
  64. package/bundle/{chunk-kt0ej3nq.js → chunk-6ypafpg8.js} +1 -1
  65. package/bundle/{chunk-p8kpqyxb.js → chunk-732yr6qq.js} +2 -2
  66. package/bundle/{chunk-3sz6gw10.js → chunk-73fz0cf4.js} +2 -2
  67. package/bundle/chunk-79aka9xe.js +2 -0
  68. package/bundle/{chunk-s2xdf6qh.js → chunk-7ab3yw9j.js} +2 -2
  69. package/bundle/{chunk-8tp4whyw.js → chunk-7my2231h.js} +1 -1
  70. package/bundle/{chunk-vvzbfv2f.js → chunk-7njz51r4.js} +1 -1
  71. package/bundle/chunk-7nqdhe7x.js +2 -0
  72. package/bundle/{chunk-zaan8jk6.js → chunk-7ntw4rrn.js} +1 -1
  73. package/bundle/chunk-7q003wdd.js +4 -0
  74. package/bundle/chunk-7x88b2n2.js +2 -0
  75. package/bundle/{chunk-6r8pg6ma.js → chunk-7z884mz2.js} +1 -1
  76. package/bundle/{chunk-17pxm5d3.js → chunk-7zc04q43.js} +2 -2
  77. package/bundle/{chunk-v7q3d3n6.js → chunk-85xh72hk.js} +2 -2
  78. package/bundle/{chunk-jgz1a29w.js → chunk-86jsqc7d.js} +3 -3
  79. package/bundle/{chunk-zbqzm65q.js → chunk-86yk21g4.js} +1 -1
  80. package/bundle/{chunk-aj3y2e86.js → chunk-8apeexas.js} +1 -1
  81. package/bundle/{chunk-xjhezxft.js → chunk-8d6e4jg7.js} +3 -3
  82. package/bundle/{chunk-w3bmf3zz.js → chunk-8e6gx3gg.js} +1 -1
  83. package/bundle/chunk-8mthftwc.js +2 -0
  84. package/bundle/{chunk-73ckx171.js → chunk-8q5ns61h.js} +1 -1
  85. package/bundle/{chunk-549ptbaj.js → chunk-8rh0femq.js} +1 -1
  86. package/bundle/{chunk-qyjt0qnq.js → chunk-8v6x712g.js} +2 -2
  87. package/bundle/chunk-8wdara3b.js +2 -0
  88. package/bundle/chunk-8xhzpnph.js +2 -0
  89. package/bundle/{chunk-z0tfsdb9.js → chunk-91z7azf7.js} +1 -1
  90. package/bundle/{chunk-kqhh2pm9.js → chunk-94qhpkfx.js} +1 -1
  91. package/bundle/{chunk-g8cfzzrs.js → chunk-96sqbyvf.js} +1 -1
  92. package/bundle/{chunk-gxmxx8jb.js → chunk-99148b1k.js} +1 -1
  93. package/bundle/chunk-9akz8w0d.js +2 -0
  94. package/bundle/{chunk-7gbytqkn.js → chunk-9b4aqcde.js} +2 -2
  95. package/bundle/{chunk-nhwhkx62.js → chunk-9bm9z52r.js} +1 -1
  96. package/bundle/{chunk-tdmn21z0.js → chunk-9ea1n338.js} +2 -2
  97. package/bundle/chunk-9etpppyv.js +3 -0
  98. package/bundle/{chunk-vgaxv70x.js → chunk-9jrxrjzt.js} +2 -2
  99. package/bundle/{chunk-3bkdbqjj.js → chunk-9jsgs71h.js} +1 -1
  100. package/bundle/chunk-9pnpmtb2.js +2 -0
  101. package/bundle/{chunk-pxx2hz0g.js → chunk-9rxyq6f9.js} +2 -2
  102. package/bundle/chunk-9s785py4.js +28 -0
  103. package/bundle/{chunk-9fkmhmh6.js → chunk-9y15zjxa.js} +1 -1
  104. package/bundle/{chunk-mdzzcrf9.js → chunk-a2dz9nqh.js} +2 -2
  105. package/bundle/{chunk-rtdym35y.js → chunk-a550vst5.js} +149 -141
  106. package/bundle/{chunk-46ztrjw0.js → chunk-a5pbvp1f.js} +1 -1
  107. package/bundle/chunk-a7p0x4sw.js +2 -0
  108. package/bundle/{chunk-ev3a2sxv.js → chunk-a92hh67a.js} +2 -2
  109. package/bundle/chunk-ae0a496j.js +2 -0
  110. package/bundle/chunk-aq1j9y18.js +2 -0
  111. package/bundle/chunk-aq8nz9hp.js +2 -0
  112. package/bundle/{chunk-zxddasg8.js → chunk-as845ya4.js} +1 -1
  113. package/bundle/chunk-b4zy78be.js +2 -0
  114. package/bundle/{chunk-45mjcxqk.js → chunk-b50t4jc5.js} +1 -1
  115. package/bundle/chunk-basjzwqp.js +2 -0
  116. package/bundle/{chunk-d1rn44wz.js → chunk-bbbh69ys.js} +1 -1
  117. package/bundle/{chunk-mw2hr4pd.js → chunk-bcx2vkv4.js} +1 -1
  118. package/bundle/{chunk-72zxassf.js → chunk-bggybm9k.js} +1 -1
  119. package/bundle/{chunk-4gs87ghj.js → chunk-bgng3rdj.js} +2 -2
  120. package/bundle/chunk-bhetpmgq.js +3 -0
  121. package/bundle/{chunk-bnz0mxak.js → chunk-bk3z400e.js} +1 -1
  122. package/bundle/chunk-bm7xpjh6.js +2 -0
  123. package/bundle/chunk-c1bw1q75.js +2 -0
  124. package/bundle/{chunk-7fawtcnn.js → chunk-c1g8n10t.js} +1 -1
  125. package/bundle/chunk-c2k556rk.js +2 -0
  126. package/bundle/chunk-c47vp7ne.js +2 -0
  127. package/bundle/{chunk-w03fdrxe.js → chunk-cbf1y12x.js} +1 -1
  128. package/bundle/chunk-cbhgf058.js +2 -0
  129. package/bundle/{chunk-vc4e6xc4.js → chunk-cbmwhvxw.js} +2 -2
  130. package/bundle/{chunk-5bate758.js → chunk-cp39f96a.js} +1 -1
  131. package/bundle/{chunk-9nk0ts0s.js → chunk-d307vb2d.js} +1 -1
  132. package/bundle/chunk-d41mg7at.js +2 -0
  133. package/bundle/chunk-d50kpss6.js +2 -0
  134. package/bundle/chunk-day0rb5p.js +2 -0
  135. package/bundle/{chunk-ws3p9cya.js → chunk-dbztxdea.js} +2 -2
  136. package/bundle/chunk-dp7cww4v.js +2 -0
  137. package/bundle/{chunk-yeq7b87a.js → chunk-drwqag0f.js} +1 -1
  138. package/bundle/chunk-dy31mchw.js +3 -0
  139. package/bundle/{chunk-5myxjxae.js → chunk-e374shb8.js} +2 -2
  140. package/bundle/{chunk-qdcf1ay5.js → chunk-e586sjb0.js} +2 -2
  141. package/bundle/{chunk-pr1ysgr3.js → chunk-e5rda9mx.js} +1 -1
  142. package/bundle/{chunk-qs4wef8c.js → chunk-e6wp96vm.js} +1 -1
  143. package/bundle/chunk-e999xtfj.js +2 -0
  144. package/bundle/{chunk-n7d9eemn.js → chunk-ehfxypks.js} +216 -218
  145. package/bundle/{chunk-gnt982jr.js → chunk-epa576pa.js} +3 -3
  146. package/bundle/{chunk-m0xsvzyd.js → chunk-et5dnymk.js} +2 -2
  147. package/bundle/chunk-eyr0vf92.js +2 -0
  148. package/bundle/{chunk-02xcb52z.js → chunk-ezfzb8qc.js} +2 -2
  149. package/bundle/{chunk-4sazy0nq.js → chunk-f83wv08n.js} +1 -1
  150. package/bundle/{chunk-3dr4469n.js → chunk-fbm6qczy.js} +1 -1
  151. package/bundle/{chunk-0g25z230.js → chunk-fd7fmvyw.js} +1 -1
  152. package/bundle/{chunk-0z33en1a.js → chunk-fgn83bs7.js} +1 -1
  153. package/bundle/{chunk-dshnn54c.js → chunk-fpm2vgz6.js} +1 -1
  154. package/bundle/{chunk-px8vtbmr.js → chunk-frsd6e1h.js} +2 -2
  155. package/bundle/{chunk-w5940jxm.js → chunk-fvy24yhq.js} +1 -1
  156. package/bundle/{chunk-dt899wbf.js → chunk-g3kd4957.js} +2 -2
  157. package/bundle/chunk-g7k6ecb2.js +11 -0
  158. package/bundle/chunk-gbmmbhy4.js +2 -0
  159. package/bundle/chunk-gp877cq5.js +2 -0
  160. package/bundle/{chunk-tgd5ctnt.js → chunk-gr4bctqj.js} +2 -2
  161. package/bundle/{chunk-dvxk6mr6.js → chunk-grw4gg9j.js} +2 -2
  162. package/bundle/{chunk-mvnxwwe7.js → chunk-gtjn3yc4.js} +2 -2
  163. package/bundle/{chunk-m6zxr0j8.js → chunk-h10wjk96.js} +2 -2
  164. package/bundle/{chunk-cxtxvt43.js → chunk-h2bmss2m.js} +1 -1
  165. package/bundle/chunk-h4f582d6.js +2 -0
  166. package/bundle/chunk-h57c6ne3.js +2 -0
  167. package/bundle/chunk-hk8vvc10.js +2 -0
  168. package/bundle/{chunk-x42w8ewc.js → chunk-hnrqhcgq.js} +1 -1
  169. package/bundle/{chunk-hcy77w6t.js → chunk-hq9bgnqb.js} +1 -1
  170. package/bundle/{chunk-gkj4a27z.js → chunk-hrw5rmj1.js} +1 -1
  171. package/bundle/{chunk-n2ygpy76.js → chunk-hs3vfhar.js} +1 -1
  172. package/bundle/chunk-hwavzxdm.js +2 -0
  173. package/bundle/chunk-hwnc2sa5.js +2 -0
  174. package/bundle/chunk-hy86wfad.js +2 -0
  175. package/bundle/{chunk-aw8af3ky.js → chunk-j17421hz.js} +1 -1
  176. package/bundle/chunk-j2gvpa15.js +2 -0
  177. package/bundle/{chunk-te5tfq79.js → chunk-j3jqk62r.js} +1 -1
  178. package/bundle/{chunk-jqn27885.js → chunk-j5ymkhry.js} +1 -1
  179. package/bundle/chunk-j7n8khk7.js +2 -0
  180. package/bundle/chunk-jkh98wby.js +2 -0
  181. package/bundle/{chunk-h7w35n7w.js → chunk-jv4th87b.js} +1 -1
  182. package/bundle/{chunk-j63fkt6n.js → chunk-jvjq554f.js} +1 -1
  183. package/bundle/{chunk-00sr2gwz.js → chunk-jw114bbt.js} +2 -2
  184. package/bundle/{chunk-ax1y4699.js → chunk-jwph7tpc.js} +1 -1
  185. package/bundle/{chunk-xdacgfba.js → chunk-k1gddnkm.js} +1 -1
  186. package/bundle/chunk-k5a652s4.js +2 -0
  187. package/bundle/{chunk-1mcsf4yb.js → chunk-k6cbfrzc.js} +2 -2
  188. package/bundle/chunk-k6w32q2p.js +2 -0
  189. package/bundle/{chunk-5kmfnkzv.js → chunk-kdcnder5.js} +1 -1
  190. package/bundle/chunk-kghwk0yh.js +2 -0
  191. package/bundle/chunk-kh8de8re.js +2 -0
  192. package/bundle/{chunk-r6ndvzd0.js → chunk-km1n4ttr.js} +1 -1
  193. package/bundle/{chunk-tzrbb0e8.js → chunk-kmwy6c9g.js} +2 -2
  194. package/bundle/{chunk-ydc6ypjt.js → chunk-ks1cs80p.js} +2 -2
  195. package/bundle/{chunk-08q55ya0.js → chunk-kxjrrdj0.js} +1 -1
  196. package/bundle/{chunk-jts0dma5.js → chunk-kzvvvj79.js} +2 -2
  197. package/bundle/chunk-mce8aa9y.js +2 -0
  198. package/bundle/chunk-me1ja46g.js +2 -0
  199. package/bundle/chunk-mgadsp7r.js +2 -0
  200. package/bundle/{chunk-hb9mc5f9.js → chunk-mpe8zxc0.js} +1 -1
  201. package/bundle/{chunk-eb8nsk7e.js → chunk-mrn44msr.js} +2 -2
  202. package/bundle/{chunk-yykjvt7f.js → chunk-mswx4k75.js} +2 -2
  203. package/bundle/{chunk-std2bgv7.js → chunk-mxhb5adq.js} +2 -2
  204. package/bundle/{chunk-gwfx7tx7.js → chunk-my3cswnp.js} +2 -2
  205. package/bundle/chunk-n0k0pp4k.js +2 -0
  206. package/bundle/chunk-n393nnh5.js +2 -0
  207. package/bundle/chunk-n5vyed7w.js +2 -0
  208. package/bundle/{chunk-jf6ry79j.js → chunk-n7kqdqkh.js} +4 -4
  209. package/bundle/{chunk-tdxbm1nd.js → chunk-n90eh3e7.js} +1 -1
  210. package/bundle/{chunk-s8mghr5a.js → chunk-ngvp6zc2.js} +2 -2
  211. package/bundle/{chunk-mcc5ynma.js → chunk-p4ewy9xh.js} +3 -3
  212. package/bundle/{chunk-vgnddhdj.js → chunk-p635phfw.js} +1 -1
  213. package/bundle/{chunk-dgx4rq86.js → chunk-p887g1xj.js} +1 -1
  214. package/bundle/{chunk-7jhrxzjx.js → chunk-p9mj4zyk.js} +2 -2
  215. package/bundle/chunk-pasm65wq.js +2 -0
  216. package/bundle/{chunk-xdjwapwy.js → chunk-pfkm3j8g.js} +2 -2
  217. package/bundle/chunk-phpmxjf8.js +2 -0
  218. package/bundle/{chunk-9dh9bc9d.js → chunk-pp9neaaz.js} +1 -1
  219. package/bundle/{chunk-c72jajx9.js → chunk-pzefsndd.js} +1 -1
  220. package/bundle/{chunk-dh1h513y.js → chunk-q128vfc6.js} +1 -1
  221. package/bundle/chunk-q2q3dmg3.js +2 -0
  222. package/bundle/chunk-q46pzk9z.js +8 -0
  223. package/bundle/{chunk-4fa390yr.js → chunk-q4fn41ex.js} +2 -2
  224. package/bundle/{chunk-zrmx397j.js → chunk-q5abwn50.js} +1 -1
  225. package/bundle/{chunk-7vftsy04.js → chunk-qaz100ht.js} +1 -1
  226. package/bundle/{chunk-pnq1h5az.js → chunk-qhnpq5gb.js} +2 -2
  227. package/bundle/chunk-qvzvxsjw.js +2 -0
  228. package/bundle/{chunk-yzwgvjzd.js → chunk-r0s28gnb.js} +1 -1
  229. package/bundle/chunk-racrb1b3.js +2 -0
  230. package/bundle/{chunk-yj6rbe9p.js → chunk-rcyzqa3g.js} +2 -2
  231. package/bundle/{chunk-70pb4kcm.js → chunk-rdwma0de.js} +2 -2
  232. package/bundle/{chunk-25bp7pcm.js → chunk-rk2bk4s7.js} +2 -2
  233. package/bundle/{chunk-x6rr6ss1.js → chunk-rm5ntsvn.js} +1 -1
  234. package/bundle/{chunk-xhbb8b5g.js → chunk-rp8asmq7.js} +1 -1
  235. package/bundle/{chunk-z1rshv6g.js → chunk-rpfhgncs.js} +1 -1
  236. package/bundle/{chunk-gt6tgm42.js → chunk-s0c0t6qr.js} +1 -1
  237. package/bundle/{chunk-cagk1sjd.js → chunk-s0ptrw0z.js} +1 -1
  238. package/bundle/{chunk-yw9pfqxt.js → chunk-s0ty36qg.js} +1 -1
  239. package/bundle/{chunk-kb6v5hhm.js → chunk-s77qktcn.js} +2 -2
  240. package/bundle/{chunk-sxy4hyyy.js → chunk-sghy9s7m.js} +1 -1
  241. package/bundle/{chunk-k7n1csxv.js → chunk-sjreby6e.js} +1 -1
  242. package/bundle/chunk-skpkjnyy.js +2 -0
  243. package/bundle/{chunk-8r3410c2.js → chunk-skv9ww0s.js} +1 -1
  244. package/bundle/chunk-skxhg212.js +2 -0
  245. package/bundle/chunk-snt4kwab.js +2 -0
  246. package/bundle/chunk-sq47t8f1.js +2 -0
  247. package/bundle/chunk-sqhgnvvs.js +2 -0
  248. package/bundle/{chunk-ztnepaqc.js → chunk-ssdw9zre.js} +1 -1
  249. package/bundle/chunk-t114r59h.js +2 -0
  250. package/bundle/{chunk-909fp6pm.js → chunk-t1475j9f.js} +1 -1
  251. package/bundle/chunk-t1f56k0j.js +2 -0
  252. package/bundle/{chunk-9s4whpg1.js → chunk-t1jgx17a.js} +2 -2
  253. package/bundle/chunk-t69jx6fz.js +2 -0
  254. package/bundle/{chunk-srxx88nb.js → chunk-t9zbp2qw.js} +1 -1
  255. package/bundle/{chunk-jcjaw7tk.js → chunk-ta7mfkms.js} +2 -2
  256. package/bundle/{chunk-fn8191ps.js → chunk-tczbhj0e.js} +1 -1
  257. package/bundle/{chunk-h1kg35mn.js → chunk-tge53d52.js} +1 -1
  258. package/bundle/{chunk-2pzvcpv4.js → chunk-tj3rem3q.js} +2 -2
  259. package/bundle/chunk-tsb3jsx4.js +2 -0
  260. package/bundle/chunk-ttpbpzbh.js +2 -0
  261. package/bundle/{chunk-2dkrfc1s.js → chunk-v5z6sx6j.js} +1 -1
  262. package/bundle/chunk-v667egp5.js +2 -0
  263. package/bundle/{chunk-60qyqqxx.js → chunk-v9rg0a8g.js} +1 -1
  264. package/bundle/{chunk-jngchw38.js → chunk-ve3np791.js} +1 -1
  265. package/bundle/{chunk-wev34grp.js → chunk-vhe92p7a.js} +2 -2
  266. package/bundle/{chunk-ceefd2nj.js → chunk-vk88jj60.js} +1 -1
  267. package/bundle/{chunk-atpzz901.js → chunk-vm1ek7yf.js} +1 -1
  268. package/bundle/{chunk-3mepk08v.js → chunk-vqpfpmha.js} +2 -2
  269. package/bundle/{chunk-cdh26622.js → chunk-vqss3e48.js} +2 -2
  270. package/bundle/chunk-vrv67tt0.js +2 -0
  271. package/bundle/chunk-vtw0wwch.js +17 -0
  272. package/bundle/{chunk-z7vv0ngm.js → chunk-vyh300ac.js} +2 -2
  273. package/bundle/{chunk-qpzspr9z.js → chunk-w30b563s.js} +2 -2
  274. package/bundle/{chunk-ewpzqnj4.js → chunk-w79jzf8w.js} +1 -1
  275. package/bundle/{chunk-yha554nm.js → chunk-w7em72p8.js} +2 -2
  276. package/bundle/chunk-wcqfr8vr.js +3 -0
  277. package/bundle/chunk-wcx7hc2p.js +635 -0
  278. package/bundle/{chunk-r58gzg6m.js → chunk-wdaf713t.js} +1 -1
  279. package/bundle/{chunk-ymtcm4xd.js → chunk-wf4x5cjc.js} +1 -1
  280. package/bundle/{chunk-vsys768k.js → chunk-wfggztm4.js} +1 -1
  281. package/bundle/chunk-wv8qx8sa.js +2 -0
  282. package/bundle/{chunk-acyj91wq.js → chunk-x2cavpa9.js} +1 -1
  283. package/bundle/{chunk-qb35hqm4.js → chunk-x4pdpka8.js} +1 -1
  284. package/bundle/{chunk-vm58fkrv.js → chunk-xd3xc1vv.js} +1 -1
  285. package/bundle/{chunk-v0yxkq99.js → chunk-xmjntwjc.js} +2 -2
  286. package/bundle/{chunk-64s7vfj7.js → chunk-xny5ecn0.js} +2 -2
  287. package/bundle/chunk-xxrtr6sd.js +2 -0
  288. package/bundle/chunk-y287zwkr.js +10 -0
  289. package/bundle/{chunk-ypk3t1eh.js → chunk-y2ptjam9.js} +1 -1
  290. package/bundle/{chunk-ezrskm25.js → chunk-y3dfk6n5.js} +1 -1
  291. package/bundle/{chunk-t01bhw5h.js → chunk-y4e7e42x.js} +3 -3
  292. package/bundle/{chunk-98effz12.js → chunk-y6h35v4a.js} +1 -1
  293. package/bundle/chunk-y72p79v2.js +2 -0
  294. package/bundle/chunk-y8eggnrr.js +2 -0
  295. package/bundle/chunk-y9q0f9qz.js +2 -0
  296. package/bundle/{chunk-9xvctnjr.js → chunk-yajd975f.js} +1 -1
  297. package/bundle/chunk-yck5h49c.js +2 -0
  298. package/bundle/{chunk-8yr682pv.js → chunk-yd2emszh.js} +2 -2
  299. package/bundle/{chunk-p9zrk16q.js → chunk-yd8bzhv6.js} +1 -1
  300. package/bundle/chunk-yhsnmpzv.js +2 -0
  301. package/bundle/{chunk-y1b2h15z.js → chunk-ypcc3cnb.js} +1 -1
  302. package/bundle/{chunk-qy1a2tpc.js → chunk-yr35q7q1.js} +1 -1
  303. package/bundle/{chunk-rcyhqkv5.js → chunk-yrfq22a5.js} +1 -1
  304. package/bundle/{chunk-gg7bg3ek.js → chunk-yvjke593.js} +1 -1
  305. package/bundle/{chunk-871f8x99.js → chunk-ywdtp534.js} +2 -2
  306. package/bundle/{chunk-zfnbk5gy.js → chunk-ywkvq7zb.js} +1 -1
  307. package/bundle/{chunk-p3rp99na.js → chunk-yx1h0b5v.js} +1 -1
  308. package/bundle/{chunk-mzbr0m2v.js → chunk-yz0pwv2m.js} +1 -1
  309. package/bundle/{chunk-q81m4m9z.js → chunk-z2h1gxyx.js} +1 -1
  310. package/bundle/chunk-zcp0wx4j.js +5 -0
  311. package/bundle/{chunk-qqne79vp.js → chunk-zdzxsyxs.js} +2 -2
  312. package/bundle/{chunk-yzh4rmrt.js → chunk-zek5c15t.js} +1 -1
  313. package/bundle/{chunk-8dxdeksr.js → chunk-zfd70p01.js} +1 -1
  314. package/bundle/index.js +3 -3
  315. package/bundle/parser.worker.js +2 -2
  316. package/bundle/worker.js +1 -1
  317. package/package.json +1 -1
  318. package/bundle/chunk-092bx2yw.js +0 -2
  319. package/bundle/chunk-0jrgk6vk.js +0 -2
  320. package/bundle/chunk-0ne5m1n3.js +0 -2
  321. package/bundle/chunk-0qn52zsd.js +0 -2
  322. package/bundle/chunk-10accb7b.js +0 -2
  323. package/bundle/chunk-13kpdfr7.js +0 -2
  324. package/bundle/chunk-15s8zwgf.js +0 -2
  325. package/bundle/chunk-1bx2sjn6.js +0 -11
  326. package/bundle/chunk-1kgyfja6.js +0 -2
  327. package/bundle/chunk-4dtkj9zg.js +0 -2
  328. package/bundle/chunk-4e9p3e0a.js +0 -2
  329. package/bundle/chunk-4tbqsrsn.js +0 -2
  330. package/bundle/chunk-53kns5wy.js +0 -2
  331. package/bundle/chunk-559ek1ym.js +0 -2
  332. package/bundle/chunk-55wxgsga.js +0 -2
  333. package/bundle/chunk-5ke0yqqz.js +0 -8
  334. package/bundle/chunk-5q1fz2az.js +0 -2
  335. package/bundle/chunk-5sgpjgss.js +0 -10
  336. package/bundle/chunk-88emsbaz.js +0 -2
  337. package/bundle/chunk-8yn64y27.js +0 -2
  338. package/bundle/chunk-8ywa7az5.js +0 -2
  339. package/bundle/chunk-8ywdddts.js +0 -2
  340. package/bundle/chunk-92zjark4.js +0 -2
  341. package/bundle/chunk-a6z0fhta.js +0 -2
  342. package/bundle/chunk-akpssv2d.js +0 -2
  343. package/bundle/chunk-aq28ejhv.js +0 -2
  344. package/bundle/chunk-b10px5g4.js +0 -2
  345. package/bundle/chunk-bha3sbsj.js +0 -2
  346. package/bundle/chunk-bs020a3x.js +0 -2
  347. package/bundle/chunk-bs61sezq.js +0 -2
  348. package/bundle/chunk-cmdjkx32.js +0 -2
  349. package/bundle/chunk-de2rfsaf.js +0 -2
  350. package/bundle/chunk-dncnyzaa.js +0 -2
  351. package/bundle/chunk-dp6zktka.js +0 -2
  352. package/bundle/chunk-dvqdtdza.js +0 -2
  353. package/bundle/chunk-ebabnv33.js +0 -3
  354. package/bundle/chunk-ebdpg3cn.js +0 -2
  355. package/bundle/chunk-eyc6tb5h.js +0 -2
  356. package/bundle/chunk-eze57bty.js +0 -2
  357. package/bundle/chunk-fa47vzfc.js +0 -2
  358. package/bundle/chunk-fe397ph0.js +0 -2
  359. package/bundle/chunk-fr75ytdr.js +0 -2
  360. package/bundle/chunk-fw2tnbt6.js +0 -2
  361. package/bundle/chunk-fwr2qgqb.js +0 -2
  362. package/bundle/chunk-g204pt98.js +0 -2
  363. package/bundle/chunk-gcgmwqhh.js +0 -2
  364. package/bundle/chunk-grdfpd57.js +0 -2
  365. package/bundle/chunk-gw36mrg4.js +0 -2
  366. package/bundle/chunk-h36qec67.js +0 -2
  367. package/bundle/chunk-h9gtymfm.js +0 -2
  368. package/bundle/chunk-h9qn35pn.js +0 -2
  369. package/bundle/chunk-hd8q4msp.js +0 -2
  370. package/bundle/chunk-hhjkezfz.js +0 -2
  371. package/bundle/chunk-hnz570f9.js +0 -3
  372. package/bundle/chunk-jfz8wwk9.js +0 -2
  373. package/bundle/chunk-js6hqmq7.js +0 -2
  374. package/bundle/chunk-k70x182t.js +0 -2
  375. package/bundle/chunk-kmtfdky8.js +0 -4
  376. package/bundle/chunk-kwzawx7r.js +0 -2
  377. package/bundle/chunk-m0mek3es.js +0 -2
  378. package/bundle/chunk-m31d2n6h.js +0 -2
  379. package/bundle/chunk-n14qktbg.js +0 -2
  380. package/bundle/chunk-n38h109k.js +0 -17
  381. package/bundle/chunk-nzzsj54n.js +0 -2
  382. package/bundle/chunk-p19qfw59.js +0 -2
  383. package/bundle/chunk-p2yxj9s4.js +0 -2
  384. package/bundle/chunk-ps9p14y6.js +0 -2
  385. package/bundle/chunk-qagc6v17.js +0 -2
  386. package/bundle/chunk-qc0zhbhm.js +0 -2
  387. package/bundle/chunk-r78kfhvz.js +0 -2
  388. package/bundle/chunk-rnd5mnsm.js +0 -2
  389. package/bundle/chunk-schtpyjs.js +0 -2
  390. package/bundle/chunk-sp8ek94w.js +0 -5
  391. package/bundle/chunk-sv1s1qxd.js +0 -619
  392. package/bundle/chunk-sxwqrvmy.js +0 -28
  393. package/bundle/chunk-syc4b8rt.js +0 -2
  394. package/bundle/chunk-tcs6wgna.js +0 -3
  395. package/bundle/chunk-tf4xwqz7.js +0 -2
  396. package/bundle/chunk-twhavv1m.js +0 -2
  397. package/bundle/chunk-tzg4z74d.js +0 -2
  398. package/bundle/chunk-v8vcwx23.js +0 -2
  399. package/bundle/chunk-vftqwdpg.js +0 -3
  400. package/bundle/chunk-w6rf2knb.js +0 -2
  401. package/bundle/chunk-wh7r96t3.js +0 -2
  402. package/bundle/chunk-wnjqaxze.js +0 -2
  403. package/bundle/chunk-xc9se3c8.js +0 -2
  404. package/bundle/chunk-xfz698bh.js +0 -2
  405. package/bundle/chunk-xxj3sgd5.js +0 -2
  406. package/bundle/chunk-xxvqq7kc.js +0 -2
  407. package/bundle/chunk-ye0mkqb4.js +0 -2
  408. package/bundle/chunk-yfp9y71y.js +0 -2
  409. package/bundle/chunk-yjjh339w.js +0 -2
  410. package/bundle/chunk-yt6vd7a5.js +0 -2
  411. package/bundle/chunk-yzn08nx1.js +0 -2
  412. package/bundle/chunk-yzq3c3dq.js +0 -2
  413. package/bundle/chunk-z1j25911.js +0 -2
  414. package/bundle/chunk-z210dtw1.js +0 -3
  415. package/bundle/chunk-z29ahthm.js +0 -2
  416. package/bundle/chunk-zgre4gc2.js +0 -2
  417. package/bundle/chunk-zthkjx33.js +0 -2
  418. package/bundle/chunk-zwvwbrsc.js +0 -2
@@ -1,7 +1,7 @@
1
1
  // @bun
2
- import{Br as B,Cr as A,Dr as H,Gr as I,Lr as o,ur as k,vr as C,wr as t,yr as V}from"./chunk-1wpjmwnh.js";import{Mr as w}from"./chunk-ymtcm4xd.js";import{bv as f}from"./chunk-tdmn21z0.js";import{lA as n}from"./chunk-s8mghr5a.js";function RJ(...F){return F.reduce((J,Q)=>({...J,...Q!=null?Q:{}}),{})}function NJ({tools:F=[],providerToolNames:J,resolveProviderToolName:Q}){var W;let X={},Y={};for(let Z of F)if(Z.type==="provider"){let $=(W=Q==null?void 0:Q(Z))!=null?W:(Z.id in J)?J[Z.id]:void 0;if($==null)continue;X[Z.name]=$,Y[$]=Z.name}return{toProviderToolName:(Z)=>{var $;return($=X[Z])!=null?$:Z},toCustomToolName:(Z)=>{var $;return($=Y[Z])!=null?$:Z}}}async function VJ(F,J){if(F==null)return Promise.resolve();let Q=J==null?void 0:J.abortSignal;return new Promise((W,X)=>{if(Q==null?void 0:Q.aborted){X(m());return}let Y=setTimeout(()=>{Z(),W()},F),Z=()=>{clearTimeout(Y),Q==null||Q.removeEventListener("abort",$)},$=()=>{Z(),X(m())};Q==null||Q.addEventListener("abort",$)})}function m(){return new DOMException("Delay was aborted","AbortError")}var TJ=class{constructor(){this.status={type:"pending"},this._resolve=void 0,this._reject=void 0}get promise(){if(this._promise)return this._promise;return this._promise=new Promise((F,J)=>{if(this.status.type==="resolved")F(this.status.value);else if(this.status.type==="rejected")J(this.status.error);this._resolve=F,this._reject=J}),this._promise}resolve(F){var J;if(this.status={type:"resolved",value:F},this._promise)(J=this._resolve)==null||J.call(this,F)}reject(F){var J;if(this.status={type:"rejected",error:F},this._promise)(J=this._reject)==null||J.call(this,F)}isResolved(){return this.status.type==="resolved"}isRejected(){return this.status.type==="rejected"}isPending(){return this.status.type==="pending"}};function z(F){return Object.fromEntries([...F.headers])}var{btoa:GF,atob:CF}=globalThis;function _J(F){let J=F.replace(/-/g,"+").replace(/_/g,"/"),Q=CF(J);return Uint8Array.from(Q,(W)=>W.codePointAt(0))}function a(F){let J="";for(let Q=0;Q<F.length;Q++)J+=String.fromCodePoint(F[Q]);return GF(J)}function jJ(F){return F instanceof Uint8Array?a(F):F}function kJ(F){if(F.type==="url")return F.url;return`data:${F.mediaType};base64,${typeof F.data==="string"?F.data:a(F.data)}`}function bJ(F,J={}){let{useArrayBrackets:Q=!0}=J,W=new FormData;for(let[X,Y]of Object.entries(F)){if(Y==null)continue;if(Array.isArray(Y)){if(Y.length===1){W.append(X,Y[0]);continue}let Z=Q?`${X}[]`:X;for(let $ of Y)W.append(Z,$);continue}W.append(X,Y)}return W}var s="AI_DownloadError",r=`vercel.ai.error.${s}`,MF=Symbol.for(r),u,i,O=class extends(i=k,u=MF,i){constructor({url:F,statusCode:J,statusText:Q,cause:W,message:X=W==null?`Failed to download ${F}: ${J} ${Q}`:`Failed to download ${F}: ${W}`}){super({name:s,message:X,cause:W});this[u]=!0,this.url=F,this.statusCode=J,this.statusText=Q}static isInstance(F){return k.hasMarker(F,r)}},e=2147483648;async function KF({response:F,url:J,maxBytes:Q=e}){let W=F.headers.get("content-length");if(W!=null){let G=parseInt(W,10);if(!isNaN(G)&&G>Q)throw new O({url:J,message:`Download of ${J} exceeded maximum size of ${Q} bytes (Content-Length: ${G}).`})}let X=F.body;if(X==null)return new Uint8Array(0);let Y=X.getReader(),Z=[],$=0;try{while(!0){let{done:G,value:N}=await Y.read();if(G)break;if($+=N.length,$>Q)throw new O({url:J,message:`Download of ${J} exceeded maximum size of ${Q} bytes.`});Z.push(N)}}finally{try{await Y.cancel()}finally{Y.releaseLock()}}let U=new Uint8Array($),L=0;for(let G of Z)U.set(G,L),L+=G.length;return U}function p(F){let J;try{J=new URL(F)}catch(W){throw new O({url:F,message:`Invalid URL: ${F}`})}if(J.protocol==="data:")return;if(J.protocol!=="http:"&&J.protocol!=="https:")throw new O({url:F,message:`URL scheme must be http, https, or data, got ${J.protocol}`});let Q=J.hostname;if(!Q)throw new O({url:F,message:"URL must have a hostname"});if(Q==="localhost"||Q.endsWith(".local")||Q.endsWith(".localhost"))throw new O({url:F,message:`URL with hostname ${Q} is not allowed`});if(Q.startsWith("[")&&Q.endsWith("]")){let W=Q.slice(1,-1);if(qF(W))throw new O({url:F,message:`URL with IPv6 address ${Q} is not allowed`});return}if(FF(Q)){if(b(Q))throw new O({url:F,message:`URL with IP address ${Q} is not allowed`});return}}function FF(F){let J=F.split(".");if(J.length!==4)return!1;return J.every((Q)=>{let W=Number(Q);return Number.isInteger(W)&&W>=0&&W<=255&&String(W)===Q})}function b(F){let J=F.split(".").map(Number),[Q,W]=J;if(Q===0)return!0;if(Q===10)return!0;if(Q===127)return!0;if(Q===169&&W===254)return!0;if(Q===172&&W>=16&&W<=31)return!0;if(Q===192&&W===168)return!0;return!1}function qF(F){let J=F.toLowerCase();if(J==="::1")return!0;if(J==="::")return!0;if(J.startsWith("::ffff:")){let Q=J.slice(7);if(FF(Q))return b(Q);let W=Q.split(":");if(W.length===2){let X=parseInt(W[0],16),Y=parseInt(W[1],16);if(!isNaN(X)&&!isNaN(Y)){let Z=X>>8&255,$=X&255,U=Y>>8&255,L=Y&255;return b(`${Z}.${$}.${U}.${L}`)}}}if(J.startsWith("fc")||J.startsWith("fd"))return!0;if(J.startsWith("fe80"))return!0;return!1}async function gJ(F,J){var Q,W;p(F);try{let X=await fetch(F,{signal:J==null?void 0:J.abortSignal});if(X.redirected)p(X.url);if(!X.ok)throw new O({url:F,statusCode:X.status,statusText:X.statusText});let Y=await KF({response:X,url:F,maxBytes:(Q=J==null?void 0:J.maxBytes)!=null?Q:e}),Z=(W=X.headers.get("content-type"))!=null?W:void 0;return new Blob([Y],Z?{type:Z}:void 0)}catch(X){if(O.isInstance(X))throw X;throw new O({url:F,cause:X})}}var DF=({prefix:F,size:J=16,alphabet:Q="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:W="-"}={})=>{let X=()=>{let Y=Q.length,Z=Array(J);for(let $=0;$<J;$++)Z[$]=Q[Math.random()*Y|0];return Z.join("")};if(F==null)return X;if(Q.includes(W))throw new V({argument:"separator",message:`The separator "${W}" must not be part of the alphabet "${Q}".`});return()=>`${F}${W}${X()}`},vJ=DF();function yJ(F){if(F==null)return"unknown error";if(typeof F==="string")return F;if(F instanceof Error)return F.message;return JSON.stringify(F)}function R(F){return(F instanceof Error||F instanceof DOMException)&&(F.name==="AbortError"||F.name==="ResponseAborted"||F.name==="TimeoutError")}var OF=["fetch failed","failed to fetch"],IF=["ConnectionRefused","ConnectionClosed","FailedToOpenSocket","ECONNRESET","ECONNREFUSED","ETIMEDOUT","EPIPE"];function PF(F){if(!(F instanceof Error))return!1;let J=F.code;if(typeof J==="string"&&IF.includes(J))return!0;return!1}function JF({error:F,url:J,requestBodyValues:Q}){if(R(F))return F;if(F instanceof TypeError&&OF.includes(F.message.toLowerCase())){let W=F.cause;if(W!=null)return new C({message:`Cannot connect to API: ${W.message}`,cause:W,url:J,requestBodyValues:Q,isRetryable:!0})}if(PF(F))return new C({message:`Cannot connect to API: ${F.message}`,cause:F,url:J,requestBodyValues:Q,isRetryable:!0});return F}function QF(F=globalThis){var J,Q,W;if(F.window)return"runtime/browser";if((J=F.navigator)==null?void 0:J.userAgent)return`runtime/${F.navigator.userAgent.toLowerCase()}`;if((W=(Q=F.process)==null?void 0:Q.versions)==null?void 0:W.node)return`runtime/node.js/${F.process.version.substring(0)}`;if(F.EdgeRuntime)return"runtime/vercel-edge";return"runtime/unknown"}function zF(F){if(F==null)return{};let J={};if(F instanceof Headers)F.forEach((Q,W)=>{J[W.toLowerCase()]=Q});else{if(!Array.isArray(F))F=Object.entries(F);for(let[Q,W]of F)if(W!=null)J[Q.toLowerCase()]=W}return J}function WF(F,...J){let Q=new Headers(zF(F)),W=Q.get("user-agent")||"";return Q.set("user-agent",[W,...J].filter(Boolean).join(" ")),Object.fromEntries(Q.entries())}var XF="4.0.23",AF=()=>globalThis.fetch,uJ=async({url:F,headers:J={},successfulResponseHandler:Q,failedResponseHandler:W,abortSignal:X,fetch:Y=AF()})=>{try{let Z=await Y(F,{method:"GET",headers:WF(J,`ai-sdk/provider-utils/${XF}`,QF()),signal:X}),$=z(Z);if(!Z.ok){let U;try{U=await W({response:Z,url:F,requestBodyValues:{}})}catch(L){if(R(L)||C.isInstance(L))throw L;throw new C({message:"Failed to process error response",cause:L,statusCode:Z.status,url:F,responseHeaders:$,requestBodyValues:{}})}throw U.value}try{return await Q({response:Z,url:F,requestBodyValues:{}})}catch(U){if(U instanceof Error){if(R(U)||C.isInstance(U))throw U}throw new C({message:"Failed to process successful response",cause:U,statusCode:Z.status,url:F,responseHeaders:$,requestBodyValues:{}})}}catch(Z){throw JF({error:Z,url:F,requestBodyValues:{}})}};function iJ(F){return F!=null}function pJ({mediaType:F,url:J,supportedUrls:Q}){return J=J.toLowerCase(),F=F.toLowerCase(),Object.entries(Q).map(([W,X])=>{let Y=W.toLowerCase();return Y==="*"||Y==="*/*"?{mediaTypePrefix:"",regexes:X}:{mediaTypePrefix:Y.replace(/\*/,""),regexes:X}}).filter(({mediaTypePrefix:W})=>F.startsWith(W)).flatMap(({regexes:W})=>W).some((W)=>W.test(J))}function cJ({apiKey:F,environmentVariableName:J,apiKeyParameterName:Q="apiKey",description:W}){if(typeof F==="string")return F;if(F!=null)throw new A({message:`${W} API key must be a string.`});if(typeof process>"u")throw new A({message:`${W} API key is missing. Pass it using the '${Q}' parameter. Environment variables are not supported in this environment.`});if(F=process.env[J],F==null)throw new A({message:`${W} API key is missing. Pass it using the '${Q}' parameter or the ${J} environment variable.`});if(typeof F!=="string")throw new A({message:`${W} API key must be a string. The value of the ${J} environment variable is not a string.`});return F}function dJ({settingValue:F,environmentVariableName:J}){if(typeof F==="string")return F;if(F!=null||typeof process>"u")return;if(F=process.env[J],F==null||typeof F!=="string")return;return F}function fJ({settingValue:F,environmentVariableName:J,settingName:Q,description:W}){if(typeof F==="string")return F;if(F!=null)throw new H({message:`${W} setting must be a string.`});if(typeof process>"u")throw new H({message:`${W} setting is missing. Pass it using the '${Q}' parameter. Environment variables are not supported in this environment.`});if(F=process.env[J],F==null)throw new H({message:`${W} setting is missing. Pass it using the '${Q}' parameter or the ${J} environment variable.`});if(typeof F!=="string")throw new H({message:`${W} setting must be a string. The value of the ${J} environment variable is not a string.`});return F}function tJ(F){var J;let[Q,W=""]=F.toLowerCase().split("/");return(J={mpeg:"mp3","x-wav":"wav",opus:"ogg",mp4:"m4a","x-m4a":"m4a"}[W])!=null?J:W}var HF=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,BF=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function l(F){let J=JSON.parse(F);if(J===null||typeof J!=="object")return J;if(HF.test(F)===!1&&BF.test(F)===!1)return J;return RF(J)}function RF(F){let J=[F];while(J.length){let Q=J;J=[];for(let W of Q){if(Object.prototype.hasOwnProperty.call(W,"__proto__"))throw SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(W,"constructor")&&W.constructor!==null&&typeof W.constructor==="object"&&Object.prototype.hasOwnProperty.call(W.constructor,"prototype"))throw SyntaxError("Object contains forbidden prototype property");for(let X in W){let Y=W[X];if(Y&&typeof Y==="object")J.push(Y)}}}return F}function x(F){let{stackTraceLimit:J}=Error;try{Error.stackTraceLimit=0}catch(Q){return l(F)}try{return l(F)}finally{Error.stackTraceLimit=J}}function v(F){if(F.type==="object"||Array.isArray(F.type)&&F.type.includes("object")){F.additionalProperties=!1;let{properties:Q}=F;if(Q!=null)for(let W of Object.keys(Q))Q[W]=P(Q[W])}if(F.items!=null)F.items=Array.isArray(F.items)?F.items.map(P):P(F.items);if(F.anyOf!=null)F.anyOf=F.anyOf.map(P);if(F.allOf!=null)F.allOf=F.allOf.map(P);if(F.oneOf!=null)F.oneOf=F.oneOf.map(P);let{definitions:J}=F;if(J!=null)for(let Q of Object.keys(J))J[Q]=P(J[Q]);return F}function P(F){if(typeof F==="boolean")return F;return v(F)}var NF=Symbol("Let zodToJsonSchema decide on which parser to use"),c={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},VF=(F)=>typeof F==="string"?{...c,name:F}:{...c,...F};function K(){return{}}function TF(F,J){var Q,W,X;let Y={type:"array"};if(((Q=F.type)==null?void 0:Q._def)&&((X=(W=F.type)==null?void 0:W._def)==null?void 0:X.typeName)!==w.ZodAny)Y.items=E(F.type._def,{...J,currentPath:[...J.currentPath,"items"]});if(F.minLength)Y.minItems=F.minLength.value;if(F.maxLength)Y.maxItems=F.maxLength.value;if(F.exactLength)Y.minItems=F.exactLength.value,Y.maxItems=F.exactLength.value;return Y}function _F(F){let J={type:"integer",format:"int64"};if(!F.checks)return J;for(let Q of F.checks)switch(Q.kind){case"min":if(Q.inclusive)J.minimum=Q.value;else J.exclusiveMinimum=Q.value;break;case"max":if(Q.inclusive)J.maximum=Q.value;else J.exclusiveMaximum=Q.value;break;case"multipleOf":J.multipleOf=Q.value;break}return J}function jF(){return{type:"boolean"}}function YF(F,J){return E(F.type._def,J)}var kF=(F,J)=>{return E(F.innerType._def,J)};function ZF(F,J,Q){let W=Q!=null?Q:J.dateStrategy;if(Array.isArray(W))return{anyOf:W.map((X,Y)=>ZF(F,J,X))};switch(W){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return bF(F)}}var bF=(F)=>{let J={type:"integer",format:"unix-time"};for(let Q of F.checks)switch(Q.kind){case"min":J.minimum=Q.value;break;case"max":J.maximum=Q.value;break}return J};function SF(F,J){return{...E(F.innerType._def,J),default:F.defaultValue()}}function gF(F,J){return J.effectStrategy==="input"?E(F.schema._def,J):K()}function xF(F){return{type:"string",enum:Array.from(F.values)}}var vF=(F)=>{if("type"in F&&F.type==="string")return!1;return"allOf"in F};function yF(F,J){let Q=[E(F.left._def,{...J,currentPath:[...J.currentPath,"allOf","0"]}),E(F.right._def,{...J,currentPath:[...J.currentPath,"allOf","1"]})].filter((X)=>!!X),W=[];return Q.forEach((X)=>{if(vF(X))W.push(...X.allOf);else{let Y=X;if("additionalProperties"in X&&X.additionalProperties===!1){let{additionalProperties:Z,...$}=X;Y=$}W.push(Y)}}),W.length?{allOf:W}:void 0}function hF(F){let J=typeof F.value;if(J!=="bigint"&&J!=="number"&&J!=="boolean"&&J!=="string")return{type:Array.isArray(F.value)?"array":"object"};return{type:J==="bigint"?"integer":J,const:F.value}}var _=void 0,q={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(_===void 0)_=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return _},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function $F(F,J){let Q={type:"string"};if(F.checks)for(let W of F.checks)switch(W.kind){case"min":Q.minLength=typeof Q.minLength==="number"?Math.max(Q.minLength,W.value):W.value;break;case"max":Q.maxLength=typeof Q.maxLength==="number"?Math.min(Q.maxLength,W.value):W.value;break;case"email":switch(J.emailStrategy){case"format:email":D(Q,"email",W.message,J);break;case"format:idn-email":D(Q,"idn-email",W.message,J);break;case"pattern:zod":M(Q,q.email,W.message,J);break}break;case"url":D(Q,"uri",W.message,J);break;case"uuid":D(Q,"uuid",W.message,J);break;case"regex":M(Q,W.regex,W.message,J);break;case"cuid":M(Q,q.cuid,W.message,J);break;case"cuid2":M(Q,q.cuid2,W.message,J);break;case"startsWith":M(Q,RegExp(`^${j(W.value,J)}`),W.message,J);break;case"endsWith":M(Q,RegExp(`${j(W.value,J)}$`),W.message,J);break;case"datetime":D(Q,"date-time",W.message,J);break;case"date":D(Q,"date",W.message,J);break;case"time":D(Q,"time",W.message,J);break;case"duration":D(Q,"duration",W.message,J);break;case"length":Q.minLength=typeof Q.minLength==="number"?Math.max(Q.minLength,W.value):W.value,Q.maxLength=typeof Q.maxLength==="number"?Math.min(Q.maxLength,W.value):W.value;break;case"includes":{M(Q,RegExp(j(W.value,J)),W.message,J);break}case"ip":{if(W.version!=="v6")D(Q,"ipv4",W.message,J);if(W.version!=="v4")D(Q,"ipv6",W.message,J);break}case"base64url":M(Q,q.base64url,W.message,J);break;case"jwt":M(Q,q.jwt,W.message,J);break;case"cidr":{if(W.version!=="v6")M(Q,q.ipv4Cidr,W.message,J);if(W.version!=="v4")M(Q,q.ipv6Cidr,W.message,J);break}case"emoji":M(Q,q.emoji(),W.message,J);break;case"ulid":{M(Q,q.ulid,W.message,J);break}case"base64":{switch(J.base64Strategy){case"format:binary":{D(Q,"binary",W.message,J);break}case"contentEncoding:base64":{Q.contentEncoding="base64";break}case"pattern:zod":{M(Q,q.base64,W.message,J);break}}break}case"nanoid":M(Q,q.nanoid,W.message,J);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return Q}function j(F,J){return J.patternStrategy==="escape"?uF(F):F}var mF=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function uF(F){let J="";for(let Q=0;Q<F.length;Q++){if(!mF.has(F[Q]))J+="\\";J+=F[Q]}return J}function D(F,J,Q,W){var X;if(F.format||((X=F.anyOf)==null?void 0:X.some((Y)=>Y.format))){if(!F.anyOf)F.anyOf=[];if(F.format)F.anyOf.push({format:F.format}),delete F.format;F.anyOf.push({format:J,...Q&&W.errorMessages&&{errorMessage:{format:Q}}})}else F.format=J}function M(F,J,Q,W){var X;if(F.pattern||((X=F.allOf)==null?void 0:X.some((Y)=>Y.pattern))){if(!F.allOf)F.allOf=[];if(F.pattern)F.allOf.push({pattern:F.pattern}),delete F.pattern;F.allOf.push({pattern:d(J,W),...Q&&W.errorMessages&&{errorMessage:{pattern:Q}}})}else F.pattern=d(J,W)}function d(F,J){var Q;if(!J.applyRegexFlags||!F.flags)return F.source;let W={i:F.flags.includes("i"),m:F.flags.includes("m"),s:F.flags.includes("s")},X=W.i?F.source.toLowerCase():F.source,Y="",Z=!1,$=!1,U=!1;for(let L=0;L<X.length;L++){if(Z){Y+=X[L],Z=!1;continue}if(W.i){if($){if(X[L].match(/[a-z]/)){if(U)Y+=X[L],Y+=`${X[L-2]}-${X[L]}`.toUpperCase(),U=!1;else if(X[L+1]==="-"&&((Q=X[L+2])==null?void 0:Q.match(/[a-z]/)))Y+=X[L],U=!0;else Y+=`${X[L]}${X[L].toUpperCase()}`;continue}}else if(X[L].match(/[a-z]/)){Y+=`[${X[L]}${X[L].toUpperCase()}]`;continue}}if(W.m){if(X[L]==="^"){Y+=`(^|(?<=[\r
2
+ import{$p as t,Zp as k,_p as C,bq as V,eq as B,fq as A,gq as H,jq as I,oq as o}from"./chunk-4mvg7jt1.js";import{pq as w}from"./chunk-wf4x5cjc.js";import{Gt as f}from"./chunk-9ea1n338.js";import{Qy as n}from"./chunk-ngvp6zc2.js";function RJ(...F){return F.reduce((J,Q)=>({...J,...Q!=null?Q:{}}),{})}function NJ({tools:F=[],providerToolNames:J,resolveProviderToolName:Q}){var W;let X={},Y={};for(let Z of F)if(Z.type==="provider"){let $=(W=Q==null?void 0:Q(Z))!=null?W:(Z.id in J)?J[Z.id]:void 0;if($==null)continue;X[Z.name]=$,Y[$]=Z.name}return{toProviderToolName:(Z)=>{var $;return($=X[Z])!=null?$:Z},toCustomToolName:(Z)=>{var $;return($=Y[Z])!=null?$:Z}}}async function VJ(F,J){if(F==null)return Promise.resolve();let Q=J==null?void 0:J.abortSignal;return new Promise((W,X)=>{if(Q==null?void 0:Q.aborted){X(m());return}let Y=setTimeout(()=>{Z(),W()},F),Z=()=>{clearTimeout(Y),Q==null||Q.removeEventListener("abort",$)},$=()=>{Z(),X(m())};Q==null||Q.addEventListener("abort",$)})}function m(){return new DOMException("Delay was aborted","AbortError")}var TJ=class{constructor(){this.status={type:"pending"},this._resolve=void 0,this._reject=void 0}get promise(){if(this._promise)return this._promise;return this._promise=new Promise((F,J)=>{if(this.status.type==="resolved")F(this.status.value);else if(this.status.type==="rejected")J(this.status.error);this._resolve=F,this._reject=J}),this._promise}resolve(F){var J;if(this.status={type:"resolved",value:F},this._promise)(J=this._resolve)==null||J.call(this,F)}reject(F){var J;if(this.status={type:"rejected",error:F},this._promise)(J=this._reject)==null||J.call(this,F)}isResolved(){return this.status.type==="resolved"}isRejected(){return this.status.type==="rejected"}isPending(){return this.status.type==="pending"}};function z(F){return Object.fromEntries([...F.headers])}var{btoa:GF,atob:CF}=globalThis;function _J(F){let J=F.replace(/-/g,"+").replace(/_/g,"/"),Q=CF(J);return Uint8Array.from(Q,(W)=>W.codePointAt(0))}function a(F){let J="";for(let Q=0;Q<F.length;Q++)J+=String.fromCodePoint(F[Q]);return GF(J)}function jJ(F){return F instanceof Uint8Array?a(F):F}function kJ(F){if(F.type==="url")return F.url;return`data:${F.mediaType};base64,${typeof F.data==="string"?F.data:a(F.data)}`}function bJ(F,J={}){let{useArrayBrackets:Q=!0}=J,W=new FormData;for(let[X,Y]of Object.entries(F)){if(Y==null)continue;if(Array.isArray(Y)){if(Y.length===1){W.append(X,Y[0]);continue}let Z=Q?`${X}[]`:X;for(let $ of Y)W.append(Z,$);continue}W.append(X,Y)}return W}var s="AI_DownloadError",r=`vercel.ai.error.${s}`,MF=Symbol.for(r),u,i,O=class extends(i=k,u=MF,i){constructor({url:F,statusCode:J,statusText:Q,cause:W,message:X=W==null?`Failed to download ${F}: ${J} ${Q}`:`Failed to download ${F}: ${W}`}){super({name:s,message:X,cause:W});this[u]=!0,this.url=F,this.statusCode=J,this.statusText=Q}static isInstance(F){return k.hasMarker(F,r)}},e=2147483648;async function KF({response:F,url:J,maxBytes:Q=e}){let W=F.headers.get("content-length");if(W!=null){let G=parseInt(W,10);if(!isNaN(G)&&G>Q)throw new O({url:J,message:`Download of ${J} exceeded maximum size of ${Q} bytes (Content-Length: ${G}).`})}let X=F.body;if(X==null)return new Uint8Array(0);let Y=X.getReader(),Z=[],$=0;try{while(!0){let{done:G,value:N}=await Y.read();if(G)break;if($+=N.length,$>Q)throw new O({url:J,message:`Download of ${J} exceeded maximum size of ${Q} bytes.`});Z.push(N)}}finally{try{await Y.cancel()}finally{Y.releaseLock()}}let U=new Uint8Array($),L=0;for(let G of Z)U.set(G,L),L+=G.length;return U}function p(F){let J;try{J=new URL(F)}catch(W){throw new O({url:F,message:`Invalid URL: ${F}`})}if(J.protocol==="data:")return;if(J.protocol!=="http:"&&J.protocol!=="https:")throw new O({url:F,message:`URL scheme must be http, https, or data, got ${J.protocol}`});let Q=J.hostname;if(!Q)throw new O({url:F,message:"URL must have a hostname"});if(Q==="localhost"||Q.endsWith(".local")||Q.endsWith(".localhost"))throw new O({url:F,message:`URL with hostname ${Q} is not allowed`});if(Q.startsWith("[")&&Q.endsWith("]")){let W=Q.slice(1,-1);if(qF(W))throw new O({url:F,message:`URL with IPv6 address ${Q} is not allowed`});return}if(FF(Q)){if(b(Q))throw new O({url:F,message:`URL with IP address ${Q} is not allowed`});return}}function FF(F){let J=F.split(".");if(J.length!==4)return!1;return J.every((Q)=>{let W=Number(Q);return Number.isInteger(W)&&W>=0&&W<=255&&String(W)===Q})}function b(F){let J=F.split(".").map(Number),[Q,W]=J;if(Q===0)return!0;if(Q===10)return!0;if(Q===127)return!0;if(Q===169&&W===254)return!0;if(Q===172&&W>=16&&W<=31)return!0;if(Q===192&&W===168)return!0;return!1}function qF(F){let J=F.toLowerCase();if(J==="::1")return!0;if(J==="::")return!0;if(J.startsWith("::ffff:")){let Q=J.slice(7);if(FF(Q))return b(Q);let W=Q.split(":");if(W.length===2){let X=parseInt(W[0],16),Y=parseInt(W[1],16);if(!isNaN(X)&&!isNaN(Y)){let Z=X>>8&255,$=X&255,U=Y>>8&255,L=Y&255;return b(`${Z}.${$}.${U}.${L}`)}}}if(J.startsWith("fc")||J.startsWith("fd"))return!0;if(J.startsWith("fe80"))return!0;return!1}async function gJ(F,J){var Q,W;p(F);try{let X=await fetch(F,{signal:J==null?void 0:J.abortSignal});if(X.redirected)p(X.url);if(!X.ok)throw new O({url:F,statusCode:X.status,statusText:X.statusText});let Y=await KF({response:X,url:F,maxBytes:(Q=J==null?void 0:J.maxBytes)!=null?Q:e}),Z=(W=X.headers.get("content-type"))!=null?W:void 0;return new Blob([Y],Z?{type:Z}:void 0)}catch(X){if(O.isInstance(X))throw X;throw new O({url:F,cause:X})}}var DF=({prefix:F,size:J=16,alphabet:Q="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:W="-"}={})=>{let X=()=>{let Y=Q.length,Z=Array(J);for(let $=0;$<J;$++)Z[$]=Q[Math.random()*Y|0];return Z.join("")};if(F==null)return X;if(Q.includes(W))throw new V({argument:"separator",message:`The separator "${W}" must not be part of the alphabet "${Q}".`});return()=>`${F}${W}${X()}`},vJ=DF();function yJ(F){if(F==null)return"unknown error";if(typeof F==="string")return F;if(F instanceof Error)return F.message;return JSON.stringify(F)}function R(F){return(F instanceof Error||F instanceof DOMException)&&(F.name==="AbortError"||F.name==="ResponseAborted"||F.name==="TimeoutError")}var OF=["fetch failed","failed to fetch"],IF=["ConnectionRefused","ConnectionClosed","FailedToOpenSocket","ECONNRESET","ECONNREFUSED","ETIMEDOUT","EPIPE"];function PF(F){if(!(F instanceof Error))return!1;let J=F.code;if(typeof J==="string"&&IF.includes(J))return!0;return!1}function JF({error:F,url:J,requestBodyValues:Q}){if(R(F))return F;if(F instanceof TypeError&&OF.includes(F.message.toLowerCase())){let W=F.cause;if(W!=null)return new C({message:`Cannot connect to API: ${W.message}`,cause:W,url:J,requestBodyValues:Q,isRetryable:!0})}if(PF(F))return new C({message:`Cannot connect to API: ${F.message}`,cause:F,url:J,requestBodyValues:Q,isRetryable:!0});return F}function QF(F=globalThis){var J,Q,W;if(F.window)return"runtime/browser";if((J=F.navigator)==null?void 0:J.userAgent)return`runtime/${F.navigator.userAgent.toLowerCase()}`;if((W=(Q=F.process)==null?void 0:Q.versions)==null?void 0:W.node)return`runtime/node.js/${F.process.version.substring(0)}`;if(F.EdgeRuntime)return"runtime/vercel-edge";return"runtime/unknown"}function zF(F){if(F==null)return{};let J={};if(F instanceof Headers)F.forEach((Q,W)=>{J[W.toLowerCase()]=Q});else{if(!Array.isArray(F))F=Object.entries(F);for(let[Q,W]of F)if(W!=null)J[Q.toLowerCase()]=W}return J}function WF(F,...J){let Q=new Headers(zF(F)),W=Q.get("user-agent")||"";return Q.set("user-agent",[W,...J].filter(Boolean).join(" ")),Object.fromEntries(Q.entries())}var XF="4.0.23",AF=()=>globalThis.fetch,uJ=async({url:F,headers:J={},successfulResponseHandler:Q,failedResponseHandler:W,abortSignal:X,fetch:Y=AF()})=>{try{let Z=await Y(F,{method:"GET",headers:WF(J,`ai-sdk/provider-utils/${XF}`,QF()),signal:X}),$=z(Z);if(!Z.ok){let U;try{U=await W({response:Z,url:F,requestBodyValues:{}})}catch(L){if(R(L)||C.isInstance(L))throw L;throw new C({message:"Failed to process error response",cause:L,statusCode:Z.status,url:F,responseHeaders:$,requestBodyValues:{}})}throw U.value}try{return await Q({response:Z,url:F,requestBodyValues:{}})}catch(U){if(U instanceof Error){if(R(U)||C.isInstance(U))throw U}throw new C({message:"Failed to process successful response",cause:U,statusCode:Z.status,url:F,responseHeaders:$,requestBodyValues:{}})}}catch(Z){throw JF({error:Z,url:F,requestBodyValues:{}})}};function iJ(F){return F!=null}function pJ({mediaType:F,url:J,supportedUrls:Q}){return J=J.toLowerCase(),F=F.toLowerCase(),Object.entries(Q).map(([W,X])=>{let Y=W.toLowerCase();return Y==="*"||Y==="*/*"?{mediaTypePrefix:"",regexes:X}:{mediaTypePrefix:Y.replace(/\*/,""),regexes:X}}).filter(({mediaTypePrefix:W})=>F.startsWith(W)).flatMap(({regexes:W})=>W).some((W)=>W.test(J))}function cJ({apiKey:F,environmentVariableName:J,apiKeyParameterName:Q="apiKey",description:W}){if(typeof F==="string")return F;if(F!=null)throw new A({message:`${W} API key must be a string.`});if(typeof process>"u")throw new A({message:`${W} API key is missing. Pass it using the '${Q}' parameter. Environment variables are not supported in this environment.`});if(F=process.env[J],F==null)throw new A({message:`${W} API key is missing. Pass it using the '${Q}' parameter or the ${J} environment variable.`});if(typeof F!=="string")throw new A({message:`${W} API key must be a string. The value of the ${J} environment variable is not a string.`});return F}function dJ({settingValue:F,environmentVariableName:J}){if(typeof F==="string")return F;if(F!=null||typeof process>"u")return;if(F=process.env[J],F==null||typeof F!=="string")return;return F}function fJ({settingValue:F,environmentVariableName:J,settingName:Q,description:W}){if(typeof F==="string")return F;if(F!=null)throw new H({message:`${W} setting must be a string.`});if(typeof process>"u")throw new H({message:`${W} setting is missing. Pass it using the '${Q}' parameter. Environment variables are not supported in this environment.`});if(F=process.env[J],F==null)throw new H({message:`${W} setting is missing. Pass it using the '${Q}' parameter or the ${J} environment variable.`});if(typeof F!=="string")throw new H({message:`${W} setting must be a string. The value of the ${J} environment variable is not a string.`});return F}function tJ(F){var J;let[Q,W=""]=F.toLowerCase().split("/");return(J={mpeg:"mp3","x-wav":"wav",opus:"ogg",mp4:"m4a","x-m4a":"m4a"}[W])!=null?J:W}var HF=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,BF=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function l(F){let J=JSON.parse(F);if(J===null||typeof J!=="object")return J;if(HF.test(F)===!1&&BF.test(F)===!1)return J;return RF(J)}function RF(F){let J=[F];while(J.length){let Q=J;J=[];for(let W of Q){if(Object.prototype.hasOwnProperty.call(W,"__proto__"))throw SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(W,"constructor")&&W.constructor!==null&&typeof W.constructor==="object"&&Object.prototype.hasOwnProperty.call(W.constructor,"prototype"))throw SyntaxError("Object contains forbidden prototype property");for(let X in W){let Y=W[X];if(Y&&typeof Y==="object")J.push(Y)}}}return F}function x(F){let{stackTraceLimit:J}=Error;try{Error.stackTraceLimit=0}catch(Q){return l(F)}try{return l(F)}finally{Error.stackTraceLimit=J}}function v(F){if(F.type==="object"||Array.isArray(F.type)&&F.type.includes("object")){F.additionalProperties=!1;let{properties:Q}=F;if(Q!=null)for(let W of Object.keys(Q))Q[W]=P(Q[W])}if(F.items!=null)F.items=Array.isArray(F.items)?F.items.map(P):P(F.items);if(F.anyOf!=null)F.anyOf=F.anyOf.map(P);if(F.allOf!=null)F.allOf=F.allOf.map(P);if(F.oneOf!=null)F.oneOf=F.oneOf.map(P);let{definitions:J}=F;if(J!=null)for(let Q of Object.keys(J))J[Q]=P(J[Q]);return F}function P(F){if(typeof F==="boolean")return F;return v(F)}var NF=Symbol("Let zodToJsonSchema decide on which parser to use"),c={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},VF=(F)=>typeof F==="string"?{...c,name:F}:{...c,...F};function K(){return{}}function TF(F,J){var Q,W,X;let Y={type:"array"};if(((Q=F.type)==null?void 0:Q._def)&&((X=(W=F.type)==null?void 0:W._def)==null?void 0:X.typeName)!==w.ZodAny)Y.items=E(F.type._def,{...J,currentPath:[...J.currentPath,"items"]});if(F.minLength)Y.minItems=F.minLength.value;if(F.maxLength)Y.maxItems=F.maxLength.value;if(F.exactLength)Y.minItems=F.exactLength.value,Y.maxItems=F.exactLength.value;return Y}function _F(F){let J={type:"integer",format:"int64"};if(!F.checks)return J;for(let Q of F.checks)switch(Q.kind){case"min":if(Q.inclusive)J.minimum=Q.value;else J.exclusiveMinimum=Q.value;break;case"max":if(Q.inclusive)J.maximum=Q.value;else J.exclusiveMaximum=Q.value;break;case"multipleOf":J.multipleOf=Q.value;break}return J}function jF(){return{type:"boolean"}}function YF(F,J){return E(F.type._def,J)}var kF=(F,J)=>{return E(F.innerType._def,J)};function ZF(F,J,Q){let W=Q!=null?Q:J.dateStrategy;if(Array.isArray(W))return{anyOf:W.map((X,Y)=>ZF(F,J,X))};switch(W){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return bF(F)}}var bF=(F)=>{let J={type:"integer",format:"unix-time"};for(let Q of F.checks)switch(Q.kind){case"min":J.minimum=Q.value;break;case"max":J.maximum=Q.value;break}return J};function SF(F,J){return{...E(F.innerType._def,J),default:F.defaultValue()}}function gF(F,J){return J.effectStrategy==="input"?E(F.schema._def,J):K()}function xF(F){return{type:"string",enum:Array.from(F.values)}}var vF=(F)=>{if("type"in F&&F.type==="string")return!1;return"allOf"in F};function yF(F,J){let Q=[E(F.left._def,{...J,currentPath:[...J.currentPath,"allOf","0"]}),E(F.right._def,{...J,currentPath:[...J.currentPath,"allOf","1"]})].filter((X)=>!!X),W=[];return Q.forEach((X)=>{if(vF(X))W.push(...X.allOf);else{let Y=X;if("additionalProperties"in X&&X.additionalProperties===!1){let{additionalProperties:Z,...$}=X;Y=$}W.push(Y)}}),W.length?{allOf:W}:void 0}function hF(F){let J=typeof F.value;if(J!=="bigint"&&J!=="number"&&J!=="boolean"&&J!=="string")return{type:Array.isArray(F.value)?"array":"object"};return{type:J==="bigint"?"integer":J,const:F.value}}var _=void 0,q={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(_===void 0)_=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return _},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function $F(F,J){let Q={type:"string"};if(F.checks)for(let W of F.checks)switch(W.kind){case"min":Q.minLength=typeof Q.minLength==="number"?Math.max(Q.minLength,W.value):W.value;break;case"max":Q.maxLength=typeof Q.maxLength==="number"?Math.min(Q.maxLength,W.value):W.value;break;case"email":switch(J.emailStrategy){case"format:email":D(Q,"email",W.message,J);break;case"format:idn-email":D(Q,"idn-email",W.message,J);break;case"pattern:zod":M(Q,q.email,W.message,J);break}break;case"url":D(Q,"uri",W.message,J);break;case"uuid":D(Q,"uuid",W.message,J);break;case"regex":M(Q,W.regex,W.message,J);break;case"cuid":M(Q,q.cuid,W.message,J);break;case"cuid2":M(Q,q.cuid2,W.message,J);break;case"startsWith":M(Q,RegExp(`^${j(W.value,J)}`),W.message,J);break;case"endsWith":M(Q,RegExp(`${j(W.value,J)}$`),W.message,J);break;case"datetime":D(Q,"date-time",W.message,J);break;case"date":D(Q,"date",W.message,J);break;case"time":D(Q,"time",W.message,J);break;case"duration":D(Q,"duration",W.message,J);break;case"length":Q.minLength=typeof Q.minLength==="number"?Math.max(Q.minLength,W.value):W.value,Q.maxLength=typeof Q.maxLength==="number"?Math.min(Q.maxLength,W.value):W.value;break;case"includes":{M(Q,RegExp(j(W.value,J)),W.message,J);break}case"ip":{if(W.version!=="v6")D(Q,"ipv4",W.message,J);if(W.version!=="v4")D(Q,"ipv6",W.message,J);break}case"base64url":M(Q,q.base64url,W.message,J);break;case"jwt":M(Q,q.jwt,W.message,J);break;case"cidr":{if(W.version!=="v6")M(Q,q.ipv4Cidr,W.message,J);if(W.version!=="v4")M(Q,q.ipv6Cidr,W.message,J);break}case"emoji":M(Q,q.emoji(),W.message,J);break;case"ulid":{M(Q,q.ulid,W.message,J);break}case"base64":{switch(J.base64Strategy){case"format:binary":{D(Q,"binary",W.message,J);break}case"contentEncoding:base64":{Q.contentEncoding="base64";break}case"pattern:zod":{M(Q,q.base64,W.message,J);break}}break}case"nanoid":M(Q,q.nanoid,W.message,J);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return Q}function j(F,J){return J.patternStrategy==="escape"?uF(F):F}var mF=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function uF(F){let J="";for(let Q=0;Q<F.length;Q++){if(!mF.has(F[Q]))J+="\\";J+=F[Q]}return J}function D(F,J,Q,W){var X;if(F.format||((X=F.anyOf)==null?void 0:X.some((Y)=>Y.format))){if(!F.anyOf)F.anyOf=[];if(F.format)F.anyOf.push({format:F.format}),delete F.format;F.anyOf.push({format:J,...Q&&W.errorMessages&&{errorMessage:{format:Q}}})}else F.format=J}function M(F,J,Q,W){var X;if(F.pattern||((X=F.allOf)==null?void 0:X.some((Y)=>Y.pattern))){if(!F.allOf)F.allOf=[];if(F.pattern)F.allOf.push({pattern:F.pattern}),delete F.pattern;F.allOf.push({pattern:d(J,W),...Q&&W.errorMessages&&{errorMessage:{pattern:Q}}})}else F.pattern=d(J,W)}function d(F,J){var Q;if(!J.applyRegexFlags||!F.flags)return F.source;let W={i:F.flags.includes("i"),m:F.flags.includes("m"),s:F.flags.includes("s")},X=W.i?F.source.toLowerCase():F.source,Y="",Z=!1,$=!1,U=!1;for(let L=0;L<X.length;L++){if(Z){Y+=X[L],Z=!1;continue}if(W.i){if($){if(X[L].match(/[a-z]/)){if(U)Y+=X[L],Y+=`${X[L-2]}-${X[L]}`.toUpperCase(),U=!1;else if(X[L+1]==="-"&&((Q=X[L+2])==null?void 0:Q.match(/[a-z]/)))Y+=X[L],U=!0;else Y+=`${X[L]}${X[L].toUpperCase()}`;continue}}else if(X[L].match(/[a-z]/)){Y+=`[${X[L]}${X[L].toUpperCase()}]`;continue}}if(W.m){if(X[L]==="^"){Y+=`(^|(?<=[\r
3
3
  ]))`;continue}else if(X[L]==="$"){Y+=`($|(?=[\r
4
4
  ]))`;continue}}if(W.s&&X[L]==="."){Y+=$?`${X[L]}\r
5
5
  `:`[${X[L]}\r
6
6
  ]`;continue}if(Y+=X[L],X[L]==="\\")Z=!0;else if($&&X[L]==="]")$=!1;else if(!$&&X[L]==="[")$=!0}try{new RegExp(Y)}catch(L){return console.warn(`Could not convert regex pattern at ${J.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),F.source}return Y}function LF(F,J){var Q,W,X,Y,Z,$;let U={type:"object",additionalProperties:(Q=E(F.valueType._def,{...J,currentPath:[...J.currentPath,"additionalProperties"]}))!=null?Q:J.allowedAdditionalProperties};if(((W=F.keyType)==null?void 0:W._def.typeName)===w.ZodString&&((X=F.keyType._def.checks)==null?void 0:X.length)){let{type:L,...G}=$F(F.keyType._def,J);return{...U,propertyNames:G}}else if(((Y=F.keyType)==null?void 0:Y._def.typeName)===w.ZodEnum)return{...U,propertyNames:{enum:F.keyType._def.values}};else if(((Z=F.keyType)==null?void 0:Z._def.typeName)===w.ZodBranded&&F.keyType._def.type._def.typeName===w.ZodString&&(($=F.keyType._def.type._def.checks)==null?void 0:$.length)){let{type:L,...G}=YF(F.keyType._def,J);return{...U,propertyNames:G}}return U}function iF(F,J){if(J.mapStrategy==="record")return LF(F,J);let Q=E(F.keyType._def,{...J,currentPath:[...J.currentPath,"items","items","0"]})||K(),W=E(F.valueType._def,{...J,currentPath:[...J.currentPath,"items","items","1"]})||K();return{type:"array",maxItems:125,items:{type:"array",items:[Q,W],minItems:2,maxItems:2}}}function pF(F){let J=F.values,W=Object.keys(F.values).filter((Y)=>{return typeof J[J[Y]]!=="number"}).map((Y)=>J[Y]),X=Array.from(new Set(W.map((Y)=>typeof Y)));return{type:X.length===1?X[0]==="string"?"string":"number":["string","number"],enum:W}}function lF(){return{not:K()}}function cF(){return{type:"null"}}var S={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function dF(F,J){let Q=F.options instanceof Map?Array.from(F.options.values()):F.options;if(Q.every((W)=>(W._def.typeName in S)&&(!W._def.checks||!W._def.checks.length))){let W=Q.reduce((X,Y)=>{let Z=S[Y._def.typeName];return Z&&!X.includes(Z)?[...X,Z]:X},[]);return{type:W.length>1?W:W[0]}}else if(Q.every((W)=>W._def.typeName==="ZodLiteral"&&!W.description)){let W=Q.reduce((X,Y)=>{let Z=typeof Y._def.value;switch(Z){case"string":case"number":case"boolean":return[...X,Z];case"bigint":return[...X,"integer"];case"object":if(Y._def.value===null)return[...X,"null"];case"symbol":case"undefined":case"function":default:return X}},[]);if(W.length===Q.length){let X=W.filter((Y,Z,$)=>$.indexOf(Y)===Z);return{type:X.length>1?X:X[0],enum:Q.reduce((Y,Z)=>{return Y.includes(Z._def.value)?Y:[...Y,Z._def.value]},[])}}}else if(Q.every((W)=>W._def.typeName==="ZodEnum"))return{type:"string",enum:Q.reduce((W,X)=>[...W,...X._def.values.filter((Y)=>!W.includes(Y))],[])};return nF(F,J)}var nF=(F,J)=>{let Q=(F.options instanceof Map?Array.from(F.options.values()):F.options).map((W,X)=>E(W._def,{...J,currentPath:[...J.currentPath,"anyOf",`${X}`]})).filter((W)=>!!W&&(!J.strictUnions||typeof W==="object"&&Object.keys(W).length>0));return Q.length?{anyOf:Q}:void 0};function fF(F,J){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(F.innerType._def.typeName)&&(!F.innerType._def.checks||!F.innerType._def.checks.length))return{type:[S[F.innerType._def.typeName],"null"]};let Q=E(F.innerType._def,{...J,currentPath:[...J.currentPath,"anyOf","0"]});return Q&&{anyOf:[Q,{type:"null"}]}}function tF(F){let J={type:"number"};if(!F.checks)return J;for(let Q of F.checks)switch(Q.kind){case"int":J.type="integer";break;case"min":if(Q.inclusive)J.minimum=Q.value;else J.exclusiveMinimum=Q.value;break;case"max":if(Q.inclusive)J.maximum=Q.value;else J.exclusiveMaximum=Q.value;break;case"multipleOf":J.multipleOf=Q.value;break}return J}function oF(F,J){let Q={type:"object",properties:{}},W=[],X=F.shape();for(let Z in X){let $=X[Z];if($===void 0||$._def===void 0)continue;let U=sF($),L=E($._def,{...J,currentPath:[...J.currentPath,"properties",Z],propertyPath:[...J.currentPath,"properties",Z]});if(L===void 0)continue;if(Q.properties[Z]=L,!U)W.push(Z)}if(W.length)Q.required=W;let Y=aF(F,J);if(Y!==void 0)Q.additionalProperties=Y;return Q}function aF(F,J){if(F.catchall._def.typeName!=="ZodNever")return E(F.catchall._def,{...J,currentPath:[...J.currentPath,"additionalProperties"]});switch(F.unknownKeys){case"passthrough":return J.allowedAdditionalProperties;case"strict":return J.rejectedAdditionalProperties;case"strip":return J.removeAdditionalStrategy==="strict"?J.allowedAdditionalProperties:J.rejectedAdditionalProperties}}function sF(F){try{return F.isOptional()}catch(J){return!0}}var rF=(F,J)=>{var Q;if(J.currentPath.toString()===((Q=J.propertyPath)==null?void 0:Q.toString()))return E(F.innerType._def,J);let W=E(F.innerType._def,{...J,currentPath:[...J.currentPath,"anyOf","1"]});return W?{anyOf:[{not:K()},W]}:K()},eF=(F,J)=>{if(J.pipeStrategy==="input")return E(F.in._def,J);else if(J.pipeStrategy==="output")return E(F.out._def,J);let Q=E(F.in._def,{...J,currentPath:[...J.currentPath,"allOf","0"]}),W=E(F.out._def,{...J,currentPath:[...J.currentPath,"allOf",Q?"1":"0"]});return{allOf:[Q,W].filter((X)=>X!==void 0)}};function FJ(F,J){return E(F.type._def,J)}function JJ(F,J){let W={type:"array",uniqueItems:!0,items:E(F.valueType._def,{...J,currentPath:[...J.currentPath,"items"]})};if(F.minSize)W.minItems=F.minSize.value;if(F.maxSize)W.maxItems=F.maxSize.value;return W}function QJ(F,J){if(F.rest)return{type:"array",minItems:F.items.length,items:F.items.map((Q,W)=>E(Q._def,{...J,currentPath:[...J.currentPath,"items",`${W}`]})).reduce((Q,W)=>W===void 0?Q:[...Q,W],[]),additionalItems:E(F.rest._def,{...J,currentPath:[...J.currentPath,"additionalItems"]})};else return{type:"array",minItems:F.items.length,maxItems:F.items.length,items:F.items.map((Q,W)=>E(Q._def,{...J,currentPath:[...J.currentPath,"items",`${W}`]})).reduce((Q,W)=>W===void 0?Q:[...Q,W],[])}}function WJ(){return{not:K()}}function XJ(){return K()}var YJ=(F,J)=>{return E(F.innerType._def,J)},ZJ=(F,J,Q)=>{switch(J){case w.ZodString:return $F(F,Q);case w.ZodNumber:return tF(F);case w.ZodObject:return oF(F,Q);case w.ZodBigInt:return _F(F);case w.ZodBoolean:return jF();case w.ZodDate:return ZF(F,Q);case w.ZodUndefined:return WJ();case w.ZodNull:return cF();case w.ZodArray:return TF(F,Q);case w.ZodUnion:case w.ZodDiscriminatedUnion:return dF(F,Q);case w.ZodIntersection:return yF(F,Q);case w.ZodTuple:return QJ(F,Q);case w.ZodRecord:return LF(F,Q);case w.ZodLiteral:return hF(F);case w.ZodEnum:return xF(F);case w.ZodNativeEnum:return pF(F);case w.ZodNullable:return fF(F,Q);case w.ZodOptional:return rF(F,Q);case w.ZodMap:return iF(F,Q);case w.ZodSet:return JJ(F,Q);case w.ZodLazy:return()=>F.getter()._def;case w.ZodPromise:return FJ(F,Q);case w.ZodNaN:case w.ZodNever:return lF();case w.ZodEffects:return gF(F,Q);case w.ZodAny:return K();case w.ZodUnknown:return XJ();case w.ZodDefault:return SF(F,Q);case w.ZodBranded:return YF(F,Q);case w.ZodReadonly:return YJ(F,Q);case w.ZodCatch:return kF(F,Q);case w.ZodPipeline:return eF(F,Q);case w.ZodFunction:case w.ZodVoid:case w.ZodSymbol:return;default:return((W)=>{return})(J)}},$J=(F,J)=>{let Q=0;for(;Q<F.length&&Q<J.length;Q++)if(F[Q]!==J[Q])break;return[(F.length-Q).toString(),...J.slice(Q)].join("/")};function E(F,J,Q=!1){var W;let X=J.seen.get(F);if(J.override){let U=(W=J.override)==null?void 0:W.call(J,F,J,X,Q);if(U!==NF)return U}if(X&&!Q){let U=LJ(X,J);if(U!==void 0)return U}let Y={def:F,path:J.currentPath,jsonSchema:void 0};J.seen.set(F,Y);let Z=ZJ(F,F.typeName,J),$=typeof Z==="function"?E(Z(),J):Z;if($)UJ(F,J,$);if(J.postProcess){let U=J.postProcess($,F,J);return Y.jsonSchema=$,U}return Y.jsonSchema=$,$}var LJ=(F,J)=>{switch(J.$refStrategy){case"root":return{$ref:F.path.join("/")};case"relative":return{$ref:$J(J.currentPath,F.path)};case"none":case"seen":{if(F.path.length<J.currentPath.length&&F.path.every((Q,W)=>J.currentPath[W]===Q))return console.warn(`Recursive reference detected at ${J.currentPath.join("/")}! Defaulting to any`),K();return J.$refStrategy==="seen"?K():void 0}}},UJ=(F,J,Q)=>{if(F.description)Q.description=F.description;return Q},wJ=(F)=>{let J=VF(F),Q=J.name!==void 0?[...J.basePath,J.definitionPath,J.name]:J.basePath;return{...J,currentPath:Q,propertyPath:void 0,seen:new Map(Object.entries(J.definitions).map(([W,X])=>[X._def,{def:X._def,path:[...J.basePath,J.definitionPath,W],jsonSchema:void 0}]))}},EJ=(F,J)=>{var Q;let W=wJ(J),X=typeof J==="object"&&J.definitions?Object.entries(J.definitions).reduce((L,[G,N])=>{var h;return{...L,[G]:(h=E(N._def,{...W,currentPath:[...W.basePath,W.definitionPath,G]},!0))!=null?h:K()}},{}):void 0,Y=typeof J==="string"?J:(J==null?void 0:J.nameStrategy)==="title"?void 0:J==null?void 0:J.name,Z=(Q=E(F._def,Y===void 0?W:{...W,currentPath:[...W.basePath,W.definitionPath,Y]},!1))!=null?Q:K(),$=typeof J==="object"&&J.name!==void 0&&J.nameStrategy==="title"?J.name:void 0;if($!==void 0)Z.title=$;let U=Y===void 0?X?{...Z,[W.definitionPath]:X}:Z:{$ref:[...W.$refStrategy==="relative"?[]:W.basePath,W.definitionPath,Y].join("/"),[W.definitionPath]:{...X,[Y]:Z}};return U.$schema="http://json-schema.org/draft-07/schema#",U},g=Symbol.for("vercel.ai.schema");function JQ(F){let J;return()=>{if(J==null)J=F();return J}}function T(F,{validate:J}={}){return{[g]:!0,_type:void 0,get jsonSchema(){if(typeof F==="function")F=F();return F},validate:J}}function GJ(F){return typeof F==="object"&&F!==null&&g in F&&F[g]===!0&&"jsonSchema"in F&&"validate"in F}function CJ(F){return F==null?T({properties:{},additionalProperties:!1}):GJ(F)?F:("~standard"in F)?F["~standard"].vendor==="zod"?OJ(F):MJ(F):F()}function MJ(F){return T(()=>v(F["~standard"].jsonSchema.input({target:"draft-07"})),{validate:async(J)=>{let Q=await F["~standard"].validate(J);return"value"in Q?{success:!0,value:Q.value}:{success:!1,error:new I({value:J,cause:Q.issues})}}})}function KJ(F,J){var Q;let W=(Q=J==null?void 0:J.useReferences)!=null?Q:!1;return T(()=>EJ(F,{$refStrategy:W?"root":"none"}),{validate:async(X)=>{let Y=await F.safeParseAsync(X);return Y.success?{success:!0,value:Y.data}:{success:!1,error:Y.error}}})}function qJ(F,J){var Q;let W=(Q=J==null?void 0:J.useReferences)!=null?Q:!1;return T(()=>v(n(F,{target:"draft-7",io:"input",reused:W?"ref":"inline"})),{validate:async(X)=>{let Y=await f(F,X);return Y.success?{success:!0,value:Y.data}:{success:!1,error:Y.error}}})}function DJ(F){return"_zod"in F}function OJ(F,J){if(DJ(F))return qJ(F,J);else return KJ(F,J)}async function IJ({value:F,schema:J,context:Q}){let W=await y({value:F,schema:J,context:Q});if(!W.success)throw I.wrap({value:F,cause:W.error,context:Q});return W.value}async function y({value:F,schema:J,context:Q}){let W=CJ(J);try{if(W.validate==null)return{success:!0,value:F,rawValue:F};let X=await W.validate(F);if(X.success)return{success:!0,value:X.value,rawValue:F};return{success:!1,error:I.wrap({value:F,cause:X.error,context:Q}),rawValue:F}}catch(X){return{success:!1,error:I.wrap({value:F,cause:X,context:Q}),rawValue:F}}}async function PJ({text:F,schema:J}){try{let Q=x(F);if(J==null)return Q;return IJ({value:Q,schema:J})}catch(Q){if(B.isInstance(Q)||I.isInstance(Q))throw Q;throw new B({text:F,cause:Q})}}async function UF({text:F,schema:J}){try{let Q=x(F);if(J==null)return{success:!0,value:Q,rawValue:Q};return await y({value:Q,schema:J})}catch(Q){return{success:!1,error:B.isInstance(Q)?Q:new B({text:F,cause:Q}),rawValue:void 0}}}function QQ(F){try{return x(F),!0}catch(J){return!1}}function zJ({stream:F,schema:J}){return F.pipeThrough(new TextDecoderStream).pipeThrough(new o).pipeThrough(new TransformStream({async transform({data:Q},W){if(Q==="[DONE]")return;W.enqueue(await UF({text:Q,schema:J}))}}))}async function YQ({provider:F,providerOptions:J,schema:Q}){if((J==null?void 0:J[F])==null)return;let W=await y({value:J[F],schema:Q});if(!W.success)throw new V({argument:"providerOptions",message:`invalid ${F} provider options`,cause:W.error});return W.value}var AJ=()=>globalThis.fetch,$Q=async({url:F,headers:J,body:Q,failedResponseHandler:W,successfulResponseHandler:X,abortSignal:Y,fetch:Z})=>wF({url:F,headers:{"Content-Type":"application/json",...J},body:{content:JSON.stringify(Q),values:Q},failedResponseHandler:W,successfulResponseHandler:X,abortSignal:Y,fetch:Z}),LQ=async({url:F,headers:J,formData:Q,failedResponseHandler:W,successfulResponseHandler:X,abortSignal:Y,fetch:Z})=>wF({url:F,headers:J,body:{content:Q,values:Object.fromEntries(Q.entries())},failedResponseHandler:W,successfulResponseHandler:X,abortSignal:Y,fetch:Z}),wF=async({url:F,headers:J={},body:Q,successfulResponseHandler:W,failedResponseHandler:X,abortSignal:Y,fetch:Z=AJ()})=>{try{let $=await Z(F,{method:"POST",headers:WF(J,`ai-sdk/provider-utils/${XF}`,QF()),body:Q.content,signal:Y}),U=z($);if(!$.ok){let L;try{L=await X({response:$,url:F,requestBodyValues:Q.values})}catch(G){if(R(G)||C.isInstance(G))throw G;throw new C({message:"Failed to process error response",cause:G,statusCode:$.status,url:F,responseHeaders:U,requestBodyValues:Q.values})}throw L.value}try{return await W({response:$,url:F,requestBodyValues:Q.values})}catch(L){if(L instanceof Error){if(R(L)||C.isInstance(L))throw L}throw new C({message:"Failed to process successful response",cause:L,statusCode:$.status,url:F,responseHeaders:U,requestBodyValues:Q.values})}}catch($){throw JF({error:$,url:F,requestBodyValues:Q.values})}};function EF(F){return F}function UQ(F){return{...F,type:"dynamic"}}function wQ({id:F,inputSchema:J}){return({execute:Q,outputSchema:W,needsApproval:X,toModelOutput:Y,onInputStart:Z,onInputDelta:$,onInputAvailable:U,...L})=>EF({type:"provider",id:F,args:L,inputSchema:J,outputSchema:W,execute:Q,needsApproval:X,toModelOutput:Y,onInputStart:Z,onInputDelta:$,onInputAvailable:U})}function EQ({id:F,inputSchema:J,outputSchema:Q,supportsDeferredResults:W}){return({execute:X,needsApproval:Y,toModelOutput:Z,onInputStart:$,onInputDelta:U,onInputAvailable:L,...G})=>EF({type:"provider",id:F,args:G,inputSchema:J,outputSchema:Q,execute:X,needsApproval:Y,toModelOutput:Z,onInputStart:$,onInputDelta:U,onInputAvailable:L,supportsDeferredResults:W})}async function GQ(F){if(typeof F==="function")F=F();return Promise.resolve(F)}var MQ=({errorSchema:F,errorToMessage:J,isRetryable:Q})=>async({response:W,url:X,requestBodyValues:Y})=>{let Z=await W.text(),$=z(W);if(Z.trim()==="")return{responseHeaders:$,value:new C({message:W.statusText,url:X,requestBodyValues:Y,statusCode:W.status,responseHeaders:$,responseBody:Z,isRetryable:Q==null?void 0:Q(W)})};try{let U=await PJ({text:Z,schema:F});return{responseHeaders:$,value:new C({message:J(U),url:X,requestBodyValues:Y,statusCode:W.status,responseHeaders:$,responseBody:Z,data:U,isRetryable:Q==null?void 0:Q(W,U)})}}catch(U){return{responseHeaders:$,value:new C({message:W.statusText,url:X,requestBodyValues:Y,statusCode:W.status,responseHeaders:$,responseBody:Z,isRetryable:Q==null?void 0:Q(W)})}}},KQ=(F)=>async({response:J})=>{let Q=z(J);if(J.body==null)throw new t({});return{responseHeaders:Q,value:zJ({stream:J.body,schema:F})}},qQ=(F)=>async({response:J,url:Q,requestBodyValues:W})=>{let X=await J.text(),Y=await UF({text:X,schema:F}),Z=z(J);if(!Y.success)throw new C({message:"Invalid JSON response",cause:Y.error,statusCode:J.status,responseHeaders:Z,responseBody:X,url:Q,requestBodyValues:W});return{responseHeaders:Z,value:Y.value,rawValue:Y.rawValue}},DQ=()=>async({response:F,url:J,requestBodyValues:Q})=>{let W=z(F);if(!F.body)throw new C({message:"Response body is empty",url:J,requestBodyValues:Q,statusCode:F.status,responseHeaders:W,responseBody:void 0});try{let X=await F.arrayBuffer();return{responseHeaders:W,value:new Uint8Array(X)}}catch(X){throw new C({message:"Failed to read response as array buffer",url:J,requestBodyValues:Q,statusCode:F.status,responseHeaders:W,responseBody:void 0,cause:X})}},OQ=()=>async({response:F,url:J,requestBodyValues:Q})=>{let W=z(F),X=await F.text();return{responseHeaders:W,value:new C({message:F.statusText,url:J,requestBodyValues:Q,statusCode:F.status,responseHeaders:W,responseBody:X})}};function IQ(F){let J=F.indexOf(".");return J===-1?F:F.slice(0,J)}function PQ(F){return F==null?void 0:F.replace(/\/$/,"")}function HJ(F){return F!=null&&typeof F[Symbol.asyncIterator]==="function"}async function*zQ({execute:F,input:J,options:Q}){let W=F(J,Q);if(HJ(W)){let X;for await(let Y of W)X=Y,yield{type:"preliminary",output:Y};yield{type:"final",output:X}}else yield{type:"final",output:await W}}
7
- export{RJ as tq,NJ as uq,VJ as vq,TJ as wq,z as xq,_J as yq,a as zq,jJ as Aq,kJ as Bq,bJ as Cq,O as Dq,e as Eq,KF as Fq,p as Gq,gJ as Hq,DF as Iq,vJ as Jq,yJ as Kq,R as Lq,QF as Mq,zF as Nq,WF as Oq,uJ as Pq,iJ as Qq,pJ as Rq,cJ as Sq,dJ as Tq,fJ as Uq,tJ as Vq,JQ as Wq,T as Xq,CJ as Yq,OJ as Zq,IJ as _q,y as $q,PJ as ar,UF as br,QQ as cr,zJ as dr,YQ as er,$Q as fr,LQ as gr,EF as hr,UQ as ir,wQ as jr,EQ as kr,GQ as lr,MQ as mr,KQ as nr,qQ as or,DQ as pr,OQ as qr,IQ as rr,PQ as sr,zQ as tr};
7
+ export{RJ as Yo,NJ as Zo,VJ as _o,TJ as $o,z as ap,_J as bp,a as cp,jJ as dp,kJ as ep,bJ as fp,O as gp,e as hp,KF as ip,p as jp,gJ as kp,DF as lp,vJ as mp,yJ as np,R as op,QF as pp,zF as qp,WF as rp,uJ as sp,iJ as tp,pJ as up,cJ as vp,dJ as wp,fJ as xp,tJ as yp,JQ as zp,T as Ap,CJ as Bp,OJ as Cp,IJ as Dp,y as Ep,PJ as Fp,UF as Gp,QQ as Hp,zJ as Ip,YQ as Jp,$Q as Kp,LQ as Lp,EF as Mp,UQ as Np,wQ as Op,EQ as Pp,GQ as Qp,MQ as Rp,KQ as Sp,qQ as Tp,DQ as Up,OQ as Vp,IQ as Wp,PQ as Xp,zQ as Yp};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{ae as a,be as b,ce as c,de as d,ee as e,fe as f,ge as g,he as h,ie as i,je as j,ke as k}from"./chunk-2xqqkf86.js";import"./chunk-yd2emszh.js";import"./chunk-3tmq81kq.js";import"./chunk-f83wv08n.js";export{c as providerConfigFromInit,d as httpRequest,j as getInstanceMetadataEndpoint,k as fromInstanceMetadata,h as fromContainerMetadata,i as Endpoint,f as ENV_CMDS_RELATIVE_URI,e as ENV_CMDS_FULL_URI,g as ENV_CMDS_AUTH_TOKEN,a as DEFAULT_TIMEOUT,b as DEFAULT_MAX_RETRIES};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{$d as a}from"./chunk-ezfzb8qc.js";import"./chunk-9jrxrjzt.js";import"./chunk-y4e7e42x.js";import"./chunk-yd2emszh.js";import"./chunk-3tmq81kq.js";import"./chunk-f83wv08n.js";export{a as fromHttp};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-f83wv08n.js";var A="./tree-sitter-zig-e78zbjpm.wasm";export{A as default};