@claudiolabs/claudio 0.1.15 → 0.2.0

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 (704) hide show
  1. package/dist/chunks/AgentTool-0.2.0-g1wqt0s3.mjs +1 -0
  2. package/dist/chunks/App-0.2.0-ntfv12g0.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.2.0-2ymsvey5.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.2.0-8jec5v9r.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.2.0-xvmknjn1.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.2.0-1cpe3m5c.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.2.0-851aysqd.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.2.0-v4515qqc.mjs +1 -0
  9. package/dist/chunks/{DiffDialog-0.1.15-86m0j64m.mjs → DiffDialog-0.2.0-kyhr5jh0.mjs} +1 -1
  10. package/dist/chunks/Doctor-0.2.0-ck3enc4g.mjs +1 -0
  11. package/dist/chunks/Grove-0.2.0-79c6g758.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.2.0-ez3ahe49.mjs +1 -0
  13. package/dist/chunks/InProcessTransport-0.2.0-9d5e65zk.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.2.0-mfrg36s6.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.2.0-n08wkb0d.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.2.0-9anh130m.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.2.0-2468pvay.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.2.0-cjpn5dkk.mjs +1 -0
  19. package/dist/chunks/REPL-0.2.0-q3fd5jfy.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.2.0-3ff000x5.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.2.0-b51pr6s3.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.2.0-c3znpb7p.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.2.0-5wckmrvx.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.2.0-wdc9sxcv.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.2.0-mkbxpe3a.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.2.0-k7dvhq3e.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.2.0-xywdgnw5.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.2.0-6yja1haw.mjs +1 -0
  29. package/dist/chunks/add-dir-0.2.0-qg5z82ke.mjs +1 -0
  30. package/dist/chunks/agents-0.2.0-2j995rg8.mjs +3 -0
  31. package/dist/chunks/agents-0.2.0-mzww8vhq.mjs +110 -0
  32. package/dist/chunks/api-0.2.0-rfc17a1j.mjs +1 -0
  33. package/dist/chunks/asciicast-0.2.0-25ban1yy.mjs +1 -0
  34. package/dist/chunks/assistant-0.2.0-wt3sz6f5.mjs +1 -0
  35. package/dist/chunks/auth-0.2.0-p1v8yq4y.mjs +1 -0
  36. package/dist/chunks/auth-0.2.0-sh12qb2q.mjs +1 -0
  37. package/dist/chunks/{autoMode-0.1.15-p9r45wxy.mjs → autoMode-0.2.0-vzqmqetr.mjs} +1 -1
  38. package/dist/chunks/backgroundHousekeeping-0.2.0-8d72paf3.mjs +1 -0
  39. package/dist/chunks/branch-0.2.0-vhf49enf.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.2.0-br2r89v9.mjs +1 -0
  41. package/dist/chunks/{btw-0.1.15-q693ppfr.mjs → btw-0.2.0-qtwstg74.mjs} +1 -1
  42. package/dist/chunks/{buddy-0.1.15-vcca6k2p.mjs → buddy-0.2.0-5a9wzpm1.mjs} +1 -1
  43. package/dist/chunks/cacache-0.2.0-nps3what.mjs +1 -0
  44. package/dist/chunks/{cache-probe-0.1.15-dfdjj53r.mjs → cache-probe-0.2.0-9d3hfar7.mjs} +1 -1
  45. package/dist/chunks/{cacheStats-0.1.15-v9v9y02q.mjs → cacheStats-0.2.0-rbr7a1xq.mjs} +1 -1
  46. package/dist/chunks/caches-0.2.0-jsvyz7k9.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.2.0-ca7jbnc4.mjs +1 -0
  48. package/dist/chunks/claudemd-0.2.0-yt6b83v9.mjs +1 -0
  49. package/dist/chunks/clear-0.2.0-5e6fb269.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.2.0-c21vszkv.mjs +1 -0
  51. package/dist/chunks/cli-0.2.0-087sjqr6.mjs +2 -0
  52. package/dist/chunks/cli-0.2.0-0cjgm41a.mjs +2 -0
  53. package/dist/chunks/cli-0.2.0-0fwa4agt.mjs +2 -0
  54. package/dist/chunks/cli-0.2.0-0nmdgd3g.mjs +2 -0
  55. package/dist/chunks/cli-0.2.0-0vvkn4c2.mjs +2 -0
  56. package/dist/chunks/{cli-0.1.15-4fc5wnse.mjs → cli-0.2.0-13sc1gtx.mjs} +2 -2
  57. package/dist/chunks/cli-0.2.0-16yt5fwn.mjs +2 -0
  58. package/dist/chunks/cli-0.2.0-1br2y5jr.mjs +2 -0
  59. package/dist/chunks/cli-0.2.0-1mbgzd60.mjs +2 -0
  60. package/dist/chunks/cli-0.2.0-1vczhepy.mjs +2 -0
  61. package/dist/chunks/{cli-0.1.15-vwb8h4r1.mjs → cli-0.2.0-24bbrvmx.mjs} +1 -1
  62. package/dist/chunks/{cli-0.1.15-ncammv2n.mjs → cli-0.2.0-280a64s9.mjs} +2 -2
  63. package/dist/chunks/cli-0.2.0-2c2rdf9b.mjs +2 -0
  64. package/dist/chunks/cli-0.2.0-2crrewfg.mjs +5 -0
  65. package/dist/chunks/{cli-0.1.15-nkn6jfmb.mjs → cli-0.2.0-2edwgzmj.mjs} +1 -1
  66. package/dist/chunks/cli-0.2.0-2ppczk6v.mjs +2 -0
  67. package/dist/chunks/cli-0.2.0-35xeqadb.mjs +2 -0
  68. package/dist/chunks/cli-0.2.0-362nfwm4.mjs +5 -0
  69. package/dist/chunks/cli-0.2.0-3abr1pjj.mjs +2 -0
  70. package/dist/chunks/cli-0.2.0-3ttrh2tj.mjs +2 -0
  71. package/dist/chunks/cli-0.2.0-3y7hn5v2.mjs +2 -0
  72. package/dist/chunks/cli-0.2.0-41524wt1.mjs +2 -0
  73. package/dist/chunks/cli-0.2.0-46m4vcs3.mjs +2 -0
  74. package/dist/chunks/cli-0.2.0-48sfjp31.mjs +2 -0
  75. package/dist/chunks/cli-0.2.0-4hy8176k.mjs +2 -0
  76. package/dist/chunks/cli-0.2.0-4phx745d.mjs +2 -0
  77. package/dist/chunks/cli-0.2.0-4s3ve9jw.mjs +2 -0
  78. package/dist/chunks/cli-0.2.0-4t9h5c71.mjs +2 -0
  79. package/dist/chunks/cli-0.2.0-4vbz1xrx.mjs +2 -0
  80. package/dist/chunks/cli-0.2.0-4ve4asjv.mjs +2 -0
  81. package/dist/chunks/cli-0.2.0-514cx7c7.mjs +3 -0
  82. package/dist/chunks/cli-0.2.0-55mg69qb.mjs +2 -0
  83. package/dist/chunks/{cli-0.1.15-rq9n4js4.mjs → cli-0.2.0-5a2sf5g7.mjs} +1 -1
  84. package/dist/chunks/{cli-0.1.15-20tvdt2s.mjs → cli-0.2.0-5rm5wnp9.mjs} +2 -2
  85. package/dist/chunks/cli-0.2.0-69bn5730.mjs +2 -0
  86. package/dist/chunks/cli-0.2.0-6dbn4mn2.mjs +2 -0
  87. package/dist/chunks/cli-0.2.0-6en16pc3.mjs +2 -0
  88. package/dist/chunks/cli-0.2.0-6scx1ptz.mjs +4 -0
  89. package/dist/chunks/cli-0.2.0-6y2zbjr4.mjs +2 -0
  90. package/dist/chunks/cli-0.2.0-715a2z01.mjs +2 -0
  91. package/dist/chunks/cli-0.2.0-7xs4mtmq.mjs +2 -0
  92. package/dist/chunks/cli-0.2.0-7zpdrxbp.mjs +2 -0
  93. package/dist/chunks/cli-0.2.0-82kqh5xm.mjs +2 -0
  94. package/dist/chunks/cli-0.2.0-847azgnr.mjs +2 -0
  95. package/dist/chunks/cli-0.2.0-8hbq2p5t.mjs +2 -0
  96. package/dist/chunks/cli-0.2.0-8wnt08ky.mjs +12 -0
  97. package/dist/chunks/cli-0.2.0-98h2e6bt.mjs +2 -0
  98. package/dist/chunks/cli-0.2.0-9ez4c6sj.mjs +6 -0
  99. package/dist/chunks/{cli-0.1.15-m0v1d1kt.mjs → cli-0.2.0-9fckzgpc.mjs} +11 -11
  100. package/dist/chunks/cli-0.2.0-9jj1kcbc.mjs +2 -0
  101. package/dist/chunks/cli-0.2.0-9n89mtk3.mjs +2 -0
  102. package/dist/chunks/cli-0.2.0-9n8cdk9p.mjs +2 -0
  103. package/dist/chunks/cli-0.2.0-9t5wq1kd.mjs +2 -0
  104. package/dist/chunks/cli-0.2.0-am2e345h.mjs +2 -0
  105. package/dist/chunks/{cli-0.1.15-zap1wk9j.mjs → cli-0.2.0-amhtcvq4.mjs} +2 -2
  106. package/dist/chunks/cli-0.2.0-ar569zh3.mjs +2 -0
  107. package/dist/chunks/cli-0.2.0-arwyxqyx.mjs +2 -0
  108. package/dist/chunks/{cli-0.1.15-xe4dq144.mjs → cli-0.2.0-asc68d4g.mjs} +2 -2
  109. package/dist/chunks/cli-0.2.0-aw44dqmt.mjs +2 -0
  110. package/dist/chunks/cli-0.2.0-b1tfb8fj.mjs +2 -0
  111. package/dist/chunks/cli-0.2.0-b8a7b102.mjs +2 -0
  112. package/dist/chunks/{cli-0.1.15-mhbfhhf6.mjs → cli-0.2.0-b8hs09nv.mjs} +1 -1
  113. package/dist/chunks/{cli-0.1.15-rv6zpjh8.mjs → cli-0.2.0-bd59jfmr.mjs} +1 -1
  114. package/dist/chunks/cli-0.2.0-bs742fy1.mjs +2 -0
  115. package/dist/chunks/cli-0.2.0-c3qvrk8y.mjs +2 -0
  116. package/dist/chunks/{cli-0.1.15-68f0jtkh.mjs → cli-0.2.0-c7ea0dry.mjs} +2 -2
  117. package/dist/chunks/{cli-0.1.15-dp2e8j4f.mjs → cli-0.2.0-cabza42m.mjs} +1 -1
  118. package/dist/chunks/cli-0.2.0-ccwfmwcq.mjs +2 -0
  119. package/dist/chunks/cli-0.2.0-crn0mjsc.mjs +2 -0
  120. package/dist/chunks/{cli-0.1.15-26hkdean.mjs → cli-0.2.0-cs8e9514.mjs} +817 -949
  121. package/dist/chunks/cli-0.2.0-cst46q1r.mjs +2 -0
  122. package/dist/chunks/cli-0.2.0-d4ajkte5.mjs +2 -0
  123. package/dist/chunks/{cli-0.1.15-x69hfzmj.mjs → cli-0.2.0-da216rmz.mjs} +2 -2
  124. package/dist/chunks/cli-0.2.0-daxqaqx9.mjs +2 -0
  125. package/dist/chunks/cli-0.2.0-dsa5edrn.mjs +2 -0
  126. package/dist/chunks/cli-0.2.0-dtsxeqwx.mjs +17 -0
  127. package/dist/chunks/cli-0.2.0-e184jeam.mjs +2 -0
  128. package/dist/chunks/{cli-0.1.15-nk50qhet.mjs → cli-0.2.0-e9xwjcb3.mjs} +2 -2
  129. package/dist/chunks/{cli-0.1.15-e2e7hn7p.mjs → cli-0.2.0-eaeff4m6.mjs} +3 -3
  130. package/dist/chunks/cli-0.2.0-emdrfb4f.mjs +2 -0
  131. package/dist/chunks/cli-0.2.0-eyswa898.mjs +2 -0
  132. package/dist/chunks/{cli-0.1.15-d9nfa2yf.mjs → cli-0.2.0-ezgpj8e5.mjs} +1 -1
  133. package/dist/chunks/cli-0.2.0-f0ec18e0.mjs +2 -0
  134. package/dist/chunks/cli-0.2.0-f5rgr2bw.mjs +5 -0
  135. package/dist/chunks/cli-0.2.0-f63v4pa4.mjs +2 -0
  136. package/dist/chunks/{cli-0.1.15-gmdv5ny8.mjs → cli-0.2.0-f7tp61b0.mjs} +2 -2
  137. package/dist/chunks/cli-0.2.0-fanwxcjn.mjs +2 -0
  138. package/dist/chunks/cli-0.2.0-fgsp4dtv.mjs +2 -0
  139. package/dist/chunks/cli-0.2.0-fknhewrw.mjs +2 -0
  140. package/dist/chunks/cli-0.2.0-fr785r3y.mjs +2 -0
  141. package/dist/chunks/cli-0.2.0-frar6zbv.mjs +6 -0
  142. package/dist/chunks/{cli-0.1.15-gkzany0s.mjs → cli-0.2.0-frwsdnhe.mjs} +2 -2
  143. package/dist/chunks/cli-0.2.0-fy5rnmc5.mjs +2 -0
  144. package/dist/chunks/{cli-0.1.15-4892kydg.mjs → cli-0.2.0-g2h1t6ke.mjs} +4 -4
  145. package/dist/chunks/cli-0.2.0-g4kznbnn.mjs +2 -0
  146. package/dist/chunks/cli-0.2.0-g86682ye.mjs +2 -0
  147. package/dist/chunks/cli-0.2.0-gby7sqgg.mjs +2 -0
  148. package/dist/chunks/{cli-0.1.15-cr7qy3wd.mjs → cli-0.2.0-gjtwz4v6.mjs} +2 -2
  149. package/dist/chunks/cli-0.2.0-gmq4bxtp.mjs +2 -0
  150. package/dist/chunks/cli-0.2.0-gngqqtnd.mjs +4 -0
  151. package/dist/chunks/cli-0.2.0-gpc69j0z.mjs +2 -0
  152. package/dist/chunks/cli-0.2.0-gsw60zfe.mjs +2 -0
  153. package/dist/chunks/cli-0.2.0-gy72dze8.mjs +2 -0
  154. package/dist/chunks/cli-0.2.0-h2wnach8.mjs +16 -0
  155. package/dist/chunks/cli-0.2.0-h9tvrrx9.mjs +2 -0
  156. package/dist/chunks/cli-0.2.0-hg1xg9nq.mjs +2 -0
  157. package/dist/chunks/cli-0.2.0-hw4ce6k6.mjs +2 -0
  158. package/dist/chunks/cli-0.2.0-hzzgbj9r.mjs +2 -0
  159. package/dist/chunks/cli-0.2.0-j71ct7m7.mjs +2 -0
  160. package/dist/chunks/cli-0.2.0-jna42sz6.mjs +2 -0
  161. package/dist/chunks/cli-0.2.0-jsrrpd02.mjs +2 -0
  162. package/dist/chunks/cli-0.2.0-k0aa6s39.mjs +2 -0
  163. package/dist/chunks/cli-0.2.0-k2tq4knj.mjs +2 -0
  164. package/dist/chunks/{cli-0.1.15-jy7cjb23.mjs → cli-0.2.0-k438c5g3.mjs} +1 -1
  165. package/dist/chunks/cli-0.2.0-k7cxbyxg.mjs +2 -0
  166. package/dist/chunks/{cli-0.1.15-v07ep52w.mjs → cli-0.2.0-kg83sjcw.mjs} +2 -2
  167. package/dist/chunks/cli-0.2.0-kgs4hedc.mjs +2 -0
  168. package/dist/chunks/cli-0.2.0-krxmhdq4.mjs +2 -0
  169. package/dist/chunks/cli-0.2.0-m5s0ha7v.mjs +3 -0
  170. package/dist/chunks/cli-0.2.0-m81s8n1j.mjs +2 -0
  171. package/dist/chunks/cli-0.2.0-mg45dmsv.mjs +2 -0
  172. package/dist/chunks/cli-0.2.0-mhpecwq3.mjs +2 -0
  173. package/dist/chunks/cli-0.2.0-mne4f86b.mjs +7 -0
  174. package/dist/chunks/cli-0.2.0-mstcexpv.mjs +2 -0
  175. package/dist/chunks/{cli-0.1.15-2vwx57re.mjs → cli-0.2.0-ncjme2vj.mjs} +1 -1
  176. package/dist/chunks/cli-0.2.0-ndz9dbxz.mjs +2 -0
  177. package/dist/chunks/cli-0.2.0-p0dd7k39.mjs +4 -0
  178. package/dist/chunks/cli-0.2.0-p19kyd3z.mjs +4 -0
  179. package/dist/chunks/cli-0.2.0-p2jewnbn.mjs +2 -0
  180. package/dist/chunks/cli-0.2.0-p46nxmgy.mjs +2 -0
  181. package/dist/chunks/cli-0.2.0-pa834vt3.mjs +2 -0
  182. package/dist/chunks/cli-0.2.0-pdb8evy6.mjs +2 -0
  183. package/dist/chunks/cli-0.2.0-pfja1jsa.mjs +2 -0
  184. package/dist/chunks/cli-0.2.0-pt145sac.mjs +3 -0
  185. package/dist/chunks/cli-0.2.0-ptwysnj7.mjs +2 -0
  186. package/dist/chunks/cli-0.2.0-pw3er14v.mjs +2 -0
  187. package/dist/chunks/cli-0.2.0-pxy1f4ky.mjs +2 -0
  188. package/dist/chunks/cli-0.2.0-q1fz4qmd.mjs +2 -0
  189. package/dist/chunks/cli-0.2.0-q822fesk.mjs +2 -0
  190. package/dist/chunks/cli-0.2.0-qcr87znh.mjs +2 -0
  191. package/dist/chunks/{cli-0.1.15-5denzf1p.mjs → cli-0.2.0-qdcyy0k1.mjs} +3 -3
  192. package/dist/chunks/cli-0.2.0-qnd8v5pt.mjs +2 -0
  193. package/dist/chunks/cli-0.2.0-qw0kz7z3.mjs +2 -0
  194. package/dist/chunks/cli-0.2.0-r15zg9jv.mjs +2 -0
  195. package/dist/chunks/cli-0.2.0-r3f7ephj.mjs +2 -0
  196. package/dist/chunks/{cli-0.1.15-b7p48xfw.mjs → cli-0.2.0-rwdy3dtq.mjs} +1 -1
  197. package/dist/chunks/{cli-0.1.15-qns6xv34.mjs → cli-0.2.0-s02v5abf.mjs} +5 -5
  198. package/dist/chunks/{cli-0.1.15-6nwbd09n.mjs → cli-0.2.0-s130pb2c.mjs} +2 -2
  199. package/dist/chunks/cli-0.2.0-s919r7gy.mjs +2 -0
  200. package/dist/chunks/cli-0.2.0-sh26pc92.mjs +2 -0
  201. package/dist/chunks/cli-0.2.0-sj380wma.mjs +2 -0
  202. package/dist/chunks/cli-0.2.0-stn798t9.mjs +9 -0
  203. package/dist/chunks/cli-0.2.0-t0j5fnc5.mjs +2 -0
  204. package/dist/chunks/{cli-0.1.15-rbx47sc3.mjs → cli-0.2.0-teqjxyws.mjs} +1 -1
  205. package/dist/chunks/{cli-0.1.15-xaw2s45s.mjs → cli-0.2.0-v8kqgxs0.mjs} +1 -1
  206. package/dist/chunks/cli-0.2.0-vdhcg4g4.mjs +2 -0
  207. package/dist/chunks/cli-0.2.0-vejekjsb.mjs +2 -0
  208. package/dist/chunks/cli-0.2.0-vjcy5y97.mjs +4 -0
  209. package/dist/chunks/cli-0.2.0-vjnmd5ey.mjs +2 -0
  210. package/dist/chunks/cli-0.2.0-wc6ydzff.mjs +2 -0
  211. package/dist/chunks/cli-0.2.0-wmfpk06g.mjs +2 -0
  212. package/dist/chunks/{cli-0.1.15-rvtve9kq.mjs → cli-0.2.0-wmstwkhw.mjs} +1 -1
  213. package/dist/chunks/cli-0.2.0-wqzmxfnd.mjs +2 -0
  214. package/dist/chunks/cli-0.2.0-wwwmxcwz.mjs +2 -0
  215. package/dist/chunks/{cli-0.1.15-8sgewact.mjs → cli-0.2.0-x221h2yq.mjs} +1 -1
  216. package/dist/chunks/cli-0.2.0-xdmw2spe.mjs +4 -0
  217. package/dist/chunks/cli-0.2.0-xmf20rrm.mjs +2 -0
  218. package/dist/chunks/cli-0.2.0-xwrvt7rw.mjs +2 -0
  219. package/dist/chunks/cli-0.2.0-y1q43eac.mjs +2 -0
  220. package/dist/chunks/{cli-0.1.15-htms4w3h.mjs → cli-0.2.0-y6g66sm5.mjs} +1 -1
  221. package/dist/chunks/cli-0.2.0-y93dcrnm.mjs +2 -0
  222. package/dist/chunks/cli-0.2.0-y9bxbkxm.mjs +2 -0
  223. package/dist/chunks/{cli-0.1.15-23cavaaa.mjs → cli-0.2.0-ykvda8xj.mjs} +1 -1
  224. package/dist/chunks/cli-0.2.0-z1j2k2y8.mjs +2 -0
  225. package/dist/chunks/cli-0.2.0-zdr99w6n.mjs +2 -0
  226. package/dist/chunks/cli-0.2.0-zhq243rp.mjs +5 -0
  227. package/dist/chunks/cli-0.2.0-zxm7fqen.mjs +2 -0
  228. package/dist/chunks/client-0.2.0-qtv4epf8.mjs +1 -0
  229. package/dist/chunks/color-0.2.0-287d7bh5.mjs +1 -0
  230. package/dist/chunks/compact-0.2.0-qd4qye1t.mjs +3 -0
  231. package/dist/chunks/config-0.2.0-2fafd18t.mjs +1 -0
  232. package/dist/chunks/config-0.2.0-rm6w636d.mjs +1 -0
  233. package/dist/chunks/{context-0.1.15-ghkedaaw.mjs → context-0.2.0-k3gcs0rz.mjs} +1 -1
  234. package/dist/chunks/context-noninteractive-0.2.0-k88gx3fk.mjs +1 -0
  235. package/dist/chunks/conversation-0.2.0-7c5rr3m8.mjs +1 -0
  236. package/dist/chunks/{copy-0.1.15-53q3e2fk.mjs → copy-0.2.0-adh6xrdj.mjs} +1 -1
  237. package/dist/chunks/cost-0.2.0-mnj9rgcz.mjs +1 -0
  238. package/dist/chunks/createSession-0.2.0-9g9gw88m.mjs +1 -0
  239. package/dist/chunks/desktop-0.2.0-8f8qkdkf.mjs +1 -0
  240. package/dist/chunks/detectRepository-0.2.0-349d15w3.mjs +1 -0
  241. package/dist/chunks/detection-0.2.0-bwykm3rz.mjs +1 -0
  242. package/dist/chunks/diff-0.2.0-9vymm8d8.mjs +1 -0
  243. package/dist/chunks/doctor-0.2.0-rxs4z5h9.mjs +1 -0
  244. package/dist/chunks/earlyInput-0.2.0-693jvbhz.mjs +1 -0
  245. package/dist/chunks/{effort-0.1.15-5za6yh63.mjs → effort-0.2.0-v3ery43s.mjs} +1 -1
  246. package/dist/chunks/environmentSelection-0.2.0-51bq9j0p.mjs +1 -0
  247. package/dist/chunks/environments-0.2.0-f16b46v6.mjs +1 -0
  248. package/dist/chunks/exit-0.2.0-gxsz2644.mjs +1 -0
  249. package/dist/chunks/export-0.2.0-3tnxr36f.mjs +2 -0
  250. package/dist/chunks/extra-usage-0.2.0-7rhvw0qy.mjs +1 -0
  251. package/dist/chunks/extra-usage-noninteractive-0.2.0-6jn1b44v.mjs +1 -0
  252. package/dist/chunks/fast-0.2.0-m1ebwhxs.mjs +1 -0
  253. package/dist/chunks/feedback-0.2.0-n6jvewnr.mjs +14 -0
  254. package/dist/chunks/firstPartyEventLogger-0.2.0-20cb3z2a.mjs +1 -0
  255. package/dist/chunks/git-0.2.0-c4ee3tsv.mjs +1 -0
  256. package/dist/chunks/githubModelsCredentials-0.2.0-cdvezs97.mjs +1 -0
  257. package/dist/chunks/growthbook-0.2.0-att0j7gv.mjs +1 -0
  258. package/dist/chunks/heapdump-0.2.0-78f6h5zs.mjs +6 -0
  259. package/dist/chunks/help-0.2.0-dtcb464y.mjs +1 -0
  260. package/dist/chunks/hookChains-0.2.0-svw4xjh6.mjs +3 -0
  261. package/dist/chunks/{hooks-0.1.15-f81kq7m2.mjs → hooks-0.2.0-4hvw5w19.mjs} +1 -1
  262. package/dist/chunks/hooks-0.2.0-hw6zwnp8.mjs +1 -0
  263. package/dist/chunks/{ide-0.1.15-xepj09gj.mjs → ide-0.2.0-3a10v8p7.mjs} +1 -1
  264. package/dist/chunks/image-processor-napi-0.2.0-8t8g5777.mjs +1 -0
  265. package/dist/chunks/index-0.2.0-0f0aw7rx.mjs +1 -0
  266. package/dist/chunks/index-0.2.0-1pr9vtkj.mjs +9 -0
  267. package/dist/chunks/index-0.2.0-2dyw5tmn.mjs +1 -0
  268. package/dist/chunks/index-0.2.0-728crm0q.mjs +1 -0
  269. package/dist/chunks/index-0.2.0-7gpqav46.mjs +2 -0
  270. package/dist/chunks/{index-0.1.15-77j1wp6f.mjs → index-0.2.0-7wttyxdg.mjs} +1 -1
  271. package/dist/chunks/index-0.2.0-b33awb2n.mjs +1 -0
  272. package/dist/chunks/{index-0.1.15-f1y1067a.mjs → index-0.2.0-b71emahw.mjs} +1 -1
  273. package/dist/chunks/index-0.2.0-czy0090x.mjs +1 -0
  274. package/dist/chunks/index-0.2.0-dactt0mw.mjs +1 -0
  275. package/dist/chunks/index-0.2.0-f8nnmapf.mjs +1 -0
  276. package/dist/chunks/{index-0.1.15-15ftbc8a.mjs → index-0.2.0-h3z86gdx.mjs} +2 -2
  277. package/dist/chunks/index-0.2.0-jrzrpfvk.mjs +1 -0
  278. package/dist/chunks/index-0.2.0-mny50v93.mjs +1 -0
  279. package/dist/chunks/index-0.2.0-nhw2r534.mjs +1 -0
  280. package/dist/chunks/index-0.2.0-p27jjyjb.mjs +1 -0
  281. package/dist/chunks/index-0.2.0-pf79ppar.mjs +1 -0
  282. package/dist/chunks/index-0.2.0-tamm1gme.mjs +1 -0
  283. package/dist/chunks/index-0.2.0-tj7rwkwq.mjs +1 -0
  284. package/dist/chunks/{index-0.1.15-tf5b20vy.mjs → index-0.2.0-v2mzpt7h.mjs} +1 -1
  285. package/dist/chunks/index-0.2.0-w1m3v2y0.mjs +9 -0
  286. package/dist/chunks/index-0.2.0-z8m5wd19.mjs +1 -0
  287. package/dist/chunks/initReplBridge-0.2.0-5abnx6wk.mjs +1 -0
  288. package/dist/chunks/ink-0.2.0-v2d1zzt6.mjs +1 -0
  289. package/dist/chunks/{insights-0.1.15-2zt9898j.mjs → insights-0.2.0-5q6x53j1.mjs} +1 -1
  290. package/dist/chunks/install-0.2.0-0vhcv1w2.mjs +1 -0
  291. package/dist/chunks/{install-github-app-0.1.15-h746hza3.mjs → install-github-app-0.2.0-xcxxtxzh.mjs} +1 -1
  292. package/dist/chunks/install-slack-app-0.2.0-12qw49ga.mjs +1 -0
  293. package/dist/chunks/{instrumentation-0.1.15-bwm4tb1y.mjs → instrumentation-0.2.0-rfc7gt94.mjs} +1 -1
  294. package/dist/chunks/interactiveHelpers-0.2.0-69j5avm0.mjs +1 -0
  295. package/dist/chunks/keybindings-0.2.0-r9ensjdz.mjs +2 -0
  296. package/dist/chunks/knowledge-0.2.0-r222df23.mjs +2 -0
  297. package/dist/chunks/loadAgentsDir-0.2.0-wrpffsg4.mjs +1 -0
  298. package/dist/chunks/loadPluginHooks-0.2.0-4wkq3ar6.mjs +1 -0
  299. package/dist/chunks/lsp-0.2.0-vyrfqxg7.mjs +1 -0
  300. package/dist/chunks/main-0.2.0-r3wv26vg.mjs +1 -0
  301. package/dist/chunks/managedEnv-0.2.0-t6y3d3hp.mjs +1 -0
  302. package/dist/chunks/mcp-0.2.0-8rxg4gkx.mjs +1 -0
  303. package/dist/chunks/{mcp-0.1.15-tw9s435t.mjs → mcp-0.2.0-anen8fv7.mjs} +3 -3
  304. package/dist/chunks/mcp-0.2.0-brdssfg7.mjs +4 -0
  305. package/dist/chunks/mcpServer-0.2.0-816p5gfy.mjs +1 -0
  306. package/dist/chunks/mcpb-0.2.0-pte54tfe.mjs +1 -0
  307. package/dist/chunks/memory-0.2.0-vxnsyq72.mjs +3 -0
  308. package/dist/chunks/{mobile-0.1.15-sm8kbft4.mjs → mobile-0.2.0-npn2rcmr.mjs} +1 -1
  309. package/dist/chunks/model-0.2.0-ajjp4znr.mjs +1 -0
  310. package/dist/chunks/model-0.2.0-dsy2yzwq.mjs +2 -0
  311. package/dist/chunks/oauth-0.2.0-xfb7vgc2.mjs +1 -0
  312. package/dist/chunks/{openaiShim-0.1.15-0yryhq9r.mjs → openaiShim-0.2.0-5rabbqwx.mjs} +1 -1
  313. package/dist/chunks/output-style-0.2.0-0tea3sgj.mjs +1 -0
  314. package/dist/chunks/package-WSP46L7M-0.2.0-54rp856z.mjs +1 -0
  315. package/dist/chunks/parser-0.2.0-vxksd2kb.mjs +1 -0
  316. package/dist/chunks/passes-0.2.0-kb6z71d5.mjs +1 -0
  317. package/dist/chunks/permissions-0.2.0-pvq85gdj.mjs +3 -0
  318. package/dist/chunks/plan-0.2.0-nc7dtaj1.mjs +1 -0
  319. package/dist/chunks/plist-0.2.0-veq45ed0.mjs +1 -0
  320. package/dist/chunks/plugin-0.2.0-q0ehrvv3.mjs +29 -0
  321. package/dist/chunks/pluginStartupCheck-0.2.0-cnkhwj3j.mjs +1 -0
  322. package/dist/chunks/{plugins-0.1.15-3rpwr86v.mjs → plugins-0.2.0-s45nc253.mjs} +2 -2
  323. package/dist/chunks/{print-0.1.15-64y2p7wj.mjs → print-0.2.0-e9ckvtwf.mjs} +4 -4
  324. package/dist/chunks/privacy-settings-0.2.0-e9qgq22a.mjs +1 -0
  325. package/dist/chunks/process-0.2.0-5q69t7tp.mjs +1 -0
  326. package/dist/chunks/processBashCommand-0.2.0-n1qzbvn8.mjs +1 -0
  327. package/dist/chunks/{processSlashCommand-0.1.15-mee2mbyy.mjs → processSlashCommand-0.2.0-phzfkm35.mjs} +1 -1
  328. package/dist/chunks/prompt-0.2.0-8tvc5hkt.mjs +1 -0
  329. package/dist/chunks/prompt-0.2.0-znq97v28.mjs +1 -0
  330. package/dist/chunks/prompts-0.2.0-43x4r8s1.mjs +1 -0
  331. package/dist/chunks/provider-0.2.0-hdw0f0gf.mjs +2 -0
  332. package/dist/chunks/providerProfiles-0.2.0-fxf0kwk5.mjs +1 -0
  333. package/dist/chunks/rate-limit-options-0.2.0-6gs96kga.mjs +1 -0
  334. package/dist/chunks/registry-0.2.0-qn6vn1a0.mjs +1 -0
  335. package/dist/chunks/release-notes-0.2.0-n7d001cj.mjs +5 -0
  336. package/dist/chunks/reload-plugins-0.2.0-z66hj6gv.mjs +2 -0
  337. package/dist/chunks/{remote-env-0.1.15-fd5z1adp.mjs → remote-env-0.2.0-tb94ty2j.mjs} +1 -1
  338. package/dist/chunks/remoteBridgeCore-0.2.0-tggkxmb3.mjs +1 -0
  339. package/dist/chunks/remoteSession-0.2.0-e5ph1zn5.mjs +1 -0
  340. package/dist/chunks/rename-0.2.0-1a2tr4rh.mjs +1 -0
  341. package/dist/chunks/replBridgeHandle-0.2.0-58503tj0.mjs +1 -0
  342. package/dist/chunks/resume-0.2.0-nbs1aptk.mjs +2 -0
  343. package/dist/chunks/rewind-0.2.0-9vcza7j6.mjs +1 -0
  344. package/dist/chunks/sandbox-adapter-0.2.0-rvjkxzab.mjs +1 -0
  345. package/dist/chunks/{sandbox-toggle-0.1.15-fn86ac4p.mjs → sandbox-toggle-0.2.0-0hc6gk75.mjs} +1 -1
  346. package/dist/chunks/session-0.2.0-2mjsp1sz.mjs +2 -0
  347. package/dist/chunks/sessionFileAccessHooks-0.2.0-mmvc7bkc.mjs +1 -0
  348. package/dist/chunks/sessionStorage-0.2.0-69fq3tpm.mjs +1 -0
  349. package/dist/chunks/setup-0.2.0-06edanfh.mjs +5 -0
  350. package/dist/chunks/sinks-0.2.0-wja94cem.mjs +1 -0
  351. package/dist/chunks/skills-0.2.0-3z33tjhh.mjs +1 -0
  352. package/dist/chunks/startupProfiler-0.2.0-rsbrxr2e.mjs +1 -0
  353. package/dist/chunks/state-0.2.0-cqgytazz.mjs +1 -0
  354. package/dist/chunks/{stats-0.1.15-3c4f5zp4.mjs → stats-0.2.0-916qgsak.mjs} +1 -1
  355. package/dist/chunks/status-0.2.0-qpr1a3ep.mjs +1 -0
  356. package/dist/chunks/stickers-0.2.0-s40586dt.mjs +1 -0
  357. package/dist/chunks/subprocessEnv-0.2.0-8kaz087n.mjs +1 -0
  358. package/dist/chunks/tasks-0.2.0-kyab838f.mjs +1 -0
  359. package/dist/chunks/teamHelpers-0.2.0-r08wn3az.mjs +1 -0
  360. package/dist/chunks/teammateModeSnapshot-0.2.0-ew1rr6e3.mjs +1 -0
  361. package/dist/chunks/teleport-0.2.0-m7dva816.mjs +1 -0
  362. package/dist/chunks/terminalSetup-0.2.0-28qz91bk.mjs +1 -0
  363. package/dist/chunks/theme-0.2.0-t6hf3219.mjs +1 -0
  364. package/dist/chunks/thinkback-0.2.0-s3ggf62w.mjs +1 -0
  365. package/dist/chunks/thinkback-play-0.2.0-bh4h025z.mjs +1 -0
  366. package/dist/chunks/toolPool-0.2.0-cb20byyb.mjs +1 -0
  367. package/dist/chunks/toolSearch-0.2.0-2b8zp823.mjs +1 -0
  368. package/dist/chunks/trustedDevice-0.2.0-bm94scqy.mjs +1 -0
  369. package/dist/chunks/{turndown.cjs-0.1.15-pmxpe7z8.mjs → turndown.cjs-0.2.0-deg6aa1p.mjs} +1 -1
  370. package/dist/chunks/{ultrareviewCommand-0.1.15-3gjgaeyn.mjs → ultrareviewCommand-0.2.0-zw0s8h8q.mjs} +1 -1
  371. package/dist/chunks/{update-0.1.15-jtd1h3e7.mjs → update-0.2.0-7s5194yn.mjs} +11 -11
  372. package/dist/chunks/upgrade-0.2.0-qwr6an4v.mjs +1 -0
  373. package/dist/chunks/{upstreamproxy-0.1.15-wtbs40ct.mjs → upstreamproxy-0.2.0-xm05d4w5.mjs} +1 -1
  374. package/dist/chunks/usage-0.2.0-mp3vm726.mjs +1 -0
  375. package/dist/chunks/util-0.2.0-dbnnzv2b.mjs +1 -0
  376. package/dist/chunks/utils-0.2.0-memk8639.mjs +1 -0
  377. package/dist/chunks/vim-0.2.0-twpbq41v.mjs +1 -0
  378. package/dist/chunks/watcher-0.2.0-cfz0cgxt.mjs +1 -0
  379. package/dist/chunks/{wiki-0.1.15-pp951r9h.mjs → wiki-0.2.0-v5sdh8vv.mjs} +1 -1
  380. package/dist/chunks/worktree-0.2.0-cgeqcbwb.mjs +1 -0
  381. package/dist/chunks/worktreeModeEnabled-0.2.0-hb1hv05w.mjs +1 -0
  382. package/dist/chunks/wrapper-0.2.0-661tvhay.mjs +7 -0
  383. package/dist/claudio-vscode.vsix +0 -0
  384. package/dist/cli.mjs +3 -3
  385. package/package.json +1 -1
  386. package/dist/chunks/AgentTool-0.1.15-aene6e12.mjs +0 -1
  387. package/dist/chunks/App-0.1.15-skbrajfh.mjs +0 -1
  388. package/dist/chunks/ApproveApiKey-0.1.15-zkd425a9.mjs +0 -1
  389. package/dist/chunks/AssistantSessionChooser-0.1.15-3wyrkte5.mjs +0 -1
  390. package/dist/chunks/AutoModeOptInDialog-0.1.15-xemnqw1q.mjs +0 -1
  391. package/dist/chunks/BypassPermissionsModeDialog-0.1.15-51n3nd6r.mjs +0 -1
  392. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.15-g407nd3p.mjs +0 -1
  393. package/dist/chunks/ConsoleOAuthFlow-0.1.15-80g71gdg.mjs +0 -1
  394. package/dist/chunks/Doctor-0.1.15-9x07ccn6.mjs +0 -1
  395. package/dist/chunks/Grove-0.1.15-jdcp80ev.mjs +0 -1
  396. package/dist/chunks/ITermBackend-0.1.15-ejm7gc8d.mjs +0 -1
  397. package/dist/chunks/InProcessTransport-0.1.15-p32k8qva.mjs +0 -1
  398. package/dist/chunks/InvalidConfigDialog-0.1.15-rctrbcsm.mjs +0 -1
  399. package/dist/chunks/InvalidSettingsDialog-0.1.15-bjsk3qxm.mjs +0 -1
  400. package/dist/chunks/MigrationDialog-0.1.15-6x3bjqw1.mjs +0 -1
  401. package/dist/chunks/Onboarding-0.1.15-pqx4v1wq.mjs +0 -1
  402. package/dist/chunks/ProviderManager-0.1.15-t8sezf1q.mjs +0 -1
  403. package/dist/chunks/REPL-0.1.15-6e0xrr9y.mjs +0 -1
  404. package/dist/chunks/ResumeConversation-0.1.15-fm1gvj49.mjs +0 -1
  405. package/dist/chunks/SnapshotUpdateDialog-0.1.15-t3evkrvq.mjs +0 -1
  406. package/dist/chunks/TeleportProgress-0.1.15-gad6kpfq.mjs +0 -1
  407. package/dist/chunks/TeleportRepoMismatchDialog-0.1.15-00rkfxqs.mjs +0 -1
  408. package/dist/chunks/TeleportResumeWrapper-0.1.15-bwv0syaw.mjs +0 -1
  409. package/dist/chunks/TmuxBackend-0.1.15-0d8n5p59.mjs +0 -9
  410. package/dist/chunks/ToolSearchTool-0.1.15-1cemq4m9.mjs +0 -1
  411. package/dist/chunks/TrustDialog-0.1.15-srz2xcqx.mjs +0 -1
  412. package/dist/chunks/activeProvider-0.1.15-1fp1bec5.mjs +0 -1
  413. package/dist/chunks/add-dir-0.1.15-qj517xx8.mjs +0 -1
  414. package/dist/chunks/agents-0.1.15-vkekdkan.mjs +0 -3
  415. package/dist/chunks/agents-0.1.15-x18jhwwk.mjs +0 -111
  416. package/dist/chunks/api-0.1.15-jq17qdd8.mjs +0 -1
  417. package/dist/chunks/asciicast-0.1.15-4t4tanfk.mjs +0 -1
  418. package/dist/chunks/assistant-0.1.15-9fhfbk14.mjs +0 -1
  419. package/dist/chunks/auth-0.1.15-ddyv63ax.mjs +0 -1
  420. package/dist/chunks/auth-0.1.15-x6bxj6d1.mjs +0 -1
  421. package/dist/chunks/backgroundHousekeeping-0.1.15-sbv1p8kj.mjs +0 -1
  422. package/dist/chunks/branch-0.1.15-cqq1x0cj.mjs +0 -4
  423. package/dist/chunks/bridgePointer-0.1.15-p6kq1zz7.mjs +0 -1
  424. package/dist/chunks/cacache-0.1.15-tj6nes3h.mjs +0 -1
  425. package/dist/chunks/caches-0.1.15-tynjvd5a.mjs +0 -1
  426. package/dist/chunks/claudeDesktop-0.1.15-rxtx8hbf.mjs +0 -1
  427. package/dist/chunks/claudemd-0.1.15-s942v7vd.mjs +0 -1
  428. package/dist/chunks/clear-0.1.15-2tqn4fj6.mjs +0 -1
  429. package/dist/chunks/clearTerminal-0.1.15-qycj6c0p.mjs +0 -1
  430. package/dist/chunks/cli-0.1.15-0a38j3t8.mjs +0 -2
  431. package/dist/chunks/cli-0.1.15-0g0abv7y.mjs +0 -2
  432. package/dist/chunks/cli-0.1.15-11sdbfxy.mjs +0 -4
  433. package/dist/chunks/cli-0.1.15-12azgmva.mjs +0 -2
  434. package/dist/chunks/cli-0.1.15-1hxkpjgs.mjs +0 -2
  435. package/dist/chunks/cli-0.1.15-1kmf57b0.mjs +0 -2
  436. package/dist/chunks/cli-0.1.15-1nkkhw5c.mjs +0 -2
  437. package/dist/chunks/cli-0.1.15-216kns0c.mjs +0 -2
  438. package/dist/chunks/cli-0.1.15-229xqnrp.mjs +0 -2
  439. package/dist/chunks/cli-0.1.15-2ccapgj1.mjs +0 -2
  440. package/dist/chunks/cli-0.1.15-2h647znt.mjs +0 -2
  441. package/dist/chunks/cli-0.1.15-2te4sfkh.mjs +0 -2
  442. package/dist/chunks/cli-0.1.15-30tz5ck8.mjs +0 -2
  443. package/dist/chunks/cli-0.1.15-36pxgzf6.mjs +0 -2
  444. package/dist/chunks/cli-0.1.15-3jz926ax.mjs +0 -2
  445. package/dist/chunks/cli-0.1.15-3qwnw3ca.mjs +0 -2
  446. package/dist/chunks/cli-0.1.15-3rcdvk7c.mjs +0 -2
  447. package/dist/chunks/cli-0.1.15-3z0tzzs8.mjs +0 -2
  448. package/dist/chunks/cli-0.1.15-4hnhxg2w.mjs +0 -2
  449. package/dist/chunks/cli-0.1.15-4hzd3m6p.mjs +0 -2
  450. package/dist/chunks/cli-0.1.15-4y7051f2.mjs +0 -2
  451. package/dist/chunks/cli-0.1.15-5g0zxgxn.mjs +0 -2
  452. package/dist/chunks/cli-0.1.15-5qx5p8cd.mjs +0 -2
  453. package/dist/chunks/cli-0.1.15-5tz7z79g.mjs +0 -2
  454. package/dist/chunks/cli-0.1.15-69kq5chw.mjs +0 -2
  455. package/dist/chunks/cli-0.1.15-6mad0r56.mjs +0 -2
  456. package/dist/chunks/cli-0.1.15-6r12ayea.mjs +0 -2
  457. package/dist/chunks/cli-0.1.15-6r630k68.mjs +0 -9
  458. package/dist/chunks/cli-0.1.15-77346q11.mjs +0 -7
  459. package/dist/chunks/cli-0.1.15-7myqm617.mjs +0 -2
  460. package/dist/chunks/cli-0.1.15-7rr53z40.mjs +0 -2
  461. package/dist/chunks/cli-0.1.15-82r3zgmq.mjs +0 -3
  462. package/dist/chunks/cli-0.1.15-8k69z9kk.mjs +0 -2
  463. package/dist/chunks/cli-0.1.15-8v8bskr0.mjs +0 -2
  464. package/dist/chunks/cli-0.1.15-90ye3yqx.mjs +0 -2
  465. package/dist/chunks/cli-0.1.15-99wmm9j7.mjs +0 -2
  466. package/dist/chunks/cli-0.1.15-9m2znwvb.mjs +0 -4
  467. package/dist/chunks/cli-0.1.15-9pe3dbgs.mjs +0 -2
  468. package/dist/chunks/cli-0.1.15-9w140hjt.mjs +0 -2
  469. package/dist/chunks/cli-0.1.15-a10ekh15.mjs +0 -2
  470. package/dist/chunks/cli-0.1.15-a8kgfrkd.mjs +0 -2
  471. package/dist/chunks/cli-0.1.15-acdm8b28.mjs +0 -17
  472. package/dist/chunks/cli-0.1.15-ajg1d1bh.mjs +0 -2
  473. package/dist/chunks/cli-0.1.15-asts8hm3.mjs +0 -2
  474. package/dist/chunks/cli-0.1.15-b1t6c81s.mjs +0 -2
  475. package/dist/chunks/cli-0.1.15-b21k5hzy.mjs +0 -2
  476. package/dist/chunks/cli-0.1.15-b6gdqjbg.mjs +0 -2
  477. package/dist/chunks/cli-0.1.15-b7f6hacc.mjs +0 -2
  478. package/dist/chunks/cli-0.1.15-be4mz6ka.mjs +0 -2
  479. package/dist/chunks/cli-0.1.15-behp1dag.mjs +0 -2
  480. package/dist/chunks/cli-0.1.15-bfd337b0.mjs +0 -2
  481. package/dist/chunks/cli-0.1.15-bpcmpy8b.mjs +0 -2
  482. package/dist/chunks/cli-0.1.15-bz57rf9t.mjs +0 -2
  483. package/dist/chunks/cli-0.1.15-cbseyggr.mjs +0 -2
  484. package/dist/chunks/cli-0.1.15-cenwnwnx.mjs +0 -2
  485. package/dist/chunks/cli-0.1.15-cf4s92e9.mjs +0 -2
  486. package/dist/chunks/cli-0.1.15-cqzrzsh5.mjs +0 -5
  487. package/dist/chunks/cli-0.1.15-cyq0gbzk.mjs +0 -2
  488. package/dist/chunks/cli-0.1.15-dcabmk2v.mjs +0 -2
  489. package/dist/chunks/cli-0.1.15-dcxa8b6s.mjs +0 -2
  490. package/dist/chunks/cli-0.1.15-dq954y1q.mjs +0 -2
  491. package/dist/chunks/cli-0.1.15-dqkhbs67.mjs +0 -2
  492. package/dist/chunks/cli-0.1.15-e494j2sj.mjs +0 -4
  493. package/dist/chunks/cli-0.1.15-e64w5wan.mjs +0 -5
  494. package/dist/chunks/cli-0.1.15-e70ktyft.mjs +0 -2
  495. package/dist/chunks/cli-0.1.15-em40knm7.mjs +0 -4
  496. package/dist/chunks/cli-0.1.15-en9ppdbd.mjs +0 -2
  497. package/dist/chunks/cli-0.1.15-f838g4vw.mjs +0 -2
  498. package/dist/chunks/cli-0.1.15-f8abjagh.mjs +0 -2
  499. package/dist/chunks/cli-0.1.15-fe92jeft.mjs +0 -2
  500. package/dist/chunks/cli-0.1.15-fmnyh9j9.mjs +0 -6
  501. package/dist/chunks/cli-0.1.15-fr83vs1y.mjs +0 -2
  502. package/dist/chunks/cli-0.1.15-ft6xtjsa.mjs +0 -2
  503. package/dist/chunks/cli-0.1.15-g5wt8d3g.mjs +0 -2
  504. package/dist/chunks/cli-0.1.15-ghvjjc4g.mjs +0 -2
  505. package/dist/chunks/cli-0.1.15-gn4wnxx3.mjs +0 -2
  506. package/dist/chunks/cli-0.1.15-gqf82qvm.mjs +0 -2
  507. package/dist/chunks/cli-0.1.15-gqp8kzp0.mjs +0 -2
  508. package/dist/chunks/cli-0.1.15-gtn9gx9w.mjs +0 -2
  509. package/dist/chunks/cli-0.1.15-gwbebdj7.mjs +0 -2
  510. package/dist/chunks/cli-0.1.15-gxgy4enj.mjs +0 -2
  511. package/dist/chunks/cli-0.1.15-h3a2cbdb.mjs +0 -2
  512. package/dist/chunks/cli-0.1.15-h4erh2cn.mjs +0 -2
  513. package/dist/chunks/cli-0.1.15-h7cb0pw7.mjs +0 -2
  514. package/dist/chunks/cli-0.1.15-hyydz4kc.mjs +0 -12
  515. package/dist/chunks/cli-0.1.15-j5m3s9r5.mjs +0 -2
  516. package/dist/chunks/cli-0.1.15-k0bn0cze.mjs +0 -2
  517. package/dist/chunks/cli-0.1.15-knpxv22b.mjs +0 -2
  518. package/dist/chunks/cli-0.1.15-ks9rz9tk.mjs +0 -5
  519. package/dist/chunks/cli-0.1.15-kw7che8m.mjs +0 -2
  520. package/dist/chunks/cli-0.1.15-m7gtc61y.mjs +0 -2
  521. package/dist/chunks/cli-0.1.15-my0y22r7.mjs +0 -6
  522. package/dist/chunks/cli-0.1.15-n97y4hq4.mjs +0 -2
  523. package/dist/chunks/cli-0.1.15-nejf7yqz.mjs +0 -2
  524. package/dist/chunks/cli-0.1.15-njg0k6ga.mjs +0 -2
  525. package/dist/chunks/cli-0.1.15-nts79xbr.mjs +0 -2
  526. package/dist/chunks/cli-0.1.15-nw94frpp.mjs +0 -2
  527. package/dist/chunks/cli-0.1.15-nx5v1cvm.mjs +0 -2
  528. package/dist/chunks/cli-0.1.15-p159ga3t.mjs +0 -2
  529. package/dist/chunks/cli-0.1.15-p47rrzrn.mjs +0 -2
  530. package/dist/chunks/cli-0.1.15-p5ty029c.mjs +0 -2
  531. package/dist/chunks/cli-0.1.15-pcqjreq6.mjs +0 -2
  532. package/dist/chunks/cli-0.1.15-pxf97j8y.mjs +0 -2
  533. package/dist/chunks/cli-0.1.15-pya8tbx3.mjs +0 -2
  534. package/dist/chunks/cli-0.1.15-q021qg07.mjs +0 -2
  535. package/dist/chunks/cli-0.1.15-q35rzjnz.mjs +0 -16
  536. package/dist/chunks/cli-0.1.15-qhz07at6.mjs +0 -2
  537. package/dist/chunks/cli-0.1.15-r626437v.mjs +0 -2
  538. package/dist/chunks/cli-0.1.15-r8qzzahw.mjs +0 -2
  539. package/dist/chunks/cli-0.1.15-r9nrfwrq.mjs +0 -2
  540. package/dist/chunks/cli-0.1.15-rr65b3dk.mjs +0 -2
  541. package/dist/chunks/cli-0.1.15-rs5swvy0.mjs +0 -4
  542. package/dist/chunks/cli-0.1.15-rwx8446j.mjs +0 -2
  543. package/dist/chunks/cli-0.1.15-s7trme0x.mjs +0 -2
  544. package/dist/chunks/cli-0.1.15-sct02cw6.mjs +0 -5
  545. package/dist/chunks/cli-0.1.15-sd5jysf2.mjs +0 -2
  546. package/dist/chunks/cli-0.1.15-sg3n1v0w.mjs +0 -2
  547. package/dist/chunks/cli-0.1.15-svhrqvzp.mjs +0 -3
  548. package/dist/chunks/cli-0.1.15-tj4kzvth.mjs +0 -2
  549. package/dist/chunks/cli-0.1.15-tn4214gj.mjs +0 -2
  550. package/dist/chunks/cli-0.1.15-tp614m5f.mjs +0 -2
  551. package/dist/chunks/cli-0.1.15-twq0mjmr.mjs +0 -2
  552. package/dist/chunks/cli-0.1.15-v8zwx5j6.mjs +0 -3
  553. package/dist/chunks/cli-0.1.15-vzk22hwe.mjs +0 -2
  554. package/dist/chunks/cli-0.1.15-w8q8f37x.mjs +0 -2
  555. package/dist/chunks/cli-0.1.15-wfn10357.mjs +0 -2
  556. package/dist/chunks/cli-0.1.15-wmwtv0tz.mjs +0 -2
  557. package/dist/chunks/cli-0.1.15-wn40n534.mjs +0 -2
  558. package/dist/chunks/cli-0.1.15-x3yhaxm9.mjs +0 -2
  559. package/dist/chunks/cli-0.1.15-xery8c8c.mjs +0 -2
  560. package/dist/chunks/cli-0.1.15-y2pbhx6p.mjs +0 -2
  561. package/dist/chunks/cli-0.1.15-y6fkcbes.mjs +0 -2
  562. package/dist/chunks/cli-0.1.15-y7xkk5ds.mjs +0 -2
  563. package/dist/chunks/cli-0.1.15-yghcqf7h.mjs +0 -2
  564. package/dist/chunks/cli-0.1.15-yjxhk7qj.mjs +0 -2
  565. package/dist/chunks/cli-0.1.15-ywed2hpz.mjs +0 -2
  566. package/dist/chunks/cli-0.1.15-yxm6wwfz.mjs +0 -2
  567. package/dist/chunks/cli-0.1.15-yym7bka2.mjs +0 -2
  568. package/dist/chunks/cli-0.1.15-z2yexprk.mjs +0 -4
  569. package/dist/chunks/cli-0.1.15-z35x5bfj.mjs +0 -2
  570. package/dist/chunks/cli-0.1.15-zf1s8y92.mjs +0 -2
  571. package/dist/chunks/cli-0.1.15-ztxn2vjm.mjs +0 -2
  572. package/dist/chunks/client-0.1.15-pbb4218v.mjs +0 -1
  573. package/dist/chunks/color-0.1.15-w9tvjt51.mjs +0 -1
  574. package/dist/chunks/compact-0.1.15-2a2eywaz.mjs +0 -3
  575. package/dist/chunks/config-0.1.15-m4gwmfb1.mjs +0 -1
  576. package/dist/chunks/config-0.1.15-r15yk3zr.mjs +0 -1
  577. package/dist/chunks/context-noninteractive-0.1.15-wwa3qz84.mjs +0 -1
  578. package/dist/chunks/conversation-0.1.15-n1bn5vmb.mjs +0 -1
  579. package/dist/chunks/cost-0.1.15-garxyfxy.mjs +0 -1
  580. package/dist/chunks/createSession-0.1.15-krz8fv09.mjs +0 -1
  581. package/dist/chunks/desktop-0.1.15-j0znhh3a.mjs +0 -1
  582. package/dist/chunks/detectRepository-0.1.15-f34tbbq5.mjs +0 -1
  583. package/dist/chunks/detection-0.1.15-qfkk58tf.mjs +0 -1
  584. package/dist/chunks/diff-0.1.15-gc5686z3.mjs +0 -1
  585. package/dist/chunks/doctor-0.1.15-hhtv9s33.mjs +0 -1
  586. package/dist/chunks/earlyInput-0.1.15-ftgt9y2w.mjs +0 -1
  587. package/dist/chunks/environmentSelection-0.1.15-59904m5c.mjs +0 -1
  588. package/dist/chunks/environments-0.1.15-fn4ybjrt.mjs +0 -1
  589. package/dist/chunks/exit-0.1.15-qxj6czd5.mjs +0 -1
  590. package/dist/chunks/export-0.1.15-h5n9s624.mjs +0 -2
  591. package/dist/chunks/extra-usage-0.1.15-4a6e6rsa.mjs +0 -1
  592. package/dist/chunks/extra-usage-noninteractive-0.1.15-rgqd9ef7.mjs +0 -1
  593. package/dist/chunks/fast-0.1.15-98jhvjxk.mjs +0 -1
  594. package/dist/chunks/feedback-0.1.15-pqe68x4v.mjs +0 -14
  595. package/dist/chunks/firstPartyEventLogger-0.1.15-pss0293k.mjs +0 -1
  596. package/dist/chunks/git-0.1.15-002t17pq.mjs +0 -1
  597. package/dist/chunks/githubModelsCredentials-0.1.15-2a6dqqse.mjs +0 -1
  598. package/dist/chunks/growthbook-0.1.15-m7gdvgqa.mjs +0 -1
  599. package/dist/chunks/heapdump-0.1.15-s8h9rwpe.mjs +0 -6
  600. package/dist/chunks/help-0.1.15-y48dg88b.mjs +0 -1
  601. package/dist/chunks/hookChains-0.1.15-z46c2xkf.mjs +0 -3
  602. package/dist/chunks/hooks-0.1.15-vanat6cg.mjs +0 -1
  603. package/dist/chunks/image-processor-napi-0.1.15-5w5sybn1.mjs +0 -1
  604. package/dist/chunks/index-0.1.15-0z186jwx.mjs +0 -1
  605. package/dist/chunks/index-0.1.15-136649ke.mjs +0 -1
  606. package/dist/chunks/index-0.1.15-1r19582s.mjs +0 -1
  607. package/dist/chunks/index-0.1.15-3jxezstk.mjs +0 -1
  608. package/dist/chunks/index-0.1.15-52zxtxf2.mjs +0 -1
  609. package/dist/chunks/index-0.1.15-628tag5v.mjs +0 -1
  610. package/dist/chunks/index-0.1.15-7cp4n6z6.mjs +0 -1
  611. package/dist/chunks/index-0.1.15-832xm57n.mjs +0 -1
  612. package/dist/chunks/index-0.1.15-abzge0fa.mjs +0 -1
  613. package/dist/chunks/index-0.1.15-b9sdtjj4.mjs +0 -9
  614. package/dist/chunks/index-0.1.15-bvr8e4dt.mjs +0 -1
  615. package/dist/chunks/index-0.1.15-d4ea93sj.mjs +0 -9
  616. package/dist/chunks/index-0.1.15-n2q4dkvc.mjs +0 -1
  617. package/dist/chunks/index-0.1.15-nzmg6zng.mjs +0 -1
  618. package/dist/chunks/index-0.1.15-r9ck21mp.mjs +0 -1
  619. package/dist/chunks/index-0.1.15-rb4nqzzk.mjs +0 -1
  620. package/dist/chunks/index-0.1.15-x8ghxne4.mjs +0 -2
  621. package/dist/chunks/index-0.1.15-z3k5tm3n.mjs +0 -1
  622. package/dist/chunks/initReplBridge-0.1.15-g7q1qemf.mjs +0 -1
  623. package/dist/chunks/ink-0.1.15-rd56fvsx.mjs +0 -1
  624. package/dist/chunks/install-0.1.15-z6a6aa3t.mjs +0 -1
  625. package/dist/chunks/install-slack-app-0.1.15-2yhy3kwz.mjs +0 -1
  626. package/dist/chunks/interactiveHelpers-0.1.15-z5nx1rw2.mjs +0 -1
  627. package/dist/chunks/keybindings-0.1.15-cxmw2kd4.mjs +0 -2
  628. package/dist/chunks/knowledge-0.1.15-2bnycc4a.mjs +0 -2
  629. package/dist/chunks/loadAgentsDir-0.1.15-e4ms71xe.mjs +0 -1
  630. package/dist/chunks/loadPluginHooks-0.1.15-rcg3267j.mjs +0 -1
  631. package/dist/chunks/lsp-0.1.15-veqrp99h.mjs +0 -1
  632. package/dist/chunks/main-0.1.15-bfvfcwwj.mjs +0 -1
  633. package/dist/chunks/managedEnv-0.1.15-1mxydytg.mjs +0 -1
  634. package/dist/chunks/mcp-0.1.15-rfy9pyrt.mjs +0 -1
  635. package/dist/chunks/mcp-0.1.15-zc7h2fyj.mjs +0 -4
  636. package/dist/chunks/mcpServer-0.1.15-t7dsptwh.mjs +0 -1
  637. package/dist/chunks/mcpb-0.1.15-5mam984d.mjs +0 -1
  638. package/dist/chunks/memory-0.1.15-b6zkcs44.mjs +0 -3
  639. package/dist/chunks/model-0.1.15-843f7654.mjs +0 -1
  640. package/dist/chunks/model-0.1.15-e62wxf7h.mjs +0 -2
  641. package/dist/chunks/oauth-0.1.15-gxgmqwwx.mjs +0 -1
  642. package/dist/chunks/output-style-0.1.15-d20e4vc3.mjs +0 -1
  643. package/dist/chunks/package-WSP46L7M-0.1.15-jsqef57n.mjs +0 -1
  644. package/dist/chunks/parser-0.1.15-wbja947p.mjs +0 -1
  645. package/dist/chunks/passes-0.1.15-726y1cyq.mjs +0 -1
  646. package/dist/chunks/permissions-0.1.15-4pqgyt4h.mjs +0 -3
  647. package/dist/chunks/plan-0.1.15-p06bpb7x.mjs +0 -1
  648. package/dist/chunks/plist-0.1.15-fseac2c0.mjs +0 -1
  649. package/dist/chunks/plugin-0.1.15-yeqq1san.mjs +0 -29
  650. package/dist/chunks/pluginStartupCheck-0.1.15-s9v7kq6q.mjs +0 -1
  651. package/dist/chunks/privacy-settings-0.1.15-rq35tcyk.mjs +0 -1
  652. package/dist/chunks/process-0.1.15-g6km3z8k.mjs +0 -1
  653. package/dist/chunks/processBashCommand-0.1.15-57ga0c30.mjs +0 -1
  654. package/dist/chunks/prompt-0.1.15-gm20yk5m.mjs +0 -1
  655. package/dist/chunks/prompt-0.1.15-gxjy2vnc.mjs +0 -1
  656. package/dist/chunks/prompts-0.1.15-v7p366n5.mjs +0 -1
  657. package/dist/chunks/provider-0.1.15-gz0fhpp7.mjs +0 -2
  658. package/dist/chunks/providerProfiles-0.1.15-v7p3m9kf.mjs +0 -1
  659. package/dist/chunks/rate-limit-options-0.1.15-3vs25v7e.mjs +0 -1
  660. package/dist/chunks/registry-0.1.15-3h7bxrc2.mjs +0 -1
  661. package/dist/chunks/release-notes-0.1.15-1g908440.mjs +0 -5
  662. package/dist/chunks/reload-plugins-0.1.15-5r2acf43.mjs +0 -2
  663. package/dist/chunks/remoteBridgeCore-0.1.15-kbthngek.mjs +0 -1
  664. package/dist/chunks/remoteSession-0.1.15-yrg8c3z1.mjs +0 -1
  665. package/dist/chunks/rename-0.1.15-8079z5ff.mjs +0 -1
  666. package/dist/chunks/replBridgeHandle-0.1.15-cz1pf5m3.mjs +0 -1
  667. package/dist/chunks/resume-0.1.15-s4hv4t9y.mjs +0 -2
  668. package/dist/chunks/rewind-0.1.15-fevxgefp.mjs +0 -1
  669. package/dist/chunks/sandbox-adapter-0.1.15-yra7frkv.mjs +0 -1
  670. package/dist/chunks/session-0.1.15-crg226x4.mjs +0 -2
  671. package/dist/chunks/sessionFileAccessHooks-0.1.15-f3kpf3s7.mjs +0 -1
  672. package/dist/chunks/sessionStorage-0.1.15-x0gw4hbz.mjs +0 -1
  673. package/dist/chunks/setup-0.1.15-6znmc2q6.mjs +0 -5
  674. package/dist/chunks/sinks-0.1.15-npqf68gv.mjs +0 -1
  675. package/dist/chunks/skills-0.1.15-sybv0v2p.mjs +0 -1
  676. package/dist/chunks/startupProfiler-0.1.15-nwkwwtx6.mjs +0 -1
  677. package/dist/chunks/state-0.1.15-rr5k0vbf.mjs +0 -1
  678. package/dist/chunks/status-0.1.15-cvscafrs.mjs +0 -1
  679. package/dist/chunks/stickers-0.1.15-ee8ptkd4.mjs +0 -1
  680. package/dist/chunks/subprocessEnv-0.1.15-330g0p7g.mjs +0 -1
  681. package/dist/chunks/tasks-0.1.15-a4y42df2.mjs +0 -1
  682. package/dist/chunks/teamHelpers-0.1.15-gw6hwmyj.mjs +0 -1
  683. package/dist/chunks/teammateModeSnapshot-0.1.15-t2czx776.mjs +0 -1
  684. package/dist/chunks/teleport-0.1.15-bg434zjk.mjs +0 -1
  685. package/dist/chunks/terminalSetup-0.1.15-ged9eavp.mjs +0 -1
  686. package/dist/chunks/theme-0.1.15-zq998m8x.mjs +0 -1
  687. package/dist/chunks/thinkback-0.1.15-g09k62ck.mjs +0 -1
  688. package/dist/chunks/thinkback-play-0.1.15-mn7j6mm2.mjs +0 -1
  689. package/dist/chunks/toolPool-0.1.15-wej7eaff.mjs +0 -1
  690. package/dist/chunks/toolSearch-0.1.15-v6zmdk1y.mjs +0 -1
  691. package/dist/chunks/trustedDevice-0.1.15-t9sax8yq.mjs +0 -1
  692. package/dist/chunks/upgrade-0.1.15-07pcdyyq.mjs +0 -1
  693. package/dist/chunks/usage-0.1.15-ayne7pw6.mjs +0 -1
  694. package/dist/chunks/util-0.1.15-vs1eanbw.mjs +0 -1
  695. package/dist/chunks/utils-0.1.15-aq7vgwy1.mjs +0 -1
  696. package/dist/chunks/vim-0.1.15-syferjfa.mjs +0 -1
  697. package/dist/chunks/watcher-0.1.15-bh7ych8a.mjs +0 -1
  698. package/dist/chunks/worktree-0.1.15-twyfdw3p.mjs +0 -1
  699. package/dist/chunks/worktreeModeEnabled-0.1.15-afv7sbw1.mjs +0 -1
  700. package/dist/chunks/wrapper-0.1.15-dw3awx2b.mjs +0 -7
  701. /package/dist/chunks/{cli-0.1.15-7mfwj2xs.mjs → cli-0.2.0-4tn02vgd.mjs} +0 -0
  702. /package/dist/chunks/{cli-0.1.15-7ve9h395.mjs → cli-0.2.0-50cf7d1p.mjs} +0 -0
  703. /package/dist/chunks/{cli-0.1.15-p6bypqrv.mjs → cli-0.2.0-dgenwca0.mjs} +0 -0
  704. /package/dist/chunks/{cli-0.1.15-618hqv9f.mjs → cli-0.2.0-rnpcefe5.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{Gn as Y,hi as f}from"./cli-0.2.0-cs8e9514.mjs";import{VV as _}from"./cli-0.2.0-3y7hn5v2.mjs";import{D3 as A,QZ as K,y2 as k}from"./cli-0.2.0-h2wnach8.mjs";import{N8 as T,Q5 as w,l7 as H,o$ as v,taa as x}from"./cli-0.2.0-g2h1t6ke.mjs";import{tca as b,vca as Q,wca as q,xca as V}from"./cli-0.2.0-f7tp61b0.mjs";import{nda as W}from"./cli-0.2.0-98h2e6bt.mjs";import{Nda as O}from"./cli-0.2.0-qcr87znh.mjs";import{Eea as L}from"./cli-0.2.0-35xeqadb.mjs";import{hfa as U}from"./cli-0.2.0-e9xwjcb3.mjs";import{rla as B,xha as X}from"./cli-0.2.0-gmq4bxtp.mjs";import{gma as G}from"./cli-0.2.0-b8hs09nv.mjs";var Z,$;var J=G(()=>{Q();V();Z=q(()=>b.object({entries:b.record(b.string(),b.string())})),$=q(()=>b.object({userId:b.string(),version:b.number(),lastModified:b.string(),checksum:b.string(),content:Z()}))});var z=G(()=>{B();W();A();f();x();w();U();H();K();T();v();X();k();_();O();L();Y();J()});
2
+ export{z as cc};
@@ -0,0 +1,2 @@
1
+ import{oa as c}from"./cli-0.2.0-82kqh5xm.mjs";import{Vb as v,Zb as Wq}from"./cli-0.2.0-qnd8v5pt.mjs";import{fc as I,gc as S,hc as $,ic as Xq}from"./cli-0.2.0-0vvkn4c2.mjs";import{$y as qq,FF as _,GF as Jq,Gz as h,Hz as Bq,Qz as A,Sz as Gq,Vy as L,XG as M,_G as Qq,aK as E,bK as f,dK as Tq,eK as P,fK as Vq,jl as C,kl as r,wq as N,yq as e}from"./cli-0.2.0-cs8e9514.mjs";import{MV as s}from"./cli-0.2.0-gsw60zfe.mjs";import{O5 as y,Q5 as o,T7 as w,V7 as t,d6 as D,i6 as n}from"./cli-0.2.0-g2h1t6ke.mjs";import{Dea as F,Eea as a}from"./cli-0.2.0-35xeqadb.mjs";import{Bfa as j,Efa as l,afa as x,hfa as d}from"./cli-0.2.0-e9xwjcb3.mjs";import{cma as p}from"./cli-0.2.0-b8hs09nv.mjs";Vq();a();Gq();Tq();Xq();t();l();o();d();n();r();Jq();qq();Bq();e();var V=p(s(),1);Wq();Qq();function hq({enabled:W=!0}={}){let b=V.useSyncExternalStore(S,I,I),H=f(),O=E((J)=>J.plugins.needsRefresh),{addNotification:z}=P(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await M();await c();let X=v();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await _(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await C()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await L()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await N(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await h(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);A(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=x(J);return D(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};F("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),y("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
2
+ export{hq as T};
@@ -1,4 +1,4 @@
1
- import{a5 as F5,b5 as t4,c5 as G6,e5 as z6}from"./cli-0.1.15-20tvdt2s.mjs";import{Zla as o1,ama as T5,bma as H}from"./cli-0.1.15-mhbfhhf6.mjs";function D0($,W){return function(){return $.apply(W,arguments)}}var Z1=()=>{};function R0($){return $!==null&&!F0($)&&$.constructor!==null&&!F0($.constructor)&&d($.constructor.isBuffer)&&$.constructor.isBuffer($)}function y2($){let W;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)W=ArrayBuffer.isView($);else W=$&&$.buffer&&n1($.buffer);return W}function c2(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}function T0($,W,{allOwnKeys:G=!1}={}){if($===null||typeof $>"u")return;let Y,z;if(typeof $!=="object")$=[$];if(U0($))for(Y=0,z=$.length;Y<z;Y++)W.call(null,$[Y],Y,$);else{if(R0($))return;let Z=G?Object.getOwnPropertyNames($):Object.keys($),Q=Z.length,N;for(Y=0;Y<Q;Y++)N=Z[Y],W.call(null,$[N],N,$)}}function t1($,W){if(R0($))return null;W=W.toLowerCase();let G=Object.keys($),Y=G.length,z;while(Y-- >0)if(z=G[Y],W===z.toLowerCase())return z;return null}function N1(){let{caseless:$,skipUndefined:W}=a1(this)&&this||{},G={},Y=(z,Z)=>{if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return;let Q=$&&t1(G,Z)||Z;if(u0(G[Q])&&u0(z))G[Q]=N1(G[Q],z);else if(u0(z))G[Q]=N1({},z);else if(U0(z))G[Q]=z.slice();else if(!W||!F0(z))G[Q]=z};for(let z=0,Z=arguments.length;z<Z;z++)arguments[z]&&T0(arguments[z],Y);return G}function B5($){return!!($&&d($.append)&&$[p1]==="FormData"&&$[g0])}var k2,J1,g0,p1,d0,t=($)=>{return $=$.toLowerCase(),(W)=>d0(W)===$},c0=($)=>(W)=>typeof W===$,U0,F0,n1,x2,d,i1,O0=($)=>$!==null&&typeof $==="object",b2=($)=>$===!0||$===!1,u0=($)=>{if(d0($)!=="object")return!1;let W=J1($);return(W===null||W===Object.prototype||Object.getPrototypeOf(W)===null)&&!(p1 in $)&&!(g0 in $)},j2=($)=>{if(!O0($)||R0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(W){return!1}},m2,v2,h2=($)=>{return!!($&&typeof $.uri<"u")},f2=($)=>$&&typeof $.getParts<"u",u2,g2,d2=($)=>O0($)&&d($.pipe),d1,c1,l2=($)=>{let W;return $&&(c1&&$ instanceof c1||d($.append)&&((W=d0($))==="formdata"||W==="object"&&d($.toString)&&$.toString()==="[object FormData]"))},p2,n2,i2,t2,a2,s2=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},K0,a1=($)=>!F0($)&&$!==K0,r2=($,W,G,{allOwnKeys:Y}={})=>{return T0(W,(z,Z)=>{if(G&&d(z))Object.defineProperty($,Z,{value:D0(z,G),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,Z,{value:z,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:Y}),$},o2=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},e2=($,W,G,Y)=>{$.prototype=Object.create(W.prototype,Y),Object.defineProperty($.prototype,"constructor",{value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{value:W.prototype}),G&&Object.assign($.prototype,G)},$5=($,W,G,Y)=>{let z,Z,Q,N={};if(W=W||{},$==null)return W;do{z=Object.getOwnPropertyNames($),Z=z.length;while(Z-- >0)if(Q=z[Z],(!Y||Y(Q,$,W))&&!N[Q])W[Q]=$[Q],N[Q]=!0;$=G!==!1&&J1($)}while($&&(!G||G($,W))&&$!==Object.prototype);return W},W5=($,W,G)=>{if($=String($),G===void 0||G>$.length)G=$.length;G-=W.length;let Y=$.indexOf(W,G);return Y!==-1&&Y===G},Y5=($)=>{if(!$)return null;if(U0($))return $;let W=$.length;if(!i1(W))return null;let G=Array(W);while(W-- >0)G[W]=$[W];return G},G5,z5=($,W)=>{let Y=($&&$[g0]).call($),z;while((z=Y.next())&&!z.done){let Z=z.value;W.call($,Z[0],Z[1])}},Q5=($,W)=>{let G,Y=[];while((G=$.exec(W))!==null)Y.push(G);return Y},X5,Z5=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(G,Y,z){return Y.toUpperCase()+z})},l1,N5,s1=($,W)=>{let G=Object.getOwnPropertyDescriptors($),Y={};T0(G,(z,Z)=>{let Q;if((Q=W(z,Z,$))!==!1)Y[Z]=Q||z}),Object.defineProperties($,Y)},J5=($)=>{s1($,(W,G)=>{if(d($)&&["arguments","caller","callee"].indexOf(G)!==-1)return!1;let Y=$[G];if(!d(Y))return;if(W.enumerable=!1,"writable"in W){W.writable=!1;return}if(!W.set)W.set=()=>{throw Error("Can not rewrite read-only method '"+G+"'")}})},M5=($,W)=>{let G={},Y=(z)=>{z.forEach((Z)=>{G[Z]=!0})};return U0($)?Y($):Y(String($).split(W)),G},K5=()=>{},I5=($,W)=>{return $!=null&&Number.isFinite($=+$)?$:W},L5=($)=>{let W=[,,,,,,,,,,],G=(Y,z)=>{if(O0(Y)){if(W.indexOf(Y)>=0)return;if(R0(Y))return Y;if(!("toJSON"in Y)){W[z]=Y;let Z=U0(Y)?[]:{};return T0(Y,(Q,N)=>{let I=G(Q,z+1);!F0(I)&&(Z[N]=I)}),W[z]=void 0,Z}}return Y};return G($,0)},V5,P5=($)=>$&&(O0($)||d($))&&d($.then)&&d($.catch),r1,w5,H5=($)=>$!=null&&d($[g0]),X;var O=H(()=>{Z1();({toString:k2}=Object.prototype),{getPrototypeOf:J1}=Object,{iterator:g0,toStringTag:p1}=Symbol,d0=(($)=>(W)=>{let G=k2.call(W);return $[G]||($[G]=G.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:U0}=Array,F0=c0("undefined");n1=t("ArrayBuffer");x2=c0("string"),d=c0("function"),i1=c0("number"),m2=t("Date"),v2=t("File"),u2=t("Blob"),g2=t("FileList");d1=c2(),c1=typeof d1.FormData<"u"?d1.FormData:void 0,p2=t("URLSearchParams"),[n2,i2,t2,a2]=["ReadableStream","Request","Response","Headers"].map(t);K0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();G5=(($)=>{return(W)=>{return $&&W instanceof $}})(typeof Uint8Array<"u"&&J1(Uint8Array)),X5=t("HTMLFormElement"),l1=(({hasOwnProperty:$})=>(W,G)=>$.call(W,G))(Object.prototype),N5=t("RegExp");V5=t("AsyncFunction"),r1=(($,W)=>{if($)return setImmediate;return W?((G,Y)=>{return K0.addEventListener("message",({source:z,data:Z})=>{if(z===K0&&Z===G)Y.length&&Y.shift()()},!1),(z)=>{Y.push(z),K0.postMessage(G,"*")}})(`axios@${Math.random()}`,[]):(G)=>setTimeout(G)})(typeof setImmediate==="function",d(K0.postMessage)),w5=typeof queueMicrotask<"u"?queueMicrotask.bind(K0):typeof process<"u"&&process.nextTick||r1,X={isArray:U0,isArrayBuffer:n1,isBuffer:R0,isFormData:l2,isArrayBufferView:y2,isString:x2,isNumber:i1,isBoolean:b2,isObject:O0,isPlainObject:u0,isEmptyObject:j2,isReadableStream:n2,isRequest:i2,isResponse:t2,isHeaders:a2,isUndefined:F0,isDate:m2,isFile:v2,isReactNativeBlob:h2,isReactNative:f2,isBlob:u2,isRegExp:N5,isFunction:d,isStream:d2,isURLSearchParams:p2,isTypedArray:G5,isFileList:g2,forEach:T0,merge:N1,extend:r2,trim:s2,stripBOM:o2,inherits:e2,toFlatObject:$5,kindOf:d0,kindOfTest:t,endsWith:W5,toArray:Y5,forEachEntry:z5,matchAll:Q5,isHTMLForm:X5,hasOwnProperty:l1,hasOwnProp:l1,reduceDescriptors:s1,freezeMethods:J5,toObjectSet:M5,toCamelCase:Z5,noop:K5,toFiniteNumber:I5,findKey:t1,global:K0,isContextDefined:a1,isSpecCompliantForm:B5,toJSONObject:L5,isAsyncFn:V5,isThenable:P5,setImmediate:r1,asap:w5,isIterable:H5}});var h,L;var l=H(()=>{O();h=class h extends Error{static from($,W,G,Y,z,Z){let Q=new h($.message,W||$.code,G,Y,z);if(Q.cause=$,Q.name=$.name,$.status!=null&&Q.status==null)Q.status=$.status;return Z&&Object.assign(Q,Z),Q}constructor($,W,G,Y,z){super($);if(Object.defineProperty(this,"message",{value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,W&&(this.code=W),G&&(this.config=G),Y&&(this.request=Y),z)this.response=z,this.status=z.status}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}};h.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";h.ERR_BAD_OPTION="ERR_BAD_OPTION";h.ECONNABORTED="ECONNABORTED";h.ETIMEDOUT="ETIMEDOUT";h.ERR_NETWORK="ERR_NETWORK";h.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";h.ERR_DEPRECATED="ERR_DEPRECATED";h.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";h.ERR_BAD_REQUEST="ERR_BAD_REQUEST";h.ERR_CANCELED="ERR_CANCELED";h.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";h.ERR_INVALID_URL="ERR_INVALID_URL";L=h});var e1,l0;var M1=H(()=>{e1=o1(F5(),1),l0=e1.default});function I1($){return X.isPlainObject($)||X.isArray($)}function $4($){return X.endsWith($,"[]")?$.slice(0,-2):$}function K1($,W,G){if(!$)return W;return $.concat(W).map(function(z,Z){return z=$4(z),!G&&Z?"["+z+"]":z}).join(G?".":"")}function U5($){return X.isArray($)&&!$.some(I1)}function S5($,W,G){if(!X.isObject($))throw TypeError("target must be an object");W=W||new(l0||FormData),G=X.toFlatObject(G,{metaTokens:!0,dots:!1,indexes:!1},!1,function(U,B){return!X.isUndefined(B[U])});let Y=G.metaTokens,z=G.visitor||M,Z=G.dots,Q=G.indexes,I=(G.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(W);if(!X.isFunction(z))throw TypeError("visitor must be a function");function J(K){if(K===null)return"";if(X.isDate(K))return K.toISOString();if(X.isBoolean(K))return K.toString();if(!I&&X.isBlob(K))throw new L("Blob is not supported. Use a Buffer instead.");if(X.isArrayBuffer(K)||X.isTypedArray(K))return I&&typeof Blob==="function"?new Blob([K]):Buffer.from(K);return K}function M(K,U,B){let D=K;if(X.isReactNative(W)&&X.isReactNativeBlob(K))return W.append(K1(B,U,Z),J(K)),!1;if(K&&!B&&typeof K==="object"){if(X.endsWith(U,"{}"))U=Y?U:U.slice(0,-2),K=JSON.stringify(K);else if(X.isArray(K)&&U5(K)||(X.isFileList(K)||X.endsWith(U,"[]"))&&(D=X.toArray(K)))return U=$4(U),D.forEach(function(C,y){!(X.isUndefined(C)||C===null)&&W.append(Q===!0?K1([U],y,Z):Q===null?U:U+"[]",J(C))}),!1}if(I1(K))return!0;return W.append(K1(B,U,Z),J(K)),!1}let V=[],P=Object.assign(_5,{defaultVisitor:M,convertValue:J,isVisitable:I1});function w(K,U){if(X.isUndefined(K))return;if(V.indexOf(K)!==-1)throw Error("Circular reference detected in "+U.join("."));V.push(K),X.forEach(K,function(D,q){if((!(X.isUndefined(D)||D===null)&&z.call(W,D,X.isString(q)?q.trim():q,U,P))===!0)w(D,U?U.concat(q):[q])}),V.pop()}if(!X.isObject($))throw TypeError("data must be an object");return w($),W}var _5,X0;var q0=H(()=>{O();l();M1();_5=X.toFlatObject(X,{},null,function(W){return/^is[A-Z]/.test(W)});X0=S5});function W4($){let W={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent($).replace(/[!'()~]|%20|%00/g,function(Y){return W[Y]})}function Y4($,W){this._pairs=[],$&&X0($,this,W)}var G4,z4;var Q4=H(()=>{q0();G4=Y4.prototype;G4.append=function(W,G){this._pairs.push([W,G])};G4.toString=function(W){let G=W?function(Y){return W.call(this,Y,W4)}:W4;return this._pairs.map(function(z){return G(z[0])+"="+G(z[1])},"").join("&")};z4=Y4});function C5($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function I0($,W,G){if(!W)return $;let Y=G&&G.encode||C5,z=X.isFunction(G)?{serialize:G}:G,Z=z&&z.serialize,Q;if(Z)Q=Z(W,z);else Q=X.isURLSearchParams(W)?W.toString():new z4(W,z).toString(Y);if(Q){let N=$.indexOf("#");if(N!==-1)$=$.slice(0,N);$+=($.indexOf("?")===-1?"?":"&")+Q}return $}var p0=H(()=>{O();Q4()});class X4{constructor(){this.handlers=[]}use($,W,G){return this.handlers.push({fulfilled:$,rejected:W,synchronous:G?G.synchronous:!1,runWhen:G?G.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){X.forEach(this.handlers,function(G){if(G!==null)$(G)})}}var B1;var Z4=H(()=>{O();B1=X4});var Z0;var E0=H(()=>{Z0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0}});import D5 from"url";var N4;var J4=H(()=>{N4=D5.URLSearchParams});import R5 from"crypto";var L1="abcdefghijklmnopqrstuvwxyz",M4="0123456789",K4,O5=($=16,W=K4.ALPHA_DIGIT)=>{let G="",{length:Y}=W,z=new Uint32Array($);R5.randomFillSync(z);for(let Z=0;Z<$;Z++)G+=W[z[Z]%Y];return G},I4;var B4=H(()=>{J4();M1();K4={DIGIT:M4,ALPHA:L1,ALPHA_DIGIT:L1+L1.toUpperCase()+M4},I4={isNode:!0,classes:{URLSearchParams:N4,FormData:l0,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:K4,generateString:O5,protocols:["http","https","file","data"]}});var w1={};T5(w1,{origin:()=>A5,navigator:()=>V1,hasStandardBrowserWebWorkerEnv:()=>E5,hasStandardBrowserEnv:()=>q5,hasBrowserEnv:()=>P1});var P1,V1,q5,E5,A5;var L4=H(()=>{P1=typeof window<"u"&&typeof document<"u",V1=typeof navigator==="object"&&navigator||void 0,q5=P1&&(!V1||["ReactNative","NativeScript","NS"].indexOf(V1.product)<0),E5=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),A5=P1&&window.location.href||"http://localhost"});var S;var a=H(()=>{B4();L4();S={...w1,...I4}});function H1($,W){return X0($,new S.classes.URLSearchParams,{visitor:function(G,Y,z,Z){if(S.isNode&&X.isBuffer(G))return this.append(Y,G.toString("base64")),!1;return Z.defaultVisitor.apply(this,arguments)},...W})}var V4=H(()=>{O();q0();a()});function k5($){return X.matchAll(/\w+|\[(\w*)]/g,$).map((W)=>{return W[0]==="[]"?"":W[1]||W[0]})}function y5($){let W={},G=Object.keys($),Y,z=G.length,Z;for(Y=0;Y<z;Y++)Z=G[Y],W[Z]=$[Z];return W}function x5($){function W(G,Y,z,Z){let Q=G[Z++];if(Q==="__proto__")return!0;let N=Number.isFinite(+Q),I=Z>=G.length;if(Q=!Q&&X.isArray(z)?z.length:Q,I){if(X.hasOwnProp(z,Q))z[Q]=[z[Q],Y];else z[Q]=Y;return!N}if(!z[Q]||!X.isObject(z[Q]))z[Q]=[];if(W(G,Y,z[Q],Z)&&X.isArray(z[Q]))z[Q]=y5(z[Q]);return!N}if(X.isFormData($)&&X.isFunction($.entries)){let G={};return X.forEachEntry($,(Y,z)=>{W(k5(Y),z,G,0)}),G}return null}var n0;var F1=H(()=>{O();n0=x5});function b5($,W,G){if(X.isString($))try{return(W||JSON.parse)($),X.trim($)}catch(Y){if(Y.name!=="SyntaxError")throw Y}return(G||JSON.stringify)($)}var U1,_0;var i0=H(()=>{O();l();E0();q0();V4();a();F1();U1={transitional:Z0,adapter:["xhr","http","fetch"],transformRequest:[function(W,G){let Y=G.getContentType()||"",z=Y.indexOf("application/json")>-1,Z=X.isObject(W);if(Z&&X.isHTMLForm(W))W=new FormData(W);if(X.isFormData(W))return z?JSON.stringify(n0(W)):W;if(X.isArrayBuffer(W)||X.isBuffer(W)||X.isStream(W)||X.isFile(W)||X.isBlob(W)||X.isReadableStream(W))return W;if(X.isArrayBufferView(W))return W.buffer;if(X.isURLSearchParams(W))return G.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),W.toString();let N;if(Z){if(Y.indexOf("application/x-www-form-urlencoded")>-1)return H1(W,this.formSerializer).toString();if((N=X.isFileList(W))||Y.indexOf("multipart/form-data")>-1){let I=this.env&&this.env.FormData;return X0(N?{"files[]":W}:W,I&&new I,this.formSerializer)}}if(Z||z)return G.setContentType("application/json",!1),b5(W);return W}],transformResponse:[function(W){let G=this.transitional||U1.transitional,Y=G&&G.forcedJSONParsing,z=this.responseType==="json";if(X.isResponse(W)||X.isReadableStream(W))return W;if(W&&X.isString(W)&&(Y&&!this.responseType||z)){let Q=!(G&&G.silentJSONParsing)&&z;try{return JSON.parse(W,this.parseReviver)}catch(N){if(Q){if(N.name==="SyntaxError")throw L.from(N,L.ERR_BAD_RESPONSE,this,null,this.response);throw N}}}return W}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:S.classes.FormData,Blob:S.classes.Blob},validateStatus:function(W){return W>=200&&W<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],($)=>{U1.headers[$]={}});_0=U1});var j5,P4=($)=>{let W={},G,Y,z;return $&&$.split(`
1
+ import{f5 as F5,g5 as t4,h5 as G6,j5 as z6}from"./cli-0.2.0-5rm5wnp9.mjs";import{cma as o1,fma as T5,gma as H}from"./cli-0.2.0-b8hs09nv.mjs";function D0($,W){return function(){return $.apply(W,arguments)}}var Z1=()=>{};function R0($){return $!==null&&!F0($)&&$.constructor!==null&&!F0($.constructor)&&d($.constructor.isBuffer)&&$.constructor.isBuffer($)}function y2($){let W;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)W=ArrayBuffer.isView($);else W=$&&$.buffer&&n1($.buffer);return W}function c2(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}function T0($,W,{allOwnKeys:G=!1}={}){if($===null||typeof $>"u")return;let Y,z;if(typeof $!=="object")$=[$];if(U0($))for(Y=0,z=$.length;Y<z;Y++)W.call(null,$[Y],Y,$);else{if(R0($))return;let Z=G?Object.getOwnPropertyNames($):Object.keys($),Q=Z.length,N;for(Y=0;Y<Q;Y++)N=Z[Y],W.call(null,$[N],N,$)}}function t1($,W){if(R0($))return null;W=W.toLowerCase();let G=Object.keys($),Y=G.length,z;while(Y-- >0)if(z=G[Y],W===z.toLowerCase())return z;return null}function N1(){let{caseless:$,skipUndefined:W}=a1(this)&&this||{},G={},Y=(z,Z)=>{if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return;let Q=$&&t1(G,Z)||Z;if(u0(G[Q])&&u0(z))G[Q]=N1(G[Q],z);else if(u0(z))G[Q]=N1({},z);else if(U0(z))G[Q]=z.slice();else if(!W||!F0(z))G[Q]=z};for(let z=0,Z=arguments.length;z<Z;z++)arguments[z]&&T0(arguments[z],Y);return G}function B5($){return!!($&&d($.append)&&$[p1]==="FormData"&&$[g0])}var k2,J1,g0,p1,d0,t=($)=>{return $=$.toLowerCase(),(W)=>d0(W)===$},c0=($)=>(W)=>typeof W===$,U0,F0,n1,x2,d,i1,O0=($)=>$!==null&&typeof $==="object",b2=($)=>$===!0||$===!1,u0=($)=>{if(d0($)!=="object")return!1;let W=J1($);return(W===null||W===Object.prototype||Object.getPrototypeOf(W)===null)&&!(p1 in $)&&!(g0 in $)},j2=($)=>{if(!O0($)||R0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(W){return!1}},m2,v2,h2=($)=>{return!!($&&typeof $.uri<"u")},f2=($)=>$&&typeof $.getParts<"u",u2,g2,d2=($)=>O0($)&&d($.pipe),d1,c1,l2=($)=>{let W;return $&&(c1&&$ instanceof c1||d($.append)&&((W=d0($))==="formdata"||W==="object"&&d($.toString)&&$.toString()==="[object FormData]"))},p2,n2,i2,t2,a2,s2=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},K0,a1=($)=>!F0($)&&$!==K0,r2=($,W,G,{allOwnKeys:Y}={})=>{return T0(W,(z,Z)=>{if(G&&d(z))Object.defineProperty($,Z,{value:D0(z,G),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,Z,{value:z,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:Y}),$},o2=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},e2=($,W,G,Y)=>{$.prototype=Object.create(W.prototype,Y),Object.defineProperty($.prototype,"constructor",{value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{value:W.prototype}),G&&Object.assign($.prototype,G)},$5=($,W,G,Y)=>{let z,Z,Q,N={};if(W=W||{},$==null)return W;do{z=Object.getOwnPropertyNames($),Z=z.length;while(Z-- >0)if(Q=z[Z],(!Y||Y(Q,$,W))&&!N[Q])W[Q]=$[Q],N[Q]=!0;$=G!==!1&&J1($)}while($&&(!G||G($,W))&&$!==Object.prototype);return W},W5=($,W,G)=>{if($=String($),G===void 0||G>$.length)G=$.length;G-=W.length;let Y=$.indexOf(W,G);return Y!==-1&&Y===G},Y5=($)=>{if(!$)return null;if(U0($))return $;let W=$.length;if(!i1(W))return null;let G=Array(W);while(W-- >0)G[W]=$[W];return G},G5,z5=($,W)=>{let Y=($&&$[g0]).call($),z;while((z=Y.next())&&!z.done){let Z=z.value;W.call($,Z[0],Z[1])}},Q5=($,W)=>{let G,Y=[];while((G=$.exec(W))!==null)Y.push(G);return Y},X5,Z5=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(G,Y,z){return Y.toUpperCase()+z})},l1,N5,s1=($,W)=>{let G=Object.getOwnPropertyDescriptors($),Y={};T0(G,(z,Z)=>{let Q;if((Q=W(z,Z,$))!==!1)Y[Z]=Q||z}),Object.defineProperties($,Y)},J5=($)=>{s1($,(W,G)=>{if(d($)&&["arguments","caller","callee"].indexOf(G)!==-1)return!1;let Y=$[G];if(!d(Y))return;if(W.enumerable=!1,"writable"in W){W.writable=!1;return}if(!W.set)W.set=()=>{throw Error("Can not rewrite read-only method '"+G+"'")}})},M5=($,W)=>{let G={},Y=(z)=>{z.forEach((Z)=>{G[Z]=!0})};return U0($)?Y($):Y(String($).split(W)),G},K5=()=>{},I5=($,W)=>{return $!=null&&Number.isFinite($=+$)?$:W},L5=($)=>{let W=[,,,,,,,,,,],G=(Y,z)=>{if(O0(Y)){if(W.indexOf(Y)>=0)return;if(R0(Y))return Y;if(!("toJSON"in Y)){W[z]=Y;let Z=U0(Y)?[]:{};return T0(Y,(Q,N)=>{let I=G(Q,z+1);!F0(I)&&(Z[N]=I)}),W[z]=void 0,Z}}return Y};return G($,0)},V5,P5=($)=>$&&(O0($)||d($))&&d($.then)&&d($.catch),r1,w5,H5=($)=>$!=null&&d($[g0]),X;var O=H(()=>{Z1();({toString:k2}=Object.prototype),{getPrototypeOf:J1}=Object,{iterator:g0,toStringTag:p1}=Symbol,d0=(($)=>(W)=>{let G=k2.call(W);return $[G]||($[G]=G.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:U0}=Array,F0=c0("undefined");n1=t("ArrayBuffer");x2=c0("string"),d=c0("function"),i1=c0("number"),m2=t("Date"),v2=t("File"),u2=t("Blob"),g2=t("FileList");d1=c2(),c1=typeof d1.FormData<"u"?d1.FormData:void 0,p2=t("URLSearchParams"),[n2,i2,t2,a2]=["ReadableStream","Request","Response","Headers"].map(t);K0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();G5=(($)=>{return(W)=>{return $&&W instanceof $}})(typeof Uint8Array<"u"&&J1(Uint8Array)),X5=t("HTMLFormElement"),l1=(({hasOwnProperty:$})=>(W,G)=>$.call(W,G))(Object.prototype),N5=t("RegExp");V5=t("AsyncFunction"),r1=(($,W)=>{if($)return setImmediate;return W?((G,Y)=>{return K0.addEventListener("message",({source:z,data:Z})=>{if(z===K0&&Z===G)Y.length&&Y.shift()()},!1),(z)=>{Y.push(z),K0.postMessage(G,"*")}})(`axios@${Math.random()}`,[]):(G)=>setTimeout(G)})(typeof setImmediate==="function",d(K0.postMessage)),w5=typeof queueMicrotask<"u"?queueMicrotask.bind(K0):typeof process<"u"&&process.nextTick||r1,X={isArray:U0,isArrayBuffer:n1,isBuffer:R0,isFormData:l2,isArrayBufferView:y2,isString:x2,isNumber:i1,isBoolean:b2,isObject:O0,isPlainObject:u0,isEmptyObject:j2,isReadableStream:n2,isRequest:i2,isResponse:t2,isHeaders:a2,isUndefined:F0,isDate:m2,isFile:v2,isReactNativeBlob:h2,isReactNative:f2,isBlob:u2,isRegExp:N5,isFunction:d,isStream:d2,isURLSearchParams:p2,isTypedArray:G5,isFileList:g2,forEach:T0,merge:N1,extend:r2,trim:s2,stripBOM:o2,inherits:e2,toFlatObject:$5,kindOf:d0,kindOfTest:t,endsWith:W5,toArray:Y5,forEachEntry:z5,matchAll:Q5,isHTMLForm:X5,hasOwnProperty:l1,hasOwnProp:l1,reduceDescriptors:s1,freezeMethods:J5,toObjectSet:M5,toCamelCase:Z5,noop:K5,toFiniteNumber:I5,findKey:t1,global:K0,isContextDefined:a1,isSpecCompliantForm:B5,toJSONObject:L5,isAsyncFn:V5,isThenable:P5,setImmediate:r1,asap:w5,isIterable:H5}});var h,L;var l=H(()=>{O();h=class h extends Error{static from($,W,G,Y,z,Z){let Q=new h($.message,W||$.code,G,Y,z);if(Q.cause=$,Q.name=$.name,$.status!=null&&Q.status==null)Q.status=$.status;return Z&&Object.assign(Q,Z),Q}constructor($,W,G,Y,z){super($);if(Object.defineProperty(this,"message",{value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,W&&(this.code=W),G&&(this.config=G),Y&&(this.request=Y),z)this.response=z,this.status=z.status}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}};h.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";h.ERR_BAD_OPTION="ERR_BAD_OPTION";h.ECONNABORTED="ECONNABORTED";h.ETIMEDOUT="ETIMEDOUT";h.ERR_NETWORK="ERR_NETWORK";h.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";h.ERR_DEPRECATED="ERR_DEPRECATED";h.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";h.ERR_BAD_REQUEST="ERR_BAD_REQUEST";h.ERR_CANCELED="ERR_CANCELED";h.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";h.ERR_INVALID_URL="ERR_INVALID_URL";L=h});var e1,l0;var M1=H(()=>{e1=o1(F5(),1),l0=e1.default});function I1($){return X.isPlainObject($)||X.isArray($)}function $4($){return X.endsWith($,"[]")?$.slice(0,-2):$}function K1($,W,G){if(!$)return W;return $.concat(W).map(function(z,Z){return z=$4(z),!G&&Z?"["+z+"]":z}).join(G?".":"")}function U5($){return X.isArray($)&&!$.some(I1)}function S5($,W,G){if(!X.isObject($))throw TypeError("target must be an object");W=W||new(l0||FormData),G=X.toFlatObject(G,{metaTokens:!0,dots:!1,indexes:!1},!1,function(U,B){return!X.isUndefined(B[U])});let Y=G.metaTokens,z=G.visitor||M,Z=G.dots,Q=G.indexes,I=(G.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(W);if(!X.isFunction(z))throw TypeError("visitor must be a function");function J(K){if(K===null)return"";if(X.isDate(K))return K.toISOString();if(X.isBoolean(K))return K.toString();if(!I&&X.isBlob(K))throw new L("Blob is not supported. Use a Buffer instead.");if(X.isArrayBuffer(K)||X.isTypedArray(K))return I&&typeof Blob==="function"?new Blob([K]):Buffer.from(K);return K}function M(K,U,B){let D=K;if(X.isReactNative(W)&&X.isReactNativeBlob(K))return W.append(K1(B,U,Z),J(K)),!1;if(K&&!B&&typeof K==="object"){if(X.endsWith(U,"{}"))U=Y?U:U.slice(0,-2),K=JSON.stringify(K);else if(X.isArray(K)&&U5(K)||(X.isFileList(K)||X.endsWith(U,"[]"))&&(D=X.toArray(K)))return U=$4(U),D.forEach(function(C,y){!(X.isUndefined(C)||C===null)&&W.append(Q===!0?K1([U],y,Z):Q===null?U:U+"[]",J(C))}),!1}if(I1(K))return!0;return W.append(K1(B,U,Z),J(K)),!1}let V=[],P=Object.assign(_5,{defaultVisitor:M,convertValue:J,isVisitable:I1});function w(K,U){if(X.isUndefined(K))return;if(V.indexOf(K)!==-1)throw Error("Circular reference detected in "+U.join("."));V.push(K),X.forEach(K,function(D,q){if((!(X.isUndefined(D)||D===null)&&z.call(W,D,X.isString(q)?q.trim():q,U,P))===!0)w(D,U?U.concat(q):[q])}),V.pop()}if(!X.isObject($))throw TypeError("data must be an object");return w($),W}var _5,X0;var q0=H(()=>{O();l();M1();_5=X.toFlatObject(X,{},null,function(W){return/^is[A-Z]/.test(W)});X0=S5});function W4($){let W={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent($).replace(/[!'()~]|%20|%00/g,function(Y){return W[Y]})}function Y4($,W){this._pairs=[],$&&X0($,this,W)}var G4,z4;var Q4=H(()=>{q0();G4=Y4.prototype;G4.append=function(W,G){this._pairs.push([W,G])};G4.toString=function(W){let G=W?function(Y){return W.call(this,Y,W4)}:W4;return this._pairs.map(function(z){return G(z[0])+"="+G(z[1])},"").join("&")};z4=Y4});function C5($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function I0($,W,G){if(!W)return $;let Y=G&&G.encode||C5,z=X.isFunction(G)?{serialize:G}:G,Z=z&&z.serialize,Q;if(Z)Q=Z(W,z);else Q=X.isURLSearchParams(W)?W.toString():new z4(W,z).toString(Y);if(Q){let N=$.indexOf("#");if(N!==-1)$=$.slice(0,N);$+=($.indexOf("?")===-1?"?":"&")+Q}return $}var p0=H(()=>{O();Q4()});class X4{constructor(){this.handlers=[]}use($,W,G){return this.handlers.push({fulfilled:$,rejected:W,synchronous:G?G.synchronous:!1,runWhen:G?G.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){X.forEach(this.handlers,function(G){if(G!==null)$(G)})}}var B1;var Z4=H(()=>{O();B1=X4});var Z0;var E0=H(()=>{Z0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0}});import D5 from"url";var N4;var J4=H(()=>{N4=D5.URLSearchParams});import R5 from"crypto";var L1="abcdefghijklmnopqrstuvwxyz",M4="0123456789",K4,O5=($=16,W=K4.ALPHA_DIGIT)=>{let G="",{length:Y}=W,z=new Uint32Array($);R5.randomFillSync(z);for(let Z=0;Z<$;Z++)G+=W[z[Z]%Y];return G},I4;var B4=H(()=>{J4();M1();K4={DIGIT:M4,ALPHA:L1,ALPHA_DIGIT:L1+L1.toUpperCase()+M4},I4={isNode:!0,classes:{URLSearchParams:N4,FormData:l0,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:K4,generateString:O5,protocols:["http","https","file","data"]}});var w1={};T5(w1,{origin:()=>A5,navigator:()=>V1,hasStandardBrowserWebWorkerEnv:()=>E5,hasStandardBrowserEnv:()=>q5,hasBrowserEnv:()=>P1});var P1,V1,q5,E5,A5;var L4=H(()=>{P1=typeof window<"u"&&typeof document<"u",V1=typeof navigator==="object"&&navigator||void 0,q5=P1&&(!V1||["ReactNative","NativeScript","NS"].indexOf(V1.product)<0),E5=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),A5=P1&&window.location.href||"http://localhost"});var S;var a=H(()=>{B4();L4();S={...w1,...I4}});function H1($,W){return X0($,new S.classes.URLSearchParams,{visitor:function(G,Y,z,Z){if(S.isNode&&X.isBuffer(G))return this.append(Y,G.toString("base64")),!1;return Z.defaultVisitor.apply(this,arguments)},...W})}var V4=H(()=>{O();q0();a()});function k5($){return X.matchAll(/\w+|\[(\w*)]/g,$).map((W)=>{return W[0]==="[]"?"":W[1]||W[0]})}function y5($){let W={},G=Object.keys($),Y,z=G.length,Z;for(Y=0;Y<z;Y++)Z=G[Y],W[Z]=$[Z];return W}function x5($){function W(G,Y,z,Z){let Q=G[Z++];if(Q==="__proto__")return!0;let N=Number.isFinite(+Q),I=Z>=G.length;if(Q=!Q&&X.isArray(z)?z.length:Q,I){if(X.hasOwnProp(z,Q))z[Q]=[z[Q],Y];else z[Q]=Y;return!N}if(!z[Q]||!X.isObject(z[Q]))z[Q]=[];if(W(G,Y,z[Q],Z)&&X.isArray(z[Q]))z[Q]=y5(z[Q]);return!N}if(X.isFormData($)&&X.isFunction($.entries)){let G={};return X.forEachEntry($,(Y,z)=>{W(k5(Y),z,G,0)}),G}return null}var n0;var F1=H(()=>{O();n0=x5});function b5($,W,G){if(X.isString($))try{return(W||JSON.parse)($),X.trim($)}catch(Y){if(Y.name!=="SyntaxError")throw Y}return(G||JSON.stringify)($)}var U1,_0;var i0=H(()=>{O();l();E0();q0();V4();a();F1();U1={transitional:Z0,adapter:["xhr","http","fetch"],transformRequest:[function(W,G){let Y=G.getContentType()||"",z=Y.indexOf("application/json")>-1,Z=X.isObject(W);if(Z&&X.isHTMLForm(W))W=new FormData(W);if(X.isFormData(W))return z?JSON.stringify(n0(W)):W;if(X.isArrayBuffer(W)||X.isBuffer(W)||X.isStream(W)||X.isFile(W)||X.isBlob(W)||X.isReadableStream(W))return W;if(X.isArrayBufferView(W))return W.buffer;if(X.isURLSearchParams(W))return G.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),W.toString();let N;if(Z){if(Y.indexOf("application/x-www-form-urlencoded")>-1)return H1(W,this.formSerializer).toString();if((N=X.isFileList(W))||Y.indexOf("multipart/form-data")>-1){let I=this.env&&this.env.FormData;return X0(N?{"files[]":W}:W,I&&new I,this.formSerializer)}}if(Z||z)return G.setContentType("application/json",!1),b5(W);return W}],transformResponse:[function(W){let G=this.transitional||U1.transitional,Y=G&&G.forcedJSONParsing,z=this.responseType==="json";if(X.isResponse(W)||X.isReadableStream(W))return W;if(W&&X.isString(W)&&(Y&&!this.responseType||z)){let Q=!(G&&G.silentJSONParsing)&&z;try{return JSON.parse(W,this.parseReviver)}catch(N){if(Q){if(N.name==="SyntaxError")throw L.from(N,L.ERR_BAD_RESPONSE,this,null,this.response);throw N}}}return W}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:S.classes.FormData,Blob:S.classes.Blob},validateStatus:function(W){return W>=200&&W<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],($)=>{U1.headers[$]={}});_0=U1});var j5,P4=($)=>{let W={},G,Y,z;return $&&$.split(`
2
2
  `).forEach(function(Q){if(z=Q.indexOf(":"),G=Q.substring(0,z).trim().toLowerCase(),Y=Q.substring(z+1).trim(),!G||W[G]&&j5[G])return;if(G==="set-cookie")if(W[G])W[G].push(Y);else W[G]=[Y];else W[G]=W[G]?W[G]+", "+Y:Y}),W};var w4=H(()=>{O();j5=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"])});function F4($,W){if($===!1||$==null)return;if(X.isArray($)){$.forEach((G)=>F4(G,W));return}if(!m5(String($)))throw Error(`Invalid character in header content ["${W}"]`)}function A0($){return $&&String($).trim().toLowerCase()}function v5($){let W=$.length;while(W>0){let G=$.charCodeAt(W-1);if(G!==10&&G!==13)break;W-=1}return W===$.length?$:$.slice(0,W)}function t0($){if($===!1||$==null)return $;return X.isArray($)?$.map(t0):v5(String($))}function h5($){let W=Object.create(null),G=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,Y;while(Y=G.exec($))W[Y[1]]=Y[2];return W}function _1($,W,G,Y,z){if(X.isFunction(Y))return Y.call(this,W,G);if(z)W=G;if(!X.isString(W))return;if(X.isString(Y))return W.indexOf(Y)!==-1;if(X.isRegExp(Y))return Y.test(W)}function u5($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(W,G,Y)=>{return G.toUpperCase()+Y})}function g5($,W){let G=X.toCamelCase(" "+W);["get","set","has"].forEach((Y)=>{Object.defineProperty($,Y+G,{value:function(z,Z,Q){return this[Y].call(this,W,z,Z,Q)},configurable:!0})})}var H4,m5=($)=>!/[\r\n]/.test($),f5=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),k0,T;var o=H(()=>{O();w4();H4=Symbol("internals");k0=class k0{constructor($){$&&this.set($)}set($,W,G){let Y=this;function z(Q,N,I){let J=A0(N);if(!J)throw Error("header name must be a non-empty string");let M=X.findKey(Y,J);if(!M||Y[M]===void 0||I===!0||I===void 0&&Y[M]!==!1)F4(Q,N),Y[M||N]=t0(Q)}let Z=(Q,N)=>X.forEach(Q,(I,J)=>z(I,J,N));if(X.isPlainObject($)||$ instanceof this.constructor)Z($,W);else if(X.isString($)&&($=$.trim())&&!f5($))Z(P4($),W);else if(X.isObject($)&&X.isIterable($)){let Q={},N,I;for(let J of $){if(!X.isArray(J))throw TypeError("Object iterator must return a key-value pair");Q[I=J[0]]=(N=Q[I])?X.isArray(N)?[...N,J[1]]:[N,J[1]]:J[1]}Z(Q,W)}else $!=null&&z(W,$,G);return this}get($,W){if($=A0($),$){let G=X.findKey(this,$);if(G){let Y=this[G];if(!W)return Y;if(W===!0)return h5(Y);if(X.isFunction(W))return W.call(this,Y,G);if(X.isRegExp(W))return W.exec(Y);throw TypeError("parser must be boolean|regexp|function")}}}has($,W){if($=A0($),$){let G=X.findKey(this,$);return!!(G&&this[G]!==void 0&&(!W||_1(this,this[G],G,W)))}return!1}delete($,W){let G=this,Y=!1;function z(Z){if(Z=A0(Z),Z){let Q=X.findKey(G,Z);if(Q&&(!W||_1(G,G[Q],Q,W)))delete G[Q],Y=!0}}if(X.isArray($))$.forEach(z);else z($);return Y}clear($){let W=Object.keys(this),G=W.length,Y=!1;while(G--){let z=W[G];if(!$||_1(this,this[z],z,$,!0))delete this[z],Y=!0}return Y}normalize($){let W=this,G={};return X.forEach(this,(Y,z)=>{let Z=X.findKey(G,z);if(Z){W[Z]=t0(Y),delete W[z];return}let Q=$?u5(z):String(z).trim();if(Q!==z)delete W[z];W[Q]=t0(Y),G[Q]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let W=Object.create(null);return X.forEach(this,(G,Y)=>{G!=null&&G!==!1&&(W[Y]=$&&X.isArray(G)?G.join(", "):G)}),W}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,W])=>$+": "+W).join(`
3
3
  `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...W){let G=new this($);return W.forEach((Y)=>G.set(Y)),G}static accessor($){let G=(this[H4]=this[H4]={accessors:{}}).accessors,Y=this.prototype;function z(Z){let Q=A0(Z);if(!G[Q])g5(Y,Z),G[Q]=!0}return X.isArray($)?$.forEach(z):z($),this}};k0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(k0.prototype,({value:$},W)=>{let G=W[0].toUpperCase()+W.slice(1);return{get:()=>$,set(Y){this[G]=Y}}});X.freezeMethods(k0);T=k0});function y0($,W){let G=this||_0,Y=W||G,z=T.from(Y.headers),Z=Y.data;return X.forEach($,function(N){Z=N.call(G,Z,z.normalize(),W?W.status:void 0)}),z.normalize(),Z}var U4=H(()=>{O();i0();o()});function x0($){return!!($&&$.__CANCEL__)}var S1=()=>{};var _4,p;var B0=H(()=>{l();_4=class _4 extends L{constructor($,W,G){super($==null?"canceled":$,L.ERR_CANCELED,W,G);this.name="CanceledError",this.__CANCEL__=!0}};p=_4});function e($,W,G){let Y=G.config.validateStatus;if(!G.status||!Y||Y(G.status))$(G);else W(new L("Request failed with status code "+G.status,[L.ERR_BAD_REQUEST,L.ERR_BAD_RESPONSE][Math.floor(G.status/100)-4],G.config,G.request,G))}var a0=H(()=>{l()});function C1($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var S4=()=>{};function D1($,W){return W?$.replace(/\/?\/$/,"")+"/"+W.replace(/^\/+/,""):$}var C4=()=>{};function L0($,W,G){let Y=!C1(W);if($&&(Y||G==!1))return D1($,W);return W}var s0=H(()=>{S4();C4()});var V0="1.15.0";var r0=()=>{};function b0($){let W=/^([-+\w]{1,25})(:?\/\/|:)/.exec($);return W&&W[1]||""}var R1=()=>{};function O1($,W,G){let Y=G&&G.Blob||S.classes.Blob,z=b0($);if(W===void 0&&Y)W=!0;if(z==="data"){$=z.length?$.slice(z.length+1):$;let Z=d5.exec($);if(!Z)throw new L("Invalid URL",L.ERR_INVALID_URL);let Q=Z[1],N=Z[2],I=Z[3],J=Buffer.from(decodeURIComponent(I),N?"base64":"utf8");if(W){if(!Y)throw new L("Blob is not supported",L.ERR_NOT_SUPPORT);return new Y([J],{type:Q})}return J}throw new L("Unsupported protocol "+z,L.ERR_NOT_SUPPORT)}var d5;var D4=H(()=>{l();R1();a();d5=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/});import c5 from"stream";var T1,R4,q1;var O4=H(()=>{O();T1=Symbol("internals");R4=class R4 extends c5.Transform{constructor($){$=X.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(G,Y)=>{return!X.isUndefined(Y[G])});super({readableHighWaterMark:$.chunkSize});let W=this[T1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(G)=>{if(G==="progress"){if(!W.isCaptured)W.isCaptured=!0}})}_read($){let W=this[T1];if(W.onReadCallback)W.onReadCallback();return super._read($)}_transform($,W,G){let Y=this[T1],z=Y.maxRate,Z=this.readableHighWaterMark,Q=Y.timeWindow,N=1000/Q,I=z/N,J=Y.minChunkSize!==!1?Math.max(Y.minChunkSize,I*0.01):0,M=(P,w)=>{let K=Buffer.byteLength(P);if(Y.bytesSeen+=K,Y.bytes+=K,Y.isCaptured&&this.emit("progress",Y.bytesSeen),this.push(P))process.nextTick(w);else Y.onReadCallback=()=>{Y.onReadCallback=null,process.nextTick(w)}},V=(P,w)=>{let K=Buffer.byteLength(P),U=null,B=Z,D,q=0;if(z){let C=Date.now();if(!Y.ts||(q=C-Y.ts)>=Q)Y.ts=C,D=I-Y.bytes,Y.bytes=D<0?-D:0,q=0;D=I-Y.bytes}if(z){if(D<=0)return setTimeout(()=>{w(null,P)},Q-q);if(D<B)B=D}if(B&&K>B&&K-B>J)U=P.subarray(B),P=P.subarray(0,B);M(P,U?()=>{process.nextTick(w,null,U)}:w)};V($,function P(w,K){if(w)return G(w);if(K)V(K,P);else G(null)})}};q1=R4});var T4,l5=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[T4])yield*$[T4]();else yield $},o0;var E1=H(()=>{({asyncIterator:T4}=Symbol),o0=l5});import p5 from"util";import{Readable as n5}from"stream";class q4{constructor($,W){let{escapeName:G}=this.constructor,Y=X.isString(W),z=`Content-Disposition: form-data; name="${G($)}"${!Y&&W.name?`; filename="${G(W.name)}"`:""}${P0}`;if(Y)W=j0.encode(String(W).replace(/\r?\n|\r\n?/g,P0));else z+=`Content-Type: ${W.type||"application/octet-stream"}${P0}`;this.headers=j0.encode(z+P0),this.contentLength=Y?W.byteLength:W.size,this.size=this.headers.byteLength+this.contentLength+a5,this.name=$,this.value=W}async*encode(){yield this.headers;let{value:$}=this;if(X.isTypedArray($))yield $;else yield*o0($);yield t5}static escapeName($){return String($).replace(/[\r\n"]/g,(W)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[W])}}var i5,j0,P0=`\r
4
4
  `,t5,a5=2,s5=($,W,G)=>{let{tag:Y="form-data-boundary",size:z=25,boundary:Z=Y+"-"+S.generateString(z,i5)}=G||{};if(!X.isFormData($))throw TypeError("FormData instance required");if(Z.length<1||Z.length>70)throw Error("boundary must be 10-70 characters long");let Q=j0.encode("--"+Z+P0),N=j0.encode("--"+Z+"--"+P0),I=N.byteLength,J=Array.from($.entries()).map(([V,P])=>{let w=new q4(V,P);return I+=w.size,w});I+=Q.byteLength*J.length,I=X.toFiniteNumber(I);let M={"Content-Type":`multipart/form-data; boundary=${Z}`};if(Number.isFinite(I))M["Content-Length"]=I;return W&&W(M),n5.from(async function*(){for(let V of J)yield Q,yield*V.encode();yield N}())},E4;var A4=H(()=>{O();E1();a();i5=S.ALPHABET.ALPHA_DIGIT+"-_",j0=typeof TextEncoder==="function"?new TextEncoder:new p5.TextEncoder,t5=j0.encode(P0);E4=s5});import r5 from"stream";var k4,y4;var x4=H(()=>{k4=class k4 extends r5.Transform{__transform($,W,G){this.push($),G()}_transform($,W,G){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let Y=Buffer.alloc(2);Y[0]=120,Y[1]=156,this.push(Y,W)}}this.__transform($,W,G)}};y4=k4});var o5=($,W)=>{return X.isAsyncFn($)?function(...G){let Y=G.pop();$.apply(this,G).then((z)=>{try{W?Y(null,...W(z)):Y(null,z)}catch(Z){Y(Z)}},Y)}:$},b4;var j4=H(()=>{O();b4=o5});function A1($){let W;try{W=new URL($)}catch(Z){return!1}let G=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!G)return!1;if(G==="*")return!0;let Y=Number.parseInt(W.port,10)||e5[W.protocol.split(":",1)[0]]||0,z=m4(W.hostname.toLowerCase());return G.split(/[\s,]+/).some((Z)=>{if(!Z)return!1;let[Q,N]=$6(Z);if(Q=m4(Q),!Q)return!1;if(N&&N!==Y)return!1;if(Q.charAt(0)==="*")Q=Q.slice(1);if(Q.charAt(0)===".")return z.endsWith(Q);return z===Q})}var e5,$6=($)=>{let W=$,G=0;if(W.charAt(0)==="["){let Z=W.indexOf("]");if(Z!==-1){let Q=W.slice(1,Z),N=W.slice(Z+1);if(N.charAt(0)===":"&&/^\d+$/.test(N.slice(1)))G=Number.parseInt(N.slice(1),10);return[Q,G]}}let Y=W.indexOf(":"),z=W.lastIndexOf(":");if(Y!==-1&&Y===z&&/^\d+$/.test(W.slice(z+1)))G=Number.parseInt(W.slice(z+1),10),W=W.slice(0,z);return[W,G]},m4=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return $.replace(/\.+$/,"")};var v4=H(()=>{e5={http:80,https:443,ws:80,wss:443,ftp:21}});function W6($,W){$=$||10;let G=Array($),Y=Array($),z=0,Z=0,Q;return W=W!==void 0?W:1000,function(I){let J=Date.now(),M=Y[Z];if(!Q)Q=J;G[z]=I,Y[z]=J;let V=Z,P=0;while(V!==z)P+=G[V++],V=V%$;if(z=(z+1)%$,z===Z)Z=(Z+1)%$;if(J-Q<W)return;let w=M&&J-M;return w?Math.round(P*1000/w):void 0}}var h4;var f4=H(()=>{h4=W6});function Y6($,W){let G=0,Y=1000/W,z,Z,Q=(J,M=Date.now())=>{if(G=M,z=null,Z)clearTimeout(Z),Z=null;$(...J)};return[(...J)=>{let M=Date.now(),V=M-G;if(V>=Y)Q(J,M);else if(z=J,!Z)Z=setTimeout(()=>{Z=null,Q(z)},Y-V)},()=>z&&Q(z)]}var u4;var g4=H(()=>{u4=Y6});var Y0=($,W,G=3)=>{let Y=0,z=h4(50,250);return u4((Z)=>{let Q=Z.loaded,N=Z.lengthComputable?Z.total:void 0,I=Q-Y,J=z(I),M=Q<=N;Y=Q;let V={loaded:Q,total:N,progress:N?Q/N:void 0,bytes:I,rate:J?J:void 0,estimated:J&&N&&M?(N-Q)/J:void 0,event:Z,lengthComputable:N!=null,[W?"download":"upload"]:!0};$(V)},G)},S0=($,W)=>{let G=$!=null;return[(Y)=>W[0]({lengthComputable:G,total:$,loaded:Y}),W[1]]},C0=($)=>(...W)=>X.asap(()=>$(...W));var e0=H(()=>{f4();g4();O()});function k1($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let W=$.indexOf(",");if(W<0)return 0;let G=$.slice(5,W),Y=$.slice(W+1);if(/;base64/i.test(G)){let{length:Z,length:Q}=Y;for(let P=0;P<Q;P++)if(Y.charCodeAt(P)===37&&P+2<Q){let w=Y.charCodeAt(P+1),K=Y.charCodeAt(P+2);if((w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102)&&(K>=48&&K<=57||K>=65&&K<=70||K>=97&&K<=102))Z-=2,P+=2}let N=0,I=Q-1,J=(P)=>P>=2&&Y.charCodeAt(P-2)===37&&Y.charCodeAt(P-1)===51&&(Y.charCodeAt(P)===68||Y.charCodeAt(P)===100);if(I>=0){if(Y.charCodeAt(I)===61)N++,I--;else if(J(I))N++,I-=3}if(N===1&&I>=0){if(Y.charCodeAt(I)===61)N++;else if(J(I))N++}let V=Math.floor(Z/4)*3-(N||0);return V>0?V:0}return Buffer.byteLength(Y,"utf8")}var d4=()=>{};import Q6 from"http";import X6 from"https";import a4 from"http2";import s4 from"util";import J0 from"zlib";import N0 from"stream";import{EventEmitter as Z6}from"events";class o4{constructor(){this.sessions=Object.create(null)}getSession($,W){W=Object.assign({sessionTimeout:1000},W);let G=this.sessions[$];if(G){let J=G.length;for(let M=0;M<J;M++){let[V,P]=G[M];if(!V.destroyed&&!V.closed&&s4.isDeepStrictEqual(P,W))return V}}let Y=a4.connect($,W),z,Z=()=>{if(z)return;z=!0;let J=G,M=J.length,V=M;while(V--)if(J[V][0]===Y){if(M===1)delete this.sessions[$];else J.splice(V,1);if(!Y.closed)Y.close();return}},Q=Y.request,{sessionTimeout:N}=W;if(N!=null){let J,M=0;Y.request=function(){let V=Q.apply(this,arguments);if(M++,J)clearTimeout(J),J=null;return V.once("close",()=>{if(!--M)J=setTimeout(()=>{J=null,Z()},N)}),V}}Y.once("close",Z);let I=[Y,W];return G?G.push(I):G=this.sessions[$]=[I],Y}}function B6($,W){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.config)$.beforeRedirects.config($,W)}function e4($,W,G){let Y=W;if(!Y&&Y!==!1){let z=t4(G);if(z){if(!A1(G))Y=new URL(z)}}if(Y){if(Y.username)Y.auth=(Y.username||"")+":"+(Y.password||"");if(Y.auth){if(Boolean(Y.auth.username||Y.auth.password))Y.auth=(Y.auth.username||"")+":"+(Y.auth.password||"");else if(typeof Y.auth==="object")throw new L("Invalid proxy authorization",L.ERR_BAD_OPTION,{proxy:Y});let Q=Buffer.from(Y.auth,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+Q}$.headers.host=$.hostname+($.port?":"+$.port:"");let z=Y.hostname||Y.host;if($.hostname=z,$.host=z,$.port=Y.port,$.path=G,Y.protocol)$.protocol=Y.protocol.includes(":")?Y.protocol:`${Y.protocol}:`}$.beforeRedirects.proxy=function(Z){e4(Z,W,Z.href)}}var r4,c4,N6,l4,J6,M6,K6,p4,n4=($,[W,G])=>{return $.on("end",G).on("error",G),W},I6,L6,V6=($)=>{return new Promise((W,G)=>{let Y,z,Z=(I,J)=>{if(z)return;z=!0,Y&&Y(I,J)},Q=(I)=>{Z(I),W(I)},N=(I)=>{Z(I,!0),G(I)};$(Q,N,(I)=>Y=I).catch(N)})},P6=({address:$,family:W})=>{if(!X.isString($))throw TypeError("address must be a string");return{address:$,family:W||($.indexOf(".")<0?6:4)}},i4=($,W)=>P6(X.isObject($)?$:{address:$,family:W}),w6,$2;var W2=H(()=>{O();a0();s0();p0();G6();r0();E0();l();B0();a();D4();o();O4();A4();E1();x4();j4();v4();e0();d4();r4=o1(z6(),1),c4={flush:J0.constants.Z_SYNC_FLUSH,finishFlush:J0.constants.Z_SYNC_FLUSH},N6={flush:J0.constants.BROTLI_OPERATION_FLUSH,finishFlush:J0.constants.BROTLI_OPERATION_FLUSH},l4=X.isFunction(J0.createBrotliDecompress),{http:J6,https:M6}=r4.default,K6=/https:?/,p4=S.protocols.map(($)=>{return $+":"});I6=new o4;L6=typeof process<"u"&&X.kindOf(process)==="process",w6={request($,W){let G=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:Y,headers:z}=$,Z=I6.getSession(G,Y),{HTTP2_HEADER_SCHEME:Q,HTTP2_HEADER_METHOD:N,HTTP2_HEADER_PATH:I,HTTP2_HEADER_STATUS:J}=a4.constants,M={[Q]:$.protocol.replace(":",""),[N]:$.method,[I]:$.path};X.forEach(z,(P,w)=>{w.charAt(0)!==":"&&(M[w]=P)});let V=Z.request(M);return V.once("response",(P)=>{let w=V;P=Object.assign({},P);let K=P[J];delete P[J],w.headers=P,w.statusCode=+K,W(w)}),V}},$2=L6&&function(W){return V6(async function(Y,z,Z){let{data:Q,lookup:N,family:I,httpVersion:J=1,http2Options:M}=W,{responseType:V,responseEncoding:P}=W,w=W.method.toUpperCase(),K,U=!1,B;if(J=+J,Number.isNaN(J))throw TypeError(`Invalid protocol version: '${W.httpVersion}' is not a number`);if(J!==1&&J!==2)throw TypeError(`Unsupported protocol version '${J}'`);let D=J===2;if(N){let _=b4(N,(F)=>X.isArray(F)?F:[F]);N=(F,R,c)=>{_(F,R,(A,i,Q0)=>{if(A)return c(A);let g=X.isArray(i)?i.map((f0)=>i4(f0)):[i4(i,Q0)];R.all?c(A,g):c(A,g[0].address,g[0].family)})}}let q=new Z6;function C(_){try{q.emit("abort",!_||_.type?new p(null,W,B):_)}catch(F){console.warn("emit error",F)}}q.once("abort",z);let y=()=>{if(W.cancelToken)W.cancelToken.unsubscribe(C);if(W.signal)W.signal.removeEventListener("abort",C);q.removeAllListeners()};if(W.cancelToken||W.signal){if(W.cancelToken&&W.cancelToken.subscribe(C),W.signal)W.signal.aborted?C():W.signal.addEventListener("abort",C)}Z((_,F)=>{if(K=!0,F){U=!0,y();return}let{data:R}=_;if(R instanceof N0.Readable||R instanceof N0.Duplex){let c=N0.finished(R,()=>{c(),y()})}else y()});let f=L0(W.baseURL,W.url,W.allowAbsoluteUrls),E=new URL(f,S.hasBrowserEnv?S.origin:void 0),x=E.protocol||p4[0];if(x==="data:"){if(W.maxContentLength>-1){let F=String(W.url||f||"");if(k1(F)>W.maxContentLength)return z(new L("maxContentLength size of "+W.maxContentLength+" exceeded",L.ERR_BAD_RESPONSE,W))}let _;if(w!=="GET")return e(Y,z,{status:405,statusText:"method not allowed",headers:{},config:W});try{_=O1(W.url,V==="blob",{Blob:W.env&&W.env.Blob})}catch(F){throw L.from(F,L.ERR_BAD_REQUEST,W)}if(V==="text"){if(_=_.toString(P),!P||P==="utf8")_=X.stripBOM(_)}else if(V==="stream")_=N0.Readable.from(_);return e(Y,z,{data:_,status:200,statusText:"OK",headers:new T,config:W})}if(p4.indexOf(x)===-1)return z(new L("Unsupported protocol "+x,L.ERR_BAD_REQUEST,W));let b=T.from(W.headers).normalize();b.set("User-Agent","axios/"+V0,!1);let{onUploadProgress:G0,onDownloadProgress:w0}=W,M0=W.maxRate,$0=void 0,r=void 0;if(X.isSpecCompliantForm(Q)){let _=b.getContentType(/boundary=([-_\w\d]{10,70})/i);Q=E4(Q,(F)=>{b.set(F)},{tag:`axios-${V0}-boundary`,boundary:_&&_[1]||void 0})}else if(X.isFormData(Q)&&X.isFunction(Q.getHeaders)){if(b.set(Q.getHeaders()),!b.hasContentLength())try{let _=await s4.promisify(Q.getLength).call(Q);Number.isFinite(_)&&_>=0&&b.setContentLength(_)}catch(_){}}else if(X.isBlob(Q)||X.isFile(Q))Q.size&&b.setContentType(Q.type||"application/octet-stream"),b.setContentLength(Q.size||0),Q=N0.Readable.from(o0(Q));else if(Q&&!X.isStream(Q)){if(Buffer.isBuffer(Q));else if(X.isArrayBuffer(Q))Q=Buffer.from(new Uint8Array(Q));else if(X.isString(Q))Q=Buffer.from(Q,"utf-8");else return z(new L("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",L.ERR_BAD_REQUEST,W));if(b.setContentLength(Q.length,!1),W.maxBodyLength>-1&&Q.length>W.maxBodyLength)return z(new L("Request body larger than maxBodyLength limit",L.ERR_BAD_REQUEST,W))}let W0=X.toFiniteNumber(b.getContentLength());if(X.isArray(M0))$0=M0[0],r=M0[1];else $0=r=M0;if(Q&&(G0||$0)){if(!X.isStream(Q))Q=N0.Readable.from(Q,{objectMode:!1});Q=N0.pipeline([Q,new q1({maxRate:X.toFiniteNumber($0)})],X.noop),G0&&Q.on("progress",n4(Q,S0(W0,Y0(C0(G0),!1,3))))}let z0=void 0;if(W.auth){let _=W.auth.username||"",F=W.auth.password||"";z0=_+":"+F}if(!z0&&E.username){let{username:_,password:F}=E;z0=_+":"+F}z0&&b.delete("authorization");let j;try{j=I0(E.pathname+E.search,W.params,W.paramsSerializer).replace(/^\?/,"")}catch(_){let F=Error(_.message);return F.config=W,F.url=W.url,F.exists=!0,z(F)}b.set("Accept-Encoding","gzip, compress, deflate"+(l4?", br":""),!1);let m={path:j,method:w,headers:b.toJSON(),agents:{http:W.httpAgent,https:W.httpsAgent},auth:z0,protocol:x,family:I,beforeRedirect:B6,beforeRedirects:{},http2Options:M};if(!X.isUndefined(N)&&(m.lookup=N),W.socketPath)m.socketPath=W.socketPath;else m.hostname=E.hostname.startsWith("[")?E.hostname.slice(1,-1):E.hostname,m.port=E.port,e4(m,W.proxy,x+"//"+E.hostname+(E.port?":"+E.port:"")+m.path);let u,H0=K6.test(m.protocol);if(m.agent=H0?W.httpsAgent:W.httpAgent,D)u=w6;else if(W.transport)u=W.transport;else if(W.maxRedirects===0)u=H0?X6:Q6;else{if(W.maxRedirects)m.maxRedirects=W.maxRedirects;if(W.beforeRedirect)m.beforeRedirects.config=W.beforeRedirect;u=H0?M6:J6}if(W.maxBodyLength>-1)m.maxBodyLength=W.maxBodyLength;else m.maxBodyLength=1/0;if(W.insecureHTTPParser)m.insecureHTTPParser=W.insecureHTTPParser;if(B=u.request(m,function(F){if(B.destroyed)return;let R=[F],c=X.toFiniteNumber(F.headers["content-length"]);if(w0||r){let g=new q1({maxRate:X.toFiniteNumber(r)});w0&&g.on("progress",n4(g,S0(c,Y0(C0(w0),!0,3)))),R.push(g)}let A=F,i=F.req||B;if(W.decompress!==!1&&F.headers["content-encoding"]){if(w==="HEAD"||F.statusCode===204)delete F.headers["content-encoding"];switch((F.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":R.push(J0.createUnzip(c4)),delete F.headers["content-encoding"];break;case"deflate":R.push(new y4),R.push(J0.createUnzip(c4)),delete F.headers["content-encoding"];break;case"br":if(l4)R.push(J0.createBrotliDecompress(N6)),delete F.headers["content-encoding"]}}A=R.length>1?N0.pipeline(R,X.noop):R[0];let Q0={status:F.statusCode,statusText:F.statusMessage,headers:new T(F.headers),config:W,request:i};if(V==="stream")Q0.data=A,e(Y,z,Q0);else{let g=[],f0=0;A.on("data",function(v){if(g.push(v),f0+=v.length,W.maxContentLength>-1&&f0>W.maxContentLength)U=!0,A.destroy(),C(new L("maxContentLength size of "+W.maxContentLength+" exceeded",L.ERR_BAD_RESPONSE,W,i))}),A.on("aborted",function(){if(U)return;let v=new L("stream has been aborted",L.ERR_BAD_RESPONSE,W,i);A.destroy(v),z(v)}),A.on("error",function(v){if(B.destroyed)return;z(L.from(v,null,W,i))}),A.on("end",function(){try{let v=g.length===1?g[0]:Buffer.concat(g);if(V!=="arraybuffer"){if(v=v.toString(P),!P||P==="utf8")v=X.stripBOM(v)}Q0.data=v}catch(v){return z(L.from(v,null,W,Q0.request,Q0))}e(Y,z,Q0)})}q.once("abort",(g)=>{if(!A.destroyed)A.emit("error",g),A.destroy()})}),q.once("abort",(_)=>{if(B.close)B.close();else B.destroy(_)}),B.on("error",function(F){z(L.from(F,null,W,B))}),B.on("socket",function(F){F.setKeepAlive(!0,60000)}),W.timeout){let _=parseInt(W.timeout,10);if(Number.isNaN(_)){C(new L("error trying to parse `config.timeout` to int",L.ERR_BAD_OPTION_VALUE,W,B));return}B.setTimeout(_,function(){if(K)return;let R=W.timeout?"timeout of "+W.timeout+"ms exceeded":"timeout exceeded",c=W.transitional||Z0;if(W.timeoutErrorMessage)R=W.timeoutErrorMessage;C(new L(R,c.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,W,B))})}else B.setTimeout(0);if(X.isStream(Q)){let _=!1,F=!1;Q.on("end",()=>{_=!0}),Q.once("error",(R)=>{F=!0,B.destroy(R)}),Q.on("close",()=>{if(!_&&!F)C(new p("Request stream has been aborted",W,B))}),Q.pipe(B)}else Q&&B.write(Q),B.end()})}});var Y2;var G2=H(()=>{a();Y2=S.hasStandardBrowserEnv?(($,W)=>(G)=>{return G=new URL(G,S.origin),$.protocol===G.protocol&&$.host===G.host&&(W||$.port===G.port)})(new URL(S.origin),S.navigator&&/(msie|trident)/i.test(S.navigator.userAgent)):()=>!0});var z2;var Q2=H(()=>{O();a();z2=S.hasStandardBrowserEnv?{write($,W,G,Y,z,Z,Q){if(typeof document>"u")return;let N=[`${$}=${encodeURIComponent(W)}`];if(X.isNumber(G))N.push(`expires=${new Date(G).toUTCString()}`);if(X.isString(Y))N.push(`path=${Y}`);if(X.isString(z))N.push(`domain=${z}`);if(Z===!0)N.push("secure");if(X.isString(Q))N.push(`SameSite=${Q}`);document.cookie=N.join("; ")},read($){if(typeof document>"u")return null;let W=document.cookie.match(new RegExp("(?:^|; )"+$+"=([^;]*)"));return W?decodeURIComponent(W[1]):null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function s($,W){W=W||{};let G={};function Y(J,M,V,P){if(X.isPlainObject(J)&&X.isPlainObject(M))return X.merge.call({caseless:P},J,M);else if(X.isPlainObject(M))return X.merge({},M);else if(X.isArray(M))return M.slice();return M}function z(J,M,V,P){if(!X.isUndefined(M))return Y(J,M,V,P);else if(!X.isUndefined(J))return Y(void 0,J,V,P)}function Z(J,M){if(!X.isUndefined(M))return Y(void 0,M)}function Q(J,M){if(!X.isUndefined(M))return Y(void 0,M);else if(!X.isUndefined(J))return Y(void 0,J)}function N(J,M,V){if(V in W)return Y(J,M);else if(V in $)return Y(void 0,J)}let I={url:Z,method:Z,data:Z,baseURL:Q,transformRequest:Q,transformResponse:Q,paramsSerializer:Q,timeout:Q,timeoutMessage:Q,withCredentials:Q,withXSRFToken:Q,adapter:Q,responseType:Q,xsrfCookieName:Q,xsrfHeaderName:Q,onUploadProgress:Q,onDownloadProgress:Q,decompress:Q,maxContentLength:Q,maxBodyLength:Q,beforeRedirect:Q,transport:Q,httpAgent:Q,httpsAgent:Q,cancelToken:Q,socketPath:Q,responseEncoding:Q,validateStatus:N,headers:(J,M,V)=>z(X2(J),X2(M),V,!0)};return X.forEach(Object.keys({...$,...W}),function(M){if(M==="__proto__"||M==="constructor"||M==="prototype")return;let V=X.hasOwnProp(I,M)?I[M]:z,P=V($[M],W[M],M);X.isUndefined(P)&&V!==N||(G[M]=P)}),G}var X2=($)=>$ instanceof T?{...$}:$;var $1=H(()=>{O();o()});var W1=($)=>{let W=s({},$),{data:G,withXSRFToken:Y,xsrfHeaderName:z,xsrfCookieName:Z,headers:Q,auth:N}=W;if(W.headers=Q=T.from(Q),W.url=I0(L0(W.baseURL,W.url,W.allowAbsoluteUrls),$.params,$.paramsSerializer),N)Q.set("Authorization","Basic "+btoa((N.username||"")+":"+(N.password?unescape(encodeURIComponent(N.password)):"")));if(X.isFormData(G)){if(S.hasStandardBrowserEnv||S.hasStandardBrowserWebWorkerEnv)Q.setContentType(void 0);else if(X.isFunction(G.getHeaders)){let I=G.getHeaders(),J=["content-type","content-length"];Object.entries(I).forEach(([M,V])=>{if(J.includes(M.toLowerCase()))Q.set(M,V)})}}if(S.hasStandardBrowserEnv){if(Y&&X.isFunction(Y)&&(Y=Y(W)),Y||Y!==!1&&Y2(W.url)){let I=z&&Z&&z2.read(Z);if(I)Q.set(z,I)}}return W};var y1=H(()=>{a();O();G2();Q2();s0();$1();o();p0()});var H6,Z2;var N2=H(()=>{O();a0();E0();l();B0();R1();a();o();e0();y1();H6=typeof XMLHttpRequest<"u",Z2=H6&&function($){return new Promise(function(G,Y){let z=W1($),Z=z.data,Q=T.from(z.headers).normalize(),{responseType:N,onUploadProgress:I,onDownloadProgress:J}=z,M,V,P,w,K;function U(){w&&w(),K&&K(),z.cancelToken&&z.cancelToken.unsubscribe(M),z.signal&&z.signal.removeEventListener("abort",M)}let B=new XMLHttpRequest;B.open(z.method.toUpperCase(),z.url,!0),B.timeout=z.timeout;function D(){if(!B)return;let C=T.from("getAllResponseHeaders"in B&&B.getAllResponseHeaders()),f={data:!N||N==="text"||N==="json"?B.responseText:B.response,status:B.status,statusText:B.statusText,headers:C,config:$,request:B};e(function(x){G(x),U()},function(x){Y(x),U()},f),B=null}if("onloadend"in B)B.onloadend=D;else B.onreadystatechange=function(){if(!B||B.readyState!==4)return;if(B.status===0&&!(B.responseURL&&B.responseURL.indexOf("file:")===0))return;setTimeout(D)};if(B.onabort=function(){if(!B)return;Y(new L("Request aborted",L.ECONNABORTED,$,B)),B=null},B.onerror=function(y){let f=y&&y.message?y.message:"Network Error",E=new L(f,L.ERR_NETWORK,$,B);E.event=y||null,Y(E),B=null},B.ontimeout=function(){let y=z.timeout?"timeout of "+z.timeout+"ms exceeded":"timeout exceeded",f=z.transitional||Z0;if(z.timeoutErrorMessage)y=z.timeoutErrorMessage;Y(new L(y,f.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,$,B)),B=null},Z===void 0&&Q.setContentType(null),"setRequestHeader"in B)X.forEach(Q.toJSON(),function(y,f){B.setRequestHeader(f,y)});if(!X.isUndefined(z.withCredentials))B.withCredentials=!!z.withCredentials;if(N&&N!=="json")B.responseType=z.responseType;if(J)[P,K]=Y0(J,!0),B.addEventListener("progress",P);if(I&&B.upload)[V,w]=Y0(I),B.upload.addEventListener("progress",V),B.upload.addEventListener("loadend",w);if(z.cancelToken||z.signal){if(M=(C)=>{if(!B)return;Y(!C||C.type?new p(null,$,B):C),B.abort(),B=null},z.cancelToken&&z.cancelToken.subscribe(M),z.signal)z.signal.aborted?M():z.signal.addEventListener("abort",M)}let q=b0(z.url);if(q&&S.protocols.indexOf(q)===-1){Y(new L("Unsupported protocol "+q+":",L.ERR_BAD_REQUEST,$));return}B.send(Z||null)})}});var F6=($,W)=>{let{length:G}=$=$?$.filter(Boolean):[];if(W||G){let Y=new AbortController,z,Z=function(J){if(!z){z=!0,N();let M=J instanceof Error?J:this.reason;Y.abort(M instanceof L?M:new p(M instanceof Error?M.message:M))}},Q=W&&setTimeout(()=>{Q=null,Z(new L(`timeout of ${W}ms exceeded`,L.ETIMEDOUT))},W),N=()=>{if($)Q&&clearTimeout(Q),Q=null,$.forEach((J)=>{J.unsubscribe?J.unsubscribe(Z):J.removeEventListener("abort",Z)}),$=null};$.forEach((J)=>J.addEventListener("abort",Z));let{signal:I}=Y;return I.unsubscribe=()=>X.asap(N),I}},J2;var M2=H(()=>{B0();l();O();J2=F6});var U6=function*($,W){let G=$.byteLength;if(!W||G<W){yield $;return}let Y=0,z;while(Y<G)z=Y+W,yield $.slice(Y,z),Y=z},_6=async function*($,W){for await(let G of S6($))yield*U6(G,W)},S6=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let W=$.getReader();try{for(;;){let{done:G,value:Y}=await W.read();if(G)break;yield Y}}finally{await W.cancel()}},x1=($,W,G,Y)=>{let z=_6($,W),Z=0,Q,N=(I)=>{if(!Q)Q=!0,Y&&Y(I)};return new ReadableStream({async pull(I){try{let{done:J,value:M}=await z.next();if(J){N(),I.close();return}let V=M.byteLength;if(G){let P=Z+=V;G(P)}I.enqueue(new Uint8Array(M))}catch(J){throw N(J),J}},cancel(I){return N(I),z.return()}},{highWaterMark:2})};var K2=()=>{};var I2=65536,Y1,C6,B2,L2,V2=($,...W)=>{try{return!!$(...W)}catch(G){return!1}},D6=($)=>{$=X.merge.call({skipUndefined:!0},C6,$);let{fetch:W,Request:G,Response:Y}=$,z=W?Y1(W):typeof fetch==="function",Z=Y1(G),Q=Y1(Y);if(!z)return!1;let N=z&&Y1(B2),I=z&&(typeof L2==="function"?((K)=>(U)=>K.encode(U))(new L2):async(K)=>new Uint8Array(await new G(K).arrayBuffer())),J=Z&&N&&V2(()=>{let K=!1,U=new B2,B=new G(S.origin,{body:U,method:"POST",get duplex(){return K=!0,"half"}}).headers.has("Content-Type");return U.cancel(),K&&!B}),M=Q&&N&&V2(()=>X.isReadableStream(new Y("").body)),V={stream:M&&((K)=>K.body)};z&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((K)=>{!V[K]&&(V[K]=(U,B)=>{let D=U&&U[K];if(D)return D.call(U);throw new L(`Response type '${K}' is not supported`,L.ERR_NOT_SUPPORT,B)})})})();let P=async(K)=>{if(K==null)return 0;if(X.isBlob(K))return K.size;if(X.isSpecCompliantForm(K))return(await new G(S.origin,{method:"POST",body:K}).arrayBuffer()).byteLength;if(X.isArrayBufferView(K)||X.isArrayBuffer(K))return K.byteLength;if(X.isURLSearchParams(K))K=K+"";if(X.isString(K))return(await I(K)).byteLength},w=async(K,U)=>{let B=X.toFiniteNumber(K.getContentLength());return B==null?P(U):B};return async(K)=>{let{url:U,method:B,data:D,signal:q,cancelToken:C,timeout:y,onDownloadProgress:f,onUploadProgress:E,responseType:x,headers:b,withCredentials:G0="same-origin",fetchOptions:w0}=W1(K),M0=W||fetch;x=x?(x+"").toLowerCase():"text";let $0=J2([q,C&&C.toAbortSignal()],y),r=null,W0=$0&&$0.unsubscribe&&(()=>{$0.unsubscribe()}),z0;try{if(E&&J&&B!=="get"&&B!=="head"&&(z0=await w(b,D))!==0){let F=new G(U,{method:"POST",body:D,duplex:"half"}),R;if(X.isFormData(D)&&(R=F.headers.get("content-type")))b.setContentType(R);if(F.body){let[c,A]=S0(z0,Y0(C0(E)));D=x1(F.body,I2,c,A)}}if(!X.isString(G0))G0=G0?"include":"omit";let j=Z&&"credentials"in G.prototype,m={...w0,signal:$0,method:B.toUpperCase(),headers:b.normalize().toJSON(),body:D,duplex:"half",credentials:j?G0:void 0};r=Z&&new G(U,m);let u=await(Z?M0(r,w0):M0(U,m)),H0=M&&(x==="stream"||x==="response");if(M&&(f||H0&&W0)){let F={};["status","statusText","headers"].forEach((i)=>{F[i]=u[i]});let R=X.toFiniteNumber(u.headers.get("content-length")),[c,A]=f&&S0(R,Y0(C0(f),!0))||[];u=new Y(x1(u.body,I2,c,()=>{A&&A(),W0&&W0()}),F)}x=x||"text";let _=await V[X.findKey(V,x)||"text"](u,K);return!H0&&W0&&W0(),await new Promise((F,R)=>{e(F,R,{data:_,headers:T.from(u.headers),status:u.status,statusText:u.statusText,config:K,request:r})})}catch(j){if(W0&&W0(),j&&j.name==="TypeError"&&/Load failed|fetch/i.test(j.message))throw Object.assign(new L("Network Error",L.ERR_NETWORK,K,r,j&&j.response),{cause:j.cause||j});throw L.from(j,j&&j.code,K,r,j&&j.response)}}},R6,b1=($)=>{let W=$&&$.env||{},{fetch:G,Request:Y,Response:z}=W,Z=[Y,z,G],Q=Z.length,N=Q,I,J,M=R6;while(N--)I=Z[N],J=M.get(I),J===void 0&&M.set(I,J=N?new Map:D6(W)),M=J;return J},O8;var P2=H(()=>{a();O();l();M2();K2();o();e0();y1();a0();({isFunction:Y1}=X),C6=(({Request:$,Response:W})=>({Request:$,Response:W}))(X.global),{ReadableStream:B2,TextEncoder:L2}=X.global,R6=new Map,O8=b1()});function q6($,W){$=X.isArray($)?$:[$];let{length:G}=$,Y,z,Z={};for(let Q=0;Q<G;Q++){Y=$[Q];let N;if(z=Y,!T6(Y)){if(z=j1[(N=String(Y)).toLowerCase()],z===void 0)throw new L(`Unknown adapter '${N}'`)}if(z&&(X.isFunction(z)||(z=z.get(W))))break;Z[N||"#"+Q]=z}if(!z){let Q=Object.entries(Z).map(([I,J])=>`adapter ${I} `+(J===!1?"is not supported by the environment":"is not available in the build")),N=G?Q.length>1?`since :
@@ -8,4 +8,4 @@ import{a5 as F5,b5 as t4,c5 as G6,e5 as z6}from"./cli-0.1.15-20tvdt2s.mjs";impor
8
8
  `),Q=Z===-1?-1:z.indexOf(`
9
9
  `,Z+1),N=Q===-1?"":z.slice(Q+1);if(!String(G.stack).endsWith(N))G.stack+=`
10
10
  `+z}}catch(Z){}}throw G}}_request($,W){if(typeof $==="string")W=W||{},W.url=$;else W=$||{};W=s(this.defaults,W);let{transitional:G,paramsSerializer:Y,headers:z}=W;if(G!==void 0)m0.assertOptions(G,{silentJSONParsing:n.transitional(n.boolean),forcedJSONParsing:n.transitional(n.boolean),clarifyTimeoutError:n.transitional(n.boolean),legacyInterceptorReqResOrdering:n.transitional(n.boolean)},!1);if(Y!=null)if(X.isFunction(Y))W.paramsSerializer={serialize:Y};else m0.assertOptions(Y,{encode:n.function,serialize:n.function},!0);if(W.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)W.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else W.allowAbsoluteUrls=!0;m0.assertOptions(W,{baseUrl:n.spelling("baseURL"),withXsrfToken:n.spelling("withXSRFToken")},!0),W.method=(W.method||this.defaults.method||"get").toLowerCase();let Z=z&&X.merge(z.common,z[W.method]);z&&X.forEach(["delete","get","head","post","put","patch","common"],(w)=>{delete z[w]}),W.headers=T.concat(Z,z);let Q=[],N=!0;this.interceptors.request.forEach(function(K){if(typeof K.runWhen==="function"&&K.runWhen(W)===!1)return;N=N&&K.synchronous;let U=W.transitional||Z0;if(U&&U.legacyInterceptorReqResOrdering)Q.unshift(K.fulfilled,K.rejected);else Q.push(K.fulfilled,K.rejected)});let I=[];this.interceptors.response.forEach(function(K){I.push(K.fulfilled,K.rejected)});let J,M=0,V;if(!N){let w=[z1.bind(this),void 0];w.unshift(...Q),w.push(...I),V=w.length,J=Promise.resolve(W);while(M<V)J=J.then(w[M++],w[M++]);return J}V=Q.length;let P=W;while(M<V){let w=Q[M++],K=Q[M++];try{P=w(P)}catch(U){K.call(this,U);break}}try{J=z1.call(this,P)}catch(w){return Promise.reject(w)}M=0,V=I.length;while(M<V)J=J.then(I[M++],I[M++]);return J}getUri($){$=s(this.defaults,$);let W=L0($.baseURL,$.url,$.allowAbsoluteUrls);return I0(W,$.params,$.paramsSerializer)}}var n,h0;var _2=H(()=>{O();p0();Z4();H2();$1();s0();U2();o();E0();n=m0.validators;X.forEach(["delete","get","head","options"],function(W){v0.prototype[W]=function(G,Y){return this.request(s(Y||{},{method:W,url:G,data:(Y||{}).data}))}});X.forEach(["post","put","patch"],function(W){function G(Y){return function(Z,Q,N){return this.request(s(N||{},{method:W,headers:Y?{"Content-Type":"multipart/form-data"}:{},url:Z,data:Q}))}}v0.prototype[W]=G(),v0.prototype[W+"Form"]=G(!0)});h0=v0});class h1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let W;this.promise=new Promise(function(z){W=z});let G=this;this.promise.then((Y)=>{if(!G._listeners)return;let z=G._listeners.length;while(z-- >0)G._listeners[z](Y);G._listeners=null}),this.promise.then=(Y)=>{let z,Z=new Promise((Q)=>{G.subscribe(Q),z=Q}).then(Y);return Z.cancel=function(){G.unsubscribe(z)},Z},$(function(z,Z,Q){if(G.reason)return;G.reason=new p(z,Z,Q),W(G.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($){if(this.reason){$(this.reason);return}if(this._listeners)this._listeners.push($);else this._listeners=[$]}unsubscribe($){if(!this._listeners)return;let W=this._listeners.indexOf($);if(W!==-1)this._listeners.splice(W,1)}toAbortSignal(){let $=new AbortController,W=(G)=>{$.abort(G)};return this.subscribe(W),$.signal.unsubscribe=()=>this.unsubscribe(W),$.signal}static source(){let $;return{token:new h1(function(Y){$=Y}),cancel:$}}}var S2;var C2=H(()=>{B0();S2=h1});function f1($){return function(G){return $.apply(null,G)}}var D2=()=>{};function u1($){return X.isObject($)&&$.isAxiosError===!0}var R2=H(()=>{O()});var g1,O2;var T2=H(()=>{g1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(g1).forEach(([$,W])=>{g1[W]=$});O2=g1});function q2($){let W=new h0($),G=D0(h0.prototype.request,W);return X.extend(G,h0.prototype,W,{allOwnKeys:!0}),X.extend(G,W,null,{allOwnKeys:!0}),G.create=function(z){return q2(s($,z))},G}var k,E2;var A2=H(()=>{O();Z1();_2();$1();i0();F1();B0();C2();S1();r0();q0();l();D2();R2();o();m1();T2();k=q2(_0);k.Axios=h0;k.CanceledError=p;k.CancelToken=S2;k.isCancel=x0;k.VERSION=V0;k.toFormData=X0;k.AxiosError=L;k.Cancel=k.CanceledError;k.all=function(W){return Promise.all(W)};k.spread=f1;k.isAxiosError=u1;k.mergeConfig=s;k.AxiosHeaders=T;k.formToJSON=($)=>n0(X.isHTMLForm($)?new FormData($):$);k.getAdapter=G1.getAdapter;k.HttpStatusCode=O2;k.default=k;E2=k});var CW,DW,RW,OW,TW,qW,EW,AW,kW,yW,xW,bW,jW,mW,vW,hW;var A6=H(()=>{A2();({Axios:CW,AxiosError:DW,CanceledError:RW,isCancel:OW,CancelToken:TW,VERSION:qW,all:EW,Cancel:AW,isAxiosError:kW,spread:yW,toFormData:xW,AxiosHeaders:bW,HttpStatusCode:jW,formToJSON:mW,getAdapter:vW,mergeConfig:hW}=E2)});
11
- export{E2 as K4,CW as L4,DW as M4,RW as N4,OW as O4,TW as P4,qW as Q4,EW as R4,AW as S4,kW as T4,yW as U4,xW as V4,bW as W4,jW as X4,mW as Y4,vW as Z4,hW as _4,A6 as $4};
11
+ export{E2 as P4,CW as Q4,DW as R4,RW as S4,OW as T4,TW as U4,qW as V4,EW as W4,AW as X4,kW as Y4,yW as Z4,xW as _4,bW as $4,jW as a5,mW as b5,vW as c5,hW as d5,A6 as e5};
@@ -0,0 +1,2 @@
1
+ import{aaa as B,d6 as A,i6 as L,taa as N}from"./cli-0.2.0-g2h1t6ke.mjs";import{Bfa as z,Efa as K}from"./cli-0.2.0-e9xwjcb3.mjs";import{fma as I,gma as J}from"./cli-0.2.0-b8hs09nv.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=B().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)A(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{N();K();L()});
2
+ export{P as rP,Q as sP,R as tP,H as uP,U as vP,V as wP,W as xP};
@@ -0,0 +1,2 @@
1
+ import{Dg as a,Eg as l}from"./cli-0.2.0-xwrvt7rw.mjs";import{Fg as m,Gg as c}from"./cli-0.2.0-mg45dmsv.mjs";import{JV as e,LV as n}from"./cli-0.2.0-fgsp4dtv.mjs";import{gma as s}from"./cli-0.2.0-b8hs09nv.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
2
+ export{f as Bg,g as Cg};
@@ -0,0 +1,17 @@
1
+ import{ema as y,hma as b}from"./cli-0.2.0-b8hs09nv.mjs";var P0=y(($w)=>{$w.HttpAuthLocation=void 0;(function($){$.HEADER="header",$.QUERY="query"})($w.HttpAuthLocation||($w.HttpAuthLocation={}));$w.HttpApiKeyAuthLocation=void 0;(function($){$.HEADER="header",$.QUERY="query"})($w.HttpApiKeyAuthLocation||($w.HttpApiKeyAuthLocation={}));$w.EndpointURLScheme=void 0;(function($){$.HTTP="http",$.HTTPS="https"})($w.EndpointURLScheme||($w.EndpointURLScheme={}));$w.AlgorithmId=void 0;(function($){$.MD5="md5",$.CRC32="crc32",$.CRC32C="crc32c",$.SHA1="sha1",$.SHA256="sha256"})($w.AlgorithmId||($w.AlgorithmId={}));var rT=($)=>{let T=[];if($.sha256!==void 0)T.push({algorithmId:()=>$w.AlgorithmId.SHA256,checksumConstructor:()=>$.sha256});if($.md5!=null)T.push({algorithmId:()=>$w.AlgorithmId.MD5,checksumConstructor:()=>$.md5});return{addChecksumAlgorithm(w){T.push(w)},checksumAlgorithms(){return T}}},lT=($)=>{let T={};return $.checksumAlgorithms().forEach((w)=>{T[w.algorithmId()]=w.checksumConstructor()}),T},oT=($)=>{return rT($)},aT=($)=>{return lT($)};$w.FieldPosition=void 0;(function($){$[$.HEADER=0]="HEADER",$[$.TRAILER=1]="TRAILER"})($w.FieldPosition||($w.FieldPosition={}));var eT="__smithy_context";$w.IniSectionType=void 0;(function($){$.PROFILE="profile",$.SSO_SESSION="sso-session",$.SERVICES="services"})($w.IniSectionType||($w.IniSectionType={}));$w.RequestHandlerProtocol=void 0;(function($){$.HTTP_0_9="http/0.9",$.HTTP_1_0="http/1.0",$.TDS_8_0="tds/8.0"})($w.RequestHandlerProtocol||($w.RequestHandlerProtocol={}));$w.SMITHY_CONTEXT_KEY=eT;$w.getDefaultClientConfiguration=oT;$w.resolveDefaultRuntimeConfig=aT});var D0=y((sw)=>{var m=P0(),Iw=h1(),g=($,T)=>{let w=[];if($)w.push($);if(T)for(let P of T)w.push(P);return w},c=($,T)=>{return`${$||"anonymous"}${T&&T.length>0?` (a.k.a. ${T.join(",")})`:""}`},I0=()=>{let $=[],T=[],w=!1,P=new Set,I=(X)=>X.sort((J,f)=>l1[f.step]-l1[J.step]||o1[f.priority||"normal"]-o1[J.priority||"normal"]),h=(X)=>{let J=!1,f=(G)=>{let Q=g(G.name,G.aliases);if(Q.includes(X)){J=!0;for(let Z of Q)P.delete(Z);return!1}return!0};return $=$.filter(f),T=T.filter(f),J},U=(X)=>{let J=!1,f=(G)=>{if(G.middleware===X){J=!0;for(let Q of g(G.name,G.aliases))P.delete(Q);return!1}return!0};return $=$.filter(f),T=T.filter(f),J},A=(X)=>{return $.forEach((J)=>{X.add(J.middleware,{...J})}),T.forEach((J)=>{X.addRelativeTo(J.middleware,{...J})}),X.identifyOnResolve?.(Y.identifyOnResolve()),X},_=(X)=>{let J=[];return X.before.forEach((f)=>{if(f.before.length===0&&f.after.length===0)J.push(f);else J.push(..._(f))}),J.push(X),X.after.reverse().forEach((f)=>{if(f.before.length===0&&f.after.length===0)J.push(f);else J.push(..._(f))}),J},M=(X=!1)=>{let J=[],f=[],G={};return $.forEach((Z)=>{let R={...Z,before:[],after:[]};for(let V of g(R.name,R.aliases))G[V]=R;J.push(R)}),T.forEach((Z)=>{let R={...Z,before:[],after:[]};for(let V of g(R.name,R.aliases))G[V]=R;f.push(R)}),f.forEach((Z)=>{if(Z.toMiddleware){let R=G[Z.toMiddleware];if(R===void 0){if(X)return;throw Error(`${Z.toMiddleware} is not found when adding ${c(Z.name,Z.aliases)} middleware ${Z.relation} ${Z.toMiddleware}`)}if(Z.relation==="after")R.after.push(Z);if(Z.relation==="before")R.before.push(Z)}}),I(J).map(_).reduce((Z,R)=>{return Z.push(...R),Z},[])},Y={add:(X,J={})=>{let{name:f,override:G,aliases:Q}=J,Z={step:"initialize",priority:"normal",middleware:X,...J},R=g(f,Q);if(R.length>0){if(R.some((V)=>P.has(V))){if(!G)throw Error(`Duplicate middleware name '${c(f,Q)}'`);for(let V of R){let L=$.findIndex((T0)=>T0.name===V||T0.aliases?.some((l0)=>l0===V));if(L===-1)continue;let W=$[L];if(W.step!==Z.step||Z.priority!==W.priority)throw Error(`"${c(W.name,W.aliases)}" middleware with ${W.priority} priority in ${W.step} step cannot be overridden by "${c(f,Q)}" middleware with ${Z.priority} priority in ${Z.step} step.`);$.splice(L,1)}}for(let V of R)P.add(V)}$.push(Z)},addRelativeTo:(X,J)=>{let{name:f,override:G,aliases:Q}=J,Z={middleware:X,...J},R=g(f,Q);if(R.length>0){if(R.some((V)=>P.has(V))){if(!G)throw Error(`Duplicate middleware name '${c(f,Q)}'`);for(let V of R){let L=T.findIndex((T0)=>T0.name===V||T0.aliases?.some((l0)=>l0===V));if(L===-1)continue;let W=T[L];if(W.toMiddleware!==Z.toMiddleware||W.relation!==Z.relation)throw Error(`"${c(W.name,W.aliases)}" middleware ${W.relation} "${W.toMiddleware}" middleware cannot be overridden by "${c(f,Q)}" middleware ${Z.relation} "${Z.toMiddleware}" middleware.`);T.splice(L,1)}}for(let V of R)P.add(V)}T.push(Z)},clone:()=>A(I0()),use:(X)=>{X.applyToStack(Y)},remove:(X)=>{if(typeof X==="string")return h(X);else return U(X)},removeByTag:(X)=>{let J=!1,f=(G)=>{let{tags:Q,name:Z,aliases:R}=G;if(Q&&Q.includes(X)){let V=g(Z,R);for(let L of V)P.delete(L);return J=!0,!1}return!0};return $=$.filter(f),T=T.filter(f),J},concat:(X)=>{let J=A(I0());return J.use(X),J.identifyOnResolve(w||J.identifyOnResolve()||(X.identifyOnResolve?.()??!1)),J},applyToStack:A,identify:()=>{return M(!0).map((X)=>{let J=X.step??X.relation+" "+X.toMiddleware;return c(X.name,X.aliases)+" - "+J})},identifyOnResolve(X){if(typeof X==="boolean")w=X;return w},resolve:(X,J)=>{for(let f of M().map((G)=>G.middleware).reverse())X=f(X,J);if(w)console.log(Y.identify());return X}};return Y},l1={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},o1={high:3,normal:2,low:1},hw=($)=>$[m.SMITHY_CONTEXT_KEY]||($[m.SMITHY_CONTEXT_KEY]={}),Uw=($)=>{if(typeof $==="function")return $;let T=Promise.resolve($);return()=>T},Aw=($)=>()=>{throw Error($)},_w=($)=>()=>Promise.reject($),W0=()=>{let $=new WeakSet;return(T,w)=>{if(typeof w==="object"&&w!==null){if($.has(w))return"[Circular]";$.add(w)}return w}},Mw=($)=>{return new Promise((T)=>setTimeout(T,$*1000))},$$={minDelay:2,maxDelay:120};sw.WaiterState=void 0;(function($){$.ABORTED="ABORTED",$.FAILURE="FAILURE",$.SUCCESS="SUCCESS",$.RETRY="RETRY",$.TIMEOUT="TIMEOUT"})(sw.WaiterState||(sw.WaiterState={}));var Xw=($)=>{if($.state===sw.WaiterState.ABORTED){let T=Error(`${JSON.stringify({...$,reason:"Request was aborted"},W0())}`);throw T.name="AbortError",T}else if($.state===sw.WaiterState.TIMEOUT){let T=Error(`${JSON.stringify({...$,reason:"Waiter has timed out"},W0())}`);throw T.name="TimeoutError",T}else if($.state!==sw.WaiterState.SUCCESS)throw Error(`${JSON.stringify($,W0())}`);return $},Jw=async({minDelay:$,maxDelay:T,maxWaitTime:w,abortController:P,client:I,abortSignal:h},U,A)=>{let _={},[M,Y]=[$*1000,T*1000],X=0,J=Date.now()+w*1000,f=Date.now()+60000,G=!1;while(!0){if(X>0){let R=Gw(M,Y,X,J);if(P?.signal?.aborted||h?.aborted)return _["AbortController signal aborted."]|=0,_["AbortController signal aborted."]+=1,{state:sw.WaiterState.ABORTED,observedResponses:_};if(Date.now()+R>J)return{state:sw.WaiterState.TIMEOUT,observedResponses:_};await Mw(R/1000)}let{state:Q,reason:Z}=await A(I,U);if(Z){let R=fw(Z);_[R]|=0,_[R]+=1}if(Q!==sw.WaiterState.RETRY)return{state:Q,reason:Z,final:Z,observedResponses:_};if(X+=1,!G&&Date.now()>=f)Yw(_,I),G=!0}},Yw=($={},T)=>{let w=Object.keys($),P=0;for(let U of w){let A=$[U]|0;if(U.startsWith("403:"))P+=A}let I=T?.config?.logger,h=typeof I?.warn==="function"&&!I.constructor?.name?.includes?.("NoOpLogger")?I:console;if(P>=3||w[w.length-1]?.startsWith("403:"))h.warn("@smithy/util-waiter WARN - 403 status code encountered during waiter polling.")},fw=($)=>{let T=$?.$response?.statusCode??$?.$metadata?.httpStatusCode;if($?.$responseBodyText)return`${T?T+": ":""}Deserialization error for body: ${$.$responseBodyText}`;if(T){if($?.$response||$?.message)return`${T??"Unknown"}: ${$?.message}`;return`${T}: OK`}return String($?.message??JSON.stringify($,W0())??"Unknown")},Gw=($,T,w,P)=>{let I=Math.log(T/$)/Math.log(2)+1;if(w>I)return T;let h=$*2**(w-1),U=Math.min(h,T),A=Zw($,U);if(Date.now()+A>P){let _=P-Date.now();return Math.max(0,_-500)}return A},Zw=($,T)=>$+Math.random()*(T-$),Rw=($)=>{if($.maxWaitTime<=0)throw Error("WaiterConfiguration.maxWaitTime must be greater than 0");else if($.minDelay<=0)throw Error("WaiterConfiguration.minDelay must be greater than 0");else if($.maxDelay<=0)throw Error("WaiterConfiguration.maxDelay must be greater than 0");else if($.maxWaitTime<=$.minDelay)throw Error(`WaiterConfiguration.maxWaitTime [${$.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${$.minDelay}] for this waiter`);else if($.maxDelay<$.minDelay)throw Error(`WaiterConfiguration.maxDelay [${$.maxDelay}] must be greater than WaiterConfiguration.minDelay [${$.minDelay}] for this waiter`)},a1=($)=>{let T,w=new Promise((P)=>{if(T=()=>P({state:sw.WaiterState.ABORTED}),typeof $.addEventListener==="function")$.addEventListener("abort",T);else $.onabort=T});return{clearListener(){if(typeof $.removeEventListener==="function")$.removeEventListener("abort",T)},aborted:w}},Qw=async($,T,w)=>{let P={...$$,...$};Rw(P);let I=[Jw(P,T,w)],h=[];if($.abortSignal){let{aborted:U,clearListener:A}=a1($.abortSignal);h.push(A),I.push(U)}if($.abortController?.signal){let{aborted:U,clearListener:A}=a1($.abortController.signal);h.push(A),I.push(U)}return Promise.race(I).then((U)=>{for(let A of h)A();return U})};class T${config;middlewareStack=I0();initConfig;handlers;constructor($){this.config=$;let{protocol:T,protocolSettings:w}=$;if(w){if(typeof T==="function")$.protocol=new T(w)}}send($,T,w){let P=typeof T!=="function"?T:void 0,I=typeof T==="function"?T:w,h=P===void 0&&this.config.cacheMiddleware===!0,U;if(h){if(!this.handlers)this.handlers=new WeakMap;let A=this.handlers;if(A.has($.constructor))U=A.get($.constructor);else U=$.resolveMiddleware(this.middlewareStack,this.config,P),A.set($.constructor,U)}else delete this.handlers,U=$.resolveMiddleware(this.middlewareStack,this.config,P);if(I)U($).then((A)=>I(null,A.output),(A)=>I(A)).catch(()=>{});else return U($).then((A)=>A.output)}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}var P1="***SensitiveInformation***";function H0($,T){if(T==null)return T;let w=Iw.NormalizedSchema.of($);if(w.getMergedTraits().sensitive)return P1;if(w.isListSchema()){if(!!w.getValueSchema().getMergedTraits().sensitive)return P1}else if(w.isMapSchema()){if(!!w.getKeySchema().getMergedTraits().sensitive||!!w.getValueSchema().getMergedTraits().sensitive)return P1}else if(w.isStructSchema()&&typeof T==="object"){let P=T,I={};for(let[h,U]of w.structIterator())if(P[h]!=null)I[h]=H0(U,P[h]);return I}return T}class U1{middlewareStack=I0();schema;static classBuilder(){return new w$}resolveMiddlewareWithContext($,T,w,{middlewareFn:P,clientName:I,commandName:h,inputFilterSensitiveLog:U,outputFilterSensitiveLog:A,smithyContext:_,additionalContext:M,CommandCtor:Y}){for(let Z of P.bind(this)(Y,$,T,w))this.middlewareStack.use(Z);let X=$.concat(this.middlewareStack),{logger:J}=T,f={logger:J,clientName:I,commandName:h,inputFilterSensitiveLog:U,outputFilterSensitiveLog:A,[m.SMITHY_CONTEXT_KEY]:{commandInstance:this,..._},...M},{requestHandler:G}=T,Q=w??{};if(_.eventStream)Q={isEventStream:!0,...Q};return X.resolve((Z)=>G.handle(Z.request,Q),f)}}class w${_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init($){this._init=$}ep($){return this._ep=$,this}m($){return this._middlewareFn=$,this}s($,T,w={}){return this._smithyContext={service:$,operation:T,...w},this}c($={}){return this._additionalContext=$,this}n($,T){return this._clientName=$,this._commandName=T,this}f($=(w)=>w,T=(w)=>w){return this._inputFilterSensitiveLog=$,this._outputFilterSensitiveLog=T,this}ser($){return this._serializer=$,this}de($){return this._deserializer=$,this}sc($){return this._operationSchema=$,this._smithyContext.operationSchema=$,this}build(){let $=this,T;return T=class extends U1{input;static getEndpointParameterInstructions(){return $._ep}constructor(...[w]){super();this.input=w??{},$._init(this),this.schema=$._operationSchema}resolveMiddleware(w,P,I){let h=$._operationSchema,U=h?.[4]??h?.input,A=h?.[5]??h?.output;return this.resolveMiddlewareWithContext(w,P,I,{CommandCtor:T,middlewareFn:$._middlewareFn,clientName:$._clientName,commandName:$._commandName,inputFilterSensitiveLog:$._inputFilterSensitiveLog??(h?H0.bind(null,U):(_)=>_),outputFilterSensitiveLog:$._outputFilterSensitiveLog??(h?H0.bind(null,A):(_)=>_),smithyContext:$._smithyContext,additionalContext:$._additionalContext})}serialize=$._serializer;deserialize=$._deserializer}}}var Vw="***SensitiveInformation***",Ow=($,T,w)=>{for(let[h,U]of Object.entries($)){let A=async function(M,Y,X){let J=new U(M);if(typeof Y==="function")this.send(J,Y);else if(typeof X==="function"){if(typeof Y!=="object")throw Error(`Expected http options but got ${typeof Y}`);this.send(J,Y||{},X)}else return this.send(J,Y)},_=(h[0].toLowerCase()+h.slice(1)).replace(/Command$/,"");T.prototype[_]=A}let{paginators:P={},waiters:I={}}=w??{};for(let[h,U]of Object.entries(P))if(T.prototype[h]===void 0)T.prototype[h]=function(A={},_,...M){return U({..._,client:this},A,...M)};for(let[h,U]of Object.entries(I))if(T.prototype[h]===void 0)T.prototype[h]=async function(A={},_,...M){let Y=_;if(typeof _==="number")Y={maxWaitTime:_};return U({...Y,client:this},A,...M)}};class t extends Error{$fault;$response;$retryable;$metadata;constructor($){super($.message);Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=$.name,this.$fault=$.$fault,this.$metadata=$.$metadata}static isInstance($){if(!$)return!1;let T=$;return t.prototype.isPrototypeOf(T)||Boolean(T.$fault)&&Boolean(T.$metadata)&&(T.$fault==="client"||T.$fault==="server")}static[Symbol.hasInstance]($){if(!$)return!1;let T=$;if(this===t)return t.isInstance($);if(t.isInstance($)){if(T.name&&this.name)return this.prototype.isPrototypeOf($)||T.name===this.name;return this.prototype.isPrototypeOf($)}return!1}}var P$=($,T={})=>{Object.entries(T).filter(([,P])=>P!==void 0).forEach(([P,I])=>{if($[P]==null||$[P]==="")$[P]=I});let w=$.message||$.Message||"UnknownError";return $.message=w,delete $.Message,$},I$=({output:$,parsedBody:T,exceptionCtor:w,errorCode:P})=>{let I=Lw($),h=I.httpStatusCode?I.httpStatusCode+"":void 0,U=new w({name:T?.code||T?.Code||P||h||"UnknownError",$fault:"client",$metadata:I});throw P$(U,T)},Nw=($)=>{return({output:T,parsedBody:w,errorCode:P})=>{I$({output:T,parsedBody:w,exceptionCtor:$,errorCode:P})}},Lw=($)=>({httpStatusCode:$.statusCode,requestId:$.headers["x-amzn-requestid"]??$.headers["x-amzn-request-id"]??$.headers["x-amz-request-id"],extendedRequestId:$.headers["x-amz-id-2"],cfId:$.headers["x-amz-cf-id"]}),Ww=($)=>{switch($){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{}}},e1=!1,Hw=($)=>{if($&&!e1&&parseInt($.substring(1,$.indexOf(".")))<16)e1=!0},h$=Object.values(m.AlgorithmId),U$=($)=>{let T=[];for(let w in m.AlgorithmId){let P=m.AlgorithmId[w];if($[P]===void 0)continue;T.push({algorithmId:()=>P,checksumConstructor:()=>$[P]})}for(let[w,P]of Object.entries($.checksumAlgorithms??{}))T.push({algorithmId:()=>w,checksumConstructor:()=>P});return{addChecksumAlgorithm(w){$.checksumAlgorithms=$.checksumAlgorithms??{};let P=w.algorithmId(),I=w.checksumConstructor();if(h$.includes(P))$.checksumAlgorithms[P.toUpperCase()]=I;else $.checksumAlgorithms[P]=I;T.push(w)},checksumAlgorithms(){return T}}},A$=($)=>{let T={};return $.checksumAlgorithms().forEach((w)=>{let P=w.algorithmId();if(h$.includes(P))T[P]=w.checksumConstructor()}),T},_$=($)=>{return{setRetryStrategy(T){$.retryStrategy=T},retryStrategy(){return $.retryStrategy}}},M$=($)=>{let T={};return T.retryStrategy=$.retryStrategy(),T},X$=($)=>{return Object.assign(U$($),_$($))},Dw=X$,Ew=($)=>{return Object.assign(A$($),M$($))},Kw=($)=>Array.isArray($)?$:[$],J$=($)=>{for(let w in $)if($.hasOwnProperty(w)&&$[w]["#text"]!==void 0)$[w]=$[w]["#text"];else if(typeof $[w]==="object"&&$[w]!==null)$[w]=J$($[w]);return $},Bw=($)=>{return $!=null};class Y${trace(){}debug(){}info(){}warn(){}error(){}}function f$($,T,w){let P,I,h;if(typeof T>"u"&&typeof w>"u")P={},h=$;else if(P=$,typeof T==="function")return I=T,h=w,Fw(P,I,h);else h=T;for(let U of Object.keys(h)){if(!Array.isArray(h[U])){P[U]=h[U];continue}G$(P,null,h,U)}return P}var qw=($)=>{let T={};for(let[w,P]of Object.entries($||{}))T[w]=[,P];return T},xw=($,T)=>{let w={};for(let P in T)G$(w,$,T,P);return w},Fw=($,T,w)=>{return f$($,Object.entries(w).reduce((P,[I,h])=>{if(Array.isArray(h))P[I]=h;else if(typeof h==="function")P[I]=[T,h()];else P[I]=[T,h];return P},{}))},G$=($,T,w,P)=>{if(T!==null){let U=w[P];if(typeof U==="function")U=[,U];let[A=zw,_=Sw,M=P]=U;if(typeof A==="function"&&A(T[M])||typeof A!=="function"&&!!A)$[P]=_(T[M]);return}let[I,h]=w[P];if(typeof h==="function"){let U,A=I===void 0&&(U=h())!=null,_=typeof I==="function"&&!!I(void 0)||typeof I!=="function"&&!!I;if(A)$[P]=U;else if(_)$[P]=h()}else{let U=I===void 0&&h!=null,A=typeof I==="function"&&!!I(h)||typeof I!=="function"&&!!I;if(U||A)$[P]=h}},zw=($)=>$!=null,Sw=($)=>$,jw=($)=>{if($!==$)return"NaN";switch($){case 1/0:return"Infinity";case-1/0:return"-Infinity";default:return $}},Cw=($)=>$.toISOString().replace(".000Z","Z"),I1=($)=>{if($==null)return{};if(Array.isArray($))return $.filter((T)=>T!=null).map(I1);if(typeof $==="object"){let T={};for(let w of Object.keys($)){if($[w]==null)continue;T[w]=I1($[w])}return T}return $};sw.AlgorithmId=m.AlgorithmId;sw.Client=T$;sw.Command=U1;sw.NoOpLogger=Y$;sw.SENSITIVE_STRING=Vw;sw.ServiceException=t;sw._json=I1;sw.checkExceptions=Xw;sw.constructStack=I0;sw.convertMap=qw;sw.createAggregatedClient=Ow;sw.createWaiter=Qw;sw.decorateServiceException=P$;sw.emitWarningIfUnsupportedVersion=Hw;sw.getArrayIfSingleItem=Kw;sw.getChecksumConfiguration=U$;sw.getDefaultClientConfiguration=Dw;sw.getDefaultExtensionConfiguration=X$;sw.getRetryConfiguration=_$;sw.getSmithyContext=hw;sw.getValueFromTextNode=J$;sw.invalidFunction=Aw;sw.invalidProvider=_w;sw.isSerializableHeaderValue=Bw;sw.loadConfigsForDefaultMode=Ww;sw.map=f$;sw.normalizeProvider=Uw;sw.resolveChecksumRuntimeConfig=A$;sw.resolveDefaultRuntimeConfig=Ew;sw.resolveRetryRuntimeConfig=M$;sw.schemaLogFilter=H0;sw.serializeDateTime=Cw;sw.serializeFloat=jw;sw.take=xw;sw.throwDefaultError=I$;sw.waiterServiceDefaults=$$;sw.withBaseException=Nw});var C$=y((ZI)=>{var OP=b("node:os"),i=b("node:path"),NP=b("node:crypto"),N$=b("node:fs/promises"),E0=P0(),K0=D0(),LP=F0();class u extends Error{name="ProviderError";tryNextLink;constructor($,T=!0){let w,P=!0;if(typeof T==="boolean")w=void 0,P=T;else if(T!=null&&typeof T==="object")w=T.logger,P=T.tryNextLink??!0;super($);this.tryNextLink=P,Object.setPrototypeOf(this,u.prototype),w?.debug?.(`@smithy/property-provider ${P?"->":"(!)"} ${$}`)}static from($,T=!0){return Object.assign(new this($.message,T),$)}}class h0 extends u{name="CredentialsProviderError";constructor($,T=!0){super($,T);Object.setPrototypeOf(this,h0.prototype)}}class J1 extends u{name="TokenProviderError";constructor($,T=!0){super($,T);Object.setPrototypeOf(this,J1.prototype)}}var L$=(...$)=>async()=>{if($.length===0)throw new u("No providers in chain");let T;for(let w of $)try{return await w()}catch(P){if(T=P,P?.tryNextLink)continue;throw P}throw T},W$=($)=>()=>Promise.resolve($),Y1=($,T,w)=>{let P,I,h,U=!1,A=async()=>{if(!I)I=$();try{P=await I,h=!0,U=!1}finally{I=void 0}return P};if(T===void 0)return async(_)=>{if(!h||_?.forceRefresh)P=await A();return P};return async(_)=>{if(!h||_?.forceRefresh)P=await A();if(U)return P;if(w&&!w(P))return U=!0,P;if(T(P))return await A(),P;return P}},F=($,T,w)=>{if(!(T in $))return;if($[T]==="true")return!0;if($[T]==="false")return!1;throw Error(`Cannot load ${w} "${T}". Expected "true" or "false", got ${$[T]}.`)},WP=($,T,w)=>{if(!(T in $))return;let P=parseInt($[T],10);if(Number.isNaN(P))throw TypeError(`Cannot load ${w} '${T}'. Expected number, got '${$[T]}'.`);return P};ZI.SelectorType=void 0;(function($){$.ENV="env",$.CONFIG="shared config entry"})(ZI.SelectorType||(ZI.SelectorType={}));var A1={},HP=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},U0=()=>{let{HOME:$,USERPROFILE:T,HOMEPATH:w,HOMEDRIVE:P=`C:${i.sep}`}=process.env;if($)return $;if(T)return T;if(w)return`${P}${w}`;let I=HP();if(!A1[I])A1[I]=OP.homedir();return A1[I]},H$="AWS_PROFILE",D$="default",E$=($)=>$.profile||process.env[H$]||D$,K$=($)=>{let w=NP.createHash("sha1").update($).digest("hex");return i.join(U0(),".aws","sso","cache",`${w}.json`)},B0={},DP=async($)=>{if(B0[$])return B0[$];let T=K$($),w=await N$.readFile(T,"utf8");return JSON.parse(w)},d=".",EP=($)=>Object.entries($).filter(([T])=>{let w=T.indexOf(d);if(w===-1)return!1;return Object.values(E0.IniSectionType).includes(T.substring(0,w))}).reduce((T,[w,P])=>{let I=w.indexOf(d),h=w.substring(0,I)===E0.IniSectionType.PROFILE?w.substring(I+1):w;return T[h]=P,T},{...$.default&&{default:$.default}}),KP="AWS_CONFIG_FILE",B$=()=>process.env[KP]||i.join(U0(),".aws","config"),BP="AWS_SHARED_CREDENTIALS_FILE",qP=()=>process.env[BP]||i.join(U0(),".aws","credentials"),xP=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,FP=["__proto__","profile __proto__"],M1=($)=>{let T={},w,P;for(let I of $.split(/\r?\n/)){let h=I.split(/(^|\s)[;#]/)[0].trim();if(h[0]==="["&&h[h.length-1]==="]"){w=void 0,P=void 0;let A=h.substring(1,h.length-1),_=xP.exec(A);if(_){let[,M,,Y]=_;if(Object.values(E0.IniSectionType).includes(M))w=[M,Y].join(d)}else w=A;if(FP.includes(A))throw Error(`Found invalid profile name "${A}"`)}else if(w){let A=h.indexOf("=");if(![0,-1].includes(A)){let[_,M]=[h.substring(0,A).trim(),h.substring(A+1).trim()];if(M==="")P=_;else{if(P&&I.trimStart()===I)P=void 0;T[w]=T[w]||{};let Y=P?[P,_].join(d):_;T[w][Y]=M}}}}return T},_1={},q0={},x0=($,T)=>{if(q0[$]!==void 0)return q0[$];if(!_1[$]||T?.ignoreCache)_1[$]=N$.readFile($,"utf8");return _1[$]},Z$=()=>({}),f1=async($={})=>{let{filepath:T=qP(),configFilepath:w=B$()}=$,P=U0(),I="~/",h=T;if(T.startsWith("~/"))h=i.join(P,T.slice(2));let U=w;if(w.startsWith("~/"))U=i.join(P,w.slice(2));let A=await Promise.all([x0(U,{ignoreCache:$.ignoreCache}).then(M1).then(EP).catch(Z$),x0(h,{ignoreCache:$.ignoreCache}).then(M1).catch(Z$)]);return{configFile:A[0],credentialsFile:A[1]}},zP=($)=>Object.entries($).filter(([T])=>T.startsWith(E0.IniSectionType.SSO_SESSION+d)).reduce((T,[w,P])=>({...T,[w.substring(w.indexOf(d)+1)]:P}),{}),SP=()=>({}),jP=async($={})=>x0($.configFilepath??B$()).then(M1).then(zP).catch(SP),CP=(...$)=>{let T={};for(let w of $)for(let[P,I]of Object.entries(w))if(T[P]!==void 0)Object.assign(T[P],I);else T[P]=I;return T},sP=async($)=>{let T=await f1($);return CP(T.configFile,T.credentialsFile)},cP={getFileRecord(){return q0},interceptFile($,T){q0[$]=Promise.resolve(T)},getTokenRecord(){return B0},interceptToken($,T){B0[$]=T}};function q$($){try{let T=new Set(Array.from($.match(/([A-Z_]){3,}/g)??[]));return T.delete("CONFIG"),T.delete("CONFIG_PREFIX_SEPARATOR"),T.delete("ENV"),[...T].join(", ")}catch(T){return $}}var bP=($,T)=>async()=>{try{let w=$(process.env,T);if(w===void 0)throw Error();return w}catch(w){throw new h0(w.message||`Not found in ENV: ${q$($.toString())}`,{logger:T?.logger})}},kP=($,{preferredFile:T="config",...w}={})=>async()=>{let P=E$(w),{configFile:I,credentialsFile:h}=await f1(w),U=h[P]||{},A=I[P]||{},_=T==="config"?{...U,...A}:{...A,...U};try{let Y=$(_,T==="config"?I:h);if(Y===void 0)throw Error();return Y}catch(M){throw new h0(M.message||`Not found in config files w/ profile [${P}]: ${q$($.toString())}`,{logger:w.logger})}},pP=($)=>typeof $==="function",x$=($)=>pP($)?async()=>await $():W$($),X1=({environmentVariableSelector:$,configFileSelector:T,default:w},P={})=>{let{signingName:I,logger:h}=P;return Y1(L$(bP($,{signingName:I,logger:h}),kP(T,P),x$(w)))},G1="AWS_USE_DUALSTACK_ENDPOINT",Z1="use_dualstack_endpoint",yP=!1,gP={environmentVariableSelector:($)=>F($,G1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Z1,ZI.SelectorType.CONFIG),default:!1},mP={environmentVariableSelector:($)=>F($,G1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Z1,ZI.SelectorType.CONFIG),default:void 0},R1="AWS_USE_FIPS_ENDPOINT",Q1="use_fips_endpoint",dP=!1,vP={environmentVariableSelector:($)=>F($,R1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Q1,ZI.SelectorType.CONFIG),default:!1},nP={environmentVariableSelector:($)=>F($,R1,ZI.SelectorType.ENV),configFileSelector:($)=>F($,Q1,ZI.SelectorType.CONFIG),default:void 0},tP=($)=>{let{tls:T,endpoint:w,urlParser:P,useDualstackEndpoint:I}=$;return Object.assign($,{tls:T??!0,endpoint:K0.normalizeProvider(typeof w==="string"?P(w):w),isCustomEndpoint:!0,useDualstackEndpoint:K0.normalizeProvider(I??!1)})},iP=async($)=>{let{tls:T=!0}=$,w=await $.region();if(!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(w))throw Error("Invalid region in client config");let I=await $.useDualstackEndpoint(),h=await $.useFipsEndpoint(),{hostname:U}=await $.regionInfoProvider(w,{useDualstackEndpoint:I,useFipsEndpoint:h})??{};if(!U)throw Error("Cannot resolve hostname from client config");return $.urlParser(`${T?"https:":"http:"}//${U}`)},uP=($)=>{let T=K0.normalizeProvider($.useDualstackEndpoint??!1),{endpoint:w,useFipsEndpoint:P,urlParser:I,tls:h}=$;return Object.assign($,{tls:h??!0,endpoint:w?K0.normalizeProvider(typeof w==="string"?I(w):w):()=>iP({...$,useDualstackEndpoint:T,useFipsEndpoint:P}),isCustomEndpoint:!!w,useDualstackEndpoint:T})},F$="AWS_REGION",z$="region",S$={environmentVariableSelector:($)=>$[F$],configFileSelector:($)=>$[z$],default:()=>{throw Error("Region is missing")}},rP={preferredFile:"credentials"},R$=new Set,lP=($,T=LP.isValidHostLabel)=>{if(!R$.has($)&&!T($))if($==="*")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="${$}" is not a valid hostname component.`);else R$.add($)},j$=($)=>typeof $==="string"&&($.startsWith("fips-")||$.endsWith("-fips")),oP=($)=>j$($)?["fips-aws-global","aws-fips"].includes($)?"us-east-1":$.replace(/fips-(dkr-|prod-)?|-fips/,""):$,aP=($)=>{let{region:T,useFipsEndpoint:w}=$;if(!T)throw Error("Region is missing");return Object.assign($,{region:async()=>{let P=typeof T==="function"?await T():T,I=oP(P);return lP(I),I},useFipsEndpoint:async()=>{let P=typeof T==="string"?T:await T();if(j$(P))return!0;return typeof w!=="function"?Promise.resolve(!!w):w()}})},Q$=($=[],{useFipsEndpoint:T,useDualstackEndpoint:w})=>$.find(({tags:P})=>T===P.includes("fips")&&w===P.includes("dualstack"))?.hostname,eP=($,{regionHostname:T,partitionHostname:w})=>T?T:w?w.replace("{region}",$):void 0,$I=($,{partitionHash:T})=>Object.keys(T||{}).find((w)=>T[w].regions.includes($))??"aws",TI=($,{signingRegion:T,regionRegex:w,useFipsEndpoint:P})=>{if(T)return T;else if(P){let I=w.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\."),h=$.match(I);if(h)return h[0].slice(1,-1)}},wI=($,{useFipsEndpoint:T=!1,useDualstackEndpoint:w=!1,signingService:P,regionHash:I,partitionHash:h})=>{let U=$I($,{partitionHash:h}),A=$ in I?$:h[U]?.endpoint??$,_={useFipsEndpoint:T,useDualstackEndpoint:w},M=Q$(I[A]?.variants,_),Y=Q$(h[U]?.variants,_),X=eP(A,{regionHostname:M,partitionHostname:Y});if(X===void 0)throw Error(`Endpoint resolution failed for: ${{resolvedRegion:A,useFipsEndpoint:T,useDualstackEndpoint:w}}`);let J=TI(X,{signingRegion:I[A]?.signingRegion,regionRegex:h[U].regionRegex,useFipsEndpoint:T});return{partition:U,signingService:P,hostname:X,...J&&{signingRegion:J},...I[A]?.signingService&&{signingService:I[A].signingService}}},PI="AWS_EXECUTION_ENV",V$="AWS_REGION",O$="AWS_DEFAULT_REGION",II="AWS_EC2_METADATA_DISABLED",hI=["in-region","cross-region","mobile","standard","legacy"],UI="/latest/meta-data/placement/region",AI="AWS_DEFAULTS_MODE",_I="defaults_mode",MI={environmentVariableSelector:($)=>{return $[AI]},configFileSelector:($)=>{return $[_I]},default:"legacy"},XI=({region:$=X1(S$),defaultsMode:T=X1(MI)}={})=>Y1(async()=>{let w=typeof T==="function"?await T():T;switch(w?.toLowerCase()){case"auto":return JI($);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(w?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw Error(`Invalid parameter for "defaultsMode", expect ${hI.join(", ")}, got ${w}`)}}),JI=async($)=>{if($){let T=typeof $==="function"?await $():$,w=await YI();if(!w)return"standard";if(T===w)return"in-region";else return"cross-region"}return"standard"},YI=async()=>{if(process.env[PI]&&(process.env[V$]||process.env[O$]))return process.env[V$]??process.env[O$];if(!process.env[II])try{let $=await fI();return(await GI({hostname:$.hostname,path:UI})).toString()}catch($){}},fI=async()=>{let $=process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT;if($){let w=new URL($);return{hostname:w.hostname,path:w.pathname}}if(process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE==="IPv6")return{hostname:"fd00:ec2::254",path:"/"};return{hostname:"169.254.169.254",path:"/"}},GI=async({hostname:$,path:T})=>{let{request:w}=await import("node:http");return new Promise((P,I)=>{let h=w({method:"GET",hostname:$.replace(/^\[(.+)]$/,"$1"),path:T,timeout:1000,signal:AbortSignal.timeout(1000)});h.on("error",(U)=>{I(U),h.destroy()}),h.on("timeout",()=>{I(Error("TimeoutError from instance metadata service")),h.destroy()}),h.on("response",(U)=>{let{statusCode:A=400}=U;if(A<200||300<=A){I(Object.assign(Error("Error response received from instance metadata service"),{statusCode:A})),h.destroy();return}let _=[];U.on("data",(M)=>_.push(M)),U.on("end",()=>{P(Buffer.concat(_)),h.destroy()})}),h.end()})};ZI.CONFIG_PREFIX_SEPARATOR=d;ZI.CONFIG_USE_DUALSTACK_ENDPOINT=Z1;ZI.CONFIG_USE_FIPS_ENDPOINT=Q1;ZI.CredentialsProviderError=h0;ZI.DEFAULT_PROFILE=D$;ZI.DEFAULT_USE_DUALSTACK_ENDPOINT=yP;ZI.DEFAULT_USE_FIPS_ENDPOINT=dP;ZI.ENV_PROFILE=H$;ZI.ENV_USE_DUALSTACK_ENDPOINT=G1;ZI.ENV_USE_FIPS_ENDPOINT=R1;ZI.NODE_REGION_CONFIG_FILE_OPTIONS=rP;ZI.NODE_REGION_CONFIG_OPTIONS=S$;ZI.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=gP;ZI.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=vP;ZI.ProviderError=u;ZI.REGION_ENV_NAME=F$;ZI.REGION_INI_NAME=z$;ZI.TokenProviderError=J1;ZI.booleanSelector=F;ZI.chain=L$;ZI.externalDataInterceptor=cP;ZI.fromStatic=x$;ZI.fromValue=W$;ZI.getHomeDir=U0;ZI.getProfileName=E$;ZI.getRegionInfo=wI;ZI.getSSOTokenFilepath=K$;ZI.getSSOTokenFromFile=DP;ZI.loadConfig=X1;ZI.loadSharedConfigFiles=f1;ZI.loadSsoSessionData=jP;ZI.memoize=Y1;ZI.nodeDualstackConfigSelectors=mP;ZI.nodeFipsConfigSelectors=nP;ZI.numberSelector=WP;ZI.parseKnownFiles=sP;ZI.readFile=x0;ZI.resolveCustomEndpointsConfig=tP;ZI.resolveDefaultsModeConfig=XI;ZI.resolveEndpointsConfig=uP;ZI.resolveRegionConfig=aP});var F0=y((yh)=>{var N1=C$(),s$=C0(),z0=D0(),L1=P0(),c$="AWS_ENDPOINT_URL",b$="endpoint_url",Ph=($)=>({environmentVariableSelector:(T)=>{let w=$.split(" ").map((h)=>h.toUpperCase()),P=T[[c$,...w].join("_")];if(P)return P;let I=T[c$];if(I)return I;return},configFileSelector:(T,w)=>{if(w&&T.services){let I=w[["services",T.services].join(N1.CONFIG_PREFIX_SEPARATOR)];if(I){let h=$.split(" ").map((A)=>A.toLowerCase()),U=I[[h.join("_"),b$].join(N1.CONFIG_PREFIX_SEPARATOR)];if(U)return U}}let P=T[b$];if(P)return P;return},default:void 0}),S0=async($)=>N1.loadConfig(Ph($??""))(),Ih=async($)=>{let T=$?.Bucket||"";if(typeof $.Bucket==="string")$.Bucket=T.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(Mh(T)){if($.ForcePathStyle===!0)throw Error("Path-style addressing cannot be used with ARN buckets")}else if(!_h(T)||T.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||T.toLowerCase()!==T||T.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},hh=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Uh=/(\d+\.){3}\d+/,Ah=/\.\./,_h=($)=>hh.test($)&&!Uh.test($)&&!Ah.test($),Mh=($)=>{let[T,w,P,,,I]=$.split(":"),h=T==="arn"&&$.split(":").length>=6,U=Boolean(h&&w&&P&&I);if(h&&!U)throw Error(`Invalid ARN: ${$} was an invalid ARN.`);return U},Xh=($,T,w,P=!1)=>{let I=async()=>{let h;if(P)h=w.clientContextParams?.[$]??w[$]??w[T];else h=w[$]??w[T];if(typeof h==="function")return h();return h};if($==="credentialScope"||T==="CredentialScope")return async()=>{let h=typeof w.credentials==="function"?await w.credentials():w.credentials;return h?.credentialScope??h?.CredentialScope};if($==="accountId"||T==="AccountId")return async()=>{let h=typeof w.credentials==="function"?await w.credentials():w.credentials;return h?.accountId??h?.AccountId};if($==="endpoint"||T==="endpoint")return async()=>{if(w.isCustomEndpoint===!1)return;let h=await I();if(h&&typeof h==="object"){if("url"in h)return h.url.href;if("hostname"in h){let{protocol:U,hostname:A,port:_,path:M}=h;return`${U}//${A}${_?":"+_:""}${M}`}}return h};return I},j0=($)=>{if(typeof $==="object"){if("url"in $){let T=s$.parseUrl($.url);if($.headers){T.headers={};for(let w in $.headers)T.headers[w.toLowerCase()]=$.headers[w].join(", ")}return T}return $}return s$.parseUrl($)};function k$($){return async(T,w,P,I)=>{if(!P.isCustomEndpoint){let A;if(P.serviceConfiguredEndpoint)A=await P.serviceConfiguredEndpoint();else A=await $(P.serviceId);if(A)P.endpoint=()=>Promise.resolve(j0(A)),P.isCustomEndpoint=!0}let h=await p$(T,w,P);if(typeof P.endpointProvider!=="function")throw Error("config.endpointProvider is not set.");let U=P.endpointProvider(h,I);if(P.isCustomEndpoint&&P.endpoint){let A=await P.endpoint();if(A?.headers){U.headers??={};for(let[_,M]of Object.entries(A.headers))U.headers[_]=Array.isArray(M)?M:[M]}}return U}}var p$=async($,T,w)=>{let P={},I=T?.getEndpointParameterInstructions?.()||{};for(let[h,U]of Object.entries(I))switch(U.type){case"staticContextParams":P[h]=U.value;break;case"contextParams":P[h]=$[U.name];break;case"clientContextParams":case"builtInParams":P[h]=await Xh(U.name,h,w,U.type!=="builtInParams")();break;case"operationContextParams":P[h]=U.get($);break;default:throw Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(U))}if(Object.keys(I).length===0)Object.assign(P,w);if(String(w.serviceId).toLowerCase()==="s3")await Ih(P);return P};function Jh($,T,w){if(!$.__smithy_context)$.__smithy_context={features:{}};else if(!$.__smithy_context.features)$.__smithy_context.features={};$.__smithy_context.features[T]=w}function y$($){let T=k$($);return({config:w,instructions:P})=>{return(I,h)=>async(U)=>{if(w.isCustomEndpoint)Jh(h,"ENDPOINT_OVERRIDE","N");let A=await T(U.input,{getEndpointParameterInstructions(){return P}},{...w},h);h.endpointV2=A,h.authSchemes=A.properties?.authSchemes;let _=h.authSchemes?.[0];if(_){h.signing_region=_.signingRegion,h.signing_service=_.signingName;let Y=z0.getSmithyContext(h)?.selectedHttpAuthScheme?.httpAuthOption;if(Y)Y.signingProperties=Object.assign(Y.signingProperties||{},{signing_region:_.signingRegion,signingRegion:_.signingRegion,signing_service:_.signingName,signingName:_.signingName,signingRegionSet:_.signingRegionSet},_.properties)}return I({...U})}}}var Yh={name:"serializerMiddleware"},g$={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:Yh.name};function fh($){let T=y$($);return(w,P)=>({applyToStack:(I)=>{I.addRelativeTo(T({config:w,instructions:P}),g$)}})}function Gh($){return(T)=>{let w=T.tls??!0,{endpoint:P,useDualstackEndpoint:I,useFipsEndpoint:h}=T,U=P!=null?async()=>j0(await z0.normalizeProvider(P)()):void 0,_=Object.assign(T,{endpoint:U,tls:w,isCustomEndpoint:!!P,useDualstackEndpoint:z0.normalizeProvider(I??!1),useFipsEndpoint:z0.normalizeProvider(h??!1)}),M=void 0;return _.serviceConfiguredEndpoint=async()=>{if(T.serviceId&&!M)M=$(T.serviceId);return M},_}}class W1{nodes;root;conditions;results;constructor($,T,w,P){this.nodes=$,this.root=T,this.conditions=w,this.results=P}static from($,T,w,P){return new W1($,T,w,P)}}class m${capacity;data=new Map;parameters=[];constructor({size:$,params:T}){if(this.capacity=$??50,T)this.parameters=T}get($,T){let w=this.hash($);if(w===!1)return T();if(!this.data.has(w)){if(this.data.size>this.capacity+10){let P=this.data.keys(),I=0;while(!0){let{value:h,done:U}=P.next();if(this.data.delete(h),U||++I>10)break}}this.data.set(w,T())}return this.data.get(w)}size(){return this.data.size}hash($){let T="",{parameters:w}=this;if(w.length===0)return!1;for(let P of w){let I=String($[P]??"");if(I.includes("|;"))return!1;T+=I+"|;"}return T}}class N extends Error{constructor($){super($);this.name="EndpointError"}}var A0="endpoints";function k($){if(typeof $!=="object"||$==null)return $;if("ref"in $)return`$${k($.ref)}`;if("fn"in $)return`${$.fn}(${($.argv||[]).map(k).join(", ")})`;return JSON.stringify($,null,2)}var d$={},Zh=($,T)=>$===T;function Rh(...$){for(let T of $)if(T!=null)return T;return}var Qh=($)=>{let T=$.split("."),w=[];for(let P of T){let I=P.indexOf("[");if(I!==-1){if(P.indexOf("]")!==P.length-1)throw new N(`Path: '${$}' does not end with ']'`);let h=P.slice(I+1,-1);if(Number.isNaN(parseInt(h)))throw new N(`Invalid array index: '${h}' in path: '${$}'`);if(I!==0)w.push(P.slice(0,I));w.push(h)}else w.push(P)}return w},v$=($,T)=>Qh(T).reduce((w,P)=>{if(typeof w!=="object")throw new N(`Index '${P}' in '${T}' not found in '${JSON.stringify($)}'`);else if(Array.isArray(w)){let I=parseInt(P);return w[I<0?w.length+I:I]}return w[P]},$),Vh=($)=>$!=null,Oh=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),H1=($,T=!1)=>{if(!T)return Oh.test($);let w=$.split(".");for(let P of w)if(!H1(P))return!1;return!0};function Nh($,T,w){return $?T:w}var Lh=($)=>!$,Wh=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}$"),n$=($)=>Wh.test($)||$.startsWith("[")&&$.endsWith("]"),V1={[L1.EndpointURLScheme.HTTP]:80,[L1.EndpointURLScheme.HTTPS]:443},Hh=($)=>{let T=(()=>{try{if($ instanceof URL)return $;if(typeof $==="object"&&"hostname"in $){let{hostname:J,port:f,protocol:G="",path:Q="",query:Z={}}=$,R=new URL(`${G}//${J}${f?`:${f}`:""}${Q}`);return R.search=Object.entries(Z).map(([V,L])=>`${V}=${L}`).join("&"),R}return new URL($)}catch(J){return null}})();if(!T)return console.error(`Unable to parse ${JSON.stringify($)} as a whatwg URL.`),null;let w=T.href,{host:P,hostname:I,pathname:h,protocol:U,search:A}=T;if(A)return null;let _=U.slice(0,-1);if(!Object.values(L1.EndpointURLScheme).includes(_))return null;let M=n$(I),Y=w.includes(`${P}:${V1[_]}`)||typeof $==="string"&&$.includes(`${P}:${V1[_]}`),X=`${P}${Y?`:${V1[_]}`:""}`;return{scheme:_,authority:X,path:h,normalizedPath:h.endsWith("/")?h:`${h}/`,isIp:M}};function Dh($,T,w){if(w===1)return[$];if($==="")return[""];let P=$.split(T);if(w===0)return P;return P.slice(0,w-1).concat(P.slice(1).join(T))}var Eh=($,T)=>$===T,Kh=($,T,w,P)=>{if($==null||T>=w||$.length<w||/[^\u0000-\u007f]/.test($))return null;if(!P)return $.substring(T,w);return $.substring($.length-w,$.length-T)},Bh=($)=>encodeURIComponent($).replace(/[!*'()]/g,(T)=>`%${T.charCodeAt(0).toString(16).toUpperCase()}`),qh={booleanEquals:Zh,coalesce:Rh,getAttr:v$,isSet:Vh,isValidHostLabel:H1,ite:Nh,not:Lh,parseURL:Hh,split:Dh,stringEquals:Eh,substring:Kh,uriEncode:Bh},t$=($,T)=>{let w=[],{referenceRecord:P,endpointParams:I}=T,h=0;while(h<$.length){let U=$.indexOf("{",h);if(U===-1){w.push($.slice(h));break}w.push($.slice(h,U));let A=$.indexOf("}",U);if(A===-1){w.push($.slice(U));break}if($[U+1]==="{"&&$[A+1]==="}")w.push($.slice(U+1,A)),h=A+2;let _=$.substring(U+1,A);if(_.includes("#")){let[M,Y]=_.split("#");w.push(v$(P[M]??I[M],Y))}else w.push(P[_]??I[_]);h=A+1}return w.join("")},xh=({ref:$},T)=>{return T.referenceRecord[$]??T.endpointParams[$]},_0=($,T,w)=>{if(typeof $==="string")return t$($,w);else if($.fn)return u$.callFunction($,w);else if($.ref)return xh($,w);throw new N(`'${T}': ${String($)} is not a string, function or reference.`)},i$=({fn:$,argv:T},w)=>{let P=Array(T.length);for(let U=0;U<P.length;++U){let A=T[U];if(typeof A==="boolean"||typeof A==="number")P[U]=A;else P[U]=u$.evaluateExpression(A,"arg",w)}let I=$.indexOf(".");if(I!==-1){let A=d$[$.slice(0,I)]?.[$.slice(I+1)];if(typeof A==="function")return A(...P)}let h=qh[$];if(typeof h==="function")return h(...P);throw Error(`function ${$} not loaded in endpointFunctions.`)},u$={evaluateExpression:_0,callFunction:i$},r$=($,T)=>{let{assign:w}=$;if(w&&w in T.referenceRecord)throw new N(`'${w}' is already defined in Reference Record.`);let P=i$($,T);T.logger?.debug?.(`${A0} evaluateCondition: ${k($)} = ${k(P)}`);let I=P===""?!0:!!P;if(w!=null)return{result:I,toAssign:{name:w,value:P}};return{result:I}},l$=($,T)=>Object.entries($??{}).reduce((w,[P,I])=>{return w[P]=I.map((h)=>{let U=_0(h,"Header value entry",T);if(typeof U!=="string")throw new N(`Header '${P}' value '${U}' is not a string`);return U}),w},{}),D1=($,T)=>Object.entries($).reduce((w,[P,I])=>{return w[P]=a$.getEndpointProperty(I,T),w},{}),o$=($,T)=>{if(Array.isArray($))return $.map((w)=>o$(w,T));switch(typeof $){case"string":return t$($,T);case"object":if($===null)throw new N(`Unexpected endpoint property: ${$}`);return a$.getEndpointProperties($,T);case"boolean":return $;default:throw new N(`Unexpected endpoint property type: ${typeof $}`)}},a$={getEndpointProperty:o$,getEndpointProperties:D1},e$=($,T)=>{let w=_0($,"Endpoint URL",T);if(typeof w==="string")try{return new URL(w)}catch(P){throw console.error(`Failed to construct URL with ${w}`,P),P}throw new N(`Endpoint URL must be a string, got ${typeof w}`)},O1=1e8,Fh=($,T)=>{let{nodes:w,root:P,results:I,conditions:h}=$,U=P,A={},_={referenceRecord:A,endpointParams:T.endpointParams,logger:T.logger};while(U!==1&&U!==-1&&U<O1){let M=3*(Math.abs(U)-1),[Y,X,J]=[w[M],w[M+1],w[M+2]],[f,G,Q]=h[Y],Z=r$({fn:f,assign:Q,argv:G},_);if(Z.toAssign){let{name:R,value:V}=Z.toAssign;A[R]=V}U=U>=0===Z.result?X:J}if(U>=O1){let M=I[U-O1];if(M[0]===-1){let[,f]=M;throw new N(_0(f,"Error",_))}let[Y,X,J]=M;return{url:e$(Y,_),properties:D1(X,_),headers:l$(J??{},_)}}throw new N("No matching endpoint.")},E1=($=[],T)=>{let w={},P={...T,referenceRecord:{...T.referenceRecord}},I=!1;for(let h of $){let{result:U,toAssign:A}=r$(h,P);if(!U)return{result:U};if(A)I=!0,w[A.name]=A.value,P.referenceRecord[A.name]=A.value,T.logger?.debug?.(`${A0} assign: ${A.name} := ${k(A.value)}`)}if(I)return{result:!0,referenceRecord:w};return{result:!0}},zh=($,T)=>{let{conditions:w,endpoint:P}=$,{result:I,referenceRecord:h}=E1(w,T);if(!I)return;let U=h?{...T,referenceRecord:{...T.referenceRecord,...h}}:T,{url:A,properties:_,headers:M}=P;T.logger?.debug?.(`${A0} Resolving endpoint from template: ${k(P)}`);let Y={url:e$(A,U)};if(M!=null)Y.headers=l$(M,U);if(_!=null)Y.properties=D1(_,U);return Y},Sh=($,T)=>{let{conditions:w,error:P}=$,{result:I,referenceRecord:h}=E1(w,T);if(!I)return;let U=h?{...T,referenceRecord:{...T.referenceRecord,...h}}:T;throw new N(_0(P,"Error",U))},$T=($,T)=>{for(let w of $)if(w.type==="endpoint"){let P=zh(w,T);if(P)return P}else if(w.type==="error")Sh(w,T);else if(w.type==="tree"){let P=TT.evaluateTreeRule(w,T);if(P)return P}else throw new N(`Unknown endpoint rule: ${w}`);throw new N("Rules evaluation failed")},jh=($,T)=>{let{conditions:w,rules:P}=$,{result:I,referenceRecord:h}=E1(w,T);if(!I)return;let U=h?{...T,referenceRecord:{...T.referenceRecord,...h}}:T;return TT.evaluateRules(P,U)},TT={evaluateRules:$T,evaluateTreeRule:jh},Ch=($,T)=>{let{endpointParams:w,logger:P}=T,{parameters:I,rules:h}=$;T.logger?.debug?.(`${A0} Initial EndpointParams: ${k(w)}`);for(let A in I){let _=I[A],M=w[A];if(M==null&&_.default!=null){w[A]=_.default;continue}if(_.required&&M==null)throw new N(`Missing required parameter: '${A}'`)}let U=$T(h,{endpointParams:w,logger:P,referenceRecord:{}});return T.logger?.debug?.(`${A0} Resolved endpoint: ${k(U)}`),U},sh=($)=>{let{endpoint:T}=$;if(T===void 0)$.endpoint=async()=>{throw Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint.")};return $},ch=k$(S0),bh=Gh(S0),kh=y$(S0),ph=fh(S0);yh.BinaryDecisionDiagram=W1;yh.EndpointCache=m$;yh.EndpointError=N;yh.customEndpointFunctions=d$;yh.decideEndpoint=Fh;yh.endpointMiddleware=kh;yh.endpointMiddlewareOptions=g$;yh.getEndpointFromInstructions=ch;yh.getEndpointPlugin=ph;yh.isIpAddress=n$;yh.isValidHostLabel=H1;yh.middlewareEndpointToEndpointV1=j0;yh.resolveEndpoint=Ch;yh.resolveEndpointConfig=bh;yh.resolveEndpointRequiredConfig=sh;yh.resolveParams=p$;yh.toEndpointV1=j0});var ST=y((DA)=>{var K1=b("node:fs"),IU=C0(),hU=F0(),wT=b("node:crypto"),q=b("node:stream"),UU=($,T,w=(P)=>P)=>$,AU=($)=>{switch($){case"true":return!0;case"false":return!1;default:throw Error(`Unable to parse boolean value "${$}"`)}},_U=($)=>{if($===null||$===void 0)return;if(typeof $==="number"){if($===0||$===1)f0.warn(c0(`Expected boolean, got ${typeof $}: ${$}`));if($===0)return!1;if($===1)return!0}if(typeof $==="string"){let T=$.toLowerCase();if(T==="false"||T==="true")f0.warn(c0(`Expected boolean, got ${typeof $}: ${$}`));if(T==="false")return!1;if(T==="true")return!0}if(typeof $==="boolean")return $;throw TypeError(`Expected boolean, got ${typeof $}: ${$}`)},J0=($)=>{if($===null||$===void 0)return;if(typeof $==="string"){let T=parseFloat($);if(!Number.isNaN(T)){if(String(T)!==String($))f0.warn(c0(`Expected number but observed string: ${$}`));return T}}if(typeof $==="number")return $;throw TypeError(`Expected number, got ${typeof $}: ${$}`)},MU=Math.ceil(340282346638528860000000000000000000000),s0=($)=>{let T=J0($);if(T!==void 0&&!Number.isNaN(T)&&T!==1/0&&T!==-1/0){if(Math.abs(T)>MU)throw TypeError(`Expected 32-bit float, got ${$}`)}return T},Y0=($)=>{if($===null||$===void 0)return;if(Number.isInteger($)&&!Number.isNaN($))return $;throw TypeError(`Expected integer, got ${typeof $}: ${$}`)},XU=Y0,x1=($)=>j1($,32),F1=($)=>j1($,16),z1=($)=>j1($,8),j1=($,T)=>{let w=Y0($);if(w!==void 0&&JU(w,T)!==w)throw TypeError(`Expected ${T}-bit integer, got ${$}`);return w},JU=($,T)=>{switch(T){case 32:return Int32Array.of($)[0];case 16:return Int16Array.of($)[0];case 8:return Int8Array.of($)[0]}},YU=($,T)=>{if($===null||$===void 0){if(T)throw TypeError(`Expected a non-null value for ${T}`);throw TypeError("Expected a non-null value")}return $},MT=($)=>{if($===null||$===void 0)return;if(typeof $==="object"&&!Array.isArray($))return $;let T=Array.isArray($)?"array":typeof $;throw TypeError(`Expected object, got ${T}: ${$}`)},fU=($)=>{if($===null||$===void 0)return;if(typeof $==="string")return $;if(["boolean","number","bigint"].includes(typeof $))return f0.warn(c0(`Expected string, got ${typeof $}: ${$}`)),String($);throw TypeError(`Expected string, got ${typeof $}: ${$}`)},GU=($)=>{if($===null||$===void 0)return;let T=MT($),w=[];for(let P in T)if(T[P]!=null)w.push(P);if(w.length===0)throw TypeError("Unions must have exactly one non-null member. None were found.");if(w.length>1)throw TypeError(`Unions must have exactly one non-null member. Keys ${w} were not null.`);return T},C1=($)=>{if(typeof $=="string")return J0(e($));return J0($)},ZU=C1,XT=($)=>{if(typeof $=="string")return s0(e($));return s0($)},RU=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,e=($)=>{let T=$.match(RU);if(T===null||T[0].length!==$.length)throw TypeError("Expected real number, got implicit NaN");return parseFloat($)},s1=($)=>{if(typeof $=="string")return JT($);return J0($)},QU=s1,VU=s1,OU=($)=>{if(typeof $=="string")return JT($);return s0($)},JT=($)=>{switch($){case"NaN":return NaN;case"Infinity":return 1/0;case"-Infinity":return-1/0;default:throw Error(`Unable to parse float value: ${$}`)}},YT=($)=>{if(typeof $==="string")return Y0(e($));return Y0($)},NU=YT,LU=($)=>{if(typeof $==="string")return x1(e($));return x1($)},l=($)=>{if(typeof $==="string")return F1(e($));return F1($)},fT=($)=>{if(typeof $==="string")return z1(e($));return z1($)},c0=($)=>{return String(TypeError($).stack||$).split(`
2
+ `).slice(0,5).filter((T)=>!T.includes("stackTraceWarning")).join(`
3
+ `)},f0={warn:console.warn},WU=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],c1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function HU($){let T=$.getUTCFullYear(),w=$.getUTCMonth(),P=$.getUTCDay(),I=$.getUTCDate(),h=$.getUTCHours(),U=$.getUTCMinutes(),A=$.getUTCSeconds(),_=I<10?`0${I}`:`${I}`,M=h<10?`0${h}`:`${h}`,Y=U<10?`0${U}`:`${U}`,X=A<10?`0${A}`:`${A}`;return`${WU[P]}, ${_} ${c1[w]} ${T} ${M}:${Y}:${X} GMT`}var DU=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),EU=($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw TypeError("RFC-3339 date-times must be expressed as strings");let T=DU.exec($);if(!T)throw TypeError("Invalid RFC-3339 date-time value");let[w,P,I,h,U,A,_,M]=T,Y=l(o(P)),X=x(I,"month",1,12),J=x(h,"day",1,31);return M0(Y,X,J,{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M})},KU=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),BU=($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw TypeError("RFC-3339 date-times must be expressed as strings");let T=KU.exec($);if(!T)throw TypeError("Invalid RFC-3339 date-time value");let[w,P,I,h,U,A,_,M,Y]=T,X=l(o(P)),J=x(I,"month",1,12),f=x(h,"day",1,31),G=M0(X,J,f,{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M});if(Y.toUpperCase()!="Z")G.setTime(G.getTime()-yU(Y));return G},qU=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$/),xU=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$/),FU=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})$/),zU=($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw TypeError("RFC-7231 date-times must be expressed as strings");let T=qU.exec($);if(T){let[w,P,I,h,U,A,_,M]=T;return M0(l(o(h)),B1(I),x(P,"day",1,31),{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M})}if(T=xU.exec($),T){let[w,P,I,h,U,A,_,M]=T;return sU(M0(jU(h),B1(I),x(P,"day",1,31),{hours:U,minutes:A,seconds:_,fractionalMilliseconds:M}))}if(T=FU.exec($),T){let[w,P,I,h,U,A,_,M]=T;return M0(l(o(M)),B1(P),x(I.trimLeft(),"day",1,31),{hours:h,minutes:U,seconds:A,fractionalMilliseconds:_})}throw TypeError("Invalid RFC-7231 date-time value")},SU=($)=>{if($===null||$===void 0)return;let T;if(typeof $==="number")T=$;else if(typeof $==="string")T=C1($);else if(typeof $==="object"&&$.tag===1)T=$.value;else throw TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(T)||T===1/0||T===-1/0)throw TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(T*1000))},M0=($,T,w,P)=>{let I=T-1;return bU($,I,w),new Date(Date.UTC($,I,w,x(P.hours,"hour",0,23),x(P.minutes,"minute",0,59),x(P.seconds,"seconds",0,60),pU(P.fractionalMilliseconds)))},jU=($)=>{let T=new Date().getUTCFullYear(),w=Math.floor(T/100)*100+l(o($));if(w<T)return w+100;return w},CU=1576800000000,sU=($)=>{if($.getTime()-new Date().getTime()>CU)return new Date(Date.UTC($.getUTCFullYear()-100,$.getUTCMonth(),$.getUTCDate(),$.getUTCHours(),$.getUTCMinutes(),$.getUTCSeconds(),$.getUTCMilliseconds()));return $},B1=($)=>{let T=c1.indexOf($);if(T<0)throw TypeError(`Invalid month: ${$}`);return T+1},cU=[31,28,31,30,31,30,31,31,30,31,30,31],bU=($,T,w)=>{let P=cU[T];if(T===1&&kU($))P=29;if(w>P)throw TypeError(`Invalid day for ${c1[T]} in ${$}: ${w}`)},kU=($)=>{return $%4===0&&($%100!==0||$%400===0)},x=($,T,w,P)=>{let I=fT(o($));if(I<w||I>P)throw TypeError(`${T} must be between ${w} and ${P}, inclusive`);return I},pU=($)=>{if($===null||$===void 0)return 0;return XT("0."+$)*1000},yU=($)=>{let T=$[0],w=1;if(T=="+")w=1;else if(T=="-")w=-1;else throw TypeError(`Offset direction, ${T}, must be "+" or "-"`);let P=Number($.substring(1,3)),I=Number($.substring(4,6));return w*(P*60+I)*60*1000},o=($)=>{let T=0;while(T<$.length-1&&$.charAt(T)==="0")T++;if(T===0)return $;return $.slice(T)},PT=typeof crypto<"u"&&typeof crypto.randomUUID==="function"?crypto.randomUUID.bind(crypto):void 0,H=Array.from({length:256},($,T)=>T.toString(16).padStart(2,"0")),GT=()=>{if(PT)return PT();let $=new Uint8Array(16);return crypto.getRandomValues($),$[6]=$[6]&15|64,$[8]=$[8]&63|128,H[$[0]]+H[$[1]]+H[$[2]]+H[$[3]]+"-"+H[$[4]]+H[$[5]]+"-"+H[$[6]]+H[$[7]]+"-"+H[$[8]]+H[$[9]]+"-"+H[$[10]]+H[$[11]]+H[$[12]]+H[$[13]]+H[$[14]]+H[$[15]]},v=function(T){return Object.assign(new String(T),{deserializeJSON(){return JSON.parse(String(T))},toString(){return String(T)},toJSON(){return String(T)}})};v.from=($)=>{if($&&typeof $==="object"&&($ instanceof v||("deserializeJSON"in $)))return $;else if(typeof $==="string"||Object.getPrototypeOf($)===String.prototype)return v(String($));return v(JSON.stringify($))};v.fromObject=v.from;function gU($){if($.includes(",")||$.includes('"'))$=`"${$.replace(/"/g,"\\\"")}"`;return $}var b1="(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?",k1="(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)",p1="(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?",ZT="(\\d?\\d)",RT="(\\d{4})",mU=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),dU=new RegExp(`^${b1}, ${ZT} ${k1} ${RT} ${p1} GMT$`),vU=new RegExp(`^${b1}, ${ZT}-${k1}-(\\d\\d) ${p1} GMT$`),nU=new RegExp(`^${b1} ${k1} ( [1-9]|\\d\\d) ${p1} ${RT}$`),tU=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],iU=($)=>{if($==null)return;let T=NaN;if(typeof $==="number")T=$;else if(typeof $==="string"){if(!/^-?\d*\.?\d+$/.test($))throw TypeError("parseEpochTimestamp - numeric string invalid.");T=Number.parseFloat($)}else if(typeof $==="object"&&$.tag===1)T=$.value;if(isNaN(T)||Math.abs(T)===1/0)throw TypeError("Epoch timestamps must be valid finite numbers.");return new Date(Math.round(T*1000))},uU=($)=>{if($==null)return;if(typeof $!=="string")throw TypeError("RFC3339 timestamps must be strings");let T=mU.exec($);if(!T)throw TypeError(`Invalid RFC3339 timestamp format ${$}`);let[,w,P,I,h,U,A,,_,M]=T;z(P,1,12),z(I,1,31),z(h,0,23),z(U,0,59),z(A,0,60);let Y=new Date(Date.UTC(Number(w),Number(P)-1,Number(I),Number(h),Number(U),Number(A),Number(_)?Math.round(parseFloat(`0.${_}`)*1000):0));if(Y.setUTCFullYear(Number(w)),M.toUpperCase()!="Z"){let[,X,J,f]=/([+-])(\d\d):(\d\d)/.exec(M)||[void 0,"+",0,0],G=X==="-"?1:-1;Y.setTime(Y.getTime()+G*(Number(J)*60*60*1000+Number(f)*60*1000))}return Y},rU=($)=>{if($==null)return;if(typeof $!=="string")throw TypeError("RFC7231 timestamps must be strings.");let T,w,P,I,h,U,A,_;if(_=dU.exec($))[,T,w,P,I,h,U,A]=_;else if(_=vU.exec($))[,T,w,P,I,h,U,A]=_,P=(Number(P)+1900).toString();else if(_=nU.exec($))[,w,T,I,h,U,A,P]=_;if(P&&U){let M=Date.UTC(Number(P),tU.indexOf(w),Number(T),Number(I),Number(h),Number(U),A?Math.round(parseFloat(`0.${A}`)*1000):0);z(T,1,31),z(I,0,23),z(h,0,59),z(U,0,60);let Y=new Date(M);return Y.setUTCFullYear(Number(P)),Y}throw TypeError(`Invalid RFC7231 date-time value ${$}.`)};function z($,T,w){let P=Number($);if(P<T||P>w)throw Error(`Value ${P} out of range [${T}, ${w}]`)}function lU($,T,w){if(w<=0||!Number.isInteger(w))throw Error("Invalid number of delimiters ("+w+") for splitEvery.");let P=$.split(T);if(w===1)return P;let I=[],h="";for(let U=0;U<P.length;U++){if(h==="")h=P[U];else h+=T+P[U];if((U+1)%w===0)I.push(h),h=""}if(h!=="")I.push(h);return I}var oU=($)=>{let T=$.length,w=[],P=!1,I=void 0,h=0;for(let U=0;U<T;++U){let A=$[U];switch(A){case'"':if(I!=="\\")P=!P;break;case",":if(!P)w.push($.slice(h,U)),h=U+1;break}I=A}return w.push($.slice(h)),w.map((U)=>{U=U.trim();let A=U.length;if(A<2)return U;if(U[0]==='"'&&U[A-1]==='"')U=U.slice(1,A-1);return U.replace(/\\"/g,'"')})},IT=/^-?\d*(\.\d+)?$/;class k0{string;type;constructor($,T){if(this.string=$,this.type=T,!IT.test($))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]($){if(!$||typeof $!=="object")return!1;let T=$;return k0.prototype.isPrototypeOf($)||T.type==="bigDecimal"&&IT.test(T.string)}}function aU($){return new k0(String($),"bigDecimal")}var QT={},S1={};for(let $=0;$<256;$++){let T=$.toString(16).toLowerCase();if(T.length===1)T=`0${T}`;QT[$]=T,S1[T]=$}function eU($){if($.length%2!==0)throw Error("Hex encoded strings must have an even number length");let T=new Uint8Array($.length/2);for(let w=0;w<$.length;w+=2){let P=$.slice(w,w+2).toLowerCase();if(P in S1)T[w/2]=S1[P];else throw Error(`Cannot decode unrecognized sequence ${P} as hexadecimal`)}return T}function VT($){let T="";for(let w=0;w<$.byteLength;w++)T+=QT[$[w]];return T}var OT=($)=>typeof ArrayBuffer==="function"&&$ instanceof ArrayBuffer||Object.prototype.toString.call($)==="[object ArrayBuffer]",a=($,T=0,w=$.byteLength-T)=>{if(!OT($))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof $} (${$})`);return Buffer.from($,T,w)},p0=($,T)=>{if(typeof $!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof $} (${$})`);return T?Buffer.from($,T):Buffer.from($)},$A=/^[A-Za-z0-9+/]*={0,2}$/,y1=($)=>{if($.length*3%4!==0)throw TypeError("Incorrect padding on base64 string.");if(!$A.exec($))throw TypeError("Invalid base64 string.");let T=p0($,"base64");return new Uint8Array(T.buffer,T.byteOffset,T.byteLength)},y0=($)=>{let T=p0($,"utf8");return new Uint8Array(T.buffer,T.byteOffset,T.byteLength/Uint8Array.BYTES_PER_ELEMENT)},G0=($)=>{let T;if(typeof $==="string")T=y0($);else T=$;if(typeof T!=="object"||typeof T.byteOffset!=="number"||typeof T.byteLength!=="number")throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return a(T.buffer,T.byteOffset,T.byteLength).toString("base64")},TA=($)=>{if(!$)return 0;if(typeof $==="string")return Buffer.byteLength($);else if(typeof $.byteLength==="number")return $.byteLength;else if(typeof $.size==="number")return $.size;else if(typeof $.start==="number"&&typeof $.end==="number")return $.end+1-$.start;else if($ instanceof K1.ReadStream){if($.path!=null)return K1.lstatSync($.path).size;else if(typeof $.fd==="number")return K1.fstatSync($.fd).size}throw Error(`Body Length computation failed for ${$}`)},NT=($)=>{if(typeof $==="string")return y0($);if(ArrayBuffer.isView($))return new Uint8Array($.buffer,$.byteOffset,$.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array($)},g1=($)=>{if(typeof $==="string")return $;if(typeof $!=="object"||typeof $.byteOffset!=="number"||typeof $.byteLength!=="number")throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return a($.buffer,$.byteOffset,$.byteLength).toString("utf8")},LT=($,T)=>(w,P)=>async(I)=>{let{response:h}=await w(I);try{let U=await T(h,$);return{response:h,output:U}}catch(U){if(Object.defineProperty(U,"$response",{value:h,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in U)){try{U.message+=`
4
+ Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`}catch(_){if(!P.logger||P.logger?.constructor?.name==="NoOpLogger")console.warn("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.");else P.logger?.warn?.("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.")}if(typeof U.$responseBodyText<"u"){if(U.$response)U.$response.body=U.$responseBodyText}try{if(IU.HttpResponse.isInstance(h)){let{headers:_={}}=h,M=Object.entries(_);U.$metadata={httpStatusCode:h.statusCode,requestId:q1(/^x-[\w-]+-request-?id$/,M),extendedRequestId:q1(/^x-[\w-]+-id-2$/,M),cfId:q1(/^x-[\w-]+-cf-id$/,M)}}}catch(_){}}throw U}},q1=($,T)=>{return(T.find(([w])=>{return w.match($)})||[void 0,void 0])[1]},WT=($,T)=>(w,P)=>async(I)=>{let h=$,U=P.endpointV2?async()=>hU.toEndpointV1(P.endpointV2):h.endpoint;if(!U)throw Error("No valid endpoint provider available.");let A=await T(I.input,{...$,endpoint:U});return w({...I,request:A})},HT={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},DT={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function wA($,T,w){return{applyToStack:(P)=>{P.add(LT($,w),HT),P.add(WT($,T),DT)}}}class ET{algorithmIdentifier;secret;hash;constructor($,T){this.algorithmIdentifier=$,this.secret=T,this.reset()}update($,T){this.hash.update(NT(hT($,T)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?wT.createHmac(this.algorithmIdentifier,hT(this.secret)):wT.createHash(this.algorithmIdentifier)}}function hT($,T){if(Buffer.isBuffer($))return $;if(typeof $==="string")return p0($,T);if(ArrayBuffer.isView($))return a($.buffer,$.byteOffset,$.byteLength);return a($)}class X0 extends Uint8Array{static fromString($,T="utf-8"){if(typeof $==="string"){if(T==="base64")return X0.mutate(y1($));return X0.mutate(y0($))}throw Error(`Unsupported conversion from ${typeof $} to Uint8ArrayBlobAdapter.`)}static mutate($){return Object.setPrototypeOf($,X0.prototype),$}transformToString($="utf-8"){if($==="base64")return G0(this);return g1(this)}}var KT=class extends q.Duplex{expectedChecksum;checksumSourceLocation;checksum;source;base64Encoder;pendingCallback=null;constructor({expectedChecksum:T,checksum:w,source:P,checksumSourceLocation:I,base64Encoder:h}){super();if(typeof P.pipe==="function")this.source=P;else throw Error(`@smithy/util-stream: unsupported source type ${P?.constructor?.name??P} in ChecksumStream.`);this.base64Encoder=h??G0,this.expectedChecksum=T,this.checksum=w,this.checksumSourceLocation=I,this.source.pipe(this)}_read(T){if(this.pendingCallback){let w=this.pendingCallback;this.pendingCallback=null,w()}}_write(T,w,P){try{if(this.checksum.update(T),!this.push(T)){this.pendingCallback=P;return}}catch(I){return P(I)}return P()}async _final(T){try{let w=await this.checksum.digest(),P=this.base64Encoder(w);if(this.expectedChecksum!==P)return T(Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${P}" in response header "${this.checksumSourceLocation}".`))}catch(w){return T(w)}return this.push(null),T()}},S=($)=>typeof ReadableStream==="function"&&($?.constructor?.name===ReadableStream.name||$ instanceof ReadableStream),BT=($)=>{return typeof Blob==="function"&&($?.constructor?.name===Blob.name||$ instanceof Blob)},PA=typeof ReadableStream==="function"?ReadableStream:function(){};class qT extends PA{}var IA=({expectedChecksum:$,checksum:T,source:w,checksumSourceLocation:P,base64Encoder:I})=>{if(!S(w))throw Error(`@smithy/util-stream: unsupported source type ${w?.constructor?.name??w} in ChecksumStream.`);let h=I??G0;if(typeof TransformStream!=="function")throw Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");let U=new TransformStream({start(){},async transform(_,M){T.update(_),M.enqueue(_)},async flush(_){let M=await T.digest(),Y=h(M);if($!==Y){let X=Error(`Checksum mismatch: expected "${$}" but received "${Y}" in response header "${P}".`);_.error(X)}else _.terminate()}});w.pipeThrough(U);let A=U.readable;return Object.setPrototypeOf(A,qT.prototype),A};function hA($){if(typeof ReadableStream==="function"&&S($.source))return IA($);return new KT($)}class b0{allocByteArray;byteLength=0;byteArrays=[];constructor($){this.allocByteArray=$}push($){this.byteArrays.push($),this.byteLength+=$.byteLength}flush(){if(this.byteArrays.length===1){let w=this.byteArrays[0];return this.reset(),w}let $=this.allocByteArray(this.byteLength),T=0;for(let w=0;w<this.byteArrays.length;++w){let P=this.byteArrays[w];$.set(P,T),T+=P.byteLength}return this.reset(),$}reset(){this.byteArrays=[],this.byteLength=0}}function UA($,T,w){let P=$.getReader(),I=!1,h=0,U=["",new b0((M)=>new Uint8Array(M))],A=-1,_=async(M)=>{let{value:Y,done:X}=await P.read(),J=Y;if(X){if(A!==-1){let f=r(U,A);if(p(f)>0)M.enqueue(f)}M.close()}else{let f=FT(J,!1);if(A!==f){if(A>=0)M.enqueue(r(U,A));A=f}if(A===-1){M.enqueue(J);return}let G=p(J);h+=G;let Q=p(U[A]);if(G>=T&&Q===0)M.enqueue(J);else{let Z=xT(U,A,J);if(!I&&h>T*2)I=!0,w?.warn(`@smithy/util-stream - stream chunk size ${G} is below threshold of ${T}, automatically buffering.`);if(Z>=T)M.enqueue(r(U,A));else await _(M)}}};return new ReadableStream({pull:_})}function xT($,T,w){switch(T){case 0:return $[0]+=w,p($[0]);case 1:case 2:return $[T].push(w),p($[T])}}function r($,T){switch(T){case 0:let w=$[0];return $[0]="",w;case 1:case 2:return $[T].flush()}throw Error(`@smithy/util-stream - invalid index ${T} given to flush()`)}function p($){return $?.byteLength??$?.length??0}function FT($,T=!0){if(T&&typeof Buffer<"u"&&$ instanceof Buffer)return 2;if($ instanceof Uint8Array)return 1;if(typeof $==="string")return 0;return-1}function AA($,T,w){if(S($))return UA($,T,w);let P=new q.Readable({read(){}}),I=!1,h=0,U=["",new b0((_)=>new Uint8Array(_)),new b0((_)=>Buffer.from(new Uint8Array(_)))],A=-1;return $.on("data",(_)=>{let M=FT(_,!0);if(A!==M){if(A>=0)P.push(r(U,A));A=M}if(A===-1){P.push(_);return}let Y=p(_);h+=Y;let X=p(U[A]);if(Y>=T&&X===0)P.push(_);else{let J=xT(U,A,_);if(!I&&h>T*2)I=!0,w?.warn(`@smithy/util-stream - stream chunk size ${Y} is below threshold of ${T}, automatically buffering.`);if(J>=T)P.push(r(U,A))}}),$.on("end",()=>{if(A!==-1){let _=r(U,A);if(p(_)>0)P.push(_)}P.push(null)}),P}var _A=($,T)=>{let{base64Encoder:w,bodyLengthChecker:P,checksumAlgorithmFn:I,checksumLocationName:h,streamHasher:U}=T,A=w!==void 0&&P!==void 0&&I!==void 0&&h!==void 0&&U!==void 0,_=A?U(I,$):void 0,M=$.getReader();return new ReadableStream({async pull(Y){let{value:X,done:J}=await M.read();if(J){if(Y.enqueue(`0\r
5
+ `),A){let f=w(await _);Y.enqueue(`${h}:${f}\r
6
+ `),Y.enqueue(`\r
7
+ `)}Y.close()}else Y.enqueue(`${(P(X)||0).toString(16)}\r
8
+ ${X}\r
9
+ `)}})};function MA($,T){let w=$,P=$;if(S(P))return _A(P,T);let{base64Encoder:I,bodyLengthChecker:h,checksumAlgorithmFn:U,checksumLocationName:A,streamHasher:_}=T,M=I!==void 0&&U!==void 0&&A!==void 0&&_!==void 0,Y=M?_(U,w):void 0,X=new q.Readable({read:()=>{}});return w.on("data",(J)=>{let f=h(J)||0;if(f===0)return;X.push(`${f.toString(16)}\r
10
+ `),X.push(J),X.push(`\r
11
+ `)}),w.on("end",async()=>{if(X.push(`0\r
12
+ `),M){let J=I(await Y);X.push(`${A}:${J}\r
13
+ `),X.push(`\r
14
+ `)}X.push(null)}),X}async function XA($,T){let w=0,P=[],I=$.getReader(),h=!1;while(!h){let{done:_,value:M}=await I.read();if(M)P.push(M),w+=M?.byteLength??0;if(w>=T)break;h=_}I.releaseLock();let U=new Uint8Array(Math.min(T,w)),A=0;for(let _ of P){if(_.byteLength>U.byteLength-A){U.set(_.subarray(0,U.byteLength-A),A);break}else U.set(_,A);A+=_.length}return U}var JA=($,T)=>{if(S($))return XA($,T);return new Promise((w,P)=>{let I=new YA;I.limit=T,$.pipe(I),$.on("error",(h)=>{I.end(),P(h)}),I.on("error",P),I.on("finish",function(){let h=new Uint8Array(Buffer.concat(this.buffers));w(h)})})},YA=class extends q.Writable{buffers=[];limit=1/0;bytesBuffered=0;_write(T,w,P){if(this.buffers.push(T),this.bytesBuffered+=T.byteLength??0,this.bytesBuffered>=this.limit){let I=this.bytesBuffered-this.limit,h=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=h.subarray(0,h.byteLength-I),this.emit("finish")}P()}},fA=async($)=>{if(typeof Blob==="function"&&$ instanceof Blob||$.constructor?.name==="Blob"){if(Blob.prototype.arrayBuffer!==void 0)return new Uint8Array(await $.arrayBuffer());return GA($)}return ZA($)};async function GA($){let T=await RA($),w=y1(T);return new Uint8Array(w)}async function ZA($){let T=[],w=$.getReader(),P=!1,I=0;while(!P){let{done:A,value:_}=await w.read();if(_)T.push(_),I+=_.length;P=A}let h=new Uint8Array(I),U=0;for(let A of T)h.set(A,U),U+=A.length;return h}function RA($){return new Promise((T,w)=>{let P=new FileReader;P.onloadend=()=>{if(P.readyState!==2)return w(Error("Reader aborted too early"));let I=P.result??"",h=I.indexOf(","),U=h>-1?h+1:I.length;T(I.substring(U))},P.onabort=()=>w(Error("Read aborted")),P.onerror=()=>w(P.error),P.readAsDataURL($)})}var UT="The stream has already been transformed.",QA=($)=>{if(!AT($)&&!S($)){let I=$?.__proto__?.constructor?.name||$;throw Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${I}`)}let T=!1,w=async()=>{if(T)throw Error(UT);return T=!0,await fA($)},P=(I)=>{if(typeof I.stream!=="function")throw Error(`Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.
15
+ If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body`);return I.stream()};return Object.assign($,{transformToByteArray:w,transformToString:async(I)=>{let h=await w();if(I==="base64")return G0(h);else if(I==="hex")return VT(h);else if(I===void 0||I==="utf8"||I==="utf-8")return g1(h);else if(typeof TextDecoder==="function")return new TextDecoder(I).decode(h);else throw Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(T)throw Error(UT);if(T=!0,AT($))return P($);else if(S($))return $;else throw Error(`Cannot transform payload to web stream, got ${$}`)}})},AT=($)=>typeof Blob==="function"&&$ instanceof Blob;class zT extends q.Writable{bufferedBytes=[];_write($,T,w){this.bufferedBytes.push($),w()}}var VA=($)=>typeof ReadableStream==="function"&&$ instanceof ReadableStream;async function OA($){let T=[],w=$.getReader(),P=!1,I=0;while(!P){let{done:A,value:_}=await w.read();if(_)T.push(_),I+=_.length;P=A}let h=new Uint8Array(I),U=0;for(let A of T)h.set(A,U),U+=A.length;return h}var NA=($)=>{if(VA($))return OA($);return new Promise((T,w)=>{let P=new zT;$.pipe(P),$.on("error",(I)=>{P.end(),w(I)}),P.on("error",w),P.on("finish",function(){let I=new Uint8Array(Buffer.concat(this.bufferedBytes));T(I)})})},_T="The stream has already been transformed.",LA=($)=>{if(!($ instanceof q.Readable))try{return QA($)}catch(P){let I=$?.__proto__?.constructor?.name||$;throw Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${I}`)}let T=!1,w=async()=>{if(T)throw Error(_T);return T=!0,await NA($)};return Object.assign($,{transformToByteArray:w,transformToString:async(P)=>{let I=await w();if(P===void 0||Buffer.isEncoding(P))return a(I.buffer,I.byteOffset,I.byteLength).toString(P);else return new TextDecoder(P).decode(I)},transformToWebStream:()=>{if(T)throw Error(_T);if($.readableFlowing!==null)throw Error("The stream has been consumed by other callbacks.");if(typeof q.Readable.toWeb!=="function")throw Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.");return T=!0,q.Readable.toWeb($)}})};async function WA($){if(typeof $.stream==="function")$=$.stream();return $.tee()}async function HA($){if(S($)||BT($))return WA($);let T=new q.PassThrough,w=new q.PassThrough;return $.pipe(T),$.pipe(w),[T,w]}DA.ChecksumStream=KT;DA.Hash=ET;DA.LazyJsonString=v;DA.NumericValue=k0;DA.Uint8ArrayBlobAdapter=X0;DA._parseEpochTimestamp=iU;DA._parseRfc3339DateTimeWithOffset=uU;DA._parseRfc7231DateTime=rU;DA.calculateBodyLength=TA;DA.copyDocumentWithTransform=UU;DA.createBufferedReadable=AA;DA.createChecksumStream=hA;DA.dateToUtcString=HU;DA.deserializerMiddleware=LT;DA.deserializerMiddlewareOption=HT;DA.expectBoolean=_U;DA.expectByte=z1;DA.expectFloat32=s0;DA.expectInt=XU;DA.expectInt32=x1;DA.expectLong=Y0;DA.expectNonNull=YU;DA.expectNumber=J0;DA.expectObject=MT;DA.expectShort=F1;DA.expectString=fU;DA.expectUnion=GU;DA.fromArrayBuffer=a;DA.fromBase64=y1;DA.fromHex=eU;DA.fromString=p0;DA.fromUtf8=y0;DA.generateIdempotencyToken=GT;DA.getAwsChunkedEncodingStream=MA;DA.getSerdePlugin=wA;DA.handleFloat=QU;DA.headStream=JA;DA.isArrayBuffer=OT;DA.isBlob=BT;DA.isReadableStream=S;DA.limitedParseDouble=s1;DA.limitedParseFloat=VU;DA.limitedParseFloat32=OU;DA.logger=f0;DA.nv=aU;DA.parseBoolean=AU;DA.parseEpochTimestamp=SU;DA.parseRfc3339DateTime=EU;DA.parseRfc3339DateTimeWithOffset=BU;DA.parseRfc7231DateTime=zU;DA.quoteHeader=gU;DA.sdkStreamMixin=LA;DA.serializerMiddleware=WT;DA.serializerMiddlewareOption=DT;DA.splitEvery=lU;DA.splitHeader=oU;DA.splitStream=HA;DA.strictParseByte=fT;DA.strictParseDouble=C1;DA.strictParseFloat=ZU;DA.strictParseFloat32=XT;DA.strictParseInt=NU;DA.strictParseInt32=LU;DA.strictParseLong=YT;DA.strictParseShort=l;DA.toBase64=G0;DA.toHex=VT;DA.toUint8Array=NT;DA.toUtf8=g1;DA.v4=GT});var C0=y((o_)=>{var O=ST(),E=h1(),g_=P0(),n=async($=new Uint8Array,T)=>{if($ instanceof Uint8Array)return O.Uint8ArrayBlobAdapter.mutate($);if(!$)return O.Uint8ArrayBlobAdapter.mutate(new Uint8Array);let w=T.streamCollector($);return O.Uint8ArrayBlobAdapter.mutate(await w)};function R0($){return encodeURIComponent($).replace(/[!'()*]/g,function(T){return"%"+T.charCodeAt(0).toString(16).toUpperCase()})}class $0{serdeContext;setSerdeContext($){this.serdeContext=$}}class j{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor($){this.method=$.method||"GET",this.hostname=$.hostname||"localhost",this.port=$.port,this.query=$.query||{},this.headers=$.headers||{},this.body=$.body,this.protocol=$.protocol?$.protocol.slice(-1)!==":"?`${$.protocol}:`:$.protocol:"https:",this.path=$.path?$.path.charAt(0)!=="/"?`/${$.path}`:$.path:"/",this.username=$.username,this.password=$.password,this.fragment=$.fragment}static clone($){let T=new j({...$,headers:{...$.headers}});if(T.query)T.query=m_(T.query);return T}static isInstance($){if(!$)return!1;let T=$;return"method"in T&&"protocol"in T&&"hostname"in T&&"path"in T&&typeof T.query==="object"&&typeof T.headers==="object"}clone(){return j.clone(this)}}function m_($){return Object.keys($).reduce((T,w)=>{let P=$[w];return{...T,[w]:Array.isArray(P)?[...P]:P}},{})}class m1{statusCode;reason;headers;body;constructor($){this.statusCode=$.statusCode,this.reason=$.reason,this.headers=$.headers||{},this.body=$.body}static isInstance($){if(!$)return!1;let T=$;return typeof T.statusCode==="number"&&typeof T.headers==="object"}}class g0 extends $0{options;compositeErrorRegistry;constructor($){super();this.options=$,this.compositeErrorRegistry=E.TypeRegistry.for($.defaultNamespace);for(let T of $.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(T)}getRequestType(){return j}getResponseType(){return m1}setSerdeContext($){if(this.serdeContext=$,this.serializer.setSerdeContext($),this.deserializer.setSerdeContext($),this.getPayloadCodec())this.getPayloadCodec().setSerdeContext($)}updateServiceEndpoint($,T){if("url"in T){if($.protocol=T.url.protocol,$.hostname=T.url.hostname,$.port=T.url.port?Number(T.url.port):void 0,$.path=T.url.pathname,$.fragment=T.url.hash||void 0,$.username=T.url.username||void 0,$.password=T.url.password||void 0,!$.query)$.query={};for(let[w,P]of T.url.searchParams.entries())$.query[w]=P;if(T.headers)for(let w in T.headers)$.headers[w]=T.headers[w].join(", ");return $}else{if($.protocol=T.protocol,$.hostname=T.hostname,$.port=T.port?Number(T.port):void 0,$.path=T.path,$.query={...T.query},T.headers)for(let w in T.headers)$.headers[w]=T.headers[w];return $}}setHostPrefix($,T,w){if(this.serdeContext?.disableHostPrefix)return;let P=E.NormalizedSchema.of(T.input),I=E.translateTraits(T.traits??{});if(I.endpoint){let h=I.endpoint?.[0];if(typeof h==="string"){for(let[U,A]of P.structIterator()){if(!A.getMergedTraits().hostLabel)continue;let _=w[U];if(typeof _!=="string")throw Error(`@smithy/core/schema - ${U} in input must be a string as hostLabel.`);h=h.replace(`{${U}}`,_)}$.hostname=h+$.hostname}}}deserializeMetadata($){return{httpStatusCode:$.statusCode,requestId:$.headers["x-amzn-requestid"]??$.headers["x-amzn-request-id"]??$.headers["x-amz-request-id"],extendedRequestId:$.headers["x-amz-id-2"],cfId:$.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:$,requestSchema:T,initialRequest:w}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:$,requestSchema:T,initialRequest:w})}async deserializeEventStream({response:$,responseSchema:T,initialResponseContainer:w}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:$,responseSchema:T,initialResponseContainer:w})}async loadEventStreamCapability(){let{EventStreamSerde:$}=await import("./index-0.2.0-z8m5wd19.mjs");return new $({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage($,T,w,P,I){return[]}getEventStreamMarshaller(){let $=this.serdeContext;if(!$.eventStreamMarshaller)throw Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return $.eventStreamMarshaller}}class CT extends g0{async serializeRequest($,T,w){let P=T&&typeof T==="object"?T:{},I=this.serializer,h={},U={},A=await w.endpoint(),_=E.NormalizedSchema.of($?.input),M=[],Y=[],X=!1,J,f=new j({protocol:"",hostname:"",port:void 0,path:"",fragment:void 0,query:h,headers:U,body:void 0});if(A){this.updateServiceEndpoint(f,A),this.setHostPrefix(f,$,P);let G=E.translateTraits($.traits);if(G.http){f.method=G.http[0];let[Q,Z]=G.http[1].split("?");if(f.path=="/")f.path=Q;else f.path+=Q;let R=new URLSearchParams(Z??"");for(let[V,L]of R)h[V]=L}}for(let[G,Q]of _.structIterator()){let Z=Q.getMergedTraits()??{},R=P[G];if(R==null&&!Q.isIdempotencyToken()){if(Z.httpLabel){if(f.path.includes(`{${G}+}`)||f.path.includes(`{${G}}`))throw Error(`No value provided for input HTTP label: ${G}.`)}continue}if(Z.httpPayload)if(Q.isStreaming())if(Q.isStructSchema()){if(P[G])J=await this.serializeEventStream({eventStream:P[G],requestSchema:_})}else J=R;else I.write(Q,R),J=I.flush();else if(Z.httpLabel){I.write(Q,R);let V=I.flush();if(f.path.includes(`{${G}+}`))f.path=f.path.replace(`{${G}+}`,V.split("/").map(R0).join("/"));else if(f.path.includes(`{${G}}`))f.path=f.path.replace(`{${G}}`,R0(V))}else if(Z.httpHeader)I.write(Q,R),U[Z.httpHeader.toLowerCase()]=String(I.flush());else if(typeof Z.httpPrefixHeaders==="string")for(let V in R){let L=R[V],W=Z.httpPrefixHeaders+V;I.write([Q.getValueSchema(),{httpHeader:W}],L),U[W.toLowerCase()]=I.flush()}else if(Z.httpQuery||Z.httpQueryParams)this.serializeQuery(Q,R,h);else X=!0,M.push(G),Y.push(Q)}if(X&&P){let[G,Q]=(_.getName(!0)??"#Unknown").split("#"),Z=_.getSchema()[6],R=[3,G,Q,_.getMergedTraits(),M,Y,void 0];if(Z)R[6]=Z;else R.pop();I.write(R,P),J=I.flush()}return f.headers=U,f.query=h,f.body=J,f}serializeQuery($,T,w){let P=this.serializer,I=$.getMergedTraits();if(I.httpQueryParams){for(let h in T)if(!(h in w)){let U=T[h],A=$.getValueSchema();Object.assign(A.getMergedTraits(),{...I,httpQuery:h,httpQueryParams:void 0}),this.serializeQuery(A,U,w)}return}if($.isListSchema()){let h=!!$.getMergedTraits().sparse,U=[];for(let A of T){P.write([$.getValueSchema(),I],A);let _=P.flush();if(h||_!==void 0)U.push(_)}w[I.httpQuery]=U}else P.write([$,I],T),w[I.httpQuery]=P.flush()}async deserializeResponse($,T,w){let P=this.deserializer,I=E.NormalizedSchema.of($.output),h={};if(w.statusCode>=300){let A=await n(w.body,T);if(A.byteLength>0)Object.assign(h,await P.read(15,A));throw await this.handleError($,T,w,h,this.deserializeMetadata(w)),Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(let A in w.headers){let _=w.headers[A];delete w.headers[A],w.headers[A.toLowerCase()]=_}let U=await this.deserializeHttpMessage(I,T,w,h);if(U.length){let A=await n(w.body,T);if(A.byteLength>0){let _=await P.read(I,A);for(let M of U)if(_[M]!=null)h[M]=_[M]}}else if(U.discardResponseBody)await n(w.body,T);return h.$metadata=this.deserializeMetadata(w),h}async deserializeHttpMessage($,T,w,P,I){let h;if(P instanceof Set)h=I;else h=P;let U=!0,A=this.deserializer,_=E.NormalizedSchema.of($),M=[];for(let[Y,X]of _.structIterator()){let J=X.getMemberTraits();if(J.httpPayload){if(U=!1,X.isStreaming())if(X.isStructSchema())h[Y]=await this.deserializeEventStream({response:w,responseSchema:_});else h[Y]=O.sdkStreamMixin(w.body);else if(w.body){let G=await n(w.body,T);if(G.byteLength>0)h[Y]=await A.read(X,G)}}else if(J.httpHeader){let f=String(J.httpHeader).toLowerCase(),G=w.headers[f];if(G!=null)if(X.isListSchema()){let Q=X.getValueSchema();Q.getMergedTraits().httpHeader=f;let Z;if(Q.isTimestampSchema()&&Q.getSchema()===4)Z=O.splitEvery(G,",",2);else Z=O.splitHeader(G);let R=[];for(let V of Z)R.push(await A.read(Q,V.trim()));h[Y]=R}else h[Y]=await A.read(X,G)}else if(J.httpPrefixHeaders!==void 0){h[Y]={};for(let f in w.headers)if(f.startsWith(J.httpPrefixHeaders)){let G=w.headers[f],Q=X.getValueSchema();Q.getMergedTraits().httpHeader=f,h[Y][f.slice(J.httpPrefixHeaders.length)]=await A.read(Q,G)}}else if(J.httpResponseCode)h[Y]=w.statusCode;else M.push(Y)}return M.discardResponseBody=U,M}}class sT extends g0{async serializeRequest($,T,w){let P=this.serializer,I={},h={},U=await w.endpoint(),A=E.NormalizedSchema.of($?.input),_=A.getSchema(),M,Y=T&&typeof T==="object"?T:{},X=new j({protocol:"",hostname:"",port:void 0,path:"/",fragment:void 0,query:I,headers:h,body:void 0});if(U)this.updateServiceEndpoint(X,U),this.setHostPrefix(X,$,Y);if(Y){let J=A.getEventStreamMember();if(J){if(Y[J]){let f={};for(let[G,Q]of A.structIterator())if(G!==J&&Y[G])P.write(Q,Y[G]),f[G]=P.flush();M=await this.serializeEventStream({eventStream:Y[J],requestSchema:A,initialRequest:f})}}else P.write(_,Y),M=P.flush()}return X.headers=Object.assign(X.headers,h),X.query=I,X.body=M,X.method="POST",X}async deserializeResponse($,T,w){let P=this.deserializer,I=E.NormalizedSchema.of($.output),h={};if(w.statusCode>=300){let A=await n(w.body,T);if(A.byteLength>0)Object.assign(h,await P.read(15,A));throw await this.handleError($,T,w,h,this.deserializeMetadata(w)),Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(let A in w.headers){let _=w.headers[A];delete w.headers[A],w.headers[A.toLowerCase()]=_}let U=I.getEventStreamMember();if(U)h[U]=await this.deserializeEventStream({response:w,responseSchema:I,initialResponseContainer:h});else{let A=await n(w.body,T);if(A.byteLength>0)Object.assign(h,await P.read(I,A))}return h.$metadata=this.deserializeMetadata(w),h}}var cT=($,T,w,P,I,h)=>{if(T!=null&&T[w]!==void 0){let U=P();if(U==null||U.length<=0)throw Error("Empty value provided for input HTTP label: "+w+".");$=$.replace(I,h?U.split("/").map((A)=>R0(A)).join("/"):R0(U))}else throw Error("No value provided for input HTTP label: "+w+".");return $};function d_($,T){return new d1($,T)}class d1{input;context;query={};method="";headers={};path="";body=null;hostname="";resolvePathStack=[];constructor($,T){this.input=$,this.context=T}async build(){let{hostname:$,protocol:T="https",port:w,path:P}=await this.context.endpoint();this.path=P;for(let I of this.resolvePathStack)I(this.path);return new j({protocol:T,hostname:this.hostname||$,port:w,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn($){return this.hostname=$,this}bp($){return this.resolvePathStack.push((T)=>{this.path=`${T?.endsWith("/")?T.slice(0,-1):T||""}`+$}),this}p($,T,w,P){return this.resolvePathStack.push((I)=>{this.path=cT(I,this.input,$,T,w,P)}),this}h($){return this.headers=$,this}q($){return this.query=$,this}b($){return this.body=$,this}m($){return this.method=$,this}}function v1($,T){if(T.timestampFormat.useTrait){if($.isTimestampSchema()&&($.getSchema()===5||$.getSchema()===6||$.getSchema()===7))return $.getSchema()}let{httpLabel:w,httpPrefixHeaders:P,httpHeader:I,httpQuery:h}=$.getMergedTraits();return(T.httpBindings?typeof P==="string"||Boolean(I)?6:Boolean(h)||Boolean(w)?5:void 0:void 0)??T.timestampFormat.default}class n1 extends $0{settings;constructor($){super();this.settings=$}read($,T){let w=E.NormalizedSchema.of($);if(w.isListSchema())return O.splitHeader(T).map((P)=>this.read(w.getValueSchema(),P));if(w.isBlobSchema())return(this.serdeContext?.base64Decoder??O.fromBase64)(T);if(w.isTimestampSchema())switch(v1(w,this.settings)){case 5:return O._parseRfc3339DateTimeWithOffset(T);case 6:return O._parseRfc7231DateTime(T);case 7:return O._parseEpochTimestamp(T);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",T),new Date(T)}if(w.isStringSchema()){let P=w.getMergedTraits().mediaType,I=T;if(P){if(w.getMergedTraits().httpHeader)I=this.base64ToUtf8(I);if(P==="application/json"||P.endsWith("+json"))I=O.LazyJsonString.from(I);return I}}if(w.isNumericSchema())return Number(T);if(w.isBigIntegerSchema())return BigInt(T);if(w.isBigDecimalSchema())return new O.NumericValue(T,"bigDecimal");if(w.isBooleanSchema())return String(T).toLowerCase()==="true";return T}base64ToUtf8($){return(this.serdeContext?.utf8Encoder??O.toUtf8)((this.serdeContext?.base64Decoder??O.fromBase64)($))}}class bT extends $0{codecDeserializer;stringDeserializer;constructor($,T){super();this.codecDeserializer=$,this.stringDeserializer=new n1(T)}setSerdeContext($){this.stringDeserializer.setSerdeContext($),this.codecDeserializer.setSerdeContext($),this.serdeContext=$}read($,T){let w=E.NormalizedSchema.of($),P=w.getMergedTraits(),I=this.serdeContext?.utf8Encoder??O.toUtf8;if(P.httpHeader||P.httpResponseCode)return this.stringDeserializer.read(w,I(T));if(P.httpPayload){if(w.isBlobSchema()){let h=this.serdeContext?.utf8Decoder??O.fromUtf8;if(typeof T==="string")return h(T);return T}else if(w.isStringSchema()){if("byteLength"in T)return I(T);return T}}return this.codecDeserializer.read(w,T)}}class t1 extends $0{settings;stringBuffer="";constructor($){super();this.settings=$}write($,T){let w=E.NormalizedSchema.of($);switch(typeof T){case"object":if(T===null){this.stringBuffer="null";return}if(w.isTimestampSchema()){if(!(T instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${T} when schema expected Date in ${w.getName(!0)}`);switch(v1(w,this.settings)){case 5:this.stringBuffer=T.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=O.dateToUtcString(T);break;case 7:this.stringBuffer=String(T.getTime()/1000);break;default:console.warn("Missing timestamp format, using epoch seconds",T),this.stringBuffer=String(T.getTime()/1000)}return}if(w.isBlobSchema()&&"byteLength"in T){this.stringBuffer=(this.serdeContext?.base64Encoder??O.toBase64)(T);return}if(w.isListSchema()&&Array.isArray(T)){let h="";for(let U of T){this.write([w.getValueSchema(),w.getMergedTraits()],U);let A=this.flush(),_=w.getValueSchema().isTimestampSchema()?A:O.quoteHeader(A);if(h!=="")h+=", ";h+=_}this.stringBuffer=h;return}this.stringBuffer=JSON.stringify(T,null,2);break;case"string":let P=w.getMergedTraits().mediaType,I=T;if(P){if(P==="application/json"||P.endsWith("+json"))I=O.LazyJsonString.from(I);if(w.getMergedTraits().httpHeader){this.stringBuffer=(this.serdeContext?.base64Encoder??O.toBase64)(I.toString());return}}this.stringBuffer=T;break;default:if(w.isIdempotencyToken())this.stringBuffer=O.generateIdempotencyToken();else this.stringBuffer=String(T)}}flush(){let $=this.stringBuffer;return this.stringBuffer="",$}}class kT{codecSerializer;stringSerializer;buffer;constructor($,T,w=new t1(T)){this.codecSerializer=$,this.stringSerializer=w}setSerdeContext($){this.codecSerializer.setSerdeContext($),this.stringSerializer.setSerdeContext($)}write($,T){let w=E.NormalizedSchema.of($),P=w.getMergedTraits();if(P.httpHeader||P.httpLabel||P.httpQuery){this.stringSerializer.write(w,T),this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(w,T)}flush(){if(this.buffer!==void 0){let $=this.buffer;return this.buffer=void 0,$}return this.codecSerializer.flush()}}class pT{name;kind;values;constructor({name:$,kind:T=g_.FieldPosition.HEADER,values:w=[]}){this.name=$,this.kind=T,this.values=w}add($){this.values.push($)}set($){this.values=$}remove($){this.values=this.values.filter((T)=>T!==$)}toString(){return this.values.map(($)=>$.includes(",")||$.includes(" ")?`"${$}"`:$).join(", ")}get(){return this.values}}class yT{entries={};encoding;constructor({fields:$=[],encoding:T="utf-8"}){$.forEach(this.setField.bind(this)),this.encoding=T}setField($){this.entries[$.name.toLowerCase()]=$}getField($){return this.entries[$.toLowerCase()]}removeField($){delete this.entries[$.toLowerCase()]}getByType($){return Object.values(this.entries).filter((T)=>T.kind===$)}}function v_($){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test($)}var n_=($)=>{return{setHttpHandler(T){$.httpHandler=T},httpHandler(){return $.httpHandler},updateHttpClientConfig(T,w){$.httpHandler?.updateHttpClientConfig(T,w)},httpHandlerConfigs(){return $.httpHandler.httpHandlerConfigs()}}},t_=($)=>{return{httpHandler:$.httpHandler()}},jT="content-length";function gT($){return(T)=>async(w)=>{let P=w.request;if(j.isInstance(P)){let{body:I,headers:h}=P;if(I&&Object.keys(h).map((U)=>U.toLowerCase()).indexOf(jT)===-1)try{let U=$(I);P.headers={...P.headers,[jT]:String(U)}}catch(U){}}return T({...w,request:P})}}var mT={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},i_=($)=>({applyToStack:(T)=>{T.add(gT($.bodyLengthChecker),mT)}}),Z0=($)=>encodeURIComponent($).replace(/[!'()*]/g,u_),u_=($)=>`%${$.charCodeAt(0).toString(16).toUpperCase()}`,r_=($)=>$.split("/").map(Z0).join("/");function l_($){let T=[];for(let w of Object.keys($).sort()){let P=$[w];if(w=Z0(w),Array.isArray(P))for(let I=0,h=P.length;I<h;I++)T.push(`${w}=${Z0(P[I])}`);else{let I=w;if(P||typeof P==="string")I+=`=${Z0(P)}`;T.push(I)}}return T.join("&")}function dT($){let T={};if($=$.replace(/^\?/,""),$)for(let w of $.split("&")){let[P,I=null]=w.split("=");if(P=decodeURIComponent(P),I)I=decodeURIComponent(I);if(!(P in T))T[P]=I;else if(Array.isArray(T[P]))T[P].push(I);else T[P]=[T[P],I]}return T}var vT=($)=>{if(typeof $==="string")return vT(new URL($));let{hostname:T,pathname:w,port:P,protocol:I,search:h}=$,U;if(h)U=dT(h);return{hostname:T,port:P?parseInt(P):void 0,protocol:I,path:w,query:U}};o_.Field=pT;o_.Fields=yT;o_.FromStringShapeDeserializer=n1;o_.HttpBindingProtocol=CT;o_.HttpInterceptingShapeDeserializer=bT;o_.HttpInterceptingShapeSerializer=kT;o_.HttpProtocol=g0;o_.HttpRequest=j;o_.HttpResponse=m1;o_.RequestBuilder=d1;o_.RpcProtocol=sT;o_.SerdeContext=$0;o_.ToStringShapeSerializer=t1;o_.buildQueryString=l_;o_.collectBody=n;o_.contentLengthMiddleware=gT;o_.contentLengthMiddlewareOptions=mT;o_.determineTimestampFormat=v1;o_.escapeUri=Z0;o_.escapeUriPath=r_;o_.extendedEncodeURIComponent=R0;o_.getContentLengthPlugin=i_;o_.getHttpHandlerExtensionConfiguration=n_;o_.isValidHostname=v_;o_.parseQueryString=dT;o_.parseUrl=vT;o_.requestBuilder=d_;o_.resolveHttpHandlerRuntimeConfig=t_;o_.resolvedPath=cT});var h1=y((y6)=>{var nT=D0(),B6=C0(),q6=F0(),m0=($)=>{if(typeof $==="function")return $();return $},r1=($,T,w,P,I)=>({name:T,namespace:$,traits:w,input:P,output:I}),x6=($)=>(T,w)=>async(P)=>{let{response:I}=await T(P),{operationSchema:h}=nT.getSmithyContext(w),[,U,A,_,M,Y]=h??[];try{let X=await $.protocol.deserializeResponse(r1(U,A,_,M,Y),{...$,...w},I);return{response:I,output:X}}catch(X){if(Object.defineProperty(X,"$response",{value:I,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in X)){try{X.message+=`
16
+ Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`}catch(f){if(!w.logger||w.logger?.constructor?.name==="NoOpLogger")console.warn("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.");else w.logger?.warn?.("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.")}if(typeof X.$responseBodyText<"u"){if(X.$response)X.$response.body=X.$responseBodyText}try{if(B6.HttpResponse.isInstance(I)){let{headers:f={}}=I,G=Object.entries(f);X.$metadata={httpStatusCode:I.statusCode,requestId:i1(/^x-[\w-]+-request-?id$/,G),extendedRequestId:i1(/^x-[\w-]+-id-2$/,G),cfId:i1(/^x-[\w-]+-cf-id$/,G)}}}catch(f){}}throw X}},i1=($,T)=>{return(T.find(([w])=>{return w.match($)})||[void 0,void 0])[1]},F6=($)=>(T,w)=>async(P)=>{let{operationSchema:I}=nT.getSmithyContext(w),[,h,U,A,_,M]=I??[],Y=w.endpointV2?async()=>q6.toEndpointV1(w.endpointV2):$.endpoint,X=await $.protocol.serializeRequest(r1(h,U,A,_,M),P.input,{...$,...w,endpoint:Y});return T({...P,request:X})},tT={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},iT={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function z6($){return{applyToStack:(T)=>{T.add(F6($),iT),T.add(x6($),tT),$.protocol.setSerdeContext($)}}}class D{name;namespace;traits;static assign($,T){return Object.assign($,T)}static[Symbol.hasInstance]($){let T=this.prototype.isPrototypeOf($);if(!T&&typeof $==="object"&&$!==null)return $.symbol===this.symbol;return T}getName(){return this.namespace+"#"+this.name}}class t0 extends D{static symbol=Symbol.for("@smithy/lis");name;traits;valueSchema;symbol=t0.symbol}var S6=($,T,w,P)=>D.assign(new t0,{name:T,namespace:$,traits:w,valueSchema:P});class i0 extends D{static symbol=Symbol.for("@smithy/map");name;traits;keySchema;valueSchema;symbol=i0.symbol}var j6=($,T,w,P,I)=>D.assign(new i0,{name:T,namespace:$,traits:w,keySchema:P,valueSchema:I});class u0 extends D{static symbol=Symbol.for("@smithy/ope");name;traits;input;output;symbol=u0.symbol}var C6=($,T,w,P,I)=>D.assign(new u0,{name:T,namespace:$,traits:w,input:P,output:I});class N0 extends D{static symbol=Symbol.for("@smithy/str");name;traits;memberNames;memberList;symbol=N0.symbol}var s6=($,T,w,P,I)=>D.assign(new N0,{name:T,namespace:$,traits:w,memberNames:P,memberList:I});class r0 extends N0{static symbol=Symbol.for("@smithy/err");ctor;symbol=r0.symbol}var c6=($,T,w,P,I,h)=>D.assign(new r0,{name:T,namespace:$,traits:w,memberNames:P,memberList:I,ctor:null}),d0=[];function O0($){if(typeof $==="object")return $;if($=$|0,d0[$])return d0[$];let T={},w=0;for(let P of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])if(($>>w++&1)===1)T[P]=1;return d0[$]=T}var Q0={it:Symbol.for("@smithy/nor-struct-it"),ns:Symbol.for("@smithy/ns")},v0=[],n0={};class s{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=s.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor($,T){this.ref=$,this.memberName=T;let w=[],P=$,I=$;this._isMemberSchema=!1;while(u1(P))w.push(P[1]),P=P[0],I=m0(P),this._isMemberSchema=!0;if(w.length>0){this.memberTraits={};for(let h=w.length-1;h>=0;--h){let U=w[h];Object.assign(this.memberTraits,O0(U))}}else this.memberTraits=0;if(I instanceof s){let h=this.memberTraits;Object.assign(this,I),this.memberTraits=Object.assign({},h,I.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,this.memberName=T??I.memberName;return}if(this.schema=m0(I),uT(this.schema))this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3];else this.name=this.memberName??String(I),this.traits=0;if(this._isMemberSchema&&!T)throw Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance]($){let T=this.prototype.isPrototypeOf($);if(!T&&typeof $==="object"&&$!==null)return $.symbol===this.symbol;return T}static of($){let T=typeof $==="function"||typeof $==="object"&&$!==null;if(typeof $==="number"){if(v0[$])return v0[$]}else if(typeof $==="string"){if(n0[$])return n0[$]}else if(T){if($[Q0.ns])return $[Q0.ns]}let w=m0($);if(w instanceof s)return w;if(u1(w)){let[I,h]=w;if(I instanceof s)return Object.assign(I.getMergedTraits(),O0(h)),I;throw Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify($,null,2)}.`)}let P=new s(w);if(T)return $[Q0.ns]=P;if(typeof w==="string")return n0[w]=P;if(typeof w==="number")return v0[w]=P;return P}getSchema(){let $=this.schema;if(Array.isArray($)&&$[0]===0)return $[4];return $}getName($=!1){let{name:T}=this;return!$&&T&&T.includes("#")?T.split("#")[1]:T||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){let $=this.getSchema();return typeof $==="number"?$>=64&&$<128:$[0]===1}isMapSchema(){let $=this.getSchema();return typeof $==="number"?$>=128&&$<=255:$[0]===2}isStructSchema(){let $=this.getSchema();if(typeof $!=="object")return!1;let T=$[0];return T===3||T===-3||T===4}isUnionSchema(){let $=this.getSchema();if(typeof $!=="object")return!1;return $[0]===4}isBlobSchema(){let $=this.getSchema();return $===21||$===42}isTimestampSchema(){let $=this.getSchema();return typeof $==="number"&&$>=4&&$<=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:$}=this.getMergedTraits();return!!$||this.getSchema()===42}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return O0(this.memberTraits)}getOwnTraits(){return O0(this.traits)}getKeySchema(){let[$,T]=[this.isDocumentSchema(),this.isMapSchema()];if(!$&&!T)throw Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);let w=this.getSchema(),P=$?15:w[4]??0;return V0([P,0],"key")}getValueSchema(){let $=this.getSchema(),[T,w,P]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],I=typeof $==="number"?63&$:$&&typeof $==="object"&&(w||P)?$[3+$[0]]:T?15:void 0;if(I!=null)return V0([I,0],w?"value":"member");throw Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema($){let T=this.getSchema();if(this.isStructSchema()&&T[4].includes($)){let w=T[4].indexOf($),P=T[5][w];return V0(u1(P)?P:[P,0],$)}if(this.isDocumentSchema())return V0([15,0],$);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${$}.`)}getMemberSchemas(){let $={};try{for(let[T,w]of this.structIterator())$[T]=w}catch(T){}return $}getEventStreamMember(){if(this.isStructSchema()){for(let[$,T]of this.structIterator())if(T.isStreaming()&&T.isStructSchema())return $}return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw Error("@smithy/core/schema - cannot iterate non-struct schema.");let $=this.getSchema(),T=$[4].length,w=$[Q0.it];if(w&&T===w.length){yield*w;return}w=Array(T);for(let P=0;P<T;++P){let I=$[4][P],h=V0([$[5][P],0],I);yield w[P]=[I,h]}$[Q0.it]=w}}function V0($,T){if($ instanceof s)return Object.assign($,{memberName:T,_isMemberSchema:!0});return new s($,T)}var u1=($)=>Array.isArray($)&&$.length===2,uT=($)=>Array.isArray($)&&$.length>=5;class L0 extends D{static symbol=Symbol.for("@smithy/sim");name;schemaRef;traits;symbol=L0.symbol}var b6=($,T,w,P)=>D.assign(new L0,{name:T,namespace:$,traits:P,schemaRef:w}),k6=($,T,w,P)=>D.assign(new L0,{name:T,namespace:$,traits:w,schemaRef:P}),p6={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 C{namespace;schemas;exceptions;static registries=new Map;constructor($,T=new Map,w=new Map){this.namespace=$,this.schemas=T,this.exceptions=w}static for($){if(!C.registries.has($))C.registries.set($,new C($));return C.registries.get($)}copyFrom($){let{schemas:T,exceptions:w}=this;for(let[P,I]of $.schemas)if(!T.has(P))T.set(P,I);for(let[P,I]of $.exceptions)if(!w.has(P))w.set(P,I)}register($,T){let w=this.normalizeShapeId($);for(let P of[this,C.for(w.split("#")[0])])P.schemas.set(w,T)}getSchema($){let T=this.normalizeShapeId($);if(!this.schemas.has(T))throw Error(`@smithy/core/schema - schema not found for ${T}`);return this.schemas.get(T)}registerError($,T){let w=$,P=w[1];for(let I of[this,C.for(P)])I.schemas.set(P+"#"+w[2],w),I.exceptions.set(w,T)}getErrorCtor($){let T=$;if(this.exceptions.has(T))return this.exceptions.get(T);return C.for(T[1]).exceptions.get(T)}getBaseException(){for(let $ of this.exceptions.keys())if(Array.isArray($)){let[,T,w]=$,P=T+"#"+w;if(P.startsWith("smithy.ts.sdk.synthetic.")&&P.endsWith("ServiceException"))return $}return}find($){for(let T of this.schemas.values())if($(T))return T;return}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId($){if($.includes("#"))return $;return this.namespace+"#"+$}}y6.ErrorSchema=r0;y6.ListSchema=t0;y6.MapSchema=i0;y6.NormalizedSchema=s;y6.OperationSchema=u0;y6.SCHEMA=p6;y6.Schema=D;y6.SimpleSchema=L0;y6.StructureSchema=N0;y6.TypeRegistry=C;y6.deref=m0;y6.deserializerMiddlewareOption=tT;y6.error=c6;y6.getSchemaSerdePlugin=z6;y6.isStaticSchema=uT;y6.list=S6;y6.map=j6;y6.op=C6;y6.operation=r1;y6.serializerMiddlewareOption=iT;y6.sim=b6;y6.simAdapter=k6;y6.simpleSchemaCacheN=v0;y6.simpleSchemaCacheS=n0;y6.struct=s6;y6.traitsCache=d0;y6.translateTraits=O0});
17
+ export{P0 as Xla,h1 as Yla,D0 as Zla,C$ as _la,F0 as $la,ST as ama,C0 as bma};
@@ -0,0 +1,2 @@
1
+ import{HU as K,VS as Z,kV as k}from"./cli-0.2.0-c7ea0dry.mjs";import{KV as J,LV as H}from"./cli-0.2.0-fgsp4dtv.mjs";import{j6 as v,k6 as Y}from"./cli-0.2.0-g2h1t6ke.mjs";import{cma as V,gma as X}from"./cli-0.2.0-b8hs09nv.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
2
+ export{N as Qf,C as Rf};