cloudstructs 0.12.7 → 0.12.9

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 (537) hide show
  1. package/.jsii +5 -5
  2. package/assets/slack-textract/detect.lambda/index.js +437 -344
  3. package/assets/ssl-server-test/analyze.lambda/index.js +51 -31
  4. package/assets/toolkit-cleaner/clean.lambda/index.js +51 -31
  5. package/lib/codecommit-mirror/index.js +2 -2
  6. package/lib/dmarc/index.js +1 -1
  7. package/lib/ecs-service-roller/index.js +2 -2
  8. package/lib/email-receiver/receiver.js +1 -1
  9. package/lib/mjml-template/index.js +1 -1
  10. package/lib/saml-identity-provider/index.js +2 -2
  11. package/lib/slack-app/manifest.js +1 -1
  12. package/lib/slack-app/slack-app.js +2 -2
  13. package/lib/slack-events/index.js +1 -1
  14. package/lib/slack-textract/index.js +1 -1
  15. package/lib/ssl-server-test/index.js +1 -1
  16. package/lib/state-machine-cr-provider/index.js +1 -1
  17. package/lib/static-website/index.js +1 -1
  18. package/lib/toolkit-cleaner/index.js +3 -3
  19. package/lib/url-shortener/index.js +1 -1
  20. package/node_modules/@aws/durable-execution-sdk-js/README.md +25 -5
  21. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +101 -33
  22. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs.map +1 -1
  23. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js +101 -33
  24. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js.map +1 -1
  25. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/concurrent-execution-handler.d.ts.map +1 -1
  26. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts +1 -1
  27. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts.map +1 -1
  28. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts +45 -0
  29. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts.map +1 -1
  30. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +6 -0
  31. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts.map +1 -1
  32. package/node_modules/@aws/durable-execution-sdk-js/dist-types/with-durable-execution.d.ts.map +1 -1
  33. package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -2
  34. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +287 -3988
  35. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +12 -0
  36. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +730 -0
  37. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +2 -0
  38. package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +2680 -0
  39. package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +49 -1
  40. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +7 -0
  41. package/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js +2 -0
  42. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +320 -308
  43. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +150 -1
  44. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +8 -2
  45. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -1
  46. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -1
  47. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  48. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -1
  49. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -2
  50. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +15 -0
  51. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +28 -2
  52. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +53 -45
  53. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +173 -1
  54. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +9 -0
  55. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +7 -0
  56. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -45
  57. package/node_modules/@aws-sdk/client-lambda/package.json +20 -20
  58. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +32 -239
  59. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +12 -0
  60. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/errors.js +56 -0
  61. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +2 -0
  62. package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +161 -0
  63. package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +7 -1
  64. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +2 -0
  65. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +32 -26
  66. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +15 -1
  67. package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +12 -5
  68. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +19 -1
  69. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
  70. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  71. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  72. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  73. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  74. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  75. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  76. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  77. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  78. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  79. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  80. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  81. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  82. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  83. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  84. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  85. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  86. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  87. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  88. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  89. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  90. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  91. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  92. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  93. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  94. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  95. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  96. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  97. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  98. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  99. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  100. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  101. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  102. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  103. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  104. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  105. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  106. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  107. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  108. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  109. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  110. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  111. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  112. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  113. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  114. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  115. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  116. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  117. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  118. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  119. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  120. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  121. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  122. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  123. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  124. package/node_modules/@aws-sdk/client-sso/package.json +18 -18
  125. package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
  126. package/node_modules/@aws-sdk/core/dist-cjs/index.js +30 -50
  127. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +30 -50
  128. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -2
  129. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
  130. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
  131. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +1 -0
  132. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +15 -8
  133. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
  134. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
  135. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +4 -0
  136. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  137. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
  138. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
  139. package/node_modules/@aws-sdk/core/package.json +7 -7
  140. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  141. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
  142. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
  143. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  144. package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
  145. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
  146. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
  147. package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
  148. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  149. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  150. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  151. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  152. package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  153. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  154. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  155. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  156. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  157. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  158. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  159. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  160. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  161. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  162. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  163. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  164. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  165. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  166. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  167. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  168. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  169. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  170. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  171. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  172. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  173. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  174. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  175. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  176. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  177. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  178. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  179. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  180. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  181. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  182. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  183. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  184. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  185. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  186. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  187. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  188. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  189. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  190. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  191. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  192. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  193. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  194. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  195. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  196. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  197. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  198. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  199. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  200. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  201. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  202. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  203. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  204. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  205. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  206. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  207. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  208. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  209. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +20 -198
  210. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  211. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  212. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +2 -0
  213. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  214. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +20 -347
  215. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  216. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  217. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  218. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  219. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +21 -308
  220. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  221. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  222. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +2 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
  225. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
  226. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
  227. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +15 -12
  228. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
  229. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
  230. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +40 -37
  232. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
  234. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
  235. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
  236. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +60 -57
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +4 -3
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +11 -4
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -3
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +10 -3
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -4
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -2
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +15 -8
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +5 -3
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +6 -4
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -2
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +5 -3
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -3
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +10 -8
  255. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  256. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  257. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  258. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  259. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  260. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  261. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  262. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  263. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  264. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  265. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  266. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  267. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  268. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  269. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  270. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  271. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  272. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  273. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  274. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  275. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  276. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  277. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  278. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  279. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  280. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  281. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  282. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  283. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  284. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  285. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  286. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  287. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  288. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  289. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  290. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  291. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  292. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  293. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  294. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  295. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  296. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  297. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  298. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  299. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  300. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  301. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  302. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  303. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  304. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  305. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  306. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  307. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  308. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  309. package/node_modules/@aws-sdk/nested-clients/package.json +18 -18
  310. package/node_modules/@aws-sdk/region-config-resolver/package.json +4 -4
  311. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  312. package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
  313. package/node_modules/@aws-sdk/types/package.json +3 -3
  314. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  315. package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
  316. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  317. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  318. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +16 -0
  319. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +7 -6
  320. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  321. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +1 -1
  322. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  323. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  324. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  325. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  326. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +4 -2
  327. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +2 -2
  328. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
  329. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +4 -4
  330. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +297 -287
  331. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +55 -22
  332. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +4 -4
  333. package/node_modules/@aws-sdk/xml-builder/package.json +5 -5
  334. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  335. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +6 -6
  336. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +4 -4
  337. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +35 -11
  338. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +6 -0
  339. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +1 -1
  340. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  341. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +111 -89
  342. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +1 -1
  343. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +18 -0
  344. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +2 -1
  345. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +10 -1
  346. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +4 -0
  347. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +42 -14
  348. package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  349. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +18 -0
  350. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
  351. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +54 -2
  352. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
  353. package/node_modules/@slack/types/dist/chunk.d.ts +42 -0
  354. package/node_modules/@slack/types/dist/chunk.d.ts.map +1 -0
  355. package/node_modules/@slack/types/dist/chunk.js +3 -0
  356. package/node_modules/@slack/types/dist/chunk.js.map +1 -0
  357. package/node_modules/@slack/types/dist/events/app.d.ts +53 -0
  358. package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
  359. package/node_modules/@slack/types/dist/events/member.d.ts +1 -0
  360. package/node_modules/@slack/types/dist/events/member.d.ts.map +1 -1
  361. package/node_modules/@slack/types/dist/events/user.d.ts +1 -0
  362. package/node_modules/@slack/types/dist/events/user.d.ts.map +1 -1
  363. package/node_modules/@slack/types/dist/index.d.ts +1 -0
  364. package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
  365. package/node_modules/@slack/types/dist/index.js +1 -0
  366. package/node_modules/@slack/types/dist/index.js.map +1 -1
  367. package/node_modules/@slack/types/package.json +8 -8
  368. package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
  369. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  370. package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -1
  371. package/node_modules/@slack/web-api/dist/chat-stream.js +48 -12
  372. package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
  373. package/node_modules/@slack/web-api/dist/index.d.ts +1 -0
  374. package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
  375. package/node_modules/@slack/web-api/dist/index.js +3 -1
  376. package/node_modules/@slack/web-api/dist/index.js.map +1 -1
  377. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +1 -1
  378. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
  379. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +21 -2
  380. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
  381. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  382. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +6 -6
  383. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +4 -4
  384. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +35 -11
  385. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +6 -0
  386. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +1 -1
  387. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  388. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +111 -89
  389. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +1 -1
  390. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +18 -0
  391. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +2 -1
  392. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +10 -1
  393. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +4 -0
  394. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +42 -14
  395. package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  396. package/node_modules/@slack/web-api/package.json +10 -10
  397. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +13 -10
  398. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -0
  399. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -0
  400. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +31 -6
  401. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
  402. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -0
  403. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -1
  404. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
  405. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +7 -1
  406. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  407. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  408. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
  409. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
  410. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
  411. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  412. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  413. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
  414. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
  415. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
  416. package/node_modules/@smithy/core/package.json +2 -2
  417. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  418. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  419. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
  420. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -2
  421. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +9 -2
  422. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  423. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +29 -3
  424. package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
  425. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
  426. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
  427. package/node_modules/@smithy/smithy-client/package.json +4 -4
  428. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  429. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  430. package/node_modules/@smithy/util-stream/package.json +6 -6
  431. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  432. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +6 -6
  433. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +4 -4
  434. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +35 -11
  435. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +6 -0
  436. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +1 -1
  437. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  438. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +111 -89
  439. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1 -1
  440. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +18 -0
  441. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +2 -1
  442. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +10 -1
  443. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +4 -0
  444. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +42 -14
  445. package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  446. package/node_modules/@types/http-cache-semantics/README.md +1 -1
  447. package/node_modules/@types/http-cache-semantics/index.d.ts +97 -11
  448. package/node_modules/@types/http-cache-semantics/package.json +4 -3
  449. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  450. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +6 -6
  451. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +4 -4
  452. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +35 -11
  453. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +6 -0
  454. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +1 -1
  455. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  456. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +111 -89
  457. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1 -1
  458. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +18 -0
  459. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +2 -1
  460. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +10 -1
  461. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +4 -0
  462. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +42 -14
  463. package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  464. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  465. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +6 -6
  466. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +4 -4
  467. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +35 -11
  468. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +6 -0
  469. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +1 -1
  470. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  471. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +111 -89
  472. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1 -1
  473. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +18 -0
  474. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +2 -1
  475. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +10 -1
  476. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +4 -0
  477. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +42 -14
  478. package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  479. package/node_modules/axios/CHANGELOG.md +296 -239
  480. package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
  481. package/node_modules/axios/README.md +584 -447
  482. package/node_modules/axios/dist/axios.js +779 -897
  483. package/node_modules/axios/dist/axios.js.map +1 -1
  484. package/node_modules/axios/dist/axios.min.js +4 -2
  485. package/node_modules/axios/dist/axios.min.js.map +1 -1
  486. package/node_modules/axios/dist/browser/axios.cjs +353 -283
  487. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  488. package/node_modules/axios/dist/esm/axios.js +353 -283
  489. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  490. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  491. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  492. package/node_modules/axios/dist/node/axios.cjs +388 -315
  493. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  494. package/node_modules/axios/index.d.cts +22 -3
  495. package/node_modules/axios/index.d.ts +341 -116
  496. package/node_modules/axios/lib/adapters/README.md +1 -1
  497. package/node_modules/axios/lib/adapters/fetch.js +2 -2
  498. package/node_modules/axios/lib/adapters/http.js +13 -10
  499. package/node_modules/axios/lib/adapters/xhr.js +2 -2
  500. package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
  501. package/node_modules/axios/lib/core/Axios.js +12 -3
  502. package/node_modules/axios/lib/core/AxiosError.js +65 -102
  503. package/node_modules/axios/lib/core/InterceptorManager.js +2 -1
  504. package/node_modules/axios/lib/core/mergeConfig.js +24 -11
  505. package/node_modules/axios/lib/core/transformData.js +1 -1
  506. package/node_modules/axios/lib/defaults/transitional.js +2 -1
  507. package/node_modules/axios/lib/env/data.js +1 -1
  508. package/node_modules/axios/lib/helpers/buildURL.js +7 -10
  509. package/node_modules/axios/lib/helpers/composeSignals.js +1 -1
  510. package/node_modules/axios/lib/helpers/cookies.js +1 -1
  511. package/node_modules/axios/lib/helpers/isAbsoluteURL.js +5 -0
  512. package/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
  513. package/node_modules/axios/lib/helpers/parseHeaders.js +1 -1
  514. package/node_modules/axios/lib/helpers/spread.js +1 -1
  515. package/node_modules/axios/lib/utils.js +221 -140
  516. package/node_modules/axios/package.json +49 -68
  517. package/node_modules/bowser/README.md +72 -3
  518. package/node_modules/bowser/bundled.js +1 -1
  519. package/node_modules/bowser/es5.js +1 -1
  520. package/node_modules/bowser/index.d.ts +44 -6
  521. package/node_modules/bowser/package.json +10 -5
  522. package/node_modules/bowser/src/bowser.js +24 -8
  523. package/node_modules/bowser/src/constants.js +8 -0
  524. package/node_modules/bowser/src/parser-browsers.js +89 -0
  525. package/node_modules/bowser/src/parser-platforms.js +42 -0
  526. package/node_modules/bowser/src/parser.js +86 -5
  527. package/node_modules/semver/README.md +3 -2
  528. package/node_modules/semver/bin/semver.js +1 -1
  529. package/node_modules/semver/functions/diff.js +1 -1
  530. package/node_modules/semver/internal/re.js +2 -2
  531. package/node_modules/semver/package.json +4 -4
  532. package/node_modules/semver/ranges/subset.js +1 -1
  533. package/package.json +20 -20
  534. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
  535. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
  536. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
  537. package/node_modules/bowser/CHANGELOG.md +0 -218
