@qitqode/qitqode-android-arm64 0.1.25 → 0.1.26

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 (385) hide show
  1. package/bundle/{chunk-sx5m81em.js → chunk-01gwb793.js} +1 -1
  2. package/bundle/{chunk-42t25nkb.js → chunk-05amr7y9.js} +1 -1
  3. package/bundle/{chunk-4kb2efq3.js → chunk-06x1p3t4.js} +1 -1
  4. package/bundle/{chunk-t07a5431.js → chunk-07net7s8.js} +1 -1
  5. package/bundle/{chunk-v7ah9gg0.js → chunk-08y06vgt.js} +2 -2
  6. package/bundle/chunk-09ecxdmd.js +2 -0
  7. package/bundle/{chunk-2armxd20.js → chunk-0cehm5fn.js} +1 -1
  8. package/bundle/chunk-0jaj2g7x.js +2 -0
  9. package/bundle/{chunk-9f6pqped.js → chunk-0m2tj2h9.js} +1 -1
  10. package/bundle/{chunk-pk0tytcm.js → chunk-0mekr486.js} +1 -1
  11. package/bundle/{chunk-qe0sfafy.js → chunk-0ndvy0nh.js} +1 -1
  12. package/bundle/chunk-0nr2925m.js +2 -0
  13. package/bundle/{chunk-gvtw9c44.js → chunk-0w5npkgr.js} +1 -1
  14. package/bundle/chunk-0wbq1y92.js +2 -0
  15. package/bundle/chunk-12pxszgn.js +2 -0
  16. package/bundle/chunk-1337582e.js +2 -0
  17. package/bundle/{chunk-ybn8tb09.js → chunk-14ag9ea0.js} +1 -1
  18. package/bundle/chunk-182jf8fz.js +2 -0
  19. package/bundle/chunk-1ht3zcsh.js +2 -0
  20. package/bundle/{chunk-zny2qaqa.js → chunk-1n4w8dya.js} +2 -2
  21. package/bundle/{chunk-meaybtcc.js → chunk-1qbm1k9y.js} +2 -2
  22. package/bundle/{chunk-dk3z4k46.js → chunk-1xkwm21b.js} +3 -3
  23. package/bundle/{chunk-dee1a3yk.js → chunk-1xpx1t40.js} +1 -1
  24. package/bundle/{chunk-j5b5h08g.js → chunk-1yx4jesj.js} +1 -1
  25. package/bundle/{chunk-qfz0a58d.js → chunk-25zkavr0.js} +1 -1
  26. package/bundle/{chunk-b2xya6pq.js → chunk-28vnspd4.js} +1 -1
  27. package/bundle/{chunk-26qt44f1.js → chunk-2cm91ktc.js} +1 -1
  28. package/bundle/chunk-2jfd82jk.js +2 -0
  29. package/bundle/{chunk-3h08jdq8.js → chunk-2jn2hd12.js} +1 -1
  30. package/bundle/chunk-2k7bbzj2.js +2 -0
  31. package/bundle/{chunk-0xmx2zfg.js → chunk-2kdn66xt.js} +1 -1
  32. package/bundle/{chunk-mbh1pdv9.js → chunk-2q76qax6.js} +2 -2
  33. package/bundle/{chunk-6ddp36ar.js → chunk-2yb59jwr.js} +1 -1
  34. package/bundle/chunk-30081kwd.js +2 -0
  35. package/bundle/{chunk-ykfq8bem.js → chunk-32zrch7h.js} +1 -1
  36. package/bundle/{chunk-2rxt1s22.js → chunk-3bb7y9pq.js} +1 -1
  37. package/bundle/{chunk-7q5srx7q.js → chunk-3kdhvq0p.js} +1 -1
  38. package/bundle/chunk-3rgct4bd.js +11 -0
  39. package/bundle/{chunk-8za87zkr.js → chunk-3s0d17xe.js} +1 -1
  40. package/bundle/chunk-3vag59se.js +2 -0
  41. package/bundle/{chunk-wb69d52j.js → chunk-3w64fpwn.js} +1 -1
  42. package/bundle/chunk-3x5v6sjw.js +2 -0
  43. package/bundle/{chunk-08ba67f4.js → chunk-3zn71txs.js} +1 -1
  44. package/bundle/{chunk-qdnxv55k.js → chunk-41ftye7w.js} +1 -1
  45. package/bundle/chunk-43ep9d7a.js +2 -0
  46. package/bundle/chunk-48j09m6e.js +3 -0
  47. package/bundle/{chunk-bnc4626b.js → chunk-4920vf6a.js} +1 -1
  48. package/bundle/{chunk-78h5dd4t.js → chunk-49tqzsy0.js} +1 -1
  49. package/bundle/{chunk-9jvnc14g.js → chunk-49ypxzfx.js} +1 -1
  50. package/bundle/{chunk-0hsb4knd.js → chunk-4k70wrhf.js} +1 -1
  51. package/bundle/{chunk-dd11kryy.js → chunk-4nck07pc.js} +2 -2
  52. package/bundle/chunk-4qqja22v.js +2 -0
  53. package/bundle/{chunk-av290sja.js → chunk-56pwz1kk.js} +1 -1
  54. package/bundle/{chunk-vq6bh2z9.js → chunk-56qm8xpt.js} +1 -1
  55. package/bundle/{chunk-9dpn4792.js → chunk-58gp7wbg.js} +2 -2
  56. package/bundle/{chunk-2z35ewwc.js → chunk-5dm3p5r6.js} +1 -1
  57. package/bundle/chunk-5gazgxt5.js +2 -0
  58. package/bundle/{chunk-kb14wxcs.js → chunk-5jtd006j.js} +1 -1
  59. package/bundle/{chunk-7v4fzkbb.js → chunk-5mec6cde.js} +1 -1
  60. package/bundle/{chunk-hwbxehhf.js → chunk-5yaahmjb.js} +1 -1
  61. package/bundle/{chunk-4wyjapes.js → chunk-5ymj2q6j.js} +1 -1
  62. package/bundle/{chunk-psveqqv2.js → chunk-613kegcn.js} +1 -1
  63. package/bundle/chunk-63znhwx0.js +2 -0
  64. package/bundle/{chunk-6gbaw2pk.js → chunk-6fpfr8tk.js} +1 -1
  65. package/bundle/{chunk-gaen9ya4.js → chunk-6h2faxs9.js} +2 -2
  66. package/bundle/chunk-6hmyy7n6.js +2 -0
  67. package/bundle/{chunk-bsqcfqya.js → chunk-6nk3wx6f.js} +1 -1
  68. package/bundle/{chunk-c27rpvdz.js → chunk-6nkcfncg.js} +1 -1
  69. package/bundle/{chunk-jqzejny3.js → chunk-6vb26adv.js} +1 -1
  70. package/bundle/{chunk-rgecc41f.js → chunk-6wdwwpsc.js} +1 -1
  71. package/bundle/{chunk-7rjf9b8n.js → chunk-77e1wh0j.js} +1 -1
  72. package/bundle/chunk-7dyddrpk.js +2 -0
  73. package/bundle/{chunk-7d6jhzng.js → chunk-7e1aw8rw.js} +1 -1
  74. package/bundle/{chunk-gefh32jb.js → chunk-7ez3ye6e.js} +1 -1
  75. package/bundle/{chunk-pvee151a.js → chunk-7fmy4cvn.js} +1 -1
  76. package/bundle/{chunk-xy4t5qf8.js → chunk-7n2kpqh5.js} +1 -1
  77. package/bundle/chunk-7penjsgq.js +2 -0
  78. package/bundle/{chunk-amx3x4kd.js → chunk-7qxn24qa.js} +2 -2
  79. package/bundle/{chunk-grkkzrg1.js → chunk-7rxsj310.js} +1 -1
  80. package/bundle/{chunk-9va5eh9s.js → chunk-7ryv0f5h.js} +1 -1
  81. package/bundle/chunk-7t5gzkj6.js +2 -0
  82. package/bundle/{chunk-nqefvn28.js → chunk-7tbvr236.js} +1 -1
  83. package/bundle/{chunk-14qvaxtp.js → chunk-81engf0t.js} +1 -1
  84. package/bundle/{chunk-1n1dh6zj.js → chunk-880msfsd.js} +1 -1
  85. package/bundle/chunk-89vgt8vq.js +2 -0
  86. package/bundle/{chunk-evmfntm3.js → chunk-8bzwgcjb.js} +1 -1
  87. package/bundle/chunk-8e8n82f9.js +2 -0
  88. package/bundle/{chunk-5mp82az0.js → chunk-91khd3fq.js} +1 -1
  89. package/bundle/chunk-97exhw9j.js +2 -0
  90. package/bundle/chunk-9cvkaht5.js +2 -0
  91. package/bundle/{chunk-d0m7nbbx.js → chunk-9p83me3p.js} +2 -2
  92. package/bundle/{chunk-5mdsrv0a.js → chunk-9qtf8khv.js} +1 -1
  93. package/bundle/{chunk-vfj5nwab.js → chunk-9wm41z2f.js} +2 -2
  94. package/bundle/{chunk-gw0j8hr9.js → chunk-9zrwbxx0.js} +1 -1
  95. package/bundle/{chunk-dgggvses.js → chunk-admgf65a.js} +1 -1
  96. package/bundle/{chunk-tdmaxc6n.js → chunk-afhg3w2j.js} +1 -1
  97. package/bundle/chunk-akdvstd9.js +2 -0
  98. package/bundle/{chunk-3j7skhxg.js → chunk-atbm0pnt.js} +2 -2
  99. package/bundle/chunk-ave2e4sa.js +2 -0
  100. package/bundle/chunk-axnwehc7.js +2 -0
  101. package/bundle/{chunk-ydsen7w0.js → chunk-b79k456s.js} +1 -1
  102. package/bundle/chunk-bmzyxspj.js +2 -0
  103. package/bundle/{chunk-v4xgceeq.js → chunk-bse8p94q.js} +1 -1
  104. package/bundle/chunk-bvaqpfv8.js +2 -0
  105. package/bundle/{chunk-n8dcmjph.js → chunk-c0k8j498.js} +1 -1
  106. package/bundle/{chunk-4stgw33j.js → chunk-cbmw8fy2.js} +1 -1
  107. package/bundle/{chunk-h19ty95q.js → chunk-cn10hn58.js} +1 -1
  108. package/bundle/{chunk-tf1me2r4.js → chunk-cqhpbfcn.js} +2 -2
  109. package/bundle/{chunk-4wgb80jm.js → chunk-cr06m77n.js} +1 -1
  110. package/bundle/{chunk-s76hdgw6.js → chunk-cxb05cdg.js} +1 -1
  111. package/bundle/chunk-cxe92z5c.js +2 -0
  112. package/bundle/{chunk-vqq5vmh1.js → chunk-cyjzqa5p.js} +4 -4
  113. package/bundle/{chunk-msm3r7ny.js → chunk-d2n09yvh.js} +2 -2
  114. package/bundle/{chunk-bpnpxdyv.js → chunk-d31yrcrn.js} +1 -1
  115. package/bundle/chunk-d5wp85kw.js +2 -0
  116. package/bundle/{chunk-cjxp72dv.js → chunk-dazye86e.js} +1 -1
  117. package/bundle/chunk-dm5xnb4t.js +2 -0
  118. package/bundle/chunk-dpeqsvan.js +2 -0
  119. package/bundle/chunk-drxtmg5c.js +2 -0
  120. package/bundle/{chunk-1ce5jpdc.js → chunk-dv5zf5gz.js} +1 -1
  121. package/bundle/{chunk-99p5m2f1.js → chunk-e57d1he9.js} +1 -1
  122. package/bundle/{chunk-z015twaq.js → chunk-e58pdw5k.js} +1 -1
  123. package/bundle/chunk-e9pfdjcy.js +2 -0
  124. package/bundle/chunk-ejn5hfzd.js +2 -0
  125. package/bundle/{chunk-9w5rx0fb.js → chunk-ek1fawsj.js} +1 -1
  126. package/bundle/{chunk-3xna2rk5.js → chunk-eq33vmze.js} +1 -1
  127. package/bundle/{chunk-fgw420gb.js → chunk-eqaym8gm.js} +1 -1
  128. package/bundle/chunk-ernd18jb.js +2 -0
  129. package/bundle/{chunk-zh808d4t.js → chunk-ewvgbg68.js} +1 -1
  130. package/bundle/{chunk-e075v4e9.js → chunk-f3c9667r.js} +2 -2
  131. package/bundle/{chunk-h2fh1g8g.js → chunk-f3rrd2p6.js} +1 -1
  132. package/bundle/{chunk-bqs6a1ts.js → chunk-f416n3mp.js} +1 -1
  133. package/bundle/{chunk-mybpgrjj.js → chunk-f6y7a5w3.js} +1 -1
  134. package/bundle/{chunk-2zj3h3xj.js → chunk-fd9zrmhr.js} +1 -1
  135. package/bundle/chunk-ff9b4cg8.js +2 -0
  136. package/bundle/{chunk-0jaxgrq0.js → chunk-fffj9447.js} +1 -1
  137. package/bundle/{chunk-k8bp3jjv.js → chunk-fk3praj7.js} +1 -1
  138. package/bundle/{chunk-c1ypbbka.js → chunk-fk8cctjy.js} +1 -1
  139. package/bundle/{chunk-eg7drzzt.js → chunk-fkat2pw6.js} +1 -1
  140. package/bundle/chunk-fpff6a4q.js +2 -0
  141. package/bundle/{chunk-syhay5ye.js → chunk-fvy5w4dh.js} +1 -1
  142. package/bundle/{chunk-ey4ktbyb.js → chunk-fx7w497c.js} +1 -1
  143. package/bundle/{chunk-qnqqrvvs.js → chunk-fxb6vjcb.js} +1 -1
  144. package/bundle/{chunk-d1bsxz2t.js → chunk-g6dgc5af.js} +1 -1
  145. package/bundle/{chunk-rq4hqwjy.js → chunk-g7vahvkz.js} +1 -1
  146. package/bundle/{chunk-58680z2j.js → chunk-g8wvr7a1.js} +1 -1
  147. package/bundle/{chunk-2je5tp0x.js → chunk-gaxbbxk6.js} +1 -1
  148. package/bundle/chunk-gq361kdt.js +2 -0
  149. package/bundle/{chunk-gfmfrkxc.js → chunk-gxa2r4zc.js} +1 -1
  150. package/bundle/{chunk-jq81hb32.js → chunk-hb4d06q0.js} +1 -1
  151. package/bundle/chunk-hbagpppv.js +2 -0
  152. package/bundle/chunk-hf473xav.js +2 -0
  153. package/bundle/{chunk-gsz1wqy6.js → chunk-hjratj6g.js} +1 -1
  154. package/bundle/{chunk-zsnbxsdx.js → chunk-hk8j5ht8.js} +1 -1
  155. package/bundle/{chunk-p80dc6kt.js → chunk-hkmb3zer.js} +2 -2
  156. package/bundle/chunk-hr88054m.js +2 -0
  157. package/bundle/{chunk-jhq5bvhs.js → chunk-hybq019j.js} +2 -2
  158. package/bundle/{chunk-e1pwnf0b.js → chunk-hyckncza.js} +1 -1
  159. package/bundle/{chunk-jgs6ngte.js → chunk-hz1hd1bd.js} +1 -1
  160. package/bundle/{chunk-hznsed5n.js → chunk-j0ftbmex.js} +1 -1
  161. package/bundle/{chunk-4wa0gf8y.js → chunk-j3czd7v2.js} +1 -1
  162. package/bundle/{chunk-xyn3xxfs.js → chunk-j7zs1yg2.js} +1 -1
  163. package/bundle/{chunk-1e8mja6v.js → chunk-j87bvp1b.js} +1 -1
  164. package/bundle/chunk-j9m2d6t5.js +2 -0
  165. package/bundle/chunk-jd9edy2s.js +2 -0
  166. package/bundle/{chunk-yzchwmb4.js → chunk-jdkxeqw5.js} +1 -1
  167. package/bundle/chunk-jwtdbx31.js +2 -0
  168. package/bundle/{chunk-rjcptzem.js → chunk-jzcz92pq.js} +2 -2
  169. package/bundle/{chunk-6rrmjrm2.js → chunk-k7h6tfzj.js} +1 -1
  170. package/bundle/{chunk-eaatrmcg.js → chunk-kbg3k1az.js} +1 -1
  171. package/bundle/{chunk-87x607rz.js → chunk-kbjwdv1x.js} +6 -6
  172. package/bundle/{chunk-jtrcnpm7.js → chunk-kbyk7hyn.js} +2 -2
  173. package/bundle/{chunk-3nhth7c2.js → chunk-kfk1zqc1.js} +1 -1
  174. package/bundle/{chunk-754varfr.js → chunk-kkdgzeva.js} +1 -1
  175. package/bundle/{chunk-mkdyknbz.js → chunk-kn318ev4.js} +1 -1
  176. package/bundle/{chunk-zss93r48.js → chunk-kp84yba1.js} +1 -1
  177. package/bundle/{chunk-m2ang7yb.js → chunk-kpnfndkg.js} +1 -1
  178. package/bundle/chunk-krkxrej2.js +2 -0
  179. package/bundle/{chunk-z3zx6g09.js → chunk-kvz0vzsn.js} +1 -1
  180. package/bundle/chunk-m26mcy8p.js +2 -0
  181. package/bundle/{chunk-pd33qvr0.js → chunk-m62wgqp1.js} +1 -1
  182. package/bundle/{chunk-y0xt5a6g.js → chunk-m7txgh5w.js} +1 -1
  183. package/bundle/chunk-m84cn9c6.js +2 -0
  184. package/bundle/{chunk-vb4e7y4d.js → chunk-md7vpe1e.js} +1 -1
  185. package/bundle/{chunk-61ks7c71.js → chunk-mg239rc3.js} +3 -3
  186. package/bundle/chunk-mvc7pvtq.js +2 -0
  187. package/bundle/{chunk-8cty50g7.js → chunk-n07rsssz.js} +1 -1
  188. package/bundle/{chunk-7ws3gdjq.js → chunk-n10atvac.js} +1 -1
  189. package/bundle/chunk-nfp9xtca.js +3 -0
  190. package/bundle/{chunk-p8enedkf.js → chunk-ngz5xw45.js} +1 -1
  191. package/bundle/{chunk-3f054f69.js → chunk-njzpswgt.js} +6 -6
  192. package/bundle/{chunk-nmnsf3fc.js → chunk-nszqy06d.js} +1 -1
  193. package/bundle/{chunk-3e8p4a3y.js → chunk-nxjbbq5h.js} +1 -1
  194. package/bundle/{chunk-hmfefq0d.js → chunk-p0k4sv89.js} +3 -3
  195. package/bundle/{chunk-mkyrg7gt.js → chunk-p31yg62z.js} +2 -2
  196. package/bundle/chunk-p5t9mq8r.js +2 -0
  197. package/bundle/chunk-pfbykat1.js +2 -0
  198. package/bundle/{chunk-kgsq240v.js → chunk-pjbbdm96.js} +1 -1
  199. package/bundle/{chunk-4w5t515p.js → chunk-pnj8s20t.js} +1 -1
  200. package/bundle/{chunk-nf8gkxbk.js → chunk-ppvmy940.js} +2 -2
  201. package/bundle/{chunk-veev25yg.js → chunk-ptf09vmp.js} +1 -1
  202. package/bundle/{chunk-ggeena9t.js → chunk-q2exgz82.js} +1 -1
  203. package/bundle/{chunk-2s28fdbp.js → chunk-qan3kwbv.js} +1 -1
  204. package/bundle/{chunk-5zw7knvd.js → chunk-qb5qemtp.js} +1 -1
  205. package/bundle/chunk-qd0nvn4z.js +2 -0
  206. package/bundle/chunk-qh99kv2j.js +2 -0
  207. package/bundle/{chunk-7fx6x8x9.js → chunk-qkwhgfjt.js} +2 -2
  208. package/bundle/{chunk-9r6bvkp4.js → chunk-qmhcbdkg.js} +2 -2
  209. package/bundle/{chunk-3fy57jcy.js → chunk-qngs31yf.js} +1 -1
  210. package/bundle/{chunk-jv98gw88.js → chunk-qpv4438m.js} +2 -2
  211. package/bundle/{chunk-yhqk8bzk.js → chunk-qq71akpw.js} +2 -2
  212. package/bundle/chunk-qyrafh4m.js +2 -0
  213. package/bundle/{chunk-xjrt0dta.js → chunk-r1yqmd4y.js} +1 -1
  214. package/bundle/chunk-rc37cw86.js +2 -0
  215. package/bundle/{chunk-a27yjp71.js → chunk-rf625fxx.js} +1 -1
  216. package/bundle/chunk-rmpty636.js +2 -0
  217. package/bundle/{chunk-qnv2v02g.js → chunk-rs0nx844.js} +2 -2
  218. package/bundle/{chunk-8atry88r.js → chunk-rvrjw0fy.js} +1 -1
  219. package/bundle/{chunk-kwm87f18.js → chunk-rz54qjew.js} +1 -1
  220. package/bundle/{chunk-wrgg270f.js → chunk-s1h0k1yj.js} +1 -1
  221. package/bundle/{chunk-0rmmg3g4.js → chunk-s2za1y84.js} +1 -1
  222. package/bundle/chunk-s3wjwxme.js +2 -0
  223. package/bundle/chunk-s4ncnbgd.js +2 -0
  224. package/bundle/{chunk-3jhx8g5d.js → chunk-s54c8fpf.js} +1 -1
  225. package/bundle/{chunk-mr7agwgn.js → chunk-s5krbdvd.js} +1 -1
  226. package/bundle/{chunk-4pssh5d3.js → chunk-s86fj82v.js} +2 -2
  227. package/bundle/{chunk-8gy99gfb.js → chunk-sdsggxm4.js} +1 -1
  228. package/bundle/{chunk-ym4ydwrz.js → chunk-se195e52.js} +2 -2
  229. package/bundle/chunk-snz3w30x.js +2 -0
  230. package/bundle/chunk-srw748gr.js +2 -0
  231. package/bundle/{chunk-692vn48b.js → chunk-st74db4c.js} +1 -1
  232. package/bundle/{chunk-2k2axg73.js → chunk-t1vtdgd6.js} +1 -1
  233. package/bundle/{chunk-nhx2xp2x.js → chunk-t6xm49ea.js} +1 -1
  234. package/bundle/{chunk-xqa6qkx2.js → chunk-t7tstr83.js} +1 -1
  235. package/bundle/{chunk-p409grvp.js → chunk-tedrfa7d.js} +2 -2
  236. package/bundle/{chunk-vbf73c7z.js → chunk-tn167yyz.js} +1 -1
  237. package/bundle/{chunk-pepn5jp4.js → chunk-txty44v2.js} +1 -1
  238. package/bundle/{chunk-d5b0bqbr.js → chunk-tyy4gx61.js} +1 -1
  239. package/bundle/chunk-v1xwe58d.js +2 -0
  240. package/bundle/{chunk-7qvkyjjg.js → chunk-vh05n2x3.js} +1 -1
  241. package/bundle/{chunk-zbdbsagd.js → chunk-vpqd0t8a.js} +1 -1
  242. package/bundle/chunk-vrfegg5f.js +2 -0
  243. package/bundle/{chunk-3dvyfmgc.js → chunk-vthm5q05.js} +1 -1
  244. package/bundle/{chunk-vmgknvxs.js → chunk-vw673y0t.js} +2 -2
  245. package/bundle/{chunk-b50t4jc5.js → chunk-vx837ete.js} +1 -1
  246. package/bundle/{chunk-x6b99nt3.js → chunk-vy9xre57.js} +1 -1
  247. package/bundle/{chunk-g3s2z5xa.js → chunk-vyjsng14.js} +1 -1
  248. package/bundle/{chunk-rs1mm5ef.js → chunk-vztxv9dj.js} +1 -1
  249. package/bundle/{chunk-kyny0t2g.js → chunk-w01gjnty.js} +2 -2
  250. package/bundle/{chunk-k6zvb8xm.js → chunk-w12tky28.js} +1 -1
  251. package/bundle/{chunk-kdct3e8s.js → chunk-w2gpgapp.js} +1 -1
  252. package/bundle/{chunk-hvpe07pt.js → chunk-w3pzv615.js} +1 -1
  253. package/bundle/{chunk-pf7cj4jd.js → chunk-w4hbw37v.js} +1 -1
  254. package/bundle/chunk-w9ct698t.js +2 -0
  255. package/bundle/{chunk-3tnek022.js → chunk-wefjbwv6.js} +1 -1
  256. package/bundle/{chunk-0x7dbj5e.js → chunk-wg42cxrw.js} +1 -1
  257. package/bundle/{chunk-j9s62g01.js → chunk-wg5dv21f.js} +1 -1
  258. package/bundle/{chunk-qvcfst7n.js → chunk-wms4skr9.js} +1 -1
  259. package/bundle/{chunk-w98r39gd.js → chunk-wr5hdsst.js} +1 -1
  260. package/bundle/chunk-wxnqgh8t.js +2 -0
  261. package/bundle/chunk-wzmte7sy.js +3 -0
  262. package/bundle/chunk-x0h1jdxt.js +2 -0
  263. package/bundle/{chunk-ww8ear80.js → chunk-x3931we7.js} +2 -2
  264. package/bundle/{chunk-23f6rc7a.js → chunk-x3z8q0ep.js} +1 -1
  265. package/bundle/chunk-x6hsmnhz.js +2 -0
  266. package/bundle/{chunk-se79ke63.js → chunk-xak2r993.js} +1 -1
  267. package/bundle/{chunk-t0amhhsk.js → chunk-xc3fadkh.js} +1 -1
  268. package/bundle/{chunk-rjf21v5c.js → chunk-xcs2jbz9.js} +1 -1
  269. package/bundle/{chunk-ddxjc803.js → chunk-xdv9xt0y.js} +1 -1
  270. package/bundle/{chunk-aw0q4y3s.js → chunk-xdwej3ae.js} +1 -1
  271. package/bundle/chunk-xg9e0enb.js +2 -0
  272. package/bundle/{chunk-t2tsyazc.js → chunk-xqxpjbqk.js} +1 -1
  273. package/bundle/chunk-xtxxb25n.js +2 -0
  274. package/bundle/{chunk-9jncnqbj.js → chunk-y2ch07yv.js} +1 -1
  275. package/bundle/chunk-y3s7sh1e.js +2 -0
  276. package/bundle/{chunk-6a1g6jzn.js → chunk-ydvheqw9.js} +1 -1
  277. package/bundle/chunk-ygwe0vf1.js +5 -0
  278. package/bundle/{chunk-8jcx4tep.js → chunk-ykxde207.js} +1 -1
  279. package/bundle/{chunk-ag9thqkv.js → chunk-ynfbz3sz.js} +2 -2
  280. package/bundle/{chunk-p883sz67.js → chunk-yqtfvgrp.js} +1 -1
  281. package/bundle/{chunk-kdcspxvq.js → chunk-yt1yk4j1.js} +1 -1
  282. package/bundle/{chunk-xdde80rf.js → chunk-yvj021eg.js} +1 -1
  283. package/bundle/chunk-yxnq0d7k.js +2 -0
  284. package/bundle/{chunk-jvaffe5d.js → chunk-z2m09m4w.js} +1 -1
  285. package/bundle/{chunk-xw283h2r.js → chunk-z2q3mg73.js} +2 -2
  286. package/bundle/chunk-z2raegj9.js +2 -0
  287. package/bundle/{chunk-mczw8e3s.js → chunk-z3hj5bfd.js} +1 -1
  288. package/bundle/chunk-z3pyhmg6.js +2 -0
  289. package/bundle/{chunk-g73drh98.js → chunk-z4ae6jmb.js} +2 -2
  290. package/bundle/{chunk-qpm5afdz.js → chunk-z559gc3n.js} +1 -1
  291. package/bundle/{chunk-4aqd2bty.js → chunk-z7pg6sw1.js} +1 -1
  292. package/bundle/chunk-z84376c6.js +2 -0
  293. package/bundle/{chunk-aqm597px.js → chunk-ze00x1xb.js} +1 -1
  294. package/bundle/{chunk-1txkz6dt.js → chunk-zjvzc0my.js} +1 -1
  295. package/bundle/chunk-zn8th65r.js +2 -0
  296. package/bundle/{chunk-f55txcsa.js → chunk-zna6neq5.js} +1 -1
  297. package/bundle/chunk-ztv1brgn.js +2 -0
  298. package/bundle/{chunk-f84cd0a1.js → chunk-zvsafnkp.js} +1 -1
  299. package/bundle/{chunk-ydmrvx7q.js → chunk-zyxvd9fj.js} +1 -1
  300. package/bundle/index.js +3 -3
  301. package/bundle/parser.worker.js +2 -2
  302. package/bundle/worker.js +1 -1
  303. package/package.json +1 -1
  304. package/bundle/chunk-0eneddjj.js +0 -2
  305. package/bundle/chunk-0ke6x10y.js +0 -5
  306. package/bundle/chunk-0yb4pxjv.js +0 -2
  307. package/bundle/chunk-129kq1w7.js +0 -2
  308. package/bundle/chunk-1a5hq7d5.js +0 -2
  309. package/bundle/chunk-1w3y1dkk.js +0 -2
  310. package/bundle/chunk-2pkake0h.js +0 -2
  311. package/bundle/chunk-32188rww.js +0 -2
  312. package/bundle/chunk-334tc1rh.js +0 -2
  313. package/bundle/chunk-3ff94m8r.js +0 -2
  314. package/bundle/chunk-4xg5ptk9.js +0 -2
  315. package/bundle/chunk-5nm36wxa.js +0 -2
  316. package/bundle/chunk-64jet8nc.js +0 -2
  317. package/bundle/chunk-6584d9m8.js +0 -2
  318. package/bundle/chunk-66hv9bbw.js +0 -2
  319. package/bundle/chunk-6be8p915.js +0 -2
  320. package/bundle/chunk-6f03158n.js +0 -2
  321. package/bundle/chunk-7jnjttqx.js +0 -2
  322. package/bundle/chunk-7q8pa6s8.js +0 -2
  323. package/bundle/chunk-7w84hfxs.js +0 -3
  324. package/bundle/chunk-8casywce.js +0 -2
  325. package/bundle/chunk-8hxwxt5p.js +0 -2
  326. package/bundle/chunk-8y8140dm.js +0 -2
  327. package/bundle/chunk-9dqcyt6x.js +0 -2
  328. package/bundle/chunk-9he248a8.js +0 -2
  329. package/bundle/chunk-9qmmse2n.js +0 -2
  330. package/bundle/chunk-aabrsxrq.js +0 -2
  331. package/bundle/chunk-atd0q4v8.js +0 -3
  332. package/bundle/chunk-avaba4sr.js +0 -2
  333. package/bundle/chunk-bdy1etja.js +0 -2
  334. package/bundle/chunk-bqdvqmjc.js +0 -2
  335. package/bundle/chunk-cdws8ggq.js +0 -2
  336. package/bundle/chunk-cqs9a2cs.js +0 -2
  337. package/bundle/chunk-d0rjst58.js +0 -2
  338. package/bundle/chunk-d833a2fj.js +0 -2
  339. package/bundle/chunk-dday4nm2.js +0 -2
  340. package/bundle/chunk-e2sj30hk.js +0 -2
  341. package/bundle/chunk-enc0fykg.js +0 -2
  342. package/bundle/chunk-evan93av.js +0 -2
  343. package/bundle/chunk-f600dzsr.js +0 -2
  344. package/bundle/chunk-f6jzwydk.js +0 -2
  345. package/bundle/chunk-fv67ng8z.js +0 -2
  346. package/bundle/chunk-gevazsx3.js +0 -2
  347. package/bundle/chunk-gh18pzkx.js +0 -2
  348. package/bundle/chunk-gnvvgr4y.js +0 -2
  349. package/bundle/chunk-gsbjs2ws.js +0 -2
  350. package/bundle/chunk-j7pdz979.js +0 -2
  351. package/bundle/chunk-jfe2qbv8.js +0 -2
  352. package/bundle/chunk-kcht9kvx.js +0 -2
  353. package/bundle/chunk-knvsa1d4.js +0 -2
  354. package/bundle/chunk-kp6d68hd.js +0 -2
  355. package/bundle/chunk-me78p9x4.js +0 -2
  356. package/bundle/chunk-mv1d7wyt.js +0 -2
  357. package/bundle/chunk-n8xmmxh5.js +0 -2
  358. package/bundle/chunk-n90219q9.js +0 -2
  359. package/bundle/chunk-nckg3ydx.js +0 -2
  360. package/bundle/chunk-nhaenjw3.js +0 -2
  361. package/bundle/chunk-nhtrt5ec.js +0 -2
  362. package/bundle/chunk-p72n0tfq.js +0 -2
  363. package/bundle/chunk-pq3622ae.js +0 -2
  364. package/bundle/chunk-qatj4h6b.js +0 -2
  365. package/bundle/chunk-qjwfj51e.js +0 -2
  366. package/bundle/chunk-qkg73rs9.js +0 -2
  367. package/bundle/chunk-rmsqb6r4.js +0 -10
  368. package/bundle/chunk-rqrpbcm6.js +0 -2
  369. package/bundle/chunk-s7vhjg9e.js +0 -2
  370. package/bundle/chunk-sec3a60m.js +0 -2
  371. package/bundle/chunk-sjnt5e6w.js +0 -2
  372. package/bundle/chunk-sntb757q.js +0 -2
  373. package/bundle/chunk-svscftd7.js +0 -2
  374. package/bundle/chunk-sx0cabcs.js +0 -2
  375. package/bundle/chunk-tmdm6vm6.js +0 -2
  376. package/bundle/chunk-v6g0ksks.js +0 -2
  377. package/bundle/chunk-vbf9jpas.js +0 -2
  378. package/bundle/chunk-vrcf5q4s.js +0 -2
  379. package/bundle/chunk-vxrsp6n7.js +0 -2
  380. package/bundle/chunk-w8ax3pvh.js +0 -2
  381. package/bundle/chunk-xk2cmh49.js +0 -2
  382. package/bundle/chunk-xzhkfctf.js +0 -2
  383. package/bundle/chunk-z2rtcgad.js +0 -3
  384. package/bundle/chunk-z9b3t2jm.js +0 -2
  385. package/bundle/chunk-zzr8smtm.js +0 -2
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Be as mt}from"./chunk-se79ke63.js";import{tf as fr,uf as pt,xf as ft}from"./chunk-4wyjapes.js";import{eO as xe}from"./chunk-0rmmg3g4.js";var br=xe((Ti)=>{var re=ft(),_e=mt(),oi=pt(),be=fr(),Oe=0,Ue=1,me=2,ce=3,Pe=4,ke=5,mr=6,ct=7,gr=20,ut=21,yr=22,ai=23,gt=24,ge=25,ye=26,he=27,yt=31;function Ae(r){return typeof Buffer<"u"?Buffer.alloc(r):new Uint8Array(r)}var xt=Symbol("@smithy/core/cbor::tagSymbol");function wt(r){return r[xt]=!0,r}var ci=typeof TextDecoder<"u",hi=typeof Buffer<"u",O=Ae(0),oe=new DataView(O.buffer,O.byteOffset,O.byteLength),ur=ci?new TextDecoder:null,D=0;function li(r){O=r,oe=new DataView(O.buffer,O.byteOffset,O.byteLength)}function ae(r,t){if(r>=t)throw Error("unexpected end of (decode) payload.");let i=(O[r]&224)>>5,n=O[r]&31;switch(i){case Oe:case Ue:case mr:let l,c;if(n<24)l=n,c=1;else switch(n){case gt:case ge:case ye:case he:let d=wr[n],f=d+1;if(c=f,t-r<f)throw Error(`countLength ${d} greater than remaining buf len.`);let m=r+1;if(d===1)l=O[m];else if(d===2)l=oe.getUint16(m);else if(d===4)l=oe.getUint32(m);else l=oe.getBigUint64(m);break;default:throw Error(`unexpected minor value ${n}.`)}if(i===Oe)return D=c,ht(l);else if(i===Ue){let d;if(typeof l==="bigint")d=BigInt(-1)-l;else d=-1-l;return D=c,ht(d)}else if(n===2||n===3){let d=$e(r+c,t),f=BigInt(0),m=r+c+D;for(let w=m;w<m+d;++w)f=f<<BigInt(8)|BigInt(O[w]);return D=c+D+d,n===3?-f-BigInt(1):f}else if(n===4){let d=ae(r+c,t),[f,m]=d,w=m<0?-1:1,E="0".repeat(Math.abs(f)+1)+String(BigInt(w)*BigInt(m)),S,_=m<0?"-":"";if(S=f===0?E:E.slice(0,E.length+f)+"."+E.slice(f),S=S.replace(/^0+/g,""),S==="")S="0";if(S[0]===".")S="0"+S;return S=_+S,D=c+D,re.nv(S)}else{let d=ae(r+c,t);return D=c+D,wt({tag:ht(l),value:d})}case ce:case ke:case Pe:case me:if(n===yt)switch(i){case ce:return fi(r,t);case ke:return wi(r,t);case Pe:return yi(r,t);case me:return mi(r,t)}else switch(i){case ce:return pi(r,t);case ke:return xi(r,t);case Pe:return gi(r,t);case me:return Et(r,t)}default:return Ei(r,t)}}function xr(r,t,i){if(hi&&r.constructor?.name==="Buffer")return r.toString("utf-8",t,i);if(ur)return ur.decode(r.subarray(t,i));return re.toUtf8(r.subarray(t,i))}function ui(r){let t=Number(r);if(t<Number.MIN_SAFE_INTEGER||Number.MAX_SAFE_INTEGER<t)console.warn(Error(`@smithy/core/cbor - truncating BigInt(${r}) to ${t} with loss of precision.`));return t}var wr={[gt]:1,[ge]:2,[ye]:4,[he]:8};function di(r,t){let i=r>>7,n=(r&124)>>2,l=(r&3)<<8|t,c=i===0?1:-1,d,f;if(n===0)if(l===0)return 0;else d=Math.pow(2,-14),f=0;else if(n===31)if(l===0)return c*(1/0);else return NaN;else d=Math.pow(2,n-15),f=1;return f+=l/1024,c*(d*f)}function $e(r,t){let i=O[r]&31;if(i<24)return D=1,i;if(i===gt||i===ge||i===ye||i===he){let n=wr[i];if(D=n+1,t-r<D)throw Error(`countLength ${n} greater than remaining buf len.`);let l=r+1;if(n===1)return O[l];else if(n===2)return oe.getUint16(l);else if(n===4)return oe.getUint32(l);return ui(oe.getBigUint64(l))}throw Error(`unexpected minor value ${i}.`)}function pi(r,t){let i=$e(r,t),n=D;if(r+=n,t-r<i)throw Error(`string len ${i} greater than remaining buf len.`);let l=xr(O,r,r+i);return D=n+i,l}function fi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255){let m=Ae(i.length);return m.set(i,0),D=r-n+2,xr(m,0,m.length)}let l=(O[r]&224)>>5,c=O[r]&31;if(l!==ce)throw Error(`unexpected major type ${l} in indefinite string.`);if(c===yt)throw Error("nested indefinite string.");let d=Et(r,t);r+=D;for(let m=0;m<d.length;++m)i.push(d[m])}throw Error("expected break marker.")}function Et(r,t){let i=$e(r,t),n=D;if(r+=n,t-r<i)throw Error(`unstructured byte string len ${i} greater than remaining buf len.`);let l=O.subarray(r,r+i);return D=n+i,l}function mi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255){let m=Ae(i.length);return m.set(i,0),D=r-n+2,m}let l=(O[r]&224)>>5,c=O[r]&31;if(l!==me)throw Error(`unexpected major type ${l} in indefinite string.`);if(c===yt)throw Error("nested indefinite string.");let d=Et(r,t);r+=D;for(let m=0;m<d.length;++m)i.push(d[m])}throw Error("expected break marker.")}function gi(r,t){let i=$e(r,t),n=D;r+=n;let l=r,c=Array(i);for(let d=0;d<i;++d){let f=ae(r,t),m=D;c[d]=f,r+=m}return D=n+(r-l),c}function yi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255)return D=r-n+2,i;let l=ae(r,t);r+=D,i.push(l)}throw Error("expected break marker.")}function xi(r,t){let i=$e(r,t),n=D;r+=n;let l=r,c={};for(let d=0;d<i;++d){if(r>=t)throw Error("unexpected end of map payload.");let f=(O[r]&224)>>5;if(f!==ce)throw Error(`unexpected major type ${f} for map key at index ${r}.`);let m=ae(r,t);r+=D;let w=ae(r,t);r+=D,c[m]=w}return D=n+(r-l),c}function wi(r,t){r+=1;let i=r,n={};for(;r<t;){if(r>=t)throw Error("unexpected end of map payload.");if(O[r]===255)return D=r-i+2,n;let l=(O[r]&224)>>5;if(l!==ce)throw Error(`unexpected major type ${l} for map key.`);let c=ae(r,t);r+=D;let d=ae(r,t);r+=D,n[c]=d}throw Error("expected break marker.")}function Ei(r,t){let i=O[r]&31;switch(i){case ut:case gr:return D=1,i===ut;case yr:return D=1,null;case ai:return D=1,null;case ge:if(t-r<3)throw Error("incomplete float16 at end of buf.");return D=3,di(O[r+1],O[r+2]);case ye:if(t-r<5)throw Error("incomplete float32 at end of buf.");return D=5,oe.getFloat32(r+1);case he:if(t-r<9)throw Error("incomplete float64 at end of buf.");return D=9,oe.getFloat64(r+1);default:throw Error(`unexpected minor value ${i}.`)}}function ht(r){if(typeof r==="number")return r;let t=Number(r);if(Number.MIN_SAFE_INTEGER<=t&&t<=Number.MAX_SAFE_INTEGER)return t;return r}var dr=typeof Buffer<"u",Ni=2048,$=Ae(Ni),ne=new DataView($.buffer,$.byteOffset,$.byteLength),C=0;function lt(r){if($.byteLength-C<r)if(C<16000000)dt(Math.max($.byteLength*4,$.byteLength+r));else dt($.byteLength+r+16000000)}function pr(){let r=Ae(C);return r.set($.subarray(0,C),0),C=0,r}function dt(r){let t=$;if($=Ae(r),t)if(t.copy)t.copy($,0,0,t.byteLength);else $.set(t,0);ne=new DataView($.buffer,$.byteOffset,$.byteLength)}function ie(r,t){if(t<24)$[C++]=r<<5|t;else if(t<256)$[C++]=r<<5|24,$[C++]=t;else if(t<65536)$[C++]=r<<5|ge,ne.setUint16(C,t),C+=2;else if(t<4294967296)$[C++]=r<<5|ye,ne.setUint32(C,t),C+=4;else $[C++]=r<<5|he,ne.setBigUint64(C,typeof t==="bigint"?t:BigInt(t)),C+=8}function Si(r){let t=[r];while(t.length){let i=t.pop();if(lt(typeof i==="string"?i.length*4:64),typeof i==="string"){if(dr)ie(ce,Buffer.byteLength(i)),C+=$.write(i,C);else{let n=re.fromUtf8(i);ie(ce,n.byteLength),$.set(n,C),C+=n.byteLength}continue}else if(typeof i==="number"){if(Number.isInteger(i)){let n=i>=0,l=n?Oe:Ue,c=n?i:-i-1;if(c<24)$[C++]=l<<5|c;else if(c<256)$[C++]=l<<5|24,$[C++]=c;else if(c<65536)$[C++]=l<<5|ge,$[C++]=c>>8,$[C++]=c;else if(c<4294967296)$[C++]=l<<5|ye,ne.setUint32(C,c),C+=4;else $[C++]=l<<5|he,ne.setBigUint64(C,BigInt(c)),C+=8;continue}$[C++]=ct<<5|he,ne.setFloat64(C,i),C+=8;continue}else if(typeof i==="bigint"){let n=i>=0,l=n?Oe:Ue,c=n?i:-i-BigInt(1),d=Number(c);if(d<24)$[C++]=l<<5|d;else if(d<256)$[C++]=l<<5|24,$[C++]=d;else if(d<65536)$[C++]=l<<5|ge,$[C++]=d>>8,$[C++]=d&255;else if(d<4294967296)$[C++]=l<<5|ye,ne.setUint32(C,d),C+=4;else if(c<BigInt("18446744073709551616"))$[C++]=l<<5|he,ne.setBigUint64(C,c),C+=8;else{let f=c.toString(2),m=new Uint8Array(Math.ceil(f.length/8)),w=c,E=0;while(m.byteLength-++E>=0)m[m.byteLength-E]=Number(w&BigInt(255)),w>>=BigInt(8);if(lt(m.byteLength*2),$[C++]=n?194:195,dr)ie(me,Buffer.byteLength(m));else ie(me,m.byteLength);$.set(m,C),C+=m.byteLength}continue}else if(i===null){$[C++]=ct<<5|yr;continue}else if(typeof i==="boolean"){$[C++]=ct<<5|(i?ut:gr);continue}else if(typeof i>"u")throw Error("@smithy/core/cbor: client may not serialize undefined value.");else if(Array.isArray(i)){for(let n=i.length-1;n>=0;--n)t.push(i[n]);ie(Pe,i.length);continue}else if(typeof i.byteLength==="number"){lt(i.length*2),ie(me,i.length),$.set(i,C),C+=i.byteLength;continue}else if(typeof i==="object"){if(i instanceof re.NumericValue){let l=i.string.indexOf("."),c=l===-1?0:l-i.string.length+1,d=BigInt(i.string.replace(".",""));$[C++]=196,t.push(d),t.push(c),ie(Pe,2);continue}if(i[xt])if("tag"in i&&"value"in i){t.push(i.value),ie(mr,i.tag);continue}else throw Error("tag encountered with missing fields, need 'tag' and 'value', found: "+JSON.stringify(i));let n=Object.keys(i);for(let l=n.length-1;l>=0;--l){let c=n[l];t.push(i[c]),t.push(c)}ie(ke,n.length);continue}throw Error(`data type ${i?.constructor?.name??typeof i} not compatible for encoding.`)}}var Ve={deserialize(r){return li(r),ae(0,r.length)},serialize(r){try{return Si(r),pr()}catch(t){throw pr(),t}},resizeEncodingBuffer(r){dt(r)}},Er=(r,t)=>{return _e.collectBody(r,t).then(async(i)=>{if(i.length)try{return Ve.deserialize(i)}catch(n){throw Object.defineProperty(n,"$responseBodyText",{value:t.utf8Encoder(i)}),n}return{}})},ze=(r)=>{return wt({tag:1,value:r.getTime()/1000})},bi=async(r,t)=>{let i=await Er(r,t);return i.message=i.message??i.Message,i},Nr=(r,t)=>{let i=(l)=>{let c=l;if(typeof c==="number")c=c.toString();if(c.indexOf(",")>=0)c=c.split(",")[0];if(c.indexOf(":")>=0)c=c.split(":")[0];if(c.indexOf("#")>=0)c=c.split("#")[1];return c};if(t.__type!==void 0)return i(t.__type);let n;for(let l in t)if(l.toLowerCase()==="code"){n=l;break}if(n&&t[n]!==void 0)return i(t[n])},_i=(r)=>{if(String(r.headers["smithy-protocol"]).toLowerCase()!=="rpc-v2-cbor")throw Error("Malformed RPCv2 CBOR response, status: "+r.statusCode)},Ai=async(r,t,i,n,l)=>{let c=await r.endpoint(),{hostname:d,protocol:f="https",port:m,path:w}=c,E={protocol:f,hostname:d,port:m,method:"POST",path:w.endsWith("/")?w.slice(0,-1)+i:w+i,headers:{...t}};if(n!==void 0)E.hostname=n;if(c.headers)for(let S in c.headers)E.headers[S]=c.headers[S];if(l!==void 0){E.body=l;try{E.headers["content-length"]=String(re.calculateBodyLength(l))}catch(S){}}return new _e.HttpRequest(E)};class Nt extends _e.SerdeContext{createSerializer(){let r=new St;return r.setSerdeContext(this.serdeContext),r}createDeserializer(){let r=new bt;return r.setSerdeContext(this.serdeContext),r}}class St extends _e.SerdeContext{value;write(r,t){this.value=this.serialize(r,t)}serialize(r,t){let i=be.NormalizedSchema.of(r);if(t==null){if(i.isIdempotencyToken())return re.generateIdempotencyToken();return t}if(i.isBlobSchema()){if(typeof t==="string")return(this.serdeContext?.base64Decoder??re.fromBase64)(t);return t}if(i.isTimestampSchema()){if(typeof t==="number"||typeof t==="bigint")return ze(new Date(Number(t)/1000|0));return ze(t)}if(typeof t==="function"||typeof t==="object"){let n=t;if(i.isListSchema()&&Array.isArray(n)){let c=!!i.getMergedTraits().sparse,d=[],f=0;for(let m of n){let w=this.serialize(i.getValueSchema(),m);if(w!=null||c)d[f++]=w}return d}if(n instanceof Date)return ze(n);let l={};if(i.isMapSchema()){let c=!!i.getMergedTraits().sparse;for(let d in n){let f=this.serialize(i.getValueSchema(),n[d]);if(f!=null||c)l[d]=f}}else if(i.isStructSchema()){for(let[d,f]of i.structIterator()){let m=this.serialize(f,n[d]);if(m!=null)l[d]=m}if(i.isUnionSchema()&&Array.isArray(n.$unknown)){let[d,f]=n.$unknown;l[d]=f}else if(typeof n.__type==="string"){for(let d in n)if(!(d in l))l[d]=this.serialize(15,n[d])}}else if(i.isDocumentSchema())for(let c in n)l[c]=this.serialize(i.getValueSchema(),n[c]);else if(i.isBigDecimalSchema())return n;return l}return t}flush(){let r=Ve.serialize(this.value);return this.value=void 0,r}}class bt extends _e.SerdeContext{read(r,t){let i=Ve.deserialize(t);return this.readValue(r,i)}readValue(r,t){let i=be.NormalizedSchema.of(r);if(i.isTimestampSchema()){if(typeof t==="number")return re._parseEpochTimestamp(t);if(typeof t==="object"){if(t.tag===1&&"value"in t)return re._parseEpochTimestamp(t.value)}}if(i.isBlobSchema()){if(typeof t==="string")return(this.serdeContext?.base64Decoder??re.fromBase64)(t);return t}if(typeof t>"u"||typeof t==="boolean"||typeof t==="number"||typeof t==="string"||typeof t==="bigint"||typeof t==="symbol")return t;else if(typeof t==="object"){if(t===null)return null;if("byteLength"in t)return t;if(t instanceof Date)return t;if(i.isDocumentSchema())return t;if(i.isListSchema()){let l=[],c=i.getValueSchema();for(let d of t){let f=this.readValue(c,d);l.push(f)}return l}let n={};if(i.isMapSchema()){let l=i.getValueSchema();for(let c in t){let d=this.readValue(l,t[c]);n[c]=d}}else if(i.isStructSchema()){let l=i.isUnionSchema(),c;if(l){c=new Set;for(let d in t)if(d!=="__type")c.add(d)}for(let[d,f]of i.structIterator()){if(l)c.delete(d);if(t[d]!=null)n[d]=this.readValue(f,t[d])}if(l&&c?.size===1){let d=!0;for(let f in n){d=!1;break}if(d){let f=c.values().next().value;n.$unknown=[f,t[f]]}}else if(typeof t.__type==="string"){for(let d in t)if(!(d in n))n[d]=t[d]}}else if(t instanceof re.NumericValue)return t;return n}else return t}}class Sr extends _e.RpcProtocol{codec=new Nt;serializer=this.codec.createSerializer();deserializer=this.codec.createDeserializer();constructor({defaultNamespace:r,errorTypeRegistries:t}){super({defaultNamespace:r,errorTypeRegistries:t})}getShapeId(){return"smithy.protocols#rpcv2Cbor"}getPayloadCodec(){return this.codec}async serializeRequest(r,t,i){let n=await super.serializeRequest(r,t,i);if(Object.assign(n.headers,{"content-type":this.getDefaultContentType(),"smithy-protocol":"rpc-v2-cbor",accept:this.getDefaultContentType()}),be.deref(r.input)==="unit")delete n.body,delete n.headers["content-type"];else{if(!n.body)this.serializer.write(15,{}),n.body=this.serializer.flush();try{n.headers["content-length"]=String(n.body.byteLength)}catch(f){}}let{service:l,operation:c}=oi.getSmithyContext(i),d=`/service/${l}/operation/${c}`;if(n.path.endsWith("/"))n.path+=d.slice(1);else n.path+=d;return n}async deserializeResponse(r,t,i){return super.deserializeResponse(r,t,i)}async handleError(r,t,i,n,l){let c=Nr(i,n)??"Unknown",d={$metadata:l,$fault:i.statusCode<=500?"client":"server"},f=this.options.defaultNamespace;if(c.includes("#"))[f]=c.split("#");let m=this.compositeErrorRegistry,w=be.TypeRegistry.for(f);m.copyFrom(w);let E;try{E=m.getSchema(c)}catch(V){if(n.Message)n.message=n.Message;let B=be.TypeRegistry.for("smithy.ts.sdk.synthetic."+f);m.copyFrom(B);let Z=m.getBaseException();if(Z){let L=m.getErrorCtor(Z);throw Object.assign(new L({name:c}),d,n)}throw Object.assign(Error(c),d,n)}let S=be.NormalizedSchema.of(E),_=m.getErrorCtor(E),A=n.message??n.Message??"Unknown",I=new _({}),P={};for(let[V,B]of S.structIterator())P[V]=this.deserializer.readValue(B,n[V]);throw Object.assign(I,d,{$fault:S.getMergedTraits().error,message:A},P)}getDefaultContentType(){return"application/cbor"}}Ti.CborCodec=Nt;Ti.CborShapeDeserializer=bt;Ti.CborShapeSerializer=St;Ti.SmithyRpcV2CborProtocol=Sr;Ti.buildHttpRpcRequest=Ai;Ti.cbor=Ve;Ti.checkCborResponse=_i;Ti.dateToTag=ze;Ti.loadSmithyRpcV2CborErrorCode=Nr;Ti.parseCborBody=Er;Ti.parseCborErrorBody=bi;Ti.tag=wt;Ti.tagSymbol=xt});var Ar=xe((vo,_r)=>{(()=>{var r={d:(e,s)=>{for(var o in s)r.o(s,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:s[o]})},o:(e,s)=>Object.prototype.hasOwnProperty.call(e,s),r:(e)=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};r.r(t),r.d(t,{XMLBuilder:()=>ii,XMLParser:()=>ir,XMLValidator:()=>ni});let i=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("^["+i+"]["+i+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function l(e,s){let o=[],a=s.exec(e);for(;a;){let h=[];h.startIndex=s.lastIndex-a[0].length;let u=a.length;for(let x=0;x<u;x++)h.push(a[x]);o.push(h),a=s.exec(e)}return o}let c=function(e){return n.exec(e)!=null},d=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],f=["__proto__","constructor","prototype"],m={allowBooleanAttributes:!1,unpairedTags:[]};function w(e,s){s=Object.assign({},m,s);let o=[],a=!1,h=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let u=0;u<e.length;u++)if(e[u]==="<"&&e[u+1]==="?"){if(u+=2,u=S(e,u),u.err)return u}else{if(e[u]!=="<"){if(E(e[u]))continue;return L("InvalidChar","char '"+e[u]+"' is not expected.",F(e,u))}{let x=u;if(u++,e[u]==="!"){u=_(e,u);continue}{let p=!1;e[u]==="/"&&(p=!0,u++);let y="";for(;u<e.length&&e[u]!==">"&&e[u]!==" "&&e[u]!=="\t"&&e[u]!==`
2
+ import{Be as mt}from"./chunk-xak2r993.js";import{tf as fr,uf as pt,xf as ft}from"./chunk-5ymj2q6j.js";import{DP as xe}from"./chunk-s2za1y84.js";var br=xe((Ti)=>{var re=ft(),_e=mt(),oi=pt(),be=fr(),Oe=0,Ue=1,me=2,ce=3,Pe=4,ke=5,mr=6,ct=7,gr=20,ut=21,yr=22,ai=23,gt=24,ge=25,ye=26,he=27,yt=31;function Ae(r){return typeof Buffer<"u"?Buffer.alloc(r):new Uint8Array(r)}var xt=Symbol("@smithy/core/cbor::tagSymbol");function wt(r){return r[xt]=!0,r}var ci=typeof TextDecoder<"u",hi=typeof Buffer<"u",O=Ae(0),oe=new DataView(O.buffer,O.byteOffset,O.byteLength),ur=ci?new TextDecoder:null,D=0;function li(r){O=r,oe=new DataView(O.buffer,O.byteOffset,O.byteLength)}function ae(r,t){if(r>=t)throw Error("unexpected end of (decode) payload.");let i=(O[r]&224)>>5,n=O[r]&31;switch(i){case Oe:case Ue:case mr:let l,c;if(n<24)l=n,c=1;else switch(n){case gt:case ge:case ye:case he:let d=wr[n],f=d+1;if(c=f,t-r<f)throw Error(`countLength ${d} greater than remaining buf len.`);let m=r+1;if(d===1)l=O[m];else if(d===2)l=oe.getUint16(m);else if(d===4)l=oe.getUint32(m);else l=oe.getBigUint64(m);break;default:throw Error(`unexpected minor value ${n}.`)}if(i===Oe)return D=c,ht(l);else if(i===Ue){let d;if(typeof l==="bigint")d=BigInt(-1)-l;else d=-1-l;return D=c,ht(d)}else if(n===2||n===3){let d=$e(r+c,t),f=BigInt(0),m=r+c+D;for(let w=m;w<m+d;++w)f=f<<BigInt(8)|BigInt(O[w]);return D=c+D+d,n===3?-f-BigInt(1):f}else if(n===4){let d=ae(r+c,t),[f,m]=d,w=m<0?-1:1,E="0".repeat(Math.abs(f)+1)+String(BigInt(w)*BigInt(m)),S,_=m<0?"-":"";if(S=f===0?E:E.slice(0,E.length+f)+"."+E.slice(f),S=S.replace(/^0+/g,""),S==="")S="0";if(S[0]===".")S="0"+S;return S=_+S,D=c+D,re.nv(S)}else{let d=ae(r+c,t);return D=c+D,wt({tag:ht(l),value:d})}case ce:case ke:case Pe:case me:if(n===yt)switch(i){case ce:return fi(r,t);case ke:return wi(r,t);case Pe:return yi(r,t);case me:return mi(r,t)}else switch(i){case ce:return pi(r,t);case ke:return xi(r,t);case Pe:return gi(r,t);case me:return Et(r,t)}default:return Ei(r,t)}}function xr(r,t,i){if(hi&&r.constructor?.name==="Buffer")return r.toString("utf-8",t,i);if(ur)return ur.decode(r.subarray(t,i));return re.toUtf8(r.subarray(t,i))}function ui(r){let t=Number(r);if(t<Number.MIN_SAFE_INTEGER||Number.MAX_SAFE_INTEGER<t)console.warn(Error(`@smithy/core/cbor - truncating BigInt(${r}) to ${t} with loss of precision.`));return t}var wr={[gt]:1,[ge]:2,[ye]:4,[he]:8};function di(r,t){let i=r>>7,n=(r&124)>>2,l=(r&3)<<8|t,c=i===0?1:-1,d,f;if(n===0)if(l===0)return 0;else d=Math.pow(2,-14),f=0;else if(n===31)if(l===0)return c*(1/0);else return NaN;else d=Math.pow(2,n-15),f=1;return f+=l/1024,c*(d*f)}function $e(r,t){let i=O[r]&31;if(i<24)return D=1,i;if(i===gt||i===ge||i===ye||i===he){let n=wr[i];if(D=n+1,t-r<D)throw Error(`countLength ${n} greater than remaining buf len.`);let l=r+1;if(n===1)return O[l];else if(n===2)return oe.getUint16(l);else if(n===4)return oe.getUint32(l);return ui(oe.getBigUint64(l))}throw Error(`unexpected minor value ${i}.`)}function pi(r,t){let i=$e(r,t),n=D;if(r+=n,t-r<i)throw Error(`string len ${i} greater than remaining buf len.`);let l=xr(O,r,r+i);return D=n+i,l}function fi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255){let m=Ae(i.length);return m.set(i,0),D=r-n+2,xr(m,0,m.length)}let l=(O[r]&224)>>5,c=O[r]&31;if(l!==ce)throw Error(`unexpected major type ${l} in indefinite string.`);if(c===yt)throw Error("nested indefinite string.");let d=Et(r,t);r+=D;for(let m=0;m<d.length;++m)i.push(d[m])}throw Error("expected break marker.")}function Et(r,t){let i=$e(r,t),n=D;if(r+=n,t-r<i)throw Error(`unstructured byte string len ${i} greater than remaining buf len.`);let l=O.subarray(r,r+i);return D=n+i,l}function mi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255){let m=Ae(i.length);return m.set(i,0),D=r-n+2,m}let l=(O[r]&224)>>5,c=O[r]&31;if(l!==me)throw Error(`unexpected major type ${l} in indefinite string.`);if(c===yt)throw Error("nested indefinite string.");let d=Et(r,t);r+=D;for(let m=0;m<d.length;++m)i.push(d[m])}throw Error("expected break marker.")}function gi(r,t){let i=$e(r,t),n=D;r+=n;let l=r,c=Array(i);for(let d=0;d<i;++d){let f=ae(r,t),m=D;c[d]=f,r+=m}return D=n+(r-l),c}function yi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255)return D=r-n+2,i;let l=ae(r,t);r+=D,i.push(l)}throw Error("expected break marker.")}function xi(r,t){let i=$e(r,t),n=D;r+=n;let l=r,c={};for(let d=0;d<i;++d){if(r>=t)throw Error("unexpected end of map payload.");let f=(O[r]&224)>>5;if(f!==ce)throw Error(`unexpected major type ${f} for map key at index ${r}.`);let m=ae(r,t);r+=D;let w=ae(r,t);r+=D,c[m]=w}return D=n+(r-l),c}function wi(r,t){r+=1;let i=r,n={};for(;r<t;){if(r>=t)throw Error("unexpected end of map payload.");if(O[r]===255)return D=r-i+2,n;let l=(O[r]&224)>>5;if(l!==ce)throw Error(`unexpected major type ${l} for map key.`);let c=ae(r,t);r+=D;let d=ae(r,t);r+=D,n[c]=d}throw Error("expected break marker.")}function Ei(r,t){let i=O[r]&31;switch(i){case ut:case gr:return D=1,i===ut;case yr:return D=1,null;case ai:return D=1,null;case ge:if(t-r<3)throw Error("incomplete float16 at end of buf.");return D=3,di(O[r+1],O[r+2]);case ye:if(t-r<5)throw Error("incomplete float32 at end of buf.");return D=5,oe.getFloat32(r+1);case he:if(t-r<9)throw Error("incomplete float64 at end of buf.");return D=9,oe.getFloat64(r+1);default:throw Error(`unexpected minor value ${i}.`)}}function ht(r){if(typeof r==="number")return r;let t=Number(r);if(Number.MIN_SAFE_INTEGER<=t&&t<=Number.MAX_SAFE_INTEGER)return t;return r}var dr=typeof Buffer<"u",Ni=2048,$=Ae(Ni),ne=new DataView($.buffer,$.byteOffset,$.byteLength),C=0;function lt(r){if($.byteLength-C<r)if(C<16000000)dt(Math.max($.byteLength*4,$.byteLength+r));else dt($.byteLength+r+16000000)}function pr(){let r=Ae(C);return r.set($.subarray(0,C),0),C=0,r}function dt(r){let t=$;if($=Ae(r),t)if(t.copy)t.copy($,0,0,t.byteLength);else $.set(t,0);ne=new DataView($.buffer,$.byteOffset,$.byteLength)}function ie(r,t){if(t<24)$[C++]=r<<5|t;else if(t<256)$[C++]=r<<5|24,$[C++]=t;else if(t<65536)$[C++]=r<<5|ge,ne.setUint16(C,t),C+=2;else if(t<4294967296)$[C++]=r<<5|ye,ne.setUint32(C,t),C+=4;else $[C++]=r<<5|he,ne.setBigUint64(C,typeof t==="bigint"?t:BigInt(t)),C+=8}function Si(r){let t=[r];while(t.length){let i=t.pop();if(lt(typeof i==="string"?i.length*4:64),typeof i==="string"){if(dr)ie(ce,Buffer.byteLength(i)),C+=$.write(i,C);else{let n=re.fromUtf8(i);ie(ce,n.byteLength),$.set(n,C),C+=n.byteLength}continue}else if(typeof i==="number"){if(Number.isInteger(i)){let n=i>=0,l=n?Oe:Ue,c=n?i:-i-1;if(c<24)$[C++]=l<<5|c;else if(c<256)$[C++]=l<<5|24,$[C++]=c;else if(c<65536)$[C++]=l<<5|ge,$[C++]=c>>8,$[C++]=c;else if(c<4294967296)$[C++]=l<<5|ye,ne.setUint32(C,c),C+=4;else $[C++]=l<<5|he,ne.setBigUint64(C,BigInt(c)),C+=8;continue}$[C++]=ct<<5|he,ne.setFloat64(C,i),C+=8;continue}else if(typeof i==="bigint"){let n=i>=0,l=n?Oe:Ue,c=n?i:-i-BigInt(1),d=Number(c);if(d<24)$[C++]=l<<5|d;else if(d<256)$[C++]=l<<5|24,$[C++]=d;else if(d<65536)$[C++]=l<<5|ge,$[C++]=d>>8,$[C++]=d&255;else if(d<4294967296)$[C++]=l<<5|ye,ne.setUint32(C,d),C+=4;else if(c<BigInt("18446744073709551616"))$[C++]=l<<5|he,ne.setBigUint64(C,c),C+=8;else{let f=c.toString(2),m=new Uint8Array(Math.ceil(f.length/8)),w=c,E=0;while(m.byteLength-++E>=0)m[m.byteLength-E]=Number(w&BigInt(255)),w>>=BigInt(8);if(lt(m.byteLength*2),$[C++]=n?194:195,dr)ie(me,Buffer.byteLength(m));else ie(me,m.byteLength);$.set(m,C),C+=m.byteLength}continue}else if(i===null){$[C++]=ct<<5|yr;continue}else if(typeof i==="boolean"){$[C++]=ct<<5|(i?ut:gr);continue}else if(typeof i>"u")throw Error("@smithy/core/cbor: client may not serialize undefined value.");else if(Array.isArray(i)){for(let n=i.length-1;n>=0;--n)t.push(i[n]);ie(Pe,i.length);continue}else if(typeof i.byteLength==="number"){lt(i.length*2),ie(me,i.length),$.set(i,C),C+=i.byteLength;continue}else if(typeof i==="object"){if(i instanceof re.NumericValue){let l=i.string.indexOf("."),c=l===-1?0:l-i.string.length+1,d=BigInt(i.string.replace(".",""));$[C++]=196,t.push(d),t.push(c),ie(Pe,2);continue}if(i[xt])if("tag"in i&&"value"in i){t.push(i.value),ie(mr,i.tag);continue}else throw Error("tag encountered with missing fields, need 'tag' and 'value', found: "+JSON.stringify(i));let n=Object.keys(i);for(let l=n.length-1;l>=0;--l){let c=n[l];t.push(i[c]),t.push(c)}ie(ke,n.length);continue}throw Error(`data type ${i?.constructor?.name??typeof i} not compatible for encoding.`)}}var Ve={deserialize(r){return li(r),ae(0,r.length)},serialize(r){try{return Si(r),pr()}catch(t){throw pr(),t}},resizeEncodingBuffer(r){dt(r)}},Er=(r,t)=>{return _e.collectBody(r,t).then(async(i)=>{if(i.length)try{return Ve.deserialize(i)}catch(n){throw Object.defineProperty(n,"$responseBodyText",{value:t.utf8Encoder(i)}),n}return{}})},ze=(r)=>{return wt({tag:1,value:r.getTime()/1000})},bi=async(r,t)=>{let i=await Er(r,t);return i.message=i.message??i.Message,i},Nr=(r,t)=>{let i=(l)=>{let c=l;if(typeof c==="number")c=c.toString();if(c.indexOf(",")>=0)c=c.split(",")[0];if(c.indexOf(":")>=0)c=c.split(":")[0];if(c.indexOf("#")>=0)c=c.split("#")[1];return c};if(t.__type!==void 0)return i(t.__type);let n;for(let l in t)if(l.toLowerCase()==="code"){n=l;break}if(n&&t[n]!==void 0)return i(t[n])},_i=(r)=>{if(String(r.headers["smithy-protocol"]).toLowerCase()!=="rpc-v2-cbor")throw Error("Malformed RPCv2 CBOR response, status: "+r.statusCode)},Ai=async(r,t,i,n,l)=>{let c=await r.endpoint(),{hostname:d,protocol:f="https",port:m,path:w}=c,E={protocol:f,hostname:d,port:m,method:"POST",path:w.endsWith("/")?w.slice(0,-1)+i:w+i,headers:{...t}};if(n!==void 0)E.hostname=n;if(c.headers)for(let S in c.headers)E.headers[S]=c.headers[S];if(l!==void 0){E.body=l;try{E.headers["content-length"]=String(re.calculateBodyLength(l))}catch(S){}}return new _e.HttpRequest(E)};class Nt extends _e.SerdeContext{createSerializer(){let r=new St;return r.setSerdeContext(this.serdeContext),r}createDeserializer(){let r=new bt;return r.setSerdeContext(this.serdeContext),r}}class St extends _e.SerdeContext{value;write(r,t){this.value=this.serialize(r,t)}serialize(r,t){let i=be.NormalizedSchema.of(r);if(t==null){if(i.isIdempotencyToken())return re.generateIdempotencyToken();return t}if(i.isBlobSchema()){if(typeof t==="string")return(this.serdeContext?.base64Decoder??re.fromBase64)(t);return t}if(i.isTimestampSchema()){if(typeof t==="number"||typeof t==="bigint")return ze(new Date(Number(t)/1000|0));return ze(t)}if(typeof t==="function"||typeof t==="object"){let n=t;if(i.isListSchema()&&Array.isArray(n)){let c=!!i.getMergedTraits().sparse,d=[],f=0;for(let m of n){let w=this.serialize(i.getValueSchema(),m);if(w!=null||c)d[f++]=w}return d}if(n instanceof Date)return ze(n);let l={};if(i.isMapSchema()){let c=!!i.getMergedTraits().sparse;for(let d in n){let f=this.serialize(i.getValueSchema(),n[d]);if(f!=null||c)l[d]=f}}else if(i.isStructSchema()){for(let[d,f]of i.structIterator()){let m=this.serialize(f,n[d]);if(m!=null)l[d]=m}if(i.isUnionSchema()&&Array.isArray(n.$unknown)){let[d,f]=n.$unknown;l[d]=f}else if(typeof n.__type==="string"){for(let d in n)if(!(d in l))l[d]=this.serialize(15,n[d])}}else if(i.isDocumentSchema())for(let c in n)l[c]=this.serialize(i.getValueSchema(),n[c]);else if(i.isBigDecimalSchema())return n;return l}return t}flush(){let r=Ve.serialize(this.value);return this.value=void 0,r}}class bt extends _e.SerdeContext{read(r,t){let i=Ve.deserialize(t);return this.readValue(r,i)}readValue(r,t){let i=be.NormalizedSchema.of(r);if(i.isTimestampSchema()){if(typeof t==="number")return re._parseEpochTimestamp(t);if(typeof t==="object"){if(t.tag===1&&"value"in t)return re._parseEpochTimestamp(t.value)}}if(i.isBlobSchema()){if(typeof t==="string")return(this.serdeContext?.base64Decoder??re.fromBase64)(t);return t}if(typeof t>"u"||typeof t==="boolean"||typeof t==="number"||typeof t==="string"||typeof t==="bigint"||typeof t==="symbol")return t;else if(typeof t==="object"){if(t===null)return null;if("byteLength"in t)return t;if(t instanceof Date)return t;if(i.isDocumentSchema())return t;if(i.isListSchema()){let l=[],c=i.getValueSchema();for(let d of t){let f=this.readValue(c,d);l.push(f)}return l}let n={};if(i.isMapSchema()){let l=i.getValueSchema();for(let c in t){let d=this.readValue(l,t[c]);n[c]=d}}else if(i.isStructSchema()){let l=i.isUnionSchema(),c;if(l){c=new Set;for(let d in t)if(d!=="__type")c.add(d)}for(let[d,f]of i.structIterator()){if(l)c.delete(d);if(t[d]!=null)n[d]=this.readValue(f,t[d])}if(l&&c?.size===1){let d=!0;for(let f in n){d=!1;break}if(d){let f=c.values().next().value;n.$unknown=[f,t[f]]}}else if(typeof t.__type==="string"){for(let d in t)if(!(d in n))n[d]=t[d]}}else if(t instanceof re.NumericValue)return t;return n}else return t}}class Sr extends _e.RpcProtocol{codec=new Nt;serializer=this.codec.createSerializer();deserializer=this.codec.createDeserializer();constructor({defaultNamespace:r,errorTypeRegistries:t}){super({defaultNamespace:r,errorTypeRegistries:t})}getShapeId(){return"smithy.protocols#rpcv2Cbor"}getPayloadCodec(){return this.codec}async serializeRequest(r,t,i){let n=await super.serializeRequest(r,t,i);if(Object.assign(n.headers,{"content-type":this.getDefaultContentType(),"smithy-protocol":"rpc-v2-cbor",accept:this.getDefaultContentType()}),be.deref(r.input)==="unit")delete n.body,delete n.headers["content-type"];else{if(!n.body)this.serializer.write(15,{}),n.body=this.serializer.flush();try{n.headers["content-length"]=String(n.body.byteLength)}catch(f){}}let{service:l,operation:c}=oi.getSmithyContext(i),d=`/service/${l}/operation/${c}`;if(n.path.endsWith("/"))n.path+=d.slice(1);else n.path+=d;return n}async deserializeResponse(r,t,i){return super.deserializeResponse(r,t,i)}async handleError(r,t,i,n,l){let c=Nr(i,n)??"Unknown",d={$metadata:l,$fault:i.statusCode<=500?"client":"server"},f=this.options.defaultNamespace;if(c.includes("#"))[f]=c.split("#");let m=this.compositeErrorRegistry,w=be.TypeRegistry.for(f);m.copyFrom(w);let E;try{E=m.getSchema(c)}catch(V){if(n.Message)n.message=n.Message;let B=be.TypeRegistry.for("smithy.ts.sdk.synthetic."+f);m.copyFrom(B);let Z=m.getBaseException();if(Z){let L=m.getErrorCtor(Z);throw Object.assign(new L({name:c}),d,n)}throw Object.assign(Error(c),d,n)}let S=be.NormalizedSchema.of(E),_=m.getErrorCtor(E),A=n.message??n.Message??"Unknown",I=new _({}),P={};for(let[V,B]of S.structIterator())P[V]=this.deserializer.readValue(B,n[V]);throw Object.assign(I,d,{$fault:S.getMergedTraits().error,message:A},P)}getDefaultContentType(){return"application/cbor"}}Ti.CborCodec=Nt;Ti.CborShapeDeserializer=bt;Ti.CborShapeSerializer=St;Ti.SmithyRpcV2CborProtocol=Sr;Ti.buildHttpRpcRequest=Ai;Ti.cbor=Ve;Ti.checkCborResponse=_i;Ti.dateToTag=ze;Ti.loadSmithyRpcV2CborErrorCode=Nr;Ti.parseCborBody=Er;Ti.parseCborErrorBody=bi;Ti.tag=wt;Ti.tagSymbol=xt});var Ar=xe((vo,_r)=>{(()=>{var r={d:(e,s)=>{for(var o in s)r.o(s,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:s[o]})},o:(e,s)=>Object.prototype.hasOwnProperty.call(e,s),r:(e)=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};r.r(t),r.d(t,{XMLBuilder:()=>ii,XMLParser:()=>ir,XMLValidator:()=>ni});let i=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("^["+i+"]["+i+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function l(e,s){let o=[],a=s.exec(e);for(;a;){let h=[];h.startIndex=s.lastIndex-a[0].length;let u=a.length;for(let x=0;x<u;x++)h.push(a[x]);o.push(h),a=s.exec(e)}return o}let c=function(e){return n.exec(e)!=null},d=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],f=["__proto__","constructor","prototype"],m={allowBooleanAttributes:!1,unpairedTags:[]};function w(e,s){s=Object.assign({},m,s);let o=[],a=!1,h=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let u=0;u<e.length;u++)if(e[u]==="<"&&e[u+1]==="?"){if(u+=2,u=S(e,u),u.err)return u}else{if(e[u]!=="<"){if(E(e[u]))continue;return L("InvalidChar","char '"+e[u]+"' is not expected.",F(e,u))}{let x=u;if(u++,e[u]==="!"){u=_(e,u);continue}{let p=!1;e[u]==="/"&&(p=!0,u++);let y="";for(;u<e.length&&e[u]!==">"&&e[u]!==" "&&e[u]!=="\t"&&e[u]!==`
3
3
  `&&e[u]!=="\r";u++)y+=e[u];if(y=y.trim(),y[y.length-1]==="/"&&(y=y.substring(0,y.length-1),u--),!Ye(y)){let b;return b=y.trim().length===0?"Invalid space after '<'.":"Tag '"+y+"' is an invalid name.",L("InvalidTag",b,F(e,u))}let g=P(e,u);if(g===!1)return L("InvalidAttr","Attributes for '"+y+"' have open quote.",F(e,u));let N=g.value;if(u=g.index,N[N.length-1]==="/"){let b=u-N.length;N=N.substring(0,N.length-1);let T=B(N,s);if(T!==!0)return L(T.err.code,T.err.msg,F(e,b+T.err.line));a=!0}else if(p){if(!g.tagClosed)return L("InvalidTag","Closing tag '"+y+"' doesn't have proper closing.",F(e,u));if(N.trim().length>0)return L("InvalidTag","Closing tag '"+y+"' can't have attributes or invalid starting.",F(e,x));if(o.length===0)return L("InvalidTag","Closing tag '"+y+"' has not been opened.",F(e,x));{let b=o.pop();if(y!==b.tagName){let T=F(e,b.tagStartPos);return L("InvalidTag","Expected closing tag '"+b.tagName+"' (opened in line "+T.line+", col "+T.col+") instead of closing tag '"+y+"'.",F(e,x))}o.length==0&&(h=!0)}}else{let b=B(N,s);if(b!==!0)return L(b.err.code,b.err.msg,F(e,u-N.length+b.err.line));if(h===!0)return L("InvalidXml","Multiple possible root nodes found.",F(e,u));s.unpairedTags.indexOf(y)!==-1||o.push({tagName:y,tagStartPos:x}),a=!0}for(u++;u<e.length;u++)if(e[u]==="<"){if(e[u+1]==="!"){u++,u=_(e,u);continue}if(e[u+1]!=="?")break;if(u=S(e,++u),u.err)return u}else if(e[u]==="&"){let b=Z(e,u);if(b==-1)return L("InvalidChar","char '&' is not expected.",F(e,u));u=b}else if(h===!0&&!E(e[u]))return L("InvalidXml","Extra text at the end",F(e,u));e[u]==="<"&&u--}}}return a?o.length==1?L("InvalidTag","Unclosed tag '"+o[0].tagName+"'.",F(e,o[0].tagStartPos)):!(o.length>0)||L("InvalidXml","Invalid '"+JSON.stringify(o.map((u)=>u.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):L("InvalidXml","Start tag expected.",1)}function E(e){return e===" "||e==="\t"||e===`
4
4
  `||e==="\r"}function S(e,s){let o=s;for(;s<e.length;s++)if(e[s]=="?"||e[s]==" "){let a=e.substr(o,s-o);if(s>5&&a==="xml")return L("InvalidXml","XML declaration allowed only at the start of the document.",F(e,s));if(e[s]=="?"&&e[s+1]==">"){s++;break}continue}return s}function _(e,s){if(e.length>s+5&&e[s+1]==="-"&&e[s+2]==="-"){for(s+=3;s<e.length;s++)if(e[s]==="-"&&e[s+1]==="-"&&e[s+2]===">"){s+=2;break}}else if(e.length>s+8&&e[s+1]==="D"&&e[s+2]==="O"&&e[s+3]==="C"&&e[s+4]==="T"&&e[s+5]==="Y"&&e[s+6]==="P"&&e[s+7]==="E"){let o=1;for(s+=8;s<e.length;s++)if(e[s]==="<")o++;else if(e[s]===">"&&(o--,o===0))break}else if(e.length>s+9&&e[s+1]==="["&&e[s+2]==="C"&&e[s+3]==="D"&&e[s+4]==="A"&&e[s+5]==="T"&&e[s+6]==="A"&&e[s+7]==="["){for(s+=8;s<e.length;s++)if(e[s]==="]"&&e[s+1]==="]"&&e[s+2]===">"){s+=2;break}}return s}let A='"',I="'";function P(e,s){let o="",a="",h=!1;for(;s<e.length;s++){if(e[s]===A||e[s]===I)a===""?a=e[s]:a!==e[s]||(a="");else if(e[s]===">"&&a===""){h=!0;break}o+=e[s]}return a===""&&{value:o,index:s,tagClosed:h}}let V=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function B(e,s){let o=l(e,V),a={};for(let h=0;h<o.length;h++){if(o[h][1].length===0)return L("InvalidAttr","Attribute '"+o[h][2]+"' has no space in starting.",te(o[h]));if(o[h][3]!==void 0&&o[h][4]===void 0)return L("InvalidAttr","Attribute '"+o[h][2]+"' is without value.",te(o[h]));if(o[h][3]===void 0&&!s.allowBooleanAttributes)return L("InvalidAttr","boolean attribute '"+o[h][2]+"' is not allowed.",te(o[h]));let u=o[h][2];if(!ue(u))return L("InvalidAttr","Attribute '"+u+"' is an invalid name.",te(o[h]));if(Object.prototype.hasOwnProperty.call(a,u))return L("InvalidAttr","Attribute '"+u+"' is repeated.",te(o[h]));a[u]=1}return!0}function Z(e,s){if(e[++s]===";")return-1;if(e[s]==="#")return function(a,h){let u=/\d/;for(a[h]==="x"&&(h++,u=/[\da-fA-F]/);h<a.length;h++){if(a[h]===";")return h;if(!a[h].match(u))break}return-1}(e,++s);let o=0;for(;s<e.length;s++,o++)if(!(e[s].match(/\w/)&&o<20)){if(e[s]===";")break;return-1}return s}function L(e,s,o){return{err:{code:e,msg:s,line:o.line||o,col:o.col}}}function ue(e){return c(e)}function Ye(e){return c(e)}function F(e,s){let o=e.substring(0,s).split(/\r?\n/);return{line:o.length,col:o[o.length-1].length+1}}function te(e){return e.startIndex+e[1].length}let Qt=(e)=>d.includes(e)?"__"+e:e,Ns={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,s){return s},attributeValueProcessor:function(e,s){return s},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,s,o){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Qt};function Ss(e,s){if(typeof e!="string")return;let o=e.toLowerCase();if(d.some((a)=>o===a.toLowerCase()))throw Error(`[SECURITY] Invalid ${s}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);if(f.some((a)=>o===a.toLowerCase()))throw Error(`[SECURITY] Invalid ${s}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}function Kt(e,s){return typeof e=="boolean"?{enabled:e,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1000,allowedTags:null,tagFilter:null,appliesTo:"all"}:typeof e=="object"&&e!==null?{enabled:e.enabled!==!1,maxEntitySize:Math.max(1,e.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,e.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,e.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,e.maxExpandedLength??1e5),maxEntityCount:Math.max(1,e.maxEntityCount??1000),allowedTags:e.allowedTags??null,tagFilter:e.tagFilter??null,appliesTo:e.appliesTo??"all"}:Kt(!0)}let bs=function(e){let s=Object.assign({},Ns,e),o=[{value:s.attributeNamePrefix,name:"attributeNamePrefix"},{value:s.attributesGroupName,name:"attributesGroupName"},{value:s.textNodeName,name:"textNodeName"},{value:s.cdataPropName,name:"cdataPropName"},{value:s.commentPropName,name:"commentPropName"}];for(let{value:a,name:h}of o)a&&Ss(a,h);return s.onDangerousProperty===null&&(s.onDangerousProperty=Qt),s.processEntities=Kt(s.processEntities,s.htmlEntities),s.unpairedTagsSet=new Set(s.unpairedTags),s.stopNodes&&Array.isArray(s.stopNodes)&&(s.stopNodes=s.stopNodes.map((a)=>typeof a=="string"&&a.startsWith("*.")?".."+a.substring(2):a)),s},Ze;Ze=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class se{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,s){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:s})}addChild(e,s){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),s!==void 0&&(this.child[this.child.length-1][Ze]={startIndex:s})}static getMetaDataSymbol(){return Ze}}class Gt{constructor(e){this.suppressValidationErr=!e,this.options=e}readDocType(e,s){let o=Object.create(null),a=0;if(e[s+3]!=="O"||e[s+4]!=="C"||e[s+5]!=="T"||e[s+6]!=="Y"||e[s+7]!=="P"||e[s+8]!=="E")throw Error("Invalid Tag instead of DOCTYPE");{s+=9;let h=1,u=!1,x=!1,p="";for(;s<e.length;s++)if(e[s]!=="<"||x)if(e[s]===">"){if(x?e[s-1]==="-"&&e[s-2]==="-"&&(x=!1,h--):h--,h===0)break}else e[s]==="["?u=!0:p+=e[s];else{if(u&&de(e,"!ENTITY",s)){let y,g;if(s+=7,[y,g,s]=this.readEntityExp(e,s+1,this.suppressValidationErr),g.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount!=null&&a>=this.options.maxEntityCount)throw Error(`Entity count (${a+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);o[y]=g,a++}}else if(u&&de(e,"!ELEMENT",s)){s+=8;let{index:y}=this.readElementExp(e,s+1);s=y}else if(u&&de(e,"!ATTLIST",s))s+=8;else if(u&&de(e,"!NOTATION",s)){s+=9;let{index:y}=this.readNotationExp(e,s+1,this.suppressValidationErr);s=y}else{if(!de(e,"!--",s))throw Error("Invalid DOCTYPE");x=!0}h++,p=""}if(h!==0)throw Error("Unclosed DOCTYPE")}return{entities:o,i:s}}readEntityExp(e,s){let o=s=J(e,s);for(;s<e.length&&!/\s/.test(e[s])&&e[s]!=='"'&&e[s]!=="'";)s++;let a=e.substring(o,s);if(Re(a),s=J(e,s),!this.suppressValidationErr){if(e.substring(s,s+6).toUpperCase()==="SYSTEM")throw Error("External entities are not supported");if(e[s]==="%")throw Error("Parameter entities are not supported")}let h="";if([s,h]=this.readIdentifierVal(e,s,"entity"),this.options.enabled!==!1&&this.options.maxEntitySize!=null&&h.length>this.options.maxEntitySize)throw Error(`Entity "${a}" size (${h.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[a,h,--s]}readNotationExp(e,s){let o=s=J(e,s);for(;s<e.length&&!/\s/.test(e[s]);)s++;let a=e.substring(o,s);!this.suppressValidationErr&&Re(a),s=J(e,s);let h=e.substring(s,s+6).toUpperCase();if(!this.suppressValidationErr&&h!=="SYSTEM"&&h!=="PUBLIC")throw Error(`Expected SYSTEM or PUBLIC, found "${h}"`);s+=h.length,s=J(e,s);let u=null,x=null;if(h==="PUBLIC")[s,u]=this.readIdentifierVal(e,s,"publicIdentifier"),e[s=J(e,s)]!=='"'&&e[s]!=="'"||([s,x]=this.readIdentifierVal(e,s,"systemIdentifier"));else if(h==="SYSTEM"&&([s,x]=this.readIdentifierVal(e,s,"systemIdentifier"),!this.suppressValidationErr&&!x))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:a,publicIdentifier:u,systemIdentifier:x,index:--s}}readIdentifierVal(e,s,o){let a="",h=e[s];if(h!=='"'&&h!=="'")throw Error(`Expected quoted string, found "${h}"`);let u=++s;for(;s<e.length&&e[s]!==h;)s++;if(a=e.substring(u,s),e[s]!==h)throw Error(`Unterminated ${o} value`);return[++s,a]}readElementExp(e,s){let o=s=J(e,s);for(;s<e.length&&!/\s/.test(e[s]);)s++;let a=e.substring(o,s);if(!this.suppressValidationErr&&!c(a))throw Error(`Invalid element name: "${a}"`);let h="";if(e[s=J(e,s)]==="E"&&de(e,"MPTY",s))s+=4;else if(e[s]==="A"&&de(e,"NY",s))s+=2;else if(e[s]==="("){let u=++s;for(;s<e.length&&e[s]!==")";)s++;if(h=e.substring(u,s),e[s]!==")")throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[s]}"`);return{elementName:a,contentModel:h.trim(),index:s}}readAttlistExp(e,s){let o=s=J(e,s);for(;s<e.length&&!/\s/.test(e[s]);)s++;let a=e.substring(o,s);for(Re(a),o=s=J(e,s);s<e.length&&!/\s/.test(e[s]);)s++;let h=e.substring(o,s);if(!Re(h))throw Error(`Invalid attribute name: "${h}"`);s=J(e,s);let u="";if(e.substring(s,s+8).toUpperCase()==="NOTATION"){if(u="NOTATION",e[s=J(e,s+=8)]!=="(")throw Error(`Expected '(', found "${e[s]}"`);s++;let p=[];for(;s<e.length&&e[s]!==")";){let y=s;for(;s<e.length&&e[s]!=="|"&&e[s]!==")";)s++;let g=e.substring(y,s);if(g=g.trim(),!Re(g))throw Error(`Invalid notation name: "${g}"`);p.push(g),e[s]==="|"&&(s++,s=J(e,s))}if(e[s]!==")")throw Error("Unterminated list of notations");s++,u+=" ("+p.join("|")+")"}else{let p=s;for(;s<e.length&&!/\s/.test(e[s]);)s++;u+=e.substring(p,s);let y=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!y.includes(u.toUpperCase()))throw Error(`Invalid attribute type: "${u}"`)}s=J(e,s);let x="";return e.substring(s,s+8).toUpperCase()==="#REQUIRED"?(x="#REQUIRED",s+=8):e.substring(s,s+7).toUpperCase()==="#IMPLIED"?(x="#IMPLIED",s+=7):[s,x]=this.readIdentifierVal(e,s,"ATTLIST"),{elementName:a,attributeName:h,attributeType:u,defaultValue:x,index:s}}}let J=(e,s)=>{for(;s<e.length&&/\s/.test(e[s]);)s++;return s};function de(e,s,o){for(let a=0;a<s.length;a++)if(s[a]!==e[o+a+1])return!1;return!0}function Re(e){if(c(e))return e;throw Error(`Invalid entity name ${e}`)}let _s=/^[-+]?0x[a-fA-F0-9]+$/,As=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,Ts={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original"},Cs=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;class Wt{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let s=this._matcher.path;if(s.length!==0)return s[s.length-1].values?.[e]}hasAttr(e){let s=this._matcher.path;if(s.length===0)return!1;let o=s[s.length-1];return o.values!==void 0&&e in o.values}getPosition(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,s=!0){return this._matcher.toString(e,s)}toArray(){return this._matcher.path.map((e)=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class De{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new Wt(this)}push(e,s=null,o=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let a=this.path.length;this.siblingStacks[a]||(this.siblingStacks[a]=new Map);let h=this.siblingStacks[a],u=o?`${o}:${e}`:e,x=h.get(u)||0,p=0;for(let g of h.values())p+=g;h.set(u,x+1);let y={tag:e,position:p,counter:x};o!=null&&(y.namespace=o),s!=null&&(y.values=s),this.path.push(y)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let s=this.path[this.path.length-1];e!=null&&(s.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let s=this.path[this.path.length-1];return s.values!==void 0&&e in s.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,s=!0){let o=e||this.separator;if(o===this.separator&&s===!0){if(this._pathStringCache!==null)return this._pathStringCache;let a=this.path.map((h)=>h.namespace?`${h.namespace}:${h.tag}`:h.tag).join(o);return this._pathStringCache=a,a}return this.path.map((a)=>s&&a.namespace?`${a.namespace}:${a.tag}`:a.tag).join(o)}toArray(){return this.path.map((e)=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){let s=e.segments;return s.length!==0&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(s):this._matchSimple(s))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let s=0;s<e.length;s++)if(!this._matchSegment(e[s],this.path[s],s===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let s=this.path.length-1,o=e.length-1;for(;o>=0&&s>=0;){let a=e[o];if(a.type==="deep-wildcard"){if(o--,o<0)return!0;let h=e[o],u=!1;for(let x=s;x>=0;x--)if(this._matchSegment(h,this.path[x],x===this.path.length-1)){s=x-1,o--,u=!0;break}if(!u)return!1}else{if(!this._matchSegment(a,this.path[s],s===this.path.length-1))return!1;s--,o--}}return o<0}_matchSegment(e,s,o){if(e.tag!=="*"&&e.tag!==s.tag)return!1;if(e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==s.namespace)return!1;if(e.attrName!==void 0){if(!o)return!1;if(!s.values||!(e.attrName in s.values))return!1;if(e.attrValue!==void 0&&String(s.values[e.attrName])!==String(e.attrValue))return!1}if(e.position!==void 0){if(!o)return!1;let a=s.counter??0;if(e.position==="first"&&a!==0)return!1;if(e.position==="odd"&&a%2!=1)return!1;if(e.position==="even"&&a%2!=0)return!1;if(e.position==="nth"&&a!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map((e)=>({...e})),siblingStacks:this.siblingStacks.map((e)=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map((s)=>({...s})),this.siblingStacks=e.siblingStacks.map((s)=>new Map(s))}readOnly(){return this._view}}class pe{constructor(e,s={},o){this.pattern=e,this.separator=s.separator||".",this.segments=this._parse(e),this.data=o,this._hasDeepWildcard=this.segments.some((a)=>a.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some((a)=>a.attrName!==void 0),this._hasPositionSelector=this.segments.some((a)=>a.position!==void 0)}_parse(e){let s=[],o=0,a="";for(;o<e.length;)e[o]===this.separator?o+1<e.length&&e[o+1]===this.separator?(a.trim()&&(s.push(this._parseSegment(a.trim())),a=""),s.push({type:"deep-wildcard"}),o+=2):(a.trim()&&s.push(this._parseSegment(a.trim())),a="",o++):(a+=e[o],o++);return a.trim()&&s.push(this._parseSegment(a.trim())),s}_parseSegment(e){let s={type:"tag"},o=null,a=e,h=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(h&&(a=h[1]+h[3],h[2])){let g=h[2].slice(1,-1);g&&(o=g)}let u,x,p=a;if(a.includes("::")){let g=a.indexOf("::");if(u=a.substring(0,g).trim(),p=a.substring(g+2).trim(),!u)throw Error(`Invalid namespace in pattern: ${e}`)}let y=null;if(p.includes(":")){let g=p.lastIndexOf(":"),N=p.substring(0,g).trim(),b=p.substring(g+1).trim();["first","last","odd","even"].includes(b)||/^nth\(\d+\)$/.test(b)?(x=N,y=b):x=p}else x=p;if(!x)throw Error(`Invalid segment pattern: ${e}`);if(s.tag=x,u&&(s.namespace=u),o)if(o.includes("=")){let g=o.indexOf("=");s.attrName=o.substring(0,g).trim(),s.attrValue=o.substring(g+1).trim()}else s.attrName=o.trim();if(y){let g=y.match(/^nth\((\d+)\)$/);g?(s.position="nth",s.positionValue=parseInt(g[1],10)):s.position=y}return s}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class Jt{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard())return this._deepWildcards.push(e),this;let s=e.length,o=e.segments[e.segments.length-1],a=o?.tag;if(a&&a!=="*"){let h=`${s}:${a}`;this._byDepthAndTag.has(h)||this._byDepthAndTag.set(h,[]),this._byDepthAndTag.get(h).push(e)}else this._wildcardByDepth.has(s)||this._wildcardByDepth.set(s,[]),this._wildcardByDepth.get(s).push(e);return this}addAll(e){for(let s of e)this.add(s);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return this.findMatch(e)!==null}findMatch(e){let s=e.getDepth(),o=`${s}:${e.getCurrentTag()}`,a=this._byDepthAndTag.get(o);if(a){for(let u=0;u<a.length;u++)if(e.matches(a[u]))return a[u]}let h=this._wildcardByDepth.get(s);if(h){for(let u=0;u<h.length;u++)if(e.matches(h[u]))return h[u]}for(let u=0;u<this._deepWildcards.length;u++)if(e.matches(this._deepWildcards[u]))return this._deepWildcards[u];return null}}let Ms={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",euro:"\u20AC",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"},jt={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Rs={nbsp:"\xA0",copy:"\xA9",reg:"\xAE",trade:"\u2122",mdash:"\u2014",ndash:"\u2013",hellip:"\u2026",laquo:"\xAB",raquo:"\xBB",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",bull:"\u2022",para:"\xB6",sect:"\xA7",deg:"\xB0",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE"},Ps=new Set("!?\\\\/[]$%{}^&*()<>|+");function Yt(e){if(e[0]==="#")throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let s of e)if(Ps.has(s))throw Error(`[EntityReplacer] Invalid character '${s}' in entity name: "${e}"`);return e}function et(...e){let s=Object.create(null);for(let o of e)if(o)for(let a of Object.keys(o)){let h=o[a];if(typeof h=="string")s[a]=h;else if(h&&typeof h=="object"&&h.val!==void 0){let u=h.val;typeof u=="string"&&(s[a]=u)}}return s}let fe="external",Le="base",tt="all",Y=Object.freeze({allow:0,leave:1,remove:2,throw:3}),$s=new Set([9,10,13]);class Zt{constructor(e={}){var s;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof e.postCheck=="function"?e.postCheck:(a)=>a,this._limitTiers=(s=this._limit.applyLimitsTo??fe)&&s!==fe?s===tt?new Set([tt]):s===Le?new Set([Le]):Array.isArray(s)?new Set(s):new Set([fe]):new Set([fe]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=et(jt,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let o=function(a){if(!a)return{xmlVersion:1,onLevel:Y.allow,nullLevel:Y.remove};let h=a.xmlVersion===1.1?1.1:1,u=Y[a.onNCR]??Y.allow,x=Y[a.nullNCR]??Y.remove;return{xmlVersion:h,onLevel:u,nullLevel:Math.max(x,Y.remove)}}(e.ncr);this._ncrXmlVersion=o.xmlVersion,this._ncrOnLevel=o.onLevel,this._ncrNullLevel=o.nullLevel}setExternalEntities(e){if(e)for(let s of Object.keys(e))Yt(s);this._externalMap=et(e)}addExternalEntity(e,s){Yt(e),typeof s=="string"&&s.indexOf("&")===-1&&(this._externalMap[e]=s)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=et(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!="string"||e.length===0)return e;let s=e,o=[],a=e.length,h=0,u=0,x=this._maxTotalExpansions>0,p=this._maxExpandedLength>0,y=x||p;for(;u<a;){if(e.charCodeAt(u)!==38){u++;continue}let N=u+1;for(;N<a&&e.charCodeAt(N)!==59&&N-u<=32;)N++;if(N>=a||e.charCodeAt(N)!==59){u++;continue}let b=e.slice(u+1,N);if(b.length===0){u++;continue}let T,M;if(this._removeSet.has(b))T="",M===void 0&&(M=fe);else{if(this._leaveSet.has(b)){u++;continue}if(b.charCodeAt(0)===35){let R=this._resolveNCR(b);if(R===void 0){u++;continue}T=R,M=Le}else{let R=this._resolveName(b);T=R?.value,M=R?.tier}}if(T!==void 0){if(u>h&&o.push(e.slice(h,u)),o.push(T),h=N+1,u=h,y&&this._tierCounts(M)){if(x&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(p){let R=T.length-(b.length+2);if(R>0&&(this._expandedLength+=R,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}else u++}h<a&&o.push(e.slice(h));let g=o.length===0?e:o.join("");return this._postCheck(g,s)}_tierCounts(e){return!!this._limitTiers.has(tt)||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:fe}:(e in this._externalMap)?{value:this._externalMap[e],tier:fe}:(e in this._baseMap)?{value:this._baseMap[e],tier:Le}:void 0}_classifyNCR(e){return e===0?this._ncrNullLevel:e>=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!$s.has(e)?Y.remove:-1}_applyNCRAction(e,s,o){switch(e){case Y.allow:return String.fromCodePoint(o);case Y.remove:return"";case Y.leave:return;case Y.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${s}; (U+${o.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(o)}}_resolveNCR(e){let s=e.charCodeAt(1),o;if(o=s===120||s===88?parseInt(e.slice(2),16):parseInt(e.slice(1),10),Number.isNaN(o)||o<0||o>1114111)return;let a=this._classifyNCR(o);if(!this._numericAllowed&&a<Y.remove)return;let h=a===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,a);return this._applyNCRAction(h,e,o)}}function Is(e,s){if(!e)return{};let o=s.attributesGroupName?e[s.attributesGroupName]:e;if(!o)return{};let a={};for(let h in o)h.startsWith(s.attributeNamePrefix)?a[h.substring(s.attributeNamePrefix.length)]=o[h]:a[h]=o[h];return a}function Ds(e){if(!e||typeof e!="string")return;let s=e.indexOf(":");if(s!==-1&&s>0){let o=e.substring(0,s);if(o!=="xmlns")return o}}class er{constructor(e,s){var o;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Us,this.parseTextData=Ls,this.resolveNameSpace=ks,this.buildAttributesMap=Os,this.isItStopNode=vs,this.replaceEntitiesValue=Bs,this.readStopNodeData=Hs,this.saveTextToParentTag=Xs,this.addChild=Vs,this.ignoreAttributesFn=typeof(o=this.options.ignoreAttributes)=="function"?o:Array.isArray(o)?(u)=>{for(let x of o){if(typeof x=="string"&&u===x)return!0;if(x instanceof RegExp&&x.test(u))return!0}}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0;let a={...jt};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?a=this.options.htmlEntities:this.options.htmlEntities===!0&&(a={...Rs,...Ms}),this.entityDecoder=new Zt({namedEntities:{...a,...s},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new De,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Jt;let h=this.options.stopNodes;if(h&&h.length>0){for(let u=0;u<h.length;u++){let x=h[u];typeof x=="string"?this.stopNodeExpressionsSet.add(new pe(x)):x instanceof pe&&this.stopNodeExpressionsSet.add(x)}this.stopNodeExpressionsSet.seal()}}}function Ls(e,s,o,a,h,u,x){let p=this.options;if(e!==void 0&&(p.trimValues&&!a&&(e=e.trim()),e.length>0)){x||(e=this.replaceEntitiesValue(e,s,o));let y=p.jPath?o.toString():o,g=p.tagValueProcessor(s,e,y,h,u);return g==null?e:typeof g!=typeof e||g!==e?g:p.trimValues||e.trim()===e?tr(e,p.parseTagValue,p.numberParseOptions):e}}function ks(e){if(this.options.removeNSPrefix){let s=e.split(":"),o=e.charAt(0)==="/"?"/":"";if(s[0]==="xmlns")return"";s.length===2&&(e=o+s[1])}return e}let zs=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Os(e,s,o,a=!1){let h=this.options;if(a===!0||h.ignoreAttributes!==!0&&typeof e=="string"){let u=l(e,zs),x=u.length,p={},y=Array(x),g=!1,N={};for(let M=0;M<x;M++){let R=this.resolveNameSpace(u[M][1]),z=u[M][4];if(R.length&&z!==void 0){let v=z;h.trimValues&&(v=v.trim()),v=this.replaceEntitiesValue(v,o,this.readonlyMatcher),y[M]=v,N[R]=v,g=!0}}g&&typeof s=="object"&&s.updateCurrent&&s.updateCurrent(N);let b=h.jPath?s.toString():this.readonlyMatcher,T=!1;for(let M=0;M<x;M++){let R=this.resolveNameSpace(u[M][1]);if(this.ignoreAttributesFn(R,b))continue;let z=h.attributeNamePrefix+R;if(R.length)if(h.transformAttributeName&&(z=h.transformAttributeName(z)),z=rr(z,h),u[M][4]!==void 0){let v=y[M],K=h.attributeValueProcessor(R,v,b);p[z]=K==null?v:typeof K!=typeof v||K!==v?K:tr(v,h.parseAttributeValue,h.numberParseOptions),T=!0}else h.allowBooleanAttributes&&(p[z]=!0,T=!0)}if(!T)return;if(h.attributesGroupName&&!h.preserveOrder){let M={};return M[h.attributesGroupName]=p,M}return p}}let Us=function(e){e=e.replace(/\r\n?/g,`
5
5
  `);let s=new se("!xml"),o=s,a="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let h=this.options,u=new Gt(h.processEntities),x=e.length;for(let p=0;p<x;p++)if(e[p]==="<"){let y=e.charCodeAt(p+1);if(y===47){let g=Ee(e,">",p,"Closing Tag is not closed."),N=e.substring(p+2,g).trim();if(h.removeNSPrefix){let T=N.indexOf(":");T!==-1&&(N=N.substr(T+1))}N=st(h.transformTagName,N,"",h).tagName,o&&(a=this.saveTextToParentTag(a,o,this.readonlyMatcher));let b=this.matcher.getCurrentTag();if(N&&h.unpairedTagsSet.has(N))throw Error(`Unpaired tag can not be used as closing tag: </${N}>`);b&&h.unpairedTagsSet.has(b)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,o=this.tagsNodeStack.pop(),a="",p=g}else if(y===63){let g=rt(e,p,!1,"?>");if(!g)throw Error("Pi Tag is not closed.");a=this.saveTextToParentTag(a,o,this.readonlyMatcher);let N=this.buildAttributesMap(g.tagExp,this.matcher,g.tagName,!0);if(N){let b=N[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(b)||1)}if(h.ignoreDeclaration&&g.tagName==="?xml"||h.ignorePiTags);else{let b=new se(g.tagName);b.add(h.textNodeName,""),g.tagName!==g.tagExp&&g.attrExpPresent&&h.ignoreAttributes!==!0&&(b[":@"]=N),this.addChild(o,b,this.readonlyMatcher,p)}p=g.closeIndex+1}else if(y===33&&e.charCodeAt(p+2)===45&&e.charCodeAt(p+3)===45){let g=Ee(e,"-->",p+4,"Comment is not closed.");if(h.commentPropName){let N=e.substring(p+4,g-2);a=this.saveTextToParentTag(a,o,this.readonlyMatcher),o.add(h.commentPropName,[{[h.textNodeName]:N}])}p=g}else if(y===33&&e.charCodeAt(p+2)===68){let g=u.readDocType(e,p);this.entityDecoder.addInputEntities(g.entities),p=g.i}else if(y===33&&e.charCodeAt(p+2)===91){let g=Ee(e,"]]>",p,"CDATA is not closed.")-2,N=e.substring(p+9,g);a=this.saveTextToParentTag(a,o,this.readonlyMatcher);let b=this.parseTextData(N,o.tagname,this.readonlyMatcher,!0,!1,!0,!0);b==null&&(b=""),h.cdataPropName?o.add(h.cdataPropName,[{[h.textNodeName]:N}]):o.add(h.textNodeName,b),p=g+2}else{let g=rt(e,p,h.removeNSPrefix);if(!g){let X=e.substring(Math.max(0,p-50),Math.min(x,p+50));throw Error(`readTagExp returned undefined at position ${p}. Context: "${X}"`)}let{tagName:N,rawTagName:b,tagExp:T,attrExpPresent:M,closeIndex:R}=g;if({tagName:N,tagExp:T}=st(h.transformTagName,N,T,h),h.strictReservedNames&&(N===h.commentPropName||N===h.cdataPropName||N===h.textNodeName||N===h.attributesGroupName))throw Error(`Invalid tag name: ${N}`);o&&a&&o.tagname!=="!xml"&&(a=this.saveTextToParentTag(a,o,this.readonlyMatcher,!1));let z=o;z&&h.unpairedTagsSet.has(z.tagname)&&(o=this.tagsNodeStack.pop(),this.matcher.pop());let v=!1;T.length>0&&T.lastIndexOf("/")===T.length-1&&(v=!0,N[N.length-1]==="/"?(N=N.substr(0,N.length-1),T=N):T=T.substr(0,T.length-1),M=N!==T);let K,q=null,Se={};K=Ds(b),N!==s.tagname&&this.matcher.push(N,{},K),N!==T&&M&&(q=this.buildAttributesMap(T,this.matcher,N),q&&(Se=Is(q,h))),N!==s.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let G=p;if(this.isCurrentNodeStopNode){let X="";if(v)p=g.closeIndex;else if(h.unpairedTagsSet.has(N))p=g.closeIndex;else{let at=this.readStopNodeData(e,b,R+1);if(!at)throw Error(`Unexpected end of ${b}`);p=at.i,X=at.tagContent}let ot=new se(N);q&&(ot[":@"]=q),ot.add(h.textNodeName,X),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(o,ot,this.readonlyMatcher,G)}else{if(v){({tagName:N,tagExp:T}=st(h.transformTagName,N,T,h));let X=new se(N);q&&(X[":@"]=q),this.addChild(o,X,this.readonlyMatcher,G),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(h.unpairedTagsSet.has(N)){let X=new se(N);q&&(X[":@"]=q),this.addChild(o,X,this.readonlyMatcher,G),this.matcher.pop(),this.isCurrentNodeStopNode=!1,p=g.closeIndex;continue}{let X=new se(N);if(this.tagsNodeStack.length>h.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(o),q&&(X[":@"]=q),this.addChild(o,X,this.readonlyMatcher,G),o=X}}a="",p=R}}}else a+=e[p];return s.child};function Vs(e,s,o,a){this.options.captureMetaData||(a=void 0);let h=this.options.jPath?o.toString():o,u=this.options.updateTag(s.tagname,h,s[":@"]);u===!1||(typeof u=="string"?(s.tagname=u,e.addChild(s,a)):e.addChild(s,a))}function Bs(e,s,o){let a=this.options.processEntities;if(!a||!a.enabled)return e;if(a.allowedTags){let h=this.options.jPath?o.toString():o;if(!(Array.isArray(a.allowedTags)?a.allowedTags.includes(s):a.allowedTags(s,h)))return e}if(a.tagFilter){let h=this.options.jPath?o.toString():o;if(!a.tagFilter(s,h))return e}return this.entityDecoder.decode(e)}function Xs(e,s,o,a){return e&&(a===void 0&&(a=s.child.length===0),(e=this.parseTextData(e,s.tagname,o,!1,!!s[":@"]&&Object.keys(s[":@"]).length!==0,a))!==void 0&&e!==""&&s.add(this.options.textNodeName,e),e=""),e}function vs(){return this.stopNodeExpressionsSet.size!==0&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function Ee(e,s,o,a){let h=e.indexOf(s,o);if(h===-1)throw Error(a);return h+s.length-1}function Fs(e,s,o,a){let h=e.indexOf(s,o);if(h===-1)throw Error(a);return h}function rt(e,s,o,a=">"){let h=function(b,T,M=">"){let R=0,z=b.length,v=M.charCodeAt(0),K=M.length>1?M.charCodeAt(1):-1,q="",Se=T;for(let G=T;G<z;G++){let X=b.charCodeAt(G);if(R)X===R&&(R=0);else if(X===34||X===39)R=X;else if(X===v){if(K===-1)return q+=b.substring(Se,G),{data:q,index:G};if(b.charCodeAt(G+1)===K)return q+=b.substring(Se,G),{data:q,index:G}}else X!==9||R||(q+=b.substring(Se,G)+" ",Se=G+1)}}(e,s+1,a);if(!h)return;let{data:u,index:x}=h,p=u.search(/\s/),y=u,g=!0;p!==-1&&(y=u.substring(0,p),u=u.substring(p+1).trimStart());let N=y;if(o){let b=y.indexOf(":");b!==-1&&(y=y.substr(b+1),g=y!==h.data.substr(b+1))}return{tagName:y,tagExp:u,closeIndex:x,attrExpPresent:g,rawTagName:N}}function Hs(e,s,o){let a=o,h=1,u=e.length;for(;o<u;o++)if(e[o]==="<"){let x=e.charCodeAt(o+1);if(x===47){let p=Fs(e,">",o,`${s} is not closed`);if(e.substring(o+2,p).trim()===s&&(h--,h===0))return{tagContent:e.substring(a,o),i:p};o=p}else if(x===63)o=Ee(e,"?>",o+1,"StopNode is not closed.");else if(x===33&&e.charCodeAt(o+2)===45&&e.charCodeAt(o+3)===45)o=Ee(e,"-->",o+3,"StopNode is not closed.");else if(x===33&&e.charCodeAt(o+2)===91)o=Ee(e,"]]>",o,"StopNode is not closed.")-2;else{let p=rt(e,o,!1);p&&((p&&p.tagName)===s&&p.tagExp[p.tagExp.length-1]!=="/"&&h++,o=p.closeIndex)}}}function tr(e,s,o){if(s&&typeof e=="string"){let a=e.trim();return a==="true"||a!=="false"&&function(h,u={}){if(u=Object.assign({},Ts,u),!h||typeof h!="string")return h;let x=h.trim();if(x.length===0)return h;if(u.skipLike!==void 0&&u.skipLike.test(x))return h;if(x==="0")return 0;if(u.hex&&_s.test(x))return function(y){if(parseInt)return parseInt(y,16);if(Number.parseInt)return Number.parseInt(y,16);if(window&&window.parseInt)return window.parseInt(y,16);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}(x);if(isFinite(x)){if(x.includes("e")||x.includes("E"))return function(y,g,N){if(!N.eNotation)return y;let b=g.match(Cs);if(b){let T=b[1]||"",M=b[3].indexOf("e")===-1?"E":"e",R=b[2],z=T?y[R.length+1]===M:y[R.length]===M;return R.length>1&&z?y:(R.length!==1||!b[3].startsWith(`.${M}`)&&b[3][0]!==M)&&R.length>0?N.leadingZeros&&!z?(g=(b[1]||"")+b[3],Number(g)):y:Number(g)}return y}(h,x,u);{let y=As.exec(x);if(y){let g=y[1]||"",N=y[2],b=(p=y[3])&&p.indexOf(".")!==-1?((p=p.replace(/0+$/,""))==="."?p="0":p[0]==="."?p="0"+p:p[p.length-1]==="."&&(p=p.substring(0,p.length-1)),p):p,T=g?h[N.length+1]===".":h[N.length]===".";if(!u.leadingZeros&&(N.length>1||N.length===1&&!T))return h;{let M=Number(x),R=String(M);if(M===0)return M;if(R.search(/[eE]/)!==-1)return u.eNotation?M:h;if(x.indexOf(".")!==-1)return R==="0"||R===b||R===`${g}${b}`?M:h;let z=N?b:x;return N?z===R||g+z===R?M:h:z===R||z===g+R?M:h}}return h}}var p;return function(y,g,N){let b=g===1/0;switch(N.infinity.toLowerCase()){case"null":return null;case"infinity":return g;case"string":return b?"Infinity":"-Infinity";default:return y}}(h,Number(x),u)}(e,o)}return e!==void 0?e:""}function st(e,s,o,a){if(e){let h=e(s);o===s&&(o=h),s=h}return{tagName:s=rr(s,a),tagExp:o}}function rr(e,s){if(f.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return d.includes(e)?s.onDangerousProperty(e):e}let it=se.getMetaDataSymbol();function qs(e,s){if(!e||typeof e!="object")return{};if(!s)return e;let o={};for(let a in e)a.startsWith(s)?o[a.substring(s.length)]=e[a]:o[a]=e[a];return o}function Qs(e,s,o,a){return sr(e,s,o,a)}function sr(e,s,o,a){let h,u={};for(let x=0;x<e.length;x++){let p=e[x],y=Ks(p);if(y!==void 0&&y!==s.textNodeName){let g=qs(p[":@"]||{},s.attributeNamePrefix);o.push(y,g)}if(y===s.textNodeName)h===void 0?h=p[y]:h+=""+p[y];else{if(y===void 0)continue;if(p[y]){let g=sr(p[y],s,o,a),N=Ws(g,s);if(Object.keys(g).length===0&&s.alwaysCreateTextNode&&(g[s.textNodeName]=""),p[":@"]?Gs(g,p[":@"],a,s):Object.keys(g).length!==1||g[s.textNodeName]===void 0||s.alwaysCreateTextNode?Object.keys(g).length===0&&(s.alwaysCreateTextNode?g[s.textNodeName]="":g=""):g=g[s.textNodeName],p[it]!==void 0&&typeof g=="object"&&g!==null&&(g[it]=p[it]),u[y]!==void 0&&Object.prototype.hasOwnProperty.call(u,y))Array.isArray(u[y])||(u[y]=[u[y]]),u[y].push(g);else{let b=s.jPath?a.toString():a;s.isArray(y,b,N)?u[y]=[g]:u[y]=g}y!==void 0&&y!==s.textNodeName&&o.pop()}}}return typeof h=="string"?h.length>0&&(u[s.textNodeName]=h):h!==void 0&&(u[s.textNodeName]=h),u}function Ks(e){let s=Object.keys(e);for(let o=0;o<s.length;o++){let a=s[o];if(a!==":@")return a}}function Gs(e,s,o,a){if(s){let h=Object.keys(s),u=h.length;for(let x=0;x<u;x++){let p=h[x],y=p.startsWith(a.attributeNamePrefix)?p.substring(a.attributeNamePrefix.length):p,g=a.jPath?o.toString()+"."+y:o;a.isArray(p,g,!0,!0)?e[p]=[s[p]]:e[p]=s[p]}}}function Ws(e,s){let{textNodeName:o}=s,a=Object.keys(e).length;return a===0||!(a!==1||!e[o]&&typeof e[o]!="boolean"&&e[o]!==0)}class ir{constructor(e){this.externalEntities={},this.options=bs(e)}parse(e,s){if(typeof e!="string"&&e.toString)e=e.toString();else if(typeof e!="string")throw Error("XML data is accepted in String or Bytes[] form.");if(s){s===!0&&(s={});let h=w(e,s);if(h!==!0)throw Error(`${h.err.msg}:${h.err.line}:${h.err.col}`)}let o=new er(this.options,this.externalEntities),a=o.parseXml(e);return this.options.preserveOrder||a===void 0?a:Qs(a,this.options,o.matcher,o.readonlyMatcher)}addEntity(e,s){if(s.indexOf("&")!==-1)throw Error("Entity value can't have '&'");if(e.indexOf("&")!==-1||e.indexOf(";")!==-1)throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(s==="&")throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=s}static getMetaDataSymbol(){return se.getMetaDataSymbol()}}function nr(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function or(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function Ne(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function Js(e,s){let o="";s.format&&s.indentBy.length>0&&(o=`
@@ -11,4 +11,4 @@ ${z}`,j++}else gw(W,G,H)?J=W.slice(W.charCodeAt(G+6)===A?G+7:G+6,Z)||void 0:F(W,
11
11
  `,G),U=-1;if(Z!==-1&&H!==-1?U=Z<H?Z:H:Z!==-1?Z===W.length-1?U=-1:U=Z:H!==-1&&(U=H),U===-1)break;F(W,G,U),G=U+1,W.charCodeAt(G-1)===WG&&W.charCodeAt(G)===Iw&&G++}return W.slice(G)}function F(W,G,Z){if(G===Z){pw();return}let H=W.charCodeAt(G);if(fw(W,G,H)){let R=W.charCodeAt(G+5)===A?G+6:G+5,y=W.slice(R,Z);M=j===0?y:`${M}
12
12
  ${y}`,j++;return}if(gw(W,G,H)){J=W.slice(W.charCodeAt(G+6)===A?G+7:G+6,Z)||void 0;return}if(H===105&&W.charCodeAt(G+1)===100&&W.charCodeAt(G+2)===58){let R=W.slice(W.charCodeAt(G+3)===A?G+4:G+3,Z);O=R.includes("\x00")?void 0:R;return}if(H===58){if(D){let R=W.slice(G,Z);D(R.slice(W.charCodeAt(G+1)===A?2:1))}return}let U=W.slice(G,Z),z=U.indexOf(":");if(z===-1){S(U,"",U);return}let kw=U.slice(0,z),hw=U.charCodeAt(z+1)===A?2:1,lw=U.slice(z+hw);S(kw,lw,U)}function S(W,G,Z){switch(W){case"event":J=G||void 0;break;case"data":M=j===0?G:`${M}
13
13
  ${G}`,j++;break;case"id":O=G.includes("\x00")?void 0:G;break;case"retry":/^\d+$/.test(G)?Y(parseInt(G,10)):X(new B(`Invalid \`retry\` value: "${G}"`,{type:"invalid-retry",value:G,line:Z}));break;default:X(new B(`Unknown field "${W.length>20?`${W.slice(0,20)}\u2026`:W}"`,{type:"unknown-field",field:W,value:G,line:Z}));break}}function pw(){j>0&&Q({id:O,event:J,data:M}),O=void 0,M="",j=0,J=void 0}function xw(W={}){if(W.consume&&K.length>0){let G=K.join("");F(G,0,G.length)}V=!0,O=void 0,M="",j=0,J=void 0,K.length=0,N=0,T=!1}return{feed:vw,reset:xw}}function fw(w,Q,X){return X===100&&w.charCodeAt(Q+1)===97&&w.charCodeAt(Q+2)===116&&w.charCodeAt(Q+3)===97&&w.charCodeAt(Q+4)===58}function gw(w,Q,X){return X===101&&w.charCodeAt(Q+1)===118&&w.charCodeAt(Q+2)===101&&w.charCodeAt(Q+3)===110&&w.charCodeAt(Q+4)===116&&w.charCodeAt(Q+5)===58}class XG extends TransformStream{constructor({onError:w,onRetry:Q,onComment:X,maxBufferSize:Y}={}){let D;super({start(q){D=mw({onEvent:(K)=>{q.enqueue(K)},onError(K){typeof w=="function"&&w(K),(w==="terminate"||K.type==="max-buffer-size-exceeded")&&q.error(K)},onRetry:Q,onComment:X,maxBufferSize:Y})},transform(q){D.feed(q)}})}}
