@mtkruto/node 0.1.303 → 0.1.500

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 (627) hide show
  1. package/esm/0_deps.d.ts +6 -5
  2. package/esm/0_deps.js +7 -6
  3. package/esm/1_utilities.d.ts +2 -0
  4. package/esm/1_utilities.js +2 -0
  5. package/esm/3_types.d.ts +6 -1
  6. package/esm/3_types.js +6 -1
  7. package/esm/client/0_markdown.d.ts +19 -0
  8. package/esm/client/0_markdown.js +19 -1
  9. package/esm/client/0_message.js +11 -11
  10. package/esm/client/0_params.d.ts +12 -1
  11. package/esm/client/0_password.js +14 -6
  12. package/esm/client/0_types.d.ts +18 -7
  13. package/esm/client/0_utilities.d.ts +19 -2
  14. package/esm/client/0_utilities.js +2 -45
  15. package/esm/client/1_client_plain.js +6 -6
  16. package/esm/client/1_file_manager.d.ts +3 -21
  17. package/esm/client/1_file_manager.js +244 -104
  18. package/esm/client/2_message_manager.d.ts +4 -1
  19. package/esm/client/2_message_manager.js +166 -23
  20. package/esm/client/3_callback_query_manager.d.ts +2 -1
  21. package/esm/client/3_callback_query_manager.js +33 -5
  22. package/esm/client/3_inline_query_manager.d.ts +3 -2
  23. package/esm/client/3_inline_query_manager.js +20 -4
  24. package/esm/client/3_story_manager.js +4 -6
  25. package/esm/client/4_client.d.ts +41 -4
  26. package/esm/client/4_client.js +120 -49
  27. package/esm/connection/1_connection_web_socket.js +3 -3
  28. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert.js +1 -0
  29. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_almost_equals.js +1 -0
  30. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_array_includes.js +1 -0
  31. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_equals.js +1 -0
  32. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_exists.js +1 -0
  33. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_false.js +1 -0
  34. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater.js +1 -0
  35. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater_or_equal.js +1 -0
  36. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_instance_of.js +1 -0
  37. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_is_error.js +1 -0
  38. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less.js +1 -0
  39. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less_or_equal.js +1 -0
  40. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_match.js +1 -0
  41. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_equals.js +1 -0
  42. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_instance_of.js +1 -0
  43. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_match.js +1 -0
  44. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_strict_equals.js +1 -0
  45. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_object_match.js +1 -0
  46. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_rejects.js +1 -0
  47. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_strict_equals.js +1 -0
  48. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_string_includes.js +1 -0
  49. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_throws.js +1 -0
  50. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assertion_error.js +1 -0
  51. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/equal.js +1 -0
  52. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/fail.js +1 -0
  53. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/mod.js +1 -0
  54. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unimplemented.js +1 -0
  55. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unreachable.js +1 -0
  56. package/esm/deps/deno.land/std@0.223.0/bytes/concat.d.ts +13 -0
  57. package/esm/deps/deno.land/std@0.223.0/bytes/concat.js +27 -0
  58. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/base64.d.ts +8 -2
  59. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/base64.js +19 -2
  60. package/{script/deps/deno.land/std@0.221.0 → esm/deps/deno.land/std@0.223.0}/media_types/_util.d.ts +1 -0
  61. package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_util.js +1 -1
  62. package/{script/deps/deno.land/x/tgcrypto@0.4.0 → esm/deps/deno.land/x/tgcrypto@0.4.1}/mod.d.ts +14 -2
  63. package/esm/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/mod.js +56 -42
  64. package/esm/storage/0_storage.d.ts +10 -0
  65. package/esm/storage/0_storage.js +42 -0
  66. package/esm/tl/0_tl_raw_writer.js +3 -2
  67. package/esm/transport/0_obfuscation.js +4 -3
  68. package/esm/transport/0_transport.d.ts +1 -1
  69. package/esm/transport/0_transport.js +7 -0
  70. package/esm/transport/1_transport_abridged.js +4 -2
  71. package/esm/transport/1_transport_intermediate.js +4 -2
  72. package/esm/types/0_callback_query_answer.d.ts +30 -0
  73. package/esm/types/0_callback_query_answer.js +26 -0
  74. package/esm/types/0_callback_query_question.d.ts +49 -0
  75. package/esm/types/0_callback_query_question.js +31 -0
  76. package/esm/types/0_file_source.d.ts +2 -2
  77. package/esm/types/0_self_destruct_option.d.ts +25 -0
  78. package/esm/types/0_self_destruct_option.js +39 -0
  79. package/esm/types/1_input_media.d.ts +108 -0
  80. package/esm/types/{1_input_message_content.d.ts → 1_message_content.d.ts} +6 -6
  81. package/esm/types/1_message_content.js +20 -0
  82. package/esm/types/1_photo.d.ts +4 -0
  83. package/esm/types/1_photo.js +12 -26
  84. package/esm/types/4_inline_query_result.d.ts +52 -49
  85. package/esm/types/4_inline_query_result.js +225 -44
  86. package/esm/types/5_inline_query_answer.d.ts +31 -0
  87. package/esm/types/5_inline_query_answer.js +28 -0
  88. package/esm/types/_file_id.d.ts +5 -0
  89. package/esm/types/_file_id.js +32 -1
  90. package/esm/utilities/0_buffer.d.ts +0 -1
  91. package/esm/utilities/0_buffer.js +0 -13
  92. package/esm/utilities/0_crypto.d.ts +3 -3
  93. package/esm/utilities/0_crypto.js +23 -20
  94. package/esm/utilities/0_part_stream.d.ts +29 -0
  95. package/esm/utilities/0_part_stream.js +65 -0
  96. package/esm/utilities/0_units.d.ts +25 -0
  97. package/esm/utilities/0_units.js +25 -0
  98. package/esm/utilities/1_auth.js +5 -5
  99. package/esm/utilities/1_misc.d.ts +1 -0
  100. package/esm/utilities/1_misc.js +17 -2
  101. package/package.json +1 -1
  102. package/script/0_deps.d.ts +6 -5
  103. package/script/0_deps.js +11 -7
  104. package/script/1_utilities.d.ts +2 -0
  105. package/script/1_utilities.js +2 -0
  106. package/script/3_types.d.ts +6 -1
  107. package/script/3_types.js +6 -1
  108. package/script/client/0_markdown.d.ts +19 -0
  109. package/script/client/0_markdown.js +19 -1
  110. package/script/client/0_message.js +9 -9
  111. package/script/client/0_params.d.ts +12 -1
  112. package/script/client/0_password.js +13 -5
  113. package/script/client/0_types.d.ts +18 -7
  114. package/script/client/0_utilities.d.ts +19 -2
  115. package/script/client/0_utilities.js +3 -70
  116. package/script/client/1_client_plain.js +4 -4
  117. package/script/client/1_file_manager.d.ts +3 -21
  118. package/script/client/1_file_manager.js +266 -103
  119. package/script/client/2_message_manager.d.ts +4 -1
  120. package/script/client/2_message_manager.js +164 -21
  121. package/script/client/3_callback_query_manager.d.ts +2 -1
  122. package/script/client/3_callback_query_manager.js +30 -2
  123. package/script/client/3_inline_query_manager.d.ts +3 -2
  124. package/script/client/3_inline_query_manager.js +18 -2
  125. package/script/client/3_story_manager.js +3 -5
  126. package/script/client/4_client.d.ts +41 -4
  127. package/script/client/4_client.js +119 -48
  128. package/script/connection/1_connection_web_socket.js +1 -1
  129. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert.js +1 -0
  130. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_almost_equals.js +1 -0
  131. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_array_includes.js +1 -0
  132. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_equals.js +1 -0
  133. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_exists.js +1 -0
  134. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_false.js +1 -0
  135. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater.js +1 -0
  136. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater_or_equal.js +1 -0
  137. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_instance_of.js +1 -0
  138. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_is_error.js +1 -0
  139. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less.js +1 -0
  140. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less_or_equal.js +1 -0
  141. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_match.js +1 -0
  142. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_equals.js +1 -0
  143. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_instance_of.js +1 -0
  144. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_match.js +1 -0
  145. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_strict_equals.js +1 -0
  146. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_object_match.js +1 -0
  147. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_rejects.js +1 -0
  148. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_strict_equals.js +1 -0
  149. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_string_includes.js +1 -0
  150. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_throws.js +1 -0
  151. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assertion_error.js +1 -0
  152. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/equal.js +1 -0
  153. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/fail.js +1 -0
  154. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/mod.js +1 -0
  155. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unimplemented.js +1 -0
  156. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unreachable.js +1 -0
  157. package/script/deps/deno.land/std@0.223.0/bytes/concat.d.ts +13 -0
  158. package/script/deps/deno.land/std@0.223.0/bytes/concat.js +31 -0
  159. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/base64.d.ts +8 -2
  160. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/base64.js +19 -2
  161. package/{esm/deps/deno.land/std@0.221.0 → script/deps/deno.land/std@0.223.0}/media_types/_util.d.ts +1 -0
  162. package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_util.js +2 -1
  163. package/{esm/deps/deno.land/x/tgcrypto@0.4.0 → script/deps/deno.land/x/tgcrypto@0.4.1}/mod.d.ts +14 -2
  164. package/script/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/mod.js +61 -43
  165. package/script/storage/0_storage.d.ts +10 -0
  166. package/script/storage/0_storage.js +42 -0
  167. package/script/tl/0_tl_raw_writer.js +2 -1
  168. package/script/transport/0_obfuscation.js +3 -2
  169. package/script/transport/0_transport.d.ts +1 -1
  170. package/script/transport/0_transport.js +7 -0
  171. package/script/transport/1_transport_abridged.js +3 -1
  172. package/script/transport/1_transport_intermediate.js +3 -1
  173. package/script/types/0_callback_query_answer.d.ts +30 -0
  174. package/script/types/0_callback_query_answer.js +30 -0
  175. package/script/types/0_callback_query_question.d.ts +49 -0
  176. package/script/types/0_callback_query_question.js +35 -0
  177. package/script/types/0_file_source.d.ts +2 -2
  178. package/script/types/0_self_destruct_option.d.ts +25 -0
  179. package/script/types/0_self_destruct_option.js +43 -0
  180. package/script/types/1_input_media.d.ts +108 -0
  181. package/script/types/{1_input_message_content.d.ts → 1_message_content.d.ts} +6 -6
  182. package/script/types/1_message_content.js +21 -0
  183. package/script/types/1_photo.d.ts +4 -0
  184. package/script/types/1_photo.js +14 -27
  185. package/script/types/4_inline_query_result.d.ts +52 -49
  186. package/script/types/4_inline_query_result.js +224 -42
  187. package/script/types/5_inline_query_answer.d.ts +31 -0
  188. package/script/types/5_inline_query_answer.js +32 -0
  189. package/script/types/_file_id.d.ts +5 -0
  190. package/script/types/_file_id.js +33 -1
  191. package/script/utilities/0_buffer.d.ts +0 -1
  192. package/script/utilities/0_buffer.js +1 -15
  193. package/script/utilities/0_crypto.d.ts +3 -3
  194. package/script/utilities/0_crypto.js +22 -19
  195. package/script/utilities/0_part_stream.d.ts +29 -0
  196. package/script/utilities/0_part_stream.js +69 -0
  197. package/script/utilities/0_units.d.ts +25 -0
  198. package/script/utilities/0_units.js +28 -0
  199. package/script/utilities/1_auth.js +3 -3
  200. package/script/utilities/1_misc.d.ts +1 -0
  201. package/script/utilities/1_misc.js +19 -3
  202. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_constants.d.ts +0 -0
  203. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_constants.js +0 -0
  204. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_diff.d.ts +0 -0
  205. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_diff.js +0 -0
  206. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_format.d.ts +0 -0
  207. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_format.js +0 -0
  208. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert.d.ts +0 -0
  209. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_almost_equals.d.ts +0 -0
  210. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_array_includes.d.ts +0 -0
  211. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_equals.d.ts +0 -0
  212. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_exists.d.ts +0 -0
  213. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_false.d.ts +0 -0
  214. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater.d.ts +0 -0
  215. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater_or_equal.d.ts +0 -0
  216. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_instance_of.d.ts +0 -0
  217. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_is_error.d.ts +0 -0
  218. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less.d.ts +0 -0
  219. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less_or_equal.d.ts +0 -0
  220. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_match.d.ts +0 -0
  221. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_equals.d.ts +0 -0
  222. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_instance_of.d.ts +0 -0
  223. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_match.d.ts +0 -0
  224. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_strict_equals.d.ts +0 -0
  225. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_object_match.d.ts +0 -0
  226. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_rejects.d.ts +0 -0
  227. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_strict_equals.d.ts +0 -0
  228. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_string_includes.d.ts +0 -0
  229. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_throws.d.ts +0 -0
  230. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assertion_error.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/equal.d.ts +0 -0
  232. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/fail.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/mod.d.ts +0 -0
  234. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unimplemented.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unreachable.d.ts +0 -0
  236. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/_util.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/_util.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/fmt/colors.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/fmt/colors.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_db.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_db.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/content_type.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/content_type.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extension.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extension.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extensions_by_type.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extensions_by_type.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/format_media_type.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/format_media_type.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/get_charset.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/get_charset.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/parse_media_type.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/parse_media_type.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/type_by_extension.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/type_by_extension.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/assert_path.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/assert_path.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/basename.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/basename.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/common.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/common.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/constants.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/constants.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/dirname.d.ts +0 -0
  267. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/dirname.js +0 -0
  268. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/format.d.ts +0 -0
  269. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/format.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/from_file_url.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/from_file_url.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/glob_to_reg_exp.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize_string.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize_string.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/relative.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/relative.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/strip_trailing_separators.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/to_file_url.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/to_file_url.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_interface.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_interface.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_os.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_os.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/basename.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/basename.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/common.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/common.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/constants.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/constants.js +0 -0
  294. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/dirname.d.ts +0 -0
  295. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/dirname.js +0 -0
  296. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/extname.d.ts +0 -0
  297. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/extname.js +0 -0
  298. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/format.d.ts +0 -0
  299. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/format.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/from_file_url.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/from_file_url.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/glob_to_regexp.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/glob_to_regexp.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_absolute.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_absolute.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_glob.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_glob.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join_globs.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join_globs.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/mod.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/mod.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize.js +0 -0
  316. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize_glob.d.ts +0 -0
  317. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize_glob.js +0 -0
  318. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/parse.d.ts +0 -0
  319. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/parse.js +0 -0
  320. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/_util.d.ts +0 -0
  321. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/_util.js +0 -0
  322. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/basename.d.ts +0 -0
  323. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/basename.js +0 -0
  324. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/common.d.ts +0 -0
  325. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/common.js +0 -0
  326. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/constants.d.ts +0 -0
  327. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/constants.js +0 -0
  328. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/dirname.d.ts +0 -0
  329. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/dirname.js +0 -0
  330. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/extname.d.ts +0 -0
  331. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/extname.js +0 -0
  332. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/format.d.ts +0 -0
  333. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/format.js +0 -0
  334. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/from_file_url.d.ts +0 -0
  335. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/from_file_url.js +0 -0
  336. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/glob_to_regexp.d.ts +0 -0
  337. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/glob_to_regexp.js +0 -0
  338. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_absolute.d.ts +0 -0
  339. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_absolute.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_glob.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_glob.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join.d.ts +0 -0
  343. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join.js +0 -0
  344. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join_globs.d.ts +0 -0
  345. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join_globs.js +0 -0
  346. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/mod.d.ts +0 -0
  347. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/mod.js +0 -0
  348. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize.d.ts +0 -0
  349. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize.js +0 -0
  350. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize_glob.d.ts +0 -0
  351. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize_glob.js +0 -0
  352. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/parse.d.ts +0 -0
  353. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/parse.js +0 -0
  354. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/relative.d.ts +0 -0
  355. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/relative.js +0 -0
  356. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/resolve.d.ts +0 -0
  357. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/resolve.js +0 -0
  358. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_file_url.d.ts +0 -0
  359. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_file_url.js +0 -0
  360. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_namespaced_path.d.ts +0 -0
  361. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_namespaced_path.js +0 -0
  362. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/relative.d.ts +0 -0
  363. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/relative.js +0 -0
  364. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/resolve.d.ts +0 -0
  365. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/resolve.js +0 -0
  366. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_file_url.d.ts +0 -0
  367. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_file_url.js +0 -0
  368. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_namespaced_path.d.ts +0 -0
  369. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_namespaced_path.js +0 -0
  370. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/_util.d.ts +0 -0
  371. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/_util.js +0 -0
  372. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/basename.d.ts +0 -0
  373. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/basename.js +0 -0
  374. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/common.d.ts +0 -0
  375. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/common.js +0 -0
  376. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/constants.d.ts +0 -0
  377. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/constants.js +0 -0
  378. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/dirname.d.ts +0 -0
  379. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/dirname.js +0 -0
  380. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/extname.d.ts +0 -0
  381. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/extname.js +0 -0
  382. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/format.d.ts +0 -0
  383. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/format.js +0 -0
  384. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/from_file_url.d.ts +0 -0
  385. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/from_file_url.js +0 -0
  386. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/glob_to_regexp.d.ts +0 -0
  387. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/glob_to_regexp.js +0 -0
  388. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_absolute.d.ts +0 -0
  389. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_absolute.js +0 -0
  390. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_glob.d.ts +0 -0
  391. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_glob.js +0 -0
  392. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join.d.ts +0 -0
  393. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join.js +0 -0
  394. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join_globs.d.ts +0 -0
  395. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join_globs.js +0 -0
  396. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/mod.d.ts +0 -0
  397. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/mod.js +0 -0
  398. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize.d.ts +0 -0
  399. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize.js +0 -0
  400. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize_glob.d.ts +0 -0
  401. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize_glob.js +0 -0
  402. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/parse.d.ts +0 -0
  403. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/parse.js +0 -0
  404. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/relative.d.ts +0 -0
  405. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/relative.js +0 -0
  406. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/resolve.d.ts +0 -0
  407. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/resolve.js +0 -0
  408. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_file_url.d.ts +0 -0
  409. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_file_url.js +0 -0
  410. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_namespaced_path.d.ts +0 -0
  411. /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_namespaced_path.js +0 -0
  412. /package/esm/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.d.ts +0 -0
  413. /package/esm/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.js +0 -0
  414. /package/esm/types/{1_input_message_content.js → 1_input_media.js} +0 -0
  415. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_constants.d.ts +0 -0
  416. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_constants.js +0 -0
  417. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_diff.d.ts +0 -0
  418. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_diff.js +0 -0
  419. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_format.d.ts +0 -0
  420. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_format.js +0 -0
  421. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert.d.ts +0 -0
  422. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_almost_equals.d.ts +0 -0
  423. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_array_includes.d.ts +0 -0
  424. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_equals.d.ts +0 -0
  425. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_exists.d.ts +0 -0
  426. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_false.d.ts +0 -0
  427. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater.d.ts +0 -0
  428. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater_or_equal.d.ts +0 -0
  429. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_instance_of.d.ts +0 -0
  430. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_is_error.d.ts +0 -0
  431. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less.d.ts +0 -0
  432. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less_or_equal.d.ts +0 -0
  433. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_match.d.ts +0 -0
  434. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_equals.d.ts +0 -0
  435. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_instance_of.d.ts +0 -0
  436. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_match.d.ts +0 -0
  437. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_strict_equals.d.ts +0 -0
  438. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_object_match.d.ts +0 -0
  439. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_rejects.d.ts +0 -0
  440. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_strict_equals.d.ts +0 -0
  441. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_string_includes.d.ts +0 -0
  442. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_throws.d.ts +0 -0
  443. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assertion_error.d.ts +0 -0
  444. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/equal.d.ts +0 -0
  445. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/fail.d.ts +0 -0
  446. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/mod.d.ts +0 -0
  447. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unimplemented.d.ts +0 -0
  448. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unreachable.d.ts +0 -0
  449. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/_util.d.ts +0 -0
  450. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/_util.js +0 -0
  451. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/fmt/colors.d.ts +0 -0
  452. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/fmt/colors.js +0 -0
  453. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_db.d.ts +0 -0
  454. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_db.js +0 -0
  455. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/content_type.d.ts +0 -0
  456. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/content_type.js +0 -0
  457. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extension.d.ts +0 -0
  458. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extension.js +0 -0
  459. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extensions_by_type.d.ts +0 -0
  460. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extensions_by_type.js +0 -0
  461. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/format_media_type.d.ts +0 -0
  462. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/format_media_type.js +0 -0
  463. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/get_charset.d.ts +0 -0
  464. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/get_charset.js +0 -0
  465. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/parse_media_type.d.ts +0 -0
  466. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/parse_media_type.js +0 -0
  467. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/type_by_extension.d.ts +0 -0
  468. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/type_by_extension.js +0 -0
  469. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  470. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  471. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/assert_path.d.ts +0 -0
  472. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/assert_path.js +0 -0
  473. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/basename.d.ts +0 -0
  474. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/basename.js +0 -0
  475. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/common.d.ts +0 -0
  476. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/common.js +0 -0
  477. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/constants.d.ts +0 -0
  478. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/constants.js +0 -0
  479. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/dirname.d.ts +0 -0
  480. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/dirname.js +0 -0
  481. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/format.d.ts +0 -0
  482. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/format.js +0 -0
  483. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/from_file_url.d.ts +0 -0
  484. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/from_file_url.js +0 -0
  485. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  486. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/glob_to_reg_exp.js +0 -0
  487. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize.d.ts +0 -0
  488. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize.js +0 -0
  489. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize_string.d.ts +0 -0
  490. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize_string.js +0 -0
  491. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/relative.d.ts +0 -0
  492. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/relative.js +0 -0
  493. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  494. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/strip_trailing_separators.js +0 -0
  495. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/to_file_url.d.ts +0 -0
  496. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/to_file_url.js +0 -0
  497. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_interface.d.ts +0 -0
  498. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_interface.js +0 -0
  499. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_os.d.ts +0 -0
  500. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_os.js +0 -0
  501. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/basename.d.ts +0 -0
  502. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/basename.js +0 -0
  503. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/common.d.ts +0 -0
  504. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/common.js +0 -0
  505. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/constants.d.ts +0 -0
  506. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/constants.js +0 -0
  507. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/dirname.d.ts +0 -0
  508. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/dirname.js +0 -0
  509. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/extname.d.ts +0 -0
  510. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/extname.js +0 -0
  511. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/format.d.ts +0 -0
  512. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/format.js +0 -0
  513. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/from_file_url.d.ts +0 -0
  514. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/from_file_url.js +0 -0
  515. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/glob_to_regexp.d.ts +0 -0
  516. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/glob_to_regexp.js +0 -0
  517. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_absolute.d.ts +0 -0
  518. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_absolute.js +0 -0
  519. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_glob.d.ts +0 -0
  520. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_glob.js +0 -0
  521. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join.d.ts +0 -0
  522. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join.js +0 -0
  523. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join_globs.d.ts +0 -0
  524. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join_globs.js +0 -0
  525. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/mod.d.ts +0 -0
  526. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/mod.js +0 -0
  527. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize.d.ts +0 -0
  528. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize.js +0 -0
  529. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize_glob.d.ts +0 -0
  530. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize_glob.js +0 -0
  531. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/parse.d.ts +0 -0
  532. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/parse.js +0 -0
  533. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/_util.d.ts +0 -0
  534. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/_util.js +0 -0
  535. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/basename.d.ts +0 -0
  536. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/basename.js +0 -0
  537. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/common.d.ts +0 -0
  538. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/common.js +0 -0
  539. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/constants.d.ts +0 -0
  540. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/constants.js +0 -0
  541. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/dirname.d.ts +0 -0
  542. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/dirname.js +0 -0
  543. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/extname.d.ts +0 -0
  544. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/extname.js +0 -0
  545. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/format.d.ts +0 -0
  546. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/format.js +0 -0
  547. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/from_file_url.d.ts +0 -0
  548. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/from_file_url.js +0 -0
  549. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/glob_to_regexp.d.ts +0 -0
  550. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/glob_to_regexp.js +0 -0
  551. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_absolute.d.ts +0 -0
  552. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_absolute.js +0 -0
  553. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_glob.d.ts +0 -0
  554. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_glob.js +0 -0
  555. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join.d.ts +0 -0
  556. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join.js +0 -0
  557. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join_globs.d.ts +0 -0
  558. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join_globs.js +0 -0
  559. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/mod.d.ts +0 -0
  560. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/mod.js +0 -0
  561. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize.d.ts +0 -0
  562. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize.js +0 -0
  563. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize_glob.d.ts +0 -0
  564. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize_glob.js +0 -0
  565. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/parse.d.ts +0 -0
  566. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/parse.js +0 -0
  567. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/relative.d.ts +0 -0
  568. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/relative.js +0 -0
  569. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/resolve.d.ts +0 -0
  570. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/resolve.js +0 -0
  571. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_file_url.d.ts +0 -0
  572. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_file_url.js +0 -0
  573. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_namespaced_path.d.ts +0 -0
  574. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_namespaced_path.js +0 -0
  575. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/relative.d.ts +0 -0
  576. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/relative.js +0 -0
  577. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/resolve.d.ts +0 -0
  578. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/resolve.js +0 -0
  579. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_file_url.d.ts +0 -0
  580. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_file_url.js +0 -0
  581. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_namespaced_path.d.ts +0 -0
  582. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_namespaced_path.js +0 -0
  583. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/_util.d.ts +0 -0
  584. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/_util.js +0 -0
  585. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/basename.d.ts +0 -0
  586. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/basename.js +0 -0
  587. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/common.d.ts +0 -0
  588. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/common.js +0 -0
  589. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/constants.d.ts +0 -0
  590. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/constants.js +0 -0
  591. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/dirname.d.ts +0 -0
  592. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/dirname.js +0 -0
  593. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/extname.d.ts +0 -0
  594. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/extname.js +0 -0
  595. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/format.d.ts +0 -0
  596. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/format.js +0 -0
  597. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/from_file_url.d.ts +0 -0
  598. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/from_file_url.js +0 -0
  599. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/glob_to_regexp.d.ts +0 -0
  600. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/glob_to_regexp.js +0 -0
  601. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_absolute.d.ts +0 -0
  602. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_absolute.js +0 -0
  603. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_glob.d.ts +0 -0
  604. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_glob.js +0 -0
  605. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join.d.ts +0 -0
  606. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join.js +0 -0
  607. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join_globs.d.ts +0 -0
  608. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join_globs.js +0 -0
  609. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/mod.d.ts +0 -0
  610. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/mod.js +0 -0
  611. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize.d.ts +0 -0
  612. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize.js +0 -0
  613. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize_glob.d.ts +0 -0
  614. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize_glob.js +0 -0
  615. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/parse.d.ts +0 -0
  616. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/parse.js +0 -0
  617. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/relative.d.ts +0 -0
  618. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/relative.js +0 -0
  619. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/resolve.d.ts +0 -0
  620. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/resolve.js +0 -0
  621. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_file_url.d.ts +0 -0
  622. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_file_url.js +0 -0
  623. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_namespaced_path.d.ts +0 -0
  624. /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_namespaced_path.js +0 -0
  625. /package/script/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.d.ts +0 -0
  626. /package/script/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.js +0 -0
  627. /package/script/types/{1_input_message_content.js → 1_input_media.js} +0 -0