@@ -1,74 +1,27 @@
1
- /*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors */
1
+ /*! Axios v1.13.5 Copyright (c) 2026 Matt Zabriskie and contributors */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
5
5
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.axios = factory());
6
6
  })(this, (function () { 'use strict';
7
7
 
8
- function _AsyncGenerator(e) {
9
- var r, t;
10
- function resume(r, t) {
11
- try {
12
- var n = e[r](t),
13
- o = n.value,
14
- u = o instanceof _OverloadYield;
15
- Promise.resolve(u ? o.v : o).then(function (t) {
16
- if (u) {
17
- var i = "return" === r ? "return" : "next";
18
- if (!o.k || t.done) return resume(i, t);
19
- t = e[i](t).value;
20
- }
21
- settle(n.done ? "return" : "normal", t);
22
- }, function (e) {
23
- resume("throw", e);
24
- });
25
- } catch (e) {
26
- settle("throw", e);
27
- }
28
- }
29
- function settle(e, n) {
30
- switch (e) {
31
- case "return":
32
- r.resolve({
33
- value: n,
34
- done: !0
35
- });
36
- break;
37
- case "throw":
38
- r.reject(n);
39
- break;
40
- default:
41
- r.resolve({
42
- value: n,
43
- done: !1
44
- });
45
- }
46
- (r = r.next) ? resume(r.key, r.arg) : t = null;
47
- }
48
- this._invoke = function (e, n) {
49
- return new Promise(function (o, u) {
50
- var i = {
51
- key: e,
52
- arg: n,
53
- resolve: o,
54
- reject: u,
55
- next: null
56
- };
57
- t ? t = t.next = i : (r = t = i, resume(e, n));
58
- });
59
- }, "function" != typeof e.return && (this.return = void 0);
8
+ function _OverloadYield(e, d) {
9
+ this.v = e, this.k = d;
60
10
  }
61
- _AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () {
62
- return this;
63
- }, _AsyncGenerator.prototype.next = function (e) {
64
- return this._invoke("next", e);
65
- }, _AsyncGenerator.prototype.throw = function (e) {
66
- return this._invoke("throw", e);
67
- }, _AsyncGenerator.prototype.return = function (e) {
68
- return this._invoke("return", e);
69
- };
70
- function _OverloadYield(t, e) {
71
- this.v = t, this.k = e;
11
+ function _arrayLikeToArray(r, a) {
12
+ (null == a || a > r.length) && (a = r.length);
13
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
14
+ return n;
15
+ }
16
+ function _arrayWithHoles(r) {
17
+ if (Array.isArray(r)) return r;
18
+ }
19
+ function _arrayWithoutHoles(r) {
20
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
21
+ }
22
+ function _assertThisInitialized(e) {
23
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
24
+ return e;
72
25
  }
73
26
  function _asyncGeneratorDelegate(t) {
74
27
  var e = {},
@@ -136,9 +89,149 @@
136
89
  }
137
90
  }, new AsyncFromSyncIterator(r);
138
91
  }
92
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
93
+ try {
94
+ var i = n[a](c),
95
+ u = i.value;
96
+ } catch (n) {
97
+ return void e(n);
98
+ }
99
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
100
+ }
101
+ function _asyncToGenerator(n) {
102
+ return function () {
103
+ var t = this,
104
+ e = arguments;
105
+ return new Promise(function (r, o) {
106
+ var a = n.apply(t, e);
107
+ function _next(n) {
108
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
109
+ }
110
+ function _throw(n) {
111
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
112
+ }
113
+ _next(void 0);
114
+ });
115
+ };
116
+ }
139
117
  function _awaitAsyncGenerator(e) {
140
118
  return new _OverloadYield(e, 0);
141
119
  }
120
+ function _callSuper(t, o, e) {
121
+ return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
122
+ }
123
+ function _classCallCheck(a, n) {
124
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
125
+ }
126
+ function _construct(t, e, r) {
127
+ if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
128
+ var o = [null];
129
+ o.push.apply(o, e);
130
+ var p = new (t.bind.apply(t, o))();
131
+ return r && _setPrototypeOf(p, r.prototype), p;
132
+ }
133
+ function _defineProperties(e, r) {
134
+ for (var t = 0; t < r.length; t++) {
135
+ var o = r[t];
136
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
137
+ }
138
+ }
139
+ function _createClass(e, r, t) {
140
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
141
+ writable: !1
142
+ }), e;
143
+ }
144
+ function _createForOfIteratorHelper(r, e) {
145
+ var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
146
+ if (!t) {
147
+ if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
148
+ t && (r = t);
149
+ var n = 0,
150
+ F = function () {};
151
+ return {
152
+ s: F,
153
+ n: function () {
154
+ return n >= r.length ? {
155
+ done: !0
156
+ } : {
157
+ done: !1,
158
+ value: r[n++]
159
+ };
160
+ },
161
+ e: function (r) {
162
+ throw r;
163
+ },
164
+ f: F
165
+ };
166
+ }
167
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
168
+ }
169
+ var o,
170
+ a = !0,
171
+ u = !1;
172
+ return {
173
+ s: function () {
174
+ t = t.call(r);
175
+ },
176
+ n: function () {
177
+ var r = t.next();
178
+ return a = r.done, r;
179
+ },
180
+ e: function (r) {
181
+ u = !0, o = r;
182
+ },
183
+ f: function () {
184
+ try {
185
+ a || null == t.return || t.return();
186
+ } finally {
187
+ if (u) throw o;
188
+ }
189
+ }
190
+ };
191
+ }
192
+ function _defineProperty(e, r, t) {
193
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
194
+ value: t,
195
+ enumerable: !0,
196
+ configurable: !0,
197
+ writable: !0
198
+ }) : e[r] = t, e;
199
+ }
200
+ function _getPrototypeOf(t) {
201
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
202
+ return t.__proto__ || Object.getPrototypeOf(t);
203
+ }, _getPrototypeOf(t);
204
+ }
205
+ function _inherits(t, e) {
206
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
207
+ t.prototype = Object.create(e && e.prototype, {
208
+ constructor: {
209
+ value: t,
210
+ writable: !0,
211
+ configurable: !0
212
+ }
213
+ }), Object.defineProperty(t, "prototype", {
214
+ writable: !1
215
+ }), e && _setPrototypeOf(t, e);
216
+ }
217
+ function _isNativeFunction(t) {
218
+ try {
219
+ return -1 !== Function.toString.call(t).indexOf("[native code]");
220
+ } catch (n) {
221
+ return "function" == typeof t;
222
+ }
223
+ }
224
+ function _isNativeReflectConstruct() {
225
+ try {
226
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
227
+ } catch (t) {}
228
+ return (_isNativeReflectConstruct = function () {
229
+ return !!t;
230
+ })();
231
+ }
232
+ function _iterableToArray(r) {
233
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
234
+ }
142
235
  function _iterableToArrayLimit(r, l) {
143
236
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
144
237
  if (null != t) {
@@ -166,6 +259,12 @@
166
259
  return a;
167
260
  }
168
261
  }
262
+ function _nonIterableRest() {
263
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
264
+ }
265
+ function _nonIterableSpread() {
266
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
267
+ }
169
268
  function ownKeys(e, r) {
170
269
  var t = Object.keys(e);
171
270
  if (Object.getOwnPropertySymbols) {
@@ -187,306 +286,146 @@
187
286
  }
188
287
  return e;
189
288
  }
190
- function _regeneratorRuntime() {
191
- _regeneratorRuntime = function () {
192
- return e;
193
- };
194
- var t,
195
- e = {},
196
- r = Object.prototype,
197
- n = r.hasOwnProperty,
198
- o = Object.defineProperty || function (t, e, r) {
199
- t[e] = r.value;
200
- },
201
- i = "function" == typeof Symbol ? Symbol : {},
202
- a = i.iterator || "@@iterator",
203
- c = i.asyncIterator || "@@asyncIterator",
204
- u = i.toStringTag || "@@toStringTag";
205
- function define(t, e, r) {
206
- return Object.defineProperty(t, e, {
207
- value: r,
208
- enumerable: !0,
209
- configurable: !0,
210
- writable: !0
211
- }), t[e];
212
- }
213
- try {
214
- define({}, "");
215
- } catch (t) {
216
- define = function (t, e, r) {
217
- return t[e] = r;
218
- };
219
- }
220
- function wrap(t, e, r, n) {
221
- var i = e && e.prototype instanceof Generator ? e : Generator,
222
- a = Object.create(i.prototype),
223
- c = new Context(n || []);
224
- return o(a, "_invoke", {
225
- value: makeInvokeMethod(t, r, c)
226
- }), a;
227
- }
228
- function tryCatch(t, e, r) {
229
- try {
230
- return {
231
- type: "normal",
232
- arg: t.call(e, r)
233
- };
234
- } catch (t) {
235
- return {
236
- type: "throw",
237
- arg: t
238
- };
239
- }
240
- }
241
- e.wrap = wrap;
242
- var h = "suspendedStart",
243
- l = "suspendedYield",
244
- f = "executing",
245
- s = "completed",
246
- y = {};
247
- function Generator() {}
248
- function GeneratorFunction() {}
249
- function GeneratorFunctionPrototype() {}
250
- var p = {};
251
- define(p, a, function () {
252
- return this;
253
- });
254
- var d = Object.getPrototypeOf,
255
- v = d && d(d(values([])));
256
- v && v !== r && n.call(v, a) && (p = v);
257
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
258
- function defineIteratorMethods(t) {
259
- ["next", "throw", "return"].forEach(function (e) {
260
- define(t, e, function (t) {
261
- return this._invoke(e, t);
262
- });
263
- });
264
- }
265
- function AsyncIterator(t, e) {
266
- function invoke(r, o, i, a) {
267
- var c = tryCatch(t[r], t, o);
268
- if ("throw" !== c.type) {
269
- var u = c.arg,
270
- h = u.value;
271
- return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
272
- invoke("next", t, i, a);
273
- }, function (t) {
274
- invoke("throw", t, i, a);
275
- }) : e.resolve(h).then(function (t) {
276
- u.value = t, i(u);
277
- }, function (t) {
278
- return invoke("throw", t, i, a);
279
- });
280
- }
281
- a(c.arg);
282
- }
283
- var r;
284
- o(this, "_invoke", {
285
- value: function (t, n) {
286
- function callInvokeWithMethodAndArg() {
287
- return new e(function (e, r) {
288
- invoke(t, n, e, r);
289
- });
289
+ function _possibleConstructorReturn(t, e) {
290
+ if (e && ("object" == typeof e || "function" == typeof e)) return e;
291
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
292
+ return _assertThisInitialized(t);
293
+ }
294
+ function _regenerator() {
295
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
296
+ var e,
297
+ t,
298
+ r = "function" == typeof Symbol ? Symbol : {},
299
+ n = r.iterator || "@@iterator",
300
+ o = r.toStringTag || "@@toStringTag";
301
+ function i(r, n, o, i) {
302
+ var c = n && n.prototype instanceof Generator ? n : Generator,
303
+ u = Object.create(c.prototype);
304
+ return _regeneratorDefine(u, "_invoke", function (r, n, o) {
305
+ var i,
306
+ c,
307
+ u,
308
+ f = 0,
309
+ p = o || [],
310
+ y = !1,
311
+ G = {
312
+ p: 0,
313
+ n: 0,
314
+ v: e,
315
+ a: d,
316
+ f: d.bind(e, 4),
317
+ d: function (t, r) {
318
+ return i = t, c = 0, u = e, G.n = r, a;
319
+ }
320
+ };
321
+ function d(r, n) {
322
+ for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
323
+ var o,
324
+ i = p[t],
325
+ d = G.p,
326
+ l = i[2];
327
+ r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
290
328
  }
291
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
329
+ if (o || r > 1) return a;
330
+ throw y = !0, n;
292
331
  }
293
- });
294
- }
295
- function makeInvokeMethod(e, r, n) {
296
- var o = h;
297
- return function (i, a) {
298
- if (o === f) throw new Error("Generator is already running");
299
- if (o === s) {
300
- if ("throw" === i) throw a;
332
+ return function (o, p, l) {
333
+ if (f > 1) throw TypeError("Generator is already running");
334
+ for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
335
+ i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
336
+ try {
337
+ if (f = 2, i) {
338
+ if (c || (o = "next"), t = i[o]) {
339
+ if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
340
+ if (!t.done) return t;
341
+ u = t.value, c < 2 && (c = 0);
342
+ } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
343
+ i = e;
344
+ } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
345
+ } catch (t) {
346
+ i = e, c = 1, u = t;
347
+ } finally {
348
+ f = 1;
349
+ }
350
+ }
301
351
  return {
302
352
  value: t,
303
- done: !0
353
+ done: y
304
354
  };
305
- }
306
- for (n.method = i, n.arg = a;;) {
307
- var c = n.delegate;
308
- if (c) {
309
- var u = maybeInvokeDelegate(c, n);
310
- if (u) {
311
- if (u === y) continue;
312
- return u;
313
- }
314
- }
315
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
316
- if (o === h) throw o = s, n.arg;
317
- n.dispatchException(n.arg);
318
- } else "return" === n.method && n.abrupt("return", n.arg);
319
- o = f;
320
- var p = tryCatch(e, r, n);
321
- if ("normal" === p.type) {
322
- if (o = n.done ? s : l, p.arg === y) continue;
323
- return {
324
- value: p.arg,
325
- done: n.done
326
- };
327
- }
328
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
329
- }
330
- };
355
+ };
356
+ }(r, o, i), !0), u;
331
357
  }