14
- export{$ as up,YG as vp,ZG as wp,Hw as xp,$G as yp,KG as zp,qG as Ap,HG as Bp,UG as Cp,DG as Dp,jG as Ep,JG as Fp,OG as Gp,NG as Hp,zG as Ip,AG as Jp,mw as Kp,XG as Lp};
14
+ export{$ as Tq,YG as Uq,ZG as Vq,Hw as Wq,$G as Xq,KG as Yq,qG as Zq,HG as _q,UG as $q,DG as ar,jG as br,JG as cr,OG as dr,NG as er,zG as fr,AG as gr,mw as hr,XG as ir};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{hO as U}from"./chunk-0rmmg3g4.js";import{dlopen as S,FFIType as x,ptr as M}from"bun:ffi";import{Buffer as G}from"buffer";class O{listeners=[];event=(z)=>{return this.listeners.push(z),{dispose:()=>{let H=this.listeners.indexOf(z);if(H!==-1)this.listeners.splice(H,1)}}};fire(z){for(let H of this.listeners)H(z)}}import{join as Y,dirname as R,basename as L}from"path";import{existsSync as j}from"fs";var k=80,N=24,_="sh",B="xterm";function P(z){if(z.length===0)return"''";return`'${z.replace(/'/g,"'\\''")}'`}function v(){let z=process.env.BUN_PTY_LIB;if(z&&j(z))return z;try{let q=U(`../rust-pty/target/release/${process.platform==="win32"?"rust_pty.dll":process.platform==="darwin"?process.arch==="arm64"?"librust_pty_arm64.dylib":"librust_pty.dylib":process.arch==="arm64"?"librust_pty_arm64.so":"librust_pty.so"}`);if(q)return q}catch{}let{platform:H,arch:J}=process,X=H==="darwin"?J==="arm64"?["librust_pty_arm64.dylib","librust_pty.dylib"]:["librust_pty.dylib"]:H==="win32"?["rust_pty.dll"]:J==="arm64"?["librust_pty_arm64.so","librust_pty.so"]:["librust_pty.so"],V=Bun.fileURLToPath(import.meta.url),$=R(V),W=L($),K=W==="src"||W==="dist"?R($):$,w=[Y(K,"rust-pty","target","release"),Y(K,"..","bun-pty","rust-pty","target","release"),Y(process.cwd(),"node_modules","bun-pty","rust-pty","target","release")],C=[];for(let q of w)for(let A of X)C.push(Y(q,A));for(let q of C)if(j(q))return q;throw Error(`librust_pty shared library not found.
2
+ import{GP as U}from"./chunk-s2za1y84.js";import{dlopen as S,FFIType as x,ptr as M}from"bun:ffi";import{Buffer as G}from"buffer";class O{listeners=[];event=(z)=>{return this.listeners.push(z),{dispose:()=>{let H=this.listeners.indexOf(z);if(H!==-1)this.listeners.splice(H,1)}}};fire(z){for(let H of this.listeners)H(z)}}import{join as Y,dirname as R,basename as L}from"path";import{existsSync as j}from"fs";var k=80,N=24,_="sh",B="xterm";function P(z){if(z.length===0)return"''";return`'${z.replace(/'/g,"'\\''")}'`}function v(){let z=process.env.BUN_PTY_LIB;if(z&&j(z))return z;try{let q=U(`../rust-pty/target/release/${process.platform==="win32"?"rust_pty.dll":process.platform==="darwin"?process.arch==="arm64"?"librust_pty_arm64.dylib":"librust_pty.dylib":process.arch==="arm64"?"librust_pty_arm64.so":"librust_pty.so"}`);if(q)return q}catch{}let{platform:H,arch:J}=process,X=H==="darwin"?J==="arm64"?["librust_pty_arm64.dylib","librust_pty.dylib"]:["librust_pty.dylib"]:H==="win32"?["rust_pty.dll"]:J==="arm64"?["librust_pty_arm64.so","librust_pty.so"]:["librust_pty.so"],V=Bun.fileURLToPath(import.meta.url),$=R(V),W=L($),K=W==="src"||W==="dist"?R($):$,w=[Y(K,"rust-pty","target","release"),Y(K,"..","bun-pty","rust-pty","target","release"),Y(process.cwd(),"node_modules","bun-pty","rust-pty","target","release")],C=[];for(let q of w)for(let A of X)C.push(Y(q,A));for(let q of C)if(j(q))return q;throw Error(`librust_pty shared library not found.
3
3
  Checked:
