@qitqode/qitqode-android-arm64 0.2.13 → 0.2.14

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 (408) hide show
  1. package/bundle/{chunk-9c0f79mt.js → chunk-00ft63qn.js} +1 -1
  2. package/bundle/chunk-00r3he5x.js +2 -0
  3. package/bundle/{chunk-vr7525pa.js → chunk-02tmc2st.js} +1 -1
  4. package/bundle/{chunk-81mwbcy3.js → chunk-05bkxat0.js} +2 -2
  5. package/bundle/{chunk-ewde5bss.js → chunk-06tgmvh6.js} +2 -2
  6. package/bundle/{chunk-etvwxwn3.js → chunk-07b4pkk6.js} +1 -1
  7. package/bundle/{chunk-wqm1vawg.js → chunk-0ejx0yqx.js} +1 -1
  8. package/bundle/chunk-0ks20gz1.js +2 -0
  9. package/bundle/{chunk-2md5fz4f.js → chunk-0m4gvjcv.js} +2 -2
  10. package/bundle/{chunk-jf4zyy7r.js → chunk-0mztgsxp.js} +1 -1
  11. package/bundle/{chunk-7bvh48s2.js → chunk-10kj86va.js} +1 -1
  12. package/bundle/{chunk-b46t2315.js → chunk-10q04xh5.js} +1 -1
  13. package/bundle/{chunk-dwjv3m5s.js → chunk-175720ws.js} +2 -2
  14. package/bundle/{chunk-xgphhnpk.js → chunk-19rs84t8.js} +1 -1
  15. package/bundle/{chunk-ajykvcas.js → chunk-1a08ffyd.js} +1 -1
  16. package/bundle/{chunk-hsmtjb4d.js → chunk-1bq15kf0.js} +2 -2
  17. package/bundle/{chunk-1sejtx9a.js → chunk-1e75j4m1.js} +2 -2
  18. package/bundle/{chunk-c1srcpfk.js → chunk-1gdt9q05.js} +1 -1
  19. package/bundle/{chunk-3be70hxy.js → chunk-1mfdmm2t.js} +1 -1
  20. package/bundle/{chunk-dmgdwvn1.js → chunk-1pft3sar.js} +1 -1
  21. package/bundle/chunk-1r7anzk5.js +2 -0
  22. package/bundle/{chunk-rr94dpe9.js → chunk-1ypzf18e.js} +1 -1
  23. package/bundle/chunk-26e51217.js +2 -0
  24. package/bundle/{chunk-bd4krah7.js → chunk-2ascwm7j.js} +1 -1
  25. package/bundle/{chunk-q7wc3frq.js → chunk-2d61z24r.js} +1 -1
  26. package/bundle/chunk-2g4kxtz0.js +2 -0
  27. package/bundle/chunk-2jzay8a9.js +2 -0
  28. package/bundle/{chunk-5828bcp8.js → chunk-2k2szpze.js} +1 -1
  29. package/bundle/chunk-2q78bdtj.js +2 -0
  30. package/bundle/{chunk-jrh028na.js → chunk-2w3n0q9m.js} +2 -2
  31. package/bundle/{chunk-sv27ep93.js → chunk-2w79k0mh.js} +2 -2
  32. package/bundle/chunk-30rghawe.js +2 -0
  33. package/bundle/{chunk-jt94rhev.js → chunk-3152y1q9.js} +1 -1
  34. package/bundle/{chunk-1851skhm.js → chunk-31a47ptm.js} +1 -1
  35. package/bundle/chunk-33mzqyyb.js +3 -0
  36. package/bundle/chunk-34yk99ep.js +2 -0
  37. package/bundle/{chunk-2p1qaqv3.js → chunk-358wdvj7.js} +2 -2
  38. package/bundle/{chunk-fqzfytjk.js → chunk-3c73rngn.js} +1 -1
  39. package/bundle/{chunk-wspm2k19.js → chunk-3cs1qf8x.js} +1 -1
  40. package/bundle/chunk-3dajnr1w.js +2 -0
  41. package/bundle/chunk-3ege6krg.js +2 -0
  42. package/bundle/chunk-43vpxggb.js +2 -0
  43. package/bundle/{chunk-aq75kv5f.js → chunk-47jkx37s.js} +3 -3
  44. package/bundle/{chunk-hcd0k14e.js → chunk-48rg4yhk.js} +2 -2
  45. package/bundle/chunk-49y7zg15.js +2 -0
  46. package/bundle/{chunk-qa38xchd.js → chunk-4hvenszg.js} +1 -1
  47. package/bundle/{chunk-msbe5rb7.js → chunk-4p9fny77.js} +1 -1
  48. package/bundle/{chunk-g6ffx794.js → chunk-4ppw719f.js} +1 -1
  49. package/bundle/{chunk-g0x6q2ks.js → chunk-4r7fbkcm.js} +1 -1
  50. package/bundle/{chunk-5fbzvy6q.js → chunk-4s1n38ds.js} +2 -2
  51. package/bundle/{chunk-z6qb4gt5.js → chunk-4v29ayke.js} +1 -1
  52. package/bundle/{chunk-gvc1mqrs.js → chunk-4xqwt6dr.js} +2 -2
  53. package/bundle/{chunk-1bhcg889.js → chunk-4ycg2c6f.js} +2 -2
  54. package/bundle/{chunk-pzn7cade.js → chunk-5341jv20.js} +1 -1
  55. package/bundle/{chunk-eefzbdbk.js → chunk-583d91xq.js} +2 -2
  56. package/bundle/{chunk-z6f54x4k.js → chunk-5cwy8y78.js} +2 -2
  57. package/bundle/{chunk-6g3bzap8.js → chunk-5dvy83ms.js} +2 -2
  58. package/bundle/{chunk-ff031crt.js → chunk-5h1s0akp.js} +1 -1
  59. package/bundle/{chunk-tn0sfsks.js → chunk-5mf4qrye.js} +2 -2
  60. package/bundle/{chunk-0mdmqtfr.js → chunk-5q98z8ck.js} +2 -2
  61. package/bundle/chunk-5qhsfjzq.js +3 -0
  62. package/bundle/{chunk-y9kjt2jj.js → chunk-5rvvfgfy.js} +2 -2
  63. package/bundle/chunk-5xxn06g0.js +2 -0
  64. package/bundle/{chunk-2d0vympj.js → chunk-61b81z2h.js} +1 -1
  65. package/bundle/{chunk-4enhsmq1.js → chunk-62gefpwn.js} +2 -2
  66. package/bundle/{chunk-2h8b0csf.js → chunk-674pexjx.js} +2 -2
  67. package/bundle/{chunk-4ar8hey8.js → chunk-69htq8kq.js} +1 -1
  68. package/bundle/{chunk-h1p3xcfp.js → chunk-69k7cdtv.js} +2 -2
  69. package/bundle/{chunk-53n3tfwn.js → chunk-6cztstry.js} +2 -2
  70. package/bundle/{chunk-ba2hn77m.js → chunk-6d4xc6br.js} +1 -1
  71. package/bundle/{chunk-vqxyk6as.js → chunk-6dd2dx69.js} +2 -2
  72. package/bundle/{chunk-eftk07r3.js → chunk-6j53vtzd.js} +1 -1
  73. package/bundle/{chunk-yzxcjr6y.js → chunk-6kch0q2d.js} +2 -2
  74. package/bundle/{chunk-sn15skh8.js → chunk-6pt6nqwk.js} +1 -1
  75. package/bundle/{chunk-r9hsd9pw.js → chunk-6wmtbebc.js} +1 -1
  76. package/bundle/{chunk-3fx3eghq.js → chunk-6y0wgz2j.js} +1 -1
  77. package/bundle/{chunk-vvmvryh1.js → chunk-6yshpz0z.js} +2 -2
  78. package/bundle/{chunk-2ts2s8b4.js → chunk-71jmhvef.js} +2 -2
  79. package/bundle/{chunk-9xbc558j.js → chunk-73a7ts8r.js} +1 -1
  80. package/bundle/{chunk-5rtsnnjk.js → chunk-7a4sb6q7.js} +1 -1
  81. package/bundle/chunk-7cp30q0t.js +2 -0
  82. package/bundle/{chunk-d4ys15w3.js → chunk-7s9msscb.js} +1 -1
  83. package/bundle/{chunk-v30fmrz0.js → chunk-7w571q26.js} +1 -1
  84. package/bundle/chunk-7xc73qb1.js +2 -0
  85. package/bundle/{chunk-m18pxkdg.js → chunk-840mmmzz.js} +4 -4
  86. package/bundle/{chunk-jcn8bg31.js → chunk-86reb44c.js} +1 -1
  87. package/bundle/{chunk-hnbtfpb7.js → chunk-86sfzgnf.js} +1 -1
  88. package/bundle/{chunk-v9yxkbz7.js → chunk-8a9sj8gp.js} +1 -1
  89. package/bundle/{chunk-404ew3d3.js → chunk-8b9z8j3z.js} +1 -1
  90. package/bundle/{chunk-0cjp9088.js → chunk-8gkz5550.js} +1 -1
  91. package/bundle/chunk-8gz8fk6r.js +2 -0
  92. package/bundle/chunk-8ht7cq3h.js +2 -0
  93. package/bundle/{chunk-dpm5x19e.js → chunk-8jkqyf9n.js} +2 -2
  94. package/bundle/{chunk-3rcfy8te.js → chunk-8qpfphdz.js} +1 -1
  95. package/bundle/chunk-8qv0119d.js +2 -0
  96. package/bundle/{chunk-t1hw67x4.js → chunk-8zpsgfb6.js} +1 -1
  97. package/bundle/{chunk-c99npyz9.js → chunk-96sra8g8.js} +1 -1
  98. package/bundle/{chunk-nn2hbew8.js → chunk-99df6wvm.js} +1 -1
  99. package/bundle/{chunk-5wjwzbk8.js → chunk-9amnqaeq.js} +1 -1
  100. package/bundle/{chunk-z1psybn1.js → chunk-9gxyt2ay.js} +2 -2
  101. package/bundle/{chunk-hk8m8vax.js → chunk-9kc2th5c.js} +2 -2
  102. package/bundle/chunk-9m0eawt5.js +2 -0
  103. package/bundle/{chunk-fj87htwn.js → chunk-9mabvb06.js} +1 -1
  104. package/bundle/chunk-9thgxbze.js +2 -0
  105. package/bundle/{chunk-xn6mwsc9.js → chunk-9ttebtcf.js} +1 -1
  106. package/bundle/{chunk-gdawpkxs.js → chunk-9z7y4x7q.js} +1 -1
  107. package/bundle/{chunk-xgdst5n5.js → chunk-9znfb8f2.js} +2 -2
  108. package/bundle/chunk-9zsp3qkh.js +2 -0
  109. package/bundle/{chunk-mfg4stzn.js → chunk-a1mbach4.js} +1 -1
  110. package/bundle/chunk-a32y70fe.js +2 -0
  111. package/bundle/{chunk-hgcnzsd5.js → chunk-a3g8de96.js} +1 -1
  112. package/bundle/{chunk-bydaqb08.js → chunk-a8askx4y.js} +1 -1
  113. package/bundle/{chunk-gcpwm7b5.js → chunk-adws0hhk.js} +2 -2
  114. package/bundle/{chunk-1rw4srd1.js → chunk-ae1g5y4r.js} +1 -1
  115. package/bundle/{chunk-y5m9c5ek.js → chunk-ahgb3r1c.js} +2 -2
  116. package/bundle/{chunk-6p848y99.js → chunk-art8gejd.js} +1 -1
  117. package/bundle/{chunk-eh73j82b.js → chunk-avksqxan.js} +1 -1
  118. package/bundle/chunk-avzaqy6a.js +2 -0
  119. package/bundle/chunk-az12tp53.js +2 -0
  120. package/bundle/{chunk-gjmxrz0v.js → chunk-b350g18y.js} +2 -2
  121. package/bundle/chunk-b5dpzcc7.js +2 -0
  122. package/bundle/chunk-bcgtqx3g.js +2 -0
  123. package/bundle/{chunk-0w77vhg4.js → chunk-bdcd2mcb.js} +2 -2
  124. package/bundle/chunk-bde5d507.js +2 -0
  125. package/bundle/{chunk-139qfnsq.js → chunk-bemyyen3.js} +1 -1
  126. package/bundle/{chunk-84712kbe.js → chunk-bga4kqd1.js} +2 -2
  127. package/bundle/{chunk-4s9d2zte.js → chunk-bm8azfnt.js} +1 -1
  128. package/bundle/{chunk-1bbx1da7.js → chunk-bmdqb48f.js} +1 -1
  129. package/bundle/{chunk-bpv378bm.js → chunk-bq6cvf16.js} +2 -2
  130. package/bundle/{chunk-t66gerft.js → chunk-bxnsrggq.js} +1 -1
  131. package/bundle/{chunk-2b80n6nx.js → chunk-bzh71a92.js} +1 -1
  132. package/bundle/chunk-bzzggc3s.js +2 -0
  133. package/bundle/{chunk-78rfz0ex.js → chunk-c5cyt23k.js} +2 -2
  134. package/bundle/chunk-c8qx439t.js +2 -0
  135. package/bundle/{chunk-t1e52h0k.js → chunk-ch7s512a.js} +1 -1
  136. package/bundle/{chunk-jmrqp50k.js → chunk-chnr7pe5.js} +1 -1
  137. package/bundle/chunk-ckw51fn6.js +2 -0
  138. package/bundle/{chunk-1rafe6f5.js → chunk-crqycrs4.js} +2 -2
  139. package/bundle/{chunk-z2cnd2cp.js → chunk-d10qre1b.js} +1 -1
  140. package/bundle/{chunk-v6djkm35.js → chunk-d385e2qt.js} +1 -1
  141. package/bundle/{chunk-paqy0c2v.js → chunk-d4faz5xa.js} +1 -1
  142. package/bundle/{chunk-8xbd0ra5.js → chunk-d7h1dp0h.js} +1 -1
  143. package/bundle/chunk-denp0wrq.js +2 -0
  144. package/bundle/chunk-depxzjer.js +2 -0
  145. package/bundle/chunk-dhvqpcf3.js +2 -0
  146. package/bundle/chunk-dkqqswbv.js +2 -0
  147. package/bundle/{chunk-e4658j15.js → chunk-dmb0ez0m.js} +3 -3
  148. package/bundle/{chunk-47pxz6cb.js → chunk-dn0437c1.js} +2 -2
  149. package/bundle/{chunk-es6vbsjg.js → chunk-dvp0r93q.js} +1 -1
  150. package/bundle/{chunk-374js0y6.js → chunk-e18hshcg.js} +1 -1
  151. package/bundle/chunk-e5t7jsxa.js +2 -0
  152. package/bundle/{chunk-wac35a6p.js → chunk-e611m0p4.js} +1 -1
  153. package/bundle/{chunk-4krmja97.js → chunk-e8s4mp5n.js} +2 -2
  154. package/bundle/chunk-eb811dt2.js +2 -0
  155. package/bundle/{chunk-95ga21eq.js → chunk-edvfqxfr.js} +1 -1
  156. package/bundle/{chunk-yhe5qz48.js → chunk-ej0yzstw.js} +2 -2
  157. package/bundle/{chunk-7p8f8xav.js → chunk-ep4drmt9.js} +1 -1
  158. package/bundle/{chunk-xaewye8w.js → chunk-eqsank84.js} +1 -1
  159. package/bundle/{chunk-s7ypkpg2.js → chunk-et3tgx7t.js} +1 -1
  160. package/bundle/{chunk-trg0zg0q.js → chunk-f0dp1tf9.js} +1 -1
  161. package/bundle/chunk-fbz2xv2w.js +2 -0
  162. package/bundle/{chunk-cv3xdp8q.js → chunk-fd04358e.js} +375 -305
  163. package/bundle/{chunk-mbma071k.js → chunk-fdmz0502.js} +2 -2
  164. package/bundle/{chunk-mrh5q4s6.js → chunk-ffx0cr44.js} +2 -2
  165. package/bundle/{chunk-e6s8ep9m.js → chunk-ffyj5nsg.js} +2 -2
  166. package/bundle/{chunk-2bfq0mtx.js → chunk-ffz334ab.js} +1 -1
  167. package/bundle/{chunk-9a9qcvtz.js → chunk-fkq0v5qv.js} +2 -2
  168. package/bundle/{chunk-mp5m0acf.js → chunk-fmcg649e.js} +1 -1
  169. package/bundle/{chunk-g3y5kvg6.js → chunk-fp2xgnjn.js} +2 -2
  170. package/bundle/{chunk-rqdfmbns.js → chunk-fpzkyzny.js} +2 -2
  171. package/bundle/{chunk-yg5azmxb.js → chunk-g738e799.js} +2 -2
  172. package/bundle/{chunk-1exjy880.js → chunk-g77kddrs.js} +2 -2
  173. package/bundle/chunk-gbvcb4k1.js +2 -0
  174. package/bundle/{chunk-mgff8bcx.js → chunk-gd0j16gn.js} +1 -1
  175. package/bundle/chunk-gdtnqzbp.js +2 -0
  176. package/bundle/{chunk-hrfdrz36.js → chunk-gfvq78gy.js} +1 -1
  177. package/bundle/{chunk-h2vtypa5.js → chunk-gkf7x1yj.js} +1 -1
  178. package/bundle/chunk-gkfvhh28.js +2 -0
  179. package/bundle/chunk-gnh8c49b.js +2 -0
  180. package/bundle/chunk-gvf6ek9f.js +2 -0
  181. package/bundle/chunk-gvx5hmhk.js +2 -0
  182. package/bundle/{chunk-1f9qcrn6.js → chunk-h036zy9e.js} +2 -2
  183. package/bundle/{chunk-zhddj91f.js → chunk-hf39qx6t.js} +2 -2
  184. package/bundle/chunk-hham7r33.js +2 -0
  185. package/bundle/{chunk-map852em.js → chunk-hrcqbadm.js} +1 -1
  186. package/bundle/chunk-hsjbe5zy.js +2 -0
  187. package/bundle/{chunk-fbd971t7.js → chunk-hx13a8es.js} +3 -3
  188. package/bundle/{chunk-04x4b2yy.js → chunk-j15wejz0.js} +1 -1
  189. package/bundle/{chunk-08mgb5tt.js → chunk-j1bv93m4.js} +12 -10
  190. package/bundle/{chunk-5es19n1m.js → chunk-j2snkw45.js} +2 -2
  191. package/bundle/{chunk-z66xdxkg.js → chunk-j3agzs13.js} +2 -2
  192. package/bundle/{chunk-4wzv2v36.js → chunk-j45p2v4a.js} +3 -3
  193. package/bundle/{chunk-094m66q5.js → chunk-j46bxb1b.js} +1 -1
  194. package/bundle/{chunk-5e0vejcb.js → chunk-jvvctqjd.js} +2 -2
  195. package/bundle/chunk-jvx7jtm4.js +3 -0
  196. package/bundle/{chunk-0ware2sh.js → chunk-jwv6fda1.js} +2 -2
  197. package/bundle/{chunk-1gt6ppza.js → chunk-k0chq88p.js} +1 -1
  198. package/bundle/chunk-k6gdmqff.js +2 -0
  199. package/bundle/{chunk-8t17w67q.js → chunk-k769v1ds.js} +1 -1
  200. package/bundle/{chunk-ycth54ja.js → chunk-kdqhwa65.js} +1 -1
  201. package/bundle/{chunk-8hrt4d0v.js → chunk-ky3fhz9z.js} +1 -1
  202. package/bundle/chunk-kzkb4648.js +2 -0
  203. package/bundle/chunk-m2540waa.js +2 -0
  204. package/bundle/{chunk-hp9q7vvq.js → chunk-m6967jtv.js} +2 -2
  205. package/bundle/{chunk-7h0regqs.js → chunk-m8kjtp60.js} +1 -1
  206. package/bundle/{chunk-q65qzc9w.js → chunk-mbmaeq0a.js} +1 -1
  207. package/bundle/{chunk-anm5g0m4.js → chunk-meehnnv9.js} +2 -2
  208. package/bundle/{chunk-k3x6z5q1.js → chunk-mjkwd1sz.js} +1 -1
  209. package/bundle/chunk-mscvm1rm.js +2 -0
  210. package/bundle/chunk-mw3hh526.js +2 -0
  211. package/bundle/chunk-n3nsrk5n.js +2 -0
  212. package/bundle/{chunk-rf9pjbg3.js → chunk-n6pn4f3r.js} +1 -1
  213. package/bundle/{chunk-wrkt670m.js → chunk-n7zd97hy.js} +2 -2
  214. package/bundle/chunk-n9nmc4q4.js +2 -0
  215. package/bundle/{chunk-p3tcw42f.js → chunk-nb4xtk1n.js} +1 -1
  216. package/bundle/{chunk-hd6sd912.js → chunk-ngygp66y.js} +1 -1
  217. package/bundle/chunk-nj4as8vy.js +2 -0
  218. package/bundle/chunk-nrzca9yd.js +2 -0
  219. package/bundle/chunk-nxm6gpyv.js +2 -0
  220. package/bundle/{chunk-5gv6r7v8.js → chunk-nyxn7npc.js} +1 -1
  221. package/bundle/{chunk-mhn0a828.js → chunk-nzz7gzg2.js} +1 -1
  222. package/bundle/{chunk-y9mxwwz7.js → chunk-p0852vfn.js} +2 -2
  223. package/bundle/{chunk-xrb46v1e.js → chunk-p4xqfkbh.js} +1 -1
  224. package/bundle/{chunk-7nh8vjx4.js → chunk-pdcxmr6x.js} +1 -1
  225. package/bundle/{chunk-6wt8g6mc.js → chunk-pp10epga.js} +2 -2
  226. package/bundle/{chunk-w264gs2c.js → chunk-prz2fkn9.js} +1 -1
  227. package/bundle/{chunk-d2049chz.js → chunk-psmwrvqs.js} +2 -2
  228. package/bundle/{chunk-4d9s7cgr.js → chunk-pwq2f75j.js} +1 -1
  229. package/bundle/{chunk-5psekq9f.js → chunk-pwrwb7mn.js} +1 -1
  230. package/bundle/{chunk-1wy8wmah.js → chunk-px69995t.js} +1 -1
  231. package/bundle/{chunk-pfen4ekj.js → chunk-q1dmxn63.js} +2 -2
  232. package/bundle/chunk-qbjqkezn.js +2 -0
  233. package/bundle/chunk-qhtp1xvx.js +2 -0
  234. package/bundle/chunk-qkztgpay.js +2 -0
  235. package/bundle/{chunk-x0wy15q9.js → chunk-qn1fhqyw.js} +2 -2
  236. package/bundle/{chunk-rwt0rwvn.js → chunk-qpggztkq.js} +2 -2
  237. package/bundle/{chunk-n73ckwr7.js → chunk-qpk7jp6t.js} +1 -1
  238. package/bundle/{chunk-71naz1qp.js → chunk-qqsj69m2.js} +1 -1
  239. package/bundle/{chunk-7k1q26yn.js → chunk-qrztx1b4.js} +2 -2
  240. package/bundle/{chunk-xpz5mnwz.js → chunk-qz20b42s.js} +1 -1
  241. package/bundle/{chunk-dzy3ezht.js → chunk-rd08wx37.js} +2 -2
  242. package/bundle/{chunk-mqtj38j9.js → chunk-rn3je2hv.js} +1 -1
  243. package/bundle/chunk-rnf3dy0y.js +2 -0
  244. package/bundle/{chunk-72qx43fq.js → chunk-rqap90xh.js} +2 -2
  245. package/bundle/chunk-rry4kq85.js +2 -0
  246. package/bundle/{chunk-5a4zt1b7.js → chunk-rws2tsdv.js} +1 -1
  247. package/bundle/{chunk-r65zw08x.js → chunk-rx9eh3db.js} +3 -3
  248. package/bundle/{chunk-tzw56029.js → chunk-rxt6gktt.js} +1 -1
  249. package/bundle/chunk-ryfj80q6.js +2 -0
  250. package/bundle/{chunk-ec1bwa7f.js → chunk-s0gmxpxm.js} +2 -2
  251. package/bundle/{chunk-8psfgg8y.js → chunk-s9epttpy.js} +1 -1
  252. package/bundle/{chunk-gtmtvjwc.js → chunk-sb3cgb4v.js} +1 -1
  253. package/bundle/{chunk-p863r97y.js → chunk-set1f1wr.js} +1 -1
  254. package/bundle/{chunk-zgj7jx8k.js → chunk-sg9enzsp.js} +2 -2
  255. package/bundle/{chunk-0xf12tf3.js → chunk-sh03ka27.js} +1 -1
  256. package/bundle/chunk-snx49w8h.js +2 -0
  257. package/bundle/{chunk-610mqqqa.js → chunk-spcdwmy4.js} +1 -1
  258. package/bundle/{chunk-ydz7387e.js → chunk-sy76e7nr.js} +1 -1
  259. package/bundle/{chunk-csbndz33.js → chunk-szfqmkj6.js} +1 -1
  260. package/bundle/chunk-t21mdqbb.js +2 -0
  261. package/bundle/{chunk-t7gp6mjm.js → chunk-tcyzj3rz.js} +1 -1
  262. package/bundle/chunk-tn2yyqeb.js +2 -0
  263. package/bundle/chunk-ttebf3nt.js +2 -0
  264. package/bundle/chunk-twpfh0mx.js +2 -0
  265. package/bundle/{chunk-a4242cn4.js → chunk-tz1bzrnh.js} +1 -1
  266. package/bundle/chunk-tzf6d5qy.js +2 -0
  267. package/bundle/{chunk-hzzvmr41.js → chunk-v1axkp21.js} +2 -2
  268. package/bundle/chunk-v2mq09wx.js +2 -0
  269. package/bundle/chunk-v59a02aj.js +2 -0
  270. package/bundle/{chunk-8rbbt1s8.js → chunk-v5me0cj9.js} +1 -1
  271. package/bundle/{chunk-gw2fz5ry.js → chunk-v7v0krrj.js} +1 -1
  272. package/bundle/{chunk-9r6wk75s.js → chunk-veptx3fk.js} +1 -1
  273. package/bundle/chunk-vnstr4g1.js +2 -0
  274. package/bundle/{chunk-vvcyvdnk.js → chunk-vr13f6b5.js} +2 -2
  275. package/bundle/chunk-vxr4rzt0.js +2 -0
  276. package/bundle/{chunk-fmvmp278.js → chunk-vzkdzhn0.js} +1 -1
  277. package/bundle/chunk-w0h9rczg.js +2 -0
  278. package/bundle/{chunk-6jb4mnvq.js → chunk-w136zswr.js} +3 -3
  279. package/bundle/chunk-w214dwws.js +2 -0
  280. package/bundle/{chunk-mchf2bcc.js → chunk-w4fr00s7.js} +2 -2
  281. package/bundle/chunk-w8344et5.js +2 -0
  282. package/bundle/{chunk-b274mb6v.js → chunk-w8nj5ph5.js} +1 -1
  283. package/bundle/chunk-weyg78et.js +2 -0
  284. package/bundle/{chunk-6kpk6pr3.js → chunk-wf0n1cs9.js} +1 -1
  285. package/bundle/{chunk-00krzh3y.js → chunk-wfpnv00c.js} +2 -2
  286. package/bundle/{chunk-9h2fms7x.js → chunk-wmj3xndt.js} +1 -1
  287. package/bundle/{chunk-wwtyrgga.js → chunk-wrzn87w0.js} +1 -1
  288. package/bundle/{chunk-npryn3en.js → chunk-ws720v4j.js} +1 -1
  289. package/bundle/{chunk-t4kma6mq.js → chunk-x0de4z05.js} +2 -2
  290. package/bundle/{chunk-qqftaqza.js → chunk-x3dzzq0t.js} +1 -1
  291. package/bundle/{chunk-45dtsre6.js → chunk-x4jnyj09.js} +1 -1
  292. package/bundle/chunk-xchj8gna.js +2 -0
  293. package/bundle/{chunk-s81ck6bw.js → chunk-xdcwx384.js} +1 -1
  294. package/bundle/{chunk-yqvqzg7b.js → chunk-xmf59618.js} +1 -1
  295. package/bundle/chunk-y18ptwk2.js +2 -0
  296. package/bundle/{chunk-z4gczap3.js → chunk-y1v7mf1a.js} +9 -9
  297. package/bundle/chunk-y3dpyz2d.js +2 -0
  298. package/bundle/{chunk-h9tcpbr7.js → chunk-y5ydtbpd.js} +1 -1
  299. package/bundle/{chunk-vzj91hg8.js → chunk-yg9n2a2d.js} +1 -1
  300. package/bundle/chunk-ykvgmje9.js +35 -0
  301. package/bundle/chunk-yvjecrjy.js +2 -0
  302. package/bundle/chunk-yw2x6by6.js +2 -0
  303. package/bundle/{chunk-962hspr0.js → chunk-z0dj15g9.js} +1 -1
  304. package/bundle/chunk-z0r4syk8.js +2 -0
  305. package/bundle/{chunk-1q5h95hc.js → chunk-z6qyx227.js} +1 -1
  306. package/bundle/chunk-z7c00g63.js +2 -0
  307. package/bundle/{chunk-tks3qzsw.js → chunk-zgwasq3p.js} +1 -1
  308. package/bundle/{chunk-6dmk2eyt.js → chunk-zh7e6kqs.js} +1 -1
  309. package/bundle/{chunk-4q14whpc.js → chunk-zjyaze0d.js} +1 -1
  310. package/bundle/chunk-znr0saas.js +2 -0
  311. package/bundle/{chunk-e0w082wt.js → chunk-zpjtse0z.js} +184 -184
  312. package/bundle/chunk-zqqt7v17.js +2 -0
  313. package/bundle/chunk-zwrgh1hc.js +2 -0
  314. package/bundle/{chunk-821zkh5v.js → chunk-zx63mepv.js} +1 -1
  315. package/bundle/index.js +3 -3
  316. package/bundle/parser.worker.js +2 -2
  317. package/bundle/worker.js +1 -1
  318. package/package.json +1 -1
  319. package/bundle/chunk-0nves64y.js +0 -2
  320. package/bundle/chunk-0v7knkt5.js +0 -2
  321. package/bundle/chunk-1h5jdsgx.js +0 -2
  322. package/bundle/chunk-1r5e1jsb.js +0 -2
  323. package/bundle/chunk-1wyy3c48.js +0 -2
  324. package/bundle/chunk-1z299xq6.js +0 -2
  325. package/bundle/chunk-21aqt31s.js +0 -2
  326. package/bundle/chunk-22aq9ymg.js +0 -2
  327. package/bundle/chunk-26a17c9z.js +0 -2
  328. package/bundle/chunk-2a154mr0.js +0 -2
  329. package/bundle/chunk-2nbce486.js +0 -2
  330. package/bundle/chunk-2npxatq9.js +0 -2
  331. package/bundle/chunk-3gryj9r9.js +0 -2
  332. package/bundle/chunk-3jnanbjr.js +0 -2
  333. package/bundle/chunk-3meh1cbc.js +0 -2
  334. package/bundle/chunk-3t71xfr6.js +0 -2
  335. package/bundle/chunk-4045jzv5.js +0 -2
  336. package/bundle/chunk-4b2vv484.js +0 -2
  337. package/bundle/chunk-4ene1ymj.js +0 -2
  338. package/bundle/chunk-58r5etg8.js +0 -2
  339. package/bundle/chunk-5c2zw4h0.js +0 -2
  340. package/bundle/chunk-608f83n0.js +0 -2
  341. package/bundle/chunk-671r50ry.js +0 -2
  342. package/bundle/chunk-6bfnhr3d.js +0 -2
  343. package/bundle/chunk-6cv6d8rw.js +0 -2
  344. package/bundle/chunk-6qm6f88j.js +0 -2
  345. package/bundle/chunk-78bfwwmc.js +0 -2
  346. package/bundle/chunk-7wwtgxxf.js +0 -2
  347. package/bundle/chunk-98sb49dz.js +0 -2
  348. package/bundle/chunk-9kbtpq9m.js +0 -2
  349. package/bundle/chunk-9szp9b4m.js +0 -2
  350. package/bundle/chunk-9xqszq0c.js +0 -2
  351. package/bundle/chunk-a32kjs9e.js +0 -2
  352. package/bundle/chunk-apym02ct.js +0 -2
  353. package/bundle/chunk-armv2rv5.js +0 -2
  354. package/bundle/chunk-as215v64.js +0 -2
  355. package/bundle/chunk-bnmpgpyf.js +0 -2
  356. package/bundle/chunk-bq3zt1x1.js +0 -2
  357. package/bundle/chunk-bx8fgjam.js +0 -2
  358. package/bundle/chunk-ckcnb59t.js +0 -2
  359. package/bundle/chunk-d79xaj6s.js +0 -3
  360. package/bundle/chunk-dah2d37s.js +0 -2
  361. package/bundle/chunk-dhgjv1n2.js +0 -2
  362. package/bundle/chunk-dk9k8ff5.js +0 -2
  363. package/bundle/chunk-dymysn4h.js +0 -2
  364. package/bundle/chunk-ev4gw5k6.js +0 -2
  365. package/bundle/chunk-ew2dxm43.js +0 -2
  366. package/bundle/chunk-ffp4wg27.js +0 -2
  367. package/bundle/chunk-hjy90gt2.js +0 -2
  368. package/bundle/chunk-hmden934.js +0 -2
  369. package/bundle/chunk-hsm8fbb1.js +0 -2
  370. package/bundle/chunk-hz1xfedb.js +0 -2
  371. package/bundle/chunk-ja9y478k.js +0 -2
  372. package/bundle/chunk-jam7xyjf.js +0 -2
  373. package/bundle/chunk-k51qphrk.js +0 -2
  374. package/bundle/chunk-kee7xpe3.js +0 -2
  375. package/bundle/chunk-p13eeqe4.js +0 -2
  376. package/bundle/chunk-p45f2nyb.js +0 -2
  377. package/bundle/chunk-qvwx32p9.js +0 -35
  378. package/bundle/chunk-qw9whsy2.js +0 -2
  379. package/bundle/chunk-r77kpzdv.js +0 -2
  380. package/bundle/chunk-rc95tp19.js +0 -2
  381. package/bundle/chunk-rmh2fhqy.js +0 -2
  382. package/bundle/chunk-rrn86a8w.js +0 -2
  383. package/bundle/chunk-s8v0h63x.js +0 -2
  384. package/bundle/chunk-sh4mngre.js +0 -2
  385. package/bundle/chunk-shqqngm8.js +0 -2
  386. package/bundle/chunk-sjfcwykr.js +0 -2
  387. package/bundle/chunk-sv01v0n0.js +0 -2
  388. package/bundle/chunk-tn8hsd2c.js +0 -2
  389. package/bundle/chunk-tqsx7w8z.js +0 -2
  390. package/bundle/chunk-tyt1negg.js +0 -2
  391. package/bundle/chunk-v580zwpf.js +0 -3
  392. package/bundle/chunk-vdv6cyh0.js +0 -2
  393. package/bundle/chunk-vsk8yfxp.js +0 -2
  394. package/bundle/chunk-vvgmkjym.js +0 -2
  395. package/bundle/chunk-vzf04vad.js +0 -2
  396. package/bundle/chunk-w0zyex7f.js +0 -2
  397. package/bundle/chunk-w623r5kb.js +0 -3
  398. package/bundle/chunk-wkxt9v7s.js +0 -2
  399. package/bundle/chunk-wwf6zacw.js +0 -2
  400. package/bundle/chunk-x9c8eddk.js +0 -2
  401. package/bundle/chunk-xjed8t2h.js +0 -2
  402. package/bundle/chunk-xxhta1tm.js +0 -2
  403. package/bundle/chunk-yhj6858v.js +0 -2
  404. package/bundle/chunk-yq3byrpv.js +0 -2
  405. package/bundle/chunk-ys8ajwys.js +0 -2
  406. package/bundle/chunk-yzt7p956.js +0 -2
  407. package/bundle/chunk-z56cb3fs.js +0 -2
  408. package/bundle/chunk-zhypknyg.js +0 -2