332
- function maybeInvokeDelegate(e, r) {
333
- var n = r.method,
334
- o = e.iterator[n];
335
- if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
336
- var i = tryCatch(o, e.iterator, r.arg);
337
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
338
- var a = i.arg;
339
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
358
+ var a = {};
359
+ function Generator() {}
360
+ function GeneratorFunction() {}
361
+ function GeneratorFunctionPrototype() {}
362
+ t = Object.getPrototypeOf;
363
+ var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
364
+ return this;
365
+ }), t),
366
+ u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
367
+ function f(e) {
368
+ return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
340
369
  }
341
- function pushTryEntry(t) {
342
- var e = {
343
- tryLoc: t[0]
370
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
371
+ return this;
372
+ }), _regeneratorDefine(u, "toString", function () {
373
+ return "[object Generator]";
374
+ }), (_regenerator = function () {
375
+ return {
376
+ w: i,
377
+ m: f
344
378
  };
345
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
346
- }
347
- function resetTryEntry(t) {
348
- var e = t.completion || {};
349
- e.type = "normal", delete e.arg, t.completion = e;
350
- }
351
- function Context(t) {
352
- this.tryEntries = [{
353
- tryLoc: "root"
354
- }], t.forEach(pushTryEntry, this), this.reset(!0);
379
+ })();
380
+ }
381
+ function _regeneratorDefine(e, r, n, t) {
382
+ var i = Object.defineProperty;
383
+ try {
384
+ i({}, "", {});
385
+ } catch (e) {
386
+ i = 0;
355
387
  }
356
- function values(e) {
357
- if (e || "" === e) {
358
- var r = e[a];
359
- if (r) return r.call(e);
360
- if ("function" == typeof e.next) return e;
361
- if (!isNaN(e.length)) {
362
- var o = -1,
363
- i = function next() {
364
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
365
- return next.value = t, next.done = !0, next;
366
- };
367
- return i.next = i;
368
- }
388
+ _regeneratorDefine = function (e, r, n, t) {
389
+ function o(r, n) {
390
+ _regeneratorDefine(e, r, function (e) {
391
+ return this._invoke(r, n, e);
392
+ });
369
393
  }
370
- throw new TypeError(typeof e + " is not iterable");
371
- }
372
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
373
- value: GeneratorFunctionPrototype,
374
- configurable: !0
375
- }), o(GeneratorFunctionPrototype, "constructor", {
376
- value: GeneratorFunction,
377
- configurable: !0
378
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
379
- var e = "function" == typeof t && t.constructor;
380
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
381
- }, e.mark = function (t) {
382
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
383
- }, e.awrap = function (t) {
384
- return {
385
- __await: t
386
- };
387
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
388
- return this;
389
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
390
- void 0 === i && (i = Promise);
391
- var a = new AsyncIterator(wrap(t, r, n, o), i);
392
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
393
- return t.done ? t.value : a.next();
394
- });
395
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
396
- return this;
397
- }), define(g, "toString", function () {
398
- return "[object Generator]";
399
- }), e.keys = function (t) {
400
- var e = Object(t),
401
- r = [];
402
- for (var n in e) r.push(n);
403
- return r.reverse(), function next() {
404
- for (; r.length;) {
405
- var t = r.pop();
406
- if (t in e) return next.value = t, next.done = !1, next;
394
+ r ? i ? i(e, r, {
395
+ value: n,
396
+ enumerable: !t,
397
+ configurable: !t,
398
+ writable: !t
399
+ }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
400
+ }, _regeneratorDefine(e, r, n, t);
401
+ }
402
+ function _regeneratorValues(e) {
403
+ if (null != e) {
404
+ var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
405
+ r = 0;
406
+ if (t) return t.call(e);
407
+ if ("function" == typeof e.next) return e;
408
+ if (!isNaN(e.length)) return {
409
+ next: function () {
410
+ return e && r >= e.length && (e = void 0), {
411
+ value: e && e[r++],
412
+ done: !e
413
+ };
407
414
  }
408
- return next.done = !0, next;
409
415
  };
410
- }, e.values = values, Context.prototype = {
411
- constructor: Context,
412
- reset: function (e) {
413
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
414
- },
415
- stop: function () {
416
- this.done = !0;
417
- var t = this.tryEntries[0].completion;
418
- if ("throw" === t.type) throw t.arg;
419
- return this.rval;
420
- },
421
- dispatchException: function (e) {
422
- if (this.done) throw e;
423
- var r = this;
424
- function handle(n, o) {
425
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
426
- }
427
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
428
- var i = this.tryEntries[o],
429
- a = i.completion;
430
- if ("root" === i.tryLoc) return handle("end");
431
- if (i.tryLoc <= this.prev) {
432
- var c = n.call(i, "catchLoc"),
433
- u = n.call(i, "finallyLoc");
434
- if (c && u) {
435
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
436
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
437
- } else if (c) {
438
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
439
- } else {
440
- if (!u) throw new Error("try statement without catch or finally");
441
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
442
- }
443
- }
444
- }
445
- },
446
- abrupt: function (t, e) {
447
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
448
- var o = this.tryEntries[r];
449
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
450
- var i = o;
451
- break;
452
- }
453
- }
454
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
455
- var a = i ? i.completion : {};
456
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
457
- },
458
- complete: function (t, e) {
459
- if ("throw" === t.type) throw t.arg;
460
- return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
461
- },
462
- finish: function (t) {
463
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
464
- var r = this.tryEntries[e];
465
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
466
- }
467
- },
468
- catch: function (t) {
469
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
470
- var r = this.tryEntries[e];
471
- if (r.tryLoc === t) {
472
- var n = r.completion;
473
- if ("throw" === n.type) {
474
- var o = n.arg;
475
- resetTryEntry(r);
476
- }
477
- return o;
478
- }
479
- }
480
- throw new Error("illegal catch attempt");
481
- },
482
- delegateYield: function (e, r, n) {
483
- return this.delegate = {
484
- iterator: values(e),
485
- resultName: r,
486
- nextLoc: n
487
- }, "next" === this.method && (this.arg = t), y;
488
- }
489
- }, e;
416
+ }
417
+ throw new TypeError(typeof e + " is not iterable");
418
+ }
419
+ function _setPrototypeOf(t, e) {
420
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
421
+ return t.__proto__ = e, t;
422
+ }, _setPrototypeOf(t, e);
423
+ }
424
+ function _slicedToArray(r, e) {
425
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
426
+ }
427
+ function _toConsumableArray(r) {
428
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
490
429
  }
491
430
  function _toPrimitive(t, r) {
492
431
  if ("object" != typeof t || !t) return t;
@@ -500,7 +439,7 @@
500
439
  }
501
440
  function _toPropertyKey(t) {
502
441
  var i = _toPrimitive(t, "string");
503
- return "symbol" == typeof i ? i : String(i);
442
+ return "symbol" == typeof i ? i : i + "";
504
443
  }
505
444
  function _typeof(o) {
506
445
  "@babel/helpers - typeof";
@@ -511,161 +450,101 @@
511
450
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
512
451
  }, _typeof(o);
513
452
  }
