@powerlines/plugin-env 0.15.161 → 0.15.162

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 (346) hide show
  1. package/dist/{chunk-CNVrAnJR.cjs → _virtual/rolldown_runtime.cjs} +3 -18
  2. package/dist/{chunk-CsF2CmBJ.mjs → _virtual/rolldown_runtime.mjs} +1 -1
  3. package/dist/babel/index.cjs +2 -5
  4. package/dist/babel/index.d.cts +1 -14
  5. package/dist/babel/index.d.mts +1 -14
  6. package/dist/babel/index.mjs +1 -4
  7. package/dist/babel/plugin.cjs +140 -4
  8. package/dist/babel/plugin.d.cts +9 -15
  9. package/dist/babel/plugin.d.cts.map +1 -0
  10. package/dist/babel/plugin.d.mts +9 -15
  11. package/dist/babel/plugin.d.mts.map +1 -0
  12. package/dist/babel/plugin.mjs +140 -4
  13. package/dist/babel/plugin.mjs.map +1 -0
  14. package/dist/components/docs.cjs +66 -6
  15. package/dist/components/docs.d.cts +25 -2
  16. package/dist/components/docs.d.cts.map +1 -0
  17. package/dist/components/docs.d.mts +25 -2
  18. package/dist/components/docs.d.mts.map +1 -0
  19. package/dist/components/docs.mjs +66 -6
  20. package/dist/components/docs.mjs.map +1 -0
  21. package/dist/components/env.cjs +582 -11
  22. package/dist/components/env.d.cts +23 -2
  23. package/dist/components/env.d.cts.map +1 -0
  24. package/dist/components/env.d.mts +23 -2
  25. package/dist/components/env.d.mts.map +1 -0
  26. package/dist/components/env.mjs +581 -10
  27. package/dist/components/env.mjs.map +1 -0
  28. package/dist/components/index.cjs +5 -15
  29. package/dist/components/index.d.cts +2 -3
  30. package/dist/components/index.d.mts +2 -3
  31. package/dist/components/index.mjs +2 -12
  32. package/dist/helpers/automd-generator.cjs +31 -3
  33. package/dist/helpers/automd-generator.mjs +31 -3
  34. package/dist/helpers/automd-generator.mjs.map +1 -0
  35. package/dist/helpers/create-reflection-resource.cjs +21 -4
  36. package/dist/helpers/create-reflection-resource.d.cts +14 -4
  37. package/dist/helpers/create-reflection-resource.d.cts.map +1 -0
  38. package/dist/helpers/create-reflection-resource.d.mts +14 -4
  39. package/dist/helpers/create-reflection-resource.d.mts.map +1 -0
  40. package/dist/helpers/create-reflection-resource.mjs +22 -4
  41. package/dist/helpers/create-reflection-resource.mjs.map +1 -0
  42. package/dist/helpers/docs-helper.cjs +22 -5
  43. package/dist/helpers/docs-helper.d.cts +1 -2
  44. package/dist/helpers/docs-helper.d.cts.map +1 -1
  45. package/dist/helpers/docs-helper.d.mts +1 -2
  46. package/dist/helpers/docs-helper.d.mts.map +1 -1
  47. package/dist/helpers/docs-helper.mjs +23 -5
  48. package/dist/helpers/docs-helper.mjs.map +1 -0
  49. package/dist/helpers/index.cjs +32 -38
  50. package/dist/helpers/index.d.cts +6 -9
  51. package/dist/helpers/index.d.mts +6 -9
  52. package/dist/helpers/index.mjs +6 -12
  53. package/dist/helpers/load.cjs +133 -10
  54. package/dist/helpers/load.d.cts +36 -4
  55. package/dist/helpers/load.d.cts.map +1 -0
  56. package/dist/helpers/load.d.mts +36 -4
  57. package/dist/helpers/load.d.mts.map +1 -0
  58. package/dist/helpers/load.mjs +132 -9
  59. package/dist/helpers/load.mjs.map +1 -0
  60. package/dist/helpers/persistence.cjs +321 -15
  61. package/dist/helpers/persistence.d.cts +85 -4
  62. package/dist/helpers/persistence.d.cts.map +1 -0
  63. package/dist/helpers/persistence.d.mts +85 -4
  64. package/dist/helpers/persistence.d.mts.map +1 -0
  65. package/dist/helpers/persistence.mjs +310 -5
  66. package/dist/helpers/persistence.mjs.map +1 -0
  67. package/dist/helpers/reflect.cjs +262 -13
  68. package/dist/helpers/reflect.d.cts +47 -4
  69. package/dist/helpers/reflect.d.cts.map +1 -0
  70. package/dist/helpers/reflect.d.mts +47 -4
  71. package/dist/helpers/reflect.d.mts.map +1 -0
  72. package/dist/helpers/reflect.mjs +254 -5
  73. package/dist/helpers/reflect.mjs.map +1 -0
  74. package/dist/helpers/source-file-env.cjs +57 -3
  75. package/dist/helpers/source-file-env.d.cts +9 -2
  76. package/dist/helpers/source-file-env.d.cts.map +1 -0
  77. package/dist/helpers/source-file-env.d.mts +9 -2
  78. package/dist/helpers/source-file-env.d.mts.map +1 -0
  79. package/dist/helpers/source-file-env.mjs +56 -2
  80. package/dist/helpers/source-file-env.mjs.map +1 -0
  81. package/dist/helpers/template-helpers.cjs +69 -6
  82. package/dist/helpers/template-helpers.d.cts +16 -4
  83. package/dist/helpers/template-helpers.d.cts.map +1 -0
  84. package/dist/helpers/template-helpers.d.mts +16 -4
  85. package/dist/helpers/template-helpers.d.mts.map +1 -0
  86. package/dist/helpers/template-helpers.mjs +69 -6
  87. package/dist/helpers/template-helpers.mjs.map +1 -0
  88. package/dist/index.cjs +98 -258
  89. package/dist/index.d.cts +25 -15
  90. package/dist/index.d.cts.map +1 -0
  91. package/dist/index.d.mts +25 -15
  92. package/dist/index.d.mts.map +1 -0
  93. package/dist/index.mjs +22 -182
  94. package/dist/index.mjs.map +1 -1
  95. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/parse-type-definition.cjs +37 -0
  96. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/parse-type-definition.mjs +38 -0
  97. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/parse-type-definition.mjs.map +1 -0
  98. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/to-array.cjs +15 -0
  99. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/to-array.mjs +15 -0
  100. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/to-array.mjs.map +1 -0
  101. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +15 -0
  102. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +15 -0
  103. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs.map +1 -0
  104. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +3 -0
  105. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +5 -0
  106. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +6 -0
  107. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +7 -0
  108. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs.map +1 -0
  109. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +1 -0
  110. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +3 -0
  111. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +19 -0
  112. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +20 -0
  113. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs.map +1 -0
  114. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +63 -0
  115. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +64 -0
  116. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs.map +1 -0
  117. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +12 -0
  118. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +12 -0
  119. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs.map +1 -0
  120. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +15 -0
  121. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +17 -0
  122. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs.map +1 -0
  123. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-parent-path.cjs +32 -0
  124. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-parent-path.mjs +33 -0
  125. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-parent-path.mjs.map +1 -0
  126. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-type.cjs +28 -0
  127. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-type.mjs +29 -0
  128. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-type.mjs.map +1 -0
  129. package/dist/{join-paths-B0RBTuuw.cjs → node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.cjs} +13 -65
  130. package/dist/{join-paths-Dd9KxuyL.mjs → node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.mjs} +5 -45
  131. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.mjs.map +1 -0
  132. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/regex.cjs +12 -0
  133. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/regex.mjs +9 -0
  134. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/regex.mjs.map +1 -0
  135. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/slash.cjs +15 -0
  136. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/slash.mjs +15 -0
  137. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/slash.mjs.map +1 -0
  138. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs +346 -0
  139. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs +347 -0
  140. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs.map +1 -0
  141. package/dist/{json5-DEV_07Nb.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.cjs} +1 -1
  142. package/dist/{json5-jq90mF9X.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs} +2 -2
  143. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs.map +1 -0
  144. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.cjs +3 -0
  145. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.mjs +3 -0
  146. package/dist/{confbox.DA7CpUDY-DShUZ_rW.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.cjs} +2 -2
  147. package/dist/{confbox.DA7CpUDY-r6FXRsI6.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs} +2 -7
  148. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs.map +1 -0
  149. package/dist/{confbox.DnMsyigM-C13n3X-S.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.cjs} +3 -13
  150. package/dist/{confbox.DnMsyigM-V6Wj0LPC.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs} +3 -3
  151. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs.map +1 -0
  152. package/dist/{toml-DvrxV201.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.cjs} +1 -1
  153. package/dist/{toml-uuOYvEAO.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs} +2 -2
  154. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs.map +1 -0
  155. package/dist/{yaml-CQSFMRMS.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.cjs} +1 -1
  156. package/dist/{yaml-CIn2Gddw.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs} +2 -2
  157. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs.map +1 -0
  158. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +43 -0
  159. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +43 -0
  160. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs.map +1 -0
  161. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +46 -0
  162. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs +46 -0
  163. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs.map +1 -0
  164. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.cjs +288 -0
  165. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.mjs +286 -0
  166. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.mjs.map +1 -0
  167. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.cjs +71 -0
  168. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.mjs +69 -0
  169. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.mjs.map +1 -0
  170. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +1013 -0
  171. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +1008 -0
  172. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +1 -0
  173. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +23 -0
  174. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +14 -0
  175. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs.map +1 -0
  176. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +2698 -0
  177. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +2686 -0
  178. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +1 -0
  179. package/dist/{load-CC_Pu2Om.cjs → node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs} +195 -2332
  180. package/dist/{load-EM4edkA2.mjs → node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs} +195 -2319
  181. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +1 -0
  182. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +29 -0
  183. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +30 -0
  184. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs.map +1 -0
  185. package/dist/{multipart-parser-aEF5a4Xf.cjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs} +8 -5
  186. package/dist/{multipart-parser-D65rtMfY.mjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs} +4 -3
  187. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +1 -0
  188. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +22 -0
  189. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +18 -0
  190. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs.map +1 -0
  191. package/dist/{node-Co8KdzkZ.cjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs} +796 -814
  192. package/dist/{node-D9MigVDD.mjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs} +795 -807
  193. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +1 -0
  194. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +11768 -0
  195. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +11764 -0
  196. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +1 -0
  197. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +25 -0
  198. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +21 -0
  199. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs.map +1 -0
  200. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +20 -0
  201. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +18 -0
  202. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs.map +1 -0
  203. package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.cjs +194 -0
  204. package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.mjs +192 -0
  205. package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.mjs.map +1 -0
  206. package/dist/{dist-BQc8ZRwl.cjs → node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs} +1 -1
  207. package/dist/{dist-mV5Swt78.mjs → node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs} +1 -1
  208. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs.map +1 -0
  209. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.cjs +3 -0
  210. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs +3 -0
  211. package/dist/{defu-DV5Grr85.mjs → node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs} +8 -43
  212. package/dist/{defu-CrqNIh1A.cjs → node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs} +2 -90
  213. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs.map +1 -0
  214. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +127 -0
  215. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +126 -0
  216. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +1 -0
  217. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +138 -0
  218. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +137 -0
  219. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +1 -0
  220. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +629 -0
  221. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +628 -0
  222. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +1 -0
  223. package/dist/types/index.cjs +9 -10
  224. package/dist/types/index.d.cts +2 -3
  225. package/dist/types/index.d.mts +2 -3
  226. package/dist/types/index.mjs +2 -3
  227. package/dist/types/plugin.cjs +133 -7
  228. package/dist/types/plugin.d.cts +155 -3
  229. package/dist/types/plugin.d.cts.map +1 -0
  230. package/dist/types/plugin.d.mts +155 -3
  231. package/dist/types/plugin.d.mts.map +1 -0
  232. package/dist/types/plugin.mjs +129 -3
  233. package/dist/types/plugin.mjs.map +1 -0
  234. package/dist/types/runtime.cjs +242 -3
  235. package/dist/types/runtime.d.cts +792 -2
  236. package/dist/{runtime-BDzzR4wH.d.cts.map → types/runtime.d.cts.map} +1 -1
  237. package/dist/types/runtime.d.mts +792 -2
  238. package/dist/{runtime-lYSIZdMn.d.mts.map → types/runtime.d.mts.map} +1 -1
  239. package/dist/types/runtime.mjs +241 -2
  240. package/dist/types/runtime.mjs.map +1 -0
  241. package/package.json +9 -9
  242. package/dist/automd-generator-BpvZRK0k.mjs +0 -32
  243. package/dist/automd-generator-BpvZRK0k.mjs.map +0 -1
  244. package/dist/automd-generator-CxG1owAE.cjs +0 -37
  245. package/dist/babel-BZqmdVF4.cjs +0 -0
  246. package/dist/babel-DgietUY3.mjs +0 -1
  247. package/dist/components-BUo6Koax.cjs +0 -0
  248. package/dist/components-DDFmImcI.mjs +0 -1
  249. package/dist/confbox.DA7CpUDY-DShUZ_rW.mjs.map +0 -1
  250. package/dist/confbox.DnMsyigM-V6Wj0LPC.mjs.map +0 -1
  251. package/dist/create-reflection-resource-3svZm2rY.d.cts +0 -14
  252. package/dist/create-reflection-resource-3svZm2rY.d.cts.map +0 -1
  253. package/dist/create-reflection-resource-CCpA76Yq.d.mts +0 -14
  254. package/dist/create-reflection-resource-CCpA76Yq.d.mts.map +0 -1
  255. package/dist/create-reflection-resource-D0QrD1Td.mjs +0 -23
  256. package/dist/create-reflection-resource-D0QrD1Td.mjs.map +0 -1
  257. package/dist/create-reflection-resource-d2zdTyOE.cjs +0 -27
  258. package/dist/defu-DV5Grr85.mjs.map +0 -1
  259. package/dist/dist-C_a6goTt.cjs +0 -15282
  260. package/dist/dist-CjWvISyq.mjs +0 -15271
  261. package/dist/dist-CjWvISyq.mjs.map +0 -1
  262. package/dist/dist-mV5Swt78.mjs.map +0 -1
  263. package/dist/docs-BAKwE4PJ.d.cts +0 -25
  264. package/dist/docs-BAKwE4PJ.d.cts.map +0 -1
  265. package/dist/docs-CVf-w8oz.d.mts +0 -25
  266. package/dist/docs-CVf-w8oz.d.mts.map +0 -1
  267. package/dist/docs-E0aCTO7H.cjs +0 -72
  268. package/dist/docs-WdCIcQmw.mjs +0 -67
  269. package/dist/docs-WdCIcQmw.mjs.map +0 -1
  270. package/dist/docs-helper-BSYSI2cH.mjs +0 -24
  271. package/dist/docs-helper-BSYSI2cH.mjs.map +0 -1
  272. package/dist/docs-helper-BWe1dt1m.cjs +0 -28
  273. package/dist/env-BSCEigpj.cjs +0 -593
  274. package/dist/env-D0KBPuAd.d.mts +0 -23
  275. package/dist/env-D0KBPuAd.d.mts.map +0 -1
  276. package/dist/env-DqI7dwC-.mjs +0 -582
  277. package/dist/env-DqI7dwC-.mjs.map +0 -1
  278. package/dist/env-DwM7pJm7.d.cts +0 -23
  279. package/dist/env-DwM7pJm7.d.cts.map +0 -1
  280. package/dist/helpers-45e1bvAO.mjs +0 -1
  281. package/dist/helpers-DgYP3uej.cjs +0 -0
  282. package/dist/index-BNRXMhlr.d.mts +0 -1
  283. package/dist/index-Bdi8CvaN.d.cts +0 -16
  284. package/dist/index-Bdi8CvaN.d.cts.map +0 -1
  285. package/dist/index-CEDY7cmG.d.cts +0 -1
  286. package/dist/index-CREkvfw9.d.mts +0 -1
  287. package/dist/index-DSiHnMH2.d.cts +0 -1
  288. package/dist/index-Drhzdkqe.d.mts +0 -16
  289. package/dist/index-Drhzdkqe.d.mts.map +0 -1
  290. package/dist/index-dhjtMp5F.d.mts +0 -1
  291. package/dist/index-uTS5iDq_.d.cts +0 -1
  292. package/dist/join-paths-Dd9KxuyL.mjs.map +0 -1
  293. package/dist/json5-jq90mF9X.mjs.map +0 -1
  294. package/dist/jsonc-CBh70baJ.cjs +0 -4
  295. package/dist/jsonc-CDLU6bgi.mjs +0 -4
  296. package/dist/load-EM4edkA2.mjs.map +0 -1
  297. package/dist/load-GpP6cojj.d.mts +0 -36
  298. package/dist/load-GpP6cojj.d.mts.map +0 -1
  299. package/dist/load-PHGmxX_X.d.cts +0 -36
  300. package/dist/load-PHGmxX_X.d.cts.map +0 -1
  301. package/dist/multipart-parser-D65rtMfY.mjs.map +0 -1
  302. package/dist/node-D9MigVDD.mjs.map +0 -1
  303. package/dist/persistence-5S3EirDm.mjs +0 -586
  304. package/dist/persistence-5S3EirDm.mjs.map +0 -1
  305. package/dist/persistence-BR4cUaN6.d.cts +0 -85
  306. package/dist/persistence-BR4cUaN6.d.cts.map +0 -1
  307. package/dist/persistence-DrKQZNCv.d.mts +0 -85
  308. package/dist/persistence-DrKQZNCv.d.mts.map +0 -1
  309. package/dist/persistence-DzS7SzMj.cjs +0 -712
  310. package/dist/plugin-CM1TSv1B.cjs +0 -159
  311. package/dist/plugin-CSVnrdpE.cjs +0 -146
  312. package/dist/plugin-CSe5f2cD.d.cts +0 -155
  313. package/dist/plugin-CSe5f2cD.d.cts.map +0 -1
  314. package/dist/plugin-DMbVjdcQ.d.mts +0 -155
  315. package/dist/plugin-DMbVjdcQ.d.mts.map +0 -1
  316. package/dist/plugin-Vyvy9w9Z.mjs +0 -141
  317. package/dist/plugin-Vyvy9w9Z.mjs.map +0 -1
  318. package/dist/plugin-eBjQJP6x.mjs +0 -130
  319. package/dist/plugin-eBjQJP6x.mjs.map +0 -1
  320. package/dist/reflect-Dm8a3c29.d.cts +0 -47
  321. package/dist/reflect-Dm8a3c29.d.cts.map +0 -1
  322. package/dist/reflect-Dpz8ifa0.d.mts +0 -47
  323. package/dist/reflect-Dpz8ifa0.d.mts.map +0 -1
  324. package/dist/runtime-BDzzR4wH.d.cts +0 -792
  325. package/dist/runtime-C5ukCv3P.mjs +0 -242
  326. package/dist/runtime-C5ukCv3P.mjs.map +0 -1
  327. package/dist/runtime-g0TEIoZK.cjs +0 -253
  328. package/dist/runtime-lYSIZdMn.d.mts +0 -792
  329. package/dist/source-file-env-4Vdtzc5-.cjs +0 -68
  330. package/dist/source-file-env-Brfopjyr.d.cts +0 -9
  331. package/dist/source-file-env-Brfopjyr.d.cts.map +0 -1
  332. package/dist/source-file-env-DWejSP2U.d.mts +0 -9
  333. package/dist/source-file-env-DWejSP2U.d.mts.map +0 -1
  334. package/dist/source-file-env-Tj-6qobx.mjs +0 -57
  335. package/dist/source-file-env-Tj-6qobx.mjs.map +0 -1
  336. package/dist/template-helpers-1SKodHKt.d.mts +0 -16
  337. package/dist/template-helpers-1SKodHKt.d.mts.map +0 -1
  338. package/dist/template-helpers-Cw8aba1r.mjs +0 -70
  339. package/dist/template-helpers-Cw8aba1r.mjs.map +0 -1
  340. package/dist/template-helpers-DoFoTIAC.cjs +0 -75
  341. package/dist/template-helpers-zyitPfMz.d.cts +0 -16
  342. package/dist/template-helpers-zyitPfMz.d.cts.map +0 -1
  343. package/dist/toml-uuOYvEAO.mjs.map +0 -1
  344. package/dist/types-DyPQho_C.mjs +0 -1
  345. package/dist/types-o3zWarRp.cjs +0 -0
  346. package/dist/yaml-CIn2Gddw.mjs.map +0 -1
@@ -1,32 +1,18 @@
1
- import { n as __require, r as __toDynamicImportESM, t as __commonJSMin } from "./chunk-CsF2CmBJ.mjs";
1
+ import { __commonJSMin, __require, __toDynamicImportESM } from "../../../../../../_virtual/rolldown_runtime.mjs";
2
+ import { require_node_fetch_native_DhEqb06g } from "./shared/node-fetch-native.DhEqb06g.mjs";
2
3
 
3
- //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs
4
- var require_node_fetch_native_DhEqb06g = /* @__PURE__ */ __commonJSMin(((exports) => {
5
- var l = Object.defineProperty;
6
- var o = (e$2, t$2) => l(e$2, "name", {
7
- value: t$2,
8
- configurable: !0
9
- });
10
- var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
11
- function getDefaultExportFromCjs(e$2) {
12
- return e$2 && e$2.__esModule && Object.prototype.hasOwnProperty.call(e$2, "default") ? e$2.default : e$2;
13
- }
14
- o(getDefaultExportFromCjs, "getDefaultExportFromCjs"), exports.commonjsGlobal = commonjsGlobal, exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
15
- }));
16
-
17
- //#endregion
18
4
  //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs
19
5
  var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
20
6
  var ys = Object.defineProperty;
21
7
  var Po = (c) => {
22
8
  throw TypeError(c);
23
9
  };
