@qitqode/qitqode-android-arm64 0.1.22 → 0.1.23

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 (383) hide show
  1. package/bundle/{chunk-mbmc1mg0.js → chunk-0136n3jt.js} +1 -1
  2. package/bundle/{chunk-wm3b050v.js → chunk-05badzhy.js} +1 -1
  3. package/bundle/{chunk-p64fb4rm.js → chunk-07szgr15.js} +1 -1
  4. package/bundle/{chunk-jtbf88gw.js → chunk-0svy8w30.js} +2 -2
  5. package/bundle/{chunk-c88rh38d.js → chunk-0vhsc0yh.js} +1 -1
  6. package/bundle/{chunk-y0fxwgrv.js → chunk-101y7ce2.js} +1 -1
  7. package/bundle/{chunk-x6gzygc3.js → chunk-12cd1yj9.js} +1 -1
  8. package/bundle/chunk-1by6y9tm.js +2 -0
  9. package/bundle/{chunk-fkdbba26.js → chunk-1eg8mr1q.js} +1 -1
  10. package/bundle/{chunk-cx0z3mm3.js → chunk-1gg4c0pq.js} +1 -1
  11. package/bundle/{chunk-cckshvkb.js → chunk-1gjh45v5.js} +1 -1
  12. package/bundle/chunk-1p7wqmxp.js +2 -0
  13. package/bundle/{chunk-th189x63.js → chunk-1v47v7vm.js} +1 -1
  14. package/bundle/{chunk-zt8kghd2.js → chunk-1vx26nt2.js} +1 -1
  15. package/bundle/{chunk-ee5r4h0v.js → chunk-1w8b88y5.js} +1 -1
  16. package/bundle/{chunk-mt8zem33.js → chunk-21hnx8rx.js} +1 -1
  17. package/bundle/chunk-22pvftx8.js +2 -0
  18. package/bundle/{chunk-j2k4wxsk.js → chunk-22tf95dw.js} +1 -1
  19. package/bundle/{chunk-hrnx60em.js → chunk-22vvjp4g.js} +2 -2
  20. package/bundle/{chunk-3nc9wy1m.js → chunk-24r5h0fx.js} +2 -2
  21. package/bundle/{chunk-kywg73qz.js → chunk-26m5yn5d.js} +1 -1
  22. package/bundle/{chunk-n4spe0sv.js → chunk-26mt118z.js} +1 -1
  23. package/bundle/{chunk-t2n6fmpy.js → chunk-29hmwttd.js} +2 -2
  24. package/bundle/{chunk-abc7ccfd.js → chunk-2adsn1ca.js} +1 -1
  25. package/bundle/chunk-2bce1njy.js +2 -0
  26. package/bundle/{chunk-6hkv9411.js → chunk-2e76kpa6.js} +1 -1
  27. package/bundle/{chunk-7276th89.js → chunk-2e9a9brg.js} +1 -1
  28. package/bundle/{chunk-ne8ftsv3.js → chunk-2es79khv.js} +3 -3
  29. package/bundle/{chunk-6v4mhtha.js → chunk-2qj66wf5.js} +1 -1
  30. package/bundle/{chunk-x1naayst.js → chunk-2qy760rf.js} +1 -1
  31. package/bundle/{chunk-3f6t3wde.js → chunk-2wcwbp3t.js} +152 -152
  32. package/bundle/{chunk-6pe3xzkk.js → chunk-338hbnza.js} +1 -1
  33. package/bundle/{chunk-5a80qybt.js → chunk-36c2avm4.js} +1 -1
  34. package/bundle/{chunk-9fdv5d8a.js → chunk-381j1hqf.js} +1 -1
  35. package/bundle/{chunk-y2tnzn1y.js → chunk-3cpqdake.js} +1 -1
  36. package/bundle/chunk-3gsvbfqz.js +2 -0
  37. package/bundle/chunk-3j6nrrva.js +4 -0
  38. package/bundle/{chunk-9g05wsae.js → chunk-3ne6j2h5.js} +1 -1
  39. package/bundle/{chunk-b5h8vd5n.js → chunk-3sem578c.js} +1 -1
  40. package/bundle/{chunk-cm31dbwq.js → chunk-3vgnqaem.js} +1 -1
  41. package/bundle/{chunk-c9afcdba.js → chunk-3w9k7yxx.js} +1 -1
  42. package/bundle/{chunk-xtjsfqam.js → chunk-3wzpdvpg.js} +1 -1
  43. package/bundle/{chunk-fyd31m33.js → chunk-3xf7q4ww.js} +1 -1
  44. package/bundle/chunk-3xrhxyz9.js +2 -0
  45. package/bundle/chunk-3zdyrnvp.js +2 -0
  46. package/bundle/{chunk-73d0dy03.js → chunk-44amvtcs.js} +1 -1
  47. package/bundle/chunk-4nhbgva1.js +2 -0
  48. package/bundle/{chunk-1zb95qfx.js → chunk-576zfh1s.js} +1 -1
  49. package/bundle/{chunk-n1wawwry.js → chunk-58w4dhb6.js} +1 -1
  50. package/bundle/chunk-5ch23jj3.js +2 -0
  51. package/bundle/{chunk-rvz05kxy.js → chunk-5d18fd4p.js} +1 -1
  52. package/bundle/{chunk-8x6x3g16.js → chunk-5dpev64z.js} +1 -1
  53. package/bundle/chunk-5hzkd9te.js +2 -0
  54. package/bundle/{chunk-t813v629.js → chunk-5vwhfa42.js} +1 -1
  55. package/bundle/{chunk-gzwcj7c9.js → chunk-5vyper2h.js} +1 -1
  56. package/bundle/{chunk-bjw39da9.js → chunk-5wr5gpaa.js} +1 -1
  57. package/bundle/{chunk-xjdxyeja.js → chunk-5x19yah0.js} +1 -1
  58. package/bundle/{chunk-zfw873yt.js → chunk-62yja34m.js} +1 -1
  59. package/bundle/{chunk-h9ftcgs2.js → chunk-63pvqy8n.js} +3 -3
  60. package/bundle/chunk-662x3gq6.js +2 -0
  61. package/bundle/{chunk-xa0f5g9z.js → chunk-6an0pk19.js} +1 -1
  62. package/bundle/{chunk-4gfryje2.js → chunk-6j07cgna.js} +1 -1
  63. package/bundle/chunk-6ybqwnp7.js +2 -0
  64. package/bundle/{chunk-4se8cbmb.js → chunk-70gfpkxv.js} +1 -1
  65. package/bundle/chunk-7365jzj1.js +2 -0
  66. package/bundle/{chunk-x1dfc7qd.js → chunk-799c17nk.js} +1 -1
  67. package/bundle/chunk-7amvpgng.js +2 -0
  68. package/bundle/{chunk-68jsyydc.js → chunk-7bxe5s20.js} +1 -1
  69. package/bundle/chunk-7dcz5ytp.js +2 -0
  70. package/bundle/chunk-7h7bwjmm.js +2 -0
  71. package/bundle/{chunk-ck65rcxb.js → chunk-7m4camry.js} +1 -1
  72. package/bundle/{chunk-vpp88hhd.js → chunk-7n994qss.js} +209 -209
  73. package/bundle/{chunk-s1mx3bkw.js → chunk-7pr4jxkn.js} +1 -1
  74. package/bundle/{chunk-98nh88th.js → chunk-7tb9fjvq.js} +2 -2
  75. package/bundle/{chunk-dgsg31vm.js → chunk-7tthc48p.js} +1 -1
  76. package/bundle/chunk-7vk5fhhv.js +2 -0
  77. package/bundle/chunk-7vqw9wge.js +2 -0
  78. package/bundle/chunk-7vxk5t11.js +2 -0
  79. package/bundle/{chunk-xz7dccwp.js → chunk-83fm5xcn.js} +1 -1
  80. package/bundle/{chunk-awdpkgxf.js → chunk-863s0tqa.js} +1 -1
  81. package/bundle/{chunk-3degq6rv.js → chunk-87pzwjjj.js} +3 -3
  82. package/bundle/{chunk-78wt9ad8.js → chunk-88kt6qmd.js} +1 -1
  83. package/bundle/chunk-8b644ae2.js +2 -0
  84. package/bundle/{chunk-mbkw9s6e.js → chunk-8e2wwdgb.js} +1 -1
  85. package/bundle/{chunk-hmm1m733.js → chunk-8hh5ejmr.js} +2 -2
  86. package/bundle/{chunk-y3x5m3e8.js → chunk-8k4mkrdw.js} +1 -1
  87. package/bundle/{chunk-j6cpsxva.js → chunk-9jjjzmvn.js} +1 -1
  88. package/bundle/{chunk-8r4xs1q9.js → chunk-9n6f9n1c.js} +1 -1
  89. package/bundle/{chunk-pp44xnd7.js → chunk-9tq5yt3t.js} +1 -1
  90. package/bundle/{chunk-qq9pvscd.js → chunk-9y65kbcf.js} +2 -2
  91. package/bundle/{chunk-vqxyph4q.js → chunk-9yaw0hbp.js} +1 -1
  92. package/bundle/{chunk-18xhxdsh.js → chunk-9zg3y89v.js} +1 -1
  93. package/bundle/{chunk-bbznk59q.js → chunk-a3te67a5.js} +2 -2
  94. package/bundle/{chunk-h7rxnbf0.js → chunk-ac69b9tm.js} +1 -1
  95. package/bundle/{chunk-50aznc8e.js → chunk-afpwjn78.js} +2 -2
  96. package/bundle/{chunk-6r4gn18m.js → chunk-agx5m1ev.js} +1 -1
  97. package/bundle/{chunk-en7nxqvn.js → chunk-agyxa9nj.js} +1 -1
  98. package/bundle/{chunk-61ndvjmm.js → chunk-an5sr6gw.js} +1 -1
  99. package/bundle/{chunk-2p6w3w8f.js → chunk-apv1v4tk.js} +2 -2
  100. package/bundle/{chunk-n9gzj085.js → chunk-ar1by07g.js} +1 -1
  101. package/bundle/chunk-av2q0ffj.js +2 -0
  102. package/bundle/{chunk-bn6mg34g.js → chunk-avk3wfch.js} +2 -2
  103. package/bundle/{chunk-n68xjm4p.js → chunk-ax9yyznf.js} +1 -1
  104. package/bundle/chunk-azna4wdf.js +2 -0
  105. package/bundle/chunk-b192q4m0.js +2 -0
  106. package/bundle/{chunk-b5x3zghc.js → chunk-b2k9yafd.js} +2 -2
  107. package/bundle/{chunk-fjtq8164.js → chunk-b8z4hgq0.js} +1 -1
  108. package/bundle/chunk-bh46627y.js +2 -0
  109. package/bundle/{chunk-6w15nfph.js → chunk-bkaprkf6.js} +1 -1
  110. package/bundle/{chunk-0ddhkapd.js → chunk-bqeyh2gx.js} +2 -2
  111. package/bundle/{chunk-tcp31yv0.js → chunk-brrtcqrc.js} +1 -1
  112. package/bundle/{chunk-m79gd4yt.js → chunk-bwgnmy92.js} +1 -1
  113. package/bundle/{chunk-1eqcgkyq.js → chunk-bwvjft74.js} +1 -1
  114. package/bundle/chunk-c267ggx2.js +2 -0
  115. package/bundle/{chunk-60dxyp37.js → chunk-c38ppnm8.js} +1 -1
  116. package/bundle/{chunk-4xpfmpjf.js → chunk-c546xxjk.js} +1 -1
  117. package/bundle/chunk-c6kxegws.js +2 -0
  118. package/bundle/{chunk-w8xaw2dv.js → chunk-c7dt464m.js} +1 -1
  119. package/bundle/{chunk-ha5qct06.js → chunk-cbfjjbfd.js} +1 -1
  120. package/bundle/chunk-cek3cfz4.js +2 -0
  121. package/bundle/{chunk-x8w2xgx6.js → chunk-cwkdc1cc.js} +1 -1
  122. package/bundle/{chunk-jrwfx6d8.js → chunk-cz8nnm2a.js} +1 -1
  123. package/bundle/{chunk-z9b0ydw1.js → chunk-dn1jryxz.js} +1 -1
  124. package/bundle/{chunk-s4epqtge.js → chunk-dq1wprmb.js} +1 -1
  125. package/bundle/{chunk-dhvwrrqx.js → chunk-dsny9dh8.js} +2 -2
  126. package/bundle/{chunk-db7hykjs.js → chunk-ecczet3b.js} +1 -1
  127. package/bundle/{chunk-qryeqw9s.js → chunk-ejy5404v.js} +1 -1
  128. package/bundle/{chunk-qwf258sw.js → chunk-eqed7tvt.js} +1 -1
  129. package/bundle/{chunk-ht1hqsaa.js → chunk-erh9y0sx.js} +1 -1
  130. package/bundle/{chunk-skjx57kv.js → chunk-ete0y35c.js} +1 -1
  131. package/bundle/{chunk-qe8zp79w.js → chunk-f1mmzzsn.js} +1 -1
  132. package/bundle/chunk-f66cvq2q.js +2 -0
  133. package/bundle/{chunk-bdzgtazc.js → chunk-f958hsha.js} +1 -1
  134. package/bundle/{chunk-2bbvvh0d.js → chunk-febbrhev.js} +1 -1
  135. package/bundle/{chunk-j1kqhxnq.js → chunk-fhjpfzjc.js} +1 -1
  136. package/bundle/{chunk-c2w3bqsa.js → chunk-fnect0ny.js} +1 -1
  137. package/bundle/{chunk-t7v8wzr9.js → chunk-fp5mvrrx.js} +2 -2
  138. package/bundle/chunk-fq4v97xn.js +2 -0
  139. package/bundle/{chunk-6nhgkw5r.js → chunk-fvwys8ej.js} +1 -1
  140. package/bundle/{chunk-dcyzpkww.js → chunk-fw1f6br4.js} +1 -1
  141. package/bundle/{chunk-jee9y4t0.js → chunk-fzzze6zd.js} +1 -1
  142. package/bundle/{chunk-8wzc27e3.js → chunk-g0vzdt58.js} +1 -1
  143. package/bundle/{chunk-hf0gny5t.js → chunk-g2ec45xj.js} +1 -1
  144. package/bundle/chunk-g3pb8rad.js +2 -0
  145. package/bundle/{chunk-3xbtg0hn.js → chunk-g5g9r3v5.js} +1 -1
  146. package/bundle/{chunk-yy91rm3y.js → chunk-g6gs7cc6.js} +1 -1
  147. package/bundle/{chunk-h5wh2d49.js → chunk-g6tw5dvr.js} +1 -1
  148. package/bundle/{chunk-b3x13ndd.js → chunk-g7742sqm.js} +1 -1
  149. package/bundle/{chunk-btjcs9ee.js → chunk-g7g3zm4v.js} +1 -1
  150. package/bundle/{chunk-ymv05pbt.js → chunk-g8zrn0at.js} +1 -1
  151. package/bundle/chunk-gc1yetqd.js +2 -0
  152. package/bundle/{chunk-67wvdfs5.js → chunk-gjsaw7wm.js} +1 -1
  153. package/bundle/chunk-gtckkn15.js +2 -0
  154. package/bundle/chunk-gtzreftf.js +2 -0
  155. package/bundle/{chunk-tepesp0b.js → chunk-gz8x3915.js} +1 -1
  156. package/bundle/{chunk-zy0zn8yx.js → chunk-gzse9pab.js} +1 -1
  157. package/bundle/{chunk-40vz0fhv.js → chunk-hg7kfd0t.js} +1 -1
  158. package/bundle/{chunk-43xq4p51.js → chunk-hk1ha5fj.js} +1 -1
  159. package/bundle/{chunk-jfy6bfvv.js → chunk-hqv0s6sw.js} +1 -1
  160. package/bundle/{chunk-xce77xex.js → chunk-hs8qwx4n.js} +1 -1
  161. package/bundle/{chunk-k19zvbzh.js → chunk-hvcdemxe.js} +1 -1
  162. package/bundle/chunk-j5vahbw1.js +2 -0
  163. package/bundle/{chunk-tq258v8s.js → chunk-jazpapb9.js} +1 -1
  164. package/bundle/chunk-jek1cnfk.js +3 -0
  165. package/bundle/chunk-jevrajsx.js +2 -0
  166. package/bundle/{chunk-m9bc5csy.js → chunk-jge74hh4.js} +1 -1
  167. package/bundle/{chunk-rpy4rgmm.js → chunk-jq6y56m5.js} +1 -1
  168. package/bundle/{chunk-6emme4kp.js → chunk-jvkqvgae.js} +1 -1
  169. package/bundle/chunk-jzdks7bv.js +2 -0
  170. package/bundle/{chunk-hzexvrnj.js → chunk-k0arcqnt.js} +1 -1
  171. package/bundle/{chunk-f72j5yx8.js → chunk-k0v37hc6.js} +1 -1
  172. package/bundle/chunk-k1e7w7w5.js +2 -0
  173. package/bundle/{chunk-5z8gpy3x.js → chunk-k1ht1sjr.js} +1 -1
  174. package/bundle/{chunk-thbjhgw0.js → chunk-k33xx2z9.js} +1 -1
  175. package/bundle/{chunk-496rb1e4.js → chunk-k3pvgwgc.js} +1 -1
  176. package/bundle/{chunk-1123xk5a.js → chunk-k5294ajv.js} +1 -1
  177. package/bundle/chunk-k6vf6vq6.js +2 -0
  178. package/bundle/{chunk-ah9cm91p.js → chunk-kbhby60s.js} +1 -1
  179. package/bundle/{chunk-01gtn79f.js → chunk-kdr6nxmk.js} +2 -2
  180. package/bundle/{chunk-ng85b73s.js → chunk-kfdqfha0.js} +1 -1
  181. package/bundle/{chunk-msqx5bb0.js → chunk-kktcccep.js} +1 -1
  182. package/bundle/chunk-kn391hb2.js +2 -0
  183. package/bundle/{chunk-aznbvrbm.js → chunk-kn9skc0g.js} +1 -1
  184. package/bundle/{chunk-q2weasmk.js → chunk-knmba0q6.js} +1 -1
  185. package/bundle/chunk-knnemqfm.js +3 -0
  186. package/bundle/{chunk-gvj8qg7x.js → chunk-kpkbyek5.js} +2 -2
  187. package/bundle/chunk-kx4b39v6.js +2 -0
  188. package/bundle/{chunk-qafcfb4x.js → chunk-ky840wjj.js} +1 -1
  189. package/bundle/{chunk-7yw60h8j.js → chunk-m34zrf70.js} +1 -1
  190. package/bundle/{chunk-pcctf3gs.js → chunk-m3gsrb1x.js} +1 -1
  191. package/bundle/{chunk-a3a9bbk7.js → chunk-m81z3zgm.js} +1 -1
  192. package/bundle/{chunk-30233h8f.js → chunk-m8njvpb8.js} +1 -1
  193. package/bundle/{chunk-x4c8drpe.js → chunk-m8tfv36b.js} +1 -1
  194. package/bundle/chunk-mah572rs.js +2 -0
  195. package/bundle/{chunk-0qmaxpkv.js → chunk-mg03szpz.js} +1 -1
  196. package/bundle/chunk-mg6nwfw3.js +2 -0
  197. package/bundle/{chunk-30p5pm3w.js → chunk-mj7rk4xs.js} +1 -1
  198. package/bundle/{chunk-jatba8z8.js → chunk-mt8btwrv.js} +1 -1
  199. package/bundle/{chunk-2bxy8zm1.js → chunk-mwbcmvmh.js} +2 -2
  200. package/bundle/{chunk-pqyds00j.js → chunk-mwjhyj53.js} +1 -1
  201. package/bundle/{chunk-0jv8r99k.js → chunk-my0kzcby.js} +6 -6
  202. package/bundle/{chunk-1d6ret10.js → chunk-n889mwgv.js} +1 -1
  203. package/bundle/{chunk-fa03gsff.js → chunk-naq602da.js} +1 -1
  204. package/bundle/{chunk-fssgbz70.js → chunk-nb0gc3sx.js} +1 -1
  205. package/bundle/{chunk-prrrw8t8.js → chunk-ntfh16rj.js} +1 -1
  206. package/bundle/{chunk-x4b0ywbs.js → chunk-p33fchnf.js} +1 -1
  207. package/bundle/chunk-pdgrang4.js +2 -0
  208. package/bundle/{chunk-cpkega70.js → chunk-px15ev1g.js} +1 -1
  209. package/bundle/{chunk-t4c0zy2s.js → chunk-q1472d56.js} +1 -1
  210. package/bundle/{chunk-f8xnn26j.js → chunk-q1nvfmrm.js} +1 -1
  211. package/bundle/{chunk-0vw5a7m9.js → chunk-qkn4039t.js} +1 -1
  212. package/bundle/{chunk-10qkxzhh.js → chunk-qr2ave8f.js} +1 -1
  213. package/bundle/{chunk-mqt5qh3t.js → chunk-qx9j6nz1.js} +1 -1
  214. package/bundle/{chunk-bwyf1bvf.js → chunk-qzd0q1jg.js} +1 -1
  215. package/bundle/{chunk-7hx0pza2.js → chunk-r0sjwtfc.js} +2 -2
  216. package/bundle/chunk-r3q82hz3.js +2 -0
  217. package/bundle/chunk-r4ygs0jv.js +2 -0
  218. package/bundle/chunk-r6xhxvjv.js +2 -0
  219. package/bundle/{chunk-djcsvcby.js → chunk-r79mz5kd.js} +1 -1
  220. package/bundle/chunk-r99pnfra.js +2 -0
  221. package/bundle/{chunk-qxrjbw22.js → chunk-rjjgnvdk.js} +1 -1
  222. package/bundle/{chunk-9hrpcnt8.js → chunk-rmmyjyr9.js} +1 -1
  223. package/bundle/chunk-rq4xdyst.js +2 -0
  224. package/bundle/chunk-rsd3v7cg.js +2 -0
  225. package/bundle/{chunk-n39gqxkz.js → chunk-rwanncah.js} +2 -2
  226. package/bundle/chunk-rxsgbdv0.js +2 -0
  227. package/bundle/chunk-s4x1jhj3.js +2 -0
  228. package/bundle/{chunk-ntmn6epc.js → chunk-s75chpxq.js} +1 -1
  229. package/bundle/{chunk-pkdk0ppc.js → chunk-s7sksztt.js} +2 -2
  230. package/bundle/{chunk-56cty7nr.js → chunk-scb48j07.js} +2 -2
  231. package/bundle/{chunk-fgtyrvan.js → chunk-sgq94p3x.js} +1 -1
  232. package/bundle/{chunk-meaa7wrs.js → chunk-shav33fq.js} +2 -2
  233. package/bundle/{chunk-zz192a31.js → chunk-shxny9x9.js} +1 -1
  234. package/bundle/{chunk-t1f7jeat.js → chunk-sjqgmp12.js} +2 -2
  235. package/bundle/chunk-sx760d9d.js +2 -0
  236. package/bundle/{chunk-351wfvhp.js → chunk-t42kh492.js} +2 -2
  237. package/bundle/{chunk-07b36w5g.js → chunk-t66hycva.js} +1 -1
  238. package/bundle/{chunk-1kje2a6g.js → chunk-t86vj45b.js} +1 -1
  239. package/bundle/{chunk-fzhgxcej.js → chunk-tfpwfczs.js} +1 -1
  240. package/bundle/chunk-tmjd3evp.js +8 -0
  241. package/bundle/chunk-tp1d856p.js +2 -0
  242. package/bundle/chunk-tpxs00p5.js +2 -0
  243. package/bundle/chunk-tqk12r89.js +2 -0
  244. package/bundle/chunk-tycgrqgq.js +2 -0
  245. package/bundle/{chunk-p20ft5mj.js → chunk-tydvpy1s.js} +2 -2
  246. package/bundle/{chunk-rry321tn.js → chunk-v1hvnq7y.js} +1 -1
  247. package/bundle/{chunk-khkv9s5c.js → chunk-v1y3pbfv.js} +1 -1
  248. package/bundle/chunk-v32cyrg2.js +2 -0
  249. package/bundle/chunk-v7pypmvk.js +2 -0
  250. package/bundle/{chunk-mgp034y0.js → chunk-vay29sqp.js} +1 -1
  251. package/bundle/chunk-vbqyddy8.js +2 -0
  252. package/bundle/chunk-vgx86f2r.js +2 -0
  253. package/bundle/{chunk-r8ddb02d.js → chunk-vxc5q0wk.js} +2 -2
  254. package/bundle/chunk-w0jvqdez.js +2 -0
  255. package/bundle/{chunk-2qy62cv4.js → chunk-w32tj884.js} +2 -2
  256. package/bundle/{chunk-8t1whx0k.js → chunk-w6t1qmeg.js} +1 -1
  257. package/bundle/{chunk-aftpj9fe.js → chunk-w6zgm4vn.js} +1 -1
  258. package/bundle/chunk-w79yek40.js +2 -0
  259. package/bundle/chunk-w7nxsfbd.js +3 -0
  260. package/bundle/{chunk-wfb9dwmc.js → chunk-w8r4gjea.js} +1 -1
  261. package/bundle/chunk-w9vv1whr.js +2 -0
  262. package/bundle/chunk-wcea06cr.js +2 -0
  263. package/bundle/chunk-wcx4bbvn.js +2 -0
  264. package/bundle/chunk-wdw183vh.js +2 -0
  265. package/bundle/{chunk-hkmx6w54.js → chunk-wf2mj6de.js} +1 -1
  266. package/bundle/{chunk-jyh2g13j.js → chunk-wk11xsdh.js} +1 -1
  267. package/bundle/chunk-wqd3svh6.js +2 -0
  268. package/bundle/chunk-wqe5spdq.js +2 -0
  269. package/bundle/chunk-wqww2byk.js +2 -0
  270. package/bundle/chunk-wybd806z.js +2 -0
  271. package/bundle/chunk-x1vb00hr.js +2 -0
  272. package/bundle/chunk-xafh07r3.js +2 -0
  273. package/bundle/chunk-xgzjcsad.js +2 -0
  274. package/bundle/{chunk-t8365msg.js → chunk-xjr0xy58.js} +1 -1
  275. package/bundle/{chunk-zbvf09bm.js → chunk-xn0xhd0w.js} +1 -1
  276. package/bundle/chunk-xnbfy5jy.js +2 -0
  277. package/bundle/{chunk-2epf5806.js → chunk-xqzbcs8x.js} +1 -1
  278. package/bundle/{chunk-h6htvj2y.js → chunk-xtj5qqsw.js} +1 -1
  279. package/bundle/chunk-xxed39zx.js +3 -0
  280. package/bundle/{chunk-7w01dxp9.js → chunk-y0qaz8db.js} +1 -1
  281. package/bundle/{chunk-s6qdtfty.js → chunk-y2h0adg5.js} +2 -2
  282. package/bundle/{chunk-adgrn60n.js → chunk-y3qf1kg9.js} +1 -1
  283. package/bundle/{chunk-h725tttx.js → chunk-y62tnk9q.js} +1 -1
  284. package/bundle/{chunk-4qegdkss.js → chunk-y68fp4kt.js} +1 -1
  285. package/bundle/chunk-y6pzag4n.js +2 -0
  286. package/bundle/chunk-y7w6fjwt.js +2 -0
  287. package/bundle/{chunk-a2ty2e0g.js → chunk-yccm7cfm.js} +2 -2
  288. package/bundle/{chunk-5mrjxapq.js → chunk-yffkcska.js} +1 -1
  289. package/bundle/{chunk-mr7ya5kc.js → chunk-ypff4a5n.js} +1 -1
  290. package/bundle/{chunk-anqjy235.js → chunk-yr4evt94.js} +1 -1
  291. package/bundle/{chunk-b1t8d1s8.js → chunk-yyarzhw3.js} +1 -1
  292. package/bundle/chunk-z195gv71.js +2 -0
  293. package/bundle/{chunk-v9sfzkg5.js → chunk-z1hd38wp.js} +1 -1
  294. package/bundle/{chunk-8rcpj28e.js → chunk-z65snfyw.js} +1 -1
  295. package/bundle/{chunk-h99n5rv7.js → chunk-zx90w4mt.js} +1 -1
  296. package/bundle/{chunk-er5q8nhp.js → chunk-zzdbrxkh.js} +1 -1
  297. package/bundle/index.js +3 -3
  298. package/bundle/parser.worker.js +2 -2
  299. package/bundle/worker.js +1 -1
  300. package/package.json +1 -1
  301. package/bundle/chunk-04ezvjjf.js +0 -2
  302. package/bundle/chunk-0msr85tj.js +0 -2
  303. package/bundle/chunk-0qrpg3n8.js +0 -2
  304. package/bundle/chunk-0w8ztgmg.js +0 -2
  305. package/bundle/chunk-0y2nwncb.js +0 -2
  306. package/bundle/chunk-0zh8tykf.js +0 -2
  307. package/bundle/chunk-21z1vfgm.js +0 -2
  308. package/bundle/chunk-2ec8msmq.js +0 -2
  309. package/bundle/chunk-2n5m61m9.js +0 -2
  310. package/bundle/chunk-362z696e.js +0 -2
  311. package/bundle/chunk-367rm03h.js +0 -2
  312. package/bundle/chunk-43k17qzb.js +0 -2
  313. package/bundle/chunk-4r574drd.js +0 -2
  314. package/bundle/chunk-6c2xn1ab.js +0 -2
  315. package/bundle/chunk-6rak9ez9.js +0 -2
  316. package/bundle/chunk-71dbq1d0.js +0 -2
  317. package/bundle/chunk-73r1zvgw.js +0 -2
  318. package/bundle/chunk-7az1bpy8.js +0 -2
  319. package/bundle/chunk-7bm1t462.js +0 -2
  320. package/bundle/chunk-7nq8126b.js +0 -2
  321. package/bundle/chunk-80a0d0js.js +0 -2
  322. package/bundle/chunk-9ac4h2d9.js +0 -2
  323. package/bundle/chunk-9zp746aj.js +0 -2
  324. package/bundle/chunk-a0vpemkf.js +0 -2
  325. package/bundle/chunk-atjzxp7b.js +0 -2
  326. package/bundle/chunk-ax4f4fbm.js +0 -2
  327. package/bundle/chunk-aybmm0jf.js +0 -2
  328. package/bundle/chunk-b2scgkye.js +0 -2
  329. package/bundle/chunk-bbpze4hq.js +0 -2
  330. package/bundle/chunk-c6wrjyep.js +0 -2
  331. package/bundle/chunk-ce3c03mh.js +0 -2
  332. package/bundle/chunk-cqaw6hka.js +0 -2
  333. package/bundle/chunk-cxbkhs5y.js +0 -2
  334. package/bundle/chunk-d9vs6zd0.js +0 -2
  335. package/bundle/chunk-dj3rct8v.js +0 -2
  336. package/bundle/chunk-ds162xgb.js +0 -3
  337. package/bundle/chunk-e1zv873k.js +0 -2
  338. package/bundle/chunk-eb0ksh4x.js +0 -2
  339. package/bundle/chunk-efxshjyz.js +0 -2
  340. package/bundle/chunk-enry018j.js +0 -2
  341. package/bundle/chunk-f03yje8k.js +0 -3
  342. package/bundle/chunk-fydd2nmw.js +0 -2
  343. package/bundle/chunk-g2bw2qf5.js +0 -2
  344. package/bundle/chunk-h9a4zzr4.js +0 -2
  345. package/bundle/chunk-hkqcpdmt.js +0 -3
  346. package/bundle/chunk-jx3kvzka.js +0 -2
  347. package/bundle/chunk-k6eyc1wv.js +0 -8
  348. package/bundle/chunk-k9m536te.js +0 -2
  349. package/bundle/chunk-kv58j3yk.js +0 -2
  350. package/bundle/chunk-m3sr6xdg.js +0 -2
  351. package/bundle/chunk-mmyhzhzt.js +0 -2
  352. package/bundle/chunk-mw60bmaf.js +0 -2
  353. package/bundle/chunk-nk42gy65.js +0 -2
  354. package/bundle/chunk-ps8xnz0h.js +0 -2
  355. package/bundle/chunk-pvn4dz8e.js +0 -2
  356. package/bundle/chunk-pw3tnt2j.js +0 -2
  357. package/bundle/chunk-pzajshbc.js +0 -2
  358. package/bundle/chunk-qvcnvqvf.js +0 -2
  359. package/bundle/chunk-qy9s3nmy.js +0 -2
  360. package/bundle/chunk-r0zsgad8.js +0 -4
  361. package/bundle/chunk-r4hkkcj4.js +0 -2
  362. package/bundle/chunk-r50kjthp.js +0 -2
  363. package/bundle/chunk-rbrkvj3x.js +0 -2
  364. package/bundle/chunk-rhgfyvth.js +0 -2
  365. package/bundle/chunk-rjdpw6at.js +0 -2
  366. package/bundle/chunk-s6c5c940.js +0 -2
  367. package/bundle/chunk-s79zd152.js +0 -2
  368. package/bundle/chunk-ssfgge5z.js +0 -2
  369. package/bundle/chunk-tdqbsbyb.js +0 -2
  370. package/bundle/chunk-tk6gjy9d.js +0 -3
  371. package/bundle/chunk-tsfpkwvr.js +0 -2
  372. package/bundle/chunk-v07wtbmt.js +0 -2
  373. package/bundle/chunk-v6kenrks.js +0 -2
  374. package/bundle/chunk-v7dfqwxx.js +0 -2
  375. package/bundle/chunk-vf7hhxsa.js +0 -2
  376. package/bundle/chunk-vmhq6cyz.js +0 -2
  377. package/bundle/chunk-vvs87e61.js +0 -2
  378. package/bundle/chunk-w6z123g2.js +0 -2
  379. package/bundle/chunk-wg0849tq.js +0 -2
  380. package/bundle/chunk-xj0ba60b.js +0 -2
  381. package/bundle/chunk-xtfcdgwe.js +0 -2
  382. package/bundle/chunk-ye6j8k26.js +0 -2
  383. package/bundle/chunk-zmqmccbc.js +0 -2
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-cqtkxwd8.js";import{Vq as H}from"./chunk-h6htvj2y.js";import{Cu as Q,gu as gG}from"./chunk-hrnx60em.js";import{qz as mG}from"./chunk-bbznk59q.js";import"./chunk-fa03gsff.js";var{defineProperty:uJ,defineProperties:cJ,getOwnPropertyDescriptors:dJ,getOwnPropertySymbols:VB}=Object,uG=Object.prototype.hasOwnProperty,cG=Object.prototype.propertyIsEnumerable,dG=(B)=>{throw TypeError(B)},GG=(B,G,J)=>(G in B)?uJ(B,G,{enumerable:!0,configurable:!0,writable:!0,value:J}):B[G]=J,W=(B,G)=>{for(var J in G||(G={}))if(uG.call(G,J))GG(B,J,G[J]);if(VB){for(var J of VB(G))if(cG.call(G,J))GG(B,J,G[J])}return B},T=(B,G)=>cJ(B,dJ(G)),LB=(B,G)=>{var J={};for(var N in B)if(uG.call(B,N)&&G.indexOf(N)<0)J[N]=B[N];if(B!=null&&VB){for(var N of VB(B))if(G.indexOf(N)<0&&cG.call(B,N))J[N]=B[N]}return J},pJ=(B,G,J)=>G.has(B)||dG("Cannot "+J),JG=(B,G,J)=>(pJ(B,G,"read from private field"),J?J.call(B):G.get(B)),iJ=(B,G,J)=>G.has(B)?dG("Cannot add the same private member more than once"):G instanceof WeakSet?G.add(B):G.set(B,J),pG="vercel.ai.error",rJ=Symbol.for(pG),NG,QG,I=class B extends(QG=Error,NG=rJ,QG){constructor({name:G,message:J,cause:N}){super(J);this[NG]=!0,this.name=G,this.cause=N}static isInstance(G){return B.hasMarker(G,pG)}static hasMarker(G,J){let N=Symbol.for(J);return G!=null&&typeof G==="object"&&N in G&&typeof G[N]==="boolean"&&G[N]===!0}},iG="AI_APICallError",rG=`vercel.ai.error.${iG}`,sJ=Symbol.for(rG),XG,YG,o=class extends(YG=I,XG=sJ,YG){constructor({message:B,url:G,requestBodyValues:J,statusCode:N,responseHeaders:X,responseBody:Y,cause:Z,isRetryable:$=N!=null&&(N===408||N===409||N===429||N>=500),data:z}){super({name:iG,message:B,cause:Z});this[XG]=!0,this.url=G,this.requestBodyValues=J,this.statusCode=N,this.responseHeaders=X,this.responseBody=Y,this.isRetryable=$,this.data=z}static isInstance(B){return I.hasMarker(B,rG)}},sG="AI_EmptyResponseBodyError",nG=`vercel.ai.error.${sG}`,nJ=Symbol.for(nG),ZG,$G,aJ=class extends($G=I,ZG=nJ,$G){constructor({message:B="Empty response body"}={}){super({name:sG,message:B});this[ZG]=!0}static isInstance(B){return I.hasMarker(B,nG)}};function aG(B){if(B==null)return"unknown error";if(typeof B==="string")return B;if(B instanceof Error)return B.message;return JSON.stringify(B)}var lG="AI_InvalidArgumentError",tG=`vercel.ai.error.${lG}`,lJ=Symbol.for(tG),WG,zG,oG=class extends(zG=I,WG=lJ,zG){constructor({message:B,cause:G,argument:J}){super({name:lG,message:B,cause:G});this[WG]=!0,this.argument=J}static isInstance(B){return I.hasMarker(B,tG)}},eG="AI_InvalidPromptError",BJ=`vercel.ai.error.${eG}`,tJ=Symbol.for(BJ),jG,KG,oJ=class extends(KG=I,jG=tJ,KG){constructor({prompt:B,message:G,cause:J}){super({name:eG,message:`Invalid prompt: ${G}`,cause:J});this[jG]=!0,this.prompt=B}static isInstance(B){return I.hasMarker(B,BJ)}},GJ="AI_InvalidResponseDataError",JJ=`vercel.ai.error.${GJ}`,eJ=Symbol.for(JJ),LG,FG,KB=class extends(FG=I,LG=eJ,FG){constructor({data:B,message:G=`Invalid response data: ${JSON.stringify(B)}.`}){super({name:GJ,message:G});this[LG]=!0,this.data=B}static isInstance(B){return I.hasMarker(B,JJ)}},NJ="AI_JSONParseError",QJ=`vercel.ai.error.${NJ}`,BN=Symbol.for(QJ),qG,wG,bB=class extends(wG=I,qG=BN,wG){constructor({text:B,cause:G}){super({name:NJ,message:`JSON parsing failed: Text: ${B}.
2
+ import"./chunk-cqtkxwd8.js";import{Xq as H}from"./chunk-xtj5qqsw.js";import{Eu as Q,iu as gG}from"./chunk-22vvjp4g.js";import{sz as mG}from"./chunk-a3te67a5.js";import"./chunk-naq602da.js";var{defineProperty:uJ,defineProperties:cJ,getOwnPropertyDescriptors:dJ,getOwnPropertySymbols:VB}=Object,uG=Object.prototype.hasOwnProperty,cG=Object.prototype.propertyIsEnumerable,dG=(B)=>{throw TypeError(B)},GG=(B,G,J)=>(G in B)?uJ(B,G,{enumerable:!0,configurable:!0,writable:!0,value:J}):B[G]=J,W=(B,G)=>{for(var J in G||(G={}))if(uG.call(G,J))GG(B,J,G[J]);if(VB){for(var J of VB(G))if(cG.call(G,J))GG(B,J,G[J])}return B},T=(B,G)=>cJ(B,dJ(G)),LB=(B,G)=>{var J={};for(var N in B)if(uG.call(B,N)&&G.indexOf(N)<0)J[N]=B[N];if(B!=null&&VB){for(var N of VB(B))if(G.indexOf(N)<0&&cG.call(B,N))J[N]=B[N]}return J},pJ=(B,G,J)=>G.has(B)||dG("Cannot "+J),JG=(B,G,J)=>(pJ(B,G,"read from private field"),J?J.call(B):G.get(B)),iJ=(B,G,J)=>G.has(B)?dG("Cannot add the same private member more than once"):G instanceof WeakSet?G.add(B):G.set(B,J),pG="vercel.ai.error",rJ=Symbol.for(pG),NG,QG,I=class B extends(QG=Error,NG=rJ,QG){constructor({name:G,message:J,cause:N}){super(J);this[NG]=!0,this.name=G,this.cause=N}static isInstance(G){return B.hasMarker(G,pG)}static hasMarker(G,J){let N=Symbol.for(J);return G!=null&&typeof G==="object"&&N in G&&typeof G[N]==="boolean"&&G[N]===!0}},iG="AI_APICallError",rG=`vercel.ai.error.${iG}`,sJ=Symbol.for(rG),XG,YG,o=class extends(YG=I,XG=sJ,YG){constructor({message:B,url:G,requestBodyValues:J,statusCode:N,responseHeaders:X,responseBody:Y,cause:Z,isRetryable:$=N!=null&&(N===408||N===409||N===429||N>=500),data:z}){super({name:iG,message:B,cause:Z});this[XG]=!0,this.url=G,this.requestBodyValues=J,this.statusCode=N,this.responseHeaders=X,this.responseBody=Y,this.isRetryable=$,this.data=z}static isInstance(B){return I.hasMarker(B,rG)}},sG="AI_EmptyResponseBodyError",nG=`vercel.ai.error.${sG}`,nJ=Symbol.for(nG),ZG,$G,aJ=class extends($G=I,ZG=nJ,$G){constructor({message:B="Empty response body"}={}){super({name:sG,message:B});this[ZG]=!0}static isInstance(B){return I.hasMarker(B,nG)}};function aG(B){if(B==null)return"unknown error";if(typeof B==="string")return B;if(B instanceof Error)return B.message;return JSON.stringify(B)}var lG="AI_InvalidArgumentError",tG=`vercel.ai.error.${lG}`,lJ=Symbol.for(tG),WG,zG,oG=class extends(zG=I,WG=lJ,zG){constructor({message:B,cause:G,argument:J}){super({name:lG,message:B,cause:G});this[WG]=!0,this.argument=J}static isInstance(B){return I.hasMarker(B,tG)}},eG="AI_InvalidPromptError",BJ=`vercel.ai.error.${eG}`,tJ=Symbol.for(BJ),jG,KG,oJ=class extends(KG=I,jG=tJ,KG){constructor({prompt:B,message:G,cause:J}){super({name:eG,message:`Invalid prompt: ${G}`,cause:J});this[jG]=!0,this.prompt=B}static isInstance(B){return I.hasMarker(B,BJ)}},GJ="AI_InvalidResponseDataError",JJ=`vercel.ai.error.${GJ}`,eJ=Symbol.for(JJ),LG,FG,KB=class extends(FG=I,LG=eJ,FG){constructor({data:B,message:G=`Invalid response data: ${JSON.stringify(B)}.`}){super({name:GJ,message:G});this[LG]=!0,this.data=B}static isInstance(B){return I.hasMarker(B,JJ)}},NJ="AI_JSONParseError",QJ=`vercel.ai.error.${NJ}`,BN=Symbol.for(QJ),qG,wG,bB=class extends(wG=I,qG=BN,wG){constructor({text:B,cause:G}){super({name:NJ,message:`JSON parsing failed: Text: ${B}.
3
3
  Error message: ${aG(G)}`,cause:G});this[qG]=!0,this.text=B}static isInstance(B){return I.hasMarker(B,QJ)}},XJ="AI_LoadAPIKeyError",YJ=`vercel.ai.error.${XJ}`,GN=Symbol.for(YJ),EG,PG,OB=class extends(PG=I,EG=GN,PG){constructor({message:B}){super({name:XJ,message:B});this[EG]=!0}static isInstance(B){return I.hasMarker(B,YJ)}},ZJ="AI_LoadSettingError",$J=`vercel.ai.error.${ZJ}`,JN=Symbol.for($J),OG,HG,XX=class extends(HG=I,OG=JN,HG){constructor({message:B}){super({name:ZJ,message:B});this[OG]=!0}static isInstance(B){return I.hasMarker(B,$J)}},WJ="AI_NoContentGeneratedError",zJ=`vercel.ai.error.${WJ}`,NN=Symbol.for(zJ),SG,yG,rB=class extends(yG=I,SG=NN,yG){constructor({message:B="No content generated."}={}){super({name:WJ,message:B});this[SG]=!0}static isInstance(B){return I.hasMarker(B,zJ)}},jJ="AI_NoSuchModelError",KJ=`vercel.ai.error.${jJ}`,QN=Symbol.for(KJ),AG,VG,YX=class extends(VG=I,AG=QN,VG){constructor({errorName:B=jJ,modelId:G,modelType:J,message:N=`No such ${J}: ${G}`}){super({name:B,message:N});this[AG]=!0,this.modelId=G,this.modelType=J}static isInstance(B){return I.hasMarker(B,KJ)}},LJ="AI_TooManyEmbeddingValuesForCallError",FJ=`vercel.ai.error.${LJ}`,XN=Symbol.for(FJ),bG,MG,ZX=class extends(MG=I,bG=XN,MG){constructor(B){super({name:LJ,message:`Too many values for a single embedding call. The ${B.provider} model "${B.modelId}" can only embed up to ${B.maxEmbeddingsPerCall} values per call, but ${B.values.length} values were provided.`});this[bG]=!0,this.provider=B.provider,this.modelId=B.modelId,this.maxEmbeddingsPerCall=B.maxEmbeddingsPerCall,this.values=B.values}static isInstance(B){return I.hasMarker(B,FJ)}},qJ="AI_TypeValidationError",wJ=`vercel.ai.error.${qJ}`,YN=Symbol.for(wJ),TG,UG,FB=class B extends(UG=I,TG=YN,UG){constructor({value:G,cause:J}){super({name:qJ,message:`Type validation failed: Value: ${JSON.stringify(G)}.
4
4
  Error message: ${aG(J)}`,cause:J});this[TG]=!0,this.value=G}static isInstance(G){return I.hasMarker(G,wJ)}static wrap({value:G,cause:J}){return B.isInstance(J)&&J.value===G?J:new B({value:G,cause:J})}},EJ="AI_UnsupportedFunctionalityError",PJ=`vercel.ai.error.${EJ}`,ZN=Symbol.for(PJ),xG,kG,BB=class extends(kG=I,xG=ZN,kG){constructor({functionality:B,message:G=`'${B}' functionality not supported.`}){super({name:EJ,message:G});this[xG]=!0,this.functionality=B}static isInstance(B){return I.hasMarker(B,PJ)}},DG=class extends Error{constructor(B,G){super(B),this.name="ParseError",this.type=G.type,this.field=G.field,this.value=G.value,this.line=G.line}};function CB(B){}function $N(B){if(typeof B=="function")throw TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");let{onEvent:G=CB,onError:J=CB,onRetry:N=CB,onComment:X}=B,Y="",Z=!0,$,z="",j="";function E(K){let V=Z?K.replace(/^\xEF\xBB\xBF/,""):K,[F,x]=WN(`${Y}${V}`);for(let C of F)P(C);Y=x,Z=!1}function P(K){if(K===""){L();return}if(K.startsWith(":")){X&&X(K.slice(K.startsWith(": ")?2:1));return}let V=K.indexOf(":");if(V!==-1){let F=K.slice(0,V),x=K[V+1]===" "?2:1,C=K.slice(V+x);q(F,C,K);return}q(K,"",K)}function q(K,V,F){switch(K){case"event":j=V;break;case"data":z=`${z}${V}
5
5
  `;break;case"id":$=V.includes("\x00")?void 0:V;break;case"retry":/^\d+$/.test(V)?N(parseInt(V,10)):J(new DG(`Invalid \`retry\` value: "${V}"`,{type:"invalid-retry",value:V,line:F}));break;default:J(new DG(`Unknown field "${K.length>20?`${K.slice(0,20)}\u2026`:K}"`,{type:"unknown-field",field:K,value:V,line:F}));break}}function L(){z.length>0&&G({id:$,event:j||void 0,data:z.endsWith(`
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{De as T,Fe as VG,He as c,Le as h,We as l,Xe as R,Ye as b,af as f,bf as i,cf as v}from"./chunk-x4c8drpe.js";import{Iq as KG,Jq as s,Oq as BG,Qq as S}from"./chunk-er5q8nhp.js";import{Cu as G}from"./chunk-hrnx60em.js";var EG=G.object({error:G.object({message:G.string(),type:G.string().nullish(),param:G.any().nullish(),code:G.union([G.string(),G.number()]).nullish()})}),n={errorSchema:EG,errorToMessage:(Q)=>Q.error.message};function $G(Q){var Y,Z,$,U,z,j;if(Q==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};let K=(Y=Q.prompt_tokens)!=null?Y:0,W=(Z=Q.completion_tokens)!=null?Z:0,X=(U=($=Q.prompt_tokens_details)==null?void 0:$.cached_tokens)!=null?U:0,J=(j=(z=Q.completion_tokens_details)==null?void 0:z.reasoning_tokens)!=null?j:0;return{inputTokens:{total:K,noCache:K-X,cacheRead:X,cacheWrite:void 0},outputTokens:{total:W,text:W-J,reasoning:J},raw:Q}}function C(Q){var Y,Z;return(Z=(Y=Q==null?void 0:Q.providerOptions)==null?void 0:Y.openaiCompatible)!=null?Z:{}}function HG(Q){switch(Q){case"audio/wav":return"wav";case"audio/mp3":case"audio/mpeg":return"mp3";default:return null}}function AG(Q){var Y,Z,$;let U=[];for(let{role:z,content:j,...K}of Q){let W=C({...K});switch(z){case"system":{U.push({role:"system",content:j,...W});break}case"user":{if(j.length===1&&j[0].type==="text"){U.push({role:"user",content:j[0].text,...C(j[0])});break}U.push({role:"user",content:j.map((X)=>{var J;let B=C(X);switch(X.type){case"text":return{type:"text",text:X.text,...B};case"file":{if(X.mediaType.startsWith("image/")){let L=X.mediaType==="image/*"?"image/jpeg":X.mediaType;return{type:"image_url",image_url:{url:X.data instanceof URL?X.data.toString():`data:${L};base64,${c(X.data)}`},...B}}if(X.mediaType.startsWith("audio/")){if(X.data instanceof URL)throw new S({functionality:"audio file parts with URLs"});let L=HG(X.mediaType);if(L===null)throw new S({functionality:`audio media type ${X.mediaType}`});return{type:"input_audio",input_audio:{data:c(X.data),format:L},...B}}if(X.mediaType==="application/pdf"){if(X.data instanceof URL)throw new S({functionality:"PDF file parts with URLs"});return{type:"file",file:{filename:(J=X.filename)!=null?J:"document.pdf",file_data:`data:application/pdf;base64,${c(X.data)}`},...B}}if(X.mediaType.startsWith("text/"))return{type:"text",text:X.data instanceof URL?X.data.toString():typeof X.data==="string"?new TextDecoder().decode(VG(X.data)):new TextDecoder().decode(X.data),...B};throw new S({functionality:`file part media type ${X.mediaType}`})}}}),...W});break}case"assistant":{let X="",J="",B=[];for(let L of j){let N=C(L);switch(L.type){case"text":{X+=L.text;break}case"reasoning":{J+=L.text;break}case"tool-call":{let H=(Z=(Y=L.providerOptions)==null?void 0:Y.google)==null?void 0:Z.thoughtSignature;B.push({id:L.toolCallId,type:"function",function:{name:L.toolName,arguments:JSON.stringify(L.input)},...N,...H?{extra_content:{google:{thought_signature:String(H)}}}:{}});break}}}U.push({role:"assistant",content:X,...J.length>0?{reasoning_content:J}:{},tool_calls:B.length>0?B:void 0,...W});break}case"tool":{for(let X of j){if(X.type==="tool-approval-response")continue;let J=X.output,B;switch(J.type){case"text":case"error-text":B=J.value;break;case"execution-denied":B=($=J.reason)!=null?$:"Tool execution denied.";break;case"content":case"json":case"error-json":B=JSON.stringify(J.value);break}let L=C(X);U.push({role:"tool",tool_call_id:X.toolCallId,content:B,...L})}break}default:throw Error(`Unsupported role: ${z}`)}}return U}function JG({id:Q,model:Y,created:Z}){return{id:Q!=null?Q:void 0,modelId:Y!=null?Y:void 0,timestamp:Z!=null?new Date(Z*1000):void 0}}function UG(Q){switch(Q){case"stop":return"stop";case"length":return"length";case"content_filter":return"content-filter";case"function_call":case"tool_calls":return"tool-calls";default:return"other"}}var d=G.object({user:G.string().optional(),reasoningEffort:G.string().optional(),textVerbosity:G.string().optional(),strictJsonSchema:G.boolean().optional()});function PG({tools:Q,toolChoice:Y}){Q=(Q==null?void 0:Q.length)?Q:void 0;let Z=[];if(Q==null)return{tools:void 0,toolChoice:void 0,toolWarnings:Z};let $=[];for(let z of Q)if(z.type==="provider")Z.push({type:"unsupported",feature:`provider-defined tool ${z.id}`});else $.push({type:"function",function:{name:z.name,description:z.description,parameters:z.inputSchema,...z.strict!=null?{strict:z.strict}:{}}});if(Y==null)return{tools:$,toolChoice:void 0,toolWarnings:Z};let U=Y.type;switch(U){case"auto":case"none":case"required":return{tools:$,toolChoice:U,toolWarnings:Z};case"tool":return{tools:$,toolChoice:{type:"function",function:{name:Y.toolName}},toolWarnings:Z};default:throw new S({functionality:`tool choice type: ${U}`})}}var CG=class{constructor(Q,Y){this.specificationVersion="v3";var Z,$;this.modelId=Q,this.config=Y;let U=(Z=Y.errorStructure)!=null?Z:n;this.chunkSchema=DG(U.errorSchema),this.failedResponseHandler=f(U),this.supportsStructuredOutputs=($=Y.supportsStructuredOutputs)!=null?$:!1}get provider(){return this.config.provider}get providerOptionsName(){return this.config.provider.split(".")[0].trim()}get supportedUrls(){var Q,Y,Z;return(Z=(Y=(Q=this.config).supportedUrls)==null?void 0:Y.call(Q))!=null?Z:{}}transformRequestBody(Q){var Y,Z,$;return($=(Z=(Y=this.config).transformRequestBody)==null?void 0:Z.call(Y,Q))!=null?$:Q}async getArgs({prompt:Q,maxOutputTokens:Y,temperature:Z,topP:$,topK:U,frequencyPenalty:z,presencePenalty:j,providerOptions:K,stopSequences:W,responseFormat:X,seed:J,toolChoice:B,tools:L}){var N,H,E,V,q;let A=[],I=await R({provider:"openai-compatible",providerOptions:K,schema:d});if(I!=null)A.push({type:"other",message:"The 'openai-compatible' key in providerOptions is deprecated. Use 'openaiCompatible' instead."});let D=Object.assign(I!=null?I:{},(N=await R({provider:"openaiCompatible",providerOptions:K,schema:d}))!=null?N:{},(H=await R({provider:this.providerOptionsName,providerOptions:K,schema:d}))!=null?H:{}),P=(E=D==null?void 0:D.strictJsonSchema)!=null?E:!0;if(U!=null)A.push({type:"unsupported",feature:"topK"});if((X==null?void 0:X.type)==="json"&&X.schema!=null&&!this.supportsStructuredOutputs)A.push({type:"unsupported",feature:"responseFormat",details:"JSON response format schema is only supported with structuredOutputs"});let{tools:w,toolChoice:y,toolWarnings:u}=PG({tools:L,toolChoice:B});return{args:{model:this.modelId,user:D.user,max_tokens:Y,temperature:Z,top_p:$,frequency_penalty:z,presence_penalty:j,response_format:(X==null?void 0:X.type)==="json"?this.supportsStructuredOutputs===!0&&X.schema!=null?{type:"json_schema",json_schema:{schema:X.schema,strict:P,name:(V=X.name)!=null?V:"response",description:X.description}}:{type:"json_object"}:void 0,stop:W,seed:J,...Object.fromEntries(Object.entries((q=K==null?void 0:K[this.providerOptionsName])!=null?q:{}).filter(([g])=>!Object.keys(d.shape).includes(g))),reasoning_effort:D.reasoningEffort,verbosity:D.textVerbosity,messages:AG(Q),tools:w,tool_choice:y},warnings:[...A,...u]}}async doGenerate(Q){var Y,Z,$,U,z,j,K,W;let{args:X,warnings:J}=await this.getArgs({...Q}),B=this.transformRequestBody(X),L=JSON.stringify(B),{responseHeaders:N,value:H,rawValue:E}=await b({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:T(this.config.headers(),Q.headers),body:B,failedResponseHandler:this.failedResponseHandler,successfulResponseHandler:v(qG),abortSignal:Q.abortSignal,fetch:this.config.fetch}),V=H.choices[0],q=[],A=V.message.content;if(A!=null&&A.length>0)q.push({type:"text",text:A});let I=(Y=V.message.reasoning_content)!=null?Y:V.message.reasoning;if(I!=null&&I.length>0)q.push({type:"reasoning",text:I});if(V.message.tool_calls!=null)for(let w of V.message.tool_calls){let y=($=(Z=w.extra_content)==null?void 0:Z.google)==null?void 0:$.thought_signature;q.push({type:"tool-call",toolCallId:(U=w.id)!=null?U:h(),toolName:w.function.name,input:w.function.arguments,...y?{providerMetadata:{[this.providerOptionsName]:{thoughtSignature:y}}}:{}})}let D={[this.providerOptionsName]:{},...await((j=(z=this.config.metadataExtractor)==null?void 0:z.extractMetadata)==null?void 0:j.call(z,{parsedBody:E}))},P=(K=H.usage)==null?void 0:K.completion_tokens_details;if((P==null?void 0:P.accepted_prediction_tokens)!=null)D[this.providerOptionsName].acceptedPredictionTokens=P==null?void 0:P.accepted_prediction_tokens;if((P==null?void 0:P.rejected_prediction_tokens)!=null)D[this.providerOptionsName].rejectedPredictionTokens=P==null?void 0:P.rejected_prediction_tokens;return{content:q,finishReason:{unified:UG(V.finish_reason),raw:(W=V.finish_reason)!=null?W:void 0},usage:$G(H.usage),providerMetadata:D,request:{body:L},response:{...JG(H),headers:N,body:E},warnings:J}}async doStream(Q){var Y;let{args:Z,warnings:$}=await this.getArgs({...Q}),U=this.transformRequestBody({...Z,stream:!0,stream_options:this.config.includeUsage?{include_usage:!0}:void 0}),z=(Y=this.config.metadataExtractor)==null?void 0:Y.createStreamExtractor(),{responseHeaders:j,value:K}=await b({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:T(this.config.headers(),Q.headers),body:U,failedResponseHandler:this.failedResponseHandler,successfulResponseHandler:i(this.chunkSchema),abortSignal:Q.abortSignal,fetch:this.config.fetch}),W=[],X={unified:"other",raw:void 0},J=void 0,B=!0,L=this.providerOptionsName,N=!1,H=!1;return{stream:K.pipeThrough(new TransformStream({start(E){E.enqueue({type:"stream-start",warnings:$})},transform(E,V){var q,A,I,D,P,w,y,u,g,a,r,t,e,o,GG,QG,XG,YG;if(Q.includeRawChunks)V.enqueue({type:"raw",rawValue:E.rawValue});if(!E.success){X={unified:"error",raw:void 0},V.enqueue({type:"error",error:E.error});return}if(z==null||z.processChunk(E.rawValue),"error"in E.value){X={unified:"error",raw:void 0},V.enqueue({type:"error",error:E.value.error.message});return}let _=E.value;if(B)B=!1,V.enqueue({type:"response-metadata",...JG(_)});if(_.usage!=null)J=_.usage;let O=_.choices[0];if((O==null?void 0:O.finish_reason)!=null)X={unified:UG(O.finish_reason),raw:(q=O.finish_reason)!=null?q:void 0};if((O==null?void 0:O.delta)==null)return;let k=O.delta,ZG=(A=k.reasoning_content)!=null?A:k.reasoning;if(ZG){if(!N)V.enqueue({type:"reasoning-start",id:"reasoning-0"}),N=!0;V.enqueue({type:"reasoning-delta",id:"reasoning-0",delta:ZG})}if(k.content){if(N)V.enqueue({type:"reasoning-end",id:"reasoning-0"}),N=!1;if(!H)V.enqueue({type:"text-start",id:"txt-0"}),H=!0;V.enqueue({type:"text-delta",id:"txt-0",delta:k.content})}if(k.tool_calls!=null){if(N)V.enqueue({type:"reasoning-end",id:"reasoning-0"}),N=!1;for(let x of k.tool_calls){let m=(I=x.index)!=null?I:W.length;if(W[m]==null){if(x.id==null)throw new s({data:x,message:"Expected 'id' to be a string."});if(((D=x.function)==null?void 0:D.name)==null)throw new s({data:x,message:"Expected 'function.name' to be a string."});V.enqueue({type:"tool-input-start",id:x.id,toolName:x.function.name}),W[m]={id:x.id,type:"function",function:{name:x.function.name,arguments:(P=x.function.arguments)!=null?P:""},hasFinished:!1,thoughtSignature:(u=(y=(w=x.extra_content)==null?void 0:w.google)==null?void 0:y.thought_signature)!=null?u:void 0};let M=W[m];if(((g=M.function)==null?void 0:g.name)!=null&&((a=M.function)==null?void 0:a.arguments)!=null){if(M.function.arguments.length>0)V.enqueue({type:"tool-input-delta",id:M.id,delta:M.function.arguments});if(l(M.function.arguments))V.enqueue({type:"tool-input-end",id:M.id}),V.enqueue({type:"tool-call",toolCallId:(r=M.id)!=null?r:h(),toolName:M.function.name,input:M.function.arguments,...M.thoughtSignature?{providerMetadata:{[L]:{thoughtSignature:M.thoughtSignature}}}:{}}),M.hasFinished=!0}continue}let F=W[m];if(F.hasFinished)continue;if(((t=x.function)==null?void 0:t.arguments)!=null)F.function.arguments+=(o=(e=x.function)==null?void 0:e.arguments)!=null?o:"";if(V.enqueue({type:"tool-input-delta",id:F.id,delta:(GG=x.function.arguments)!=null?GG:""}),((QG=F.function)==null?void 0:QG.name)!=null&&((XG=F.function)==null?void 0:XG.arguments)!=null&&l(F.function.arguments))V.enqueue({type:"tool-input-end",id:F.id}),V.enqueue({type:"tool-call",toolCallId:(YG=F.id)!=null?YG:h(),toolName:F.function.name,input:F.function.arguments,...F.thoughtSignature?{providerMetadata:{[L]:{thoughtSignature:F.thoughtSignature}}}:{}}),F.hasFinished=!0}}},flush(E){var V,q,A,I,D;if(N)E.enqueue({type:"reasoning-end",id:"reasoning-0"});if(H)E.enqueue({type:"text-end",id:"txt-0"});for(let w of W.filter((y)=>!y.hasFinished))E.enqueue({type:"tool-input-end",id:w.id}),E.enqueue({type:"tool-call",toolCallId:(V=w.id)!=null?V:h(),toolName:w.function.name,input:w.function.arguments,...w.thoughtSignature?{providerMetadata:{[L]:{thoughtSignature:w.thoughtSignature}}}:{}});let P={[L]:{},...z==null?void 0:z.buildMetadata()};if(((q=J==null?void 0:J.completion_tokens_details)==null?void 0:q.accepted_prediction_tokens)!=null)P[L].acceptedPredictionTokens=(A=J==null?void 0:J.completion_tokens_details)==null?void 0:A.accepted_prediction_tokens;if(((I=J==null?void 0:J.completion_tokens_details)==null?void 0:I.rejected_prediction_tokens)!=null)P[L].rejectedPredictionTokens=(D=J==null?void 0:J.completion_tokens_details)==null?void 0:D.rejected_prediction_tokens;E.enqueue({type:"finish",finishReason:X,usage:$G(J),providerMetadata:P})}})),request:{body:U},response:{headers:j}}}},WG=G.looseObject({prompt_tokens:G.number().nullish(),completion_tokens:G.number().nullish(),total_tokens:G.number().nullish(),prompt_tokens_details:G.object({cached_tokens:G.number().nullish()}).nullish(),completion_tokens_details:G.object({reasoning_tokens:G.number().nullish(),accepted_prediction_tokens:G.number().nullish(),rejected_prediction_tokens:G.number().nullish()}).nullish()}).nullish(),qG=G.looseObject({id:G.string().nullish(),created:G.number().nullish(),model:G.string().nullish(),choices:G.array(G.object({message:G.object({role:G.literal("assistant").nullish(),content:G.string().nullish(),reasoning_content:G.string().nullish(),reasoning:G.string().nullish(),tool_calls:G.array(G.object({id:G.string().nullish(),function:G.object({name:G.string(),arguments:G.string()}),extra_content:G.object({google:G.object({thought_signature:G.string().nullish()}).nullish()}).nullish()})).nullish()}),finish_reason:G.string().nullish()})),usage:WG}),wG=G.looseObject({id:G.string().nullish(),created:G.number().nullish(),model:G.string().nullish(),choices:G.array(G.object({delta:G.object({role:G.enum(["assistant"]).nullish(),content:G.string().nullish(),reasoning_content:G.string().nullish(),reasoning:G.string().nullish(),tool_calls:G.array(G.object({index:G.number().nullish(),id:G.string().nullish(),function:G.object({name:G.string().nullish(),arguments:G.string().nullish()}),extra_content:G.object({google:G.object({thought_signature:G.string().nullish()}).nullish()}).nullish()})).nullish()}).nullish(),finish_reason:G.string().nullish()})),usage:WG}),DG=(Q)=>G.union([wG,Q]);function jG(Q){var Y,Z;if(Q==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};let $=(Y=Q.prompt_tokens)!=null?Y:0,U=(Z=Q.completion_tokens)!=null?Z:0;return{inputTokens:{total:$,noCache:$,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:U,text:U,reasoning:void 0},raw:Q}}function xG({prompt:Q,user:Y="user",assistant:Z="assistant"}){let $="";if(Q[0].role==="system")$+=`${Q[0].content}
2
+ import{De as T,Fe as VG,He as c,Le as h,We as l,Xe as R,Ye as b,af as f,bf as i,cf as v}from"./chunk-m8tfv36b.js";import{Kq as KG,Lq as s,Qq as BG,Sq as S}from"./chunk-zzdbrxkh.js";import{Eu as G}from"./chunk-22vvjp4g.js";var EG=G.object({error:G.object({message:G.string(),type:G.string().nullish(),param:G.any().nullish(),code:G.union([G.string(),G.number()]).nullish()})}),n={errorSchema:EG,errorToMessage:(Q)=>Q.error.message};function $G(Q){var Y,Z,$,U,z,j;if(Q==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};let K=(Y=Q.prompt_tokens)!=null?Y:0,W=(Z=Q.completion_tokens)!=null?Z:0,X=(U=($=Q.prompt_tokens_details)==null?void 0:$.cached_tokens)!=null?U:0,J=(j=(z=Q.completion_tokens_details)==null?void 0:z.reasoning_tokens)!=null?j:0;return{inputTokens:{total:K,noCache:K-X,cacheRead:X,cacheWrite:void 0},outputTokens:{total:W,text:W-J,reasoning:J},raw:Q}}function C(Q){var Y,Z;return(Z=(Y=Q==null?void 0:Q.providerOptions)==null?void 0:Y.openaiCompatible)!=null?Z:{}}function HG(Q){switch(Q){case"audio/wav":return"wav";case"audio/mp3":case"audio/mpeg":return"mp3";default:return null}}function AG(Q){var Y,Z,$;let U=[];for(let{role:z,content:j,...K}of Q){let W=C({...K});switch(z){case"system":{U.push({role:"system",content:j,...W});break}case"user":{if(j.length===1&&j[0].type==="text"){U.push({role:"user",content:j[0].text,...C(j[0])});break}U.push({role:"user",content:j.map((X)=>{var J;let B=C(X);switch(X.type){case"text":return{type:"text",text:X.text,...B};case"file":{if(X.mediaType.startsWith("image/")){let L=X.mediaType==="image/*"?"image/jpeg":X.mediaType;return{type:"image_url",image_url:{url:X.data instanceof URL?X.data.toString():`data:${L};base64,${c(X.data)}`},...B}}if(X.mediaType.startsWith("audio/")){if(X.data instanceof URL)throw new S({functionality:"audio file parts with URLs"});let L=HG(X.mediaType);if(L===null)throw new S({functionality:`audio media type ${X.mediaType}`});return{type:"input_audio",input_audio:{data:c(X.data),format:L},...B}}if(X.mediaType==="application/pdf"){if(X.data instanceof URL)throw new S({functionality:"PDF file parts with URLs"});return{type:"file",file:{filename:(J=X.filename)!=null?J:"document.pdf",file_data:`data:application/pdf;base64,${c(X.data)}`},...B}}if(X.mediaType.startsWith("text/"))return{type:"text",text:X.data instanceof URL?X.data.toString():typeof X.data==="string"?new TextDecoder().decode(VG(X.data)):new TextDecoder().decode(X.data),...B};throw new S({functionality:`file part media type ${X.mediaType}`})}}}),...W});break}case"assistant":{let X="",J="",B=[];for(let L of j){let N=C(L);switch(L.type){case"text":{X+=L.text;break}case"reasoning":{J+=L.text;break}case"tool-call":{let H=(Z=(Y=L.providerOptions)==null?void 0:Y.google)==null?void 0:Z.thoughtSignature;B.push({id:L.toolCallId,type:"function",function:{name:L.toolName,arguments:JSON.stringify(L.input)},...N,...H?{extra_content:{google:{thought_signature:String(H)}}}:{}});break}}}U.push({role:"assistant",content:X,...J.length>0?{reasoning_content:J}:{},tool_calls:B.length>0?B:void 0,...W});break}case"tool":{for(let X of j){if(X.type==="tool-approval-response")continue;let J=X.output,B;switch(J.type){case"text":case"error-text":B=J.value;break;case"execution-denied":B=($=J.reason)!=null?$:"Tool execution denied.";break;case"content":case"json":case"error-json":B=JSON.stringify(J.value);break}let L=C(X);U.push({role:"tool",tool_call_id:X.toolCallId,content:B,...L})}break}default:throw Error(`Unsupported role: ${z}`)}}return U}function JG({id:Q,model:Y,created:Z}){return{id:Q!=null?Q:void 0,modelId:Y!=null?Y:void 0,timestamp:Z!=null?new Date(Z*1000):void 0}}function UG(Q){switch(Q){case"stop":return"stop";case"length":return"length";case"content_filter":return"content-filter";case"function_call":case"tool_calls":return"tool-calls";default:return"other"}}var d=G.object({user:G.string().optional(),reasoningEffort:G.string().optional(),textVerbosity:G.string().optional(),strictJsonSchema:G.boolean().optional()});function PG({tools:Q,toolChoice:Y}){Q=(Q==null?void 0:Q.length)?Q:void 0;let Z=[];if(Q==null)return{tools:void 0,toolChoice:void 0,toolWarnings:Z};let $=[];for(let z of Q)if(z.type==="provider")Z.push({type:"unsupported",feature:`provider-defined tool ${z.id}`});else $.push({type:"function",function:{name:z.name,description:z.description,parameters:z.inputSchema,...z.strict!=null?{strict:z.strict}:{}}});if(Y==null)return{tools:$,toolChoice:void 0,toolWarnings:Z};let U=Y.type;switch(U){case"auto":case"none":case"required":return{tools:$,toolChoice:U,toolWarnings:Z};case"tool":return{tools:$,toolChoice:{type:"function",function:{name:Y.toolName}},toolWarnings:Z};default:throw new S({functionality:`tool choice type: ${U}`})}}var CG=class{constructor(Q,Y){this.specificationVersion="v3";var Z,$;this.modelId=Q,this.config=Y;let U=(Z=Y.errorStructure)!=null?Z:n;this.chunkSchema=DG(U.errorSchema),this.failedResponseHandler=f(U),this.supportsStructuredOutputs=($=Y.supportsStructuredOutputs)!=null?$:!1}get provider(){return this.config.provider}get providerOptionsName(){return this.config.provider.split(".")[0].trim()}get supportedUrls(){var Q,Y,Z;return(Z=(Y=(Q=this.config).supportedUrls)==null?void 0:Y.call(Q))!=null?Z:{}}transformRequestBody(Q){var Y,Z,$;return($=(Z=(Y=this.config).transformRequestBody)==null?void 0:Z.call(Y,Q))!=null?$:Q}async getArgs({prompt:Q,maxOutputTokens:Y,temperature:Z,topP:$,topK:U,frequencyPenalty:z,presencePenalty:j,providerOptions:K,stopSequences:W,responseFormat:X,seed:J,toolChoice:B,tools:L}){var N,H,E,V,q;let A=[],I=await R({provider:"openai-compatible",providerOptions:K,schema:d});if(I!=null)A.push({type:"other",message:"The 'openai-compatible' key in providerOptions is deprecated. Use 'openaiCompatible' instead."});let D=Object.assign(I!=null?I:{},(N=await R({provider:"openaiCompatible",providerOptions:K,schema:d}))!=null?N:{},(H=await R({provider:this.providerOptionsName,providerOptions:K,schema:d}))!=null?H:{}),P=(E=D==null?void 0:D.strictJsonSchema)!=null?E:!0;if(U!=null)A.push({type:"unsupported",feature:"topK"});if((X==null?void 0:X.type)==="json"&&X.schema!=null&&!this.supportsStructuredOutputs)A.push({type:"unsupported",feature:"responseFormat",details:"JSON response format schema is only supported with structuredOutputs"});let{tools:w,toolChoice:y,toolWarnings:u}=PG({tools:L,toolChoice:B});return{args:{model:this.modelId,user:D.user,max_tokens:Y,temperature:Z,top_p:$,frequency_penalty:z,presence_penalty:j,response_format:(X==null?void 0:X.type)==="json"?this.supportsStructuredOutputs===!0&&X.schema!=null?{type:"json_schema",json_schema:{schema:X.schema,strict:P,name:(V=X.name)!=null?V:"response",description:X.description}}:{type:"json_object"}:void 0,stop:W,seed:J,...Object.fromEntries(Object.entries((q=K==null?void 0:K[this.providerOptionsName])!=null?q:{}).filter(([g])=>!Object.keys(d.shape).includes(g))),reasoning_effort:D.reasoningEffort,verbosity:D.textVerbosity,messages:AG(Q),tools:w,tool_choice:y},warnings:[...A,...u]}}async doGenerate(Q){var Y,Z,$,U,z,j,K,W;let{args:X,warnings:J}=await this.getArgs({...Q}),B=this.transformRequestBody(X),L=JSON.stringify(B),{responseHeaders:N,value:H,rawValue:E}=await b({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:T(this.config.headers(),Q.headers),body:B,failedResponseHandler:this.failedResponseHandler,successfulResponseHandler:v(qG),abortSignal:Q.abortSignal,fetch:this.config.fetch}),V=H.choices[0],q=[],A=V.message.content;if(A!=null&&A.length>0)q.push({type:"text",text:A});let I=(Y=V.message.reasoning_content)!=null?Y:V.message.reasoning;if(I!=null&&I.length>0)q.push({type:"reasoning",text:I});if(V.message.tool_calls!=null)for(let w of V.message.tool_calls){let y=($=(Z=w.extra_content)==null?void 0:Z.google)==null?void 0:$.thought_signature;q.push({type:"tool-call",toolCallId:(U=w.id)!=null?U:h(),toolName:w.function.name,input:w.function.arguments,...y?{providerMetadata:{[this.providerOptionsName]:{thoughtSignature:y}}}:{}})}let D={[this.providerOptionsName]:{},...await((j=(z=this.config.metadataExtractor)==null?void 0:z.extractMetadata)==null?void 0:j.call(z,{parsedBody:E}))},P=(K=H.usage)==null?void 0:K.completion_tokens_details;if((P==null?void 0:P.accepted_prediction_tokens)!=null)D[this.providerOptionsName].acceptedPredictionTokens=P==null?void 0:P.accepted_prediction_tokens;if((P==null?void 0:P.rejected_prediction_tokens)!=null)D[this.providerOptionsName].rejectedPredictionTokens=P==null?void 0:P.rejected_prediction_tokens;return{content:q,finishReason:{unified:UG(V.finish_reason),raw:(W=V.finish_reason)!=null?W:void 0},usage:$G(H.usage),providerMetadata:D,request:{body:L},response:{...JG(H),headers:N,body:E},warnings:J}}async doStream(Q){var Y;let{args:Z,warnings:$}=await this.getArgs({...Q}),U=this.transformRequestBody({...Z,stream:!0,stream_options:this.config.includeUsage?{include_usage:!0}:void 0}),z=(Y=this.config.metadataExtractor)==null?void 0:Y.createStreamExtractor(),{responseHeaders:j,value:K}=await b({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:T(this.config.headers(),Q.headers),body:U,failedResponseHandler:this.failedResponseHandler,successfulResponseHandler:i(this.chunkSchema),abortSignal:Q.abortSignal,fetch:this.config.fetch}),W=[],X={unified:"other",raw:void 0},J=void 0,B=!0,L=this.providerOptionsName,N=!1,H=!1;return{stream:K.pipeThrough(new TransformStream({start(E){E.enqueue({type:"stream-start",warnings:$})},transform(E,V){var q,A,I,D,P,w,y,u,g,a,r,t,e,o,GG,QG,XG,YG;if(Q.includeRawChunks)V.enqueue({type:"raw",rawValue:E.rawValue});if(!E.success){X={unified:"error",raw:void 0},V.enqueue({type:"error",error:E.error});return}if(z==null||z.processChunk(E.rawValue),"error"in E.value){X={unified:"error",raw:void 0},V.enqueue({type:"error",error:E.value.error.message});return}let _=E.value;if(B)B=!1,V.enqueue({type:"response-metadata",...JG(_)});if(_.usage!=null)J=_.usage;let O=_.choices[0];if((O==null?void 0:O.finish_reason)!=null)X={unified:UG(O.finish_reason),raw:(q=O.finish_reason)!=null?q:void 0};if((O==null?void 0:O.delta)==null)return;let k=O.delta,ZG=(A=k.reasoning_content)!=null?A:k.reasoning;if(ZG){if(!N)V.enqueue({type:"reasoning-start",id:"reasoning-0"}),N=!0;V.enqueue({type:"reasoning-delta",id:"reasoning-0",delta:ZG})}if(k.content){if(N)V.enqueue({type:"reasoning-end",id:"reasoning-0"}),N=!1;if(!H)V.enqueue({type:"text-start",id:"txt-0"}),H=!0;V.enqueue({type:"text-delta",id:"txt-0",delta:k.content})}if(k.tool_calls!=null){if(N)V.enqueue({type:"reasoning-end",id:"reasoning-0"}),N=!1;for(let x of k.tool_calls){let m=(I=x.index)!=null?I:W.length;if(W[m]==null){if(x.id==null)throw new s({data:x,message:"Expected 'id' to be a string."});if(((D=x.function)==null?void 0:D.name)==null)throw new s({data:x,message:"Expected 'function.name' to be a string."});V.enqueue({type:"tool-input-start",id:x.id,toolName:x.function.name}),W[m]={id:x.id,type:"function",function:{name:x.function.name,arguments:(P=x.function.arguments)!=null?P:""},hasFinished:!1,thoughtSignature:(u=(y=(w=x.extra_content)==null?void 0:w.google)==null?void 0:y.thought_signature)!=null?u:void 0};let M=W[m];if(((g=M.function)==null?void 0:g.name)!=null&&((a=M.function)==null?void 0:a.arguments)!=null){if(M.function.arguments.length>0)V.enqueue({type:"tool-input-delta",id:M.id,delta:M.function.arguments});if(l(M.function.arguments))V.enqueue({type:"tool-input-end",id:M.id}),V.enqueue({type:"tool-call",toolCallId:(r=M.id)!=null?r:h(),toolName:M.function.name,input:M.function.arguments,...M.thoughtSignature?{providerMetadata:{[L]:{thoughtSignature:M.thoughtSignature}}}:{}}),M.hasFinished=!0}continue}let F=W[m];if(F.hasFinished)continue;if(((t=x.function)==null?void 0:t.arguments)!=null)F.function.arguments+=(o=(e=x.function)==null?void 0:e.arguments)!=null?o:"";if(V.enqueue({type:"tool-input-delta",id:F.id,delta:(GG=x.function.arguments)!=null?GG:""}),((QG=F.function)==null?void 0:QG.name)!=null&&((XG=F.function)==null?void 0:XG.arguments)!=null&&l(F.function.arguments))V.enqueue({type:"tool-input-end",id:F.id}),V.enqueue({type:"tool-call",toolCallId:(YG=F.id)!=null?YG:h(),toolName:F.function.name,input:F.function.arguments,...F.thoughtSignature?{providerMetadata:{[L]:{thoughtSignature:F.thoughtSignature}}}:{}}),F.hasFinished=!0}}},flush(E){var V,q,A,I,D;if(N)E.enqueue({type:"reasoning-end",id:"reasoning-0"});if(H)E.enqueue({type:"text-end",id:"txt-0"});for(let w of W.filter((y)=>!y.hasFinished))E.enqueue({type:"tool-input-end",id:w.id}),E.enqueue({type:"tool-call",toolCallId:(V=w.id)!=null?V:h(),toolName:w.function.name,input:w.function.arguments,...w.thoughtSignature?{providerMetadata:{[L]:{thoughtSignature:w.thoughtSignature}}}:{}});let P={[L]:{},...z==null?void 0:z.buildMetadata()};if(((q=J==null?void 0:J.completion_tokens_details)==null?void 0:q.accepted_prediction_tokens)!=null)P[L].acceptedPredictionTokens=(A=J==null?void 0:J.completion_tokens_details)==null?void 0:A.accepted_prediction_tokens;if(((I=J==null?void 0:J.completion_tokens_details)==null?void 0:I.rejected_prediction_tokens)!=null)P[L].rejectedPredictionTokens=(D=J==null?void 0:J.completion_tokens_details)==null?void 0:D.rejected_prediction_tokens;E.enqueue({type:"finish",finishReason:X,usage:$G(J),providerMetadata:P})}})),request:{body:U},response:{headers:j}}}},WG=G.looseObject({prompt_tokens:G.number().nullish(),completion_tokens:G.number().nullish(),total_tokens:G.number().nullish(),prompt_tokens_details:G.object({cached_tokens:G.number().nullish()}).nullish(),completion_tokens_details:G.object({reasoning_tokens:G.number().nullish(),accepted_prediction_tokens:G.number().nullish(),rejected_prediction_tokens:G.number().nullish()}).nullish()}).nullish(),qG=G.looseObject({id:G.string().nullish(),created:G.number().nullish(),model:G.string().nullish(),choices:G.array(G.object({message:G.object({role:G.literal("assistant").nullish(),content:G.string().nullish(),reasoning_content:G.string().nullish(),reasoning:G.string().nullish(),tool_calls:G.array(G.object({id:G.string().nullish(),function:G.object({name:G.string(),arguments:G.string()}),extra_content:G.object({google:G.object({thought_signature:G.string().nullish()}).nullish()}).nullish()})).nullish()}),finish_reason:G.string().nullish()})),usage:WG}),wG=G.looseObject({id:G.string().nullish(),created:G.number().nullish(),model:G.string().nullish(),choices:G.array(G.object({delta:G.object({role:G.enum(["assistant"]).nullish(),content:G.string().nullish(),reasoning_content:G.string().nullish(),reasoning:G.string().nullish(),tool_calls:G.array(G.object({index:G.number().nullish(),id:G.string().nullish(),function:G.object({name:G.string().nullish(),arguments:G.string().nullish()}),extra_content:G.object({google:G.object({thought_signature:G.string().nullish()}).nullish()}).nullish()})).nullish()}).nullish(),finish_reason:G.string().nullish()})),usage:WG}),DG=(Q)=>G.union([wG,Q]);function jG(Q){var Y,Z;if(Q==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};let $=(Y=Q.prompt_tokens)!=null?Y:0,U=(Z=Q.completion_tokens)!=null?Z:0;return{inputTokens:{total:$,noCache:$,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:U,text:U,reasoning:void 0},raw:Q}}function xG({prompt:Q,user:Y="user",assistant:Z="assistant"}){let $="";if(Q[0].role==="system")$+=`${Q[0].content}
3
3
 
4
4
  `,Q=Q.slice(1);for(let{role:U,content:z}of Q)switch(U){case"system":throw new KG({message:"Unexpected system message in prompt: ${content}",prompt:Q});case"user":{let j=z.map((K)=>{switch(K.type){case"text":return K.text}}).filter(Boolean).join("");$+=`${Y}:
5
5
  ${j}
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-fa03gsff.js";var ro=Object.defineProperty,Wr=(e)=>{throw TypeError(e)},en=(e,t)=>{for(var n in t)ro(e,n,{get:t[n],enumerable:!0})},Rr=(e,t,n)=>t.has(e)||Wr("Cannot "+n),qe=(e,t,n)=>(Rr(e,t,"read from private field"),n?n.call(e):t.get(e)),uo=(e,t,n)=>t.has(e)?Wr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ao=(e,t,n,r)=>(Rr(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ur={};en(Ur,{languages:()=>xD,options:()=>AD,printers:()=>gD});var oo=[{name:"JavaScript",type:"programming",extensions:[".js","._js",".bones",".cjs",".es",".es6",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".start.frag",".end.frag",".wxs"],tmScope:"source.js",aceMode:"javascript",aliases:["js","node"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],filenames:["Jakefile","start.frag","end.frag"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],linguistLanguageId:183},{name:"Flow",type:"programming",extensions:[".js.flow"],tmScope:"source.js",aceMode:"javascript",aliases:[],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],filenames:[],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],linguistLanguageId:183},{name:"JSX",type:"programming",extensions:[".jsx"],tmScope:"source.js.jsx",aceMode:"javascript",aliases:void 0,codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",interpreters:void 0,filenames:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript",linguistLanguageId:183},{name:"TypeScript",type:"programming",extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",aliases:["ts"],codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",interpreters:["bun","deno","ts-node","tsx"],parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],linguistLanguageId:378},{name:"TSX",type:"programming",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",group:"TypeScript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"],linguistLanguageId:94901924}],Gr={};en(Gr,{canAttachComment:()=>fs,embed:()=>rp,experimentalFeatures:()=>lD,getCommentChildNodes:()=>Es,getVisitorKeys:()=>Qr,handleComments:()=>Fu,insertPragma:()=>Ep,isBlockComment:()=>ye,isGap:()=>Fs,massageAstNode:()=>mi,print:()=>pD,printComment:()=>Li,willPrintOwnComments:()=>wu});var io=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},H=io,so=(e,t,n)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[n<0?t.length+n:n]:t.at(n)},X=so;function po(e){return e!==null&&typeof e=="object"}var lo=po;function*co(e,t){let{getVisitorKeys:n,filter:r=()=>!0}=t,u=(a)=>lo(a)&&r(a);for(let a of n(e)){let o=e[a];if(Array.isArray(o))for(let i of o)u(i)&&(yield i);else u(o)&&(yield o)}}function*Do(e,t){let n=[e];for(let r=0;r<n.length;r++){let u=n[r];for(let a of co(u,t))yield a,n.push(a)}}function yo(e,{getVisitorKeys:t,predicate:n}){for(let r of Do(e,{getVisitorKeys:t}))if(n(r))return!0;return!1}var mo=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function fo(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Eo(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Fo=(e)=>!(fo(e)||Eo(e)),Ao=/[^\x20-\x7F]/u;function go(e){if(!e)return 0;if(!Ao.test(e))return e.length;e=e.replace(mo()," ");let t=0;for(let n of e){let r=n.codePointAt(0);r<=31||r>=127&&r<=159||r>=768&&r<=879||(t+=Fo(r)?1:2)}return t}var ct=go;function tn(e){return(t,n,r)=>{let u=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:a}=t,o=n;for(;o>=0&&o<a;){let i=t.charAt(o);if(e instanceof RegExp){if(!e.test(i))return o}else if(!e.includes(i))return o;u?o--:o++}return o===-1||o===a?o:!1}}var hD=tn(/\s/u),Dt=tn(" \t"),xo=tn(",; \t"),ho=tn(/[^\n\r]/u);function Co(e,t,n){let r=!!(n!=null&&n.backwards);if(t===!1)return!1;let u=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&u===`
2
+ import"./chunk-naq602da.js";var ro=Object.defineProperty,Wr=(e)=>{throw TypeError(e)},en=(e,t)=>{for(var n in t)ro(e,n,{get:t[n],enumerable:!0})},Rr=(e,t,n)=>t.has(e)||Wr("Cannot "+n),qe=(e,t,n)=>(Rr(e,t,"read from private field"),n?n.call(e):t.get(e)),uo=(e,t,n)=>t.has(e)?Wr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ao=(e,t,n,r)=>(Rr(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ur={};en(Ur,{languages:()=>xD,options:()=>AD,printers:()=>gD});var oo=[{name:"JavaScript",type:"programming",extensions:[".js","._js",".bones",".cjs",".es",".es6",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".start.frag",".end.frag",".wxs"],tmScope:"source.js",aceMode:"javascript",aliases:["js","node"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],filenames:["Jakefile","start.frag","end.frag"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],linguistLanguageId:183},{name:"Flow",type:"programming",extensions:[".js.flow"],tmScope:"source.js",aceMode:"javascript",aliases:[],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],filenames:[],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],linguistLanguageId:183},{name:"JSX",type:"programming",extensions:[".jsx"],tmScope:"source.js.jsx",aceMode:"javascript",aliases:void 0,codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",interpreters:void 0,filenames:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript",linguistLanguageId:183},{name:"TypeScript",type:"programming",extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",aliases:["ts"],codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",interpreters:["bun","deno","ts-node","tsx"],parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],linguistLanguageId:378},{name:"TSX",type:"programming",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",group:"TypeScript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"],linguistLanguageId:94901924}],Gr={};en(Gr,{canAttachComment:()=>fs,embed:()=>rp,experimentalFeatures:()=>lD,getCommentChildNodes:()=>Es,getVisitorKeys:()=>Qr,handleComments:()=>Fu,insertPragma:()=>Ep,isBlockComment:()=>ye,isGap:()=>Fs,massageAstNode:()=>mi,print:()=>pD,printComment:()=>Li,willPrintOwnComments:()=>wu});var io=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},H=io,so=(e,t,n)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[n<0?t.length+n:n]:t.at(n)},X=so;function po(e){return e!==null&&typeof e=="object"}var lo=po;function*co(e,t){let{getVisitorKeys:n,filter:r=()=>!0}=t,u=(a)=>lo(a)&&r(a);for(let a of n(e)){let o=e[a];if(Array.isArray(o))for(let i of o)u(i)&&(yield i);else u(o)&&(yield o)}}function*Do(e,t){let n=[e];for(let r=0;r<n.length;r++){let u=n[r];for(let a of co(u,t))yield a,n.push(a)}}function yo(e,{getVisitorKeys:t,predicate:n}){for(let r of Do(e,{getVisitorKeys:t}))if(n(r))return!0;return!1}var mo=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function fo(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Eo(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Fo=(e)=>!(fo(e)||Eo(e)),Ao=/[^\x20-\x7F]/u;function go(e){if(!e)return 0;if(!Ao.test(e))return e.length;e=e.replace(mo()," ");let t=0;for(let n of e){let r=n.codePointAt(0);r<=31||r>=127&&r<=159||r>=768&&r<=879||(t+=Fo(r)?1:2)}return t}var ct=go;function tn(e){return(t,n,r)=>{let u=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:a}=t,o=n;for(;o>=0&&o<a;){let i=t.charAt(o);if(e instanceof RegExp){if(!e.test(i))return o}else if(!e.includes(i))return o;u?o--:o++}return o===-1||o===a?o:!1}}var hD=tn(/\s/u),Dt=tn(" \t"),xo=tn(",; \t"),ho=tn(/[^\n\r]/u);function Co(e,t,n){let r=!!(n!=null&&n.backwards);if(t===!1)return!1;let u=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&u===`
3
3
  `)return t-2;if(u===`
4
4
  `||u==="\r"||u==="\u2028"||u==="\u2029")return t-1}else{if(u==="\r"&&e.charAt(t+1)===`
5
5
  `)return t+2;if(u===`
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Rd as X}from"./chunk-1123xk5a.js";import{Sd as oe,Td as re}from"./chunk-0qmaxpkv.js";import{Ud as k,Vd as $}from"./chunk-jyh2g13j.js";import{Wd as we,Xd as ie}from"./chunk-cpkega70.js";import{Yd as ge}from"./chunk-db7hykjs.js";import{ee as H,he as K}from"./chunk-j2k4wxsk.js";import{ie as M,je as Y,oe as T}from"./chunk-n9gzj085.js";import{pe as U}from"./chunk-6w15nfph.js";import"./chunk-7yw60h8j.js";import{xe as me,ye as ue}from"./chunk-a2ty2e0g.js";import"./chunk-78wt9ad8.js";import{tf as y}from"./chunk-60dxyp37.js";import{lP as i,pP as g}from"./chunk-fa03gsff.js";var d=i(y(),1);var be=(...e)=>{let o=-1,t=Object.assign(async(n)=>{let c=await te(...e)(n);if(!c.expiration&&o!==-1)c.expiration=new Date(Date.now()+o);return c},{expireAfter(n){if(n<300000)throw Error("@aws-sdk/credential-providers - createCredentialChain(...).expireAfter(ms) may not be called with a duration lower than five minutes.");return o=n,t}});return t},te=(...e)=>async(o)=>{if(e.length===0)throw new d.ProviderError("No providers in chain",{tryNextLink:!1});let r;for(let t of e)try{return await t(o)}catch(n){if(r=n,n?.tryNextLink)continue;throw n}throw r};var v=i(y(),1);function O(e){return Promise.all(Object.keys(e).reduce((o,r)=>{let t=e[r];if(typeof t==="string")o.push([r,t]);else o.push(t().then((n)=>[r,n]));return o},[])).then((o)=>o.reduce((r,[t,n])=>{return r[t]=n,r},{}))}function N(e){return async(o)=>{e.logger?.debug("@aws-sdk/credential-provider-cognito-identity - fromCognitoIdentity");let{GetCredentialsForIdentityCommand:r,CognitoIdentityClient:t}=await import("./chunk-61ndvjmm.js"),n=(u)=>e.clientConfig?.[u]??e.parentClientConfig?.[u]??o?.callerClientConfig?.[u],{Credentials:{AccessKeyId:c=ne(e.logger),Expiration:l,SecretKey:s=le(e.logger),SessionToken:a}=ce(e.logger)}=await(e.client??new t(Object.assign({},e.clientConfig??{},{region:n("region"),profile:n("profile"),userAgentAppId:n("userAgentAppId")}))).send(new r({CustomRoleArn:e.customRoleArn,IdentityId:e.identityId,Logins:e.logins?await O(e.logins):void 0}));return{identityId:e.identityId,accessKeyId:c,secretAccessKey:s,sessionToken:a,expiration:l}}}function ne(e){throw new v.CredentialsProviderError("Response from Amazon Cognito contained no access key ID",{logger:e})}function ce(e){throw new v.CredentialsProviderError("Response from Amazon Cognito contained no credentials",{logger:e})}function le(e){throw new v.CredentialsProviderError("Response from Amazon Cognito contained no secret key",{logger:e})}var I=i(y(),1);class R{dbName;constructor(e="aws:cognito-identity-ids"){this.dbName=e}getItem(e){return this.withObjectStore("readonly",(o)=>{let r=o.get(e);return new Promise((t)=>{r.onerror=()=>t(null),r.onsuccess=()=>t(r.result?r.result.value:null)})}).catch(()=>null)}removeItem(e){return this.withObjectStore("readwrite",(o)=>{let r=o.delete(e);return new Promise((t,n)=>{r.onerror=()=>n(r.error),r.onsuccess=()=>t()})})}setItem(e,o){return this.withObjectStore("readwrite",(r)=>{let t=r.put({id:e,value:o});return new Promise((n,c)=>{t.onerror=()=>c(t.error),t.onsuccess=()=>n()})})}getDb(){let e=self.indexedDB.open(this.dbName,1);return new Promise((o,r)=>{e.onsuccess=()=>{o(e.result)},e.onerror=()=>{r(e.error)},e.onblocked=()=>{r(Error("Unable to access DB"))},e.onupgradeneeded=()=>{let t=e.result;t.onerror=()=>{r(Error("Failed to create object store"))},t.createObjectStore("IdentityIds",{keyPath:"id"})}})}withObjectStore(e,o){return this.getDb().then((r)=>{let t=r.transaction("IdentityIds",e);return t.oncomplete=()=>r.close(),new Promise((n,c)=>{t.onerror=()=>c(t.error),n(o(t.objectStore("IdentityIds")))}).catch((n)=>{throw r.close(),n})})}}class j{store;constructor(e={}){this.store=e}getItem(e){if(e in this.store)return this.store[e];return null}removeItem(e){delete this.store[e]}setItem(e,o){this.store[e]=o}}var ae=new j;function P(){if(typeof self==="object"&&self.indexedDB)return new R;if(typeof window==="object"&&window.localStorage)return window.localStorage;return ae}function D({accountId:e,cache:o=P(),client:r,clientConfig:t,customRoleArn:n,identityPoolId:c,logins:l,userIdentifier:s=!l||Object.keys(l).length===0?"ANONYMOUS":void 0,logger:a,parentClientConfig:u}){a?.debug("@aws-sdk/credential-provider-cognito-identity - fromCognitoIdentity");let S=s?`aws:cognito-identity-credentials:${c}:${s}`:void 0,f=async(C)=>{let{GetIdCommand:m,CognitoIdentityClient:b}=await import("./chunk-61ndvjmm.js"),h=(w)=>t?.[w]??u?.[w]??C?.callerClientConfig?.[w],p=r??new b(Object.assign({},t??{},{region:h("region"),profile:h("profile"),userAgentAppId:h("userAgentAppId")})),x=S&&await o.getItem(S);if(!x){let{IdentityId:w=se(a)}=await p.send(new m({AccountId:e,IdentityPoolId:c,Logins:l?await O(l):void 0}));if(x=w,S)Promise.resolve(o.setItem(S,x)).catch(()=>{})}return f=N({client:p,customRoleArn:n,logins:l,identityId:x}),f(C)};return(C)=>f(C).catch(async(m)=>{if(S)Promise.resolve(o.removeItem(S)).catch(()=>{});throw m})}function se(e){throw new I.CredentialsProviderError("Response from Amazon Cognito contained no identity ID",{logger:e})}var De=(e)=>N({...e});var Ke=(e)=>D({...e});var ze=(e)=>{return e?.logger?.debug("@smithy/credential-provider-imds","fromContainerMetadata"),H(e)};var Fe=(e)=>T(e);var Je=(e={})=>$({...e});var L=i(ue(),1);var Xe=(e)=>{return e?.logger?.debug("@smithy/credential-provider-imds","fromInstanceMetadata"),async()=>K(e)().then((o)=>L.setCredentialFeature(o,"CREDENTIALS_IMDS","0"))};var Ve=(e)=>k({...e});var A=i(y(),1);var E=i(y(),1),z="AWS_EC2_METADATA_DISABLED",G=async(e)=>{let{ENV_CMDS_FULL_URI:o,ENV_CMDS_RELATIVE_URI:r,fromContainerMetadata:t,fromInstanceMetadata:n}=await import("./chunk-cm31dbwq.js");if(process.env[r]||process.env[o]){e.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");let{fromHttp:c}=await import("./chunk-bbpze4hq.js");return E.chain(c(e),t(e))}if(process.env[z]&&process.env[z]!=="false")return async()=>{throw new E.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:e.logger})};return e.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),n(e)};function B(e,o){let r=fe(e),t,n,c,l,s=async(a)=>{if(a?.forceRefresh){if(!l)l=r(a).then((u)=>{c=u}).finally(()=>{l=void 0});return await l,c}if(c?.expiration){if(c?.expiration?.getTime()<Date.now())c=void 0}if(t)await t;else if(!c||o?.(c))if(c){if(!n)n=r(a).then((u)=>{c=u}).finally(()=>{n=void 0})}else return t=r(a).then((u)=>{c=u}).finally(()=>{t=void 0}),s(a);return c};return s}var fe=(e)=>async(o)=>{let r;for(let t of e)try{return await t(o)}catch(n){if(r=n,n?.tryNextLink)continue;throw n}throw r};var F=!1,J=(e={})=>B([async()=>{if(e.profile??process.env[A.ENV_PROFILE]){if(process.env[M]&&process.env[Y]){if(!F)(e.logger?.warn&&e.logger?.constructor?.name!=="NoOpLogger"?e.logger.warn.bind(e.logger):console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
2
+ import{Rd as X}from"./chunk-k5294ajv.js";import{Sd as oe,Td as re}from"./chunk-mg03szpz.js";import{Ud as k,Vd as $}from"./chunk-wk11xsdh.js";import{Wd as we,Xd as ie}from"./chunk-px15ev1g.js";import{Yd as ge}from"./chunk-ecczet3b.js";import{ee as H,he as K}from"./chunk-22tf95dw.js";import{ie as M,je as Y,oe as T}from"./chunk-ar1by07g.js";import{pe as U}from"./chunk-bkaprkf6.js";import"./chunk-m34zrf70.js";import{xe as me,ye as ue}from"./chunk-yccm7cfm.js";import"./chunk-88kt6qmd.js";import{tf as y}from"./chunk-c38ppnm8.js";import{nP as i,rP as g}from"./chunk-naq602da.js";var d=i(y(),1);var be=(...e)=>{let o=-1,t=Object.assign(async(n)=>{let c=await te(...e)(n);if(!c.expiration&&o!==-1)c.expiration=new Date(Date.now()+o);return c},{expireAfter(n){if(n<300000)throw Error("@aws-sdk/credential-providers - createCredentialChain(...).expireAfter(ms) may not be called with a duration lower than five minutes.");return o=n,t}});return t},te=(...e)=>async(o)=>{if(e.length===0)throw new d.ProviderError("No providers in chain",{tryNextLink:!1});let r;for(let t of e)try{return await t(o)}catch(n){if(r=n,n?.tryNextLink)continue;throw n}throw r};var v=i(y(),1);function O(e){return Promise.all(Object.keys(e).reduce((o,r)=>{let t=e[r];if(typeof t==="string")o.push([r,t]);else o.push(t().then((n)=>[r,n]));return o},[])).then((o)=>o.reduce((r,[t,n])=>{return r[t]=n,r},{}))}function N(e){return async(o)=>{e.logger?.debug("@aws-sdk/credential-provider-cognito-identity - fromCognitoIdentity");let{GetCredentialsForIdentityCommand:r,CognitoIdentityClient:t}=await import("./chunk-an5sr6gw.js"),n=(u)=>e.clientConfig?.[u]??e.parentClientConfig?.[u]??o?.callerClientConfig?.[u],{Credentials:{AccessKeyId:c=ne(e.logger),Expiration:l,SecretKey:s=le(e.logger),SessionToken:a}=ce(e.logger)}=await(e.client??new t(Object.assign({},e.clientConfig??{},{region:n("region"),profile:n("profile"),userAgentAppId:n("userAgentAppId")}))).send(new r({CustomRoleArn:e.customRoleArn,IdentityId:e.identityId,Logins:e.logins?await O(e.logins):void 0}));return{identityId:e.identityId,accessKeyId:c,secretAccessKey:s,sessionToken:a,expiration:l}}}function ne(e){throw new v.CredentialsProviderError("Response from Amazon Cognito contained no access key ID",{logger:e})}function ce(e){throw new v.CredentialsProviderError("Response from Amazon Cognito contained no credentials",{logger:e})}function le(e){throw new v.CredentialsProviderError("Response from Amazon Cognito contained no secret key",{logger:e})}var I=i(y(),1);class R{dbName;constructor(e="aws:cognito-identity-ids"){this.dbName=e}getItem(e){return this.withObjectStore("readonly",(o)=>{let r=o.get(e);return new Promise((t)=>{r.onerror=()=>t(null),r.onsuccess=()=>t(r.result?r.result.value:null)})}).catch(()=>null)}removeItem(e){return this.withObjectStore("readwrite",(o)=>{let r=o.delete(e);return new Promise((t,n)=>{r.onerror=()=>n(r.error),r.onsuccess=()=>t()})})}setItem(e,o){return this.withObjectStore("readwrite",(r)=>{let t=r.put({id:e,value:o});return new Promise((n,c)=>{t.onerror=()=>c(t.error),t.onsuccess=()=>n()})})}getDb(){let e=self.indexedDB.open(this.dbName,1);return new Promise((o,r)=>{e.onsuccess=()=>{o(e.result)},e.onerror=()=>{r(e.error)},e.onblocked=()=>{r(Error("Unable to access DB"))},e.onupgradeneeded=()=>{let t=e.result;t.onerror=()=>{r(Error("Failed to create object store"))},t.createObjectStore("IdentityIds",{keyPath:"id"})}})}withObjectStore(e,o){return this.getDb().then((r)=>{let t=r.transaction("IdentityIds",e);return t.oncomplete=()=>r.close(),new Promise((n,c)=>{t.onerror=()=>c(t.error),n(o(t.objectStore("IdentityIds")))}).catch((n)=>{throw r.close(),n})})}}class j{store;constructor(e={}){this.store=e}getItem(e){if(e in this.store)return this.store[e];return null}removeItem(e){delete this.store[e]}setItem(e,o){this.store[e]=o}}var ae=new j;function P(){if(typeof self==="object"&&self.indexedDB)return new R;if(typeof window==="object"&&window.localStorage)return window.localStorage;return ae}function D({accountId:e,cache:o=P(),client:r,clientConfig:t,customRoleArn:n,identityPoolId:c,logins:l,userIdentifier:s=!l||Object.keys(l).length===0?"ANONYMOUS":void 0,logger:a,parentClientConfig:u}){a?.debug("@aws-sdk/credential-provider-cognito-identity - fromCognitoIdentity");let S=s?`aws:cognito-identity-credentials:${c}:${s}`:void 0,f=async(C)=>{let{GetIdCommand:m,CognitoIdentityClient:b}=await import("./chunk-an5sr6gw.js"),h=(w)=>t?.[w]??u?.[w]??C?.callerClientConfig?.[w],p=r??new b(Object.assign({},t??{},{region:h("region"),profile:h("profile"),userAgentAppId:h("userAgentAppId")})),x=S&&await o.getItem(S);if(!x){let{IdentityId:w=se(a)}=await p.send(new m({AccountId:e,IdentityPoolId:c,Logins:l?await O(l):void 0}));if(x=w,S)Promise.resolve(o.setItem(S,x)).catch(()=>{})}return f=N({client:p,customRoleArn:n,logins:l,identityId:x}),f(C)};return(C)=>f(C).catch(async(m)=>{if(S)Promise.resolve(o.removeItem(S)).catch(()=>{});throw m})}function se(e){throw new I.CredentialsProviderError("Response from Amazon Cognito contained no identity ID",{logger:e})}var De=(e)=>N({...e});var Ke=(e)=>D({...e});var ze=(e)=>{return e?.logger?.debug("@smithy/credential-provider-imds","fromContainerMetadata"),H(e)};var Fe=(e)=>T(e);var Je=(e={})=>$({...e});var L=i(ue(),1);var Xe=(e)=>{return e?.logger?.debug("@smithy/credential-provider-imds","fromInstanceMetadata"),async()=>K(e)().then((o)=>L.setCredentialFeature(o,"CREDENTIALS_IMDS","0"))};var Ve=(e)=>k({...e});var A=i(y(),1);var E=i(y(),1),z="AWS_EC2_METADATA_DISABLED",G=async(e)=>{let{ENV_CMDS_FULL_URI:o,ENV_CMDS_RELATIVE_URI:r,fromContainerMetadata:t,fromInstanceMetadata:n}=await import("./chunk-3vgnqaem.js");if(process.env[r]||process.env[o]){e.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");let{fromHttp:c}=await import("./chunk-r6xhxvjv.js");return E.chain(c(e),t(e))}if(process.env[z]&&process.env[z]!=="false")return async()=>{throw new E.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:e.logger})};return e.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),n(e)};function B(e,o){let r=fe(e),t,n,c,l,s=async(a)=>{if(a?.forceRefresh){if(!l)l=r(a).then((u)=>{c=u}).finally(()=>{l=void 0});return await l,c}if(c?.expiration){if(c?.expiration?.getTime()<Date.now())c=void 0}if(t)await t;else if(!c||o?.(c))if(c){if(!n)n=r(a).then((u)=>{c=u}).finally(()=>{n=void 0})}else return t=r(a).then((u)=>{c=u}).finally(()=>{t=void 0}),s(a);return c};return s}var fe=(e)=>async(o)=>{let r;for(let t of e)try{return await t(o)}catch(n){if(r=n,n?.tryNextLink)continue;throw n}throw r};var F=!1,J=(e={})=>B([async()=>{if(e.profile??process.env[A.ENV_PROFILE]){if(process.env[M]&&process.env[Y]){if(!F)(e.logger?.warn&&e.logger?.constructor?.name!=="NoOpLogger"?e.logger.warn.bind(e.logger):console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
3
3
  Multiple credential sources detected:
4
4
  Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
5
5
  This SDK will proceed with the AWS_PROFILE value.
@@ -7,4 +7,4 @@ import{Rd as X}from"./chunk-1123xk5a.js";import{Sd as oe,Td as re}from"./chunk-0
7
7
  However, a future version may change this behavior to prefer the ENV static credentials.
8
8
  Please ensure that your environment only sets either the AWS_PROFILE or the
9
9
  AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
10
- `),F=!0}throw new A.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:e.logger,tryNextLink:!0})}return e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),T(e)()},async(o)=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl:r,ssoAccountId:t,ssoRegion:n,ssoRoleName:c,ssoSession:l}=e;if(!r&&!t&&!n&&!c&&!l)throw new A.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:e.logger});let{fromSSO:s}=await import("./chunk-cqaw6hka.js");return s(e)(o)},async(o)=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni:r}=await import("./chunk-ax4f4fbm.js");return r(e)(o)},async(o)=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess:r}=await import("./chunk-pzajshbc.js");return r(e)(o)},async(o)=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile:r}=await import("./chunk-0y2nwncb.js");return r(e)(o)},async()=>{return e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await G(e))()},async()=>{throw new A.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:!1,logger:e.logger})}],de);var de=(e)=>e?.expiration!==void 0&&e.expiration.getTime()-Date.now()<300000;var Q=(e={})=>J({...e});var ur=(e)=>U(e);var mr=(e={})=>{return X({...e})};var _=i(we(),1),ee=i(ie(),1);var W=i(me(),1);var he="us-east-1",V=(e,o,r)=>{let t;return async(n={})=>{let{callerClientConfig:c}=n,l=e.clientConfig?.profile??c?.profile,s=e.logger??c?.logger;s?.debug("@aws-sdk/credential-providers - fromTemporaryCredentials (STS)");let a={...e.params,RoleSessionName:e.params.RoleSessionName??"aws-sdk-js-"+Date.now()};if(a?.SerialNumber){if(!e.mfaCodeProvider)throw new d.CredentialsProviderError("Temporary credential requires multi-factor authentication, but no MFA code callback was provided.",{tryNextLink:!1,logger:s});a.TokenCode=await e.mfaCodeProvider(a?.SerialNumber)}let{AssumeRoleCommand:u,STSClient:S}=await import("./chunk-c2w3bqsa.js");if(!t){let C=typeof o==="function"?o():void 0,m=[e.masterCredentials,e.clientConfig?.credentials,void c?.credentials,c?.credentialDefaultProvider?.(),C],b="STS client default credentials";if(m[0])b="options.masterCredentials";else if(m[1])b="options.clientConfig.credentials";else if(m[2])throw b="caller client's credentials",Error("fromTemporaryCredentials recursion in callerClientConfig.credentials");else if(m[3])b="caller client's credentialDefaultProvider";else if(m[4])b="AWS SDK default credentials";let h=[e.clientConfig?.region,c?.region,await r?.({profile:l}),he],p="default partition's default region";if(h[0])p="options.clientConfig.region";else if(h[1])p="caller client's region";else if(h[2])p="file or env region";let x=[Z(e.clientConfig?.requestHandler),Z(c?.requestHandler)],w="STS default requestHandler";if(x[0])w="options.clientConfig.requestHandler";else if(x[1])w="caller client's requestHandler";s?.debug?.(`@aws-sdk/credential-providers - fromTemporaryCredentials STS client init with ${p}=${await W.normalizeProvider(q(h))()}, ${b}, ${w}.`),t=new S({userAgentAppId:c?.userAgentAppId,...e.clientConfig,credentials:q(m),logger:s,profile:l,region:q(h),requestHandler:q(x)})}if(e.clientPlugins)for(let C of e.clientPlugins)t.middlewareStack.use(C);let{Credentials:f}=await t.send(new u(a));if(!f||!f.AccessKeyId||!f.SecretAccessKey)throw new d.CredentialsProviderError(`Invalid response from STS.assumeRole call with role ${a.RoleArn}`,{logger:s});return{accessKeyId:f.AccessKeyId,secretAccessKey:f.SecretAccessKey,sessionToken:f.SessionToken,expiration:f.Expiration,credentialScope:f.CredentialScope}}},Z=(e)=>{return e?.metadata?.handlerProtocol==="h2"?void 0:e},q=(e)=>{for(let o of e)if(o!==void 0)return o};var Cr=(e)=>{return V(e,Q,async({profile:o=process.env.AWS_PROFILE})=>ee.loadConfig({environmentVariableSelector:(r)=>r.AWS_REGION,configFileSelector:(r)=>{return r.region},default:()=>{return}},{..._.NODE_REGION_CONFIG_FILE_OPTIONS,profile:o})())};var pr=(e={})=>re({...e});var Or=(e)=>oe({...e});export{te as propertyProviderChain,Or as fromWebToken,pr as fromTokenFile,Cr as fromTemporaryCredentials,mr as fromSSO,ur as fromProcess,Q as fromNodeProviderChain,Ve as fromLoginCredentials,Xe as fromInstanceMetadata,Je as fromIni,ge as fromHttp,Fe as fromEnv,ze as fromContainerMetadata,Ke as fromCognitoIdentityPool,De as fromCognitoIdentity,be as createCredentialChain};
10
+ `),F=!0}throw new A.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:e.logger,tryNextLink:!0})}return e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),T(e)()},async(o)=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl:r,ssoAccountId:t,ssoRegion:n,ssoRoleName:c,ssoSession:l}=e;if(!r&&!t&&!n&&!c&&!l)throw new A.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:e.logger});let{fromSSO:s}=await import("./chunk-3xrhxyz9.js");return s(e)(o)},async(o)=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni:r}=await import("./chunk-bh46627y.js");return r(e)(o)},async(o)=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess:r}=await import("./chunk-k1e7w7w5.js");return r(e)(o)},async(o)=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile:r}=await import("./chunk-rsd3v7cg.js");return r(e)(o)},async()=>{return e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await G(e))()},async()=>{throw new A.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:!1,logger:e.logger})}],de);var de=(e)=>e?.expiration!==void 0&&e.expiration.getTime()-Date.now()<300000;var Q=(e={})=>J({...e});var ur=(e)=>U(e);var mr=(e={})=>{return X({...e})};var _=i(we(),1),ee=i(ie(),1);var W=i(me(),1);var he="us-east-1",V=(e,o,r)=>{let t;return async(n={})=>{let{callerClientConfig:c}=n,l=e.clientConfig?.profile??c?.profile,s=e.logger??c?.logger;s?.debug("@aws-sdk/credential-providers - fromTemporaryCredentials (STS)");let a={...e.params,RoleSessionName:e.params.RoleSessionName??"aws-sdk-js-"+Date.now()};if(a?.SerialNumber){if(!e.mfaCodeProvider)throw new d.CredentialsProviderError("Temporary credential requires multi-factor authentication, but no MFA code callback was provided.",{tryNextLink:!1,logger:s});a.TokenCode=await e.mfaCodeProvider(a?.SerialNumber)}let{AssumeRoleCommand:u,STSClient:S}=await import("./chunk-fnect0ny.js");if(!t){let C=typeof o==="function"?o():void 0,m=[e.masterCredentials,e.clientConfig?.credentials,void c?.credentials,c?.credentialDefaultProvider?.(),C],b="STS client default credentials";if(m[0])b="options.masterCredentials";else if(m[1])b="options.clientConfig.credentials";else if(m[2])throw b="caller client's credentials",Error("fromTemporaryCredentials recursion in callerClientConfig.credentials");else if(m[3])b="caller client's credentialDefaultProvider";else if(m[4])b="AWS SDK default credentials";let h=[e.clientConfig?.region,c?.region,await r?.({profile:l}),he],p="default partition's default region";if(h[0])p="options.clientConfig.region";else if(h[1])p="caller client's region";else if(h[2])p="file or env region";let x=[Z(e.clientConfig?.requestHandler),Z(c?.requestHandler)],w="STS default requestHandler";if(x[0])w="options.clientConfig.requestHandler";else if(x[1])w="caller client's requestHandler";s?.debug?.(`@aws-sdk/credential-providers - fromTemporaryCredentials STS client init with ${p}=${await W.normalizeProvider(q(h))()}, ${b}, ${w}.`),t=new S({userAgentAppId:c?.userAgentAppId,...e.clientConfig,credentials:q(m),logger:s,profile:l,region:q(h),requestHandler:q(x)})}if(e.clientPlugins)for(let C of e.clientPlugins)t.middlewareStack.use(C);let{Credentials:f}=await t.send(new u(a));if(!f||!f.AccessKeyId||!f.SecretAccessKey)throw new d.CredentialsProviderError(`Invalid response from STS.assumeRole call with role ${a.RoleArn}`,{logger:s});return{accessKeyId:f.AccessKeyId,secretAccessKey:f.SecretAccessKey,sessionToken:f.SessionToken,expiration:f.Expiration,credentialScope:f.CredentialScope}}},Z=(e)=>{return e?.metadata?.handlerProtocol==="h2"?void 0:e},q=(e)=>{for(let o of e)if(o!==void 0)return o};var Cr=(e)=>{return V(e,Q,async({profile:o=process.env.AWS_PROFILE})=>ee.loadConfig({environmentVariableSelector:(r)=>r.AWS_REGION,configFileSelector:(r)=>{return r.region},default:()=>{return}},{..._.NODE_REGION_CONFIG_FILE_OPTIONS,profile:o})())};var pr=(e={})=>re({...e});var Or=(e)=>oe({...e});export{te as propertyProviderChain,Or as fromWebToken,pr as fromTokenFile,Cr as fromTemporaryCredentials,mr as fromSSO,ur as fromProcess,Q as fromNodeProviderChain,Ve as fromLoginCredentials,Xe as fromInstanceMetadata,Je as fromIni,ge as fromHttp,Fe as fromEnv,ze as fromContainerMetadata,Ke as fromCognitoIdentityPool,De as fromCognitoIdentity,be as createCredentialChain};