4
4
  - BUN_PTY_LIB=${z??"<unset>"}
5
5
  - ${C.join(`
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{eO as y,hO as C}from"./chunk-0rmmg3g4.js";var h0=y((c$)=>{c$.HttpAuthLocation=void 0;(function(h){h.HEADER="header",h.QUERY="query"})(c$.HttpAuthLocation||(c$.HttpAuthLocation={}));c$.HttpApiKeyAuthLocation=void 0;(function(h){h.HEADER="header",h.QUERY="query"})(c$.HttpApiKeyAuthLocation||(c$.HttpApiKeyAuthLocation={}));c$.EndpointURLScheme=void 0;(function(h){h.HTTP="http",h.HTTPS="https"})(c$.EndpointURLScheme||(c$.EndpointURLScheme={}));c$.AlgorithmId=void 0;(function(h){h.MD5="md5",h.CRC32="crc32",h.CRC32C="crc32c",h.SHA1="sha1",h.SHA256="sha256"})(c$.AlgorithmId||(c$.AlgorithmId={}));var F$=(h)=>{let $=[];if(h.sha256!==void 0)$.push({algorithmId:()=>c$.AlgorithmId.SHA256,checksumConstructor:()=>h.sha256});if(h.md5!=null)$.push({algorithmId:()=>c$.AlgorithmId.MD5,checksumConstructor:()=>h.md5});return{addChecksumAlgorithm(T){$.push(T)},checksumAlgorithms(){return $}}},s$=(h)=>{let $={};return h.checksumAlgorithms().forEach((T)=>{$[T.algorithmId()]=T.checksumConstructor()}),$},S$=(h)=>{return F$(h)},j$=(h)=>{return s$(h)};c$.FieldPosition=void 0;(function(h){h[h.HEADER=0]="HEADER",h[h.TRAILER=1]="TRAILER"})(c$.FieldPosition||(c$.FieldPosition={}));var C$="__smithy_context";c$.IniSectionType=void 0;(function(h){h.PROFILE="profile",h.SSO_SESSION="sso-session",h.SERVICES="services"})(c$.IniSectionType||(c$.IniSectionType={}));c$.RequestHandlerProtocol=void 0;(function(h){h.HTTP_0_9="http/0.9",h.HTTP_1_0="http/1.0",h.TDS_8_0="tds/8.0"})(c$.RequestHandlerProtocol||(c$.RequestHandlerProtocol={}));c$.SMITHY_CONTEXT_KEY=C$;c$.getDefaultClientConfiguration=S$;c$.resolveDefaultRuntimeConfig=j$});var m=y((r$)=>{var c1=h0(),p$=(h)=>h[c1.SMITHY_CONTEXT_KEY]||(h[c1.SMITHY_CONTEXT_KEY]={});class Z0{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(h){this.method=h.method||"GET",this.hostname=h.hostname||"localhost",this.port=h.port,this.query=h.query||{},this.headers=h.headers||{},this.body=h.body,this.protocol=h.protocol?h.protocol.slice(-1)!==":"?`${h.protocol}:`:h.protocol:"https:",this.path=h.path?h.path.charAt(0)!=="/"?`/${h.path}`:h.path:"/",this.username=h.username,this.password=h.password,this.fragment=h.fragment}static clone(h){let $=new Z0({...h,headers:{...h.headers}});if($.query)$.query=g$($.query);return $}static isInstance(h){if(!h)return!1;let $=h;return"method"in $&&"protocol"in $&&"hostname"in $&&"path"in $&&typeof $.query==="object"&&typeof $.headers==="object"}clone(){return Z0.clone(this)}}function g$(h){return Object.keys(h).reduce(($,T)=>{let P=h[T];return{...$,[T]:Array.isArray(P)?[...P]:P}},{})}class b1{statusCode;reason;headers;body;constructor(h){this.statusCode=h.statusCode,this.reason=h.reason,this.headers=h.headers||{},this.body=h.body}static isInstance(h){if(!h)return!1;let $=h;return typeof $.statusCode==="number"&&typeof $.headers==="object"}}var m$=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),y1=(h,$=!1)=>{if(!$)return m$.test(h);let T=h.split(".");for(let P of T)if(!y1(P))return!1;return!0};function d$(h){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(h)}var v$=(h)=>{if(typeof h==="function")return h;let $=Promise.resolve(h);return()=>$};function k1(h){let $={};if(h=h.replace(/^\?/,""),h)for(let T of h.split("&")){let[P,w=null]=T.split("=");if(P=decodeURIComponent(P),w)w=decodeURIComponent(w);if(!(P in $))$[P]=w;else if(Array.isArray($[P]))$[P].push(w);else $[P]=[$[P],w]}return $}var R0=(h)=>{if(typeof h==="string")return R0(new URL(h));let{hostname:$,pathname:T,port:P,protocol:w,search:I}=h,A;if(I)A=k1(I);return{hostname:$,port:P?parseInt(P):void 0,protocol:w,path:T,query:A}},t$=(h)=>{if(typeof h==="object"){if("url"in h){let $=R0(h.url);if(h.headers){$.headers={};for(let T in h.headers)$.headers[T.toLowerCase()]=h.headers[T].join(", ")}return $}return h}return R0(h)};r$.HttpRequest=Z0;r$.HttpResponse=b1;r$.getSmithyContext=p$;r$.isValidHostLabel=y1;r$.isValidHostname=d$;r$.normalizeProvider=v$;r$.parseQueryString=k1;r$.parseUrl=R0;r$.toEndpointV1=t$});var d1=y((GT)=>{var H0=m(),q0=(h)=>{if(typeof h==="function")return h();return h},o0=(h,$,T,P,w)=>({name:$,namespace:h,traits:T,input:P,output:w}),TT=(h)=>($,T)=>async(P)=>{let{response:w}=await $(P),{operationSchema:I}=H0.getSmithyContext(T),[,A,U,_,f,Y]=I??[];try{let M=await h.protocol.deserializeResponse(o0(A,U,_,f,Y),{...h,...T},w);return{response:w,output:M}}catch(M){if(Object.defineProperty(M,"$response",{value:w,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in M)){try{M.message+=`
2
+ import{DP as y,GP as C}from"./chunk-s2za1y84.js";var h0=y((c$)=>{c$.HttpAuthLocation=void 0;(function(h){h.HEADER="header",h.QUERY="query"})(c$.HttpAuthLocation||(c$.HttpAuthLocation={}));c$.HttpApiKeyAuthLocation=void 0;(function(h){h.HEADER="header",h.QUERY="query"})(c$.HttpApiKeyAuthLocation||(c$.HttpApiKeyAuthLocation={}));c$.EndpointURLScheme=void 0;(function(h){h.HTTP="http",h.HTTPS="https"})(c$.EndpointURLScheme||(c$.EndpointURLScheme={}));c$.AlgorithmId=void 0;(function(h){h.MD5="md5",h.CRC32="crc32",h.CRC32C="crc32c",h.SHA1="sha1",h.SHA256="sha256"})(c$.AlgorithmId||(c$.AlgorithmId={}));var F$=(h)=>{let $=[];if(h.sha256!==void 0)$.push({algorithmId:()=>c$.AlgorithmId.SHA256,checksumConstructor:()=>h.sha256});if(h.md5!=null)$.push({algorithmId:()=>c$.AlgorithmId.MD5,checksumConstructor:()=>h.md5});return{addChecksumAlgorithm(T){$.push(T)},checksumAlgorithms(){return $}}},s$=(h)=>{let $={};return h.checksumAlgorithms().forEach((T)=>{$[T.algorithmId()]=T.checksumConstructor()}),$},S$=(h)=>{return F$(h)},j$=(h)=>{return s$(h)};c$.FieldPosition=void 0;(function(h){h[h.HEADER=0]="HEADER",h[h.TRAILER=1]="TRAILER"})(c$.FieldPosition||(c$.FieldPosition={}));var C$="__smithy_context";c$.IniSectionType=void 0;(function(h){h.PROFILE="profile",h.SSO_SESSION="sso-session",h.SERVICES="services"})(c$.IniSectionType||(c$.IniSectionType={}));c$.RequestHandlerProtocol=void 0;(function(h){h.HTTP_0_9="http/0.9",h.HTTP_1_0="http/1.0",h.TDS_8_0="tds/8.0"})(c$.RequestHandlerProtocol||(c$.RequestHandlerProtocol={}));c$.SMITHY_CONTEXT_KEY=C$;c$.getDefaultClientConfiguration=S$;c$.resolveDefaultRuntimeConfig=j$});var m=y((r$)=>{var c1=h0(),p$=(h)=>h[c1.SMITHY_CONTEXT_KEY]||(h[c1.SMITHY_CONTEXT_KEY]={});class Z0{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(h){this.method=h.method||"GET",this.hostname=h.hostname||"localhost",this.port=h.port,this.query=h.query||{},this.headers=h.headers||{},this.body=h.body,this.protocol=h.protocol?h.protocol.slice(-1)!==":"?`${h.protocol}:`:h.protocol:"https:",this.path=h.path?h.path.charAt(0)!=="/"?`/${h.path}`:h.path:"/",this.username=h.username,this.password=h.password,this.fragment=h.fragment}static clone(h){let $=new Z0({...h,headers:{...h.headers}});if($.query)$.query=g$($.query);return $}static isInstance(h){if(!h)return!1;let $=h;return"method"in $&&"protocol"in $&&"hostname"in $&&"path"in $&&typeof $.query==="object"&&typeof $.headers==="object"}clone(){return Z0.clone(this)}}function g$(h){return Object.keys(h).reduce(($,T)=>{let P=h[T];return{...$,[T]:Array.isArray(P)?[...P]:P}},{})}class b1{statusCode;reason;headers;body;constructor(h){this.statusCode=h.statusCode,this.reason=h.reason,this.headers=h.headers||{},this.body=h.body}static isInstance(h){if(!h)return!1;let $=h;return typeof $.statusCode==="number"&&typeof $.headers==="object"}}var m$=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),y1=(h,$=!1)=>{if(!$)return m$.test(h);let T=h.split(".");for(let P of T)if(!y1(P))return!1;return!0};function d$(h){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(h)}var v$=(h)=>{if(typeof h==="function")return h;let $=Promise.resolve(h);return()=>$};function k1(h){let $={};if(h=h.replace(/^\?/,""),h)for(let T of h.split("&")){let[P,w=null]=T.split("=");if(P=decodeURIComponent(P),w)w=decodeURIComponent(w);if(!(P in $))$[P]=w;else if(Array.isArray($[P]))$[P].push(w);else $[P]=[$[P],w]}return $}var R0=(h)=>{if(typeof h==="string")return R0(new URL(h));let{hostname:$,pathname:T,port:P,protocol:w,search:I}=h,A;if(I)A=k1(I);return{hostname:$,port:P?parseInt(P):void 0,protocol:w,path:T,query:A}},t$=(h)=>{if(typeof h==="object"){if("url"in h){let $=R0(h.url);if(h.headers){$.headers={};for(let T in h.headers)$.headers[T.toLowerCase()]=h.headers[T].join(", ")}return $}return h}return R0(h)};r$.HttpRequest=Z0;r$.HttpResponse=b1;r$.getSmithyContext=p$;r$.isValidHostLabel=y1;r$.isValidHostname=d$;r$.normalizeProvider=v$;r$.parseQueryString=k1;r$.parseUrl=R0;r$.toEndpointV1=t$});var d1=y((GT)=>{var H0=m(),q0=(h)=>{if(typeof h==="function")return h();return h},o0=(h,$,T,P,w)=>({name:$,namespace:h,traits:T,input:P,output:w}),TT=(h)=>($,T)=>async(P)=>{let{response:w}=await $(P),{operationSchema:I}=H0.getSmithyContext(T),[,A,U,_,f,Y]=I??[];try{let M=await h.protocol.deserializeResponse(o0(A,U,_,f,Y),{...h,...T},w);return{response:w,output:M}}catch(M){if(Object.defineProperty(M,"$response",{value:w,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in M)){try{M.message+=`
3
3
  Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`}catch(G){if(!T.logger||T.logger?.constructor?.name==="NoOpLogger")console.warn("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.");else T.logger?.warn?.("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.")}if(typeof M.$responseBodyText<"u"){if(M.$response)M.$response.body=M.$responseBodyText}try{if(H0.HttpResponse.isInstance(w)){let{headers:G={},statusCode:V}=w,Z=Object.entries(G);M.$metadata={httpStatusCode:V,requestId:i0(/^x-[\w-]+-request-?id$/,Z),extendedRequestId:i0(/^x-[\w-]+-id-2$/,Z),cfId:i0(/^x-[\w-]+-cf-id$/,Z)}}}catch(G){}}throw M}},i0=(h,$)=>{return($.find(([T])=>{return T.match(h)})||[void 0,void 0])[1]},PT=(h)=>($,T)=>async(P)=>{let{operationSchema:w}=H0.getSmithyContext(T),[,I,A,U,_,f]=w??[],Y=T.endpointV2?async()=>H0.toEndpointV1(T.endpointV2):h.endpoint,M=await h.protocol.serializeRequest(o0(I,A,U,_,f),P.input,{...h,...T,endpoint:Y});return $({...P,request:M})},p1={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},g1={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function wT(h){return{applyToStack:($)=>{$.add(PT(h),g1),$.add(TT(h),p1),h.protocol.setSerdeContext(h)}}}class E{name;namespace;traits;static assign(h,$){return Object.assign(h,$)}static[Symbol.hasInstance](h){let $=this.prototype.isPrototypeOf(h);if(!$&&typeof h==="object"&&h!==null)return h.symbol===this.symbol;return $}getName(){return this.namespace+"#"+this.name}}class x0 extends E{static symbol=Symbol.for("@smithy/lis");name;traits;valueSchema;symbol=x0.symbol}var IT=(h,$,T,P)=>E.assign(new x0,{name:$,namespace:h,traits:T,valueSchema:P});class W0 extends E{static symbol=Symbol.for("@smithy/map");name;traits;keySchema;valueSchema;symbol=W0.symbol}var AT=(h,$,T,P,w)=>E.assign(new W0,{name:$,namespace:h,traits:T,keySchema:P,valueSchema:w});class D0 extends E{static symbol=Symbol.for("@smithy/ope");name;traits;input;output;symbol=D0.symbol}var UT=(h,$,T,P,w)=>E.assign(new D0,{name:$,namespace:h,traits:T,input:P,output:w});class w0 extends E{static symbol=Symbol.for("@smithy/str");name;traits;memberNames;memberList;symbol=w0.symbol}var _T=(h,$,T,P,w)=>E.assign(new w0,{name:$,namespace:h,traits:T,memberNames:P,memberList:w});class L0 extends w0{static symbol=Symbol.for("@smithy/err");ctor;symbol=L0.symbol}var fT=(h,$,T,P,w,I)=>E.assign(new L0,{name:$,namespace:h,traits:T,memberNames:P,memberList:w,ctor:null}),O0=[];function P0(h){if(typeof h==="object")return h;if(h=h|0,O0[h])return O0[h];let $={},T=0;for(let P of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])if((h>>T++&1)===1)$[P]=1;return O0[h]=$}var $0={it:Symbol.for("@smithy/nor-struct-it"),ns:Symbol.for("@smithy/ns")},E0=[],N0={};class B{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=B.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(h,$){this.ref=h,this.memberName=$;let T=[],P=h,w=h;this._isMemberSchema=!1;while(l0(P))T.push(P[1]),P=P[0],w=q0(P),this._isMemberSchema=!0;if(T.length>0){this.memberTraits={};for(let I=T.length-1;I>=0;--I){let A=T[I];Object.assign(this.memberTraits,P0(A))}}else this.memberTraits=0;if(w instanceof B){let I=this.memberTraits;Object.assign(this,w),this.memberTraits=Object.assign({},I,w.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,this.memberName=$??w.memberName;return}if(this.schema=q0(w),m1(this.schema))this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3];else this.name=this.memberName??String(w),this.traits=0;if(this._isMemberSchema&&!$)throw Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](h){let $=this.prototype.isPrototypeOf(h);if(!$&&typeof h==="object"&&h!==null)return h.symbol===this.symbol;return $}static of(h){let $=typeof h==="function"||typeof h==="object"&&h!==null;if(typeof h==="number"){if(E0[h])return E0[h]}else if(typeof h==="string"){if(N0[h])return N0[h]}else if($){if(h[$0.ns])return h[$0.ns]}let T=q0(h);if(T instanceof B)return T;if(l0(T)){let[w,I]=T;if(w instanceof B)return Object.assign(w.getMergedTraits(),P0(I)),w;throw Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(h,null,2)}.`)}let P=new B(T);if($)return h[$0.ns]=P;if(typeof T==="string")return N0[T]=P;if(typeof T==="number")return E0[T]=P;return P}getSchema(){let h=this.schema;if(Array.isArray(h)&&h[0]===0)return h[4];return h}getName(h=!1){let{name:$}=this;return!h&&$&&$.includes("#")?$.split("#")[1]:$||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){let h=this.getSchema();return typeof h==="number"?h>=64&&h<128:h[0]===1}isMapSchema(){let h=this.getSchema();return typeof h==="number"?h>=128&&h<=255:h[0]===2}isStructSchema(){let h=this.getSchema();if(typeof h!=="object")return!1;let $=h[0];return $===3||$===-3||$===4}isUnionSchema(){let h=this.getSchema();if(typeof h!=="object")return!1;return h[0]===4}isBlobSchema(){let h=this.getSchema();return h===21||h===42}isTimestampSchema(){let h=this.getSchema();return typeof h==="number"&&h>=4&&h<=7}isUnitSchema(){return this.getSchema()==="unit"}isDocumentSchema(){return this.getSchema()===15}isStringSchema(){return this.getSchema()===0}isBooleanSchema(){return this.getSchema()===2}isNumericSchema(){return this.getSchema()===1}isBigIntegerSchema(){return this.getSchema()===17}isBigDecimalSchema(){return this.getSchema()===19}isStreaming(){let{streaming:h}=this.getMergedTraits();return!!h||this.getSchema()===42}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return P0(this.memberTraits)}getOwnTraits(){return P0(this.traits)}getKeySchema(){let[h,$]=[this.isDocumentSchema(),this.isMapSchema()];if(!h&&!$)throw Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);let T=this.getSchema(),P=h?15:T[4]??0;return T0([P,0],"key")}getValueSchema(){let h=this.getSchema(),[$,T,P]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],w=typeof h==="number"?63&h:h&&typeof h==="object"&&(T||P)?h[3+h[0]]:$?15:void 0;if(w!=null)return T0([w,0],T?"value":"member");throw Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(h){let $=this.getSchema();if(this.isStructSchema()&&$[4].includes(h)){let T=$[4].indexOf(h),P=$[5][T];return T0(l0(P)?P:[P,0],h)}if(this.isDocumentSchema())return T0([15,0],h);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${h}.`)}getMemberSchemas(){let h={};try{for(let[$,T]of this.structIterator())h[$]=T}catch($){}return h}getEventStreamMember(){if(this.isStructSchema()){for(let[h,$]of this.structIterator())if($.isStreaming()&&$.isStructSchema())return h}return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw Error("@smithy/core/schema - cannot iterate non-struct schema.");let h=this.getSchema(),$=h[4].length,T=h[$0.it];if(T&&$===T.length){yield*T;return}T=Array($);for(let P=0;P<$;++P){let w=h[4][P],I=T0([h[5][P],0],w);yield T[P]=[w,I]}h[$0.it]=T}}function T0(h,$){if(h instanceof B)return Object.assign(h,{memberName:$,_isMemberSchema:!0});return new B(h,$)}var l0=(h)=>Array.isArray(h)&&h.length===2,m1=(h)=>Array.isArray(h)&&h.length>=5;class I0 extends E{static symbol=Symbol.for("@smithy/sim");name;schemaRef;traits;symbol=I0.symbol}var MT=(h,$,T,P)=>E.assign(new I0,{name:$,namespace:h,traits:P,schemaRef:T}),YT=(h,$,T,P)=>E.assign(new I0,{name:$,namespace:h,traits:T,schemaRef:P}),XT={BLOB:21,STREAMING_BLOB:42,BOOLEAN:2,STRING:0,NUMERIC:1,BIG_INTEGER:17,BIG_DECIMAL:19,DOCUMENT:15,TIMESTAMP_DEFAULT:4,TIMESTAMP_DATE_TIME:5,TIMESTAMP_HTTP_DATE:6,TIMESTAMP_EPOCH_SECONDS:7,LIST_MODIFIER:64,MAP_MODIFIER:128};class K{namespace;schemas;exceptions;static registries=new Map;constructor(h,$=new Map,T=new Map){this.namespace=h,this.schemas=$,this.exceptions=T}static for(h){if(!K.registries.has(h))K.registries.set(h,new K(h));return K.registries.get(h)}copyFrom(h){let{schemas:$,exceptions:T}=this;for(let[P,w]of h.schemas)if(!$.has(P))$.set(P,w);for(let[P,w]of h.exceptions)if(!T.has(P))T.set(P,w)}register(h,$){let T=this.normalizeShapeId(h);for(let P of[this,K.for(T.split("#")[0])])P.schemas.set(T,$)}getSchema(h){let $=this.normalizeShapeId(h);if(!this.schemas.has($)){if(!h.includes("#")){let T="#"+h,P=[];for(let[w,I]of this.schemas.entries())if(w.endsWith(T))P.push(I);if(P.length===1)return P[0]}throw Error(`@smithy/core/schema - schema not found for ${$}`)}return this.schemas.get($)}registerError(h,$){let T=h,P=T[1];for(let w of[this,K.for(P)])w.schemas.set(P+"#"+T[2],T),w.exceptions.set(T,$)}getErrorCtor(h){let $=h;if(this.exceptions.has($))return this.exceptions.get($);return K.for($[1]).exceptions.get($)}getBaseException(){for(let h of this.exceptions.keys())if(Array.isArray(h)){let[,$,T]=h,P=$+"#"+T;if(P.startsWith("smithy.ts.sdk.synthetic.")&&P.endsWith("ServiceException"))return h}return}find(h){for(let $ of this.schemas.values())if(h($))return $;return}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(h){if(h.includes("#"))return h;return this.namespace+"#"+h}}GT.ErrorSchema=L0;GT.ListSchema=x0;GT.MapSchema=W0;GT.NormalizedSchema=B;GT.OperationSchema=D0;GT.SCHEMA=XT;GT.Schema=E;GT.SimpleSchema=I0;GT.StructureSchema=w0;GT.TypeRegistry=K;GT.deref=q0;GT.deserializerMiddlewareOption=p1;GT.error=fT;GT.getSchemaSerdePlugin=wT;GT.isStaticSchema=m1;GT.list=IT;GT.map=AT;GT.op=UT;GT.operation=o0;GT.serializerMiddlewareOption=g1;GT.sim=MT;GT.simAdapter=YT;GT.simpleSchemaCacheN=E0;GT.simpleSchemaCacheS=N0;GT.struct=_T;GT.traitsCache=O0;GT.translateTraits=P0});var $1=y((QP)=>{var u1=m(),A0=h0(),gT=d1(),k=(h,$)=>{let T=[];if(h)T.push(h);if($)for(let P of $)T.push(P);return T},j=(h,$)=>{return`${h||"anonymous"}${$&&$.length>0?` (a.k.a. ${$.join(",")})`:""}`},U0=()=>{let h=[],$=[],T=!1,P=new Set,w=(M)=>M.sort((X,G)=>v1[G.step]-v1[X.step]||t1[G.priority||"normal"]-t1[X.priority||"normal"]),I=(M)=>{let X=!1,G=(V)=>{let Z=k(V.name,V.aliases);if(Z.includes(M)){X=!0;for(let J of Z)P.delete(J);return!1}return!0};return h=h.filter(G),$=$.filter(G),X},A=(M)=>{let X=!1,G=(V)=>{if(V.middleware===M){X=!0;for(let Z of k(V.name,V.aliases))P.delete(Z);return!1}return!0};return h=h.filter(G),$=$.filter(G),X},U=(M)=>{return h.forEach((X)=>{M.add(X.middleware,{...X})}),$.forEach((X)=>{M.addRelativeTo(X.middleware,{...X})}),M.identifyOnResolve?.(Y.identifyOnResolve()),M},_=(M)=>{let X=[];return M.before.forEach((G)=>{if(G.before.length===0&&G.after.length===0)X.push(G);else X.push(..._(G))}),X.push(M),M.after.reverse().forEach((G)=>{if(G.before.length===0&&G.after.length===0)X.push(G);else X.push(..._(G))}),X},f=(M=!1)=>{let X=[],G=[],V={};return h.forEach((J)=>{let Q={...J,before:[],after:[]};for(let R of k(Q.name,Q.aliases))V[R]=Q;X.push(Q)}),$.forEach((J)=>{let Q={...J,before:[],after:[]};for(let R of k(Q.name,Q.aliases))V[R]=Q;G.push(Q)}),G.forEach((J)=>{if(J.toMiddleware){let Q=V[J.toMiddleware];if(Q===void 0){if(M)return;throw Error(`${J.toMiddleware} is not found when adding ${j(J.name,J.aliases)} middleware ${J.relation} ${J.toMiddleware}`)}if(J.relation==="after")Q.after.push(J);if(J.relation==="before")Q.before.push(J)}}),w(X).map(_).reduce((J,Q)=>{return J.push(...Q),J},[])},Y={add:(M,X={})=>{let{name:G,override:V,aliases:Z}=X,J={step:"initialize",priority:"normal",middleware:M,...X},Q=k(G,Z);if(Q.length>0){if(Q.some((R)=>P.has(R))){if(!V)throw Error(`Duplicate middleware name '${j(G,Z)}'`);for(let R of Q){let H=h.findIndex((a)=>a.name===R||a.aliases?.some((m0)=>m0===R));if(H===-1)continue;let N=h[H];if(N.step!==J.step||J.priority!==N.priority)throw Error(`"${j(N.name,N.aliases)}" middleware with ${N.priority} priority in ${N.step} step cannot be overridden by "${j(G,Z)}" middleware with ${J.priority} priority in ${J.step} step.`);h.splice(H,1)}}for(let R of Q)P.add(R)}h.push(J)},addRelativeTo:(M,X)=>{let{name:G,override:V,aliases:Z}=X,J={middleware:M,...X},Q=k(G,Z);if(Q.length>0){if(Q.some((R)=>P.has(R))){if(!V)throw Error(`Duplicate middleware name '${j(G,Z)}'`);for(let R of Q){let H=$.findIndex((a)=>a.name===R||a.aliases?.some((m0)=>m0===R));if(H===-1)continue;let N=$[H];if(N.toMiddleware!==J.toMiddleware||N.relation!==J.relation)throw Error(`"${j(N.name,N.aliases)}" middleware ${N.relation} "${N.toMiddleware}" middleware cannot be overridden by "${j(G,Z)}" middleware ${J.relation} "${J.toMiddleware}" middleware.`);$.splice(H,1)}}for(let R of Q)P.add(R)}$.push(J)},clone:()=>U(U0()),use:(M)=>{M.applyToStack(Y)},remove:(M)=>{if(typeof M==="string")return I(M);else return A(M)},removeByTag:(M)=>{let X=!1,G=(V)=>{let{tags:Z,name:J,aliases:Q}=V;if(Z&&Z.includes(M)){let R=k(J,Q);for(let H of R)P.delete(H);return X=!0,!1}return!0};return h=h.filter(G),$=$.filter(G),X},concat:(M)=>{let X=U(U0());return X.use(M),X.identifyOnResolve(T||X.identifyOnResolve()||(M.identifyOnResolve?.()??!1)),X},applyToStack:U,identify:()=>{return f(!0).map((M)=>{let X=M.step??M.relation+" "+M.toMiddleware;return j(M.name,M.aliases)+" - "+X})},identifyOnResolve(M){if(typeof M==="boolean")T=M;return T},resolve:(M,X)=>{for(let G of f().map((V)=>V.middleware).reverse())M=G(M,X);if(T)console.log(Y.identify());return M}};return Y},v1={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},t1={high:3,normal:2,low:1},mT=(h)=>()=>{throw Error(h)},dT=(h)=>()=>Promise.reject(h),K0=()=>{let h=new WeakSet;return($,T)=>{if(typeof T==="object"&&T!==null){if(h.has(T))return"[Circular]";h.add(T)}return T}},vT=(h)=>{return new Promise(($)=>setTimeout($,h*1000))},i1={minDelay:2,maxDelay:120};QP.WaiterState=void 0;(function(h){h.ABORTED="ABORTED",h.FAILURE="FAILURE",h.SUCCESS="SUCCESS",h.RETRY="RETRY",h.TIMEOUT="TIMEOUT"})(QP.WaiterState||(QP.WaiterState={}));var tT=(h)=>{if(h.state===QP.WaiterState.ABORTED){let $=Error(`${JSON.stringify({...h,reason:"Request was aborted"},K0())}`);throw $.name="AbortError",$}else if(h.state===QP.WaiterState.TIMEOUT){let $=Error(`${JSON.stringify({...h,reason:"Waiter has timed out"},K0())}`);throw $.name="TimeoutError",$}else if(h.state!==QP.WaiterState.SUCCESS)throw Error(`${JSON.stringify(h,K0())}`);return h},rT=async({minDelay:h,maxDelay:$,maxWaitTime:T,abortController:P,client:w,abortSignal:I},A,U)=>{let _={},[f,Y]=[h*1000,$*1000],M=0,X=Date.now()+T*1000,G=Date.now()+60000,V=!1;while(!0){if(M>0){let Q=iT(f,Y,M,X);if(P?.signal?.aborted||I?.aborted)return _["AbortController signal aborted."]|=0,_["AbortController signal aborted."]+=1,{state:QP.WaiterState.ABORTED,observedResponses:_};if(Date.now()+Q>X)return{state:QP.WaiterState.TIMEOUT,observedResponses:_};await vT(Q/1000)}let{state:Z,reason:J}=await U(w,A);if(J){let Q=uT(J);_[Q]|=0,_[Q]+=1}if(Z!==QP.WaiterState.RETRY)return{state:Z,reason:J,final:J,observedResponses:_};if(M+=1,!V&&Date.now()>=G)nT(_,w),V=!0}},nT=(h={},$)=>{let T=Object.keys(h),P=0;for(let A of T){let U=h[A]|0;if(A.startsWith("403:"))P+=U}let w=$?.config?.logger,I=typeof w?.warn==="function"&&!w.constructor?.name?.includes?.("NoOpLogger")?w:console;if(P>=3||T[T.length-1]?.startsWith("403:"))I.warn("@smithy/util-waiter WARN - 403 status code encountered during waiter polling.")},uT=(h)=>{let $=h?.$response?.statusCode??h?.$metadata?.httpStatusCode;if(h?.$responseBodyText)return`${$?$+": ":""}Deserialization error for body: ${h.$responseBodyText}`;if($){if(h?.$response||h?.message)return`${$??"Unknown"}: ${h?.message}`;return`${$}: OK`}return String(h?.message??JSON.stringify(h,K0())??"Unknown")},iT=(h,$,T,P)=>{let w=Math.log($/h)/Math.log(2)+1;if(T>w)return $;let I=h*2**(T-1),A=Math.min(I,$),U=lT(h,A);if(Date.now()+U>P){let _=P-Date.now();return Math.max(0,_-500)}return U},lT=(h,$)=>h+Math.random()*($-h),oT=(h)=>{if(h.maxWaitTime<=0)throw Error("WaiterConfiguration.maxWaitTime must be greater than 0");else if(h.minDelay<=0)throw Error("WaiterConfiguration.minDelay must be greater than 0");else if(h.maxDelay<=0)throw Error("WaiterConfiguration.maxDelay must be greater than 0");else if(h.maxWaitTime<=h.minDelay)throw Error(`WaiterConfiguration.maxWaitTime [${h.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${h.minDelay}] for this waiter`);else if(h.maxDelay<h.minDelay)throw Error(`WaiterConfiguration.maxDelay [${h.maxDelay}] must be greater than WaiterConfiguration.minDelay [${h.minDelay}] for this waiter`)},r1=(h)=>{let $,T=new Promise((P)=>{if($=()=>P({state:QP.WaiterState.ABORTED}),typeof h.addEventListener==="function")h.addEventListener("abort",$);else h.onabort=$});return{clearListener(){if(typeof h.removeEventListener==="function")h.removeEventListener("abort",$)},aborted:T}},aT=async(h,$,T)=>{let P={...i1,...h};oT(P);let w=[rT(P,$,T)],I=[];if(h.abortSignal){let{aborted:A,clearListener:U}=r1(h.abortSignal);I.push(U),w.push(A)}if(h.abortController?.signal){let{aborted:A,clearListener:U}=r1(h.abortController.signal);I.push(U),w.push(A)}return Promise.race(w).then((A)=>{for(let U of I)U();return A})};class l1{config;middlewareStack=U0();initConfig;handlers;constructor(h){this.config=h;let{protocol:$,protocolSettings:T}=h;if(T){if(typeof $==="function")h.protocol=new $(T)}}send(h,$,T){let P=typeof $!=="function"?$:void 0,w=typeof $==="function"?$:T,I=P===void 0&&this.config.cacheMiddleware===!0,A;if(I){if(!this.handlers)this.handlers=new WeakMap;let U=this.handlers;if(U.has(h.constructor))A=U.get(h.constructor);else A=h.resolveMiddleware(this.middlewareStack,this.config,P),U.set(h.constructor,A)}else delete this.handlers,A=h.resolveMiddleware(this.middlewareStack,this.config,P);if(w)A(h).then((U)=>w(null,U.output),(U)=>w(U)).catch(()=>{});else return A(h).then((U)=>U.output)}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}var a0="***SensitiveInformation***";function B0(h,$){if($==null)return $;let T=gT.NormalizedSchema.of(h);if(T.getMergedTraits().sensitive)return a0;if(T.isListSchema()){if(!!T.getValueSchema().getMergedTraits().sensitive)return a0}else if(T.isMapSchema()){if(!!T.getKeySchema().getMergedTraits().sensitive||!!T.getValueSchema().getMergedTraits().sensitive)return a0}else if(T.isStructSchema()&&typeof $==="object"){let P=$,w={};for(let[I,A]of T.structIterator())if(P[I]!=null)w[I]=B0(A,P[I]);return w}return $}class h1{middlewareStack=U0();schema;static classBuilder(){return new o1}resolveMiddlewareWithContext(h,$,T,{middlewareFn:P,clientName:w,commandName:I,inputFilterSensitiveLog:A,outputFilterSensitiveLog:U,smithyContext:_,additionalContext:f,CommandCtor:Y}){for(let J of P.bind(this)(Y,h,$,T))this.middlewareStack.use(J);let M=h.concat(this.middlewareStack),{logger:X}=$,G={logger:X,clientName:w,commandName:I,inputFilterSensitiveLog:A,outputFilterSensitiveLog:U,[A0.SMITHY_CONTEXT_KEY]:{commandInstance:this,..._},...f},{requestHandler:V}=$,Z=T??{};if(_.eventStream)Z={isEventStream:!0,...Z};return M.resolve((J)=>V.handle(J.request,Z),G)}}class o1{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init(h){this._init=h}ep(h){return this._ep=h,this}m(h){return this._middlewareFn=h,this}s(h,$,T={}){return this._smithyContext={service:h,operation:$,...T},this}c(h={}){return this._additionalContext=h,this}n(h,$){return this._clientName=h,this._commandName=$,this}f(h=(T)=>T,$=(T)=>T){return this._inputFilterSensitiveLog=h,this._outputFilterSensitiveLog=$,this}ser(h){return this._serializer=h,this}de(h){return this._deserializer=h,this}sc(h){return this._operationSchema=h,this._smithyContext.operationSchema=h,this}build(){let h=this,$;return $=class extends h1{input;static getEndpointParameterInstructions(){return h._ep}constructor(...[T]){super();this.input=T??{},h._init(this),this.schema=h._operationSchema}resolveMiddleware(T,P,w){let I=h._operationSchema,A=I?.[4]??I?.input,U=I?.[5]??I?.output;return this.resolveMiddlewareWithContext(T,P,w,{CommandCtor:$,middlewareFn:h._middlewareFn,clientName:h._clientName,commandName:h._commandName,inputFilterSensitiveLog:h._inputFilterSensitiveLog??(I?B0.bind(null,A):(_)=>_),outputFilterSensitiveLog:h._outputFilterSensitiveLog??(I?B0.bind(null,U):(_)=>_),smithyContext:h._smithyContext,additionalContext:h._additionalContext})}serialize=h._serializer;deserialize=h._deserializer}}}var eT="***SensitiveInformation***",hP=(h,$,T)=>{for(let[I,A]of Object.entries(h)){let U=async function(f,Y,M){let X=new A(f);if(typeof Y==="function")this.send(X,Y);else if(typeof M==="function"){if(typeof Y!=="object")throw Error(`Expected http options but got ${typeof Y}`);this.send(X,Y||{},M)}else return this.send(X,Y)},_=(I[0].toLowerCase()+I.slice(1)).replace(/Command$/,"");$.prototype[_]=U}let{paginators:P={},waiters:w={}}=T??{};for(let[I,A]of Object.entries(P))if($.prototype[I]===void 0)$.prototype[I]=function(U={},_,...f){return A({..._,client:this},U,...f)};for(let[I,A]of Object.entries(w))if($.prototype[I]===void 0)$.prototype[I]=async function(U={},_,...f){let Y=_;if(typeof _==="number")Y={maxWaitTime:_};return A({...Y,client:this},U,...f)}};class d extends Error{$fault;$response;$retryable;$metadata;constructor(h){super(h.message);Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=h.name,this.$fault=h.$fault,this.$metadata=h.$metadata}static isInstance(h){if(!h)return!1;let $=h;return d.prototype.isPrototypeOf($)||Boolean($.$fault)&&Boolean($.$metadata)&&($.$fault==="client"||$.$fault==="server")}static[Symbol.hasInstance](h){if(!h)return!1;let $=h;if(this===d)return d.isInstance(h);if(d.isInstance(h)){if($.name&&this.name)return this.prototype.isPrototypeOf(h)||$.name===this.name;return this.prototype.isPrototypeOf(h)}return!1}}var a1=(h,$={})=>{Object.entries($).filter(([,P])=>P!==void 0).forEach(([P,w])=>{if(h[P]==null||h[P]==="")h[P]=w});let T=h.message||h.Message||"UnknownError";return h.message=T,delete h.Message,h},e1=({output:h,parsedBody:$,exceptionCtor:T,errorCode:P})=>{let w=TP(h),I=w.httpStatusCode?w.httpStatusCode+"":void 0,A=new T({name:$?.code||$?.Code||P||I||"UnknownError",$fault:"client",$metadata:w});throw a1(A,$)},$P=(h)=>{return({output:$,parsedBody:T,errorCode:P})=>{e1({output:$,parsedBody:T,exceptionCtor:h,errorCode:P})}},TP=(h)=>({httpStatusCode:h.statusCode,requestId:h.headers["x-amzn-requestid"]??h.headers["x-amzn-request-id"]??h.headers["x-amz-request-id"],extendedRequestId:h.headers["x-amz-id-2"],cfId:h.headers["x-amz-cf-id"]}),PP=(h)=>{switch(h){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:30000};default:return{}}},n1=!1,wP=(h)=>{if(h&&!n1&&parseInt(h.substring(1,h.indexOf(".")))<16)n1=!0},hh=Object.values(A0.AlgorithmId),$h=(h)=>{let $=[];for(let T in A0.AlgorithmId){let P=A0.AlgorithmId[T];if(h[P]===void 0)continue;$.push({algorithmId:()=>P,checksumConstructor:()=>h[P]})}for(let[T,P]of Object.entries(h.checksumAlgorithms??{}))$.push({algorithmId:()=>T,checksumConstructor:()=>P});return{addChecksumAlgorithm(T){h.checksumAlgorithms=h.checksumAlgorithms??{};let P=T.algorithmId(),w=T.checksumConstructor();if(hh.includes(P))h.checksumAlgorithms[P.toUpperCase()]=w;else h.checksumAlgorithms[P]=w;$.push(T)},checksumAlgorithms(){return $}}},Th=(h)=>{let $={};return h.checksumAlgorithms().forEach((T)=>{let P=T.algorithmId();if(hh.includes(P))$[P]=T.checksumConstructor()}),$},Ph=(h)=>{return{setRetryStrategy($){h.retryStrategy=$},retryStrategy(){return h.retryStrategy}}},wh=(h)=>{let $={};return $.retryStrategy=h.retryStrategy(),$},Ih=(h)=>{return Object.assign($h(h),Ph(h))},IP=Ih,AP=(h)=>{return Object.assign(Th(h),wh(h))},UP=(h)=>Array.isArray(h)?h:[h],Ah=(h)=>{for(let T in h)if(h.hasOwnProperty(T)&&h[T]["#text"]!==void 0)h[T]=h[T]["#text"];else if(typeof h[T]==="object"&&h[T]!==null)h[T]=Ah(h[T]);return h},_P=(h)=>{return h!=null};class Uh{trace(){}debug(){}info(){}warn(){}error(){}}function _h(h,$,T){let P,w,I;if(typeof $>"u"&&typeof T>"u")P={},I=h;else if(P=h,typeof $==="function")return w=$,I=T,YP(P,w,I);else I=$;for(let A of Object.keys(I)){if(!Array.isArray(I[A])){P[A]=I[A];continue}fh(P,null,I,A)}return P}var fP=(h)=>{let $={};for(let[T,P]of Object.entries(h||{}))$[T]=[,P];return $},MP=(h,$)=>{let T={};for(let P in $)fh(T,h,$,P);return T},YP=(h,$,T)=>{return _h(h,Object.entries(T).reduce((P,[w,I])=>{if(Array.isArray(I))P[w]=I;else if(typeof I==="function")P[w]=[$,I()];else P[w]=[$,I];return P},{}))},fh=(h,$,T,P)=>{if($!==null){let A=T[P];if(typeof A==="function")A=[,A];let[U=XP,_=GP,f=P]=A;if(typeof U==="function"&&U($[f])||typeof U!=="function"&&!!U)h[P]=_($[f]);return}let[w,I]=T[P];if(typeof I==="function"){let A,U=w===void 0&&(A=I())!=null,_=typeof w==="function"&&!!w(void 0)||typeof w!=="function"&&!!w;if(U)h[P]=A;else if(_)h[P]=I()}else{let A=w===void 0&&I!=null,U=typeof w==="function"&&!!w(I)||typeof w!=="function"&&!!w;if(A||U)h[P]=I}},XP=(h)=>h!=null,GP=(h)=>h,JP=(h)=>{if(h!==h)return"NaN";switch(h){case 1/0:return"Infinity";case-1/0:return"-Infinity";default:return h}},VP=(h)=>h.toISOString().replace(".000Z","Z"),e0=(h)=>{if(h==null)return{};if(Array.isArray(h))return h.filter(($)=>$!=null).map(e0);if(typeof h==="object"){let $={};for(let T of Object.keys(h)){if(h[T]==null)continue;$[T]=e0(h[T])}return $}return h};QP.getSmithyContext=u1.getSmithyContext;QP.normalizeProvider=u1.normalizeProvider;QP.AlgorithmId=A0.AlgorithmId;QP.Client=l1;QP.Command=h1;QP.NoOpLogger=Uh;QP.SENSITIVE_STRING=eT;QP.ServiceException=d;QP._json=e0;QP.checkExceptions=tT;QP.constructStack=U0;QP.convertMap=fP;QP.createAggregatedClient=hP;QP.createWaiter=aT;QP.decorateServiceException=a1;QP.emitWarningIfUnsupportedVersion=wP;QP.getArrayIfSingleItem=UP;QP.getChecksumConfiguration=$h;QP.getDefaultClientConfiguration=IP;QP.getDefaultExtensionConfiguration=Ih;QP.getRetryConfiguration=Ph;QP.getValueFromTextNode=Ah;QP.invalidFunction=mT;QP.invalidProvider=dT;QP.isSerializableHeaderValue=_P;QP.loadConfigsForDefaultMode=PP;QP.map=_h;QP.resolveChecksumRuntimeConfig=Th;QP.resolveDefaultRuntimeConfig=AP;QP.resolveRetryRuntimeConfig=wh;QP.schemaLogFilter=B0;QP.serializeDateTime=VP;QP.serializeFloat=JP;QP.take=MP;QP.throwDefaultError=e1;QP.waiterServiceDefaults=i1;QP.withBaseException=$P});var Bh=y((lw)=>{var hw=C("os"),v=C("path"),$w=C("crypto"),Vh=C("fs/promises"),z0=h0(),F0=$1(),Tw=m();class t extends Error{name="ProviderError";tryNextLink;constructor(h,$=!0){let T,P=!0;if(typeof $==="boolean")T=void 0,P=$;else if($!=null&&typeof $==="object")T=$.logger,P=$.tryNextLink??!0;super(h);this.tryNextLink=P,Object.setPrototypeOf(this,t.prototype),T?.debug?.(`@smithy/property-provider ${P?"->":"(!)"} ${h}`)}static from(h,$=!0){return Object.assign(new this(h.message,$),h)}}class _0 extends t{name="CredentialsProviderError";constructor(h,$=!0){super(h,$);Object.setPrototypeOf(this,_0.prototype)}}class A1 extends t{name="TokenProviderError";constructor(h,$=!0){super(h,$);Object.setPrototypeOf(this,A1.prototype)}}var Qh=(...h)=>async()=>{if(h.length===0)throw new t("No providers in chain");let $;for(let T of h)try{return await T()}catch(P){if($=P,P?.tryNextLink)continue;throw P}throw $},Zh=(h)=>()=>Promise.resolve(h),U1=(h,$,T)=>{let P,w,I,A=!1,U=async()=>{if(!w)w=h();try{P=await w,I=!0,A=!1}finally{w=void 0}return P};if($===void 0)return async(_)=>{if(!I||_?.forceRefresh)P=await U();return P};return async(_)=>{if(!I||_?.forceRefresh)P=await U();if(A)return P;if(T&&!T(P))return A=!0,P;if($(P))return await U(),P;return P}},z=(h,$,T)=>{if(!($ in h))return;if(h[$]==="true")return!0;if(h[$]==="false")return!1;throw Error(`Cannot load ${T} "${$}". Expected "true" or "false", got ${h[$]}.`)},Pw=(h,$,T)=>{if(!($ in h))return;let P=parseInt(h[$],10);if(Number.isNaN(P))throw TypeError(`Cannot load ${T} '${$}'. Expected number, got '${h[$]}'.`);return P};lw.SelectorType=void 0;(function(h){h.ENV="env",h.CONFIG="shared config entry"})(lw.SelectorType||(lw.SelectorType={}));var T1={},ww=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},f0=()=>{let{HOME:h,USERPROFILE:$,HOMEPATH:T,HOMEDRIVE:P=`C:${v.sep}`}=process.env;if(h)return h;if($)return $;if(T)return`${P}${T}`;let w=ww();if(!T1[w])T1[w]=hw.homedir();return T1[w]},Rh="AWS_PROFILE",qh="default",Oh=(h)=>h.profile||process.env[Rh]||qh,Eh=(h)=>{let T=$w.createHash("sha1").update(h).digest("hex");return v.join(f0(),".aws","sso","cache",`${T}.json`)},s0={},Iw=async(h)=>{if(s0[h])return s0[h];let $=Eh(h),T=await Vh.readFile($,"utf8");return JSON.parse(T)},p=".",Aw=(h)=>Object.entries(h).filter(([$])=>{let T=$.indexOf(p);if(T===-1)return!1;return Object.values(z0.IniSectionType).includes($.substring(0,T))}).reduce(($,[T,P])=>{let w=T.indexOf(p),I=T.substring(0,w)===z0.IniSectionType.PROFILE?T.substring(w+1):T;return $[I]=P,$},{...h.default&&{default:h.default}}),Uw="AWS_CONFIG_FILE",Nh=()=>process.env[Uw]||v.join(f0(),".aws","config"),_w="AWS_SHARED_CREDENTIALS_FILE",fw=()=>process.env[_w]||v.join(f0(),".aws","credentials"),Mw=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,Yw=["__proto__","profile __proto__"],w1=(h)=>{let $={},T,P;for(let w of h.split(/\r?\n/)){let I=w.split(/(^|\s)[;#]/)[0].trim();if(I[0]==="["&&I[I.length-1]==="]"){T=void 0,P=void 0;let U=I.substring(1,I.length-1),_=Mw.exec(U);if(_){let[,f,,Y]=_;if(Object.values(z0.IniSectionType).includes(f))T=[f,Y].join(p)}else T=U;if(Yw.includes(U))throw Error(`Found invalid profile name "${U}"`)}else if(T){let U=I.indexOf("=");if(![0,-1].includes(U)){let[_,f]=[I.substring(0,U).trim(),I.substring(U+1).trim()];if(f==="")P=_;else{if(P&&w.trimStart()===w)P=void 0;$[T]=$[T]||{};let Y=P?[P,_].join(p):_;$[T][Y]=f}}}}return $},P1={},S0={},j0=(h,$)=>{if(S0[h]!==void 0)return S0[h];if(!P1[h]||$?.ignoreCache)P1[h]=Vh.readFile(h,"utf8");return P1[h]},Mh=()=>({}),_1=async(h={})=>{let{filepath:$=fw(),configFilepath:T=Nh()}=h,P=f0(),w="~/",I=$;if($.startsWith("~/"))I=v.join(P,$.slice(2));let A=T;if(T.startsWith("~/"))A=v.join(P,T.slice(2));let U=await Promise.all([j0(A,{ignoreCache:h.ignoreCache}).then(w1).then(Aw).catch(Mh),j0(I,{ignoreCache:h.ignoreCache}).then(w1).catch(Mh)]);return{configFile:U[0],credentialsFile:U[1]}},Xw=(h)=>Object.entries(h).filter(([$])=>$.startsWith(z0.IniSectionType.SSO_SESSION+p)).reduce(($,[T,P])=>({...$,[T.substring(T.indexOf(p)+1)]:P}),{}),Gw=()=>({}),Jw=async(h={})=>j0(h.configFilepath??Nh()).then(w1).then(Xw).catch(Gw),Vw=(...h)=>{let $={};for(let T of h)for(let[P,w]of Object.entries(T))if($[P]!==void 0)Object.assign($[P],w);else $[P]=w;return $},Qw=async(h)=>{let $=await _1(h);return Vw($.configFile,$.credentialsFile)},Zw={getFileRecord(){return S0},interceptFile(h,$){S0[h]=Promise.resolve($)},getTokenRecord(){return s0},interceptToken(h,$){s0[h]=$}};function Hh(h){try{let $=new Set(Array.from(h.match(/([A-Z_]){3,}/g)??[]));return $.delete("CONFIG"),$.delete("CONFIG_PREFIX_SEPARATOR"),$.delete("ENV"),[...$].join(", ")}catch($){return h}}var Rw=(h,$)=>async()=>{try{let T=h(process.env,$);if(T===void 0)throw Error();return T}catch(T){throw new _0(T.message||`Not found in ENV: ${Hh(h.toString())}`,{logger:$?.logger})}},qw=(h,{preferredFile:$="config",...T}={})=>async()=>{let P=Oh(T),{configFile:w,credentialsFile:I}=await _1(T),A=I[P]||{},U=w[P]||{},_=$==="config"?{...A,...U}:{...U,...A};try{let Y=h(_,$==="config"?w:I);if(Y===void 0)throw Error();return Y}catch(f){throw new _0(f.message||`Not found in config files w/ profile [${P}]: ${Hh(h.toString())}`,{logger:T.logger})}},Ow=(h)=>typeof h==="function",xh=(h)=>Ow(h)?async()=>await h():Zh(h),I1=({environmentVariableSelector:h,configFileSelector:$,default:T},P={})=>{let{signingName:w,logger:I}=P;return U1(Qh(Rw(h,{signingName:w,logger:I}),qw($,P),xh(T)))},f1="AWS_USE_DUALSTACK_ENDPOINT",M1="use_dualstack_endpoint",Ew=!1,Nw={environmentVariableSelector:(h)=>z(h,f1,lw.SelectorType.ENV),configFileSelector:(h)=>z(h,M1,lw.SelectorType.CONFIG),default:!1},Hw={environmentVariableSelector:(h)=>z(h,f1,lw.SelectorType.ENV),configFileSelector:(h)=>z(h,M1,lw.SelectorType.CONFIG),default:void 0},Y1="AWS_USE_FIPS_ENDPOINT",X1="use_fips_endpoint",xw=!1,Ww={environmentVariableSelector:(h)=>z(h,Y1,lw.SelectorType.ENV),configFileSelector:(h)=>z(h,X1,lw.SelectorType.CONFIG),default:!1},Dw={environmentVariableSelector:(h)=>z(h,Y1,lw.SelectorType.ENV),configFileSelector:(h)=>z(h,X1,lw.SelectorType.CONFIG),default:void 0},Lw=(h)=>{let{tls:$,endpoint:T,urlParser:P,useDualstackEndpoint:w}=h;return Object.assign(h,{tls:$??!0,endpoint:F0.normalizeProvider(typeof T==="string"?P(T):T),isCustomEndpoint:!0,useDualstackEndpoint:F0.normalizeProvider(w??!1)})},Kw=async(h)=>{let{tls:$=!0}=h,T=await h.region();if(!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(T))throw Error("Invalid region in client config");let w=await h.useDualstackEndpoint(),I=await h.useFipsEndpoint(),{hostname:A}=await h.regionInfoProvider(T,{useDualstackEndpoint:w,useFipsEndpoint:I})??{};if(!A)throw Error("Cannot resolve hostname from client config");return h.urlParser(`${$?"https:":"http:"}//${A}`)},Bw=(h)=>{let $=F0.normalizeProvider(h.useDualstackEndpoint??!1),{endpoint:T,useFipsEndpoint:P,urlParser:w,tls:I}=h;return Object.assign(h,{tls:I??!0,endpoint:T?F0.normalizeProvider(typeof T==="string"?w(T):T):()=>Kw({...h,useDualstackEndpoint:$,useFipsEndpoint:P}),isCustomEndpoint:!!T,useDualstackEndpoint:$})},Wh="AWS_REGION",Dh="region",Lh={environmentVariableSelector:(h)=>h[Wh],configFileSelector:(h)=>h[Dh],default:()=>{throw Error("Region is missing")}},zw={preferredFile:"credentials"},Yh=new Set,Fw=(h,$=Tw.isValidHostLabel)=>{if(!Yh.has(h)&&!$(h))if(h==="*")console.warn('@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.');else throw Error(`Region not accepted: region="${h}" is not a valid hostname component.`);else Yh.add(h)},Kh=(h)=>typeof h==="string"&&(h.startsWith("fips-")||h.endsWith("-fips")),sw=(h)=>Kh(h)?["fips-aws-global","aws-fips"].includes(h)?"us-east-1":h.replace(/fips-(dkr-|prod-)?|-fips/,""):h,Sw=(h)=>{let{region:$,useFipsEndpoint:T}=h;if(!$)throw Error("Region is missing");return Object.assign(h,{region:async()=>{let P=typeof $==="function"?await $():$,w=sw(P);return Fw(w),w},useFipsEndpoint:async()=>{let P=typeof $==="string"?$:await $();if(Kh(P))return!0;return typeof T!=="function"?Promise.resolve(!!T):T()}})},Xh=(h=[],{useFipsEndpoint:$,useDualstackEndpoint:T})=>h.find(({tags:P})=>$===P.includes("fips")&&T===P.includes("dualstack"))?.hostname,jw=(h,{regionHostname:$,partitionHostname:T})=>$?$:T?T.replace("{region}",h):void 0,Cw=(h,{partitionHash:$})=>Object.keys($||{}).find((T)=>$[T].regions.includes(h))??"aws",cw=(h,{signingRegion:$,regionRegex:T,useFipsEndpoint:P})=>{if($)return $;else if(P){let w=T.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\."),I=h.match(w);if(I)return I[0].slice(1,-1)}},bw=(h,{useFipsEndpoint:$=!1,useDualstackEndpoint:T=!1,signingService:P,regionHash:w,partitionHash:I})=>{let A=Cw(h,{partitionHash:I}),U=h in w?h:I[A]?.endpoint??h,_={useFipsEndpoint:$,useDualstackEndpoint:T},f=Xh(w[U]?.variants,_),Y=Xh(I[A]?.variants,_),M=jw(U,{regionHostname:f,partitionHostname:Y});if(M===void 0)throw Error(`Endpoint resolution failed for: ${{resolvedRegion:U,useFipsEndpoint:$,useDualstackEndpoint:T}}`);let X=cw(M,{signingRegion:w[U]?.signingRegion,regionRegex:I[A].regionRegex,useFipsEndpoint:$});return{partition:A,signingService:P,hostname:M,...X&&{signingRegion:X},...w[U]?.signingService&&{signingService:w[U].signingService}}},yw="AWS_EXECUTION_ENV",Gh="AWS_REGION",Jh="AWS_DEFAULT_REGION",kw="AWS_EC2_METADATA_DISABLED",pw=["in-region","cross-region","mobile","standard","legacy"],gw="/latest/meta-data/placement/region",mw="AWS_DEFAULTS_MODE",dw="defaults_mode",vw={environmentVariableSelector:(h)=>{return h[mw]},configFileSelector:(h)=>{return h[dw]},default:"legacy"},tw=({region:h=I1(Lh),defaultsMode:$=I1(vw)}={})=>U1(async()=>{let T=typeof $==="function"?await $():$;switch(T?.toLowerCase()){case"auto":return rw(h);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(T?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw Error(`Invalid parameter for "defaultsMode", expect ${pw.join(", ")}, got ${T}`)}}),rw=async(h)=>{if(h){let $=typeof h==="function"?await h():h,T=await nw();if(!T)return"standard";if($===T)return"in-region";else return"cross-region"}return"standard"},nw=async()=>{if(process.env[yw]&&(process.env[Gh]||process.env[Jh]))return process.env[Gh]??process.env[Jh];if(!process.env[kw])try{let h=await uw();return(await iw({hostname:h.hostname,path:gw})).toString()}catch(h){}},uw=async()=>{let h=process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT;if(h){let T=new URL(h);return{hostname:T.hostname,path:T.pathname}}if(process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE==="IPv6")return{hostname:"fd00:ec2::254",path:"/"};return{hostname:"169.254.169.254",path:"/"}},iw=async({hostname:h,path:$})=>{let{request:T}=await import("http");return new Promise((P,w)=>{let I=T({method:"GET",hostname:h.replace(/^\[(.+)]$/,"$1"),path:$,timeout:1000,signal:AbortSignal.timeout(1000)});I.on("error",(A)=>{w(A),I.destroy()}),I.on("timeout",()=>{w(Error("TimeoutError from instance metadata service")),I.destroy()}),I.on("response",(A)=>{let{statusCode:U=400}=A;if(U<200||300<=U){w(Object.assign(Error("Error response received from instance metadata service"),{statusCode:U})),I.destroy();return}let _=[];A.on("data",(f)=>_.push(f)),A.on("end",()=>{P(Buffer.concat(_)),I.destroy()})}),I.end()})};lw.CONFIG_PREFIX_SEPARATOR=p;lw.CONFIG_USE_DUALSTACK_ENDPOINT=M1;lw.CONFIG_USE_FIPS_ENDPOINT=X1;lw.CredentialsProviderError=_0;lw.DEFAULT_PROFILE=qh;lw.DEFAULT_USE_DUALSTACK_ENDPOINT=Ew;lw.DEFAULT_USE_FIPS_ENDPOINT=xw;lw.ENV_PROFILE=Rh;lw.ENV_USE_DUALSTACK_ENDPOINT=f1;lw.ENV_USE_FIPS_ENDPOINT=Y1;lw.NODE_REGION_CONFIG_FILE_OPTIONS=zw;lw.NODE_REGION_CONFIG_OPTIONS=Lh;lw.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=Nw;lw.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=Ww;lw.ProviderError=t;lw.REGION_ENV_NAME=Wh;lw.REGION_INI_NAME=Dh;lw.TokenProviderError=A1;lw.booleanSelector=z;lw.chain=Qh;lw.externalDataInterceptor=Zw;lw.fromStatic=xh;lw.fromValue=Zh;lw.getHomeDir=f0;lw.getProfileName=Oh;lw.getRegionInfo=bw;lw.getSSOTokenFilepath=Eh;lw.getSSOTokenFromFile=Iw;lw.loadConfig=I1;lw.loadSharedConfigFiles=_1;lw.loadSsoSessionData=Jw;lw.memoize=U1;lw.nodeDualstackConfigSelectors=Hw;lw.nodeFipsConfigSelectors=Dw;lw.numberSelector=Pw;lw.parseKnownFiles=Qw;lw.readFile=j0;lw.resolveCustomEndpointsConfig=Lw;lw.resolveDefaultsModeConfig=tw;lw.resolveEndpointsConfig=Bw;lw.resolveRegionConfig=Sw});var lh=y((EA)=>{var V1=Bh(),F=m(),yI=$1(),Q1=h0(),zh="AWS_ENDPOINT_URL",Fh="endpoint_url",kI=(h)=>({environmentVariableSelector:($)=>{let T=h.split(" ").map((I)=>I.toUpperCase()),P=$[[zh,...T].join("_")];if(P)return P;let w=$[zh];if(w)return w;return},configFileSelector:($,T)=>{if(T&&$.services){let w=T[["services",$.services].join(V1.CONFIG_PREFIX_SEPARATOR)];if(w){let I=h.split(" ").map((U)=>U.toLowerCase()),A=w[[I.join("_"),Fh].join(V1.CONFIG_PREFIX_SEPARATOR)];if(A)return A}}let P=$[Fh];if(P)return P;return},default:void 0}),C0=async(h)=>V1.loadConfig(kI(h??""))(),pI=async(h)=>{let $=h?.Bucket||"";if(typeof h.Bucket==="string")h.Bucket=$.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(tI($)){if(h.ForcePathStyle===!0)throw Error("Path-style addressing cannot be used with ARN buckets")}else if(!vI($)||$.indexOf(".")!==-1&&!String(h.Endpoint).startsWith("http:")||$.toLowerCase()!==$||$.length<3)h.ForcePathStyle=!0;if(h.DisableMultiRegionAccessPoints)h.disableMultiRegionAccessPoints=!0,h.DisableMRAP=!0;return h},gI=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,mI=/(\d+\.){3}\d+/,dI=/\.\./,vI=(h)=>gI.test(h)&&!mI.test(h)&&!dI.test(h),tI=(h)=>{let[$,T,P,,,w]=h.split(":"),I=$==="arn"&&h.split(":").length>=6,A=Boolean(I&&T&&P&&w);if(I&&!A)throw Error(`Invalid ARN: ${h} was an invalid ARN.`);return A},rI=(h,$,T,P=!1)=>{let w=async()=>{let I;if(P)I=T.clientContextParams?.[h]??T[h]??T[$];else I=T[h]??T[$];if(typeof I==="function")return I();return I};if(h==="credentialScope"||$==="CredentialScope")return async()=>{let I=typeof T.credentials==="function"?await T.credentials():T.credentials;return I?.credentialScope??I?.CredentialScope};if(h==="accountId"||$==="AccountId")return async()=>{let I=typeof T.credentials==="function"?await T.credentials():T.credentials;return I?.accountId??I?.AccountId};if(h==="endpoint"||$==="endpoint")return async()=>{if(T.isCustomEndpoint===!1)return;let I=await w();if(I&&typeof I==="object"){if("url"in I)return I.url.href;if("hostname"in I){let{protocol:A,hostname:U,port:_,path:f}=I;return`${A}//${U}${_?":"+_:""}${f}`}}return I};return w};function sh(h){return async($,T,P,w)=>{if(!P.isCustomEndpoint){let U;if(P.serviceConfiguredEndpoint)U=await P.serviceConfiguredEndpoint();else U=await h(P.serviceId);if(U)P.endpoint=()=>Promise.resolve(F.toEndpointV1(U)),P.isCustomEndpoint=!0}let I=await Sh($,T,P);if(typeof P.endpointProvider!=="function")throw Error("config.endpointProvider is not set.");let A=P.endpointProvider(I,w);if(P.isCustomEndpoint&&P.endpoint){let U=await P.endpoint();if(U?.headers){A.headers??={};for(let[_,f]of Object.entries(U.headers))A.headers[_]=Array.isArray(f)?f:[f]}}return A}}var Sh=async(h,$,T)=>{let P={},w=$?.getEndpointParameterInstructions?.()||{};for(let[I,A]of Object.entries(w))switch(A.type){case"staticContextParams":P[I]=A.value;break;case"contextParams":P[I]=h[A.name];break;case"clientContextParams":case"builtInParams":P[I]=await rI(A.name,I,T,A.type!=="builtInParams")();break;case"operationContextParams":P[I]=A.get(h);break;default:throw Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(A))}if(Object.keys(w).length===0)Object.assign(P,T);if(String(T.serviceId).toLowerCase()==="s3")await pI(P);return P};function nI(h,$,T){if(!h.__smithy_context)h.__smithy_context={features:{}};else if(!h.__smithy_context.features)h.__smithy_context.features={};h.__smithy_context.features[$]=T}function jh(h){let $=sh(h);return({config:T,instructions:P})=>{return(w,I)=>async(A)=>{if(T.isCustomEndpoint)nI(I,"ENDPOINT_OVERRIDE","N");let U=await $(A.input,{getEndpointParameterInstructions(){return P}},{...T},I);I.endpointV2=U,I.authSchemes=U.properties?.authSchemes;let _=I.authSchemes?.[0];if(_){I.signing_region=_.signingRegion,I.signing_service=_.signingName;let Y=yI.getSmithyContext(I)?.selectedHttpAuthScheme?.httpAuthOption;if(Y)Y.signingProperties=Object.assign(Y.signingProperties||{},{signing_region:_.signingRegion,signingRegion:_.signingRegion,signing_service:_.signingName,signingName:_.signingName,signingRegionSet:_.signingRegionSet},_.properties)}return w({...A})}}}var uI={name:"serializerMiddleware"},Ch={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:uI.name};function iI(h){let $=jh(h);return(T,P)=>({applyToStack:(w)=>{w.addRelativeTo($({config:T,instructions:P}),Ch)}})}function lI(h){return($)=>{let T=$.tls??!0,{endpoint:P,useDualstackEndpoint:w,useFipsEndpoint:I}=$,A=P!=null?async()=>F.toEndpointV1(await F.normalizeProvider(P)()):void 0,_=Object.assign($,{endpoint:A,tls:T,isCustomEndpoint:!!P,useDualstackEndpoint:F.normalizeProvider(w??!1),useFipsEndpoint:F.normalizeProvider(I??!1)}),f=void 0;return _.serviceConfiguredEndpoint=async()=>{if($.serviceId&&!f)f=h($.serviceId);return f},_}}class Z1{nodes;root;conditions;results;constructor(h,$,T,P){this.nodes=h,this.root=$,this.conditions=T,this.results=P}static from(h,$,T,P){return new Z1(h,$,T,P)}}class ch{capacity;data=new Map;parameters=[];constructor({size:h,params:$}){if(this.capacity=h??50,$)this.parameters=$}get(h,$){let T=this.hash(h);if(T===!1)return $();if(!this.data.has(T)){if(this.data.size>this.capacity+10){let P=this.data.keys(),w=0;while(!0){let{value:I,done:A}=P.next();if(this.data.delete(I),A||++w>10)break}}this.data.set(T,$())}return this.data.get(T)}size(){return this.data.size}hash(h){let $="",{parameters:T}=this;if(T.length===0)return!1;for(let P of T){let w=String(h[P]??"");if(w.includes("|;"))return!1;$+=w+"|;"}return $}}class q extends Error{constructor(h){super(h);this.name="EndpointError"}}var M0="endpoints";function c(h){if(typeof h!=="object"||h==null)return h;if("ref"in h)return`$${c(h.ref)}`;if("fn"in h)return`${h.fn}(${(h.argv||[]).map(c).join(", ")})`;return JSON.stringify(h,null,2)}var bh={},oI=(h,$)=>h===$;function aI(...h){for(let $ of h)if($!=null)return $;return}var eI=(h)=>{let $=h.split("."),T=[];for(let P of $){let w=P.indexOf("[");if(w!==-1){if(P.indexOf("]")!==P.length-1)throw new q(`Path: '${h}' does not end with ']'`);let I=P.slice(w+1,-1);if(Number.isNaN(parseInt(I)))throw new q(`Invalid array index: '${I}' in path: '${h}'`);if(w!==0)T.push(P.slice(0,w));T.push(I)}else T.push(P)}return T},yh=(h,$)=>eI($).reduce((T,P)=>{if(typeof T!=="object")throw new q(`Index '${P}' in '${$}' not found in '${JSON.stringify(h)}'`);else if(Array.isArray(T)){let w=parseInt(P);return T[w<0?T.length+w:w]}return T[P]},h),hA=(h)=>h!=null;function $A(h,$,T){return h?$:T}var TA=(h)=>!h,PA=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),kh=(h)=>PA.test(h)||h.startsWith("[")&&h.endsWith("]"),G1={[Q1.EndpointURLScheme.HTTP]:80,[Q1.EndpointURLScheme.HTTPS]:443},wA=(h)=>{let $=(()=>{try{if(h instanceof URL)return h;if(typeof h==="object"&&"hostname"in h){let{hostname:X,port:G,protocol:V="",path:Z="",query:J={}}=h,Q=new URL(`${V}//${X}${G?`:${G}`:""}${Z}`);return Q.search=Object.entries(J).map(([R,H])=>`${R}=${H}`).join("&"),Q}return new URL(h)}catch(X){return null}})();if(!$)return console.error(`Unable to parse ${JSON.stringify(h)} as a whatwg URL.`),null;let T=$.href,{host:P,hostname:w,pathname:I,protocol:A,search:U}=$;if(U)return null;let _=A.slice(0,-1);if(!Object.values(Q1.EndpointURLScheme).includes(_))return null;let f=kh(w),Y=T.includes(`${P}:${G1[_]}`)||typeof h==="string"&&h.includes(`${P}:${G1[_]}`),M=`${P}${Y?`:${G1[_]}`:""}`;return{scheme:_,authority:M,path:I,normalizedPath:I.endsWith("/")?I:`${I}/`,isIp:f}};function IA(h,$,T){if(T===1)return[h];if(h==="")return[""];let P=h.split($);if(T===0)return P;return P.slice(0,T-1).concat(P.slice(1).join($))}var AA=(h,$)=>h===$,UA=(h,$,T,P)=>{if(h==null||$>=T||h.length<T||/[^\u0000-\u007f]/.test(h))return null;if(!P)return h.substring($,T);return h.substring(h.length-T,h.length-$)},_A=(h)=>encodeURIComponent(h).replace(/[!*'()]/g,($)=>`%${$.charCodeAt(0).toString(16).toUpperCase()}`),fA={booleanEquals:oI,coalesce:aI,getAttr:yh,isSet:hA,isValidHostLabel:F.isValidHostLabel,ite:$A,not:TA,parseURL:wA,split:IA,stringEquals:AA,substring:UA,uriEncode:_A},ph=(h,$)=>{let T=[],{referenceRecord:P,endpointParams:w}=$,I=0;while(I<h.length){let A=h.indexOf("{",I);if(A===-1){T.push(h.slice(I));break}T.push(h.slice(I,A));let U=h.indexOf("}",A);if(U===-1){T.push(h.slice(A));break}if(h[A+1]==="{"&&h[U+1]==="}")T.push(h.slice(A+1,U)),I=U+2;let _=h.substring(A+1,U);if(_.includes("#")){let[f,Y]=_.split("#");T.push(yh(P[f]??w[f],Y))}else T.push(P[_]??w[_]);I=U+1}return T.join("")},MA=({ref:h},$)=>{return $.referenceRecord[h]??$.endpointParams[h]},Y0=(h,$,T)=>{if(typeof h==="string")return ph(h,T);else if(h.fn)return mh.callFunction(h,T);else if(h.ref)return MA(h,T);throw new q(`'${$}': ${String(h)} is not a string, function or reference.`)},gh=({fn:h,argv:$},T)=>{let P=Array($.length);for(let A=0;A<P.length;++A){let U=$[A];if(typeof U==="boolean"||typeof U==="number")P[A]=U;else P[A]=mh.evaluateExpression(U,"arg",T)}let w=h.indexOf(".");if(w!==-1){let U=bh[h.slice(0,w)]?.[h.slice(w+1)];if(typeof U==="function")return U(...P)}let I=fA[h];if(typeof I==="function")return I(...P);throw Error(`function ${h} not loaded in endpointFunctions.`)},mh={evaluateExpression:Y0,callFunction:gh},dh=(h,$)=>{let{assign:T}=h;if(T&&T in $.referenceRecord)throw new q(`'${T}' is already defined in Reference Record.`);let P=gh(h,$);$.logger?.debug?.(`${M0} evaluateCondition: ${c(h)} = ${c(P)}`);let w=P===""?!0:!!P;if(T!=null)return{result:w,toAssign:{name:T,value:P}};return{result:w}},vh=(h,$)=>Object.entries(h??{}).reduce((T,[P,w])=>{return T[P]=w.map((I)=>{let A=Y0(I,"Header value entry",$);if(typeof A!=="string")throw new q(`Header '${P}' value '${A}' is not a string`);return A}),T},{}),R1=(h,$)=>Object.entries(h).reduce((T,[P,w])=>{return T[P]=rh.getEndpointProperty(w,$),T},{}),th=(h,$)=>{if(Array.isArray(h))return h.map((T)=>th(T,$));switch(typeof h){case"string":return ph(h,$);case"object":if(h===null)throw new q(`Unexpected endpoint property: ${h}`);return rh.getEndpointProperties(h,$);case"boolean":return h;default:throw new q(`Unexpected endpoint property type: ${typeof h}`)}},rh={getEndpointProperty:th,getEndpointProperties:R1},nh=(h,$)=>{let T=Y0(h,"Endpoint URL",$);if(typeof T==="string")try{return new URL(T)}catch(P){throw console.error(`Failed to construct URL with ${T}`,P),P}throw new q(`Endpoint URL must be a string, got ${typeof T}`)},J1=1e8,YA=(h,$)=>{let{nodes:T,root:P,results:w,conditions:I}=h,A=P,U={},_={referenceRecord:U,endpointParams:$.endpointParams,logger:$.logger};while(A!==1&&A!==-1&&A<J1){let f=3*(Math.abs(A)-1),[Y,M,X]=[T[f],T[f+1],T[f+2]],[G,V,Z]=I[Y],J=dh({fn:G,assign:Z,argv:V},_);if(J.toAssign){let{name:Q,value:R}=J.toAssign;U[Q]=R}A=A>=0===J.result?M:X}if(A>=J1){let f=w[A-J1];if(f[0]===-1){let[,G]=f;throw new q(Y0(G,"Error",_))}let[Y,M,X]=f;return{url:nh(Y,_),properties:R1(M,_),headers:vh(X??{},_)}}throw new q("No matching endpoint.")},q1=(h=[],$)=>{let T={},P={...$,referenceRecord:{...$.referenceRecord}},w=!1;for(let I of h){let{result:A,toAssign:U}=dh(I,P);if(!A)return{result:A};if(U)w=!0,T[U.name]=U.value,P.referenceRecord[U.name]=U.value,$.logger?.debug?.(`${M0} assign: ${U.name} := ${c(U.value)}`)}if(w)return{result:!0,referenceRecord:T};return{result:!0}},XA=(h,$)=>{let{conditions:T,endpoint:P}=h,{result:w,referenceRecord:I}=q1(T,$);if(!w)return;let A=I?{...$,referenceRecord:{...$.referenceRecord,...I}}:$,{url:U,properties:_,headers:f}=P;$.logger?.debug?.(`${M0} Resolving endpoint from template: ${c(P)}`);let Y={url:nh(U,A)};if(f!=null)Y.headers=vh(f,A);if(_!=null)Y.properties=R1(_,A);return Y},GA=(h,$)=>{let{conditions:T,error:P}=h,{result:w,referenceRecord:I}=q1(T,$);if(!w)return;let A=I?{...$,referenceRecord:{...$.referenceRecord,...I}}:$;throw new q(Y0(P,"Error",A))},uh=(h,$)=>{for(let T of h)if(T.type==="endpoint"){let P=XA(T,$);if(P)return P}else if(T.type==="error")GA(T,$);else if(T.type==="tree"){let P=ih.evaluateTreeRule(T,$);if(P)return P}else throw new q(`Unknown endpoint rule: ${T}`);throw new q("Rules evaluation failed")},JA=(h,$)=>{let{conditions:T,rules:P}=h,{result:w,referenceRecord:I}=q1(T,$);if(!w)return;let A=I?{...$,referenceRecord:{...$.referenceRecord,...I}}:$;return ih.evaluateRules(P,A)},ih={evaluateRules:uh,evaluateTreeRule:JA},VA=(h,$)=>{let{endpointParams:T,logger:P}=$,{parameters:w,rules:I}=h;$.logger?.debug?.(`${M0} Initial EndpointParams: ${c(T)}`);for(let U in w){let _=w[U],f=T[U];if(f==null&&_.default!=null){T[U]=_.default;continue}if(_.required&&f==null)throw new q(`Missing required parameter: '${U}'`)}let A=uh(I,{endpointParams:T,logger:P,referenceRecord:{}});return $.logger?.debug?.(`${M0} Resolved endpoint: ${c(A)}`),A},QA=(h)=>{let{endpoint:$}=h;if($===void 0)h.endpoint=async()=>{throw Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint.")};return h},ZA=sh(C0),RA=lI(C0),qA=jh(C0),OA=iI(C0);EA.isValidHostLabel=F.isValidHostLabel;EA.middlewareEndpointToEndpointV1=F.toEndpointV1;EA.toEndpointV1=F.toEndpointV1;EA.BinaryDecisionDiagram=Z1;EA.EndpointCache=ch;EA.EndpointError=q;EA.customEndpointFunctions=bh;EA.decideEndpoint=YA;EA.endpointMiddleware=qA;EA.endpointMiddlewareOptions=Ch;EA.getEndpointFromInstructions=ZA;EA.getEndpointPlugin=OA;EA.isIpAddress=kh;EA.resolveEndpoint=VA;EA.resolveEndpointConfig=RA;EA.resolveEndpointRequiredConfig=QA;EA.resolveParams=Sh});var Ff=y((J_)=>{var H1=C("crypto"),O1=C("fs"),kA=m(),pA=lh(),D=C("stream"),P$=(h)=>typeof ArrayBuffer==="function"&&h instanceof ArrayBuffer||Object.prototype.toString.call(h)==="[object ArrayBuffer]",u=(h,$=0,T=h.byteLength-$)=>{if(!P$(h))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof h} (${h})`);return Buffer.from(h,$,T)},k0=(h,$)=>{if(typeof h!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof h} (${h})`);return $?Buffer.from(h,$):Buffer.from(h)},gA=/^[A-Za-z0-9+/]*={0,2}$/,w$=(h)=>{if(h.length*3%4!==0)throw TypeError("Incorrect padding on base64 string.");if(!gA.exec(h))throw TypeError("Invalid base64 string.");let $=k0(h,"base64");return new Uint8Array($.buffer,$.byteOffset,$.byteLength)},p0=(h)=>{let $=k0(h,"utf8");return new Uint8Array($.buffer,$.byteOffset,$.byteLength/Uint8Array.BYTES_PER_ELEMENT)},K1=(h)=>{let $;if(typeof h==="string")$=p0(h);else $=h;if(typeof $!=="object"||typeof $.byteOffset!=="number"||typeof $.byteLength!=="number")throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return u($.buffer,$.byteOffset,$.byteLength).toString("base64")};function mA(h,$,T,P){return class w extends Uint8Array{static fromString(I,A="utf-8"){if(typeof I==="string"){if(A==="base64")return w.mutate(P(I));return w.mutate($(I))}throw Error(`Unsupported conversion from ${typeof I} to Uint8ArrayBlobAdapter.`)}static mutate(I){return Object.setPrototypeOf(I,w.prototype),I}transformToString(I="utf-8"){if(I==="base64")return T(this);return h(this)}}}var I$=(h)=>{if(typeof h==="string")return h;if(typeof h!=="object"||typeof h.byteOffset!=="number"||typeof h.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return u(h.buffer,h.byteOffset,h.byteLength).toString("utf8")},O=Array.from({length:256},(h,$)=>$.toString(16).padStart(2,"0"));function dA(h){if(typeof crypto<"u"&&typeof crypto.randomUUID==="function")return()=>crypto.randomUUID();return()=>{let $=new Uint8Array(16);return h($),$[6]=$[6]&15|64,$[8]=$[8]&63|128,O[$[0]]+O[$[1]]+O[$[2]]+O[$[3]]+"-"+O[$[4]]+O[$[5]]+"-"+O[$[6]]+O[$[7]]+"-"+O[$[8]]+O[$[9]]+"-"+O[$[10]]+O[$[11]]+O[$[12]]+O[$[13]]+O[$[14]]+O[$[15]]}}var vA=(h,$,T=(P)=>P)=>h,tA=(h)=>{switch(h){case"true":return!0;case"false":return!1;default:throw Error(`Unable to parse boolean value "${h}"`)}},rA=(h)=>{if(h===null||h===void 0)return;if(typeof h==="number"){if(h===0||h===1)Q0.warn(b0(`Expected boolean, got ${typeof h}: ${h}`));if(h===0)return!1;if(h===1)return!0}if(typeof h==="string"){let $=h.toLowerCase();if($==="false"||$==="true")Q0.warn(b0(`Expected boolean, got ${typeof h}: ${h}`));if($==="false")return!1;if($==="true")return!0}if(typeof h==="boolean")return h;throw TypeError(`Expected boolean, got ${typeof h}: ${h}`)},J0=(h)=>{if(h===null||h===void 0)return;if(typeof h==="string"){let $=parseFloat(h);if(!Number.isNaN($)){if(String($)!==String(h))Q0.warn(b0(`Expected number but observed string: ${h}`));return $}}if(typeof h==="number")return h;throw TypeError(`Expected number, got ${typeof h}: ${h}`)},nA=Math.ceil(340282346638528860000000000000000000000),c0=(h)=>{let $=J0(h);if($!==void 0&&!Number.isNaN($)&&$!==1/0&&$!==-1/0){if(Math.abs($)>nA)throw TypeError(`Expected 32-bit float, got ${h}`)}return $},V0=(h)=>{if(h===null||h===void 0)return;if(Number.isInteger(h)&&!Number.isNaN(h))return h;throw TypeError(`Expected integer, got ${typeof h}: ${h}`)},uA=V0,x1=(h)=>B1(h,32),W1=(h)=>B1(h,16),D1=(h)=>B1(h,8),B1=(h,$)=>{let T=V0(h);if(T!==void 0&&iA(T,$)!==T)throw TypeError(`Expected ${$}-bit integer, got ${h}`);return T},iA=(h,$)=>{switch($){case 32:return Int32Array.of(h)[0];case 16:return Int16Array.of(h)[0];case 8:return Int8Array.of(h)[0]}},lA=(h,$)=>{if(h===null||h===void 0){if($)throw TypeError(`Expected a non-null value for ${$}`);throw TypeError("Expected a non-null value")}return h},A$=(h)=>{if(h===null||h===void 0)return;if(typeof h==="object"&&!Array.isArray(h))return h;let $=Array.isArray(h)?"array":typeof h;throw TypeError(`Expected object, got ${$}: ${h}`)},oA=(h)=>{if(h===null||h===void 0)return;if(typeof h==="string")return h;if(["boolean","number","bigint"].includes(typeof h))return Q0.warn(b0(`Expected string, got ${typeof h}: ${h}`)),String(h);throw TypeError(`Expected string, got ${typeof h}: ${h}`)},aA=(h)=>{if(h===null||h===void 0)return;let $=A$(h),T=[];for(let P in $)if($[P]!=null)T.push(P);if(T.length===0)throw TypeError("Unions must have exactly one non-null member. None were found.");if(T.length>1)throw TypeError(`Unions must have exactly one non-null member. Keys ${T} were not null.`);return $},z1=(h)=>{if(typeof h=="string")return J0(o(h));return J0(h)},eA=z1,U$=(h)=>{if(typeof h=="string")return c0(o(h));return c0(h)},hU=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,o=(h)=>{let $=h.match(hU);if($===null||$[0].length!==h.length)throw TypeError("Expected real number, got implicit NaN");return parseFloat(h)},F1=(h)=>{if(typeof h=="string")return _$(h);return J0(h)},$U=F1,TU=F1,PU=(h)=>{if(typeof h=="string")return _$(h);return c0(h)},_$=(h)=>{switch(h){case"NaN":return NaN;case"Infinity":return 1/0;case"-Infinity":return-1/0;default:throw Error(`Unable to parse float value: ${h}`)}},f$=(h)=>{if(typeof h==="string")return V0(o(h));return V0(h)},wU=f$,IU=(h)=>{if(typeof h==="string")return x1(o(h));return x1(h)},i=(h)=>{if(typeof h==="string")return W1(o(h));return W1(h)},M$=(h)=>{if(typeof h==="string")return D1(o(h));return D1(h)},b0=(h)=>{return String(TypeError(h).stack||h).split(`
4
4
  `).slice(0,5).filter(($)=>!$.includes("stackTraceWarning")).join(`
5
5
  `)},Q0={warn:console.warn},AU=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function UU(h){let $=h.getUTCFullYear(),T=h.getUTCMonth(),P=h.getUTCDay(),w=h.getUTCDate(),I=h.getUTCHours(),A=h.getUTCMinutes(),U=h.getUTCSeconds(),_=w<10?`0${w}`:`${w}`,f=I<10?`0${I}`:`${I}`,Y=A<10?`0${A}`:`${A}`,M=U<10?`0${U}`:`${U}`;return`${AU[P]}, ${_} ${s1[T]} ${$} ${f}:${Y}:${M} GMT`}var _U=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),fU=(h)=>{if(h===null||h===void 0)return;if(typeof h!=="string")throw TypeError("RFC-3339 date-times must be expressed as strings");let $=_U.exec(h);if(!$)throw TypeError("Invalid RFC-3339 date-time value");let[T,P,w,I,A,U,_,f]=$,Y=i(l(P)),M=L(w,"month",1,12),X=L(I,"day",1,31);return X0(Y,M,X,{hours:A,minutes:U,seconds:_,fractionalMilliseconds:f})},MU=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),YU=(h)=>{if(h===null||h===void 0)return;if(typeof h!=="string")throw TypeError("RFC-3339 date-times must be expressed as strings");let $=MU.exec(h);if(!$)throw TypeError("Invalid RFC-3339 date-time value");let[T,P,w,I,A,U,_,f,Y]=$,M=i(l(P)),X=L(w,"month",1,12),G=L(I,"day",1,31),V=X0(M,X,G,{hours:A,minutes:U,seconds:_,fractionalMilliseconds:f});if(Y.toUpperCase()!="Z")V.setTime(V.getTime()-xU(Y));return V},XU=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),GU=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),JU=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),VU=(h)=>{if(h===null||h===void 0)return;if(typeof h!=="string")throw TypeError("RFC-7231 date-times must be expressed as strings");let $=XU.exec(h);if($){let[T,P,w,I,A,U,_,f]=$;return X0(i(l(I)),E1(w),L(P,"day",1,31),{hours:A,minutes:U,seconds:_,fractionalMilliseconds:f})}if($=GU.exec(h),$){let[T,P,w,I,A,U,_,f]=$;return qU(X0(ZU(I),E1(w),L(P,"day",1,31),{hours:A,minutes:U,seconds:_,fractionalMilliseconds:f}))}if($=JU.exec(h),$){let[T,P,w,I,A,U,_,f]=$;return X0(i(l(f)),E1(P),L(w.trimLeft(),"day",1,31),{hours:I,minutes:A,seconds:U,fractionalMilliseconds:_})}throw TypeError("Invalid RFC-7231 date-time value")},QU=(h)=>{if(h===null||h===void 0)return;let $;if(typeof h==="number")$=h;else if(typeof h==="string")$=z1(h);else if(typeof h==="object"&&h.tag===1)$=h.value;else throw TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN($)||$===1/0||$===-1/0)throw TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round($*1000))},X0=(h,$,T,P)=>{let w=$-1;return EU(h,w,T),new Date(Date.UTC(h,w,T,L(P.hours,"hour",0,23),L(P.minutes,"minute",0,59),L(P.seconds,"seconds",0,60),HU(P.fractionalMilliseconds)))},ZU=(h)=>{let $=new Date().getUTCFullYear(),T=Math.floor($/100)*100+i(l(h));if(T<$)return T+100;return T},RU=1576800000000,qU=(h)=>{if(h.getTime()-new Date().getTime()>RU)return new Date(Date.UTC(h.getUTCFullYear()-100,h.getUTCMonth(),h.getUTCDate(),h.getUTCHours(),h.getUTCMinutes(),h.getUTCSeconds(),h.getUTCMilliseconds()));return h},E1=(h)=>{let $=s1.indexOf(h);if($<0)throw TypeError(`Invalid month: ${h}`);return $+1},OU=[31,28,31,30,31,30,31,31,30,31,30,31],EU=(h,$,T)=>{let P=OU[$];if($===1&&NU(h))P=29;if(T>P)throw TypeError(`Invalid day for ${s1[$]} in ${h}: ${T}`)},NU=(h)=>{return h%4===0&&(h%100!==0||h%400===0)},L=(h,$,T,P)=>{let w=M$(l(h));if(w<T||w>P)throw TypeError(`${$} must be between ${T} and ${P}, inclusive`);return w},HU=(h)=>{if(h===null||h===void 0)return 0;return U$("0."+h)*1000},xU=(h)=>{let $=h[0],T=1;if($=="+")T=1;else if($=="-")T=-1;else throw TypeError(`Offset direction, ${$}, must be "+" or "-"`);let P=Number(h.substring(1,3)),w=Number(h.substring(4,6));return T*(P*60+w)*60*1000},l=(h)=>{let $=0;while($<h.length-1&&h.charAt($)==="0")$++;if($===0)return h;return h.slice($)},g=function($){return Object.assign(new String($),{deserializeJSON(){return JSON.parse(String($))},toString(){return String($)},toJSON(){return String($)}})};g.from=(h)=>{if(h&&typeof h==="object"&&(h instanceof g||("deserializeJSON"in h)))return h;else if(typeof h==="string"||Object.getPrototypeOf(h)===String.prototype)return g(String(h));return g(JSON.stringify(h))};g.fromObject=g.from;function WU(h){if(h.includes(",")||h.includes('"'))h=`"${h.replace(/"/g,"\\\"")}"`;return h}var S1="(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?",j1="(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)",C1="(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?",Y$="(\\d?\\d)",X$="(\\d{4})",DU=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),LU=new RegExp(`^${S1}, ${Y$} ${j1} ${X$} ${C1} GMT$`),KU=new RegExp(`^${S1}, ${Y$}-${j1}-(\\d\\d) ${C1} GMT$`),BU=new RegExp(`^${S1} ${j1} ( [1-9]|\\d\\d) ${C1} ${X$}$`),zU=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],FU=(h)=>{if(h==null)return;let $=NaN;if(typeof h==="number")$=h;else if(typeof h==="string"){if(!/^-?\d*\.?\d+$/.test(h))throw TypeError("parseEpochTimestamp - numeric string invalid.");$=Number.parseFloat(h)}else if(typeof h==="object"&&h.tag===1)$=h.value;if(isNaN($)||Math.abs($)===1/0)throw TypeError("Epoch timestamps must be valid finite numbers.");return new Date(Math.round($*1000))},sU=(h)=>{if(h==null)return;if(typeof h!=="string")throw TypeError("RFC3339 timestamps must be strings");let $=DU.exec(h);if(!$)throw TypeError(`Invalid RFC3339 timestamp format ${h}`);let[,T,P,w,I,A,U,,_,f]=$;s(P,1,12),s(w,1,31),s(I,0,23),s(A,0,59),s(U,0,60);let Y=new Date(Date.UTC(Number(T),Number(P)-1,Number(w),Number(I),Number(A),Number(U),Number(_)?Math.round(parseFloat(`0.${_}`)*1000):0));if(Y.setUTCFullYear(Number(T)),f.toUpperCase()!="Z"){let[,M,X,G]=/([+-])(\d\d):(\d\d)/.exec(f)||[void 0,"+",0,0],V=M==="-"?1:-1;Y.setTime(Y.getTime()+V*(Number(X)*60*60*1000+Number(G)*60*1000))}return Y},SU=(h)=>{if(h==null)return;if(typeof h!=="string")throw TypeError("RFC7231 timestamps must be strings.");let $,T,P,w,I,A,U,_;if(_=LU.exec(h))[,$,T,P,w,I,A,U]=_;else if(_=KU.exec(h))[,$,T,P,w,I,A,U]=_,P=(Number(P)+1900).toString();else if(_=BU.exec(h))[,T,$,w,I,A,U,P]=_;if(P&&A){let f=Date.UTC(Number(P),zU.indexOf(T),Number($),Number(w),Number(I),Number(A),U?Math.round(parseFloat(`0.${U}`)*1000):0);s($,1,31),s(w,0,23),s(I,0,59),s(A,0,60);let Y=new Date(f);return Y.setUTCFullYear(Number(P)),Y}throw TypeError(`Invalid RFC7231 date-time value ${h}.`)};function s(h,$,T){let P=Number(h);if(P<$||P>T)throw Error(`Value ${P} out of range [${$}, ${T}]`)}function jU(h,$,T){if(T<=0||!Number.isInteger(T))throw Error("Invalid number of delimiters ("+T+") for splitEvery.");let P=h.split($);if(T===1)return P;let w=[],I="";for(let A=0;A<P.length;A++){if(I==="")I=P[A];else I+=$+P[A];if((A+1)%T===0)w.push(I),I=""}if(I!=="")w.push(I);return w}var CU=(h)=>{let $=h.length,T=[],P=!1,w=void 0,I=0;for(let A=0;A<$;++A){let U=h[A];switch(U){case'"':if(w!=="\\")P=!P;break;case",":if(!P)T.push(h.slice(I,A)),I=A+1;break}w=U}return T.push(h.slice(I)),T.map((A)=>{A=A.trim();let U=A.length;if(U<2)return A;if(A[0]==='"'&&A[U-1]==='"')A=A.slice(1,U-1);return A.replace(/\\"/g,'"')})},oh=/^-?\d*(\.\d+)?$/;class g0{string;type;constructor(h,$){if(this.string=h,this.type=$,!oh.test(h))throw Error('@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".')}toString(){return this.string}static[Symbol.hasInstance](h){if(!h||typeof h!=="object")return!1;let $=h;return g0.prototype.isPrototypeOf(h)||$.type==="bigDecimal"&&oh.test($.string)}}function cU(h){return new g0(String(h),"bigDecimal")}var G$={},L1={};for(let h=0;h<256;h++){let $=h.toString(16).toLowerCase();if($.length===1)$=`0${$}`;G$[h]=$,L1[$]=h}function bU(h){if(h.length%2!==0)throw Error("Hex encoded strings must have an even number length");let $=new Uint8Array(h.length/2);for(let T=0;T<h.length;T+=2){let P=h.slice(T,T+2).toLowerCase();if(P in L1)$[T/2]=L1[P];else throw Error(`Cannot decode unrecognized sequence ${P} as hexadecimal`)}return $}function J$(h){let $="";for(let T=0;T<h.byteLength;T++)$+=G$[h[T]];return $}var yU=(h)=>{if(!h)return 0;if(typeof h==="string")return Buffer.byteLength(h);else if(typeof h.byteLength==="number")return h.byteLength;else if(typeof h.size==="number")return h.size;else if(typeof h.start==="number"&&typeof h.end==="number")return h.end+1-h.start;else if(h instanceof O1.ReadStream){if(h.path!=null)return O1.lstatSync(h.path).size;else if(typeof h.fd==="number")return O1.fstatSync(h.fd).size}throw Error(`Body Length computation failed for ${h}`)},V$=(h)=>{if(typeof h==="string")return p0(h);if(ArrayBuffer.isView(h))return new Uint8Array(h.buffer,h.byteOffset,h.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(h)},Q$=(h,$)=>(T,P)=>async(w)=>{let{response:I}=await T(w);try{let A=await $(I,h);return{response:I,output:A}}catch(A){if(Object.defineProperty(A,"$response",{value:I,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in A)){try{A.message+=`
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-0rmmg3g4.js";var{create:os,defineProperty:Gt,getOwnPropertyDescriptor:us,getOwnPropertyNames:ps,getPrototypeOf:hs}=Object,cs=Object.prototype.hasOwnProperty,ce=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ls=(t,e)=>{for(var s in e)Gt(t,s,{get:e[s],enumerable:!0})},ds=(t,e,s,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of ps(e))!cs.call(t,r)&&r!==s&&Gt(t,r,{get:()=>e[r],enumerable:!(i=us(e,r))||i.enumerable});return t},le=(t,e,s)=>(s=t!=null?os(hs(t)):{},ds(e||!t||!t.__esModule?Gt(s,"default",{value:t,enumerable:!0}):s,t)),fs=ce((t,e)=>{e.exports={}}),de=ce((t,e)=>{var s=fs(),i=/^[\da-fA-F]+$/,r=/^\d+$/,n=new WeakMap;function o(h){h=h.Parser.acorn||h;let l=n.get(h);if(!l){let{tokTypes:g,TokContext:C,TokenType:A}=h,S=new C("<tag",!1),V=new C("</tag",!1),P=new C("<tag>...</tag>",!0,!0),U={tc_oTag:S,tc_cTag:V,tc_expr:P},et={jsxName:new A("jsxName"),jsxText:new A("jsxText",{beforeExpr:!0}),jsxTagStart:new A("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new A("jsxTagEnd")};et.jsxTagStart.updateContext=function(){this.context.push(P),this.context.push(S),this.exprAllowed=!1},et.jsxTagEnd.updateContext=function(dt){let ft=this.context.pop();ft===S&&dt===g.slash||ft===V?(this.context.pop(),this.exprAllowed=this.curContext()===P):this.exprAllowed=!0},l={tokContexts:U,tokTypes:et},n.set(h,l)}return l}function p(h){if(!h)return h;if(h.type==="JSXIdentifier")return h.name;if(h.type==="JSXNamespacedName")return h.namespace.name+":"+h.name.name;if(h.type==="JSXMemberExpression")return p(h.object)+"."+p(h.property)}e.exports=function(h){return h=h||{},function(l){return u({allowNamespaces:h.allowNamespaces!==!1,allowNamespacedObjects:!!h.allowNamespacedObjects},l)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return o(void 0).tokTypes},configurable:!0,enumerable:!0});function u(h,l){let g=l.acorn||void 0,C=o(g),A=g.tokTypes,S=C.tokTypes,V=g.tokContexts,P=C.tokContexts.tc_oTag,U=C.tokContexts.tc_cTag,et=C.tokContexts.tc_expr,dt=g.isNewLine,ft=g.isIdentifierStart,ns=g.isIdentifierChar;return class extends l{static get acornJsx(){return C}jsx_readToken(){let c="",y=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let x=this.input.charCodeAt(this.pos);switch(x){case 60:case 123:return this.pos===this.start?x===60&&this.exprAllowed?(++this.pos,this.finishToken(S.jsxTagStart)):this.getTokenFromCode(x):(c+=this.input.slice(y,this.pos),this.finishToken(S.jsxText,c));case 38:c+=this.input.slice(y,this.pos),c+=this.jsx_readEntity(),y=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(x===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:dt(x)?(c+=this.input.slice(y,this.pos),c+=this.jsx_readNewLine(!0),y=this.pos):++this.pos}}}jsx_readNewLine(c){let y=this.input.charCodeAt(this.pos),x;return++this.pos,y===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,x=c?`
2
+ import"./chunk-s2za1y84.js";var{create:os,defineProperty:Gt,getOwnPropertyDescriptor:us,getOwnPropertyNames:ps,getPrototypeOf:hs}=Object,cs=Object.prototype.hasOwnProperty,ce=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ls=(t,e)=>{for(var s in e)Gt(t,s,{get:e[s],enumerable:!0})},ds=(t,e,s,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of ps(e))!cs.call(t,r)&&r!==s&&Gt(t,r,{get:()=>e[r],enumerable:!(i=us(e,r))||i.enumerable});return t},le=(t,e,s)=>(s=t!=null?os(hs(t)):{},ds(e||!t||!t.__esModule?Gt(s,"default",{value:t,enumerable:!0}):s,t)),fs=ce((t,e)=>{e.exports={}}),de=ce((t,e)=>{var s=fs(),i=/^[\da-fA-F]+$/,r=/^\d+$/,n=new WeakMap;function o(h){h=h.Parser.acorn||h;let l=n.get(h);if(!l){let{tokTypes:g,TokContext:C,TokenType:A}=h,S=new C("<tag",!1),V=new C("</tag",!1),P=new C("<tag>...</tag>",!0,!0),U={tc_oTag:S,tc_cTag:V,tc_expr:P},et={jsxName:new A("jsxName"),jsxText:new A("jsxText",{beforeExpr:!0}),jsxTagStart:new A("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new A("jsxTagEnd")};et.jsxTagStart.updateContext=function(){this.context.push(P),this.context.push(S),this.exprAllowed=!1},et.jsxTagEnd.updateContext=function(dt){let ft=this.context.pop();ft===S&&dt===g.slash||ft===V?(this.context.pop(),this.exprAllowed=this.curContext()===P):this.exprAllowed=!0},l={tokContexts:U,tokTypes:et},n.set(h,l)}return l}function p(h){if(!h)return h;if(h.type==="JSXIdentifier")return h.name;if(h.type==="JSXNamespacedName")return h.namespace.name+":"+h.name.name;if(h.type==="JSXMemberExpression")return p(h.object)+"."+p(h.property)}e.exports=function(h){return h=h||{},function(l){return u({allowNamespaces:h.allowNamespaces!==!1,allowNamespacedObjects:!!h.allowNamespacedObjects},l)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return o(void 0).tokTypes},configurable:!0,enumerable:!0});function u(h,l){let g=l.acorn||void 0,C=o(g),A=g.tokTypes,S=C.tokTypes,V=g.tokContexts,P=C.tokContexts.tc_oTag,U=C.tokContexts.tc_cTag,et=C.tokContexts.tc_expr,dt=g.isNewLine,ft=g.isIdentifierStart,ns=g.isIdentifierChar;return class extends l{static get acornJsx(){return C}jsx_readToken(){let c="",y=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let x=this.input.charCodeAt(this.pos);switch(x){case 60:case 123:return this.pos===this.start?x===60&&this.exprAllowed?(++this.pos,this.finishToken(S.jsxTagStart)):this.getTokenFromCode(x):(c+=this.input.slice(y,this.pos),this.finishToken(S.jsxText,c));case 38:c+=this.input.slice(y,this.pos),c+=this.jsx_readEntity(),y=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(x===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:dt(x)?(c+=this.input.slice(y,this.pos),c+=this.jsx_readNewLine(!0),y=this.pos):++this.pos}}}jsx_readNewLine(c){let y=this.input.charCodeAt(this.pos),x;return++this.pos,y===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,x=c?`
3
3
  `:`\r
4
4
  `):x=String.fromCharCode(y),this.options.locations&&(++this.curLine,this.lineStart=this.pos),x}jsx_readString(c){let y="",x=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let k=this.input.charCodeAt(this.pos);if(k===c)break;k===38?(y+=this.input.slice(x,this.pos),y+=this.jsx_readEntity(),x=this.pos):dt(k)?(y+=this.input.slice(x,this.pos),y+=this.jsx_readNewLine(!1),x=this.pos):++this.pos}return y+=this.input.slice(x,this.pos++),this.finishToken(A.string,y)}jsx_readEntity(){let c="",y=0,x,k=this.input[this.pos];k!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let Y=++this.pos;for(;this.pos<this.input.length&&y++<10;){if(k=this.input[this.pos++],k===";"){c[0]==="#"?c[1]==="x"?(c=c.substr(2),i.test(c)&&(x=String.fromCharCode(parseInt(c,16)))):(c=c.substr(1),r.test(c)&&(x=String.fromCharCode(parseInt(c,10)))):x=s[c];break}c+=k}return x||(this.pos=Y,"&")}jsx_readWord(){let c,y=this.pos;do c=this.input.charCodeAt(++this.pos);while(ns(c)||c===45);return this.finishToken(S.jsxName,this.input.slice(y,this.pos))}jsx_parseIdentifier(){let c=this.startNode();return this.type===S.jsxName?c.name=this.value:this.type.keyword?c.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(c,"JSXIdentifier")}jsx_parseNamespacedName(){let c=this.start,y=this.startLoc,x=this.jsx_parseIdentifier();if(!h.allowNamespaces||!this.eat(A.colon))return x;var k=this.startNodeAt(c,y);return k.namespace=x,k.name=this.jsx_parseIdentifier(),this.finishNode(k,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===S.jsxTagEnd)return"";let c=this.start,y=this.startLoc,x=this.jsx_parseNamespacedName();for(this.type===A.dot&&x.type==="JSXNamespacedName"&&!h.allowNamespacedObjects&&this.unexpected();this.eat(A.dot);){let k=this.startNodeAt(c,y);k.object=x,k.property=this.jsx_parseIdentifier(),x=this.finishNode(k,"JSXMemberExpression")}return x}jsx_parseAttributeValue(){switch(this.type){case A.braceL:let c=this.jsx_parseExpressionContainer();return c.expression.type==="JSXEmptyExpression"&&this.raise(c.start,"JSX attributes must only be assigned a non-empty expression"),c;case S.jsxTagStart:case A.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let c=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(c,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let c=this.startNode();return this.next(),c.expression=this.type===A.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(A.braceR),this.finishNode(c,"JSXExpressionContainer")}jsx_parseAttribute(){let c=this.startNode();return this.eat(A.braceL)?(this.expect(A.ellipsis),c.argument=this.parseMaybeAssign(),this.expect(A.braceR),this.finishNode(c,"JSXSpreadAttribute")):(c.name=this.jsx_parseNamespacedName(),c.value=this.eat(A.eq)?this.jsx_parseAttributeValue():null,this.finishNode(c,"JSXAttribute"))}jsx_parseOpeningElementAt(c,y){let x=this.startNodeAt(c,y);x.attributes=[];let k=this.jsx_parseElementName();for(k&&(x.name=k);this.type!==A.slash&&this.type!==S.jsxTagEnd;)x.attributes.push(this.jsx_parseAttribute());return x.selfClosing=this.eat(A.slash),this.expect(S.jsxTagEnd),this.finishNode(x,k?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(c,y){let x=this.startNodeAt(c,y),k=this.jsx_parseElementName();return k&&(x.name=k),this.expect(S.jsxTagEnd),this.finishNode(x,k?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(c,y){let x=this.startNodeAt(c,y),k=[],Y=this.jsx_parseOpeningElementAt(c,y),mt=null;if(!Y.selfClosing){t:for(;;)switch(this.type){case S.jsxTagStart:if(c=this.start,y=this.startLoc,this.next(),this.eat(A.slash)){mt=this.jsx_parseClosingElementAt(c,y);break t}k.push(this.jsx_parseElementAt(c,y));break;case S.jsxText:k.push(this.parseExprAtom());break;case A.braceL:k.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}p(mt.name)!==p(Y.name)&&this.raise(mt.start,"Expected corresponding JSX closing tag for <"+p(Y.name)+">")}let wt=Y.name?"Element":"Fragment";return x["opening"+wt]=Y,x["closing"+wt]=mt,x.children=k,this.type===A.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(x,"JSX"+wt)}jsx_parseText(){let c=this.parseLiteral(this.value);return c.type="JSXText",c}jsx_parseElement(){let c=this.start,y=this.startLoc;return this.next(),this.jsx_parseElementAt(c,y)}parseExprAtom(c){return this.type===S.jsxText?this.jsx_parseText():this.type===S.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(c)}readToken(c){let y=this.curContext();if(y===et)return this.jsx_readToken();if(y===P||y===U){if(ft(c))return this.jsx_readWord();if(c==62)return++this.pos,this.finishToken(S.jsxTagEnd);if((c===34||c===39)&&y==P)return this.jsx_readString(c)}return c===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(S.jsxTagStart)):super.readToken(c)}updateContext(c){if(this.type==A.braceL){var y=this.curContext();y==P?this.context.push(V.b_expr):y==et?this.context.push(V.b_tmpl):super.updateContext(c),this.exprAllowed=!0}else if(this.type===A.slash&&c===S.jsxTagStart)this.context.length-=2,this.context.push(U),this.exprAllowed=!1;else return super.updateContext(c)}}}}),fe={};ls(fe,{parsers:()=>hr});var ms=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],me=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],ys="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",ye="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Dt={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Ft="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",xs={5:Ft,"5module":Ft+" export import",6:Ft+" const class extends export import super"},gs=/^in(stanceof)?$/,As=new RegExp("["+ye+"]"),vs=new RegExp("["+ye+ys+"]");function Lt(t,e){for(var s=65536,i=0;i<e.length;i+=2){if(s+=e[i],s>t)return!1;if(s+=e[i+1],s>=t)return!0}return!1}function G(t,e){return t<65?t===36:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&As.test(String.fromCharCode(t)):e===!1?!1:Lt(t,me)}function Q(t,e){return t<48?t===36:t<58?!0:t<65?!1:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&vs.test(String.fromCharCode(t)):e===!1?!1:Lt(t,me)||Lt(t,ms)}var E=function(t,e){e===void 0&&(e={}),this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop||null,this.updateContext=null};function L(t,e){return new E(t,{beforeExpr:!0,binop:e})}var R={beforeExpr:!0},B={startsExpr:!0},Jt={};function b(t,e){return e===void 0&&(e={}),e.keyword=t,Jt[t]=new E(t,e)}var a={num:new E("num",B),regexp:new E("regexp",B),string:new E("string",B),name:new E("name",B),privateId:new E("privateId",B),eof:new E("eof"),bracketL:new E("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new E("]"),braceL:new E("{",{beforeExpr:!0,startsExpr:!0}),braceR:new E("}"),parenL:new E("(",{beforeExpr:!0,startsExpr:!0}),parenR:new E(")"),comma:new E(",",R),semi:new E(";",R),colon:new E(":",R),dot:new E("."),question:new E("?",R),questionDot:new E("?."),arrow:new E("=>",R),template:new E("template"),invalidTemplate:new E("invalidTemplate"),ellipsis:new E("...",R),backQuote:new E("`",B),dollarBraceL:new E("${",{beforeExpr:!0,startsExpr:!0}),eq:new E("=",{beforeExpr:!0,isAssign:!0}),assign:new E("_=",{beforeExpr:!0,isAssign:!0}),incDec:new E("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new E("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:L("||",1),logicalAND:L("&&",2),bitwiseOR:L("|",3),bitwiseXOR:L("^",4),bitwiseAND:L("&",5),equality:L("==/!=/===/!==",6),relational:L("</>/<=/>=",7),bitShift:L("<</>>/>>>",8),plusMin:new E("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:L("%",10),star:L("*",10),slash:L("/",10),starstar:new E("**",{beforeExpr:!0}),coalesce:L("??",1),_break:b("break"),_case:b("case",R),_catch:b("catch"),_continue:b("continue"),_debugger:b("debugger"),_default:b("default",R),_do:b("do",{isLoop:!0,beforeExpr:!0}),_else:b("else",R),_finally:b("finally"),_for:b("for",{isLoop:!0}),_function:b("function",B),_if:b("if"),_return:b("return",R),_switch:b("switch"),_throw:b("throw",R),_try:b("try"),_var:b("var"),_const:b("const"),_while:b("while",{isLoop:!0}),_with:b("with"),_new:b("new",{beforeExpr:!0,startsExpr:!0}),_this:b("this",B),_super:b("super",B),_class:b("class",B),_extends:b("extends",R),_export:b("export"),_import:b("import",B),_null:b("null",B),_true:b("true",B),_false:b("false",B),_in:b("in",{beforeExpr:!0,binop:7}),_instanceof:b("instanceof",{beforeExpr:!0,binop:7}),_typeof:b("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:b("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:b("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},N=/\r\n?|\n|\u2028|\u2029/,bs=new RegExp(N.source,"g");function st(t){return t===10||t===13||t===8232||t===8233}function xe(t,e,s){s===void 0&&(s=t.length);for(var i=e;i<s;i++){var r=t.charCodeAt(i);if(st(r))return i<s-1&&r===13&&t.charCodeAt(i+1)===10?i+2:i+1}return-1}var ge=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,w=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ae=Object.prototype,Cs=Ae.hasOwnProperty,Es=Ae.toString,it=Object.hasOwn||function(t,e){return Cs.call(t,e)},ee=Array.isArray||function(t){return Es.call(t)==="[object Array]"},se=Object.create(null);function z(t){return se[t]||(se[t]=new RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function X(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}var Ss=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,pt=function(t,e){this.line=t,this.column=e};pt.prototype.offset=function(t){return new pt(this.line,this.column+t)};var Ct=function(t,e,s){this.start=e,this.end=s,t.sourceFile!==null&&(this.source=t.sourceFile)};function ve(t,e){for(var s=1,i=0;;){var r=xe(t,i,e);if(r<0)return new pt(s,e-i);++s,i=r}}var Rt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ie=!1;function ks(t){var e={};for(var s in Rt)e[s]=t&&it(t,s)?t[s]:Rt[s];if(e.ecmaVersion==="latest"?e.ecmaVersion=1e8:e.ecmaVersion==null?(!ie&&typeof console=="object"&&console.warn&&(ie=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
5
5
  Defaulting to 2020, but this will stop working in the future.`)),e.ecmaVersion=11):e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),e.allowReserved==null&&(e.allowReserved=e.ecmaVersion<5),(!t||t.allowHashBang==null)&&(e.allowHashBang=e.ecmaVersion>=14),ee(e.onToken)){var i=e.onToken;e.onToken=function(r){return i.push(r)}}return ee(e.onComment)&&(e.onComment=Ts(e,e.onComment)),e}function Ts(t,e){return function(s,i,r,n,o,p){var u={type:s?"Block":"Line",value:i,start:r,end:n};t.locations&&(u.loc=new Ct(this,o,p)),t.ranges&&(u.range=[r,n]),e.push(u)}}var ht=1,rt=2,Kt=4,be=8,Xt=16,Ce=32,Et=64,Ee=128,tt=256,ct=512,St=ht|rt|tt;function Ht(t,e){return rt|(t?Kt:0)|(e?be:0)}var gt=0,Wt=1,W=2,Se=3,ke=4,Te=5,_=function(t,e,s){this.options=t=ks(t),this.sourceFile=t.sourceFile,this.keywords=z(xs[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";t.allowReserved!==!0&&(i=Dt[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(i+=" await")),this.reservedWords=z(i);var r=(i?i+" ":"")+Dt.strict;this.reservedWordsStrict=z(r),this.reservedWordsStrictBind=z(r+" "+Dt.strictBind),this.input=String(e),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(`
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Cl as s,Dl as t,El as u,Gl as v,Hl as w}from"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import{Fn as q,Gn as r,Hm as a,hn as b,in as c,jn as d,kn as e,ln as f,mn as g,nn as h,on as i,pn as j,qn as k,sn as l,tn as m,un as n,wn as o,yn as p}from"./chunk-3rgct4bd.js";import"./chunk-w4hbw37v.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-08y06vgt.js";import"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-s2za1y84.js";export{a as sql,e as or,f as not,c as ne,j as lte,i as lt,p as like,l as isNull,m as isNotNull,k as inArray,h as gte,g as gt,n as exists,b as eq,r as desc,t as count,o as between,q as asc,d as and,w as Storage,v as NotFoundError,s as JsonMigration,u as Database};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-qm9ezq93.js";import"./chunk-0rmmg3g4.js";var e={"ui.sessionReview.title":"\u5DE5\u4F5C\u968E\u6BB5\u8B8A\u66F4","ui.sessionReview.title.lastTurn":"\u4E0A\u4E00\u8F2A\u8B8A\u66F4","ui.sessionReview.diffStyle.unified":"\u6574\u5408","ui.sessionReview.diffStyle.split":"\u62C6\u5206","ui.sessionReview.openFile":"\u958B\u555F\u6A94\u6848","ui.sessionReview.selection.line":"\u7B2C {{line}} \u884C","ui.sessionReview.selection.lines":"\u7B2C {{start}}-{{end}} \u884C","ui.sessionReview.expandAll":"\u5168\u90E8\u5C55\u958B","ui.sessionReview.collapseAll":"\u5168\u90E8\u6536\u5408","ui.sessionReview.change.added":"\u5DF2\u65B0\u589E","ui.sessionReview.change.removed":"\u5DF2\u79FB\u9664","ui.sessionReview.change.modified":"\u5DF2\u4FEE\u6539","ui.sessionReview.image.loading":"\u8F09\u5165\u4E2D...","ui.sessionReview.image.placeholder":"\u5716\u7247","ui.sessionReview.largeDiff.title":"\u5DEE\u7570\u904E\u5927\uFF0C\u7121\u6CD5\u6E32\u67D3","ui.sessionReview.largeDiff.meta":"\u9650\u5236\uFF1A{{limit}} \u884C\u8B8A\u66F4\u3002\u76EE\u524D\uFF1A{{current}} \u884C\u8B8A\u66F4\u3002","ui.sessionReview.largeDiff.renderAnyway":"\u4ECD\u7136\u6E32\u67D3","ui.fileMedia.kind.image":"\u5716\u7247","ui.fileMedia.kind.audio":"\u97F3\u8A0A","ui.fileMedia.state.removed":"{{kind}}\u5DF2\u79FB\u9664","ui.fileMedia.state.loading":"\u6B63\u5728\u8F09\u5165{{kind}}...","ui.fileMedia.state.error":"\u8F09\u5165{{kind}}\u5931\u6557","ui.fileMedia.state.unavailable":"{{kind}}\u7121\u6CD5\u9810\u89BD","ui.fileMedia.binary.title":"\u4E8C\u9032\u4F4D\u6A94\u6848","ui.fileMedia.binary.description.path":"\u7121\u6CD5\u986F\u793A {{path}}\uFF0C\u56E0\u70BA\u5B83\u662F\u4E8C\u9032\u4F4D\u6A94\u6848\u3002","ui.fileMedia.binary.description.default":"\u7121\u6CD5\u986F\u793A\u6B64\u6A94\u6848\uFF0C\u56E0\u70BA\u5B83\u662F\u4E8C\u9032\u4F4D\u6A94\u6848\u3002","ui.lineComment.label.prefix":"\u8A55\u8AD6 ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"\u6B63\u5728\u8A55\u8AD6 ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"\u65B0\u589E\u8A55\u8AD6","ui.lineComment.submit":"\u8A55\u8AD6","ui.sessionTurn.steps.show":"\u986F\u793A\u6B65\u9A5F","ui.sessionTurn.steps.hide":"\u96B1\u85CF\u6B65\u9A5F","ui.sessionTurn.summary.response":"\u56DE\u8986","ui.sessionTurn.diff.showMore":"\u986F\u793A\u66F4\u591A\u8B8A\u66F4 ({{count}})","ui.sessionTurn.retry.retrying":"\u91CD\u8A66\u4E2D","ui.sessionTurn.retry.inSeconds":"{{seconds}} \u79D2\u5F8C","ui.sessionTurn.retry.attempt":"\u7B2C {{attempt}} \u6B21","ui.sessionTurn.retry.attemptLine":"{{line}} - \u7B2C {{attempt}} \u6B21","ui.sessionTurn.retry.geminiHot":"gemini \u76EE\u524D\u904E\u8F09","ui.sessionTurn.error.freeUsageExceeded":"\u514D\u8CBB\u4F7F\u7528\u984D\u5EA6\u5DF2\u7528\u5B8C","ui.sessionTurn.error.addQredits":"\u65B0\u589E\u9EDE\u6578","ui.sessionTurn.status.delegating":"\u6B63\u5728\u59D4\u6D3E\u5DE5\u4F5C","ui.sessionTurn.status.planning":"\u6B63\u5728\u898F\u5283\u4E0B\u4E00\u6B65","ui.sessionTurn.status.gatheringContext":"\u6B63\u5728\u63A2\u7D22","ui.sessionTurn.status.gatheredContext":"\u5DF2\u63A2\u7D22","ui.sessionTurn.status.searchingCodebase":"\u6B63\u5728\u641C\u5C0B\u7A0B\u5F0F\u78BC\u5EAB","ui.sessionTurn.status.searchingWeb":"\u6B63\u5728\u641C\u5C0B\u7DB2\u9801","ui.sessionTurn.status.makingEdits":"\u6B63\u5728\u4FEE\u6539","ui.sessionTurn.status.runningCommands":"\u6B63\u5728\u57F7\u884C\u547D\u4EE4","ui.sessionTurn.status.thinking":"\u601D\u8003\u4E2D","ui.sessionTurn.status.thinkingWithTopic":"\u601D\u8003 - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u6B63\u5728\u6574\u7406\u601D\u7DD2","ui.sessionTurn.status.consideringNextSteps":"\u6B63\u5728\u8003\u616E\u4E0B\u4E00\u6B65","ui.messagePart.questions.dismissed":"\u554F\u984C\u5DF2\u7565\u904E","ui.messagePart.compaction":"\u5DE5\u4F5C\u968E\u6BB5\u5DF2\u58D3\u7E2E","ui.messagePart.context.read.one":"{{count}} \u6B21\u8B80\u53D6","ui.messagePart.context.read.other":"{{count}} \u6B21\u8B80\u53D6","ui.messagePart.context.search.one":"{{count}} \u6B21\u641C\u5C0B","ui.messagePart.context.search.other":"{{count}} \u6B21\u641C\u5C0B","ui.messagePart.context.list.one":"{{count}} \u500B\u6E05\u55AE","ui.messagePart.context.list.other":"{{count}} \u500B\u6E05\u55AE","ui.messagePart.diagnostic.error":"\u932F\u8AA4","ui.messagePart.title.edit":"\u7DE8\u8F2F","ui.messagePart.title.write":"\u5BEB\u5165","ui.messagePart.option.typeOwnAnswer":"\u8F38\u5165\u81EA\u5DF1\u7684\u7B54\u6848","ui.messagePart.review.title":"\u6AA2\u67E5\u4F60\u7684\u7B54\u6848","ui.list.loading":"\u8F09\u5165\u4E2D","ui.list.empty":"\u7121\u7D50\u679C","ui.list.clearFilter":"\u6E05\u9664\u7BE9\u9078","ui.list.emptyWithFilter.prefix":"\u6C92\u6709\u95DC\u65BC","ui.list.emptyWithFilter.suffix":"\u7684\u7D50\u679C","ui.messageNav.newMessage":"\u65B0\u8A0A\u606F","ui.textField.copyToClipboard":"\u8907\u88FD\u5230\u526A\u8CBC\u7C3F","ui.textField.copyLink":"\u8907\u88FD\u9023\u7D50","ui.textField.copied":"\u5DF2\u8907\u88FD","ui.imagePreview.alt":"\u5716\u7247\u9810\u89BD","ui.scrollView.ariaLabel":"\u53EF\u6372\u52D5\u5167\u5BB9","ui.tool.read":"\u8B80\u53D6","ui.tool.loaded":"\u5DF2\u8F09\u5165","ui.tool.list":"\u6E05\u55AE","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webfetch","ui.tool.websearch":"\u7DB2\u9801\u641C\u5C0B","ui.tool.codesearch":"\u7A0B\u5F0F\u78BC\u641C\u5C0B","ui.tool.shell":"Shell","ui.tool.patch":"\u4FEE\u88DC","ui.tool.todos":"\u5F85\u8FA6","ui.tool.todos.read":"\u8B80\u53D6\u5F85\u8FA6","ui.tool.questions":"\u554F\u984C","ui.tool.agent":"{{type}} \u4EE3\u7406\u7A0B\u5F0F","ui.tool.agent.default":"\u4EE3\u7406\u7A0B\u5F0F","ui.common.file.one":"\u500B\u6A94\u6848","ui.common.file.other":"\u500B\u6A94\u6848","ui.common.question.one":"\u500B\u554F\u984C","ui.common.question.other":"\u500B\u554F\u984C","ui.common.add":"\u65B0\u589E","ui.common.back":"\u8FD4\u56DE","ui.common.cancel":"\u53D6\u6D88","ui.common.confirm":"\u78BA\u8A8D","ui.common.dismiss":"\u5FFD\u7565","ui.common.close":"\u95DC\u9589","ui.common.next":"\u4E0B\u4E00\u6B65","ui.common.submit":"\u63D0\u4EA4","ui.permission.deny":"\u62D2\u7D55","ui.permission.allowAlways":"\u6C38\u9060\u5141\u8A31","ui.permission.allowOnce":"\u5141\u8A31\u4E00\u6B21","ui.message.expand":"\u5C55\u958B\u8A0A\u606F","ui.message.collapse":"\u6536\u5408\u8A0A\u606F","ui.message.copy":"\u8907\u88FD","ui.message.copyMessage":"\u8907\u88FD\u8A0A\u606F","ui.message.forkMessage":"\u5206\u652F\u5230\u65B0\u5DE5\u4F5C\u968E\u6BB5","ui.message.revertMessage":"\u91CD\u8A2D\u81F3\u6B64\u9EDE","ui.message.copyResponse":"\u8907\u88FD\u56DE\u8986","ui.message.copied":"\u5DF2\u8907\u88FD\uFF01","ui.message.interrupted":"\u5DF2\u4E2D\u65B7","ui.message.queued":"\u6392\u968A\u4E2D","ui.message.attachment.alt":"\u9644\u4EF6","ui.patch.action.deleted":"\u5DF2\u522A\u9664","ui.patch.action.created":"\u5DF2\u5EFA\u7ACB","ui.patch.action.moved":"\u5DF2\u79FB\u52D5","ui.patch.action.patched":"\u5DF2\u5957\u7528\u4FEE\u88DC","ui.question.subtitle.answered":"{{count}} \u5DF2\u56DE\u7B54","ui.question.answer.none":"(\u7121\u7B54\u6848)","ui.question.review.notAnswered":"(\u672A\u56DE\u7B54)","ui.question.multiHint":"\u53EF\u591A\u9078","ui.question.singleHint":"\u9078\u64C7\u4E00\u500B\u7B54\u6848","ui.question.custom.placeholder":"\u8F38\u5165\u4F60\u7684\u7B54\u6848...","ui.fileSearch.placeholder":"\u641C\u5C0B","ui.fileSearch.previousMatch":"\u4E0A\u4E00\u500B","ui.fileSearch.nextMatch":"\u4E0B\u4E00\u500B","ui.fileSearch.close":"\u95DC\u9589\u641C\u5C0B","ui.tool.task":"\u4EFB\u52D9","ui.tool.skill":"\u6280\u80FD","ui.basicTool.called":"\u547C\u53EB\u4E86 `{{tool}}`","ui.toolErrorCard.failed":"\u5931\u6557","ui.toolErrorCard.copyError":"\u8907\u88FD\u932F\u8AA4","ui.message.duration.seconds":"{{count}}\u79D2","ui.message.duration.minutesSeconds":"{{minutes}}\u5206 {{seconds}}\u79D2"};export{e as dict};
2
+ import"./chunk-qm9ezq93.js";import"./chunk-s2za1y84.js";var e={"ui.sessionReview.title":"\u5DE5\u4F5C\u968E\u6BB5\u8B8A\u66F4","ui.sessionReview.title.lastTurn":"\u4E0A\u4E00\u8F2A\u8B8A\u66F4","ui.sessionReview.diffStyle.unified":"\u6574\u5408","ui.sessionReview.diffStyle.split":"\u62C6\u5206","ui.sessionReview.openFile":"\u958B\u555F\u6A94\u6848","ui.sessionReview.selection.line":"\u7B2C {{line}} \u884C","ui.sessionReview.selection.lines":"\u7B2C {{start}}-{{end}} \u884C","ui.sessionReview.expandAll":"\u5168\u90E8\u5C55\u958B","ui.sessionReview.collapseAll":"\u5168\u90E8\u6536\u5408","ui.sessionReview.change.added":"\u5DF2\u65B0\u589E","ui.sessionReview.change.removed":"\u5DF2\u79FB\u9664","ui.sessionReview.change.modified":"\u5DF2\u4FEE\u6539","ui.sessionReview.image.loading":"\u8F09\u5165\u4E2D...","ui.sessionReview.image.placeholder":"\u5716\u7247","ui.sessionReview.largeDiff.title":"\u5DEE\u7570\u904E\u5927\uFF0C\u7121\u6CD5\u6E32\u67D3","ui.sessionReview.largeDiff.meta":"\u9650\u5236\uFF1A{{limit}} \u884C\u8B8A\u66F4\u3002\u76EE\u524D\uFF1A{{current}} \u884C\u8B8A\u66F4\u3002","ui.sessionReview.largeDiff.renderAnyway":"\u4ECD\u7136\u6E32\u67D3","ui.fileMedia.kind.image":"\u5716\u7247","ui.fileMedia.kind.audio":"\u97F3\u8A0A","ui.fileMedia.state.removed":"{{kind}}\u5DF2\u79FB\u9664","ui.fileMedia.state.loading":"\u6B63\u5728\u8F09\u5165{{kind}}...","ui.fileMedia.state.error":"\u8F09\u5165{{kind}}\u5931\u6557","ui.fileMedia.state.unavailable":"{{kind}}\u7121\u6CD5\u9810\u89BD","ui.fileMedia.binary.title":"\u4E8C\u9032\u4F4D\u6A94\u6848","ui.fileMedia.binary.description.path":"\u7121\u6CD5\u986F\u793A {{path}}\uFF0C\u56E0\u70BA\u5B83\u662F\u4E8C\u9032\u4F4D\u6A94\u6848\u3002","ui.fileMedia.binary.description.default":"\u7121\u6CD5\u986F\u793A\u6B64\u6A94\u6848\uFF0C\u56E0\u70BA\u5B83\u662F\u4E8C\u9032\u4F4D\u6A94\u6848\u3002","ui.lineComment.label.prefix":"\u8A55\u8AD6 ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"\u6B63\u5728\u8A55\u8AD6 ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"\u65B0\u589E\u8A55\u8AD6","ui.lineComment.submit":"\u8A55\u8AD6","ui.sessionTurn.steps.show":"\u986F\u793A\u6B65\u9A5F","ui.sessionTurn.steps.hide":"\u96B1\u85CF\u6B65\u9A5F","ui.sessionTurn.summary.response":"\u56DE\u8986","ui.sessionTurn.diff.showMore":"\u986F\u793A\u66F4\u591A\u8B8A\u66F4 ({{count}})","ui.sessionTurn.retry.retrying":"\u91CD\u8A66\u4E2D","ui.sessionTurn.retry.inSeconds":"{{seconds}} \u79D2\u5F8C","ui.sessionTurn.retry.attempt":"\u7B2C {{attempt}} \u6B21","ui.sessionTurn.retry.attemptLine":"{{line}} - \u7B2C {{attempt}} \u6B21","ui.sessionTurn.retry.geminiHot":"gemini \u76EE\u524D\u904E\u8F09","ui.sessionTurn.error.freeUsageExceeded":"\u514D\u8CBB\u4F7F\u7528\u984D\u5EA6\u5DF2\u7528\u5B8C","ui.sessionTurn.error.addQredits":"\u65B0\u589E\u9EDE\u6578","ui.sessionTurn.status.delegating":"\u6B63\u5728\u59D4\u6D3E\u5DE5\u4F5C","ui.sessionTurn.status.planning":"\u6B63\u5728\u898F\u5283\u4E0B\u4E00\u6B65","ui.sessionTurn.status.gatheringContext":"\u6B63\u5728\u63A2\u7D22","ui.sessionTurn.status.gatheredContext":"\u5DF2\u63A2\u7D22","ui.sessionTurn.status.searchingCodebase":"\u6B63\u5728\u641C\u5C0B\u7A0B\u5F0F\u78BC\u5EAB","ui.sessionTurn.status.searchingWeb":"\u6B63\u5728\u641C\u5C0B\u7DB2\u9801","ui.sessionTurn.status.makingEdits":"\u6B63\u5728\u4FEE\u6539","ui.sessionTurn.status.runningCommands":"\u6B63\u5728\u57F7\u884C\u547D\u4EE4","ui.sessionTurn.status.thinking":"\u601D\u8003\u4E2D","ui.sessionTurn.status.thinkingWithTopic":"\u601D\u8003 - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u6B63\u5728\u6574\u7406\u601D\u7DD2","ui.sessionTurn.status.consideringNextSteps":"\u6B63\u5728\u8003\u616E\u4E0B\u4E00\u6B65","ui.messagePart.questions.dismissed":"\u554F\u984C\u5DF2\u7565\u904E","ui.messagePart.compaction":"\u5DE5\u4F5C\u968E\u6BB5\u5DF2\u58D3\u7E2E","ui.messagePart.context.read.one":"{{count}} \u6B21\u8B80\u53D6","ui.messagePart.context.read.other":"{{count}} \u6B21\u8B80\u53D6","ui.messagePart.context.search.one":"{{count}} \u6B21\u641C\u5C0B","ui.messagePart.context.search.other":"{{count}} \u6B21\u641C\u5C0B","ui.messagePart.context.list.one":"{{count}} \u500B\u6E05\u55AE","ui.messagePart.context.list.other":"{{count}} \u500B\u6E05\u55AE","ui.messagePart.diagnostic.error":"\u932F\u8AA4","ui.messagePart.title.edit":"\u7DE8\u8F2F","ui.messagePart.title.write":"\u5BEB\u5165","ui.messagePart.option.typeOwnAnswer":"\u8F38\u5165\u81EA\u5DF1\u7684\u7B54\u6848","ui.messagePart.review.title":"\u6AA2\u67E5\u4F60\u7684\u7B54\u6848","ui.list.loading":"\u8F09\u5165\u4E2D","ui.list.empty":"\u7121\u7D50\u679C","ui.list.clearFilter":"\u6E05\u9664\u7BE9\u9078","ui.list.emptyWithFilter.prefix":"\u6C92\u6709\u95DC\u65BC","ui.list.emptyWithFilter.suffix":"\u7684\u7D50\u679C","ui.messageNav.newMessage":"\u65B0\u8A0A\u606F","ui.textField.copyToClipboard":"\u8907\u88FD\u5230\u526A\u8CBC\u7C3F","ui.textField.copyLink":"\u8907\u88FD\u9023\u7D50","ui.textField.copied":"\u5DF2\u8907\u88FD","ui.imagePreview.alt":"\u5716\u7247\u9810\u89BD","ui.scrollView.ariaLabel":"\u53EF\u6372\u52D5\u5167\u5BB9","ui.tool.read":"\u8B80\u53D6","ui.tool.loaded":"\u5DF2\u8F09\u5165","ui.tool.list":"\u6E05\u55AE","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webfetch","ui.tool.websearch":"\u7DB2\u9801\u641C\u5C0B","ui.tool.codesearch":"\u7A0B\u5F0F\u78BC\u641C\u5C0B","ui.tool.shell":"Shell","ui.tool.patch":"\u4FEE\u88DC","ui.tool.todos":"\u5F85\u8FA6","ui.tool.todos.read":"\u8B80\u53D6\u5F85\u8FA6","ui.tool.questions":"\u554F\u984C","ui.tool.agent":"{{type}} \u4EE3\u7406\u7A0B\u5F0F","ui.tool.agent.default":"\u4EE3\u7406\u7A0B\u5F0F","ui.common.file.one":"\u500B\u6A94\u6848","ui.common.file.other":"\u500B\u6A94\u6848","ui.common.question.one":"\u500B\u554F\u984C","ui.common.question.other":"\u500B\u554F\u984C","ui.common.add":"\u65B0\u589E","ui.common.back":"\u8FD4\u56DE","ui.common.cancel":"\u53D6\u6D88","ui.common.confirm":"\u78BA\u8A8D","ui.common.dismiss":"\u5FFD\u7565","ui.common.close":"\u95DC\u9589","ui.common.next":"\u4E0B\u4E00\u6B65","ui.common.submit":"\u63D0\u4EA4","ui.permission.deny":"\u62D2\u7D55","ui.permission.allowAlways":"\u6C38\u9060\u5141\u8A31","ui.permission.allowOnce":"\u5141\u8A31\u4E00\u6B21","ui.message.expand":"\u5C55\u958B\u8A0A\u606F","ui.message.collapse":"\u6536\u5408\u8A0A\u606F","ui.message.copy":"\u8907\u88FD","ui.message.copyMessage":"\u8907\u88FD\u8A0A\u606F","ui.message.forkMessage":"\u5206\u652F\u5230\u65B0\u5DE5\u4F5C\u968E\u6BB5","ui.message.revertMessage":"\u91CD\u8A2D\u81F3\u6B64\u9EDE","ui.message.copyResponse":"\u8907\u88FD\u56DE\u8986","ui.message.copied":"\u5DF2\u8907\u88FD\uFF01","ui.message.interrupted":"\u5DF2\u4E2D\u65B7","ui.message.queued":"\u6392\u968A\u4E2D","ui.message.attachment.alt":"\u9644\u4EF6","ui.patch.action.deleted":"\u5DF2\u522A\u9664","ui.patch.action.created":"\u5DF2\u5EFA\u7ACB","ui.patch.action.moved":"\u5DF2\u79FB\u52D5","ui.patch.action.patched":"\u5DF2\u5957\u7528\u4FEE\u88DC","ui.question.subtitle.answered":"{{count}} \u5DF2\u56DE\u7B54","ui.question.answer.none":"(\u7121\u7B54\u6848)","ui.question.review.notAnswered":"(\u672A\u56DE\u7B54)","ui.question.multiHint":"\u53EF\u591A\u9078","ui.question.singleHint":"\u9078\u64C7\u4E00\u500B\u7B54\u6848","ui.question.custom.placeholder":"\u8F38\u5165\u4F60\u7684\u7B54\u6848...","ui.fileSearch.placeholder":"\u641C\u5C0B","ui.fileSearch.previousMatch":"\u4E0A\u4E00\u500B","ui.fileSearch.nextMatch":"\u4E0B\u4E00\u500B","ui.fileSearch.close":"\u95DC\u9589\u641C\u5C0B","ui.tool.task":"\u4EFB\u52D9","ui.tool.skill":"\u6280\u80FD","ui.basicTool.called":"\u547C\u53EB\u4E86 `{{tool}}`","ui.toolErrorCard.failed":"\u5931\u6557","ui.toolErrorCard.copyError":"\u8907\u88FD\u932F\u8AA4","ui.message.duration.seconds":"{{count}}\u79D2","ui.message.duration.minutesSeconds":"{{minutes}}\u5206 {{seconds}}\u79D2"};export{e as dict};