24
- var u = (c, l$1) => ys(c, "name", {
25
- value: l$1,
10
+ var u = (c, l) => ys(c, "name", {
11
+ value: l,
26
12
  configurable: !0
27
13
  });
28
- var vo = (c, l$1, d) => l$1.has(c) || Po("Cannot " + d);
29
- var D = (c, l$1, d) => (vo(c, l$1, "read from private field"), d ? d.call(c) : l$1.get(c)), ye = (c, l$1, d) => l$1.has(c) ? Po("Cannot add the same private member more than once") : l$1 instanceof WeakSet ? l$1.add(c) : l$1.set(c, d), ne = (c, l$1, d, g) => (vo(c, l$1, "write to private field"), g ? g.call(c, d) : l$1.set(c, d), d);
14
+ var vo = (c, l, d) => l.has(c) || Po("Cannot " + d);
15
+ var D = (c, l, d) => (vo(c, l, "read from private field"), d ? d.call(c) : l.get(c)), ye = (c, l, d) => l.has(c) ? Po("Cannot add the same private member more than once") : l instanceof WeakSet ? l.add(c) : l.set(c, d), ne = (c, l, d, g) => (vo(c, l, "write to private field"), g ? g.call(c, d) : l.set(c, d), d);
30
16
  var Pe, gt, ot, Zt, Oe, _t, St, it, oe, st, xe, Ue, at;
31
17
  Object.defineProperty(exports, "__esModule", { value: !0 });
32
18
  const http = __require("node:http"), https = __require("node:https"), zlib = __require("node:zlib"), Stream = __require("node:stream"), require$$0 = __require("node:buffer"), require$$0$1 = __require("node:util"), _commonjsHelpers = require_node_fetch_native_DhEqb06g(), require$$1 = __require("node:url"), require$$0$2 = __require("node:net"), node_fs = __require("node:fs"), node_path = __require("node:path");
@@ -38,15 +24,15 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
38
24
  function dataUriToBuffer(c) {
39
25
  if (!/^data:/i.test(c)) throw new TypeError("`uri` does not appear to be a Data URI (must begin with \"data:\")");
40
26
  c = c.replace(/\r?\n/g, "");
41
- const l$1 = c.indexOf(",");
42
- if (l$1 === -1 || l$1 <= 4) throw new TypeError("malformed data: URI");
43
- const d = c.substring(5, l$1).split(";");
27
+ const l = c.indexOf(",");
28
+ if (l === -1 || l <= 4) throw new TypeError("malformed data: URI");
29
+ const d = c.substring(5, l).split(";");
44
30
  let g = "", b = !1;
45
31
  const R = d[0] || "text/plain";
46
32
  let w = R;
47
33
  for (let I = 1; I < d.length; I++) d[I] === "base64" ? b = !0 : d[I] && (w += `;${d[I]}`, d[I].indexOf("charset=") === 0 && (g = d[I].substring(8)));
48
34
  !d[0] && !g.length && (w += ";charset=US-ASCII", g = "US-ASCII");
49
- const A = b ? "base64" : "ascii", z = unescape(c.substring(l$1 + 1)), B = Buffer.from(z, A);
35
+ const A = b ? "base64" : "ascii", z = unescape(c.substring(l + 1)), B = Buffer.from(z, A);
50
36
  return B.type = R, B.typeFull = w, B.charset = g, B;
51
37
  }
52
38
  u(dataUriToBuffer, "dataUriToBuffer");
@@ -59,9 +45,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
59
45
  * SPDX-License-Identifier: MIT
60
46
  */ var ponyfill_es2018 = ponyfill_es2018$1.exports, hasRequiredPonyfill_es2018;
61
47
  function requirePonyfill_es2018() {
62
- return hasRequiredPonyfill_es2018 || (hasRequiredPonyfill_es2018 = 1, function(c, l$1) {
48
+ return hasRequiredPonyfill_es2018 || (hasRequiredPonyfill_es2018 = 1, function(c, l) {
63
49
  (function(d, g) {
64
- g(l$1);
50
+ g(l);
65
51
  })(ponyfill_es2018, function(d) {
66
52
  function g() {}
67
53
  u(g, "noop");
@@ -70,10 +56,10 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
70
56
  }
71
57
  u(b, "typeIsObject");
72
58
  const R = g;
73
- function w(n, o$1) {
59
+ function w(n, o) {
74
60
  try {
75
61
  Object.defineProperty(n, "name", {
76
- value: o$1,
62
+ value: o,
77
63
  configurable: !0
78
64
  });
79
65
  } catch {}
@@ -85,31 +71,31 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
85
71
  }
86
72
  u(I, "newPromise");
87
73
  function k(n) {
88
- return I((o$1) => o$1(n));
74
+ return I((o) => o(n));
89
75
  }
90
76
  u(k, "promiseResolvedWith");
91
77
  function T(n) {
92
78
  return B(n);
93
79
  }
94
80
  u(T, "promiseRejectedWith");
95
- function $(n, o$1, a) {
96
- return z.call(n, o$1, a);
81
+ function $(n, o, a) {
82
+ return z.call(n, o, a);
97
83
  }
98
84
  u($, "PerformPromiseThen");
99
- function v(n, o$1, a) {
100
- $($(n, o$1, a), void 0, R);
85
+ function v(n, o, a) {
86
+ $($(n, o, a), void 0, R);
101
87
  }
102
88
  u(v, "uponPromise");
103
- function K(n, o$1) {
104
- v(n, o$1);
89
+ function K(n, o) {
90
+ v(n, o);
105
91
  }
106
92
  u(K, "uponFulfillment");
107
- function U(n, o$1) {
108
- v(n, void 0, o$1);
93
+ function U(n, o) {
94
+ v(n, void 0, o);
109
95
  }
110
96
  u(U, "uponRejection");
111
- function N(n, o$1, a) {
112
- return $(n, o$1, a);
97
+ function N(n, o, a) {
98
+ return $(n, o, a);
113
99
  }
114
100
  u(N, "transformPromiseWith");
115
101
  function J(n) {
@@ -119,19 +105,19 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
119
105
  let ge = u((n) => {
120
106
  if (typeof queueMicrotask == "function") ge = queueMicrotask;
121
107
  else {
122
- const o$1 = k(void 0);
123
- ge = u((a) => $(o$1, a), "_queueMicrotask");
108
+ const o = k(void 0);
109
+ ge = u((a) => $(o, a), "_queueMicrotask");
124
110
  }
125
111
  return ge(n);
126
112
  }, "_queueMicrotask");
127
- function M(n, o$1, a) {
113
+ function M(n, o, a) {
128
114
  if (typeof n != "function") throw new TypeError("Argument is not a function");
129
- return Function.prototype.apply.call(n, o$1, a);
115
+ return Function.prototype.apply.call(n, o, a);
130
116
  }
131
117
  u(M, "reflectCall");
132
- function H(n, o$1, a) {
118
+ function H(n, o, a) {
133
119
  try {
134
- return k(M(n, o$1, a));
120
+ return k(M(n, o, a));
135
121
  } catch (p) {
136
122
  return T(p);
137
123
  }
@@ -147,46 +133,46 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
147
133
  get length() {
148
134
  return this._size;
149
135
  }
150
- push(o$1) {
136
+ push(o) {
151
137
  const a = this._back;
152
138
  let p = a;
153
139
  a._elements.length === Y - 1 && (p = {
154
140
  _elements: [],
155
141
  _next: void 0
156
- }), a._elements.push(o$1), p !== a && (this._back = p, a._next = p), ++this._size;
142
+ }), a._elements.push(o), p !== a && (this._back = p, a._next = p), ++this._size;
157
143
  }
158
144
  shift() {
159
- const o$1 = this._front;
160
- let a = o$1;
145
+ const o = this._front;
146
+ let a = o;
161
147
  const p = this._cursor;
162
148
  let y = p + 1;
163
- const _ = o$1._elements, S = _[p];
164
- return y === Y && (a = o$1._next, y = 0), --this._size, this._cursor = y, o$1 !== a && (this._front = a), _[p] = void 0, S;
149
+ const _ = o._elements, S = _[p];
150
+ return y === Y && (a = o._next, y = 0), --this._size, this._cursor = y, o !== a && (this._front = a), _[p] = void 0, S;
165
151
  }
166
- forEach(o$1) {
152
+ forEach(o) {
167
153
  let a = this._cursor, p = this._front, y = p._elements;
168
- for (; (a !== y.length || p._next !== void 0) && !(a === y.length && (p = p._next, y = p._elements, a = 0, y.length === 0));) o$1(y[a]), ++a;
154
+ for (; (a !== y.length || p._next !== void 0) && !(a === y.length && (p = p._next, y = p._elements, a = 0, y.length === 0));) o(y[a]), ++a;
169
155
  }
170
156
  peek() {
171
- const o$1 = this._front, a = this._cursor;
172
- return o$1._elements[a];
157
+ const o = this._front, a = this._cursor;
158
+ return o._elements[a];
173
159
  }
174
160
  };
175
161
  u(Dr, "SimpleQueue");
176
162
  let Q = Dr;
177
163
  const wt = Symbol("[[AbortSteps]]"), un = Symbol("[[ErrorSteps]]"), er = Symbol("[[CancelSteps]]"), tr = Symbol("[[PullSteps]]"), rr = Symbol("[[ReleaseSteps]]");
178
- function ln(n, o$1) {
179
- n._ownerReadableStream = o$1, o$1._reader = n, o$1._state === "readable" ? or(n) : o$1._state === "closed" ? Eo(n) : fn(n, o$1._storedError);
164
+ function ln(n, o) {
165
+ n._ownerReadableStream = o, o._reader = n, o._state === "readable" ? or(n) : o._state === "closed" ? Eo(n) : fn(n, o._storedError);
180
166
  }
181
167
  u(ln, "ReadableStreamReaderGenericInitialize");
182
- function nr(n, o$1) {
168
+ function nr(n, o) {
183
169
  const a = n._ownerReadableStream;
184
- return le(a, o$1);
170
+ return le(a, o);
185
171
  }
186
172
  u(nr, "ReadableStreamReaderGenericCancel");
187
173
  function _e(n) {
188
- const o$1 = n._ownerReadableStream;
189
- o$1._state === "readable" ? ir(n, /* @__PURE__ */ new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")) : Ao(n, /* @__PURE__ */ new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")), o$1._readableStreamController[rr](), o$1._reader = void 0, n._ownerReadableStream = void 0;
174
+ const o = n._ownerReadableStream;
175
+ o._state === "readable" ? ir(n, /* @__PURE__ */ new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")) : Ao(n, /* @__PURE__ */ new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")), o._readableStreamController[rr](), o._reader = void 0, n._ownerReadableStream = void 0;
190
176
  }
191
177
  u(_e, "ReadableStreamReaderGenericRelease");
192
178
  function Rt(n) {
@@ -194,25 +180,25 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
194
180
  }
195
181
  u(Rt, "readerLockException");
196
182
  function or(n) {
197
- n._closedPromise = I((o$1, a) => {
198
- n._closedPromise_resolve = o$1, n._closedPromise_reject = a;
183
+ n._closedPromise = I((o, a) => {
184
+ n._closedPromise_resolve = o, n._closedPromise_reject = a;
199
185
  });
200
186
  }
201
187
  u(or, "defaultReaderClosedPromiseInitialize");
202
- function fn(n, o$1) {
203
- or(n), ir(n, o$1);
188
+ function fn(n, o) {
189
+ or(n), ir(n, o);
204
190
  }
205
191
  u(fn, "defaultReaderClosedPromiseInitializeAsRejected");
206
192
  function Eo(n) {
207
193
  or(n), cn(n);
208
194
  }
209
195
  u(Eo, "defaultReaderClosedPromiseInitializeAsResolved");
210
- function ir(n, o$1) {
211
- n._closedPromise_reject !== void 0 && (J(n._closedPromise), n._closedPromise_reject(o$1), n._closedPromise_resolve = void 0, n._closedPromise_reject = void 0);
196
+ function ir(n, o) {
197
+ n._closedPromise_reject !== void 0 && (J(n._closedPromise), n._closedPromise_reject(o), n._closedPromise_resolve = void 0, n._closedPromise_reject = void 0);
212
198
  }
213
199
  u(ir, "defaultReaderClosedPromiseReject");
214
- function Ao(n, o$1) {
215
- fn(n, o$1);
200
+ function Ao(n, o) {
201
+ fn(n, o);
216
202
  }
217
203
  u(Ao, "defaultReaderClosedPromiseResetToRejected");
218
204
  function cn(n) {
@@ -228,28 +214,28 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
228
214
  return typeof n == "object" || typeof n == "function";
229
215
  }
230
216
  u(qo, "isDictionary");
231
- function ce(n, o$1) {
232
- if (n !== void 0 && !qo(n)) throw new TypeError(`${o$1} is not an object.`);
217
+ function ce(n, o) {
218
+ if (n !== void 0 && !qo(n)) throw new TypeError(`${o} is not an object.`);
233
219
  }
234
220
  u(ce, "assertDictionary");
235
- function ee(n, o$1) {
236
- if (typeof n != "function") throw new TypeError(`${o$1} is not a function.`);
221
+ function ee(n, o) {
222
+ if (typeof n != "function") throw new TypeError(`${o} is not a function.`);
237
223
  }
238
224
  u(ee, "assertFunction");
239
225
  function ko(n) {
240
226
  return typeof n == "object" && n !== null || typeof n == "function";
241
227
  }
242
228
  u(ko, "isObject");
243
- function hn(n, o$1) {
244
- if (!ko(n)) throw new TypeError(`${o$1} is not an object.`);
229
+ function hn(n, o) {
230
+ if (!ko(n)) throw new TypeError(`${o} is not an object.`);
245
231
  }
246
232
  u(hn, "assertObject");
247
- function Se(n, o$1, a) {
248
- if (n === void 0) throw new TypeError(`Parameter ${o$1} is required in '${a}'.`);
233
+ function Se(n, o, a) {
234
+ if (n === void 0) throw new TypeError(`Parameter ${o} is required in '${a}'.`);
249
235
  }
250
236
  u(Se, "assertRequiredArgument");
251
- function sr(n, o$1, a) {
252
- if (n === void 0) throw new TypeError(`${o$1} is required in '${a}'.`);
237
+ function sr(n, o, a) {
238
+ if (n === void 0) throw new TypeError(`${o} is required in '${a}'.`);
253
239
  }
254
240
  u(sr, "assertRequiredField");
255
241
  function ar(n) {
@@ -264,29 +250,29 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
264
250
  return pn(Bo(n));
265
251
  }
266
252
  u(Wo, "integerPart");
267
- function ur(n, o$1) {
253
+ function ur(n, o) {
268
254
  const p = Number.MAX_SAFE_INTEGER;
269
255
  let y = Number(n);
270
- if (y = pn(y), !dn(y)) throw new TypeError(`${o$1} is not a finite number`);
271
- if (y = Wo(y), y < 0 || y > p) throw new TypeError(`${o$1} is outside the accepted range of 0 to ${p}, inclusive`);
256
+ if (y = pn(y), !dn(y)) throw new TypeError(`${o} is not a finite number`);
257
+ if (y = Wo(y), y < 0 || y > p) throw new TypeError(`${o} is outside the accepted range of 0 to ${p}, inclusive`);
272
258
  return !dn(y) || y === 0 ? 0 : y;
273
259
  }
274
260
  u(ur, "convertUnsignedLongLongWithEnforceRange");
275
- function lr(n, o$1) {
276
- if (!qe(n)) throw new TypeError(`${o$1} is not a ReadableStream.`);
261
+ function lr(n, o) {
262
+ if (!qe(n)) throw new TypeError(`${o} is not a ReadableStream.`);
277
263
  }
278
264
  u(lr, "assertReadableStream");
279
265
  function Ne(n) {
280
266
  return new de(n);
281
267
  }
282
268
  u(Ne, "AcquireReadableStreamDefaultReader");
283
- function bn(n, o$1) {
284
- n._reader._readRequests.push(o$1);
269
+ function bn(n, o) {
270
+ n._reader._readRequests.push(o);
285
271
  }
286
272
  u(bn, "ReadableStreamAddReadRequest");
287
- function fr(n, o$1, a) {
273
+ function fr(n, o, a) {
288
274
  const y = n._reader._readRequests.shift();
289
- a ? y._closeSteps() : y._chunkSteps(o$1);
275
+ a ? y._closeSteps() : y._chunkSteps(o);
290
276
  }
291
277
  u(fr, "ReadableStreamFulfillReadRequest");
292
278
  function Tt(n) {
@@ -294,34 +280,34 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
294
280
  }
295
281
  u(Tt, "ReadableStreamGetNumReadRequests");
296
282
  function mn(n) {
297
- const o$1 = n._reader;
298
- return !(o$1 === void 0 || !ve(o$1));
283
+ const o = n._reader;
284
+ return !(o === void 0 || !ve(o));
299
285
  }
300
286
  u(mn, "ReadableStreamHasDefaultReader");
301
287
  const Mr = class Mr$1 {
302
- constructor(o$1) {
303
- if (Se(o$1, 1, "ReadableStreamDefaultReader"), lr(o$1, "First parameter"), ke(o$1)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
304
- ln(this, o$1), this._readRequests = new Q();
288
+ constructor(o) {
289
+ if (Se(o, 1, "ReadableStreamDefaultReader"), lr(o, "First parameter"), ke(o)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
290
+ ln(this, o), this._readRequests = new Q();
305
291
  }
306
292
  get closed() {
307
293
  return ve(this) ? this._closedPromise : T(Ct("closed"));
308
294
  }
309
- cancel(o$1 = void 0) {
310
- return ve(this) ? this._ownerReadableStream === void 0 ? T(Rt("cancel")) : nr(this, o$1) : T(Ct("cancel"));
295
+ cancel(o = void 0) {
296
+ return ve(this) ? this._ownerReadableStream === void 0 ? T(Rt("cancel")) : nr(this, o) : T(Ct("cancel"));
311
297
  }
312
298
  read() {
313
299
  if (!ve(this)) return T(Ct("read"));
314
300
  if (this._ownerReadableStream === void 0) return T(Rt("read from"));
315
- let o$1, a;
301
+ let o, a;
316
302
  const p = I((_, S) => {
317
- o$1 = _, a = S;
303
+ o = _, a = S;
318
304
  });
319
305
  return ut(this, {
320
- _chunkSteps: u((_) => o$1({
306
+ _chunkSteps: u((_) => o({
321
307
  value: _,
322
308
  done: !1
323
309
  }), "_chunkSteps"),
324
- _closeSteps: u(() => o$1({
310
+ _closeSteps: u(() => o({
325
311
  value: void 0,
326
312
  done: !0
327
313
  }), "_closeSteps"),
@@ -348,9 +334,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
348
334
  return !b(n) || !Object.prototype.hasOwnProperty.call(n, "_readRequests") ? !1 : n instanceof de;
349
335
  }
350
336
  u(ve, "IsReadableStreamDefaultReader");
351
- function ut(n, o$1) {
337
+ function ut(n, o) {
352
338
  const a = n._ownerReadableStream;
353
- a._disturbed = !0, a._state === "closed" ? o$1._closeSteps() : a._state === "errored" ? o$1._errorSteps(a._storedError) : a._readableStreamController[tr](o$1);
339
+ a._disturbed = !0, a._state === "closed" ? o._closeSteps() : a._state === "errored" ? o._errorSteps(a._storedError) : a._readableStreamController[tr](o);
354
340
  }
355
341
  u(ut, "ReadableStreamDefaultReaderRead");
356
342
  function Oo(n) {
@@ -358,10 +344,10 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
358
344
  yn(n, /* @__PURE__ */ new TypeError("Reader was released"));
359
345
  }
360
346
  u(Oo, "ReadableStreamDefaultReaderRelease");
361
- function yn(n, o$1) {
347
+ function yn(n, o) {
362
348
  const a = n._readRequests;
363
349
  n._readRequests = new Q(), a.forEach((p) => {
364
- p._errorSteps(o$1);
350
+ p._errorSteps(o);
365
351
  });
366
352
  }
367
353
  u(yn, "ReadableStreamDefaultReaderErrorReadRequests");
@@ -370,15 +356,15 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
370
356
  }
371
357
  u(Ct, "defaultReaderBrandCheckException");
372
358
  const zo = Object.getPrototypeOf(Object.getPrototypeOf(async function* () {}).prototype), xr = class xr$1 {
373
- constructor(o$1, a) {
374
- this._ongoingPromise = void 0, this._isFinished = !1, this._reader = o$1, this._preventCancel = a;
359
+ constructor(o, a) {
360
+ this._ongoingPromise = void 0, this._isFinished = !1, this._reader = o, this._preventCancel = a;
375
361
  }
376
362
  next() {
377
- const o$1 = u(() => this._nextSteps(), "nextSteps");
378
- return this._ongoingPromise = this._ongoingPromise ? N(this._ongoingPromise, o$1, o$1) : o$1(), this._ongoingPromise;
363
+ const o = u(() => this._nextSteps(), "nextSteps");
364
+ return this._ongoingPromise = this._ongoingPromise ? N(this._ongoingPromise, o, o) : o(), this._ongoingPromise;
379
365
  }
380
- return(o$1) {
381
- const a = u(() => this._returnSteps(o$1), "returnSteps");
366
+ return(o) {
367
+ const a = u(() => this._returnSteps(o), "returnSteps");
382
368
  return this._ongoingPromise ? N(this._ongoingPromise, a, a) : a();
383
369
  }
384
370
  _nextSteps() {
@@ -386,12 +372,12 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
386
372
  value: void 0,
387
373
  done: !0
388
374
  });
389
- const o$1 = this._reader;
375
+ const o = this._reader;
390
376
  let a, p;
391
377
  const y = I((S, C) => {
392
378
  a = S, p = C;
393
379
  });
394
- return ut(o$1, {
380
+ return ut(o, {
395
381
  _chunkSteps: u((S) => {
396
382
  this._ongoingPromise = void 0, ge(() => a({
397
383
  value: S,
@@ -399,32 +385,32 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
399
385
  }));
400
386
  }, "_chunkSteps"),
401
387
  _closeSteps: u(() => {
402
- this._ongoingPromise = void 0, this._isFinished = !0, _e(o$1), a({
388
+ this._ongoingPromise = void 0, this._isFinished = !0, _e(o), a({
403
389
  value: void 0,
404
390
  done: !0
405
391
  });
406
392
  }, "_closeSteps"),
407
393
  _errorSteps: u((S) => {
408
- this._ongoingPromise = void 0, this._isFinished = !0, _e(o$1), p(S);
394
+ this._ongoingPromise = void 0, this._isFinished = !0, _e(o), p(S);
409
395
  }, "_errorSteps")
410
396
  }), y;
411
397
  }
412
- _returnSteps(o$1) {
398
+ _returnSteps(o) {
413
399
  if (this._isFinished) return Promise.resolve({
414
- value: o$1,
400
+ value: o,
415
401
  done: !0
416
402
  });
417
403
  this._isFinished = !0;
418
404
  const a = this._reader;
419
405
  if (!this._preventCancel) {
420
- const p = nr(a, o$1);
406
+ const p = nr(a, o);
421
407
  return _e(a), N(p, () => ({
422
- value: o$1,
408
+ value: o,
423
409
  done: !0
424
410
  }));
425
411
  }
426
412
  return _e(a), k({
427
- value: o$1,
413
+ value: o,
428
414
  done: !0
429
415
  });
430
416
  }
@@ -440,8 +426,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
440
426
  }
441
427
  };
442
428
  Object.setPrototypeOf(gn, zo);
443
- function Fo(n, o$1) {
444
- const p = new Pt(Ne(n), o$1), y = Object.create(gn);
429
+ function Fo(n, o) {
430
+ const p = new Pt(Ne(n), o), y = Object.create(gn);
445
431
  return y._asyncIteratorImpl = p, y;
446
432
  }
447
433
  u(Fo, "AcquireReadableStreamAsyncIterator");
@@ -466,28 +452,28 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
466
452
  return n.slice();
467
453
  }
468
454
  u(lt, "CreateArrayFromList");
469
- function Rn(n, o$1, a, p, y) {
470
- new Uint8Array(n).set(new Uint8Array(a, p, y), o$1);
455
+ function Rn(n, o, a, p, y) {
456
+ new Uint8Array(n).set(new Uint8Array(a, p, y), o);
471
457
  }
472
458
  u(Rn, "CopyDataBlockBytes");
473
- let we = u((n) => (typeof n.transfer == "function" ? we = u((o$1) => o$1.transfer(), "TransferArrayBuffer") : typeof structuredClone == "function" ? we = u((o$1) => structuredClone(o$1, { transfer: [o$1] }), "TransferArrayBuffer") : we = u((o$1) => o$1, "TransferArrayBuffer"), we(n)), "TransferArrayBuffer"), Ee = u((n) => (typeof n.detached == "boolean" ? Ee = u((o$1) => o$1.detached, "IsDetachedBuffer") : Ee = u((o$1) => o$1.byteLength === 0, "IsDetachedBuffer"), Ee(n)), "IsDetachedBuffer");
474
- function Tn(n, o$1, a) {
475
- if (n.slice) return n.slice(o$1, a);
476
- const p = a - o$1, y = new ArrayBuffer(p);
477
- return Rn(y, 0, n, o$1, p), y;
459
+ let we = u((n) => (typeof n.transfer == "function" ? we = u((o) => o.transfer(), "TransferArrayBuffer") : typeof structuredClone == "function" ? we = u((o) => structuredClone(o, { transfer: [o] }), "TransferArrayBuffer") : we = u((o) => o, "TransferArrayBuffer"), we(n)), "TransferArrayBuffer"), Ee = u((n) => (typeof n.detached == "boolean" ? Ee = u((o) => o.detached, "IsDetachedBuffer") : Ee = u((o) => o.byteLength === 0, "IsDetachedBuffer"), Ee(n)), "IsDetachedBuffer");
460
+ function Tn(n, o, a) {
461
+ if (n.slice) return n.slice(o, a);
462
+ const p = a - o, y = new ArrayBuffer(p);
463
+ return Rn(y, 0, n, o, p), y;
478
464
  }
479
465
  u(Tn, "ArrayBufferSlice");
480
- function vt(n, o$1) {
481
- const a = n[o$1];
466
+ function vt(n, o) {
467
+ const a = n[o];
482
468
  if (a != null) {
483
- if (typeof a != "function") throw new TypeError(`${String(o$1)} is not a function`);
469
+ if (typeof a != "function") throw new TypeError(`${String(o)} is not a function`);
484
470
  return a;
485
471
  }
486
472
  }
487
473
  u(vt, "GetMethod");
488
474
  function Io(n) {
489
- const o$1 = { [Symbol.iterator]: () => n.iterator }, a = async function* () {
490
- return yield* o$1;
475
+ const o = { [Symbol.iterator]: () => n.iterator }, a = async function* () {
476
+ return yield* o;
491
477
  }();
492
478
  return {
493
479
  iterator: a,
@@ -497,8 +483,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
497
483
  }
498
484
  u(Io, "CreateAsyncFromSyncIterator");
499
485
  const pr = (hr = (cr = Symbol.asyncIterator) !== null && cr !== void 0 ? cr : (dr = Symbol.for) === null || dr === void 0 ? void 0 : dr.call(Symbol, "Symbol.asyncIterator")) !== null && hr !== void 0 ? hr : "@@asyncIterator";
500
- function Cn(n, o$1 = "sync", a) {
501
- if (a === void 0) if (o$1 === "async") {
486
+ function Cn(n, o = "sync", a) {
487
+ if (a === void 0) if (o === "async") {
502
488
  if (a = vt(n, pr), a === void 0) return Io(Cn(n, "sync", vt(n, Symbol.iterator)));
503
489
  } else a = vt(n, Symbol.iterator);
504
490
  if (a === void 0) throw new TypeError("The object is not iterable");
@@ -512,9 +498,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
512
498
  }
513
499
  u(Cn, "GetIterator");
514
500
  function jo(n) {
515
- const o$1 = M(n.nextMethod, n.iterator, []);
516
- if (!b(o$1)) throw new TypeError("The iterator.next() method must return an object");
517
- return o$1;
501
+ const o = M(n.nextMethod, n.iterator, []);
502
+ if (!b(o)) throw new TypeError("The iterator.next() method must return an object");
503
+ return o;
518
504
  }
519
505
  u(jo, "IteratorNext");
520
506
  function Lo(n) {
@@ -530,19 +516,19 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
530
516
  }
531
517
  u(Do, "IsNonNegativeNumber");
532
518
  function Pn(n) {
533
- const o$1 = Tn(n.buffer, n.byteOffset, n.byteOffset + n.byteLength);
534
- return new Uint8Array(o$1);
519
+ const o = Tn(n.buffer, n.byteOffset, n.byteOffset + n.byteLength);
520
+ return new Uint8Array(o);
535
521
  }
536
522
  u(Pn, "CloneAsUint8Array");
537
523
  function br(n) {
538
- const o$1 = n._queue.shift();
539
- return n._queueTotalSize -= o$1.size, n._queueTotalSize < 0 && (n._queueTotalSize = 0), o$1.value;
524
+ const o = n._queue.shift();
525
+ return n._queueTotalSize -= o.size, n._queueTotalSize < 0 && (n._queueTotalSize = 0), o.value;
540
526
  }
541
527
  u(br, "DequeueValue");
542
- function mr(n, o$1, a) {
528
+ function mr(n, o, a) {
543
529
  if (!Do(a) || a === Infinity) throw new RangeError("Size must be a finite, non-NaN, non-negative number.");
544
530
  n._queue.push({
545
- value: o$1,
531
+ value: o,
546
532
  size: a
547
533
  }), n._queueTotalSize += a;
548
534
  }
@@ -575,18 +561,18 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
575
561
  if (!yr(this)) throw Rr("view");
576
562
  return this._view;
577
563
  }
578
- respond(o$1) {
564
+ respond(o) {
579
565
  if (!yr(this)) throw Rr("respond");
580
- if (Se(o$1, 1, "respond"), o$1 = ur(o$1, "First parameter"), this._associatedReadableByteStreamController === void 0) throw new TypeError("This BYOB request has been invalidated");
566
+ if (Se(o, 1, "respond"), o = ur(o, "First parameter"), this._associatedReadableByteStreamController === void 0) throw new TypeError("This BYOB request has been invalidated");
581
567
  if (Ee(this._view.buffer)) throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");
582
- qt(this._associatedReadableByteStreamController, o$1);
568
+ qt(this._associatedReadableByteStreamController, o);
583
569
  }
584
- respondWithNewView(o$1) {
570
+ respondWithNewView(o) {
585
571
  if (!yr(this)) throw Rr("respondWithNewView");
586
- if (Se(o$1, 1, "respondWithNewView"), !ArrayBuffer.isView(o$1)) throw new TypeError("You can only respond with array buffer views");
572
+ if (Se(o, 1, "respondWithNewView"), !ArrayBuffer.isView(o)) throw new TypeError("You can only respond with array buffer views");
587
573
  if (this._associatedReadableByteStreamController === void 0) throw new TypeError("This BYOB request has been invalidated");
588
- if (Ee(o$1.buffer)) throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");
589
- kt(this._associatedReadableByteStreamController, o$1);
574
+ if (Ee(o.buffer)) throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");
575
+ kt(this._associatedReadableByteStreamController, o);
590
576
  }
591
577
  };
592
578
  u(Ur, "ReadableStreamBYOBRequest");
@@ -614,33 +600,33 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
614
600
  close() {
615
601
  if (!ze(this)) throw ct("close");
616
602
  if (this._closeRequested) throw new TypeError("The stream has already been closed; do not close it again!");
617
- const o$1 = this._controlledReadableByteStream._state;
618
- if (o$1 !== "readable") throw new TypeError(`The stream (in ${o$1} state) is not in the readable state and cannot be closed`);
603
+ const o = this._controlledReadableByteStream._state;
604
+ if (o !== "readable") throw new TypeError(`The stream (in ${o} state) is not in the readable state and cannot be closed`);
619
605
  ft(this);
620
606
  }
621
- enqueue(o$1) {
607
+ enqueue(o) {
622
608
  if (!ze(this)) throw ct("enqueue");
623
- if (Se(o$1, 1, "enqueue"), !ArrayBuffer.isView(o$1)) throw new TypeError("chunk must be an array buffer view");
624
- if (o$1.byteLength === 0) throw new TypeError("chunk must have non-zero byteLength");
625
- if (o$1.buffer.byteLength === 0) throw new TypeError("chunk's buffer must have non-zero byteLength");
609
+ if (Se(o, 1, "enqueue"), !ArrayBuffer.isView(o)) throw new TypeError("chunk must be an array buffer view");
610
+ if (o.byteLength === 0) throw new TypeError("chunk must have non-zero byteLength");
611
+ if (o.buffer.byteLength === 0) throw new TypeError("chunk's buffer must have non-zero byteLength");
626
612
  if (this._closeRequested) throw new TypeError("stream is closed or draining");
627
613
  const a = this._controlledReadableByteStream._state;
628
614
  if (a !== "readable") throw new TypeError(`The stream (in ${a} state) is not in the readable state and cannot be enqueued to`);
629
- Bt(this, o$1);
615
+ Bt(this, o);
630
616
  }
631
- error(o$1 = void 0) {
617
+ error(o = void 0) {
632
618
  if (!ze(this)) throw ct("error");
633
- te(this, o$1);
619
+ te(this, o);
634
620
  }
635
- [er](o$1) {
621
+ [er](o) {
636
622
  En(this), Ae(this);
637
- const a = this._cancelAlgorithm(o$1);
623
+ const a = this._cancelAlgorithm(o);
638
624
  return At(this), a;
639
625
  }
640
- [tr](o$1) {
626
+ [tr](o) {
641
627
  const a = this._controlledReadableByteStream;
642
628
  if (this._queueTotalSize > 0) {
643
- Fn(this, o$1);
629
+ Fn(this, o);
644
630
  return;
645
631
  }
646
632
  const p = this._autoAllocateChunkSize;
@@ -649,7 +635,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
649
635
  try {
650
636
  y = new ArrayBuffer(p);
651
637
  } catch (S) {
652
- o$1._errorSteps(S);
638
+ o._errorSteps(S);
653
639
  return;
654
640
  }
655
641
  const _ = {
@@ -665,12 +651,12 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
665
651
  };
666
652
  this._pendingPullIntos.push(_);
667
653
  }
668
- bn(a, o$1), Fe(this);
654
+ bn(a, o), Fe(this);
669
655
  }
670
656
  [rr]() {
671
657
  if (this._pendingPullIntos.length > 0) {
672
- const o$1 = this._pendingPullIntos.peek();
673
- o$1.readerType = "none", this._pendingPullIntos = new Q(), this._pendingPullIntos.push(o$1);
658
+ const o = this._pendingPullIntos.peek();
659
+ o.readerType = "none", this._pendingPullIntos = new Q(), this._pendingPullIntos.push(o);
674
660
  }
675
661
  }
676
662
  };
@@ -708,55 +694,55 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
708
694
  _r(n), n._pendingPullIntos = new Q();
709
695
  }
710
696
  u(En, "ReadableByteStreamControllerClearPendingPullIntos");
711
- function gr(n, o$1) {
697
+ function gr(n, o) {
712
698
  let a = !1;
713
699
  n._state === "closed" && (a = !0);
714
- const p = An(o$1);
715
- o$1.readerType === "default" ? fr(n, p, a) : ei(n, p, a);
700
+ const p = An(o);
701
+ o.readerType === "default" ? fr(n, p, a) : ei(n, p, a);
716
702
  }
717
703
  u(gr, "ReadableByteStreamControllerCommitPullIntoDescriptor");
718
704
  function An(n) {
719
- const o$1 = n.bytesFilled, a = n.elementSize;
720
- return new n.viewConstructor(n.buffer, n.byteOffset, o$1 / a);
705
+ const o = n.bytesFilled, a = n.elementSize;
706
+ return new n.viewConstructor(n.buffer, n.byteOffset, o / a);
721
707
  }
722
708
  u(An, "ReadableByteStreamControllerConvertPullIntoDescriptor");
723
- function Et(n, o$1, a, p) {
709
+ function Et(n, o, a, p) {
724
710
  n._queue.push({
725
- buffer: o$1,
711
+ buffer: o,
726
712
  byteOffset: a,
727
713
  byteLength: p
728
714
  }), n._queueTotalSize += p;
729
715
  }
730
716
  u(Et, "ReadableByteStreamControllerEnqueueChunkToQueue");
731
- function Bn(n, o$1, a, p) {
717
+ function Bn(n, o, a, p) {
732
718
  let y;
733
719
  try {
734
- y = Tn(o$1, a, a + p);
720
+ y = Tn(o, a, a + p);
735
721
  } catch (_) {
736
722
  throw te(n, _), _;
737
723
  }
738
724
  Et(n, y, 0, p);
739
725
  }
740
726
  u(Bn, "ReadableByteStreamControllerEnqueueClonedChunkToQueue");
741
- function qn(n, o$1) {
742
- o$1.bytesFilled > 0 && Bn(n, o$1.buffer, o$1.byteOffset, o$1.bytesFilled), He(n);
727
+ function qn(n, o) {
728
+ o.bytesFilled > 0 && Bn(n, o.buffer, o.byteOffset, o.bytesFilled), He(n);
743
729
  }
744
730
  u(qn, "ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue");
745
- function kn(n, o$1) {
746
- const a = Math.min(n._queueTotalSize, o$1.byteLength - o$1.bytesFilled), p = o$1.bytesFilled + a;
731
+ function kn(n, o) {
732
+ const a = Math.min(n._queueTotalSize, o.byteLength - o.bytesFilled), p = o.bytesFilled + a;
747
733
  let y = a, _ = !1;
748
- const C = p - p % o$1.elementSize;
749
- C >= o$1.minimumFill && (y = C - o$1.bytesFilled, _ = !0);
734
+ const C = p - p % o.elementSize;
735
+ C >= o.minimumFill && (y = C - o.bytesFilled, _ = !0);
750
736
  const q = n._queue;
751
737
  for (; y > 0;) {
752
- const P = q.peek(), W = Math.min(y, P.byteLength), O = o$1.byteOffset + o$1.bytesFilled;
753
- Rn(o$1.buffer, O, P.buffer, P.byteOffset, W), P.byteLength === W ? q.shift() : (P.byteOffset += W, P.byteLength -= W), n._queueTotalSize -= W, Wn(n, W, o$1), y -= W;
738
+ const P = q.peek(), W = Math.min(y, P.byteLength), O = o.byteOffset + o.bytesFilled;
739
+ Rn(o.buffer, O, P.buffer, P.byteOffset, W), P.byteLength === W ? q.shift() : (P.byteOffset += W, P.byteLength -= W), n._queueTotalSize -= W, Wn(n, W, o), y -= W;
754
740
  }
755
741
  return _;
756
742
  }
757
743
  u(kn, "ReadableByteStreamControllerFillPullIntoDescriptorFromQueue");
758
- function Wn(n, o$1, a) {
759
- a.bytesFilled += o$1;
744
+ function Wn(n, o, a) {
745
+ a.bytesFilled += o;
760
746
  }
761
747
  u(Wn, "ReadableByteStreamControllerFillHeadPullIntoDescriptor");
762
748
  function On(n) {
@@ -770,24 +756,24 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
770
756
  function Sr(n) {
771
757
  for (; n._pendingPullIntos.length > 0;) {
772
758
  if (n._queueTotalSize === 0) return;
773
- const o$1 = n._pendingPullIntos.peek();
774
- kn(n, o$1) && (He(n), gr(n._controlledReadableByteStream, o$1));
759
+ const o = n._pendingPullIntos.peek();
760
+ kn(n, o) && (He(n), gr(n._controlledReadableByteStream, o));
775
761
  }
776
762
  }
777
763
  u(Sr, "ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue");
778
764
  function No(n) {
779
- const o$1 = n._controlledReadableByteStream._reader;
780
- for (; o$1._readRequests.length > 0;) {
765
+ const o = n._controlledReadableByteStream._reader;
766
+ for (; o._readRequests.length > 0;) {
781
767
  if (n._queueTotalSize === 0) return;
782
- Fn(n, o$1._readRequests.shift());
768
+ Fn(n, o._readRequests.shift());
783
769
  }
784
770
  }
785
771
  u(No, "ReadableByteStreamControllerProcessReadRequestsUsingQueue");
786
- function Ho(n, o$1, a, p) {
787
- const y = n._controlledReadableByteStream, _ = o$1.constructor, S = Uo(_), { byteOffset: C, byteLength: q } = o$1, P = a * S;
772
+ function Ho(n, o, a, p) {
773
+ const y = n._controlledReadableByteStream, _ = o.constructor, S = Uo(_), { byteOffset: C, byteLength: q } = o, P = a * S;
788
774
  let W;
789
775
  try {
790
- W = we(o$1.buffer);
776
+ W = we(o.buffer);
791
777
  } catch (j) {
792
778
  p._errorSteps(j);
793
779
  return;
@@ -827,14 +813,14 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
827
813
  n._pendingPullIntos.push(O), $n(y, p), Fe(n);
828
814
  }
829
815
  u(Ho, "ReadableByteStreamControllerPullInto");
830
- function Vo(n, o$1) {
831
- o$1.readerType === "none" && He(n);
816
+ function Vo(n, o) {
817
+ o.readerType === "none" && He(n);
832
818
  const a = n._controlledReadableByteStream;
833
819
  if (Tr(a)) for (; Dn(a) > 0;) gr(a, He(n));
834
820
  }
835
821
  u(Vo, "ReadableByteStreamControllerRespondInClosedState");
836
- function Qo(n, o$1, a) {
837
- if (Wn(n, o$1, a), a.readerType === "none") {
822
+ function Qo(n, o, a) {
823
+ if (Wn(n, o, a), a.readerType === "none") {
838
824
  qn(n, a), Sr(n);
839
825
  return;
840
826
  }
@@ -848,9 +834,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
848
834
  a.bytesFilled -= p, gr(n._controlledReadableByteStream, a), Sr(n);
849
835
  }
850
836
  u(Qo, "ReadableByteStreamControllerRespondInReadableState");
851
- function zn(n, o$1) {
837
+ function zn(n, o) {
852
838
  const a = n._pendingPullIntos.peek();
853
- _r(n), n._controlledReadableByteStream._state === "closed" ? Vo(n, a) : Qo(n, o$1, a), Fe(n);
839
+ _r(n), n._controlledReadableByteStream._state === "closed" ? Vo(n, a) : Qo(n, o, a), Fe(n);
854
840
  }
855
841
  u(zn, "ReadableByteStreamControllerRespondInternal");
856
842
  function He(n) {
@@ -858,8 +844,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
858
844
  }
859
845
  u(He, "ReadableByteStreamControllerShiftPendingPullInto");
860
846
  function Yo(n) {
861
- const o$1 = n._controlledReadableByteStream;
862
- return o$1._state !== "readable" || n._closeRequested || !n._started ? !1 : !!(mn(o$1) && Tt(o$1) > 0 || Tr(o$1) && Dn(o$1) > 0 || In(n) > 0);
847
+ const o = n._controlledReadableByteStream;
848
+ return o._state !== "readable" || n._closeRequested || !n._started ? !1 : !!(mn(o) && Tt(o) > 0 || Tr(o) && Dn(o) > 0 || In(n) > 0);
863
849
  }
864
850
  u(Yo, "ReadableByteStreamControllerShouldCallPull");
865
851
  function At(n) {
@@ -867,8 +853,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
867
853
  }
868
854
  u(At, "ReadableByteStreamControllerClearAlgorithms");
869
855
  function ft(n) {
870
- const o$1 = n._controlledReadableByteStream;
871
- if (!(n._closeRequested || o$1._state !== "readable")) {
856
+ const o = n._controlledReadableByteStream;
857
+ if (!(n._closeRequested || o._state !== "readable")) {
872
858
  if (n._queueTotalSize > 0) {
873
859
  n._closeRequested = !0;
874
860
  return;
@@ -880,14 +866,14 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
880
866
  throw te(n, p), p;
881
867
  }
882
868
  }
883
- At(n), yt(o$1);
869
+ At(n), yt(o);
884
870
  }
885
871
  }
886
872
  u(ft, "ReadableByteStreamControllerClose");
887
- function Bt(n, o$1) {
873
+ function Bt(n, o) {
888
874
  const a = n._controlledReadableByteStream;
889
875
  if (n._closeRequested || a._state !== "readable") return;
890
- const { buffer: p, byteOffset: y, byteLength: _ } = o$1;
876
+ const { buffer: p, byteOffset: y, byteLength: _ } = o;
891
877
  if (Ee(p)) throw new TypeError("chunk's buffer is detached and so cannot be enqueued");
892
878
  const S = we(p);
893
879
  if (n._pendingPullIntos.length > 0) {
@@ -904,70 +890,70 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
904
890
  Fe(n);
905
891
  }
906
892
  u(Bt, "ReadableByteStreamControllerEnqueue");
907
- function te(n, o$1) {
893
+ function te(n, o) {
908
894
  const a = n._controlledReadableByteStream;
909
- a._state === "readable" && (En(n), Ae(n), At(n), fo(a, o$1));
895
+ a._state === "readable" && (En(n), Ae(n), At(n), fo(a, o));
910
896
  }
911
897
  u(te, "ReadableByteStreamControllerError");
912
- function Fn(n, o$1) {
898
+ function Fn(n, o) {
913
899
  const a = n._queue.shift();
914
900
  n._queueTotalSize -= a.byteLength, On(n);
915
901
  const p = new Uint8Array(a.buffer, a.byteOffset, a.byteLength);
916
- o$1._chunkSteps(p);
902
+ o._chunkSteps(p);
917
903
  }
918
904
  u(Fn, "ReadableByteStreamControllerFillReadRequestFromQueue");
919
905
  function wr(n) {
920
906
  if (n._byobRequest === null && n._pendingPullIntos.length > 0) {
921
- const o$1 = n._pendingPullIntos.peek(), a = new Uint8Array(o$1.buffer, o$1.byteOffset + o$1.bytesFilled, o$1.byteLength - o$1.bytesFilled), p = Object.create(Re.prototype);
907
+ const o = n._pendingPullIntos.peek(), a = new Uint8Array(o.buffer, o.byteOffset + o.bytesFilled, o.byteLength - o.bytesFilled), p = Object.create(Re.prototype);
922
908
  Zo(p, n, a), n._byobRequest = p;
923
909
  }
924
910
  return n._byobRequest;
925
911
  }
926
912
  u(wr, "ReadableByteStreamControllerGetBYOBRequest");
927
913
  function In(n) {
928
- const o$1 = n._controlledReadableByteStream._state;
929
- return o$1 === "errored" ? null : o$1 === "closed" ? 0 : n._strategyHWM - n._queueTotalSize;
914
+ const o = n._controlledReadableByteStream._state;
915
+ return o === "errored" ? null : o === "closed" ? 0 : n._strategyHWM - n._queueTotalSize;
930
916
  }
931
917
  u(In, "ReadableByteStreamControllerGetDesiredSize");
932
- function qt(n, o$1) {
918
+ function qt(n, o) {
933
919
  const a = n._pendingPullIntos.peek();
934
920
  if (n._controlledReadableByteStream._state === "closed") {
935
- if (o$1 !== 0) throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");
921
+ if (o !== 0) throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");
936
922
  } else {
937
- if (o$1 === 0) throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");
938
- if (a.bytesFilled + o$1 > a.byteLength) throw new RangeError("bytesWritten out of range");
923
+ if (o === 0) throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");
924
+ if (a.bytesFilled + o > a.byteLength) throw new RangeError("bytesWritten out of range");
939
925
  }
940
- a.buffer = we(a.buffer), zn(n, o$1);
926
+ a.buffer = we(a.buffer), zn(n, o);
941
927
  }
942
928
  u(qt, "ReadableByteStreamControllerRespond");
943
- function kt(n, o$1) {
929
+ function kt(n, o) {
944
930
  const a = n._pendingPullIntos.peek();
945
931
  if (n._controlledReadableByteStream._state === "closed") {
946
- if (o$1.byteLength !== 0) throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream");
947
- } else if (o$1.byteLength === 0) throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");
948
- if (a.byteOffset + a.bytesFilled !== o$1.byteOffset) throw new RangeError("The region specified by view does not match byobRequest");
949
- if (a.bufferByteLength !== o$1.buffer.byteLength) throw new RangeError("The buffer of view has different capacity than byobRequest");
950
- if (a.bytesFilled + o$1.byteLength > a.byteLength) throw new RangeError("The region specified by view is larger than byobRequest");
951
- const y = o$1.byteLength;
952
- a.buffer = we(o$1.buffer), zn(n, y);
932
+ if (o.byteLength !== 0) throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream");
933
+ } else if (o.byteLength === 0) throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");
934
+ if (a.byteOffset + a.bytesFilled !== o.byteOffset) throw new RangeError("The region specified by view does not match byobRequest");
935
+ if (a.bufferByteLength !== o.buffer.byteLength) throw new RangeError("The buffer of view has different capacity than byobRequest");
936
+ if (a.bytesFilled + o.byteLength > a.byteLength) throw new RangeError("The region specified by view is larger than byobRequest");
937
+ const y = o.byteLength;
938
+ a.buffer = we(o.buffer), zn(n, y);
953
939
  }
954
940
  u(kt, "ReadableByteStreamControllerRespondWithNewView");
955
- function jn(n, o$1, a, p, y, _, S) {
956
- o$1._controlledReadableByteStream = n, o$1._pullAgain = !1, o$1._pulling = !1, o$1._byobRequest = null, o$1._queue = o$1._queueTotalSize = void 0, Ae(o$1), o$1._closeRequested = !1, o$1._started = !1, o$1._strategyHWM = _, o$1._pullAlgorithm = p, o$1._cancelAlgorithm = y, o$1._autoAllocateChunkSize = S, o$1._pendingPullIntos = new Q(), n._readableStreamController = o$1;
957
- v(k(a()), () => (o$1._started = !0, Fe(o$1), null), (q) => (te(o$1, q), null));
941
+ function jn(n, o, a, p, y, _, S) {
942
+ o._controlledReadableByteStream = n, o._pullAgain = !1, o._pulling = !1, o._byobRequest = null, o._queue = o._queueTotalSize = void 0, Ae(o), o._closeRequested = !1, o._started = !1, o._strategyHWM = _, o._pullAlgorithm = p, o._cancelAlgorithm = y, o._autoAllocateChunkSize = S, o._pendingPullIntos = new Q(), n._readableStreamController = o;
943
+ v(k(a()), () => (o._started = !0, Fe(o), null), (q) => (te(o, q), null));
958
944
  }
959
945
  u(jn, "SetUpReadableByteStreamController");
960
- function Go(n, o$1, a) {
946
+ function Go(n, o, a) {
961
947
  const p = Object.create(ie.prototype);
962
948
  let y, _, S;
963
- o$1.start !== void 0 ? y = u(() => o$1.start(p), "startAlgorithm") : y = u(() => {}, "startAlgorithm"), o$1.pull !== void 0 ? _ = u(() => o$1.pull(p), "pullAlgorithm") : _ = u(() => k(void 0), "pullAlgorithm"), o$1.cancel !== void 0 ? S = u((q) => o$1.cancel(q), "cancelAlgorithm") : S = u(() => k(void 0), "cancelAlgorithm");
964
- const C = o$1.autoAllocateChunkSize;
949
+ o.start !== void 0 ? y = u(() => o.start(p), "startAlgorithm") : y = u(() => {}, "startAlgorithm"), o.pull !== void 0 ? _ = u(() => o.pull(p), "pullAlgorithm") : _ = u(() => k(void 0), "pullAlgorithm"), o.cancel !== void 0 ? S = u((q) => o.cancel(q), "cancelAlgorithm") : S = u(() => k(void 0), "cancelAlgorithm");
950
+ const C = o.autoAllocateChunkSize;
965
951
  if (C === 0) throw new TypeError("autoAllocateChunkSize must be greater than 0");
966
952
  jn(n, p, y, _, S, a, C);
967
953
  }
968
954
  u(Go, "SetUpReadableByteStreamControllerFromUnderlyingSource");
969
- function Zo(n, o$1, a) {
970
- n._associatedReadableByteStreamController = o$1, n._view = a;
955
+ function Zo(n, o, a) {
956
+ n._associatedReadableByteStreamController = o, n._view = a;
971
957
  }
972
958
  u(Zo, "SetUpReadableStreamBYOBRequest");
973
959
  function Rr(n) {
@@ -978,34 +964,34 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
978
964
  return /* @__PURE__ */ new TypeError(`ReadableByteStreamController.prototype.${n} can only be used on a ReadableByteStreamController`);
979
965
  }
980
966
  u(ct, "byteStreamControllerBrandCheckException");
981
- function Ko(n, o$1) {
982
- ce(n, o$1);
967
+ function Ko(n, o) {
968
+ ce(n, o);
983
969
  const a = n?.mode;
984
- return { mode: a === void 0 ? void 0 : Jo(a, `${o$1} has member 'mode' that`) };
970
+ return { mode: a === void 0 ? void 0 : Jo(a, `${o} has member 'mode' that`) };
985
971
  }
986
972
  u(Ko, "convertReaderOptions");
987
- function Jo(n, o$1) {
988
- if (n = `${n}`, n !== "byob") throw new TypeError(`${o$1} '${n}' is not a valid enumeration value for ReadableStreamReaderMode`);
973
+ function Jo(n, o) {
974
+ if (n = `${n}`, n !== "byob") throw new TypeError(`${o} '${n}' is not a valid enumeration value for ReadableStreamReaderMode`);
989
975
  return n;
990
976
  }
991
977
  u(Jo, "convertReadableStreamReaderMode");
992
- function Xo(n, o$1) {
978
+ function Xo(n, o) {
993
979
  var a;
994
- ce(n, o$1);
995
- return { min: ur((a = n?.min) !== null && a !== void 0 ? a : 1, `${o$1} has member 'min' that`) };
980
+ ce(n, o);
981
+ return { min: ur((a = n?.min) !== null && a !== void 0 ? a : 1, `${o} has member 'min' that`) };
996
982
  }
997
983
  u(Xo, "convertByobReadOptions");
998
984
  function Ln(n) {
999
985
  return new he(n);
1000
986
  }
1001
987
  u(Ln, "AcquireReadableStreamBYOBReader");
1002
- function $n(n, o$1) {
1003
- n._reader._readIntoRequests.push(o$1);
988
+ function $n(n, o) {
989
+ n._reader._readIntoRequests.push(o);
1004
990
  }
1005
991
  u($n, "ReadableStreamAddReadIntoRequest");
1006
- function ei(n, o$1, a) {
992
+ function ei(n, o, a) {
1007
993
  const y = n._reader._readIntoRequests.shift();
1008
- a ? y._closeSteps(o$1) : y._chunkSteps(o$1);
994
+ a ? y._closeSteps(o) : y._chunkSteps(o);
1009
995
  }
1010
996
  u(ei, "ReadableStreamFulfillReadIntoRequest");
1011
997
  function Dn(n) {
@@ -1013,28 +999,28 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1013
999
  }
1014
1000
  u(Dn, "ReadableStreamGetNumReadIntoRequests");
1015
1001
  function Tr(n) {
1016
- const o$1 = n._reader;
1017
- return !(o$1 === void 0 || !Ie(o$1));
1002
+ const o = n._reader;
1003
+ return !(o === void 0 || !Ie(o));
1018
1004
  }
1019
1005
  u(Tr, "ReadableStreamHasBYOBReader");
1020
1006
  const Hr = class Hr$1 {
1021
- constructor(o$1) {
1022
- if (Se(o$1, 1, "ReadableStreamBYOBReader"), lr(o$1, "First parameter"), ke(o$1)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
1023
- if (!ze(o$1._readableStreamController)) throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");
1024
- ln(this, o$1), this._readIntoRequests = new Q();
1007
+ constructor(o) {
1008
+ if (Se(o, 1, "ReadableStreamBYOBReader"), lr(o, "First parameter"), ke(o)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
1009
+ if (!ze(o._readableStreamController)) throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");
1010
+ ln(this, o), this._readIntoRequests = new Q();
1025
1011
  }
1026
1012
  get closed() {
1027
1013
  return Ie(this) ? this._closedPromise : T(Wt("closed"));
1028
1014
  }
1029
- cancel(o$1 = void 0) {
1030
- return Ie(this) ? this._ownerReadableStream === void 0 ? T(Rt("cancel")) : nr(this, o$1) : T(Wt("cancel"));
1015
+ cancel(o = void 0) {
1016
+ return Ie(this) ? this._ownerReadableStream === void 0 ? T(Rt("cancel")) : nr(this, o) : T(Wt("cancel"));
1031
1017
  }
1032
- read(o$1, a = {}) {
1018
+ read(o, a = {}) {
1033
1019
  if (!Ie(this)) return T(Wt("read"));
1034
- if (!ArrayBuffer.isView(o$1)) return T(/* @__PURE__ */ new TypeError("view must be an array buffer view"));
1035
- if (o$1.byteLength === 0) return T(/* @__PURE__ */ new TypeError("view must have non-zero byteLength"));
1036
- if (o$1.buffer.byteLength === 0) return T(/* @__PURE__ */ new TypeError("view's buffer must have non-zero byteLength"));
1037
- if (Ee(o$1.buffer)) return T(/* @__PURE__ */ new TypeError("view's buffer has been detached"));
1020
+ if (!ArrayBuffer.isView(o)) return T(/* @__PURE__ */ new TypeError("view must be an array buffer view"));
1021
+ if (o.byteLength === 0) return T(/* @__PURE__ */ new TypeError("view must have non-zero byteLength"));
1022
+ if (o.buffer.byteLength === 0) return T(/* @__PURE__ */ new TypeError("view's buffer must have non-zero byteLength"));
1023
+ if (Ee(o.buffer)) return T(/* @__PURE__ */ new TypeError("view's buffer has been detached"));
1038
1024
  let p;
1039
1025
  try {
1040
1026
  p = Xo(a, "options");
@@ -1043,15 +1029,15 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1043
1029
  }
1044
1030
  const y = p.min;
1045
1031
  if (y === 0) return T(/* @__PURE__ */ new TypeError("options.min must be greater than 0"));
1046
- if (xo(o$1)) {
1047
- if (y > o$1.byteLength) return T(/* @__PURE__ */ new RangeError("options.min must be less than or equal to view's byteLength"));
1048
- } else if (y > o$1.length) return T(/* @__PURE__ */ new RangeError("options.min must be less than or equal to view's length"));
1032
+ if (xo(o)) {
1033
+ if (y > o.byteLength) return T(/* @__PURE__ */ new RangeError("options.min must be less than or equal to view's byteLength"));
1034
+ } else if (y > o.length) return T(/* @__PURE__ */ new RangeError("options.min must be less than or equal to view's length"));
1049
1035
  if (this._ownerReadableStream === void 0) return T(Rt("read from"));
1050
1036
  let _, S;
1051
1037
  const C = I((P, W) => {
1052
1038
  _ = P, S = W;
1053
1039
  });
1054
- return Mn(this, o$1, y, {
1040
+ return Mn(this, o, y, {
1055
1041
  _chunkSteps: u((P) => _({
1056
1042
  value: P,
1057
1043
  done: !1
@@ -1083,9 +1069,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1083
1069
  return !b(n) || !Object.prototype.hasOwnProperty.call(n, "_readIntoRequests") ? !1 : n instanceof he;
1084
1070
  }
1085
1071
  u(Ie, "IsReadableStreamBYOBReader");
1086
- function Mn(n, o$1, a, p) {
1072
+ function Mn(n, o, a, p) {
1087
1073
  const y = n._ownerReadableStream;
1088
- y._disturbed = !0, y._state === "errored" ? p._errorSteps(y._storedError) : Ho(y._readableStreamController, o$1, a, p);
1074
+ y._disturbed = !0, y._state === "errored" ? p._errorSteps(y._storedError) : Ho(y._readableStreamController, o, a, p);
1089
1075
  }
1090
1076
  u(Mn, "ReadableStreamBYOBReaderRead");
1091
1077
  function ti(n) {
@@ -1093,10 +1079,10 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1093
1079
  xn(n, /* @__PURE__ */ new TypeError("Reader was released"));
1094
1080
  }
1095
1081
  u(ti, "ReadableStreamBYOBReaderRelease");
1096
- function xn(n, o$1) {
1082
+ function xn(n, o) {
1097
1083
  const a = n._readIntoRequests;
1098
1084
  n._readIntoRequests = new Q(), a.forEach((p) => {
1099
- p._errorSteps(o$1);
1085
+ p._errorSteps(o);
1100
1086
  });
1101
1087
  }
1102
1088
  u(xn, "ReadableStreamBYOBReaderErrorReadIntoRequests");
@@ -1104,61 +1090,61 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1104
1090
  return /* @__PURE__ */ new TypeError(`ReadableStreamBYOBReader.prototype.${n} can only be used on a ReadableStreamBYOBReader`);
1105
1091
  }
1106
1092
  u(Wt, "byobReaderBrandCheckException");
1107
- function dt(n, o$1) {
1093
+ function dt(n, o) {
1108
1094
  const { highWaterMark: a } = n;
1109
- if (a === void 0) return o$1;
1095
+ if (a === void 0) return o;
1110
1096
  if (wn(a) || a < 0) throw new RangeError("Invalid highWaterMark");
1111
1097
  return a;
1112
1098
  }
1113
1099
  u(dt, "ExtractHighWaterMark");
1114
1100
  function Ot(n) {
1115
- const { size: o$1 } = n;
1116
- return o$1 || (() => 1);
1101
+ const { size: o } = n;
1102
+ return o || (() => 1);
1117
1103
  }
1118
1104
  u(Ot, "ExtractSizeAlgorithm");
1119
- function zt(n, o$1) {
1120
- ce(n, o$1);
1105
+ function zt(n, o) {
1106
+ ce(n, o);
1121
1107
  const a = n?.highWaterMark, p = n?.size;
1122
1108
  return {
1123
1109
  highWaterMark: a === void 0 ? void 0 : ar(a),
1124
- size: p === void 0 ? void 0 : ri(p, `${o$1} has member 'size' that`)
1110
+ size: p === void 0 ? void 0 : ri(p, `${o} has member 'size' that`)
1125
1111
  };
1126
1112
  }
1127
1113
  u(zt, "convertQueuingStrategy");
1128
- function ri(n, o$1) {
1129
- return ee(n, o$1), (a) => ar(n(a));
1114
+ function ri(n, o) {
1115
+ return ee(n, o), (a) => ar(n(a));
1130
1116
  }
1131
1117
  u(ri, "convertQueuingStrategySize");
1132
- function ni(n, o$1) {
1133
- ce(n, o$1);
1118
+ function ni(n, o) {
1119
+ ce(n, o);
1134
1120
  const a = n?.abort, p = n?.close, y = n?.start, _ = n?.type, S = n?.write;
1135
1121
  return {
1136
- abort: a === void 0 ? void 0 : oi(a, n, `${o$1} has member 'abort' that`),
1137
- close: p === void 0 ? void 0 : ii(p, n, `${o$1} has member 'close' that`),
1138
- start: y === void 0 ? void 0 : si(y, n, `${o$1} has member 'start' that`),
1139
- write: S === void 0 ? void 0 : ai(S, n, `${o$1} has member 'write' that`),
1122
+ abort: a === void 0 ? void 0 : oi(a, n, `${o} has member 'abort' that`),
1123
+ close: p === void 0 ? void 0 : ii(p, n, `${o} has member 'close' that`),
1124
+ start: y === void 0 ? void 0 : si(y, n, `${o} has member 'start' that`),
1125
+ write: S === void 0 ? void 0 : ai(S, n, `${o} has member 'write' that`),
1140
1126
  type: _
1141
1127
  };
1142
1128
  }
1143
1129
  u(ni, "convertUnderlyingSink");
1144
- function oi(n, o$1, a) {
1145
- return ee(n, a), (p) => H(n, o$1, [p]);
1130
+ function oi(n, o, a) {
1131
+ return ee(n, a), (p) => H(n, o, [p]);
1146
1132
  }
1147
1133
  u(oi, "convertUnderlyingSinkAbortCallback");
1148
- function ii(n, o$1, a) {
1149
- return ee(n, a), () => H(n, o$1, []);
1134
+ function ii(n, o, a) {
1135
+ return ee(n, a), () => H(n, o, []);
1150
1136
  }
1151
1137
  u(ii, "convertUnderlyingSinkCloseCallback");
1152
- function si(n, o$1, a) {
1153
- return ee(n, a), (p) => M(n, o$1, [p]);
1138
+ function si(n, o, a) {
1139
+ return ee(n, a), (p) => M(n, o, [p]);
1154
1140
  }
1155
1141
  u(si, "convertUnderlyingSinkStartCallback");
1156
- function ai(n, o$1, a) {
1157
- return ee(n, a), (p, y) => H(n, o$1, [p, y]);
1142
+ function ai(n, o, a) {
1143
+ return ee(n, a), (p, y) => H(n, o, [p, y]);
1158
1144
  }
1159
1145
  u(ai, "convertUnderlyingSinkWriteCallback");
1160
- function Un(n, o$1) {
1161
- if (!Ve(n)) throw new TypeError(`${o$1} is not a WritableStream.`);
1146
+ function Un(n, o) {
1147
+ if (!Ve(n)) throw new TypeError(`${o} is not a WritableStream.`);
1162
1148
  }
1163
1149
  u(Un, "assertWritableStream");
1164
1150
  function ui(n) {
@@ -1176,9 +1162,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1176
1162
  }
1177
1163
  u(fi, "createAbortController");
1178
1164
  const Vr = class Vr$1 {
1179
- constructor(o$1 = {}, a = {}) {
1180
- o$1 === void 0 ? o$1 = null : hn(o$1, "First parameter");
1181
- const p = zt(a, "Second parameter"), y = ni(o$1, "First parameter");
1165
+ constructor(o = {}, a = {}) {
1166
+ o === void 0 ? o = null : hn(o, "First parameter");
1167
+ const p = zt(a, "Second parameter"), y = ni(o, "First parameter");
1182
1168
  if (Hn(this), y.type !== void 0) throw new RangeError("Invalid type is specified");
1183
1169
  const S = Ot(p), C = dt(p, 1);
1184
1170
  Ci(this, y, C, S);
@@ -1187,8 +1173,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1187
1173
  if (!Ve(this)) throw $t("locked");
1188
1174
  return Qe(this);
1189
1175
  }
1190
- abort(o$1 = void 0) {
1191
- return Ve(this) ? Qe(this) ? T(/* @__PURE__ */ new TypeError("Cannot abort a stream that already has a writer")) : Ft(this, o$1) : T($t("abort"));
1176
+ abort(o = void 0) {
1177
+ return Ve(this) ? Qe(this) ? T(/* @__PURE__ */ new TypeError("Cannot abort a stream that already has a writer")) : Ft(this, o) : T($t("abort"));
1192
1178
  }
1193
1179
  close() {
1194
1180
  return Ve(this) ? Qe(this) ? T(/* @__PURE__ */ new TypeError("Cannot close a stream that already has a writer")) : be(this) ? T(/* @__PURE__ */ new TypeError("Cannot close an already-closing stream")) : Vn(this) : T($t("close"));
@@ -1213,10 +1199,10 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1213
1199
  return new se(n);
1214
1200
  }
1215
1201
  u(Nn, "AcquireWritableStreamDefaultWriter");
1216
- function ci(n, o$1, a, p, y = 1, _ = () => 1) {
1202
+ function ci(n, o, a, p, y = 1, _ = () => 1) {
1217
1203
  const S = Object.create(pe.prototype);
1218
1204
  Hn(S);
1219
- return Jn(S, Object.create(Be.prototype), n, o$1, a, p, y, _), S;
1205
+ return Jn(S, Object.create(Be.prototype), n, o, a, p, y, _), S;
1220
1206
  }
1221
1207
  u(ci, "CreateWritableStream");
1222
1208
  function Hn(n) {
@@ -1231,37 +1217,37 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1231
1217
  return n._writer !== void 0;
1232
1218
  }
1233
1219
  u(Qe, "IsWritableStreamLocked");
1234
- function Ft(n, o$1) {
1220
+ function Ft(n, o) {
1235
1221
  var a;
1236
1222
  if (n._state === "closed" || n._state === "errored") return k(void 0);
1237
- n._writableStreamController._abortReason = o$1, (a = n._writableStreamController._abortController) === null || a === void 0 || a.abort(o$1);
1223
+ n._writableStreamController._abortReason = o, (a = n._writableStreamController._abortController) === null || a === void 0 || a.abort(o);
1238
1224
  const p = n._state;
1239
1225
  if (p === "closed" || p === "errored") return k(void 0);
1240
1226
  if (n._pendingAbortRequest !== void 0) return n._pendingAbortRequest._promise;
1241
1227
  let y = !1;
1242
- p === "erroring" && (y = !0, o$1 = void 0);
1228
+ p === "erroring" && (y = !0, o = void 0);
1243
1229
  const _ = I((S, C) => {
1244
1230
  n._pendingAbortRequest = {
1245
1231
  _promise: void 0,
1246
1232
  _resolve: S,
1247
1233
  _reject: C,
1248
- _reason: o$1,
1234
+ _reason: o,
1249
1235
  _wasAlreadyErroring: y
1250
1236
  };
1251
1237
  });
1252
- return n._pendingAbortRequest._promise = _, y || Pr(n, o$1), _;
1238
+ return n._pendingAbortRequest._promise = _, y || Pr(n, o), _;
1253
1239
  }
1254
1240
  u(Ft, "WritableStreamAbort");
1255
1241
  function Vn(n) {
1256
- const o$1 = n._state;
1257
- if (o$1 === "closed" || o$1 === "errored") return T(/* @__PURE__ */ new TypeError(`The stream (in ${o$1} state) is not in the writable state and cannot be closed`));
1242
+ const o = n._state;
1243
+ if (o === "closed" || o === "errored") return T(/* @__PURE__ */ new TypeError(`The stream (in ${o} state) is not in the writable state and cannot be closed`));
1258
1244
  const a = I((y, _) => {
1259
1245
  n._closeRequest = {
1260
1246
  _resolve: y,
1261
1247
  _reject: _
1262
1248
  };
1263
1249
  }), p = n._writer;
1264
- return p !== void 0 && n._backpressure && o$1 === "writable" && Or(p), Pi(n._writableStreamController), a;
1250
+ return p !== void 0 && n._backpressure && o === "writable" && Or(p), Pi(n._writableStreamController), a;
1265
1251
  }
1266
1252
  u(Vn, "WritableStreamClose");
1267
1253
  function di(n) {
@@ -1274,33 +1260,33 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1274
1260
  });
1275
1261
  }
1276
1262
  u(di, "WritableStreamAddWriteRequest");
1277
- function Cr(n, o$1) {
1263
+ function Cr(n, o) {
1278
1264
  if (n._state === "writable") {
1279
- Pr(n, o$1);
1265
+ Pr(n, o);
1280
1266
  return;
1281
1267
  }
1282
1268
  vr(n);
1283
1269
  }
1284
1270
  u(Cr, "WritableStreamDealWithRejection");
1285
- function Pr(n, o$1) {
1271
+ function Pr(n, o) {
1286
1272
  const a = n._writableStreamController;
1287
- n._state = "erroring", n._storedError = o$1;
1273
+ n._state = "erroring", n._storedError = o;
1288
1274
  const p = n._writer;
1289
- p !== void 0 && Yn(p, o$1), !yi(n) && a._started && vr(n);
1275
+ p !== void 0 && Yn(p, o), !yi(n) && a._started && vr(n);
1290
1276
  }
1291
1277
  u(Pr, "WritableStreamStartErroring");
1292
1278
  function vr(n) {
1293
1279
  n._state = "errored", n._writableStreamController[un]();
1294
- const o$1 = n._storedError;
1280
+ const o = n._storedError;
1295
1281
  if (n._writeRequests.forEach((y) => {
1296
- y._reject(o$1);
1282
+ y._reject(o);
1297
1283
  }), n._writeRequests = new Q(), n._pendingAbortRequest === void 0) {
1298
1284
  It(n);
1299
1285
  return;
1300
1286
  }
1301
1287
  const a = n._pendingAbortRequest;
1302
1288
  if (n._pendingAbortRequest = void 0, a._wasAlreadyErroring) {
1303
- a._reject(o$1), It(n);
1289
+ a._reject(o), It(n);
1304
1290
  return;
1305
1291
  }
1306
1292
  v(n._writableStreamController[wt](a._reason), () => (a._resolve(), It(n), null), (y) => (a._reject(y), It(n), null));
@@ -1310,8 +1296,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1310
1296
  n._inFlightWriteRequest._resolve(void 0), n._inFlightWriteRequest = void 0;
1311
1297
  }
1312
1298
  u(hi, "WritableStreamFinishInFlightWrite");
1313
- function pi(n, o$1) {
1314
- n._inFlightWriteRequest._reject(o$1), n._inFlightWriteRequest = void 0, Cr(n, o$1);
1299
+ function pi(n, o) {
1300
+ n._inFlightWriteRequest._reject(o), n._inFlightWriteRequest = void 0, Cr(n, o);
1315
1301
  }
1316
1302
  u(pi, "WritableStreamFinishInFlightWriteWithError");
1317
1303
  function bi(n) {
@@ -1320,8 +1306,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1320
1306
  a !== void 0 && ro(a);
1321
1307
  }
1322
1308
  u(bi, "WritableStreamFinishInFlightClose");
1323
- function mi(n, o$1) {
1324
- n._inFlightCloseRequest._reject(o$1), n._inFlightCloseRequest = void 0, n._pendingAbortRequest !== void 0 && (n._pendingAbortRequest._reject(o$1), n._pendingAbortRequest = void 0), Cr(n, o$1);
1309
+ function mi(n, o) {
1310
+ n._inFlightCloseRequest._reject(o), n._inFlightCloseRequest = void 0, n._pendingAbortRequest !== void 0 && (n._pendingAbortRequest._reject(o), n._pendingAbortRequest = void 0), Cr(n, o);
1325
1311
  }
1326
1312
  u(mi, "WritableStreamFinishInFlightCloseWithError");
1327
1313
  function be(n) {
@@ -1342,25 +1328,25 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1342
1328
  u(_i, "WritableStreamMarkFirstWriteRequestInFlight");
1343
1329
  function It(n) {
1344
1330
  n._closeRequest !== void 0 && (n._closeRequest._reject(n._storedError), n._closeRequest = void 0);
1345
- const o$1 = n._writer;
1346
- o$1 !== void 0 && kr(o$1, n._storedError);
1331
+ const o = n._writer;
1332
+ o !== void 0 && kr(o, n._storedError);
1347
1333
  }
1348
1334
  u(It, "WritableStreamRejectCloseAndClosedPromiseIfNeeded");
1349
- function Er(n, o$1) {
1335
+ function Er(n, o) {
1350
1336
  const a = n._writer;
1351
- a !== void 0 && o$1 !== n._backpressure && (o$1 ? Wi(a) : Or(a)), n._backpressure = o$1;
1337
+ a !== void 0 && o !== n._backpressure && (o ? Wi(a) : Or(a)), n._backpressure = o;
1352
1338
  }
1353
1339
  u(Er, "WritableStreamUpdateBackpressure");
1354
1340
  const Qr = class Qr$1 {
1355
- constructor(o$1) {
1356
- if (Se(o$1, 1, "WritableStreamDefaultWriter"), Un(o$1, "First parameter"), Qe(o$1)) throw new TypeError("This stream has already been locked for exclusive writing by another writer");
1357
- this._ownerWritableStream = o$1, o$1._writer = this;
1358
- const a = o$1._state;
1359
- if (a === "writable") !be(o$1) && o$1._backpressure ? Mt(this) : no(this), Dt(this);
1360
- else if (a === "erroring") Wr(this, o$1._storedError), Dt(this);
1341
+ constructor(o) {
1342
+ if (Se(o, 1, "WritableStreamDefaultWriter"), Un(o, "First parameter"), Qe(o)) throw new TypeError("This stream has already been locked for exclusive writing by another writer");
1343
+ this._ownerWritableStream = o, o._writer = this;
1344
+ const a = o._state;
1345
+ if (a === "writable") !be(o) && o._backpressure ? Mt(this) : no(this), Dt(this);
1346
+ else if (a === "erroring") Wr(this, o._storedError), Dt(this);
1361
1347
  else if (a === "closed") no(this), qi(this);
1362
1348
  else {
1363
- const p = o$1._storedError;
1349
+ const p = o._storedError;
1364
1350
  Wr(this, p), to(this, p);
1365
1351
  }
1366
1352
  }
@@ -1375,20 +1361,20 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1375
1361
  get ready() {
1376
1362
  return je(this) ? this._readyPromise : T(Le("ready"));
1377
1363
  }
1378
- abort(o$1 = void 0) {
1379
- return je(this) ? this._ownerWritableStream === void 0 ? T(pt("abort")) : Si(this, o$1) : T(Le("abort"));
1364
+ abort(o = void 0) {
1365
+ return je(this) ? this._ownerWritableStream === void 0 ? T(pt("abort")) : Si(this, o) : T(Le("abort"));
1380
1366
  }
1381
1367
  close() {
1382
1368
  if (!je(this)) return T(Le("close"));
1383
- const o$1 = this._ownerWritableStream;
1384
- return o$1 === void 0 ? T(pt("close")) : be(o$1) ? T(/* @__PURE__ */ new TypeError("Cannot close an already-closing stream")) : Qn(this);
1369
+ const o = this._ownerWritableStream;
1370
+ return o === void 0 ? T(pt("close")) : be(o) ? T(/* @__PURE__ */ new TypeError("Cannot close an already-closing stream")) : Qn(this);
1385
1371
  }
1386
1372
  releaseLock() {
1387
1373
  if (!je(this)) throw Le("releaseLock");
1388
1374
  this._ownerWritableStream !== void 0 && Gn(this);
1389
1375
  }
1390
- write(o$1 = void 0) {
1391
- return je(this) ? this._ownerWritableStream === void 0 ? T(pt("write to")) : Zn(this, o$1) : T(Le("write"));
1376
+ write(o = void 0) {
1377
+ return je(this) ? this._ownerWritableStream === void 0 ? T(pt("write to")) : Zn(this, o) : T(Le("write"));
1392
1378
  }
1393
1379
  };
1394
1380
  u(Qr, "WritableStreamDefaultWriter");
@@ -1409,48 +1395,48 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1409
1395
  return !b(n) || !Object.prototype.hasOwnProperty.call(n, "_ownerWritableStream") ? !1 : n instanceof se;
1410
1396
  }
1411
1397
  u(je, "IsWritableStreamDefaultWriter");
1412
- function Si(n, o$1) {
1398
+ function Si(n, o) {
1413
1399
  const a = n._ownerWritableStream;
1414
- return Ft(a, o$1);
1400
+ return Ft(a, o);
1415
1401
  }
1416
1402
  u(Si, "WritableStreamDefaultWriterAbort");
1417
1403
  function Qn(n) {
1418
- const o$1 = n._ownerWritableStream;
1419
- return Vn(o$1);
1404
+ const o = n._ownerWritableStream;
1405
+ return Vn(o);
1420
1406
  }
1421
1407
  u(Qn, "WritableStreamDefaultWriterClose");
1422
1408
  function wi(n) {
1423
- const o$1 = n._ownerWritableStream, a = o$1._state;
1424
- return be(o$1) || a === "closed" ? k(void 0) : a === "errored" ? T(o$1._storedError) : Qn(n);
1409
+ const o = n._ownerWritableStream, a = o._state;
1410
+ return be(o) || a === "closed" ? k(void 0) : a === "errored" ? T(o._storedError) : Qn(n);
1425
1411
  }
1426
1412
  u(wi, "WritableStreamDefaultWriterCloseWithErrorPropagation");
1427
- function Ri(n, o$1) {
1428
- n._closedPromiseState === "pending" ? kr(n, o$1) : ki(n, o$1);
1413
+ function Ri(n, o) {
1414
+ n._closedPromiseState === "pending" ? kr(n, o) : ki(n, o);
1429
1415
  }
1430
1416
  u(Ri, "WritableStreamDefaultWriterEnsureClosedPromiseRejected");
1431
- function Yn(n, o$1) {
1432
- n._readyPromiseState === "pending" ? oo(n, o$1) : Oi(n, o$1);
1417
+ function Yn(n, o) {
1418
+ n._readyPromiseState === "pending" ? oo(n, o) : Oi(n, o);
1433
1419
  }
1434
1420
  u(Yn, "WritableStreamDefaultWriterEnsureReadyPromiseRejected");
1435
1421
  function Ti(n) {
1436
- const o$1 = n._ownerWritableStream, a = o$1._state;
1437
- return a === "errored" || a === "erroring" ? null : a === "closed" ? 0 : Xn(o$1._writableStreamController);
1422
+ const o = n._ownerWritableStream, a = o._state;
1423
+ return a === "errored" || a === "erroring" ? null : a === "closed" ? 0 : Xn(o._writableStreamController);
1438
1424
  }
1439
1425
  u(Ti, "WritableStreamDefaultWriterGetDesiredSize");
1440
1426
  function Gn(n) {
1441
- const o$1 = n._ownerWritableStream, a = /* @__PURE__ */ new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");
1442
- Yn(n, a), Ri(n, a), o$1._writer = void 0, n._ownerWritableStream = void 0;
1427
+ const o = n._ownerWritableStream, a = /* @__PURE__ */ new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");
1428
+ Yn(n, a), Ri(n, a), o._writer = void 0, n._ownerWritableStream = void 0;
1443
1429
  }
1444
1430
  u(Gn, "WritableStreamDefaultWriterRelease");
1445
- function Zn(n, o$1) {
1446
- const a = n._ownerWritableStream, p = a._writableStreamController, y = vi(p, o$1);
1431
+ function Zn(n, o) {
1432
+ const a = n._ownerWritableStream, p = a._writableStreamController, y = vi(p, o);
1447
1433
  if (a !== n._ownerWritableStream) return T(pt("write to"));
1448
1434
  const _ = a._state;
1449
1435
  if (_ === "errored") return T(a._storedError);
1450
1436
  if (be(a) || _ === "closed") return T(/* @__PURE__ */ new TypeError("The stream is closing or closed and cannot be written to"));
1451
1437
  if (_ === "erroring") return T(a._storedError);
1452
1438
  const S = di(a);
1453
- return Ei(p, o$1, y), S;
1439
+ return Ei(p, o, y), S;
1454
1440
  }
1455
1441
  u(Zn, "WritableStreamDefaultWriterWrite");
1456
1442
  const Kn = {}, Yr = class Yr$1 {
@@ -1466,12 +1452,12 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1466
1452
  if (this._abortController === void 0) throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");
1467
1453
  return this._abortController.signal;
1468
1454
  }
1469
- error(o$1 = void 0) {
1455
+ error(o = void 0) {
1470
1456
  if (!Ar(this)) throw qr("error");
1471
- this._controlledWritableStream._state === "writable" && eo(this, o$1);
1457
+ this._controlledWritableStream._state === "writable" && eo(this, o);
1472
1458
  }
1473
- [wt](o$1) {
1474
- const a = this._abortAlgorithm(o$1);
1459
+ [wt](o) {
1460
+ const a = this._abortAlgorithm(o);
1475
1461
  return jt(this), a;
1476
1462
  }
1477
1463
  [un]() {
@@ -1492,16 +1478,16 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1492
1478
  return !b(n) || !Object.prototype.hasOwnProperty.call(n, "_controlledWritableStream") ? !1 : n instanceof Be;
1493
1479
  }
1494
1480
  u(Ar, "IsWritableStreamDefaultController");
1495
- function Jn(n, o$1, a, p, y, _, S, C) {
1496
- o$1._controlledWritableStream = n, n._writableStreamController = o$1, o$1._queue = void 0, o$1._queueTotalSize = void 0, Ae(o$1), o$1._abortReason = void 0, o$1._abortController = fi(), o$1._started = !1, o$1._strategySizeAlgorithm = C, o$1._strategyHWM = S, o$1._writeAlgorithm = p, o$1._closeAlgorithm = y, o$1._abortAlgorithm = _;
1497
- Er(n, Br(o$1));
1498
- v(k(a()), () => (o$1._started = !0, Lt(o$1), null), (O) => (o$1._started = !0, Cr(n, O), null));
1481
+ function Jn(n, o, a, p, y, _, S, C) {
1482
+ o._controlledWritableStream = n, n._writableStreamController = o, o._queue = void 0, o._queueTotalSize = void 0, Ae(o), o._abortReason = void 0, o._abortController = fi(), o._started = !1, o._strategySizeAlgorithm = C, o._strategyHWM = S, o._writeAlgorithm = p, o._closeAlgorithm = y, o._abortAlgorithm = _;
1483
+ Er(n, Br(o));
1484
+ v(k(a()), () => (o._started = !0, Lt(o), null), (O) => (o._started = !0, Cr(n, O), null));
1499
1485
  }
1500
1486
  u(Jn, "SetUpWritableStreamDefaultController");
1501
- function Ci(n, o$1, a, p) {
1487
+ function Ci(n, o, a, p) {
1502
1488
  const y = Object.create(Be.prototype);
1503
1489
  let _, S, C, q;
1504
- o$1.start !== void 0 ? _ = u(() => o$1.start(y), "startAlgorithm") : _ = u(() => {}, "startAlgorithm"), o$1.write !== void 0 ? S = u((P) => o$1.write(P, y), "writeAlgorithm") : S = u(() => k(void 0), "writeAlgorithm"), o$1.close !== void 0 ? C = u(() => o$1.close(), "closeAlgorithm") : C = u(() => k(void 0), "closeAlgorithm"), o$1.abort !== void 0 ? q = u((P) => o$1.abort(P), "abortAlgorithm") : q = u(() => k(void 0), "abortAlgorithm"), Jn(n, y, _, S, C, q, a, p);
1490
+ o.start !== void 0 ? _ = u(() => o.start(y), "startAlgorithm") : _ = u(() => {}, "startAlgorithm"), o.write !== void 0 ? S = u((P) => o.write(P, y), "writeAlgorithm") : S = u(() => k(void 0), "writeAlgorithm"), o.close !== void 0 ? C = u(() => o.close(), "closeAlgorithm") : C = u(() => k(void 0), "closeAlgorithm"), o.abort !== void 0 ? q = u((P) => o.abort(P), "abortAlgorithm") : q = u(() => k(void 0), "abortAlgorithm"), Jn(n, y, _, S, C, q, a, p);
1505
1491
  }
1506
1492
  u(Ci, "SetUpWritableStreamDefaultControllerFromUnderlyingSink");
1507
1493
  function jt(n) {
@@ -1512,9 +1498,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1512
1498
  mr(n, Kn, 0), Lt(n);
1513
1499
  }
1514
1500
  u(Pi, "WritableStreamDefaultControllerClose");
1515
- function vi(n, o$1) {
1501
+ function vi(n, o) {
1516
1502
  try {
1517
- return n._strategySizeAlgorithm(o$1);
1503
+ return n._strategySizeAlgorithm(o);
1518
1504
  } catch (a) {
1519
1505
  return ht(n, a), 1;
1520
1506
  }
@@ -1524,9 +1510,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1524
1510
  return n._strategyHWM - n._queueTotalSize;
1525
1511
  }
1526
1512
  u(Xn, "WritableStreamDefaultControllerGetDesiredSize");
1527
- function Ei(n, o$1, a) {
1513
+ function Ei(n, o, a) {
1528
1514
  try {
1529
- mr(n, o$1, a);
1515
+ mr(n, o, a);
1530
1516
  } catch (y) {
1531
1517
  ht(n, y);
1532
1518
  return;
@@ -1537,10 +1523,10 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1537
1523
  }
1538
1524
  u(Ei, "WritableStreamDefaultControllerWrite");
1539
1525
  function Lt(n) {
1540
- const o$1 = n._controlledWritableStream;
1541
- if (!n._started || o$1._inFlightWriteRequest !== void 0) return;
1542
- if (o$1._state === "erroring") {
1543
- vr(o$1);
1526
+ const o = n._controlledWritableStream;
1527
+ if (!n._started || o._inFlightWriteRequest !== void 0) return;
1528
+ if (o._state === "erroring") {
1529
+ vr(o);
1544
1530
  return;
1545
1531
  }
1546
1532
  if (n._queue.length === 0) return;
@@ -1548,21 +1534,21 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1548
1534
  p === Kn ? Ai(n) : Bi(n, p);
1549
1535
  }
1550
1536
  u(Lt, "WritableStreamDefaultControllerAdvanceQueueIfNeeded");
1551
- function ht(n, o$1) {
1552
- n._controlledWritableStream._state === "writable" && eo(n, o$1);
1537
+ function ht(n, o) {
1538
+ n._controlledWritableStream._state === "writable" && eo(n, o);
1553
1539
  }
1554
1540
  u(ht, "WritableStreamDefaultControllerErrorIfNeeded");
1555
1541
  function Ai(n) {
1556
- const o$1 = n._controlledWritableStream;
1557
- gi(o$1), br(n);
1542
+ const o = n._controlledWritableStream;
1543
+ gi(o), br(n);
1558
1544
  const a = n._closeAlgorithm();
1559
- jt(n), v(a, () => (bi(o$1), null), (p) => (mi(o$1, p), null));
1545
+ jt(n), v(a, () => (bi(o), null), (p) => (mi(o, p), null));
1560
1546
  }
1561
1547
  u(Ai, "WritableStreamDefaultControllerProcessClose");
1562
- function Bi(n, o$1) {
1548
+ function Bi(n, o) {
1563
1549
  const a = n._controlledWritableStream;
1564
1550
  _i(a);
1565
- v(n._writeAlgorithm(o$1), () => {
1551
+ v(n._writeAlgorithm(o), () => {
1566
1552
  hi(a);
1567
1553
  const y = a._state;
1568
1554
  if (br(n), !be(a) && y === "writable") Er(a, Br(n));
@@ -1574,9 +1560,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1574
1560
  return Xn(n) <= 0;
1575
1561
  }
1576
1562
  u(Br, "WritableStreamDefaultControllerGetBackpressure");
1577
- function eo(n, o$1) {
1563
+ function eo(n, o) {
1578
1564
  const a = n._controlledWritableStream;
1579
- jt(n), Pr(a, o$1);
1565
+ jt(n), Pr(a, o);
1580
1566
  }
1581
1567
  u(eo, "WritableStreamDefaultControllerError");
1582
1568
  function $t(n) {
@@ -1596,25 +1582,25 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1596
1582
  }
1597
1583
  u(pt, "defaultWriterLockException");
1598
1584
  function Dt(n) {
1599
- n._closedPromise = I((o$1, a) => {
1600
- n._closedPromise_resolve = o$1, n._closedPromise_reject = a, n._closedPromiseState = "pending";
1585
+ n._closedPromise = I((o, a) => {
1586
+ n._closedPromise_resolve = o, n._closedPromise_reject = a, n._closedPromiseState = "pending";
1601
1587
  });
1602
1588
  }
1603
1589
  u(Dt, "defaultWriterClosedPromiseInitialize");
1604
- function to(n, o$1) {
1605
- Dt(n), kr(n, o$1);
1590
+ function to(n, o) {
1591
+ Dt(n), kr(n, o);
1606
1592
  }
1607
1593
  u(to, "defaultWriterClosedPromiseInitializeAsRejected");
1608
1594
  function qi(n) {
1609
1595
  Dt(n), ro(n);
1610
1596
  }
1611
1597
  u(qi, "defaultWriterClosedPromiseInitializeAsResolved");
1612
- function kr(n, o$1) {
1613
- n._closedPromise_reject !== void 0 && (J(n._closedPromise), n._closedPromise_reject(o$1), n._closedPromise_resolve = void 0, n._closedPromise_reject = void 0, n._closedPromiseState = "rejected");
1598
+ function kr(n, o) {
1599
+ n._closedPromise_reject !== void 0 && (J(n._closedPromise), n._closedPromise_reject(o), n._closedPromise_resolve = void 0, n._closedPromise_reject = void 0, n._closedPromiseState = "rejected");
1614
1600
  }
1615
1601
  u(kr, "defaultWriterClosedPromiseReject");
1616
- function ki(n, o$1) {
1617
- to(n, o$1);
1602
+ function ki(n, o) {
1603
+ to(n, o);
1618
1604
  }
1619
1605
  u(ki, "defaultWriterClosedPromiseResetToRejected");
1620
1606
  function ro(n) {
@@ -1622,29 +1608,29 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1622
1608
  }
1623
1609
  u(ro, "defaultWriterClosedPromiseResolve");
1624
1610
  function Mt(n) {
1625
- n._readyPromise = I((o$1, a) => {
1626
- n._readyPromise_resolve = o$1, n._readyPromise_reject = a;
1611
+ n._readyPromise = I((o, a) => {
1612
+ n._readyPromise_resolve = o, n._readyPromise_reject = a;
1627
1613
  }), n._readyPromiseState = "pending";
1628
1614
  }
1629
1615
  u(Mt, "defaultWriterReadyPromiseInitialize");
1630
- function Wr(n, o$1) {
1631
- Mt(n), oo(n, o$1);
1616
+ function Wr(n, o) {
1617
+ Mt(n), oo(n, o);
1632
1618
  }
1633
1619
  u(Wr, "defaultWriterReadyPromiseInitializeAsRejected");
1634
1620
  function no(n) {
1635
1621
  Mt(n), Or(n);
1636
1622
  }
1637
1623
  u(no, "defaultWriterReadyPromiseInitializeAsResolved");
1638
- function oo(n, o$1) {
1639
- n._readyPromise_reject !== void 0 && (J(n._readyPromise), n._readyPromise_reject(o$1), n._readyPromise_resolve = void 0, n._readyPromise_reject = void 0, n._readyPromiseState = "rejected");
1624
+ function oo(n, o) {
1625
+ n._readyPromise_reject !== void 0 && (J(n._readyPromise), n._readyPromise_reject(o), n._readyPromise_resolve = void 0, n._readyPromise_reject = void 0, n._readyPromiseState = "rejected");
1640
1626
  }
1641
1627
  u(oo, "defaultWriterReadyPromiseReject");
1642
1628
  function Wi(n) {
1643
1629
  Mt(n);
1644
1630
  }
1645
1631
  u(Wi, "defaultWriterReadyPromiseReset");
1646
- function Oi(n, o$1) {
1647
- Wr(n, o$1);
1632
+ function Oi(n, o) {
1633
+ Wr(n, o);
1648
1634
  }
1649
1635
  u(Oi, "defaultWriterReadyPromiseResetToRejected");
1650
1636
  function Or(n) {
@@ -1684,8 +1670,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1684
1670
  }
1685
1671
  u(ji, "createPolyfill");
1686
1672
  const Li = Ii() || ji();
1687
- function io(n, o$1, a, p, y, _) {
1688
- const S = Ne(n), C = Nn(o$1);
1673
+ function io(n, o, a, p, y, _) {
1674
+ const S = Ne(n), C = Nn(o);
1689
1675
  n._disturbed = !0;
1690
1676
  let q = !1, P = k(void 0);
1691
1677
  return I((W, O) => {
@@ -1693,7 +1679,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1693
1679
  if (_ !== void 0) {
1694
1680
  if (j = u(() => {
1695
1681
  const E = _.reason !== void 0 ? _.reason : new Li("Aborted", "AbortError"), F = [];
1696
- p || F.push(() => o$1._state === "writable" ? Ft(o$1, E) : k(void 0)), y || F.push(() => n._state === "readable" ? le(n, E) : k(void 0)), Z(() => Promise.all(F.map((L) => L())), !0, E);
1682
+ p || F.push(() => o._state === "writable" ? Ft(o, E) : k(void 0)), y || F.push(() => n._state === "readable" ? le(n, E) : k(void 0)), Z(() => Promise.all(F.map((L) => L())), !0, E);
1697
1683
  }, "abortAlgorithm"), _.aborted) {
1698
1684
  j();
1699
1685
  return;
@@ -1720,7 +1706,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1720
1706
  });
1721
1707
  }));
1722
1708
  }
1723
- if (u(et, "pipeStep"), Te(n, S._closedPromise, (E) => (p ? re(!0, E) : Z(() => Ft(o$1, E), !0, E), null)), Te(o$1, C._closedPromise, (E) => (y ? re(!0, E) : Z(() => le(n, E), !0, E), null)), G(n, S._closedPromise, () => (a ? re() : Z(() => wi(C)), null)), be(o$1) || o$1._state === "closed") {
1709
+ if (u(et, "pipeStep"), Te(n, S._closedPromise, (E) => (p ? re(!0, E) : Z(() => Ft(o, E), !0, E), null)), Te(o, C._closedPromise, (E) => (y ? re(!0, E) : Z(() => le(n, E), !0, E), null)), G(n, S._closedPromise, () => (a ? re() : Z(() => wi(C)), null)), be(o) || o._state === "closed") {
1724
1710
  const E = /* @__PURE__ */ new TypeError("the destination writable stream closed before all data could be piped to it");
1725
1711
  y ? re(!0, E) : Z(() => le(n, E), !0, E);
1726
1712
  }
@@ -1740,7 +1726,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1740
1726
  u(G, "isOrBecomesClosed");
1741
1727
  function Z(E, F, L) {
1742
1728
  if (q) return;
1743
- q = !0, o$1._state === "writable" && !be(o$1) ? K(We(), X) : X();
1729
+ q = !0, o._state === "writable" && !be(o) ? K(We(), X) : X();
1744
1730
  function X() {
1745
1731
  return v(E(), () => Ce(F, L), (tt) => Ce(!0, tt)), null;
1746
1732
  }
@@ -1748,7 +1734,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1748
1734
  }
1749
1735
  u(Z, "shutdownWithAction");
1750
1736
  function re(E, F) {
1751
- q || (q = !0, o$1._state === "writable" && !be(o$1) ? K(We(), () => Ce(E, F)) : Ce(E, F));
1737
+ q || (q = !0, o._state === "writable" && !be(o) ? K(We(), () => Ce(E, F)) : Ce(E, F));
1752
1738
  }
1753
1739
  u(re, "shutdown");
1754
1740
  function Ce(E, F) {
@@ -1771,26 +1757,26 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1771
1757
  if (!Ge(this)) throw new TypeError("The stream is not in a state that permits close");
1772
1758
  $e(this);
1773
1759
  }
1774
- enqueue(o$1 = void 0) {
1760
+ enqueue(o = void 0) {
1775
1761
  if (!xt(this)) throw Nt("enqueue");
1776
1762
  if (!Ge(this)) throw new TypeError("The stream is not in a state that permits enqueue");
1777
- return Ye(this, o$1);
1763
+ return Ye(this, o);
1778
1764
  }
1779
- error(o$1 = void 0) {
1765
+ error(o = void 0) {
1780
1766
  if (!xt(this)) throw Nt("error");
1781
- ue(this, o$1);
1767
+ ue(this, o);
1782
1768
  }
1783
- [er](o$1) {
1769
+ [er](o) {
1784
1770
  Ae(this);
1785
- const a = this._cancelAlgorithm(o$1);
1771
+ const a = this._cancelAlgorithm(o);
1786
1772
  return Ut(this), a;
1787
1773
  }
1788
- [tr](o$1) {
1774
+ [tr](o) {
1789
1775
  const a = this._controlledReadableStream;
1790
1776
  if (this._queue.length > 0) {
1791
1777
  const p = br(this);
1792
- this._closeRequested && this._queue.length === 0 ? (Ut(this), yt(a)) : bt(this), o$1._chunkSteps(p);
1793
- } else bn(a, o$1), bt(this);
1778
+ this._closeRequested && this._queue.length === 0 ? (Ut(this), yt(a)) : bt(this), o._chunkSteps(p);
1779
+ } else bn(a, o), bt(this);
1794
1780
  }
1795
1781
  [rr]() {}
1796
1782
  };
@@ -1820,8 +1806,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1820
1806
  }
1821
1807
  u(bt, "ReadableStreamDefaultControllerCallPullIfNeeded");
1822
1808
  function so(n) {
1823
- const o$1 = n._controlledReadableStream;
1824
- return !Ge(n) || !n._started ? !1 : !!(ke(o$1) && Tt(o$1) > 0 || Fr(n) > 0);
1809
+ const o = n._controlledReadableStream;
1810
+ return !Ge(n) || !n._started ? !1 : !!(ke(o) && Tt(o) > 0 || Fr(n) > 0);
1825
1811
  }
1826
1812
  u(so, "ReadableStreamDefaultControllerShouldCallPull");
1827
1813
  function Ut(n) {
@@ -1830,23 +1816,23 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1830
1816
  u(Ut, "ReadableStreamDefaultControllerClearAlgorithms");
1831
1817
  function $e(n) {
1832
1818
  if (!Ge(n)) return;
1833
- const o$1 = n._controlledReadableStream;
1834
- n._closeRequested = !0, n._queue.length === 0 && (Ut(n), yt(o$1));
1819
+ const o = n._controlledReadableStream;
1820
+ n._closeRequested = !0, n._queue.length === 0 && (Ut(n), yt(o));
1835
1821
  }
1836
1822
  u($e, "ReadableStreamDefaultControllerClose");
1837
- function Ye(n, o$1) {
1823
+ function Ye(n, o) {
1838
1824
  if (!Ge(n)) return;
1839
1825
  const a = n._controlledReadableStream;
1840
- if (ke(a) && Tt(a) > 0) fr(a, o$1, !1);
1826
+ if (ke(a) && Tt(a) > 0) fr(a, o, !1);
1841
1827
  else {
1842
1828
  let p;
1843
1829
  try {
1844
- p = n._strategySizeAlgorithm(o$1);
1830
+ p = n._strategySizeAlgorithm(o);
1845
1831
  } catch (y) {
1846
1832
  throw ue(n, y), y;
1847
1833
  }
1848
1834
  try {
1849
- mr(n, o$1, p);
1835
+ mr(n, o, p);
1850
1836
  } catch (y) {
1851
1837
  throw ue(n, y), y;
1852
1838
  }
@@ -1854,14 +1840,14 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1854
1840
  bt(n);
1855
1841
  }
1856
1842
  u(Ye, "ReadableStreamDefaultControllerEnqueue");
1857
- function ue(n, o$1) {
1843
+ function ue(n, o) {
1858
1844
  const a = n._controlledReadableStream;
1859
- a._state === "readable" && (Ae(n), Ut(n), fo(a, o$1));
1845
+ a._state === "readable" && (Ae(n), Ut(n), fo(a, o));
1860
1846
  }
1861
1847
  u(ue, "ReadableStreamDefaultControllerError");
1862
1848
  function Fr(n) {
1863
- const o$1 = n._controlledReadableStream._state;
1864
- return o$1 === "errored" ? null : o$1 === "closed" ? 0 : n._strategyHWM - n._queueTotalSize;
1849
+ const o = n._controlledReadableStream._state;
1850
+ return o === "errored" ? null : o === "closed" ? 0 : n._strategyHWM - n._queueTotalSize;
1865
1851
  }
1866
1852
  u(Fr, "ReadableStreamDefaultControllerGetDesiredSize");
1867
1853
  function $i(n) {
@@ -1869,30 +1855,30 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1869
1855
  }
1870
1856
  u($i, "ReadableStreamDefaultControllerHasBackpressure");
1871
1857
  function Ge(n) {
1872
- const o$1 = n._controlledReadableStream._state;
1873
- return !n._closeRequested && o$1 === "readable";
1858
+ const o = n._controlledReadableStream._state;
1859
+ return !n._closeRequested && o === "readable";
1874
1860
  }
1875
1861
  u(Ge, "ReadableStreamDefaultControllerCanCloseOrEnqueue");
1876
- function ao(n, o$1, a, p, y, _, S) {
1877
- o$1._controlledReadableStream = n, o$1._queue = void 0, o$1._queueTotalSize = void 0, Ae(o$1), o$1._started = !1, o$1._closeRequested = !1, o$1._pullAgain = !1, o$1._pulling = !1, o$1._strategySizeAlgorithm = S, o$1._strategyHWM = _, o$1._pullAlgorithm = p, o$1._cancelAlgorithm = y, n._readableStreamController = o$1;
1878
- v(k(a()), () => (o$1._started = !0, bt(o$1), null), (q) => (ue(o$1, q), null));
1862
+ function ao(n, o, a, p, y, _, S) {
1863
+ o._controlledReadableStream = n, o._queue = void 0, o._queueTotalSize = void 0, Ae(o), o._started = !1, o._closeRequested = !1, o._pullAgain = !1, o._pulling = !1, o._strategySizeAlgorithm = S, o._strategyHWM = _, o._pullAlgorithm = p, o._cancelAlgorithm = y, n._readableStreamController = o;
1864
+ v(k(a()), () => (o._started = !0, bt(o), null), (q) => (ue(o, q), null));
1879
1865
  }
1880
1866
  u(ao, "SetUpReadableStreamDefaultController");
1881
- function Di(n, o$1, a, p) {
1867
+ function Di(n, o, a, p) {
1882
1868
  const y = Object.create(ae.prototype);
1883
1869
  let _, S, C;
1884
- o$1.start !== void 0 ? _ = u(() => o$1.start(y), "startAlgorithm") : _ = u(() => {}, "startAlgorithm"), o$1.pull !== void 0 ? S = u(() => o$1.pull(y), "pullAlgorithm") : S = u(() => k(void 0), "pullAlgorithm"), o$1.cancel !== void 0 ? C = u((q) => o$1.cancel(q), "cancelAlgorithm") : C = u(() => k(void 0), "cancelAlgorithm"), ao(n, y, _, S, C, a, p);
1870
+ o.start !== void 0 ? _ = u(() => o.start(y), "startAlgorithm") : _ = u(() => {}, "startAlgorithm"), o.pull !== void 0 ? S = u(() => o.pull(y), "pullAlgorithm") : S = u(() => k(void 0), "pullAlgorithm"), o.cancel !== void 0 ? C = u((q) => o.cancel(q), "cancelAlgorithm") : C = u(() => k(void 0), "cancelAlgorithm"), ao(n, y, _, S, C, a, p);
1885
1871
  }
1886
1872
  u(Di, "SetUpReadableStreamDefaultControllerFromUnderlyingSource");
1887
1873
  function Nt(n) {
1888
1874
  return /* @__PURE__ */ new TypeError(`ReadableStreamDefaultController.prototype.${n} can only be used on a ReadableStreamDefaultController`);
1889
1875
  }
1890
1876
  u(Nt, "defaultControllerBrandCheckException$1");
1891
- function Mi(n, o$1) {
1877
+ function Mi(n, o) {
1892
1878
  return ze(n._readableStreamController) ? Ui(n) : xi(n);
1893
1879
  }
1894
1880
  u(Mi, "ReadableStreamTee");
1895
- function xi(n, o$1) {
1881
+ function xi(n, o) {
1896
1882
  const a = Ne(n);
1897
1883
  let p = !1, y = !1, _ = !1, S = !1, C, q, P, W, O;
1898
1884
  const j = I((G) => {
@@ -1937,16 +1923,16 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1937
1923
  }
1938
1924
  u(xi, "ReadableStreamDefaultTee");
1939
1925
  function Ui(n) {
1940
- let o$1 = Ne(n), a = !1, p = !1, y = !1, _ = !1, S = !1, C, q, P, W, O;
1926
+ let o = Ne(n), a = !1, p = !1, y = !1, _ = !1, S = !1, C, q, P, W, O;
1941
1927
  const j = I((E) => {
1942
1928
  O = E;
1943
1929
  });
1944
1930
  function fe(E) {
1945
- U(E._closedPromise, (F) => (E !== o$1 || (te(P._readableStreamController, F), te(W._readableStreamController, F), (!_ || !S) && O(void 0)), null));
1931
+ U(E._closedPromise, (F) => (E !== o || (te(P._readableStreamController, F), te(W._readableStreamController, F), (!_ || !S) && O(void 0)), null));
1946
1932
  }
1947
1933
  u(fe, "forwardReaderError");
1948
1934
  function et() {
1949
- Ie(o$1) && (_e(o$1), o$1 = Ne(n), fe(o$1)), ut(o$1, {
1935
+ Ie(o) && (_e(o), o = Ne(n), fe(o)), ut(o, {
1950
1936
  _chunkSteps: u((F) => {
1951
1937
  ge(() => {
1952
1938
  p = !1, y = !1;
@@ -1971,9 +1957,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1971
1957
  }
1972
1958
  u(et, "pullWithDefaultReader");
1973
1959
  function We(E, F) {
1974
- ve(o$1) && (_e(o$1), o$1 = Ln(n), fe(o$1));
1960
+ ve(o) && (_e(o), o = Ln(n), fe(o));
1975
1961
  const L = F ? W : P, X = F ? P : W;
1976
- Mn(o$1, E, 1, {
1962
+ Mn(o, E, 1, {
1977
1963
  _chunkSteps: u((rt) => {
1978
1964
  ge(() => {
1979
1965
  p = !1, y = !1;
@@ -2034,7 +2020,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2034
2020
  }
2035
2021
  u(re, "cancel2Algorithm");
2036
2022
  function Ce() {}
2037
- return u(Ce, "startAlgorithm"), P = lo(Ce, Te, Z), W = lo(Ce, G, re), fe(o$1), [P, W];
2023
+ return u(Ce, "startAlgorithm"), P = lo(Ce, Te, Z), W = lo(Ce, G, re), fe(o), [P, W];
2038
2024
  }
2039
2025
  u(Ui, "ReadableByteStreamTee");
2040
2026
  function Ni(n) {
@@ -2046,7 +2032,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2046
2032
  }
2047
2033
  u(Hi, "ReadableStreamFrom");
2048
2034
  function Vi(n) {
2049
- let o$1;
2035
+ let o;
2050
2036
  const a = Cn(n, "async"), p = g;
2051
2037
  function y() {
2052
2038
  let S;
@@ -2057,10 +2043,10 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2057
2043
  }
2058
2044
  return N(k(S), (q) => {
2059
2045
  if (!b(q)) throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");
2060
- if (Lo(q)) $e(o$1._readableStreamController);
2046
+ if (Lo(q)) $e(o._readableStreamController);
2061
2047
  else {
2062
2048
  const W = $o(q);
2063
- Ye(o$1._readableStreamController, W);
2049
+ Ye(o._readableStreamController, W);
2064
2050
  }
2065
2051
  });
2066
2052
  }
@@ -2084,11 +2070,11 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2084
2070
  if (!b(O)) throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object");
2085
2071
  });
2086
2072
  }
2087
- return u(_, "cancelAlgorithm"), o$1 = mt(p, y, _, 0), o$1;
2073
+ return u(_, "cancelAlgorithm"), o = mt(p, y, _, 0), o;
2088
2074
  }
2089
2075
  u(Vi, "ReadableStreamFromIterable");
2090
2076
  function Qi(n) {
2091
- let o$1;
2077
+ let o;
2092
2078
  const a = g;
2093
2079
  function p() {
2094
2080
  let _;
@@ -2099,10 +2085,10 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2099
2085
  }
2100
2086
  return N(_, (S) => {
2101
2087
  if (!b(S)) throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");
2102
- if (S.done) $e(o$1._readableStreamController);
2088
+ if (S.done) $e(o._readableStreamController);
2103
2089
  else {
2104
2090
  const C = S.value;
2105
- Ye(o$1._readableStreamController, C);
2091
+ Ye(o._readableStreamController, C);
2106
2092
  }
2107
2093
  });
2108
2094
  }
@@ -2114,46 +2100,46 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2114
2100
  return T(S);
2115
2101
  }
2116
2102
  }
2117
- return u(y, "cancelAlgorithm"), o$1 = mt(a, p, y, 0), o$1;
2103
+ return u(y, "cancelAlgorithm"), o = mt(a, p, y, 0), o;
2118
2104
  }
2119
2105
  u(Qi, "ReadableStreamFromDefaultReader");
2120
- function Yi(n, o$1) {
2121
- ce(n, o$1);
2106
+ function Yi(n, o) {
2107
+ ce(n, o);
2122
2108
  const a = n, p = a?.autoAllocateChunkSize, y = a?.cancel, _ = a?.pull, S = a?.start, C = a?.type;
2123
2109
  return {
2124
- autoAllocateChunkSize: p === void 0 ? void 0 : ur(p, `${o$1} has member 'autoAllocateChunkSize' that`),
2125
- cancel: y === void 0 ? void 0 : Gi(y, a, `${o$1} has member 'cancel' that`),
2126
- pull: _ === void 0 ? void 0 : Zi(_, a, `${o$1} has member 'pull' that`),
2127
- start: S === void 0 ? void 0 : Ki(S, a, `${o$1} has member 'start' that`),
2128
- type: C === void 0 ? void 0 : Ji(C, `${o$1} has member 'type' that`)
2110
+ autoAllocateChunkSize: p === void 0 ? void 0 : ur(p, `${o} has member 'autoAllocateChunkSize' that`),
2111
+ cancel: y === void 0 ? void 0 : Gi(y, a, `${o} has member 'cancel' that`),
2112
+ pull: _ === void 0 ? void 0 : Zi(_, a, `${o} has member 'pull' that`),
2113
+ start: S === void 0 ? void 0 : Ki(S, a, `${o} has member 'start' that`),
2114
+ type: C === void 0 ? void 0 : Ji(C, `${o} has member 'type' that`)
2129
2115
  };
2130
2116
  }
2131
2117
  u(Yi, "convertUnderlyingDefaultOrByteSource");
2132
- function Gi(n, o$1, a) {
2133
- return ee(n, a), (p) => H(n, o$1, [p]);
2118
+ function Gi(n, o, a) {
2119
+ return ee(n, a), (p) => H(n, o, [p]);
2134
2120
  }
2135
2121
  u(Gi, "convertUnderlyingSourceCancelCallback");
2136
- function Zi(n, o$1, a) {
2137
- return ee(n, a), (p) => H(n, o$1, [p]);
2122
+ function Zi(n, o, a) {
2123
+ return ee(n, a), (p) => H(n, o, [p]);
2138
2124
  }
2139
2125
  u(Zi, "convertUnderlyingSourcePullCallback");
2140
- function Ki(n, o$1, a) {
2141
- return ee(n, a), (p) => M(n, o$1, [p]);
2126
+ function Ki(n, o, a) {
2127
+ return ee(n, a), (p) => M(n, o, [p]);
2142
2128
  }
2143
2129
  u(Ki, "convertUnderlyingSourceStartCallback");
2144
- function Ji(n, o$1) {
2145
- if (n = `${n}`, n !== "bytes") throw new TypeError(`${o$1} '${n}' is not a valid enumeration value for ReadableStreamType`);
2130
+ function Ji(n, o) {
2131
+ if (n = `${n}`, n !== "bytes") throw new TypeError(`${o} '${n}' is not a valid enumeration value for ReadableStreamType`);
2146
2132
  return n;
2147
2133
  }
2148
2134
  u(Ji, "convertReadableStreamType");
2149
- function Xi(n, o$1) {
2150
- return ce(n, o$1), { preventCancel: !!n?.preventCancel };
2135
+ function Xi(n, o) {
2136
+ return ce(n, o), { preventCancel: !!n?.preventCancel };
2151
2137
  }
2152
2138
  u(Xi, "convertIteratorOptions");
2153
- function uo(n, o$1) {
2154
- ce(n, o$1);
2139
+ function uo(n, o) {
2140
+ ce(n, o);
2155
2141
  const a = n?.preventAbort, p = n?.preventCancel, y = n?.preventClose, _ = n?.signal;
2156
- return _ !== void 0 && es(_, `${o$1} has member 'signal' that`), {
2142
+ return _ !== void 0 && es(_, `${o} has member 'signal' that`), {
2157
2143
  preventAbort: !!a,
2158
2144
  preventCancel: !!p,
2159
2145
  preventClose: !!y,
@@ -2161,25 +2147,25 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2161
2147
  };
2162
2148
  }
2163
2149
  u(uo, "convertPipeOptions");
2164
- function es(n, o$1) {
2165
- if (!ui(n)) throw new TypeError(`${o$1} is not an AbortSignal.`);
2150
+ function es(n, o) {
2151
+ if (!ui(n)) throw new TypeError(`${o} is not an AbortSignal.`);
2166
2152
  }
2167
2153
  u(es, "assertAbortSignal");
2168
- function ts(n, o$1) {
2169
- ce(n, o$1);
2154
+ function ts(n, o) {
2155
+ ce(n, o);
2170
2156
  const a = n?.readable;
2171
- sr(a, "readable", "ReadableWritablePair"), lr(a, `${o$1} has member 'readable' that`);
2157
+ sr(a, "readable", "ReadableWritablePair"), lr(a, `${o} has member 'readable' that`);
2172
2158
  const p = n?.writable;
2173
- return sr(p, "writable", "ReadableWritablePair"), Un(p, `${o$1} has member 'writable' that`), {
2159
+ return sr(p, "writable", "ReadableWritablePair"), Un(p, `${o} has member 'writable' that`), {
2174
2160
  readable: a,
2175
2161
  writable: p
2176
2162
  };
2177
2163
  }
2178
2164
  u(ts, "convertReadableWritablePair");
2179
2165
  const Zr = class Zr$1 {
2180
- constructor(o$1 = {}, a = {}) {
2181
- o$1 === void 0 ? o$1 = null : hn(o$1, "First parameter");
2182
- const p = zt(a, "Second parameter"), y = Yi(o$1, "First parameter");
2166
+ constructor(o = {}, a = {}) {
2167
+ o === void 0 ? o = null : hn(o, "First parameter");
2168
+ const p = zt(a, "Second parameter"), y = Yi(o, "First parameter");
2183
2169
  if (Ir(this), y.type === "bytes") {
2184
2170
  if (p.size !== void 0) throw new RangeError("The strategy for a byte stream cannot have a size function");
2185
2171
  const _ = dt(p, 0);
@@ -2193,47 +2179,47 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2193
2179
  if (!qe(this)) throw De("locked");
2194
2180
  return ke(this);
2195
2181
  }
2196
- cancel(o$1 = void 0) {
2197
- return qe(this) ? ke(this) ? T(/* @__PURE__ */ new TypeError("Cannot cancel a stream that already has a reader")) : le(this, o$1) : T(De("cancel"));
2182
+ cancel(o = void 0) {
2183
+ return qe(this) ? ke(this) ? T(/* @__PURE__ */ new TypeError("Cannot cancel a stream that already has a reader")) : le(this, o) : T(De("cancel"));
2198
2184
  }
2199
- getReader(o$1 = void 0) {
2185
+ getReader(o = void 0) {
2200
2186
  if (!qe(this)) throw De("getReader");
2201
- return Ko(o$1, "First parameter").mode === void 0 ? Ne(this) : Ln(this);
2187
+ return Ko(o, "First parameter").mode === void 0 ? Ne(this) : Ln(this);
2202
2188
  }
2203
- pipeThrough(o$1, a = {}) {
2189
+ pipeThrough(o, a = {}) {
2204
2190
  if (!qe(this)) throw De("pipeThrough");
2205
- Se(o$1, 1, "pipeThrough");
2206
- const p = ts(o$1, "First parameter"), y = uo(a, "Second parameter");
2191
+ Se(o, 1, "pipeThrough");
2192
+ const p = ts(o, "First parameter"), y = uo(a, "Second parameter");
2207
2193
  if (ke(this)) throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");
2208
2194
  if (Qe(p.writable)) throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");
2209
2195
  return J(io(this, p.writable, y.preventClose, y.preventAbort, y.preventCancel, y.signal)), p.readable;
2210
2196
  }
2211
- pipeTo(o$1, a = {}) {
2197
+ pipeTo(o, a = {}) {
2212
2198
  if (!qe(this)) return T(De("pipeTo"));
2213
- if (o$1 === void 0) return T("Parameter 1 is required in 'pipeTo'.");
2214
- if (!Ve(o$1)) return T(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));
2199
+ if (o === void 0) return T("Parameter 1 is required in 'pipeTo'.");
2200
+ if (!Ve(o)) return T(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));
2215
2201
  let p;
2216
2202
  try {
2217
2203
  p = uo(a, "Second parameter");
2218
2204
  } catch (y) {
2219
2205
  return T(y);
2220
2206
  }
2221
- return ke(this) ? T(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")) : Qe(o$1) ? T(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")) : io(this, o$1, p.preventClose, p.preventAbort, p.preventCancel, p.signal);
2207
+ return ke(this) ? T(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")) : Qe(o) ? T(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")) : io(this, o, p.preventClose, p.preventAbort, p.preventCancel, p.signal);
2222
2208
  }
2223
2209
  tee() {
2224
2210
  if (!qe(this)) throw De("tee");
2225
2211
  return lt(Mi(this));
2226
2212
  }
2227
- values(o$1 = void 0) {
2213
+ values(o = void 0) {
2228
2214
  if (!qe(this)) throw De("values");
2229
- const a = Xi(o$1, "First parameter");
2215
+ const a = Xi(o, "First parameter");
2230
2216
  return Fo(this, a.preventCancel);
2231
2217
  }
2232
- [pr](o$1) {
2233
- return this.values(o$1);
2218
+ [pr](o) {
2219
+ return this.values(o);
2234
2220
  }
2235
- static from(o$1) {
2236
- return Hi(o$1);
2221
+ static from(o) {
2222
+ return Hi(o);
2237
2223
  }
2238
2224
  };
2239
2225
  u(Zr, "ReadableStream");
@@ -2254,16 +2240,16 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2254
2240
  writable: !0,
2255
2241
  configurable: !0
2256
2242
  });
2257
- function mt(n, o$1, a, p = 1, y = () => 1) {
2243
+ function mt(n, o, a, p = 1, y = () => 1) {
2258
2244
  const _ = Object.create(V.prototype);
2259
2245
  Ir(_);
2260
- return ao(_, Object.create(ae.prototype), n, o$1, a, p, y), _;
2246
+ return ao(_, Object.create(ae.prototype), n, o, a, p, y), _;
2261
2247
  }
2262
2248
  u(mt, "CreateReadableStream");
2263
- function lo(n, o$1, a) {
2249
+ function lo(n, o, a) {
2264
2250
  const p = Object.create(V.prototype);
2265
2251
  Ir(p);
2266
- return jn(p, Object.create(ie.prototype), n, o$1, a, 0, void 0), p;
2252
+ return jn(p, Object.create(ie.prototype), n, o, a, 0, void 0), p;
2267
2253
  }
2268
2254
  u(lo, "CreateReadableByteStream");
2269
2255
  function Ir(n) {
@@ -2278,7 +2264,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2278
2264
  return n._reader !== void 0;
2279
2265
  }
2280
2266
  u(ke, "IsReadableStreamLocked");
2281
- function le(n, o$1) {
2267
+ function le(n, o) {
2282
2268
  if (n._disturbed = !0, n._state === "closed") return k(void 0);
2283
2269
  if (n._state === "errored") return T(n._storedError);
2284
2270
  yt(n);
@@ -2289,32 +2275,32 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2289
2275
  _._closeSteps(void 0);
2290
2276
  });
2291
2277
  }
2292
- return N(n._readableStreamController[er](o$1), g);
2278
+ return N(n._readableStreamController[er](o), g);
2293
2279
  }
2294
2280
  u(le, "ReadableStreamCancel");
2295
2281
  function yt(n) {
2296
2282
  n._state = "closed";
2297
- const o$1 = n._reader;
2298
- if (o$1 !== void 0 && (cn(o$1), ve(o$1))) {
2299
- const a = o$1._readRequests;
2300
- o$1._readRequests = new Q(), a.forEach((p) => {
2283
+ const o = n._reader;
2284
+ if (o !== void 0 && (cn(o), ve(o))) {
2285
+ const a = o._readRequests;
2286
+ o._readRequests = new Q(), a.forEach((p) => {
2301
2287
  p._closeSteps();
2302
2288
  });
2303
2289
  }
2304
2290
  }
2305
2291
  u(yt, "ReadableStreamClose");
2306
- function fo(n, o$1) {
2307
- n._state = "errored", n._storedError = o$1;
2292
+ function fo(n, o) {
2293
+ n._state = "errored", n._storedError = o;
2308
2294
  const a = n._reader;
2309
- a !== void 0 && (ir(a, o$1), ve(a) ? yn(a, o$1) : xn(a, o$1));
2295
+ a !== void 0 && (ir(a, o), ve(a) ? yn(a, o) : xn(a, o));
2310
2296
  }
2311
2297
  u(fo, "ReadableStreamError");
2312
2298
  function De(n) {
2313
2299
  return /* @__PURE__ */ new TypeError(`ReadableStream.prototype.${n} can only be used on a ReadableStream`);
2314
2300
  }
2315
2301
  u(De, "streamBrandCheckException$1");
2316
- function co(n, o$1) {
2317
- ce(n, o$1);
2302
+ function co(n, o) {
2303
+ ce(n, o);
2318
2304
  const a = n?.highWaterMark;
2319
2305
  return sr(a, "highWaterMark", "QueuingStrategyInit"), { highWaterMark: ar(a) };
2320
2306
  }
@@ -2322,8 +2308,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2322
2308
  const ho = u((n) => n.byteLength, "byteLengthSizeFunction");
2323
2309
  w(ho, "size");
2324
2310
  const Kr = class Kr$1 {
2325
- constructor(o$1) {
2326
- Se(o$1, 1, "ByteLengthQueuingStrategy"), o$1 = co(o$1, "First parameter"), this._byteLengthQueuingStrategyHighWaterMark = o$1.highWaterMark;
2311
+ constructor(o) {
2312
+ Se(o, 1, "ByteLengthQueuingStrategy"), o = co(o, "First parameter"), this._byteLengthQueuingStrategyHighWaterMark = o.highWaterMark;
2327
2313
  }
2328
2314
  get highWaterMark() {
2329
2315
  if (!bo(this)) throw po("highWaterMark");
@@ -2354,8 +2340,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2354
2340
  const mo = u(() => 1, "countSizeFunction");
2355
2341
  w(mo, "size");
2356
2342
  const Jr = class Jr$1 {
2357
- constructor(o$1) {
2358
- Se(o$1, 1, "CountQueuingStrategy"), o$1 = co(o$1, "First parameter"), this._countQueuingStrategyHighWaterMark = o$1.highWaterMark;
2343
+ constructor(o) {
2344
+ Se(o, 1, "CountQueuingStrategy"), o = co(o, "First parameter"), this._countQueuingStrategyHighWaterMark = o.highWaterMark;
2359
2345
  }
2360
2346
  get highWaterMark() {
2361
2347
  if (!go(this)) throw yo("highWaterMark");
@@ -2383,39 +2369,39 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2383
2369
  return !b(n) || !Object.prototype.hasOwnProperty.call(n, "_countQueuingStrategyHighWaterMark") ? !1 : n instanceof Ke;
2384
2370
  }
2385
2371
  u(go, "IsCountQueuingStrategy");
2386
- function rs(n, o$1) {
2387
- ce(n, o$1);
2372
+ function rs(n, o) {
2373
+ ce(n, o);
2388
2374
  const a = n?.cancel, p = n?.flush, y = n?.readableType, _ = n?.start, S = n?.transform, C = n?.writableType;
2389
2375
  return {
2390
- cancel: a === void 0 ? void 0 : ss(a, n, `${o$1} has member 'cancel' that`),
2391
- flush: p === void 0 ? void 0 : ns(p, n, `${o$1} has member 'flush' that`),
2376
+ cancel: a === void 0 ? void 0 : ss(a, n, `${o} has member 'cancel' that`),
2377
+ flush: p === void 0 ? void 0 : ns(p, n, `${o} has member 'flush' that`),
2392
2378
  readableType: y,
2393
- start: _ === void 0 ? void 0 : os(_, n, `${o$1} has member 'start' that`),
2394
- transform: S === void 0 ? void 0 : is(S, n, `${o$1} has member 'transform' that`),
2379
+ start: _ === void 0 ? void 0 : os(_, n, `${o} has member 'start' that`),
2380
+ transform: S === void 0 ? void 0 : is(S, n, `${o} has member 'transform' that`),
2395
2381
  writableType: C
2396
2382
  };
2397
2383
  }
2398
2384
  u(rs, "convertTransformer");
2399
- function ns(n, o$1, a) {
2400
- return ee(n, a), (p) => H(n, o$1, [p]);
2385
+ function ns(n, o, a) {
2386
+ return ee(n, a), (p) => H(n, o, [p]);
2401
2387
  }
2402
2388
  u(ns, "convertTransformerFlushCallback");
2403
- function os(n, o$1, a) {
2404
- return ee(n, a), (p) => M(n, o$1, [p]);
2389
+ function os(n, o, a) {
2390
+ return ee(n, a), (p) => M(n, o, [p]);
2405
2391
  }
2406
2392
  u(os, "convertTransformerStartCallback");
2407
- function is(n, o$1, a) {
2408
- return ee(n, a), (p, y) => H(n, o$1, [p, y]);
2393
+ function is(n, o, a) {
2394
+ return ee(n, a), (p, y) => H(n, o, [p, y]);
2409
2395
  }
2410
2396
  u(is, "convertTransformerTransformCallback");
2411
- function ss(n, o$1, a) {
2412
- return ee(n, a), (p) => H(n, o$1, [p]);
2397
+ function ss(n, o, a) {
2398
+ return ee(n, a), (p) => H(n, o, [p]);
2413
2399
  }
2414
2400
  u(ss, "convertTransformerCancelCallback");
2415
2401
  const Xr = class Xr$1 {
2416
- constructor(o$1 = {}, a = {}, p = {}) {
2417
- o$1 === void 0 && (o$1 = null);
2418
- const y = zt(a, "Second parameter"), _ = zt(p, "Third parameter"), S = rs(o$1, "First parameter");
2402
+ constructor(o = {}, a = {}, p = {}) {
2403
+ o === void 0 && (o = null);
2404
+ const y = zt(a, "Second parameter"), _ = zt(p, "Third parameter"), S = rs(o, "First parameter");
2419
2405
  if (S.readableType !== void 0) throw new RangeError("Invalid readableType specified");
2420
2406
  if (S.writableType !== void 0) throw new RangeError("Invalid writableType specified");
2421
2407
  const C = dt(_, 0), q = Ot(_), P = dt(y, 1), W = Ot(y);
@@ -2443,9 +2429,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2443
2429
  value: "TransformStream",
2444
2430
  configurable: !0
2445
2431
  });
2446
- function as(n, o$1, a, p, y, _) {
2432
+ function as(n, o, a, p, y, _) {
2447
2433
  function S() {
2448
- return o$1;
2434
+ return o;
2449
2435
  }
2450
2436
  u(S, "startAlgorithm");
2451
2437
  function C(j) {
@@ -2474,22 +2460,22 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2474
2460
  return !b(n) || !Object.prototype.hasOwnProperty.call(n, "_transformStreamController") ? !1 : n instanceof Je;
2475
2461
  }
2476
2462
  u(_o, "IsTransformStream");
2477
- function So(n, o$1) {
2478
- ue(n._readable._readableStreamController, o$1), jr(n, o$1);
2463
+ function So(n, o) {
2464
+ ue(n._readable._readableStreamController, o), jr(n, o);
2479
2465
  }
2480
2466
  u(So, "TransformStreamError");
2481
- function jr(n, o$1) {
2482
- Qt(n._transformStreamController), ht(n._writable._writableStreamController, o$1), Lr(n);
2467
+ function jr(n, o) {
2468
+ Qt(n._transformStreamController), ht(n._writable._writableStreamController, o), Lr(n);
2483
2469
  }
2484
2470
  u(jr, "TransformStreamErrorWritableAndUnblockWrite");
2485
2471
  function Lr(n) {
2486
2472
  n._backpressure && Ht(n, !1);
2487
2473
  }
2488
2474
  u(Lr, "TransformStreamUnblockWrite");
2489
- function Ht(n, o$1) {
2475
+ function Ht(n, o) {
2490
2476
  n._backpressureChangePromise !== void 0 && n._backpressureChangePromise_resolve(), n._backpressureChangePromise = I((a) => {
2491
2477
  n._backpressureChangePromise_resolve = a;
2492
- }), n._backpressure = o$1;
2478
+ }), n._backpressure = o;
2493
2479
  }
2494
2480
  u(Ht, "TransformStreamSetBackpressure");
2495
2481
  const en = class en$1 {
@@ -2498,16 +2484,16 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2498
2484
  }
2499
2485
  get desiredSize() {
2500
2486
  if (!Vt(this)) throw Yt("desiredSize");
2501
- const o$1 = this._controlledTransformStream._readable._readableStreamController;
2502
- return Fr(o$1);
2487
+ const o = this._controlledTransformStream._readable._readableStreamController;
2488
+ return Fr(o);
2503
2489
  }
2504
- enqueue(o$1 = void 0) {
2490
+ enqueue(o = void 0) {
2505
2491
  if (!Vt(this)) throw Yt("enqueue");
2506
- wo(this, o$1);
2492
+ wo(this, o);
2507
2493
  }
2508
- error(o$1 = void 0) {
2494
+ error(o = void 0) {
2509
2495
  if (!Vt(this)) throw Yt("error");
2510
- fs(this, o$1);
2496
+ fs(this, o);
2511
2497
  }
2512
2498
  terminate() {
2513
2499
  if (!Vt(this)) throw Yt("terminate");
@@ -2529,101 +2515,101 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2529
2515
  return !b(n) || !Object.prototype.hasOwnProperty.call(n, "_controlledTransformStream") ? !1 : n instanceof me;
2530
2516
  }
2531
2517
  u(Vt, "IsTransformStreamDefaultController");
2532
- function us(n, o$1, a, p, y) {
2533
- o$1._controlledTransformStream = n, n._transformStreamController = o$1, o$1._transformAlgorithm = a, o$1._flushAlgorithm = p, o$1._cancelAlgorithm = y, o$1._finishPromise = void 0, o$1._finishPromise_resolve = void 0, o$1._finishPromise_reject = void 0;
2518
+ function us(n, o, a, p, y) {
2519
+ o._controlledTransformStream = n, n._transformStreamController = o, o._transformAlgorithm = a, o._flushAlgorithm = p, o._cancelAlgorithm = y, o._finishPromise = void 0, o._finishPromise_resolve = void 0, o._finishPromise_reject = void 0;
2534
2520
  }
2535
2521
  u(us, "SetUpTransformStreamDefaultController");
2536
- function ls(n, o$1) {
2522
+ function ls(n, o) {
2537
2523
  const a = Object.create(me.prototype);
2538
2524
  let p, y, _;
2539
- o$1.transform !== void 0 ? p = u((S) => o$1.transform(S, a), "transformAlgorithm") : p = u((S) => {
2525
+ o.transform !== void 0 ? p = u((S) => o.transform(S, a), "transformAlgorithm") : p = u((S) => {
2540
2526
  try {
2541
2527
  return wo(a, S), k(void 0);
2542
2528
  } catch (C) {
2543
2529
  return T(C);
2544
2530
  }
2545
- }, "transformAlgorithm"), o$1.flush !== void 0 ? y = u(() => o$1.flush(a), "flushAlgorithm") : y = u(() => k(void 0), "flushAlgorithm"), o$1.cancel !== void 0 ? _ = u((S) => o$1.cancel(S), "cancelAlgorithm") : _ = u(() => k(void 0), "cancelAlgorithm"), us(n, a, p, y, _);
2531
+ }, "transformAlgorithm"), o.flush !== void 0 ? y = u(() => o.flush(a), "flushAlgorithm") : y = u(() => k(void 0), "flushAlgorithm"), o.cancel !== void 0 ? _ = u((S) => o.cancel(S), "cancelAlgorithm") : _ = u(() => k(void 0), "cancelAlgorithm"), us(n, a, p, y, _);
2546
2532
  }
2547
2533
  u(ls, "SetUpTransformStreamDefaultControllerFromTransformer");
2548
2534
  function Qt(n) {
2549
2535
  n._transformAlgorithm = void 0, n._flushAlgorithm = void 0, n._cancelAlgorithm = void 0;
2550
2536
  }
2551
2537
  u(Qt, "TransformStreamDefaultControllerClearAlgorithms");
2552
- function wo(n, o$1) {
2538
+ function wo(n, o) {
2553
2539
  const a = n._controlledTransformStream, p = a._readable._readableStreamController;
2554
2540
  if (!Ge(p)) throw new TypeError("Readable side is not in a state that permits enqueue");
2555
2541
  try {
2556
- Ye(p, o$1);
2542
+ Ye(p, o);
2557
2543
  } catch (_) {
2558
2544
  throw jr(a, _), a._readable._storedError;
2559
2545
  }
2560
2546
  $i(p) !== a._backpressure && Ht(a, !0);
2561
2547
  }
2562
2548
  u(wo, "TransformStreamDefaultControllerEnqueue");
2563
- function fs(n, o$1) {
2564
- So(n._controlledTransformStream, o$1);
2549
+ function fs(n, o) {
2550
+ So(n._controlledTransformStream, o);
2565
2551
  }
2566
2552
  u(fs, "TransformStreamDefaultControllerError");
2567
- function Ro(n, o$1) {
2568
- return N(n._transformAlgorithm(o$1), void 0, (p) => {
2553
+ function Ro(n, o) {
2554
+ return N(n._transformAlgorithm(o), void 0, (p) => {
2569
2555
  throw So(n._controlledTransformStream, p), p;
2570
2556
  });
2571
2557
  }
2572
2558
  u(Ro, "TransformStreamDefaultControllerPerformTransform");
2573
2559
  function cs(n) {
2574
- const o$1 = n._controlledTransformStream, a = o$1._readable._readableStreamController;
2560
+ const o = n._controlledTransformStream, a = o._readable._readableStreamController;
2575
2561
  $e(a);
2576
- jr(o$1, /* @__PURE__ */ new TypeError("TransformStream terminated"));
2562
+ jr(o, /* @__PURE__ */ new TypeError("TransformStream terminated"));
2577
2563
  }
2578
2564
  u(cs, "TransformStreamDefaultControllerTerminate");
2579
- function ds(n, o$1) {
2565
+ function ds(n, o) {
2580
2566
  const a = n._transformStreamController;
2581
2567
  if (n._backpressure) {
2582
2568
  const p = n._backpressureChangePromise;
2583
2569
  return N(p, () => {
2584
2570
  const y = n._writable;
2585
2571
  if (y._state === "erroring") throw y._storedError;
2586
- return Ro(a, o$1);
2572
+ return Ro(a, o);
2587
2573
  });
2588
2574
  }
2589
- return Ro(a, o$1);
2575
+ return Ro(a, o);
2590
2576
  }
2591
2577
  u(ds, "TransformStreamDefaultSinkWriteAlgorithm");
2592
- function hs(n, o$1) {
2578
+ function hs(n, o) {
2593
2579
  const a = n._transformStreamController;
2594
2580
  if (a._finishPromise !== void 0) return a._finishPromise;
2595
2581
  const p = n._readable;
2596
2582
  a._finishPromise = I((_, S) => {
2597
2583
  a._finishPromise_resolve = _, a._finishPromise_reject = S;
2598
2584
  });
2599
- const y = a._cancelAlgorithm(o$1);
2600
- return Qt(a), v(y, () => (p._state === "errored" ? Xe(a, p._storedError) : (ue(p._readableStreamController, o$1), $r(a)), null), (_) => (ue(p._readableStreamController, _), Xe(a, _), null)), a._finishPromise;
2585
+ const y = a._cancelAlgorithm(o);
2586
+ return Qt(a), v(y, () => (p._state === "errored" ? Xe(a, p._storedError) : (ue(p._readableStreamController, o), $r(a)), null), (_) => (ue(p._readableStreamController, _), Xe(a, _), null)), a._finishPromise;
2601
2587
  }
2602
2588
  u(hs, "TransformStreamDefaultSinkAbortAlgorithm");
2603
2589
  function ps(n) {
2604
- const o$1 = n._transformStreamController;
2605
- if (o$1._finishPromise !== void 0) return o$1._finishPromise;
2590
+ const o = n._transformStreamController;
2591
+ if (o._finishPromise !== void 0) return o._finishPromise;
2606
2592
  const a = n._readable;
2607
- o$1._finishPromise = I((y, _) => {
2608
- o$1._finishPromise_resolve = y, o$1._finishPromise_reject = _;
2593
+ o._finishPromise = I((y, _) => {
2594
+ o._finishPromise_resolve = y, o._finishPromise_reject = _;
2609
2595
  });
2610
- const p = o$1._flushAlgorithm();
2611
- return Qt(o$1), v(p, () => (a._state === "errored" ? Xe(o$1, a._storedError) : ($e(a._readableStreamController), $r(o$1)), null), (y) => (ue(a._readableStreamController, y), Xe(o$1, y), null)), o$1._finishPromise;
2596
+ const p = o._flushAlgorithm();
2597
+ return Qt(o), v(p, () => (a._state === "errored" ? Xe(o, a._storedError) : ($e(a._readableStreamController), $r(o)), null), (y) => (ue(a._readableStreamController, y), Xe(o, y), null)), o._finishPromise;
2612
2598
  }
2613
2599
  u(ps, "TransformStreamDefaultSinkCloseAlgorithm");
2614
2600
  function bs(n) {
2615
2601
  return Ht(n, !1), n._backpressureChangePromise;
2616
2602
  }
2617
2603
  u(bs, "TransformStreamDefaultSourcePullAlgorithm");
2618
- function ms(n, o$1) {
2604
+ function ms(n, o) {
2619
2605
  const a = n._transformStreamController;
2620
2606
  if (a._finishPromise !== void 0) return a._finishPromise;
2621
2607
  const p = n._writable;
2622
2608
  a._finishPromise = I((_, S) => {
2623
2609
  a._finishPromise_resolve = _, a._finishPromise_reject = S;
2624
2610
  });
2625
- const y = a._cancelAlgorithm(o$1);
2626
- return Qt(a), v(y, () => (p._state === "errored" ? Xe(a, p._storedError) : (ht(p._writableStreamController, o$1), Lr(n), $r(a)), null), (_) => (ht(p._writableStreamController, _), Lr(n), Xe(a, _), null)), a._finishPromise;
2611
+ const y = a._cancelAlgorithm(o);
2612
+ return Qt(a), v(y, () => (p._state === "errored" ? Xe(a, p._storedError) : (ht(p._writableStreamController, o), Lr(n), $r(a)), null), (_) => (ht(p._writableStreamController, _), Lr(n), Xe(a, _), null)), a._finishPromise;
2627
2613
  }
2628
2614
  u(ms, "TransformStreamDefaultSourceCancelAlgorithm");
2629
2615
  function Yt(n) {
@@ -2634,8 +2620,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2634
2620
  n._finishPromise_resolve !== void 0 && (n._finishPromise_resolve(), n._finishPromise_resolve = void 0, n._finishPromise_reject = void 0);
2635
2621
  }
2636
2622
  u($r, "defaultControllerFinishPromiseResolve");
2637
- function Xe(n, o$1) {
2638
- n._finishPromise_reject !== void 0 && (J(n._finishPromise), n._finishPromise_reject(o$1), n._finishPromise_resolve = void 0, n._finishPromise_reject = void 0);
2623
+ function Xe(n, o) {
2624
+ n._finishPromise_reject !== void 0 && (J(n._finishPromise), n._finishPromise_reject(o), n._finishPromise_resolve = void 0, n._finishPromise_reject = void 0);
2639
2625
  }
2640
2626
  u(Xe, "defaultControllerFinishPromiseReject");
2641
2627
  function To(n) {
@@ -2652,18 +2638,18 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2652
2638
  hasRequiredStreams = 1;
2653
2639
  const c = 65536;
2654
2640
  if (!globalThis.ReadableStream) try {
2655
- const l$1 = __require("node:process"), { emitWarning: d } = l$1;
2641
+ const l = __require("node:process"), { emitWarning: d } = l;
2656
2642
  try {
2657
- l$1.emitWarning = () => {}, Object.assign(globalThis, __require("node:stream/web")), l$1.emitWarning = d;
2643
+ l.emitWarning = () => {}, Object.assign(globalThis, __require("node:stream/web")), l.emitWarning = d;
2658
2644
  } catch (g) {
2659
- throw l$1.emitWarning = d, g;
2645
+ throw l.emitWarning = d, g;
2660
2646
  }
2661
2647
  } catch {
2662
2648
  Object.assign(globalThis, requirePonyfill_es2018());
2663
2649
  }
2664
2650
  try {
2665
- const { Blob: l$1 } = __require("node:buffer");
2666
- l$1 && !l$1.prototype.stream && (l$1.prototype.stream = u(function(g) {
2651
+ const { Blob: l } = __require("node:buffer");
2652
+ l && !l.prototype.stream && (l.prototype.stream = u(function(g) {
2667
2653
  let b = 0;
2668
2654
  const R = this;
2669
2655
  return new ReadableStream({
@@ -2679,9 +2665,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2679
2665
  }
2680
2666
  u(requireStreams, "requireStreams"), requireStreams();
2681
2667
  /*! fetch-blob. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */ const POOL_SIZE = 65536;
2682
- async function* toIterator(c, l$1 = !0) {
2668
+ async function* toIterator(c, l = !0) {
2683
2669
  for (const d of c) if ("stream" in d) yield* d.stream();
2684
- else if (ArrayBuffer.isView(d)) if (l$1) {
2670
+ else if (ArrayBuffer.isView(d)) if (l) {
2685
2671
  let g = d.byteOffset;
2686
2672
  const b = d.byteOffset + d.byteLength;
2687
2673
  for (; g !== b;) {
@@ -2699,17 +2685,17 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2699
2685
  }
2700
2686
  u(toIterator, "toIterator");
2701
2687
  const _Blob = (Oe = class {
2702
- constructor(l$1 = [], d = {}) {
2688
+ constructor(l = [], d = {}) {
2703
2689
  ye(this, Pe, []);
2704
2690
  ye(this, gt, "");
2705
2691
  ye(this, ot, 0);
2706
2692
  ye(this, Zt, "transparent");
2707
- if (typeof l$1 != "object" || l$1 === null) throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");
2708
- if (typeof l$1[Symbol.iterator] != "function") throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");
2693
+ if (typeof l != "object" || l === null) throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");
2694
+ if (typeof l[Symbol.iterator] != "function") throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");
2709
2695
  if (typeof d != "object" && typeof d != "function") throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");
2710
2696
  d === null && (d = {});
2711
2697
  const g = new TextEncoder();
2712
- for (const R of l$1) {
2698
+ for (const R of l) {
2713
2699
  let w;
2714
2700
  ArrayBuffer.isView(R) ? w = new Uint8Array(R.buffer.slice(R.byteOffset, R.byteOffset + R.byteLength)) : R instanceof ArrayBuffer ? w = new Uint8Array(R.slice(0)) : R instanceof Oe ? w = R : w = g.encode(`${R}`), ne(this, ot, D(this, ot) + (ArrayBuffer.isView(w) ? w.byteLength : w.size)), D(this, Pe).push(w);
2715
2701
  }
@@ -2724,33 +2710,33 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2724
2710
  return D(this, gt);
2725
2711
  }
2726
2712
  async text() {
2727
- const l$1 = new TextDecoder();
2713
+ const l = new TextDecoder();
2728
2714
  let d = "";
2729
- for await (const g of toIterator(D(this, Pe), !1)) d += l$1.decode(g, { stream: !0 });
2730
- return d += l$1.decode(), d;
2715
+ for await (const g of toIterator(D(this, Pe), !1)) d += l.decode(g, { stream: !0 });
2716
+ return d += l.decode(), d;
2731
2717
  }
2732
2718
  async arrayBuffer() {
2733
- const l$1 = new Uint8Array(this.size);
2719
+ const l = new Uint8Array(this.size);
2734
2720
  let d = 0;
2735
- for await (const g of toIterator(D(this, Pe), !1)) l$1.set(g, d), d += g.length;
2736
- return l$1.buffer;
2721
+ for await (const g of toIterator(D(this, Pe), !1)) l.set(g, d), d += g.length;
2722
+ return l.buffer;
2737
2723
  }
2738
2724
  stream() {
2739
- const l$1 = toIterator(D(this, Pe), !0);
2725
+ const l = toIterator(D(this, Pe), !0);
2740
2726
  return new globalThis.ReadableStream({
2741
2727
  type: "bytes",
2742
2728
  async pull(d) {
2743
- const g = await l$1.next();
2729
+ const g = await l.next();
2744
2730
  g.done ? d.close() : d.enqueue(g.value);
2745
2731
  },
2746
2732
  async cancel() {
2747
- await l$1.return();
2733
+ await l.return();
2748
2734
  }
2749
2735
  });
2750
2736
  }
2751
- slice(l$1 = 0, d = this.size, g = "") {
2737
+ slice(l = 0, d = this.size, g = "") {
2752
2738
  const { size: b } = this;
2753
- let R = l$1 < 0 ? Math.max(b + l$1, 0) : Math.min(l$1, b), w = d < 0 ? Math.max(b + d, 0) : Math.min(d, b);
2739
+ let R = l < 0 ? Math.max(b + l, 0) : Math.min(l, b), w = d < 0 ? Math.max(b + d, 0) : Math.min(d, b);
2754
2740
  const A = Math.max(w - R, 0), z = D(this, Pe), B = [];
2755
2741
  let I = 0;
2756
2742
  for (const T of z) {
@@ -2768,8 +2754,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2768
2754
  get [Symbol.toStringTag]() {
2769
2755
  return "Blob";
2770
2756
  }
2771
- static [Symbol.hasInstance](l$1) {
2772
- return l$1 && typeof l$1 == "object" && typeof l$1.constructor == "function" && (typeof l$1.stream == "function" || typeof l$1.arrayBuffer == "function") && /^(Blob|File)$/.test(l$1[Symbol.toStringTag]);
2757
+ static [Symbol.hasInstance](l) {
2758
+ return l && typeof l == "object" && typeof l.constructor == "function" && (typeof l.stream == "function" || typeof l.arrayBuffer == "function") && /^(Blob|File)$/.test(l[Symbol.toStringTag]);
2773
2759
  }
2774
2760
  }, Pe = /* @__PURE__ */ new WeakMap(), gt = /* @__PURE__ */ new WeakMap(), ot = /* @__PURE__ */ new WeakMap(), Zt = /* @__PURE__ */ new WeakMap(), u(Oe, "Blob"), Oe);
2775
2761
  Object.defineProperties(_Blob.prototype, {
@@ -2800,14 +2786,14 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2800
2786
  return !!d && d instanceof Blob && /^(File)$/.test(d[Symbol.toStringTag]);
2801
2787
  }
2802
2788
  }, _t = /* @__PURE__ */ new WeakMap(), St = /* @__PURE__ */ new WeakMap(), u(it, "File"), it);
2803
- /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */ var { toStringTag: t$1, iterator: i, hasInstance: h } = Symbol, r = Math.random, m = "append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","), f = u((c, l$1, d) => (c += "", /^(Blob|File)$/.test(l$1 && l$1[t$1]) ? [(d = d !== void 0 ? d + "" : l$1[t$1] == "File" ? l$1.name : "blob", c), l$1.name !== d || l$1[t$1] == "blob" ? new File([l$1], d, l$1) : l$1] : [c, l$1 + ""]), "f"), e$1 = u((c, l$1) => (l$1 ? c : c.replace(/\r?\n|\r/g, `\r
2804
- `)).replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"), "e$1"), x = u((c, l$1, d) => {
2805
- if (l$1.length < d) throw new TypeError(`Failed to execute '${c}' on 'FormData': ${d} arguments required, but only ${l$1.length} present.`);
2789
+ /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */ var { toStringTag: t$1, iterator: i, hasInstance: h } = Symbol, r = Math.random, m = "append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","), f = u((c, l, d) => (c += "", /^(Blob|File)$/.test(l && l[t$1]) ? [(d = d !== void 0 ? d + "" : l[t$1] == "File" ? l.name : "blob", c), l.name !== d || l[t$1] == "blob" ? new File([l], d, l) : l] : [c, l + ""]), "f"), e$1 = u((c, l) => (l ? c : c.replace(/\r?\n|\r/g, `\r
2790
+ `)).replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"), "e$1"), x = u((c, l, d) => {
2791
+ if (l.length < d) throw new TypeError(`Failed to execute '${c}' on 'FormData': ${d} arguments required, but only ${l.length} present.`);
2806
2792
  }, "x");
2807
2793
  const FormData = (st = class {
2808
- constructor(...l$1) {
2794
+ constructor(...l) {
2809
2795
  ye(this, oe, []);
2810
- if (l$1.length) throw new TypeError("Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.");
2796
+ if (l.length) throw new TypeError("Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.");
2811
2797
  }
2812
2798
  get [t$1]() {
2813
2799
  return "FormData";
@@ -2815,48 +2801,48 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports) => {
2815
2801
  [i]() {
2816
2802
  return this.entries();
2817
2803
  }
2818
- static [h](l$1) {
2819
- return l$1 && typeof l$1 == "object" && l$1[t$1] === "FormData" && !m.some((d) => typeof l$1[d] != "function");
2804
+ static [h](l) {
2805
+ return l && typeof l == "object" && l[t$1] === "FormData" && !m.some((d) => typeof l[d] != "function");
2820
2806
  }
2821
- append(...l$1) {
2822
- x("append", arguments, 2), D(this, oe).push(f(...l$1));
2807
+ append(...l) {
2808
+ x("append", arguments, 2), D(this, oe).push(f(...l));
2823
2809
  }
2824
- delete(l$1) {
2825
- x("delete", arguments, 1), l$1 += "", ne(this, oe, D(this, oe).filter(([d]) => d !== l$1));
2810
+ delete(l) {
2811
+ x("delete", arguments, 1), l += "", ne(this, oe, D(this, oe).filter(([d]) => d !== l));
2826
2812
  }
2827
- get(l$1) {
2828
- x("get", arguments, 1), l$1 += "";
2829
- for (var d = D(this, oe), g = d.length, b = 0; b < g; b++) if (d[b][0] === l$1) return d[b][1];
2813
+ get(l) {
2814
+ x("get", arguments, 1), l += "";
2815
+ for (var d = D(this, oe), g = d.length, b = 0; b < g; b++) if (d[b][0] === l) return d[b][1];
2830
2816
  return null;
2831
2817
  }
2832
- getAll(l$1, d) {
2833
- return x("getAll", arguments, 1), d = [], l$1 += "", D(this, oe).forEach((g) => g[0] === l$1 && d.push(g[1])), d;
2818
+ getAll(l, d) {
2819
+ return x("getAll", arguments, 1), d = [], l += "", D(this, oe).forEach((g) => g[0] === l && d.push(g[1])), d;
2834
2820
  }
2835
- has(l$1) {
2836
- return x("has", arguments, 1), l$1 += "", D(this, oe).some((d) => d[0] === l$1);
2821
+ has(l) {
2822
+ return x("has", arguments, 1), l += "", D(this, oe).some((d) => d[0] === l);
2837
2823
  }
2838
- forEach(l$1, d) {
2824
+ forEach(l, d) {
2839
2825
  x("forEach", arguments, 1);
2840
- for (var [g, b] of this) l$1.call(d, b, g, this);
2826
+ for (var [g, b] of this) l.call(d, b, g, this);
2841
2827
  }
2842
- set(...l$1) {
2828
+ set(...l) {
2843
2829
  x("set", arguments, 2);
2844
2830
  var d = [], g = !0;
2845
- l$1 = f(...l$1), D(this, oe).forEach((b) => {
2846
- b[0] === l$1[0] ? g && (g = !d.push(l$1)) : d.push(b);
2847
- }), g && d.push(l$1), ne(this, oe, d);
2831
+ l = f(...l), D(this, oe).forEach((b) => {
2832
+ b[0] === l[0] ? g && (g = !d.push(l)) : d.push(b);
2833
+ }), g && d.push(l), ne(this, oe, d);
2848
2834
  }
2849
2835
  *entries() {
2850
2836
  yield* D(this, oe);
2851
2837
  }
2852
2838
  *keys() {
2853
- for (var [l$1] of this) yield l$1;
2839
+ for (var [l] of this) yield l;
2854
2840
  }
2855
2841
  *values() {
2856
- for (var [, l$1] of this) yield l$1;
2842
+ for (var [, l] of this) yield l;
2857
2843
  }
2858
2844
  }, oe = /* @__PURE__ */ new WeakMap(), u(st, "FormData"), st);
2859
- function formDataToBlob(c, l$1 = Blob) {
2845
+ function formDataToBlob(c, l = Blob) {
2860
2846
  var d = `${r()}${r()}`.replace(/\./g, "").slice(-28).padStart(32, "-"), g = [], b = `--${d}\r
2861
2847
  Content-Disposition: form-data; name="`;
2862
2848
  return c.forEach((R, w) => typeof R == "string" ? g.push(b + e$1(w) + `"\r
@@ -2867,12 +2853,12 @@ ${R.replace(/\r(?!\n)|(?<!\r)\n/g, `\r
2867
2853
  Content-Type: ${R.type || "application/octet-stream"}\r
2868
2854
  \r
2869
2855
  `, R, `\r
2870
- `)), g.push(`--${d}--`), new l$1(g, { type: "multipart/form-data; boundary=" + d });
2856
+ `)), g.push(`--${d}--`), new l(g, { type: "multipart/form-data; boundary=" + d });
2871
2857
  }
2872
2858
  u(formDataToBlob, "formDataToBlob");
2873
2859
  const rn = class rn$1 extends Error {
2874
- constructor(l$1, d) {
2875
- super(l$1), Error.captureStackTrace(this, this.constructor), this.type = d;
2860
+ constructor(l, d) {
2861
+ super(l), Error.captureStackTrace(this, this.constructor), this.type = d;
2876
2862
  }
2877
2863
  get name() {
2878
2864
  return this.constructor.name;
@@ -2884,29 +2870,29 @@ Content-Type: ${R.type || "application/octet-stream"}\r
2884
2870
  u(rn, "FetchBaseError");
2885
2871
  let FetchBaseError = rn;
2886
2872
  const nn = class nn$1 extends FetchBaseError {
2887
- constructor(l$1, d, g) {
2888
- super(l$1, d), g && (this.code = this.errno = g.code, this.erroredSysCall = g.syscall);
2873
+ constructor(l, d, g) {
2874
+ super(l, d), g && (this.code = this.errno = g.code, this.erroredSysCall = g.syscall);
2889
2875
  }
2890
2876
  };
2891
2877
  u(nn, "FetchError");
2892
2878
  let FetchError = nn;
2893
- const NAME = Symbol.toStringTag, isURLSearchParameters = u((c) => typeof c == "object" && typeof c.append == "function" && typeof c.delete == "function" && typeof c.get == "function" && typeof c.getAll == "function" && typeof c.has == "function" && typeof c.set == "function" && typeof c.sort == "function" && c[NAME] === "URLSearchParams", "isURLSearchParameters"), isBlob = u((c) => c && typeof c == "object" && typeof c.arrayBuffer == "function" && typeof c.type == "string" && typeof c.stream == "function" && typeof c.constructor == "function" && /^(Blob|File)$/.test(c[NAME]), "isBlob"), isAbortSignal = u((c) => typeof c == "object" && (c[NAME] === "AbortSignal" || c[NAME] === "EventTarget"), "isAbortSignal"), isDomainOrSubdomain = u((c, l$1) => {
2894
- const d = new URL(l$1).hostname, g = new URL(c).hostname;
2879
+ const NAME = Symbol.toStringTag, isURLSearchParameters = u((c) => typeof c == "object" && typeof c.append == "function" && typeof c.delete == "function" && typeof c.get == "function" && typeof c.getAll == "function" && typeof c.has == "function" && typeof c.set == "function" && typeof c.sort == "function" && c[NAME] === "URLSearchParams", "isURLSearchParameters"), isBlob = u((c) => c && typeof c == "object" && typeof c.arrayBuffer == "function" && typeof c.type == "string" && typeof c.stream == "function" && typeof c.constructor == "function" && /^(Blob|File)$/.test(c[NAME]), "isBlob"), isAbortSignal = u((c) => typeof c == "object" && (c[NAME] === "AbortSignal" || c[NAME] === "EventTarget"), "isAbortSignal"), isDomainOrSubdomain = u((c, l) => {
2880
+ const d = new URL(l).hostname, g = new URL(c).hostname;
2895
2881
  return d === g || d.endsWith(`.${g}`);
2896
- }, "isDomainOrSubdomain"), isSameProtocol = u((c, l$1) => {
2897
- return new URL(l$1).protocol === new URL(c).protocol;
2882
+ }, "isDomainOrSubdomain"), isSameProtocol = u((c, l) => {
2883
+ return new URL(l).protocol === new URL(c).protocol;
2898
2884
  }, "isSameProtocol"), pipeline = require$$0$1.promisify(Stream__default.pipeline), INTERNALS$2 = Symbol("Body internals"), on = class on$1 {
2899
- constructor(l$1, { size: d = 0 } = {}) {
2885
+ constructor(l, { size: d = 0 } = {}) {
2900
2886
  let g = null;
2901
- l$1 === null ? l$1 = null : isURLSearchParameters(l$1) ? l$1 = require$$0.Buffer.from(l$1.toString()) : isBlob(l$1) || require$$0.Buffer.isBuffer(l$1) || (require$$0$1.types.isAnyArrayBuffer(l$1) ? l$1 = require$$0.Buffer.from(l$1) : ArrayBuffer.isView(l$1) ? l$1 = require$$0.Buffer.from(l$1.buffer, l$1.byteOffset, l$1.byteLength) : l$1 instanceof Stream__default || (l$1 instanceof FormData ? (l$1 = formDataToBlob(l$1), g = l$1.type.split("=")[1]) : l$1 = require$$0.Buffer.from(String(l$1))));
2902
- let b = l$1;
2903
- require$$0.Buffer.isBuffer(l$1) ? b = Stream__default.Readable.from(l$1) : isBlob(l$1) && (b = Stream__default.Readable.from(l$1.stream())), this[INTERNALS$2] = {
2904
- body: l$1,
2887
+ l === null ? l = null : isURLSearchParameters(l) ? l = require$$0.Buffer.from(l.toString()) : isBlob(l) || require$$0.Buffer.isBuffer(l) || (require$$0$1.types.isAnyArrayBuffer(l) ? l = require$$0.Buffer.from(l) : ArrayBuffer.isView(l) ? l = require$$0.Buffer.from(l.buffer, l.byteOffset, l.byteLength) : l instanceof Stream__default || (l instanceof FormData ? (l = formDataToBlob(l), g = l.type.split("=")[1]) : l = require$$0.Buffer.from(String(l))));
2888
+ let b = l;
2889
+ require$$0.Buffer.isBuffer(l) ? b = Stream__default.Readable.from(l) : isBlob(l) && (b = Stream__default.Readable.from(l.stream())), this[INTERNALS$2] = {
2890
+ body: l,
2905
2891
  stream: b,
2906
2892
  boundary: g,
2907
2893
  disturbed: !1,
2908
2894
  error: null
2909
- }, this.size = d, l$1 instanceof Stream__default && l$1.on("error", (R) => {
2895
+ }, this.size = d, l instanceof Stream__default && l.on("error", (R) => {
2910
2896
  const w = R instanceof FetchBaseError ? R : new FetchError(`Invalid response body while trying to fetch ${this.url}: ${R.message}`, "system", R);
2911
2897
  this[INTERNALS$2].error = w;
2912
2898
  });
@@ -2918,30 +2904,30 @@ Content-Type: ${R.type || "application/octet-stream"}\r
2918
2904
  return this[INTERNALS$2].disturbed;
2919
2905
  }
2920
2906
  async arrayBuffer() {
2921
- const { buffer: l$1, byteOffset: d, byteLength: g } = await consumeBody(this);
2922
- return l$1.slice(d, d + g);
2907
+ const { buffer: l, byteOffset: d, byteLength: g } = await consumeBody(this);
2908
+ return l.slice(d, d + g);
2923
2909
  }
2924
2910
  async formData() {
2925
- const l$1 = this.headers.get("content-type");
2926
- if (l$1.startsWith("application/x-www-form-urlencoded")) {
2911
+ const l = this.headers.get("content-type");
2912
+ if (l.startsWith("application/x-www-form-urlencoded")) {
2927
2913
  const g = new FormData(), b = new URLSearchParams(await this.text());
2928
2914
  for (const [R, w] of b) g.append(R, w);
2929
2915
  return g;
2930
2916
  }
2931
- const { toFormData: d } = await import("./multipart-parser-D65rtMfY.mjs").then(__toDynamicImportESM(1));
2932
- return d(this.body, l$1);
2917
+ const { toFormData: d } = await import("./chunks/multipart-parser.mjs").then(__toDynamicImportESM(1));
2918
+ return d(this.body, l);
2933
2919
  }
2934
2920
  async blob() {
2935
- const l$1 = this.headers && this.headers.get("content-type") || this[INTERNALS$2].body && this[INTERNALS$2].body.type || "";
2936
- return new Blob([await this.arrayBuffer()], { type: l$1 });
2921
+ const l = this.headers && this.headers.get("content-type") || this[INTERNALS$2].body && this[INTERNALS$2].body.type || "";
2922
+ return new Blob([await this.arrayBuffer()], { type: l });
2937
2923
  }
2938
2924
  async json() {
2939
- const l$1 = await this.text();
2940
- return JSON.parse(l$1);
2925
+ const l = await this.text();
2926
+ return JSON.parse(l);
2941
2927
  }
2942
2928
  async text() {
2943
- const l$1 = await consumeBody(this);
2944
- return new TextDecoder().decode(l$1);
2929
+ const l = await consumeBody(this);
2930
+ return new TextDecoder().decode(l);
2945
2931
  }
2946
2932
  buffer() {
2947
2933
  return consumeBody(this);
@@ -2961,22 +2947,22 @@ Content-Type: ${R.type || "application/octet-stream"}\r
2961
2947
  async function consumeBody(c) {
2962
2948
  if (c[INTERNALS$2].disturbed) throw new TypeError(`body used already for: ${c.url}`);
2963
2949
  if (c[INTERNALS$2].disturbed = !0, c[INTERNALS$2].error) throw c[INTERNALS$2].error;
2964
- const { body: l$1 } = c;
2965
- if (l$1 === null || !(l$1 instanceof Stream__default)) return require$$0.Buffer.alloc(0);
2950
+ const { body: l } = c;
2951
+ if (l === null || !(l instanceof Stream__default)) return require$$0.Buffer.alloc(0);
2966
2952
  const d = [];
2967
2953
  let g = 0;
2968
2954
  try {
2969
- for await (const b of l$1) {
2955
+ for await (const b of l) {
2970
2956
  if (c.size > 0 && g + b.length > c.size) {
2971
2957
  const R = new FetchError(`content size at ${c.url} over limit: ${c.size}`, "max-size");
2972
- throw l$1.destroy(R), R;
2958
+ throw l.destroy(R), R;
2973
2959
  }
2974
2960
  g += b.length, d.push(b);
2975
2961
  }
2976
2962
  } catch (b) {
2977
2963
  throw b instanceof FetchBaseError ? b : new FetchError(`Invalid response body while trying to fetch ${c.url}: ${b.message}`, "system", b);
2978
2964
  }
2979
- if (l$1.readableEnded === !0 || l$1._readableState.ended === !0) try {
2965
+ if (l.readableEnded === !0 || l._readableState.ended === !0) try {
2980
2966
  return d.every((b) => typeof b == "string") ? require$$0.Buffer.from(d.join("")) : require$$0.Buffer.concat(d, g);
2981
2967
  } catch (b) {
2982
2968
  throw new FetchError(`Could not create Buffer from response body for ${c.url}: ${b.message}`, "system", b);
@@ -2984,37 +2970,37 @@ Content-Type: ${R.type || "application/octet-stream"}\r
2984
2970
  else throw new FetchError(`Premature close of server response while trying to fetch ${c.url}`);
2985
2971
  }
2986
2972
  u(consumeBody, "consumeBody");
2987
- const clone = u((c, l$1) => {
2973
+ const clone = u((c, l) => {
2988
2974
  let d, g, { body: b } = c[INTERNALS$2];
2989
2975
  if (c.bodyUsed) throw new Error("cannot clone body after it is used");
2990
- return b instanceof Stream__default && typeof b.getBoundary != "function" && (d = new Stream.PassThrough({ highWaterMark: l$1 }), g = new Stream.PassThrough({ highWaterMark: l$1 }), b.pipe(d), b.pipe(g), c[INTERNALS$2].stream = d, b = g), b;
2991
- }, "clone"), getNonSpecFormDataBoundary = require$$0$1.deprecate((c) => c.getBoundary(), "form-data doesn't follow the spec and requires special treatment. Use alternative package", "https://github.com/node-fetch/node-fetch/issues/1167"), extractContentType = u((c, l$1) => c === null ? null : typeof c == "string" ? "text/plain;charset=UTF-8" : isURLSearchParameters(c) ? "application/x-www-form-urlencoded;charset=UTF-8" : isBlob(c) ? c.type || null : require$$0.Buffer.isBuffer(c) || require$$0$1.types.isAnyArrayBuffer(c) || ArrayBuffer.isView(c) ? null : c instanceof FormData ? `multipart/form-data; boundary=${l$1[INTERNALS$2].boundary}` : c && typeof c.getBoundary == "function" ? `multipart/form-data;boundary=${getNonSpecFormDataBoundary(c)}` : c instanceof Stream__default ? null : "text/plain;charset=UTF-8", "extractContentType"), getTotalBytes = u((c) => {
2992
- const { body: l$1 } = c[INTERNALS$2];
2993
- return l$1 === null ? 0 : isBlob(l$1) ? l$1.size : require$$0.Buffer.isBuffer(l$1) ? l$1.length : l$1 && typeof l$1.getLengthSync == "function" && l$1.hasKnownLength && l$1.hasKnownLength() ? l$1.getLengthSync() : null;
2994
- }, "getTotalBytes"), writeToStream = u(async (c, { body: l$1 }) => {
2995
- l$1 === null ? c.end() : await pipeline(l$1, c);
2976
+ return b instanceof Stream__default && typeof b.getBoundary != "function" && (d = new Stream.PassThrough({ highWaterMark: l }), g = new Stream.PassThrough({ highWaterMark: l }), b.pipe(d), b.pipe(g), c[INTERNALS$2].stream = d, b = g), b;
2977
+ }, "clone"), getNonSpecFormDataBoundary = require$$0$1.deprecate((c) => c.getBoundary(), "form-data doesn't follow the spec and requires special treatment. Use alternative package", "https://github.com/node-fetch/node-fetch/issues/1167"), extractContentType = u((c, l) => c === null ? null : typeof c == "string" ? "text/plain;charset=UTF-8" : isURLSearchParameters(c) ? "application/x-www-form-urlencoded;charset=UTF-8" : isBlob(c) ? c.type || null : require$$0.Buffer.isBuffer(c) || require$$0$1.types.isAnyArrayBuffer(c) || ArrayBuffer.isView(c) ? null : c instanceof FormData ? `multipart/form-data; boundary=${l[INTERNALS$2].boundary}` : c && typeof c.getBoundary == "function" ? `multipart/form-data;boundary=${getNonSpecFormDataBoundary(c)}` : c instanceof Stream__default ? null : "text/plain;charset=UTF-8", "extractContentType"), getTotalBytes = u((c) => {
2978
+ const { body: l } = c[INTERNALS$2];
2979
+ return l === null ? 0 : isBlob(l) ? l.size : require$$0.Buffer.isBuffer(l) ? l.length : l && typeof l.getLengthSync == "function" && l.hasKnownLength && l.hasKnownLength() ? l.getLengthSync() : null;
2980
+ }, "getTotalBytes"), writeToStream = u(async (c, { body: l }) => {
2981
+ l === null ? c.end() : await pipeline(l, c);
2996
2982
  }, "writeToStream"), validateHeaderName = typeof http__default.validateHeaderName == "function" ? http__default.validateHeaderName : (c) => {
2997
2983
  if (!/^[\^`\-\w!#$%&'*+.|~]+$/.test(c)) {
2998
- const l$1 = /* @__PURE__ */ new TypeError(`Header name must be a valid HTTP token [${c}]`);
2999
- throw Object.defineProperty(l$1, "code", { value: "ERR_INVALID_HTTP_TOKEN" }), l$1;
2984
+ const l = /* @__PURE__ */ new TypeError(`Header name must be a valid HTTP token [${c}]`);
2985
+ throw Object.defineProperty(l, "code", { value: "ERR_INVALID_HTTP_TOKEN" }), l;
3000
2986
  }
3001
- }, validateHeaderValue = typeof http__default.validateHeaderValue == "function" ? http__default.validateHeaderValue : (c, l$1) => {
3002
- if (/[^\t\u0020-\u007E\u0080-\u00FF]/.test(l$1)) {
2987
+ }, validateHeaderValue = typeof http__default.validateHeaderValue == "function" ? http__default.validateHeaderValue : (c, l) => {
2988
+ if (/[^\t\u0020-\u007E\u0080-\u00FF]/.test(l)) {
3003
2989
  const d = /* @__PURE__ */ new TypeError(`Invalid character in header content ["${c}"]`);
3004
2990
  throw Object.defineProperty(d, "code", { value: "ERR_INVALID_CHAR" }), d;
3005
2991
  }
3006
2992
  }, Kt = class Kt$1 extends URLSearchParams {
3007
- constructor(l$1) {
2993
+ constructor(l) {
3008
2994
  let d = [];
3009
- if (l$1 instanceof Kt$1) {
3010
- const g = l$1.raw();
2995
+ if (l instanceof Kt$1) {
2996
+ const g = l.raw();
3011
2997
  for (const [b, R] of Object.entries(g)) d.push(...R.map((w) => [b, w]));
3012
- } else if (l$1 != null) if (typeof l$1 == "object" && !require$$0$1.types.isBoxedPrimitive(l$1)) {
3013
- const g = l$1[Symbol.iterator];
3014
- if (g == null) d.push(...Object.entries(l$1));
2998
+ } else if (l != null) if (typeof l == "object" && !require$$0$1.types.isBoxedPrimitive(l)) {
2999
+ const g = l[Symbol.iterator];
3000
+ if (g == null) d.push(...Object.entries(l));
3015
3001
  else {
3016
3002
  if (typeof g != "function") throw new TypeError("Header pairs must be iterable");
3017
- d = [...l$1].map((b) => {
3003
+ d = [...l].map((b) => {
3018
3004
  if (typeof b != "object" || require$$0$1.types.isBoxedPrimitive(b)) throw new TypeError("Each header pair must be an iterable object");
3019
3005
  return [...b];
3020
3006
  }).map((b) => {
@@ -3041,35 +3027,35 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3041
3027
  toString() {
3042
3028
  return Object.prototype.toString.call(this);
3043
3029
  }
3044
- get(l$1) {
3045
- const d = this.getAll(l$1);
3030
+ get(l) {
3031
+ const d = this.getAll(l);
3046
3032
  if (d.length === 0) return null;
3047
3033
  let g = d.join(", ");
3048
- return /^content-encoding$/i.test(l$1) && (g = g.toLowerCase()), g;
3034
+ return /^content-encoding$/i.test(l) && (g = g.toLowerCase()), g;
3049
3035
  }
3050
- forEach(l$1, d = void 0) {
3051
- for (const g of this.keys()) Reflect.apply(l$1, d, [
3036
+ forEach(l, d = void 0) {
3037
+ for (const g of this.keys()) Reflect.apply(l, d, [
3052
3038
  this.get(g),
3053
3039
  g,
3054
3040
  this
3055
3041
  ]);
3056
3042
  }
3057
3043
  *values() {
3058
- for (const l$1 of this.keys()) yield this.get(l$1);
3044
+ for (const l of this.keys()) yield this.get(l);
3059
3045
  }
3060
3046
  *entries() {
3061
- for (const l$1 of this.keys()) yield [l$1, this.get(l$1)];
3047
+ for (const l of this.keys()) yield [l, this.get(l)];
3062
3048
  }
3063
3049
  [Symbol.iterator]() {
3064
3050
  return this.entries();
3065
3051
  }
3066
3052
  raw() {
3067
- return [...this.keys()].reduce((l$1, d) => (l$1[d] = this.getAll(d), l$1), {});
3053
+ return [...this.keys()].reduce((l, d) => (l[d] = this.getAll(d), l), {});
3068
3054
  }
3069
3055
  [Symbol.for("nodejs.util.inspect.custom")]() {
3070
- return [...this.keys()].reduce((l$1, d) => {
3056
+ return [...this.keys()].reduce((l, d) => {
3071
3057
  const g = this.getAll(d);
3072
- return d === "host" ? l$1[d] = g[0] : l$1[d] = g.length > 1 ? g : g[0], l$1;
3058
+ return d === "host" ? l[d] = g[0] : l[d] = g.length > 1 ? g : g[0], l;
3073
3059
  }, {});
3074
3060
  }
3075
3061
  };
@@ -3080,11 +3066,11 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3080
3066
  "entries",
3081
3067
  "forEach",
3082
3068
  "values"
3083
- ].reduce((c, l$1) => (c[l$1] = { enumerable: !0 }, c), {}));
3069
+ ].reduce((c, l) => (c[l] = { enumerable: !0 }, c), {}));
3084
3070
  function fromRawHeaders(c = []) {
3085
- return new Headers(c.reduce((l$1, d, g, b) => (g % 2 === 0 && l$1.push(b.slice(g, g + 2)), l$1), []).filter(([l$1, d]) => {
3071
+ return new Headers(c.reduce((l, d, g, b) => (g % 2 === 0 && l.push(b.slice(g, g + 2)), l), []).filter(([l, d]) => {
3086
3072
  try {
3087
- return validateHeaderName(l$1), validateHeaderValue(l$1, String(d)), !0;
3073
+ return validateHeaderName(l), validateHeaderValue(l, String(d)), !0;
3088
3074
  } catch {
3089
3075
  return !1;
3090
3076
  }
@@ -3098,11 +3084,11 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3098
3084
  307,
3099
3085
  308
3100
3086
  ]), isRedirect = u((c) => redirectStatus.has(c), "isRedirect"), INTERNALS$1 = Symbol("Response internals"), Me = class Me$1 extends Body {
3101
- constructor(l$1 = null, d = {}) {
3102
- super(l$1, d);
3087
+ constructor(l = null, d = {}) {
3088
+ super(l, d);
3103
3089
  const g = d.status != null ? d.status : 200, b = new Headers(d.headers);
3104
- if (l$1 !== null && !b.has("Content-Type")) {
3105
- const R = extractContentType(l$1, this);
3090
+ if (l !== null && !b.has("Content-Type")) {
3091
+ const R = extractContentType(l, this);
3106
3092
  R && b.append("Content-Type", R);
3107
3093
  }
3108
3094
  this[INTERNALS$1] = {
@@ -3152,22 +3138,22 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3152
3138
  highWaterMark: this.highWaterMark
3153
3139
  });
3154
3140
  }
3155
- static redirect(l$1, d = 302) {
3141
+ static redirect(l, d = 302) {
3156
3142
  if (!isRedirect(d)) throw new RangeError("Failed to execute \"redirect\" on \"response\": Invalid status code");
3157
3143
  return new Me$1(null, {
3158
- headers: { location: new URL(l$1).toString() },
3144
+ headers: { location: new URL(l).toString() },
3159
3145
  status: d
3160
3146
  });
3161
3147
  }
3162
3148
  static error() {
3163
- const l$1 = new Me$1(null, {
3149
+ const l = new Me$1(null, {
3164
3150
  status: 0,
3165
3151
  statusText: ""
3166
3152
  });
3167
- return l$1[INTERNALS$1].type = "error", l$1;
3153
+ return l[INTERNALS$1].type = "error", l;
3168
3154
  }
3169
- static json(l$1 = void 0, d = {}) {
3170
- const g = JSON.stringify(l$1);
3155
+ static json(l = void 0, d = {}) {
3156
+ const g = JSON.stringify(l);
3171
3157
  if (g === void 0) throw new TypeError("data is not JSON serializable");
3172
3158
  const b = new Headers(d && d.headers);
3173
3159
  return b.has("content-type") || b.set("content-type", "application/json"), new Me$1(g, {
@@ -3193,11 +3179,11 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3193
3179
  });
3194
3180
  const getSearch = u((c) => {
3195
3181
  if (c.search) return c.search;
3196
- const l$1 = c.href.length - 1, d = c.hash || (c.href[l$1] === "#" ? "#" : "");
3197
- return c.href[l$1 - d.length] === "?" ? "?" : "";
3182
+ const l = c.href.length - 1, d = c.hash || (c.href[l] === "#" ? "#" : "");
3183
+ return c.href[l - d.length] === "?" ? "?" : "";
3198
3184
  }, "getSearch");
3199
- function stripURLForUseAsAReferrer(c, l$1 = !1) {
3200
- return c == null || (c = new URL(c), /^(about|blob|data):$/.test(c.protocol)) ? "no-referrer" : (c.username = "", c.password = "", c.hash = "", l$1 && (c.pathname = "", c.search = ""), c);
3185
+ function stripURLForUseAsAReferrer(c, l = !1) {
3186
+ return c == null || (c = new URL(c), /^(about|blob|data):$/.test(c.protocol)) ? "no-referrer" : (c.username = "", c.password = "", c.hash = "", l && (c.pathname = "", c.search = ""), c);
3201
3187
  }
3202
3188
  u(stripURLForUseAsAReferrer, "stripURLForUseAsAReferrer");
3203
3189
  const ReferrerPolicy = new Set([
@@ -3218,21 +3204,21 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3218
3204
  u(validateReferrerPolicy, "validateReferrerPolicy");
3219
3205
  function isOriginPotentiallyTrustworthy(c) {
3220
3206
  if (/^(http|ws)s:$/.test(c.protocol)) return !0;
3221
- const l$1 = c.host.replace(/(^\[)|(]$)/g, ""), d = require$$0$2.isIP(l$1);
3222
- return d === 4 && /^127\./.test(l$1) || d === 6 && /^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(l$1) ? !0 : c.host === "localhost" || c.host.endsWith(".localhost") ? !1 : c.protocol === "file:";
3207
+ const l = c.host.replace(/(^\[)|(]$)/g, ""), d = require$$0$2.isIP(l);
3208
+ return d === 4 && /^127\./.test(l) || d === 6 && /^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(l) ? !0 : c.host === "localhost" || c.host.endsWith(".localhost") ? !1 : c.protocol === "file:";
3223
3209
  }
3224
3210
  u(isOriginPotentiallyTrustworthy, "isOriginPotentiallyTrustworthy");
3225
3211
  function isUrlPotentiallyTrustworthy(c) {
3226
3212
  return /^about:(blank|srcdoc)$/.test(c) || c.protocol === "data:" || /^(blob|filesystem):$/.test(c.protocol) ? !0 : isOriginPotentiallyTrustworthy(c);
3227
3213
  }
3228
3214
  u(isUrlPotentiallyTrustworthy, "isUrlPotentiallyTrustworthy");
3229
- function determineRequestsReferrer(c, { referrerURLCallback: l$1, referrerOriginCallback: d } = {}) {
3215
+ function determineRequestsReferrer(c, { referrerURLCallback: l, referrerOriginCallback: d } = {}) {
3230
3216
  if (c.referrer === "no-referrer" || c.referrerPolicy === "") return null;
3231
3217
  const g = c.referrerPolicy;
3232
3218
  if (c.referrer === "about:client") return "no-referrer";
3233
3219
  const b = c.referrer;
3234
3220
  let R = stripURLForUseAsAReferrer(b), w = stripURLForUseAsAReferrer(b, !0);
3235
- R.toString().length > 4096 && (R = w), l$1 && (R = l$1(R)), d && (w = d(w));
3221
+ R.toString().length > 4096 && (R = w), l && (R = l(R)), d && (w = d(w));
3236
3222
  const A = new URL(c.url);
3237
3223
  switch (g) {
3238
3224
  case "no-referrer": return "no-referrer";
@@ -3248,28 +3234,28 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3248
3234
  }
3249
3235
  u(determineRequestsReferrer, "determineRequestsReferrer");
3250
3236
  function parseReferrerPolicyFromHeader(c) {
3251
- const l$1 = (c.get("referrer-policy") || "").split(/[,\s]+/);
3237
+ const l = (c.get("referrer-policy") || "").split(/[,\s]+/);
3252
3238
  let d = "";
3253
- for (const g of l$1) g && ReferrerPolicy.has(g) && (d = g);
3239
+ for (const g of l) g && ReferrerPolicy.has(g) && (d = g);
3254
3240
  return d;
3255
3241
  }
3256
3242
  u(parseReferrerPolicyFromHeader, "parseReferrerPolicyFromHeader");
3257
3243
  const INTERNALS = Symbol("Request internals"), isRequest = u((c) => typeof c == "object" && typeof c[INTERNALS] == "object", "isRequest"), doBadDataWarn = require$$0$1.deprecate(() => {}, ".data is not a valid RequestInit property, use .body instead", "https://github.com/node-fetch/node-fetch/issues/1000 (request)"), Jt = class Jt$1 extends Body {
3258
- constructor(l$1, d = {}) {
3244
+ constructor(l, d = {}) {
3259
3245
  let g;
3260
- if (isRequest(l$1) ? g = new URL(l$1.url) : (g = new URL(l$1), l$1 = {}), g.username !== "" || g.password !== "") throw new TypeError(`${g} is an url with embedded credentials.`);
3261
- let b = d.method || l$1.method || "GET";
3262
- if (/^(delete|get|head|options|post|put)$/i.test(b) && (b = b.toUpperCase()), !isRequest(d) && "data" in d && doBadDataWarn(), (d.body != null || isRequest(l$1) && l$1.body !== null) && (b === "GET" || b === "HEAD")) throw new TypeError("Request with GET/HEAD method cannot have body");
3263
- const R = d.body ? d.body : isRequest(l$1) && l$1.body !== null ? clone(l$1) : null;
3264
- super(R, { size: d.size || l$1.size || 0 });
3265
- const w = new Headers(d.headers || l$1.headers || {});
3246
+ if (isRequest(l) ? g = new URL(l.url) : (g = new URL(l), l = {}), g.username !== "" || g.password !== "") throw new TypeError(`${g} is an url with embedded credentials.`);
3247
+ let b = d.method || l.method || "GET";
3248
+ if (/^(delete|get|head|options|post|put)$/i.test(b) && (b = b.toUpperCase()), !isRequest(d) && "data" in d && doBadDataWarn(), (d.body != null || isRequest(l) && l.body !== null) && (b === "GET" || b === "HEAD")) throw new TypeError("Request with GET/HEAD method cannot have body");
3249
+ const R = d.body ? d.body : isRequest(l) && l.body !== null ? clone(l) : null;
3250
+ super(R, { size: d.size || l.size || 0 });
3251
+ const w = new Headers(d.headers || l.headers || {});
3266
3252
  if (R !== null && !w.has("Content-Type")) {
3267
3253
  const B = extractContentType(R, this);
3268
3254
  B && w.set("Content-Type", B);
3269
3255
  }
3270
- let A = isRequest(l$1) ? l$1.signal : null;
3256
+ let A = isRequest(l) ? l.signal : null;
3271
3257
  if ("signal" in d && (A = d.signal), A != null && !isAbortSignal(A)) throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget");
3272
- let z = d.referrer == null ? l$1.referrer : d.referrer;
3258
+ let z = d.referrer == null ? l.referrer : d.referrer;
3273
3259
  if (z === "") z = "no-referrer";
3274
3260
  else if (z) {
3275
3261
  const B = new URL(z);
@@ -3277,12 +3263,12 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3277
3263
  } else z = void 0;
3278
3264
  this[INTERNALS] = {
3279
3265
  method: b,
3280
- redirect: d.redirect || l$1.redirect || "follow",
3266
+ redirect: d.redirect || l.redirect || "follow",
3281
3267
  headers: w,
3282
3268
  parsedURL: g,
3283
3269
  signal: A,
3284
3270
  referrer: z
3285
- }, this.follow = d.follow === void 0 ? l$1.follow === void 0 ? 20 : l$1.follow : d.follow, this.compress = d.compress === void 0 ? l$1.compress === void 0 ? !0 : l$1.compress : d.compress, this.counter = d.counter || l$1.counter || 0, this.agent = d.agent || l$1.agent, this.highWaterMark = d.highWaterMark || l$1.highWaterMark || 16384, this.insecureHTTPParser = d.insecureHTTPParser || l$1.insecureHTTPParser || !1, this.referrerPolicy = d.referrerPolicy || l$1.referrerPolicy || "";
3271
+ }, this.follow = d.follow === void 0 ? l.follow === void 0 ? 20 : l.follow : d.follow, this.compress = d.compress === void 0 ? l.compress === void 0 ? !0 : l.compress : d.compress, this.counter = d.counter || l.counter || 0, this.agent = d.agent || l.agent, this.highWaterMark = d.highWaterMark || l.highWaterMark || 16384, this.insecureHTTPParser = d.insecureHTTPParser || l.insecureHTTPParser || !1, this.referrerPolicy = d.referrerPolicy || l.referrerPolicy || "";
3286
3272
  }
3287
3273
  get method() {
3288
3274
  return this[INTERNALS].method;
@@ -3307,8 +3293,8 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3307
3293
  get referrerPolicy() {
3308
3294
  return this[INTERNALS].referrerPolicy;
3309
3295
  }
3310
- set referrerPolicy(l$1) {
3311
- this[INTERNALS].referrerPolicy = validateReferrerPolicy(l$1);
3296
+ set referrerPolicy(l) {
3297
+ this[INTERNALS].referrerPolicy = validateReferrerPolicy(l);
3312
3298
  }
3313
3299
  clone() {
3314
3300
  return new Jt$1(this);
@@ -3330,7 +3316,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3330
3316
  referrerPolicy: { enumerable: !0 }
3331
3317
  });
3332
3318
  const getNodeRequestOptions = u((c) => {
3333
- const { parsedURL: l$1 } = c[INTERNALS], d = new Headers(c[INTERNALS].headers);
3319
+ const { parsedURL: l } = c[INTERNALS], d = new Headers(c[INTERNALS].headers);
3334
3320
  d.has("Accept") || d.set("Accept", "*/*");
3335
3321
  let g = null;
3336
3322
  if (c.body === null && /^(post|put)$/i.test(c.method) && (g = "0"), c.body !== null) {
@@ -3339,12 +3325,12 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3339
3325
  }
3340
3326
  g && d.set("Content-Length", g), c.referrerPolicy === "" && (c.referrerPolicy = DEFAULT_REFERRER_POLICY), c.referrer && c.referrer !== "no-referrer" ? c[INTERNALS].referrer = determineRequestsReferrer(c) : c[INTERNALS].referrer = "no-referrer", c[INTERNALS].referrer instanceof URL && d.set("Referer", c.referrer), d.has("User-Agent") || d.set("User-Agent", "node-fetch"), c.compress && !d.has("Accept-Encoding") && d.set("Accept-Encoding", "gzip, deflate, br");
3341
3327
  let { agent: b } = c;
3342
- typeof b == "function" && (b = b(l$1));
3343
- const R = getSearch(l$1);
3328
+ typeof b == "function" && (b = b(l));
3329
+ const R = getSearch(l);
3344
3330
  return {
3345
- parsedURL: l$1,
3331
+ parsedURL: l,
3346
3332
  options: {
3347
- path: l$1.pathname + R,
3333
+ path: l.pathname + R,
3348
3334
  method: c.method,
3349
3335
  headers: d[Symbol.for("nodejs.util.inspect.custom")](),
3350
3336
  insecureHTTPParser: c.insecureHTTPParser,
@@ -3352,8 +3338,8 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3352
3338
  }
3353
3339
  };
3354
3340
  }, "getNodeRequestOptions"), sn = class sn$1 extends FetchBaseError {
3355
- constructor(l$1, d = "aborted") {
3356
- super(l$1, d);
3341
+ constructor(l, d = "aborted") {
3342
+ super(l, d);
3357
3343
  }
3358
3344
  };
3359
3345
  u(sn, "AbortError");
@@ -3362,8 +3348,8 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3362
3348
  function requireNodeDomexception() {
3363
3349
  if (hasRequiredNodeDomexception) return nodeDomexception;
3364
3350
  if (hasRequiredNodeDomexception = 1, !globalThis.DOMException) try {
3365
- const { MessageChannel: c } = __require("node:worker_threads"), l$1 = new c().port1, d = /* @__PURE__ */ new ArrayBuffer();
3366
- l$1.postMessage(d, [d, d]);
3351
+ const { MessageChannel: c } = __require("node:worker_threads"), l = new c().port1, d = /* @__PURE__ */ new ArrayBuffer();
3352
+ l.postMessage(d, [d, d]);
3367
3353
  } catch (c) {
3368
3354
  c.constructor.name === "DOMException" && (globalThis.DOMException = c.constructor);
3369
3355
  }
@@ -3371,36 +3357,36 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3371
3357
  }
3372
3358
  u(requireNodeDomexception, "requireNodeDomexception");
3373
3359
  var nodeDomexceptionExports = requireNodeDomexception();
3374
- const DOMException = _commonjsHelpers.getDefaultExportFromCjs(nodeDomexceptionExports), { stat } = node_fs.promises, blobFromSync = u((c, l$1) => fromBlob(node_fs.statSync(c), c, l$1), "blobFromSync"), blobFrom = u((c, l$1) => stat(c).then((d) => fromBlob(d, c, l$1)), "blobFrom"), fileFrom = u((c, l$1) => stat(c).then((d) => fromFile(d, c, l$1)), "fileFrom"), fileFromSync = u((c, l$1) => fromFile(node_fs.statSync(c), c, l$1), "fileFromSync"), fromBlob = u((c, l$1, d = "") => new Blob([new BlobDataItem({
3375
- path: l$1,
3360
+ const DOMException = _commonjsHelpers.getDefaultExportFromCjs(nodeDomexceptionExports), { stat } = node_fs.promises, blobFromSync = u((c, l) => fromBlob(node_fs.statSync(c), c, l), "blobFromSync"), blobFrom = u((c, l) => stat(c).then((d) => fromBlob(d, c, l)), "blobFrom"), fileFrom = u((c, l) => stat(c).then((d) => fromFile(d, c, l)), "fileFrom"), fileFromSync = u((c, l) => fromFile(node_fs.statSync(c), c, l), "fileFromSync"), fromBlob = u((c, l, d = "") => new Blob([new BlobDataItem({
3361
+ path: l,
3376
3362
  size: c.size,
3377
3363
  lastModified: c.mtimeMs,
3378
3364
  start: 0
3379
- })], { type: d }), "fromBlob"), fromFile = u((c, l$1, d = "") => new File([new BlobDataItem({
3380
- path: l$1,
3365
+ })], { type: d }), "fromBlob"), fromFile = u((c, l, d = "") => new File([new BlobDataItem({
3366
+ path: l,
3381
3367
  size: c.size,
3382
3368
  lastModified: c.mtimeMs,
3383
3369
  start: 0
3384
- })], node_path.basename(l$1), {
3370
+ })], node_path.basename(l), {
3385
3371
  type: d,
3386
3372
  lastModified: c.mtimeMs
3387
3373
  }), "fromFile"), Xt = class Xt$1 {
3388
- constructor(l$1) {
3374
+ constructor(l) {
3389
3375
  ye(this, xe);
3390
3376
  ye(this, Ue);
3391
- ne(this, xe, l$1.path), ne(this, Ue, l$1.start), this.size = l$1.size, this.lastModified = l$1.lastModified;
3377
+ ne(this, xe, l.path), ne(this, Ue, l.start), this.size = l.size, this.lastModified = l.lastModified;
3392
3378
  }
3393
- slice(l$1, d) {
3379
+ slice(l, d) {
3394
3380
  return new Xt$1({
3395
3381
  path: D(this, xe),
3396
3382
  lastModified: this.lastModified,
3397
- size: d - l$1,
3398
- start: D(this, Ue) + l$1
3383
+ size: d - l,
3384
+ start: D(this, Ue) + l
3399
3385
  });
3400
3386
  }
3401
3387
  async *stream() {
3402
- const { mtimeMs: l$1 } = await stat(D(this, xe));
3403
- if (l$1 > this.lastModified) throw new DOMException("The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.", "NotReadableError");
3388
+ const { mtimeMs: l } = await stat(D(this, xe));
3389
+ if (l > this.lastModified) throw new DOMException("The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.", "NotReadableError");
3404
3390
  yield* node_fs.createReadStream(D(this, xe), {
3405
3391
  start: D(this, Ue),
3406
3392
  end: D(this, Ue) + this.size - 1
@@ -3417,9 +3403,9 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3417
3403
  "http:",
3418
3404
  "https:"
3419
3405
  ]);
3420
- async function fetch$1(c, l$1) {
3406
+ async function fetch$1(c, l) {
3421
3407
  return new Promise((d, g) => {
3422
- const b = new Request(c, l$1), { parsedURL: R, options: w } = getNodeRequestOptions(b);
3408
+ const b = new Request(c, l), { parsedURL: R, options: w } = getNodeRequestOptions(b);
3423
3409
  if (!supportedSchemas.has(R.protocol)) throw new TypeError(`node-fetch cannot load ${c}. URL scheme "${R.protocol.replace(/:$/, "")}" is not supported.`);
3424
3410
  if (R.protocol === "data:") {
3425
3411
  const v = dataUriToBuffer(b.url);
@@ -3501,7 +3487,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3501
3487
  "cookie",
3502
3488
  "cookie2"
3503
3489
  ]) Y.headers.delete(wt);
3504
- if (v.statusCode !== 303 && b.body && l$1.body instanceof Stream__default.Readable) {
3490
+ if (v.statusCode !== 303 && b.body && l.body instanceof Stream__default.Readable) {
3505
3491
  g(new FetchError("Cannot follow redirect with body being a readable stream", "unsupported-redirect")), $();
3506
3492
  return;
3507
3493
  }
@@ -3569,7 +3555,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3569
3555
  });
3570
3556
  }
3571
3557
  u(fetch$1, "fetch$1");
3572
- function fixResponseChunkedTransferBadEnding(c, l$1) {
3558
+ function fixResponseChunkedTransferBadEnding(c, l) {
3573
3559
  const d = require$$0.Buffer.from(`0\r
3574
3560
  \r
3575
3561
  `);
@@ -3581,7 +3567,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3581
3567
  const A = u(() => {
3582
3568
  if (g && !b) {
3583
3569
  const B = /* @__PURE__ */ new Error("Premature close");
3584
- B.code = "ERR_STREAM_PREMATURE_CLOSE", l$1(B);
3570
+ B.code = "ERR_STREAM_PREMATURE_CLOSE", l(B);
3585
3571
  }
3586
3572
  }, "onSocketClose"), z = u((B) => {
3587
3573
  b = require$$0.Buffer.compare(B.slice(-5), d) === 0, !b && R && (b = require$$0.Buffer.compare(R.slice(-3), d.slice(0, 3)) === 0 && require$$0.Buffer.compare(B.slice(-2), d.slice(3)) === 0), R = B;
@@ -3594,8 +3580,8 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3594
3580
  u(fixResponseChunkedTransferBadEnding, "fixResponseChunkedTransferBadEnding");
3595
3581
  const privateData = /* @__PURE__ */ new WeakMap(), wrappers = /* @__PURE__ */ new WeakMap();
3596
3582
  function pd(c) {
3597
- const l$1 = privateData.get(c);
3598
- return console.assert(l$1 != null, "'this' is expected an Event object, but got", c), l$1;
3583
+ const l = privateData.get(c);
3584
+ return console.assert(l != null, "'this' is expected an Event object, but got", c), l;
3599
3585
  }
3600
3586
  u(pd, "pd");
3601
3587
  function setCancelFlag(c) {
@@ -3606,22 +3592,22 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3606
3592
  c.event.cancelable && (c.canceled = !0, typeof c.event.preventDefault == "function" && c.event.preventDefault());
3607
3593
  }
3608
3594
  u(setCancelFlag, "setCancelFlag");
3609
- function Event(c, l$1) {
3595
+ function Event(c, l) {
3610
3596
  privateData.set(this, {
3611
3597
  eventTarget: c,
3612
- event: l$1,
3598
+ event: l,
3613
3599
  eventPhase: 2,
3614
3600
  currentTarget: c,
3615
3601
  canceled: !1,
3616
3602
  stopped: !1,
3617
3603
  immediateStopped: !1,
3618
3604
  passiveListener: null,
3619
- timeStamp: l$1.timeStamp || Date.now()
3605
+ timeStamp: l.timeStamp || Date.now()
3620
3606
  }), Object.defineProperty(this, "isTrusted", {
3621
3607
  value: !1,
3622
3608
  enumerable: !0
3623
3609
  });
3624
- const d = Object.keys(l$1);
3610
+ const d = Object.keys(l);
3625
3611
  for (let g = 0; g < d.length; ++g) {
3626
3612
  const b = d[g];
3627
3613
  b in this || Object.defineProperty(this, b, defineRedirectDescriptor(b));
@@ -3690,8 +3676,8 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3690
3676
  },
3691
3677
  set cancelBubble(c) {
3692
3678
  if (!c) return;
3693
- const l$1 = pd(this);
3694
- l$1.stopped = !0, typeof l$1.event.cancelBubble == "boolean" && (l$1.event.cancelBubble = !0);
3679
+ const l = pd(this);
3680
+ l.stopped = !0, typeof l.event.cancelBubble == "boolean" && (l.event.cancelBubble = !0);
3695
3681
  },
3696
3682
  get returnValue() {
3697
3683
  return !pd(this).canceled;
@@ -3710,8 +3696,8 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3710
3696
  get() {
3711
3697
  return pd(this).event[c];
3712
3698
  },
3713
- set(l$1) {
3714
- pd(this).event[c] = l$1;
3699
+ set(l) {
3700
+ pd(this).event[c] = l;
3715
3701
  },
3716
3702
  configurable: !0,
3717
3703
  enumerable: !0
@@ -3721,16 +3707,16 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3721
3707
  function defineCallDescriptor(c) {
3722
3708
  return {
3723
3709
  value() {
3724
- const l$1 = pd(this).event;
3725
- return l$1[c].apply(l$1, arguments);
3710
+ const l = pd(this).event;
3711
+ return l[c].apply(l, arguments);
3726
3712
  },
3727
3713
  configurable: !0,
3728
3714
  enumerable: !0
3729
3715
  };
3730
3716
  }
3731
3717
  u(defineCallDescriptor, "defineCallDescriptor");
3732
- function defineWrapper(c, l$1) {
3733
- const d = Object.keys(l$1);
3718
+ function defineWrapper(c, l) {
3719
+ const d = Object.keys(l);
3734
3720
  if (d.length === 0) return c;
3735
3721
  function g(b, R) {
3736
3722
  c.call(this, b, R);
@@ -3743,7 +3729,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3743
3729
  for (let b = 0; b < d.length; ++b) {
3744
3730
  const R = d[b];
3745
3731
  if (!(R in c.prototype)) {
3746
- const A = typeof Object.getOwnPropertyDescriptor(l$1, R).value == "function";
3732
+ const A = typeof Object.getOwnPropertyDescriptor(l, R).value == "function";
3747
3733
  Object.defineProperty(g.prototype, R, A ? defineCallDescriptor(R) : defineRedirectDescriptor(R));
3748
3734
  }
3749
3735
  }
@@ -3752,28 +3738,28 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3752
3738
  u(defineWrapper, "defineWrapper");
3753
3739
  function getWrapper(c) {
3754
3740
  if (c == null || c === Object.prototype) return Event;
3755
- let l$1 = wrappers.get(c);
3756
- return l$1 ?? (l$1 = defineWrapper(getWrapper(Object.getPrototypeOf(c)), c), wrappers.set(c, l$1)), l$1;
3741
+ let l = wrappers.get(c);
3742
+ return l ?? (l = defineWrapper(getWrapper(Object.getPrototypeOf(c)), c), wrappers.set(c, l)), l;
3757
3743
  }
3758
3744
  u(getWrapper, "getWrapper");
3759
- function wrapEvent(c, l$1) {
3760
- return new (getWrapper(Object.getPrototypeOf(l$1)))(c, l$1);
3745
+ function wrapEvent(c, l) {
3746
+ return new (getWrapper(Object.getPrototypeOf(l)))(c, l);
3761
3747
  }
3762
3748
  u(wrapEvent, "wrapEvent");
3763
3749
  function isStopped(c) {
3764
3750
  return pd(c).immediateStopped;
3765
3751
  }
3766
3752
  u(isStopped, "isStopped");
3767
- function setEventPhase(c, l$1) {
3768
- pd(c).eventPhase = l$1;
3753
+ function setEventPhase(c, l) {
3754
+ pd(c).eventPhase = l;
3769
3755
  }
3770
3756
  u(setEventPhase, "setEventPhase");
3771
- function setCurrentTarget(c, l$1) {
3772
- pd(c).currentTarget = l$1;
3757
+ function setCurrentTarget(c, l) {
3758
+ pd(c).currentTarget = l;
3773
3759
  }
3774
3760
  u(setCurrentTarget, "setCurrentTarget");
3775
- function setPassiveListener(c, l$1) {
3776
- pd(c).passiveListener = l$1;
3761
+ function setPassiveListener(c, l) {
3762
+ pd(c).passiveListener = l;
3777
3763
  }
3778
3764
  u(setPassiveListener, "setPassiveListener");
3779
3765
  const listenersMap = /* @__PURE__ */ new WeakMap(), CAPTURE = 1, BUBBLE = 2, ATTRIBUTE = 3;
@@ -3782,9 +3768,9 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3782
3768
  }
3783
3769
  u(isObject, "isObject");
3784
3770
  function getListeners(c) {
3785
- const l$1 = listenersMap.get(c);
3786
- if (l$1 == null) throw new TypeError("'this' is expected an EventTarget object, but got another value.");
3787
- return l$1;
3771
+ const l = listenersMap.get(c);
3772
+ if (l == null) throw new TypeError("'this' is expected an EventTarget object, but got another value.");
3773
+ return l;
3788
3774
  }
3789
3775
  u(getListeners, "getListeners");
3790
3776
  function defineEventAttributeDescriptor(c) {
@@ -3797,14 +3783,14 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3797
3783
  }
3798
3784
  return null;
3799
3785
  },
3800
- set(l$1) {
3801
- typeof l$1 != "function" && !isObject(l$1) && (l$1 = null);
3786
+ set(l) {
3787
+ typeof l != "function" && !isObject(l) && (l = null);
3802
3788
  const d = getListeners(this);
3803
3789
  let g = null, b = d.get(c);
3804
3790
  for (; b != null;) b.listenerType === ATTRIBUTE ? g !== null ? g.next = b.next : b.next !== null ? d.set(c, b.next) : d.delete(c) : g = b, b = b.next;
3805
- if (l$1 !== null) {
3791
+ if (l !== null) {
3806
3792
  const R = {
3807
- listener: l$1,
3793
+ listener: l,
3808
3794
  listenerType: ATTRIBUTE,
3809
3795
  passive: !1,
3810
3796
  once: !1,
@@ -3818,21 +3804,21 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3818
3804
  };
3819
3805
  }
3820
3806
  u(defineEventAttributeDescriptor, "defineEventAttributeDescriptor");
3821
- function defineEventAttribute(c, l$1) {
3822
- Object.defineProperty(c, `on${l$1}`, defineEventAttributeDescriptor(l$1));
3807
+ function defineEventAttribute(c, l) {
3808
+ Object.defineProperty(c, `on${l}`, defineEventAttributeDescriptor(l));
3823
3809
  }
3824
3810
  u(defineEventAttribute, "defineEventAttribute");
3825
3811
  function defineCustomEventTarget(c) {
3826
- function l$1() {
3812
+ function l() {
3827
3813
  EventTarget.call(this);
3828
3814
  }
3829
- u(l$1, "CustomEventTarget"), l$1.prototype = Object.create(EventTarget.prototype, { constructor: {
3830
- value: l$1,
3815
+ u(l, "CustomEventTarget"), l.prototype = Object.create(EventTarget.prototype, { constructor: {
3816
+ value: l,
3831
3817
  configurable: !0,
3832
3818
  writable: !0
3833
3819
  } });
3834
- for (let d = 0; d < c.length; ++d) defineEventAttribute(l$1.prototype, c[d]);
3835
- return l$1;
3820
+ for (let d = 0; d < c.length; ++d) defineEventAttribute(l.prototype, c[d]);
3821
+ return l;
3836
3822
  }
3837
3823
  u(defineCustomEventTarget, "defineCustomEventTarget");
3838
3824
  function EventTarget() {
@@ -3843,17 +3829,17 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3843
3829
  if (arguments.length === 1 && Array.isArray(arguments[0])) return defineCustomEventTarget(arguments[0]);
3844
3830
  if (arguments.length > 0) {
3845
3831
  const c = new Array(arguments.length);
3846
- for (let l$1 = 0; l$1 < arguments.length; ++l$1) c[l$1] = arguments[l$1];
3832
+ for (let l = 0; l < arguments.length; ++l) c[l] = arguments[l];
3847
3833
  return defineCustomEventTarget(c);
3848
3834
  }
3849
3835
  throw new TypeError("Cannot call a class as a function");
3850
3836
  }
3851
3837
  u(EventTarget, "EventTarget"), EventTarget.prototype = {
3852
- addEventListener(c, l$1, d) {
3853
- if (l$1 == null) return;
3854
- if (typeof l$1 != "function" && !isObject(l$1)) throw new TypeError("'listener' should be a function or an object.");
3838
+ addEventListener(c, l, d) {
3839
+ if (l == null) return;
3840
+ if (typeof l != "function" && !isObject(l)) throw new TypeError("'listener' should be a function or an object.");
3855
3841
  const g = getListeners(this), b = isObject(d), w = (b ? !!d.capture : !!d) ? CAPTURE : BUBBLE, A = {
3856
- listener: l$1,
3842
+ listener: l,
3857
3843
  listenerType: w,
3858
3844
  passive: b && !!d.passive,
3859
3845
  once: b && !!d.once,
@@ -3866,17 +3852,17 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3866
3852
  }
3867
3853
  let B = null;
3868
3854
  for (; z != null;) {
3869
- if (z.listener === l$1 && z.listenerType === w) return;
3855
+ if (z.listener === l && z.listenerType === w) return;
3870
3856
  B = z, z = z.next;
3871
3857
  }
3872
3858
  B.next = A;
3873
3859
  },
3874
- removeEventListener(c, l$1, d) {
3875
- if (l$1 == null) return;
3860
+ removeEventListener(c, l, d) {
3861
+ if (l == null) return;
3876
3862
  const g = getListeners(this), R = (isObject(d) ? !!d.capture : !!d) ? CAPTURE : BUBBLE;
3877
3863
  let w = null, A = g.get(c);
3878
3864
  for (; A != null;) {
3879
- if (A.listener === l$1 && A.listenerType === R) {
3865
+ if (A.listener === l && A.listenerType === R) {
3880
3866
  w !== null ? w.next = A.next : A.next !== null ? g.set(c, A.next) : g.delete(c);
3881
3867
  return;
3882
3868
  }
@@ -3885,13 +3871,13 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3885
3871
  },
3886
3872
  dispatchEvent(c) {
3887
3873
  if (c == null || typeof c.type != "string") throw new TypeError("\"event.type\" should be a string.");
3888
- const l$1 = getListeners(this), d = c.type;
3889
- let g = l$1.get(d);
3874
+ const l = getListeners(this), d = c.type;
3875
+ let g = l.get(d);
3890
3876
  if (g == null) return !0;
3891
3877
  const b = wrapEvent(this, c);
3892
3878
  let R = null;
3893
3879
  for (; g != null;) {
3894
- if (g.once ? R !== null ? R.next = g.next : g.next !== null ? l$1.set(d, g.next) : l$1.delete(d) : R = g, setPassiveListener(b, g.passive ? g.listener : null), typeof g.listener == "function") try {
3880
+ if (g.once ? R !== null ? R.next = g.next : g.next !== null ? l.set(d, g.next) : l.delete(d) : R = g, setPassiveListener(b, g.passive ? g.listener : null), typeof g.listener == "function") try {
3895
3881
  g.listener.call(this, b);
3896
3882
  } catch (w) {
3897
3883
  typeof console < "u" && typeof console.error == "function" && console.error(w);
@@ -3912,9 +3898,9 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3912
3898
  throw super(), /* @__PURE__ */ new TypeError("AbortSignal cannot be constructed directly");
3913
3899
  }
3914
3900
  get aborted() {
3915
- const l$1 = abortedFlags.get(this);
3916
- if (typeof l$1 != "boolean") throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this === null ? "null" : typeof this}`);
3917
- return l$1;
3901
+ const l = abortedFlags.get(this);
3902
+ if (typeof l != "boolean") throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this === null ? "null" : typeof this}`);
3903
+ return l;
3918
3904
  }
3919
3905
  };
3920
3906
  u(an, "AbortSignal");
@@ -3947,9 +3933,9 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3947
3933
  }, u(at, "AbortController"), at);
3948
3934
  const signals = /* @__PURE__ */ new WeakMap();
3949
3935
  function getSignal(c) {
3950
- const l$1 = signals.get(c);
3951
- if (l$1 == null) throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${c === null ? "null" : typeof c}`);
3952
- return l$1;
3936
+ const l = signals.get(c);
3937
+ if (l == null) throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${c === null ? "null" : typeof c}`);
3938
+ return l;
3953
3939
  }
3954
3940
  u(getSignal, "getSignal"), Object.defineProperties(AbortController$1.prototype, {
3955
3941
  signal: { enumerable: !0 },
@@ -3958,8 +3944,8 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3958
3944
  configurable: !0,
3959
3945
  value: "AbortController"
3960
3946
  });
3961
- var t = Object.defineProperty, e = u((c, l$1) => t(c, "name", {
3962
- value: l$1,
3947
+ var t = Object.defineProperty, e = u((c, l) => t(c, "name", {
3948
+ value: l,
3963
3949
  configurable: !0
3964
3950
  }), "e");
3965
3951
  const fetch = fetch$1;
@@ -3971,5 +3957,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3971
3957
  }));
3972
3958
 
3973
3959
  //#endregion
3974
- export { require_node_fetch_native_DhEqb06g as n, require_node as t };
3975
- //# sourceMappingURL=node-D9MigVDD.mjs.map
3960
+ export default require_node();
3961
+
3962
+ export { require_node };
3963
+ //# sourceMappingURL=node.mjs.map