514
- function _wrapAsyncGenerator(fn) {
515
- return function () {
516
- return new _AsyncGenerator(fn.apply(this, arguments));
517
- };
518
- }
519
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
520
- try {
521
- var info = gen[key](arg);
522
- var value = info.value;
523
- } catch (error) {
524
- reject(error);
525
- return;
526
- }
527
- if (info.done) {
528
- resolve(value);
529
- } else {
530
- Promise.resolve(value).then(_next, _throw);
453
+ function _unsupportedIterableToArray(r, a) {
454
+ if (r) {
455
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
456
+ var t = {}.toString.call(r).slice(8, -1);
457
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
531
458
  }
532
459
  }
533
- function _asyncToGenerator(fn) {
460
+ function _wrapAsyncGenerator(e) {
534
461
  return function () {
535
- var self = this,
536
- args = arguments;
537
- return new Promise(function (resolve, reject) {
538
- var gen = fn.apply(self, args);
539
- function _next(value) {
540
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
541
- }
542
- function _throw(err) {
543
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
544
- }
545
- _next(undefined);
546
- });
462
+ return new AsyncGenerator(e.apply(this, arguments));
547
463
  };
548
464
  }
549
- function _classCallCheck(instance, Constructor) {
550
- if (!(instance instanceof Constructor)) {
551
- throw new TypeError("Cannot call a class as a function");
465
+ function AsyncGenerator(e) {
466
+ var r, t;
467
+ function resume(r, t) {
468
+ try {
469
+ var n = e[r](t),
470
+ o = n.value,
471
+ u = o instanceof _OverloadYield;
472
+ Promise.resolve(u ? o.v : o).then(function (t) {
473
+ if (u) {
474
+ var i = "return" === r ? "return" : "next";
475
+ if (!o.k || t.done) return resume(i, t);
476
+ t = e[i](t).value;
477
+ }
478
+ settle(n.done ? "return" : "normal", t);
479
+ }, function (e) {
480
+ resume("throw", e);
481
+ });
482
+ } catch (e) {
483
+ settle("throw", e);
484
+ }
552
485
  }
553
- }
554
- function _defineProperties(target, props) {
555
- for (var i = 0; i < props.length; i++) {
556
- var descriptor = props[i];
557
- descriptor.enumerable = descriptor.enumerable || false;
558
- descriptor.configurable = true;
559
- if ("value" in descriptor) descriptor.writable = true;
560
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
486
+ function settle(e, n) {
487
+ switch (e) {
488
+ case "return":
489
+ r.resolve({
490
+ value: n,
491
+ done: !0
492
+ });
493
+ break;
494
+ case "throw":
495
+ r.reject(n);
496
+ break;
497
+ default:
498
+ r.resolve({
499
+ value: n,
500
+ done: !1
501
+ });
502
+ }
503
+ (r = r.next) ? resume(r.key, r.arg) : t = null;
561
504
  }
562
- }
563
- function _createClass(Constructor, protoProps, staticProps) {
564
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
565
- if (staticProps) _defineProperties(Constructor, staticProps);
566
- Object.defineProperty(Constructor, "prototype", {
567
- writable: false
568
- });
569
- return Constructor;
570
- }
571
- function _defineProperty(obj, key, value) {
572
- key = _toPropertyKey(key);
573
- if (key in obj) {
574
- Object.defineProperty(obj, key, {
575
- value: value,
576
- enumerable: true,
577
- configurable: true,
578
- writable: true
505
+ this._invoke = function (e, n) {
506
+ return new Promise(function (o, u) {
507
+ var i = {
508
+ key: e,
509
+ arg: n,
510
+ resolve: o,
511
+ reject: u,
512
+ next: null
513
+ };
514
+ t ? t = t.next = i : (r = t = i, resume(e, n));
579
515
  });
580
- } else {
581
- obj[key] = value;
582
- }
583
- return obj;
584
- }
585
- function _slicedToArray(arr, i) {
586
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
587
- }
588
- function _toConsumableArray(arr) {
589
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
590
- }
591
- function _arrayWithoutHoles(arr) {
592
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
593
- }
594
- function _arrayWithHoles(arr) {
595
- if (Array.isArray(arr)) return arr;
596
- }
597
- function _iterableToArray(iter) {
598
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
599
- }
600
- function _unsupportedIterableToArray(o, minLen) {
601
- if (!o) return;
602
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
603
- var n = Object.prototype.toString.call(o).slice(8, -1);
604
- if (n === "Object" && o.constructor) n = o.constructor.name;
605
- if (n === "Map" || n === "Set") return Array.from(o);
606
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
607
- }
608
- function _arrayLikeToArray(arr, len) {
609
- if (len == null || len > arr.length) len = arr.length;
610
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
611
- return arr2;
612
- }
613
- function _nonIterableSpread() {
614
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
615
- }
616
- function _nonIterableRest() {
617
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
516
+ }, "function" != typeof e.return && (this.return = void 0);
618
517
  }
619
- function _createForOfIteratorHelper(o, allowArrayLike) {
620
- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
621
- if (!it) {
622
- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
623
- if (it) o = it;
624
- var i = 0;
625
- var F = function () {};
626
- return {
627
- s: F,
628
- n: function () {
629
- if (i >= o.length) return {
630
- done: true
631
- };
632
- return {
633
- done: false,
634
- value: o[i++]
635
- };
636
- },
637
- e: function (e) {
638
- throw e;
639
- },
640
- f: F
641
- };
518
+ AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () {
519
+ return this;
520
+ }, AsyncGenerator.prototype.next = function (e) {
521
+ return this._invoke("next", e);
522
+ }, AsyncGenerator.prototype.throw = function (e) {
523
+ return this._invoke("throw", e);
524
+ }, AsyncGenerator.prototype.return = function (e) {
525
+ return this._invoke("return", e);
526
+ };
527
+ function _wrapNativeSuper(t) {
528
+ var r = "function" == typeof Map ? new Map() : void 0;
529
+ return _wrapNativeSuper = function (t) {
530
+ if (null === t || !_isNativeFunction(t)) return t;
531
+ if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function");
532
+ if (void 0 !== r) {
533
+ if (r.has(t)) return r.get(t);
534
+ r.set(t, Wrapper);
642
535
  }
643
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
644
- }
645
- var normalCompletion = true,
646
- didErr = false,
647
- err;
648
- return {
649
- s: function () {
650
- it = it.call(o);
651
- },
652
- n: function () {
653
- var step = it.next();
654
- normalCompletion = step.done;
655
- return step;
656
- },
657
- e: function (e) {
658
- didErr = true;
659
- err = e;
660
- },
661
- f: function () {
662
- try {
663
- if (!normalCompletion && it.return != null) it.return();
664
- } finally {
665
- if (didErr) throw err;
666
- }
536
+ function Wrapper() {
537
+ return _construct(t, arguments, _getPrototypeOf(this).constructor);
667
538
  }
668
- };
539
+ return Wrapper.prototype = Object.create(t.prototype, {
540
+ constructor: {
541
+ value: Wrapper,
542
+ enumerable: !1,
543
+ writable: !0,
544
+ configurable: !0
545
+ }
546
+ }), _setPrototypeOf(Wrapper, t);
547
+ }, _wrapNativeSuper(t);
669
548
  }
670
549
 
671
550
  /**
@@ -706,7 +585,7 @@
706
585
  };
707
586
 
708
587
  /**
709
- * Determine if a value is an Array
588
+ * Determine if a value is a non-null object
710
589
  *
711
590
  * @param {Object} val The value to test
712
591
  *
@@ -721,7 +600,7 @@
721
600
  *
722
601
  * @returns {boolean} True if the value is undefined, otherwise false
723
602
  */
724
- var isUndefined = typeOfTest('undefined');
603
+ var isUndefined = typeOfTest("undefined");
725
604
 
726
605
  /**
727
606
  * Determine if a value is a Buffer
@@ -741,7 +620,7 @@
741
620
  *
742
621
  * @returns {boolean} True if value is an ArrayBuffer, otherwise false
743
622
  */
744
- var isArrayBuffer = kindOfTest('ArrayBuffer');
623
+ var isArrayBuffer = kindOfTest("ArrayBuffer");
745
624
 
746
625
  /**
747
626
  * Determine if a value is a view on an ArrayBuffer
@@ -752,7 +631,7 @@
752
631
  */
753
632
  function isArrayBufferView(val) {
754
633
  var result;
755
- if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
634
+ if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
756
635
  result = ArrayBuffer.isView(val);
757
636
  } else {
758
637
  result = val && val.buffer && isArrayBuffer(val.buffer);
@@ -767,7 +646,7 @@
767
646
  *
768
647
  * @returns {boolean} True if value is a String, otherwise false
769
648
  */
770
- var isString = typeOfTest('string');
649
+ var isString = typeOfTest("string");
771
650
 
772
651
  /**
773
652
  * Determine if a value is a Function
@@ -775,7 +654,7 @@
775
654
  * @param {*} val The value to test
776
655
  * @returns {boolean} True if value is a Function, otherwise false
777
656
  */
778
- var isFunction$1 = typeOfTest('function');
657
+ var isFunction$1 = typeOfTest("function");
779
658
 
780
659
  /**
781
660
  * Determine if a value is a Number
@@ -784,7 +663,7 @@
784
663
  *
785
664
  * @returns {boolean} True if value is a Number, otherwise false
786
665
  */
787
- var isNumber = typeOfTest('number');
666
+ var isNumber = typeOfTest("number");
788
667
 
789
668
  /**
790
669
  * Determine if a value is an Object
@@ -794,7 +673,7 @@
794
673
  * @returns {boolean} True if value is an Object, otherwise false
795
674
  */
796
675
  var isObject = function isObject(thing) {
797
- return thing !== null && _typeof(thing) === 'object';
676
+ return thing !== null && _typeof(thing) === "object";
798
677
  };
799
678
 
800
679
  /**
@@ -815,7 +694,7 @@
815
694
  * @returns {boolean} True if value is a plain Object, otherwise false
816
695
  */
817
696
  var isPlainObject = function isPlainObject(val) {
818
- if (kindOf(val) !== 'object') {
697
+ if (kindOf(val) !== "object") {
819
698
  return false;
820
699
  }
821
700
  var prototype = getPrototypeOf(val);
@@ -849,7 +728,7 @@
849
728
  *
850
729
  * @returns {boolean} True if value is a Date, otherwise false
851
730
  */
852
- var isDate = kindOfTest('Date');
731
+ var isDate = kindOfTest("Date");
853
732
 
854
733
  /**
855
734
  * Determine if a value is a File
@@ -858,7 +737,7 @@
858
737
  *
859
738
  * @returns {boolean} True if value is a File, otherwise false
860
739
  */
861
- var isFile = kindOfTest('File');
740
+ var isFile = kindOfTest("File");
862
741
 
863
742
  /**
864
743
  * Determine if a value is a Blob
@@ -867,7 +746,7 @@
867
746
  *
868
747
  * @returns {boolean} True if value is a Blob, otherwise false
869
748
  */
870
- var isBlob = kindOfTest('Blob');
749
+ var isBlob = kindOfTest("Blob");
871
750
 
872
751
  /**
873
752
  * Determine if a value is a FileList
@@ -876,7 +755,7 @@
876
755
  *
877
756
  * @returns {boolean} True if value is a File, otherwise false
878
757
  */
879
- var isFileList = kindOfTest('FileList');
758
+ var isFileList = kindOfTest("FileList");
880
759
 
881
760
  /**
882
761
  * Determine if a value is a Stream
@@ -898,9 +777,9 @@
898
777
  */
899
778
  var isFormData = function isFormData(thing) {
900
779
  var kind;
901
- return thing && (typeof FormData === 'function' && thing instanceof FormData || isFunction$1(thing.append) && ((kind = kindOf(thing)) === 'formdata' ||
780
+ return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" ||
902
781
  // detect form-data instance
903
- kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]'));
782
+ kind === "object" && isFunction$1(thing.toString) && thing.toString() === "[object FormData]"));
904
783
  };
905
784
 
906
785
  /**
@@ -910,8 +789,8 @@
910
789
  *
911
790
  * @returns {boolean} True if value is a URLSearchParams object, otherwise false
912
791
  */
913
- var isURLSearchParams = kindOfTest('URLSearchParams');
914
- var _map = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest),
792
+ var isURLSearchParams = kindOfTest("URLSearchParams");
793
+ var _map = ["ReadableStream", "Request", "Response", "Headers"].map(kindOfTest),
915
794
  _map2 = _slicedToArray(_map, 4),
916
795
  isReadableStream = _map2[0],
917
796
  isRequest = _map2[1],
@@ -926,7 +805,7 @@
926
805
  * @returns {String} The String freed of excess whitespace
927
806
  */
928
807
  var trim = function trim(str) {
929
- return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
808
+ return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
930
809
  };
931
810
 
932
811
  /**
@@ -938,10 +817,11 @@
938
817
  * If 'obj' is an Object callback will be called passing
939
818
  * the value, key, and complete object for each property.
940
819
  *
941
- * @param {Object|Array} obj The object to iterate
820
+ * @param {Object|Array<unknown>} obj The object to iterate
942
821
  * @param {Function} fn The callback to invoke for each item
943
822
  *
944
- * @param {Boolean} [allOwnKeys = false]
823
+ * @param {Object} [options]
824
+ * @param {Boolean} [options.allOwnKeys = false]
945
825
  * @returns {any}
946
826
  */
947
827
  function forEach(obj, fn) {
@@ -949,14 +829,14 @@
949
829
  _ref$allOwnKeys = _ref.allOwnKeys,
950
830
  allOwnKeys = _ref$allOwnKeys === void 0 ? false : _ref$allOwnKeys;
951
831
  // Don't bother if no value provided
952
- if (obj === null || typeof obj === 'undefined') {
832
+ if (obj === null || typeof obj === "undefined") {
953
833
  return;
954
834
  }
955
835
  var i;
956
836
  var l;
957
837
 
958
838
  // Force an array if not already something iterable
959
- if (_typeof(obj) !== 'object') {
839
+ if (_typeof(obj) !== "object") {
960
840
  /*eslint no-param-reassign:0*/
961
841
  obj = [obj];
962
842
  }
@@ -1000,7 +880,7 @@
1000
880
  var _global = function () {
1001
881
  /*eslint no-undef:0*/
1002
882
  if (typeof globalThis !== "undefined") return globalThis;
1003
- return typeof self !== "undefined" ? self : typeof window !== 'undefined' ? window : global;
883
+ return typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : global;
1004
884
  }();
1005
885
  var isContextDefined = function isContextDefined(context) {
1006
886
  return !isUndefined(context) && context !== _global;
@@ -1016,7 +896,7 @@
1016
896
  * Example:
1017
897
  *
1018
898
  * ```js
1019
- * var result = merge({foo: 123}, {foo: 456});
899
+ * const result = merge({foo: 123}, {foo: 456});
1020
900
  * console.log(result.foo); // outputs 456
1021
901
  * ```
1022
902
  *
@@ -1024,13 +904,17 @@
1024
904
  *
1025
905
  * @returns {Object} Result of all merge properties
1026
906
  */
1027
- function merge( /* obj1, obj2, obj3, ... */
907
+ function merge(/* obj1, obj2, obj3, ... */
1028
908
  ) {
1029
909
  var _ref2 = isContextDefined(this) && this || {},
1030
910
  caseless = _ref2.caseless,
1031
911
  skipUndefined = _ref2.skipUndefined;
1032
912
  var result = {};
1033
913
  var assignValue = function assignValue(val, key) {
914
+ // Skip dangerous property names to prevent prototype pollution
915
+ if (key === "__proto__" || key === "constructor" || key === "prototype") {
916
+ return;
917
+ }
1034
918
  var targetKey = caseless && findKey(result, key) || key;
1035
919
  if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
1036
920
  result[targetKey] = merge(result[targetKey], val);
@@ -1055,7 +939,8 @@
1055
939
  * @param {Object} b The object to copy properties from
1056
940
  * @param {Object} thisArg The object to bind function to
1057
941
  *
1058
- * @param {Boolean} [allOwnKeys]
942
+ * @param {Object} [options]
943
+ * @param {Boolean} [options.allOwnKeys]
1059
944
  * @returns {Object} The resulting value of object a
1060
945
  */
1061
946
  var extend = function extend(a, b, thisArg) {
@@ -1063,9 +948,19 @@
1063
948
  allOwnKeys = _ref3.allOwnKeys;
1064
949
  forEach(b, function (val, key) {
1065
950
  if (thisArg && isFunction$1(val)) {
1066
- a[key] = bind(val, thisArg);
951
+ Object.defineProperty(a, key, {
952
+ value: bind(val, thisArg),
953
+ writable: true,
954
+ enumerable: true,
955
+ configurable: true
956
+ });
1067
957
  } else {
1068
- a[key] = val;
958
+ Object.defineProperty(a, key, {
959
+ value: val,
960
+ writable: true,
961
+ enumerable: true,
962
+ configurable: true
963
+ });
1069
964
  }
1070
965
  }, {
1071
966
  allOwnKeys: allOwnKeys
@@ -1081,7 +976,7 @@
1081
976
  * @returns {string} content value without BOM
1082
977
  */
1083
978
  var stripBOM = function stripBOM(content) {
1084
- if (content.charCodeAt(0) === 0xFEFF) {
979
+ if (content.charCodeAt(0) === 0xfeff) {
1085
980
  content = content.slice(1);
1086
981
  }
1087
982
  return content;
@@ -1098,8 +993,13 @@
1098
993
  */
1099
994
  var inherits = function inherits(constructor, superConstructor, props, descriptors) {
1100
995
  constructor.prototype = Object.create(superConstructor.prototype, descriptors);
1101
- constructor.prototype.constructor = constructor;
1102
- Object.defineProperty(constructor, 'super', {
996
+ Object.defineProperty(constructor.prototype, "constructor", {
997
+ value: constructor,
998
+ writable: true,
999
+ enumerable: false,
1000
+ configurable: true
1001
+ });
1002
+ Object.defineProperty(constructor, "super", {
1103
1003
  value: superConstructor.prototype
1104
1004
  });
1105
1005
  props && Object.assign(constructor.prototype, props);
@@ -1189,7 +1089,7 @@
1189
1089
  return function (thing) {
1190
1090
  return TypedArray && thing instanceof TypedArray;
1191
1091
  };
1192
- }(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
1092
+ }(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
1193
1093
 
1194
1094
  /**
1195
1095
  * For each entry in the object, call the function with the key and value.
@@ -1227,7 +1127,7 @@
1227
1127
  };
1228
1128
 
1229
1129
  /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
1230
- var isHTMLForm = kindOfTest('HTMLFormElement');
1130
+ var isHTMLForm = kindOfTest("HTMLFormElement");
1231
1131
  var toCamelCase = function toCamelCase(str) {
1232
1132
  return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
1233
1133
  return p1.toUpperCase() + p2;
@@ -1249,7 +1149,7 @@
1249
1149
  *
1250
1150
  * @returns {boolean} True if value is a RegExp object, otherwise false
1251
1151
  */
1252
- var isRegExp = kindOfTest('RegExp');
1152
+ var isRegExp = kindOfTest("RegExp");
1253
1153
  var reduceDescriptors = function reduceDescriptors(obj, reducer) {
1254
1154
  var descriptors = Object.getOwnPropertyDescriptors(obj);
1255
1155
  var reducedDescriptors = {};
@@ -1270,19 +1170,19 @@
1270
1170
  var freezeMethods = function freezeMethods(obj) {
1271
1171
  reduceDescriptors(obj, function (descriptor, name) {
1272
1172
  // skip restricted props in strict mode
1273
- if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
1173
+ if (isFunction$1(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
1274
1174
  return false;
1275
1175
  }
1276
1176
  var value = obj[name];
1277
1177
  if (!isFunction$1(value)) return;
1278
1178
  descriptor.enumerable = false;
1279
- if ('writable' in descriptor) {
1179
+ if ("writable" in descriptor) {
1280
1180
  descriptor.writable = false;
1281
1181
  return;
1282
1182
  }
1283
1183
  if (!descriptor.set) {
1284
1184
  descriptor.set = function () {
1285
- throw Error('Can not rewrite read-only method \'' + name + '\'');
1185
+ throw Error("Can not rewrite read-only method '" + name + "'");
1286
1186
  };
1287
1187
  }
1288
1188
  });
@@ -1310,11 +1210,11 @@
1310
1210
  * @returns {boolean}
1311
1211
  */
1312
1212
  function isSpecCompliantForm(thing) {
1313
- return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
1213
+ return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
1314
1214
  }
1315
1215
  var toJSONObject = function toJSONObject(obj) {
1316
1216
  var stack = new Array(10);
1317
- var visit = function visit(source, i) {
1217
+ var _visit = function visit(source, i) {
1318
1218
  if (isObject(source)) {
1319
1219
  if (stack.indexOf(source) >= 0) {
1320
1220
  return;
@@ -1324,11 +1224,11 @@
1324
1224
  if (isBuffer(source)) {
1325
1225
  return source;
1326
1226
  }
1327
- if (!('toJSON' in source)) {
1227
+ if (!("toJSON" in source)) {
1328
1228
  stack[i] = source;
1329
1229
  var target = isArray(source) ? [] : {};
1330
1230
  forEach(source, function (value, key) {
1331
- var reducedValue = visit(value, i + 1);
1231
+ var reducedValue = _visit(value, i + 1);
1332
1232
  !isUndefined(reducedValue) && (target[key] = reducedValue);
1333
1233
  });
1334
1234
  stack[i] = undefined;
@@ -1337,9 +1237,9 @@
1337
1237
  }
1338
1238
  return source;
1339
1239
  };
1340
- return visit(obj, 0);
1240
+ return _visit(obj, 0);
1341
1241
  };
1342
- var isAsyncFn = kindOfTest('AsyncFunction');
1242
+ var isAsyncFn = kindOfTest("AsyncFunction");
1343
1243
  var isThenable = function isThenable(thing) {
1344
1244
  return thing && (isObject(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing["catch"]);
1345
1245
  };
@@ -1366,8 +1266,8 @@
1366
1266
  }("axios@".concat(Math.random()), []) : function (cb) {
1367
1267
  return setTimeout(cb);
1368
1268
  };
1369
- }(typeof setImmediate === 'function', isFunction$1(_global.postMessage));
1370
- var asap = typeof queueMicrotask !== 'undefined' ? queueMicrotask.bind(_global) : typeof process !== 'undefined' && process.nextTick || _setImmediate;
1269
+ }(typeof setImmediate === "function", isFunction$1(_global.postMessage));
1270
+ var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
1371
1271
 
1372
1272
  // *********************
1373
1273
 
@@ -1435,94 +1335,79 @@
1435
1335
  isIterable: isIterable
1436
1336
  };
1437
1337
 
1438
- /**
1439
- * Create an Error with the specified message, config, error code, request and response.
1440
- *
1441
- * @param {string} message The error message.
1442
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
1443
- * @param {Object} [config] The config.
1444
- * @param {Object} [request] The request.
1445
- * @param {Object} [response] The response.
1446
- *
1447
- * @returns {Error} The created error.
1448
- */
1449
- function AxiosError(message, code, config, request, response) {
1450
- Error.call(this);
1451
- if (Error.captureStackTrace) {
1452
- Error.captureStackTrace(this, this.constructor);
1453
- } else {
1454
- this.stack = new Error().stack;
1455
- }
1456
- this.message = message;
1457
- this.name = 'AxiosError';
1458
- code && (this.code = code);
1459
- config && (this.config = config);
1460
- request && (this.request = request);
1461
- if (response) {
1462
- this.response = response;
1463
- this.status = response.status ? response.status : null;
1464
- }
1465
- }
1466
- utils$1.inherits(AxiosError, Error, {
1467
- toJSON: function toJSON() {
1468
- return {
1469
- // Standard
1470
- message: this.message,
1471
- name: this.name,
1472
- // Microsoft
1473
- description: this.description,
1474
- number: this.number,
1475
- // Mozilla
1476
- fileName: this.fileName,
1477
- lineNumber: this.lineNumber,
1478
- columnNumber: this.columnNumber,
1479
- stack: this.stack,
1480
- // Axios
1481
- config: utils$1.toJSONObject(this.config),
1482
- code: this.code,
1483
- status: this.status
1484
- };
1485
- }
1486
- });
1487
- var prototype$1 = AxiosError.prototype;
1488
- var descriptors = {};
1489
- ['ERR_BAD_OPTION_VALUE', 'ERR_BAD_OPTION', 'ECONNABORTED', 'ETIMEDOUT', 'ERR_NETWORK', 'ERR_FR_TOO_MANY_REDIRECTS', 'ERR_DEPRECATED', 'ERR_BAD_RESPONSE', 'ERR_BAD_REQUEST', 'ERR_CANCELED', 'ERR_NOT_SUPPORT', 'ERR_INVALID_URL'
1490
- // eslint-disable-next-line func-names
1491
- ].forEach(function (code) {
1492
- descriptors[code] = {
1493
- value: code
1494
- };
1495
- });
1496
- Object.defineProperties(AxiosError, descriptors);
1497
- Object.defineProperty(prototype$1, 'isAxiosError', {
1498
- value: true
1499
- });
1500
-
1501
- // eslint-disable-next-line func-names
1502
- AxiosError.from = function (error, code, config, request, response, customProps) {
1503
- var axiosError = Object.create(prototype$1);
1504
- utils$1.toFlatObject(error, axiosError, function filter(obj) {
1505
- return obj !== Error.prototype;
1506
- }, function (prop) {
1507
- return prop !== 'isAxiosError';
1508
- });
1509
- var msg = error && error.message ? error.message : 'Error';
1510
-
1511
- // Prefer explicit code; otherwise copy the low-level error's code (e.g. ECONNREFUSED)
1512
- var errCode = code == null && error ? error.code : code;
1513
- AxiosError.call(axiosError, msg, errCode, config, request, response);
1514
-
1515
- // Chain the original error on the standard field; non-enumerable to avoid JSON noise
1516
- if (error && axiosError.cause == null) {
1517
- Object.defineProperty(axiosError, 'cause', {
1518
- value: error,
1519
- configurable: true
1520
- });
1338
+ var AxiosError = /*#__PURE__*/function (_Error) {
1339
+ /**
1340
+ * Create an Error with the specified message, config, error code, request and response.
1341
+ *
1342
+ * @param {string} message The error message.
1343
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
1344
+ * @param {Object} [config] The config.
1345
+ * @param {Object} [request] The request.
1346
+ * @param {Object} [response] The response.
1347
+ *
1348
+ * @returns {Error} The created error.
1349
+ */
1350
+ function AxiosError(message, code, config, request, response) {
1351
+ var _this;
1352
+ _classCallCheck(this, AxiosError);
1353
+ _this = _callSuper(this, AxiosError, [message]);
1354
+ _this.name = 'AxiosError';
1355
+ _this.isAxiosError = true;
1356
+ code && (_this.code = code);
1357
+ config && (_this.config = config);
1358
+ request && (_this.request = request);
1359
+ if (response) {
1360
+ _this.response = response;
1361
+ _this.status = response.status;
1362
+ }
1363
+ return _this;
1521
1364
  }
1522
- axiosError.name = error && error.name || 'Error';
1523
- customProps && Object.assign(axiosError, customProps);
1524
- return axiosError;
1525
- };
1365
+ _inherits(AxiosError, _Error);
1366
+ return _createClass(AxiosError, [{
1367
+ key: "toJSON",
1368
+ value: function toJSON() {
1369
+ return {
1370
+ // Standard
1371
+ message: this.message,
1372
+ name: this.name,
1373
+ // Microsoft
1374
+ description: this.description,
1375
+ number: this.number,
1376
+ // Mozilla
1377
+ fileName: this.fileName,
1378
+ lineNumber: this.lineNumber,
1379
+ columnNumber: this.columnNumber,
1380
+ stack: this.stack,
1381
+ // Axios
1382
+ config: utils$1.toJSONObject(this.config),
1383
+ code: this.code,
1384
+ status: this.status
1385
+ };
1386
+ }
1387
+ }], [{
1388
+ key: "from",
1389
+ value: function from(error, code, config, request, response, customProps) {
1390
+ var axiosError = new AxiosError(error.message, code || error.code, config, request, response);
1391
+ axiosError.cause = error;
1392
+ axiosError.name = error.name;
1393
+ customProps && Object.assign(axiosError, customProps);
1394
+ return axiosError;
1395
+ }
1396
+ }]);
1397
+ }(/*#__PURE__*/_wrapNativeSuper(Error)); // This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
1398
+ AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
1399
+ AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
1400
+ AxiosError.ECONNABORTED = 'ECONNABORTED';
1401
+ AxiosError.ETIMEDOUT = 'ETIMEDOUT';
1402
+ AxiosError.ERR_NETWORK = 'ERR_NETWORK';
1403
+ AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
1404
+ AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
1405
+ AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';
1406
+ AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
1407
+ AxiosError.ERR_CANCELED = 'ERR_CANCELED';
1408
+ AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
1409
+ AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
1410
+ var AxiosError$1 = AxiosError;
1526
1411
 
1527
1412
  // eslint-disable-next-line strict
1528
1413
  var httpAdapter = null;
@@ -1640,7 +1525,7 @@
1640
1525
  return value.toString();
1641
1526
  }
1642
1527
  if (!useBlob && utils$1.isBlob(value)) {
1643
- throw new AxiosError('Blob is not supported. Use a Buffer instead.');
1528
+ throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
1644
1529
  }
1645
1530
  if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
1646
1531
  return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
@@ -1780,22 +1665,19 @@
1780
1665
  * @returns {string} The formatted url
1781
1666
  */
1782
1667
  function buildURL(url, params, options) {
1783
- /*eslint no-param-reassign:0*/
1784
1668
  if (!params) {
1785
1669
  return url;
1786
1670
  }
1787
1671
  var _encode = options && options.encode || encode;
1788
- if (utils$1.isFunction(options)) {
1789
- options = {
1790
- serialize: options
1791
- };
1792
- }
1793
- var serializeFn = options && options.serialize;
1672
+ var _options = utils$1.isFunction(options) ? {
1673
+ serialize: options
1674
+ } : options;
1675
+ var serializeFn = _options && _options.serialize;
1794
1676
  var serializedParams;
1795
1677
  if (serializeFn) {
1796
- serializedParams = serializeFn(params, options);
1678
+ serializedParams = serializeFn(params, _options);
1797
1679
  } else {
1798
- serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, options).toString(_encode);
1680
+ serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode);
1799
1681
  }
1800
1682
  if (serializedParams) {
1801
1683
  var hashmarkIndex = url.indexOf("#");
@@ -1818,10 +1700,11 @@
1818
1700
  *
1819
1701
  * @param {Function} fulfilled The function to handle `then` for a `Promise`
1820
1702
  * @param {Function} rejected The function to handle `reject` for a `Promise`
1703
+ * @param {Object} options The options for the interceptor, synchronous and runWhen
1821
1704
  *
1822
1705
  * @return {Number} An ID used to remove interceptor later
1823
1706
  */
1824
- _createClass(InterceptorManager, [{
1707
+ return _createClass(InterceptorManager, [{
1825
1708
  key: "use",
1826
1709
  value: function use(fulfilled, rejected, options) {
1827
1710
  this.handlers.push({
@@ -1881,14 +1764,14 @@
1881
1764
  });
1882
1765
  }
1883
1766
  }]);
1884
- return InterceptorManager;
1885
1767
  }();
1886
1768
  var InterceptorManager$1 = InterceptorManager;
1887
1769
 
1888
1770
  var transitionalDefaults = {
1889
1771
  silentJSONParsing: true,
1890
1772
  forcedJSONParsing: true,
1891
- clarifyTimeoutError: false
1773
+ clarifyTimeoutError: false,
1774
+ legacyInterceptorReqResOrdering: true
1892
1775
  };
1893
1776
 
1894
1777
  var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
@@ -2126,7 +2009,7 @@
2126
2009
  } catch (e) {
2127
2010
  if (strictJSONParsing) {
2128
2011
  if (e.name === 'SyntaxError') {
2129
- throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
2012
+ throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
2130
2013
  }
2131
2014
  throw e;
2132
2015
  }
@@ -2258,12 +2141,12 @@
2258
2141
  });
2259
2142
  });
2260
2143
  }
2261
- var AxiosHeaders = /*#__PURE__*/function (_Symbol$iterator, _Symbol$toStringTag) {
2144
+ var AxiosHeaders = /*#__PURE__*/function () {
2262
2145
  function AxiosHeaders(headers) {
2263
2146
  _classCallCheck(this, AxiosHeaders);
2264
2147
  headers && this.set(headers);
2265
2148
  }
2266
- _createClass(AxiosHeaders, [{
2149
+ return _createClass(AxiosHeaders, [{
2267
2150
  key: "set",
2268
2151
  value: function set(header, valueOrRewrite, rewrite) {
2269
2152
  var self = this;
@@ -2422,7 +2305,7 @@
2422
2305
  return obj;
2423
2306
  }
2424
2307
  }, {
2425
- key: _Symbol$iterator,
2308
+ key: Symbol.iterator,
2426
2309
  value: function value() {
2427
2310
  return Object.entries(this.toJSON())[Symbol.iterator]();
2428
2311
  }
@@ -2442,7 +2325,7 @@
2442
2325
  return this.get("set-cookie") || [];
2443
2326
  }
2444
2327
  }, {
2445
- key: _Symbol$toStringTag,
2328
+ key: Symbol.toStringTag,
2446
2329
  get: function get() {
2447
2330
  return 'AxiosHeaders';
2448
2331
  }
@@ -2482,8 +2365,7 @@
2482
2365
  return this;
2483
2366
  }
2484
2367
  }]);
2485
- return AxiosHeaders;
2486
- }(Symbol.iterator, Symbol.toStringTag);
2368
+ }();
2487
2369
  AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
2488
2370
 
2489
2371
  // reserved names hotfix
@@ -2526,23 +2408,28 @@
2526
2408
  return !!(value && value.__CANCEL__);
2527
2409
  }
2528
2410
 
2529
- /**
2530
- * A `CanceledError` is an object that is thrown when an operation is canceled.
2531
- *
2532
- * @param {string=} message The message.
2533
- * @param {Object=} config The config.
2534
- * @param {Object=} request The request.
2535
- *
2536
- * @returns {CanceledError} The created error.
2537
- */
2538
- function CanceledError(message, config, request) {
2539
- // eslint-disable-next-line no-eq-null,eqeqeq
2540
- AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
2541
- this.name = 'CanceledError';
2542
- }
2543
- utils$1.inherits(CanceledError, AxiosError, {
2544
- __CANCEL__: true
2545
- });
2411
+ var CanceledError = /*#__PURE__*/function (_AxiosError) {
2412
+ /**
2413
+ * A `CanceledError` is an object that is thrown when an operation is canceled.
2414
+ *
2415
+ * @param {string=} message The message.
2416
+ * @param {Object=} config The config.
2417
+ * @param {Object=} request The request.
2418
+ *
2419
+ * @returns {CanceledError} The created error.
2420
+ */
2421
+ function CanceledError(message, config, request) {
2422
+ var _this;
2423
+ _classCallCheck(this, CanceledError);
2424
+ _this = _callSuper(this, CanceledError, [message == null ? 'canceled' : message, AxiosError$1.ERR_CANCELED, config, request]);
2425
+ _this.name = 'CanceledError';
2426
+ _this.__CANCEL__ = true;
2427
+ return _this;
2428
+ }
2429
+ _inherits(CanceledError, _AxiosError);
2430
+ return _createClass(CanceledError);
2431
+ }(AxiosError$1);
2432
+ var CanceledError$1 = CanceledError;
2546
2433
 
2547
2434
  /**
2548
2435
  * Resolve or reject a Promise based on response status.
@@ -2558,7 +2445,7 @@
2558
2445
  if (!response.status || !validateStatus || validateStatus(response.status)) {
2559
2446
  resolve(response);
2560
2447
  } else {
2561
- reject(new AxiosError('Request failed with status code ' + response.status, [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], response.config, response.request, response));
2448
+ reject(new AxiosError$1('Request failed with status code ' + response.status, [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], response.config, response.request, response));
2562
2449
  }
2563
2450
  }
2564
2451
 
@@ -2758,6 +2645,9 @@
2758
2645
  // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
2759
2646
  // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
2760
2647
  // by any combination of letters, digits, plus, period, or hyphen.
2648
+ if (typeof url !== 'string') {
2649
+ return false;
2650
+ }
2761
2651
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
2762
2652
  }
2763
2653
 
@@ -2820,8 +2710,6 @@
2820
2710
  }
2821
2711
  return source;
2822
2712
  }
2823
-
2824
- // eslint-disable-next-line consistent-return
2825
2713
  function mergeDeepProperties(a, b, prop, caseless) {
2826
2714
  if (!utils$1.isUndefined(b)) {
2827
2715
  return getMergedValue(a, b, prop, caseless);
@@ -2888,7 +2776,8 @@
2888
2776
  }
2889
2777
  };
2890
2778
  utils$1.forEach(Object.keys(_objectSpread2(_objectSpread2({}, config1), config2)), function computeConfigValue(prop) {
2891
- var merge = mergeMap[prop] || mergeDeepProperties;
2779
+ if (prop === "__proto__" || prop === "constructor" || prop === "prototype") return;
2780
+ var merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
2892
2781
  var configValue = merge(config1[prop], config2[prop], prop);
2893
2782
  utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
2894
2783
  });
@@ -3024,7 +2913,7 @@
3024
2913
  if (!request) {
3025
2914
  return;
3026
2915
  }
3027
- reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
2916
+ reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request));
3028
2917
 
3029
2918
  // Clean up request
3030
2919
  request = null;
@@ -3036,7 +2925,7 @@
3036
2925
  // (message may be empty; when present, surface it)
3037
2926
  // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
3038
2927
  var msg = event && event.message ? event.message : 'Network Error';
3039
- var err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);
2928
+ var err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
3040
2929
  // attach the underlying event for consumers who want details
3041
2930
  err.event = event || null;
3042
2931
  reject(err);
@@ -3050,7 +2939,7 @@
3050
2939
  if (_config.timeoutErrorMessage) {
3051
2940
  timeoutErrorMessage = _config.timeoutErrorMessage;
3052
2941
  }
3053
- reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request));
2942
+ reject(new AxiosError$1(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED, config, request));
3054
2943
 
3055
2944
  // Clean up request
3056
2945
  request = null;
@@ -3101,7 +2990,7 @@
3101
2990
  if (!request) {
3102
2991
  return;
3103
2992
  }
3104
- reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
2993
+ reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
3105
2994
  request.abort();
3106
2995
  request = null;
3107
2996
  };
@@ -3112,7 +3001,7 @@
3112
3001
  }
3113
3002
  var protocol = parseProtocol(_config.url);
3114
3003
  if (protocol && platform.protocols.indexOf(protocol) === -1) {
3115
- reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
3004
+ reject(new AxiosError$1('Unsupported protocol ' + protocol + ':', AxiosError$1.ERR_BAD_REQUEST, config));
3116
3005
  return;
3117
3006
  }
3118
3007
 
@@ -3132,12 +3021,12 @@
3132
3021
  aborted = true;
3133
3022
  unsubscribe();
3134
3023
  var err = reason instanceof Error ? reason : this.reason;
3135
- controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
3024
+ controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
3136
3025
  }
3137
3026
  };
3138
3027
  var timer = timeout && setTimeout(function () {
3139
3028
  timer = null;
3140
- onabort(new AxiosError("timeout ".concat(timeout, " of ms exceeded"), AxiosError.ETIMEDOUT));
3029
+ onabort(new AxiosError$1("timeout of ".concat(timeout, "ms exceeded"), AxiosError$1.ETIMEDOUT));
3141
3030
  }, timeout);
3142
3031
  var unsubscribe = function unsubscribe() {
3143
3032
  if (signals) {
@@ -3161,147 +3050,144 @@
3161
3050
  };
3162
3051
  var composeSignals$1 = composeSignals;
3163
3052
 
3164
- var streamChunk = /*#__PURE__*/_regeneratorRuntime().mark(function streamChunk(chunk, chunkSize) {
3053
+ var streamChunk = /*#__PURE__*/_regenerator().m(function streamChunk(chunk, chunkSize) {
3165
3054
  var len, pos, end;
3166
- return _regeneratorRuntime().wrap(function streamChunk$(_context) {
3167
- while (1) switch (_context.prev = _context.next) {
3055
+ return _regenerator().w(function (_context) {
3056
+ while (1) switch (_context.n) {
3168
3057
  case 0:
3169
3058
  len = chunk.byteLength;
3170
3059
  if (!(!chunkSize || len < chunkSize)) {
3171
- _context.next = 5;
3060
+ _context.n = 2;
3172
3061
  break;
3173
3062
  }
3174
- _context.next = 4;
3063
+ _context.n = 1;
3175
3064
  return chunk;
3176
- case 4:
3177
- return _context.abrupt("return");
3178
- case 5:
3065
+ case 1:
3066
+ return _context.a(2);
3067
+ case 2:
3179
3068
  pos = 0;
3180
- case 6:
3069
+ case 3:
3181
3070
  if (!(pos < len)) {
3182
- _context.next = 13;
3071
+ _context.n = 5;
3183
3072
  break;
3184
3073
  }
3185
3074
  end = pos + chunkSize;
3186
- _context.next = 10;
3075
+ _context.n = 4;
3187
3076
  return chunk.slice(pos, end);
3188
- case 10:
3077
+ case 4:
3189
3078
  pos = end;
3190
- _context.next = 6;
3079
+ _context.n = 3;
3191
3080
  break;
3192
- case 13:
3193
- case "end":
3194
- return _context.stop();
3081
+ case 5:
3082
+ return _context.a(2);
3195
3083
  }
3196
3084
  }, streamChunk);
3197
3085
  });
3198
3086
  var readBytes = /*#__PURE__*/function () {
3199
- var _ref = _wrapAsyncGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(iterable, chunkSize) {
3200
- var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, chunk;
3201
- return _regeneratorRuntime().wrap(function _callee$(_context2) {
3202
- while (1) switch (_context2.prev = _context2.next) {
3087
+ var _ref = _wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee(iterable, chunkSize) {
3088
+ var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, chunk, _t;
3089
+ return _regenerator().w(function (_context2) {
3090
+ while (1) switch (_context2.p = _context2.n) {
3203
3091
  case 0:
3204
3092
  _iteratorAbruptCompletion = false;
3205
3093
  _didIteratorError = false;
3206
- _context2.prev = 2;
3094
+ _context2.p = 1;
3207
3095
  _iterator = _asyncIterator(readStream(iterable));
3208
- case 4:
3209
- _context2.next = 6;
3096
+ case 2:
3097
+ _context2.n = 3;
3210
3098
  return _awaitAsyncGenerator(_iterator.next());
3211
- case 6:
3212
- if (!(_iteratorAbruptCompletion = !(_step = _context2.sent).done)) {
3213
- _context2.next = 12;
3099
+ case 3:
3100
+ if (!(_iteratorAbruptCompletion = !(_step = _context2.v).done)) {
3101
+ _context2.n = 5;
3214
3102
  break;
3215
3103
  }
3216
3104
  chunk = _step.value;
3217
- return _context2.delegateYield(_asyncGeneratorDelegate(_asyncIterator(streamChunk(chunk, chunkSize))), "t0", 9);
3218
- case 9:
3105
+ return _context2.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(streamChunk(chunk, chunkSize)))), 4);
3106
+ case 4:
3219
3107
  _iteratorAbruptCompletion = false;
3220
- _context2.next = 4;
3108
+ _context2.n = 2;
3221
3109
  break;
3222
- case 12:
3223
- _context2.next = 18;
3110
+ case 5:
3111
+ _context2.n = 7;
3224
3112
  break;
3225
- case 14:
3226
- _context2.prev = 14;
3227
- _context2.t1 = _context2["catch"](2);
3113
+ case 6:
3114
+ _context2.p = 6;
3115
+ _t = _context2.v;
3228
3116
  _didIteratorError = true;
3229
- _iteratorError = _context2.t1;
3230
- case 18:
3231
- _context2.prev = 18;
3232
- _context2.prev = 19;
3117
+ _iteratorError = _t;
3118
+ case 7:
3119
+ _context2.p = 7;
3120
+ _context2.p = 8;
3233
3121
  if (!(_iteratorAbruptCompletion && _iterator["return"] != null)) {
3234
- _context2.next = 23;
3122
+ _context2.n = 9;
3235
3123
  break;
3236
3124
  }
3237
- _context2.next = 23;
3125
+ _context2.n = 9;
3238
3126
  return _awaitAsyncGenerator(_iterator["return"]());
3239
- case 23:
3240
- _context2.prev = 23;
3127
+ case 9:
3128
+ _context2.p = 9;
3241
3129
  if (!_didIteratorError) {
3242
- _context2.next = 26;
3130
+ _context2.n = 10;
3243
3131
  break;
3244
3132
  }
3245
3133
  throw _iteratorError;
3246
- case 26:
3247
- return _context2.finish(23);
3248
- case 27:
3249
- return _context2.finish(18);
3250
- case 28:
3251
- case "end":
3252
- return _context2.stop();
3134
+ case 10:
3135
+ return _context2.f(9);
3136
+ case 11:
3137
+ return _context2.f(7);
3138
+ case 12:
3139
+ return _context2.a(2);
3253
3140
  }
3254
- }, _callee, null, [[2, 14, 18, 28], [19,, 23, 27]]);
3141
+ }, _callee, null, [[8,, 9, 11], [1, 6, 7, 12]]);
3255
3142
  }));
3256
3143
  return function readBytes(_x, _x2) {
3257
3144
  return _ref.apply(this, arguments);
3258
3145
  };
3259
3146
  }();
3260
3147
  var readStream = /*#__PURE__*/function () {
3261
- var _ref2 = _wrapAsyncGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(stream) {
3148
+ var _ref2 = _wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee2(stream) {
3262
3149
  var reader, _yield$_awaitAsyncGen, done, value;
3263
- return _regeneratorRuntime().wrap(function _callee2$(_context3) {
3264
- while (1) switch (_context3.prev = _context3.next) {
3150
+ return _regenerator().w(function (_context3) {
3151
+ while (1) switch (_context3.p = _context3.n) {
3265
3152
  case 0:
3266
3153
  if (!stream[Symbol.asyncIterator]) {
3267
- _context3.next = 3;
3154
+ _context3.n = 2;
3268
3155
  break;
3269
3156
  }
3270
- return _context3.delegateYield(_asyncGeneratorDelegate(_asyncIterator(stream)), "t0", 2);
3157
+ return _context3.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(stream))), 1);
3158
+ case 1:
3159
+ return _context3.a(2);
3271
3160
  case 2:
3272
- return _context3.abrupt("return");
3273
- case 3:
3274
3161
  reader = stream.getReader();
3275
- _context3.prev = 4;
3276
- case 5:
3277
- _context3.next = 7;
3162
+ _context3.p = 3;
3163
+ case 4:
3164
+ _context3.n = 5;
3278
3165
  return _awaitAsyncGenerator(reader.read());
3279
- case 7:
3280
- _yield$_awaitAsyncGen = _context3.sent;
3166
+ case 5:
3167
+ _yield$_awaitAsyncGen = _context3.v;
3281
3168
  done = _yield$_awaitAsyncGen.done;
3282
3169
  value = _yield$_awaitAsyncGen.value;
3283
3170
  if (!done) {
3284
- _context3.next = 12;
3171
+ _context3.n = 6;
3285
3172
  break;
3286
3173
  }
3287
- return _context3.abrupt("break", 16);
3288
- case 12:
3289
- _context3.next = 14;
3174
+ return _context3.a(3, 8);
3175
+ case 6:
3176
+ _context3.n = 7;
3290
3177
  return value;
3291
- case 14:
3292
- _context3.next = 5;
3178
+ case 7:
3179
+ _context3.n = 4;
3293
3180
  break;
3294
- case 16:
3295
- _context3.prev = 16;
3296
- _context3.next = 19;
3181
+ case 8:
3182
+ _context3.p = 8;
3183
+ _context3.n = 9;
3297
3184
  return _awaitAsyncGenerator(reader.cancel());
3298
- case 19:
3299
- return _context3.finish(16);
3300
- case 20:
3301
- case "end":
3302
- return _context3.stop();
3185
+ case 9:
3186
+ return _context3.f(8);
3187
+ case 10:
3188
+ return _context3.a(2);
3303
3189
  }
3304
- }, _callee2, null, [[4,, 16, 20]]);
3190
+ }, _callee2, null, [[3,, 8, 10]]);
3305
3191
  }));
3306
3192
  return function readStream(_x3) {
3307
3193
  return _ref2.apply(this, arguments);
@@ -3319,44 +3205,43 @@
3319
3205
  };
3320
3206
  return new ReadableStream({
3321
3207
  pull: function pull(controller) {
3322
- return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
3323
- var _yield$iterator$next, _done, value, len, loadedBytes;
3324
- return _regeneratorRuntime().wrap(function _callee3$(_context4) {
3325
- while (1) switch (_context4.prev = _context4.next) {
3208
+ return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() {
3209
+ var _yield$iterator$next, _done, value, len, loadedBytes, _t2;
3210
+ return _regenerator().w(function (_context4) {
3211
+ while (1) switch (_context4.p = _context4.n) {
3326
3212
  case 0:
3327
- _context4.prev = 0;
3328
- _context4.next = 3;
3213
+ _context4.p = 0;
3214
+ _context4.n = 1;
3329
3215
  return iterator.next();
3330
- case 3:
3331
- _yield$iterator$next = _context4.sent;
3216
+ case 1:
3217
+ _yield$iterator$next = _context4.v;
3332
3218
  _done = _yield$iterator$next.done;
3333
3219
  value = _yield$iterator$next.value;
3334
3220
  if (!_done) {
3335
- _context4.next = 10;
3221
+ _context4.n = 2;
3336
3222
  break;
3337
3223
  }
3338
3224
  _onFinish();
3339
3225
  controller.close();
3340
- return _context4.abrupt("return");
3341
- case 10:
3226
+ return _context4.a(2);
3227
+ case 2:
3342
3228
  len = value.byteLength;
3343
3229
  if (onProgress) {
3344
3230
  loadedBytes = bytes += len;
3345
3231
  onProgress(loadedBytes);
3346
3232
  }
3347
3233
  controller.enqueue(new Uint8Array(value));
3348
- _context4.next = 19;
3234
+ _context4.n = 4;
3349
3235
  break;
3350
- case 15:
3351
- _context4.prev = 15;
3352
- _context4.t0 = _context4["catch"](0);
3353
- _onFinish(_context4.t0);
3354
- throw _context4.t0;
3355
- case 19:
3356
- case "end":
3357
- return _context4.stop();
3236
+ case 3:
3237
+ _context4.p = 3;
3238
+ _t2 = _context4.v;
3239
+ _onFinish(_t2);
3240
+ throw _t2;
3241
+ case 4:
3242
+ return _context4.a(2);
3358
3243
  }
3359
- }, _callee3, null, [[0, 15]]);
3244
+ }, _callee3, null, [[0, 3]]);
3360
3245
  }))();
3361
3246
  },
3362
3247
  cancel: function cancel(reason) {
@@ -3410,20 +3295,18 @@
3410
3295
  return function (str) {
3411
3296
  return encoder.encode(str);
3412
3297
  };
3413
- }(new TextEncoder()) : ( /*#__PURE__*/function () {
3414
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
3415
- return _regeneratorRuntime().wrap(function _callee$(_context) {
3416
- while (1) switch (_context.prev = _context.next) {
3298
+ }(new TextEncoder()) : (/*#__PURE__*/function () {
3299
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(str) {
3300
+ var _t, _t2;
3301
+ return _regenerator().w(function (_context) {
3302
+ while (1) switch (_context.n) {
3417
3303
  case 0:
3418
- _context.t0 = Uint8Array;
3419
- _context.next = 3;
3304
+ _t = Uint8Array;
3305
+ _context.n = 1;
3420
3306
  return new Request(str).arrayBuffer();
3421
- case 3:
3422
- _context.t1 = _context.sent;
3423
- return _context.abrupt("return", new _context.t0(_context.t1));
3424
- case 5:
3425
- case "end":
3426
- return _context.stop();
3307
+ case 1:
3308
+ _t2 = _context.v;
3309
+ return _context.a(2, new _t(_t2));
3427
3310
  }
3428
3311
  }, _callee);
3429
3312
  }));
@@ -3458,61 +3341,60 @@
3458
3341
  if (method) {
3459
3342
  return method.call(res);
3460
3343
  }
3461
- throw new AxiosError("Response type '".concat(type, "' is not supported"), AxiosError.ERR_NOT_SUPPORT, config);
3344
+ throw new AxiosError$1("Response type '".concat(type, "' is not supported"), AxiosError$1.ERR_NOT_SUPPORT, config);
3462
3345
  });
3463
3346
  });
3464
3347
  }();
3465
3348
  var getBodyLength = /*#__PURE__*/function () {
3466
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(body) {
3349
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(body) {
3467
3350
  var _request;
3468
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
3469
- while (1) switch (_context2.prev = _context2.next) {
3351
+ return _regenerator().w(function (_context2) {
3352
+ while (1) switch (_context2.n) {
3470
3353
  case 0:
3471
3354
  if (!(body == null)) {
3472
- _context2.next = 2;
3355
+ _context2.n = 1;
3473
3356
  break;
3474
3357
  }
3475
- return _context2.abrupt("return", 0);
3476
- case 2:
3358
+ return _context2.a(2, 0);
3359
+ case 1:
3477
3360
  if (!utils$1.isBlob(body)) {
3478
- _context2.next = 4;
3361
+ _context2.n = 2;
3479
3362
  break;
3480
3363
  }
3481
- return _context2.abrupt("return", body.size);
3482
- case 4:
3364
+ return _context2.a(2, body.size);
3365
+ case 2:
3483
3366
  if (!utils$1.isSpecCompliantForm(body)) {
3484
- _context2.next = 9;
3367
+ _context2.n = 4;
3485
3368
  break;
3486
3369
  }
3487
3370
  _request = new Request(platform.origin, {
3488
3371
  method: 'POST',
3489
3372
  body: body
3490
3373
  });
3491
- _context2.next = 8;
3374
+ _context2.n = 3;
3492
3375
  return _request.arrayBuffer();
3493
- case 8:
3494
- return _context2.abrupt("return", _context2.sent.byteLength);
3495
- case 9:
3376
+ case 3:
3377
+ return _context2.a(2, _context2.v.byteLength);
3378
+ case 4:
3496
3379
  if (!(utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body))) {
3497
- _context2.next = 11;
3380
+ _context2.n = 5;
3498
3381
  break;
3499
3382
  }
3500
- return _context2.abrupt("return", body.byteLength);
3501
- case 11:
3383
+ return _context2.a(2, body.byteLength);
3384
+ case 5:
3502
3385
  if (utils$1.isURLSearchParams(body)) {
3503
3386
  body = body + '';
3504
3387
  }
3505
3388
  if (!utils$1.isString(body)) {
3506
- _context2.next = 16;
3389
+ _context2.n = 7;
3507
3390
  break;
3508
3391
  }
3509
- _context2.next = 15;
3392
+ _context2.n = 6;
3510
3393
  return encodeText(body);
3511
- case 15:
3512
- return _context2.abrupt("return", _context2.sent.byteLength);
3513
- case 16:
3514
- case "end":
3515
- return _context2.stop();
3394
+ case 6:
3395
+ return _context2.a(2, _context2.v.byteLength);
3396
+ case 7:
3397
+ return _context2.a(2);
3516
3398
  }
3517
3399
  }, _callee2);
3518
3400
  }));
@@ -3521,16 +3403,13 @@
3521
3403
  };
3522
3404
  }();
3523
3405
  var resolveBodyLength = /*#__PURE__*/function () {
3524
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(headers, body) {
3406
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(headers, body) {
3525
3407
  var length;
3526
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
3527
- while (1) switch (_context3.prev = _context3.next) {
3408
+ return _regenerator().w(function (_context3) {
3409
+ while (1) switch (_context3.n) {
3528
3410
  case 0:
3529
3411
  length = utils$1.toFiniteNumber(headers.getContentLength());
3530
- return _context3.abrupt("return", length == null ? getBodyLength(body) : length);
3531
- case 2:
3532
- case "end":
3533
- return _context3.stop();
3412
+ return _context3.a(2, length == null ? getBodyLength(body) : length);
3534
3413
  }
3535
3414
  }, _callee3);
3536
3415
  }));
@@ -3539,10 +3418,10 @@
3539
3418
  };
3540
3419
  }();
3541
3420
  return /*#__PURE__*/function () {
3542
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(config) {
3543
- var _resolveConfig, url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, _resolveConfig$withCr, withCredentials, fetchOptions, _fetch, composedSignal, request, unsubscribe, requestContentLength, _request, contentTypeHeader, _progressEventDecorat, _progressEventDecorat2, onProgress, flush, isCredentialsSupported, resolvedOptions, response, isStreamResponse, options, responseContentLength, _ref6, _ref7, _onProgress, _flush, responseData;
3544
- return _regeneratorRuntime().wrap(function _callee4$(_context4) {
3545
- while (1) switch (_context4.prev = _context4.next) {
3421
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(config) {
3422
+ var _resolveConfig, url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, _resolveConfig$withCr, withCredentials, fetchOptions, _fetch, composedSignal, request, unsubscribe, requestContentLength, _request, contentTypeHeader, _progressEventDecorat, _progressEventDecorat2, onProgress, flush, isCredentialsSupported, resolvedOptions, response, isStreamResponse, options, responseContentLength, _ref6, _ref7, _onProgress, _flush, responseData, _t3, _t4, _t5;
3423
+ return _regenerator().w(function (_context4) {
3424
+ while (1) switch (_context4.p = _context4.n) {
3546
3425
  case 0:
3547
3426
  _resolveConfig = resolveConfig(config), url = _resolveConfig.url, method = _resolveConfig.method, data = _resolveConfig.data, signal = _resolveConfig.signal, cancelToken = _resolveConfig.cancelToken, timeout = _resolveConfig.timeout, onDownloadProgress = _resolveConfig.onDownloadProgress, onUploadProgress = _resolveConfig.onUploadProgress, responseType = _resolveConfig.responseType, headers = _resolveConfig.headers, _resolveConfig$withCr = _resolveConfig.withCredentials, withCredentials = _resolveConfig$withCr === void 0 ? 'same-origin' : _resolveConfig$withCr, fetchOptions = _resolveConfig.fetchOptions;
3548
3427
  _fetch = envFetch || fetch;
@@ -3552,20 +3431,20 @@
3552
3431
  unsubscribe = composedSignal && composedSignal.unsubscribe && function () {
3553
3432
  composedSignal.unsubscribe();
3554
3433
  };
3555
- _context4.prev = 6;
3556
- _context4.t0 = onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head';
3557
- if (!_context4.t0) {
3558
- _context4.next = 13;
3434
+ _context4.p = 1;
3435
+ _t3 = onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head';
3436
+ if (!_t3) {
3437
+ _context4.n = 3;
3559
3438
  break;
3560
3439
  }
3561
- _context4.next = 11;
3440
+ _context4.n = 2;
3562
3441
  return resolveBodyLength(headers, data);
3563
- case 11:
3564
- _context4.t1 = requestContentLength = _context4.sent;
3565
- _context4.t0 = _context4.t1 !== 0;
3566
- case 13:
3567
- if (!_context4.t0) {
3568
- _context4.next = 17;
3442
+ case 2:
3443
+ _t4 = requestContentLength = _context4.v;
3444
+ _t3 = _t4 !== 0;
3445
+ case 3:
3446
+ if (!_t3) {
3447
+ _context4.n = 4;
3569
3448
  break;
3570
3449
  }
3571
3450
  _request = new Request(url, {
@@ -3580,7 +3459,7 @@
3580
3459
  _progressEventDecorat = progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress))), _progressEventDecorat2 = _slicedToArray(_progressEventDecorat, 2), onProgress = _progressEventDecorat2[0], flush = _progressEventDecorat2[1];
3581
3460
  data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
3582
3461
  }
3583
- case 17:
3462
+ case 4:
3584
3463
  if (!utils$1.isString(withCredentials)) {
3585
3464
  withCredentials = withCredentials ? 'include' : 'omit';
3586
3465
  }
@@ -3597,10 +3476,10 @@
3597
3476
  credentials: isCredentialsSupported ? withCredentials : undefined
3598
3477
  });
3599
3478
  request = isRequestSupported && new Request(url, resolvedOptions);
3600
- _context4.next = 23;
3479
+ _context4.n = 5;
3601
3480
  return isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions);
3602
- case 23:
3603
- response = _context4.sent;
3481
+ case 5:
3482
+ response = _context4.v;
3604
3483
  isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
3605
3484
  if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
3606
3485
  options = {};
@@ -3615,12 +3494,12 @@
3615
3494
  }), options);
3616
3495
  }
3617
3496
  responseType = responseType || 'text';
3618
- _context4.next = 29;
3497
+ _context4.n = 6;
3619
3498
  return resolvers[utils$1.findKey(resolvers, responseType) || 'text'](response, config);
3620
- case 29:
3621
- responseData = _context4.sent;
3499
+ case 6:
3500
+ responseData = _context4.v;
3622
3501
  !isStreamResponse && unsubscribe && unsubscribe();
3623
- _context4.next = 33;
3502
+ _context4.n = 7;
3624
3503
  return new Promise(function (resolve, reject) {
3625
3504
  settle(resolve, reject, {
3626
3505
  data: responseData,
@@ -3631,26 +3510,25 @@
3631
3510
  request: request
3632
3511
  });
3633
3512
  });
3634
- case 33:
3635
- return _context4.abrupt("return", _context4.sent);
3636
- case 36:
3637
- _context4.prev = 36;
3638
- _context4.t2 = _context4["catch"](6);
3513
+ case 7:
3514
+ return _context4.a(2, _context4.v);
3515
+ case 8:
3516
+ _context4.p = 8;
3517
+ _t5 = _context4.v;
3639
3518
  unsubscribe && unsubscribe();
3640
- if (!(_context4.t2 && _context4.t2.name === 'TypeError' && /Load failed|fetch/i.test(_context4.t2.message))) {
3641
- _context4.next = 41;
3519
+ if (!(_t5 && _t5.name === 'TypeError' && /Load failed|fetch/i.test(_t5.message))) {
3520
+ _context4.n = 9;
3642
3521
  break;
3643
3522
  }
3644
- throw Object.assign(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request), {
3645
- cause: _context4.t2.cause || _context4.t2
3523
+ throw Object.assign(new AxiosError$1('Network Error', AxiosError$1.ERR_NETWORK, config, request, _t5 && _t5.response), {
3524
+ cause: _t5.cause || _t5
3646
3525
  });
3647
- case 41:
3648
- throw AxiosError.from(_context4.t2, _context4.t2 && _context4.t2.code, config, request);
3649
- case 42:
3650
- case "end":
3651
- return _context4.stop();
3526
+ case 9:
3527
+ throw AxiosError$1.from(_t5, _t5 && _t5.code, config, request, _t5 && _t5.response);
3528
+ case 10:
3529
+ return _context4.a(2);
3652
3530
  }
3653
- }, _callee4, null, [[6, 36]]);
3531
+ }, _callee4, null, [[1, 8]]);
3654
3532
  }));
3655
3533
  return function (_x5) {
3656
3534
  return _ref5.apply(this, arguments);
@@ -3756,7 +3634,7 @@
3756
3634
  if (!isResolvedHandle(nameOrAdapter)) {
3757
3635
  adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
3758
3636
  if (adapter === undefined) {
3759
- throw new AxiosError("Unknown adapter '".concat(id, "'"));
3637
+ throw new AxiosError$1("Unknown adapter '".concat(id, "'"));
3760
3638
  }
3761
3639
  }
3762
3640
  if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
@@ -3772,7 +3650,7 @@
3772
3650
  return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build');
3773
3651
  });
3774
3652
  var s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
3775
- throw new AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
3653
+ throw new AxiosError$1("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
3776
3654
  }
3777
3655
  return adapter;
3778
3656
  }
@@ -3805,7 +3683,7 @@
3805
3683
  config.cancelToken.throwIfRequested();
3806
3684
  }
3807
3685
  if (config.signal && config.signal.aborted) {
3808
- throw new CanceledError(null, config);
3686
+ throw new CanceledError$1(null, config);
3809
3687
  }
3810
3688
  }
3811
3689
 
@@ -3847,7 +3725,7 @@
3847
3725
  });
3848
3726
  }
3849
3727
 
3850
- var VERSION = "1.13.2";
3728
+ var VERSION = "1.13.5";
3851
3729
 
3852
3730
  var validators$1 = {};
3853
3731
 
@@ -3876,7 +3754,7 @@
3876
3754
  // eslint-disable-next-line func-names
3877
3755
  return function (value, opt, opts) {
3878
3756
  if (validator === false) {
3879
- throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED);
3757
+ throw new AxiosError$1(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError$1.ERR_DEPRECATED);
3880
3758
  }
3881
3759
  if (version && !deprecatedWarnings[opt]) {
3882
3760
  deprecatedWarnings[opt] = true;
@@ -3906,7 +3784,7 @@
3906
3784
 
3907
3785
  function assertOptions(options, schema, allowUnknown) {
3908
3786
  if (_typeof(options) !== 'object') {
3909
- throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
3787
+ throw new AxiosError$1('options must be an object', AxiosError$1.ERR_BAD_OPTION_VALUE);
3910
3788
  }
3911
3789
  var keys = Object.keys(options);
3912
3790
  var i = keys.length;
@@ -3917,12 +3795,12 @@
3917
3795
  var value = options[opt];
3918
3796
  var result = value === undefined || validator(value, opt, options);
3919
3797
  if (result !== true) {
3920
- throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
3798
+ throw new AxiosError$1('option ' + opt + ' must be ' + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
3921
3799
  }
3922
3800
  continue;
3923
3801
  }
3924
3802
  if (allowUnknown !== true) {
3925
- throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
3803
+ throw new AxiosError$1('Unknown option ' + opt, AxiosError$1.ERR_BAD_OPTION);
3926
3804
  }
3927
3805
  }
3928
3806
  }
@@ -3958,45 +3836,44 @@
3958
3836
  *
3959
3837
  * @returns {Promise} The Promise to be fulfilled
3960
3838
  */
3961
- _createClass(Axios, [{
3839
+ return _createClass(Axios, [{
3962
3840
  key: "request",
3963
3841
  value: (function () {
3964
- var _request2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl, config) {
3965
- var dummy, stack;
3966
- return _regeneratorRuntime().wrap(function _callee$(_context) {
3967
- while (1) switch (_context.prev = _context.next) {
3842
+ var _request2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(configOrUrl, config) {
3843
+ var dummy, stack, _t;
3844
+ return _regenerator().w(function (_context) {
3845
+ while (1) switch (_context.p = _context.n) {
3968
3846
  case 0:
3969
- _context.prev = 0;
3970
- _context.next = 3;
3847
+ _context.p = 0;
3848
+ _context.n = 1;
3971
3849
  return this._request(configOrUrl, config);
3972
- case 3:
3973
- return _context.abrupt("return", _context.sent);
3974
- case 6:
3975
- _context.prev = 6;
3976
- _context.t0 = _context["catch"](0);
3977
- if (_context.t0 instanceof Error) {
3850
+ case 1:
3851
+ return _context.a(2, _context.v);
3852
+ case 2:
3853
+ _context.p = 2;
3854
+ _t = _context.v;
3855
+ if (_t instanceof Error) {
3978
3856
  dummy = {};
3979
3857
  Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
3980
3858
 
3981
3859
  // slice off the Error: ... line
3982
3860
  stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
3983
3861
  try {
3984
- if (!_context.t0.stack) {
3985
- _context.t0.stack = stack;
3862
+ if (!_t.stack) {
3863
+ _t.stack = stack;
3986
3864
  // match without the 2 top stack lines
3987
- } else if (stack && !String(_context.t0.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
3988
- _context.t0.stack += '\n' + stack;
3865
+ } else if (stack && !String(_t.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
3866
+ _t.stack += '\n' + stack;
3989
3867
  }
3990
3868
  } catch (e) {
3991
3869
  // ignore the case where "stack" is an un-writable property
3992
3870
  }
3993
3871
  }
3994
- throw _context.t0;
3995
- case 10:
3996
- case "end":
3997
- return _context.stop();
3872
+ throw _t;
3873
+ case 3:
3874
+ return _context.a(2);
3998
3875
  }
3999
- }, _callee, this, [[0, 6]]);
3876
+ }, _callee, this, [[0, 2]]);
4000
3877
  }));
4001
3878
  function request(_x, _x2) {
4002
3879
  return _request2.apply(this, arguments);
@@ -4023,7 +3900,8 @@
4023
3900
  validator.assertOptions(transitional, {
4024
3901
  silentJSONParsing: validators.transitional(validators["boolean"]),
4025
3902
  forcedJSONParsing: validators.transitional(validators["boolean"]),
4026
- clarifyTimeoutError: validators.transitional(validators["boolean"])
3903
+ clarifyTimeoutError: validators.transitional(validators["boolean"]),
3904
+ legacyInterceptorReqResOrdering: validators.transitional(validators["boolean"])
4027
3905
  }, false);
4028
3906
  }
4029
3907
  if (paramsSerializer != null) {
@@ -4068,7 +3946,13 @@
4068
3946
  return;
4069
3947
  }
4070
3948
  synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
4071
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
3949
+ var transitional = config.transitional || transitionalDefaults;
3950
+ var legacyInterceptorReqResOrdering = transitional && transitional.legacyInterceptorReqResOrdering;
3951
+ if (legacyInterceptorReqResOrdering) {
3952
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
3953
+ } else {
3954
+ requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
3955
+ }
4072
3956
  });
4073
3957
  var responseInterceptorChain = [];
4074
3958
  this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
@@ -4120,7 +4004,6 @@
4120
4004
  return buildURL(fullPath, config.params, config.paramsSerializer);
4121
4005
  }
4122
4006
  }]);
4123
- return Axios;
4124
4007
  }(); // Provide aliases for supported request methods
4125
4008
  utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
4126
4009
  /*eslint func-names:0*/
@@ -4199,7 +4082,7 @@
4199
4082
  // Cancellation has already been requested
4200
4083
  return;
4201
4084
  }
4202
- token.reason = new CanceledError(message, config, request);
4085
+ token.reason = new CanceledError$1(message, config, request);
4203
4086
  resolvePromise(token.reason);
4204
4087
  });
4205
4088
  }
@@ -4207,7 +4090,7 @@
4207
4090
  /**
4208
4091
  * Throws a `CanceledError` if cancellation has been requested.
4209
4092
  */
4210
- _createClass(CancelToken, [{
4093
+ return _createClass(CancelToken, [{
4211
4094
  key: "throwIfRequested",
4212
4095
  value: function throwIfRequested() {
4213
4096
  if (this.reason) {
@@ -4278,7 +4161,6 @@
4278
4161
  };
4279
4162
  }
4280
4163
  }]);
4281
- return CancelToken;
4282
4164
  }();
4283
4165
  var CancelToken$1 = CancelToken;
4284
4166
 
@@ -4289,7 +4171,7 @@
4289
4171
  *
4290
4172
  * ```js
4291
4173
  * function f(x, y, z) {}
4292
- * var args = [1, 2, 3];
4174
+ * const args = [1, 2, 3];
4293
4175
  * f.apply(null, args);
4294
4176
  * ```
4295
4177
  *
@@ -4434,14 +4316,14 @@
4434
4316
  axios.Axios = Axios$1;
4435
4317
 
4436
4318
  // Expose Cancel & CancelToken
4437
- axios.CanceledError = CanceledError;
4319
+ axios.CanceledError = CanceledError$1;
4438
4320
  axios.CancelToken = CancelToken$1;
4439
4321
  axios.isCancel = isCancel;
4440
4322
  axios.VERSION = VERSION;
4441
4323
  axios.toFormData = toFormData;
4442
4324
 
4443
4325
  // Expose AxiosError class
4444
- axios.AxiosError = AxiosError;
4326
+ axios.AxiosError = AxiosError$1;
4445
4327
 
4446
4328
  // alias for CanceledError for backward compatibility
4447
4329
  axios.Cancel = axios.CanceledError;