@slicemachine/manager 0.1.1-dev-plugins.3

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 (1500) hide show
  1. package/LICENSE +202 -0
  2. package/dist/__node_modules/@mswjs/cookies/lib/index.cjs +26 -0
  3. package/dist/__node_modules/@mswjs/cookies/lib/index.cjs.map +1 -0
  4. package/dist/__node_modules/@mswjs/cookies/lib/index.js +25 -0
  5. package/dist/__node_modules/@mswjs/cookies/lib/index.js.map +1 -0
  6. package/dist/__node_modules/@mswjs/cookies/lib/store.cjs +175 -0
  7. package/dist/__node_modules/@mswjs/cookies/lib/store.cjs.map +1 -0
  8. package/dist/__node_modules/@mswjs/cookies/lib/store.js +174 -0
  9. package/dist/__node_modules/@mswjs/cookies/lib/store.js.map +1 -0
  10. package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.cjs +92 -0
  11. package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.cjs.map +1 -0
  12. package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.js +93 -0
  13. package/dist/__node_modules/@mswjs/interceptors/lib/BatchInterceptor.js.map +1 -0
  14. package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.cjs +52 -0
  15. package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.cjs.map +1 -0
  16. package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.js +53 -0
  17. package/dist/__node_modules/@mswjs/interceptors/lib/InteractiveIsomorphicRequest.js.map +1 -0
  18. package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.cjs +176 -0
  19. package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.cjs.map +1 -0
  20. package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.js +175 -0
  21. package/dist/__node_modules/@mswjs/interceptors/lib/Interceptor.js.map +1 -0
  22. package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.cjs +186 -0
  23. package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.cjs.map +1 -0
  24. package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.js +187 -0
  25. package/dist/__node_modules/@mswjs/interceptors/lib/IsomorphicRequest.js.map +1 -0
  26. package/dist/__node_modules/@mswjs/interceptors/lib/glossary.cjs +7 -0
  27. package/dist/__node_modules/@mswjs/interceptors/lib/glossary.cjs.map +1 -0
  28. package/dist/__node_modules/@mswjs/interceptors/lib/glossary.js +8 -0
  29. package/dist/__node_modules/@mswjs/interceptors/lib/glossary.js.map +1 -0
  30. package/dist/__node_modules/@mswjs/interceptors/lib/index.cjs +54 -0
  31. package/dist/__node_modules/@mswjs/interceptors/lib/index.cjs.map +1 -0
  32. package/dist/__node_modules/@mswjs/interceptors/lib/index.js +53 -0
  33. package/dist/__node_modules/@mswjs/interceptors/lib/index.js.map +1 -0
  34. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.cjs +554 -0
  35. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.cjs.map +1 -0
  36. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.js +554 -0
  37. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/XMLHttpRequestOverride.js.map +1 -0
  38. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.cjs +83 -0
  39. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.cjs.map +1 -0
  40. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.js +83 -0
  41. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.js.map +1 -0
  42. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.cjs +57 -0
  43. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.cjs.map +1 -0
  44. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.js +57 -0
  45. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/EventPolyfill.js.map +1 -0
  46. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.cjs +51 -0
  47. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.cjs.map +1 -0
  48. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.js +51 -0
  49. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/polyfills/ProgressEventPolyfill.js.map +1 -0
  50. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.cjs +26 -0
  51. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.cjs.map +1 -0
  52. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.js +26 -0
  53. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/bufferFrom.js.map +1 -0
  54. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.cjs +41 -0
  55. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.cjs.map +1 -0
  56. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.js +41 -0
  57. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/XMLHttpRequest/utils/createEvent.js.map +1 -0
  58. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.cjs +319 -0
  59. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.cjs.map +1 -0
  60. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.js +319 -0
  61. package/dist/__node_modules/@mswjs/interceptors/lib/interceptors/fetch/index.js.map +1 -0
  62. package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.cjs +327 -0
  63. package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.cjs.map +1 -0
  64. package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.js +326 -0
  65. package/dist/__node_modules/@mswjs/interceptors/lib/utils/AsyncEventEmitter.js.map +1 -0
  66. package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.cjs +24 -0
  67. package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.cjs.map +1 -0
  68. package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.js +25 -0
  69. package/dist/__node_modules/@mswjs/interceptors/lib/utils/bufferUtils.js.map +1 -0
  70. package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.cjs +148 -0
  71. package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.cjs.map +1 -0
  72. package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.js +149 -0
  73. package/dist/__node_modules/@mswjs/interceptors/lib/utils/createLazyCallback.js.map +1 -0
  74. package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.cjs +13 -0
  75. package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.cjs.map +1 -0
  76. package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.js +14 -0
  77. package/dist/__node_modules/@mswjs/interceptors/lib/utils/getCleanUrl.js.map +1 -0
  78. package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.cjs +18 -0
  79. package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.cjs.map +1 -0
  80. package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.js +19 -0
  81. package/dist/__node_modules/@mswjs/interceptors/lib/utils/nextTick.js.map +1 -0
  82. package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.cjs +23 -0
  83. package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.cjs.map +1 -0
  84. package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.js +23 -0
  85. package/dist/__node_modules/@mswjs/interceptors/lib/utils/parseJson.js.map +1 -0
  86. package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.cjs +26 -0
  87. package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.cjs.map +1 -0
  88. package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.js +26 -0
  89. package/dist/__node_modules/@mswjs/interceptors/lib/utils/toIsoResponse.js.map +1 -0
  90. package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.cjs +14 -0
  91. package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.cjs.map +1 -0
  92. package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.js +15 -0
  93. package/dist/__node_modules/@mswjs/interceptors/lib/utils/uuid.js.map +1 -0
  94. package/dist/__node_modules/@open-draft/until/lib/index.cjs +9 -0
  95. package/dist/__node_modules/@open-draft/until/lib/index.cjs.map +1 -0
  96. package/dist/__node_modules/@open-draft/until/lib/index.js +10 -0
  97. package/dist/__node_modules/@open-draft/until/lib/index.js.map +1 -0
  98. package/dist/__node_modules/@open-draft/until/lib/until.cjs +15 -0
  99. package/dist/__node_modules/@open-draft/until/lib/until.cjs.map +1 -0
  100. package/dist/__node_modules/@open-draft/until/lib/until.js +16 -0
  101. package/dist/__node_modules/@open-draft/until/lib/until.js.map +1 -0
  102. package/dist/__node_modules/@xmldom/xmldom/lib/conventions.cjs +144 -0
  103. package/dist/__node_modules/@xmldom/xmldom/lib/conventions.cjs.map +1 -0
  104. package/dist/__node_modules/@xmldom/xmldom/lib/conventions.js +144 -0
  105. package/dist/__node_modules/@xmldom/xmldom/lib/conventions.js.map +1 -0
  106. package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.cjs +226 -0
  107. package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.cjs.map +1 -0
  108. package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.js +226 -0
  109. package/dist/__node_modules/@xmldom/xmldom/lib/dom-parser.js.map +1 -0
  110. package/dist/__node_modules/@xmldom/xmldom/lib/dom.cjs +1396 -0
  111. package/dist/__node_modules/@xmldom/xmldom/lib/dom.cjs.map +1 -0
  112. package/dist/__node_modules/@xmldom/xmldom/lib/dom.js +1396 -0
  113. package/dist/__node_modules/@xmldom/xmldom/lib/dom.js.map +1 -0
  114. package/dist/__node_modules/@xmldom/xmldom/lib/entities.cjs +261 -0
  115. package/dist/__node_modules/@xmldom/xmldom/lib/entities.cjs.map +1 -0
  116. package/dist/__node_modules/@xmldom/xmldom/lib/entities.js +261 -0
  117. package/dist/__node_modules/@xmldom/xmldom/lib/entities.js.map +1 -0
  118. package/dist/__node_modules/@xmldom/xmldom/lib/index.cjs +18 -0
  119. package/dist/__node_modules/@xmldom/xmldom/lib/index.cjs.map +1 -0
  120. package/dist/__node_modules/@xmldom/xmldom/lib/index.js +18 -0
  121. package/dist/__node_modules/@xmldom/xmldom/lib/index.js.map +1 -0
  122. package/dist/__node_modules/@xmldom/xmldom/lib/sax.cjs +588 -0
  123. package/dist/__node_modules/@xmldom/xmldom/lib/sax.cjs.map +1 -0
  124. package/dist/__node_modules/@xmldom/xmldom/lib/sax.js +588 -0
  125. package/dist/__node_modules/@xmldom/xmldom/lib/sax.js.map +1 -0
  126. package/dist/__node_modules/busboy/lib/index.cjs +51 -0
  127. package/dist/__node_modules/busboy/lib/index.cjs.map +1 -0
  128. package/dist/__node_modules/busboy/lib/index.js +52 -0
  129. package/dist/__node_modules/busboy/lib/index.js.map +1 -0
  130. package/dist/__node_modules/busboy/lib/types/multipart.cjs +1046 -0
  131. package/dist/__node_modules/busboy/lib/types/multipart.cjs.map +1 -0
  132. package/dist/__node_modules/busboy/lib/types/multipart.js +1047 -0
  133. package/dist/__node_modules/busboy/lib/types/multipart.js.map +1 -0
  134. package/dist/__node_modules/busboy/lib/types/urlencoded.cjs +545 -0
  135. package/dist/__node_modules/busboy/lib/types/urlencoded.cjs.map +1 -0
  136. package/dist/__node_modules/busboy/lib/types/urlencoded.js +546 -0
  137. package/dist/__node_modules/busboy/lib/types/urlencoded.js.map +1 -0
  138. package/dist/__node_modules/busboy/lib/utils.cjs +1681 -0
  139. package/dist/__node_modules/busboy/lib/utils.cjs.map +1 -0
  140. package/dist/__node_modules/busboy/lib/utils.js +1682 -0
  141. package/dist/__node_modules/busboy/lib/utils.js.map +1 -0
  142. package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.cjs +135 -0
  143. package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.cjs.map +1 -0
  144. package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.js +136 -0
  145. package/dist/__node_modules/common-tags/es/TemplateTag/TemplateTag.js.map +1 -0
  146. package/dist/__node_modules/common-tags/es/commaLists/commaLists.cjs +7 -0
  147. package/dist/__node_modules/common-tags/es/commaLists/commaLists.cjs.map +1 -0
  148. package/dist/__node_modules/common-tags/es/commaLists/commaLists.js +6 -0
  149. package/dist/__node_modules/common-tags/es/commaLists/commaLists.js.map +1 -0
  150. package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.cjs +7 -0
  151. package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.cjs.map +1 -0
  152. package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.js +6 -0
  153. package/dist/__node_modules/common-tags/es/commaListsAnd/commaListsAnd.js.map +1 -0
  154. package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.cjs +7 -0
  155. package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.cjs.map +1 -0
  156. package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.js +6 -0
  157. package/dist/__node_modules/common-tags/es/commaListsOr/commaListsOr.js.map +1 -0
  158. package/dist/__node_modules/common-tags/es/html/html.cjs +9 -0
  159. package/dist/__node_modules/common-tags/es/html/html.cjs.map +1 -0
  160. package/dist/__node_modules/common-tags/es/html/html.js +8 -0
  161. package/dist/__node_modules/common-tags/es/html/html.js.map +1 -0
  162. package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.cjs +32 -0
  163. package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.cjs.map +1 -0
  164. package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.js +33 -0
  165. package/dist/__node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.js.map +1 -0
  166. package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.cjs +7 -0
  167. package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.cjs.map +1 -0
  168. package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.js +6 -0
  169. package/dist/__node_modules/common-tags/es/inlineLists/inlineLists.js.map +1 -0
  170. package/dist/__node_modules/common-tags/es/oneLine/oneLine.cjs +6 -0
  171. package/dist/__node_modules/common-tags/es/oneLine/oneLine.cjs.map +1 -0
  172. package/dist/__node_modules/common-tags/es/oneLine/oneLine.js +5 -0
  173. package/dist/__node_modules/common-tags/es/oneLine/oneLine.js.map +1 -0
  174. package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.cjs +7 -0
  175. package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.cjs.map +1 -0
  176. package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.js +6 -0
  177. package/dist/__node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.js.map +1 -0
  178. package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.cjs +7 -0
  179. package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.cjs.map +1 -0
  180. package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.js +6 -0
  181. package/dist/__node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.js.map +1 -0
  182. package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.cjs +7 -0
  183. package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.cjs.map +1 -0
  184. package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.js +6 -0
  185. package/dist/__node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.js.map +1 -0
  186. package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.cjs +7 -0
  187. package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.cjs.map +1 -0
  188. package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.js +6 -0
  189. package/dist/__node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.js.map +1 -0
  190. package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.cjs +6 -0
  191. package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.cjs.map +1 -0
  192. package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.js +5 -0
  193. package/dist/__node_modules/common-tags/es/oneLineTrim/oneLineTrim.js.map +1 -0
  194. package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.cjs +19 -0
  195. package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.cjs.map +1 -0
  196. package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.js +20 -0
  197. package/dist/__node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.js.map +1 -0
  198. package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.cjs +13 -0
  199. package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.cjs.map +1 -0
  200. package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.js +14 -0
  201. package/dist/__node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.js.map +1 -0
  202. package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.cjs +17 -0
  203. package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.cjs.map +1 -0
  204. package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.js +18 -0
  205. package/dist/__node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.js.map +1 -0
  206. package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.cjs +9 -0
  207. package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.cjs.map +1 -0
  208. package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.js +8 -0
  209. package/dist/__node_modules/common-tags/es/safeHtml/safeHtml.js.map +1 -0
  210. package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.cjs +17 -0
  211. package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.cjs.map +1 -0
  212. package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.js +18 -0
  213. package/dist/__node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.js.map +1 -0
  214. package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.cjs +7 -0
  215. package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.cjs.map +1 -0
  216. package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.js +8 -0
  217. package/dist/__node_modules/common-tags/es/stripIndent/stripIndent.js.map +1 -0
  218. package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.cjs +35 -0
  219. package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.cjs.map +1 -0
  220. package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.js +36 -0
  221. package/dist/__node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.js.map +1 -0
  222. package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.cjs +6 -0
  223. package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.cjs.map +1 -0
  224. package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.js +5 -0
  225. package/dist/__node_modules/common-tags/es/stripIndents/stripIndents.js.map +1 -0
  226. package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.cjs +21 -0
  227. package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.cjs.map +1 -0
  228. package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.js +22 -0
  229. package/dist/__node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.js.map +1 -0
  230. package/dist/__node_modules/data-uri-to-buffer/dist/index.cjs +41 -0
  231. package/dist/__node_modules/data-uri-to-buffer/dist/index.cjs.map +1 -0
  232. package/dist/__node_modules/data-uri-to-buffer/dist/index.js +41 -0
  233. package/dist/__node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
  234. package/dist/__node_modules/debug/__node_modules/ms/index.cjs +122 -0
  235. package/dist/__node_modules/debug/__node_modules/ms/index.cjs.map +1 -0
  236. package/dist/__node_modules/debug/__node_modules/ms/index.js +122 -0
  237. package/dist/__node_modules/debug/__node_modules/ms/index.js.map +1 -0
  238. package/dist/__node_modules/debug/src/browser.cjs +165 -0
  239. package/dist/__node_modules/debug/src/browser.cjs.map +1 -0
  240. package/dist/__node_modules/debug/src/browser.js +164 -0
  241. package/dist/__node_modules/debug/src/browser.js.map +1 -0
  242. package/dist/__node_modules/debug/src/common.cjs +161 -0
  243. package/dist/__node_modules/debug/src/common.cjs.map +1 -0
  244. package/dist/__node_modules/debug/src/common.js +162 -0
  245. package/dist/__node_modules/debug/src/common.js.map +1 -0
  246. package/dist/__node_modules/devalue/src/constants.cjs +15 -0
  247. package/dist/__node_modules/devalue/src/constants.cjs.map +1 -0
  248. package/dist/__node_modules/devalue/src/constants.js +15 -0
  249. package/dist/__node_modules/devalue/src/constants.js.map +1 -0
  250. package/dist/__node_modules/devalue/src/parse.cjs +95 -0
  251. package/dist/__node_modules/devalue/src/parse.cjs.map +1 -0
  252. package/dist/__node_modules/devalue/src/parse.js +95 -0
  253. package/dist/__node_modules/devalue/src/parse.js.map +1 -0
  254. package/dist/__node_modules/devalue/src/stringify.cjs +140 -0
  255. package/dist/__node_modules/devalue/src/stringify.cjs.map +1 -0
  256. package/dist/__node_modules/devalue/src/stringify.js +140 -0
  257. package/dist/__node_modules/devalue/src/stringify.js.map +1 -0
  258. package/dist/__node_modules/devalue/src/uneval.cjs +4 -0
  259. package/dist/__node_modules/devalue/src/uneval.cjs.map +1 -0
  260. package/dist/__node_modules/devalue/src/uneval.js +3 -0
  261. package/dist/__node_modules/devalue/src/uneval.js.map +1 -0
  262. package/dist/__node_modules/devalue/src/utils.cjs +68 -0
  263. package/dist/__node_modules/devalue/src/utils.cjs.map +1 -0
  264. package/dist/__node_modules/devalue/src/utils.js +68 -0
  265. package/dist/__node_modules/devalue/src/utils.js.map +1 -0
  266. package/dist/__node_modules/fetch-blob/file.cjs +61 -0
  267. package/dist/__node_modules/fetch-blob/file.cjs.map +1 -0
  268. package/dist/__node_modules/fetch-blob/file.js +61 -0
  269. package/dist/__node_modules/fetch-blob/file.js.map +1 -0
  270. package/dist/__node_modules/fetch-blob/index.cjs +217 -0
  271. package/dist/__node_modules/fetch-blob/index.cjs.map +1 -0
  272. package/dist/__node_modules/fetch-blob/index.js +217 -0
  273. package/dist/__node_modules/fetch-blob/index.js.map +1 -0
  274. package/dist/__node_modules/fetch-blob/streams.cjs +43 -0
  275. package/dist/__node_modules/fetch-blob/streams.cjs.map +1 -0
  276. package/dist/__node_modules/fetch-blob/streams.js +42 -0
  277. package/dist/__node_modules/fetch-blob/streams.js.map +1 -0
  278. package/dist/__node_modules/file-type/core.cjs +1147 -0
  279. package/dist/__node_modules/file-type/core.cjs.map +1 -0
  280. package/dist/__node_modules/file-type/core.js +1147 -0
  281. package/dist/__node_modules/file-type/core.js.map +1 -0
  282. package/dist/__node_modules/file-type/util.cjs +27 -0
  283. package/dist/__node_modules/file-type/util.cjs.map +1 -0
  284. package/dist/__node_modules/file-type/util.js +27 -0
  285. package/dist/__node_modules/file-type/util.js.map +1 -0
  286. package/dist/__node_modules/formdata-node/lib/browser.cjs +16 -0
  287. package/dist/__node_modules/formdata-node/lib/browser.cjs.map +1 -0
  288. package/dist/__node_modules/formdata-node/lib/browser.js +16 -0
  289. package/dist/__node_modules/formdata-node/lib/browser.js.map +1 -0
  290. package/dist/__node_modules/formdata-polyfill/esm.min.cjs +116 -0
  291. package/dist/__node_modules/formdata-polyfill/esm.min.cjs.map +1 -0
  292. package/dist/__node_modules/formdata-polyfill/esm.min.js +116 -0
  293. package/dist/__node_modules/formdata-polyfill/esm.min.js.map +1 -0
  294. package/dist/__node_modules/fp-ts/es6/Either.cjs +14 -0
  295. package/dist/__node_modules/fp-ts/es6/Either.cjs.map +1 -0
  296. package/dist/__node_modules/fp-ts/es6/Either.js +14 -0
  297. package/dist/__node_modules/fp-ts/es6/Either.js.map +1 -0
  298. package/dist/__node_modules/fp-ts/es6/function.cjs +33 -0
  299. package/dist/__node_modules/fp-ts/es6/function.cjs.map +1 -0
  300. package/dist/__node_modules/fp-ts/es6/function.js +33 -0
  301. package/dist/__node_modules/fp-ts/es6/function.js.map +1 -0
  302. package/dist/__node_modules/fp-ts/es6/internal.cjs +18 -0
  303. package/dist/__node_modules/fp-ts/es6/internal.cjs.map +1 -0
  304. package/dist/__node_modules/fp-ts/es6/internal.js +18 -0
  305. package/dist/__node_modules/fp-ts/es6/internal.js.map +1 -0
  306. package/dist/__node_modules/get-port/index.cjs +113 -0
  307. package/dist/__node_modules/get-port/index.cjs.map +1 -0
  308. package/dist/__node_modules/get-port/index.js +114 -0
  309. package/dist/__node_modules/get-port/index.js.map +1 -0
  310. package/dist/__node_modules/graphql/error/GraphQLError.cjs +162 -0
  311. package/dist/__node_modules/graphql/error/GraphQLError.cjs.map +1 -0
  312. package/dist/__node_modules/graphql/error/GraphQLError.js +162 -0
  313. package/dist/__node_modules/graphql/error/GraphQLError.js.map +1 -0
  314. package/dist/__node_modules/graphql/error/locatedError.cjs +23 -0
  315. package/dist/__node_modules/graphql/error/locatedError.cjs.map +1 -0
  316. package/dist/__node_modules/graphql/error/locatedError.js +23 -0
  317. package/dist/__node_modules/graphql/error/locatedError.js.map +1 -0
  318. package/dist/__node_modules/graphql/error/syntaxError.cjs +11 -0
  319. package/dist/__node_modules/graphql/error/syntaxError.cjs.map +1 -0
  320. package/dist/__node_modules/graphql/error/syntaxError.js +11 -0
  321. package/dist/__node_modules/graphql/error/syntaxError.js.map +1 -0
  322. package/dist/__node_modules/graphql/execution/collectFields.cjs +128 -0
  323. package/dist/__node_modules/graphql/execution/collectFields.cjs.map +1 -0
  324. package/dist/__node_modules/graphql/execution/collectFields.js +128 -0
  325. package/dist/__node_modules/graphql/execution/collectFields.js.map +1 -0
  326. package/dist/__node_modules/graphql/execution/execute.cjs +600 -0
  327. package/dist/__node_modules/graphql/execution/execute.cjs.map +1 -0
  328. package/dist/__node_modules/graphql/execution/execute.js +600 -0
  329. package/dist/__node_modules/graphql/execution/execute.js.map +1 -0
  330. package/dist/__node_modules/graphql/execution/mapAsyncIterator.cjs +46 -0
  331. package/dist/__node_modules/graphql/execution/mapAsyncIterator.cjs.map +1 -0
  332. package/dist/__node_modules/graphql/execution/mapAsyncIterator.js +46 -0
  333. package/dist/__node_modules/graphql/execution/mapAsyncIterator.js.map +1 -0
  334. package/dist/__node_modules/graphql/execution/subscribe.cjs +121 -0
  335. package/dist/__node_modules/graphql/execution/subscribe.cjs.map +1 -0
  336. package/dist/__node_modules/graphql/execution/subscribe.js +121 -0
  337. package/dist/__node_modules/graphql/execution/subscribe.js.map +1 -0
  338. package/dist/__node_modules/graphql/execution/values.cjs +184 -0
  339. package/dist/__node_modules/graphql/execution/values.cjs.map +1 -0
  340. package/dist/__node_modules/graphql/execution/values.js +184 -0
  341. package/dist/__node_modules/graphql/execution/values.js.map +1 -0
  342. package/dist/__node_modules/graphql/graphql.cjs +67 -0
  343. package/dist/__node_modules/graphql/graphql.cjs.map +1 -0
  344. package/dist/__node_modules/graphql/graphql.js +67 -0
  345. package/dist/__node_modules/graphql/graphql.js.map +1 -0
  346. package/dist/__node_modules/graphql/index.cjs +320 -0
  347. package/dist/__node_modules/graphql/index.cjs.map +1 -0
  348. package/dist/__node_modules/graphql/index.js +299 -0
  349. package/dist/__node_modules/graphql/index.js.map +1 -0
  350. package/dist/__node_modules/graphql/jsutils/Path.cjs +21 -0
  351. package/dist/__node_modules/graphql/jsutils/Path.cjs.map +1 -0
  352. package/dist/__node_modules/graphql/jsutils/Path.js +21 -0
  353. package/dist/__node_modules/graphql/jsutils/Path.js.map +1 -0
  354. package/dist/__node_modules/graphql/jsutils/devAssert.cjs +10 -0
  355. package/dist/__node_modules/graphql/jsutils/devAssert.cjs.map +1 -0
  356. package/dist/__node_modules/graphql/jsutils/devAssert.js +10 -0
  357. package/dist/__node_modules/graphql/jsutils/devAssert.js.map +1 -0
  358. package/dist/__node_modules/graphql/jsutils/didYouMean.cjs +24 -0
  359. package/dist/__node_modules/graphql/jsutils/didYouMean.cjs.map +1 -0
  360. package/dist/__node_modules/graphql/jsutils/didYouMean.js +24 -0
  361. package/dist/__node_modules/graphql/jsutils/didYouMean.js.map +1 -0
  362. package/dist/__node_modules/graphql/jsutils/groupBy.cjs +17 -0
  363. package/dist/__node_modules/graphql/jsutils/groupBy.cjs.map +1 -0
  364. package/dist/__node_modules/graphql/jsutils/groupBy.js +17 -0
  365. package/dist/__node_modules/graphql/jsutils/groupBy.js.map +1 -0
  366. package/dist/__node_modules/graphql/jsutils/identityFunc.cjs +7 -0
  367. package/dist/__node_modules/graphql/jsutils/identityFunc.cjs.map +1 -0
  368. package/dist/__node_modules/graphql/jsutils/identityFunc.js +7 -0
  369. package/dist/__node_modules/graphql/jsutils/identityFunc.js.map +1 -0
  370. package/dist/__node_modules/graphql/jsutils/inspect.cjs +85 -0
  371. package/dist/__node_modules/graphql/jsutils/inspect.cjs.map +1 -0
  372. package/dist/__node_modules/graphql/jsutils/inspect.js +85 -0
  373. package/dist/__node_modules/graphql/jsutils/inspect.js.map +1 -0
  374. package/dist/__node_modules/graphql/jsutils/instanceOf.cjs +41 -0
  375. package/dist/__node_modules/graphql/jsutils/instanceOf.cjs.map +1 -0
  376. package/dist/__node_modules/graphql/jsutils/instanceOf.js +41 -0
  377. package/dist/__node_modules/graphql/jsutils/instanceOf.js.map +1 -0
  378. package/dist/__node_modules/graphql/jsutils/invariant.cjs +12 -0
  379. package/dist/__node_modules/graphql/jsutils/invariant.cjs.map +1 -0
  380. package/dist/__node_modules/graphql/jsutils/invariant.js +12 -0
  381. package/dist/__node_modules/graphql/jsutils/invariant.js.map +1 -0
  382. package/dist/__node_modules/graphql/jsutils/isAsyncIterable.cjs +7 -0
  383. package/dist/__node_modules/graphql/jsutils/isAsyncIterable.cjs.map +1 -0
  384. package/dist/__node_modules/graphql/jsutils/isAsyncIterable.js +7 -0
  385. package/dist/__node_modules/graphql/jsutils/isAsyncIterable.js.map +1 -0
  386. package/dist/__node_modules/graphql/jsutils/isIterableObject.cjs +7 -0
  387. package/dist/__node_modules/graphql/jsutils/isIterableObject.cjs.map +1 -0
  388. package/dist/__node_modules/graphql/jsutils/isIterableObject.js +7 -0
  389. package/dist/__node_modules/graphql/jsutils/isIterableObject.js.map +1 -0
  390. package/dist/__node_modules/graphql/jsutils/isObjectLike.cjs +7 -0
  391. package/dist/__node_modules/graphql/jsutils/isObjectLike.cjs.map +1 -0
  392. package/dist/__node_modules/graphql/jsutils/isObjectLike.js +7 -0
  393. package/dist/__node_modules/graphql/jsutils/isObjectLike.js.map +1 -0
  394. package/dist/__node_modules/graphql/jsutils/isPromise.cjs +7 -0
  395. package/dist/__node_modules/graphql/jsutils/isPromise.cjs.map +1 -0
  396. package/dist/__node_modules/graphql/jsutils/isPromise.js +7 -0
  397. package/dist/__node_modules/graphql/jsutils/isPromise.js.map +1 -0
  398. package/dist/__node_modules/graphql/jsutils/keyMap.cjs +11 -0
  399. package/dist/__node_modules/graphql/jsutils/keyMap.cjs.map +1 -0
  400. package/dist/__node_modules/graphql/jsutils/keyMap.js +11 -0
  401. package/dist/__node_modules/graphql/jsutils/keyMap.js.map +1 -0
  402. package/dist/__node_modules/graphql/jsutils/keyValMap.cjs +11 -0
  403. package/dist/__node_modules/graphql/jsutils/keyValMap.cjs.map +1 -0
  404. package/dist/__node_modules/graphql/jsutils/keyValMap.js +11 -0
  405. package/dist/__node_modules/graphql/jsutils/keyValMap.js.map +1 -0
  406. package/dist/__node_modules/graphql/jsutils/mapValue.cjs +11 -0
  407. package/dist/__node_modules/graphql/jsutils/mapValue.cjs.map +1 -0
  408. package/dist/__node_modules/graphql/jsutils/mapValue.js +11 -0
  409. package/dist/__node_modules/graphql/jsutils/mapValue.js.map +1 -0
  410. package/dist/__node_modules/graphql/jsutils/memoize3.cjs +28 -0
  411. package/dist/__node_modules/graphql/jsutils/memoize3.cjs.map +1 -0
  412. package/dist/__node_modules/graphql/jsutils/memoize3.js +28 -0
  413. package/dist/__node_modules/graphql/jsutils/memoize3.js.map +1 -0
  414. package/dist/__node_modules/graphql/jsutils/naturalCompare.cjs +47 -0
  415. package/dist/__node_modules/graphql/jsutils/naturalCompare.cjs.map +1 -0
  416. package/dist/__node_modules/graphql/jsutils/naturalCompare.js +47 -0
  417. package/dist/__node_modules/graphql/jsutils/naturalCompare.js.map +1 -0
  418. package/dist/__node_modules/graphql/jsutils/printPathArray.cjs +9 -0
  419. package/dist/__node_modules/graphql/jsutils/printPathArray.cjs.map +1 -0
  420. package/dist/__node_modules/graphql/jsutils/printPathArray.js +9 -0
  421. package/dist/__node_modules/graphql/jsutils/printPathArray.js.map +1 -0
  422. package/dist/__node_modules/graphql/jsutils/promiseForObject.cjs +13 -0
  423. package/dist/__node_modules/graphql/jsutils/promiseForObject.cjs.map +1 -0
  424. package/dist/__node_modules/graphql/jsutils/promiseForObject.js +13 -0
  425. package/dist/__node_modules/graphql/jsutils/promiseForObject.js.map +1 -0
  426. package/dist/__node_modules/graphql/jsutils/promiseReduce.cjs +12 -0
  427. package/dist/__node_modules/graphql/jsutils/promiseReduce.cjs.map +1 -0
  428. package/dist/__node_modules/graphql/jsutils/promiseReduce.js +12 -0
  429. package/dist/__node_modules/graphql/jsutils/promiseReduce.js.map +1 -0
  430. package/dist/__node_modules/graphql/jsutils/suggestionList.cjs +94 -0
  431. package/dist/__node_modules/graphql/jsutils/suggestionList.cjs.map +1 -0
  432. package/dist/__node_modules/graphql/jsutils/suggestionList.js +94 -0
  433. package/dist/__node_modules/graphql/jsutils/suggestionList.js.map +1 -0
  434. package/dist/__node_modules/graphql/jsutils/toError.cjs +15 -0
  435. package/dist/__node_modules/graphql/jsutils/toError.cjs.map +1 -0
  436. package/dist/__node_modules/graphql/jsutils/toError.js +15 -0
  437. package/dist/__node_modules/graphql/jsutils/toError.js.map +1 -0
  438. package/dist/__node_modules/graphql/jsutils/toObjMap.cjs +17 -0
  439. package/dist/__node_modules/graphql/jsutils/toObjMap.cjs.map +1 -0
  440. package/dist/__node_modules/graphql/jsutils/toObjMap.js +17 -0
  441. package/dist/__node_modules/graphql/jsutils/toObjMap.js.map +1 -0
  442. package/dist/__node_modules/graphql/language/ast.cjs +175 -0
  443. package/dist/__node_modules/graphql/language/ast.cjs.map +1 -0
  444. package/dist/__node_modules/graphql/language/ast.js +176 -0
  445. package/dist/__node_modules/graphql/language/ast.js.map +1 -0
  446. package/dist/__node_modules/graphql/language/blockString.cjs +109 -0
  447. package/dist/__node_modules/graphql/language/blockString.cjs.map +1 -0
  448. package/dist/__node_modules/graphql/language/blockString.js +109 -0
  449. package/dist/__node_modules/graphql/language/blockString.js.map +1 -0
  450. package/dist/__node_modules/graphql/language/characterClasses.cjs +23 -0
  451. package/dist/__node_modules/graphql/language/characterClasses.cjs.map +1 -0
  452. package/dist/__node_modules/graphql/language/characterClasses.js +23 -0
  453. package/dist/__node_modules/graphql/language/characterClasses.js.map +1 -0
  454. package/dist/__node_modules/graphql/language/directiveLocation.cjs +25 -0
  455. package/dist/__node_modules/graphql/language/directiveLocation.cjs.map +1 -0
  456. package/dist/__node_modules/graphql/language/directiveLocation.js +26 -0
  457. package/dist/__node_modules/graphql/language/directiveLocation.js.map +1 -0
  458. package/dist/__node_modules/graphql/language/kinds.cjs +49 -0
  459. package/dist/__node_modules/graphql/language/kinds.cjs.map +1 -0
  460. package/dist/__node_modules/graphql/language/kinds.js +50 -0
  461. package/dist/__node_modules/graphql/language/kinds.js.map +1 -0
  462. package/dist/__node_modules/graphql/language/lexer.cjs +509 -0
  463. package/dist/__node_modules/graphql/language/lexer.cjs.map +1 -0
  464. package/dist/__node_modules/graphql/language/lexer.js +509 -0
  465. package/dist/__node_modules/graphql/language/lexer.js.map +1 -0
  466. package/dist/__node_modules/graphql/language/location.cjs +22 -0
  467. package/dist/__node_modules/graphql/language/location.cjs.map +1 -0
  468. package/dist/__node_modules/graphql/language/location.js +22 -0
  469. package/dist/__node_modules/graphql/language/location.js.map +1 -0
  470. package/dist/__node_modules/graphql/language/parser.cjs +1283 -0
  471. package/dist/__node_modules/graphql/language/parser.cjs.map +1 -0
  472. package/dist/__node_modules/graphql/language/parser.js +1283 -0
  473. package/dist/__node_modules/graphql/language/parser.js.map +1 -0
  474. package/dist/__node_modules/graphql/language/predicates.cjs +44 -0
  475. package/dist/__node_modules/graphql/language/predicates.cjs.map +1 -0
  476. package/dist/__node_modules/graphql/language/predicates.js +44 -0
  477. package/dist/__node_modules/graphql/language/predicates.js.map +1 -0
  478. package/dist/__node_modules/graphql/language/printLocation.cjs +51 -0
  479. package/dist/__node_modules/graphql/language/printLocation.cjs.map +1 -0
  480. package/dist/__node_modules/graphql/language/printLocation.js +51 -0
  481. package/dist/__node_modules/graphql/language/printLocation.js.map +1 -0
  482. package/dist/__node_modules/graphql/language/printString.cjs +178 -0
  483. package/dist/__node_modules/graphql/language/printString.cjs.map +1 -0
  484. package/dist/__node_modules/graphql/language/printString.js +178 -0
  485. package/dist/__node_modules/graphql/language/printString.js.map +1 -0
  486. package/dist/__node_modules/graphql/language/printer.cjs +245 -0
  487. package/dist/__node_modules/graphql/language/printer.cjs.map +1 -0
  488. package/dist/__node_modules/graphql/language/printer.js +245 -0
  489. package/dist/__node_modules/graphql/language/printer.js.map +1 -0
  490. package/dist/__node_modules/graphql/language/source.cjs +33 -0
  491. package/dist/__node_modules/graphql/language/source.cjs.map +1 -0
  492. package/dist/__node_modules/graphql/language/source.js +33 -0
  493. package/dist/__node_modules/graphql/language/source.js.map +1 -0
  494. package/dist/__node_modules/graphql/language/tokenKind.cjs +28 -0
  495. package/dist/__node_modules/graphql/language/tokenKind.cjs.map +1 -0
  496. package/dist/__node_modules/graphql/language/tokenKind.js +29 -0
  497. package/dist/__node_modules/graphql/language/tokenKind.js.map +1 -0
  498. package/dist/__node_modules/graphql/language/visitor.cjs +200 -0
  499. package/dist/__node_modules/graphql/language/visitor.cjs.map +1 -0
  500. package/dist/__node_modules/graphql/language/visitor.js +200 -0
  501. package/dist/__node_modules/graphql/language/visitor.js.map +1 -0
  502. package/dist/__node_modules/graphql/type/assertName.cjs +34 -0
  503. package/dist/__node_modules/graphql/type/assertName.cjs.map +1 -0
  504. package/dist/__node_modules/graphql/type/assertName.js +34 -0
  505. package/dist/__node_modules/graphql/type/assertName.js.map +1 -0
  506. package/dist/__node_modules/graphql/type/definition.cjs +762 -0
  507. package/dist/__node_modules/graphql/type/definition.cjs.map +1 -0
  508. package/dist/__node_modules/graphql/type/definition.js +762 -0
  509. package/dist/__node_modules/graphql/type/definition.js.map +1 -0
  510. package/dist/__node_modules/graphql/type/directives.cjs +139 -0
  511. package/dist/__node_modules/graphql/type/directives.cjs.map +1 -0
  512. package/dist/__node_modules/graphql/type/directives.js +139 -0
  513. package/dist/__node_modules/graphql/type/directives.js.map +1 -0
  514. package/dist/__node_modules/graphql/type/introspection.cjs +495 -0
  515. package/dist/__node_modules/graphql/type/introspection.cjs.map +1 -0
  516. package/dist/__node_modules/graphql/type/introspection.js +496 -0
  517. package/dist/__node_modules/graphql/type/introspection.js.map +1 -0
  518. package/dist/__node_modules/graphql/type/scalars.cjs +248 -0
  519. package/dist/__node_modules/graphql/type/scalars.cjs.map +1 -0
  520. package/dist/__node_modules/graphql/type/scalars.js +248 -0
  521. package/dist/__node_modules/graphql/type/scalars.js.map +1 -0
  522. package/dist/__node_modules/graphql/type/schema.cjs +223 -0
  523. package/dist/__node_modules/graphql/type/schema.cjs.map +1 -0
  524. package/dist/__node_modules/graphql/type/schema.js +223 -0
  525. package/dist/__node_modules/graphql/type/schema.js.map +1 -0
  526. package/dist/__node_modules/graphql/type/validate.cjs +428 -0
  527. package/dist/__node_modules/graphql/type/validate.cjs.map +1 -0
  528. package/dist/__node_modules/graphql/type/validate.js +428 -0
  529. package/dist/__node_modules/graphql/type/validate.js.map +1 -0
  530. package/dist/__node_modules/graphql/utilities/TypeInfo.cjs +257 -0
  531. package/dist/__node_modules/graphql/utilities/TypeInfo.cjs.map +1 -0
  532. package/dist/__node_modules/graphql/utilities/TypeInfo.js +257 -0
  533. package/dist/__node_modules/graphql/utilities/TypeInfo.js.map +1 -0
  534. package/dist/__node_modules/graphql/utilities/assertValidName.cjs +28 -0
  535. package/dist/__node_modules/graphql/utilities/assertValidName.cjs.map +1 -0
  536. package/dist/__node_modules/graphql/utilities/assertValidName.js +28 -0
  537. package/dist/__node_modules/graphql/utilities/assertValidName.js.map +1 -0
  538. package/dist/__node_modules/graphql/utilities/astFromValue.cjs +111 -0
  539. package/dist/__node_modules/graphql/utilities/astFromValue.cjs.map +1 -0
  540. package/dist/__node_modules/graphql/utilities/astFromValue.js +111 -0
  541. package/dist/__node_modules/graphql/utilities/astFromValue.js.map +1 -0
  542. package/dist/__node_modules/graphql/utilities/buildASTSchema.cjs +62 -0
  543. package/dist/__node_modules/graphql/utilities/buildASTSchema.cjs.map +1 -0
  544. package/dist/__node_modules/graphql/utilities/buildASTSchema.js +62 -0
  545. package/dist/__node_modules/graphql/utilities/buildASTSchema.js.map +1 -0
  546. package/dist/__node_modules/graphql/utilities/buildClientSchema.cjs +264 -0
  547. package/dist/__node_modules/graphql/utilities/buildClientSchema.cjs.map +1 -0
  548. package/dist/__node_modules/graphql/utilities/buildClientSchema.js +264 -0
  549. package/dist/__node_modules/graphql/utilities/buildClientSchema.js.map +1 -0
  550. package/dist/__node_modules/graphql/utilities/coerceInputValue.cjs +133 -0
  551. package/dist/__node_modules/graphql/utilities/coerceInputValue.cjs.map +1 -0
  552. package/dist/__node_modules/graphql/utilities/coerceInputValue.js +133 -0
  553. package/dist/__node_modules/graphql/utilities/coerceInputValue.js.map +1 -0
  554. package/dist/__node_modules/graphql/utilities/concatAST.cjs +15 -0
  555. package/dist/__node_modules/graphql/utilities/concatAST.cjs.map +1 -0
  556. package/dist/__node_modules/graphql/utilities/concatAST.js +15 -0
  557. package/dist/__node_modules/graphql/utilities/concatAST.js.map +1 -0
  558. package/dist/__node_modules/graphql/utilities/extendSchema.cjs +448 -0
  559. package/dist/__node_modules/graphql/utilities/extendSchema.cjs.map +1 -0
  560. package/dist/__node_modules/graphql/utilities/extendSchema.js +448 -0
  561. package/dist/__node_modules/graphql/utilities/extendSchema.js.map +1 -0
  562. package/dist/__node_modules/graphql/utilities/findBreakingChanges.cjs +384 -0
  563. package/dist/__node_modules/graphql/utilities/findBreakingChanges.cjs.map +1 -0
  564. package/dist/__node_modules/graphql/utilities/findBreakingChanges.js +386 -0
  565. package/dist/__node_modules/graphql/utilities/findBreakingChanges.js.map +1 -0
  566. package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.cjs +119 -0
  567. package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.cjs.map +1 -0
  568. package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.js +119 -0
  569. package/dist/__node_modules/graphql/utilities/getIntrospectionQuery.js.map +1 -0
  570. package/dist/__node_modules/graphql/utilities/getOperationAST.cjs +22 -0
  571. package/dist/__node_modules/graphql/utilities/getOperationAST.cjs.map +1 -0
  572. package/dist/__node_modules/graphql/utilities/getOperationAST.js +22 -0
  573. package/dist/__node_modules/graphql/utilities/getOperationAST.js.map +1 -0
  574. package/dist/__node_modules/graphql/utilities/getOperationRootType.cjs +43 -0
  575. package/dist/__node_modules/graphql/utilities/getOperationRootType.cjs.map +1 -0
  576. package/dist/__node_modules/graphql/utilities/getOperationRootType.js +43 -0
  577. package/dist/__node_modules/graphql/utilities/getOperationRootType.js.map +1 -0
  578. package/dist/__node_modules/graphql/utilities/introspectionFromSchema.cjs +24 -0
  579. package/dist/__node_modules/graphql/utilities/introspectionFromSchema.cjs.map +1 -0
  580. package/dist/__node_modules/graphql/utilities/introspectionFromSchema.js +24 -0
  581. package/dist/__node_modules/graphql/utilities/introspectionFromSchema.js.map +1 -0
  582. package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.cjs +129 -0
  583. package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.cjs.map +1 -0
  584. package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.js +129 -0
  585. package/dist/__node_modules/graphql/utilities/lexicographicSortSchema.js.map +1 -0
  586. package/dist/__node_modules/graphql/utilities/printSchema.cjs +192 -0
  587. package/dist/__node_modules/graphql/utilities/printSchema.cjs.map +1 -0
  588. package/dist/__node_modules/graphql/utilities/printSchema.js +192 -0
  589. package/dist/__node_modules/graphql/utilities/printSchema.js.map +1 -0
  590. package/dist/__node_modules/graphql/utilities/separateOperations.cjs +57 -0
  591. package/dist/__node_modules/graphql/utilities/separateOperations.cjs.map +1 -0
  592. package/dist/__node_modules/graphql/utilities/separateOperations.js +57 -0
  593. package/dist/__node_modules/graphql/utilities/separateOperations.js.map +1 -0
  594. package/dist/__node_modules/graphql/utilities/sortValueNode.cjs +30 -0
  595. package/dist/__node_modules/graphql/utilities/sortValueNode.cjs.map +1 -0
  596. package/dist/__node_modules/graphql/utilities/sortValueNode.js +30 -0
  597. package/dist/__node_modules/graphql/utilities/sortValueNode.js.map +1 -0
  598. package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.cjs +35 -0
  599. package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.cjs.map +1 -0
  600. package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.js +35 -0
  601. package/dist/__node_modules/graphql/utilities/stripIgnoredCharacters.js.map +1 -0
  602. package/dist/__node_modules/graphql/utilities/typeComparators.cjs +58 -0
  603. package/dist/__node_modules/graphql/utilities/typeComparators.cjs.map +1 -0
  604. package/dist/__node_modules/graphql/utilities/typeComparators.js +58 -0
  605. package/dist/__node_modules/graphql/utilities/typeComparators.js.map +1 -0
  606. package/dist/__node_modules/graphql/utilities/typeFromAST.cjs +20 -0
  607. package/dist/__node_modules/graphql/utilities/typeFromAST.cjs.map +1 -0
  608. package/dist/__node_modules/graphql/utilities/typeFromAST.js +20 -0
  609. package/dist/__node_modules/graphql/utilities/typeFromAST.js.map +1 -0
  610. package/dist/__node_modules/graphql/utilities/valueFromAST.cjs +100 -0
  611. package/dist/__node_modules/graphql/utilities/valueFromAST.cjs.map +1 -0
  612. package/dist/__node_modules/graphql/utilities/valueFromAST.js +100 -0
  613. package/dist/__node_modules/graphql/utilities/valueFromAST.js.map +1 -0
  614. package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.cjs +32 -0
  615. package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.cjs.map +1 -0
  616. package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.js +32 -0
  617. package/dist/__node_modules/graphql/utilities/valueFromASTUntyped.js.map +1 -0
  618. package/dist/__node_modules/graphql/validation/ValidationContext.cjs +170 -0
  619. package/dist/__node_modules/graphql/validation/ValidationContext.cjs.map +1 -0
  620. package/dist/__node_modules/graphql/validation/ValidationContext.js +170 -0
  621. package/dist/__node_modules/graphql/validation/ValidationContext.js.map +1 -0
  622. package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.cjs +24 -0
  623. package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.cjs.map +1 -0
  624. package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +24 -0
  625. package/dist/__node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js.map +1 -0
  626. package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.cjs +80 -0
  627. package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.cjs.map +1 -0
  628. package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +80 -0
  629. package/dist/__node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js.map +1 -0
  630. package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.cjs +43 -0
  631. package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.cjs.map +1 -0
  632. package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +43 -0
  633. package/dist/__node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js.map +1 -0
  634. package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.cjs +73 -0
  635. package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.cjs.map +1 -0
  636. package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +73 -0
  637. package/dist/__node_modules/graphql/validation/rules/KnownArgumentNamesRule.js.map +1 -0
  638. package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.cjs +110 -0
  639. package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.cjs.map +1 -0
  640. package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.js +110 -0
  641. package/dist/__node_modules/graphql/validation/rules/KnownDirectivesRule.js.map +1 -0
  642. package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.cjs +20 -0
  643. package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.cjs.map +1 -0
  644. package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +20 -0
  645. package/dist/__node_modules/graphql/validation/rules/KnownFragmentNamesRule.js.map +1 -0
  646. package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.cjs +55 -0
  647. package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.cjs.map +1 -0
  648. package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.js +55 -0
  649. package/dist/__node_modules/graphql/validation/rules/KnownTypeNamesRule.js.map +1 -0
  650. package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.cjs +28 -0
  651. package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.cjs.map +1 -0
  652. package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +28 -0
  653. package/dist/__node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js.map +1 -0
  654. package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.cjs +34 -0
  655. package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.cjs.map +1 -0
  656. package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +34 -0
  657. package/dist/__node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js.map +1 -0
  658. package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.cjs +53 -0
  659. package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.cjs.map +1 -0
  660. package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +53 -0
  661. package/dist/__node_modules/graphql/validation/rules/NoFragmentCyclesRule.js.map +1 -0
  662. package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.cjs +34 -0
  663. package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.cjs.map +1 -0
  664. package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +34 -0
  665. package/dist/__node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js.map +1 -0
  666. package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.cjs +41 -0
  667. package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.cjs.map +1 -0
  668. package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +41 -0
  669. package/dist/__node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js.map +1 -0
  670. package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.cjs +38 -0
  671. package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.cjs.map +1 -0
  672. package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +38 -0
  673. package/dist/__node_modules/graphql/validation/rules/NoUnusedVariablesRule.js.map +1 -0
  674. package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.cjs +477 -0
  675. package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.cjs.map +1 -0
  676. package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +477 -0
  677. package/dist/__node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js.map +1 -0
  678. package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.cjs +55 -0
  679. package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.cjs.map +1 -0
  680. package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +55 -0
  681. package/dist/__node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js.map +1 -0
  682. package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.cjs +111 -0
  683. package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.cjs.map +1 -0
  684. package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +111 -0
  685. package/dist/__node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js.map +1 -0
  686. package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.cjs +97 -0
  687. package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.cjs.map +1 -0
  688. package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +97 -0
  689. package/dist/__node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js.map +1 -0
  690. package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.cjs +42 -0
  691. package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.cjs.map +1 -0
  692. package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.js +42 -0
  693. package/dist/__node_modules/graphql/validation/rules/ScalarLeafsRule.js.map +1 -0
  694. package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.cjs +62 -0
  695. package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.cjs.map +1 -0
  696. package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +62 -0
  697. package/dist/__node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js.map +1 -0
  698. package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.cjs +47 -0
  699. package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.cjs.map +1 -0
  700. package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +47 -0
  701. package/dist/__node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js.map +1 -0
  702. package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.cjs +29 -0
  703. package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.cjs.map +1 -0
  704. package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +29 -0
  705. package/dist/__node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js.map +1 -0
  706. package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.cjs +38 -0
  707. package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.cjs.map +1 -0
  708. package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +38 -0
  709. package/dist/__node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js.map +1 -0
  710. package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.cjs +63 -0
  711. package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.cjs.map +1 -0
  712. package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +63 -0
  713. package/dist/__node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js.map +1 -0
  714. package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.cjs +50 -0
  715. package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.cjs.map +1 -0
  716. package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +50 -0
  717. package/dist/__node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js.map +1 -0
  718. package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.cjs +59 -0
  719. package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.cjs.map +1 -0
  720. package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +59 -0
  721. package/dist/__node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js.map +1 -0
  722. package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.cjs +27 -0
  723. package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.cjs.map +1 -0
  724. package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +27 -0
  725. package/dist/__node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js.map +1 -0
  726. package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.cjs +38 -0
  727. package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.cjs.map +1 -0
  728. package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +38 -0
  729. package/dist/__node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js.map +1 -0
  730. package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.cjs +32 -0
  731. package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.cjs.map +1 -0
  732. package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +32 -0
  733. package/dist/__node_modules/graphql/validation/rules/UniqueOperationNamesRule.js.map +1 -0
  734. package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.cjs +48 -0
  735. package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.cjs.map +1 -0
  736. package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +48 -0
  737. package/dist/__node_modules/graphql/validation/rules/UniqueOperationTypesRule.js.map +1 -0
  738. package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.cjs +41 -0
  739. package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.cjs.map +1 -0
  740. package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +41 -0
  741. package/dist/__node_modules/graphql/validation/rules/UniqueTypeNamesRule.js.map +1 -0
  742. package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.cjs +30 -0
  743. package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.cjs.map +1 -0
  744. package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +30 -0
  745. package/dist/__node_modules/graphql/validation/rules/UniqueVariableNamesRule.js.map +1 -0
  746. package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.cjs +132 -0
  747. package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.cjs.map +1 -0
  748. package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +132 -0
  749. package/dist/__node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js.map +1 -0
  750. package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.cjs +27 -0
  751. package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.cjs.map +1 -0
  752. package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +27 -0
  753. package/dist/__node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js.map +1 -0
  754. package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.cjs +64 -0
  755. package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.cjs.map +1 -0
  756. package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +64 -0
  757. package/dist/__node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js.map +1 -0
  758. package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.cjs +89 -0
  759. package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.cjs.map +1 -0
  760. package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js +89 -0
  761. package/dist/__node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js.map +1 -0
  762. package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.cjs +24 -0
  763. package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.cjs.map +1 -0
  764. package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +24 -0
  765. package/dist/__node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js.map +1 -0
  766. package/dist/__node_modules/graphql/validation/specifiedRules.cjs +84 -0
  767. package/dist/__node_modules/graphql/validation/specifiedRules.cjs.map +1 -0
  768. package/dist/__node_modules/graphql/validation/specifiedRules.js +84 -0
  769. package/dist/__node_modules/graphql/validation/specifiedRules.js.map +1 -0
  770. package/dist/__node_modules/graphql/validation/validate.cjs +72 -0
  771. package/dist/__node_modules/graphql/validation/validate.cjs.map +1 -0
  772. package/dist/__node_modules/graphql/validation/validate.js +72 -0
  773. package/dist/__node_modules/graphql/validation/validate.js.map +1 -0
  774. package/dist/__node_modules/graphql/version.cjs +12 -0
  775. package/dist/__node_modules/graphql/version.cjs.map +1 -0
  776. package/dist/__node_modules/graphql/version.js +12 -0
  777. package/dist/__node_modules/graphql/version.js.map +1 -0
  778. package/dist/__node_modules/headers-polyfill/lib/index.cjs +214 -0
  779. package/dist/__node_modules/headers-polyfill/lib/index.cjs.map +1 -0
  780. package/dist/__node_modules/headers-polyfill/lib/index.js +215 -0
  781. package/dist/__node_modules/headers-polyfill/lib/index.js.map +1 -0
  782. package/dist/__node_modules/is-node-process/lib/index.cjs +18 -0
  783. package/dist/__node_modules/is-node-process/lib/index.cjs.map +1 -0
  784. package/dist/__node_modules/is-node-process/lib/index.js +17 -0
  785. package/dist/__node_modules/is-node-process/lib/index.js.map +1 -0
  786. package/dist/__node_modules/js-levenshtein/index.cjs +91 -0
  787. package/dist/__node_modules/js-levenshtein/index.cjs.map +1 -0
  788. package/dist/__node_modules/js-levenshtein/index.js +91 -0
  789. package/dist/__node_modules/js-levenshtein/index.js.map +1 -0
  790. package/dist/__node_modules/msw/__node_modules/node-fetch/browser.cjs +34 -0
  791. package/dist/__node_modules/msw/__node_modules/node-fetch/browser.cjs.map +1 -0
  792. package/dist/__node_modules/msw/__node_modules/node-fetch/browser.js +34 -0
  793. package/dist/__node_modules/msw/__node_modules/node-fetch/browser.js.map +1 -0
  794. package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.cjs +363 -0
  795. package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.cjs.map +1 -0
  796. package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.js +363 -0
  797. package/dist/__node_modules/msw/__node_modules/path-to-regexp/dist.es2015/index.js.map +1 -0
  798. package/dist/__node_modules/msw/lib/index.cjs +1937 -0
  799. package/dist/__node_modules/msw/lib/index.cjs.map +1 -0
  800. package/dist/__node_modules/msw/lib/index.js +1938 -0
  801. package/dist/__node_modules/msw/lib/index.js.map +1 -0
  802. package/dist/__node_modules/node-domexception/index.cjs +11 -0
  803. package/dist/__node_modules/node-domexception/index.cjs.map +1 -0
  804. package/dist/__node_modules/node-domexception/index.js +10 -0
  805. package/dist/__node_modules/node-domexception/index.js.map +1 -0
  806. package/dist/__node_modules/node-fetch/src/body.cjs +262 -0
  807. package/dist/__node_modules/node-fetch/src/body.cjs.map +1 -0
  808. package/dist/__node_modules/node-fetch/src/body.js +262 -0
  809. package/dist/__node_modules/node-fetch/src/body.js.map +1 -0
  810. package/dist/__node_modules/node-fetch/src/errors/abort-error.cjs +10 -0
  811. package/dist/__node_modules/node-fetch/src/errors/abort-error.cjs.map +1 -0
  812. package/dist/__node_modules/node-fetch/src/errors/abort-error.js +10 -0
  813. package/dist/__node_modules/node-fetch/src/errors/abort-error.js.map +1 -0
  814. package/dist/__node_modules/node-fetch/src/errors/base.cjs +17 -0
  815. package/dist/__node_modules/node-fetch/src/errors/base.cjs.map +1 -0
  816. package/dist/__node_modules/node-fetch/src/errors/base.js +17 -0
  817. package/dist/__node_modules/node-fetch/src/errors/base.js.map +1 -0
  818. package/dist/__node_modules/node-fetch/src/errors/fetch-error.cjs +19 -0
  819. package/dist/__node_modules/node-fetch/src/errors/fetch-error.cjs.map +1 -0
  820. package/dist/__node_modules/node-fetch/src/errors/fetch-error.js +19 -0
  821. package/dist/__node_modules/node-fetch/src/errors/fetch-error.js.map +1 -0
  822. package/dist/__node_modules/node-fetch/src/headers.cjs +190 -0
  823. package/dist/__node_modules/node-fetch/src/headers.cjs.map +1 -0
  824. package/dist/__node_modules/node-fetch/src/headers.js +190 -0
  825. package/dist/__node_modules/node-fetch/src/headers.js.map +1 -0
  826. package/dist/__node_modules/node-fetch/src/index.cjs +292 -0
  827. package/dist/__node_modules/node-fetch/src/index.cjs.map +1 -0
  828. package/dist/__node_modules/node-fetch/src/index.js +292 -0
  829. package/dist/__node_modules/node-fetch/src/index.js.map +1 -0
  830. package/dist/__node_modules/node-fetch/src/request.cjs +206 -0
  831. package/dist/__node_modules/node-fetch/src/request.cjs.map +1 -0
  832. package/dist/__node_modules/node-fetch/src/request.js +206 -0
  833. package/dist/__node_modules/node-fetch/src/request.js.map +1 -0
  834. package/dist/__node_modules/node-fetch/src/response.cjs +122 -0
  835. package/dist/__node_modules/node-fetch/src/response.cjs.map +1 -0
  836. package/dist/__node_modules/node-fetch/src/response.js +123 -0
  837. package/dist/__node_modules/node-fetch/src/response.js.map +1 -0
  838. package/dist/__node_modules/node-fetch/src/utils/get-search.cjs +12 -0
  839. package/dist/__node_modules/node-fetch/src/utils/get-search.cjs.map +1 -0
  840. package/dist/__node_modules/node-fetch/src/utils/get-search.js +12 -0
  841. package/dist/__node_modules/node-fetch/src/utils/get-search.js.map +1 -0
  842. package/dist/__node_modules/node-fetch/src/utils/is-redirect.cjs +8 -0
  843. package/dist/__node_modules/node-fetch/src/utils/is-redirect.cjs.map +1 -0
  844. package/dist/__node_modules/node-fetch/src/utils/is-redirect.js +8 -0
  845. package/dist/__node_modules/node-fetch/src/utils/is-redirect.js.map +1 -0
  846. package/dist/__node_modules/node-fetch/src/utils/is.cjs +28 -0
  847. package/dist/__node_modules/node-fetch/src/utils/is.cjs.map +1 -0
  848. package/dist/__node_modules/node-fetch/src/utils/is.js +28 -0
  849. package/dist/__node_modules/node-fetch/src/utils/is.js.map +1 -0
  850. package/dist/__node_modules/node-fetch/src/utils/multipart-parser.cjs +356 -0
  851. package/dist/__node_modules/node-fetch/src/utils/multipart-parser.cjs.map +1 -0
  852. package/dist/__node_modules/node-fetch/src/utils/multipart-parser.js +356 -0
  853. package/dist/__node_modules/node-fetch/src/utils/multipart-parser.js.map +1 -0
  854. package/dist/__node_modules/node-fetch/src/utils/referrer.cjs +149 -0
  855. package/dist/__node_modules/node-fetch/src/utils/referrer.cjs.map +1 -0
  856. package/dist/__node_modules/node-fetch/src/utils/referrer.js +149 -0
  857. package/dist/__node_modules/node-fetch/src/utils/referrer.js.map +1 -0
  858. package/dist/__node_modules/outvariant/lib/format.cjs +53 -0
  859. package/dist/__node_modules/outvariant/lib/format.cjs.map +1 -0
  860. package/dist/__node_modules/outvariant/lib/format.js +54 -0
  861. package/dist/__node_modules/outvariant/lib/format.js.map +1 -0
  862. package/dist/__node_modules/outvariant/lib/index.cjs +29 -0
  863. package/dist/__node_modules/outvariant/lib/index.cjs.map +1 -0
  864. package/dist/__node_modules/outvariant/lib/index.js +28 -0
  865. package/dist/__node_modules/outvariant/lib/index.js.map +1 -0
  866. package/dist/__node_modules/outvariant/lib/invariant.cjs +95 -0
  867. package/dist/__node_modules/outvariant/lib/invariant.cjs.map +1 -0
  868. package/dist/__node_modules/outvariant/lib/invariant.js +94 -0
  869. package/dist/__node_modules/outvariant/lib/invariant.js.map +1 -0
  870. package/dist/__node_modules/p-limit/index.cjs +53 -0
  871. package/dist/__node_modules/p-limit/index.cjs.map +1 -0
  872. package/dist/__node_modules/p-limit/index.js +54 -0
  873. package/dist/__node_modules/p-limit/index.js.map +1 -0
  874. package/dist/__node_modules/peek-readable/lib/EndOfFileStream.cjs +11 -0
  875. package/dist/__node_modules/peek-readable/lib/EndOfFileStream.cjs.map +1 -0
  876. package/dist/__node_modules/peek-readable/lib/EndOfFileStream.js +11 -0
  877. package/dist/__node_modules/peek-readable/lib/EndOfFileStream.js.map +1 -0
  878. package/dist/__node_modules/r19/dist/client/createRPCClient.cjs +50 -0
  879. package/dist/__node_modules/r19/dist/client/createRPCClient.cjs.map +1 -0
  880. package/dist/__node_modules/r19/dist/client/createRPCClient.js +50 -0
  881. package/dist/__node_modules/r19/dist/client/createRPCClient.js.map +1 -0
  882. package/dist/__node_modules/r19/dist/constants.cjs +5 -0
  883. package/dist/__node_modules/r19/dist/constants.cjs.map +1 -0
  884. package/dist/__node_modules/r19/dist/constants.js +5 -0
  885. package/dist/__node_modules/r19/dist/constants.js.map +1 -0
  886. package/dist/__node_modules/r19/dist/createRPCMiddleware.cjs +25 -0
  887. package/dist/__node_modules/r19/dist/createRPCMiddleware.cjs.map +1 -0
  888. package/dist/__node_modules/r19/dist/createRPCMiddleware.js +25 -0
  889. package/dist/__node_modules/r19/dist/createRPCMiddleware.js.map +1 -0
  890. package/dist/__node_modules/r19/dist/handleRPCRequest.cjs +182 -0
  891. package/dist/__node_modules/r19/dist/handleRPCRequest.cjs.map +1 -0
  892. package/dist/__node_modules/r19/dist/handleRPCRequest.js +182 -0
  893. package/dist/__node_modules/r19/dist/handleRPCRequest.js.map +1 -0
  894. package/dist/__node_modules/r19/dist/lib/encodeFormData.cjs +46 -0
  895. package/dist/__node_modules/r19/dist/lib/encodeFormData.cjs.map +1 -0
  896. package/dist/__node_modules/r19/dist/lib/encodeFormData.js +46 -0
  897. package/dist/__node_modules/r19/dist/lib/encodeFormData.js.map +1 -0
  898. package/dist/__node_modules/r19/dist/lib/flattenObject.cjs +43 -0
  899. package/dist/__node_modules/r19/dist/lib/flattenObject.cjs.map +1 -0
  900. package/dist/__node_modules/r19/dist/lib/flattenObject.js +43 -0
  901. package/dist/__node_modules/r19/dist/lib/flattenObject.js.map +1 -0
  902. package/dist/__node_modules/r19/dist/lib/formDataToObject.client.cjs +19 -0
  903. package/dist/__node_modules/r19/dist/lib/formDataToObject.client.cjs.map +1 -0
  904. package/dist/__node_modules/r19/dist/lib/formDataToObject.client.js +19 -0
  905. package/dist/__node_modules/r19/dist/lib/formDataToObject.client.js.map +1 -0
  906. package/dist/__node_modules/r19/dist/lib/isErrorLike.cjs +7 -0
  907. package/dist/__node_modules/r19/dist/lib/isErrorLike.cjs.map +1 -0
  908. package/dist/__node_modules/r19/dist/lib/isErrorLike.js +7 -0
  909. package/dist/__node_modules/r19/dist/lib/isErrorLike.js.map +1 -0
  910. package/dist/__node_modules/r19/dist/lib/objectToFormData.client.cjs +20 -0
  911. package/dist/__node_modules/r19/dist/lib/objectToFormData.client.cjs.map +1 -0
  912. package/dist/__node_modules/r19/dist/lib/objectToFormData.client.js +20 -0
  913. package/dist/__node_modules/r19/dist/lib/objectToFormData.client.js.map +1 -0
  914. package/dist/__node_modules/r19/dist/lib/objectToFormData.server.cjs +22 -0
  915. package/dist/__node_modules/r19/dist/lib/objectToFormData.server.cjs.map +1 -0
  916. package/dist/__node_modules/r19/dist/lib/objectToFormData.server.js +22 -0
  917. package/dist/__node_modules/r19/dist/lib/objectToFormData.server.js.map +1 -0
  918. package/dist/__node_modules/r19/dist/lib/unflattenObject.cjs +20 -0
  919. package/dist/__node_modules/r19/dist/lib/unflattenObject.cjs.map +1 -0
  920. package/dist/__node_modules/r19/dist/lib/unflattenObject.js +20 -0
  921. package/dist/__node_modules/r19/dist/lib/unflattenObject.js.map +1 -0
  922. package/dist/__node_modules/r19/dist/proceduresFromInstance.cjs +33 -0
  923. package/dist/__node_modules/r19/dist/proceduresFromInstance.cjs.map +1 -0
  924. package/dist/__node_modules/r19/dist/proceduresFromInstance.js +33 -0
  925. package/dist/__node_modules/r19/dist/proceduresFromInstance.js.map +1 -0
  926. package/dist/__node_modules/set-cookie-parser/lib/set-cookie.cjs +161 -0
  927. package/dist/__node_modules/set-cookie-parser/lib/set-cookie.cjs.map +1 -0
  928. package/dist/__node_modules/set-cookie-parser/lib/set-cookie.js +162 -0
  929. package/dist/__node_modules/set-cookie-parser/lib/set-cookie.js.map +1 -0
  930. package/dist/__node_modules/streamsearch/lib/sbmh.cjs +393 -0
  931. package/dist/__node_modules/streamsearch/lib/sbmh.cjs.map +1 -0
  932. package/dist/__node_modules/streamsearch/lib/sbmh.js +394 -0
  933. package/dist/__node_modules/streamsearch/lib/sbmh.js.map +1 -0
  934. package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.cjs +98 -0
  935. package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.cjs.map +1 -0
  936. package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.js +98 -0
  937. package/dist/__node_modules/strict-event-emitter/lib/StrictEventEmitter.js.map +1 -0
  938. package/dist/__node_modules/strict-event-emitter/lib/index.cjs +34 -0
  939. package/dist/__node_modules/strict-event-emitter/lib/index.cjs.map +1 -0
  940. package/dist/__node_modules/strict-event-emitter/lib/index.js +34 -0
  941. package/dist/__node_modules/strict-event-emitter/lib/index.js.map +1 -0
  942. package/dist/__node_modules/strtok3/lib/AbstractTokenizer.cjs +98 -0
  943. package/dist/__node_modules/strtok3/lib/AbstractTokenizer.cjs.map +1 -0
  944. package/dist/__node_modules/strtok3/lib/AbstractTokenizer.js +98 -0
  945. package/dist/__node_modules/strtok3/lib/AbstractTokenizer.js.map +1 -0
  946. package/dist/__node_modules/strtok3/lib/BufferTokenizer.cjs +53 -0
  947. package/dist/__node_modules/strtok3/lib/BufferTokenizer.cjs.map +1 -0
  948. package/dist/__node_modules/strtok3/lib/BufferTokenizer.js +53 -0
  949. package/dist/__node_modules/strtok3/lib/BufferTokenizer.js.map +1 -0
  950. package/dist/__node_modules/strtok3/lib/core.cjs +9 -0
  951. package/dist/__node_modules/strtok3/lib/core.cjs.map +1 -0
  952. package/dist/__node_modules/strtok3/lib/core.js +9 -0
  953. package/dist/__node_modules/strtok3/lib/core.js.map +1 -0
  954. package/dist/__node_modules/token-types/lib/index.cjs +94 -0
  955. package/dist/__node_modules/token-types/lib/index.cjs.map +1 -0
  956. package/dist/__node_modules/token-types/lib/index.js +94 -0
  957. package/dist/__node_modules/token-types/lib/index.js.map +1 -0
  958. package/dist/__node_modules/unist-util-is/index.cjs +73 -0
  959. package/dist/__node_modules/unist-util-is/index.cjs.map +1 -0
  960. package/dist/__node_modules/unist-util-is/index.js +73 -0
  961. package/dist/__node_modules/unist-util-is/index.js.map +1 -0
  962. package/dist/__node_modules/unist-util-visit/index.cjs +32 -0
  963. package/dist/__node_modules/unist-util-visit/index.cjs.map +1 -0
  964. package/dist/__node_modules/unist-util-visit/index.js +33 -0
  965. package/dist/__node_modules/unist-util-visit/index.js.map +1 -0
  966. package/dist/__node_modules/unist-util-visit-parents/color.browser.cjs +7 -0
  967. package/dist/__node_modules/unist-util-visit-parents/color.browser.cjs.map +1 -0
  968. package/dist/__node_modules/unist-util-visit-parents/color.browser.js +7 -0
  969. package/dist/__node_modules/unist-util-visit-parents/color.browser.js.map +1 -0
  970. package/dist/__node_modules/unist-util-visit-parents/index.cjs +74 -0
  971. package/dist/__node_modules/unist-util-visit-parents/index.cjs.map +1 -0
  972. package/dist/__node_modules/unist-util-visit-parents/index.js +74 -0
  973. package/dist/__node_modules/unist-util-visit-parents/index.js.map +1 -0
  974. package/dist/__node_modules/web-encoding/src/lib.cjs +7 -0
  975. package/dist/__node_modules/web-encoding/src/lib.cjs.map +1 -0
  976. package/dist/__node_modules/web-encoding/src/lib.js +8 -0
  977. package/dist/__node_modules/web-encoding/src/lib.js.map +1 -0
  978. package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs +3822 -0
  979. package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs.map +1 -0
  980. package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +3822 -0
  981. package/dist/__node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
  982. package/dist/__node_modules/yocto-queue/index.cjs +89 -0
  983. package/dist/__node_modules/yocto-queue/index.cjs.map +1 -0
  984. package/dist/__node_modules/yocto-queue/index.js +90 -0
  985. package/dist/__node_modules/yocto-queue/index.js.map +1 -0
  986. package/dist/_virtual/AsyncEventEmitter.cjs +5 -0
  987. package/dist/_virtual/AsyncEventEmitter.cjs.map +1 -0
  988. package/dist/_virtual/AsyncEventEmitter.js +5 -0
  989. package/dist/_virtual/AsyncEventEmitter.js.map +1 -0
  990. package/dist/_virtual/BatchInterceptor.cjs +5 -0
  991. package/dist/_virtual/BatchInterceptor.cjs.map +1 -0
  992. package/dist/_virtual/BatchInterceptor.js +5 -0
  993. package/dist/_virtual/BatchInterceptor.js.map +1 -0
  994. package/dist/_virtual/EventPolyfill.cjs +5 -0
  995. package/dist/_virtual/EventPolyfill.cjs.map +1 -0
  996. package/dist/_virtual/EventPolyfill.js +5 -0
  997. package/dist/_virtual/EventPolyfill.js.map +1 -0
  998. package/dist/_virtual/InteractiveIsomorphicRequest.cjs +5 -0
  999. package/dist/_virtual/InteractiveIsomorphicRequest.cjs.map +1 -0
  1000. package/dist/_virtual/InteractiveIsomorphicRequest.js +5 -0
  1001. package/dist/_virtual/InteractiveIsomorphicRequest.js.map +1 -0
  1002. package/dist/_virtual/Interceptor.cjs +5 -0
  1003. package/dist/_virtual/Interceptor.cjs.map +1 -0
  1004. package/dist/_virtual/Interceptor.js +5 -0
  1005. package/dist/_virtual/Interceptor.js.map +1 -0
  1006. package/dist/_virtual/IsomorphicRequest.cjs +5 -0
  1007. package/dist/_virtual/IsomorphicRequest.cjs.map +1 -0
  1008. package/dist/_virtual/IsomorphicRequest.js +5 -0
  1009. package/dist/_virtual/IsomorphicRequest.js.map +1 -0
  1010. package/dist/_virtual/ProgressEventPolyfill.cjs +5 -0
  1011. package/dist/_virtual/ProgressEventPolyfill.cjs.map +1 -0
  1012. package/dist/_virtual/ProgressEventPolyfill.js +5 -0
  1013. package/dist/_virtual/ProgressEventPolyfill.js.map +1 -0
  1014. package/dist/_virtual/StrictEventEmitter.cjs +5 -0
  1015. package/dist/_virtual/StrictEventEmitter.cjs.map +1 -0
  1016. package/dist/_virtual/StrictEventEmitter.js +5 -0
  1017. package/dist/_virtual/StrictEventEmitter.js.map +1 -0
  1018. package/dist/_virtual/XMLHttpRequestOverride.cjs +5 -0
  1019. package/dist/_virtual/XMLHttpRequestOverride.cjs.map +1 -0
  1020. package/dist/_virtual/XMLHttpRequestOverride.js +5 -0
  1021. package/dist/_virtual/XMLHttpRequestOverride.js.map +1 -0
  1022. package/dist/_virtual/_commonjsHelpers.cjs +35 -0
  1023. package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
  1024. package/dist/_virtual/_commonjsHelpers.js +35 -0
  1025. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  1026. package/dist/_virtual/browser.cjs +13 -0
  1027. package/dist/_virtual/browser.cjs.map +1 -0
  1028. package/dist/_virtual/browser.js +14 -0
  1029. package/dist/_virtual/browser.js.map +1 -0
  1030. package/dist/_virtual/browser2.cjs +13 -0
  1031. package/dist/_virtual/browser2.cjs.map +1 -0
  1032. package/dist/_virtual/browser2.js +14 -0
  1033. package/dist/_virtual/browser2.js.map +1 -0
  1034. package/dist/_virtual/bufferFrom.cjs +5 -0
  1035. package/dist/_virtual/bufferFrom.cjs.map +1 -0
  1036. package/dist/_virtual/bufferFrom.js +5 -0
  1037. package/dist/_virtual/bufferFrom.js.map +1 -0
  1038. package/dist/_virtual/bufferUtils.cjs +5 -0
  1039. package/dist/_virtual/bufferUtils.cjs.map +1 -0
  1040. package/dist/_virtual/bufferUtils.js +5 -0
  1041. package/dist/_virtual/bufferUtils.js.map +1 -0
  1042. package/dist/_virtual/conventions.cjs +5 -0
  1043. package/dist/_virtual/conventions.cjs.map +1 -0
  1044. package/dist/_virtual/conventions.js +5 -0
  1045. package/dist/_virtual/conventions.js.map +1 -0
  1046. package/dist/_virtual/createEvent.cjs +5 -0
  1047. package/dist/_virtual/createEvent.cjs.map +1 -0
  1048. package/dist/_virtual/createEvent.js +5 -0
  1049. package/dist/_virtual/createEvent.js.map +1 -0
  1050. package/dist/_virtual/createLazyCallback.cjs +5 -0
  1051. package/dist/_virtual/createLazyCallback.cjs.map +1 -0
  1052. package/dist/_virtual/createLazyCallback.js +5 -0
  1053. package/dist/_virtual/createLazyCallback.js.map +1 -0
  1054. package/dist/_virtual/dom-parser.cjs +5 -0
  1055. package/dist/_virtual/dom-parser.cjs.map +1 -0
  1056. package/dist/_virtual/dom-parser.js +5 -0
  1057. package/dist/_virtual/dom-parser.js.map +1 -0
  1058. package/dist/_virtual/dom.cjs +5 -0
  1059. package/dist/_virtual/dom.cjs.map +1 -0
  1060. package/dist/_virtual/dom.js +5 -0
  1061. package/dist/_virtual/dom.js.map +1 -0
  1062. package/dist/_virtual/entities.cjs +5 -0
  1063. package/dist/_virtual/entities.cjs.map +1 -0
  1064. package/dist/_virtual/entities.js +5 -0
  1065. package/dist/_virtual/entities.js.map +1 -0
  1066. package/dist/_virtual/format.cjs +5 -0
  1067. package/dist/_virtual/format.cjs.map +1 -0
  1068. package/dist/_virtual/format.js +5 -0
  1069. package/dist/_virtual/format.js.map +1 -0
  1070. package/dist/_virtual/getCleanUrl.cjs +5 -0
  1071. package/dist/_virtual/getCleanUrl.cjs.map +1 -0
  1072. package/dist/_virtual/getCleanUrl.js +5 -0
  1073. package/dist/_virtual/getCleanUrl.js.map +1 -0
  1074. package/dist/_virtual/glossary.cjs +5 -0
  1075. package/dist/_virtual/glossary.cjs.map +1 -0
  1076. package/dist/_virtual/glossary.js +5 -0
  1077. package/dist/_virtual/glossary.js.map +1 -0
  1078. package/dist/_virtual/index.cjs +6 -0
  1079. package/dist/_virtual/index.cjs.map +1 -0
  1080. package/dist/_virtual/index.js +7 -0
  1081. package/dist/_virtual/index.js.map +1 -0
  1082. package/dist/_virtual/index10.cjs +5 -0
  1083. package/dist/_virtual/index10.cjs.map +1 -0
  1084. package/dist/_virtual/index10.js +5 -0
  1085. package/dist/_virtual/index10.js.map +1 -0
  1086. package/dist/_virtual/index11.cjs +5 -0
  1087. package/dist/_virtual/index11.cjs.map +1 -0
  1088. package/dist/_virtual/index11.js +5 -0
  1089. package/dist/_virtual/index11.js.map +1 -0
  1090. package/dist/_virtual/index2.cjs +6 -0
  1091. package/dist/_virtual/index2.cjs.map +1 -0
  1092. package/dist/_virtual/index2.js +7 -0
  1093. package/dist/_virtual/index2.js.map +1 -0
  1094. package/dist/_virtual/index3.cjs +13 -0
  1095. package/dist/_virtual/index3.cjs.map +1 -0
  1096. package/dist/_virtual/index3.js +14 -0
  1097. package/dist/_virtual/index3.js.map +1 -0
  1098. package/dist/_virtual/index4.cjs +5 -0
  1099. package/dist/_virtual/index4.cjs.map +1 -0
  1100. package/dist/_virtual/index4.js +5 -0
  1101. package/dist/_virtual/index4.js.map +1 -0
  1102. package/dist/_virtual/index5.cjs +5 -0
  1103. package/dist/_virtual/index5.cjs.map +1 -0
  1104. package/dist/_virtual/index5.js +5 -0
  1105. package/dist/_virtual/index5.js.map +1 -0
  1106. package/dist/_virtual/index6.cjs +5 -0
  1107. package/dist/_virtual/index6.cjs.map +1 -0
  1108. package/dist/_virtual/index6.js +5 -0
  1109. package/dist/_virtual/index6.js.map +1 -0
  1110. package/dist/_virtual/index7.cjs +5 -0
  1111. package/dist/_virtual/index7.cjs.map +1 -0
  1112. package/dist/_virtual/index7.js +5 -0
  1113. package/dist/_virtual/index7.js.map +1 -0
  1114. package/dist/_virtual/index8.cjs +5 -0
  1115. package/dist/_virtual/index8.cjs.map +1 -0
  1116. package/dist/_virtual/index8.js +5 -0
  1117. package/dist/_virtual/index8.js.map +1 -0
  1118. package/dist/_virtual/index9.cjs +5 -0
  1119. package/dist/_virtual/index9.cjs.map +1 -0
  1120. package/dist/_virtual/index9.js +5 -0
  1121. package/dist/_virtual/index9.js.map +1 -0
  1122. package/dist/_virtual/invariant.cjs +5 -0
  1123. package/dist/_virtual/invariant.cjs.map +1 -0
  1124. package/dist/_virtual/invariant.js +5 -0
  1125. package/dist/_virtual/invariant.js.map +1 -0
  1126. package/dist/_virtual/lib.cjs +5 -0
  1127. package/dist/_virtual/lib.cjs.map +1 -0
  1128. package/dist/_virtual/lib.js +5 -0
  1129. package/dist/_virtual/lib.js.map +1 -0
  1130. package/dist/_virtual/nextTick.cjs +5 -0
  1131. package/dist/_virtual/nextTick.cjs.map +1 -0
  1132. package/dist/_virtual/nextTick.js +5 -0
  1133. package/dist/_virtual/nextTick.js.map +1 -0
  1134. package/dist/_virtual/parseJson.cjs +5 -0
  1135. package/dist/_virtual/parseJson.cjs.map +1 -0
  1136. package/dist/_virtual/parseJson.js +5 -0
  1137. package/dist/_virtual/parseJson.js.map +1 -0
  1138. package/dist/_virtual/ponyfill.es2018.cjs +13 -0
  1139. package/dist/_virtual/ponyfill.es2018.cjs.map +1 -0
  1140. package/dist/_virtual/ponyfill.es2018.js +14 -0
  1141. package/dist/_virtual/ponyfill.es2018.js.map +1 -0
  1142. package/dist/_virtual/sax.cjs +5 -0
  1143. package/dist/_virtual/sax.cjs.map +1 -0
  1144. package/dist/_virtual/sax.js +5 -0
  1145. package/dist/_virtual/sax.js.map +1 -0
  1146. package/dist/_virtual/set-cookie.cjs +13 -0
  1147. package/dist/_virtual/set-cookie.cjs.map +1 -0
  1148. package/dist/_virtual/set-cookie.js +14 -0
  1149. package/dist/_virtual/set-cookie.js.map +1 -0
  1150. package/dist/_virtual/store.cjs +5 -0
  1151. package/dist/_virtual/store.cjs.map +1 -0
  1152. package/dist/_virtual/store.js +5 -0
  1153. package/dist/_virtual/store.js.map +1 -0
  1154. package/dist/_virtual/toIsoResponse.cjs +5 -0
  1155. package/dist/_virtual/toIsoResponse.cjs.map +1 -0
  1156. package/dist/_virtual/toIsoResponse.js +5 -0
  1157. package/dist/_virtual/toIsoResponse.js.map +1 -0
  1158. package/dist/_virtual/until.cjs +5 -0
  1159. package/dist/_virtual/until.cjs.map +1 -0
  1160. package/dist/_virtual/until.js +5 -0
  1161. package/dist/_virtual/until.js.map +1 -0
  1162. package/dist/_virtual/uuid.cjs +5 -0
  1163. package/dist/_virtual/uuid.cjs.map +1 -0
  1164. package/dist/_virtual/uuid.js +5 -0
  1165. package/dist/_virtual/uuid.js.map +1 -0
  1166. package/dist/auth/PrismicAuthManager.cjs +280 -0
  1167. package/dist/auth/PrismicAuthManager.cjs.map +1 -0
  1168. package/dist/auth/PrismicAuthManager.d.ts +58 -0
  1169. package/dist/auth/PrismicAuthManager.js +258 -0
  1170. package/dist/auth/PrismicAuthManager.js.map +1 -0
  1171. package/dist/auth/createPrismicAuthManager.cjs +8 -0
  1172. package/dist/auth/createPrismicAuthManager.cjs.map +1 -0
  1173. package/dist/auth/createPrismicAuthManager.d.ts +4 -0
  1174. package/dist/auth/createPrismicAuthManager.js +8 -0
  1175. package/dist/auth/createPrismicAuthManager.js.map +1 -0
  1176. package/dist/auth/createPrismicAuthManagerMiddleware.cjs +50 -0
  1177. package/dist/auth/createPrismicAuthManagerMiddleware.cjs.map +1 -0
  1178. package/dist/auth/createPrismicAuthManagerMiddleware.d.ts +14 -0
  1179. package/dist/auth/createPrismicAuthManagerMiddleware.js +33 -0
  1180. package/dist/auth/createPrismicAuthManagerMiddleware.js.map +1 -0
  1181. package/dist/client/index.d.ts +5 -0
  1182. package/dist/client.cjs +20 -0
  1183. package/dist/client.cjs.map +1 -0
  1184. package/dist/client.js +20 -0
  1185. package/dist/client.js.map +1 -0
  1186. package/dist/constants/API_ENDPOINTS.cjs +45 -0
  1187. package/dist/constants/API_ENDPOINTS.cjs.map +1 -0
  1188. package/dist/constants/API_ENDPOINTS.d.ts +9 -0
  1189. package/dist/constants/API_ENDPOINTS.js +45 -0
  1190. package/dist/constants/API_ENDPOINTS.js.map +1 -0
  1191. package/dist/constants/API_TOKENS.cjs +17 -0
  1192. package/dist/constants/API_TOKENS.cjs.map +1 -0
  1193. package/dist/constants/API_TOKENS.d.ts +5 -0
  1194. package/dist/constants/API_TOKENS.js +17 -0
  1195. package/dist/constants/API_TOKENS.js.map +1 -0
  1196. package/dist/constants/APPLICATION_MODE.cjs +9 -0
  1197. package/dist/constants/APPLICATION_MODE.cjs.map +1 -0
  1198. package/dist/constants/APPLICATION_MODE.d.ts +5 -0
  1199. package/dist/constants/APPLICATION_MODE.js +9 -0
  1200. package/dist/constants/APPLICATION_MODE.js.map +1 -0
  1201. package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.cjs +5 -0
  1202. package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.cjs.map +1 -0
  1203. package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.d.ts +5 -0
  1204. package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.js +5 -0
  1205. package/dist/constants/DEFAULT_SLICE_SCREENSHOT_URL.js.map +1 -0
  1206. package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.cjs +5 -0
  1207. package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.cjs.map +1 -0
  1208. package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.d.ts +1 -0
  1209. package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.js +5 -0
  1210. package/dist/constants/SLICE_MACHINE_CONFIG_FILENAME.js.map +1 -0
  1211. package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.cjs +5 -0
  1212. package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.cjs.map +1 -0
  1213. package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.d.ts +1 -0
  1214. package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.js +5 -0
  1215. package/dist/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.js.map +1 -0
  1216. package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.cjs +5 -0
  1217. package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.cjs.map +1 -0
  1218. package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.d.ts +1 -0
  1219. package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.js +5 -0
  1220. package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.js.map +1 -0
  1221. package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.cjs +5 -0
  1222. package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.cjs.map +1 -0
  1223. package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.d.ts +1 -0
  1224. package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.js +5 -0
  1225. package/dist/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.js.map +1 -0
  1226. package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.cjs +5 -0
  1227. package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.cjs.map +1 -0
  1228. package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.d.ts +1 -0
  1229. package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.js +5 -0
  1230. package/dist/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.js.map +1 -0
  1231. package/dist/constants/SLICE_MACHINE_USER_AGENT.cjs +5 -0
  1232. package/dist/constants/SLICE_MACHINE_USER_AGENT.cjs.map +1 -0
  1233. package/dist/constants/SLICE_MACHINE_USER_AGENT.d.ts +1 -0
  1234. package/dist/constants/SLICE_MACHINE_USER_AGENT.js +5 -0
  1235. package/dist/constants/SLICE_MACHINE_USER_AGENT.js.map +1 -0
  1236. package/dist/constants/TS_CONFIG_FILENAME.cjs +5 -0
  1237. package/dist/constants/TS_CONFIG_FILENAME.cjs.map +1 -0
  1238. package/dist/constants/TS_CONFIG_FILENAME.d.ts +1 -0
  1239. package/dist/constants/TS_CONFIG_FILENAME.js +5 -0
  1240. package/dist/constants/TS_CONFIG_FILENAME.js.map +1 -0
  1241. package/dist/constants/VERSION_KIND.cjs +10 -0
  1242. package/dist/constants/VERSION_KIND.cjs.map +1 -0
  1243. package/dist/constants/VERSION_KIND.d.ts +6 -0
  1244. package/dist/constants/VERSION_KIND.js +10 -0
  1245. package/dist/constants/VERSION_KIND.js.map +1 -0
  1246. package/dist/errors.cjs +77 -0
  1247. package/dist/errors.cjs.map +1 -0
  1248. package/dist/errors.d.ts +34 -0
  1249. package/dist/errors.js +77 -0
  1250. package/dist/errors.js.map +1 -0
  1251. package/dist/index.cjs +17 -0
  1252. package/dist/index.cjs.map +1 -0
  1253. package/dist/index.d.ts +9 -0
  1254. package/dist/index.js +17 -0
  1255. package/dist/index.js.map +1 -0
  1256. package/dist/lib/DecodeError.cjs +22 -0
  1257. package/dist/lib/DecodeError.cjs.map +1 -0
  1258. package/dist/lib/DecodeError.d.ts +12 -0
  1259. package/dist/lib/DecodeError.js +22 -0
  1260. package/dist/lib/DecodeError.js.map +1 -0
  1261. package/dist/lib/assertPluginsInitialized.cjs +9 -0
  1262. package/dist/lib/assertPluginsInitialized.cjs.map +1 -0
  1263. package/dist/lib/assertPluginsInitialized.d.ts +2 -0
  1264. package/dist/lib/assertPluginsInitialized.js +9 -0
  1265. package/dist/lib/assertPluginsInitialized.js.map +1 -0
  1266. package/dist/lib/bufferCodec.cjs +24 -0
  1267. package/dist/lib/bufferCodec.cjs.map +1 -0
  1268. package/dist/lib/bufferCodec.d.ts +3 -0
  1269. package/dist/lib/bufferCodec.js +7 -0
  1270. package/dist/lib/bufferCodec.js.map +1 -0
  1271. package/dist/lib/castArray.cjs +7 -0
  1272. package/dist/lib/castArray.cjs.map +1 -0
  1273. package/dist/lib/castArray.d.ts +1 -0
  1274. package/dist/lib/castArray.js +7 -0
  1275. package/dist/lib/castArray.js.map +1 -0
  1276. package/dist/lib/checkIsURLAccessible.cjs +9 -0
  1277. package/dist/lib/checkIsURLAccessible.cjs.map +1 -0
  1278. package/dist/lib/checkIsURLAccessible.d.ts +1 -0
  1279. package/dist/lib/checkIsURLAccessible.js +9 -0
  1280. package/dist/lib/checkIsURLAccessible.js.map +1 -0
  1281. package/dist/lib/createContentDigest.cjs +25 -0
  1282. package/dist/lib/createContentDigest.cjs.map +1 -0
  1283. package/dist/lib/createContentDigest.d.ts +9 -0
  1284. package/dist/lib/createContentDigest.js +8 -0
  1285. package/dist/lib/createContentDigest.js.map +1 -0
  1286. package/dist/lib/decode.cjs +18 -0
  1287. package/dist/lib/decode.cjs.map +1 -0
  1288. package/dist/lib/decode.d.ts +10 -0
  1289. package/dist/lib/decode.js +18 -0
  1290. package/dist/lib/decode.js.map +1 -0
  1291. package/dist/lib/decodeHookResult.cjs +21 -0
  1292. package/dist/lib/decodeHookResult.cjs.map +1 -0
  1293. package/dist/lib/decodeHookResult.d.ts +10 -0
  1294. package/dist/lib/decodeHookResult.js +21 -0
  1295. package/dist/lib/decodeHookResult.js.map +1 -0
  1296. package/dist/lib/decodeSliceMachineConfig.cjs +50 -0
  1297. package/dist/lib/decodeSliceMachineConfig.cjs.map +1 -0
  1298. package/dist/lib/decodeSliceMachineConfig.d.ts +3 -0
  1299. package/dist/lib/decodeSliceMachineConfig.js +33 -0
  1300. package/dist/lib/decodeSliceMachineConfig.js.map +1 -0
  1301. package/dist/lib/fetchGitHubReleaseBodyForRelease.cjs +102 -0
  1302. package/dist/lib/fetchGitHubReleaseBodyForRelease.cjs.map +1 -0
  1303. package/dist/lib/fetchGitHubReleaseBodyForRelease.d.ts +21 -0
  1304. package/dist/lib/fetchGitHubReleaseBodyForRelease.js +85 -0
  1305. package/dist/lib/fetchGitHubReleaseBodyForRelease.js.map +1 -0
  1306. package/dist/lib/fetchNPMPackageVersions.cjs +41 -0
  1307. package/dist/lib/fetchNPMPackageVersions.cjs.map +1 -0
  1308. package/dist/lib/fetchNPMPackageVersions.d.ts +5 -0
  1309. package/dist/lib/fetchNPMPackageVersions.js +24 -0
  1310. package/dist/lib/fetchNPMPackageVersions.js.map +1 -0
  1311. package/dist/lib/format.cjs +33 -0
  1312. package/dist/lib/format.cjs.map +1 -0
  1313. package/dist/lib/format.d.ts +12 -0
  1314. package/dist/lib/format.js +33 -0
  1315. package/dist/lib/format.js.map +1 -0
  1316. package/dist/lib/functionCodec.cjs +29 -0
  1317. package/dist/lib/functionCodec.cjs.map +1 -0
  1318. package/dist/lib/functionCodec.d.ts +2 -0
  1319. package/dist/lib/functionCodec.js +12 -0
  1320. package/dist/lib/functionCodec.js.map +1 -0
  1321. package/dist/lib/locateFileUpward.cjs +50 -0
  1322. package/dist/lib/locateFileUpward.cjs.map +1 -0
  1323. package/dist/lib/locateFileUpward.d.ts +10 -0
  1324. package/dist/lib/locateFileUpward.js +32 -0
  1325. package/dist/lib/locateFileUpward.js.map +1 -0
  1326. package/dist/lib/markdownToHTML.cjs +90 -0
  1327. package/dist/lib/markdownToHTML.cjs.map +1 -0
  1328. package/dist/lib/markdownToHTML.d.ts +1 -0
  1329. package/dist/lib/markdownToHTML.js +68 -0
  1330. package/dist/lib/markdownToHTML.js.map +1 -0
  1331. package/dist/lib/prismicrc.cjs +48 -0
  1332. package/dist/lib/prismicrc.cjs.map +1 -0
  1333. package/dist/lib/prismicrc.d.ts +10 -0
  1334. package/dist/lib/prismicrc.js +29 -0
  1335. package/dist/lib/prismicrc.js.map +1 -0
  1336. package/dist/lib/serializeCookies.cjs +29 -0
  1337. package/dist/lib/serializeCookies.cjs.map +1 -0
  1338. package/dist/lib/serializeCookies.d.ts +6 -0
  1339. package/dist/lib/serializeCookies.js +29 -0
  1340. package/dist/lib/serializeCookies.js.map +1 -0
  1341. package/dist/managers/BaseManager.cjs +63 -0
  1342. package/dist/managers/BaseManager.cjs.map +1 -0
  1343. package/dist/managers/BaseManager.d.ts +33 -0
  1344. package/dist/managers/BaseManager.js +63 -0
  1345. package/dist/managers/BaseManager.js.map +1 -0
  1346. package/dist/managers/SliceMachineManager.cjs +217 -0
  1347. package/dist/managers/SliceMachineManager.cjs.map +1 -0
  1348. package/dist/managers/SliceMachineManager.d.ts +93 -0
  1349. package/dist/managers/SliceMachineManager.js +217 -0
  1350. package/dist/managers/SliceMachineManager.js.map +1 -0
  1351. package/dist/managers/createSliceMachineManager.cjs +8 -0
  1352. package/dist/managers/createSliceMachineManager.cjs.map +1 -0
  1353. package/dist/managers/createSliceMachineManager.d.ts +4 -0
  1354. package/dist/managers/createSliceMachineManager.js +8 -0
  1355. package/dist/managers/createSliceMachineManager.js.map +1 -0
  1356. package/dist/managers/createSliceMachineManagerClient.cjs +11 -0
  1357. package/dist/managers/createSliceMachineManagerClient.cjs.map +1 -0
  1358. package/dist/managers/createSliceMachineManagerClient.d.ts +8 -0
  1359. package/dist/managers/createSliceMachineManagerClient.js +11 -0
  1360. package/dist/managers/createSliceMachineManagerClient.js.map +1 -0
  1361. package/dist/managers/createSliceMachineManagerMiddleware.cjs +47 -0
  1362. package/dist/managers/createSliceMachineManagerMiddleware.cjs.map +1 -0
  1363. package/dist/managers/createSliceMachineManagerMiddleware.d.ts +14 -0
  1364. package/dist/managers/createSliceMachineManagerMiddleware.js +47 -0
  1365. package/dist/managers/createSliceMachineManagerMiddleware.js.map +1 -0
  1366. package/dist/managers/customTypes/CustomTypesManager.cjs +177 -0
  1367. package/dist/managers/customTypes/CustomTypesManager.cjs.map +1 -0
  1368. package/dist/managers/customTypes/CustomTypesManager.d.ts +50 -0
  1369. package/dist/managers/customTypes/CustomTypesManager.js +159 -0
  1370. package/dist/managers/customTypes/CustomTypesManager.js.map +1 -0
  1371. package/dist/managers/plugins/PluginsManager.cjs +36 -0
  1372. package/dist/managers/plugins/PluginsManager.cjs.map +1 -0
  1373. package/dist/managers/plugins/PluginsManager.d.ts +13 -0
  1374. package/dist/managers/plugins/PluginsManager.js +36 -0
  1375. package/dist/managers/plugins/PluginsManager.js.map +1 -0
  1376. package/dist/managers/prismicRepository/PrismicRepositoryManager.cjs +199 -0
  1377. package/dist/managers/prismicRepository/PrismicRepositoryManager.cjs.map +1 -0
  1378. package/dist/managers/prismicRepository/PrismicRepositoryManager.d.ts +28 -0
  1379. package/dist/managers/prismicRepository/PrismicRepositoryManager.js +182 -0
  1380. package/dist/managers/prismicRepository/PrismicRepositoryManager.js.map +1 -0
  1381. package/dist/managers/prismicRepository/types.cjs +45 -0
  1382. package/dist/managers/prismicRepository/types.cjs.map +1 -0
  1383. package/dist/managers/prismicRepository/types.d.ts +38 -0
  1384. package/dist/managers/prismicRepository/types.js +28 -0
  1385. package/dist/managers/prismicRepository/types.js.map +1 -0
  1386. package/dist/managers/project/ProjectManager.cjs +120 -0
  1387. package/dist/managers/project/ProjectManager.cjs.map +1 -0
  1388. package/dist/managers/project/ProjectManager.d.ts +30 -0
  1389. package/dist/managers/project/ProjectManager.js +102 -0
  1390. package/dist/managers/project/ProjectManager.js.map +1 -0
  1391. package/dist/managers/screenshots/ScreenshotsManager.cjs +206 -0
  1392. package/dist/managers/screenshots/ScreenshotsManager.cjs.map +1 -0
  1393. package/dist/managers/screenshots/ScreenshotsManager.d.ts +31 -0
  1394. package/dist/managers/screenshots/ScreenshotsManager.js +168 -0
  1395. package/dist/managers/screenshots/ScreenshotsManager.js.map +1 -0
  1396. package/dist/managers/simulator/SimulatorManager.cjs +100 -0
  1397. package/dist/managers/simulator/SimulatorManager.cjs.map +1 -0
  1398. package/dist/managers/simulator/SimulatorManager.d.ts +37 -0
  1399. package/dist/managers/simulator/SimulatorManager.js +83 -0
  1400. package/dist/managers/simulator/SimulatorManager.js.map +1 -0
  1401. package/dist/managers/slices/SlicesManager.cjs +341 -0
  1402. package/dist/managers/slices/SlicesManager.cjs.map +1 -0
  1403. package/dist/managers/slices/SlicesManager.d.ts +111 -0
  1404. package/dist/managers/slices/SlicesManager.js +323 -0
  1405. package/dist/managers/slices/SlicesManager.js.map +1 -0
  1406. package/dist/managers/snippets/SnippetsManager.cjs +41 -0
  1407. package/dist/managers/snippets/SnippetsManager.cjs.map +1 -0
  1408. package/dist/managers/snippets/SnippetsManager.d.ts +11 -0
  1409. package/dist/managers/snippets/SnippetsManager.js +24 -0
  1410. package/dist/managers/snippets/SnippetsManager.js.map +1 -0
  1411. package/dist/managers/telemetry/TelemetryManager.cjs +105 -0
  1412. package/dist/managers/telemetry/TelemetryManager.cjs.map +1 -0
  1413. package/dist/managers/telemetry/TelemetryManager.d.ts +17 -0
  1414. package/dist/managers/telemetry/TelemetryManager.js +105 -0
  1415. package/dist/managers/telemetry/TelemetryManager.js.map +1 -0
  1416. package/dist/managers/telemetry/types.cjs +15 -0
  1417. package/dist/managers/telemetry/types.cjs.map +1 -0
  1418. package/dist/managers/telemetry/types.d.ts +28 -0
  1419. package/dist/managers/telemetry/types.js +15 -0
  1420. package/dist/managers/telemetry/types.js.map +1 -0
  1421. package/dist/managers/user/UserManager.cjs +25 -0
  1422. package/dist/managers/user/UserManager.cjs.map +1 -0
  1423. package/dist/managers/user/UserManager.d.ts +38 -0
  1424. package/dist/managers/user/UserManager.js +25 -0
  1425. package/dist/managers/user/UserManager.js.map +1 -0
  1426. package/dist/managers/versions/VersionsManager.cjs +104 -0
  1427. package/dist/managers/versions/VersionsManager.cjs.map +1 -0
  1428. package/dist/managers/versions/VersionsManager.d.ts +19 -0
  1429. package/dist/managers/versions/VersionsManager.js +86 -0
  1430. package/dist/managers/versions/VersionsManager.js.map +1 -0
  1431. package/dist/managers/versions/types.d.ts +5 -0
  1432. package/dist/test/createSliceMachineManagerMSWHandler.cjs +27 -0
  1433. package/dist/test/createSliceMachineManagerMSWHandler.cjs.map +1 -0
  1434. package/dist/test/createSliceMachineManagerMSWHandler.d.ts +7 -0
  1435. package/dist/test/createSliceMachineManagerMSWHandler.js +27 -0
  1436. package/dist/test/createSliceMachineManagerMSWHandler.js.map +1 -0
  1437. package/dist/test/index.d.ts +1 -0
  1438. package/dist/test.cjs +5 -0
  1439. package/dist/test.cjs.map +1 -0
  1440. package/dist/test.js +5 -0
  1441. package/dist/test.js.map +1 -0
  1442. package/dist/types.d.ts +45 -0
  1443. package/package.json +128 -0
  1444. package/src/auth/PrismicAuthManager.ts +403 -0
  1445. package/src/auth/createPrismicAuthManager.ts +11 -0
  1446. package/src/auth/createPrismicAuthManagerMiddleware.ts +70 -0
  1447. package/src/client/index.ts +32 -0
  1448. package/src/constants/API_ENDPOINTS.ts +62 -0
  1449. package/src/constants/API_TOKENS.ts +18 -0
  1450. package/src/constants/APPLICATION_MODE.ts +5 -0
  1451. package/src/constants/DEFAULT_SLICE_SCREENSHOT_URL.ts +6 -0
  1452. package/src/constants/SLICE_MACHINE_CONFIG_FILENAME.ts +1 -0
  1453. package/src/constants/SLICE_MACHINE_GITHUB_PACKAGE_NAME.ts +1 -0
  1454. package/src/constants/SLICE_MACHINE_GITHUB_REPOSITORY_NAME.ts +1 -0
  1455. package/src/constants/SLICE_MACHINE_GITHUB_REPOSITORY_ORGANIZATION.ts +1 -0
  1456. package/src/constants/SLICE_MACHINE_NPM_PACKAGE_NAME.ts +1 -0
  1457. package/src/constants/SLICE_MACHINE_USER_AGENT.ts +1 -0
  1458. package/src/constants/TS_CONFIG_FILENAME.ts +1 -0
  1459. package/src/constants/VERSION_KIND.ts +6 -0
  1460. package/src/errors.ts +146 -0
  1461. package/src/index.ts +27 -0
  1462. package/src/lib/DecodeError.ts +22 -0
  1463. package/src/lib/assertPluginsInitialized.ts +11 -0
  1464. package/src/lib/bufferCodec.ts +10 -0
  1465. package/src/lib/castArray.ts +3 -0
  1466. package/src/lib/checkIsURLAccessible.ts +7 -0
  1467. package/src/lib/createContentDigest.ts +12 -0
  1468. package/src/lib/decode.ts +36 -0
  1469. package/src/lib/decodeHookResult.ts +36 -0
  1470. package/src/lib/decodeSliceMachineConfig.ts +43 -0
  1471. package/src/lib/fetchGitHubReleaseBodyForRelease.ts +143 -0
  1472. package/src/lib/fetchNPMPackageVersions.ts +46 -0
  1473. package/src/lib/format.ts +34 -0
  1474. package/src/lib/functionCodec.ts +16 -0
  1475. package/src/lib/locateFileUpward.ts +58 -0
  1476. package/src/lib/markdownToHTML.ts +113 -0
  1477. package/src/lib/prismicrc.ts +64 -0
  1478. package/src/lib/serializeCookies.ts +45 -0
  1479. package/src/managers/BaseManager.ts +92 -0
  1480. package/src/managers/SliceMachineManager.ts +362 -0
  1481. package/src/managers/createSliceMachineManager.ts +11 -0
  1482. package/src/managers/createSliceMachineManagerClient.ts +23 -0
  1483. package/src/managers/createSliceMachineManagerMiddleware.ts +75 -0
  1484. package/src/managers/customTypes/CustomTypesManager.ts +303 -0
  1485. package/src/managers/plugins/PluginsManager.ts +48 -0
  1486. package/src/managers/prismicRepository/PrismicRepositoryManager.ts +266 -0
  1487. package/src/managers/prismicRepository/types.ts +30 -0
  1488. package/src/managers/project/ProjectManager.ts +165 -0
  1489. package/src/managers/screenshots/ScreenshotsManager.ts +242 -0
  1490. package/src/managers/simulator/SimulatorManager.ts +151 -0
  1491. package/src/managers/slices/SlicesManager.ts +604 -0
  1492. package/src/managers/snippets/SnippetsManager.ts +45 -0
  1493. package/src/managers/telemetry/TelemetryManager.ts +142 -0
  1494. package/src/managers/telemetry/types.ts +46 -0
  1495. package/src/managers/user/UserManager.ts +27 -0
  1496. package/src/managers/versions/VersionsManager.ts +121 -0
  1497. package/src/managers/versions/types.ts +6 -0
  1498. package/src/test/createSliceMachineManagerMSWHandler.ts +41 -0
  1499. package/src/test/index.ts +4 -0
  1500. package/src/types.ts +59 -0