@@ -0,0 +1,3 @@
1
+ // @bun
2
+ import{yP as o}from"./chunk-sh03ka27.js";var i=(t)=>`standard-openapi: ${t}`,s=new Map,r=async(t)=>{let e=s.get(t);if(e)return e;let a;switch(t){case"valibot":a=(await import("./chunk-10kj86va.js")).default();break;case"zod":a=(await import("./chunk-znr0saas.js")).default();break;default:a=(await import("./chunk-gvx5hmhk.js")).default()}return s.set(t,a),a},d=async(t,e={})=>{let a=await r(t["~standard"].vendor),{components:n={},options:c}=e;return{schema:await a(t,{components:n,options:c}),components:Object.keys(n).length>0?n:void 0}};
3
+ export{i as Hg,d as Ig};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Mt as f,Vt as m}from"./chunk-6g3bzap8.js";import{ju as p}from"./chunk-mrh5q4s6.js";import{tP as l}from"./chunk-0xf12tf3.js";var n={};l(n,{start:()=>I,Heap:()=>n});import h from"path";import{writeHeapSnapshot as u}from"v8";var i=m.create({service:"heap"}),g=60000,d=2147483648,o,s=!1,a=!0;function I(){if(!f.QITQODE_AUTO_HEAP_SNAPSHOT)return;if(o)return;let c=async()=>{if(s)return;let e=process.memoryUsage();if(e.rss<=d){a=!0;return}if(!a)return;s=!0,a=!1;let r=h.join(p.Path.log,`heap-${process.pid}-${new Date().toISOString().replace(/[:.]/g,"")}.heapsnapshot`);i.warn("heap usage exceeded limit",{rss:e.rss,heap:e.heapUsed,file:r}),await Promise.resolve().then(()=>u(r)).catch((t)=>{i.error("failed to write heap snapshot",{error:t instanceof Error?t.message:String(t),file:r})}),s=!1};o=setInterval(()=>{c()},g),o.unref?.()}
3
- export{I as bg,n as cg};
2
+ import{Pt as f,Yt as m}from"./chunk-5dvy83ms.js";import{mu as p}from"./chunk-ffx0cr44.js";import{wP as l}from"./chunk-sh03ka27.js";var n={};l(n,{start:()=>I,Heap:()=>n});import h from"path";import{writeHeapSnapshot as u}from"v8";var i=m.create({service:"heap"}),g=60000,d=2147483648,o,s=!1,a=!0;function I(){if(!f.QITQODE_AUTO_HEAP_SNAPSHOT)return;if(o)return;let c=async()=>{if(s)return;let e=process.memoryUsage();if(e.rss<=d){a=!0;return}if(!a)return;s=!0,a=!1;let r=h.join(p.Path.log,`heap-${process.pid}-${new Date().toISOString().replace(/[:.]/g,"")}.heapsnapshot`);i.warn("heap usage exceeded limit",{rss:e.rss,heap:e.heapUsed,file:r}),await Promise.resolve().then(()=>u(r)).catch((t)=>{i.error("failed to write heap snapshot",{error:t instanceof Error?t.message:String(t),file:r})}),s=!1};o=setInterval(()=>{c()},g),o.unref?.()}
3
+ export{I as dg,n as eg};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-sh03ka27.js";var t="./highlights-ghv9g403.scm";export{t as default};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Re as F}from"./chunk-anm5g0m4.js";import{bf as z,ef as B,vf as D}from"./chunk-1bhcg889.js";import{Rq as x}from"./chunk-7nh8vjx4.js";import"./chunk-cqtkxwd8.js";import"./chunk-mfg4stzn.js";import{Iu as q}from"./chunk-zgj7jx8k.js";import"./chunk-0mdmqtfr.js";import"./chunk-0xf12tf3.js";var N="2.0.41",P=q.object({message:q.string(),type:q.string(),param:q.string(),code:q.string()}),Q={errorSchema:P,errorToMessage:(k)=>k.message};function T(k={}){var y;let G=D((y=k.baseURL)!=null?y:"https://api.cerebras.ai/v1"),J=()=>z({Authorization:`Bearer ${B({apiKey:k.apiKey,environmentVariableName:"CEREBRAS_API_KEY",description:"Cerebras API key"})}`,...k.headers},`ai-sdk/cerebras/${N}`),w=(j)=>{return new F(j,{provider:"cerebras.chat",url:({path:K})=>`${G}${K}`,headers:J,fetch:k.fetch,errorStructure:Q,supportsStructuredOutputs:!0})},f=(j)=>w(j);return f.specificationVersion="v3",f.languageModel=w,f.chat=w,f.embeddingModel=(j)=>{throw new x({modelId:j,modelType:"embeddingModel"})},f.textEmbeddingModel=f.embeddingModel,f.imageModel=(j)=>{throw new x({modelId:j,modelType:"imageModel"})},f}var Z=T();export{T as createCerebras,Z as cerebras,N as VERSION};
2
+ import{Te as F}from"./chunk-meehnnv9.js";import{df as z,gf as B,xf as D}from"./chunk-4ycg2c6f.js";import{Uq as x}from"./chunk-pdcxmr6x.js";import"./chunk-cqtkxwd8.js";import"./chunk-a1mbach4.js";import{Lu as q}from"./chunk-sg9enzsp.js";import"./chunk-5q98z8ck.js";import"./chunk-sh03ka27.js";var N="2.0.41",P=q.object({message:q.string(),type:q.string(),param:q.string(),code:q.string()}),Q={errorSchema:P,errorToMessage:(k)=>k.message};function T(k={}){var y;let G=D((y=k.baseURL)!=null?y:"https://api.cerebras.ai/v1"),J=()=>z({Authorization:`Bearer ${B({apiKey:k.apiKey,environmentVariableName:"CEREBRAS_API_KEY",description:"Cerebras API key"})}`,...k.headers},`ai-sdk/cerebras/${N}`),w=(j)=>{return new F(j,{provider:"cerebras.chat",url:({path:K})=>`${G}${K}`,headers:J,fetch:k.fetch,errorStructure:Q,supportsStructuredOutputs:!0})},f=(j)=>w(j);return f.specificationVersion="v3",f.languageModel=w,f.chat=w,f.embeddingModel=(j)=>{throw new x({modelId:j,modelType:"embeddingModel"})},f.textEmbeddingModel=f.embeddingModel,f.imageModel=(j)=>{throw new x({modelId:j,modelType:"imageModel"})},f}var Z=T();export{T as createCerebras,Z as cerebras,N as VERSION};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Pe as oe}from"./chunk-6jb4mnvq.js";import{Ef as _}from"./chunk-hcd0k14e.js";import{rP as m,vP as ee}from"./chunk-0xf12tf3.js";var p=m(_(),1);var K=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string");var R=m(oe(),1);var c=m(_(),1);var b=300000,k="To refresh this SSO session run 'aws sso login' with the corresponding profile.";var H=async(e,o={},r)=>{let{SSOOIDCClient:t}=await import("./chunk-5psekq9f.js"),n=(f)=>o.clientConfig?.[f]??o.parentClientConfig?.[f]??r?.[f];return new t(Object.assign({},o.clientConfig??{},{region:e??o.clientConfig?.region,logger:n("logger"),userAgentAppId:n("userAgentAppId")}))};var U=async(e,o,r={},t)=>{let{CreateTokenCommand:n}=await import("./chunk-5psekq9f.js");return(await H(o,r,t)).send(new n({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))};var q=m(_(),1);var C=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new q.TokenProviderError(`Token is expired. ${k}`,!1)};var W=m(_(),1);var w=(e,o,r=!1)=>{if(typeof o>"u")throw new W.TokenProviderError(`Value not present for '${e}' in SSO Token${r?". Cannot refresh":""}. ${k}`,!1)};var j=m(_(),1);import{promises as Q}from"fs";var{writeFile:Z}=Q,X=(e,o)=>{let r=j.getSSOTokenFilepath(e),t=JSON.stringify(o,null,2);return Z(r,t)};var z=new Date(0),J=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");let r=await c.parseKnownFiles(e),t=c.getProfileName({profile:e.profile??o?.profile}),n=r[t];if(!n)throw new c.TokenProviderError(`Profile '${t}' could not be found in shared credentials file.`,!1);else if(!n.sso_session)throw new c.TokenProviderError(`Profile '${t}' is missing required property 'sso_session'.`);let a=n.sso_session,S=(await c.loadSsoSessionData(e))[a];if(!S)throw new c.TokenProviderError(`Sso session '${a}' could not be found in shared credentials file.`,!1);for(let i of["sso_start_url","sso_region"])if(!S[i])throw new c.TokenProviderError(`Sso session '${a}' is missing required property '${i}'.`,!1);let{sso_start_url:g,sso_region:O}=S,s;try{s=await c.getSSOTokenFromFile(a)}catch(i){throw new c.TokenProviderError(`The SSO session token associated with profile=${t} was not found or is invalid. ${k}`,!1)}w("accessToken",s.accessToken),w("expiresAt",s.expiresAt);let{accessToken:x,expiresAt:T}=s,l={token:x,expiration:new Date(T)};if(l.expiration.getTime()-Date.now()>b)return l;if(Date.now()-z.getTime()<30000)return C(l),l;w("clientId",s.clientId,!0),w("clientSecret",s.clientSecret,!0),w("refreshToken",s.refreshToken,!0);try{z.setTime(Date.now());let i=await U(s,O,e,o);w("accessToken",i.accessToken),w("expiresIn",i.expiresIn);let y=new Date(Date.now()+i.expiresIn*1000);try{await X(a,{...s,accessToken:i.accessToken,expiresAt:y.toISOString(),refreshToken:i.refreshToken})}catch(I){}return{token:i.accessToken,expiration:y}}catch(i){return C(l),l}};var d=m(_(),1),E=!1,v=async({ssoStartUrl:e,ssoSession:o,ssoAccountId:r,ssoRegion:t,ssoRoleName:n,ssoClient:a,clientConfig:f,parentClientConfig:S,callerClientConfig:g,profile:O,filepath:s,configFilepath:x,ignoreCache:T,logger:l})=>{let i,y="To refresh this SSO session run aws sso login with the corresponding profile.";if(o)try{let h=await J({profile:O,filepath:s,configFilepath:x,ignoreCache:T})();i={accessToken:h.token,expiresAt:new Date(h.expiration).toISOString()}}catch(h){throw new d.CredentialsProviderError(h.message,{tryNextLink:E,logger:l})}else try{i=await d.getSSOTokenFromFile(e)}catch(h){throw new d.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:E,logger:l})}if(new Date(i.expiresAt).getTime()-Date.now()<=0)throw new d.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:E,logger:l});let{accessToken:I}=i,{SSOClient:u,GetRoleCredentialsCommand:A}=await import("./chunk-v9yxkbz7.js"),B=a||new u(Object.assign({},f??{},{logger:f?.logger??g?.logger??S?.logger,region:f?.region??t,userAgentAppId:f?.userAgentAppId??g?.userAgentAppId??S?.userAgentAppId})),F;try{F=await B.send(new A({accountId:r,roleName:n,accessToken:I}))}catch(h){throw new d.CredentialsProviderError(h,{tryNextLink:E,logger:l})}let{roleCredentials:{accessKeyId:P,secretAccessKey:D,sessionToken:$,expiration:L,credentialScope:M,accountId:G}={}}=F;if(!P||!D||!$||!L)throw new d.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:E,logger:l});let N={accessKeyId:P,secretAccessKey:D,sessionToken:$,expiration:new Date(L),...M&&{credentialScope:M},...G&&{accountId:G}};if(o)R.setCredentialFeature(N,"CREDENTIALS_SSO","s");else R.setCredentialFeature(N,"CREDENTIALS_SSO_LEGACY","u");return N};var V=m(_(),1),Y=(e,o)=>{let{sso_start_url:r,sso_account_id:t,sso_region:n,sso_role_name:a}=e;if(!r||!t||!n||!a)throw new V.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
3
- Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:o});return e};var Oe=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:r,ssoAccountId:t,ssoRegion:n,ssoRoleName:a,ssoSession:f}=e,{ssoClient:S}=e,g=p.getProfileName({profile:e.profile??o?.profile});if(!r&&!t&&!n&&!a&&!f){let s=(await p.parseKnownFiles(e))[g];if(!s)throw new p.CredentialsProviderError(`Profile ${g} was not found.`,{logger:e.logger});if(!K(s))throw new p.CredentialsProviderError(`Profile ${g} is not configured with SSO credentials.`,{logger:e.logger});if(s?.sso_session){let u=(await p.loadSsoSessionData(e))[s.sso_session],A=` configurations in profile ${g} and sso-session ${s.sso_session}`;if(n&&n!==u.sso_region)throw new p.CredentialsProviderError("Conflicting SSO region"+A,{tryNextLink:!1,logger:e.logger});if(r&&r!==u.sso_start_url)throw new p.CredentialsProviderError("Conflicting SSO start_url"+A,{tryNextLink:!1,logger:e.logger});s.sso_region=u.sso_region,s.sso_start_url=u.sso_start_url}let{sso_start_url:x,sso_account_id:T,sso_region:l,sso_role_name:i,sso_session:y}=Y(s,e.logger);return v({ssoStartUrl:x,ssoSession:y,ssoAccountId:T,ssoRegion:l,ssoRoleName:i,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:g,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!r||!t||!n||!a)throw new p.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return v({ssoStartUrl:r,ssoSession:f,ssoAccountId:t,ssoRegion:n,ssoRoleName:a,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:g,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})};export{K as ee,Y as fe,Oe as ge};
2
+ import{Re as oe}from"./chunk-w136zswr.js";import{Gf as _}from"./chunk-48rg4yhk.js";import{uP as m,yP as ee}from"./chunk-sh03ka27.js";var p=m(_(),1);var K=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string");var R=m(oe(),1);var c=m(_(),1);var b=300000,k="To refresh this SSO session run 'aws sso login' with the corresponding profile.";var H=async(e,o={},r)=>{let{SSOOIDCClient:t}=await import("./chunk-pwrwb7mn.js"),n=(f)=>o.clientConfig?.[f]??o.parentClientConfig?.[f]??r?.[f];return new t(Object.assign({},o.clientConfig??{},{region:e??o.clientConfig?.region,logger:n("logger"),userAgentAppId:n("userAgentAppId")}))};var U=async(e,o,r={},t)=>{let{CreateTokenCommand:n}=await import("./chunk-pwrwb7mn.js");return(await H(o,r,t)).send(new n({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))};var q=m(_(),1);var C=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new q.TokenProviderError(`Token is expired. ${k}`,!1)};var W=m(_(),1);var w=(e,o,r=!1)=>{if(typeof o>"u")throw new W.TokenProviderError(`Value not present for '${e}' in SSO Token${r?". Cannot refresh":""}. ${k}`,!1)};var j=m(_(),1);import{promises as Q}from"fs";var{writeFile:Z}=Q,X=(e,o)=>{let r=j.getSSOTokenFilepath(e),t=JSON.stringify(o,null,2);return Z(r,t)};var z=new Date(0),J=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");let r=await c.parseKnownFiles(e),t=c.getProfileName({profile:e.profile??o?.profile}),n=r[t];if(!n)throw new c.TokenProviderError(`Profile '${t}' could not be found in shared credentials file.`,!1);else if(!n.sso_session)throw new c.TokenProviderError(`Profile '${t}' is missing required property 'sso_session'.`);let a=n.sso_session,S=(await c.loadSsoSessionData(e))[a];if(!S)throw new c.TokenProviderError(`Sso session '${a}' could not be found in shared credentials file.`,!1);for(let i of["sso_start_url","sso_region"])if(!S[i])throw new c.TokenProviderError(`Sso session '${a}' is missing required property '${i}'.`,!1);let{sso_start_url:g,sso_region:O}=S,s;try{s=await c.getSSOTokenFromFile(a)}catch(i){throw new c.TokenProviderError(`The SSO session token associated with profile=${t} was not found or is invalid. ${k}`,!1)}w("accessToken",s.accessToken),w("expiresAt",s.expiresAt);let{accessToken:x,expiresAt:T}=s,l={token:x,expiration:new Date(T)};if(l.expiration.getTime()-Date.now()>b)return l;if(Date.now()-z.getTime()<30000)return C(l),l;w("clientId",s.clientId,!0),w("clientSecret",s.clientSecret,!0),w("refreshToken",s.refreshToken,!0);try{z.setTime(Date.now());let i=await U(s,O,e,o);w("accessToken",i.accessToken),w("expiresIn",i.expiresIn);let y=new Date(Date.now()+i.expiresIn*1000);try{await X(a,{...s,accessToken:i.accessToken,expiresAt:y.toISOString(),refreshToken:i.refreshToken})}catch(I){}return{token:i.accessToken,expiration:y}}catch(i){return C(l),l}};var d=m(_(),1),E=!1,v=async({ssoStartUrl:e,ssoSession:o,ssoAccountId:r,ssoRegion:t,ssoRoleName:n,ssoClient:a,clientConfig:f,parentClientConfig:S,callerClientConfig:g,profile:O,filepath:s,configFilepath:x,ignoreCache:T,logger:l})=>{let i,y="To refresh this SSO session run aws sso login with the corresponding profile.";if(o)try{let h=await J({profile:O,filepath:s,configFilepath:x,ignoreCache:T})();i={accessToken:h.token,expiresAt:new Date(h.expiration).toISOString()}}catch(h){throw new d.CredentialsProviderError(h.message,{tryNextLink:E,logger:l})}else try{i=await d.getSSOTokenFromFile(e)}catch(h){throw new d.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:E,logger:l})}if(new Date(i.expiresAt).getTime()-Date.now()<=0)throw new d.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:E,logger:l});let{accessToken:I}=i,{SSOClient:u,GetRoleCredentialsCommand:A}=await import("./chunk-8a9sj8gp.js"),B=a||new u(Object.assign({},f??{},{logger:f?.logger??g?.logger??S?.logger,region:f?.region??t,userAgentAppId:f?.userAgentAppId??g?.userAgentAppId??S?.userAgentAppId})),F;try{F=await B.send(new A({accountId:r,roleName:n,accessToken:I}))}catch(h){throw new d.CredentialsProviderError(h,{tryNextLink:E,logger:l})}let{roleCredentials:{accessKeyId:P,secretAccessKey:D,sessionToken:$,expiration:L,credentialScope:M,accountId:G}={}}=F;if(!P||!D||!$||!L)throw new d.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:E,logger:l});let N={accessKeyId:P,secretAccessKey:D,sessionToken:$,expiration:new Date(L),...M&&{credentialScope:M},...G&&{accountId:G}};if(o)R.setCredentialFeature(N,"CREDENTIALS_SSO","s");else R.setCredentialFeature(N,"CREDENTIALS_SSO_LEGACY","u");return N};var V=m(_(),1),Y=(e,o)=>{let{sso_start_url:r,sso_account_id:t,sso_region:n,sso_role_name:a}=e;if(!r||!t||!n||!a)throw new V.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
3
+ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:o});return e};var Oe=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:r,ssoAccountId:t,ssoRegion:n,ssoRoleName:a,ssoSession:f}=e,{ssoClient:S}=e,g=p.getProfileName({profile:e.profile??o?.profile});if(!r&&!t&&!n&&!a&&!f){let s=(await p.parseKnownFiles(e))[g];if(!s)throw new p.CredentialsProviderError(`Profile ${g} was not found.`,{logger:e.logger});if(!K(s))throw new p.CredentialsProviderError(`Profile ${g} is not configured with SSO credentials.`,{logger:e.logger});if(s?.sso_session){let u=(await p.loadSsoSessionData(e))[s.sso_session],A=` configurations in profile ${g} and sso-session ${s.sso_session}`;if(n&&n!==u.sso_region)throw new p.CredentialsProviderError("Conflicting SSO region"+A,{tryNextLink:!1,logger:e.logger});if(r&&r!==u.sso_start_url)throw new p.CredentialsProviderError("Conflicting SSO start_url"+A,{tryNextLink:!1,logger:e.logger});s.sso_region=u.sso_region,s.sso_start_url=u.sso_start_url}let{sso_start_url:x,sso_account_id:T,sso_region:l,sso_role_name:i,sso_session:y}=Y(s,e.logger);return v({ssoStartUrl:x,ssoSession:y,ssoAccountId:T,ssoRegion:l,ssoRoleName:i,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:g,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!r||!t||!n||!a)throw new p.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return v({ssoStartUrl:r,ssoSession:f,ssoAccountId:t,ssoRegion:n,ssoRoleName:a,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:g,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})};export{K as ge,Y as he,Oe as ie};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Bh as I,Ch as B,Dh as Y,Eh as Z,Fh as j,Gh as F,Hh as K,Jh as U,Kh as V,Lh as W}from"./chunk-4q14whpc.js";var N=class extends F{async evalCodeAsync(b,q="eval.js",D){let w=D===void 0?1:0,G=j(D),$=0;try{$=await this.memory.newHeapCharPointer(b).consume((X)=>this.ffi.QTS_Eval_MaybeAsync(this.ctx.value,X.value.ptr,X.value.strlen,q,w,G))}catch(X){throw this.runtime.debugLog("QTS_Eval_MaybeAsync threw",X),X}let E=this.ffi.QTS_ResolveException(this.ctx.value,$);return E?(this.ffi.QTS_FreeValuePointer(this.ctx.value,$),this.fail(this.memory.heapValueHandle(E))):this.success(this.memory.heapValueHandle($))}newAsyncifiedFunction(b,q){return this.newFunction(b,q)}},O=class extends K{constructor(b){super(b)}newContext(b={}){let q=Z(b.intrinsics),D=new B(this.ffi.QTS_NewContext(this.rt.value,q),void 0,(G)=>{this.contextMap.delete(G),this.callbacks.deleteContext(G),this.ffi.QTS_FreeContext(G)}),w=new N({module:this.module,ctx:D,ffi:this.ffi,rt:this.rt,ownedLifetimes:[],runtime:this,callbacks:this.callbacks});return this.contextMap.set(D.value,w),w}setModuleLoader(b,q){super.setModuleLoader(b,q)}setMaxStackSize(b){return super.setMaxStackSize(b)}},z=class extends W{constructor(b,q){super(b,q);this.ffi=q,this.module=b}newRuntime(b={}){let q=new B(this.ffi.QTS_NewRuntime(),void 0,(w)=>{this.callbacks.deleteRuntime(w),this.ffi.QTS_FreeRuntime(w)}),D=new O({module:this.module,ffi:this.ffi,rt:q,callbacks:this.callbacks});return U(D,b),b.moduleLoader&&D.setModuleLoader(b.moduleLoader),D}newContext(b={}){let q=this.newRuntime(),D=b.ownedLifetimes?b.ownedLifetimes.concat([q]):[q],w=q.newContext({...b,ownedLifetimes:D});return q.context=w,w}evalCode(){throw new I("QuickJSWASMModuleAsyncify.evalCode: use evalCodeAsync instead")}evalCodeAsync(b,q){return Y.withScopeAsync(async(D)=>{let w=D.manage(this.newContext());V(w.runtime,q);let G=await w.evalCodeAsync(b,"eval.js");if(q.memoryLimitBytes!==void 0&&w.runtime.setMemoryLimit(-1),G.error)throw w.dump(D.manage(G.error));return w.dump(D.manage(G.value))})}};
3
- export{z as Ah};
2
+ import{Dh as I,Eh as B,Fh as Y,Gh as Z,Hh as j,Ih as F,Jh as K,Lh as U,Mh as V,Nh as W}from"./chunk-zjyaze0d.js";var N=class extends F{async evalCodeAsync(b,q="eval.js",D){let w=D===void 0?1:0,G=j(D),$=0;try{$=await this.memory.newHeapCharPointer(b).consume((X)=>this.ffi.QTS_Eval_MaybeAsync(this.ctx.value,X.value.ptr,X.value.strlen,q,w,G))}catch(X){throw this.runtime.debugLog("QTS_Eval_MaybeAsync threw",X),X}let E=this.ffi.QTS_ResolveException(this.ctx.value,$);return E?(this.ffi.QTS_FreeValuePointer(this.ctx.value,$),this.fail(this.memory.heapValueHandle(E))):this.success(this.memory.heapValueHandle($))}newAsyncifiedFunction(b,q){return this.newFunction(b,q)}},O=class extends K{constructor(b){super(b)}newContext(b={}){let q=Z(b.intrinsics),D=new B(this.ffi.QTS_NewContext(this.rt.value,q),void 0,(G)=>{this.contextMap.delete(G),this.callbacks.deleteContext(G),this.ffi.QTS_FreeContext(G)}),w=new N({module:this.module,ctx:D,ffi:this.ffi,rt:this.rt,ownedLifetimes:[],runtime:this,callbacks:this.callbacks});return this.contextMap.set(D.value,w),w}setModuleLoader(b,q){super.setModuleLoader(b,q)}setMaxStackSize(b){return super.setMaxStackSize(b)}},z=class extends W{constructor(b,q){super(b,q);this.ffi=q,this.module=b}newRuntime(b={}){let q=new B(this.ffi.QTS_NewRuntime(),void 0,(w)=>{this.callbacks.deleteRuntime(w),this.ffi.QTS_FreeRuntime(w)}),D=new O({module:this.module,ffi:this.ffi,rt:q,callbacks:this.callbacks});return U(D,b),b.moduleLoader&&D.setModuleLoader(b.moduleLoader),D}newContext(b={}){let q=this.newRuntime(),D=b.ownedLifetimes?b.ownedLifetimes.concat([q]):[q],w=q.newContext({...b,ownedLifetimes:D});return q.context=w,w}evalCode(){throw new I("QuickJSWASMModuleAsyncify.evalCode: use evalCodeAsync instead")}evalCodeAsync(b,q){return Y.withScopeAsync(async(D)=>{let w=D.manage(this.newContext());V(w.runtime,q);let G=await w.evalCodeAsync(b,"eval.js");if(q.memoryLimitBytes!==void 0&&w.runtime.setMemoryLimit(-1),G.error)throw w.dump(D.manage(G.error));return w.dump(D.manage(G.value))})}};
3
+ export{z as Ch};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{pP as D}from"./chunk-0w77vhg4.js";import{qP as C}from"./chunk-t4kma6mq.js";import{sP as B}from"./chunk-0xf12tf3.js";var H=B((q)=>{Object.defineProperty(q,"__esModule",{value:!0});q.getMachineId=void 0;var E=D(),F=C();async function G(){try{let f=(await(0,E.execAsync)('ioreg -rd1 -c "IOPlatformExpertDevice"')).stdout.split(`
2
+ import{sP as D}from"./chunk-bdcd2mcb.js";import{tP as C}from"./chunk-x0de4z05.js";import{vP as B}from"./chunk-sh03ka27.js";var H=B((q)=>{Object.defineProperty(q,"__esModule",{value:!0});q.getMachineId=void 0;var E=D(),F=C();async function G(){try{let f=(await(0,E.execAsync)('ioreg -rd1 -c "IOPlatformExpertDevice"')).stdout.split(`
3
3
  `).find((z)=>z.includes("IOPlatformUUID"));if(!f)return;let k=f.split('" = "');if(k.length===2)return k[1].slice(0,-1)}catch(b){F.diag.debug(`error reading machine id: ${b}`)}return}q.getMachineId=G});export default H();
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Qe as ee}from"./chunk-ec1bwa7f.js";import{sP as Z,vP as L}from"./chunk-0xf12tf3.js";var Te=Z((le)=>{var $=ee(),R=L("https"),Q=L("stream"),N=L("http2");function D(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var te=["ECONNRESET","EPIPE","ETIMEDOUT"],V=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,oe=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},ne=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},se=3000,re=(e,{keepAlive:t,keepAliveMsecs:n},o=se)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,ie=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function K(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ce(e,t.body)}function ce(e,t){if(t instanceof Q.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ae=0,_=void 0,q=void 0;class H{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new H(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
2
+ import{Se as ee}from"./chunk-s0gmxpxm.js";import{vP as Z,yP as L}from"./chunk-sh03ka27.js";var Te=Z((le)=>{var $=ee(),R=L("https"),Q=L("stream"),N=L("http2");function D(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var te=["ECONNRESET","EPIPE","ETIMEDOUT"],V=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,oe=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},ne=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},se=3000,re=(e,{keepAlive:t,keepAliveMsecs:n},o=se)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,ie=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function K(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ce(e,t.body)}function ce(e,t){if(t instanceof Q.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ae=0,_=void 0,q=void 0;class H{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new H(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
3
3
  See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
4
4
  or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,p=-1,b=-1,T=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(p),d.clearTimeout(b)},O=async(i)=>{await u,T(),r(i)},y=async(i)=>{await u,T(),c(i)};if(t?.aborted){let i=D(t);y(i);return}let x=e.headers,U=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(U&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=H.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let v=e.path;if(P)v+=`?${P}`;if(e.fragment)v+=`#${e.fragment}`;let E=e.hostname??"";if(E[0]==="["&&E.endsWith("]"))E=e.hostname.slice(1,-1);else E=e.hostname;let A={headers:e.headers,host:E,method:e.method,path:v,port:e.port,agent:C,auth:S},h=(s?R.request:q)(A,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:V(i.headers),body:i});O({response:a})});if(h.on("error",(i)=>{if(te.includes(i.code))y(Object.assign(i,{name:"TimeoutError"}));else y(i)}),t){let i=()=>{h.destroy();let a=D(t);y(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=oe(h,y,o.connectionTimeout),m=ne(h,y,k,o.throwOnRequestTimeout,o.logger??console),p=ie(h,y,o.socketTimeout);let w=A.agent;if(typeof w==="object"&&"keepAlive"in w)b=re(h,{keepAlive:w.keepAlive,keepAliveMsecs:w.keepAliveMsecs});u=K(h,e,k,this.externalAgent).catch((i)=>{return T(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let p=await import("http"),{Agent:b,request:T}=p.default??p;if(q=T,_=b,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ue=new Uint16Array(1);class I{id=ue[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class J{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new I(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class G{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new I(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new I(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new J;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?N.connect(e):N.connect(e,this.connectOptions)}}var{constants:z}=N;class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new G({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,p=void 0,b=async(a)=>{await p,f(a)},T=async(a)=>{await p,l(a)};if(t?.aborted){m=!0;let a=D(t);T(a);return}let{hostname:O,method:y,port:x,protocol:U,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${U}//${P}${O}${x?`:${x}`:""}`,v={destination:new URL(S)},E={requestTimeout:this.config?.sessionTimeout,isEventStream:o},A=c?this.connectionManager.createIsolatedSession(v,E):this.connectionManager.lease(v,E),M=A.deref(),h=(a)=>{if(c)A.destroy();m=!0,T(a)},k=C?$.buildQueryString(C):"",w=e.path;if(k)w+=`?${k}`;if(e.fragment)w+=`#${e.fragment}`;let i=M.request({...e.headers,[z.HTTP2_HEADER_PATH]:w,[z.HTTP2_HEADER_METHOD]:y});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=D(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,Y)=>{h(Error(`Frame type id ${a} in stream id ${Y} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:V(a),body:i});if(m=!0,b({response:g}),c)M.close()}),i.on("close",()=>{if(c)A.destroy();else this.connectionManager.release(v,A);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),p=K(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class X extends Q.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var fe=(e)=>{if(de(e))return he(e);return new Promise((t,n)=>{let o=new X;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},de=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function he(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}le.DEFAULT_REQUEST_TIMEOUT=ae;le.NodeHttp2Handler=B;le.NodeHttpHandler=H;le.streamCollector=fe});
5
- export{Te as Me};
5
+ export{Te as Oe};