@e-llm-studio/citation 0.0.86 → 0.0.87

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 (219) hide show
  1. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +1 -1
  2. package/dist/cjs/features/Bookemon/Bookemon.js +1 -1
  3. package/dist/features/Bookemon/BookPreview/BookPreview.js +1 -1
  4. package/dist/features/Bookemon/Bookemon.js +1 -1
  5. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -1
  6. package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +1 -1
  7. package/package.json +156 -156
  8. package/dist/_virtual/browser.js +0 -2
  9. package/dist/_virtual/browser.js.map +0 -1
  10. package/dist/_virtual/form_data.js +0 -2
  11. package/dist/_virtual/form_data.js.map +0 -1
  12. package/dist/_virtual/index14.js +0 -2
  13. package/dist/_virtual/index14.js.map +0 -1
  14. package/dist/_virtual/index15.js +0 -2
  15. package/dist/_virtual/index15.js.map +0 -1
  16. package/dist/_virtual/index16.js +0 -2
  17. package/dist/_virtual/index16.js.map +0 -1
  18. package/dist/_virtual/index17.js +0 -2
  19. package/dist/_virtual/index17.js.map +0 -1
  20. package/dist/_virtual/index18.js +0 -2
  21. package/dist/_virtual/index18.js.map +0 -1
  22. package/dist/_virtual/index19.js +0 -2
  23. package/dist/_virtual/index19.js.map +0 -1
  24. package/dist/_virtual/node.js +0 -2
  25. package/dist/_virtual/node.js.map +0 -1
  26. package/dist/_virtual/serialOrdered.js +0 -2
  27. package/dist/_virtual/serialOrdered.js.map +0 -1
  28. package/dist/cjs/_virtual/browser.js +0 -2
  29. package/dist/cjs/_virtual/browser.js.map +0 -1
  30. package/dist/cjs/_virtual/form_data.js +0 -2
  31. package/dist/cjs/_virtual/form_data.js.map +0 -1
  32. package/dist/cjs/_virtual/index14.js +0 -2
  33. package/dist/cjs/_virtual/index14.js.map +0 -1
  34. package/dist/cjs/_virtual/index15.js +0 -2
  35. package/dist/cjs/_virtual/index15.js.map +0 -1
  36. package/dist/cjs/_virtual/index16.js +0 -2
  37. package/dist/cjs/_virtual/index16.js.map +0 -1
  38. package/dist/cjs/_virtual/index17.js +0 -2
  39. package/dist/cjs/_virtual/index17.js.map +0 -1
  40. package/dist/cjs/_virtual/index18.js +0 -2
  41. package/dist/cjs/_virtual/index18.js.map +0 -1
  42. package/dist/cjs/_virtual/index19.js +0 -2
  43. package/dist/cjs/_virtual/index19.js.map +0 -1
  44. package/dist/cjs/_virtual/node.js +0 -2
  45. package/dist/cjs/_virtual/node.js.map +0 -1
  46. package/dist/cjs/_virtual/serialOrdered.js +0 -2
  47. package/dist/cjs/_virtual/serialOrdered.js.map +0 -1
  48. package/dist/cjs/node_modules/asynckit/index.js +0 -2
  49. package/dist/cjs/node_modules/asynckit/index.js.map +0 -1
  50. package/dist/cjs/node_modules/asynckit/lib/abort.js +0 -2
  51. package/dist/cjs/node_modules/asynckit/lib/abort.js.map +0 -1
  52. package/dist/cjs/node_modules/asynckit/lib/async.js +0 -2
  53. package/dist/cjs/node_modules/asynckit/lib/async.js.map +0 -1
  54. package/dist/cjs/node_modules/asynckit/lib/defer.js +0 -2
  55. package/dist/cjs/node_modules/asynckit/lib/defer.js.map +0 -1
  56. package/dist/cjs/node_modules/asynckit/lib/iterate.js +0 -2
  57. package/dist/cjs/node_modules/asynckit/lib/iterate.js.map +0 -1
  58. package/dist/cjs/node_modules/asynckit/lib/state.js +0 -2
  59. package/dist/cjs/node_modules/asynckit/lib/state.js.map +0 -1
  60. package/dist/cjs/node_modules/asynckit/lib/terminator.js +0 -2
  61. package/dist/cjs/node_modules/asynckit/lib/terminator.js.map +0 -1
  62. package/dist/cjs/node_modules/asynckit/parallel.js +0 -2
  63. package/dist/cjs/node_modules/asynckit/parallel.js.map +0 -1
  64. package/dist/cjs/node_modules/asynckit/serial.js +0 -2
  65. package/dist/cjs/node_modules/asynckit/serial.js.map +0 -1
  66. package/dist/cjs/node_modules/asynckit/serialOrdered.js +0 -2
  67. package/dist/cjs/node_modules/asynckit/serialOrdered.js.map +0 -1
  68. package/dist/cjs/node_modules/axios/lib/adapters/http.js +0 -2
  69. package/dist/cjs/node_modules/axios/lib/adapters/http.js.map +0 -1
  70. package/dist/cjs/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -2
  71. package/dist/cjs/node_modules/axios/lib/helpers/AxiosTransformStream.js.map +0 -1
  72. package/dist/cjs/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -2
  73. package/dist/cjs/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js.map +0 -1
  74. package/dist/cjs/node_modules/axios/lib/helpers/callbackify.js +0 -2
  75. package/dist/cjs/node_modules/axios/lib/helpers/callbackify.js.map +0 -1
  76. package/dist/cjs/node_modules/axios/lib/helpers/formDataToStream.js +0 -2
  77. package/dist/cjs/node_modules/axios/lib/helpers/formDataToStream.js.map +0 -1
  78. package/dist/cjs/node_modules/axios/lib/helpers/fromDataURI.js +0 -2
  79. package/dist/cjs/node_modules/axios/lib/helpers/fromDataURI.js.map +0 -1
  80. package/dist/cjs/node_modules/axios/lib/helpers/readBlob.js +0 -2
  81. package/dist/cjs/node_modules/axios/lib/helpers/readBlob.js.map +0 -1
  82. package/dist/cjs/node_modules/axios/lib/platform/node/classes/FormData.js +0 -2
  83. package/dist/cjs/node_modules/axios/lib/platform/node/classes/FormData.js.map +0 -1
  84. package/dist/cjs/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -2
  85. package/dist/cjs/node_modules/axios/lib/platform/node/classes/URLSearchParams.js.map +0 -1
  86. package/dist/cjs/node_modules/axios/lib/platform/node/index.js +0 -2
  87. package/dist/cjs/node_modules/axios/lib/platform/node/index.js.map +0 -1
  88. package/dist/cjs/node_modules/combined-stream/lib/combined_stream.js +0 -2
  89. package/dist/cjs/node_modules/combined-stream/lib/combined_stream.js.map +0 -1
  90. package/dist/cjs/node_modules/debug/src/browser.js +0 -2
  91. package/dist/cjs/node_modules/debug/src/browser.js.map +0 -1
  92. package/dist/cjs/node_modules/debug/src/common.js +0 -2
  93. package/dist/cjs/node_modules/debug/src/common.js.map +0 -1
  94. package/dist/cjs/node_modules/debug/src/index.js +0 -2
  95. package/dist/cjs/node_modules/debug/src/index.js.map +0 -1
  96. package/dist/cjs/node_modules/debug/src/node.js +0 -2
  97. package/dist/cjs/node_modules/debug/src/node.js.map +0 -1
  98. package/dist/cjs/node_modules/decode-named-character-reference/index.js +0 -2
  99. package/dist/cjs/node_modules/decode-named-character-reference/index.js.map +0 -1
  100. package/dist/cjs/node_modules/decode-named-character-reference/node_modules/character-entities/index.js +0 -2
  101. package/dist/cjs/node_modules/decode-named-character-reference/node_modules/character-entities/index.js.map +0 -1
  102. package/dist/cjs/node_modules/delayed-stream/lib/delayed_stream.js +0 -2
  103. package/dist/cjs/node_modules/delayed-stream/lib/delayed_stream.js.map +0 -1
  104. package/dist/cjs/node_modules/follow-redirects/debug.js +0 -2
  105. package/dist/cjs/node_modules/follow-redirects/debug.js.map +0 -1
  106. package/dist/cjs/node_modules/follow-redirects/index.js +0 -2
  107. package/dist/cjs/node_modules/follow-redirects/index.js.map +0 -1
  108. package/dist/cjs/node_modules/form-data/lib/form_data.js +0 -2
  109. package/dist/cjs/node_modules/form-data/lib/form_data.js.map +0 -1
  110. package/dist/cjs/node_modules/form-data/lib/populate.js +0 -2
  111. package/dist/cjs/node_modules/form-data/lib/populate.js.map +0 -1
  112. package/dist/cjs/node_modules/has-flag/index.js +0 -2
  113. package/dist/cjs/node_modules/has-flag/index.js.map +0 -1
  114. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.js +0 -2
  115. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
  116. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.js +0 -2
  117. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
  118. package/dist/cjs/node_modules/mime-db/db.json.js +0 -2
  119. package/dist/cjs/node_modules/mime-db/db.json.js.map +0 -1
  120. package/dist/cjs/node_modules/mime-db/index.js +0 -8
  121. package/dist/cjs/node_modules/mime-db/index.js.map +0 -1
  122. package/dist/cjs/node_modules/mime-types/index.js +0 -8
  123. package/dist/cjs/node_modules/mime-types/index.js.map +0 -1
  124. package/dist/cjs/node_modules/ms/index.js +0 -2
  125. package/dist/cjs/node_modules/ms/index.js.map +0 -1
  126. package/dist/cjs/node_modules/proxy-from-env/index.js +0 -2
  127. package/dist/cjs/node_modules/proxy-from-env/index.js.map +0 -1
  128. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.js +0 -2
  129. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
  130. package/dist/cjs/node_modules/react-resizable-panels/dist/react-resizable-panels.js +0 -2
  131. package/dist/cjs/node_modules/react-resizable-panels/dist/react-resizable-panels.js.map +0 -1
  132. package/dist/cjs/node_modules/supports-color/index.js +0 -2
  133. package/dist/cjs/node_modules/supports-color/index.js.map +0 -1
  134. package/dist/node_modules/asynckit/index.js +0 -2
  135. package/dist/node_modules/asynckit/index.js.map +0 -1
  136. package/dist/node_modules/asynckit/lib/abort.js +0 -2
  137. package/dist/node_modules/asynckit/lib/abort.js.map +0 -1
  138. package/dist/node_modules/asynckit/lib/async.js +0 -2
  139. package/dist/node_modules/asynckit/lib/async.js.map +0 -1
  140. package/dist/node_modules/asynckit/lib/defer.js +0 -2
  141. package/dist/node_modules/asynckit/lib/defer.js.map +0 -1
  142. package/dist/node_modules/asynckit/lib/iterate.js +0 -2
  143. package/dist/node_modules/asynckit/lib/iterate.js.map +0 -1
  144. package/dist/node_modules/asynckit/lib/state.js +0 -2
  145. package/dist/node_modules/asynckit/lib/state.js.map +0 -1
  146. package/dist/node_modules/asynckit/lib/terminator.js +0 -2
  147. package/dist/node_modules/asynckit/lib/terminator.js.map +0 -1
  148. package/dist/node_modules/asynckit/parallel.js +0 -2
  149. package/dist/node_modules/asynckit/parallel.js.map +0 -1
  150. package/dist/node_modules/asynckit/serial.js +0 -2
  151. package/dist/node_modules/asynckit/serial.js.map +0 -1
  152. package/dist/node_modules/asynckit/serialOrdered.js +0 -2
  153. package/dist/node_modules/asynckit/serialOrdered.js.map +0 -1
  154. package/dist/node_modules/axios/lib/adapters/http.js +0 -2
  155. package/dist/node_modules/axios/lib/adapters/http.js.map +0 -1
  156. package/dist/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -2
  157. package/dist/node_modules/axios/lib/helpers/AxiosTransformStream.js.map +0 -1
  158. package/dist/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -2
  159. package/dist/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js.map +0 -1
  160. package/dist/node_modules/axios/lib/helpers/callbackify.js +0 -2
  161. package/dist/node_modules/axios/lib/helpers/callbackify.js.map +0 -1
  162. package/dist/node_modules/axios/lib/helpers/formDataToStream.js +0 -2
  163. package/dist/node_modules/axios/lib/helpers/formDataToStream.js.map +0 -1
  164. package/dist/node_modules/axios/lib/helpers/fromDataURI.js +0 -2
  165. package/dist/node_modules/axios/lib/helpers/fromDataURI.js.map +0 -1
  166. package/dist/node_modules/axios/lib/helpers/readBlob.js +0 -2
  167. package/dist/node_modules/axios/lib/helpers/readBlob.js.map +0 -1
  168. package/dist/node_modules/axios/lib/platform/node/classes/FormData.js +0 -2
  169. package/dist/node_modules/axios/lib/platform/node/classes/FormData.js.map +0 -1
  170. package/dist/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -2
  171. package/dist/node_modules/axios/lib/platform/node/classes/URLSearchParams.js.map +0 -1
  172. package/dist/node_modules/axios/lib/platform/node/index.js +0 -2
  173. package/dist/node_modules/axios/lib/platform/node/index.js.map +0 -1
  174. package/dist/node_modules/combined-stream/lib/combined_stream.js +0 -2
  175. package/dist/node_modules/combined-stream/lib/combined_stream.js.map +0 -1
  176. package/dist/node_modules/debug/src/browser.js +0 -2
  177. package/dist/node_modules/debug/src/browser.js.map +0 -1
  178. package/dist/node_modules/debug/src/common.js +0 -2
  179. package/dist/node_modules/debug/src/common.js.map +0 -1
  180. package/dist/node_modules/debug/src/index.js +0 -2
  181. package/dist/node_modules/debug/src/index.js.map +0 -1
  182. package/dist/node_modules/debug/src/node.js +0 -2
  183. package/dist/node_modules/debug/src/node.js.map +0 -1
  184. package/dist/node_modules/decode-named-character-reference/index.js +0 -2
  185. package/dist/node_modules/decode-named-character-reference/index.js.map +0 -1
  186. package/dist/node_modules/decode-named-character-reference/node_modules/character-entities/index.js +0 -2
  187. package/dist/node_modules/decode-named-character-reference/node_modules/character-entities/index.js.map +0 -1
  188. package/dist/node_modules/delayed-stream/lib/delayed_stream.js +0 -2
  189. package/dist/node_modules/delayed-stream/lib/delayed_stream.js.map +0 -1
  190. package/dist/node_modules/follow-redirects/debug.js +0 -2
  191. package/dist/node_modules/follow-redirects/debug.js.map +0 -1
  192. package/dist/node_modules/follow-redirects/index.js +0 -2
  193. package/dist/node_modules/follow-redirects/index.js.map +0 -1
  194. package/dist/node_modules/form-data/lib/form_data.js +0 -2
  195. package/dist/node_modules/form-data/lib/form_data.js.map +0 -1
  196. package/dist/node_modules/form-data/lib/populate.js +0 -2
  197. package/dist/node_modules/form-data/lib/populate.js.map +0 -1
  198. package/dist/node_modules/has-flag/index.js +0 -2
  199. package/dist/node_modules/has-flag/index.js.map +0 -1
  200. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.js +0 -2
  201. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
  202. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.js +0 -2
  203. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
  204. package/dist/node_modules/mime-db/db.json.js +0 -2
  205. package/dist/node_modules/mime-db/db.json.js.map +0 -1
  206. package/dist/node_modules/mime-db/index.js +0 -8
  207. package/dist/node_modules/mime-db/index.js.map +0 -1
  208. package/dist/node_modules/mime-types/index.js +0 -8
  209. package/dist/node_modules/mime-types/index.js.map +0 -1
  210. package/dist/node_modules/ms/index.js +0 -2
  211. package/dist/node_modules/ms/index.js.map +0 -1
  212. package/dist/node_modules/proxy-from-env/index.js +0 -2
  213. package/dist/node_modules/proxy-from-env/index.js.map +0 -1
  214. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.js +0 -2
  215. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
  216. package/dist/node_modules/react-resizable-panels/dist/react-resizable-panels.js +0 -2
  217. package/dist/node_modules/react-resizable-panels/dist/react-resizable-panels.js.map +0 -1
  218. package/dist/node_modules/supports-color/index.js +0 -2
  219. package/dist/node_modules/supports-color/index.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"serialOrdered.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.__module={exports:{}};
