@flipdish/portal-library 8.6.2 → 8.6.4

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 (210) hide show
  1. package/dist/components/molecules/Alert/index.cjs.js +1 -1
  2. package/dist/components/molecules/Alert/index.cjs.js.map +1 -1
  3. package/dist/components/molecules/Alert/index.d.ts +1 -1
  4. package/dist/components/molecules/Alert/index.js +1 -1
  5. package/dist/components/molecules/Alert/index.js.map +1 -1
  6. package/dist/components/molecules/AlertGlobal/alertGlobalTokens.cjs.js +1 -1
  7. package/dist/components/molecules/AlertGlobal/alertGlobalTokens.cjs.js.map +1 -1
  8. package/dist/components/molecules/AlertGlobal/alertGlobalTokens.js +1 -1
  9. package/dist/components/molecules/AlertGlobal/alertGlobalTokens.js.map +1 -1
  10. package/dist/mocks/msw/handlers.cjs.js +1 -1
  11. package/dist/mocks/msw/handlers.d.ts +1 -1
  12. package/dist/mocks/msw/handlers.js +1 -1
  13. package/dist/mocks/msw/server.cjs.js +1 -1
  14. package/dist/mocks/msw/server.d.ts +1 -1
  15. package/dist/mocks/msw/server.js +1 -1
  16. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.cjs.js.map +1 -1
  17. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.js.map +1 -1
  18. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/compat.cjs.js.map +1 -1
  19. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/compat.js.map +1 -1
  20. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/define-network.cjs.js.map +1 -1
  21. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/define-network.js.map +1 -1
  22. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/http-frame.cjs.js.map +1 -1
  23. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/http-frame.js.map +1 -1
  24. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/network-frame.cjs.js.map +1 -1
  25. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/network-frame.js.map +1 -1
  26. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/websocket-frame.cjs.js.map +1 -1
  27. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/websocket-frame.js.map +1 -1
  28. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/handlers-controller.cjs.js.map +1 -1
  29. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/handlers-controller.js.map +1 -1
  30. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/on-unhandled-frame.cjs.js.map +1 -1
  31. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/on-unhandled-frame.js.map +1 -1
  32. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/request-utils.cjs.js.map +1 -1
  33. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/request-utils.js.map +1 -1
  34. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/interceptor-source.cjs.js.map +1 -1
  35. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/interceptor-source.js.map +1 -1
  36. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/network-source.cjs.js.map +1 -1
  37. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/network-source.js.map +1 -1
  38. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.cjs.js.map +1 -1
  39. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.js.map +1 -1
  40. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.cjs.js.map +1 -1
  41. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.js.map +1 -1
  42. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/WebSocketHandler.cjs.js.map +1 -1
  43. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/WebSocketHandler.js.map +1 -1
  44. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/http.cjs.js.map +1 -1
  45. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/http.js.map +1 -1
  46. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/index.cjs.js.map +1 -1
  47. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/index.js.map +1 -1
  48. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.cjs.js.map +1 -1
  49. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.js.map +1 -1
  50. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.cjs.js.map +1 -1
  51. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.js.map +1 -1
  52. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.cjs.js.map +1 -1
  53. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.js.map +1 -1
  54. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.cjs.js.map +1 -1
  55. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.js.map +1 -1
  56. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.cjs.js.map +1 -1
  57. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.js.map +1 -1
  58. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/attachSiblingHandlers.cjs.js.map +1 -1
  59. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/attachSiblingHandlers.js.map +1 -1
  60. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.cjs.js.map +1 -1
  61. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.js.map +1 -1
  62. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.cjs.js.map +1 -1
  63. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.js.map +1 -1
  64. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.cjs.js.map +1 -1
  65. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.js.map +1 -1
  66. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.cjs.js.map +1 -1
  67. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.js.map +1 -1
  68. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.cjs.js.map +1 -1
  69. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.js.map +1 -1
  70. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.cjs.js.map +1 -1
  71. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.js.map +1 -1
  72. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.cjs.js.map +1 -1
  73. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.js.map +1 -1
  74. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.cjs.js.map +1 -1
  75. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.js.map +1 -1
  76. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.cjs.js.map +1 -1
  77. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map +1 -1
  78. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.cjs.js.map +1 -1
  79. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.js.map +1 -1
  80. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.cjs.js.map +1 -1
  81. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.js.map +1 -1
  82. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.cjs.js.map +1 -1
  83. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.js.map +1 -1
  84. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.cjs.js.map +1 -1
  85. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.js.map +1 -1
  86. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.cjs.js.map +1 -1
  87. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.js.map +1 -1
  88. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.cjs.js.map +1 -1
  89. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.js.map +1 -1
  90. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.cjs.js.map +1 -1
  91. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.js.map +1 -1
  92. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.cjs.js.map +1 -1
  93. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.js.map +1 -1
  94. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.cjs.js.map +1 -1
  95. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.js.map +1 -1
  96. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.cjs.js.map +1 -1
  97. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.js.map +1 -1
  98. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/node/index.cjs.js.map +1 -1
  99. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/node/index.js.map +1 -1
  100. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.cjs.js.map +1 -1
  101. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.js.map +1 -1
  102. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.cjs.js.map +1 -1
  103. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.js.map +1 -1
  104. package/dist/themes/theme.d.ts +6 -0
  105. package/dist/themes/tokens/colours/semantic.cjs.js +1 -1
  106. package/dist/themes/tokens/colours/semantic.cjs.js.map +1 -1
  107. package/dist/themes/tokens/colours/semantic.d.ts +6 -0
  108. package/dist/themes/tokens/colours/semantic.js +1 -1
  109. package/dist/themes/tokens/colours/semantic.js.map +1 -1
  110. package/package.json +9 -2
  111. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse-BFS34nkx.d.d.ts +0 -0
  112. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.cjs.js +0 -0
  113. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.js +0 -0
  114. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/compat.cjs.js +0 -0
  115. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/compat.js +0 -0
  116. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/define-network.cjs.js +0 -0
  117. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/define-network.js +0 -0
  118. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/http-frame.cjs.js +0 -0
  119. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/http-frame.d.d.ts +0 -0
  120. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/http-frame.js +0 -0
  121. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/network-frame.cjs.js +0 -0
  122. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/network-frame.js +0 -0
  123. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/websocket-frame.cjs.js +0 -0
  124. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/websocket-frame.d.d.ts +0 -0
  125. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/websocket-frame.js +0 -0
  126. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/handlers-controller.cjs.js +0 -0
  127. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/handlers-controller.d.d.ts +0 -0
  128. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/handlers-controller.js +0 -0
  129. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/on-unhandled-frame.cjs.js +0 -0
  130. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/on-unhandled-frame.js +0 -0
  131. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/request-utils.cjs.js +0 -0
  132. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/request-utils.js +0 -0
  133. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/interceptor-source.cjs.js +0 -0
  134. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/interceptor-source.js +0 -0
  135. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/network-source.cjs.js +0 -0
  136. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/network-source.js +0 -0
  137. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.cjs.js +0 -0
  138. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.d.d.ts +0 -0
  139. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.js +0 -0
  140. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.cjs.js +0 -0
  141. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.js +0 -0
  142. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/WebSocketHandler.cjs.js +0 -0
  143. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/WebSocketHandler.d.d.ts +0 -0
  144. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/handlers/WebSocketHandler.js +0 -0
  145. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/http.cjs.js +0 -0
  146. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/http.js +0 -0
  147. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/index.cjs.js +0 -0
  148. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/index.js +0 -0
  149. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.cjs.js +0 -0
  150. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.js +0 -0
  151. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/sharedOptions.d.d.ts +0 -0
  152. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/typeUtils.d.d.ts +0 -0
  153. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.cjs.js +0 -0
  154. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.js +0 -0
  155. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.cjs.js +0 -0
  156. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.js +0 -0
  157. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.cjs.js +0 -0
  158. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.js +0 -0
  159. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.cjs.js +0 -0
  160. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.js +0 -0
  161. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/attachSiblingHandlers.cjs.js +0 -0
  162. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/attachSiblingHandlers.js +0 -0
  163. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.cjs.js +0 -0
  164. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.js +0 -0
  165. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.cjs.js +0 -0
  166. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.js +0 -0
  167. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.cjs.js +0 -0
  168. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.js +0 -0
  169. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.cjs.js +0 -0
  170. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.d.d.ts +0 -0
  171. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.js +0 -0
  172. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.cjs.js +0 -0
  173. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.js +0 -0
  174. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.cjs.js +0 -0
  175. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.js +0 -0
  176. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.cjs.js +0 -0
  177. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.js +0 -0
  178. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.cjs.js +0 -0
  179. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.js +0 -0
  180. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.cjs.js +0 -0
  181. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.js +0 -0
  182. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.cjs.js +0 -0
  183. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.js +0 -0
  184. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.cjs.js +0 -0
  185. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.js +0 -0
  186. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.cjs.js +0 -0
  187. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.d.d.ts +0 -0
  188. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.js +0 -0
  189. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.cjs.js +0 -0
  190. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.js +0 -0
  191. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.cjs.js +0 -0
  192. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.js +0 -0
  193. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/onUnhandledRequest.d.d.ts +0 -0
  194. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.cjs.js +0 -0
  195. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.js +0 -0
  196. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.cjs.js +0 -0
  197. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.js +0 -0
  198. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.cjs.js +0 -0
  199. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.js +0 -0
  200. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.cjs.js +0 -0
  201. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.js +0 -0
  202. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.cjs.js +0 -0
  203. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.js +0 -0
  204. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/node/index.cjs.js +0 -0
  205. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/node/index.d.d.ts +0 -0
  206. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/node/index.js +0 -0
  207. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.cjs.js +0 -0
  208. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.js +0 -0
  209. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.cjs.js +0 -0
  210. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.40_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.41_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"define-network.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/define-network.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport { Emitter } from \"rettime\";\nimport {\n NetworkSource\n} from './sources/network-source.mjs';\nimport {} from './frames/network-frame.mjs';\nimport {} from './on-unhandled-frame.mjs';\nimport {\n HandlersController,\n InMemoryHandlersController\n} from './handlers-controller.mjs';\nimport { toReadonlyArray } from '../utils/internal/toReadonlyArray.mjs';\nimport { Disposable } from '../utils/internal/Disposable.mjs';\nfunction colorlessPromiseAll(values) {\n const promises = [];\n for (const value of values) {\n if (value instanceof Promise) {\n promises.push(value);\n }\n }\n if (promises.length > 0) {\n return Promise.all(promises).then(() => {\n });\n }\n}\nvar NetworkReadyState = /* @__PURE__ */ ((NetworkReadyState2) => {\n NetworkReadyState2[NetworkReadyState2[\"DISABLED\"] = 0] = \"DISABLED\";\n NetworkReadyState2[NetworkReadyState2[\"ENABLED\"] = 1] = \"ENABLED\";\n return NetworkReadyState2;\n})(NetworkReadyState || {});\nfunction defineNetwork(options) {\n let readyState = 0 /* DISABLED */;\n const events = new Emitter();\n const disposable = new Disposable();\n const deriveHandlersController = (handlers) => {\n return handlers instanceof HandlersController ? handlers : new InMemoryHandlersController(handlers || []);\n };\n let resolvedOptions = {\n ...options\n };\n let handlersController = deriveHandlersController(resolvedOptions.handlers);\n return {\n get readyState() {\n return readyState;\n },\n events,\n configure(options2) {\n invariant(\n readyState === 0 /* DISABLED */,\n 'Failed to call \"configure()\" on the network: cannot configure an already enabled network.'\n );\n if (options2.handlers && !Object.is(options2.handlers, resolvedOptions.handlers)) {\n handlersController = deriveHandlersController(options2.handlers);\n }\n resolvedOptions = {\n ...resolvedOptions,\n ...options2\n };\n },\n enable() {\n invariant(\n readyState === 0 /* DISABLED */,\n 'Failed to call \"enable\" on the network: already enabled'\n );\n readyState = 1 /* ENABLED */;\n const session = { active: true };\n disposable[\"subscriptions\"].push(() => {\n session.active = false;\n });\n const result = resolvedOptions.sources.map((source) => {\n NetworkSource.prototype.disable.call(source);\n source.on(\"frame\", async ({ frame }) => {\n frame.events.on(\"*\", (event) => {\n if (!session.active) {\n return;\n }\n events.emit(event);\n });\n const handlers = frame.getHandlers(handlersController);\n await frame.resolve(\n handlers,\n resolvedOptions.onUnhandledFrame || \"warn\",\n resolvedOptions.context\n );\n });\n return source.enable();\n });\n return colorlessPromiseAll(result);\n },\n disable() {\n invariant(\n readyState === 1 /* ENABLED */,\n 'Failed to call \"disable\" on the network: already disabled'\n );\n readyState = 0 /* DISABLED */;\n disposable.dispose();\n return colorlessPromiseAll(\n resolvedOptions.sources.map((source) => source.disable())\n );\n },\n use(...handlers) {\n handlersController.use(handlers);\n },\n resetHandlers(...handlers) {\n handlersController.reset(handlers);\n },\n restoreHandlers() {\n handlersController.restore();\n },\n listHandlers() {\n return toReadonlyArray(handlersController.currentHandlers());\n }\n };\n}\nexport {\n NetworkReadyState,\n defineNetwork\n};\n//# sourceMappingURL=define-network.mjs.map"],"names":["colorlessPromiseAll","values","promises","value","Promise","push","length","all","then","NetworkReadyState","NetworkReadyState2","options","readyState","events","Emitter","disposable","Disposable","deriveHandlersController","handlers","HandlersController","InMemoryHandlersController","resolvedOptions","handlersController","configure","options2","invariant","Object","is","enable","session","active","sources","map","source","NetworkSource","prototype","disable","call","on","async","frame","event","emit","getHandlers","resolve","onUnhandledFrame","context","dispose","use","resetHandlers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kBAAoB,OACpCxB,EAAgByB,WAGbb,EAAOL,WAGlB,EACAQ,QAAO,KACLX,EAAAA,UACiB,IAAfb,EACA,6DAEFA,EAAa,EACbG,EAAWgC,UACJ/C,EACLqB,EAAgBU,QAAQC,IAAKC,GAAWA,EAAOG,aAGnD,GAAAY,IAAO9B,GACLI,EAAmB0B,IAAI9B,EACzB,EACA,aAAA+B,IAAiB/B,GACfI,EAAmB4B,MAAMhC,EAC3B,EACA,eAAAiC,GACE7B,EAAmB8B,SACrB,EACAC,aAAY,IACHC,EAAAA,gBAAgBhC,EAAmBiC,mBAGhD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"define-network.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/define-network.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport { Emitter } from \"rettime\";\nimport {\n NetworkSource\n} from './sources/network-source.mjs';\nimport {} from './frames/network-frame.mjs';\nimport {} from './on-unhandled-frame.mjs';\nimport {\n HandlersController,\n InMemoryHandlersController\n} from './handlers-controller.mjs';\nimport { toReadonlyArray } from '../utils/internal/toReadonlyArray.mjs';\nimport { Disposable } from '../utils/internal/Disposable.mjs';\nfunction colorlessPromiseAll(values) {\n const promises = [];\n for (const value of values) {\n if (value instanceof Promise) {\n promises.push(value);\n }\n }\n if (promises.length > 0) {\n return Promise.all(promises).then(() => {\n });\n }\n}\nvar NetworkReadyState = /* @__PURE__ */ ((NetworkReadyState2) => {\n NetworkReadyState2[NetworkReadyState2[\"DISABLED\"] = 0] = \"DISABLED\";\n NetworkReadyState2[NetworkReadyState2[\"ENABLED\"] = 1] = \"ENABLED\";\n return NetworkReadyState2;\n})(NetworkReadyState || {});\nfunction defineNetwork(options) {\n let readyState = 0 /* DISABLED */;\n const events = new Emitter();\n const disposable = new Disposable();\n const deriveHandlersController = (handlers) => {\n return handlers instanceof HandlersController ? handlers : new InMemoryHandlersController(handlers || []);\n };\n let resolvedOptions = {\n ...options\n };\n let handlersController = deriveHandlersController(resolvedOptions.handlers);\n return {\n get readyState() {\n return readyState;\n },\n events,\n configure(options2) {\n invariant(\n readyState === 0 /* DISABLED */,\n 'Failed to call \"configure()\" on the network: cannot configure an already enabled network.'\n );\n if (options2.handlers && !Object.is(options2.handlers, resolvedOptions.handlers)) {\n handlersController = deriveHandlersController(options2.handlers);\n }\n resolvedOptions = {\n ...resolvedOptions,\n ...options2\n };\n },\n enable() {\n invariant(\n readyState === 0 /* DISABLED */,\n 'Failed to call \"enable\" on the network: already enabled'\n );\n readyState = 1 /* ENABLED */;\n const session = { active: true };\n disposable[\"subscriptions\"].push(() => {\n session.active = false;\n });\n const result = resolvedOptions.sources.map((source) => {\n NetworkSource.prototype.disable.call(source);\n source.on(\"frame\", async ({ frame }) => {\n frame.events.on(\"*\", (event) => {\n if (!session.active) {\n return;\n }\n events.emit(event);\n });\n const handlers = frame.getHandlers(handlersController);\n await frame.resolve(\n handlers,\n resolvedOptions.onUnhandledFrame || \"warn\",\n resolvedOptions.context\n );\n });\n return source.enable();\n });\n return colorlessPromiseAll(result);\n },\n disable() {\n invariant(\n readyState === 1 /* ENABLED */,\n 'Failed to call \"disable\" on the network: already disabled'\n );\n readyState = 0 /* DISABLED */;\n disposable.dispose();\n return colorlessPromiseAll(\n resolvedOptions.sources.map((source) => source.disable())\n );\n },\n use(...handlers) {\n handlersController.use(handlers);\n },\n resetHandlers(...handlers) {\n handlersController.reset(handlers);\n },\n restoreHandlers() {\n handlersController.restore();\n },\n listHandlers() {\n return toReadonlyArray(handlersController.currentHandlers());\n }\n };\n}\nexport {\n NetworkReadyState,\n defineNetwork\n};\n//# sourceMappingURL=define-network.mjs.map"],"names":["colorlessPromiseAll","values","promises","value","Promise","push","length","all","then","NetworkReadyState","NetworkReadyState2","options","readyState","events","Emitter","disposable","Disposable","deriveHandlersController","handlers","HandlersController","InMemoryHandlersController","resolvedOptions","handlersController","configure","options2","invariant","Object","is","enable","session","active","sources","map","source","NetworkSource","prototype","disable","call","on","async","frame","event","emit","getHandlers","resolve","onUnhandledFrame","context","dispose","use","resetHandlers","reset","restoreHandlers","restore","listHandlers","toReadonlyArray","currentHandlers"],"mappings":"+XAaA,SAASA,EAAoBC,GAC3B,MAAMC,EAAW,GACjB,IAAK,MAAMC,KAASF,EACdE,aAAiBC,SACnBF,EAASG,KAAKF,GAGlB,GAAID,EAASI,OAAS,EACpB,OAAOF,QAAQG,IAAIL,GAAUM,KAAK,OAGtC,CACG,IAACC,EAAoC,CAAEC,IACxCA,EAAmBA,EAA6B,SAAI,GAAK,WACzDA,EAAmBA,EAA4B,QAAI,GAAK,UACjDA,GAH+B,CAIrCD,GAAqB,CAAA,qDACxB,SAAuBE,GACrB,IAAIC,EAAa,EACjB,MAAMC,EAAS,IAAIC,UACbC,EAAa,IAAIC,aACjBC,EAA4BC,GACzBA,aAAoBC,EAAAA,mBAAqBD,EAAW,IAAIE,EAAAA,2BAA2BF,GAAY,IAExG,IAAIG,EAAkB,IACjBV,GAEDW,EAAqBL,EAAyBI,EAAgBH,UAClE,MAAO,CACL,cAAIN,GACF,OAAOA,CACT,EACAC,SACA,SAAAU,CAAUC,GACRC,EAAAA,UACiB,IAAfb,EACA,6FAEEY,EAASN,WAAaQ,OAAOC,GAAGH,EAASN,SAAUG,EAAgBH,YACrEI,EAAqBL,EAAyBO,EAASN,WAEzDG,EAAkB,IACbA,KACAG,EAEP,EACA,MAAAI,GACEH,EAAAA,UACiB,IAAfb,EACA,2DAEFA,EAAa,EACb,MAAMiB,EAAU,CAAEC,QAAQ,GAC1Bf,EAA0B,cAAEV,KAAK,KAC/BwB,EAAQC,QAAS,IAoBnB,OAAO9B,EAlBQqB,EAAgBU,QAAQC,IAAKC,IAC1CC,EAAAA,cAAcC,UAAUC,QAAQC,KAAKJ,GACrCA,EAAOK,GAAG,QAASC,OAASC,YAC1BA,EAAM3B,OAAOyB,GAAG,IAAMG,IACfZ,EAAQC,QAGbjB,EAAO6B,KAAKD,KAEd,MAAMvB,EAAWsB,EAAMG,YAAYrB,SAC7BkB,EAAMI,QACV1B,EACAG,EAAgBwB,kBAAoB,OACpCxB,EAAgByB,WAGbb,EAAOL,WAGlB,EACAQ,QAAO,KACLX,EAAAA,UACiB,IAAfb,EACA,6DAEFA,EAAa,EACbG,EAAWgC,UACJ/C,EACLqB,EAAgBU,QAAQC,IAAKC,GAAWA,EAAOG,aAGnD,GAAAY,IAAO9B,GACLI,EAAmB0B,IAAI9B,EACzB,EACA,aAAA+B,IAAiB/B,GACfI,EAAmB4B,MAAMhC,EAC3B,EACA,eAAAiC,GACE7B,EAAmB8B,SACrB,EACAC,aAAY,IACHC,EAAAA,gBAAgBhC,EAAmBiC,mBAGhD","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"define-network.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/define-network.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport { Emitter } from \"rettime\";\nimport {\n NetworkSource\n} from './sources/network-source.mjs';\nimport {} from './frames/network-frame.mjs';\nimport {} from './on-unhandled-frame.mjs';\nimport {\n HandlersController,\n InMemoryHandlersController\n} from './handlers-controller.mjs';\nimport { toReadonlyArray } from '../utils/internal/toReadonlyArray.mjs';\nimport { Disposable } from '../utils/internal/Disposable.mjs';\nfunction colorlessPromiseAll(values) {\n const promises = [];\n for (const value of values) {\n if (value instanceof Promise) {\n promises.push(value);\n }\n }\n if (promises.length > 0) {\n return Promise.all(promises).then(() => {\n });\n }\n}\nvar NetworkReadyState = /* @__PURE__ */ ((NetworkReadyState2) => {\n NetworkReadyState2[NetworkReadyState2[\"DISABLED\"] = 0] = \"DISABLED\";\n NetworkReadyState2[NetworkReadyState2[\"ENABLED\"] = 1] = \"ENABLED\";\n return NetworkReadyState2;\n})(NetworkReadyState || {});\nfunction defineNetwork(options) {\n let readyState = 0 /* DISABLED */;\n const events = new Emitter();\n const disposable = new Disposable();\n const deriveHandlersController = (handlers) => {\n return handlers instanceof HandlersController ? handlers : new InMemoryHandlersController(handlers || []);\n };\n let resolvedOptions = {\n ...options\n };\n let handlersController = deriveHandlersController(resolvedOptions.handlers);\n return {\n get readyState() {\n return readyState;\n },\n events,\n configure(options2) {\n invariant(\n readyState === 0 /* DISABLED */,\n 'Failed to call \"configure()\" on the network: cannot configure an already enabled network.'\n );\n if (options2.handlers && !Object.is(options2.handlers, resolvedOptions.handlers)) {\n handlersController = deriveHandlersController(options2.handlers);\n }\n resolvedOptions = {\n ...resolvedOptions,\n ...options2\n };\n },\n enable() {\n invariant(\n readyState === 0 /* DISABLED */,\n 'Failed to call \"enable\" on the network: already enabled'\n );\n readyState = 1 /* ENABLED */;\n const session = { active: true };\n disposable[\"subscriptions\"].push(() => {\n session.active = false;\n });\n const result = resolvedOptions.sources.map((source) => {\n NetworkSource.prototype.disable.call(source);\n source.on(\"frame\", async ({ frame }) => {\n frame.events.on(\"*\", (event) => {\n if (!session.active) {\n return;\n }\n events.emit(event);\n });\n const handlers = frame.getHandlers(handlersController);\n await frame.resolve(\n handlers,\n resolvedOptions.onUnhandledFrame || \"warn\",\n resolvedOptions.context\n );\n });\n return source.enable();\n });\n return colorlessPromiseAll(result);\n },\n disable() {\n invariant(\n readyState === 1 /* ENABLED */,\n 'Failed to call \"disable\" on the network: already disabled'\n );\n readyState = 0 /* DISABLED */;\n disposable.dispose();\n return colorlessPromiseAll(\n resolvedOptions.sources.map((source) => source.disable())\n );\n },\n use(...handlers) {\n handlersController.use(handlers);\n },\n resetHandlers(...handlers) {\n handlersController.reset(handlers);\n },\n restoreHandlers() {\n handlersController.restore();\n },\n listHandlers() {\n return toReadonlyArray(handlersController.currentHandlers());\n }\n };\n}\nexport {\n NetworkReadyState,\n defineNetwork\n};\n//# sourceMappingURL=define-network.mjs.map"],"names":["colorlessPromiseAll","values","promises","value","Promise","push","length","all","then","NetworkReadyState","NetworkReadyState2","defineNetwork","options","readyState","events","Emitter","disposable","Disposable","deriveHandlersController","handlers","HandlersController","InMemoryHandlersController","resolvedOptions","handlersController","configure","options2","invariant","Object","is","enable","session","active","sources","map","source","NetworkSource","prototype","disable","call","on","async","frame","event","emit","getHandlers","resolve","onUnhandledFrame","context","dispose","use","resetHandlers","reset","restoreHandlers","restore","listHandlers","toReadonlyArray","currentHandlers"],"mappings":"keAaA,SAASA,EAAoBC,GAC3B,MAAMC,EAAW,GACjB,IAAK,MAAMC,KAASF,EACdE,aAAiBC,SACnBF,EAASG,KAAKF,GAGlB,GAAID,EAASI,OAAS,EACpB,OAAOF,QAAQG,IAAIL,GAAUM,KAAK,OAGtC,CACG,IAACC,EAAoC,CAAEC,IACxCA,EAAmBA,EAA6B,SAAI,GAAK,WACzDA,EAAmBA,EAA4B,QAAI,GAAK,UACjDA,GAH+B,CAIrCD,GAAqB,CAAA,GACxB,SAASE,EAAcC,GACrB,IAAIC,EAAa,EACjB,MAAMC,EAAS,IAAIC,EACbC,EAAa,IAAIC,EACjBC,EAA4BC,GACzBA,aAAoBC,EAAqBD,EAAW,IAAIE,EAA2BF,GAAY,IAExG,IAAIG,EAAkB,IACjBV,GAEDW,EAAqBL,EAAyBI,EAAgBH,UAClE,MAAO,CACL,cAAIN,GACF,OAAOA,CACT,EACAC,SACA,SAAAU,CAAUC,GACRC,EACiB,IAAfb,EACA,6FAEEY,EAASN,WAAaQ,OAAOC,GAAGH,EAASN,SAAUG,EAAgBH,YACrEI,EAAqBL,EAAyBO,EAASN,WAEzDG,EAAkB,IACbA,KACAG,EAEP,EACA,MAAAI,GACEH,EACiB,IAAfb,EACA,2DAEFA,EAAa,EACb,MAAMiB,EAAU,CAAEC,QAAQ,GAC1Bf,EAA0B,cAAEX,KAAK,KAC/ByB,EAAQC,QAAS,IAoBnB,OAAO/B,EAlBQsB,EAAgBU,QAAQC,IAAKC,IAC1CC,EAAcC,UAAUC,QAAQC,KAAKJ,GACrCA,EAAOK,GAAG,QAASC,OAASC,YAC1BA,EAAM3B,OAAOyB,GAAG,IAAMG,IACfZ,EAAQC,QAGbjB,EAAO6B,KAAKD,KAEd,MAAMvB,EAAWsB,EAAMG,YAAYrB,SAC7BkB,EAAMI,QACV1B,EACAG,EAAgBwB,kBAAoB,OACpCxB,EAAgByB,WAGbb,EAAOL,WAGlB,EACAQ,QAAO,KACLX,EACiB,IAAfb,EACA,6DAEFA,EAAa,EACbG,EAAWgC,UACJhD,EACLsB,EAAgBU,QAAQC,IAAKC,GAAWA,EAAOG,aAGnD,GAAAY,IAAO9B,GACLI,EAAmB0B,IAAI9B,EACzB,EACA,aAAA+B,IAAiB/B,GACfI,EAAmB4B,MAAMhC,EAC3B,EACA,eAAAiC,GACE7B,EAAmB8B,SACrB,EACAC,aAAY,IACHC,EAAgBhC,EAAmBiC,mBAGhD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"define-network.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/define-network.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport { Emitter } from \"rettime\";\nimport {\n NetworkSource\n} from './sources/network-source.mjs';\nimport {} from './frames/network-frame.mjs';\nimport {} from './on-unhandled-frame.mjs';\nimport {\n HandlersController,\n InMemoryHandlersController\n} from './handlers-controller.mjs';\nimport { toReadonlyArray } from '../utils/internal/toReadonlyArray.mjs';\nimport { Disposable } from '../utils/internal/Disposable.mjs';\nfunction colorlessPromiseAll(values) {\n const promises = [];\n for (const value of values) {\n if (value instanceof Promise) {\n promises.push(value);\n }\n }\n if (promises.length > 0) {\n return Promise.all(promises).then(() => {\n });\n }\n}\nvar NetworkReadyState = /* @__PURE__ */ ((NetworkReadyState2) => {\n NetworkReadyState2[NetworkReadyState2[\"DISABLED\"] = 0] = \"DISABLED\";\n NetworkReadyState2[NetworkReadyState2[\"ENABLED\"] = 1] = \"ENABLED\";\n return NetworkReadyState2;\n})(NetworkReadyState || {});\nfunction defineNetwork(options) {\n let readyState = 0 /* DISABLED */;\n const events = new Emitter();\n const disposable = new Disposable();\n const deriveHandlersController = (handlers) => {\n return handlers instanceof HandlersController ? handlers : new InMemoryHandlersController(handlers || []);\n };\n let resolvedOptions = {\n ...options\n };\n let handlersController = deriveHandlersController(resolvedOptions.handlers);\n return {\n get readyState() {\n return readyState;\n },\n events,\n configure(options2) {\n invariant(\n readyState === 0 /* DISABLED */,\n 'Failed to call \"configure()\" on the network: cannot configure an already enabled network.'\n );\n if (options2.handlers && !Object.is(options2.handlers, resolvedOptions.handlers)) {\n handlersController = deriveHandlersController(options2.handlers);\n }\n resolvedOptions = {\n ...resolvedOptions,\n ...options2\n };\n },\n enable() {\n invariant(\n readyState === 0 /* DISABLED */,\n 'Failed to call \"enable\" on the network: already enabled'\n );\n readyState = 1 /* ENABLED */;\n const session = { active: true };\n disposable[\"subscriptions\"].push(() => {\n session.active = false;\n });\n const result = resolvedOptions.sources.map((source) => {\n NetworkSource.prototype.disable.call(source);\n source.on(\"frame\", async ({ frame }) => {\n frame.events.on(\"*\", (event) => {\n if (!session.active) {\n return;\n }\n events.emit(event);\n });\n const handlers = frame.getHandlers(handlersController);\n await frame.resolve(\n handlers,\n resolvedOptions.onUnhandledFrame || \"warn\",\n resolvedOptions.context\n );\n });\n return source.enable();\n });\n return colorlessPromiseAll(result);\n },\n disable() {\n invariant(\n readyState === 1 /* ENABLED */,\n 'Failed to call \"disable\" on the network: already disabled'\n );\n readyState = 0 /* DISABLED */;\n disposable.dispose();\n return colorlessPromiseAll(\n resolvedOptions.sources.map((source) => source.disable())\n );\n },\n use(...handlers) {\n handlersController.use(handlers);\n },\n resetHandlers(...handlers) {\n handlersController.reset(handlers);\n },\n restoreHandlers() {\n handlersController.restore();\n },\n listHandlers() {\n return toReadonlyArray(handlersController.currentHandlers());\n }\n };\n}\nexport {\n NetworkReadyState,\n defineNetwork\n};\n//# sourceMappingURL=define-network.mjs.map"],"names":["colorlessPromiseAll","values","promises","value","Promise","push","length","all","then","NetworkReadyState","NetworkReadyState2","defineNetwork","options","readyState","events","Emitter","disposable","Disposable","deriveHandlersController","handlers","HandlersController","InMemoryHandlersController","resolvedOptions","handlersController","configure","options2","invariant","Object","is","enable","session","active","sources","map","source","NetworkSource","prototype","disable","call","on","async","frame","event","emit","getHandlers","resolve","onUnhandledFrame","context","dispose","use","resetHandlers","reset","restoreHandlers","restore","listHandlers","toReadonlyArray","currentHandlers"],"mappings":"keAaA,SAASA,EAAoBC,GAC3B,MAAMC,EAAW,GACjB,IAAK,MAAMC,KAASF,EACdE,aAAiBC,SACnBF,EAASG,KAAKF,GAGlB,GAAID,EAASI,OAAS,EACpB,OAAOF,QAAQG,IAAIL,GAAUM,KAAK,OAGtC,CACG,IAACC,EAAoC,CAAEC,IACxCA,EAAmBA,EAA6B,SAAI,GAAK,WACzDA,EAAmBA,EAA4B,QAAI,GAAK,UACjDA,GAH+B,CAIrCD,GAAqB,CAAA,GACxB,SAASE,EAAcC,GACrB,IAAIC,EAAa,EACjB,MAAMC,EAAS,IAAIC,EACbC,EAAa,IAAIC,EACjBC,EAA4BC,GACzBA,aAAoBC,EAAqBD,EAAW,IAAIE,EAA2BF,GAAY,IAExG,IAAIG,EAAkB,IACjBV,GAEDW,EAAqBL,EAAyBI,EAAgBH,UAClE,MAAO,CACL,cAAIN,GACF,OAAOA,CACT,EACAC,SACA,SAAAU,CAAUC,GACRC,EACiB,IAAfb,EACA,6FAEEY,EAASN,WAAaQ,OAAOC,GAAGH,EAASN,SAAUG,EAAgBH,YACrEI,EAAqBL,EAAyBO,EAASN,WAEzDG,EAAkB,IACbA,KACAG,EAEP,EACA,MAAAI,GACEH,EACiB,IAAfb,EACA,2DAEFA,EAAa,EACb,MAAMiB,EAAU,CAAEC,QAAQ,GAC1Bf,EAA0B,cAAEX,KAAK,KAC/ByB,EAAQC,QAAS,IAoBnB,OAAO/B,EAlBQsB,EAAgBU,QAAQC,IAAKC,IAC1CC,EAAcC,UAAUC,QAAQC,KAAKJ,GACrCA,EAAOK,GAAG,QAASC,OAASC,YAC1BA,EAAM3B,OAAOyB,GAAG,IAAMG,IACfZ,EAAQC,QAGbjB,EAAO6B,KAAKD,KAEd,MAAMvB,EAAWsB,EAAMG,YAAYrB,SAC7BkB,EAAMI,QACV1B,EACAG,EAAgBwB,kBAAoB,OACpCxB,EAAgByB,WAGbb,EAAOL,WAGlB,EACAQ,QAAO,KACLX,EACiB,IAAfb,EACA,6DAEFA,EAAa,EACbG,EAAWgC,UACJhD,EACLsB,EAAgBU,QAAQC,IAAKC,GAAWA,EAAOG,aAGnD,GAAAY,IAAO9B,GACLI,EAAmB0B,IAAI9B,EACzB,EACA,aAAA+B,IAAiB/B,GACfI,EAAmB4B,MAAMhC,EAC3B,EACA,eAAAiC,GACE7B,EAAmB8B,SACrB,EACAC,aAAY,IACHC,EAAgBhC,EAAmBiC,mBAGhD","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"http-frame.cjs.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/http-frame.mjs"],"sourcesContent":["import { TypedEvent } from \"rettime\";\nimport { until } from \"until-async\";\nimport { createRequestId } from \"@mswjs/interceptors\";\nimport {\n NetworkFrame\n} from './network-frame.mjs';\nimport { toPublicUrl } from '../../utils/request/toPublicUrl.mjs';\nimport { executeHandlers } from '../../utils/executeHandlers.mjs';\nimport { storeResponseCookies } from '../../utils/request/storeResponseCookies.mjs';\nimport { isPassthroughResponse, shouldBypassRequest } from '../request-utils.mjs';\nimport { devUtils } from '../../utils/internal/devUtils.mjs';\nimport {\n executeUnhandledFrameHandle\n} from '../on-unhandled-frame.mjs';\nimport {} from '../handlers-controller.mjs';\nimport {} from '../../handlers/RequestHandler.mjs';\nclass RequestEvent extends TypedEvent {\n requestId;\n request;\n constructor(type, data) {\n super(...[type, {}]);\n this.requestId = data.requestId;\n this.request = data.request;\n }\n}\nclass ResponseEvent extends TypedEvent {\n requestId;\n request;\n response;\n constructor(type, data) {\n super(...[type, {}]);\n this.requestId = data.requestId;\n this.request = data.request;\n this.response = data.response;\n }\n}\nclass UnhandledExceptionEvent extends TypedEvent {\n error;\n requestId;\n request;\n constructor(type, data) {\n super(...[type, {}]);\n this.error = data.error;\n this.requestId = data.requestId;\n this.request = data.request;\n }\n}\nclass HttpNetworkFrame extends NetworkFrame {\n constructor(options) {\n const id = options.id || createRequestId();\n super(\"http\", { id, request: options.request });\n }\n getHandlers(controller) {\n return controller.getHandlersByKind(\"request\");\n }\n async getUnhandledMessage() {\n const { request } = this.data;\n const url = new URL(request.url);\n const publicUrl = toPublicUrl(url) + url.search;\n const requestBody = request.body == null ? null : await request.clone().text();\n const details = `\n\n \\u2022 ${request.method} ${publicUrl}\n\n${requestBody ? ` \\u2022 Request body: ${requestBody}\n\n` : \"\"}`;\n const message = `intercepted a request without a matching request handler:${details}If you still wish to intercept this unhandled request, please create a request handler for it.\nRead more: https://mswjs.io/docs/http/intercepting-requests`;\n return message;\n }\n async resolve(handlers, onUnhandledFrame, resolutionContext) {\n const { id: requestId, request } = this.data;\n const requestCloneForLogs = resolutionContext?.quiet ? null : request.clone();\n this.events.emit(new RequestEvent(\"request:start\", { requestId, request }));\n if (shouldBypassRequest(request)) {\n this.events.emit(new RequestEvent(\"request:end\", { requestId, request }));\n this.passthrough();\n return null;\n }\n const [lookupError, lookupResult] = await until(() => {\n return executeHandlers({\n requestId,\n request,\n handlers,\n resolutionContext: {\n baseUrl: resolutionContext?.baseUrl?.toString(),\n quiet: resolutionContext?.quiet\n }\n });\n });\n if (lookupError != null) {\n if (!this.events.emit(\n new UnhandledExceptionEvent(\"unhandledException\", {\n error: lookupError,\n requestId,\n request\n })\n )) {\n console.error(lookupError);\n devUtils.error(\n 'Encountered an unhandled exception during the handler lookup for \"%s %s\". Please see the original error above.',\n request.method,\n request.url\n );\n }\n this.errorWith(lookupError);\n return null;\n }\n if (lookupResult == null) {\n this.events.emit(\n new RequestEvent(\"request:unhandled\", {\n requestId,\n request\n })\n );\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n return false;\n }\n const { response, handler, parsedResult } = lookupResult;\n this.events.emit(\n new RequestEvent(\"request:match\", {\n requestId,\n request\n })\n );\n if (response == null) {\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n this.passthrough();\n return null;\n }\n if (isPassthroughResponse(response)) {\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n this.passthrough();\n return null;\n }\n const responseCloneForLogs = resolutionContext?.quiet ? null : response.clone();\n await storeResponseCookies(request, response);\n this.respondWith(response);\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n if (!resolutionContext?.quiet) {\n handler.log({\n request: requestCloneForLogs,\n response: responseCloneForLogs,\n parsedResult\n });\n }\n return true;\n }\n}\nexport {\n HttpNetworkFrame,\n RequestEvent,\n ResponseEvent,\n UnhandledExceptionEvent\n};\n//# sourceMappingURL=http-frame.mjs.map"],"names":["RequestEvent","TypedEvent","requestId","request","constructor","type","data","super","this","ResponseEvent","response","UnhandledExceptionEvent","error","HttpNetworkFrame","NetworkFrame","options","id","createRequestId","getHandlers","controller","getHandlersByKind","getUnhandledMessage","url","URL","publicUrl","toPublicUrl","search","requestBody","body","clone","text","method","resolve","handlers","onUnhandledFrame","resolutionContext","requestCloneForLogs","quiet","events","emit","shouldBypassRequest","passthrough","lookupError","lookupResult","until","executeHandlers","baseUrl","toString","console","devUtils","errorWith","executeUnhandledFrameHandle","then","handler","parsedResult","isPassthroughResponse","responseCloneForLogs","storeResponseCookies","respondWith","log"],"mappings":"sxBAgBA,MAAMA,UAAqBC,EAAAA,WACzBC,UACAC,QACA,WAAAC,CAAYC,EAAMC,GAChBC,MAAUF,EAA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AAU8C,EACVF,kBAGG,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"http-frame.cjs.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/http-frame.mjs"],"sourcesContent":["import { TypedEvent } from \"rettime\";\nimport { until } from \"until-async\";\nimport { createRequestId } from \"@mswjs/interceptors\";\nimport {\n NetworkFrame\n} from './network-frame.mjs';\nimport { toPublicUrl } from '../../utils/request/toPublicUrl.mjs';\nimport { executeHandlers } from '../../utils/executeHandlers.mjs';\nimport { storeResponseCookies } from '../../utils/request/storeResponseCookies.mjs';\nimport { isPassthroughResponse, shouldBypassRequest } from '../request-utils.mjs';\nimport { devUtils } from '../../utils/internal/devUtils.mjs';\nimport {\n executeUnhandledFrameHandle\n} from '../on-unhandled-frame.mjs';\nimport {} from '../handlers-controller.mjs';\nimport {} from '../../handlers/RequestHandler.mjs';\nclass RequestEvent extends TypedEvent {\n requestId;\n request;\n constructor(type, data) {\n super(...[type, {}]);\n this.requestId = data.requestId;\n this.request = data.request;\n }\n}\nclass ResponseEvent extends TypedEvent {\n requestId;\n request;\n response;\n constructor(type, data) {\n super(...[type, {}]);\n this.requestId = data.requestId;\n this.request = data.request;\n this.response = data.response;\n }\n}\nclass UnhandledExceptionEvent extends TypedEvent {\n error;\n requestId;\n request;\n constructor(type, data) {\n super(...[type, {}]);\n this.error = data.error;\n this.requestId = data.requestId;\n this.request = data.request;\n }\n}\nclass HttpNetworkFrame extends NetworkFrame {\n constructor(options) {\n const id = options.id || createRequestId();\n super(\"http\", { id, request: options.request });\n }\n getHandlers(controller) {\n return controller.getHandlersByKind(\"request\");\n }\n async getUnhandledMessage() {\n const { request } = this.data;\n const url = new URL(request.url);\n const publicUrl = toPublicUrl(url) + url.search;\n const requestBody = request.body == null ? null : await request.clone().text();\n const details = `\n\n \\u2022 ${request.method} ${publicUrl}\n\n${requestBody ? ` \\u2022 Request body: ${requestBody}\n\n` : \"\"}`;\n const message = `intercepted a request without a matching request handler:${details}If you still wish to intercept this unhandled request, please create a request handler for it.\nRead more: https://mswjs.io/docs/http/intercepting-requests`;\n return message;\n }\n async resolve(handlers, onUnhandledFrame, resolutionContext) {\n const { id: requestId, request } = this.data;\n const requestCloneForLogs = resolutionContext?.quiet ? null : request.clone();\n this.events.emit(new RequestEvent(\"request:start\", { requestId, request }));\n if (shouldBypassRequest(request)) {\n this.events.emit(new RequestEvent(\"request:end\", { requestId, request }));\n this.passthrough();\n return null;\n }\n const [lookupError, lookupResult] = await until(() => {\n return executeHandlers({\n requestId,\n request,\n handlers,\n resolutionContext: {\n baseUrl: resolutionContext?.baseUrl?.toString(),\n quiet: resolutionContext?.quiet\n }\n });\n });\n if (lookupError != null) {\n if (!this.events.emit(\n new UnhandledExceptionEvent(\"unhandledException\", {\n error: lookupError,\n requestId,\n request\n })\n )) {\n console.error(lookupError);\n devUtils.error(\n 'Encountered an unhandled exception during the handler lookup for \"%s %s\". Please see the original error above.',\n request.method,\n request.url\n );\n }\n this.errorWith(lookupError);\n return null;\n }\n if (lookupResult == null) {\n this.events.emit(\n new RequestEvent(\"request:unhandled\", {\n requestId,\n request\n })\n );\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n return false;\n }\n const { response, handler, parsedResult } = lookupResult;\n this.events.emit(\n new RequestEvent(\"request:match\", {\n requestId,\n request\n })\n );\n if (response == null) {\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n this.passthrough();\n return null;\n }\n if (isPassthroughResponse(response)) {\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n this.passthrough();\n return null;\n }\n const responseCloneForLogs = resolutionContext?.quiet ? null : response.clone();\n await storeResponseCookies(request, response);\n this.respondWith(response);\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n if (!resolutionContext?.quiet) {\n handler.log({\n request: requestCloneForLogs,\n response: responseCloneForLogs,\n parsedResult\n });\n }\n return true;\n }\n}\nexport {\n HttpNetworkFrame,\n RequestEvent,\n ResponseEvent,\n UnhandledExceptionEvent\n};\n//# sourceMappingURL=http-frame.mjs.map"],"names":["RequestEvent","TypedEvent","requestId","request","constructor","type","data","super","this","ResponseEvent","response","UnhandledExceptionEvent","error","HttpNetworkFrame","NetworkFrame","options","id","createRequestId","getHandlers","controller","getHandlersByKind","getUnhandledMessage","url","URL","publicUrl","toPublicUrl","search","requestBody","body","clone","text","method","resolve","handlers","onUnhandledFrame","resolutionContext","requestCloneForLogs","quiet","events","emit","shouldBypassRequest","passthrough","lookupError","lookupResult","until","executeHandlers","baseUrl","toString","console","devUtils","errorWith","executeUnhandledFrameHandle","then","handler","parsedResult","isPassthroughResponse","responseCloneForLogs","storeResponseCookies","respondWith","log"],"mappings":"sxBAgBA,MAAMA,UAAqBC,EAAAA,WACzBC,UACAC,QACA,WAAAC,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKN,UAAYI,EAAKJ,UACtBM,KAAKL,QAAUG,EAAKH,OACtB,EAEF,MAAMM,UAAsBR,EAAAA,WAC1BC,UACAC,QACAO,SACA,WAAAN,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKN,UAAYI,EAAKJ,UACtBM,KAAKL,QAAUG,EAAKH,QACpBK,KAAKE,SAAWJ,EAAKI,QACvB,EAEF,MAAMC,UAAgCV,EAAAA,WACpCW,MACAV,UACAC,QACA,WAAAC,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKI,MAAQN,EAAKM,MAClBJ,KAAKN,UAAYI,EAAKJ,UACtBM,KAAKL,QAAUG,EAAKH,OACtB,EAEF,MAAMU,UAAyBC,EAAAA,aAC7B,WAAAV,CAAYW,GAEVR,MAAM,OAAQ,CAAES,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AUJ,KAAK0C,UAAUtC,IAE5BJ,KAAK8B,OAAOC,KACV,IAAIvC,EAAa,cAAe,CAC9BE,YACAC,cAGG,EAET,MAAMO,SAAEA,EAAQ2C,QAAEA,EAAOC,aAAEA,GAAiBX,EAO5C,GANAnC,KAAK8B,OAAOC,KACV,IAAIvC,EAAa,gBAAiB,CAChCE,YACAC,aAGY,MAAZO,EAQF,OAPAF,KAAK8B,OAAOC,KACV,IAAIvC,EAAa,cAAe,CAC9BE,YACAC,aAGJK,KAAKiC,cACE,KAET,GAAIc,EAAAA,sBAAsB7C,GAQxB,OAPAF,KAAK8B,OAAOC,KACV,IAAIvC,EAAa,cAAe,CAC9BE,YACAC,aAGJK,KAAKiC,cACE,KAET,MAAMe,EAAuBrB,GAAmBE,MAAQ,KAAO3B,EAASmB,QAgBxE,aAfM4B,EAAAA,qBAAqBtD,EAASO,GACpCF,KAAKkD,YAAYhD,GACjBF,KAAK8B,OAAOC,KACV,IAAIvC,EAAa,cAAe,CAC9BE,YACAC,aAGCgC,GAAmBE,OACtBgB,EAAQM,IAAI,CACVxD,QAASiC,EACT1B,SAAU8C,EACVF,kBAGG,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"http-frame.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/http-frame.mjs"],"sourcesContent":["import { TypedEvent } from \"rettime\";\nimport { until } from \"until-async\";\nimport { createRequestId } from \"@mswjs/interceptors\";\nimport {\n NetworkFrame\n} from './network-frame.mjs';\nimport { toPublicUrl } from '../../utils/request/toPublicUrl.mjs';\nimport { executeHandlers } from '../../utils/executeHandlers.mjs';\nimport { storeResponseCookies } from '../../utils/request/storeResponseCookies.mjs';\nimport { isPassthroughResponse, shouldBypassRequest } from '../request-utils.mjs';\nimport { devUtils } from '../../utils/internal/devUtils.mjs';\nimport {\n executeUnhandledFrameHandle\n} from '../on-unhandled-frame.mjs';\nimport {} from '../handlers-controller.mjs';\nimport {} from '../../handlers/RequestHandler.mjs';\nclass RequestEvent extends TypedEvent {\n requestId;\n request;\n constructor(type, data) {\n super(...[type, {}]);\n this.requestId = data.requestId;\n this.request = data.request;\n }\n}\nclass ResponseEvent extends TypedEvent {\n requestId;\n request;\n response;\n constructor(type, data) {\n super(...[type, {}]);\n this.requestId = data.requestId;\n this.request = data.request;\n this.response = data.response;\n }\n}\nclass UnhandledExceptionEvent extends TypedEvent {\n error;\n requestId;\n request;\n constructor(type, data) {\n super(...[type, {}]);\n this.error = data.error;\n this.requestId = data.requestId;\n this.request = data.request;\n }\n}\nclass HttpNetworkFrame extends NetworkFrame {\n constructor(options) {\n const id = options.id || createRequestId();\n super(\"http\", { id, request: options.request });\n }\n getHandlers(controller) {\n return controller.getHandlersByKind(\"request\");\n }\n async getUnhandledMessage() {\n const { request } = this.data;\n const url = new URL(request.url);\n const publicUrl = toPublicUrl(url) + url.search;\n const requestBody = request.body == null ? null : await request.clone().text();\n const details = `\n\n \\u2022 ${request.method} ${publicUrl}\n\n${requestBody ? ` \\u2022 Request body: ${requestBody}\n\n` : \"\"}`;\n const message = `intercepted a request without a matching request handler:${details}If you still wish to intercept this unhandled request, please create a request handler for it.\nRead more: https://mswjs.io/docs/http/intercepting-requests`;\n return message;\n }\n async resolve(handlers, onUnhandledFrame, resolutionContext) {\n const { id: requestId, request } = this.data;\n const requestCloneForLogs = resolutionContext?.quiet ? null : request.clone();\n this.events.emit(new RequestEvent(\"request:start\", { requestId, request }));\n if (shouldBypassRequest(request)) {\n this.events.emit(new RequestEvent(\"request:end\", { requestId, request }));\n this.passthrough();\n return null;\n }\n const [lookupError, lookupResult] = await until(() => {\n return executeHandlers({\n requestId,\n request,\n handlers,\n resolutionContext: {\n baseUrl: resolutionContext?.baseUrl?.toString(),\n quiet: resolutionContext?.quiet\n }\n });\n });\n if (lookupError != null) {\n if (!this.events.emit(\n new UnhandledExceptionEvent(\"unhandledException\", {\n error: lookupError,\n requestId,\n request\n })\n )) {\n console.error(lookupError);\n devUtils.error(\n 'Encountered an unhandled exception during the handler lookup for \"%s %s\". Please see the original error above.',\n request.method,\n request.url\n );\n }\n this.errorWith(lookupError);\n return null;\n }\n if (lookupResult == null) {\n this.events.emit(\n new RequestEvent(\"request:unhandled\", {\n requestId,\n request\n })\n );\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n return false;\n }\n const { response, handler, parsedResult } = lookupResult;\n this.events.emit(\n new RequestEvent(\"request:match\", {\n requestId,\n request\n })\n );\n if (response == null) {\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n this.passthrough();\n return null;\n }\n if (isPassthroughResponse(response)) {\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n this.passthrough();\n return null;\n }\n const responseCloneForLogs = resolutionContext?.quiet ? null : response.clone();\n await storeResponseCookies(request, response);\n this.respondWith(response);\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n if (!resolutionContext?.quiet) {\n handler.log({\n request: requestCloneForLogs,\n response: responseCloneForLogs,\n parsedResult\n });\n }\n return true;\n }\n}\nexport {\n HttpNetworkFrame,\n RequestEvent,\n ResponseEvent,\n UnhandledExceptionEvent\n};\n//# sourceMappingURL=http-frame.mjs.map"],"names":["RequestEvent","TypedEvent","requestId","request","constructor","type","data","super","this","ResponseEvent","response","UnhandledExceptionEvent","error","HttpNetworkFrame","NetworkFrame","options","id","createRequestId","getHandlers","controller","getHandlersByKind","getUnhandledMessage","url","URL","publicUrl","toPublicUrl","search","requestBody","body","clone","text","method","resolve","handlers","onUnhandledFrame","resolutionContext","requestCloneForLogs","quiet","events","emit","shouldBypassRequest","passthrough","lookupError","lookupResult","until","executeHandlers","baseUrl","toString","console","devUtils","errorWith","executeUnhandledFrameHandle","then","handler","parsedResult","isPassthroughResponse","responseCloneForLogs","storeResponseCookies","respondWith","log"],"mappings":"y6BAgBA,MAAMA,UAAqBC,EACzBC,UACAC,QACA,WAAAC,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKN,UAAYI,EAAKJ,UACtBM,KAAKL,QAAUG,EAAKH,OACtB,EAEF,MAAMM,UAAsBR,EAC1BC,UACAC,QACAO,SACA,WAAAN,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKN,UAAYI,EAAKJ,UACtBM,KAAKL,QAAUG,EAAKH,QACpBK,KAAKE,SAAWJ,EAAKI,QACvB,EAEF,MAAMC,UAAgCV,EACpCW,MACAV,UACAC,QACA,WAAAC,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKI,MAAQN,EAAKM,MAClBJ,KAAKN,UAAYI,EAAKJ,UACtBM,KAAKL,QAAUG,EAAKH,OACtB,EAEF,MAAMU,UAAyBC,EAC7B,WAAAV,CAAYW,GAEVR,MAAM,OAAQ,CAAES,GADLD,EAAQC,IAAMC,IACLd,QAASY,EAAQZ,SACvC,CACA,WAAAe,CAAYC,GACV,OAAOA,EAAWC,kBAAkB,UACtC,CACA,yBAAMC,GACJ,MAAMlB,QAAEA,GAAYK,KAAKF,KACnBgB,EAAM,IAAIC,IAAIpB,EAAQmB,KACtBE,EAAYC,EAAYH,GAAOA,EAAII,OACnCC,EAA8B,MAAhBxB,EAAQyB,KAAe,WAAazB,EAAQ0B,QAAQC,OAUxE,MAFgB,4DAPA,WAET3B,EAAQ4B,UAAUP,QAE3BG,EAAc,qBAA0BA,QAEtC,iKAIF,CACA,aAAMK,CAAQC,EAAUC,EAAkBC,GACxC,MAAQnB,GAAId,EAASC,QAAEA,GAAYK,KAAKF,KAClC8B,EAAsBD,GAAmBE,MAAQ,KAAOlC,EAAQ0B,QAEtE,GADArB,KAAK8B,OAAOC,KAAK,IAAIvC,EAAa,gBAAiB,CAA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AC9BE,YACAC,aAGCgC,GAAmBE,OACtBgB,EAAQM,IAAI,CACVxD,QAASiC,EACT1B,SAAU8C,EACVF,kBAGG,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"http-frame.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/http-frame.mjs"],"sourcesContent":["import { TypedEvent } from \"rettime\";\nimport { until } from \"until-async\";\nimport { createRequestId } from \"@mswjs/interceptors\";\nimport {\n NetworkFrame\n} from './network-frame.mjs';\nimport { toPublicUrl } from '../../utils/request/toPublicUrl.mjs';\nimport { executeHandlers } from '../../utils/executeHandlers.mjs';\nimport { storeResponseCookies } from '../../utils/request/storeResponseCookies.mjs';\nimport { isPassthroughResponse, shouldBypassRequest } from '../request-utils.mjs';\nimport { devUtils } from '../../utils/internal/devUtils.mjs';\nimport {\n executeUnhandledFrameHandle\n} from '../on-unhandled-frame.mjs';\nimport {} from '../handlers-controller.mjs';\nimport {} from '../../handlers/RequestHandler.mjs';\nclass RequestEvent extends TypedEvent {\n requestId;\n request;\n constructor(type, data) {\n super(...[type, {}]);\n this.requestId = data.requestId;\n this.request = data.request;\n }\n}\nclass ResponseEvent extends TypedEvent {\n requestId;\n request;\n response;\n constructor(type, data) {\n super(...[type, {}]);\n this.requestId = data.requestId;\n this.request = data.request;\n this.response = data.response;\n }\n}\nclass UnhandledExceptionEvent extends TypedEvent {\n error;\n requestId;\n request;\n constructor(type, data) {\n super(...[type, {}]);\n this.error = data.error;\n this.requestId = data.requestId;\n this.request = data.request;\n }\n}\nclass HttpNetworkFrame extends NetworkFrame {\n constructor(options) {\n const id = options.id || createRequestId();\n super(\"http\", { id, request: options.request });\n }\n getHandlers(controller) {\n return controller.getHandlersByKind(\"request\");\n }\n async getUnhandledMessage() {\n const { request } = this.data;\n const url = new URL(request.url);\n const publicUrl = toPublicUrl(url) + url.search;\n const requestBody = request.body == null ? null : await request.clone().text();\n const details = `\n\n \\u2022 ${request.method} ${publicUrl}\n\n${requestBody ? ` \\u2022 Request body: ${requestBody}\n\n` : \"\"}`;\n const message = `intercepted a request without a matching request handler:${details}If you still wish to intercept this unhandled request, please create a request handler for it.\nRead more: https://mswjs.io/docs/http/intercepting-requests`;\n return message;\n }\n async resolve(handlers, onUnhandledFrame, resolutionContext) {\n const { id: requestId, request } = this.data;\n const requestCloneForLogs = resolutionContext?.quiet ? null : request.clone();\n this.events.emit(new RequestEvent(\"request:start\", { requestId, request }));\n if (shouldBypassRequest(request)) {\n this.events.emit(new RequestEvent(\"request:end\", { requestId, request }));\n this.passthrough();\n return null;\n }\n const [lookupError, lookupResult] = await until(() => {\n return executeHandlers({\n requestId,\n request,\n handlers,\n resolutionContext: {\n baseUrl: resolutionContext?.baseUrl?.toString(),\n quiet: resolutionContext?.quiet\n }\n });\n });\n if (lookupError != null) {\n if (!this.events.emit(\n new UnhandledExceptionEvent(\"unhandledException\", {\n error: lookupError,\n requestId,\n request\n })\n )) {\n console.error(lookupError);\n devUtils.error(\n 'Encountered an unhandled exception during the handler lookup for \"%s %s\". Please see the original error above.',\n request.method,\n request.url\n );\n }\n this.errorWith(lookupError);\n return null;\n }\n if (lookupResult == null) {\n this.events.emit(\n new RequestEvent(\"request:unhandled\", {\n requestId,\n request\n })\n );\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n return false;\n }\n const { response, handler, parsedResult } = lookupResult;\n this.events.emit(\n new RequestEvent(\"request:match\", {\n requestId,\n request\n })\n );\n if (response == null) {\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n this.passthrough();\n return null;\n }\n if (isPassthroughResponse(response)) {\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n this.passthrough();\n return null;\n }\n const responseCloneForLogs = resolutionContext?.quiet ? null : response.clone();\n await storeResponseCookies(request, response);\n this.respondWith(response);\n this.events.emit(\n new RequestEvent(\"request:end\", {\n requestId,\n request\n })\n );\n if (!resolutionContext?.quiet) {\n handler.log({\n request: requestCloneForLogs,\n response: responseCloneForLogs,\n parsedResult\n });\n }\n return true;\n }\n}\nexport {\n HttpNetworkFrame,\n RequestEvent,\n ResponseEvent,\n UnhandledExceptionEvent\n};\n//# sourceMappingURL=http-frame.mjs.map"],"names":["RequestEvent","TypedEvent","requestId","request","constructor","type","data","super","this","ResponseEvent","response","UnhandledExceptionEvent","error","HttpNetworkFrame","NetworkFrame","options","id","createRequestId","getHandlers","controller","getHandlersByKind","getUnhandledMessage","url","URL","publicUrl","toPublicUrl","search","requestBody","body","clone","text","method","resolve","handlers","onUnhandledFrame","resolutionContext","requestCloneForLogs","quiet","events","emit","shouldBypassRequest","passthrough","lookupError","lookupResult","until","executeHandlers","baseUrl","toString","console","devUtils","errorWith","executeUnhandledFrameHandle","then","handler","parsedResult","isPassthroughResponse","responseCloneForLogs","storeResponseCookies","respondWith","log"],"mappings":"y6BAgBA,MAAMA,UAAqBC,EACzBC,UACAC,QACA,WAAAC,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKN,UAAYI,EAAKJ,UACtBM,KAAKL,QAAUG,EAAKH,OACtB,EAEF,MAAMM,UAAsBR,EAC1BC,UACAC,QACAO,SACA,WAAAN,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKN,UAAYI,EAAKJ,UACtBM,KAAKL,QAAUG,EAAKH,QACpBK,KAAKE,SAAWJ,EAAKI,QACvB,EAEF,MAAMC,UAAgCV,EACpCW,MACAV,UACAC,QACA,WAAAC,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKI,MAAQN,EAAKM,MAClBJ,KAAKN,UAAYI,EAAKJ,UACtBM,KAAKL,QAAUG,EAAKH,OACtB,EAEF,MAAMU,UAAyBC,EAC7B,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ACV7B,GAAUJ,KAAK0C,UAAUtC,IAE5BJ,KAAK8B,OAAOC,KACV,IAAIvC,EAAa,cAAe,CAC9BE,YACAC,cAGG,EAET,MAAMO,SAAEA,EAAQ2C,QAAEA,EAAOC,aAAEA,GAAiBX,EAO5C,GANAnC,KAAK8B,OAAOC,KACV,IAAIvC,EAAa,gBAAiB,CAChCE,YACAC,aAGY,MAAZO,EAQF,OAPAF,KAAK8B,OAAOC,KACV,IAAIvC,EAAa,cAAe,CAC9BE,YACAC,aAGJK,KAAKiC,cACE,KAET,GAAIc,EAAsB7C,GAQxB,OAPAF,KAAK8B,OAAOC,KACV,IAAIvC,EAAa,cAAe,CAC9BE,YACAC,aAGJK,KAAKiC,cACE,KAET,MAAMe,EAAuBrB,GAAmBE,MAAQ,KAAO3B,EAASmB,QAgBxE,aAfM4B,EAAqBtD,EAASO,GACpCF,KAAKkD,YAAYhD,GACjBF,KAAK8B,OAAOC,KACV,IAAIvC,EAAa,cAAe,CAC9BE,YACAC,aAGCgC,GAAmBE,OACtBgB,EAAQM,IAAI,CACVxD,QAASiC,EACT1B,SAAU8C,EACVF,kBAGG,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"network-frame.cjs.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/network-frame.mjs"],"sourcesContent":["import { Emitter } from \"rettime\";\nclass NetworkFrame {\n constructor(protocol, data) {\n this.protocol = protocol;\n this.data = data;\n this.events = new Emitter();\n }\n events;\n}\nexport {\n NetworkFrame\n};\n//# sourceMappingURL=network-frame.mjs.map"],"names":["constructor","protocol","data","this","events","Emitter"],"mappings":"gIACA,MACE,WAAAA,CAAYC,EAAUC,GACpBC,KAAKF,SAAWA,EAChBE,KAAKD,KAAOA,EACZC,KAAKC,OAAS,IAAIC,SACpB,CACAD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"network-frame.cjs.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/network-frame.mjs"],"sourcesContent":["import { Emitter } from \"rettime\";\nclass NetworkFrame {\n constructor(protocol, data) {\n this.protocol = protocol;\n this.data = data;\n this.events = new Emitter();\n }\n events;\n}\nexport {\n NetworkFrame\n};\n//# sourceMappingURL=network-frame.mjs.map"],"names":["constructor","protocol","data","this","events","Emitter"],"mappings":"gIACA,MACE,WAAAA,CAAYC,EAAUC,GACpBC,KAAKF,SAAWA,EAChBE,KAAKD,KAAOA,EACZC,KAAKC,OAAS,IAAIC,SACpB,CACAD","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"network-frame.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/network-frame.mjs"],"sourcesContent":["import { Emitter } from \"rettime\";\nclass NetworkFrame {\n constructor(protocol, data) {\n this.protocol = protocol;\n this.data = data;\n this.events = new Emitter();\n }\n events;\n}\nexport {\n NetworkFrame\n};\n//# sourceMappingURL=network-frame.mjs.map"],"names":["NetworkFrame","constructor","protocol","data","this","events","Emitter"],"mappings":"mGACA,MAAMA,EACJ,WAAAC,CAAYC,EAAUC,GACpBC,KAAKF,SAAWA,EAChBE,KAAKD,KAAOA,EACZC,KAAKC,OAAS,IAAIC,CACpB,CACAD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"network-frame.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/network-frame.mjs"],"sourcesContent":["import { Emitter } from \"rettime\";\nclass NetworkFrame {\n constructor(protocol, data) {\n this.protocol = protocol;\n this.data = data;\n this.events = new Emitter();\n }\n events;\n}\nexport {\n NetworkFrame\n};\n//# sourceMappingURL=network-frame.mjs.map"],"names":["NetworkFrame","constructor","protocol","data","this","events","Emitter"],"mappings":"mGACA,MAAMA,EACJ,WAAAC,CAAYC,EAAUC,GACpBC,KAAKF,SAAWA,EAChBE,KAAKD,KAAOA,EACZC,KAAKC,OAAS,IAAIC,CACpB,CACAD","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"websocket-frame.cjs.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/websocket-frame.mjs"],"sourcesContent":["import { TypedEvent } from \"rettime\";\nimport {} from \"@mswjs/interceptors/WebSocket\";\nimport {\n kConnect,\n kAutoConnect\n} from '../../handlers/WebSocketHandler.mjs';\nimport {\n NetworkFrame\n} from './network-frame.mjs';\nimport {\n executeUnhandledFrameHandle\n} from '../on-unhandled-frame.mjs';\nimport { devUtils } from '../../utils/internal/devUtils.mjs';\nimport {} from '../handlers-controller.mjs';\nclass WebSocketConnectionEvent extends TypedEvent {\n url;\n protocols;\n constructor(type, data) {\n super(...[type, {}]);\n this.url = data.url;\n this.protocols = data.protocols;\n }\n}\nclass UnhandledWebSocketExceptionEvent extends TypedEvent {\n url;\n protocols;\n error;\n constructor(type, data) {\n super(...[type, {}]);\n this.url = data.url;\n this.protocols = data.protocols;\n this.error = data.error;\n }\n}\nclass WebSocketNetworkFrame extends NetworkFrame {\n constructor(options) {\n super(\"ws\", {\n connection: options.connection\n });\n }\n getHandlers(controller) {\n return controller.getHandlersByKind(\"websocket\");\n }\n async resolve(handlers, onUnhandledFrame, resolutionContext) {\n const { connection } = this.data;\n this.events.emit(\n new WebSocketConnectionEvent(\"connection\", {\n url: connection.client.url,\n protocols: connection.info.protocols\n })\n );\n if (handlers.length === 0) {\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n return false;\n }\n let hasMatchingHandlers = false;\n for (const handler of handlers) {\n const handlerConnection = await handler.run(connection, {\n baseUrl: resolutionContext?.baseUrl?.toString(),\n /**\n * @note Do not emit the \"connection\" event when running the handler.\n * Use the run only to get the resolved connection object.\n */\n [kAutoConnect]: false\n });\n if (!handlerConnection) {\n continue;\n }\n hasMatchingHandlers = true;\n const removeLogger = !resolutionContext?.quiet ? handler.log(connection) : void 0;\n try {\n if (!handler[kConnect](handlerConnection)) {\n removeLogger?.();\n }\n } catch (error) {\n if (!this.events.emit(\n new UnhandledWebSocketExceptionEvent(\"unhandledException\", {\n error,\n url: connection.client.url,\n protocols: connection.info.protocols\n })\n )) {\n console.error(error);\n devUtils.error(\n 'Encountered an unhandled exception during the handler lookup for \"%s\". Please see the original error above.',\n connection.client.url\n );\n }\n throw error;\n }\n }\n if (!hasMatchingHandlers) {\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n return false;\n }\n return true;\n }\n async getUnhandledMessage() {\n const { connection } = this.data;\n const details = `\n\n \\u2022 ${connection.client.url}\n\n`;\n return `intercepted a WebSocket connection without a matching event handler:${details}If you still wish to intercept this unhandled connection, please create an event handler for it.\nRead more: https://mswjs.io/docs/websocket`;\n }\n}\nexport {\n WebSocketNetworkFrame\n};\n//# sourceMappingURL=websocket-frame.mjs.map"],"names":["WebSocketConnectionEvent","TypedEvent","url","protocols","constructor","type","data","super","this","UnhandledWebSocketExceptionEvent","error","WebSocketNetworkFrame","NetworkFrame","options","connection","getHandlers","controller","getHandlersByKind","resolve","handlers","onUnhandledFrame","resolutionContext","events","emit","client","info","length","executeUnhandledFrameHandle","then","passthrough","errorWith","hasMatchingHandlers","handler","handlerConnection","run","baseUrl","toString","kAutoConnect","removeLogger","quiet","log","kConnect","console","devUtils","getUnhandledMessage"],"mappings":"+aAcA,MAAMA,UAAiCC,EAAAA,WACrCC,IACAC,UACA,WAAAC,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKN,IAAMI,EAAKJ,IAChBM,KAAKL,UAAYG,EAAKH,SACxB,EA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KqB,cACVnB,GAAUF,KAAKsB,UAAUpB,KAErB,EAGX,CACA,yBAAMkC,GACJ,MAAM9B,WAAEA,GAAeN,KAAKF,KAM5B,MAAO,uEALS,WAETQ,EAAWU,OAAOtB,uJAK3B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"websocket-frame.cjs.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/websocket-frame.mjs"],"sourcesContent":["import { TypedEvent } from \"rettime\";\nimport {} from \"@mswjs/interceptors/WebSocket\";\nimport {\n kConnect,\n kAutoConnect\n} from '../../handlers/WebSocketHandler.mjs';\nimport {\n NetworkFrame\n} from './network-frame.mjs';\nimport {\n executeUnhandledFrameHandle\n} from '../on-unhandled-frame.mjs';\nimport { devUtils } from '../../utils/internal/devUtils.mjs';\nimport {} from '../handlers-controller.mjs';\nclass WebSocketConnectionEvent extends TypedEvent {\n url;\n protocols;\n constructor(type, data) {\n super(...[type, {}]);\n this.url = data.url;\n this.protocols = data.protocols;\n }\n}\nclass UnhandledWebSocketExceptionEvent extends TypedEvent {\n url;\n protocols;\n error;\n constructor(type, data) {\n super(...[type, {}]);\n this.url = data.url;\n this.protocols = data.protocols;\n this.error = data.error;\n }\n}\nclass WebSocketNetworkFrame extends NetworkFrame {\n constructor(options) {\n super(\"ws\", {\n connection: options.connection\n });\n }\n getHandlers(controller) {\n return controller.getHandlersByKind(\"websocket\");\n }\n async resolve(handlers, onUnhandledFrame, resolutionContext) {\n const { connection } = this.data;\n this.events.emit(\n new WebSocketConnectionEvent(\"connection\", {\n url: connection.client.url,\n protocols: connection.info.protocols\n })\n );\n if (handlers.length === 0) {\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n return false;\n }\n let hasMatchingHandlers = false;\n for (const handler of handlers) {\n const handlerConnection = await handler.run(connection, {\n baseUrl: resolutionContext?.baseUrl?.toString(),\n /**\n * @note Do not emit the \"connection\" event when running the handler.\n * Use the run only to get the resolved connection object.\n */\n [kAutoConnect]: false\n });\n if (!handlerConnection) {\n continue;\n }\n hasMatchingHandlers = true;\n const removeLogger = !resolutionContext?.quiet ? handler.log(connection) : void 0;\n try {\n if (!handler[kConnect](handlerConnection)) {\n removeLogger?.();\n }\n } catch (error) {\n if (!this.events.emit(\n new UnhandledWebSocketExceptionEvent(\"unhandledException\", {\n error,\n url: connection.client.url,\n protocols: connection.info.protocols\n })\n )) {\n console.error(error);\n devUtils.error(\n 'Encountered an unhandled exception during the handler lookup for \"%s\". Please see the original error above.',\n connection.client.url\n );\n }\n throw error;\n }\n }\n if (!hasMatchingHandlers) {\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n return false;\n }\n return true;\n }\n async getUnhandledMessage() {\n const { connection } = this.data;\n const details = `\n\n \\u2022 ${connection.client.url}\n\n`;\n return `intercepted a WebSocket connection without a matching event handler:${details}If you still wish to intercept this unhandled connection, please create an event handler for it.\nRead more: https://mswjs.io/docs/websocket`;\n }\n}\nexport {\n WebSocketNetworkFrame\n};\n//# sourceMappingURL=websocket-frame.mjs.map"],"names":["WebSocketConnectionEvent","TypedEvent","url","protocols","constructor","type","data","super","this","UnhandledWebSocketExceptionEvent","error","WebSocketNetworkFrame","NetworkFrame","options","connection","getHandlers","controller","getHandlersByKind","resolve","handlers","onUnhandledFrame","resolutionContext","events","emit","client","info","length","executeUnhandledFrameHandle","then","passthrough","errorWith","hasMatchingHandlers","handler","handlerConnection","run","baseUrl","toString","kAutoConnect","removeLogger","quiet","log","kConnect","console","devUtils","getUnhandledMessage"],"mappings":"+aAcA,MAAMA,UAAiCC,EAAAA,WACrCC,IACAC,UACA,WAAAC,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKN,IAAMI,EAAKJ,IAChBM,KAAKL,UAAYG,EAAKH,SACxB,EAEF,MAAMM,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,GAAUF,KAAKsB,UAAUpB,KAErB,EAGX,CACA,yBAAMkC,GACJ,MAAM9B,WAAEA,GAAeN,KAAKF,KAM5B,MAAO,uEALS,WAETQ,EAAWU,OAAOtB,uJAK3B","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"websocket-frame.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/websocket-frame.mjs"],"sourcesContent":["import { TypedEvent } from \"rettime\";\nimport {} from \"@mswjs/interceptors/WebSocket\";\nimport {\n kConnect,\n kAutoConnect\n} from '../../handlers/WebSocketHandler.mjs';\nimport {\n NetworkFrame\n} from './network-frame.mjs';\nimport {\n executeUnhandledFrameHandle\n} from '../on-unhandled-frame.mjs';\nimport { devUtils } from '../../utils/internal/devUtils.mjs';\nimport {} from '../handlers-controller.mjs';\nclass WebSocketConnectionEvent extends TypedEvent {\n url;\n protocols;\n constructor(type, data) {\n super(...[type, {}]);\n this.url = data.url;\n this.protocols = data.protocols;\n }\n}\nclass UnhandledWebSocketExceptionEvent extends TypedEvent {\n url;\n protocols;\n error;\n constructor(type, data) {\n super(...[type, {}]);\n this.url = data.url;\n this.protocols = data.protocols;\n this.error = data.error;\n }\n}\nclass WebSocketNetworkFrame extends NetworkFrame {\n constructor(options) {\n super(\"ws\", {\n connection: options.connection\n });\n }\n getHandlers(controller) {\n return controller.getHandlersByKind(\"websocket\");\n }\n async resolve(handlers, onUnhandledFrame, resolutionContext) {\n const { connection } = this.data;\n this.events.emit(\n new WebSocketConnectionEvent(\"connection\", {\n url: connection.client.url,\n protocols: connection.info.protocols\n })\n );\n if (handlers.length === 0) {\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n return false;\n }\n let hasMatchingHandlers = false;\n for (const handler of handlers) {\n const handlerConnection = await handler.run(connection, {\n baseUrl: resolutionContext?.baseUrl?.toString(),\n /**\n * @note Do not emit the \"connection\" event when running the handler.\n * Use the run only to get the resolved connection object.\n */\n [kAutoConnect]: false\n });\n if (!handlerConnection) {\n continue;\n }\n hasMatchingHandlers = true;\n const removeLogger = !resolutionContext?.quiet ? handler.log(connection) : void 0;\n try {\n if (!handler[kConnect](handlerConnection)) {\n removeLogger?.();\n }\n } catch (error) {\n if (!this.events.emit(\n new UnhandledWebSocketExceptionEvent(\"unhandledException\", {\n error,\n url: connection.client.url,\n protocols: connection.info.protocols\n })\n )) {\n console.error(error);\n devUtils.error(\n 'Encountered an unhandled exception during the handler lookup for \"%s\". Please see the original error above.',\n connection.client.url\n );\n }\n throw error;\n }\n }\n if (!hasMatchingHandlers) {\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n return false;\n }\n return true;\n }\n async getUnhandledMessage() {\n const { connection } = this.data;\n const details = `\n\n \\u2022 ${connection.client.url}\n\n`;\n return `intercepted a WebSocket connection without a matching event handler:${details}If you still wish to intercept this unhandled connection, please create an event handler for it.\nRead more: https://mswjs.io/docs/websocket`;\n }\n}\nexport {\n WebSocketNetworkFrame\n};\n//# sourceMappingURL=websocket-frame.mjs.map"],"names":["WebSocketConnectionEvent","TypedEvent","url","protocols","constructor","type","data","super","this","UnhandledWebSocketExceptionEvent","error","WebSocketNetworkFrame","NetworkFrame","options","connection","getHandlers","controller","getHandlersByKind","resolve","handlers","onUnhandledFrame","resolutionContext","events","emit","client","info","length","executeUnhandledFrameHandle","then","passthrough","errorWith","hasMatchingHandlers","handler","handlerConnection","run","baseUrl","toString","kAutoConnect","removeLogger","quiet","log","kConnect","console","devUtils","getUnhandledMessage"],"mappings":"gfAcA,MAAMA,UAAiCC,EACrCC,IACAC,UACA,WAAAC,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKN,IAAMI,EAAKJ,IAChBM,KAAKL,UAAYG,EAAKH,SACxB,EAEF,MAAMM,UAAyCR,E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GX,CACA,yBAAMkC,GACJ,MAAM9B,WAAEA,GAAeN,KAAKF,KAM5B,MAAO,uEALS,WAETQ,EAAWU,OAAOtB,uJAK3B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"websocket-frame.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/frames/websocket-frame.mjs"],"sourcesContent":["import { TypedEvent } from \"rettime\";\nimport {} from \"@mswjs/interceptors/WebSocket\";\nimport {\n kConnect,\n kAutoConnect\n} from '../../handlers/WebSocketHandler.mjs';\nimport {\n NetworkFrame\n} from './network-frame.mjs';\nimport {\n executeUnhandledFrameHandle\n} from '../on-unhandled-frame.mjs';\nimport { devUtils } from '../../utils/internal/devUtils.mjs';\nimport {} from '../handlers-controller.mjs';\nclass WebSocketConnectionEvent extends TypedEvent {\n url;\n protocols;\n constructor(type, data) {\n super(...[type, {}]);\n this.url = data.url;\n this.protocols = data.protocols;\n }\n}\nclass UnhandledWebSocketExceptionEvent extends TypedEvent {\n url;\n protocols;\n error;\n constructor(type, data) {\n super(...[type, {}]);\n this.url = data.url;\n this.protocols = data.protocols;\n this.error = data.error;\n }\n}\nclass WebSocketNetworkFrame extends NetworkFrame {\n constructor(options) {\n super(\"ws\", {\n connection: options.connection\n });\n }\n getHandlers(controller) {\n return controller.getHandlersByKind(\"websocket\");\n }\n async resolve(handlers, onUnhandledFrame, resolutionContext) {\n const { connection } = this.data;\n this.events.emit(\n new WebSocketConnectionEvent(\"connection\", {\n url: connection.client.url,\n protocols: connection.info.protocols\n })\n );\n if (handlers.length === 0) {\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n return false;\n }\n let hasMatchingHandlers = false;\n for (const handler of handlers) {\n const handlerConnection = await handler.run(connection, {\n baseUrl: resolutionContext?.baseUrl?.toString(),\n /**\n * @note Do not emit the \"connection\" event when running the handler.\n * Use the run only to get the resolved connection object.\n */\n [kAutoConnect]: false\n });\n if (!handlerConnection) {\n continue;\n }\n hasMatchingHandlers = true;\n const removeLogger = !resolutionContext?.quiet ? handler.log(connection) : void 0;\n try {\n if (!handler[kConnect](handlerConnection)) {\n removeLogger?.();\n }\n } catch (error) {\n if (!this.events.emit(\n new UnhandledWebSocketExceptionEvent(\"unhandledException\", {\n error,\n url: connection.client.url,\n protocols: connection.info.protocols\n })\n )) {\n console.error(error);\n devUtils.error(\n 'Encountered an unhandled exception during the handler lookup for \"%s\". Please see the original error above.',\n connection.client.url\n );\n }\n throw error;\n }\n }\n if (!hasMatchingHandlers) {\n await executeUnhandledFrameHandle(this, onUnhandledFrame).then(\n () => this.passthrough(),\n (error) => this.errorWith(error)\n );\n return false;\n }\n return true;\n }\n async getUnhandledMessage() {\n const { connection } = this.data;\n const details = `\n\n \\u2022 ${connection.client.url}\n\n`;\n return `intercepted a WebSocket connection without a matching event handler:${details}If you still wish to intercept this unhandled connection, please create an event handler for it.\nRead more: https://mswjs.io/docs/websocket`;\n }\n}\nexport {\n WebSocketNetworkFrame\n};\n//# sourceMappingURL=websocket-frame.mjs.map"],"names":["WebSocketConnectionEvent","TypedEvent","url","protocols","constructor","type","data","super","this","UnhandledWebSocketExceptionEvent","error","WebSocketNetworkFrame","NetworkFrame","options","connection","getHandlers","controller","getHandlersByKind","resolve","handlers","onUnhandledFrame","resolutionContext","events","emit","client","info","length","executeUnhandledFrameHandle","then","passthrough","errorWith","hasMatchingHandlers","handler","handlerConnection","run","baseUrl","toString","kAutoConnect","removeLogger","quiet","log","kConnect","console","devUtils","getUnhandledMessage"],"mappings":"gfAcA,MAAMA,UAAiCC,EACrCC,IACAC,UACA,WAAAC,CAAYC,EAAMC,GAChBC,MAAUF,EAAM,CAAA,GAChBG,KAAKN,IAAMI,EAAKJ,IAChBM,KAAKL,UAAYG,EAAKH,SACxB,EAEF,MAAMM,UAAyCR,EAC7CC,IACAC,UACAO,MACA,WAAAN,CAAYC,EAAMC,G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KAAKF,KAM5B,MAAO,uEALS,WAETQ,EAAWU,OAAOtB,uJAK3B","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"handlers-controller.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/handlers-controller.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport {} from '../handlers/RequestHandler.mjs';\nimport {} from '../handlers/WebSocketHandler.mjs';\nimport { devUtils } from '../utils/internal/devUtils.mjs';\nimport { getSiblingHandlers } from '../utils/internal/attachSiblingHandlers.mjs';\nfunction groupHandlersByKind(handlers) {\n const groups = {};\n const pushUnique = (kind, handler) => {\n const bucket = groups[kind] ||= [];\n if (!bucket.includes(handler)) {\n bucket.push(handler);\n }\n };\n for (const handler of handlers) {\n pushUnique(handler.kind, handler);\n for (const sibling of getSiblingHandlers(handler)) {\n pushUnique(sibling.kind, sibling);\n }\n }\n return groups;\n}\nclass HandlersController {\n getInitialState(initialHandlers) {\n invariant(\n this.#validateHandlers(initialHandlers),\n devUtils.formatMessage(\n \"Failed to apply given request handlers: invalid input. Did you forget to spread the request handlers Array?\"\n )\n );\n const normalizedInitialHandlers = groupHandlersByKind(initialHandlers);\n return {\n initialHandlers: normalizedInitialHandlers,\n handlers: { ...normalizedInitialHandlers }\n };\n }\n currentHandlers() {\n return Object.values(this.getState().handlers).flat().filter((handler) => handler != null);\n }\n getHandlersByKind(kind) {\n return this.getState().handlers[kind] || [];\n }\n use(nextHandlers) {\n invariant(\n this.#validateHandlers(nextHandlers),\n devUtils.formatMessage(\n '[MSW] Failed to call \"use()\" with the given request handlers: invalid input. Did you forget to spread the array of request handlers?'\n )\n );\n if (nextHandlers.length === 0) {\n return;\n }\n const { handlers } = this.getState();\n const overrides = groupHandlersByKind(nextHandlers);\n for (const kind in overrides) {\n const overridesForKind = overrides[kind];\n const existingForKind = handlers[kind];\n handlers[kind] = existingForKind ? [...overridesForKind, ...existingForKind] : overridesForKind;\n }\n this.setState({ handlers });\n }\n reset(nextHandlers) {\n invariant(\n nextHandlers.length > 0 ? this.#validateHandlers(nextHandlers) : true,\n devUtils.formatMessage(\n \"Failed to replace initial handlers during reset: invalid handlers. Did you forget to spread the handlers array?\"\n )\n );\n for (const handler of this.currentHandlers()) {\n if (\"reset\" in handler) {\n handler[\"reset\"]();\n }\n }\n const { initialHandlers } = this.getState();\n if (nextHandlers.length === 0) {\n this.setState({\n handlers: { ...initialHandlers }\n });\n return;\n }\n const normalizedNextHandlers = groupHandlersByKind(nextHandlers);\n this.setState({\n initialHandlers: normalizedNextHandlers,\n handlers: { ...normalizedNextHandlers }\n });\n }\n restore() {\n for (const handler of this.currentHandlers()) {\n if (\"restore\" in handler) {\n handler[\"restore\"]();\n }\n }\n }\n #validateHandlers(handlers) {\n return handlers.every((handler) => !Array.isArray(handler));\n }\n}\nclass InMemoryHandlersController extends HandlersController {\n #handlers;\n #initialHandlers;\n constructor(initialHandlers) {\n super();\n const initialState = this.getInitialState(initialHandlers);\n this.#initialHandlers = initialState.initialHandlers;\n this.#handlers = initialState.handlers;\n }\n getState() {\n return {\n initialHandlers: this.#initialHandlers,\n handlers: this.#handlers\n };\n }\n setState(nextState) {\n if (nextState.initialHandlers) {\n this.#initialHandlers = nextState.initialHandlers;\n }\n if (nextState.handlers) {\n this.#handlers = nextState.handlers;\n }\n }\n}\nexport {\n HandlersController,\n InMemoryHandlersController,\n groupHandlersByKind\n};\n//# sourceMappingURL=handlers-controller.mjs.map"],"names":["groupHandlersByKind","handlers","groups","pushUnique","kind","handler","bucket","includes","push","sibling","getSiblingHandlers","HandlersController","getInitialState","initialHandlers","invariant","this","validateHandlers","devUtils","formatMessage","normalizedInitialHandlers","currentHandlers","Object","values","getState","flat","filter","getHandlersByKind","use","nextHandlers","length","overrides","overridesForKind","existingForKind","setState","reset","normalizedNextHandlers","restore","every","Array","isArray","constructor","super","initialState","nextState"],"mappings":"qNAKA,SAASA,EAAo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BK,EAAaC,OAIf,YAHAd,KAAKkB,SAAS,CACZhC,SAAU,IAAKY,KAInB,MAAMsB,EAAyBnC,EAAoB4B,GACnDb,KAAKkB,SAAS,CACZpB,gBAAiBsB,EACjBlC,SAAU,IAAKkC,IAEnB,CACA,OAAAC,GACE,IAAK,MAAM/B,KAAWU,KAAKK,kBACrB,YAAaf,GACfA,EAAiB,SAGvB,CACA,EAAAW,CAAkBf,GAChB,OAAOA,EAASoC,MAAOhC,IAAaiC,MAAMC,QAAQlC,GACpD,kEAEF,cAAyCM,EACvCV,GACAY,GACA,WAAA2B,CAAY3B,GACV4B,QACA,MAAMC,EAAe3B,KAAKH,gBAAgBC,GAC1CE,MAAKF,EAAmB6B,EAAa7B,gBACrCE,MAAKd,EAAYyC,EAAazC,QAChC,CACA,QAAAsB,GACE,MAAO,CACLV,gBAAiBE,MAAKF,EACtBZ,SAAUc,MAAKd,EAEnB,CACA,QAAAgC,CAASU,GACHA,EAAU9B,kBACZE,MAAKF,EAAmB8B,EAAU9B,iBAEhC8B,EAAU1C,WACZc,MAAKd,EAAY0C,EAAU1C,SAE/B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"handlers-controller.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/handlers-controller.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport {} from '../handlers/RequestHandler.mjs';\nimport {} from '../handlers/WebSocketHandler.mjs';\nimport { devUtils } from '../utils/internal/devUtils.mjs';\nimport { getSiblingHandlers } from '../utils/internal/attachSiblingHandlers.mjs';\nfunction groupHandlersByKind(handlers) {\n const groups = {};\n const pushUnique = (kind, handler) => {\n const bucket = groups[kind] ||= [];\n if (!bucket.includes(handler)) {\n bucket.push(handler);\n }\n };\n for (const handler of handlers) {\n pushUnique(handler.kind, handler);\n for (const sibling of getSiblingHandlers(handler)) {\n pushUnique(sibling.kind, sibling);\n }\n }\n return groups;\n}\nclass HandlersController {\n getInitialState(initialHandlers) {\n invariant(\n this.#validateHandlers(initialHandlers),\n devUtils.formatMessage(\n \"Failed to apply given request handlers: invalid input. Did you forget to spread the request handlers Array?\"\n )\n );\n const normalizedInitialHandlers = groupHandlersByKind(initialHandlers);\n return {\n initialHandlers: normalizedInitialHandlers,\n handlers: { ...normalizedInitialHandlers }\n };\n }\n currentHandlers() {\n return Object.values(this.getState().handlers).flat().filter((handler) => handler != null);\n }\n getHandlersByKind(kind) {\n return this.getState().handlers[kind] || [];\n }\n use(nextHandlers) {\n invariant(\n this.#validateHandlers(nextHandlers),\n devUtils.formatMessage(\n '[MSW] Failed to call \"use()\" with the given request handlers: invalid input. Did you forget to spread the array of request handlers?'\n )\n );\n if (nextHandlers.length === 0) {\n return;\n }\n const { handlers } = this.getState();\n const overrides = groupHandlersByKind(nextHandlers);\n for (const kind in overrides) {\n const overridesForKind = overrides[kind];\n const existingForKind = handlers[kind];\n handlers[kind] = existingForKind ? [...overridesForKind, ...existingForKind] : overridesForKind;\n }\n this.setState({ handlers });\n }\n reset(nextHandlers) {\n invariant(\n nextHandlers.length > 0 ? this.#validateHandlers(nextHandlers) : true,\n devUtils.formatMessage(\n \"Failed to replace initial handlers during reset: invalid handlers. Did you forget to spread the handlers array?\"\n )\n );\n for (const handler of this.currentHandlers()) {\n if (\"reset\" in handler) {\n handler[\"reset\"]();\n }\n }\n const { initialHandlers } = this.getState();\n if (nextHandlers.length === 0) {\n this.setState({\n handlers: { ...initialHandlers }\n });\n return;\n }\n const normalizedNextHandlers = groupHandlersByKind(nextHandlers);\n this.setState({\n initialHandlers: normalizedNextHandlers,\n handlers: { ...normalizedNextHandlers }\n });\n }\n restore() {\n for (const handler of this.currentHandlers()) {\n if (\"restore\" in handler) {\n handler[\"restore\"]();\n }\n }\n }\n #validateHandlers(handlers) {\n return handlers.every((handler) => !Array.isArray(handler));\n }\n}\nclass InMemoryHandlersController extends HandlersController {\n #handlers;\n #initialHandlers;\n constructor(initialHandlers) {\n super();\n const initialState = this.getInitialState(initialHandlers);\n this.#initialHandlers = initialState.initialHandlers;\n this.#handlers = initialState.handlers;\n }\n getState() {\n return {\n initialHandlers: this.#initialHandlers,\n handlers: this.#handlers\n };\n }\n setState(nextState) {\n if (nextState.initialHandlers) {\n this.#initialHandlers = nextState.initialHandlers;\n }\n if (nextState.handlers) {\n this.#handlers = nextState.handlers;\n }\n }\n}\nexport {\n HandlersController,\n InMemoryHandlersController,\n groupHandlersByKind\n};\n//# sourceMappingURL=handlers-controller.mjs.map"],"names":["groupHandlersByKind","handlers","groups","pushUnique","kind","handler","bucket","includes","push","sibling","getSiblingHandlers","HandlersController","getInitialState","initialHandlers","invariant","this","validateHandlers","devUtils","formatMessage","normalizedInitialHandlers","currentHandlers","Object","values","getState","flat","filter","getHandlersByKind","use","nextHandlers","length","overrides","overridesForKind","existingForKind","setState","reset","normalizedNextHandlers","restore","every","Array","isArray","constructor","super","initialState","nextState"],"mappings":"qNAKA,SAASA,EAAoBC,GAC3B,MAAMC,EAAS,CAAA,EACTC,EAAa,CAACC,EAAMC,KACxB,MAAMC,EAASJ,EAAOE,KAAU,GAC3BE,EAAOC,SAASF,IACnBC,EAAOE,KAAKH,IAGhB,IAAK,MAAMA,KAAWJ,EAAU,CAC9BE,EAAWE,EAAQD,KAAMC,GACzB,IAAK,MAAMI,KAAWC,qBAAmBL,GACvCF,EAAWM,EAAQL,KAAMK,EAE7B,CACA,OAAOP,CACT,CACA,MAAMS,EACJ,eAAAC,CAAgBC,GACdC,EAAAA,UACEC,MAAKC,EAAkBH,GACvBI,EAAAA,SAASC,cACP,gHAGJ,MAAMC,EAA4BnB,EAAoBa,GACtD,MAAO,CACLA,gBAAiBM,EACjBlB,SAAU,IAAKkB,GAEnB,CACA,eAAAC,GACE,OAAOC,OAAOC,OAAOP,KAAKQ,WAAWtB,UAAUuB,OAAOC,OAAQpB,GAAuB,MAAXA,EAC5E,CACA,iBAAAqB,CAAkBtB,GAChB,OAAOW,KAAK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AAmB8B,EAAU9B,iBAEhC8B,EAAU1C,WACZc,MAAKd,EAAY0C,EAAU1C,SAE/B","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"handlers-controller.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/handlers-controller.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport {} from '../handlers/RequestHandler.mjs';\nimport {} from '../handlers/WebSocketHandler.mjs';\nimport { devUtils } from '../utils/internal/devUtils.mjs';\nimport { getSiblingHandlers } from '../utils/internal/attachSiblingHandlers.mjs';\nfunction groupHandlersByKind(handlers) {\n const groups = {};\n const pushUnique = (kind, handler) => {\n const bucket = groups[kind] ||= [];\n if (!bucket.includes(handler)) {\n bucket.push(handler);\n }\n };\n for (const handler of handlers) {\n pushUnique(handler.kind, handler);\n for (const sibling of getSiblingHandlers(handler)) {\n pushUnique(sibling.kind, sibling);\n }\n }\n return groups;\n}\nclass HandlersController {\n getInitialState(initialHandlers) {\n invariant(\n this.#validateHandlers(initialHandlers),\n devUtils.formatMessage(\n \"Failed to apply given request handlers: invalid input. Did you forget to spread the request handlers Array?\"\n )\n );\n const normalizedInitialHandlers = groupHandlersByKind(initialHandlers);\n return {\n initialHandlers: normalizedInitialHandlers,\n handlers: { ...normalizedInitialHandlers }\n };\n }\n currentHandlers() {\n return Object.values(this.getState().handlers).flat().filter((handler) => handler != null);\n }\n getHandlersByKind(kind) {\n return this.getState().handlers[kind] || [];\n }\n use(nextHandlers) {\n invariant(\n this.#validateHandlers(nextHandlers),\n devUtils.formatMessage(\n '[MSW] Failed to call \"use()\" with the given request handlers: invalid input. Did you forget to spread the array of request handlers?'\n )\n );\n if (nextHandlers.length === 0) {\n return;\n }\n const { handlers } = this.getState();\n const overrides = groupHandlersByKind(nextHandlers);\n for (const kind in overrides) {\n const overridesForKind = overrides[kind];\n const existingForKind = handlers[kind];\n handlers[kind] = existingForKind ? [...overridesForKind, ...existingForKind] : overridesForKind;\n }\n this.setState({ handlers });\n }\n reset(nextHandlers) {\n invariant(\n nextHandlers.length > 0 ? this.#validateHandlers(nextHandlers) : true,\n devUtils.formatMessage(\n \"Failed to replace initial handlers during reset: invalid handlers. Did you forget to spread the handlers array?\"\n )\n );\n for (const handler of this.currentHandlers()) {\n if (\"reset\" in handler) {\n handler[\"reset\"]();\n }\n }\n const { initialHandlers } = this.getState();\n if (nextHandlers.length === 0) {\n this.setState({\n handlers: { ...initialHandlers }\n });\n return;\n }\n const normalizedNextHandlers = groupHandlersByKind(nextHandlers);\n this.setState({\n initialHandlers: normalizedNextHandlers,\n handlers: { ...normalizedNextHandlers }\n });\n }\n restore() {\n for (const handler of this.currentHandlers()) {\n if (\"restore\" in handler) {\n handler[\"restore\"]();\n }\n }\n }\n #validateHandlers(handlers) {\n return handlers.every((handler) => !Array.isArray(handler));\n }\n}\nclass InMemoryHandlersController extends HandlersController {\n #handlers;\n #initialHandlers;\n constructor(initialHandlers) {\n super();\n const initialState = this.getInitialState(initialHandlers);\n this.#initialHandlers = initialState.initialHandlers;\n this.#handlers = initialState.handlers;\n }\n getState() {\n return {\n initialHandlers: this.#initialHandlers,\n handlers: this.#handlers\n };\n }\n setState(nextState) {\n if (nextState.initialHandlers) {\n this.#initialHandlers = nextState.initialHandlers;\n }\n if (nextState.handlers) {\n this.#handlers = nextState.handlers;\n }\n }\n}\nexport {\n HandlersController,\n InMemoryHandlersController,\n groupHandlersByKind\n};\n//# sourceMappingURL=handlers-controller.mjs.map"],"names":["groupHandlersByKind","handlers","groups","pushUnique","kind","handler","bucket","includes","push","sibling","getSiblingHandlers","HandlersController","getInitialState","initialHandlers","invariant","this","validateHandlers","devUtils","formatMessage","normalizedInitialHandlers","currentHandlers","Object","values","getState","flat","filter","getHandlersByKind","use","nextHandlers","length","overrides","overridesForKind","existingForKind","setState","reset","normalizedNextHandlers","restore","every","Array","isArray","InMemoryHandlersController","constructor","super","initialState","nextState"],"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Ad,KAAKkB,SAAS,CACZhC,SAAU,IAAKY,KAInB,MAAMsB,EAAyBnC,EAAoB4B,GACnDb,KAAKkB,SAAS,CACZpB,gBAAiBsB,EACjBlC,SAAU,IAAKkC,IAEnB,CACA,OAAAC,GACE,IAAK,MAAM/B,KAAWU,KAAKK,kBACrB,YAAaf,GACfA,EAAiB,SAGvB,CACA,EAAAW,CAAkBf,GAChB,OAAOA,EAASoC,MAAOhC,IAAaiC,MAAMC,QAAQlC,GACpD,EAEF,MAAMmC,UAAmC7B,EACvCV,GACAY,GACA,WAAA4B,CAAY5B,GACV6B,QACA,MAAMC,EAAe5B,KAAKH,gBAAgBC,GAC1CE,MAAKF,EAAmB8B,EAAa9B,gBACrCE,MAAKd,EAAY0C,EAAa1C,QAChC,CACA,QAAAsB,GACE,MAAO,CACLV,gBAAiBE,MAAKF,EACtBZ,SAAUc,MAAKd,EAEnB,CACA,QAAAgC,CAASW,GACHA,EAAU/B,kBACZE,MAAKF,EAAmB+B,EAAU/B,iBAEhC+B,EAAU3C,WACZc,MAAKd,EAAY2C,EAAU3C,SAE/B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"handlers-controller.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/handlers-controller.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport {} from '../handlers/RequestHandler.mjs';\nimport {} from '../handlers/WebSocketHandler.mjs';\nimport { devUtils } from '../utils/internal/devUtils.mjs';\nimport { getSiblingHandlers } from '../utils/internal/attachSiblingHandlers.mjs';\nfunction groupHandlersByKind(handlers) {\n const groups = {};\n const pushUnique = (kind, handler) => {\n const bucket = groups[kind] ||= [];\n if (!bucket.includes(handler)) {\n bucket.push(handler);\n }\n };\n for (const handler of handlers) {\n pushUnique(handler.kind, handler);\n for (const sibling of getSiblingHandlers(handler)) {\n pushUnique(sibling.kind, sibling);\n }\n }\n return groups;\n}\nclass HandlersController {\n getInitialState(initialHandlers) {\n invariant(\n this.#validateHandlers(initialHandlers),\n devUtils.formatMessage(\n \"Failed to apply given request handlers: invalid input. Did you forget to spread the request handlers Array?\"\n )\n );\n const normalizedInitialHandlers = groupHandlersByKind(initialHandlers);\n return {\n initialHandlers: normalizedInitialHandlers,\n handlers: { ...normalizedInitialHandlers }\n };\n }\n currentHandlers() {\n return Object.values(this.getState().handlers).flat().filter((handler) => handler != null);\n }\n getHandlersByKind(kind) {\n return this.getState().handlers[kind] || [];\n }\n use(nextHandlers) {\n invariant(\n this.#validateHandlers(nextHandlers),\n devUtils.formatMessage(\n '[MSW] Failed to call \"use()\" with the given request handlers: invalid input. Did you forget to spread the array of request handlers?'\n )\n );\n if (nextHandlers.length === 0) {\n return;\n }\n const { handlers } = this.getState();\n const overrides = groupHandlersByKind(nextHandlers);\n for (const kind in overrides) {\n const overridesForKind = overrides[kind];\n const existingForKind = handlers[kind];\n handlers[kind] = existingForKind ? [...overridesForKind, ...existingForKind] : overridesForKind;\n }\n this.setState({ handlers });\n }\n reset(nextHandlers) {\n invariant(\n nextHandlers.length > 0 ? this.#validateHandlers(nextHandlers) : true,\n devUtils.formatMessage(\n \"Failed to replace initial handlers during reset: invalid handlers. Did you forget to spread the handlers array?\"\n )\n );\n for (const handler of this.currentHandlers()) {\n if (\"reset\" in handler) {\n handler[\"reset\"]();\n }\n }\n const { initialHandlers } = this.getState();\n if (nextHandlers.length === 0) {\n this.setState({\n handlers: { ...initialHandlers }\n });\n return;\n }\n const normalizedNextHandlers = groupHandlersByKind(nextHandlers);\n this.setState({\n initialHandlers: normalizedNextHandlers,\n handlers: { ...normalizedNextHandlers }\n });\n }\n restore() {\n for (const handler of this.currentHandlers()) {\n if (\"restore\" in handler) {\n handler[\"restore\"]();\n }\n }\n }\n #validateHandlers(handlers) {\n return handlers.every((handler) => !Array.isArray(handler));\n }\n}\nclass InMemoryHandlersController extends HandlersController {\n #handlers;\n #initialHandlers;\n constructor(initialHandlers) {\n super();\n const initialState = this.getInitialState(initialHandlers);\n this.#initialHandlers = initialState.initialHandlers;\n this.#handlers = initialState.handlers;\n }\n getState() {\n return {\n initialHandlers: this.#initialHandlers,\n handlers: this.#handlers\n };\n }\n setState(nextState) {\n if (nextState.initialHandlers) {\n this.#initialHandlers = nextState.initialHandlers;\n }\n if (nextState.handlers) {\n this.#handlers = nextState.handlers;\n }\n }\n}\nexport {\n HandlersController,\n InMemoryHandlersController,\n groupHandlersByKind\n};\n//# sourceMappingURL=handlers-controller.mjs.map"],"names":["groupHandlersByKind","handlers","groups","pushUnique","kind","handler","bucket","includes","push","sibling","getSiblingHandlers","HandlersController","getInitialState","initialHandlers","invariant","this","validateHandlers","devUtils","formatMessage","normalizedInitialHandlers","currentHandlers","Object","values","getState","flat","filter","getHandlersByKind","use","nextHandlers","length","overrides","overridesForKind","existingForKind","setState","reset","normalizedNextHandlers","restore","every","Array","isArray","InMemoryHandlersController","constructor","super","initialState","nextState"],"mappings":"6OAKA,SAASA,EAAoBC,GAC3B,MAAMC,EAAS,CAAA,EACTC,EAAa,CAACC,EAAMC,KACxB,MAAMC,EAASJ,EAAOE,KAAU,GAC3BE,EAAOC,SAASF,IACnBC,EAAOE,KAAKH,IAGhB,IAAK,MAAMA,KAAWJ,EAAU,CAC9BE,EAAWE,EAAQD,KAAMC,GACzB,IAAK,MAAMI,KAAWC,EAAmBL,GACvCF,EAAWM,EAAQL,KAAMK,EAE7B,CACA,OAAOP,CACT,CACA,MAAMS,EACJ,eAAAC,CAAgBC,GACdC,EACEC,MAAKC,EAAkBH,GACvBI,EAASC,cACP,gHAGJ,MAAMC,EAA4BnB,EAAoBa,GACtD,MAAO,CACLA,gBAAiBM,EACjBlB,SAAU,IAAKkB,GAEnB,CACA,eAAAC,GACE,OAAOC,OAAOC,OAAOP,KAAKQ,WAAWtB,UAAUuB,OAAOC,OAAQpB,GAAuB,MAAXA,EAC5E,CACA,iBAAAqB,CAAkBtB,GAChB,OAAOW,KAAKQ,WAAWtB,SAASG,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ACZc,MAAKd,EAAY2C,EAAU3C,SAE/B","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"on-unhandled-frame.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/on-unhandled-frame.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport { isCommonAssetRequest } from '../isCommonAssetRequest.mjs';\nimport { devUtils, InternalError } from '../utils/internal/devUtils.mjs';\nimport { HttpNetworkFrame } from './frames/http-frame.mjs';\nimport {} from './frames/network-frame.mjs';\nasync function executeUnhandledFrameHandle(frame, handle) {\n const printStrategyMessage = async (strategy) => {\n if (strategy === \"bypass\") {\n return;\n }\n const message = await frame.getUnhandledMessage();\n switch (strategy) {\n case \"warn\": {\n return devUtils.warn(\"Warning: %s\", message);\n }\n case \"error\": {\n return devUtils.error(\"Error: %s\", message);\n }\n }\n };\n const applyStrategy = async (strategy) => {\n invariant.as(\n InternalError,\n strategy === \"bypass\" || strategy === \"warn\" || strategy === \"error\",\n /**\n * @fixme Rename \"onUnhandledRequest\" to \"onUnhandledFrame\" in the error message\n * with the next major release.\n */\n devUtils.formatMessage(\n 'Failed to react to an unhandled network frame: 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.',\n strategy\n )\n );\n if (strategy === \"bypass\") {\n return;\n }\n await printStrategyMessage(strategy);\n if (strategy === \"error\") {\n return Promise.reject(\n new InternalError(\n devUtils.formatMessage(\n 'Cannot bypass a request when using the \"error\" strategy for the \"onUnhandledRequest\" option.'\n )\n )\n );\n }\n };\n if (typeof handle === \"function\") {\n return handle({\n frame,\n defaults: {\n warn: printStrategyMessage.bind(null, \"warn\"),\n /**\n * @note The defaults only print the corresponding messages now.\n * They do not affect the frame resolution (e.g. do not error the frame).\n * That is only for backward compatibility reasons. In the future, these should\n * be an alias to `applyStrategy.bind(null, 'error')` instead.\n */\n error: printStrategyMessage.bind(null, \"error\")\n }\n });\n }\n if (frame instanceof HttpNetworkFrame && isCommonAssetRequest(frame.data.request)) {\n return;\n }\n return applyStrategy(handle);\n}\nexport {\n executeUnhandledFrameHandle\n};\n//# sourceMappingURL=on-unhandled-frame.mjs.map"],"names":["async","frame","handle","printStrategyMessage","strategy","message","getUnhandledMessage","devUtils","warn","error","defaults","bind","HttpNetworkFrame","isCommonAssetRequest","data","request","invariant","as","InternalError","formatMessage","Promise","reject","applyStrategy"],"mappings":"iRAKAA,eAA2CC,EAAOC,GAChD,MAAMC,EAAuBH,MAAOI,IAClC,GAAiB,WAAbA,EACF,OAEF,MAAMC,QAAgBJ,EAAMK,sBAC5B,OAAQF,GACN,IAAK,OACH,OAAOG,WAASC,KAAK,cAAeH,GAEtC,IAAK,QACH,OAAOE,WAASE,MAAM,YAAaJ,KA+BzC,MAAsB,mBAAXH,EACFA,EAAO,CACZD,QACAS,SAAU,CACRF,KAAML,EAAqBQ,KAAK,KAAM,QAOtCF,MAAON,EAAqBQ,KAAK,KAAM,YAIzCV,aAAiBW,EAAAA,kBAAoBC,EAAAA,qBAAqBZ,EAAMa,KAAKC,cAAzE,EA1CsBf,OAAOI,IAa3B,GAZAY,EAAAA,UAAUC,GACRC,EAAAA,cACa,WAAbd,GAAsC,SAAbA,GAAoC,UAAbA,EAKhDG,EAAAA,SAASY,cACP,kOACAf,IAGa,WAAbA,EAIJ,aADMD,EAAqBC,GACV,UAAbA,EACKgB,QAAQC,OACb,IAAIH,EAAAA,cACFX,EAAAA,SAASY,cACP,uGAJR,GA4BKG,CAAcpB,EACvB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"on-unhandled-frame.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/on-unhandled-frame.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport { isCommonAssetRequest } from '../isCommonAssetRequest.mjs';\nimport { devUtils, InternalError } from '../utils/internal/devUtils.mjs';\nimport { HttpNetworkFrame } from './frames/http-frame.mjs';\nimport {} from './frames/network-frame.mjs';\nasync function executeUnhandledFrameHandle(frame, handle) {\n const printStrategyMessage = async (strategy) => {\n if (strategy === \"bypass\") {\n return;\n }\n const message = await frame.getUnhandledMessage();\n switch (strategy) {\n case \"warn\": {\n return devUtils.warn(\"Warning: %s\", message);\n }\n case \"error\": {\n return devUtils.error(\"Error: %s\", message);\n }\n }\n };\n const applyStrategy = async (strategy) => {\n invariant.as(\n InternalError,\n strategy === \"bypass\" || strategy === \"warn\" || strategy === \"error\",\n /**\n * @fixme Rename \"onUnhandledRequest\" to \"onUnhandledFrame\" in the error message\n * with the next major release.\n */\n devUtils.formatMessage(\n 'Failed to react to an unhandled network frame: 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.',\n strategy\n )\n );\n if (strategy === \"bypass\") {\n return;\n }\n await printStrategyMessage(strategy);\n if (strategy === \"error\") {\n return Promise.reject(\n new InternalError(\n devUtils.formatMessage(\n 'Cannot bypass a request when using the \"error\" strategy for the \"onUnhandledRequest\" option.'\n )\n )\n );\n }\n };\n if (typeof handle === \"function\") {\n return handle({\n frame,\n defaults: {\n warn: printStrategyMessage.bind(null, \"warn\"),\n /**\n * @note The defaults only print the corresponding messages now.\n * They do not affect the frame resolution (e.g. do not error the frame).\n * That is only for backward compatibility reasons. In the future, these should\n * be an alias to `applyStrategy.bind(null, 'error')` instead.\n */\n error: printStrategyMessage.bind(null, \"error\")\n }\n });\n }\n if (frame instanceof HttpNetworkFrame && isCommonAssetRequest(frame.data.request)) {\n return;\n }\n return applyStrategy(handle);\n}\nexport {\n executeUnhandledFrameHandle\n};\n//# sourceMappingURL=on-unhandled-frame.mjs.map"],"names":["async","frame","handle","printStrategyMessage","strategy","message","getUnhandledMessage","devUtils","warn","error","defaults","bind","HttpNetworkFrame","isCommonAssetRequest","data","request","invariant","as","InternalError","formatMessage","Promise","reject","applyStrategy"],"mappings":"iRAKAA,eAA2CC,EAAOC,GAChD,MAAMC,EAAuBH,MAAOI,IAClC,GAAiB,WAAbA,EACF,OAEF,MAAMC,QAAgBJ,EAAMK,sBAC5B,OAAQF,GACN,IAAK,OACH,OAAOG,WAASC,KAAK,cAAeH,GAEtC,IAAK,QACH,OAAOE,WAASE,MAAM,YAAaJ,KA+BzC,MAAsB,mBAAXH,EACFA,EAAO,CACZD,QACAS,SAAU,CACRF,KAAML,EAAqBQ,KAAK,KAAM,QAOtCF,MAAON,EAAqBQ,KAAK,KAAM,YAIzCV,aAAiBW,EAAAA,kBAAoBC,EAAAA,qBAAqBZ,EAAMa,KAAKC,cAAzE,EA1CsBf,OAAOI,IAa3B,GAZAY,EAAAA,UAAUC,GACRC,EAAAA,cACa,WAAbd,GAAsC,SAAbA,GAAoC,UAAbA,EAKhDG,EAAAA,SAASY,cACP,kOACAf,IAGa,WAAbA,EAIJ,aADMD,EAAqBC,GACV,UAAbA,EACKgB,QAAQC,OACb,IAAIH,EAAAA,cACFX,EAAAA,SAASY,cACP,uGAJR,GA4BKG,CAAcpB,EACvB","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"on-unhandled-frame.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/on-unhandled-frame.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport { isCommonAssetRequest } from '../isCommonAssetRequest.mjs';\nimport { devUtils, InternalError } from '../utils/internal/devUtils.mjs';\nimport { HttpNetworkFrame } from './frames/http-frame.mjs';\nimport {} from './frames/network-frame.mjs';\nasync function executeUnhandledFrameHandle(frame, handle) {\n const printStrategyMessage = async (strategy) => {\n if (strategy === \"bypass\") {\n return;\n }\n const message = await frame.getUnhandledMessage();\n switch (strategy) {\n case \"warn\": {\n return devUtils.warn(\"Warning: %s\", message);\n }\n case \"error\": {\n return devUtils.error(\"Error: %s\", message);\n }\n }\n };\n const applyStrategy = async (strategy) => {\n invariant.as(\n InternalError,\n strategy === \"bypass\" || strategy === \"warn\" || strategy === \"error\",\n /**\n * @fixme Rename \"onUnhandledRequest\" to \"onUnhandledFrame\" in the error message\n * with the next major release.\n */\n devUtils.formatMessage(\n 'Failed to react to an unhandled network frame: 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.',\n strategy\n )\n );\n if (strategy === \"bypass\") {\n return;\n }\n await printStrategyMessage(strategy);\n if (strategy === \"error\") {\n return Promise.reject(\n new InternalError(\n devUtils.formatMessage(\n 'Cannot bypass a request when using the \"error\" strategy for the \"onUnhandledRequest\" option.'\n )\n )\n );\n }\n };\n if (typeof handle === \"function\") {\n return handle({\n frame,\n defaults: {\n warn: printStrategyMessage.bind(null, \"warn\"),\n /**\n * @note The defaults only print the corresponding messages now.\n * They do not affect the frame resolution (e.g. do not error the frame).\n * That is only for backward compatibility reasons. In the future, these should\n * be an alias to `applyStrategy.bind(null, 'error')` instead.\n */\n error: printStrategyMessage.bind(null, \"error\")\n }\n });\n }\n if (frame instanceof HttpNetworkFrame && isCommonAssetRequest(frame.data.request)) {\n return;\n }\n return applyStrategy(handle);\n}\nexport {\n executeUnhandledFrameHandle\n};\n//# sourceMappingURL=on-unhandled-frame.mjs.map"],"names":["async","executeUnhandledFrameHandle","frame","handle","printStrategyMessage","strategy","message","getUnhandledMessage","devUtils","warn","error","defaults","bind","HttpNetworkFrame","isCommonAssetRequest","data","request","invariant","as","InternalError","formatMessage","Promise","reject","applyStrategy"],"mappings":"4SAKAA,eAAeC,EAA4BC,EAAOC,GAChD,MAAMC,EAAuBJ,MAAOK,IAClC,GAAiB,WAAbA,EACF,OAEF,MAAMC,QAAgBJ,EAAMK,sBAC5B,OAAQF,GACN,IAAK,OACH,OAAOG,EAASC,KAAK,cAAeH,GAEtC,IAAK,QACH,OAAOE,EAASE,MAAM,YAAaJ,KA+BzC,MAAsB,mBAAXH,EACFA,EAAO,CACZD,QACAS,SAAU,CACRF,KAAML,EAAqBQ,KAAK,KAAM,QAOtCF,MAAON,EAAqBQ,KAAK,KAAM,YAIzCV,aAAiBW,GAAoBC,EAAqBZ,EAAMa,KAAKC,cAAzE,EA1CsBhB,OAAOK,IAa3B,GAZAY,EAAUC,GACRC,EACa,WAAbd,GAAsC,SAAbA,GAAoC,UAAbA,EAKhDG,EAASY,cACP,kOACAf,IAGa,WAAbA,EAIJ,aADMD,EAAqBC,GACV,UAAbA,EACKgB,QAAQC,OACb,IAAIH,EACFX,EAASY,cACP,uGAJR,GA4BKG,CAAcpB,EACvB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"on-unhandled-frame.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/on-unhandled-frame.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport { isCommonAssetRequest } from '../isCommonAssetRequest.mjs';\nimport { devUtils, InternalError } from '../utils/internal/devUtils.mjs';\nimport { HttpNetworkFrame } from './frames/http-frame.mjs';\nimport {} from './frames/network-frame.mjs';\nasync function executeUnhandledFrameHandle(frame, handle) {\n const printStrategyMessage = async (strategy) => {\n if (strategy === \"bypass\") {\n return;\n }\n const message = await frame.getUnhandledMessage();\n switch (strategy) {\n case \"warn\": {\n return devUtils.warn(\"Warning: %s\", message);\n }\n case \"error\": {\n return devUtils.error(\"Error: %s\", message);\n }\n }\n };\n const applyStrategy = async (strategy) => {\n invariant.as(\n InternalError,\n strategy === \"bypass\" || strategy === \"warn\" || strategy === \"error\",\n /**\n * @fixme Rename \"onUnhandledRequest\" to \"onUnhandledFrame\" in the error message\n * with the next major release.\n */\n devUtils.formatMessage(\n 'Failed to react to an unhandled network frame: 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.',\n strategy\n )\n );\n if (strategy === \"bypass\") {\n return;\n }\n await printStrategyMessage(strategy);\n if (strategy === \"error\") {\n return Promise.reject(\n new InternalError(\n devUtils.formatMessage(\n 'Cannot bypass a request when using the \"error\" strategy for the \"onUnhandledRequest\" option.'\n )\n )\n );\n }\n };\n if (typeof handle === \"function\") {\n return handle({\n frame,\n defaults: {\n warn: printStrategyMessage.bind(null, \"warn\"),\n /**\n * @note The defaults only print the corresponding messages now.\n * They do not affect the frame resolution (e.g. do not error the frame).\n * That is only for backward compatibility reasons. In the future, these should\n * be an alias to `applyStrategy.bind(null, 'error')` instead.\n */\n error: printStrategyMessage.bind(null, \"error\")\n }\n });\n }\n if (frame instanceof HttpNetworkFrame && isCommonAssetRequest(frame.data.request)) {\n return;\n }\n return applyStrategy(handle);\n}\nexport {\n executeUnhandledFrameHandle\n};\n//# sourceMappingURL=on-unhandled-frame.mjs.map"],"names":["async","executeUnhandledFrameHandle","frame","handle","printStrategyMessage","strategy","message","getUnhandledMessage","devUtils","warn","error","defaults","bind","HttpNetworkFrame","isCommonAssetRequest","data","request","invariant","as","InternalError","formatMessage","Promise","reject","applyStrategy"],"mappings":"4SAKAA,eAAeC,EAA4BC,EAAOC,GAChD,MAAMC,EAAuBJ,MAAOK,IAClC,GAAiB,WAAbA,EACF,OAEF,MAAMC,QAAgBJ,EAAMK,sBAC5B,OAAQF,GACN,IAAK,OACH,OAAOG,EAASC,KAAK,cAAeH,GAEtC,IAAK,QACH,OAAOE,EAASE,MAAM,YAAaJ,KA+BzC,MAAsB,mBAAXH,EACFA,EAAO,CACZD,QACAS,SAAU,CACRF,KAAML,EAAqBQ,KAAK,KAAM,QAOtCF,MAAON,EAAqBQ,KAAK,KAAM,YAIzCV,aAAiBW,GAAoBC,EAAqBZ,EAAMa,KAAKC,cAAzE,EA1CsBhB,OAAOK,IAa3B,GAZAY,EAAUC,GACRC,EACa,WAAbd,GAAsC,SAAbA,GAAoC,UAAbA,EAKhDG,EAASY,cACP,kOACAf,IAGa,WAAbA,EAIJ,aADMD,EAAqBC,GACV,UAAbA,EACKgB,QAAQC,OACb,IAAIH,EACFX,EAASY,cACP,uGAJR,GA4BKG,CAAcpB,EACvB","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"request-utils.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/request-utils.mjs"],"sourcesContent":["const REQUEST_INTENTION_HEADER_NAME = \"x-msw-intention\";\nvar RequestIntention = /* @__PURE__ */ ((RequestIntention2) => {\n RequestIntention2[\"passthrough\"] = \"passthrough\";\n return RequestIntention2;\n})(RequestIntention || {});\nfunction shouldBypassRequest(request) {\n return !!request.headers.get(\"accept\")?.includes(\"msw/passthrough\");\n}\nfunction isPassthroughResponse(response) {\n return response.status === 302 && response.headers.get(REQUEST_INTENTION_HEADER_NAME) === \"passthrough\" /* passthrough */;\n}\nfunction deleteRequestPassthroughHeader(request) {\n const acceptHeader = request.headers.get(\"accept\");\n if (acceptHeader) {\n const nextAcceptHeader = acceptHeader.replace(/(,\\s+)?msw\\/passthrough/, \"\");\n if (nextAcceptHeader) {\n request.headers.set(\"accept\", nextAcceptHeader);\n } else {\n request.headers.delete(\"accept\");\n }\n }\n}\nexport {\n REQUEST_INTENTION_HEADER_NAME,\n RequestIntention,\n deleteRequestPassthroughHeader,\n isPassthroughResponse,\n shouldBypassRequest\n};\n//# sourceMappingURL=request-utils.mjs.map"],"names":["REQUEST_INTENTION_HEADER_NAME","request","acceptHeader","headers","get","nextAcceptHeader","replace","set","delete","response","status","includes"],"mappings":"aAAK,MAACA,EAAgC,iGAWtC,SAAwCC,GACtC,MAAMC,EAAeD,EAAQE,QAAQC,IAAI,UACzC,GAAIF,EAAc,CAChB,MAAMG,EAAmBH,EAAaI,QAAQ,0BAA2B,IACrED,EACFJ,EAAQE,QAAQI,IAAI,SAAUF,GAE9BJ,EAAQE,QAAQK,OAAO,SAE3B,CACF,gCAbA,SAA+BC,GAC7B,OAA2B,MAApBA,EAASC,QAA0E,gBAAxDD,EAASN,QAAQC,IAAIJ,EACzD,8BALA,SAA6BC,GAC3B,QAASA,EAAQE,QAAQC,IAAI,WAAWO,SAAS,kBACnD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"request-utils.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/request-utils.mjs"],"sourcesContent":["const REQUEST_INTENTION_HEADER_NAME = \"x-msw-intention\";\nvar RequestIntention = /* @__PURE__ */ ((RequestIntention2) => {\n RequestIntention2[\"passthrough\"] = \"passthrough\";\n return RequestIntention2;\n})(RequestIntention || {});\nfunction shouldBypassRequest(request) {\n return !!request.headers.get(\"accept\")?.includes(\"msw/passthrough\");\n}\nfunction isPassthroughResponse(response) {\n return response.status === 302 && response.headers.get(REQUEST_INTENTION_HEADER_NAME) === \"passthrough\" /* passthrough */;\n}\nfunction deleteRequestPassthroughHeader(request) {\n const acceptHeader = request.headers.get(\"accept\");\n if (acceptHeader) {\n const nextAcceptHeader = acceptHeader.replace(/(,\\s+)?msw\\/passthrough/, \"\");\n if (nextAcceptHeader) {\n request.headers.set(\"accept\", nextAcceptHeader);\n } else {\n request.headers.delete(\"accept\");\n }\n }\n}\nexport {\n REQUEST_INTENTION_HEADER_NAME,\n RequestIntention,\n deleteRequestPassthroughHeader,\n isPassthroughResponse,\n shouldBypassRequest\n};\n//# sourceMappingURL=request-utils.mjs.map"],"names":["REQUEST_INTENTION_HEADER_NAME","request","acceptHeader","headers","get","nextAcceptHeader","replace","set","delete","response","status","includes"],"mappings":"aAAK,MAACA,EAAgC,iGAWtC,SAAwCC,GACtC,MAAMC,EAAeD,EAAQE,QAAQC,IAAI,UACzC,GAAIF,EAAc,CAChB,MAAMG,EAAmBH,EAAaI,QAAQ,0BAA2B,IACrED,EACFJ,EAAQE,QAAQI,IAAI,SAAUF,GAE9BJ,EAAQE,QAAQK,OAAO,SAE3B,CACF,gCAbA,SAA+BC,GAC7B,OAA2B,MAApBA,EAASC,QAA0E,gBAAxDD,EAASN,QAAQC,IAAIJ,EACzD,8BALA,SAA6BC,GAC3B,QAASA,EAAQE,QAAQC,IAAI,WAAWO,SAAS,kBACnD","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"request-utils.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/request-utils.mjs"],"sourcesContent":["const REQUEST_INTENTION_HEADER_NAME = \"x-msw-intention\";\nvar RequestIntention = /* @__PURE__ */ ((RequestIntention2) => {\n RequestIntention2[\"passthrough\"] = \"passthrough\";\n return RequestIntention2;\n})(RequestIntention || {});\nfunction shouldBypassRequest(request) {\n return !!request.headers.get(\"accept\")?.includes(\"msw/passthrough\");\n}\nfunction isPassthroughResponse(response) {\n return response.status === 302 && response.headers.get(REQUEST_INTENTION_HEADER_NAME) === \"passthrough\" /* passthrough */;\n}\nfunction deleteRequestPassthroughHeader(request) {\n const acceptHeader = request.headers.get(\"accept\");\n if (acceptHeader) {\n const nextAcceptHeader = acceptHeader.replace(/(,\\s+)?msw\\/passthrough/, \"\");\n if (nextAcceptHeader) {\n request.headers.set(\"accept\", nextAcceptHeader);\n } else {\n request.headers.delete(\"accept\");\n }\n }\n}\nexport {\n REQUEST_INTENTION_HEADER_NAME,\n RequestIntention,\n deleteRequestPassthroughHeader,\n isPassthroughResponse,\n shouldBypassRequest\n};\n//# sourceMappingURL=request-utils.mjs.map"],"names":["REQUEST_INTENTION_HEADER_NAME","shouldBypassRequest","request","headers","get","includes","isPassthroughResponse","response","status","deleteRequestPassthroughHeader","acceptHeader","nextAcceptHeader","replace","set","delete"],"mappings":"AAAK,MAACA,EAAgC,kBAKtC,SAASC,EAAoBC,GAC3B,QAASA,EAAQC,QAAQC,IAAI,WAAWC,SAAS,kBACnD,CACA,SAASC,EAAsBC,GAC7B,OAA2B,MAApBA,EAASC,QAA0E,gBAAxDD,EAASJ,QAAQC,IAAIJ,EACzD,CACA,SAASS,EAA+BP,GACtC,MAAMQ,EAAeR,EAAQC,QAAQC,IAAI,UACzC,GAAIM,EAAc,CAChB,MAAMC,EAAmBD,EAAaE,QAAQ,0BAA2B,IACrED,EACFT,EAAQC,QAAQU,IAAI,SAAUF,GAE9BT,EAAQC,QAAQW,OAAO,SAE3B,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"request-utils.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/request-utils.mjs"],"sourcesContent":["const REQUEST_INTENTION_HEADER_NAME = \"x-msw-intention\";\nvar RequestIntention = /* @__PURE__ */ ((RequestIntention2) => {\n RequestIntention2[\"passthrough\"] = \"passthrough\";\n return RequestIntention2;\n})(RequestIntention || {});\nfunction shouldBypassRequest(request) {\n return !!request.headers.get(\"accept\")?.includes(\"msw/passthrough\");\n}\nfunction isPassthroughResponse(response) {\n return response.status === 302 && response.headers.get(REQUEST_INTENTION_HEADER_NAME) === \"passthrough\" /* passthrough */;\n}\nfunction deleteRequestPassthroughHeader(request) {\n const acceptHeader = request.headers.get(\"accept\");\n if (acceptHeader) {\n const nextAcceptHeader = acceptHeader.replace(/(,\\s+)?msw\\/passthrough/, \"\");\n if (nextAcceptHeader) {\n request.headers.set(\"accept\", nextAcceptHeader);\n } else {\n request.headers.delete(\"accept\");\n }\n }\n}\nexport {\n REQUEST_INTENTION_HEADER_NAME,\n RequestIntention,\n deleteRequestPassthroughHeader,\n isPassthroughResponse,\n shouldBypassRequest\n};\n//# sourceMappingURL=request-utils.mjs.map"],"names":["REQUEST_INTENTION_HEADER_NAME","shouldBypassRequest","request","headers","get","includes","isPassthroughResponse","response","status","deleteRequestPassthroughHeader","acceptHeader","nextAcceptHeader","replace","set","delete"],"mappings":"AAAK,MAACA,EAAgC,kBAKtC,SAASC,EAAoBC,GAC3B,QAASA,EAAQC,QAAQC,IAAI,WAAWC,SAAS,kBACnD,CACA,SAASC,EAAsBC,GAC7B,OAA2B,MAApBA,EAASC,QAA0E,gBAAxDD,EAASJ,QAAQC,IAAIJ,EACzD,CACA,SAASS,EAA+BP,GACtC,MAAMQ,EAAeR,EAAQC,QAAQC,IAAI,UACzC,GAAIM,EAAc,CAChB,MAAMC,EAAmBD,EAAaE,QAAQ,0BAA2B,IACrED,EACFT,EAAQC,QAAQU,IAAI,SAAUF,GAE9BT,EAAQC,QAAQW,OAAO,SAE3B,CACF","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"interceptor-source.cjs.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/sources/interceptor-source.mjs"],"sourcesContent":["import { BatchInterceptor } from \"@mswjs/interceptors\";\nimport { NetworkSource } from './network-source.mjs';\nimport { InternalError } from '../../utils/internal/devUtils.mjs';\nimport { HttpNetworkFrame, ResponseEvent } from '../frames/http-frame.mjs';\nimport { WebSocketNetworkFrame } from '../frames/websocket-frame.mjs';\nimport { deleteRequestPassthroughHeader } from '../request-utils.mjs';\nclass InterceptorSource extends NetworkSource {\n #interceptor;\n #frames;\n constructor(options) {\n super();\n this.#interceptor = new BatchInterceptor({\n name: \"interceptor-source\",\n interceptors: options.interceptors\n });\n this.#frames = /* @__PURE__ */ new Map();\n }\n enable() {\n this.#interceptor.apply();\n this.#interceptor.on(\"request\", this.#handleRequest.bind(this)).on(\"response\", this.#handleResponse.bind(this)).on(\"connection\", this.#handleWebSocketConnection.bind(this));\n }\n disable() {\n super.disable();\n this.#interceptor.dispose();\n this.#frames.clear();\n }\n async #handleRequest({\n requestId,\n request,\n controller\n }) {\n const httpFrame = new InterceptorHttpNetworkFrame({\n id: requestId,\n request,\n controller\n });\n this.#frames.set(requestId, httpFrame);\n await this.queue(httpFrame);\n }\n async #handleResponse({\n requestId,\n request,\n response,\n isMockedResponse\n }) {\n const httpFrame = this.#frames.get(requestId);\n this.#frames.delete(requestId);\n if (httpFrame == null) {\n return;\n }\n queueMicrotask(() => {\n try {\n httpFrame.events.emit(\n new ResponseEvent(\n isMockedResponse ? \"response:mocked\" : \"response:bypass\",\n {\n requestId,\n request,\n response\n }\n )\n );\n } finally {\n httpFrame.events.removeAllListeners();\n }\n });\n }\n async #handleWebSocketConnection(connection) {\n await this.queue(\n new InterceptorWebSocketNetworkFrame({\n connection\n })\n );\n }\n}\nclass InterceptorHttpNetworkFrame extends HttpNetworkFrame {\n #controller;\n constructor(options) {\n super({\n id: options.id,\n request: options.request\n });\n this.#controller = options.controller;\n }\n passthrough() {\n deleteRequestPassthroughHeader(this.data.request);\n }\n respondWith(response) {\n if (response) {\n this.#controller.respondWith(response);\n }\n }\n errorWith(reason) {\n if (reason instanceof Response) {\n return this.respondWith(reason);\n }\n if (reason instanceof InternalError) {\n this.#controller.errorWith(reason);\n }\n throw reason;\n }\n}\nclass InterceptorWebSocketNetworkFrame extends WebSocketNetworkFrame {\n constructor(args) {\n super({ connection: args.connection });\n args.connection.client.addEventListener(\n \"close\",\n () => {\n this.events.removeAllListeners();\n },\n {\n once: true\n }\n );\n }\n errorWith(reason) {\n if (reason instanceof Error) {\n const { client } = this.data.connection;\n const errorEvent = new Event(\"error\");\n Object.defineProperty(errorEvent, \"cause\", {\n enumerable: true,\n configurable: false,\n value: reason\n });\n client.socket.dispatchEvent(errorEvent);\n }\n }\n passthrough() {\n this.data.connection.server.connect();\n }\n}\nexport {\n InterceptorSource\n};\n//# sourceMappingURL=interceptor-source.mjs.map"],"names":["InterceptorSource","NetworkSource","interceptor","frames","constructor","options","super","this","BatchInterceptor","name","interceptors","Map","enable","apply","on","handleRequest","bind","handleResponse","handleWebSocketConnection","disable","dispose","clear","requestId","request","controller","httpFrame","InterceptorHttpNetworkFrame","id","set","queue","response","isMockedResponse","get","delete","queueMicrotask","events","emit","ResponseEvent","removeAllListeners","connection","InterceptorWebSocketNetworkFrame","HttpNetworkFrame","passthrough","deleteRequestPassthroughHeader","data","respondWith","errorWith","reason","Response","InternalError","WebSocketNetworkFrame","args","client","addEventListener","once","Error","errorEvent","Event","Object","defineProperty","enumerable","configurable","value","socket","dispatchEvent","server","connect"],"mappings":"inBAMA,MAAMA,UAA0BC,EAAAA,cAC9BC,GACAC,GACA,WAAAC,CAAYC,GACVC,QACAC,MAAKL,EAAe,IAAIM,IAAiB,CACvCC,KAAM,qBACNC,aAAcL,EAAQK,eAExBH,MAAKJ,EAA0B,IAAIQ,GACrC,CACA,MAAAC,GACEL,MAAKL,EAAaW,QAClBN,MAAKL,EAAaY,GAAG,UAAWP,MAAKQ,EAAeC,KAAKT,OAAOO,GAAG,WAAYP,MAAKU,EAAgBD,KAAKT,OAAOO,GAAG,aAAcP,MAAKW,EAA2BF,KAAKT,MACxK,CACA,OAAAY,GACEb,MAAMa,UACNZ,MAAKL,EAAakB,UAClBb,MAAKJ,EAAQkB,OACf,CACA,OAAMN,EAAeO,UACnBA,EAASC,QACTA,EAAOC,WACPA,IAEA,MAAMC,EAAY,IAAIC,EAA4B,CAChDC,GAAIL,EACJC,UACAC,eAEFjB,MAAKJ,EAAQyB,IAAIN,EAAWG,SACtBlB,KAAKsB,MAAMJ,EACnB,CACA,OAAMR,EAAgBK,UACpBA,EAASC,QACTA,EAAOO,SACPA,EAAQC,iBACRA,IAEA,MAAMN,EAAYlB,MAAKJ,EAAQ6B,IAAIV,GACnCf,MAAKJ,EAAQ8B,OAAOX,GACH,MAAbG,GAGJS,eAAe,KACb,IACET,EAAUU,OAAOC,KACf,IAAIC,EAAAA,cACFN,EAAmB,kBAAoB,kBACvC,CACET,YACAC,UACAO,aAIR,CAAC,QACCL,EAAUU,OAAOG,oBACnB,GAEJ,CACA,OAAMpB,CAA2BqB,SACzBhC,KAAKsB,MACT,IAAIW,EAAiC,CACnCD,eAGN,EAEF,MAAMb,UAAoCe,EAAAA,iBACxCjB,GACA,WAAApB,CAAYC,GACVC,MAAM,CACJqB,GAAItB,EAAQsB,GACZJ,QAASlB,EAAQkB,UAEnBhB,MAAKiB,EAAcnB,EAAQmB,UAC7B,CACA,WAAAkB,GACEC,iCAA+BpC,KAAKqC,KAAKrB,QAC3C,CACA,WAAAsB,CAAYf,GACNA,GACFvB,MAAKiB,EAAYqB,YAAYf,EAEjC,CACA,SAAAgB,CAAUC,GACR,GAAIA,aAAkBC,SACpB,OAAOzC,KAAKsC,YAAYE,GAK1B,MAHIA,aAAkBE,EAAAA,eACpB1C,MAAKiB,EAAYsB,UAAUC,GAEvBA,CACR,EAEF,MAAMP,UAAyCU,EAAAA,sBAC7C,WAAA9C,CAAY+C,GACV7C,MAAM,CAAEiC,WAAYY,EAAKZ,aACzBY,EAAKZ,WAAWa,OAAOC,iBACrB,QACA,KACE9C,KAAK4B,OAAOG,sBAEd,CACEgB,MAAM,GAGZ,CACA,SAAAR,CAAUC,GACR,GAAIA,aAAkBQ,MAAO,CAC3B,MAAMH,OAAEA,GAAW7C,KAAKqC,KAAKL,WACvBiB,EAAa,IAAIC,MAAM,SAC7BC,OAAOC,eAAeH,EAAY,QAAS,CACzCI,YAAY,EACZC,cAAc,EACdC,MAAOf,IAETK,EAAOW,OAAOC,cAAcR,EAC9B,CACF,CACA,WAAAd,GACEnC,KAAKqC,KAAKL,WAAW0B,OAAOC,SAC9B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"interceptor-source.cjs.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/sources/interceptor-source.mjs"],"sourcesContent":["import { BatchInterceptor } from \"@mswjs/interceptors\";\nimport { NetworkSource } from './network-source.mjs';\nimport { InternalError } from '../../utils/internal/devUtils.mjs';\nimport { HttpNetworkFrame, ResponseEvent } from '../frames/http-frame.mjs';\nimport { WebSocketNetworkFrame } from '../frames/websocket-frame.mjs';\nimport { deleteRequestPassthroughHeader } from '../request-utils.mjs';\nclass InterceptorSource extends NetworkSource {\n #interceptor;\n #frames;\n constructor(options) {\n super();\n this.#interceptor = new BatchInterceptor({\n name: \"interceptor-source\",\n interceptors: options.interceptors\n });\n this.#frames = /* @__PURE__ */ new Map();\n }\n enable() {\n this.#interceptor.apply();\n this.#interceptor.on(\"request\", this.#handleRequest.bind(this)).on(\"response\", this.#handleResponse.bind(this)).on(\"connection\", this.#handleWebSocketConnection.bind(this));\n }\n disable() {\n super.disable();\n this.#interceptor.dispose();\n this.#frames.clear();\n }\n async #handleRequest({\n requestId,\n request,\n controller\n }) {\n const httpFrame = new InterceptorHttpNetworkFrame({\n id: requestId,\n request,\n controller\n });\n this.#frames.set(requestId, httpFrame);\n await this.queue(httpFrame);\n }\n async #handleResponse({\n requestId,\n request,\n response,\n isMockedResponse\n }) {\n const httpFrame = this.#frames.get(requestId);\n this.#frames.delete(requestId);\n if (httpFrame == null) {\n return;\n }\n queueMicrotask(() => {\n try {\n httpFrame.events.emit(\n new ResponseEvent(\n isMockedResponse ? \"response:mocked\" : \"response:bypass\",\n {\n requestId,\n request,\n response\n }\n )\n );\n } finally {\n httpFrame.events.removeAllListeners();\n }\n });\n }\n async #handleWebSocketConnection(connection) {\n await this.queue(\n new InterceptorWebSocketNetworkFrame({\n connection\n })\n );\n }\n}\nclass InterceptorHttpNetworkFrame extends HttpNetworkFrame {\n #controller;\n constructor(options) {\n super({\n id: options.id,\n request: options.request\n });\n this.#controller = options.controller;\n }\n passthrough() {\n deleteRequestPassthroughHeader(this.data.request);\n }\n respondWith(response) {\n if (response) {\n this.#controller.respondWith(response);\n }\n }\n errorWith(reason) {\n if (reason instanceof Response) {\n return this.respondWith(reason);\n }\n if (reason instanceof InternalError) {\n this.#controller.errorWith(reason);\n }\n throw reason;\n }\n}\nclass InterceptorWebSocketNetworkFrame extends WebSocketNetworkFrame {\n constructor(args) {\n super({ connection: args.connection });\n args.connection.client.addEventListener(\n \"close\",\n () => {\n this.events.removeAllListeners();\n },\n {\n once: true\n }\n );\n }\n errorWith(reason) {\n if (reason instanceof Error) {\n const { client } = this.data.connection;\n const errorEvent = new Event(\"error\");\n Object.defineProperty(errorEvent, \"cause\", {\n enumerable: true,\n configurable: false,\n value: reason\n });\n client.socket.dispatchEvent(errorEvent);\n }\n }\n passthrough() {\n this.data.connection.server.connect();\n }\n}\nexport {\n InterceptorSource\n};\n//# sourceMappingURL=interceptor-source.mjs.map"],"names":["InterceptorSource","NetworkSource","interceptor","frames","constructor","options","super","this","BatchInterceptor","name","interceptors","Map","enable","apply","on","handleRequest","bind","handleResponse","handleWebSocketConnection","disable","dispose","clear","requestId","request","controller","httpFrame","InterceptorHttpNetworkFrame","id","set","queue","response","isMockedResponse","get","delete","queueMicrotask","events","emit","ResponseEvent","removeAllListeners","connection","InterceptorWebSocketNetworkFrame","HttpNetworkFrame","passthrough","deleteRequestPassthroughHeader","data","respondWith","errorWith","reason","Response","InternalError","WebSocketNetworkFrame","args","client","addEventListener","once","Error","errorEvent","Event","Object","defineProperty","enumerable","configurable","value","socket","dispatchEvent","server","connect"],"mappings":"inBAMA,MAAMA,UAA0BC,EAAAA,cAC9BC,GACAC,GACA,WAAAC,CAAYC,GACVC,QACAC,MAAKL,EAAe,IAAIM,IAAiB,CACvCC,KAAM,qBACNC,aAAcL,EAAQK,eAExBH,MAAKJ,EAA0B,IAAIQ,GACrC,CACA,MAAAC,GACEL,MAAKL,EAAaW,QAClBN,MAAKL,EAAaY,GAAG,UAAWP,MAAKQ,EAAeC,KAAKT,OAAOO,GAAG,WAAYP,MAAKU,EAAgBD,KAAKT,OAAOO,GAAG,aAAcP,MAAKW,EAA2BF,KAAKT,MACxK,CACA,OAAAY,GACEb,MAAMa,UACNZ,MAAKL,EAAakB,UAClBb,MAAKJ,EAAQkB,OACf,CACA,OAAMN,EAAeO,UACnBA,EAASC,QACTA,EAAOC,WACPA,IAEA,MAAMC,EAAY,IAAIC,EAA4B,CAChDC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S,CACzCI,YAAY,EACZC,cAAc,EACdC,MAAOf,IAETK,EAAOW,OAAOC,cAAcR,EAC9B,CACF,CACA,WAAAd,GACEnC,KAAKqC,KAAKL,WAAW0B,OAAOC,SAC9B","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"interceptor-source.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/sources/interceptor-source.mjs"],"sourcesContent":["import { BatchInterceptor } from \"@mswjs/interceptors\";\nimport { NetworkSource } from './network-source.mjs';\nimport { InternalError } from '../../utils/internal/devUtils.mjs';\nimport { HttpNetworkFrame, ResponseEvent } from '../frames/http-frame.mjs';\nimport { WebSocketNetworkFrame } from '../frames/websocket-frame.mjs';\nimport { deleteRequestPassthroughHeader } from '../request-utils.mjs';\nclass InterceptorSource extends NetworkSource {\n #interceptor;\n #frames;\n constructor(options) {\n super();\n this.#interceptor = new BatchInterceptor({\n name: \"interceptor-source\",\n interceptors: options.interceptors\n });\n this.#frames = /* @__PURE__ */ new Map();\n }\n enable() {\n this.#interceptor.apply();\n this.#interceptor.on(\"request\", this.#handleRequest.bind(this)).on(\"response\", this.#handleResponse.bind(this)).on(\"connection\", this.#handleWebSocketConnection.bind(this));\n }\n disable() {\n super.disable();\n this.#interceptor.dispose();\n this.#frames.clear();\n }\n async #handleRequest({\n requestId,\n request,\n controller\n }) {\n const httpFrame = new InterceptorHttpNetworkFrame({\n id: requestId,\n request,\n controller\n });\n this.#frames.set(requestId, httpFrame);\n await this.queue(httpFrame);\n }\n async #handleResponse({\n requestId,\n request,\n response,\n isMockedResponse\n }) {\n const httpFrame = this.#frames.get(requestId);\n this.#frames.delete(requestId);\n if (httpFrame == null) {\n return;\n }\n queueMicrotask(() => {\n try {\n httpFrame.events.emit(\n new ResponseEvent(\n isMockedResponse ? \"response:mocked\" : \"response:bypass\",\n {\n requestId,\n request,\n response\n }\n )\n );\n } finally {\n httpFrame.events.removeAllListeners();\n }\n });\n }\n async #handleWebSocketConnection(connection) {\n await this.queue(\n new InterceptorWebSocketNetworkFrame({\n connection\n })\n );\n }\n}\nclass InterceptorHttpNetworkFrame extends HttpNetworkFrame {\n #controller;\n constructor(options) {\n super({\n id: options.id,\n request: options.request\n });\n this.#controller = options.controller;\n }\n passthrough() {\n deleteRequestPassthroughHeader(this.data.request);\n }\n respondWith(response) {\n if (response) {\n this.#controller.respondWith(response);\n }\n }\n errorWith(reason) {\n if (reason instanceof Response) {\n return this.respondWith(reason);\n }\n if (reason instanceof InternalError) {\n this.#controller.errorWith(reason);\n }\n throw reason;\n }\n}\nclass InterceptorWebSocketNetworkFrame extends WebSocketNetworkFrame {\n constructor(args) {\n super({ connection: args.connection });\n args.connection.client.addEventListener(\n \"close\",\n () => {\n this.events.removeAllListeners();\n },\n {\n once: true\n }\n );\n }\n errorWith(reason) {\n if (reason instanceof Error) {\n const { client } = this.data.connection;\n const errorEvent = new Event(\"error\");\n Object.defineProperty(errorEvent, \"cause\", {\n enumerable: true,\n configurable: false,\n value: reason\n });\n client.socket.dispatchEvent(errorEvent);\n }\n }\n passthrough() {\n this.data.connection.server.connect();\n }\n}\nexport {\n InterceptorSource\n};\n//# sourceMappingURL=interceptor-source.mjs.map"],"names":["InterceptorSource","NetworkSource","interceptor","frames","constructor","options","super","this","BatchInterceptor","name","interceptors","Map","enable","apply","on","handleRequest","bind","handleResponse","handleWebSocketConnection","disable","dispose","clear","requestId","request","controller","httpFrame","InterceptorHttpNetworkFrame","id","set","queue","response","isMockedResponse","get","delete","queueMicrotask","events","emit","ResponseEvent","removeAllListeners","connection","InterceptorWebSocketNetworkFrame","HttpNetworkFrame","passthrough","deleteRequestPassthroughHeader","data","respondWith","errorWith","reason","Response","InternalError","WebSocketNetworkFrame","args","client","addEventListener","once","Error","errorEvent","Event","Object","defineProperty","enumerable","configurable","value","socket","dispatchEvent","server","connect"],"mappings":"2sBAMA,MAAMA,UAA0BC,EAC9BC,GACA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UC,GACR,GAAIA,aAAkBC,SACpB,OAAOzC,KAAKsC,YAAYE,GAK1B,MAHIA,aAAkBE,GACpB1C,MAAKiB,EAAYsB,UAAUC,GAEvBA,CACR,EAEF,MAAMP,UAAyCU,EAC7C,WAAA9C,CAAY+C,GACV7C,MAAM,CAAEiC,WAAYY,EAAKZ,aACzBY,EAAKZ,WAAWa,OAAOC,iBACrB,QACA,KACE9C,KAAK4B,OAAOG,sBAEd,CACEgB,MAAM,GAGZ,CACA,SAAAR,CAAUC,GACR,GAAIA,aAAkBQ,MAAO,CAC3B,MAAMH,OAAEA,GAAW7C,KAAKqC,KAAKL,WACvBiB,EAAa,IAAIC,MAAM,SAC7BC,OAAOC,eAAeH,EAAY,QAAS,CACzCI,YAAY,EACZC,cAAc,EACdC,MAAOf,IAETK,EAAOW,OAAOC,cAAcR,EAC9B,CACF,CACA,WAAAd,GACEnC,KAAKqC,KAAKL,WAAW0B,OAAOC,SAC9B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"interceptor-source.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/sources/interceptor-source.mjs"],"sourcesContent":["import { BatchInterceptor } from \"@mswjs/interceptors\";\nimport { NetworkSource } from './network-source.mjs';\nimport { InternalError } from '../../utils/internal/devUtils.mjs';\nimport { HttpNetworkFrame, ResponseEvent } from '../frames/http-frame.mjs';\nimport { WebSocketNetworkFrame } from '../frames/websocket-frame.mjs';\nimport { deleteRequestPassthroughHeader } from '../request-utils.mjs';\nclass InterceptorSource extends NetworkSource {\n #interceptor;\n #frames;\n constructor(options) {\n super();\n this.#interceptor = new BatchInterceptor({\n name: \"interceptor-source\",\n interceptors: options.interceptors\n });\n this.#frames = /* @__PURE__ */ new Map();\n }\n enable() {\n this.#interceptor.apply();\n this.#interceptor.on(\"request\", this.#handleRequest.bind(this)).on(\"response\", this.#handleResponse.bind(this)).on(\"connection\", this.#handleWebSocketConnection.bind(this));\n }\n disable() {\n super.disable();\n this.#interceptor.dispose();\n this.#frames.clear();\n }\n async #handleRequest({\n requestId,\n request,\n controller\n }) {\n const httpFrame = new InterceptorHttpNetworkFrame({\n id: requestId,\n request,\n controller\n });\n this.#frames.set(requestId, httpFrame);\n await this.queue(httpFrame);\n }\n async #handleResponse({\n requestId,\n request,\n response,\n isMockedResponse\n }) {\n const httpFrame = this.#frames.get(requestId);\n this.#frames.delete(requestId);\n if (httpFrame == null) {\n return;\n }\n queueMicrotask(() => {\n try {\n httpFrame.events.emit(\n new ResponseEvent(\n isMockedResponse ? \"response:mocked\" : \"response:bypass\",\n {\n requestId,\n request,\n response\n }\n )\n );\n } finally {\n httpFrame.events.removeAllListeners();\n }\n });\n }\n async #handleWebSocketConnection(connection) {\n await this.queue(\n new InterceptorWebSocketNetworkFrame({\n connection\n })\n );\n }\n}\nclass InterceptorHttpNetworkFrame extends HttpNetworkFrame {\n #controller;\n constructor(options) {\n super({\n id: options.id,\n request: options.request\n });\n this.#controller = options.controller;\n }\n passthrough() {\n deleteRequestPassthroughHeader(this.data.request);\n }\n respondWith(response) {\n if (response) {\n this.#controller.respondWith(response);\n }\n }\n errorWith(reason) {\n if (reason instanceof Response) {\n return this.respondWith(reason);\n }\n if (reason instanceof InternalError) {\n this.#controller.errorWith(reason);\n }\n throw reason;\n }\n}\nclass InterceptorWebSocketNetworkFrame extends WebSocketNetworkFrame {\n constructor(args) {\n super({ connection: args.connection });\n args.connection.client.addEventListener(\n \"close\",\n () => {\n this.events.removeAllListeners();\n },\n {\n once: true\n }\n );\n }\n errorWith(reason) {\n if (reason instanceof Error) {\n const { client } = this.data.connection;\n const errorEvent = new Event(\"error\");\n Object.defineProperty(errorEvent, \"cause\", {\n enumerable: true,\n configurable: false,\n value: reason\n });\n client.socket.dispatchEvent(errorEvent);\n }\n }\n passthrough() {\n this.data.connection.server.connect();\n }\n}\nexport {\n InterceptorSource\n};\n//# sourceMappingURL=interceptor-source.mjs.map"],"names":["InterceptorSource","NetworkSource","interceptor","frames","constructor","options","super","this","BatchInterceptor","name","interceptors","Map","enable","apply","on","handleRequest","bind","handleResponse","handleWebSocketConnection","disable","dispose","clear","requestId","request","controller","httpFrame","InterceptorHttpNetworkFrame","id","set","queue","response","isMockedResponse","get","delete","queueMicrotask","events","emit","ResponseEvent","removeAllListeners","connection","InterceptorWebSocketNetworkFrame","HttpNetworkFrame","passthrough","deleteRequestPassthroughHeader","data","respondWith","errorWith","reason","Response","InternalError","WebSocketNetworkFrame","args","client","addEventListener","once","Error","errorEvent","Event","Object","defineProperty","enumerable","configurable","value","socket","dispatchEvent","server","connect"],"mappings":"2sBAMA,MAAMA,UAA0BC,EAC9BC,GACAC,GACA,WAAAC,CAAYC,GACVC,QACAC,MAAKL,EAAe,IAAIM,EAAiB,CACvCC,KAAM,qBACNC,aAAcL,EAAQK,eAExBH,MAAKJ,EAA0B,IAAIQ,GACrC,CACA,MAAAC,GACEL,MAAKL,EAAaW,QAClBN,MAAKL,EAAaY,GAAG,UAAWP,MAAKQ,EAAeC,KAAKT,OAAOO,GAAG,WAAYP,MAAKU,EAAgBD,KAAKT,OAAOO,GAAG,aAAcP,MAAKW,EAA2BF,KAAKT,MACxK,CACA,OAAAY,GACEb,MAAMa,UACNZ,MAAKL,EAAakB,UAClBb,MAAKJ,EAAQkB,OACf,CACA,OAAMN,EAAeO,UACnBA,EAASC,QACTA,EAAOC,WACPA,IAEA,MAAMC,EAAY,IAAIC,EAA4B,CAChDC,GAAIL,EACJC,UACAC,eAEFjB,MAAKJ,EAAQyB,IAAIN,EAAWG,SACtBlB,KAAKsB,MAAMJ,EACnB,CACA,OAAMR,EAAgBK,UACpBA,EAASC,QACTA,EAAOO,SACPA,EAAQC,iBACRA,IAEA,MAAMN,EAAYlB,MAAKJ,EAAQ6B,IAAIV,GACnCf,MAAKJ,EAAQ8B,OAAOX,GACH,MAAbG,GAGJS,eAAe,KACb,IACET,EAAUU,OAAOC,KACf,IAAIC,EACFN,EAAmB,kBAAoB,kBACvC,CACET,YACAC,UACAO,aAIR,CAAC,QACCL,EAAUU,OAAOG,oBACnB,GAEJ,CACA,OAAMpB,CAA2BqB,SACzBhC,KAAKsB,MACT,IAAIW,EAAiC,CACnCD,eAGN,EAEF,MAAMb,UAAoCe,EACxCjB,GACA,WAAApB,CAAYC,GACVC,MAAM,CACJqB,GAAItB,EAAQsB,GACZJ,QAASlB,EAAQkB,UAEnBhB,MAAKiB,EAAcnB,EAAQmB,UAC7B,CACA,WAAAkB,GACEC,EAA+BpC,KAAKqC,KAAKrB,QAC3C,CACA,WAAAsB,CAAYf,GACNA,GACFvB,MAAKiB,EAAYqB,YAAYf,EAEjC,CACA,SAAAgB,CAAUC,GACR,GAAIA,aAAkBC,SACpB,OAAOzC,KAAKsC,YAAYE,GAK1B,MAHIA,aAAkBE,GACpB1C,MAAKiB,EAAYsB,UAAUC,GAEvBA,CACR,EAEF,MAAMP,UAAyCU,EAC7C,WAAA9C,CAAY+C,GACV7C,MAAM,CAAEiC,WAAYY,EAAKZ,aACzBY,EAAKZ,WAAWa,OAAOC,iBACrB,QACA,KACE9C,KAAK4B,OAAOG,sBAEd,CACEgB,MAAM,GAGZ,CACA,SAAAR,CAAUC,GACR,GAAIA,aAAkBQ,MAAO,CAC3B,MAAMH,OAAEA,GAAW7C,KAAKqC,KAAKL,WACvBiB,EAAa,IAAIC,MAAM,SAC7BC,OAAOC,eAAeH,EAAY,QAAS,CACzCI,YAAY,EACZC,cAAc,EACdC,MAAOf,IAETK,EAAOW,OAAOC,cAAcR,EAC9B,CACF,CACA,WAAAd,GACEnC,KAAKqC,KAAKL,WAAW0B,OAAOC,SAC9B","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"network-source.cjs.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/sources/network-source.mjs"],"sourcesContent":["import { Emitter, TypedEvent } from \"rettime\";\nimport {\n} from '../frames/network-frame.mjs';\nclass NetworkFrameEvent extends TypedEvent {\n frame;\n constructor(type, frame) {\n super(...[type, {}]);\n this.frame = frame;\n }\n}\nclass NetworkSource {\n emitter;\n constructor() {\n this.emitter = new Emitter();\n }\n async queue(frame) {\n await this.emitter.emitAsPromise(\n // @ts-expect-error Trouble handling a conditional type parameter.\n new NetworkFrameEvent(\"frame\", frame)\n );\n }\n on(type, listener, options) {\n this.emitter.on(type, listener, options);\n }\n disable() {\n this.emitter.removeAllListeners();\n }\n}\nexport {\n NetworkSource\n};\n//# sourceMappingURL=network-source.mjs.map"],"names":["NetworkFrameEvent","TypedEvent","frame","constructor","type","super","this","emitter","Emitter","queue","emitAsPromise","on","listener","options","disable","removeAllListeners"],"mappings":"2GAGA,MAAMA,UAA0BC,EAAAA,WAC9BC,MACA,WAAAC,CAAYC,EAAMF,GAChBG,MAAUD,EAAM,CAAA,GAChBE,KAAKJ,MAAQA,CACf,wBAEF,MACEK,QACA,WAAAJ,GACEG,KAAKC,QAAU,IAAIC,SACrB,CACA,WAAMC,CAAMP,SACJI,KAAKC,QAAQG,cAEjB,IAAIV,EAAkB,QAASE,GAEnC,CACA,EAAAS,CAAGP,EAAMQ,EAAUC,GACjBP,KAAKC,QAAQI,GAAGP,EAAMQ,EAAUC,EAClC,CACA,OAAAC,GACER,KAAKC,QAAQQ,oBACf","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"network-source.cjs.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/sources/network-source.mjs"],"sourcesContent":["import { Emitter, TypedEvent } from \"rettime\";\nimport {\n} from '../frames/network-frame.mjs';\nclass NetworkFrameEvent extends TypedEvent {\n frame;\n constructor(type, frame) {\n super(...[type, {}]);\n this.frame = frame;\n }\n}\nclass NetworkSource {\n emitter;\n constructor() {\n this.emitter = new Emitter();\n }\n async queue(frame) {\n await this.emitter.emitAsPromise(\n // @ts-expect-error Trouble handling a conditional type parameter.\n new NetworkFrameEvent(\"frame\", frame)\n );\n }\n on(type, listener, options) {\n this.emitter.on(type, listener, options);\n }\n disable() {\n this.emitter.removeAllListeners();\n }\n}\nexport {\n NetworkSource\n};\n//# sourceMappingURL=network-source.mjs.map"],"names":["NetworkFrameEvent","TypedEvent","frame","constructor","type","super","this","emitter","Emitter","queue","emitAsPromise","on","listener","options","disable","removeAllListeners"],"mappings":"2GAGA,MAAMA,UAA0BC,EAAAA,WAC9BC,MACA,WAAAC,CAAYC,EAAMF,GAChBG,MAAUD,EAAM,CAAA,GAChBE,KAAKJ,MAAQA,CACf,wBAEF,MACEK,QACA,WAAAJ,GACEG,KAAKC,QAAU,IAAIC,SACrB,CACA,WAAMC,CAAMP,SACJI,KAAKC,QAAQG,cAEjB,IAAIV,EAAkB,QAASE,GAEnC,CACA,EAAAS,CAAGP,EAAMQ,EAAUC,GACjBP,KAAKC,QAAQI,GAAGP,EAAMQ,EAAUC,EAClC,CACA,OAAAC,GACER,KAAKC,QAAQQ,oBACf","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"network-source.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/sources/network-source.mjs"],"sourcesContent":["import { Emitter, TypedEvent } from \"rettime\";\nimport {\n} from '../frames/network-frame.mjs';\nclass NetworkFrameEvent extends TypedEvent {\n frame;\n constructor(type, frame) {\n super(...[type, {}]);\n this.frame = frame;\n }\n}\nclass NetworkSource {\n emitter;\n constructor() {\n this.emitter = new Emitter();\n }\n async queue(frame) {\n await this.emitter.emitAsPromise(\n // @ts-expect-error Trouble handling a conditional type parameter.\n new NetworkFrameEvent(\"frame\", frame)\n );\n }\n on(type, listener, options) {\n this.emitter.on(type, listener, options);\n }\n disable() {\n this.emitter.removeAllListeners();\n }\n}\nexport {\n NetworkSource\n};\n//# sourceMappingURL=network-source.mjs.map"],"names":["NetworkFrameEvent","TypedEvent","frame","constructor","type","super","this","NetworkSource","emitter","Emitter","queue","emitAsPromise","on","listener","options","disable","removeAllListeners"],"mappings":"mHAGA,MAAMA,UAA0BC,EAC9BC,MACA,WAAAC,CAAYC,EAAMF,GAChBG,MAAUD,EAAM,CAAA,GAChBE,KAAKJ,MAAQA,CACf,EAEF,MAAMK,EACJC,QACA,WAAAL,GACEG,KAAKE,QAAU,IAAIC,CACrB,CACA,WAAMC,CAAMR,SACJI,KAAKE,QAAQG,cAEjB,IAAIX,EAAkB,QAASE,GAEnC,CACA,EAAAU,CAAGR,EAAMS,EAAUC,GACjBR,KAAKE,QAAQI,GAAGR,EAAMS,EAAUC,EAClC,CACA,OAAAC,GACET,KAAKE,QAAQQ,oBACf","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"network-source.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/experimental/sources/network-source.mjs"],"sourcesContent":["import { Emitter, TypedEvent } from \"rettime\";\nimport {\n} from '../frames/network-frame.mjs';\nclass NetworkFrameEvent extends TypedEvent {\n frame;\n constructor(type, frame) {\n super(...[type, {}]);\n this.frame = frame;\n }\n}\nclass NetworkSource {\n emitter;\n constructor() {\n this.emitter = new Emitter();\n }\n async queue(frame) {\n await this.emitter.emitAsPromise(\n // @ts-expect-error Trouble handling a conditional type parameter.\n new NetworkFrameEvent(\"frame\", frame)\n );\n }\n on(type, listener, options) {\n this.emitter.on(type, listener, options);\n }\n disable() {\n this.emitter.removeAllListeners();\n }\n}\nexport {\n NetworkSource\n};\n//# sourceMappingURL=network-source.mjs.map"],"names":["NetworkFrameEvent","TypedEvent","frame","constructor","type","super","this","NetworkSource","emitter","Emitter","queue","emitAsPromise","on","listener","options","disable","removeAllListeners"],"mappings":"mHAGA,MAAMA,UAA0BC,EAC9BC,MACA,WAAAC,CAAYC,EAAMF,GAChBG,MAAUD,EAAM,CAAA,GAChBE,KAAKJ,MAAQA,CACf,EAEF,MAAMK,EACJC,QACA,WAAAL,GACEG,KAAKE,QAAU,IAAIC,CACrB,CACA,WAAMC,CAAMR,SACJI,KAAKE,QAAQG,cAEjB,IAAIX,EAAkB,QAASE,GAEnC,CACA,EAAAU,CAAGR,EAAMS,EAAUC,GACjBR,KAAKE,QAAQI,GAAGR,EAAMS,EAAUC,EAClC,CACA,OAAAC,GACET,KAAKE,QAAQQ,oBACf","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"HttpHandler.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/handlers/HttpHandler.mjs"],"sourcesContent":["import {} from '../utils/executeHandlers.mjs';\nimport { devUtils } from '../utils/internal/devUtils.mjs';\nimport { isStringEqual } from '../utils/internal/isStringEqual.mjs';\nimport { getStatusCodeColor } from '../utils/logging/getStatusCodeColor.mjs';\nimport { getTimestamp } from '../utils/logging/getTimestamp.mjs';\nimport { serializeRequest } from '../utils/logging/serializeRequest.mjs';\nimport { serializeResponse } from '../utils/logging/serializeResponse.mjs';\nimport {\n matchRequestUrl\n} from '../utils/matching/matchRequestUrl.mjs';\nimport { toPublicUrl } from '../utils/request/toPublicUrl.mjs';\nimport { getAllRequestCookies } from '../utils/request/getRequestCookies.mjs';\nimport { cleanUrl } from '../utils/url/cleanUrl.mjs';\nimport {\n RequestHandler\n} from './RequestHandler.mjs';\nvar HttpMethods = /* @__PURE__ */ ((HttpMethods2) => {\n HttpMethods2[\"HEAD\"] = \"HEAD\";\n HttpMethods2[\"GET\"] = \"GET\";\n HttpMethods2[\"POST\"] = \"POST\";\n HttpMethods2[\"PUT\"] = \"PUT\";\n HttpMethods2[\"PATCH\"] = \"PATCH\";\n HttpMethods2[\"OPTIONS\"] = \"OPTIONS\";\n HttpMethods2[\"DELETE\"] = \"DELETE\";\n return HttpMethods2;\n})(HttpMethods || {});\nclass HttpHandler extends RequestHandler {\n constructor(method, predicate, resolver, options) {\n const displayPath = typeof predicate === \"function\" ? \"[custom predicate]\" : predicate;\n super({\n info: {\n header: `${method}${displayPath ? ` ${displayPath}` : \"\"}`,\n path: predicate,\n method\n },\n resolver,\n options\n });\n this.checkRedundantQueryParameters();\n }\n checkRedundantQueryParameters() {\n const { method, path } = this.info;\n if (!path || path instanceof RegExp || typeof path === \"function\") {\n return;\n }\n const url = cleanUrl(path);\n if (url === path) {\n return;\n }\n devUtils.warn(\n `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 using \"new URL(request.url).searchParams\" instead. Learn more: https://mswjs.io/docs/http/intercepting-requests#querysearch-parameters`\n );\n }\n async parse(args) {\n const url = new URL(args.request.url);\n const cookies = getAllRequestCookies(args.request);\n if (typeof this.info.path === \"function\") {\n const customPredicateResult = await this.info.path({\n request: args.request,\n cookies\n });\n const match2 = typeof customPredicateResult === \"boolean\" ? {\n matches: customPredicateResult,\n params: {}\n } : customPredicateResult;\n return {\n match: match2,\n cookies\n };\n }\n const match = this.info.path ? matchRequestUrl(url, this.info.path, args.resolutionContext?.baseUrl) : { matches: false, params: {} };\n return {\n match,\n cookies\n };\n }\n async predicate(args) {\n const hasMatchingMethod = this.matchMethod(args.request.method);\n const hasMatchingUrl = args.parsedResult.match.matches;\n return hasMatchingMethod && hasMatchingUrl;\n }\n matchMethod(actualMethod) {\n return this.info.method instanceof RegExp ? this.info.method.test(actualMethod) : isStringEqual(this.info.method, actualMethod);\n }\n extendResolverArgs(args) {\n return {\n params: args.parsedResult.match?.params || {},\n cookies: args.parsedResult.cookies\n };\n }\n async log(args) {\n const publicUrl = toPublicUrl(args.request.url);\n const loggedRequest = await serializeRequest(args.request);\n const loggedResponse = await serializeResponse(args.response);\n const statusColor = getStatusCodeColor(loggedResponse.status);\n console.groupCollapsed(\n devUtils.formatMessage(\n `${getTimestamp()} ${args.request.method} ${publicUrl} (%c${loggedResponse.status} ${loggedResponse.statusText}%c)`\n ),\n `color:${statusColor}`,\n \"color:inherit\"\n );\n console.log(\"Request\", loggedRequest);\n console.log(\"Handler:\", this);\n console.log(\"Response\", loggedResponse);\n console.groupEnd();\n }\n}\nexport {\n HttpHandler,\n HttpMethods\n};\n//# sourceMappingURL=HttpHandler.mjs.map"],"names":["HttpMethods","HttpMethods2","HttpHandler","RequestHandler","constructor","method","predicate","resolver","options","displayPath","super","info","header","path","this","checkRedundantQueryParameters","RegExp","cleanUrl","devUtils","warn","parse","args","url","URL","request","cookies","getAllRequestCookies","customPredicateResult","match","matches","params","matchRequestUrl","resolutionContext","baseUrl","hasMatchingMethod","matchMethod","hasMatchingUrl","parsedResult","actualMethod","test","isStringEqual","extendResolverArgs","log","publicUrl","toPublicUrl","loggedRequest","serializeRequest","loggedResponse","serializeResponse","response","statusColor","getStatusCodeColor","status","console","groupCollapsed","formatMessage","getTimestamp","statusText","groupEnd"],"mappings":"wjBAgBIA,EAA8B,CAAEC,IAClCA,EAAmB,KAAI,OACvBA,EAAkB,IAAI,MACtBA,EAAmB,KAAI,OACvBA,EAAkB,IAAI,MACtBA,EAAoB,MAAI,QACxBA,EAAsB,QAAI,UAC1BA,EAAqB,OAAI,SAClBA,GARyB,CAS/BD,GAAe,CAAA,GAClB,MAAME,UAAoBC,EAAAA,eACxB,WAAAC,CAAYC,EAAQC,EAAWC,EAAUC,GACvC,MAAMC,EAAmC,mBAAdH,EAA2B,qBAAuBA,EAC7EI,MAAM,CACJC,KAAM,CACJC,OAAQ,GAAGP,IAASI,EAAc,IAAIA,IAAgB,KACtDI,KAAMP,EACND,UAEFE,WACAC,YAEFM,KAAKC,+BACP,CACA,6BAAAA,GACE,MAAMV,OAAEA,EAAMQ,KAAEA,GAASC,KAAKH,KAC9B,IAAKE,GAAQA,aAAgBG,QAA0B,mBAATH,EAC5C,OAEUI,EAAAA,SAASJ,KACTA,GAGZK,EAAAA,SAASC,KACP,+EAA+Ed,KAAUQ,6MAE7F,CACA,WAAMO,CAAMC,GACV,MAAM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AAY5B,MACxBuC,QAAQX,IAAI,WAAYK,GACxBM,QAAQK,UACV","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"HttpHandler.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.41_typescript@5.4.5/node_modules/msw/lib/core/handlers/HttpHandler.mjs"],"sourcesContent":["import {} from '../utils/executeHandlers.mjs';\nimport { devUtils } from '../utils/internal/devUtils.mjs';\nimport { isStringEqual } from '../utils/internal/isStringEqual.mjs';\nimport { getStatusCodeColor } from '../utils/logging/getStatusCodeColor.mjs';\nimport { getTimestamp } from '../utils/logging/getTimestamp.mjs';\nimport { serializeRequest } from '../utils/logging/serializeRequest.mjs';\nimport { serializeResponse } from '../utils/logging/serializeResponse.mjs';\nimport {\n matchRequestUrl\n} from '../utils/matching/matchRequestUrl.mjs';\nimport { toPublicUrl } from '../utils/request/toPublicUrl.mjs';\nimport { getAllRequestCookies } from '../utils/request/getRequestCookies.mjs';\nimport { cleanUrl } from '../utils/url/cleanUrl.mjs';\nimport {\n RequestHandler\n} from './RequestHandler.mjs';\nvar HttpMethods = /* @__PURE__ */ ((HttpMethods2) => {\n HttpMethods2[\"HEAD\"] = \"HEAD\";\n HttpMethods2[\"GET\"] = \"GET\";\n HttpMethods2[\"POST\"] = \"POST\";\n HttpMethods2[\"PUT\"] = \"PUT\";\n HttpMethods2[\"PATCH\"] = \"PATCH\";\n HttpMethods2[\"OPTIONS\"] = \"OPTIONS\";\n HttpMethods2[\"DELETE\"] = \"DELETE\";\n return HttpMethods2;\n})(HttpMethods || {});\nclass HttpHandler extends RequestHandler {\n constructor(method, predicate, resolver, options) {\n const displayPath = typeof predicate === \"function\" ? \"[custom predicate]\" : predicate;\n super({\n info: {\n header: `${method}${displayPath ? ` ${displayPath}` : \"\"}`,\n path: predicate,\n method\n },\n resolver,\n options\n });\n this.checkRedundantQueryParameters();\n }\n checkRedundantQueryParameters() {\n const { method, path } = this.info;\n if (!path || path instanceof RegExp || typeof path === \"function\") {\n return;\n }\n const url = cleanUrl(path);\n if (url === path) {\n return;\n }\n devUtils.warn(\n `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 using \"new URL(request.url).searchParams\" instead. Learn more: https://mswjs.io/docs/http/intercepting-requests#querysearch-parameters`\n );\n }\n async parse(args) {\n const url = new URL(args.request.url);\n const cookies = getAllRequestCookies(args.request);\n if (typeof this.info.path === \"function\") {\n const customPredicateResult = await this.info.path({\n request: args.request,\n cookies\n });\n const match2 = typeof customPredicateResult === \"boolean\" ? {\n matches: customPredicateResult,\n params: {}\n } : customPredicateResult;\n return {\n match: match2,\n cookies\n };\n }\n const match = this.info.path ? matchRequestUrl(url, this.info.path, args.resolutionContext?.baseUrl) : { matches: false, params: {} };\n return {\n match,\n cookies\n };\n }\n async predicate(args) {\n const hasMatchingMethod = this.matchMethod(args.request.method);\n const hasMatchingUrl = args.parsedResult.match.matches;\n return hasMatchingMethod && hasMatchingUrl;\n }\n matchMethod(actualMethod) {\n return this.info.method instanceof RegExp ? this.info.method.test(actualMethod) : isStringEqual(this.info.method, actualMethod);\n }\n extendResolverArgs(args) {\n return {\n params: args.parsedResult.match?.params || {},\n cookies: args.parsedResult.cookies\n };\n }\n async log(args) {\n const publicUrl = toPublicUrl(args.request.url);\n const loggedRequest = await serializeRequest(args.request);\n const loggedResponse = await serializeResponse(args.response);\n const statusColor = getStatusCodeColor(loggedResponse.status);\n console.groupCollapsed(\n devUtils.formatMessage(\n `${getTimestamp()} ${args.request.method} ${publicUrl} (%c${loggedResponse.status} ${loggedResponse.statusText}%c)`\n ),\n `color:${statusColor}`,\n \"color:inherit\"\n );\n console.log(\"Request\", loggedRequest);\n console.log(\"Handler:\", this);\n console.log(\"Response\", loggedResponse);\n console.groupEnd();\n }\n}\nexport {\n HttpHandler,\n HttpMethods\n};\n//# sourceMappingURL=HttpHandler.mjs.map"],"names":["HttpMethods","HttpMethods2","HttpHandler","RequestHandler","constructor","method","predicate","resolver","options","displayPath","super","info","header","path","this","checkRedundantQueryParameters","RegExp","cleanUrl","devUtils","warn","parse","args","url","URL","request","cookies","getAllRequestCookies","customPredicateResult","match","matches","params","matchRequestUrl","resolutionContext","baseUrl","hasMatchingMethod","matchMethod","hasMatchingUrl","parsedResult","actualMethod","test","isStringEqual","extendResolverArgs","log","publicUrl","toPublicUrl","loggedRequest","serializeRequest","loggedResponse","serializeResponse","response","statusColor","getStatusCodeColor","status","console","groupCollapsed","formatMessage","getTimestamp","statusText","groupEnd"],"mappings":"wjBAgBIA,EAA8B,CAAEC,IAClCA,EAAmB,KAAI,OACvBA,EAAkB,IAAI,MACtBA,EAAmB,KAAI,OACvBA,EAAkB,IAAI,MACtBA,EAAoB,MAAI,QACxBA,EAAsB,QAAI,UAC1BA,EAAqB,OAAI,SAClBA,GARyB,CAS/BD,GAAe,CAAA,GAClB,MAAME,UAAoBC,EAAAA,eACxB,WAAAC,CAAYC,EAAQC,EAAWC,EAAUC,GACvC,MAAMC,EAAmC,mBAAdH,EAA2B,qBAAuBA,EAC7EI,MAAM,CACJC,KAAM,CACJC,OAAQ,GAAGP,IAASI,EAAc,IAAIA,IAAgB,KACtDI,KAAMP,EACND,UAEFE,WACAC,YAEFM,KAAKC,+BACP,CACA,6BAAAA,GACE,MAAMV,OAAEA,EAAMQ,KAAEA,GAASC,KAAKH,KAC9B,IAAKE,GAAQA,aAAgBG,QAA0B,mBAATH,EAC5C,OAEUI,EAAAA,SAASJ,KACTA,GAGZK,EAAAA,SAASC,KACP,+EAA+Ed,KAAUQ,6MAE7F,CACA,WAAMO,CAAMC,GACV,MAAMC,EAAM,IAAIC,IAAIF,EAAKG,QAAQF,KAC3BG,EAAUC,EAAAA,qBAAqBL,EAAKG,SAC1C,GAA8B,mBAAnBV,KAAKH,KAAKE,KAAqB,CACxC,MAAMc,QAA8Bb,KAAKH,KAAKE,KAAK,CACjDW,QAASH,EAAKG,QACdC,YAMF,MAAO,CACLG,MAL8C,kBAA1BD,EAAsC,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