@@ -29,7 +29,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
29
29
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
30
30
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
31
31
  };
32
- var _Client_instances, _Client_client, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_businessConnectionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_accountManager, _Client_parseMode, _Client_publicKeys, _Client_ignoreOutgoing, _Client_storeMessages, _Client_Lauthorize, _Client_LpingLoop, _Client_LhandleMigrationError, _Client_L$initConncetion, _Client_namespaceProxies, _Client_getApiId, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_stateChangeHandler, _Client_storageInited, _Client_initStorage, _Client_connectionInited, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_getSelfId, _Client_pingLoopStarted, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_startPingLoop, _Client_pingLoop, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe;
32
+ var _Client_instances, _a, _Client_client, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_businessConnectionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_accountManager, _Client_parseMode, _Client_publicKeys, _Client_ignoreOutgoing, _Client_storeMessages, _Client_Lauthorize, _Client_LpingLoop, _Client_LhandleMigrationError, _Client_L$initConncetion, _Client_namespaceProxies, _Client_getApiId, _Client_getCdnConnectionPool, _Client_getCdnConnection, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_stateChangeHandler, _Client_storageInited, _Client_initStorage, _Client_connectionInited, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_getSelfId, _Client_pingLoopStarted, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_startPingLoop, _Client_pingLoop, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe;
33
33
  Object.defineProperty(exports, "__esModule", { value: true });