2
- //# sourceMappingURL=browser.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"browser.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./_commonjsHelpers.js"),r=require("../node_modules/form-data/lib/form_data.js").__require(),o=e.getDefaultExportFromCjs(r);exports.default=o;
2
- //# sourceMappingURL=form_data.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form_data.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.__exports={};
2
- //# sourceMappingURL=index14.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index14.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.__module={exports:{}};
2
- //# sourceMappingURL=index15.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index15.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.__exports={};
2
- //# sourceMappingURL=index16.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index16.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.__module={exports:{}};
2
- //# sourceMappingURL=index17.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index17.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./_commonjsHelpers.js"),r=require("../node_modules/style-to-object/index.js").__require(),t=e.getDefaultExportFromCjs(r);exports.default=t;
2
- //# sourceMappingURL=index18.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index18.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.__module={exports:{}};
2
- //# sourceMappingURL=index19.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index19.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.__module={exports:{}};
2
- //# sourceMappingURL=node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.__module={exports:{}};
2
- //# sourceMappingURL=serialOrdered.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"serialOrdered.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r,i=require("./parallel.js"),l=require("./serial.js"),s=require("./serialOrdered.js");exports.__require=function(){return r?e:(r=1,e={parallel:i.__require(),serial:l.__require(),serialOrdered:s.__require()})};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../node_modules/asynckit/index.js"],"sourcesContent":["module.exports =\n{\n parallel : require('./parallel.js'),\n serial : require('./serial.js'),\n serialOrdered : require('./serialOrdered.js')\n};\n"],"names":["asynckit","parallel","require$$0","serial","require$$1","serialOrdered","require$$2"],"mappings":"6MAAcA,EACd,CACEC,SAAgBC,EAAAA,YAChBC,OAAgBC,EAAAA,YAChBC,cAAgBC,EAAAA"}
@@ -1,2 +0,0 @@
1
- "use strict";var e,t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.__require=function(){if(t)return e;function o(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}return t=1,e=function(e){Object.keys(e.jobs).forEach(o.bind(e)),e.jobs={}}};
2
- //# sourceMappingURL=abort.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"abort.js","sources":["../../../../../node_modules/asynckit/lib/abort.js"],"sourcesContent":["// API\nmodule.exports = abort;\n\n/**\n * Aborts leftover active jobs\n *\n * @param {object} state - current state object\n */\nfunction abort(state)\n{\n Object.keys(state.jobs).forEach(clean.bind(state));\n\n // reset leftover jobs\n state.jobs = {};\n}\n\n/**\n * Cleans up leftover job by invoking abort function for the provided job id\n *\n * @this state\n * @param {string|number} key - job id to abort\n */\nfunction clean(key)\n{\n if (typeof this.jobs[key] == 'function')\n {\n this.jobs[key]();\n }\n}\n"],"names":["clean","key","this","jobs","abort_1","state","Object","keys","forEach","bind"],"mappings":"uHAsBA,SAASA,EAAMC,GAEgB,mBAAlBC,KAAKC,KAAKF,IAEnBC,KAAKC,KAAKF,IAEd,YA3BAG,EAOA,SAAeC,GAEbC,OAAOC,KAAKF,EAAMF,MAAMK,QAAQR,EAAMS,KAAKJ,IAG3CA,EAAMF,KAAO,EACf"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r,n=require("./defer.js");exports.__require=function(){if(r)return e;r=1;var t=n.__require();return e=function(e){var r=!1;return t((function(){r=!0})),function(n,u){r?e(n,u):t((function(){e(n,u)}))}}};
2
- //# sourceMappingURL=async.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"async.js","sources":["../../../../../node_modules/asynckit/lib/async.js"],"sourcesContent":["var defer = require('./defer.js');\n\n// API\nmodule.exports = async;\n\n/**\n * Runs provided callback asynchronously\n * even if callback itself is not\n *\n * @param {function} callback - callback to invoke\n * @returns {function} - augmented callback\n */\nfunction async(callback)\n{\n var isAsync = false;\n\n // check if async happened\n defer(function() { isAsync = true; });\n\n return function async_callback(err, result)\n {\n if (isAsync)\n {\n callback(err, result);\n }\n else\n {\n defer(function nextTick_callback()\n {\n callback(err, result);\n });\n }\n };\n}\n"],"names":["defer","require$$0","async_1","callback","isAsync","err","result"],"mappings":"mJAAA,IAAIA,EAAQC,EAAAA,mBAGZC,EASA,SAAeC,GAEb,IAAIC,GAAU,EAKd,OAFAJ,GAAM,WAAaI,GAAU,CAAO,IAE7B,SAAwBC,EAAKC,GAE9BF,EAEFD,EAASE,EAAKC,GAIdN,GAAM,WAEJG,EAASE,EAAKC,EACtB,IAGA"}
@@ -1,2 +0,0 @@
1
- "use strict";var e,t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.__require=function(){return t?e:(t=1,e=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)})};
2
- //# sourceMappingURL=defer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defer.js","sources":["../../../../../node_modules/asynckit/lib/defer.js"],"sourcesContent":["module.exports = defer;\n\n/**\n * Runs provided function on next iteration of the event loop\n *\n * @param {function} fn - function to run\n */\nfunction defer(fn)\n{\n var nextTick = typeof setImmediate == 'function'\n ? setImmediate\n : (\n typeof process == 'object' && typeof process.nextTick == 'function'\n ? process.nextTick\n : null\n );\n\n if (nextTick)\n {\n nextTick(fn);\n }\n else\n {\n setTimeout(fn, 0);\n }\n}\n"],"names":["defer_1","fn","nextTick","setImmediate","process","setTimeout"],"mappings":"yHAAAA,EAOA,SAAeC,GAEb,IAAIC,EAAkC,mBAAhBC,aAClBA,aAEkB,iBAAXC,SAAkD,mBAApBA,QAAQF,SAC3CE,QAAQF,SACR,KAGFA,EAEFA,EAASD,GAITI,WAAWJ,EAAI,EAEnB"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r,t=require("./async.js"),i=require("./abort.js");exports.__require=function(){if(r)return e;r=1;var n=t.__require(),s=i.__require();return e=function(e,r,t,i){var u=t.keyedList?t.keyedList[t.index]:t.index;t.jobs[u]=function(e,r,t,i){var s;s=2==e.length?e(t,n(i)):e(t,r,n(i));return s}(r,u,e[u],(function(e,r){u in t.jobs&&(delete t.jobs[u],e?s(t):t.results[u]=r,i(e,t.results))}))}};
2
- //# sourceMappingURL=iterate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"iterate.js","sources":["../../../../../node_modules/asynckit/lib/iterate.js"],"sourcesContent":["var async = require('./async.js')\n , abort = require('./abort.js')\n ;\n\n// API\nmodule.exports = iterate;\n\n/**\n * Iterates over each job object\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {object} state - current job status\n * @param {function} callback - invoked when all elements processed\n */\nfunction iterate(list, iterator, state, callback)\n{\n // store current index\n var key = state['keyedList'] ? state['keyedList'][state.index] : state.index;\n\n state.jobs[key] = runJob(iterator, key, list[key], function(error, output)\n {\n // don't repeat yourself\n // skip secondary callbacks\n if (!(key in state.jobs))\n {\n return;\n }\n\n // clean up jobs\n delete state.jobs[key];\n\n if (error)\n {\n // don't process rest of the results\n // stop still active jobs\n // and reset the list\n abort(state);\n }\n else\n {\n state.results[key] = output;\n }\n\n // return salvaged results\n callback(error, state.results);\n });\n}\n\n/**\n * Runs iterator over provided job element\n *\n * @param {function} iterator - iterator to invoke\n * @param {string|number} key - key/index of the element in the list of jobs\n * @param {mixed} item - job description\n * @param {function} callback - invoked after iterator is done with the job\n * @returns {function|mixed} - job abort function or something else\n */\nfunction runJob(iterator, key, item, callback)\n{\n var aborter;\n\n // allow shortcut if iterator expects only two arguments\n if (iterator.length == 2)\n {\n aborter = iterator(item, async(callback));\n }\n // otherwise go with full three arguments\n else\n {\n aborter = iterator(item, key, async(callback));\n }\n\n return aborter;\n}\n"],"names":["async","require$$0","abort","require$$1","iterate_1","list","iterator","state","callback","key","index","jobs","item","aborter","length","runJob","error","output","results"],"mappings":"2KAAA,IAAIA,EAAQC,EAAAA,YACRC,EAAQC,EAAAA,mBAIZC,EAUA,SAAiBC,EAAMC,EAAUC,EAAOC,GAGtC,IAAIC,EAAMF,EAAiB,UAAIA,EAAiB,UAAEA,EAAMG,OAASH,EAAMG,MAEvEH,EAAMI,KAAKF,GAsCb,SAAgBH,EAAUG,EAAKG,EAAMJ,GAEnC,IAAIK,EAKFA,EAFqB,GAAnBP,EAASQ,OAEDR,EAASM,EAAMZ,EAAMQ,IAKrBF,EAASM,EAAMH,EAAKT,EAAMQ,IAGtC,OAAOK,CACT,CAtDoBE,CAAOT,EAAUG,EAAKJ,EAAKI,IAAM,SAASO,EAAOC,GAI3DR,KAAOF,EAAMI,cAMZJ,EAAMI,KAAKF,GAEdO,EAKFd,EAAMK,GAINA,EAAMW,QAAQT,GAAOQ,EAIvBT,EAASQ,EAAOT,EAAMW,SAC1B,GACA"}
@@ -1,2 +0,0 @@
1
- "use strict";var e,r;Object.defineProperty(exports,"__esModule",{value:!0}),exports.__require=function(){return r?e:(r=1,e=function(e,r){var t=!Array.isArray(e),s={index:0,keyedList:t||r?Object.keys(e):null,jobs:{},results:t?{}:[],size:t?Object.keys(e).length:e.length};r&&s.keyedList.sort(t?r:function(t,s){return r(e[t],e[s])});return s})};
2
- //# sourceMappingURL=state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sources":["../../../../../node_modules/asynckit/lib/state.js"],"sourcesContent":["// API\nmodule.exports = state;\n\n/**\n * Creates initial state object\n * for iteration over list\n *\n * @param {array|object} list - list to iterate over\n * @param {function|null} sortMethod - function to use for keys sort,\n * or `null` to keep them as is\n * @returns {object} - initial state object\n */\nfunction state(list, sortMethod)\n{\n var isNamedList = !Array.isArray(list)\n , initState =\n {\n index : 0,\n keyedList: isNamedList || sortMethod ? Object.keys(list) : null,\n jobs : {},\n results : isNamedList ? {} : [],\n size : isNamedList ? Object.keys(list).length : list.length\n }\n ;\n\n if (sortMethod)\n {\n // sort array keys based on it's values\n // sort object's keys just on own merit\n initState.keyedList.sort(isNamedList ? sortMethod : function(a, b)\n {\n return sortMethod(list[a], list[b]);\n });\n }\n\n return initState;\n}\n"],"names":["state_1","list","sortMethod","isNamedList","Array","isArray","initState","index","keyedList","Object","keys","jobs","results","size","length","sort","a","b"],"mappings":"yHACAA,EAWA,SAAeC,EAAMC,GAEnB,IAAIC,GAAeC,MAAMC,QAAQJ,GAC7BK,EACF,CACEC,MAAW,EACXC,UAAWL,GAAeD,EAAaO,OAAOC,KAAKT,GAAQ,KAC3DU,KAAW,CAAE,EACbC,QAAWT,EAAc,CAAA,EAAK,GAC9BU,KAAWV,EAAcM,OAAOC,KAAKT,GAAMa,OAASb,EAAKa,QAIzDZ,GAIFI,EAAUE,UAAUO,KAAKZ,EAAcD,EAAa,SAASc,EAAGC,GAE9D,OAAOf,EAAWD,EAAKe,GAAIf,EAAKgB,GACtC,GAGE,OAAOX,CACT"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r,t=require("./abort.js"),i=require("./async.js");exports.__require=function(){if(r)return e;r=1;var s=t.__require(),u=i.__require();return e=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,s(this),u(e)(null,this.results)}};
2
- //# sourceMappingURL=terminator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"terminator.js","sources":["../../../../../node_modules/asynckit/lib/terminator.js"],"sourcesContent":["var abort = require('./abort.js')\n , async = require('./async.js')\n ;\n\n// API\nmodule.exports = terminator;\n\n/**\n * Terminates jobs in the attached state context\n *\n * @this AsyncKitState#\n * @param {function} callback - final callback to invoke after termination\n */\nfunction terminator(callback)\n{\n if (!Object.keys(this.jobs).length)\n {\n return;\n }\n\n // fast forward iteration index\n this.index = this.size;\n\n // abort jobs\n abort(this);\n\n // send back results we have so far\n async(callback)(null, this.results);\n}\n"],"names":["abort","require$$0","async","require$$1","terminator_1","callback","Object","keys","this","jobs","length","index","size","results"],"mappings":"2KAAA,IAAIA,EAAQC,EAAAA,YACRC,EAAQC,EAAAA,mBAIZC,EAQA,SAAoBC,GAElB,IAAKC,OAAOC,KAAKC,KAAKC,MAAMC,OAE1B,OAIFF,KAAKG,MAAQH,KAAKI,KAGlBZ,EAAMQ,MAGNN,EAAMG,EAANH,CAAgB,KAAMM,KAAKK,QAC7B"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r,t=require("./lib/iterate.js"),i=require("./lib/state.js"),u=require("./lib/terminator.js");exports.__require=function(){if(r)return e;r=1;var n=t.__require(),s=i.__require(),l=u.__require();return e=function(e,r,t){var i=s(e);for(;i.index<(i.keyedList||e).length;)n(e,r,i,(function(e,r){e?t(e,r):0!==Object.keys(i.jobs).length||t(null,i.results)})),i.index++;return l.bind(i,t)},e};
2
- //# sourceMappingURL=parallel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parallel.js","sources":["../../../../node_modules/asynckit/parallel.js"],"sourcesContent":["var iterate = require('./lib/iterate.js')\n , initState = require('./lib/state.js')\n , terminator = require('./lib/terminator.js')\n ;\n\n// Public API\nmodule.exports = parallel;\n\n/**\n * Runs iterator over provided array elements in parallel\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction parallel(list, iterator, callback)\n{\n var state = initState(list);\n\n while (state.index < (state['keyedList'] || list).length)\n {\n iterate(list, iterator, state, function(error, result)\n {\n if (error)\n {\n callback(error, result);\n return;\n }\n\n // looks like it's the last one\n if (Object.keys(state.jobs).length === 0)\n {\n callback(null, state.results);\n return;\n }\n });\n\n state.index++;\n }\n\n return terminator.bind(state, callback);\n}\n"],"names":["iterate","require$$0","initState","require$$1","terminator","require$$2","parallel_1","list","iterator","callback","state","index","length","error","result","Object","keys","jobs","results","bind"],"mappings":"sNAAA,IAAIA,EAAaC,EAAAA,YACbC,EAAaC,EAAAA,YACbC,EAAaC,EAAAA,mBAIjBC,EAUA,SAAkBC,EAAMC,EAAUC,GAEhC,IAAIC,EAAQR,EAAUK,GAEtB,KAAOG,EAAMC,OAASD,EAAiB,WAAKH,GAAMK,QAEhDZ,EAAQO,EAAMC,EAAUE,GAAO,SAASG,EAAOC,GAEzCD,EAEFJ,EAASI,EAAOC,GAKqB,IAAnCC,OAAOC,KAAKN,EAAMO,MAAML,QAE1BH,EAAS,KAAMC,EAAMQ,QAG7B,IAEIR,EAAMC,QAGR,OAAOP,EAAWe,KAAKT,EAAOD,EAChC"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r,u=require("./serialOrdered.js");exports.__require=function(){if(r)return e;r=1;var t=u.__require();return e=function(e,r,u){return t(e,r,null,u)}};
2
- //# sourceMappingURL=serial.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"serial.js","sources":["../../../../node_modules/asynckit/serial.js"],"sourcesContent":["var serialOrdered = require('./serialOrdered.js');\n\n// Public API\nmodule.exports = serial;\n\n/**\n * Runs iterator over provided array elements in series\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction serial(list, iterator, callback)\n{\n return serialOrdered(list, iterator, null, callback);\n}\n"],"names":["serialOrdered","require$$0","serial_1","list","iterator","callback"],"mappings":"2JAAA,IAAIA,EAAgBC,EAAAA,mBAGpBC,EAUA,SAAgBC,EAAMC,EAAUC,GAE9B,OAAOL,EAAcG,EAAMC,EAAU,KAAMC,EAC7C"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../_virtual/serialOrdered.js"),t=require("./lib/iterate.js"),i=require("./lib/state.js"),u=require("./lib/terminator.js");exports.__require=function(){if(e)return r.__module.exports;e=1;var n=t.__require(),s=i.__require(),_=u.__require();function o(e,r){return e<r?-1:e>r?1:0}return r.__module.exports=function(e,r,t,i){var u=s(e,t);return n(e,r,u,(function t(s,_){s?i(s,_):(u.index++,u.index<(u.keyedList||e).length?n(e,r,u,t):i(null,u.results))})),_.bind(u,i)},r.__module.exports.ascending=o,r.__module.exports.descending=function(e,r){return-1*o(e,r)},r.__module.exports};
2
- //# sourceMappingURL=serialOrdered.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"serialOrdered.js","sources":["../../../../node_modules/asynckit/serialOrdered.js"],"sourcesContent":["var iterate = require('./lib/iterate.js')\n , initState = require('./lib/state.js')\n , terminator = require('./lib/terminator.js')\n ;\n\n// Public API\nmodule.exports = serialOrdered;\n// sorting helpers\nmodule.exports.ascending = ascending;\nmodule.exports.descending = descending;\n\n/**\n * Runs iterator over provided sorted array elements in series\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} sortMethod - custom sort function\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction serialOrdered(list, iterator, sortMethod, callback)\n{\n var state = initState(list, sortMethod);\n\n iterate(list, iterator, state, function iteratorHandler(error, result)\n {\n if (error)\n {\n callback(error, result);\n return;\n }\n\n state.index++;\n\n // are we there yet?\n if (state.index < (state['keyedList'] || list).length)\n {\n iterate(list, iterator, state, iteratorHandler);\n return;\n }\n\n // done here\n callback(null, state.results);\n });\n\n return terminator.bind(state, callback);\n}\n\n/*\n * -- Sort methods\n */\n\n/**\n * sort helper to sort array elements in ascending order\n *\n * @param {mixed} a - an item to compare\n * @param {mixed} b - an item to compare\n * @returns {number} - comparison result\n */\nfunction ascending(a, b)\n{\n return a < b ? -1 : a > b ? 1 : 0;\n}\n\n/**\n * sort helper to sort array elements in descending order\n *\n * @param {mixed} a - an item to compare\n * @param {mixed} b - an item to compare\n * @returns {number} - comparison result\n */\nfunction descending(a, b)\n{\n return -1 * ascending(a, b);\n}\n"],"names":["iterate","require$$0","initState","require$$1","terminator","require$$2","ascending","a","b","serialOrderedModule","__module","exports","list","iterator","sortMethod","callback","state","iteratorHandler","error","result","index","length","results","bind","descending"],"mappings":"kRAAA,IAAIA,EAAaC,EAAAA,YACbC,EAAaC,EAAAA,YACbC,EAAaC,EAAAA,YAyDjB,SAASC,EAAUC,EAAGC,GAEpB,OAAOD,EAAIC,GAAK,EAAID,EAAIC,EAAI,EAAI,CAClC,QAxDAC,EAAAC,SAAAC,QAcA,SAAuBC,EAAMC,EAAUC,EAAYC,GAEjD,IAAIC,EAAQd,EAAUU,EAAME,GAuB5B,OArBAd,EAAQY,EAAMC,EAAUG,GAAO,SAASC,EAAgBC,EAAOC,GAEzDD,EAEFH,EAASG,EAAOC,IAIlBH,EAAMI,QAGFJ,EAAMI,OAASJ,EAAiB,WAAKJ,GAAMS,OAE7CrB,EAAQY,EAAMC,EAAUG,EAAOC,GAKjCF,EAAS,KAAMC,EAAMM,SACzB,IAESlB,EAAWmB,KAAKP,EAAOD,EAChC,EAtCAN,WAAAE,QAAAL,UAA4BA,EAC5BG,WAAAE,QAAAa,WA8DA,SAAoBjB,EAAGC,GAErB,OAAQ,EAAIF,EAAUC,EAAGC,EAC3B"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../utils.js"),t=require("../core/settle.js"),r=require("../core/buildFullPath.js"),a=require("../helpers/buildURL.js"),o=require("../../../../_virtual/index9.js"),s=require("http"),n=require("https"),u=require("util"),i=require("../../../../_virtual/index10.js"),d=require("zlib"),l=require("../env/data.js"),f=require("../defaults/transitional.js"),c=require("../core/AxiosError.js"),p=require("../cancel/CanceledError.js"),h=require("../platform/index.js"),m=require("../helpers/fromDataURI.js"),g=require("stream"),b=require("../core/AxiosHeaders.js"),y=require("../helpers/AxiosTransformStream.js"),R=require("events"),E=require("../helpers/formDataToStream.js"),x=require("../helpers/readBlob.js"),B=require("../helpers/ZlibHeaderTransformStream.js"),T=require("../helpers/callbackify.js"),w=require("../helpers/progressEventReducer.js");function L(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var q=L(s),S=L(n),A=L(u),_=L(d),v=L(g);const O={flush:_.default.constants.Z_SYNC_FLUSH,finishFlush:_.default.constants.Z_SYNC_FLUSH},U={flush:_.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:_.default.constants.BROTLI_OPERATION_FLUSH},j=e.default.isFunction(_.default.createBrotliDecompress),{http:D,https:P}=i.default,C=/https:?/,N=h.default.protocols.map((e=>e+":")),F=(e,[t,r])=>(e.on("end",r).on("error",r),t);function k(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function z(e,t,r){let a=t;if(!a&&!1!==a){const e=o.default.getProxyForUrl(r);e&&(a=new URL(e))}if(a){if(a.username&&(a.auth=(a.username||"")+":"+(a.password||"")),a.auth){(a.auth.username||a.auth.password)&&(a.auth=(a.auth.username||"")+":"+(a.auth.password||""));const t=Buffer.from(a.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=a.hostname||a.host;e.hostname=t,e.host=t,e.port=a.port,e.path=r,a.protocol&&(e.protocol=a.protocol.includes(":")?a.protocol:`${a.protocol}:`)}e.beforeRedirects.proxy=function(e){z(e,t,e.href)}}const H="undefined"!=typeof process&&"process"===e.default.kindOf(process),I=(t,r)=>(({address:t,family:r})=>{if(!e.default.isString(t))throw TypeError("address must be a string");return{address:t,family:r||(t.indexOf(".")<0?6:4)}})(e.default.isObject(t)?t:{address:t,family:r});var M=H&&function(o){return s=async function(s,n,u){let{data:i,lookup:d,family:g}=o;const{responseType:L,responseEncoding:H}=o,M=o.method.toUpperCase();let Q,V,Z=!1;if(d){const t=T.default(d,(t=>e.default.isArray(t)?t:[t]));d=(r,a,o)=>{t(r,a,((t,r,s)=>{if(t)return o(t);const n=e.default.isArray(r)?r.map((e=>I(e))):[I(r,s)];a.all?o(t,n):o(t,n[0].address,n[0].family)}))}}const K=new R.EventEmitter,Y=()=>{o.cancelToken&&o.cancelToken.unsubscribe($),o.signal&&o.signal.removeEventListener("abort",$),K.removeAllListeners()};function $(e){K.emit("abort",!e||e.type?new p.default(null,o,V):e)}u(((e,t)=>{Q=!0,t&&(Z=!0,Y())})),K.once("abort",n),(o.cancelToken||o.signal)&&(o.cancelToken&&o.cancelToken.subscribe($),o.signal&&(o.signal.aborted?$():o.signal.addEventListener("abort",$)));const G=r.default(o.baseURL,o.url),J=new URL(G,h.default.hasBrowserEnv?h.default.origin:void 0),W=J.protocol||N[0];if("data:"===W){let r;if("GET"!==M)return t.default(s,n,{status:405,statusText:"method not allowed",headers:{},config:o});try{r=m.default(o.url,"blob"===L,{Blob:o.env&&o.env.Blob})}catch(e){throw c.default.from(e,c.default.ERR_BAD_REQUEST,o)}return"text"===L?(r=r.toString(H),H&&"utf8"!==H||(r=e.default.stripBOM(r))):"stream"===L&&(r=v.default.Readable.from(r)),t.default(s,n,{data:r,status:200,statusText:"OK",headers:new b.default,config:o})}if(-1===N.indexOf(W))return n(new c.default("Unsupported protocol "+W,c.default.ERR_BAD_REQUEST,o));const X=b.default.from(o.headers).normalize();X.set("User-Agent","axios/"+l.VERSION,!1);const{onUploadProgress:ee,onDownloadProgress:te}=o,re=o.maxRate;let ae,oe;if(e.default.isSpecCompliantForm(i)){const e=X.getContentType(/boundary=([-_\w\d]{10,70})/i);i=E.default(i,(e=>{X.set(e)}),{tag:`axios-${l.VERSION}-boundary`,boundary:e&&e[1]||void 0})}else if(e.default.isFormData(i)&&e.default.isFunction(i.getHeaders)){if(X.set(i.getHeaders()),!X.hasContentLength())try{const e=await A.default.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&X.setContentLength(e)}catch(e){}}else if(e.default.isBlob(i)||e.default.isFile(i))i.size&&X.setContentType(i.type||"application/octet-stream"),X.setContentLength(i.size||0),i=v.default.Readable.from(x.default(i));else if(i&&!e.default.isStream(i)){if(Buffer.isBuffer(i));else if(e.default.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!e.default.isString(i))return n(new c.default("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",c.default.ERR_BAD_REQUEST,o));i=Buffer.from(i,"utf-8")}if(X.setContentLength(i.length,!1),o.maxBodyLength>-1&&i.length>o.maxBodyLength)return n(new c.default("Request body larger than maxBodyLength limit",c.default.ERR_BAD_REQUEST,o))}const se=e.default.toFiniteNumber(X.getContentLength());let ne,ue;e.default.isArray(re)?(ae=re[0],oe=re[1]):ae=oe=re,i&&(ee||ae)&&(e.default.isStream(i)||(i=v.default.Readable.from(i,{objectMode:!1})),i=v.default.pipeline([i,new y.default({maxRate:e.default.toFiniteNumber(ae)})],e.default.noop),ee&&i.on("progress",F(i,w.progressEventDecorator(se,w.progressEventReducer(w.asyncDecorator(ee),!1,3))))),o.auth&&(ne=(o.auth.username||"")+":"+(o.auth.password||"")),!ne&&J.username&&(ne=J.username+":"+J.password),ne&&X.delete("authorization");try{ue=a.default(J.pathname+J.search,o.params,o.paramsSerializer).replace(/^\?/,"")}catch(e){const t=new Error(e.message);return t.config=o,t.url=o.url,t.exists=!0,n(t)}X.set("Accept-Encoding","gzip, compress, deflate"+(j?", br":""),!1);const ie={path:ue,method:M,headers:X.toJSON(),agents:{http:o.httpAgent,https:o.httpsAgent},auth:ne,protocol:W,family:g,beforeRedirect:k,beforeRedirects:{}};let de;!e.default.isUndefined(d)&&(ie.lookup=d),o.socketPath?ie.socketPath=o.socketPath:(ie.hostname=J.hostname.startsWith("[")?J.hostname.slice(1,-1):J.hostname,ie.port=J.port,z(ie,o.proxy,W+"//"+J.hostname+(J.port?":"+J.port:"")+ie.path));const le=C.test(ie.protocol);if(ie.agent=le?o.httpsAgent:o.httpAgent,o.transport?de=o.transport:0===o.maxRedirects?de=le?S.default:q.default:(o.maxRedirects&&(ie.maxRedirects=o.maxRedirects),o.beforeRedirect&&(ie.beforeRedirects.config=o.beforeRedirect),de=le?P:D),o.maxBodyLength>-1?ie.maxBodyLength=o.maxBodyLength:ie.maxBodyLength=1/0,o.insecureHTTPParser&&(ie.insecureHTTPParser=o.insecureHTTPParser),V=de.request(ie,(function(r){if(V.destroyed)return;const a=[r],u=+r.headers["content-length"];if(te||oe){const t=new y.default({maxRate:e.default.toFiniteNumber(oe)});te&&t.on("progress",F(t,w.progressEventDecorator(u,w.progressEventReducer(w.asyncDecorator(te),!0,3)))),a.push(t)}let i=r;const d=r.req||V;if(!1!==o.decompress&&r.headers["content-encoding"])switch("HEAD"!==M&&204!==r.statusCode||delete r.headers["content-encoding"],(r.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":a.push(_.default.createUnzip(O)),delete r.headers["content-encoding"];break;case"deflate":a.push(new B.default),a.push(_.default.createUnzip(O)),delete r.headers["content-encoding"];break;case"br":j&&(a.push(_.default.createBrotliDecompress(U)),delete r.headers["content-encoding"])}i=a.length>1?v.default.pipeline(a,e.default.noop):a[0];const l=v.default.finished(i,(()=>{l(),Y()})),f={status:r.statusCode,statusText:r.statusMessage,headers:new b.default(r.headers),config:o,request:d};if("stream"===L)f.data=i,t.default(s,n,f);else{const r=[];let a=0;i.on("data",(function(e){r.push(e),a+=e.length,o.maxContentLength>-1&&a>o.maxContentLength&&(Z=!0,i.destroy(),n(new c.default("maxContentLength size of "+o.maxContentLength+" exceeded",c.default.ERR_BAD_RESPONSE,o,d)))})),i.on("aborted",(function(){if(Z)return;const e=new c.default("stream has been aborted",c.default.ERR_BAD_RESPONSE,o,d);i.destroy(e),n(e)})),i.on("error",(function(e){V.destroyed||n(c.default.from(e,null,o,d))})),i.on("end",(function(){try{let t=1===r.length?r[0]:Buffer.concat(r);"arraybuffer"!==L&&(t=t.toString(H),H&&"utf8"!==H||(t=e.default.stripBOM(t))),f.data=t}catch(e){return n(c.default.from(e,null,o,f.request,f))}t.default(s,n,f)}))}K.once("abort",(e=>{i.destroyed||(i.emit("error",e),i.destroy())}))})),K.once("abort",(e=>{n(e),V.destroy(e)})),V.on("error",(function(e){n(c.default.from(e,null,o,V))})),V.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),o.timeout){const e=parseInt(o.timeout,10);if(Number.isNaN(e))return void n(new c.default("error trying to parse `config.timeout` to int",c.default.ERR_BAD_OPTION_VALUE,o,V));V.setTimeout(e,(function(){if(Q)return;let e=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const t=o.transitional||f.default;o.timeoutErrorMessage&&(e=o.timeoutErrorMessage),n(new c.default(e,t.clarifyTimeoutError?c.default.ETIMEDOUT:c.default.ECONNABORTED,o,V)),$()}))}if(e.default.isStream(i)){let e=!1,t=!1;i.on("end",(()=>{e=!0})),i.once("error",(e=>{t=!0,V.destroy(e)})),i.on("close",(()=>{e||t||$(new p.default("Request stream has been aborted",o,V))})),i.pipe(V)}else V.end(i)},new Promise(((e,t)=>{let r,a;const o=(e,t)=>{a||(a=!0,r&&r(e,t))},n=e=>{o(e,!0),t(e)};s((t=>{o(t),e(t)}),n,(e=>r=e)).catch(n)}));var s};exports.default=M;
2
- //# sourceMappingURL=http.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"http.js","sources":["../../../../../../node_modules/axios/lib/adapters/http.js"],"sourcesContent":["'use strict';\n\nimport utils from './../utils.js';\nimport settle from './../core/settle.js';\nimport buildFullPath from '../core/buildFullPath.js';\nimport buildURL from './../helpers/buildURL.js';\nimport proxyFromEnv from 'proxy-from-env';\nimport http from 'http';\nimport https from 'https';\nimport util from 'util';\nimport followRedirects from 'follow-redirects';\nimport zlib from 'zlib';\nimport {VERSION} from '../env/data.js';\nimport transitionalDefaults from '../defaults/transitional.js';\nimport AxiosError from '../core/AxiosError.js';\nimport CanceledError from '../cancel/CanceledError.js';\nimport platform from '../platform/index.js';\nimport fromDataURI from '../helpers/fromDataURI.js';\nimport stream from 'stream';\nimport AxiosHeaders from '../core/AxiosHeaders.js';\nimport AxiosTransformStream from '../helpers/AxiosTransformStream.js';\nimport {EventEmitter} from 'events';\nimport formDataToStream from \"../helpers/formDataToStream.js\";\nimport readBlob from \"../helpers/readBlob.js\";\nimport ZlibHeaderTransformStream from '../helpers/ZlibHeaderTransformStream.js';\nimport callbackify from \"../helpers/callbackify.js\";\nimport {progressEventReducer, progressEventDecorator, asyncDecorator} from \"../helpers/progressEventReducer.js\";\n\nconst zlibOptions = {\n flush: zlib.constants.Z_SYNC_FLUSH,\n finishFlush: zlib.constants.Z_SYNC_FLUSH\n};\n\nconst brotliOptions = {\n flush: zlib.constants.BROTLI_OPERATION_FLUSH,\n finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH\n}\n\nconst isBrotliSupported = utils.isFunction(zlib.createBrotliDecompress);\n\nconst {http: httpFollow, https: httpsFollow} = followRedirects;\n\nconst isHttps = /https:?/;\n\nconst supportedProtocols = platform.protocols.map(protocol => {\n return protocol + ':';\n});\n\nconst flushOnFinish = (stream, [throttled, flush]) => {\n stream\n .on('end', flush)\n .on('error', flush);\n\n return throttled;\n}\n\n/**\n * If the proxy or config beforeRedirects functions are defined, call them with the options\n * object.\n *\n * @param {Object<string, any>} options - The options object that was passed to the request.\n *\n * @returns {Object<string, any>}\n */\nfunction dispatchBeforeRedirect(options, responseDetails) {\n if (options.beforeRedirects.proxy) {\n options.beforeRedirects.proxy(options);\n }\n if (options.beforeRedirects.config) {\n options.beforeRedirects.config(options, responseDetails);\n }\n}\n\n/**\n * If the proxy or config afterRedirects functions are defined, call them with the options\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} configProxy configuration from Axios options object\n * @param {string} location\n *\n * @returns {http.ClientRequestArgs}\n */\nfunction setProxy(options, configProxy, location) {\n let proxy = configProxy;\n if (!proxy && proxy !== false) {\n const proxyUrl = proxyFromEnv.getProxyForUrl(location);\n if (proxyUrl) {\n proxy = new URL(proxyUrl);\n }\n }\n if (proxy) {\n // Basic proxy authorization\n if (proxy.username) {\n proxy.auth = (proxy.username || '') + ':' + (proxy.password || '');\n }\n\n if (proxy.auth) {\n // Support proxy auth object form\n if (proxy.auth.username || proxy.auth.password) {\n proxy.auth = (proxy.auth.username || '') + ':' + (proxy.auth.password || '');\n }\n const base64 = Buffer\n .from(proxy.auth, 'utf8')\n .toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n options.headers.host = options.hostname + (options.port ? ':' + options.port : '');\n const proxyHost = proxy.hostname || proxy.host;\n options.hostname = proxyHost;\n // Replace 'host' since options is not a URL object\n options.host = proxyHost;\n options.port = proxy.port;\n options.path = location;\n if (proxy.protocol) {\n options.protocol = proxy.protocol.includes(':') ? proxy.protocol : `${proxy.protocol}:`;\n }\n }\n\n options.beforeRedirects.proxy = function beforeRedirect(redirectOptions) {\n // Configure proxy for redirected request, passing the original config proxy to apply\n // the exact same logic as if the redirected request was performed by axios directly.\n setProxy(redirectOptions, configProxy, redirectOptions.href);\n };\n}\n\nconst isHttpAdapterSupported = typeof process !== 'undefined' && utils.kindOf(process) === 'process';\n\n// temporary hotfix\n\nconst wrapAsync = (asyncExecutor) => {\n return new Promise((resolve, reject) => {\n let onDone;\n let isDone;\n\n const done = (value, isRejected) => {\n if (isDone) return;\n isDone = true;\n onDone && onDone(value, isRejected);\n }\n\n const _resolve = (value) => {\n done(value);\n resolve(value);\n };\n\n const _reject = (reason) => {\n done(reason, true);\n reject(reason);\n }\n\n asyncExecutor(_resolve, _reject, (onDoneHandler) => (onDone = onDoneHandler)).catch(_reject);\n })\n};\n\nconst resolveFamily = ({address, family}) => {\n if (!utils.isString(address)) {\n throw TypeError('address must be a string');\n }\n return ({\n address,\n family: family || (address.indexOf('.') < 0 ? 6 : 4)\n });\n}\n\nconst buildAddressEntry = (address, family) => resolveFamily(utils.isObject(address) ? address : {address, family});\n\n/*eslint consistent-return:0*/\nexport default isHttpAdapterSupported && function httpAdapter(config) {\n return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {\n let {data, lookup, family} = config;\n const {responseType, responseEncoding} = config;\n const method = config.method.toUpperCase();\n let isDone;\n let rejected = false;\n let req;\n\n if (lookup) {\n const _lookup = callbackify(lookup, (value) => utils.isArray(value) ? value : [value]);\n // hotfix to support opt.all option which is required for node 20.x\n lookup = (hostname, opt, cb) => {\n _lookup(hostname, opt, (err, arg0, arg1) => {\n if (err) {\n return cb(err);\n }\n\n const addresses = utils.isArray(arg0) ? arg0.map(addr => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)];\n\n opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);\n });\n }\n }\n\n // temporary internal emitter until the AxiosRequest class will be implemented\n const emitter = new EventEmitter();\n\n const onFinished = () => {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(abort);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', abort);\n }\n\n emitter.removeAllListeners();\n }\n\n onDone((value, isRejected) => {\n isDone = true;\n if (isRejected) {\n rejected = true;\n onFinished();\n }\n });\n\n function abort(reason) {\n emitter.emit('abort', !reason || reason.type ? new CanceledError(null, config, req) : reason);\n }\n\n emitter.once('abort', reject);\n\n if (config.cancelToken || config.signal) {\n config.cancelToken && config.cancelToken.subscribe(abort);\n if (config.signal) {\n config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort);\n }\n }\n\n // Parse url\n const fullPath = buildFullPath(config.baseURL, config.url);\n const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);\n const protocol = parsed.protocol || supportedProtocols[0];\n\n if (protocol === 'data:') {\n let convertedData;\n\n if (method !== 'GET') {\n return settle(resolve, reject, {\n status: 405,\n statusText: 'method not allowed',\n headers: {},\n config\n });\n }\n\n try {\n convertedData = fromDataURI(config.url, responseType === 'blob', {\n Blob: config.env && config.env.Blob\n });\n } catch (err) {\n throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);\n }\n\n if (responseType === 'text') {\n convertedData = convertedData.toString(responseEncoding);\n\n if (!responseEncoding || responseEncoding === 'utf8') {\n convertedData = utils.stripBOM(convertedData);\n }\n } else if (responseType === 'stream') {\n convertedData = stream.Readable.from(convertedData);\n }\n\n return settle(resolve, reject, {\n data: convertedData,\n status: 200,\n statusText: 'OK',\n headers: new AxiosHeaders(),\n config\n });\n }\n\n if (supportedProtocols.indexOf(protocol) === -1) {\n return reject(new AxiosError(\n 'Unsupported protocol ' + protocol,\n AxiosError.ERR_BAD_REQUEST,\n config\n ));\n }\n\n const headers = AxiosHeaders.from(config.headers).normalize();\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n // User-Agent is specified; handle case where no UA header is desired\n // Only set header if it hasn't been set in config\n headers.set('User-Agent', 'axios/' + VERSION, false);\n\n const {onUploadProgress, onDownloadProgress} = config;\n const maxRate = config.maxRate;\n let maxUploadRate = undefined;\n let maxDownloadRate = undefined;\n\n // support for spec compliant FormData objects\n if (utils.isSpecCompliantForm(data)) {\n const userBoundary = headers.getContentType(/boundary=([-_\\w\\d]{10,70})/i);\n\n data = formDataToStream(data, (formHeaders) => {\n headers.set(formHeaders);\n }, {\n tag: `axios-${VERSION}-boundary`,\n boundary: userBoundary && userBoundary[1] || undefined\n });\n // support for https://www.npmjs.com/package/form-data api\n } else if (utils.isFormData(data) && utils.isFunction(data.getHeaders)) {\n headers.set(data.getHeaders());\n\n if (!headers.hasContentLength()) {\n try {\n const knownLength = await util.promisify(data.getLength).call(data);\n Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength);\n /*eslint no-empty:0*/\n } catch (e) {\n }\n }\n } else if (utils.isBlob(data) || utils.isFile(data)) {\n data.size && headers.setContentType(data.type || 'application/octet-stream');\n headers.setContentLength(data.size || 0);\n data = stream.Readable.from(readBlob(data));\n } else if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(new AxiosError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n AxiosError.ERR_BAD_REQUEST,\n config\n ));\n }\n\n // Add Content-Length header if data exists\n headers.setContentLength(data.length, false);\n\n if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {\n return reject(new AxiosError(\n 'Request body larger than maxBodyLength limit',\n AxiosError.ERR_BAD_REQUEST,\n config\n ));\n }\n }\n\n const contentLength = utils.toFiniteNumber(headers.getContentLength());\n\n if (utils.isArray(maxRate)) {\n maxUploadRate = maxRate[0];\n maxDownloadRate = maxRate[1];\n } else {\n maxUploadRate = maxDownloadRate = maxRate;\n }\n\n if (data && (onUploadProgress || maxUploadRate)) {\n if (!utils.isStream(data)) {\n data = stream.Readable.from(data, {objectMode: false});\n }\n\n data = stream.pipeline([data, new AxiosTransformStream({\n maxRate: utils.toFiniteNumber(maxUploadRate)\n })], utils.noop);\n\n onUploadProgress && data.on('progress', flushOnFinish(\n data,\n progressEventDecorator(\n contentLength,\n progressEventReducer(asyncDecorator(onUploadProgress), false, 3)\n )\n ));\n }\n\n // HTTP basic authentication\n let auth = undefined;\n if (config.auth) {\n const username = config.auth.username || '';\n const password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n if (!auth && parsed.username) {\n const urlUsername = parsed.username;\n const urlPassword = parsed.password;\n auth = urlUsername + ':' + urlPassword;\n }\n\n auth && headers.delete('authorization');\n\n let path;\n\n try {\n path = buildURL(\n parsed.pathname + parsed.search,\n config.params,\n config.paramsSerializer\n ).replace(/^\\?/, '');\n } catch (err) {\n const customErr = new Error(err.message);\n customErr.config = config;\n customErr.url = config.url;\n customErr.exists = true;\n return reject(customErr);\n }\n\n headers.set(\n 'Accept-Encoding',\n 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''), false\n );\n\n const options = {\n path,\n method: method,\n headers: headers.toJSON(),\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth,\n protocol,\n family,\n beforeRedirect: dispatchBeforeRedirect,\n beforeRedirects: {}\n };\n\n // cacheable-lookup integration hotfix\n !utils.isUndefined(lookup) && (options.lookup = lookup);\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname.startsWith(\"[\") ? parsed.hostname.slice(1, -1) : parsed.hostname;\n options.port = parsed.port;\n setProxy(options, config.proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n let transport;\n const isHttpsRequest = isHttps.test(options.protocol);\n options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsRequest ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n if (config.beforeRedirect) {\n options.beforeRedirects.config = config.beforeRedirect;\n }\n transport = isHttpsRequest ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n } else {\n // follow-redirects does not skip comparison, so it should always succeed for axios -1 unlimited\n options.maxBodyLength = Infinity;\n }\n\n if (config.insecureHTTPParser) {\n options.insecureHTTPParser = config.insecureHTTPParser;\n }\n\n // Create the request\n req = transport.request(options, function handleResponse(res) {\n if (req.destroyed) return;\n\n const streams = [res];\n\n const responseLength = +res.headers['content-length'];\n\n if (onDownloadProgress || maxDownloadRate) {\n const transformStream = new AxiosTransformStream({\n maxRate: utils.toFiniteNumber(maxDownloadRate)\n });\n\n onDownloadProgress && transformStream.on('progress', flushOnFinish(\n transformStream,\n progressEventDecorator(\n responseLength,\n progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)\n )\n ));\n\n streams.push(transformStream);\n }\n\n // decompress the response body transparently if required\n let responseStream = res;\n\n // return the last request in case of redirects\n const lastRequest = res.req || req;\n\n // if decompress disabled we should not decompress\n if (config.decompress !== false && res.headers['content-encoding']) {\n // if no content, but headers still say that it is encoded,\n // remove the header not confuse downstream operations\n if (method === 'HEAD' || res.statusCode === 204) {\n delete res.headers['content-encoding'];\n }\n\n switch ((res.headers['content-encoding'] || '').toLowerCase()) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'x-gzip':\n case 'compress':\n case 'x-compress':\n // add the unzipper to the body stream processing pipeline\n streams.push(zlib.createUnzip(zlibOptions));\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n case 'deflate':\n streams.push(new ZlibHeaderTransformStream());\n\n // add the unzipper to the body stream processing pipeline\n streams.push(zlib.createUnzip(zlibOptions));\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n case 'br':\n if (isBrotliSupported) {\n streams.push(zlib.createBrotliDecompress(brotliOptions));\n delete res.headers['content-encoding'];\n }\n }\n }\n\n responseStream = streams.length > 1 ? stream.pipeline(streams, utils.noop) : streams[0];\n\n const offListeners = stream.finished(responseStream, () => {\n offListeners();\n onFinished();\n });\n\n const response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: new AxiosHeaders(res.headers),\n config,\n request: lastRequest\n };\n\n if (responseType === 'stream') {\n response.data = responseStream;\n settle(resolve, reject, response);\n } else {\n const responseBuffer = [];\n let totalResponseBytes = 0;\n\n responseStream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n // stream.destroy() emit aborted event before calling reject() on Node.js v16\n rejected = true;\n responseStream.destroy();\n reject(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n AxiosError.ERR_BAD_RESPONSE, config, lastRequest));\n }\n });\n\n responseStream.on('aborted', function handlerStreamAborted() {\n if (rejected) {\n return;\n }\n\n const err = new AxiosError(\n 'stream has been aborted',\n AxiosError.ERR_BAD_RESPONSE,\n config,\n lastRequest\n );\n responseStream.destroy(err);\n reject(err);\n });\n\n responseStream.on('error', function handleStreamError(err) {\n if (req.destroyed) return;\n reject(AxiosError.from(err, null, config, lastRequest));\n });\n\n responseStream.on('end', function handleStreamEnd() {\n try {\n let responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);\n if (responseType !== 'arraybuffer') {\n responseData = responseData.toString(responseEncoding);\n if (!responseEncoding || responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n response.data = responseData;\n } catch (err) {\n return reject(AxiosError.from(err, null, config, response.request, response));\n }\n settle(resolve, reject, response);\n });\n }\n\n emitter.once('abort', err => {\n if (!responseStream.destroyed) {\n responseStream.emit('error', err);\n responseStream.destroy();\n }\n });\n });\n\n emitter.once('abort', err => {\n reject(err);\n req.destroy(err);\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n // @todo remove\n // if (req.aborted && err.code !== AxiosError.ERR_FR_TOO_MANY_REDIRECTS) return;\n reject(AxiosError.from(err, null, config, req));\n });\n\n // set tcp keep alive to prevent drop connection by peer\n req.on('socket', function handleRequestSocket(socket) {\n // default interval of sending ack packet is 1 minute\n socket.setKeepAlive(true, 1000 * 60);\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n const timeout = parseInt(config.timeout, 10);\n\n if (Number.isNaN(timeout)) {\n reject(new AxiosError(\n 'error trying to parse `config.timeout` to int',\n AxiosError.ERR_BAD_OPTION_VALUE,\n config,\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devouring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n if (isDone) return;\n let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n const transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n req\n ));\n abort();\n });\n }\n\n\n // Send the request\n if (utils.isStream(data)) {\n let ended = false;\n let errored = false;\n\n data.on('end', () => {\n ended = true;\n });\n\n data.once('error', err => {\n errored = true;\n req.destroy(err);\n });\n\n data.on('close', () => {\n if (!ended && !errored) {\n abort(new CanceledError('Request stream has been aborted', config, req));\n }\n });\n\n data.pipe(req);\n } else {\n req.end(data);\n }\n });\n}\n\nexport const __setProxy = setProxy;\n"],"names":["zlibOptions","flush","zlib","constants","Z_SYNC_FLUSH","finishFlush","brotliOptions","BROTLI_OPERATION_FLUSH","isBrotliSupported","utils","isFunction","createBrotliDecompress","http","httpFollow","https","httpsFollow","followRedirects","isHttps","supportedProtocols","platform","protocols","map","protocol","flushOnFinish","stream","throttled","on","dispatchBeforeRedirect","options","responseDetails","beforeRedirects","proxy","config","setProxy","configProxy","location","proxyUrl","proxyFromEnv","getProxyForUrl","URL","username","auth","password","base64","Buffer","from","toString","headers","host","hostname","port","proxyHost","path","includes","redirectOptions","href","isHttpAdapterSupported","process","kindOf","buildAddressEntry","address","family","isString","TypeError","indexOf","resolveFamily","isObject","httpAdapter","asyncExecutor","async","resolve","reject","onDone","data","lookup","responseType","responseEncoding","method","toUpperCase","isDone","req","rejected","_lookup","callbackify","value","isArray","opt","cb","err","arg0","arg1","addresses","addr","all","emitter","EventEmitter","onFinished","cancelToken","unsubscribe","abort","signal","removeEventListener","removeAllListeners","reason","emit","type","CanceledError","isRejected","once","subscribe","aborted","addEventListener","fullPath","buildFullPath","baseURL","url","parsed","hasBrowserEnv","origin","undefined","convertedData","settle","status","statusText","fromDataURI","Blob","env","AxiosError","ERR_BAD_REQUEST","stripBOM","Readable","AxiosHeaders","normalize","set","VERSION","onUploadProgress","onDownloadProgress","maxRate","maxUploadRate","maxDownloadRate","isSpecCompliantForm","userBoundary","getContentType","formDataToStream","formHeaders","tag","boundary","isFormData","getHeaders","hasContentLength","knownLength","util","promisify","getLength","call","Number","isFinite","setContentLength","e","isBlob","isFile","size","setContentType","readBlob","isStream","isBuffer","isArrayBuffer","Uint8Array","length","maxBodyLength","contentLength","toFiniteNumber","getContentLength","objectMode","pipeline","AxiosTransformStream","noop","progressEventDecorator","progressEventReducer","asyncDecorator","delete","buildURL","pathname","search","params","paramsSerializer","replace","customErr","Error","message","exists","toJSON","agents","httpAgent","httpsAgent","beforeRedirect","transport","isUndefined","socketPath","startsWith","slice","isHttpsRequest","test","agent","maxRedirects","Infinity","insecureHTTPParser","request","res","destroyed","streams","responseLength","transformStream","push","responseStream","lastRequest","decompress","statusCode","toLowerCase","createUnzip","ZlibHeaderTransformStream","offListeners","finished","response","statusMessage","responseBuffer","totalResponseBytes","chunk","maxContentLength","destroy","ERR_BAD_RESPONSE","responseData","concat","socket","setKeepAlive","timeout","parseInt","isNaN","ERR_BAD_OPTION_VALUE","setTimeout","timeoutErrorMessage","transitional","transitionalDefaults","clarifyTimeoutError","ETIMEDOUT","ECONNABORTED","ended","errored","pipe","end","Promise","done","_reject","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,QAAC2J,SAAS3F,GAAO,CACxB,IAAI6K,GAAQ,EACRC,GAAU,EAEd9K,EAAK/C,GAAG,OAAO,KACb4N,GAAQ,CAAI,IAGd7K,EAAKmC,KAAK,SAASpB,IACjB+J,GAAU,EACVvK,EAAIqJ,QAAQ7I,EAAI,IAGlBf,EAAK/C,GAAG,SAAS,KACV4N,GAAUC,GACbpJ,EAAM,IAAIO,EAAAA,QAAc,kCAAmC1E,EAAQgD,GACpE,IAGHP,EAAK+K,KAAKxK,EAChB,MACMA,EAAIyK,IAAIhL,EAEd,EAhjBS,IAAIiL,SAAQ,CAACpL,EAASC,KAC3B,IAAIC,EACAO,EAEJ,MAAM4K,EAAO,CAACvK,EAAOuB,KACf5B,IACJA,GAAS,EACTP,GAAUA,EAAOY,EAAOuB,GAAW,EAQ/BiJ,EAAWrJ,IACfoJ,EAAKpJ,GAAQ,GACbhC,EAAOgC,EAAO,EAGhBnC,GAVkBgB,IAChBuK,EAAKvK,GACLd,EAAQc,EAAM,GAQQwK,GAAUC,GAAmBrL,EAASqL,IAAgBC,MAAMF,EAAQ,IArB9E,IAACxL,CAkjBnB"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("stream"),t=require("../utils.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=n(e);const a=Symbol("internals");class i extends s.default.Transform{constructor(e){super({readableHighWaterMark:(e=t.default.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,n)=>!t.default.isUndefined(n[e])))).chunkSize});const n=this[a]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{"progress"===e&&(n.isCaptured||(n.isCaptured=!0))}))}_read(e){const t=this[a];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const s=this[a],i=s.maxRate,r=this.readableHighWaterMark,u=s.timeWindow,o=i/(1e3/u),l=!1!==s.minChunkSize?Math.max(s.minChunkSize,.01*o):0,c=(e,t)=>{const n=Buffer.byteLength(e);s.bytesSeen+=n,s.bytes+=n,s.isCaptured&&this.emit("progress",s.bytesSeen),this.push(e)?process.nextTick(t):s.onReadCallback=()=>{s.onReadCallback=null,process.nextTick(t)}},d=(e,t)=>{const n=Buffer.byteLength(e);let a,d=null,b=r,f=0;if(i){const e=Date.now();(!s.ts||(f=e-s.ts)>=u)&&(s.ts=e,a=o-s.bytes,s.bytes=a<0?-a:0,f=0),a=o-s.bytes}if(i){if(a<=0)return setTimeout((()=>{t(null,e)}),u-f);a<b&&(b=a)}b&&n>b&&n-b>l&&(d=e.subarray(b),e=e.subarray(0,b)),c(e,d?()=>{process.nextTick(t,null,d)}:t)};d(e,(function e(t,s){if(t)return n(t);s?d(s,e):n(null)}))}}exports.default=i;
2
- //# sourceMappingURL=AxiosTransformStream.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AxiosTransformStream.js","sources":["../../../../../../node_modules/axios/lib/helpers/AxiosTransformStream.js"],"sourcesContent":["'use strict';\n\nimport stream from 'stream';\nimport utils from '../utils.js';\n\nconst kInternals = Symbol('internals');\n\nclass AxiosTransformStream extends stream.Transform{\n constructor(options) {\n options = utils.toFlatObject(options, {\n maxRate: 0,\n chunkSize: 64 * 1024,\n minChunkSize: 100,\n timeWindow: 500,\n ticksRate: 2,\n samplesCount: 15\n }, null, (prop, source) => {\n return !utils.isUndefined(source[prop]);\n });\n\n super({\n readableHighWaterMark: options.chunkSize\n });\n\n const internals = this[kInternals] = {\n timeWindow: options.timeWindow,\n chunkSize: options.chunkSize,\n maxRate: options.maxRate,\n minChunkSize: options.minChunkSize,\n bytesSeen: 0,\n isCaptured: false,\n notifiedBytesLoaded: 0,\n ts: Date.now(),\n bytes: 0,\n onReadCallback: null\n };\n\n this.on('newListener', event => {\n if (event === 'progress') {\n if (!internals.isCaptured) {\n internals.isCaptured = true;\n }\n }\n });\n }\n\n _read(size) {\n const internals = this[kInternals];\n\n if (internals.onReadCallback) {\n internals.onReadCallback();\n }\n\n return super._read(size);\n }\n\n _transform(chunk, encoding, callback) {\n const internals = this[kInternals];\n const maxRate = internals.maxRate;\n\n const readableHighWaterMark = this.readableHighWaterMark;\n\n const timeWindow = internals.timeWindow;\n\n const divider = 1000 / timeWindow;\n const bytesThreshold = (maxRate / divider);\n const minChunkSize = internals.minChunkSize !== false ? Math.max(internals.minChunkSize, bytesThreshold * 0.01) : 0;\n\n const pushChunk = (_chunk, _callback) => {\n const bytes = Buffer.byteLength(_chunk);\n internals.bytesSeen += bytes;\n internals.bytes += bytes;\n\n internals.isCaptured && this.emit('progress', internals.bytesSeen);\n\n if (this.push(_chunk)) {\n process.nextTick(_callback);\n } else {\n internals.onReadCallback = () => {\n internals.onReadCallback = null;\n process.nextTick(_callback);\n };\n }\n }\n\n const transformChunk = (_chunk, _callback) => {\n const chunkSize = Buffer.byteLength(_chunk);\n let chunkRemainder = null;\n let maxChunkSize = readableHighWaterMark;\n let bytesLeft;\n let passed = 0;\n\n if (maxRate) {\n const now = Date.now();\n\n if (!internals.ts || (passed = (now - internals.ts)) >= timeWindow) {\n internals.ts = now;\n bytesLeft = bytesThreshold - internals.bytes;\n internals.bytes = bytesLeft < 0 ? -bytesLeft : 0;\n passed = 0;\n }\n\n bytesLeft = bytesThreshold - internals.bytes;\n }\n\n if (maxRate) {\n if (bytesLeft <= 0) {\n // next time window\n return setTimeout(() => {\n _callback(null, _chunk);\n }, timeWindow - passed);\n }\n\n if (bytesLeft < maxChunkSize) {\n maxChunkSize = bytesLeft;\n }\n }\n\n if (maxChunkSize && chunkSize > maxChunkSize && (chunkSize - maxChunkSize) > minChunkSize) {\n chunkRemainder = _chunk.subarray(maxChunkSize);\n _chunk = _chunk.subarray(0, maxChunkSize);\n }\n\n pushChunk(_chunk, chunkRemainder ? () => {\n process.nextTick(_callback, null, chunkRemainder);\n } : _callback);\n };\n\n transformChunk(chunk, function transformNextChunk(err, _chunk) {\n if (err) {\n return callback(err);\n }\n\n if (_chunk) {\n transformChunk(_chunk, transformNextChunk);\n } else {\n callback(null);\n }\n });\n }\n}\n\nexport default AxiosTransformStream;\n"],"names":["kInternals","Symbol","AxiosTransformStream","stream","Transform","constructor","options","super","readableHighWaterMark","utils","toFlatObject","maxRate","chunkSize","minChunkSize","timeWindow","ticksRate","samplesCount","prop","source","isUndefined","internals","this","bytesSeen","isCaptured","notifiedBytesLoaded","ts","Date","now","bytes","onReadCallback","on","event","_read","size","_transform","chunk","encoding","callback","bytesThreshold","Math","max","pushChunk","_chunk","_callback","Buffer","byteLength","emit","push","process","nextTick","transformChunk","bytesLeft","chunkRemainder","maxChunkSize","passed","setTimeout","subarray","transformNextChunk","err"],"mappings":"wMAKA,MAAMA,EAAaC,OAAO,aAE1B,MAAMC,UAA6BC,EAAM,QAACC,UACxC,WAAAC,CAAYC,GAYVC,MAAM,CACJC,uBAZFF,EAAUG,EAAAA,QAAMC,aAAaJ,EAAS,CACpCK,QAAS,EACTC,UAAW,MACXC,aAAc,IACdC,WAAY,IACZC,UAAW,EACXC,aAAc,IACb,MAAM,CAACC,EAAMC,KACNT,EAAAA,QAAMU,YAAYD,EAAOD,OAIFL,YAGjC,MAAMQ,EAAYC,KAAKrB,GAAc,CACnCc,WAAYR,EAAQQ,WACpBF,UAAWN,EAAQM,UACnBD,QAASL,EAAQK,QACjBE,aAAcP,EAAQO,aACtBS,UAAW,EACXC,YAAY,EACZC,oBAAqB,EACrBC,GAAIC,KAAKC,MACTC,MAAO,EACPC,eAAgB,MAGlBR,KAAKS,GAAG,eAAeC,IACP,aAAVA,IACGX,EAAUG,aACbH,EAAUG,YAAa,GAE1B,GAEJ,CAED,KAAAS,CAAMC,GACJ,MAAMb,EAAYC,KAAKrB,GAMvB,OAJIoB,EAAUS,gBACZT,EAAUS,iBAGLtB,MAAMyB,MA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AAW,KAAMS,EAAe,EAC/CT,EAAU,EAGhBO,EAAef,GAAO,SAASsB,EAAmBC,EAAKhB,GACrD,GAAIgB,EACF,OAAOrB,EAASqB,GAGdhB,EACFQ,EAAeR,EAAQe,GAEvBpB,EAAS,KAEjB,GACG"}
@@ -1,2 +0,0 @@
1
- "use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var e=t(require("stream"));class r extends e.default.Transform{__transform(t,e,r){this.push(t),r()}_transform(t,e,r){if(0!==t.length&&(this._transform=this.__transform,120!==t[0])){const t=Buffer.alloc(2);t[0]=120,t[1]=156,this.push(t,e)}this.__transform(t,e,r)}}exports.default=r;
2
- //# sourceMappingURL=ZlibHeaderTransformStream.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZlibHeaderTransformStream.js","sources":["../../../../../../node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js"],"sourcesContent":["\"use strict\";\n\nimport stream from \"stream\";\n\nclass ZlibHeaderTransformStream extends stream.Transform {\n __transform(chunk, encoding, callback) {\n this.push(chunk);\n callback();\n }\n\n _transform(chunk, encoding, callback) {\n if (chunk.length !== 0) {\n this._transform = this.__transform;\n\n // Add Default Compression headers if no zlib headers are present\n if (chunk[0] !== 120) { // Hex: 78\n const header = Buffer.alloc(2);\n header[0] = 120; // Hex: 78\n header[1] = 156; // Hex: 9C \n this.push(header, encoding);\n }\n }\n\n this.__transform(chunk, encoding, callback);\n }\n}\n\nexport default ZlibHeaderTransformStream;\n"],"names":["ZlibHeaderTransformStream","stream","Transform","__transform","chunk","encoding","callback","this","push","_transform","length","header","Buffer","alloc"],"mappings":"uKAIA,MAAMA,UAAkCC,EAAM,QAACC,UAC7C,WAAAC,CAAYC,EAAOC,EAAUC,GAC3BC,KAAKC,KAAKJ,GACVE,GACD,CAED,UAAAG,CAAWL,EAAOC,EAAUC,GAC1B,GAAqB,IAAjBF,EAAMM,SACRH,KAAKE,WAAaF,KAAKJ,YAGN,MAAbC,EAAM,IAAY,CACpB,MAAMO,EAASC,OAAOC,MAAM,GAC5BF,EAAO,GAAK,IACZA,EAAO,GAAK,IACZJ,KAAKC,KAAKG,EAAQN,EACnB,CAGHE,KAAKJ,YAAYC,EAAOC,EAAUC,EACnC"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../utils.js");exports.default=(t,s)=>e.default.isAsyncFn(t)?function(...e){const l=e.pop();t.apply(this,e).then((e=>{try{s?l(null,...s(e)):l(null,e)}catch(e){l(e)}}),l)}:t;
2
- //# sourceMappingURL=callbackify.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"callbackify.js","sources":["../../../../../../node_modules/axios/lib/helpers/callbackify.js"],"sourcesContent":["import utils from \"../utils.js\";\n\nconst callbackify = (fn, reducer) => {\n return utils.isAsyncFn(fn) ? function (...args) {\n const cb = args.pop();\n fn.apply(this, args).then((value) => {\n try {\n reducer ? cb(null, ...reducer(value)) : cb(null, value);\n } catch (err) {\n cb(err);\n }\n }, cb);\n } : fn;\n}\n\nexport default callbackify;\n"],"names":["fn","reducer","utils","isAsyncFn","args","cb","pop","apply","this","then","value","err"],"mappings":"iHAEoB,CAACA,EAAIC,IAChBC,EAAK,QAACC,UAAUH,GAAM,YAAaI,GACxC,MAAMC,EAAKD,EAAKE,MAChBN,EAAGO,MAAMC,KAAMJ,GAAMK,MAAMC,IACzB,IACET,EAAUI,EAAG,QAASJ,EAAQS,IAAUL,EAAG,KAAMK,EAClD,CAAC,MAAOC,GACPN,EAAGM,EACJ,IACAN,EACJ,EAAGL"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("util"),t=require("stream"),n=require("../utils.js"),r=require("./readBlob.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=a(e);const i=n.default.ALPHABET.ALPHA_DIGIT+"-_",s="function"==typeof TextEncoder?new TextEncoder:new o.default.TextEncoder,c="\r\n",d=s.encode(c);class u{constructor(e,t){const{escapeName:r}=this.constructor,a=n.default.isString(t);let o=`Content-Disposition: form-data; name="${r(e)}"${!a&&t.name?`; filename="${r(t.name)}"`:""}${c}`;a?t=s.encode(String(t).replace(/\r?\n|\r\n?/g,c)):o+=`Content-Type: ${t.type||"application/octet-stream"}${c}`,this.headers=s.encode(o+c),this.contentLength=a?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;n.default.isTypedArray(e)?yield e:yield*r.default(e),yield d}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}exports.default=(e,r,a)=>{const{tag:o="form-data-boundary",size:d=25,boundary:l=o+"-"+n.default.generateString(d,i)}=a||{};if(!n.default.isFormData(e))throw TypeError("FormData instance required");if(l.length<1||l.length>70)throw Error("boundary must be 10-70 characters long");const f=s.encode("--"+l+c),y=s.encode("--"+l+"--"+c+c);let h=y.byteLength;const m=Array.from(e.entries()).map((([e,t])=>{const n=new u(e,t);return h+=n.size,n}));h+=f.byteLength*m.length,h=n.default.toFiniteNumber(h);const g={"Content-Type":`multipart/form-data; boundary=${l}`};return Number.isFinite(h)&&(g["Content-Length"]=h),r&&r(g),t.Readable.from(async function*(){for(const e of m)yield f,yield*e.encode();yield y}())};
2
- //# sourceMappingURL=formDataToStream.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"formDataToStream.js","sources":["../../../../../../node_modules/axios/lib/helpers/formDataToStream.js"],"sourcesContent":["import util from 'util';\nimport {Readable} from 'stream';\nimport utils from \"../utils.js\";\nimport readBlob from \"./readBlob.js\";\n\nconst BOUNDARY_ALPHABET = utils.ALPHABET.ALPHA_DIGIT + '-_';\n\nconst textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util.TextEncoder();\n\nconst CRLF = '\\r\\n';\nconst CRLF_BYTES = textEncoder.encode(CRLF);\nconst CRLF_BYTES_COUNT = 2;\n\nclass FormDataPart {\n constructor(name, value) {\n const {escapeName} = this.constructor;\n const isStringValue = utils.isString(value);\n\n let headers = `Content-Disposition: form-data; name=\"${escapeName(name)}\"${\n !isStringValue && value.name ? `; filename=\"${escapeName(value.name)}\"` : ''\n }${CRLF}`;\n\n if (isStringValue) {\n value = textEncoder.encode(String(value).replace(/\\r?\\n|\\r\\n?/g, CRLF));\n } else {\n headers += `Content-Type: ${value.type || \"application/octet-stream\"}${CRLF}`\n }\n\n this.headers = textEncoder.encode(headers + CRLF);\n\n this.contentLength = isStringValue ? value.byteLength : value.size;\n\n this.size = this.headers.byteLength + this.contentLength + CRLF_BYTES_COUNT;\n\n this.name = name;\n this.value = value;\n }\n\n async *encode(){\n yield this.headers;\n\n const {value} = this;\n\n if(utils.isTypedArray(value)) {\n yield value;\n } else {\n yield* readBlob(value);\n }\n\n yield CRLF_BYTES;\n }\n\n static escapeName(name) {\n return String(name).replace(/[\\r\\n\"]/g, (match) => ({\n '\\r' : '%0D',\n '\\n' : '%0A',\n '\"' : '%22',\n }[match]));\n }\n}\n\nconst formDataToStream = (form, headersHandler, options) => {\n const {\n tag = 'form-data-boundary',\n size = 25,\n boundary = tag + '-' + utils.generateString(size, BOUNDARY_ALPHABET)\n } = options || {};\n\n if(!utils.isFormData(form)) {\n throw TypeError('FormData instance required');\n }\n\n if (boundary.length < 1 || boundary.length > 70) {\n throw Error('boundary must be 10-70 characters long')\n }\n\n const boundaryBytes = textEncoder.encode('--' + boundary + CRLF);\n const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF + CRLF);\n let contentLength = footerBytes.byteLength;\n\n const parts = Array.from(form.entries()).map(([name, value]) => {\n const part = new FormDataPart(name, value);\n contentLength += part.size;\n return part;\n });\n\n contentLength += boundaryBytes.byteLength * parts.length;\n\n contentLength = utils.toFiniteNumber(contentLength);\n\n const computedHeaders = {\n 'Content-Type': `multipart/form-data; boundary=${boundary}`\n }\n\n if (Number.isFinite(contentLength)) {\n computedHeaders['Content-Length'] = contentLength;\n }\n\n headersHandler && headersHandler(computedHeaders);\n\n return Readable.from((async function *() {\n for(const part of parts) {\n yield boundaryBytes;\n yield* part.encode();\n }\n\n yield footerBytes;\n })());\n};\n\nexport default formDataToStream;\n"],"names":["BOUNDARY_ALPHABET","utils","ALPHABET","ALPHA_DIGIT","textEncoder","TextEncoder","util","CRLF","CRLF_BYTES","encode","FormDataPart","constructor","name","value","escapeName","this","isStringValue","isString","headers","String","replace","type","contentLength","byteLength","size","isTypedArray","readBlob","match","form","headersHandler","options","tag","boundary","generateString","isFormData","TypeError","length","Error","boundaryBytes","footerBytes","parts","Array","from","entries","map","part","toFiniteNumber","computedHeaders","Number","isFinite","Readable"],"mappings":"qPAKA,MAAMA,EAAoBC,EAAK,QAACC,SAASC,YAAc,KAEjDC,EAAqC,mBAAhBC,YAA6B,IAAIA,YAAgB,IAAIC,EAAAA,QAAKD,YAE/EE,EAAO,OACPC,EAAaJ,EAAYK,OAAOF,GAGtC,MAAMG,EACJ,WAAAC,CAAYC,EAAMC,GAChB,MAAMC,WAACA,GAAcC,KAAKJ,YACpBK,EAAgBf,EAAAA,QAAMgB,SAASJ,GAErC,IAAIK,EAAU,yCAAyCJ,EAAWF,OAC/DI,GAAiBH,EAAMD,KAAO,eAAeE,EAAWD,EAAMD,SAAW,KACzEL,IAECS,EACFH,EAAQT,EAAYK,OAAOU,OAAON,GAAOO,QAAQ,eAAgBb,IAEjEW,GAAW,iBAAiBL,EAAMQ,MAAQ,6BAA6Bd,IAGzEQ,KAAKG,QAAUd,EAAYK,OAAOS,EAAUX,GAE5CQ,KAAKO,cAAgBN,EAAgBH,EAAMU,WAAaV,EAAMW,KAE9DT,KAAKS,KAAOT,KAAKG,QAAQK,WAAaR,KAAKO,cArBtB,EAuBrBP,KAAKH,KAAOA,EACZG,KAAKF,MAAQA,CACd,CAED,YAAOJ,SACCM,KAAKG,QAEX,MAAML,MAACA,GAASE,KAEbd,EAAK,QAACwB,aAAaZ,SACdA,QAECa,EAAAA,QAASb,SAGZL,CACP,CAED,iBAAOM,CAAWF,GACd,OAAOO,OAAOP,GAAMQ,QAAQ,YAAaO,IAAW,CAClD,KAAO,MACP,KAAO,MACP,IAAM,OACNA,KACL,kBAGsB,CAACC,EAAMC,EAAgBC,KAC9C,MAAMC,IACJA,EAAM,qBAAoBP,KAC1BA,EAAO,GAAEQ,SACTA,EAAWD,EAAM,IAAM9B,EAAK,QAACgC,eAAeT,EAAMxB,IAChD8B,GAAW,CAAA,EAEf,IAAI7B,EAAK,QAACiC,WAAWN,GACnB,MAAMO,UAAU,8BAGlB,GAAIH,EAASI,OAAS,GAAKJ,EAASI,OAAS,GAC3C,MAAMC,MAAM,0CAGd,MAAMC,EAAgBlC,EAAYK,OAAO,KAAOuB,EAAWzB,GACrDgC,EAAcnC,EAAYK,OAAO,KAAOuB,EAAW,KAAOzB,EAAOA,GACvE,IAAIe,EAAgBiB,EAAYhB,WAEhC,MAAMiB,EAAQC,MAAMC,KAAKd,EAAKe,WAAWC,KAAI,EAAEhC,EAAMC,MACnD,MAAMgC,EAAO,IAAInC,EAAaE,EAAMC,GAEpC,OADAS,GAAiBuB,EAAKrB,KACfqB,CAAI,IAGbvB,GAAiBgB,EAAcf,WAAaiB,EAAMJ,OAElDd,EAAgBrB,EAAK,QAAC6C,eAAexB,GAErC,MAAMyB,EAAkB,CACtB,eAAgB,iCAAiCf,KASnD,OANIgB,OAAOC,SAAS3B,KAClByB,EAAgB,kBAAoBzB,GAGtCO,GAAkBA,EAAekB,GAE1BG,EAAQA,SAACR,KAAK,kBACnB,IAAI,MAAMG,KAAQL,QACVF,QACCO,EAAKpC,eAGR8B,CACP,CAPoB,GAOhB"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../core/AxiosError.js"),t=require("./parseProtocol.js"),o=require("../platform/index.js");const r=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;exports.default=function(s,l,u){const n=u&&u.Blob||o.default.classes.Blob,f=t.default(s);if(void 0===l&&n&&(l=!0),"data"===f){s=f.length?s.slice(f.length+1):s;const t=r.exec(s);if(!t)throw new e.default("Invalid URL",e.default.ERR_INVALID_URL);const o=t[1],u=t[2],a=t[3],d=Buffer.from(decodeURIComponent(a),u?"base64":"utf8");if(l){if(!n)throw new e.default("Blob is not supported",e.default.ERR_NOT_SUPPORT);return new n([d],{type:o})}return d}throw new e.default("Unsupported protocol "+f,e.default.ERR_NOT_SUPPORT)};
2
- //# sourceMappingURL=fromDataURI.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fromDataURI.js","sources":["../../../../../../node_modules/axios/lib/helpers/fromDataURI.js"],"sourcesContent":["'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\nimport parseProtocol from './parseProtocol.js';\nimport platform from '../platform/index.js';\n\nconst DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\\s\\S]*)$/;\n\n/**\n * Parse data uri to a Buffer or Blob\n *\n * @param {String} uri\n * @param {?Boolean} asBlob\n * @param {?Object} options\n * @param {?Function} options.Blob\n *\n * @returns {Buffer|Blob}\n */\nexport default function fromDataURI(uri, asBlob, options) {\n const _Blob = options && options.Blob || platform.classes.Blob;\n const protocol = parseProtocol(uri);\n\n if (asBlob === undefined && _Blob) {\n asBlob = true;\n }\n\n if (protocol === 'data') {\n uri = protocol.length ? uri.slice(protocol.length + 1) : uri;\n\n const match = DATA_URL_PATTERN.exec(uri);\n\n if (!match) {\n throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL);\n }\n\n const mime = match[1];\n const isBase64 = match[2];\n const body = match[3];\n const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? 'base64' : 'utf8');\n\n if (asBlob) {\n if (!_Blob) {\n throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT);\n }\n\n return new _Blob([buffer], {type: mime});\n }\n\n return buffer;\n }\n\n throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT);\n}\n"],"names":["DATA_URL_PATTERN","uri","asBlob","options","_Blob","Blob","platform","classes","protocol","parseProtocol","undefined","length","slice","match","exec","AxiosError","ERR_INVALID_URL","mime","isBase64","body","buffer","Buffer","from","decodeURIComponent","ERR_NOT_SUPPORT","type"],"mappings":"6KAMA,MAAMA,EAAmB,gEAYV,SAAqBC,EAAKC,EAAQC,GAC/C,MAAMC,EAAQD,GAAWA,EAAQE,MAAQC,EAAQ,QAACC,QAAQF,KACpDG,EAAWC,UAAcR,GAM/B,QAJeS,IAAXR,GAAwBE,IAC1BF,GAAS,GAGM,SAAbM,EAAqB,CACvBP,EAAMO,EAASG,OAASV,EAAIW,MAAMJ,EAASG,OAAS,GAAKV,EAEzD,MAAMY,EAAQb,EAAiBc,KAAKb,GAEpC,IAAKY,EACH,MAAM,IAAIE,EAAAA,QAAW,cAAeA,EAAU,QAACC,iBAGjD,MAAMC,EAAOJ,EAAM,GACbK,EAAWL,EAAM,GACjBM,EAAON,EAAM,GACbO,EAASC,OAAOC,KAAKC,mBAAmBJ,GAAOD,EAAW,SAAW,QAE3E,GAAIhB,EAAQ,CACV,IAAKE,EACH,MAAM,IAAIW,EAAAA,QAAW,wBAAyBA,EAAU,QAACS,iBAG3D,OAAO,IAAIpB,EAAM,CAACgB,GAAS,CAACK,KAAMR,GACnC,CAED,OAAOG,CACR,CAED,MAAM,IAAIL,EAAU,QAAC,wBAA0BP,EAAUO,EAAU,QAACS,gBACtE"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const{asyncIterator:e}=Symbol;exports.default=async function*(r){r.stream?yield*r.stream():r.arrayBuffer?yield await r.arrayBuffer():r[e]?yield*r[e]():yield r};
2
- //# sourceMappingURL=readBlob.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"readBlob.js","sources":["../../../../../../node_modules/axios/lib/helpers/readBlob.js"],"sourcesContent":["const {asyncIterator} = Symbol;\n\nconst readBlob = async function* (blob) {\n if (blob.stream) {\n yield* blob.stream()\n } else if (blob.arrayBuffer) {\n yield await blob.arrayBuffer()\n } else if (blob[asyncIterator]) {\n yield* blob[asyncIterator]();\n } else {\n yield blob;\n }\n}\n\nexport default readBlob;\n"],"names":["asyncIterator","Symbol","async","blob","stream","arrayBuffer"],"mappings":"oEAAA,MAAMA,cAACA,GAAiBC,uBAEPC,gBAAiBC,GAC5BA,EAAKC,aACAD,EAAKC,SACHD,EAAKE,wBACFF,EAAKE,cACRF,EAAKH,SACPG,EAAKH,WAENG,CAEV"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../../_virtual/form_data.js");exports.default=e.default;
2
- //# sourceMappingURL=FormData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormData.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("url")).default.URLSearchParams;exports.default=t;
2
- //# sourceMappingURL=URLSearchParams.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"URLSearchParams.js","sources":["../../../../../../../../node_modules/axios/lib/platform/node/classes/URLSearchParams.js"],"sourcesContent":["'use strict';\n\nimport url from 'url';\nexport default url.URLSearchParams;\n"],"names":["url","URLSearchParams"],"mappings":"gJAGeA,oBAAAA,QAAIC"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./classes/URLSearchParams.js"),a=require("../../../../../_virtual/form_data.js"),t={isNode:!0,classes:{URLSearchParams:e.default,FormData:a.default,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]};exports.default=t;
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/axios/lib/platform/node/index.js"],"sourcesContent":["import URLSearchParams from './classes/URLSearchParams.js'\nimport FormData from './classes/FormData.js'\n\nexport default {\n isNode: true,\n classes: {\n URLSearchParams,\n FormData,\n Blob: typeof Blob !== 'undefined' && Blob || null\n },\n protocols: [ 'http', 'https', 'file', 'data' ]\n};\n"],"names":["platform","isNode","classes","URLSearchParams","FormData","Blob","protocols"],"mappings":"oKAGeA,EAAA,CACbC,QAAQ,EACRC,QAAS,CACXC,gBAAIA,EAAe,QACnBC,SAAIA,EAAQ,QACRC,KAAsB,oBAATA,MAAwBA,MAAQ,MAE/CC,UAAW,CAAE,OAAQ,QAAS,OAAQ"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("util"),e=require("stream"),i=require("../../delayed-stream/lib/delayed_stream.js");function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var s,a,n=r(t),o=r(e);exports.__require=function(){if(a)return s;a=1;var t=n.default,e=o.default.Stream,r=i.__require();function h(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return s=h,t.inherits(h,e),h.create=function(t){var e=new this;for(var i in t=t||{})e[i]=t[i];return e},h.isStreamLike=function(t){return"function"!=typeof t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t&&!Buffer.isBuffer(t)},h.prototype.append=function(t){if(h.isStreamLike(t)){if(!(t instanceof r)){var e=r.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=e}this._handleErrors(t),this.pauseStreams&&t.pause()}return this._streams.push(t),this},h.prototype.pipe=function(t,i){return e.prototype.pipe.call(this,t,i),this.resume(),t},h.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},h.prototype._realGetNext=function(){var t=this._streams.shift();void 0!==t?"function"==typeof t?t(function(t){h.isStreamLike(t)&&(t.on("data",this._checkDataSize.bind(this)),this._handleErrors(t)),this._pipeNext(t)}.bind(this)):this._pipeNext(t):this.end()},h.prototype._pipeNext=function(t){if(this._currentStream=t,h.isStreamLike(t))return t.on("end",this._getNext.bind(this)),void t.pipe(this,{end:!1});var e=t;this.write(e),this._getNext()},h.prototype._handleErrors=function(t){var e=this;t.on("error",(function(t){e._emitError(t)}))},h.prototype.write=function(t){this.emit("data",t)},h.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},h.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},h.prototype.end=function(){this._reset(),this.emit("end")},h.prototype.destroy=function(){this._reset(),this.emit("close")},h.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},h.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}},h.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach((function(e){e.dataSize&&(t.dataSize+=e.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},h.prototype._emitError=function(t){this._reset(),this.emit("error",t)},s};
2
- //# sourceMappingURL=combined_stream.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"combined_stream.js","sources":["../../../../../node_modules/combined-stream/lib/combined_stream.js"],"sourcesContent":["var util = require('util');\nvar Stream = require('stream').Stream;\nvar DelayedStream = require('delayed-stream');\n\nmodule.exports = CombinedStream;\nfunction CombinedStream() {\n this.writable = false;\n this.readable = true;\n this.dataSize = 0;\n this.maxDataSize = 2 * 1024 * 1024;\n this.pauseStreams = true;\n\n this._released = false;\n this._streams = [];\n this._currentStream = null;\n this._insideLoop = false;\n this._pendingNext = false;\n}\nutil.inherits(CombinedStream, Stream);\n\nCombinedStream.create = function(options) {\n var combinedStream = new this();\n\n options = options || {};\n for (var option in options) {\n combinedStream[option] = options[option];\n }\n\n return combinedStream;\n};\n\nCombinedStream.isStreamLike = function(stream) {\n return (typeof stream !== 'function')\n && (typeof stream !== 'string')\n && (typeof stream !== 'boolean')\n && (typeof stream !== 'number')\n && (!Buffer.isBuffer(stream));\n};\n\nCombinedStream.prototype.append = function(stream) {\n var isStreamLike = CombinedStream.isStreamLike(stream);\n\n if (isStreamLike) {\n if (!(stream instanceof DelayedStream)) {\n var newStream = DelayedStream.create(stream, {\n maxDataSize: Infinity,\n pauseStream: this.pauseStreams,\n });\n stream.on('data', this._checkDataSize.bind(this));\n stream = newStream;\n }\n\n this._handleErrors(stream);\n\n if (this.pauseStreams) {\n stream.pause();\n }\n }\n\n this._streams.push(stream);\n return this;\n};\n\nCombinedStream.prototype.pipe = function(dest, options) {\n Stream.prototype.pipe.call(this, dest, options);\n this.resume();\n return dest;\n};\n\nCombinedStream.prototype._getNext = function() {\n this._currentStream = null;\n\n if (this._insideLoop) {\n this._pendingNext = true;\n return; // defer call\n }\n\n this._insideLoop = true;\n try {\n do {\n this._pendingNext = false;\n this._realGetNext();\n } while (this._pendingNext);\n } finally {\n this._insideLoop = false;\n }\n};\n\nCombinedStream.prototype._realGetNext = function() {\n var stream = this._streams.shift();\n\n\n if (typeof stream == 'undefined') {\n this.end();\n return;\n }\n\n if (typeof stream !== 'function') {\n this._pipeNext(stream);\n return;\n }\n\n var getStream = stream;\n getStream(function(stream) {\n var isStreamLike = CombinedStream.isStreamLike(stream);\n if (isStreamLike) {\n stream.on('data', this._checkDataSize.bind(this));\n this._handleErrors(stream);\n }\n\n this._pipeNext(stream);\n }.bind(this));\n};\n\nCombinedStream.prototype._pipeNext = function(stream) {\n this._currentStream = stream;\n\n var isStreamLike = CombinedStream.isStreamLike(stream);\n if (isStreamLike) {\n stream.on('end', this._getNext.bind(this));\n stream.pipe(this, {end: false});\n return;\n }\n\n var value = stream;\n this.write(value);\n this._getNext();\n};\n\nCombinedStream.prototype._handleErrors = function(stream) {\n var self = this;\n stream.on('error', function(err) {\n self._emitError(err);\n });\n};\n\nCombinedStream.prototype.write = function(data) {\n this.emit('data', data);\n};\n\nCombinedStream.prototype.pause = function() {\n if (!this.pauseStreams) {\n return;\n }\n\n if(this.pauseStreams && this._currentStream && typeof(this._currentStream.pause) == 'function') this._currentStream.pause();\n this.emit('pause');\n};\n\nCombinedStream.prototype.resume = function() {\n if (!this._released) {\n this._released = true;\n this.writable = true;\n this._getNext();\n }\n\n if(this.pauseStreams && this._currentStream && typeof(this._currentStream.resume) == 'function') this._currentStream.resume();\n this.emit('resume');\n};\n\nCombinedStream.prototype.end = function() {\n this._reset();\n this.emit('end');\n};\n\nCombinedStream.prototype.destroy = function() {\n this._reset();\n this.emit('close');\n};\n\nCombinedStream.prototype._reset = function() {\n this.writable = false;\n this._streams = [];\n this._currentStream = null;\n};\n\nCombinedStream.prototype._checkDataSize = function() {\n this._updateDataSize();\n if (this.dataSize <= this.maxDataSize) {\n return;\n }\n\n var message =\n 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.';\n this._emitError(new Error(message));\n};\n\nCombinedStream.prototype._updateDataSize = function() {\n this.dataSize = 0;\n\n var self = this;\n this._streams.forEach(function(stream) {\n if (!stream.dataSize) {\n return;\n }\n\n self.dataSize += stream.dataSize;\n });\n\n if (this._currentStream && this._currentStream.dataSize) {\n this.dataSize += this._currentStream.dataSize;\n }\n};\n\nCombinedStream.prototype._emitError = function(err) {\n this._reset();\n this.emit('error', err);\n};\n"],"names":["util","require$$0","Stream","require$$1","DelayedStream","require$$2","CombinedStream","this","writable","readable","dataSize","maxDataSize","pauseStreams","_released","_streams","_currentStream","_insideLoop","_pendingNext","combined_stream","inherits","create","options","combinedStream","option","isStreamLike","stream","Buffer","isBuffer","prototype","append","newStream","Infinity","pauseStream","on","_checkDataSize","bind","_handleErrors","pause","push","pipe","dest","call","resume","_getNext","_realGetNext","shift","_pipeNext","end","value","write","self","err","_emitError","data","emit","_reset","destroy","_updateDataSize","message","Error","forEach"],"mappings":"mTAAA,IAAIA,EAAOC,EAAAA,QACPC,EAASC,EAAiB,QAACD,OAC3BE,EAAgBC,EAAAA,YAGpB,SAASC,IACPC,KAAKC,UAAW,EAChBD,KAAKE,UAAW,EAChBF,KAAKG,SAAW,EAChBH,KAAKI,YAAc,QACnBJ,KAAKK,cAAe,EAEpBL,KAAKM,WAAY,EACjBN,KAAKO,SAAW,GAChBP,KAAKQ,eAAiB,KACtBR,KAAKS,aAAc,EACnBT,KAAKU,cAAe,CACtB,QAbAC,EAAiBZ,EAcjBN,EAAKmB,SAASb,EAAgBJ,GAE9BI,EAAec,OAAS,SAASC,GAC/B,IAAIC,EAAiB,IAAIf,KAGzB,IAAK,IAAIgB,KADTF,EAAUA,GAAW,GAEnBC,EAAeC,GAAUF,EAAQE,GAGnC,OAAOD,GAGThB,EAAekB,aAAe,SAASC,GACrC,MAA0B,mBAAXA,GACS,iBAAXA,GACW,kBAAXA,GACW,iBAAXA,IACNC,OAAOC,SAASF,IAGzBnB,EAAesB,UAAUC,OAAS,SAASJ,GAGzC,GAFmBnB,EAAekB,aAAaC,GAE7B,CAChB,KAAMA,aAAkBrB,GAAgB,CACtC,IAAI0B,EAAY1B,EAAcgB,OAAOK,EAAQ,CAC3Cd,YAAaoB,IACbC,YAAazB,KAAKK,eAEpBa,EAAOQ,GAAG,OAAQ1B,KAAK2B,eAAeC,KAAK5B,OAC3CkB,EAASK,CACf,CAEIvB,KAAK6B,cAAcX,GAEflB,KAAKK,cACPa,EAAOY,OAEb,CAGE,OADA9B,KAAKO,SAASwB,KAAKb,GACZlB,MAGTD,EAAesB,UAAUW,KAAO,SAASC,EAAMnB,GAG7C,OAFAnB,EAAO0B,UAAUW,KAAKE,KAAKlC,KAAMiC,EAAM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AKC,UAAW,EAChBD,KAAKoC,YAGJpC,KAAKK,cAAgBL,KAAKQ,gBAAwD,mBAA/BR,KAAKQ,eAAqB,QAAiBR,KAAKQ,eAAe2B,SACrHnC,KAAK+C,KAAK,WAGZhD,EAAesB,UAAUmB,IAAM,WAC7BxC,KAAKgD,SACLhD,KAAK+C,KAAK,QAGZhD,EAAesB,UAAU4B,QAAU,WACjCjD,KAAKgD,SACLhD,KAAK+C,KAAK,UAGZhD,EAAesB,UAAU2B,OAAS,WAChChD,KAAKC,UAAW,EAChBD,KAAKO,SAAW,GAChBP,KAAKQ,eAAiB,MAGxBT,EAAesB,UAAUM,eAAiB,WAExC,GADA3B,KAAKkD,oBACDlD,KAAKG,UAAYH,KAAKI,aAA1B,CAIA,IAAI+C,EACF,gCAAkCnD,KAAKI,YAAc,mBACvDJ,KAAK6C,WAAW,IAAIO,MAAMD,GAJ5B,GAOApD,EAAesB,UAAU6B,gBAAkB,WACzClD,KAAKG,SAAW,EAEhB,IAAIwC,EAAO3C,KACXA,KAAKO,SAAS8C,SAAQ,SAASnC,GACxBA,EAAOf,WAIZwC,EAAKxC,UAAYe,EAAOf,SAC5B,IAEMH,KAAKQ,gBAAkBR,KAAKQ,eAAeL,WAC7CH,KAAKG,UAAYH,KAAKQ,eAAeL,WAIzCJ,EAAesB,UAAUwB,WAAa,SAASD,GAC7C5C,KAAKgD,SACLhD,KAAK+C,KAAK,QAASH"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,o=require("../../../_virtual/browser.js"),t=require("./common.js");o.__module.exports,exports.__require=function(){return e||(e=1,function(e,o){o.formatArgs=function(o){if(o[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+o[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const t="color: "+this.color;o.splice(1,0,t,"color: inherit");let C=0,r=0;o[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(C++,"%c"===e&&(r=C))})),o.splice(r,0,t)},o.save=function(e){try{e?o.storage.setItem("debug",e):o.storage.removeItem("debug")}catch(e){}},o.load=function(){let e;try{e=o.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},o.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},o.storage=function(){try{return localStorage}catch(e){}}(),o.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),o.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],o.log=console.debug||console.log||(()=>{}),e.exports=t.__require()(o);const{formatters:C}=e.exports;C.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(o.__module,o.__module.exports)),o.__module.exports};
2
- //# sourceMappingURL=browser.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"browser.js","sources":["../../../../../node_modules/debug/src/browser.js"],"sourcesContent":["/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\tlet m;\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\t// eslint-disable-next-line no-return-assign\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)) && parseInt(m[1], 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n"],"names":["exports","formatArgs","args","this","useColors","namespace","module","humanize","diff","c","color","splice","index","lastC","replace","match","save","namespaces","storage","setItem","removeItem","error","load","r","getItem","process","env","DEBUG","window","type","__nwjs","navigator","userAgent","toLowerCase","m","document","documentElement","style","WebkitAppearance","console","firebug","exception","table","parseInt","localStorage","localstorage","destroy","warned","warn","colors","log","debug","require$$0","formatters","j","v","JSON","stringify","message"],"mappings":"0NAMAA,EAAAC,WA8IA,SAAoBC,GAQnB,GAPAA,EAAK,IAAMC,KAAKC,UAAY,KAAO,IAClCD,KAAKE,WACJF,KAAKC,UAAY,MAAQ,KAC1BF,EAAK,IACJC,KAAKC,UAAY,MAAQ,KAC1B,IAAME,EAAON,QAAQO,SAASJ,KAAKK,OAE/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AAC,MAAOvB,GAGV,CACA,CArPkBwB,GAClB7C,EAAA8C,QAAkB,MACjB,IAAIC,GAAS,EAEb,MAAO,KACDA,IACJA,GAAS,EACTR,QAAQS,KAAK,yIAChB,CAEC,EATiB,GAelBhD,EAAiBiD,OAAA,CAChB,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WAyFDjD,EAAckD,IAAAX,QAAQY,OAASZ,QAAQW,KAAG,MAAa,GAkEvD5C,EAAiBN,QAAAoD,aAAAA,CAAoBpD,GAErC,MAAMqD,WAACA,GAAc/C,EAAON,QAM5BqD,EAAWC,EAAI,SAAUC,GACxB,IACC,OAAOC,KAAKC,UAAUF,EACtB,CAAC,MAAOlC,GACR,MAAO,+BAAiCA,EAAMqC,OAChD"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,n,t=require("../../ms/index.js");exports.__require=function(){return n||(n=1,e=function(e){function n(e){let t,o,s,i=null;function l(...e){if(!l.enabled)return;const r=l,o=Number(new Date),s=o-(t||o);r.diff=s,r.prev=t,r.curr=o,t=o,e[0]=n.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,o)=>{if("%%"===t)return"%";i++;const s=n.formatters[o];if("function"==typeof s){const n=e[i];t=s.call(r,n),e.splice(i,1),i--}return t})),n.formatArgs.call(r,e);(r.log||n.log).apply(r,e)}return l.namespace=e,l.useColors=n.useColors(),l.color=n.selectColor(e),l.extend=r,l.destroy=n.destroy,Object.defineProperty(l,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==n.namespaces&&(o=n.namespaces,s=n.enabled(e)),s),set:e=>{i=e}}),"function"==typeof n.init&&n.init(l),l}function r(e,t){const r=n(this.namespace+(void 0===t?":":t)+e);return r.log=this.log,r}function o(e,n){let t=0,r=0,o=-1,s=0;for(;t<e.length;)if(r<n.length&&(n[r]===e[t]||"*"===n[r]))"*"===n[r]?(o=r,s=t,r++):(t++,r++);else{if(-1===o)return!1;r=o+1,s++,t=s}for(;r<n.length&&"*"===n[r];)r++;return r===n.length}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){const e=[...n.names,...n.skips.map((e=>"-"+e))].join(",");return n.enable(""),e},n.enable=function(e){n.save(e),n.namespaces=e,n.names=[],n.skips=[];const t=("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean);for(const e of t)"-"===e[0]?n.skips.push(e.slice(1)):n.names.push(e)},n.enabled=function(e){for(const t of n.skips)if(o(e,t))return!1;for(const t of n.names)if(o(e,t))return!0;return!1},n.humanize=t.__require(),n.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((t=>{n[t]=e[t]})),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return n.colors[Math.abs(t)%n.colors.length]},n.enable(n.load()),n}),e};
2
- //# sourceMappingURL=common.js.map