@@ -0,0 +1,1937 @@
1
+ "use strict";
2
+ const index$6 = require("../../headers-polyfill/lib/index.cjs");
3
+ const cookie$1 = require("cookie");
4
+ require("../../is-node-process/lib/index.cjs");
5
+ const browser = require('./../__node_modules/node-fetch/browser.cjs');
6
+ require("../../outvariant/lib/index.cjs");
7
+ require("../../@open-draft/until/lib/index.cjs");
8
+ require("../../@mswjs/interceptors/lib/index.cjs");
9
+ require("../../@mswjs/cookies/lib/index.cjs");
10
+ require("../../@mswjs/interceptors/lib/utils/bufferUtils.cjs");
11
+ const index$7 = require("../../js-levenshtein/index.cjs");
12
+ const index$b = require("../../../_virtual/index.cjs");
13
+ const index$9 = require("../../../_virtual/index2.cjs");
14
+ require("../../@mswjs/interceptors/lib/utils/getCleanUrl.cjs");
15
+ const index = require("../../@mswjs/interceptors/lib/interceptors/fetch/index.cjs");
16
+ const index$1 = require("../../@mswjs/interceptors/lib/interceptors/XMLHttpRequest/index.cjs");
17
+ const index$2 = require("../../strict-event-emitter/lib/index.cjs");
18
+ const index$3 = require("../../../_virtual/index3.cjs");
19
+ const index$4 = require("../../../_virtual/index4.cjs");
20
+ const index$5 = require("../../../_virtual/index5.cjs");
21
+ const bufferUtils = require("../../../_virtual/bufferUtils.cjs");
22
+ const index$8 = require("../../../_virtual/index6.cjs");
23
+ const getCleanUrl = require("../../../_virtual/getCleanUrl.cjs");
24
+ const index$a = require("../../../_virtual/index7.cjs");
25
+ var __create = Object.create;
26
+ var __defProp = Object.defineProperty;
27
+ var __defProps = Object.defineProperties;
28
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
29
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
30
+ var __getOwnPropNames = Object.getOwnPropertyNames;
31
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
32
+ var __getProtoOf = Object.getPrototypeOf;
33
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
34
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
35
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
36
+ var __spreadValues = (a, b) => {
37
+ for (var prop in b || (b = {}))
38
+ if (__hasOwnProp.call(b, prop))
39
+ __defNormalProp(a, prop, b[prop]);
40
+ if (__getOwnPropSymbols)
41
+ for (var prop of __getOwnPropSymbols(b)) {
42
+ if (__propIsEnum.call(b, prop))
43
+ __defNormalProp(a, prop, b[prop]);
44
+ }
45
+ return a;
46
+ };
47
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
48
+ var __objRest = (source, exclude) => {
49
+ var target = {};
50
+ for (var prop in source)
51
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
52
+ target[prop] = source[prop];
53
+ if (source != null && __getOwnPropSymbols)
54
+ for (var prop of __getOwnPropSymbols(source)) {
55
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
56
+ target[prop] = source[prop];
57
+ }
58
+ return target;
59
+ };
60
+ var __export = (target, all) => {
61
+ for (var name in all)
62
+ __defProp(target, name, { get: all[name], enumerable: true });
63
+ };
64
+ var __copyProps = (to, from, except, desc) => {
65
+ if (from && typeof from === "object" || typeof from === "function") {
66
+ for (let key of __getOwnPropNames(from))
67
+ if (!__hasOwnProp.call(to, key) && key !== except)
68
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
69
+ }
70
+ return to;
71
+ };
72
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
73
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
74
+ var src_exports = {};
75
+ __export(src_exports, {
76
+ GraphQLHandler: () => GraphQLHandler,
77
+ MockedRequest: () => MockedRequest,
78
+ RESTMethods: () => RESTMethods,
79
+ RequestHandler: () => RequestHandler,
80
+ RestHandler: () => RestHandler,
81
+ SetupApi: () => SetupApi,
82
+ cleanUrl: () => cleanUrl,
83
+ compose: () => compose,
84
+ context: () => context_exports,
85
+ createResponseComposition: () => createResponseComposition,
86
+ defaultContext: () => defaultContext,
87
+ defaultResponse: () => defaultResponse,
88
+ graphql: () => graphql,
89
+ graphqlContext: () => graphqlContext,
90
+ handleRequest: () => handleRequest,
91
+ matchRequestUrl: () => matchRequestUrl,
92
+ response: () => response,
93
+ rest: () => rest,
94
+ restContext: () => restContext,
95
+ setupWorker: () => setupWorker
96
+ });
97
+ var lib = __toCommonJS(src_exports);
98
+ var context_exports = {};
99
+ __export(context_exports, {
100
+ body: () => body,
101
+ cookie: () => cookie,
102
+ data: () => data,
103
+ delay: () => delay,
104
+ errors: () => errors,
105
+ extensions: () => extensions,
106
+ fetch: () => fetch,
107
+ json: () => json,
108
+ set: () => set,
109
+ status: () => status,
110
+ text: () => text,
111
+ xml: () => xml
112
+ });
113
+ var _00 = "Continue";
114
+ var _01 = "Switching Protocols";
115
+ var _02 = "Processing";
116
+ var _03 = "Early Hints";
117
+ var _002 = "OK";
118
+ var _012 = "Created";
119
+ var _022 = "Accepted";
120
+ var _032 = "Non-Authoritative Information";
121
+ var _04 = "No Content";
122
+ var _05 = "Reset Content";
123
+ var _06 = "Partial Content";
124
+ var _07 = "Multi-Status";
125
+ var _08 = "Already Reported";
126
+ var _26 = "IM Used";
127
+ var _003 = "Multiple Choices";
128
+ var _013 = "Moved Permanently";
129
+ var _023 = "Found";
130
+ var _033 = "See Other";
131
+ var _042 = "Not Modified";
132
+ var _052 = "Use Proxy";
133
+ var _072 = "Temporary Redirect";
134
+ var _082 = "Permanent Redirect";
135
+ var _004 = "Bad Request";
136
+ var _014 = "Unauthorized";
137
+ var _024 = "Payment Required";
138
+ var _034 = "Forbidden";
139
+ var _043 = "Not Found";
140
+ var _053 = "Method Not Allowed";
141
+ var _062 = "Not Acceptable";
142
+ var _073 = "Proxy Authentication Required";
143
+ var _083 = "Request Timeout";
144
+ var _09 = "Conflict";
145
+ var _10 = "Gone";
146
+ var _11 = "Length Required";
147
+ var _12 = "Precondition Failed";
148
+ var _13 = "Payload Too Large";
149
+ var _14 = "URI Too Long";
150
+ var _15 = "Unsupported Media Type";
151
+ var _16 = "Range Not Satisfiable";
152
+ var _17 = "Expectation Failed";
153
+ var _18 = "I'm a Teapot";
154
+ var _21 = "Misdirected Request";
155
+ var _22 = "Unprocessable Entity";
156
+ var _23 = "Locked";
157
+ var _24 = "Failed Dependency";
158
+ var _25 = "Too Early";
159
+ var _262 = "Upgrade Required";
160
+ var _28 = "Precondition Required";
161
+ var _29 = "Too Many Requests";
162
+ var _31 = "Request Header Fields Too Large";
163
+ var _51 = "Unavailable For Legal Reasons";
164
+ var _005 = "Internal Server Error";
165
+ var _015 = "Not Implemented";
166
+ var _025 = "Bad Gateway";
167
+ var _035 = "Service Unavailable";
168
+ var _044 = "Gateway Timeout";
169
+ var _054 = "HTTP Version Not Supported";
170
+ var _063 = "Variant Also Negotiates";
171
+ var _074 = "Insufficient Storage";
172
+ var _084 = "Loop Detected";
173
+ var _092 = "Bandwidth Limit Exceeded";
174
+ var _102 = "Not Extended";
175
+ var _112 = "Network Authentication Required";
176
+ var codes_default = {
177
+ "100": _00,
178
+ "101": _01,
179
+ "102": _02,
180
+ "103": _03,
181
+ "200": _002,
182
+ "201": _012,
183
+ "202": _022,
184
+ "203": _032,
185
+ "204": _04,
186
+ "205": _05,
187
+ "206": _06,
188
+ "207": _07,
189
+ "208": _08,
190
+ "226": _26,
191
+ "300": _003,
192
+ "301": _013,
193
+ "302": _023,
194
+ "303": _033,
195
+ "304": _042,
196
+ "305": _052,
197
+ "307": _072,
198
+ "308": _082,
199
+ "400": _004,
200
+ "401": _014,
201
+ "402": _024,
202
+ "403": _034,
203
+ "404": _043,
204
+ "405": _053,
205
+ "406": _062,
206
+ "407": _073,
207
+ "408": _083,
208
+ "409": _09,
209
+ "410": _10,
210
+ "411": _11,
211
+ "412": _12,
212
+ "413": _13,
213
+ "414": _14,
214
+ "415": _15,
215
+ "416": _16,
216
+ "417": _17,
217
+ "418": _18,
218
+ "421": _21,
219
+ "422": _22,
220
+ "423": _23,
221
+ "424": _24,
222
+ "425": _25,
223
+ "426": _262,
224
+ "428": _28,
225
+ "429": _29,
226
+ "431": _31,
227
+ "451": _51,
228
+ "500": _005,
229
+ "501": _015,
230
+ "502": _025,
231
+ "503": _035,
232
+ "504": _044,
233
+ "505": _054,
234
+ "506": _063,
235
+ "507": _074,
236
+ "508": _084,
237
+ "509": _092,
238
+ "510": _102,
239
+ "511": _112
240
+ };
241
+ var status = (statusCode, statusText) => {
242
+ return (res) => {
243
+ res.status = statusCode;
244
+ res.statusText = statusText || codes_default[String(statusCode)];
245
+ return res;
246
+ };
247
+ };
248
+ var import_headers_polyfill = index$6;
249
+ function set(...args) {
250
+ return (res) => {
251
+ const [name, value] = args;
252
+ if (typeof name === "string") {
253
+ res.headers.append(name, value);
254
+ } else {
255
+ const headers = (0, import_headers_polyfill.objectToHeaders)(name);
256
+ headers.forEach((value2, name2) => {
257
+ res.headers.append(name2, value2);
258
+ });
259
+ }
260
+ return res;
261
+ };
262
+ }
263
+ var cookieUtils = __toESM(cookie$1);
264
+ var cookie = (name, value, options) => {
265
+ return (res) => {
266
+ const serializedCookie = cookieUtils.serialize(name, value, options);
267
+ res.headers.append("Set-Cookie", serializedCookie);
268
+ if (typeof document !== "undefined") {
269
+ document.cookie = serializedCookie;
270
+ }
271
+ return res;
272
+ };
273
+ };
274
+ var body = (value) => {
275
+ return (res) => {
276
+ res.body = value;
277
+ return res;
278
+ };
279
+ };
280
+ function jsonParse(value) {
281
+ try {
282
+ return JSON.parse(value);
283
+ } catch (error2) {
284
+ return void 0;
285
+ }
286
+ }
287
+ function isObject(value) {
288
+ return value != null && typeof value === "object" && !Array.isArray(value);
289
+ }
290
+ function mergeRight(left, right) {
291
+ return Object.entries(right).reduce((result, [key, rightValue]) => {
292
+ const leftValue = result[key];
293
+ if (Array.isArray(leftValue) && Array.isArray(rightValue)) {
294
+ result[key] = leftValue.concat(rightValue);
295
+ return result;
296
+ }
297
+ if (isObject(leftValue) && isObject(rightValue)) {
298
+ result[key] = mergeRight(leftValue, rightValue);
299
+ return result;
300
+ }
301
+ result[key] = rightValue;
302
+ return result;
303
+ }, Object.assign({}, left));
304
+ }
305
+ var json = (body2) => {
306
+ return (res) => {
307
+ res.headers.set("Content-Type", "application/json");
308
+ res.body = JSON.stringify(body2);
309
+ return res;
310
+ };
311
+ };
312
+ var data = (payload) => {
313
+ return (res) => {
314
+ const prevBody = jsonParse(res.body) || {};
315
+ const nextBody = mergeRight(prevBody, { data: payload });
316
+ return json(nextBody)(res);
317
+ };
318
+ };
319
+ var extensions = (payload) => {
320
+ return (res) => {
321
+ const prevBody = jsonParse(res.body) || {};
322
+ const nextBody = mergeRight(prevBody, { extensions: payload });
323
+ return json(nextBody)(res);
324
+ };
325
+ };
326
+ var import_is_node_process = index$3.exports;
327
+ var SET_TIMEOUT_MAX_ALLOWED_INT = 2147483647;
328
+ var MIN_SERVER_RESPONSE_TIME = 100;
329
+ var MAX_SERVER_RESPONSE_TIME = 400;
330
+ var NODE_SERVER_RESPONSE_TIME = 5;
331
+ var getRandomServerResponseTime = () => {
332
+ if ((0, import_is_node_process.isNodeProcess)()) {
333
+ return NODE_SERVER_RESPONSE_TIME;
334
+ }
335
+ return Math.floor(Math.random() * (MAX_SERVER_RESPONSE_TIME - MIN_SERVER_RESPONSE_TIME) + MIN_SERVER_RESPONSE_TIME);
336
+ };
337
+ var delay = (durationOrMode) => {
338
+ return (res) => {
339
+ let delayTime;
340
+ if (typeof durationOrMode === "string") {
341
+ switch (durationOrMode) {
342
+ case "infinite": {
343
+ delayTime = SET_TIMEOUT_MAX_ALLOWED_INT;
344
+ break;
345
+ }
346
+ case "real": {
347
+ delayTime = getRandomServerResponseTime();
348
+ break;
349
+ }
350
+ default: {
351
+ throw new Error(`Failed to delay a response: unknown delay mode "${durationOrMode}". Please make sure you provide one of the supported modes ("real", "infinite") or a number to "ctx.delay".`);
352
+ }
353
+ }
354
+ } else if (typeof durationOrMode === "undefined") {
355
+ delayTime = getRandomServerResponseTime();
356
+ } else {
357
+ if (durationOrMode > SET_TIMEOUT_MAX_ALLOWED_INT) {
358
+ throw new Error(`Failed to delay a response: provided delay duration (${durationOrMode}) exceeds the maximum allowed duration for "setTimeout" (${SET_TIMEOUT_MAX_ALLOWED_INT}). This will cause the response to be returned immediately. Please use a number within the allowed range to delay the response by exact duration, or consider the "infinite" delay mode to delay the response indefinitely.`);
359
+ }
360
+ delayTime = durationOrMode;
361
+ }
362
+ res.delay = delayTime;
363
+ return res;
364
+ };
365
+ };
366
+ var errors = (errorsList) => {
367
+ return (res) => {
368
+ if (errorsList == null) {
369
+ return res;
370
+ }
371
+ const prevBody = jsonParse(res.body) || {};
372
+ const nextBody = mergeRight(prevBody, { errors: errorsList });
373
+ return json(nextBody)(res);
374
+ };
375
+ };
376
+ var import_is_node_process2 = index$3.exports;
377
+ var import_headers_polyfill2 = index$6;
378
+ var useFetch = (0, import_is_node_process2.isNodeProcess)() ? (input, init) => Promise.resolve().then(() => __toESM(browser.__require())).then(({ default: nodeFetch }) => nodeFetch(input, init)) : globalThis.fetch;
379
+ var augmentRequestInit = (requestInit) => {
380
+ const headers = new import_headers_polyfill2.Headers(requestInit.headers);
381
+ headers.set("x-msw-bypass", "true");
382
+ return __spreadProps(__spreadValues({}, requestInit), {
383
+ headers: headers.all()
384
+ });
385
+ };
386
+ var createFetchRequestParameters = (input) => {
387
+ const { body: body2, method } = input;
388
+ const requestParameters = __spreadProps(__spreadValues({}, input), {
389
+ body: void 0
390
+ });
391
+ if (["GET", "HEAD"].includes(method)) {
392
+ return requestParameters;
393
+ }
394
+ if (typeof body2 === "object" || typeof body2 === "number" || typeof body2 === "boolean") {
395
+ requestParameters.body = JSON.stringify(body2);
396
+ } else {
397
+ requestParameters.body = body2;
398
+ }
399
+ return requestParameters;
400
+ };
401
+ var fetch = (input, requestInit = {}) => {
402
+ if (typeof input === "string") {
403
+ return useFetch(input, augmentRequestInit(requestInit));
404
+ }
405
+ const requestParameters = createFetchRequestParameters(input);
406
+ const derivedRequestInit = augmentRequestInit(requestParameters);
407
+ return useFetch(input.url.href, derivedRequestInit);
408
+ };
409
+ var text = (body2) => {
410
+ return (res) => {
411
+ res.headers.set("Content-Type", "text/plain");
412
+ res.body = body2;
413
+ return res;
414
+ };
415
+ };
416
+ var xml = (body2) => {
417
+ return (res) => {
418
+ res.headers.set("Content-Type", "text/xml");
419
+ res.body = body2;
420
+ return res;
421
+ };
422
+ };
423
+ var import_outvariant4 = index$a.__exports;
424
+ var import_is_node_process3 = index$3.exports;
425
+ var import_until4 = index$8.__exports;
426
+ var import_until = index$8.__exports;
427
+ var getWorkerByRegistration = (registration, absoluteWorkerUrl, findWorker) => {
428
+ const allStates = [
429
+ registration.active,
430
+ registration.installing,
431
+ registration.waiting
432
+ ];
433
+ const existingStates = allStates.filter(Boolean);
434
+ const mockWorker = existingStates.find((worker) => {
435
+ return findWorker(worker.scriptURL, absoluteWorkerUrl);
436
+ });
437
+ return mockWorker || null;
438
+ };
439
+ function getAbsoluteWorkerUrl(workerUrl) {
440
+ return new URL(workerUrl, location.href).href;
441
+ }
442
+ var import_outvariant = index$a.__exports;
443
+ var LIBRARY_PREFIX = "[MSW]";
444
+ function formatMessage(message, ...positionals) {
445
+ const interpolatedMessage = (0, import_outvariant.format)(message, ...positionals);
446
+ return `${LIBRARY_PREFIX} ${interpolatedMessage}`;
447
+ }
448
+ function warn(message, ...positionals) {
449
+ console.warn(formatMessage(message, ...positionals));
450
+ }
451
+ function error(message, ...positionals) {
452
+ console.error(formatMessage(message, ...positionals));
453
+ }
454
+ var devUtils = {
455
+ formatMessage,
456
+ warn,
457
+ error
458
+ };
459
+ var getWorkerInstance = async (url, options = {}, findWorker) => {
460
+ const absoluteWorkerUrl = getAbsoluteWorkerUrl(url);
461
+ const mockRegistrations = await navigator.serviceWorker.getRegistrations().then((registrations) => registrations.filter((registration) => getWorkerByRegistration(registration, absoluteWorkerUrl, findWorker)));
462
+ if (!navigator.serviceWorker.controller && mockRegistrations.length > 0) {
463
+ location.reload();
464
+ }
465
+ const [existingRegistration] = mockRegistrations;
466
+ if (existingRegistration) {
467
+ return existingRegistration.update().then(() => {
468
+ return [
469
+ getWorkerByRegistration(existingRegistration, absoluteWorkerUrl, findWorker),
470
+ existingRegistration
471
+ ];
472
+ });
473
+ }
474
+ const [error2, instance] = await (0, import_until.until)(async () => {
475
+ const registration = await navigator.serviceWorker.register(url, options);
476
+ return [
477
+ getWorkerByRegistration(registration, absoluteWorkerUrl, findWorker),
478
+ registration
479
+ ];
480
+ });
481
+ if (error2) {
482
+ const isWorkerMissing = error2.message.includes("(404)");
483
+ if (isWorkerMissing) {
484
+ const scopeUrl = new URL((options == null ? void 0 : options.scope) || "/", location.href);
485
+ throw new Error(devUtils.formatMessage(`Failed to register a Service Worker for scope ('${scopeUrl.href}') with script ('${absoluteWorkerUrl}'): Service Worker script does not exist at the given path.
486
+
487
+ Did you forget to run "npx msw init <PUBLIC_DIR>"?
488
+
489
+ Learn more about creating the Service Worker script: https://mswjs.io/docs/cli/init`));
490
+ }
491
+ throw new Error(devUtils.formatMessage("Failed to register the Service Worker:\n\n%s", error2.message));
492
+ }
493
+ return instance;
494
+ };
495
+ function printStartMessage(args = {}) {
496
+ if (args.quiet) {
497
+ return;
498
+ }
499
+ const message = args.message || "Mocking enabled.";
500
+ console.groupCollapsed(`%c${devUtils.formatMessage(message)}`, "color:orangered;font-weight:bold;");
501
+ console.log("%cDocumentation: %chttps://mswjs.io/docs", "font-weight:bold", "font-weight:normal");
502
+ console.log("Found an issue? https://github.com/mswjs/msw/issues");
503
+ if (args.workerUrl) {
504
+ console.log("Worker script URL:", args.workerUrl);
505
+ }
506
+ if (args.workerScope) {
507
+ console.log("Worker scope:", args.workerScope);
508
+ }
509
+ console.groupEnd();
510
+ }
511
+ async function enableMocking(context, options) {
512
+ var _a, _b;
513
+ context.workerChannel.send("MOCK_ACTIVATE");
514
+ await context.events.once("MOCKING_ENABLED");
515
+ if (context.isMockingEnabled) {
516
+ devUtils.warn(`Found a redundant "worker.start()" call. Note that starting the worker while mocking is already enabled will have no effect. Consider removing this "worker.start()" call.`);
517
+ return;
518
+ }
519
+ context.isMockingEnabled = true;
520
+ printStartMessage({
521
+ quiet: options.quiet,
522
+ workerScope: (_a = context.registration) == null ? void 0 : _a.scope,
523
+ workerUrl: (_b = context.worker) == null ? void 0 : _b.scriptURL
524
+ });
525
+ }
526
+ var WorkerChannel = class {
527
+ constructor(port) {
528
+ this.port = port;
529
+ }
530
+ postMessage(event, ...rest2) {
531
+ const [data2, transfer] = rest2;
532
+ this.port.postMessage({ type: event, data: data2 }, { transfer });
533
+ }
534
+ };
535
+ var NetworkError = class extends Error {
536
+ constructor(message) {
537
+ super(message);
538
+ this.name = "NetworkError";
539
+ }
540
+ };
541
+ var import_interceptors2 = index$5.__exports;
542
+ var import_headers_polyfill5 = index$6;
543
+ var cookieUtils3 = __toESM(cookie$1);
544
+ var import_cookies = index$4.__exports;
545
+ var import_interceptors = index$5.__exports;
546
+ var import_bufferUtils = bufferUtils.__exports;
547
+ var import_headers_polyfill4 = index$6;
548
+ var cookieUtils2 = __toESM(cookie$1);
549
+ function getAllCookies() {
550
+ return cookieUtils2.parse(document.cookie);
551
+ }
552
+ function getRequestCookies(request) {
553
+ if (typeof document === "undefined" || typeof location === "undefined") {
554
+ return {};
555
+ }
556
+ switch (request.credentials) {
557
+ case "same-origin": {
558
+ return location.origin === request.url.origin ? getAllCookies() : {};
559
+ }
560
+ case "include": {
561
+ return getAllCookies();
562
+ }
563
+ default: {
564
+ return {};
565
+ }
566
+ }
567
+ }
568
+ var import_headers_polyfill3 = index$6;
569
+ function parseContentHeaders(headersString) {
570
+ var _a, _b;
571
+ const headers = (0, import_headers_polyfill3.stringToHeaders)(headersString);
572
+ const contentType = headers.get("content-type") || "text/plain";
573
+ const disposition = headers.get("content-disposition");
574
+ if (!disposition) {
575
+ throw new Error('"Content-Disposition" header is required.');
576
+ }
577
+ const directives = disposition.split(";").reduce((acc, chunk) => {
578
+ const [name2, ...rest2] = chunk.trim().split("=");
579
+ acc[name2] = rest2.join("=");
580
+ return acc;
581
+ }, {});
582
+ const name = (_a = directives.name) == null ? void 0 : _a.slice(1, -1);
583
+ const filename = (_b = directives.filename) == null ? void 0 : _b.slice(1, -1);
584
+ return {
585
+ name,
586
+ filename,
587
+ contentType
588
+ };
589
+ }
590
+ function parseMultipartData(data2, headers) {
591
+ const contentType = headers == null ? void 0 : headers.get("content-type");
592
+ if (!contentType) {
593
+ return void 0;
594
+ }
595
+ const [, ...directives] = contentType.split(/; */);
596
+ const boundary = directives.filter((d) => d.startsWith("boundary=")).map((s) => s.replace(/^boundary=/, ""))[0];
597
+ if (!boundary) {
598
+ return void 0;
599
+ }
600
+ const boundaryRegExp = new RegExp(`--+${boundary}`);
601
+ const fields = data2.split(boundaryRegExp).filter((chunk) => chunk.startsWith("\r\n") && chunk.endsWith("\r\n")).map((chunk) => chunk.trimStart().replace(/\r\n$/, ""));
602
+ if (!fields.length) {
603
+ return void 0;
604
+ }
605
+ const parsedBody = {};
606
+ try {
607
+ for (const field2 of fields) {
608
+ const [contentHeaders, ...rest2] = field2.split("\r\n\r\n");
609
+ const contentBody = rest2.join("\r\n\r\n");
610
+ const { contentType: contentType2, filename, name } = parseContentHeaders(contentHeaders);
611
+ const value = filename === void 0 ? contentBody : new File([contentBody], filename, { type: contentType2 });
612
+ const parsedValue = parsedBody[name];
613
+ if (parsedValue === void 0) {
614
+ parsedBody[name] = value;
615
+ } else if (Array.isArray(parsedValue)) {
616
+ parsedBody[name] = [...parsedValue, value];
617
+ } else {
618
+ parsedBody[name] = [parsedValue, value];
619
+ }
620
+ }
621
+ return parsedBody;
622
+ } catch (error2) {
623
+ return void 0;
624
+ }
625
+ }
626
+ function parseBody(body2, headers) {
627
+ var _a;
628
+ if (!body2) {
629
+ return body2;
630
+ }
631
+ const contentType = ((_a = headers == null ? void 0 : headers.get("content-type")) == null ? void 0 : _a.toLowerCase()) || "";
632
+ const hasMultipartContent = contentType.startsWith("multipart/form-data");
633
+ if (hasMultipartContent && typeof body2 !== "object") {
634
+ return parseMultipartData(body2.toString(), headers) || body2;
635
+ }
636
+ const hasJsonContent = contentType.includes("json");
637
+ if (hasJsonContent && typeof body2 !== "object") {
638
+ return jsonParse(body2.toString()) || body2;
639
+ }
640
+ return body2;
641
+ }
642
+ function isStringEqual(actual, expected) {
643
+ return actual.toLowerCase() === expected.toLowerCase();
644
+ }
645
+ var MockedRequest = class extends import_interceptors.IsomorphicRequest {
646
+ constructor(url, init = {}) {
647
+ super(url, init);
648
+ if (init.id) {
649
+ this.id = init.id;
650
+ }
651
+ this.cache = init.cache || "default";
652
+ this.destination = init.destination || "";
653
+ this.integrity = init.integrity || "";
654
+ this.keepalive = init.keepalive || false;
655
+ this.mode = init.mode || "cors";
656
+ this.priority = init.priority || "auto";
657
+ this.redirect = init.redirect || "follow";
658
+ this.referrer = init.referrer || "";
659
+ this.referrerPolicy = init.referrerPolicy || "no-referrer";
660
+ this.cookies = init.cookies || this.getCookies();
661
+ }
662
+ get body() {
663
+ const text2 = (0, import_bufferUtils.decodeBuffer)(this["_body"]);
664
+ const body2 = parseBody(text2, this.headers);
665
+ if (isStringEqual(this.method, "GET") && body2 === "") {
666
+ return void 0;
667
+ }
668
+ return body2;
669
+ }
670
+ passthrough() {
671
+ return {
672
+ status: 101,
673
+ statusText: "Continue",
674
+ headers: new import_headers_polyfill4.Headers(),
675
+ body: null,
676
+ passthrough: true,
677
+ once: false
678
+ };
679
+ }
680
+ getCookies() {
681
+ var _a;
682
+ const requestCookiesString = this.headers.get("cookie");
683
+ const ownCookies = requestCookiesString ? cookieUtils3.parse(requestCookiesString) : {};
684
+ import_cookies.store.hydrate();
685
+ const cookiesFromStore = Array.from((_a = import_cookies.store.get(__spreadProps(__spreadValues({}, this), { url: this.url.href }))) == null ? void 0 : _a.entries()).reduce((cookies, [name, { value }]) => {
686
+ return Object.assign(cookies, { [name.trim()]: value });
687
+ }, {});
688
+ const cookiesFromDocument = getRequestCookies(this);
689
+ const forwardedCookies = __spreadValues(__spreadValues({}, cookiesFromDocument), cookiesFromStore);
690
+ for (const [name, value] of Object.entries(forwardedCookies)) {
691
+ this.headers.append("cookie", `${name}=${value}`);
692
+ }
693
+ return __spreadValues(__spreadValues({}, forwardedCookies), ownCookies);
694
+ }
695
+ };
696
+ function parseWorkerRequest(rawRequest) {
697
+ const url = new URL(rawRequest.url);
698
+ const headers = new import_headers_polyfill5.Headers(rawRequest.headers);
699
+ return new MockedRequest(url, __spreadProps(__spreadValues({}, rawRequest), {
700
+ body: (0, import_interceptors2.encodeBuffer)(rawRequest.body || ""),
701
+ headers
702
+ }));
703
+ }
704
+ var import_until2 = index$8.__exports;
705
+ var getResponse = async (request, handlers, resolutionContext) => {
706
+ const relevantHandlers = handlers.filter((handler) => {
707
+ return handler.test(request, resolutionContext);
708
+ });
709
+ if (relevantHandlers.length === 0) {
710
+ return {
711
+ handler: void 0,
712
+ response: void 0
713
+ };
714
+ }
715
+ const result = await relevantHandlers.reduce(async (executionResult, handler) => {
716
+ const previousResults = await executionResult;
717
+ if (!!(previousResults == null ? void 0 : previousResults.response)) {
718
+ return executionResult;
719
+ }
720
+ const result2 = await handler.run(request, resolutionContext);
721
+ if (result2 === null || result2.handler.shouldSkip) {
722
+ return null;
723
+ }
724
+ if (!result2.response) {
725
+ return {
726
+ request: result2.request,
727
+ handler: result2.handler,
728
+ response: void 0,
729
+ parsedResult: result2.parsedResult
730
+ };
731
+ }
732
+ if (result2.response.once) {
733
+ handler.markAsSkipped(true);
734
+ }
735
+ return result2;
736
+ }, Promise.resolve(null));
737
+ if (!result) {
738
+ return {
739
+ handler: void 0,
740
+ response: void 0
741
+ };
742
+ }
743
+ return {
744
+ handler: result.handler,
745
+ publicRequest: result.request,
746
+ parsedRequest: result.parsedResult,
747
+ response: result.response
748
+ };
749
+ };
750
+ var import_js_levenshtein = __toESM(index$7.__require());
751
+ var import_graphql = index$b;
752
+ var getPublicUrlFromRequest = (request) => {
753
+ return request.referrer.startsWith(request.url.origin) ? request.url.pathname : new URL(request.url.pathname, `${request.url.protocol}//${request.url.host}`).href;
754
+ };
755
+ function parseDocumentNode(node) {
756
+ var _a;
757
+ const operationDef = node.definitions.find((def) => {
758
+ return def.kind === "OperationDefinition";
759
+ });
760
+ return {
761
+ operationType: operationDef == null ? void 0 : operationDef.operation,
762
+ operationName: (_a = operationDef == null ? void 0 : operationDef.name) == null ? void 0 : _a.value
763
+ };
764
+ }
765
+ function parseQuery(query) {
766
+ try {
767
+ const ast = (0, import_graphql.parse)(query);
768
+ return parseDocumentNode(ast);
769
+ } catch (error2) {
770
+ return error2;
771
+ }
772
+ }
773
+ function extractMultipartVariables(variables, map, files) {
774
+ const operations = { variables };
775
+ for (const [key, pathArray] of Object.entries(map)) {
776
+ if (!(key in files)) {
777
+ throw new Error(`Given files do not have a key '${key}' .`);
778
+ }
779
+ for (const dotPath of pathArray) {
780
+ const [lastPath, ...reversedPaths] = dotPath.split(".").reverse();
781
+ const paths = reversedPaths.reverse();
782
+ let target = operations;
783
+ for (const path of paths) {
784
+ if (!(path in target)) {
785
+ throw new Error(`Property '${paths}' is not in operations.`);
786
+ }
787
+ target = target[path];
788
+ }
789
+ target[lastPath] = files[key];
790
+ }
791
+ }
792
+ return operations.variables;
793
+ }
794
+ function getGraphQLInput(request) {
795
+ var _a, _b;
796
+ switch (request.method) {
797
+ case "GET": {
798
+ const query = request.url.searchParams.get("query");
799
+ const variables = request.url.searchParams.get("variables") || "";
800
+ return {
801
+ query,
802
+ variables: jsonParse(variables)
803
+ };
804
+ }
805
+ case "POST": {
806
+ if ((_a = request.body) == null ? void 0 : _a.query) {
807
+ const { query, variables } = request.body;
808
+ return {
809
+ query,
810
+ variables
811
+ };
812
+ }
813
+ if ((_b = request.body) == null ? void 0 : _b.operations) {
814
+ const _c = request.body, { operations, map } = _c, files = __objRest(_c, ["operations", "map"]);
815
+ const parsedOperations = jsonParse(operations) || {};
816
+ if (!parsedOperations.query) {
817
+ return null;
818
+ }
819
+ const parsedMap = jsonParse(map || "") || {};
820
+ const variables = parsedOperations.variables ? extractMultipartVariables(parsedOperations.variables, parsedMap, files) : {};
821
+ return {
822
+ query: parsedOperations.query,
823
+ variables
824
+ };
825
+ }
826
+ }
827
+ default:
828
+ return null;
829
+ }
830
+ }
831
+ function parseGraphQLRequest(request) {
832
+ const input = getGraphQLInput(request);
833
+ if (!input || !input.query) {
834
+ return void 0;
835
+ }
836
+ const { query, variables } = input;
837
+ const parsedResult = parseQuery(query);
838
+ if (parsedResult instanceof Error) {
839
+ const requestPublicUrl = getPublicUrlFromRequest(request);
840
+ throw new Error(devUtils.formatMessage('Failed to intercept a GraphQL request to "%s %s": cannot parse query. See the error message from the parser below.\n\n%s', request.method, requestPublicUrl, parsedResult.message));
841
+ }
842
+ return {
843
+ operationType: parsedResult.operationType,
844
+ operationName: parsedResult.operationName,
845
+ variables
846
+ };
847
+ }
848
+ function getStatusCodeColor(status2) {
849
+ if (status2 < 300) {
850
+ return "#69AB32";
851
+ }
852
+ if (status2 < 400) {
853
+ return "#F0BB4B";
854
+ }
855
+ return "#E95F5D";
856
+ }
857
+ function getTimestamp() {
858
+ const now = new Date();
859
+ return [now.getHours(), now.getMinutes(), now.getSeconds()].map(String).map((chunk) => chunk.slice(0, 2)).map((chunk) => chunk.padStart(2, "0")).join(":");
860
+ }
861
+ function prepareRequest(request) {
862
+ return __spreadProps(__spreadValues({}, request), {
863
+ body: request.body,
864
+ headers: request.headers.all()
865
+ });
866
+ }
867
+ var import_headers_polyfill6 = index$6;
868
+ function prepareResponse(res) {
869
+ const responseHeaders = (0, import_headers_polyfill6.objectToHeaders)(res.headers);
870
+ return __spreadProps(__spreadValues({}, res), {
871
+ body: parseBody(res.body, responseHeaders)
872
+ });
873
+ }
874
+ var import_path_to_regexp = index$9;
875
+ var import_getCleanUrl = getCleanUrl.__exports;
876
+ var REDUNDANT_CHARACTERS_EXP = /[\?|#].*$/g;
877
+ function getSearchParams(path) {
878
+ return new URL(`/${path}`, "http://localhost").searchParams;
879
+ }
880
+ function cleanUrl(path) {
881
+ return path.replace(REDUNDANT_CHARACTERS_EXP, "");
882
+ }
883
+ function isAbsoluteUrl(url) {
884
+ return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
885
+ }
886
+ function getAbsoluteUrl(path, baseUrl) {
887
+ if (isAbsoluteUrl(path)) {
888
+ return path;
889
+ }
890
+ if (path.startsWith("*")) {
891
+ return path;
892
+ }
893
+ const origin = baseUrl || typeof document !== "undefined" && document.baseURI;
894
+ return origin ? decodeURI(new URL(encodeURI(path), origin).href) : path;
895
+ }
896
+ function normalizePath(path, baseUrl) {
897
+ if (path instanceof RegExp) {
898
+ return path;
899
+ }
900
+ const maybeAbsoluteUrl = getAbsoluteUrl(path, baseUrl);
901
+ return cleanUrl(maybeAbsoluteUrl);
902
+ }
903
+ function coercePath(path) {
904
+ return path.replace(/([:a-zA-Z_-]*)(\*{1,2})+/g, (_, parameterName, wildcard) => {
905
+ const expression = "(.*)";
906
+ if (!parameterName) {
907
+ return expression;
908
+ }
909
+ return parameterName.startsWith(":") ? `${parameterName}${wildcard}` : `${parameterName}${expression}`;
910
+ }).replace(/([^\/])(:)(?=\d+)/, "$1\\$2").replace(/^([^\/]+)(:)(?=\/\/)/, "$1\\$2");
911
+ }
912
+ function matchRequestUrl(url, path, baseUrl) {
913
+ const normalizedPath = normalizePath(path, baseUrl);
914
+ const cleanPath = typeof normalizedPath === "string" ? coercePath(normalizedPath) : normalizedPath;
915
+ const cleanUrl2 = (0, import_getCleanUrl.getCleanUrl)(url);
916
+ const result = (0, import_path_to_regexp.match)(cleanPath, { decode: decodeURIComponent })(cleanUrl2);
917
+ const params = result && result.params || {};
918
+ return {
919
+ matches: result !== false,
920
+ params
921
+ };
922
+ }
923
+ var import_headers_polyfill7 = index$6;
924
+ function compose(...fns) {
925
+ return (...args) => {
926
+ return fns.reduceRight((leftFn, rightFn) => {
927
+ return leftFn instanceof Promise ? Promise.resolve(leftFn).then(rightFn) : rightFn(leftFn);
928
+ }, args[0]);
929
+ };
930
+ }
931
+ var defaultResponse = {
932
+ status: 200,
933
+ statusText: "OK",
934
+ body: null,
935
+ delay: 0,
936
+ once: false,
937
+ passthrough: false
938
+ };
939
+ var defaultResponseTransformers = [];
940
+ function createResponseComposition(responseOverrides, defaultTransformers = defaultResponseTransformers) {
941
+ return async (...transformers) => {
942
+ const initialResponse = Object.assign({}, defaultResponse, {
943
+ headers: new import_headers_polyfill7.Headers({
944
+ "x-powered-by": "msw"
945
+ })
946
+ }, responseOverrides);
947
+ const resolvedTransformers = [
948
+ ...defaultTransformers,
949
+ ...transformers
950
+ ].filter(Boolean);
951
+ const resolvedResponse = resolvedTransformers.length > 0 ? compose(...resolvedTransformers)(initialResponse) : initialResponse;
952
+ return resolvedResponse;
953
+ };
954
+ }
955
+ var response = Object.assign(createResponseComposition(), {
956
+ once: createResponseComposition({ once: true }),
957
+ networkError(message) {
958
+ throw new NetworkError(message);
959
+ }
960
+ });
961
+ var SOURCE_FRAME = /[\/\\]msw[\/\\]src[\/\\](.+)/;
962
+ var BUILD_FRAME = /(node_modules)?[\/\\]lib[\/\\](umd|esm|iief|cjs)[\/\\]|^[^\/\\]*$/;
963
+ function getCallFrame(error2) {
964
+ const stack = error2.stack;
965
+ if (!stack) {
966
+ return;
967
+ }
968
+ const frames = stack.split("\n").slice(1);
969
+ const declarationFrame = frames.find((frame) => {
970
+ return !(SOURCE_FRAME.test(frame) || BUILD_FRAME.test(frame));
971
+ });
972
+ if (!declarationFrame) {
973
+ return;
974
+ }
975
+ const declarationPath = declarationFrame.replace(/\s*at [^()]*\(([^)]+)\)/, "$1").replace(/^@/, "");
976
+ return declarationPath;
977
+ }
978
+ function isIterable(fn) {
979
+ if (!fn) {
980
+ return false;
981
+ }
982
+ return typeof fn[Symbol.iterator] == "function";
983
+ }
984
+ var defaultContext = {
985
+ status,
986
+ set,
987
+ delay,
988
+ fetch
989
+ };
990
+ var RequestHandler = class {
991
+ constructor(options) {
992
+ this.shouldSkip = false;
993
+ this.ctx = options.ctx || defaultContext;
994
+ this.resolver = options.resolver;
995
+ const callFrame = getCallFrame(new Error());
996
+ this.info = __spreadProps(__spreadValues({}, options.info), {
997
+ callFrame
998
+ });
999
+ }
1000
+ parse(_request, _resolutionContext) {
1001
+ return null;
1002
+ }
1003
+ test(request, resolutionContext) {
1004
+ return this.predicate(request, this.parse(request, resolutionContext), resolutionContext);
1005
+ }
1006
+ getPublicRequest(request, _parsedResult) {
1007
+ return request;
1008
+ }
1009
+ markAsSkipped(shouldSkip = true) {
1010
+ this.shouldSkip = shouldSkip;
1011
+ }
1012
+ async run(request, resolutionContext) {
1013
+ if (this.shouldSkip) {
1014
+ return null;
1015
+ }
1016
+ const parsedResult = this.parse(request, resolutionContext);
1017
+ const shouldIntercept = this.predicate(request, parsedResult, resolutionContext);
1018
+ if (!shouldIntercept) {
1019
+ return null;
1020
+ }
1021
+ const publicRequest = this.getPublicRequest(request, parsedResult);
1022
+ const executeResolver = this.wrapResolver(this.resolver);
1023
+ const mockedResponse = await executeResolver(publicRequest, response, this.ctx);
1024
+ return this.createExecutionResult(parsedResult, publicRequest, mockedResponse);
1025
+ }
1026
+ wrapResolver(resolver) {
1027
+ return async (req, res, ctx) => {
1028
+ const result = this.resolverGenerator || await resolver(req, res, ctx);
1029
+ if (isIterable(result)) {
1030
+ const { value, done } = result[Symbol.iterator]().next();
1031
+ const nextResponse = await value;
1032
+ if (!nextResponse && done) {
1033
+ return this.resolverGeneratorResult;
1034
+ }
1035
+ if (!this.resolverGenerator) {
1036
+ this.resolverGenerator = result;
1037
+ }
1038
+ this.resolverGeneratorResult = nextResponse;
1039
+ return nextResponse;
1040
+ }
1041
+ return result;
1042
+ };
1043
+ }
1044
+ createExecutionResult(parsedResult, request, response2) {
1045
+ return {
1046
+ handler: this,
1047
+ parsedResult: parsedResult || null,
1048
+ request,
1049
+ response: response2 || null
1050
+ };
1051
+ }
1052
+ };
1053
+ var RESTMethods = /* @__PURE__ */ ((RESTMethods2) => {
1054
+ RESTMethods2["HEAD"] = "HEAD";
1055
+ RESTMethods2["GET"] = "GET";
1056
+ RESTMethods2["POST"] = "POST";
1057
+ RESTMethods2["PUT"] = "PUT";
1058
+ RESTMethods2["PATCH"] = "PATCH";
1059
+ RESTMethods2["OPTIONS"] = "OPTIONS";
1060
+ RESTMethods2["DELETE"] = "DELETE";
1061
+ return RESTMethods2;
1062
+ })(RESTMethods || {});
1063
+ var restContext = __spreadProps(__spreadValues({}, defaultContext), {
1064
+ cookie,
1065
+ body,
1066
+ text,
1067
+ json,
1068
+ xml
1069
+ });
1070
+ var RestRequest = class extends MockedRequest {
1071
+ constructor(request, params) {
1072
+ super(request.url, __spreadProps(__spreadValues({}, request), {
1073
+ body: request["_body"]
1074
+ }));
1075
+ this.params = params;
1076
+ this.id = request.id;
1077
+ }
1078
+ };
1079
+ var RestHandler = class extends RequestHandler {
1080
+ constructor(method, path, resolver) {
1081
+ super({
1082
+ info: {
1083
+ header: `${method} ${path}`,
1084
+ path,
1085
+ method
1086
+ },
1087
+ ctx: restContext,
1088
+ resolver
1089
+ });
1090
+ this.checkRedundantQueryParameters();
1091
+ }
1092
+ checkRedundantQueryParameters() {
1093
+ const { method, path } = this.info;
1094
+ if (path instanceof RegExp) {
1095
+ return;
1096
+ }
1097
+ const url = cleanUrl(path);
1098
+ if (url === path) {
1099
+ return;
1100
+ }
1101
+ const searchParams = getSearchParams(path);
1102
+ searchParams.forEach((_, paramName) => {
1103
+ });
1104
+ devUtils.warn(`Found a redundant usage of query parameters in the request handler URL for "${method} ${path}". Please match against a path instead and access query parameters in the response resolver function using "req.url.searchParams".`);
1105
+ }
1106
+ parse(request, resolutionContext) {
1107
+ return matchRequestUrl(request.url, this.info.path, resolutionContext == null ? void 0 : resolutionContext.baseUrl);
1108
+ }
1109
+ getPublicRequest(request, parsedResult) {
1110
+ return new RestRequest(request, parsedResult.params || {});
1111
+ }
1112
+ predicate(request, parsedResult) {
1113
+ const matchesMethod = this.info.method instanceof RegExp ? this.info.method.test(request.method) : isStringEqual(this.info.method, request.method);
1114
+ return matchesMethod && parsedResult.matches;
1115
+ }
1116
+ log(request, response2) {
1117
+ const publicUrl = getPublicUrlFromRequest(request);
1118
+ const loggedRequest = prepareRequest(request);
1119
+ const loggedResponse = prepareResponse(response2);
1120
+ const statusColor = getStatusCodeColor(response2.status);
1121
+ console.groupCollapsed(devUtils.formatMessage("%s %s %s (%c%s%c)"), getTimestamp(), request.method, publicUrl, `color:${statusColor}`, `${response2.status} ${response2.statusText}`, "color:inherit");
1122
+ console.log("Request", loggedRequest);
1123
+ console.log("Handler:", this);
1124
+ console.log("Response", loggedResponse);
1125
+ console.groupEnd();
1126
+ }
1127
+ };
1128
+ var import_outvariant2 = index$a.__exports;
1129
+ var field = (fieldName, fieldValue) => {
1130
+ return (res) => {
1131
+ validateFieldName(fieldName);
1132
+ const prevBody = jsonParse(res.body) || {};
1133
+ const nextBody = mergeRight(prevBody, { [fieldName]: fieldValue });
1134
+ return json(nextBody)(res);
1135
+ };
1136
+ };
1137
+ function validateFieldName(fieldName) {
1138
+ (0, import_outvariant2.invariant)(fieldName.trim() !== "", devUtils.formatMessage("Failed to set a custom field on a GraphQL response: field name cannot be empty."));
1139
+ (0, import_outvariant2.invariant)(fieldName !== "data", devUtils.formatMessage('Failed to set a custom "%s" field on a mocked GraphQL response: forbidden field name. Did you mean to call "ctx.data()" instead?', fieldName));
1140
+ (0, import_outvariant2.invariant)(fieldName !== "errors", devUtils.formatMessage('Failed to set a custom "%s" field on a mocked GraphQL response: forbidden field name. Did you mean to call "ctx.errors()" instead?', fieldName));
1141
+ (0, import_outvariant2.invariant)(fieldName !== "extensions", devUtils.formatMessage('Failed to set a custom "%s" field on a mocked GraphQL response: forbidden field name. Did you mean to call "ctx.extensions()" instead?', fieldName));
1142
+ }
1143
+ function tryCatch(fn, onException) {
1144
+ try {
1145
+ const result = fn();
1146
+ return result;
1147
+ } catch (error2) {
1148
+ onException == null ? void 0 : onException(error2);
1149
+ }
1150
+ }
1151
+ var graphqlContext = __spreadProps(__spreadValues({}, defaultContext), {
1152
+ data,
1153
+ extensions,
1154
+ errors,
1155
+ cookie,
1156
+ field
1157
+ });
1158
+ function isDocumentNode(value) {
1159
+ if (value == null) {
1160
+ return false;
1161
+ }
1162
+ return typeof value === "object" && "kind" in value && "definitions" in value;
1163
+ }
1164
+ var GraphQLRequest = class extends MockedRequest {
1165
+ constructor(request, variables) {
1166
+ super(request.url, __spreadProps(__spreadValues({}, request), {
1167
+ body: request["_body"]
1168
+ }));
1169
+ this.variables = variables;
1170
+ }
1171
+ };
1172
+ var GraphQLHandler = class extends RequestHandler {
1173
+ constructor(operationType, operationName, endpoint, resolver) {
1174
+ let resolvedOperationName = operationName;
1175
+ if (isDocumentNode(operationName)) {
1176
+ const parsedNode = parseDocumentNode(operationName);
1177
+ if (parsedNode.operationType !== operationType) {
1178
+ throw new Error(`Failed to create a GraphQL handler: provided a DocumentNode with a mismatched operation type (expected "${operationType}", but got "${parsedNode.operationType}").`);
1179
+ }
1180
+ if (!parsedNode.operationName) {
1181
+ throw new Error(`Failed to create a GraphQL handler: provided a DocumentNode with no operation name.`);
1182
+ }
1183
+ resolvedOperationName = parsedNode.operationName;
1184
+ }
1185
+ const header = operationType === "all" ? `${operationType} (origin: ${endpoint.toString()})` : `${operationType} ${resolvedOperationName} (origin: ${endpoint.toString()})`;
1186
+ super({
1187
+ info: {
1188
+ header,
1189
+ operationType,
1190
+ operationName: resolvedOperationName
1191
+ },
1192
+ ctx: graphqlContext,
1193
+ resolver
1194
+ });
1195
+ this.endpoint = endpoint;
1196
+ }
1197
+ parse(request) {
1198
+ return tryCatch(() => parseGraphQLRequest(request), (error2) => console.error(error2.message));
1199
+ }
1200
+ getPublicRequest(request, parsedResult) {
1201
+ return new GraphQLRequest(request, (parsedResult == null ? void 0 : parsedResult.variables) || {});
1202
+ }
1203
+ predicate(request, parsedResult) {
1204
+ if (!parsedResult) {
1205
+ return false;
1206
+ }
1207
+ if (!parsedResult.operationName && this.info.operationType !== "all") {
1208
+ const publicUrl = getPublicUrlFromRequest(request);
1209
+ devUtils.warn(`Failed to intercept a GraphQL request at "${request.method} ${publicUrl}": anonymous GraphQL operations are not supported.
1210
+
1211
+ Consider naming this operation or using "graphql.operation" request handler to intercept GraphQL requests regardless of their operation name/type. Read more: https://mswjs.io/docs/api/graphql/operation `);
1212
+ return false;
1213
+ }
1214
+ const hasMatchingUrl = matchRequestUrl(request.url, this.endpoint);
1215
+ const hasMatchingOperationType = this.info.operationType === "all" || parsedResult.operationType === this.info.operationType;
1216
+ const hasMatchingOperationName = this.info.operationName instanceof RegExp ? this.info.operationName.test(parsedResult.operationName || "") : parsedResult.operationName === this.info.operationName;
1217
+ return hasMatchingUrl.matches && hasMatchingOperationType && hasMatchingOperationName;
1218
+ }
1219
+ log(request, response2, parsedRequest) {
1220
+ const loggedRequest = prepareRequest(request);
1221
+ const loggedResponse = prepareResponse(response2);
1222
+ const statusColor = getStatusCodeColor(response2.status);
1223
+ const requestInfo = (parsedRequest == null ? void 0 : parsedRequest.operationName) ? `${parsedRequest == null ? void 0 : parsedRequest.operationType} ${parsedRequest == null ? void 0 : parsedRequest.operationName}` : `anonymous ${parsedRequest == null ? void 0 : parsedRequest.operationType}`;
1224
+ console.groupCollapsed(devUtils.formatMessage("%s %s (%c%s%c)"), getTimestamp(), `${requestInfo}`, `color:${statusColor}`, `${response2.status} ${response2.statusText}`, "color:inherit");
1225
+ console.log("Request:", loggedRequest);
1226
+ console.log("Handler:", this);
1227
+ console.log("Response:", loggedResponse);
1228
+ console.groupEnd();
1229
+ }
1230
+ };
1231
+ var MAX_MATCH_SCORE = 3;
1232
+ var MAX_SUGGESTION_COUNT = 4;
1233
+ var TYPE_MATCH_DELTA = 0.5;
1234
+ function groupHandlersByType(handlers) {
1235
+ return handlers.reduce((groups, handler) => {
1236
+ if (handler instanceof RestHandler) {
1237
+ groups.rest.push(handler);
1238
+ }
1239
+ if (handler instanceof GraphQLHandler) {
1240
+ groups.graphql.push(handler);
1241
+ }
1242
+ return groups;
1243
+ }, {
1244
+ rest: [],
1245
+ graphql: []
1246
+ });
1247
+ }
1248
+ function getRestHandlerScore() {
1249
+ return (request, handler) => {
1250
+ const { path, method } = handler.info;
1251
+ if (path instanceof RegExp || method instanceof RegExp) {
1252
+ return Infinity;
1253
+ }
1254
+ const hasSameMethod = isStringEqual(request.method, method);
1255
+ const methodScoreDelta = hasSameMethod ? TYPE_MATCH_DELTA : 0;
1256
+ const requestPublicUrl = getPublicUrlFromRequest(request);
1257
+ const score = (0, import_js_levenshtein.default)(requestPublicUrl, path);
1258
+ return score - methodScoreDelta;
1259
+ };
1260
+ }
1261
+ function getGraphQLHandlerScore(parsedQuery) {
1262
+ return (_, handler) => {
1263
+ if (typeof parsedQuery.operationName === "undefined") {
1264
+ return Infinity;
1265
+ }
1266
+ const { operationType, operationName } = handler.info;
1267
+ if (typeof operationName !== "string") {
1268
+ return Infinity;
1269
+ }
1270
+ const hasSameOperationType = parsedQuery.operationType === operationType;
1271
+ const operationTypeScoreDelta = hasSameOperationType ? TYPE_MATCH_DELTA : 0;
1272
+ const score = (0, import_js_levenshtein.default)(parsedQuery.operationName, operationName);
1273
+ return score - operationTypeScoreDelta;
1274
+ };
1275
+ }
1276
+ function getSuggestedHandler(request, handlers, getScore) {
1277
+ const suggestedHandlers = handlers.reduce((suggestions, handler) => {
1278
+ const score = getScore(request, handler);
1279
+ return suggestions.concat([[score, handler]]);
1280
+ }, []).sort(([leftScore], [rightScore]) => leftScore - rightScore).filter(([score]) => score <= MAX_MATCH_SCORE).slice(0, MAX_SUGGESTION_COUNT).map(([, handler]) => handler);
1281
+ return suggestedHandlers;
1282
+ }
1283
+ function getSuggestedHandlersMessage(handlers) {
1284
+ if (handlers.length > 1) {
1285
+ return `Did you mean to request one of the following resources instead?
1286
+
1287
+ ${handlers.map((handler) => ` • ${handler.info.header}`).join("\n")}`;
1288
+ }
1289
+ return `Did you mean to request "${handlers[0].info.header}" instead?`;
1290
+ }
1291
+ function onUnhandledRequest(request, handlers, strategy = "warn") {
1292
+ const parsedGraphQLQuery = tryCatch(() => parseGraphQLRequest(request));
1293
+ function generateHandlerSuggestion() {
1294
+ const handlerGroups = groupHandlersByType(handlers);
1295
+ const relevantHandlers = parsedGraphQLQuery ? handlerGroups.graphql : handlerGroups.rest;
1296
+ const suggestedHandlers = getSuggestedHandler(request, relevantHandlers, parsedGraphQLQuery ? getGraphQLHandlerScore(parsedGraphQLQuery) : getRestHandlerScore());
1297
+ return suggestedHandlers.length > 0 ? getSuggestedHandlersMessage(suggestedHandlers) : "";
1298
+ }
1299
+ function generateUnhandledRequestMessage() {
1300
+ const publicUrl = getPublicUrlFromRequest(request);
1301
+ const requestHeader = parsedGraphQLQuery ? `${parsedGraphQLQuery.operationType} ${parsedGraphQLQuery.operationName} (${request.method} ${publicUrl})` : `${request.method} ${publicUrl}`;
1302
+ const handlerSuggestion = generateHandlerSuggestion();
1303
+ const messageTemplate = [
1304
+ `captured a request without a matching request handler:`,
1305
+ ` • ${requestHeader}`,
1306
+ handlerSuggestion,
1307
+ `If you still wish to intercept this unhandled request, please create a request handler for it.
1308
+ Read more: https://mswjs.io/docs/getting-started/mocks`
1309
+ ].filter(Boolean);
1310
+ return messageTemplate.join("\n\n");
1311
+ }
1312
+ function applyStrategy(strategy2) {
1313
+ const message = generateUnhandledRequestMessage();
1314
+ switch (strategy2) {
1315
+ case "error": {
1316
+ devUtils.error("Error: %s", message);
1317
+ throw new Error(devUtils.formatMessage('Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'));
1318
+ }
1319
+ case "warn": {
1320
+ devUtils.warn("Warning: %s", message);
1321
+ break;
1322
+ }
1323
+ case "bypass":
1324
+ break;
1325
+ default:
1326
+ throw new Error(devUtils.formatMessage('Failed to react to an unhandled request: unknown strategy "%s". Please provide one of the supported strategies ("bypass", "warn", "error") or a custom callback function as the value of the "onUnhandledRequest" option.', strategy2));
1327
+ }
1328
+ }
1329
+ if (typeof strategy === "function") {
1330
+ strategy(request, {
1331
+ warning: applyStrategy.bind(null, "warn"),
1332
+ error: applyStrategy.bind(null, "error")
1333
+ });
1334
+ return;
1335
+ }
1336
+ applyStrategy(strategy);
1337
+ }
1338
+ var import_cookies2 = index$4.__exports;
1339
+ function readResponseCookies(request, response2) {
1340
+ import_cookies2.store.add(__spreadProps(__spreadValues({}, request), { url: request.url.toString() }), response2);
1341
+ import_cookies2.store.persist();
1342
+ }
1343
+ async function handleRequest(request, handlers, options, emitter, handleRequestOptions) {
1344
+ var _a, _b, _c, _d, _e, _f;
1345
+ emitter.emit("request:start", request);
1346
+ if (request.headers.get("x-msw-bypass") === "true") {
1347
+ emitter.emit("request:end", request);
1348
+ (_a = handleRequestOptions == null ? void 0 : handleRequestOptions.onPassthroughResponse) == null ? void 0 : _a.call(handleRequestOptions, request);
1349
+ return;
1350
+ }
1351
+ const [lookupError, lookupResult] = await (0, import_until2.until)(() => {
1352
+ return getResponse(request, handlers, handleRequestOptions == null ? void 0 : handleRequestOptions.resolutionContext);
1353
+ });
1354
+ if (lookupError) {
1355
+ emitter.emit("unhandledException", lookupError, request);
1356
+ throw lookupError;
1357
+ }
1358
+ const { handler, response: response2 } = lookupResult;
1359
+ if (!handler) {
1360
+ onUnhandledRequest(request, handlers, options.onUnhandledRequest);
1361
+ emitter.emit("request:unhandled", request);
1362
+ emitter.emit("request:end", request);
1363
+ (_b = handleRequestOptions == null ? void 0 : handleRequestOptions.onPassthroughResponse) == null ? void 0 : _b.call(handleRequestOptions, request);
1364
+ return;
1365
+ }
1366
+ if (!response2) {
1367
+ devUtils.warn(`Expected response resolver to return a mocked response Object, but got %s. The original response is going to be used instead.
1368
+
1369
+ • %s
1370
+ %s`, response2, handler.info.header, handler.info.callFrame);
1371
+ emitter.emit("request:end", request);
1372
+ (_c = handleRequestOptions == null ? void 0 : handleRequestOptions.onPassthroughResponse) == null ? void 0 : _c.call(handleRequestOptions, request);
1373
+ return;
1374
+ }
1375
+ if (response2.passthrough) {
1376
+ emitter.emit("request:end", request);
1377
+ (_d = handleRequestOptions == null ? void 0 : handleRequestOptions.onPassthroughResponse) == null ? void 0 : _d.call(handleRequestOptions, request);
1378
+ return;
1379
+ }
1380
+ readResponseCookies(request, response2);
1381
+ emitter.emit("request:match", request);
1382
+ const requiredLookupResult = lookupResult;
1383
+ const transformedResponse = ((_e = handleRequestOptions == null ? void 0 : handleRequestOptions.transformResponse) == null ? void 0 : _e.call(handleRequestOptions, response2)) || response2;
1384
+ (_f = handleRequestOptions == null ? void 0 : handleRequestOptions.onMockedResponse) == null ? void 0 : _f.call(handleRequestOptions, transformedResponse, requiredLookupResult);
1385
+ emitter.emit("request:end", request);
1386
+ return transformedResponse;
1387
+ }
1388
+ var import_headers_polyfill9 = index$6;
1389
+ function serializeResponse(source) {
1390
+ return {
1391
+ status: source.status,
1392
+ statusText: source.statusText,
1393
+ headers: (0, import_headers_polyfill9.flattenHeadersObject)((0, import_headers_polyfill9.headersToObject)(source.headers)),
1394
+ body: source.body
1395
+ };
1396
+ }
1397
+ var createRequestListener = (context, options) => {
1398
+ return async (event, message) => {
1399
+ var _a;
1400
+ const messageChannel = new WorkerChannel(event.ports[0]);
1401
+ const request = parseWorkerRequest(message.payload);
1402
+ try {
1403
+ await handleRequest(request, context.requestHandlers, options, context.emitter, {
1404
+ transformResponse,
1405
+ onPassthroughResponse() {
1406
+ messageChannel.postMessage("NOT_FOUND");
1407
+ },
1408
+ async onMockedResponse(response2, { handler, publicRequest, parsedRequest }) {
1409
+ if (response2.body instanceof ReadableStream) {
1410
+ throw new Error(devUtils.formatMessage('Failed to construct a mocked response with a "ReadableStream" body: mocked streams are not supported. Follow https://github.com/mswjs/msw/issues/1336 for more details.'));
1411
+ }
1412
+ const responseInstance = new Response(response2.body, response2);
1413
+ const responseBodyBuffer = await responseInstance.arrayBuffer();
1414
+ const responseBody = response2.body == null ? null : responseBodyBuffer;
1415
+ messageChannel.postMessage("MOCK_RESPONSE", __spreadProps(__spreadValues({}, response2), {
1416
+ body: responseBody
1417
+ }), [responseBodyBuffer]);
1418
+ if (!options.quiet) {
1419
+ context.emitter.once("response:mocked", (response3) => {
1420
+ handler.log(publicRequest, serializeResponse(response3), parsedRequest);
1421
+ });
1422
+ }
1423
+ }
1424
+ });
1425
+ } catch (error2) {
1426
+ if (error2 instanceof NetworkError) {
1427
+ messageChannel.postMessage("NETWORK_ERROR", {
1428
+ name: error2.name,
1429
+ message: error2.message
1430
+ });
1431
+ return;
1432
+ }
1433
+ if (error2 instanceof Error) {
1434
+ devUtils.error(`Uncaught exception in the request handler for "%s %s":
1435
+
1436
+ %s
1437
+
1438
+ This exception has been gracefully handled as a 500 response, however, it's strongly recommended to resolve this error, as it indicates a mistake in your code. If you wish to mock an error response, please see this guide: https://mswjs.io/docs/recipes/mocking-error-responses`, request.method, request.url, (_a = error2.stack) != null ? _a : error2);
1439
+ messageChannel.postMessage("MOCK_RESPONSE", {
1440
+ status: 500,
1441
+ statusText: "Request Handler Error",
1442
+ headers: {
1443
+ "Content-Type": "application/json"
1444
+ },
1445
+ body: JSON.stringify({
1446
+ name: error2.name,
1447
+ message: error2.message,
1448
+ stack: error2.stack
1449
+ })
1450
+ });
1451
+ }
1452
+ }
1453
+ };
1454
+ };
1455
+ function transformResponse(response2) {
1456
+ return {
1457
+ status: response2.status,
1458
+ statusText: response2.statusText,
1459
+ headers: response2.headers.all(),
1460
+ body: response2.body,
1461
+ delay: response2.delay
1462
+ };
1463
+ }
1464
+ async function requestIntegrityCheck(context, serviceWorker) {
1465
+ context.workerChannel.send("INTEGRITY_CHECK_REQUEST");
1466
+ const { payload: actualChecksum } = await context.events.once("INTEGRITY_CHECK_RESPONSE");
1467
+ if (actualChecksum !== "3d6b9f06410d179a7f7404d4bf4c3c70") {
1468
+ throw new Error(`Currently active Service Worker (${actualChecksum}) is behind the latest published one (${"3d6b9f06410d179a7f7404d4bf4c3c70"}).`);
1469
+ }
1470
+ return serviceWorker;
1471
+ }
1472
+ var import_until3 = index$8.__exports;
1473
+ function deferNetworkRequestsUntil(predicatePromise) {
1474
+ const originalXhrSend = window.XMLHttpRequest.prototype.send;
1475
+ window.XMLHttpRequest.prototype.send = function(...args) {
1476
+ (0, import_until3.until)(() => predicatePromise).then(() => {
1477
+ window.XMLHttpRequest.prototype.send = originalXhrSend;
1478
+ this.send(...args);
1479
+ });
1480
+ };
1481
+ const originalFetch = window.fetch;
1482
+ window.fetch = async (...args) => {
1483
+ await (0, import_until3.until)(() => predicatePromise);
1484
+ window.fetch = originalFetch;
1485
+ return window.fetch(...args);
1486
+ };
1487
+ }
1488
+ function createResponseListener(context) {
1489
+ return (_, message) => {
1490
+ var _a;
1491
+ const { payload: responseJson } = message;
1492
+ if ((_a = responseJson.type) == null ? void 0 : _a.includes("opaque")) {
1493
+ return;
1494
+ }
1495
+ const response2 = new Response(responseJson.body || null, responseJson);
1496
+ const isMockedResponse = response2.headers.get("x-powered-by") === "msw";
1497
+ if (isMockedResponse) {
1498
+ context.emitter.emit("response:mocked", response2, responseJson.requestId);
1499
+ } else {
1500
+ context.emitter.emit("response:bypass", response2, responseJson.requestId);
1501
+ }
1502
+ };
1503
+ }
1504
+ function validateWorkerScope(registration, options) {
1505
+ if (!(options == null ? void 0 : options.quiet) && !location.href.startsWith(registration.scope)) {
1506
+ devUtils.warn(`Cannot intercept requests on this page because it's outside of the worker's scope ("${registration.scope}"). If you wish to mock API requests on this page, you must resolve this scope issue.
1507
+
1508
+ - (Recommended) Register the worker at the root level ("/") of your application.
1509
+ - Set the "Service-Worker-Allowed" response header to allow out-of-scope workers.`);
1510
+ }
1511
+ }
1512
+ var createStartHandler = (context) => {
1513
+ return function start(options, customOptions) {
1514
+ const startWorkerInstance = async () => {
1515
+ context.events.removeAllListeners();
1516
+ context.workerChannel.on("REQUEST", createRequestListener(context, options));
1517
+ context.workerChannel.on("RESPONSE", createResponseListener(context));
1518
+ const instance = await getWorkerInstance(options.serviceWorker.url, options.serviceWorker.options, options.findWorker);
1519
+ const [worker, registration] = instance;
1520
+ if (!worker) {
1521
+ const missingWorkerMessage = (customOptions == null ? void 0 : customOptions.findWorker) ? devUtils.formatMessage(`Failed to locate the Service Worker registration using a custom "findWorker" predicate.
1522
+
1523
+ Please ensure that the custom predicate properly locates the Service Worker registration at "%s".
1524
+ More details: https://mswjs.io/docs/api/setup-worker/start#findworker
1525
+ `, options.serviceWorker.url) : devUtils.formatMessage(`Failed to locate the Service Worker registration.
1526
+
1527
+ This most likely means that the worker script URL "%s" cannot resolve against the actual public hostname (%s). This may happen if your application runs behind a proxy, or has a dynamic hostname.
1528
+
1529
+ Please consider using a custom "serviceWorker.url" option to point to the actual worker script location, or a custom "findWorker" option to resolve the Service Worker registration manually. More details: https://mswjs.io/docs/api/setup-worker/start`, options.serviceWorker.url, location.host);
1530
+ throw new Error(missingWorkerMessage);
1531
+ }
1532
+ context.worker = worker;
1533
+ context.registration = registration;
1534
+ context.events.addListener(window, "beforeunload", () => {
1535
+ if (worker.state !== "redundant") {
1536
+ context.workerChannel.send("CLIENT_CLOSED");
1537
+ }
1538
+ window.clearInterval(context.keepAliveInterval);
1539
+ });
1540
+ const [integrityError] = await (0, import_until4.until)(() => requestIntegrityCheck(context, worker));
1541
+ if (integrityError) {
1542
+ devUtils.error(`Detected outdated Service Worker: ${integrityError.message}
1543
+
1544
+ The mocking is still enabled, but it's highly recommended that you update your Service Worker by running:
1545
+
1546
+ $ npx msw init <PUBLIC_DIR>
1547
+
1548
+ This is necessary to ensure that the Service Worker is in sync with the library to guarantee its stability.
1549
+ If this message still persists after updating, please report an issue: https://github.com/open-draft/msw/issues `);
1550
+ }
1551
+ context.keepAliveInterval = window.setInterval(() => context.workerChannel.send("KEEPALIVE_REQUEST"), 5e3);
1552
+ validateWorkerScope(registration, context.startOptions);
1553
+ return registration;
1554
+ };
1555
+ const workerRegistration = startWorkerInstance().then(async (registration) => {
1556
+ const pendingInstance = registration.installing || registration.waiting;
1557
+ if (pendingInstance) {
1558
+ await new Promise((resolve) => {
1559
+ pendingInstance.addEventListener("statechange", () => {
1560
+ if (pendingInstance.state === "activated") {
1561
+ return resolve();
1562
+ }
1563
+ });
1564
+ });
1565
+ }
1566
+ await enableMocking(context, options).catch((error2) => {
1567
+ throw new Error(`Failed to enable mocking: ${error2 == null ? void 0 : error2.message}`);
1568
+ });
1569
+ return registration;
1570
+ });
1571
+ if (options.waitUntilReady) {
1572
+ deferNetworkRequestsUntil(workerRegistration);
1573
+ }
1574
+ return workerRegistration;
1575
+ };
1576
+ };
1577
+ function printStopMessage(args = {}) {
1578
+ if (args.quiet) {
1579
+ return;
1580
+ }
1581
+ console.log(`%c${devUtils.formatMessage("Mocking disabled.")}`, "color:orangered;font-weight:bold;");
1582
+ }
1583
+ var createStop = (context) => {
1584
+ return function stop() {
1585
+ var _a;
1586
+ if (!context.isMockingEnabled) {
1587
+ devUtils.warn('Found a redundant "worker.stop()" call. Note that stopping the worker while mocking already stopped has no effect. Consider removing this "worker.stop()" call.');
1588
+ return;
1589
+ }
1590
+ context.workerChannel.send("MOCK_DEACTIVATE");
1591
+ context.isMockingEnabled = false;
1592
+ window.clearInterval(context.keepAliveInterval);
1593
+ printStopMessage({ quiet: (_a = context.startOptions) == null ? void 0 : _a.quiet });
1594
+ };
1595
+ };
1596
+ var DEFAULT_START_OPTIONS = {
1597
+ serviceWorker: {
1598
+ url: "/mockServiceWorker.js",
1599
+ options: null
1600
+ },
1601
+ quiet: false,
1602
+ waitUntilReady: true,
1603
+ onUnhandledRequest: "warn",
1604
+ findWorker(scriptURL, mockServiceWorkerUrl) {
1605
+ return scriptURL === mockServiceWorkerUrl;
1606
+ }
1607
+ };
1608
+ var import_interceptors4 = index$5.__exports;
1609
+ var import_fetch3 = index.__require();
1610
+ var import_XMLHttpRequest = index$1.__require();
1611
+ var import_interceptors3 = index$5.__exports;
1612
+ var noop = () => {
1613
+ throw new Error("Not implemented");
1614
+ };
1615
+ function createResponseFromIsomorphicResponse(response2) {
1616
+ return __spreadProps(__spreadValues({}, response2), {
1617
+ ok: response2.status >= 200 && response2.status < 300,
1618
+ url: "",
1619
+ type: "default",
1620
+ status: response2.status,
1621
+ statusText: response2.statusText,
1622
+ headers: response2.headers,
1623
+ body: new ReadableStream(),
1624
+ redirected: response2.headers.get("Location") != null,
1625
+ async text() {
1626
+ return response2.body || "";
1627
+ },
1628
+ async json() {
1629
+ return JSON.parse(response2.body || "");
1630
+ },
1631
+ async arrayBuffer() {
1632
+ return (0, import_interceptors3.encodeBuffer)(response2.body || "");
1633
+ },
1634
+ bodyUsed: false,
1635
+ formData: noop,
1636
+ blob: noop,
1637
+ clone: noop
1638
+ });
1639
+ }
1640
+ function createFallbackRequestListener(context, options) {
1641
+ const interceptor = new import_interceptors4.BatchInterceptor({
1642
+ name: "fallback",
1643
+ interceptors: [new import_fetch3.FetchInterceptor(), new import_XMLHttpRequest.XMLHttpRequestInterceptor()]
1644
+ });
1645
+ interceptor.on("request", async (request) => {
1646
+ const mockedRequest = new MockedRequest(request.url, __spreadProps(__spreadValues({}, request), {
1647
+ body: await request.arrayBuffer()
1648
+ }));
1649
+ const response2 = await handleRequest(mockedRequest, context.requestHandlers, options, context.emitter, {
1650
+ transformResponse(response3) {
1651
+ return {
1652
+ status: response3.status,
1653
+ statusText: response3.statusText,
1654
+ headers: response3.headers.all(),
1655
+ body: response3.body,
1656
+ delay: response3.delay
1657
+ };
1658
+ },
1659
+ onMockedResponse(_, { handler, publicRequest, parsedRequest }) {
1660
+ if (!options.quiet) {
1661
+ context.emitter.once("response:mocked", (response3) => {
1662
+ handler.log(publicRequest, serializeResponse(response3), parsedRequest);
1663
+ });
1664
+ }
1665
+ }
1666
+ });
1667
+ if (response2) {
1668
+ request.respondWith(response2);
1669
+ }
1670
+ });
1671
+ interceptor.on("response", (request, response2) => {
1672
+ if (!request.id) {
1673
+ return;
1674
+ }
1675
+ const browserResponse = createResponseFromIsomorphicResponse(response2);
1676
+ if (response2.headers.get("x-powered-by") === "msw") {
1677
+ context.emitter.emit("response:mocked", browserResponse, request.id);
1678
+ } else {
1679
+ context.emitter.emit("response:bypass", browserResponse, request.id);
1680
+ }
1681
+ });
1682
+ interceptor.apply();
1683
+ return interceptor;
1684
+ }
1685
+ function createFallbackStart(context) {
1686
+ return async function start(options) {
1687
+ context.fallbackInterceptor = createFallbackRequestListener(context, options);
1688
+ printStartMessage({
1689
+ message: "Mocking enabled (fallback mode).",
1690
+ quiet: options.quiet
1691
+ });
1692
+ return void 0;
1693
+ };
1694
+ }
1695
+ function createFallbackStop(context) {
1696
+ return function stop() {
1697
+ var _a, _b;
1698
+ (_a = context.fallbackInterceptor) == null ? void 0 : _a.dispose();
1699
+ printStopMessage({ quiet: (_b = context.startOptions) == null ? void 0 : _b.quiet });
1700
+ };
1701
+ }
1702
+ var import_outvariant3 = index$a.__exports;
1703
+ var import_strict_event_emitter = index$2.__require();
1704
+ function pipeEvents(source, destination) {
1705
+ const rawEmit = source.emit;
1706
+ if (rawEmit._isPiped) {
1707
+ return;
1708
+ }
1709
+ source.emit = function(event, ...data2) {
1710
+ destination.emit(event, ...data2);
1711
+ return rawEmit.call(this, event, ...data2);
1712
+ };
1713
+ source.emit._isPiped = true;
1714
+ }
1715
+ function toReadonlyArray(source) {
1716
+ const clone = [...source];
1717
+ Object.freeze(clone);
1718
+ return clone;
1719
+ }
1720
+ var SetupApi = class {
1721
+ constructor(...initialHandlers) {
1722
+ this.validateHandlers(...initialHandlers);
1723
+ this.initialHandlers = toReadonlyArray(initialHandlers);
1724
+ this.currentHandlers = [...initialHandlers];
1725
+ this.emitter = new import_strict_event_emitter.StrictEventEmitter();
1726
+ this.publicEmitter = new import_strict_event_emitter.StrictEventEmitter();
1727
+ pipeEvents(this.emitter, this.publicEmitter);
1728
+ this.events = this.createLifeCycleEvents();
1729
+ }
1730
+ validateHandlers(...handlers) {
1731
+ for (const handler of handlers) {
1732
+ (0, import_outvariant3.invariant)(!Array.isArray(handler), devUtils.formatMessage('Failed to construct "%s" given an Array of request handlers. Make sure you spread the request handlers when calling the respective setup function.'), this.constructor.name);
1733
+ }
1734
+ }
1735
+ dispose() {
1736
+ this.emitter.removeAllListeners();
1737
+ this.publicEmitter.removeAllListeners();
1738
+ }
1739
+ use(...runtimeHandlers) {
1740
+ this.currentHandlers.unshift(...runtimeHandlers);
1741
+ }
1742
+ restoreHandlers() {
1743
+ this.currentHandlers.forEach((handler) => {
1744
+ handler.markAsSkipped(false);
1745
+ });
1746
+ }
1747
+ resetHandlers(...nextHandlers) {
1748
+ this.currentHandlers = nextHandlers.length > 0 ? [...nextHandlers] : [...this.initialHandlers];
1749
+ }
1750
+ listHandlers() {
1751
+ return toReadonlyArray(this.currentHandlers);
1752
+ }
1753
+ createLifeCycleEvents() {
1754
+ return {
1755
+ on: (...args) => {
1756
+ return this.publicEmitter.on(...args);
1757
+ },
1758
+ removeListener: (...args) => {
1759
+ return this.publicEmitter.removeListener(...args);
1760
+ },
1761
+ removeAllListeners: (...args) => {
1762
+ return this.publicEmitter.removeAllListeners(...args);
1763
+ }
1764
+ };
1765
+ }
1766
+ };
1767
+ var SetupWorkerApi = class extends SetupApi {
1768
+ constructor(...handlers) {
1769
+ super(...handlers);
1770
+ this.startHandler = null;
1771
+ this.stopHandler = null;
1772
+ (0, import_outvariant4.invariant)(!(0, import_is_node_process3.isNodeProcess)(), devUtils.formatMessage("Failed to execute `setupWorker` in a non-browser environment. Consider using `setupServer` for Node.js environment instead."));
1773
+ this.listeners = [];
1774
+ this.context = this.createWorkerContext();
1775
+ }
1776
+ createWorkerContext() {
1777
+ const context = {
1778
+ isMockingEnabled: false,
1779
+ startOptions: null,
1780
+ worker: null,
1781
+ registration: null,
1782
+ requestHandlers: this.currentHandlers,
1783
+ emitter: this.emitter,
1784
+ workerChannel: {
1785
+ on: (eventType, callback) => {
1786
+ this.context.events.addListener(navigator.serviceWorker, "message", (event) => {
1787
+ if (event.source !== this.context.worker) {
1788
+ return;
1789
+ }
1790
+ const message = event.data;
1791
+ if (!message) {
1792
+ return;
1793
+ }
1794
+ if (message.type === eventType) {
1795
+ callback(event, message);
1796
+ }
1797
+ });
1798
+ },
1799
+ send: (type) => {
1800
+ var _a;
1801
+ (_a = this.context.worker) == null ? void 0 : _a.postMessage(type);
1802
+ }
1803
+ },
1804
+ events: {
1805
+ addListener: (target, eventType, callback) => {
1806
+ target.addEventListener(eventType, callback);
1807
+ this.listeners.push({ eventType, target, callback });
1808
+ return () => {
1809
+ target.removeEventListener(eventType, callback);
1810
+ };
1811
+ },
1812
+ removeAllListeners: () => {
1813
+ for (const { target, eventType, callback } of this.listeners) {
1814
+ target.removeEventListener(eventType, callback);
1815
+ }
1816
+ this.listeners = [];
1817
+ },
1818
+ once: (eventType) => {
1819
+ const bindings = [];
1820
+ return new Promise((resolve, reject) => {
1821
+ const handleIncomingMessage = (event) => {
1822
+ try {
1823
+ const message = event.data;
1824
+ if (message.type === eventType) {
1825
+ resolve(message);
1826
+ }
1827
+ } catch (error2) {
1828
+ reject(error2);
1829
+ }
1830
+ };
1831
+ bindings.push(this.context.events.addListener(navigator.serviceWorker, "message", handleIncomingMessage), this.context.events.addListener(navigator.serviceWorker, "messageerror", reject));
1832
+ }).finally(() => {
1833
+ bindings.forEach((unbind) => unbind());
1834
+ });
1835
+ }
1836
+ },
1837
+ useFallbackMode: !("serviceWorker" in navigator) || location.protocol === "file:"
1838
+ };
1839
+ Object.defineProperties(context, {
1840
+ requestHandlers: {
1841
+ get: () => this.currentHandlers
1842
+ }
1843
+ });
1844
+ this.startHandler = context.useFallbackMode ? createFallbackStart(context) : createStartHandler(context);
1845
+ this.stopHandler = context.useFallbackMode ? createFallbackStop(context) : createStop(context);
1846
+ return context;
1847
+ }
1848
+ async start(options = {}) {
1849
+ this.context.startOptions = mergeRight(DEFAULT_START_OPTIONS, options);
1850
+ return await this.startHandler(this.context.startOptions, options);
1851
+ }
1852
+ printHandlers() {
1853
+ const handlers = this.listHandlers();
1854
+ handlers.forEach((handler) => {
1855
+ const { header, callFrame } = handler.info;
1856
+ const pragma = handler.info.hasOwnProperty("operationType") ? "[graphql]" : "[rest]";
1857
+ console.groupCollapsed(`${pragma} ${header}`);
1858
+ if (callFrame) {
1859
+ console.log(`Declaration: ${callFrame}`);
1860
+ }
1861
+ console.log("Handler:", handler);
1862
+ console.groupEnd();
1863
+ });
1864
+ }
1865
+ stop() {
1866
+ super.dispose();
1867
+ this.context.events.removeAllListeners();
1868
+ this.context.emitter.removeAllListeners();
1869
+ this.stopHandler();
1870
+ }
1871
+ };
1872
+ function setupWorker(...handlers) {
1873
+ return new SetupWorkerApi(...handlers);
1874
+ }
1875
+ function createRestHandler(method) {
1876
+ return (path, resolver) => {
1877
+ return new RestHandler(method, path, resolver);
1878
+ };
1879
+ }
1880
+ var rest = {
1881
+ all: createRestHandler(/.+/),
1882
+ head: createRestHandler(
1883
+ "HEAD"
1884
+ /* HEAD */
1885
+ ),
1886
+ get: createRestHandler(
1887
+ "GET"
1888
+ /* GET */
1889
+ ),
1890
+ post: createRestHandler(
1891
+ "POST"
1892
+ /* POST */
1893
+ ),
1894
+ put: createRestHandler(
1895
+ "PUT"
1896
+ /* PUT */
1897
+ ),
1898
+ delete: createRestHandler(
1899
+ "DELETE"
1900
+ /* DELETE */
1901
+ ),
1902
+ patch: createRestHandler(
1903
+ "PATCH"
1904
+ /* PATCH */
1905
+ ),
1906
+ options: createRestHandler(
1907
+ "OPTIONS"
1908
+ /* OPTIONS */
1909
+ )
1910
+ };
1911
+ function createScopedGraphQLHandler(operationType, url) {
1912
+ return (operationName, resolver) => {
1913
+ return new GraphQLHandler(operationType, operationName, url, resolver);
1914
+ };
1915
+ }
1916
+ function createGraphQLOperationHandler(url) {
1917
+ return (resolver) => {
1918
+ return new GraphQLHandler("all", new RegExp(".*"), url, resolver);
1919
+ };
1920
+ }
1921
+ var standardGraphQLHandlers = {
1922
+ operation: createGraphQLOperationHandler("*"),
1923
+ query: createScopedGraphQLHandler("query", "*"),
1924
+ mutation: createScopedGraphQLHandler("mutation", "*")
1925
+ };
1926
+ function createGraphQLLink(url) {
1927
+ return {
1928
+ operation: createGraphQLOperationHandler(url),
1929
+ query: createScopedGraphQLHandler("query", url),
1930
+ mutation: createScopedGraphQLHandler("mutation", url)
1931
+ };
1932
+ }
1933
+ var graphql = __spreadProps(__spreadValues({}, standardGraphQLHandlers), {
1934
+ link: createGraphQLLink
1935
+ });
1936
+ module.exports = lib;
1937
+ //# sourceMappingURL=index.cjs.map