34
34
  exports.Client = exports.handleMigrationError = exports.restartAuth = exports.Composer = void 0;
35
35
  const _0_deps_js_1 = require("../0_deps.js");
@@ -579,7 +579,7 @@ class Client extends Composer {
579
579
  _Client_lastPropagatedAuthorizationState.set(this, null);
580
580
  _Client_pingLoopStarted.set(this, false);
581
581
  _Client_pingLoopAbortController.set(this, null);
582
- _Client_pingInterval.set(this, 60 * 1000); // 60 seconds
582
+ _Client_pingInterval.set(this, 1 * _1_utilities_js_1.minute);
583
583
  _Client_lastUpdates.set(this, new Date());
584
584
  _Client_handleInvokeError.set(this, skipInvoke());
585
585
  /**
@@ -689,48 +689,8 @@ class Client extends Composer {
689
689
  getEntity: this[getEntity].bind(this),
690
690
  handleUpdate: __classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).bind(this),
691
691
  parseMode: __classPrivateFieldGet(this, _Client_parseMode, "f"),
692
- apiFactory: (dcId) => {
693
- const client = new Client((!dcId || dcId == __classPrivateFieldGet(this, _Client_client, "f").dcId) ? this.storage : this.storage.branch(`download_client_${dcId}`), this.apiId, this.apiHash, {
694
- transportProvider: __classPrivateFieldGet(this, _Client_client, "f").transportProvider,
695
- appVersion: this.appVersion,
696
- deviceModel: this.deviceModel,
697
- langCode: this.langCode,
698
- langPack: this.langPack,
699
- systemLangCode: this.systemLangCode,
700
- systemVersion: this.systemVersion,
701
- cdn: true,
702
- });
703
- __classPrivateFieldGet(client, _Client_client, "f").serverSalt = __classPrivateFieldGet(this, _Client_client, "f").serverSalt;
704
- client.invoke.use(async (ctx, next) => {
705
- if (ctx.error instanceof _4_errors_js_1.AuthKeyUnregistered && dcId) {
706
- try {
707
- const exportedAuth = await this.api.auth.exportAuthorization({ dc_id: dcId });
708
- await client.api.auth.importAuthorization(exportedAuth);
709
- return true;
710
- }
711
- catch (err) {
712
- throw err;
713
- }
714
- }
715
- else {
716
- return await next();
717
- }
718
- });
719
- return {
720
- api: client.api,
721
- connect: async () => {
722
- await client.connect();
723
- if (dcId && dcId != __classPrivateFieldGet(this, _Client_client, "f").dcId) {
724
- let dc = String(dcId);
725
- if (__classPrivateFieldGet(this, _Client_client, "f").dcId < 0) {
726
- dc += "-test";
727
- }
728
- await client.setDc(dc);
729
- }
730
- },
731
- disconnect: client.disconnect.bind(client),
732
- };
733
- },
692
+ getCdnConnection: __classPrivateFieldGet(this, _Client_instances, "m", _Client_getCdnConnection).bind(this),
693
+ getCdnConnectionPool: __classPrivateFieldGet(this, _Client_instances, "m", _Client_getCdnConnectionPool).bind(this),
734
694
  cdn: params?.cdn ?? false,
735
695
  ignoreOutgoing: __classPrivateFieldGet(this, _Client_ignoreOutgoing, "f"),
736
696
  dropPendingUpdates: params?.dropPendingUpdates,
@@ -774,7 +734,7 @@ class Client extends Composer {
774
734
  catch (err) {
775
735
  L.debug(`failed to reconnect, retrying in ${delay}:`, err);
776
736
  }
777
- await new Promise((r) => setTimeout(r, delay * 1000));
737
+ await new Promise((r) => setTimeout(r, delay * _1_utilities_js_1.second));
778
738
  if (delay < 15) {
779
739
  delay += 5;
780
740
  }
@@ -861,6 +821,72 @@ class Client extends Composer {
861
821
  throw new Error("apiId not set");
862
822
  }
863
823
  return apiId;
824
+ }, _Client_getCdnConnectionPool = function _Client_getCdnConnectionPool(connectionCount, dcId) {
825
+ const connections = new Array();
826
+ for (let i = 0; i < connectionCount; ++i) {
827
+ connections.push(__classPrivateFieldGet(this, _Client_instances, "m", _Client_getCdnConnection).call(this, dcId));
828
+ }
829
+ let prev = 0;
830
+ return {
831
+ size: connectionCount,
832
+ api: () => {
833
+ if (prev + 1 > connections.length)
834
+ prev = 0;
835
+ const connection = connections[prev++];
836
+ return connection.api;
837
+ },
838
+ connect: async () => {
839
+ for await (const connection of connections) {
840
+ await connection.connect();
841
+ }
842
+ },
843
+ disconnect: async () => {
844
+ for await (const connection of connections) {
845
+ await connection.disconnect();
846
+ }
847
+ },
848
+ };
849
+ }, _Client_getCdnConnection = function _Client_getCdnConnection(dcId) {
850
+ const client = new _a((!dcId || dcId == __classPrivateFieldGet(this, _Client_client, "f").dcId) ? this.storage : this.storage.branch(`download_client_${dcId}`), this.apiId, this.apiHash, {
851
+ transportProvider: __classPrivateFieldGet(this, _Client_client, "f").transportProvider,
852
+ appVersion: this.appVersion,
853
+ deviceModel: this.deviceModel,
854
+ langCode: this.langCode,
855
+ langPack: this.langPack,
856
+ systemLangCode: this.systemLangCode,
857
+ systemVersion: this.systemVersion,
858
+ cdn: true,
859
+ });
860
+ __classPrivateFieldGet(client, _Client_client, "f").serverSalt = __classPrivateFieldGet(this, _Client_client, "f").serverSalt;
861
+ client.invoke.use(async (ctx, next) => {
862
+ if (ctx.error instanceof _4_errors_js_1.AuthKeyUnregistered && dcId) {
863
+ try {
864
+ const exportedAuth = await this.api.auth.exportAuthorization({ dc_id: dcId });
865
+ await client.api.auth.importAuthorization(exportedAuth);
866
+ return true;
867
+ }
868
+ catch (err) {
869
+ throw err;
870
+ }
871
+ }
872
+ else {
873
+ return await next();
874
+ }
875
+ });
876
+ return {
877
+ api: client.api,
878
+ connect: async () => {
879
+ await client.connect();
880
+ if (dcId && dcId != __classPrivateFieldGet(this, _Client_client, "f").dcId) {
881
+ let dc = String(dcId);
882
+ if (__classPrivateFieldGet(this, _Client_client, "f").dcId < 0) {
883
+ dc += "-test";
884
+ }
885
+ await client.setDc(dc);
886
+ }
887
+ },
888
+ disconnect: client.disconnect.bind(client),
889
+ };
864
890
  }, _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
865
891
  __classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).call(this, { connectionState });
866
892
  __classPrivateFieldSet(this, _Client_lastPropagatedConnectionState, connectionState, "f");
@@ -1146,8 +1172,8 @@ class Client extends Composer {
1146
1172
  continue;
1147
1173
  }
1148
1174
  __classPrivateFieldGet(this, _Client_pingLoopAbortController, "f").signal.throwIfAborted();
1149
- await this.api.ping_delay_disconnect({ ping_id: (0, _1_utilities_js_1.getRandomId)(), disconnect_delay: __classPrivateFieldGet(this, _Client_pingInterval, "f") / 1000 + 15 });
1150
- if (Date.now() - __classPrivateFieldGet(this, _Client_lastUpdates, "f").getTime() >= 15 * 60 * 1000) {
1175
+ await this.api.ping_delay_disconnect({ ping_id: (0, _1_utilities_js_1.getRandomId)(), disconnect_delay: __classPrivateFieldGet(this, _Client_pingInterval, "f") / _1_utilities_js_1.second + 15 });
1176
+ if (Date.now() - __classPrivateFieldGet(this, _Client_lastUpdates, "f").getTime() >= 15 * _1_utilities_js_1.minute) {
1151
1177
  (0, _1_utilities_js_1.drop)(__classPrivateFieldGet(this, _Client_updateManager, "f").recoverUpdateGap("lastUpdates"));
1152
1178
  }
1153
1179
  }
@@ -1524,6 +1550,28 @@ class Client extends Composer {
1524
1550
  async editMessageText(chatId, messageId, text, params) {
1525
1551
  return await __classPrivateFieldGet(this, _Client_messageManager, "f").editMessageText(chatId, messageId, text, params);
1526
1552
  }
1553
+ /**
1554
+ * Edit a message's media.
1555
+ *
1556
+ * @method ms
1557
+ * @param chatId The identifier of the chat that contains the message.
1558
+ * @param messageId The message's identifier.
1559
+ * @param media The new media of the message.
1560
+ * @returns The edited message.
1561
+ */
1562
+ async editMessageMedia(chatId, messageId, media, params) {
1563
+ return await __classPrivateFieldGet(this, _Client_messageManager, "f").editMessageMedia(chatId, messageId, media, params);
1564
+ }
1565
+ /**
1566
+ * Edit an inline message's media.
1567
+ *
1568
+ * @method ms
1569
+ * @param inlineMessageId The inline message's identifier.
1570
+ * @param media The new media of the message.
1571
+ */
1572
+ async editInlineMessageMedia(inlineMessageId, media, params) {
1573
+ await __classPrivateFieldGet(this, _Client_messageManager, "f").editInlineMessageMedia(inlineMessageId, media, params);
1574
+ }
1527
1575
  /**
1528
1576
  * Edit an inline message's text. Bot-only.
1529
1577
  *
@@ -1967,6 +2015,18 @@ class Client extends Composer {
1967
2015
  //
1968
2016
  // ========================= CALLBACK QUERIES ========================= //
1969
2017
  //
2018
+ /**
2019
+ * Send a callback query. User-only.
2020
+ *
2021
+ * @method cq
2022
+ * @param chatId The chat that includes the messsage.
2023
+ * @param messageId The message that includes at a button responsible for the callback query question.
2024
+ * @param question The callback query's question.
2025
+ * @returns The bot's answer to the callback query.
2026
+ */
2027
+ async sendCallbackQuery(chatId, messageId, question) {
2028
+ return await __classPrivateFieldGet(this, _Client_callbackQueryManager, "f").sendCallbackQuery(chatId, messageId, question);
2029
+ }
1970
2030
  /**
1971
2031
  * Answer a callback query. Bot-only.
1972
2032
  *
@@ -1979,6 +2039,17 @@ class Client extends Composer {
1979
2039
  //
1980
2040
  // ========================= INLINE QUERIES ========================= //
1981
2041
  //
2042
+ /**
2043
+ * Send an inline query. User-only.
2044
+ *
2045
+ * @method iq
2046
+ * @param userId The ID of the bot to send the inline query to.
2047
+ * @param chatId The ID of the chat from which the inline query is sent.
2048
+ * @returns The bot's answer to the inline query.
2049
+ */
2050
+ async sendInlineQuery(userId, chatId, params) {
2051
+ return await __classPrivateFieldGet(this, _Client_inlineQueryManager, "f").sendInlineQuery(userId, chatId, params);
2052
+ }
1982
2053
  /**
1983
2054
  * Answer an inline query. Bot-only.
1984
2055
  *
@@ -2225,7 +2296,7 @@ class Client extends Composer {
2225
2296
  }
2226
2297
  }
2227
2298
  exports.Client = Client;
2228
- _Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
2299
+ _a = Client, _Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
2229
2300
  await this.middleware()(await __classPrivateFieldGet(this, _Client_constructContext, "f").call(this, update), _0_utilities_js_1.resolve);
2230
2301
  }, _Client_queueHandleCtxUpdate = function _Client_queueHandleCtxUpdate(update) {
2231
2302
  __classPrivateFieldGet(this, _Client_updateManager, "f").getHandleUpdateQueue(_1_update_manager_js_1.UpdateManager.MAIN_BOX_ID).add(async () => {
@@ -163,7 +163,7 @@ _ConnectionWebSocket_webSocket = new WeakMap(), _ConnectionWebSocket_rMutex = ne
163
163
  }
164
164
  const unlock = await mutex.lock();
165
165
  const data = new Uint8Array(await new Blob([e.data].map((v) => v instanceof Blob || v instanceof Uint8Array ? v : v instanceof ArrayBuffer ? v : (0, _0_deps_js_1.unreachable)())).arrayBuffer());
166
- __classPrivateFieldSet(this, _ConnectionWebSocket_buffer, (0, _1_utilities_js_1.concat)(__classPrivateFieldGet(this, _ConnectionWebSocket_buffer, "f"), data), "f");
166
+ __classPrivateFieldSet(this, _ConnectionWebSocket_buffer, (0, _0_deps_js_1.concat)([__classPrivateFieldGet(this, _ConnectionWebSocket_buffer, "f"), data]), "f");
167
167
  if (__classPrivateFieldGet(this, _ConnectionWebSocket_nextResolve, "f") != null && __classPrivateFieldGet(this, _ConnectionWebSocket_buffer, "f").length >= __classPrivateFieldGet(this, _ConnectionWebSocket_nextResolve, "f")[0]) {
168
168
  __classPrivateFieldGet(this, _ConnectionWebSocket_nextResolve, "f")[1].resolve();
169
169
  __classPrivateFieldSet(this, _ConnectionWebSocket_nextResolve, null, "f");
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assert = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  /**
7
8
  * Make an assertion, error will be thrown if `expr` does not have truthy value.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertAlmostEquals = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  /**
7
8
  * Make an assertion that `actual` and `expected` are almost equal numbers
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertArrayIncludes = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const equal_js_1 = require("./equal.js");
6
7
  const _format_js_1 = require("./_format.js");
7
8
  const assertion_error_js_1 = require("./assertion_error.js");
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertEquals = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const equal_js_1 = require("./equal.js");
6
7
  const _format_js_1 = require("./_format.js");
7
8
  const assertion_error_js_1 = require("./assertion_error.js");
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertExists = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  /**
7
8
  * Make an assertion that actual is not null or undefined.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertFalse = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  /**
7
8
  * Make an assertion, error will be thrown if `expr` have truthy value.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertGreater = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const _format_js_1 = require("./_format.js");
6
7
  const assertion_error_js_1 = require("./assertion_error.js");
7
8
  /**
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertGreaterOrEqual = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const _format_js_1 = require("./_format.js");
6
7
  const assertion_error_js_1 = require("./assertion_error.js");
7
8
  /**
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertInstanceOf = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  /**
7
8
  * Make an assertion that `obj` is an instance of `type`.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertIsError = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  const colors_js_1 = require("../fmt/colors.js");
7
8
  /**
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertLess = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const _format_js_1 = require("./_format.js");
6
7
  const assertion_error_js_1 = require("./assertion_error.js");
7
8
  /**
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertLessOrEqual = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const _format_js_1 = require("./_format.js");
6
7
  const assertion_error_js_1 = require("./assertion_error.js");
7
8
  /**
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertMatch = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  /**
7
8
  * Make an assertion that `actual` match RegExp `expected`. If not
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
3
4
  Object.defineProperty(exports, "__esModule", { value: true });
4
5
  exports.assertNotEquals = void 0;
5
6
  const _constants_js_1 = require("./_constants.js");
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertNotInstanceOf = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assert_false_js_1 = require("./assert_false.js");
6
7
  /**
7
8
  * Make an assertion that `obj` is not an instance of `type`.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertNotMatch = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  /**
7
8
  * Make an assertion that `actual` not match RegExp `expected`. If match
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertNotStrictEquals = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  const _format_js_1 = require("./_format.js");
7
8
  /**
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertObjectMatch = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assert_equals_js_1 = require("./assert_equals.js");
6
7
  /**
7
8
  * Make an assertion that `actual` object is a subset of `expected` object,
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertRejects = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  const assert_is_error_js_1 = require("./assert_is_error.js");
7
8
  async function assertRejects(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertStrictEquals = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const _format_js_1 = require("./_format.js");
6
7
  const assertion_error_js_1 = require("./assertion_error.js");
7
8
  const _diff_js_1 = require("./_diff.js");
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertStringIncludes = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  /**
7
8
  * Make an assertion that actual includes expected. If not
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assertThrows = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assert_is_error_js_1 = require("./assert_is_error.js");
6
7
  const assertion_error_js_1 = require("./assertion_error.js");
7
8
  function assertThrows(fn, errorClassOrMsg, msgIncludesOrMsg, msg) {
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
3
4
  Object.defineProperty(exports, "__esModule", { value: true });
4
5
  exports.AssertionError = void 0;
5
6
  /**
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.equal = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  function isKeyedCollection(x) {
6
7
  return [Symbol.iterator, "size"].every((k) => k in x);
7
8
  }
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.fail = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assert_js_1 = require("./assert.js");
6
7
  /**
7
8
  * Forcefully throws a failed assertion.
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
3
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
5
  if (k2 === undefined) k2 = k;
5
6
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.unimplemented = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  /**
7
8
  * Use this to stub out methods that will throw when invoked.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.unreachable = void 0;
4
4
  // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ // This module is browser compatible.
5
6
  const assertion_error_js_1 = require("./assertion_error.js");
6
7
  /**
7
8
  * Use this to assert unreachable code.
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Concatenate an array of {@linkcode Uint8Array}s.
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import { concat } from "https://deno.land/std@$STD_VERSION/bytes/concat.ts";
7
+ *
8
+ * const a = new Uint8Array([0, 1, 2]);
9
+ * const b = new Uint8Array([3, 4, 5]);
10
+ * concat([a, b]); // Uint8Array(6) [ 0, 1, 2, 3, 4, 5 ]
11
+ * ```
12
+ */
13
+ export declare function concat(buf: Uint8Array[]): Uint8Array;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
+ // This module is browser compatible.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.concat = void 0;
6
+ /**
7
+ * Concatenate an array of {@linkcode Uint8Array}s.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * import { concat } from "https://deno.land/std@$STD_VERSION/bytes/concat.ts";
12
+ *
13
+ * const a = new Uint8Array([0, 1, 2]);
14
+ * const b = new Uint8Array([3, 4, 5]);
15
+ * concat([a, b]); // Uint8Array(6) [ 0, 1, 2, 3, 4, 5 ]
16
+ * ```
17
+ */
18
+ function concat(buf) {
19
+ let length = 0;
20
+ for (const b of buf) {
21
+ length += b.length;
22
+ }
23
+ const output = new Uint8Array(length);
24
+ let index = 0;
25
+ for (const b of buf) {
26
+ output.set(b, index);
27
+ index += b.length;
28
+ }
29
+ return output;
30
+ }
31
+ exports.concat = concat;
@@ -3,6 +3,9 @@
3
3
  *
4
4
  * @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
5
5
  *
6
+ * @param data The data to encode.
7
+ * @returns The base64-encoded string.
8
+ *
6
9
  * @example
7
10
  * ```ts
8
11
  * import { encodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
@@ -16,11 +19,14 @@ export declare function encodeBase64(data: ArrayBuffer | Uint8Array | string): s
16
19
  *
17
20
  * @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
18
21
  *
22
+ * @param b64 The base64-encoded string to decode.
23
+ * @returns The decoded data.
24
+ *
19
25
  * @example
20
26
  * ```ts
21
- * import { encodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
27
+ * import { decodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
22
28
  *
23
- * encodeBase64("foobar"); // "Zm9vYmFy"
29
+ * decodeBase64("Zm9vYmFy"); // Uint8Array(6) [ 102, 111, 111, 98, 97, 114 ]
24
30
  * ```
25
31
  */
26
32
  export declare function decodeBase64(b64: string): Uint8Array;
@@ -10,6 +10,17 @@ exports.decodeBase64 = exports.encodeBase64 = void 0;
10
10
  *
11
11
  * This module is browser compatible.
12
12
  *
13
+ * ```ts
14
+ * import {
15
+ * encodeBase64,
16
+ * decodeBase64,
17
+ * } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
18
+ *
19
+ * const encoded = encodeBase64("foobar"); // "Zm9vYmFy"
20
+ *
21
+ * decodeBase64(encoded); // Uint8Array(6) [ 102, 111, 111, 98, 97, 114 ]
22
+ * ```
23
+ *
13
24
  * @module
14
25
  */
15
26
  const _util_js_1 = require("./_util.js");
@@ -84,6 +95,9 @@ const base64abc = [
84
95
  *
85
96
  * @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
86
97
  *
98
+ * @param data The data to encode.
99
+ * @returns The base64-encoded string.
100
+ *
87
101
  * @example
88
102
  * ```ts
89
103
  * import { encodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
@@ -127,11 +141,14 @@ exports.encodeBase64 = encodeBase64;
127
141
  *
128
142
  * @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
129
143
  *
144
+ * @param b64 The base64-encoded string to decode.
145
+ * @returns The decoded data.
146
+ *
130
147
  * @example
131
148
  * ```ts
132
- * import { encodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
149
+ * import { decodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
133
150
  *
134
- * encodeBase64("foobar"); // "Zm9vYmFy"
151
+ * decodeBase64("Zm9vYmFy"); // Uint8Array(6) [ 102, 111, 111, 98, 97, 114 ]
135
152
  * ```
136
153
  */
137
154
  function decodeBase64(b64) {
@@ -16,4 +16,5 @@ export declare function consumeMediaParam(v: string): [key: string, value: strin
16
16
  export declare function decode2331Encoding(v: string): string | undefined;
17
17
  export declare function isIterator<T>(obj: unknown): obj is Iterable<T>;
18
18
  export declare function isToken(s: string): boolean;
19
+ export declare function isTSpecial(r: string): boolean;
19
20
  export declare function needsEncoding(s: string): boolean;