@flipdish/portal-library 8.6.1 → 8.6.2

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 (199) 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.js +1 -1
  4. package/dist/components/molecules/Alert/index.js.map +1 -1
  5. package/dist/mocks/msw/handlers.cjs.js +1 -1
  6. package/dist/mocks/msw/handlers.d.ts +1 -1
  7. package/dist/mocks/msw/handlers.js +1 -1
  8. package/dist/mocks/msw/server.cjs.js +1 -1
  9. package/dist/mocks/msw/server.d.ts +1 -1
  10. package/dist/mocks/msw/server.js +1 -1
  11. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.cjs.js.map +1 -1
  12. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.js.map +1 -1
  13. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/compat.cjs.js.map +1 -1
  14. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/compat.js.map +1 -1
  15. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/define-network.cjs.js.map +1 -1
  16. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/define-network.js.map +1 -1
  17. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/http-frame.cjs.js.map +1 -1
  18. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/http-frame.js.map +1 -1
  19. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/network-frame.cjs.js.map +1 -1
  20. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/network-frame.js.map +1 -1
  21. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/websocket-frame.cjs.js.map +1 -1
  22. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/websocket-frame.js.map +1 -1
  23. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/handlers-controller.cjs.js.map +1 -1
  24. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/handlers-controller.js.map +1 -1
  25. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/on-unhandled-frame.cjs.js.map +1 -1
  26. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/on-unhandled-frame.js.map +1 -1
  27. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/request-utils.cjs.js.map +1 -1
  28. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/request-utils.js.map +1 -1
  29. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/interceptor-source.cjs.js.map +1 -1
  30. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/interceptor-source.js.map +1 -1
  31. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/network-source.cjs.js.map +1 -1
  32. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/network-source.js.map +1 -1
  33. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.cjs.js.map +1 -1
  34. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.js.map +1 -1
  35. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.cjs.js.map +1 -1
  36. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.js.map +1 -1
  37. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/WebSocketHandler.cjs.js.map +1 -1
  38. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/WebSocketHandler.js.map +1 -1
  39. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/http.cjs.js.map +1 -1
  40. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/http.js.map +1 -1
  41. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/index.cjs.js.map +1 -1
  42. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/index.js.map +1 -1
  43. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.cjs.js.map +1 -1
  44. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.js.map +1 -1
  45. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.cjs.js.map +1 -1
  46. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.js.map +1 -1
  47. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.cjs.js.map +1 -1
  48. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.js.map +1 -1
  49. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.cjs.js.map +1 -1
  50. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.js.map +1 -1
  51. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.cjs.js.map +1 -1
  52. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.js.map +1 -1
  53. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/attachSiblingHandlers.cjs.js.map +1 -1
  54. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/attachSiblingHandlers.js.map +1 -1
  55. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.cjs.js.map +1 -1
  56. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.js.map +1 -1
  57. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.cjs.js.map +1 -1
  58. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.js.map +1 -1
  59. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.cjs.js.map +1 -1
  60. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.js.map +1 -1
  61. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.cjs.js.map +1 -1
  62. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.js.map +1 -1
  63. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.cjs.js.map +1 -1
  64. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.js.map +1 -1
  65. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.cjs.js.map +1 -1
  66. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.js.map +1 -1
  67. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.cjs.js.map +1 -1
  68. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.js.map +1 -1
  69. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.cjs.js.map +1 -1
  70. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.js.map +1 -1
  71. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.cjs.js.map +1 -1
  72. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map +1 -1
  73. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.cjs.js.map +1 -1
  74. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.js.map +1 -1
  75. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.cjs.js.map +1 -1
  76. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.js.map +1 -1
  77. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.cjs.js.map +1 -1
  78. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.js.map +1 -1
  79. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.cjs.js.map +1 -1
  80. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.js.map +1 -1
  81. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.cjs.js.map +1 -1
  82. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.js.map +1 -1
  83. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.cjs.js.map +1 -1
  84. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.js.map +1 -1
  85. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.cjs.js.map +1 -1
  86. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.js.map +1 -1
  87. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.cjs.js.map +1 -1
  88. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.js.map +1 -1
  89. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.cjs.js.map +1 -1
  90. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.js.map +1 -1
  91. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.cjs.js.map +1 -1
  92. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.js.map +1 -1
  93. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/node/index.cjs.js.map +1 -1
  94. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/node/index.js.map +1 -1
  95. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.cjs.js.map +1 -1
  96. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.js.map +1 -1
  97. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.cjs.js.map +1 -1
  98. package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.js.map +1 -1
  99. package/package.json +1 -1
  100. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse-BFS34nkx.d.d.ts +0 -0
  101. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.cjs.js +0 -0
  102. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.js +0 -0
  103. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/compat.cjs.js +0 -0
  104. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/compat.js +0 -0
  105. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/define-network.cjs.js +0 -0
  106. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/define-network.js +0 -0
  107. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/http-frame.cjs.js +0 -0
  108. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/http-frame.d.d.ts +0 -0
  109. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/http-frame.js +0 -0
  110. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/network-frame.cjs.js +0 -0
  111. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/network-frame.js +0 -0
  112. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/websocket-frame.cjs.js +0 -0
  113. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/websocket-frame.d.d.ts +0 -0
  114. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/frames/websocket-frame.js +0 -0
  115. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/handlers-controller.cjs.js +0 -0
  116. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/handlers-controller.d.d.ts +0 -0
  117. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/handlers-controller.js +0 -0
  118. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/on-unhandled-frame.cjs.js +0 -0
  119. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/on-unhandled-frame.js +0 -0
  120. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/request-utils.cjs.js +0 -0
  121. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/request-utils.js +0 -0
  122. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/interceptor-source.cjs.js +0 -0
  123. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/interceptor-source.js +0 -0
  124. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/network-source.cjs.js +0 -0
  125. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/experimental/sources/network-source.js +0 -0
  126. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.cjs.js +0 -0
  127. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.d.d.ts +0 -0
  128. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.js +0 -0
  129. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.cjs.js +0 -0
  130. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.js +0 -0
  131. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/WebSocketHandler.cjs.js +0 -0
  132. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/WebSocketHandler.d.d.ts +0 -0
  133. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/handlers/WebSocketHandler.js +0 -0
  134. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/http.cjs.js +0 -0
  135. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/http.js +0 -0
  136. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/index.cjs.js +0 -0
  137. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/index.js +0 -0
  138. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.cjs.js +0 -0
  139. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.js +0 -0
  140. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/sharedOptions.d.d.ts +0 -0
  141. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/typeUtils.d.d.ts +0 -0
  142. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.cjs.js +0 -0
  143. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.js +0 -0
  144. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.cjs.js +0 -0
  145. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.js +0 -0
  146. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.cjs.js +0 -0
  147. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.js +0 -0
  148. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.cjs.js +0 -0
  149. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.js +0 -0
  150. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/attachSiblingHandlers.cjs.js +0 -0
  151. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/attachSiblingHandlers.js +0 -0
  152. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.cjs.js +0 -0
  153. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.js +0 -0
  154. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.cjs.js +0 -0
  155. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.js +0 -0
  156. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.cjs.js +0 -0
  157. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.js +0 -0
  158. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.cjs.js +0 -0
  159. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.d.d.ts +0 -0
  160. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.js +0 -0
  161. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.cjs.js +0 -0
  162. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.js +0 -0
  163. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.cjs.js +0 -0
  164. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.js +0 -0
  165. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.cjs.js +0 -0
  166. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.js +0 -0
  167. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.cjs.js +0 -0
  168. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.js +0 -0
  169. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.cjs.js +0 -0
  170. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.js +0 -0
  171. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.cjs.js +0 -0
  172. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.js +0 -0
  173. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.cjs.js +0 -0
  174. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.js +0 -0
  175. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.cjs.js +0 -0
  176. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.d.d.ts +0 -0
  177. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.js +0 -0
  178. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.cjs.js +0 -0
  179. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.js +0 -0
  180. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.cjs.js +0 -0
  181. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.js +0 -0
  182. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/onUnhandledRequest.d.d.ts +0 -0
  183. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.cjs.js +0 -0
  184. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.js +0 -0
  185. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.cjs.js +0 -0
  186. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.js +0 -0
  187. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.cjs.js +0 -0
  188. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.js +0 -0
  189. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.cjs.js +0 -0
  190. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.js +0 -0
  191. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.cjs.js +0 -0
  192. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.js +0 -0
  193. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/node/index.cjs.js +0 -0
  194. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/node/index.d.d.ts +0 -0
  195. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/node/index.js +0 -0
  196. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.cjs.js +0 -0
  197. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.js +0 -0
  198. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.cjs.js +0 -0
  199. /package/dist/node_modules/.pnpm/{msw@2.14.6_@types_node@20.19.39_typescript@5.4.5 → msw@2.14.6_@types_node@20.19.40_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.js +0 -0
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),r=require("@mui/material/Alert"),a=require("@mui/material/AlertTitle"),n=require("@mui/material/Box"),i=require("@mui/material/styles"),s=require("../../../icons/Alert/index.cjs.js"),l=require("../../../icons/CancelCircle/index.cjs.js"),o=require("../../../icons/CheckmarkCircle/index.cjs.js"),c=require("../../../icons/Diamond/index.cjs.js"),d=require("../../../icons/InformationCircle/index.cjs.js"),m=require("../../atoms/Button/index.cjs.js"),u=require("../../atoms/Link/index.cjs.js");const x={neutral:t=>e.jsx(c,{color:t.palette.semantic.icon["icon-strong"]}),brand:t=>e.jsx(c,{color:t.palette.semantic.icon["icon-primary"]}),destructive:t=>e.jsx(l,{color:t.palette.semantic.icon["icon-error"]}),warning:t=>e.jsx(s,{color:t.palette.semantic.icon["icon-warning"]}),information:t=>e.jsx(d,{color:t.palette.semantic.icon["icon-information"]}),"neutral-inverse":t=>e.jsx(c,{color:t.palette.semantic.icon["icon-inverse"]}),"brand-inverse":t=>e.jsx(c,{color:t.palette.semantic.icon["icon-inverse"]}),success:t=>e.jsx(o,{color:t.palette.semantic.icon["icon-success"]})},p={background:{neutral:e=>e.palette.semantic.fill["fill-weak"],brand:e=>e.palette.semantic.fill["fill-primary-weak"],destructive:e=>e.palette.semantic.fill["fill-error-weak"],warning:e=>e.palette.semantic.fill["fill-warning-weak"],success:e=>e.palette.semantic.fill["fill-success-weak"],information:e=>e.palette.semantic.fill["fill-information-weak"],"neutral-inverse":e=>e.palette.semantic.background["background-inverse"],"brand-inverse":e=>e.palette.semantic.fill["fill-primary-strong"]},border:{neutral:e=>e.palette.semantic.stroke["stroke-weak"],brand:e=>e.palette.semantic.stroke["stroke-primary-weak"],destructive:e=>e.palette.semantic.stroke["stroke-error-weak"],warning:e=>e.palette.semantic.stroke["stroke-warning-weak"],success:e=>e.palette.semantic.stroke["stroke-success-weak"],information:e=>e.palette.semantic.stroke["stroke-information-weak"],"neutral-inverse":e=>"transparent","brand-inverse":e=>"transparent"},header:{neutral:e=>e.palette.semantic.text["text-strong"],brand:e=>e.palette.semantic.text["text-strong"],destructive:e=>e.palette.semantic.text["text-strong"],warning:e=>e.palette.semantic.text["text-strong"],success:e=>e.palette.semantic.text["text-strong"],information:e=>e.palette.semantic.text["text-strong"],"neutral-inverse":e=>e.palette.semantic.text["text-inverse-strong"],"brand-inverse":e=>e.palette.semantic.text["text-inverse-strong"]},text:{neutral:e=>e.palette.semantic.text["text-weak"],brand:e=>e.palette.semantic.text["text-weak"],destructive:e=>e.palette.semantic.text["text-weak"],warning:e=>e.palette.semantic.text["text-weak"],success:e=>e.palette.semantic.text["text-weak"],information:e=>e.palette.semantic.text["text-weak"],"neutral-inverse":e=>e.palette.semantic.text["text-inverse-weak"],"brand-inverse":e=>e.palette.semantic.text["text-inverse-weak"]}},k=(e,t)=>x[t](e),f=(e,t)=>p.background[t](e),b=(e,t)=>p.border[t](e),j=(e,t)=>p.header[t](e),w=(e,t)=>p.text[t](e),g=i.styled(n)(()=>({marginTop:"16px"})),v=i.styled(u.Link)(()=>({padding:0})),y=i.styled(r,{shouldForwardProp:e=>!["tone"].includes(e)})(({theme:e,tone:t})=>({backgroundColor:f(e,t),border:"1px solid",borderColor:b(e,t),color:w(e,t)})),h=t.memo(({title:r,description:s,children:l,tone:o="neutral",icon:c,onClose:d,className:u,fdKey:x,action:p})=>{const f=i.useTheme(),b=t.useId(),w=l??s,h=Boolean(r),q=null!=w,C=h?`alert-title-${x??b}`:void 0,$=q?`alert-description-${x??b}`:void 0;return e.jsxs(y,{"aria-describedby":$,"aria-labelledby":C,className:u,"data-fd":x,icon:void 0===c?e.jsx("span",{"data-fd":"alert-icon",children:k(f,o)}):c??!1,onClose:d,role:"alert",tone:o,children:[h&&e.jsx(a,{color:j(f,o),id:C,children:r}),q&&e.jsx(n,{id:$,children:w}),(()=>{if(!p)return null;const t=r?`${p.label} - ${r}`:p.label;if("link"===p.kind){const r=p.fdKey??`action-link-${p.label.replace(/\s+/g,"-").toLowerCase()}`;return e.jsx(g,{children:e.jsx(v,{"aria-label":t,fdKey:r,href:p.href,rel:p.rel,target:p.target,children:p.label})})}const a=p.fdKey??`action-button-${p.label.replace(/\s+/g,"-").toLowerCase()}`;return e.jsx(g,{children:e.jsx(m.Button,{"aria-label":t,fdKey:a,onClick:p.onClick,size:"small",variant:p.type??"primary",children:p.label})})})()]})});h.displayName="Alert",module.exports=h;
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("@mui/material/Alert"),i=require("@mui/material/AlertTitle"),r=require("@mui/material/Box"),a=require("@mui/material/styles"),s=require("../../../icons/Alert/index.cjs.js"),l=require("../../../icons/CancelCircle/index.cjs.js"),c=require("../../../icons/CheckmarkCircle/index.cjs.js"),o=require("../../../icons/Diamond/index.cjs.js"),m=require("../../../icons/InformationCircle/index.cjs.js"),d=require("../../atoms/Button/index.cjs.js"),u=require("../../atoms/Link/index.cjs.js");const p={neutral:t=>e.jsx(o,{color:t.palette.semantic.icon["icon-strong"]}),brand:t=>e.jsx(o,{color:t.palette.semantic.icon["icon-primary"]}),destructive:t=>e.jsx(l,{color:t.palette.semantic.icon["icon-error"]}),warning:t=>e.jsx(s,{color:t.palette.semantic.icon["icon-warning"]}),information:t=>e.jsx(m,{color:t.palette.semantic.icon["icon-information"]}),"neutral-inverse":t=>e.jsx(o,{color:t.palette.semantic.icon["icon-inverse"]}),"brand-inverse":t=>e.jsx(o,{color:t.palette.semantic.icon["icon-inverse"]}),success:t=>e.jsx(c,{color:t.palette.semantic.icon["icon-success"]})},x={background:{neutral:e=>e.palette.semantic.fill["fill-weak"],brand:e=>e.palette.semantic.fill["fill-primary-weak"],destructive:e=>e.palette.semantic.fill["fill-error-weak"],warning:e=>e.palette.semantic.fill["fill-warning-weak"],success:e=>e.palette.semantic.fill["fill-success-weak"],information:e=>e.palette.semantic.fill["fill-information-weak"],"neutral-inverse":e=>e.palette.semantic.background["background-inverse"],"brand-inverse":e=>e.palette.semantic.fill["fill-primary-strong"]},border:{neutral:e=>e.palette.semantic.stroke["stroke-weak"],brand:e=>e.palette.semantic.stroke["stroke-primary-weak"],destructive:e=>e.palette.semantic.stroke["stroke-error-weak"],warning:e=>e.palette.semantic.stroke["stroke-warning-weak"],success:e=>e.palette.semantic.stroke["stroke-success-weak"],information:e=>e.palette.semantic.stroke["stroke-information-weak"],"neutral-inverse":e=>"transparent","brand-inverse":e=>"transparent"},header:{neutral:e=>e.palette.semantic.text["text-strong"],brand:e=>e.palette.semantic.text["text-strong"],destructive:e=>e.palette.semantic.text["text-strong"],warning:e=>e.palette.semantic.text["text-strong"],success:e=>e.palette.semantic.text["text-strong"],information:e=>e.palette.semantic.text["text-strong"],"neutral-inverse":e=>e.palette.semantic.text["text-inverse-strong"],"brand-inverse":e=>e.palette.semantic.text["text-inverse-strong"]},text:{neutral:e=>e.palette.semantic.text["text-weak"],brand:e=>e.palette.semantic.text["text-weak"],destructive:e=>e.palette.semantic.text["text-weak"],warning:e=>e.palette.semantic.text["text-weak"],success:e=>e.palette.semantic.text["text-weak"],information:e=>e.palette.semantic.text["text-weak"],"neutral-inverse":e=>e.palette.semantic.text["text-inverse-weak"],"brand-inverse":e=>e.palette.semantic.text["text-inverse-weak"]},icon:{neutral:e=>e.palette.semantic.icon["icon-strong"],brand:e=>e.palette.semantic.icon["icon-primary"],destructive:e=>e.palette.semantic.icon["icon-error"],warning:e=>e.palette.semantic.icon["icon-warning"],success:e=>e.palette.semantic.icon["icon-success"],information:e=>e.palette.semantic.icon["icon-information"],"neutral-inverse":e=>e.palette.semantic.icon["icon-inverse"],"brand-inverse":e=>e.palette.semantic.icon["icon-inverse"]}},k=(e,t)=>p[t](e),f=(e,t)=>x.background[t](e),b=(e,t)=>x.border[t](e),w=(e,t)=>x.header[t](e),g=(e,t)=>x.text[t](e),v=a.styled(r)(()=>({marginTop:"16px"})),j=a.styled(u.Link)(()=>({padding:0})),y=a.styled(n,{shouldForwardProp:e=>!["tone"].includes(e)})(({theme:e,tone:t})=>({backgroundColor:f(e,t),border:"1px solid",borderColor:b(e,t),color:g(e,t),"& .MuiAlert-icon":{color:x.icon[t](e)}})),h=t.memo(({title:n,description:s,children:l,tone:c="neutral",icon:o,onClose:m,className:u,fdKey:p,action:x})=>{const f=a.useTheme(),b=t.useId(),g=l??s,h=Boolean(n),q=null!=g,C=h?`alert-title-${p??b}`:void 0,$=q?`alert-description-${p??b}`:void 0;return e.jsxs(y,{"aria-describedby":$,"aria-labelledby":C,className:u,"data-fd":p,icon:void 0===o?e.jsx("span",{"data-fd":"alert-icon",children:k(f,c)}):o??!1,onClose:m,role:"alert",tone:c,children:[h&&e.jsx(i,{color:w(f,c),id:C,children:n}),q&&e.jsx(r,{id:$,children:g}),(()=>{if(!x)return null;const t=n?`${x.label} - ${n}`:x.label;if("link"===x.kind){const n=x.fdKey??`action-link-${x.label.replace(/\s+/g,"-").toLowerCase()}`;return e.jsx(v,{children:e.jsx(j,{"aria-label":t,fdKey:n,href:x.href,rel:x.rel,target:x.target,children:x.label})})}const i=x.fdKey??`action-button-${x.label.replace(/\s+/g,"-").toLowerCase()}`;return e.jsx(v,{children:e.jsx(d.Button,{"aria-label":t,fdKey:i,onClick:x.onClick,size:"small",variant:x.type??"primary",children:x.label})})})()]})});h.displayName="Alert",module.exports=h;
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../../../../src/components/molecules/Alert/index.tsx"],"sourcesContent":["import { memo, type ReactNode, useId } from 'react';\n\nimport MuiAlert from '@mui/material/Alert';\nimport MuiAlertTitle from '@mui/material/AlertTitle';\nimport Box from '@mui/material/Box';\nimport { styled, type Theme, useTheme } from '@mui/material/styles';\n\nimport AlertIcon from '../../../icons/Alert';\nimport CancelCircleIcon from '../../../icons/CancelCircle';\nimport CheckmarkCircleIcon from '../../../icons/CheckmarkCircle';\nimport DiamondIcon from '../../../icons/Diamond';\nimport InformationCircleIcon from '../../../icons/InformationCircle';\nimport Button from '../../atoms/Button';\nimport type { ButtonType } from '../../atoms/Button/getButtonStyles';\nimport Link from '../../atoms/Link';\n\n/** Visual tone of the alert */\nexport type AlertTones =\n | 'brand-inverse'\n | 'brand'\n | 'destructive'\n | 'information'\n | 'neutral-inverse'\n | 'neutral'\n | 'success'\n | 'warning';\n\n/** Props for the Alert component */\nexport interface AlertProps {\n /** Optional main heading text of the alert */\n title?: string;\n /** Detailed description text of the alert */\n description?: string;\n /** Optional custom content; when provided it replaces description */\n children?: ReactNode;\n /** Visual tone of the alert */\n tone?: AlertTones;\n /** Optional icon override; pass null to hide the icon */\n icon?: ReactNode | null;\n /** Callback function when the alert is closed */\n onClose?: () => void;\n /** Action configuration (button by default, or link) */\n action?: AlertAction;\n /** Additional CSS class names */\n className?: string;\n /** Test ID for testing and automation */\n fdKey?: string;\n}\n\nexport type AlertAction =\n | {\n /** Defaults to button when omitted */\n kind?: 'button';\n /** Text label for the action button */\n label: string;\n /** Visual style of the action button */\n type?: ButtonType;\n /** Callback function when the action button is clicked */\n onClick: () => void;\n /** Test ID for the action button */\n fdKey?: string;\n }\n | {\n /** Render a link action */\n kind: 'link';\n /** Text label for the link */\n label: string;\n /** Destination URL */\n href: string;\n /** Target for the link */\n target?: '_blank' | '_parent' | '_self' | '_top';\n /** rel attribute for the link */\n rel?: string;\n /** Test ID for the link */\n fdKey?: string;\n };\n\nconst ICONS = {\n neutral: (theme: Theme): JSX.Element => <DiamondIcon color={theme.palette.semantic.icon['icon-strong']} />,\n brand: (theme: Theme): JSX.Element => <DiamondIcon color={theme.palette.semantic.icon['icon-primary']} />,\n destructive: (theme: Theme): JSX.Element => (\n <CancelCircleIcon color={theme.palette.semantic.icon['icon-error']} />\n ),\n warning: (theme: Theme): JSX.Element => <AlertIcon color={theme.palette.semantic.icon['icon-warning']} />,\n information: (theme: Theme): JSX.Element => (\n <InformationCircleIcon color={theme.palette.semantic.icon['icon-information']} />\n ),\n 'neutral-inverse': (theme: Theme): JSX.Element => (\n <DiamondIcon color={theme.palette.semantic.icon['icon-inverse']} />\n ),\n 'brand-inverse': (theme: Theme): JSX.Element => (\n <DiamondIcon color={theme.palette.semantic.icon['icon-inverse']} />\n ),\n success: (theme: Theme): JSX.Element => (\n <CheckmarkCircleIcon color={theme.palette.semantic.icon['icon-success']} />\n ),\n};\n\nconst COLOURS = {\n background: {\n neutral: (theme: Theme): string => theme.palette.semantic.fill['fill-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.fill['fill-primary-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.fill['fill-error-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.fill['fill-warning-weak'],\n success: (theme: Theme): string => theme.palette.semantic.fill['fill-success-weak'],\n information: (theme: Theme): string => theme.palette.semantic.fill['fill-information-weak'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.background['background-inverse'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.fill['fill-primary-strong'],\n },\n border: {\n neutral: (theme: Theme): string => theme.palette.semantic.stroke['stroke-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.stroke['stroke-primary-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.stroke['stroke-error-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.stroke['stroke-warning-weak'],\n success: (theme: Theme): string => theme.palette.semantic.stroke['stroke-success-weak'],\n information: (theme: Theme): string => theme.palette.semantic.stroke['stroke-information-weak'],\n 'neutral-inverse': (_theme: Theme): string => 'transparent',\n 'brand-inverse': (_theme: Theme): string => 'transparent',\n },\n header: {\n neutral: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n brand: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n destructive: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n warning: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n success: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n information: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-strong'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-strong'],\n },\n text: {\n neutral: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n success: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n information: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-weak'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-weak'],\n },\n};\n\nconst getIcon = (theme: Theme, tone: AlertTones): JSX.Element => {\n return ICONS[tone](theme);\n};\n\nconst getBackgroundColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.background[tone](theme);\n};\n\nconst getBorderColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.border[tone](theme);\n};\n\nconst getHeaderColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.header[tone](theme);\n};\n\nconst getTextColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.text[tone](theme);\n};\n\ninterface StyledAlertProps {\n tone: AlertTones;\n}\n\nconst StyledActionContainer = styled(Box)(() => ({\n marginTop: '16px',\n}));\n\nconst StyledActionLink = styled(Link)(() => ({\n padding: 0,\n}));\n\nconst StyledAlert = styled(MuiAlert, {\n shouldForwardProp: (prop) => !['tone'].includes(prop as string),\n})<StyledAlertProps>(({ theme, tone }) => ({\n backgroundColor: getBackgroundColour(theme, tone),\n border: '1px solid',\n borderColor: getBorderColour(theme, tone),\n color: getTextColour(theme, tone),\n}));\n\n/**\n * Alert component is used to display important messages or notifications to users.\n * It supports different visual tones to convey different semantic meanings and can include\n * an optional action button and close button.\n *\n * The component is wrapped with React.memo to optimize performance by preventing unnecessary\n * re-renders when the component's props haven't changed, which is beneficial for components\n * that may be used frequently throughout the application.\n */\nconst Alert = memo(\n ({\n title,\n description,\n children,\n tone = 'neutral',\n icon,\n onClose,\n className,\n fdKey,\n action,\n }: AlertProps) => {\n const theme = useTheme();\n const alertId = useId();\n const content = children ?? description;\n const hasTitle = Boolean(title);\n const hasContent = content !== undefined && content !== null;\n const titleId = hasTitle ? `alert-title-${fdKey ?? alertId}` : undefined;\n const descriptionId = hasContent ? `alert-description-${fdKey ?? alertId}` : undefined;\n\n const renderAction = (): JSX.Element | null => {\n if (!action) {\n return null;\n }\n\n const actionLabel = title ? `${action.label} - ${title}` : action.label;\n\n if (action.kind === 'link') {\n const actionFdKey = action.fdKey ?? `action-link-${action.label.replace(/\\s+/g, '-').toLowerCase()}`;\n\n return (\n <StyledActionContainer>\n <StyledActionLink\n aria-label={actionLabel}\n fdKey={actionFdKey}\n href={action.href}\n rel={action.rel}\n target={action.target}\n >\n {action.label}\n </StyledActionLink>\n </StyledActionContainer>\n );\n }\n\n const actionFdKey = action.fdKey ?? `action-button-${action.label.replace(/\\s+/g, '-').toLowerCase()}`;\n\n return (\n <StyledActionContainer>\n <Button\n aria-label={actionLabel}\n fdKey={actionFdKey}\n onClick={action.onClick}\n size=\"small\"\n variant={action.type ?? 'primary'}\n >\n {action.label}\n </Button>\n </StyledActionContainer>\n );\n };\n\n return (\n <StyledAlert\n aria-describedby={descriptionId}\n aria-labelledby={titleId}\n className={className}\n data-fd={fdKey}\n icon={icon === undefined ? <span data-fd=\"alert-icon\">{getIcon(theme, tone)}</span> : (icon ?? false)}\n onClose={onClose}\n role=\"alert\"\n tone={tone}\n >\n {hasTitle && (\n <MuiAlertTitle color={getHeaderColour(theme, tone)} id={titleId}>\n {title}\n </MuiAlertTitle>\n )}\n {hasContent && <Box id={descriptionId}>{content}</Box>}\n {renderAction()}\n </StyledAlert>\n );\n },\n);\n\nAlert.displayName = 'Alert';\n\nexport default Alert;\n"],"names":["ICONS","neutral","theme","_jsx","DiamondIcon","color","palette","semantic","icon","brand","destructive","CancelCircleIcon","warning","AlertIcon","information","InformationCircleIcon","success","CheckmarkCircleIcon","COLOURS","background","fill","border","stroke","_theme","header","text","getIcon","tone","getBackgroundColour","getBorderColour","getHeaderColour","getTextColour","StyledActionContainer","styled","Box","marginTop","StyledActionLink","Link","padding","StyledAlert","MuiAlert","shouldForwardProp","prop","includes","backgroundColor","borderColor","Alert","memo","title","description","children","onClose","className","fdKey","action","useTheme","alertId","useId","content","hasTitle","Boolean","hasContent","titleId","undefined","descriptionId","_jsxs","role","MuiAlertTitle","id","actionLabel","label","kind","actionFdKey","replace","toLowerCase","href","rel","target","Button","onClick","size","variant","type","renderAction","displayName"],"mappings":"6iBA6EA,MAAMA,EAAQ,CACZC,QAAUC,GAA8BC,EAAAA,IAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,iBACxFC,MAAQP,GAA8BC,EAAAA,IAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,kBACtFE,YAAcR,GACZC,MAACQ,EAAgB,CAACN,MAAOH,EAAMI,QAAQC,SAASC,KAAK,gBAEvDI,QAAUV,GAA8BC,EAAAA,IAACU,EAAS,CAACR,MAAOH,EAAMI,QAAQC,SAASC,KAAK,kBACtFM,YAAcZ,GACZC,MAACY,EAAqB,CAACV,MAAOH,EAAMI,QAAQC,SAASC,KAAK,sBAE5D,kBAAoBN,GAClBC,MAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,kBAElD,gBAAkBN,GAChBC,MAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,kBAElDQ,QAAUd,GACRC,MAACc,EAAmB,CAACZ,MAAOH,EAAMI,QAAQC,SAASC,KAAK,mBAItDU,EAAU,CACdC,WAAY,CACVlB,QAAUC,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,aAC/DX,MAAQP,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,qBAC7DV,YAAcR,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,mBACnER,QAAUV,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,qBAC/DJ,QAAUd,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,qBAC/DN,YAAcZ,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,yBACnE,kBAAoBlB,GAAyBA,EAAMI,QAAQC,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,EACTe,KAAK,QACLvC,KAAMA,YAELgC,GACCxD,EAAAA,IAACgE,GAAc9D,MAAOyB,EAAgB5B,EAAOyB,GAAOyC,GAAIN,EAAOZ,SAC5DF,IAGJa,GAAc1D,EAAAA,IAAC+B,EAAG,CAACkC,GAAIJ,EAAad,SAAGQ,IA1DvB,MACnB,IAAKJ,EACH,OAAO,KAGT,MAAMe,EAAcrB,EAAQ,GAAGM,EAAOgB,WAAWtB,IAAUM,EAAOgB,MAElE,GAAoB,SAAhBhB,EAAOiB,KAAiB,CAC1B,MAAMC,EAAclB,EAAOD,OAAS,eAAeC,EAAOgB,MAAMG,QAAQ,OAAQ,KAAKC,gBAErF,OACEvE,MAAC6B,EAAqB,CAAAkB,SACpB/C,EAAAA,IAACiC,EAAgB,CAAA,aACHiC,EACZhB,MAAOmB,EACPG,KAAMrB,EAAOqB,KACbC,IAAKtB,EAAOsB,IACZC,OAAQvB,EAAOuB,gBAEdvB,EAAOgB,SAIhB,CAEA,MAAME,EAAclB,EAAOD,OAAS,iBAAiBC,EAAOgB,MAAMG,QAAQ,OAAQ,KAAKC,gBAEvF,OACEvE,MAAC6B,EAAqB,CAAAkB,SACpB/C,EAAAA,IAAC2E,SAAM,CAAA,aACOT,EACZhB,MAAOmB,EACPO,QAASzB,EAAOyB,QAChBC,KAAK,QACLC,QAAS3B,EAAO4B,MAAQ,mBAEvB5B,EAAOgB,WAuBXa,QAMTrC,EAAMsC,YAAc"}
1
+ {"version":3,"file":"index.cjs.js","sources":["../../../../src/components/molecules/Alert/index.tsx"],"sourcesContent":["import { memo, type ReactNode, useId } from 'react';\n\nimport MuiAlert from '@mui/material/Alert';\nimport MuiAlertTitle from '@mui/material/AlertTitle';\nimport Box from '@mui/material/Box';\nimport { styled, type Theme, useTheme } from '@mui/material/styles';\n\nimport AlertIcon from '../../../icons/Alert';\nimport CancelCircleIcon from '../../../icons/CancelCircle';\nimport CheckmarkCircleIcon from '../../../icons/CheckmarkCircle';\nimport DiamondIcon from '../../../icons/Diamond';\nimport InformationCircleIcon from '../../../icons/InformationCircle';\nimport Button from '../../atoms/Button';\nimport type { ButtonType } from '../../atoms/Button/getButtonStyles';\nimport Link from '../../atoms/Link';\n\n/** Visual tone of the alert */\nexport type AlertTones =\n | 'brand-inverse'\n | 'brand'\n | 'destructive'\n | 'information'\n | 'neutral-inverse'\n | 'neutral'\n | 'success'\n | 'warning';\n\n/** Props for the Alert component */\nexport interface AlertProps {\n /** Optional main heading text of the alert */\n title?: string;\n /** Detailed description text of the alert */\n description?: string;\n /** Optional custom content; when provided it replaces description */\n children?: ReactNode;\n /** Visual tone of the alert */\n tone?: AlertTones;\n /** Optional icon override; pass null to hide the icon */\n icon?: ReactNode | null;\n /** Callback function when the alert is closed */\n onClose?: () => void;\n /** Action configuration (button by default, or link) */\n action?: AlertAction;\n /** Additional CSS class names */\n className?: string;\n /** Test ID for testing and automation */\n fdKey?: string;\n}\n\nexport type AlertAction =\n | {\n /** Defaults to button when omitted */\n kind?: 'button';\n /** Text label for the action button */\n label: string;\n /** Visual style of the action button */\n type?: ButtonType;\n /** Callback function when the action button is clicked */\n onClick: () => void;\n /** Test ID for the action button */\n fdKey?: string;\n }\n | {\n /** Render a link action */\n kind: 'link';\n /** Text label for the link */\n label: string;\n /** Destination URL */\n href: string;\n /** Target for the link */\n target?: '_blank' | '_parent' | '_self' | '_top';\n /** rel attribute for the link */\n rel?: string;\n /** Test ID for the link */\n fdKey?: string;\n };\n\nconst ICONS = {\n neutral: (theme: Theme): JSX.Element => <DiamondIcon color={theme.palette.semantic.icon['icon-strong']} />,\n brand: (theme: Theme): JSX.Element => <DiamondIcon color={theme.palette.semantic.icon['icon-primary']} />,\n destructive: (theme: Theme): JSX.Element => (\n <CancelCircleIcon color={theme.palette.semantic.icon['icon-error']} />\n ),\n warning: (theme: Theme): JSX.Element => <AlertIcon color={theme.palette.semantic.icon['icon-warning']} />,\n information: (theme: Theme): JSX.Element => (\n <InformationCircleIcon color={theme.palette.semantic.icon['icon-information']} />\n ),\n 'neutral-inverse': (theme: Theme): JSX.Element => (\n <DiamondIcon color={theme.palette.semantic.icon['icon-inverse']} />\n ),\n 'brand-inverse': (theme: Theme): JSX.Element => (\n <DiamondIcon color={theme.palette.semantic.icon['icon-inverse']} />\n ),\n success: (theme: Theme): JSX.Element => (\n <CheckmarkCircleIcon color={theme.palette.semantic.icon['icon-success']} />\n ),\n};\n\nconst COLOURS = {\n background: {\n neutral: (theme: Theme): string => theme.palette.semantic.fill['fill-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.fill['fill-primary-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.fill['fill-error-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.fill['fill-warning-weak'],\n success: (theme: Theme): string => theme.palette.semantic.fill['fill-success-weak'],\n information: (theme: Theme): string => theme.palette.semantic.fill['fill-information-weak'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.background['background-inverse'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.fill['fill-primary-strong'],\n },\n border: {\n neutral: (theme: Theme): string => theme.palette.semantic.stroke['stroke-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.stroke['stroke-primary-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.stroke['stroke-error-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.stroke['stroke-warning-weak'],\n success: (theme: Theme): string => theme.palette.semantic.stroke['stroke-success-weak'],\n information: (theme: Theme): string => theme.palette.semantic.stroke['stroke-information-weak'],\n 'neutral-inverse': (_theme: Theme): string => 'transparent',\n 'brand-inverse': (_theme: Theme): string => 'transparent',\n },\n header: {\n neutral: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n brand: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n destructive: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n warning: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n success: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n information: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-strong'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-strong'],\n },\n text: {\n neutral: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n success: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n information: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-weak'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-weak'],\n },\n icon: {\n neutral: (theme: Theme): string => theme.palette.semantic.icon['icon-strong'],\n brand: (theme: Theme): string => theme.palette.semantic.icon['icon-primary'],\n destructive: (theme: Theme): string => theme.palette.semantic.icon['icon-error'],\n warning: (theme: Theme): string => theme.palette.semantic.icon['icon-warning'],\n success: (theme: Theme): string => theme.palette.semantic.icon['icon-success'],\n information: (theme: Theme): string => theme.palette.semantic.icon['icon-information'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.icon['icon-inverse'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.icon['icon-inverse'],\n },\n};\n\nconst getIcon = (theme: Theme, tone: AlertTones): JSX.Element => {\n return ICONS[tone](theme);\n};\n\nconst getBackgroundColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.background[tone](theme);\n};\n\nconst getBorderColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.border[tone](theme);\n};\n\nconst getHeaderColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.header[tone](theme);\n};\n\nconst getTextColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.text[tone](theme);\n};\n\ninterface StyledAlertProps {\n tone: AlertTones;\n}\n\nconst StyledActionContainer = styled(Box)(() => ({\n marginTop: '16px',\n}));\n\nconst StyledActionLink = styled(Link)(() => ({\n padding: 0,\n}));\n\nconst StyledAlert = styled(MuiAlert, {\n shouldForwardProp: (prop) => !['tone'].includes(prop as string),\n})<StyledAlertProps>(({ theme, tone }) => ({\n backgroundColor: getBackgroundColour(theme, tone),\n border: '1px solid',\n borderColor: getBorderColour(theme, tone),\n color: getTextColour(theme, tone),\n '& .MuiAlert-icon': {\n color: COLOURS.icon[tone](theme),\n },\n}));\n\n/**\n * Alert component is used to display important messages or notifications to users.\n * It supports different visual tones to convey different semantic meanings and can include\n * an optional action button and close button.\n *\n * The component is wrapped with React.memo to optimize performance by preventing unnecessary\n * re-renders when the component's props haven't changed, which is beneficial for components\n * that may be used frequently throughout the application.\n */\nconst Alert = memo(\n ({\n title,\n description,\n children,\n tone = 'neutral',\n icon,\n onClose,\n className,\n fdKey,\n action,\n }: AlertProps) => {\n const theme = useTheme();\n const alertId = useId();\n const content = children ?? description;\n const hasTitle = Boolean(title);\n const hasContent = content !== undefined && content !== null;\n const titleId = hasTitle ? `alert-title-${fdKey ?? alertId}` : undefined;\n const descriptionId = hasContent ? `alert-description-${fdKey ?? alertId}` : undefined;\n\n const renderAction = (): JSX.Element | null => {\n if (!action) {\n return null;\n }\n\n const actionLabel = title ? `${action.label} - ${title}` : action.label;\n\n if (action.kind === 'link') {\n const actionFdKey = action.fdKey ?? `action-link-${action.label.replace(/\\s+/g, '-').toLowerCase()}`;\n\n return (\n <StyledActionContainer>\n <StyledActionLink\n aria-label={actionLabel}\n fdKey={actionFdKey}\n href={action.href}\n rel={action.rel}\n target={action.target}\n >\n {action.label}\n </StyledActionLink>\n </StyledActionContainer>\n );\n }\n\n const actionFdKey = action.fdKey ?? `action-button-${action.label.replace(/\\s+/g, '-').toLowerCase()}`;\n\n return (\n <StyledActionContainer>\n <Button\n aria-label={actionLabel}\n fdKey={actionFdKey}\n onClick={action.onClick}\n size=\"small\"\n variant={action.type ?? 'primary'}\n >\n {action.label}\n </Button>\n </StyledActionContainer>\n );\n };\n\n return (\n <StyledAlert\n aria-describedby={descriptionId}\n aria-labelledby={titleId}\n className={className}\n data-fd={fdKey}\n icon={icon === undefined ? <span data-fd=\"alert-icon\">{getIcon(theme, tone)}</span> : (icon ?? false)}\n onClose={onClose}\n role=\"alert\"\n tone={tone}\n >\n {hasTitle && (\n <MuiAlertTitle color={getHeaderColour(theme, tone)} id={titleId}>\n {title}\n </MuiAlertTitle>\n )}\n {hasContent && <Box id={descriptionId}>{content}</Box>}\n {renderAction()}\n </StyledAlert>\n );\n },\n);\n\nAlert.displayName = 'Alert';\n\nexport default Alert;\n"],"names":["ICONS","neutral","theme","_jsx","DiamondIcon","color","palette","semantic","icon","brand","destructive","CancelCircleIcon","warning","AlertIcon","information","InformationCircleIcon","success","CheckmarkCircleIcon","COLOURS","background","fill","border","stroke","_theme","header","text","getIcon","tone","getBackgroundColour","getBorderColour","getHeaderColour","getTextColour","StyledActionContainer","styled","Box","marginTop","StyledActionLink","Link","padding","StyledAlert","MuiAlert","shouldForwardProp","prop","includes","backgroundColor","borderColor","Alert","memo","title","description","children","onClose","className","fdKey","action","useTheme","alertId","useId","content","hasTitle","Boolean","hasContent","titleId","undefined","descriptionId","_jsxs","role","MuiAlertTitle","id","actionLabel","label","kind","actionFdKey","replace","toLowerCase","href","rel","target","Button","onClick","size","variant","type","renderAction","displayName"],"mappings":"6iBA6EA,MAAMA,EAAQ,CACZC,QAAUC,GAA8BC,EAAAA,IAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,iBACxFC,MAAQP,GAA8BC,EAAAA,IAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,kBACtFE,YAAcR,GACZC,MAACQ,EAAgB,CAACN,MAAOH,EAAMI,QAAQC,SAASC,KAAK,gBAEvDI,QAAUV,GAA8BC,EAAAA,IAACU,EAAS,CAACR,MAAOH,EAAMI,QAAQC,SAASC,KAAK,kBACtFM,YAAcZ,GACZC,MAACY,EAAqB,CA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AAOZ,SAC5DF,IAGJa,GAAc1D,EAAAA,IAAC+B,EAAG,CAACkC,GAAIJ,EAAad,SAAGQ,IA1DvB,MACnB,IAAKJ,EACH,OAAO,KAGT,MAAMe,EAAcrB,EAAQ,GAAGM,EAAOgB,WAAWtB,IAAUM,EAAOgB,MAElE,GAAoB,SAAhBhB,EAAOiB,KAAiB,CAC1B,MAAMC,EAAclB,EAAOD,OAAS,eAAeC,EAAOgB,MAAMG,QAAQ,OAAQ,KAAKC,gBAErF,OACEvE,MAAC6B,EAAqB,CAAAkB,SACpB/C,EAAAA,IAACiC,EAAgB,CAAA,aACHiC,EACZhB,MAAOmB,EACPG,KAAMrB,EAAOqB,KACbC,IAAKtB,EAAOsB,IACZC,OAAQvB,EAAOuB,gBAEdvB,EAAOgB,SAIhB,CAEA,MAAME,EAAclB,EAAOD,OAAS,iBAAiBC,EAAOgB,MAAMG,QAAQ,OAAQ,KAAKC,gBAEvF,OACEvE,MAAC6B,EAAqB,CAAAkB,SACpB/C,EAAAA,IAAC2E,SAAM,CAAA,aACOT,EACZhB,MAAOmB,EACPO,QAASzB,EAAOyB,QAChBC,KAAK,QACLC,QAAS3B,EAAO4B,MAAQ,mBAEvB5B,EAAOgB,WAuBXa,QAMTrC,EAAMsC,YAAc"}
@@ -1,2 +1,2 @@
1
- import{jsxs as e,jsx as t}from"react/jsx-runtime";import{memo as r,useId as a}from"react";import n from"@mui/material/Alert";import i from"@mui/material/AlertTitle";import o from"@mui/material/Box";import{styled as l,useTheme as s}from"@mui/material/styles";import c from"../../../icons/Alert/index.js";import m from"../../../icons/CancelCircle/index.js";import d from"../../../icons/CheckmarkCircle/index.js";import p from"../../../icons/Diamond/index.js";import f from"../../../icons/InformationCircle/index.js";import{Button as x}from"../../atoms/Button/index.js";import{Link as k}from"../../atoms/Link/index.js";const u={neutral:e=>t(p,{color:e.palette.semantic.icon["icon-strong"]}),brand:e=>t(p,{color:e.palette.semantic.icon["icon-primary"]}),destructive:e=>t(m,{color:e.palette.semantic.icon["icon-error"]}),warning:e=>t(c,{color:e.palette.semantic.icon["icon-warning"]}),information:e=>t(f,{color:e.palette.semantic.icon["icon-information"]}),"neutral-inverse":e=>t(p,{color:e.palette.semantic.icon["icon-inverse"]}),"brand-inverse":e=>t(p,{color:e.palette.semantic.icon["icon-inverse"]}),success:e=>t(d,{color:e.palette.semantic.icon["icon-success"]})},b={background:{neutral:e=>e.palette.semantic.fill["fill-weak"],brand:e=>e.palette.semantic.fill["fill-primary-weak"],destructive:e=>e.palette.semantic.fill["fill-error-weak"],warning:e=>e.palette.semantic.fill["fill-warning-weak"],success:e=>e.palette.semantic.fill["fill-success-weak"],information:e=>e.palette.semantic.fill["fill-information-weak"],"neutral-inverse":e=>e.palette.semantic.background["background-inverse"],"brand-inverse":e=>e.palette.semantic.fill["fill-primary-strong"]},border:{neutral:e=>e.palette.semantic.stroke["stroke-weak"],brand:e=>e.palette.semantic.stroke["stroke-primary-weak"],destructive:e=>e.palette.semantic.stroke["stroke-error-weak"],warning:e=>e.palette.semantic.stroke["stroke-warning-weak"],success:e=>e.palette.semantic.stroke["stroke-success-weak"],information:e=>e.palette.semantic.stroke["stroke-information-weak"],"neutral-inverse":e=>"transparent","brand-inverse":e=>"transparent"},header:{neutral:e=>e.palette.semantic.text["text-strong"],brand:e=>e.palette.semantic.text["text-strong"],destructive:e=>e.palette.semantic.text["text-strong"],warning:e=>e.palette.semantic.text["text-strong"],success:e=>e.palette.semantic.text["text-strong"],information:e=>e.palette.semantic.text["text-strong"],"neutral-inverse":e=>e.palette.semantic.text["text-inverse-strong"],"brand-inverse":e=>e.palette.semantic.text["text-inverse-strong"]},text:{neutral:e=>e.palette.semantic.text["text-weak"],brand:e=>e.palette.semantic.text["text-weak"],destructive:e=>e.palette.semantic.text["text-weak"],warning:e=>e.palette.semantic.text["text-weak"],success:e=>e.palette.semantic.text["text-weak"],information:e=>e.palette.semantic.text["text-weak"],"neutral-inverse":e=>e.palette.semantic.text["text-inverse-weak"],"brand-inverse":e=>e.palette.semantic.text["text-inverse-weak"]}},w=(e,t)=>u[t](e),g=(e,t)=>b.background[t](e),v=(e,t)=>b.border[t](e),h=(e,t)=>b.header[t](e),y=(e,t)=>b.text[t](e),C=l(o)(()=>({marginTop:"16px"})),j=l(k)(()=>({padding:0})),$=l(n,{shouldForwardProp:e=>!["tone"].includes(e)})(({theme:e,tone:t})=>({backgroundColor:g(e,t),border:"1px solid",borderColor:v(e,t),color:y(e,t)})),K=r(({title:r,description:n,children:l,tone:c="neutral",icon:m,onClose:d,className:p,fdKey:f,action:k})=>{const u=s(),b=a(),g=l??n,v=Boolean(r),y=null!=g,K=v?`alert-title-${f??b}`:void 0,A=y?`alert-description-${f??b}`:void 0;return e($,{"aria-describedby":A,"aria-labelledby":K,className:p,"data-fd":f,icon:void 0===m?t("span",{"data-fd":"alert-icon",children:w(u,c)}):m??!1,onClose:d,role:"alert",tone:c,children:[v&&t(i,{color:h(u,c),id:K,children:r}),y&&t(o,{id:A,children:g}),(()=>{if(!k)return null;const e=r?`${k.label} - ${r}`:k.label;if("link"===k.kind){const r=k.fdKey??`action-link-${k.label.replace(/\s+/g,"-").toLowerCase()}`;return t(C,{children:t(j,{"aria-label":e,fdKey:r,href:k.href,rel:k.rel,target:k.target,children:k.label})})}const a=k.fdKey??`action-button-${k.label.replace(/\s+/g,"-").toLowerCase()}`;return t(C,{children:t(x,{"aria-label":e,fdKey:a,onClick:k.onClick,size:"small",variant:k.type??"primary",children:k.label})})})()]})});K.displayName="Alert";export{K as default};
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{memo as n,useId as i}from"react";import a from"@mui/material/Alert";import r from"@mui/material/AlertTitle";import o from"@mui/material/Box";import{styled as l,useTheme as s}from"@mui/material/styles";import c from"../../../icons/Alert/index.js";import m from"../../../icons/CancelCircle/index.js";import p from"../../../icons/CheckmarkCircle/index.js";import d from"../../../icons/Diamond/index.js";import u from"../../../icons/InformationCircle/index.js";import{Button as f}from"../../atoms/Button/index.js";import{Link as x}from"../../atoms/Link/index.js";const k={neutral:e=>t(d,{color:e.palette.semantic.icon["icon-strong"]}),brand:e=>t(d,{color:e.palette.semantic.icon["icon-primary"]}),destructive:e=>t(m,{color:e.palette.semantic.icon["icon-error"]}),warning:e=>t(c,{color:e.palette.semantic.icon["icon-warning"]}),information:e=>t(u,{color:e.palette.semantic.icon["icon-information"]}),"neutral-inverse":e=>t(d,{color:e.palette.semantic.icon["icon-inverse"]}),"brand-inverse":e=>t(d,{color:e.palette.semantic.icon["icon-inverse"]}),success:e=>t(p,{color:e.palette.semantic.icon["icon-success"]})},b={background:{neutral:e=>e.palette.semantic.fill["fill-weak"],brand:e=>e.palette.semantic.fill["fill-primary-weak"],destructive:e=>e.palette.semantic.fill["fill-error-weak"],warning:e=>e.palette.semantic.fill["fill-warning-weak"],success:e=>e.palette.semantic.fill["fill-success-weak"],information:e=>e.palette.semantic.fill["fill-information-weak"],"neutral-inverse":e=>e.palette.semantic.background["background-inverse"],"brand-inverse":e=>e.palette.semantic.fill["fill-primary-strong"]},border:{neutral:e=>e.palette.semantic.stroke["stroke-weak"],brand:e=>e.palette.semantic.stroke["stroke-primary-weak"],destructive:e=>e.palette.semantic.stroke["stroke-error-weak"],warning:e=>e.palette.semantic.stroke["stroke-warning-weak"],success:e=>e.palette.semantic.stroke["stroke-success-weak"],information:e=>e.palette.semantic.stroke["stroke-information-weak"],"neutral-inverse":e=>"transparent","brand-inverse":e=>"transparent"},header:{neutral:e=>e.palette.semantic.text["text-strong"],brand:e=>e.palette.semantic.text["text-strong"],destructive:e=>e.palette.semantic.text["text-strong"],warning:e=>e.palette.semantic.text["text-strong"],success:e=>e.palette.semantic.text["text-strong"],information:e=>e.palette.semantic.text["text-strong"],"neutral-inverse":e=>e.palette.semantic.text["text-inverse-strong"],"brand-inverse":e=>e.palette.semantic.text["text-inverse-strong"]},text:{neutral:e=>e.palette.semantic.text["text-weak"],brand:e=>e.palette.semantic.text["text-weak"],destructive:e=>e.palette.semantic.text["text-weak"],warning:e=>e.palette.semantic.text["text-weak"],success:e=>e.palette.semantic.text["text-weak"],information:e=>e.palette.semantic.text["text-weak"],"neutral-inverse":e=>e.palette.semantic.text["text-inverse-weak"],"brand-inverse":e=>e.palette.semantic.text["text-inverse-weak"]},icon:{neutral:e=>e.palette.semantic.icon["icon-strong"],brand:e=>e.palette.semantic.icon["icon-primary"],destructive:e=>e.palette.semantic.icon["icon-error"],warning:e=>e.palette.semantic.icon["icon-warning"],success:e=>e.palette.semantic.icon["icon-success"],information:e=>e.palette.semantic.icon["icon-information"],"neutral-inverse":e=>e.palette.semantic.icon["icon-inverse"],"brand-inverse":e=>e.palette.semantic.icon["icon-inverse"]}},w=(e,t)=>k[t](e),g=(e,t)=>b.background[t](e),v=(e,t)=>b.border[t](e),h=(e,t)=>b.header[t](e),y=(e,t)=>b.text[t](e),C=l(o)(()=>({marginTop:"16px"})),j=l(x)(()=>({padding:0})),$=l(a,{shouldForwardProp:e=>!["tone"].includes(e)})(({theme:e,tone:t})=>({backgroundColor:g(e,t),border:"1px solid",borderColor:v(e,t),color:y(e,t),"& .MuiAlert-icon":{color:b.icon[t](e)}})),A=n(({title:n,description:a,children:l,tone:c="neutral",icon:m,onClose:p,className:d,fdKey:u,action:x})=>{const k=s(),b=i(),g=l??a,v=Boolean(n),y=null!=g,A=v?`alert-title-${u??b}`:void 0,K=y?`alert-description-${u??b}`:void 0;return e($,{"aria-describedby":K,"aria-labelledby":A,className:d,"data-fd":u,icon:void 0===m?t("span",{"data-fd":"alert-icon",children:w(k,c)}):m??!1,onClose:p,role:"alert",tone:c,children:[v&&t(r,{color:h(k,c),id:A,children:n}),y&&t(o,{id:K,children:g}),(()=>{if(!x)return null;const e=n?`${x.label} - ${n}`:x.label;if("link"===x.kind){const n=x.fdKey??`action-link-${x.label.replace(/\s+/g,"-").toLowerCase()}`;return t(C,{children:t(j,{"aria-label":e,fdKey:n,href:x.href,rel:x.rel,target:x.target,children:x.label})})}const i=x.fdKey??`action-button-${x.label.replace(/\s+/g,"-").toLowerCase()}`;return t(C,{children:t(f,{"aria-label":e,fdKey:i,onClick:x.onClick,size:"small",variant:x.type??"primary",children:x.label})})})()]})});A.displayName="Alert";export{A as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/molecules/Alert/index.tsx"],"sourcesContent":["import { memo, type ReactNode, useId } from 'react';\n\nimport MuiAlert from '@mui/material/Alert';\nimport MuiAlertTitle from '@mui/material/AlertTitle';\nimport Box from '@mui/material/Box';\nimport { styled, type Theme, useTheme } from '@mui/material/styles';\n\nimport AlertIcon from '../../../icons/Alert';\nimport CancelCircleIcon from '../../../icons/CancelCircle';\nimport CheckmarkCircleIcon from '../../../icons/CheckmarkCircle';\nimport DiamondIcon from '../../../icons/Diamond';\nimport InformationCircleIcon from '../../../icons/InformationCircle';\nimport Button from '../../atoms/Button';\nimport type { ButtonType } from '../../atoms/Button/getButtonStyles';\nimport Link from '../../atoms/Link';\n\n/** Visual tone of the alert */\nexport type AlertTones =\n | 'brand-inverse'\n | 'brand'\n | 'destructive'\n | 'information'\n | 'neutral-inverse'\n | 'neutral'\n | 'success'\n | 'warning';\n\n/** Props for the Alert component */\nexport interface AlertProps {\n /** Optional main heading text of the alert */\n title?: string;\n /** Detailed description text of the alert */\n description?: string;\n /** Optional custom content; when provided it replaces description */\n children?: ReactNode;\n /** Visual tone of the alert */\n tone?: AlertTones;\n /** Optional icon override; pass null to hide the icon */\n icon?: ReactNode | null;\n /** Callback function when the alert is closed */\n onClose?: () => void;\n /** Action configuration (button by default, or link) */\n action?: AlertAction;\n /** Additional CSS class names */\n className?: string;\n /** Test ID for testing and automation */\n fdKey?: string;\n}\n\nexport type AlertAction =\n | {\n /** Defaults to button when omitted */\n kind?: 'button';\n /** Text label for the action button */\n label: string;\n /** Visual style of the action button */\n type?: ButtonType;\n /** Callback function when the action button is clicked */\n onClick: () => void;\n /** Test ID for the action button */\n fdKey?: string;\n }\n | {\n /** Render a link action */\n kind: 'link';\n /** Text label for the link */\n label: string;\n /** Destination URL */\n href: string;\n /** Target for the link */\n target?: '_blank' | '_parent' | '_self' | '_top';\n /** rel attribute for the link */\n rel?: string;\n /** Test ID for the link */\n fdKey?: string;\n };\n\nconst ICONS = {\n neutral: (theme: Theme): JSX.Element => <DiamondIcon color={theme.palette.semantic.icon['icon-strong']} />,\n brand: (theme: Theme): JSX.Element => <DiamondIcon color={theme.palette.semantic.icon['icon-primary']} />,\n destructive: (theme: Theme): JSX.Element => (\n <CancelCircleIcon color={theme.palette.semantic.icon['icon-error']} />\n ),\n warning: (theme: Theme): JSX.Element => <AlertIcon color={theme.palette.semantic.icon['icon-warning']} />,\n information: (theme: Theme): JSX.Element => (\n <InformationCircleIcon color={theme.palette.semantic.icon['icon-information']} />\n ),\n 'neutral-inverse': (theme: Theme): JSX.Element => (\n <DiamondIcon color={theme.palette.semantic.icon['icon-inverse']} />\n ),\n 'brand-inverse': (theme: Theme): JSX.Element => (\n <DiamondIcon color={theme.palette.semantic.icon['icon-inverse']} />\n ),\n success: (theme: Theme): JSX.Element => (\n <CheckmarkCircleIcon color={theme.palette.semantic.icon['icon-success']} />\n ),\n};\n\nconst COLOURS = {\n background: {\n neutral: (theme: Theme): string => theme.palette.semantic.fill['fill-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.fill['fill-primary-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.fill['fill-error-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.fill['fill-warning-weak'],\n success: (theme: Theme): string => theme.palette.semantic.fill['fill-success-weak'],\n information: (theme: Theme): string => theme.palette.semantic.fill['fill-information-weak'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.background['background-inverse'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.fill['fill-primary-strong'],\n },\n border: {\n neutral: (theme: Theme): string => theme.palette.semantic.stroke['stroke-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.stroke['stroke-primary-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.stroke['stroke-error-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.stroke['stroke-warning-weak'],\n success: (theme: Theme): string => theme.palette.semantic.stroke['stroke-success-weak'],\n information: (theme: Theme): string => theme.palette.semantic.stroke['stroke-information-weak'],\n 'neutral-inverse': (_theme: Theme): string => 'transparent',\n 'brand-inverse': (_theme: Theme): string => 'transparent',\n },\n header: {\n neutral: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n brand: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n destructive: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n warning: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n success: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n information: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-strong'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-strong'],\n },\n text: {\n neutral: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n success: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n information: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-weak'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-weak'],\n },\n};\n\nconst getIcon = (theme: Theme, tone: AlertTones): JSX.Element => {\n return ICONS[tone](theme);\n};\n\nconst getBackgroundColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.background[tone](theme);\n};\n\nconst getBorderColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.border[tone](theme);\n};\n\nconst getHeaderColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.header[tone](theme);\n};\n\nconst getTextColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.text[tone](theme);\n};\n\ninterface StyledAlertProps {\n tone: AlertTones;\n}\n\nconst StyledActionContainer = styled(Box)(() => ({\n marginTop: '16px',\n}));\n\nconst StyledActionLink = styled(Link)(() => ({\n padding: 0,\n}));\n\nconst StyledAlert = styled(MuiAlert, {\n shouldForwardProp: (prop) => !['tone'].includes(prop as string),\n})<StyledAlertProps>(({ theme, tone }) => ({\n backgroundColor: getBackgroundColour(theme, tone),\n border: '1px solid',\n borderColor: getBorderColour(theme, tone),\n color: getTextColour(theme, tone),\n}));\n\n/**\n * Alert component is used to display important messages or notifications to users.\n * It supports different visual tones to convey different semantic meanings and can include\n * an optional action button and close button.\n *\n * The component is wrapped with React.memo to optimize performance by preventing unnecessary\n * re-renders when the component's props haven't changed, which is beneficial for components\n * that may be used frequently throughout the application.\n */\nconst Alert = memo(\n ({\n title,\n description,\n children,\n tone = 'neutral',\n icon,\n onClose,\n className,\n fdKey,\n action,\n }: AlertProps) => {\n const theme = useTheme();\n const alertId = useId();\n const content = children ?? description;\n const hasTitle = Boolean(title);\n const hasContent = content !== undefined && content !== null;\n const titleId = hasTitle ? `alert-title-${fdKey ?? alertId}` : undefined;\n const descriptionId = hasContent ? `alert-description-${fdKey ?? alertId}` : undefined;\n\n const renderAction = (): JSX.Element | null => {\n if (!action) {\n return null;\n }\n\n const actionLabel = title ? `${action.label} - ${title}` : action.label;\n\n if (action.kind === 'link') {\n const actionFdKey = action.fdKey ?? `action-link-${action.label.replace(/\\s+/g, '-').toLowerCase()}`;\n\n return (\n <StyledActionContainer>\n <StyledActionLink\n aria-label={actionLabel}\n fdKey={actionFdKey}\n href={action.href}\n rel={action.rel}\n target={action.target}\n >\n {action.label}\n </StyledActionLink>\n </StyledActionContainer>\n );\n }\n\n const actionFdKey = action.fdKey ?? `action-button-${action.label.replace(/\\s+/g, '-').toLowerCase()}`;\n\n return (\n <StyledActionContainer>\n <Button\n aria-label={actionLabel}\n fdKey={actionFdKey}\n onClick={action.onClick}\n size=\"small\"\n variant={action.type ?? 'primary'}\n >\n {action.label}\n </Button>\n </StyledActionContainer>\n );\n };\n\n return (\n <StyledAlert\n aria-describedby={descriptionId}\n aria-labelledby={titleId}\n className={className}\n data-fd={fdKey}\n icon={icon === undefined ? <span data-fd=\"alert-icon\">{getIcon(theme, tone)}</span> : (icon ?? false)}\n onClose={onClose}\n role=\"alert\"\n tone={tone}\n >\n {hasTitle && (\n <MuiAlertTitle color={getHeaderColour(theme, tone)} id={titleId}>\n {title}\n </MuiAlertTitle>\n )}\n {hasContent && <Box id={descriptionId}>{content}</Box>}\n {renderAction()}\n </StyledAlert>\n );\n },\n);\n\nAlert.displayName = 'Alert';\n\nexport default Alert;\n"],"names":["ICONS","neutral","theme","_jsx","DiamondIcon","color","palette","semantic","icon","brand","destructive","CancelCircleIcon","warning","AlertIcon","information","InformationCircleIcon","success","CheckmarkCircleIcon","COLOURS","background","fill","border","stroke","_theme","header","text","getIcon","tone","getBackgroundColour","getBorderColour","getHeaderColour","getTextColour","StyledActionContainer","styled","Box","marginTop","StyledActionLink","Link","padding","StyledAlert","MuiAlert","shouldForwardProp","prop","includes","backgroundColor","borderColor","Alert","memo","title","description","children","onClose","className","fdKey","action","useTheme","alertId","useId","content","hasTitle","Boolean","hasContent","titleId","undefined","descriptionId","_jsxs","role","MuiAlertTitle","id","actionLabel","label","kind","actionFdKey","replace","toLowerCase","href","rel","target","Button","onClick","size","variant","type","renderAction","displayName"],"mappings":"wmBA6EA,MAAMA,EAAQ,CACZC,QAAUC,GAA8BC,EAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,iBACxFC,MAAQP,GAA8BC,EAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,kBACtFE,YAAcR,GACZC,EAACQ,EAAgB,CAACN,MAAOH,EAAMI,QAAQC,SAASC,KAAK,gBAEvDI,QAAUV,GAA8BC,EAACU,EAAS,CAACR,MAAOH,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EA,MAAME,EAAclB,EAAOD,OAAS,iBAAiBC,EAAOgB,MAAMG,QAAQ,OAAQ,KAAKC,gBAEvF,OACEvE,EAAC6B,EAAqB,CAAAkB,SACpB/C,EAAC2E,EAAM,CAAA,aACOT,EACZhB,MAAOmB,EACPO,QAASzB,EAAOyB,QAChBC,KAAK,QACLC,QAAS3B,EAAO4B,MAAQ,mBAEvB5B,EAAOgB,WAuBXa,QAMTrC,EAAMsC,YAAc"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/molecules/Alert/index.tsx"],"sourcesContent":["import { memo, type ReactNode, useId } from 'react';\n\nimport MuiAlert from '@mui/material/Alert';\nimport MuiAlertTitle from '@mui/material/AlertTitle';\nimport Box from '@mui/material/Box';\nimport { styled, type Theme, useTheme } from '@mui/material/styles';\n\nimport AlertIcon from '../../../icons/Alert';\nimport CancelCircleIcon from '../../../icons/CancelCircle';\nimport CheckmarkCircleIcon from '../../../icons/CheckmarkCircle';\nimport DiamondIcon from '../../../icons/Diamond';\nimport InformationCircleIcon from '../../../icons/InformationCircle';\nimport Button from '../../atoms/Button';\nimport type { ButtonType } from '../../atoms/Button/getButtonStyles';\nimport Link from '../../atoms/Link';\n\n/** Visual tone of the alert */\nexport type AlertTones =\n | 'brand-inverse'\n | 'brand'\n | 'destructive'\n | 'information'\n | 'neutral-inverse'\n | 'neutral'\n | 'success'\n | 'warning';\n\n/** Props for the Alert component */\nexport interface AlertProps {\n /** Optional main heading text of the alert */\n title?: string;\n /** Detailed description text of the alert */\n description?: string;\n /** Optional custom content; when provided it replaces description */\n children?: ReactNode;\n /** Visual tone of the alert */\n tone?: AlertTones;\n /** Optional icon override; pass null to hide the icon */\n icon?: ReactNode | null;\n /** Callback function when the alert is closed */\n onClose?: () => void;\n /** Action configuration (button by default, or link) */\n action?: AlertAction;\n /** Additional CSS class names */\n className?: string;\n /** Test ID for testing and automation */\n fdKey?: string;\n}\n\nexport type AlertAction =\n | {\n /** Defaults to button when omitted */\n kind?: 'button';\n /** Text label for the action button */\n label: string;\n /** Visual style of the action button */\n type?: ButtonType;\n /** Callback function when the action button is clicked */\n onClick: () => void;\n /** Test ID for the action button */\n fdKey?: string;\n }\n | {\n /** Render a link action */\n kind: 'link';\n /** Text label for the link */\n label: string;\n /** Destination URL */\n href: string;\n /** Target for the link */\n target?: '_blank' | '_parent' | '_self' | '_top';\n /** rel attribute for the link */\n rel?: string;\n /** Test ID for the link */\n fdKey?: string;\n };\n\nconst ICONS = {\n neutral: (theme: Theme): JSX.Element => <DiamondIcon color={theme.palette.semantic.icon['icon-strong']} />,\n brand: (theme: Theme): JSX.Element => <DiamondIcon color={theme.palette.semantic.icon['icon-primary']} />,\n destructive: (theme: Theme): JSX.Element => (\n <CancelCircleIcon color={theme.palette.semantic.icon['icon-error']} />\n ),\n warning: (theme: Theme): JSX.Element => <AlertIcon color={theme.palette.semantic.icon['icon-warning']} />,\n information: (theme: Theme): JSX.Element => (\n <InformationCircleIcon color={theme.palette.semantic.icon['icon-information']} />\n ),\n 'neutral-inverse': (theme: Theme): JSX.Element => (\n <DiamondIcon color={theme.palette.semantic.icon['icon-inverse']} />\n ),\n 'brand-inverse': (theme: Theme): JSX.Element => (\n <DiamondIcon color={theme.palette.semantic.icon['icon-inverse']} />\n ),\n success: (theme: Theme): JSX.Element => (\n <CheckmarkCircleIcon color={theme.palette.semantic.icon['icon-success']} />\n ),\n};\n\nconst COLOURS = {\n background: {\n neutral: (theme: Theme): string => theme.palette.semantic.fill['fill-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.fill['fill-primary-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.fill['fill-error-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.fill['fill-warning-weak'],\n success: (theme: Theme): string => theme.palette.semantic.fill['fill-success-weak'],\n information: (theme: Theme): string => theme.palette.semantic.fill['fill-information-weak'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.background['background-inverse'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.fill['fill-primary-strong'],\n },\n border: {\n neutral: (theme: Theme): string => theme.palette.semantic.stroke['stroke-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.stroke['stroke-primary-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.stroke['stroke-error-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.stroke['stroke-warning-weak'],\n success: (theme: Theme): string => theme.palette.semantic.stroke['stroke-success-weak'],\n information: (theme: Theme): string => theme.palette.semantic.stroke['stroke-information-weak'],\n 'neutral-inverse': (_theme: Theme): string => 'transparent',\n 'brand-inverse': (_theme: Theme): string => 'transparent',\n },\n header: {\n neutral: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n brand: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n destructive: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n warning: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n success: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n information: (theme: Theme): string => theme.palette.semantic.text['text-strong'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-strong'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-strong'],\n },\n text: {\n neutral: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n brand: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n destructive: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n warning: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n success: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n information: (theme: Theme): string => theme.palette.semantic.text['text-weak'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-weak'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.text['text-inverse-weak'],\n },\n icon: {\n neutral: (theme: Theme): string => theme.palette.semantic.icon['icon-strong'],\n brand: (theme: Theme): string => theme.palette.semantic.icon['icon-primary'],\n destructive: (theme: Theme): string => theme.palette.semantic.icon['icon-error'],\n warning: (theme: Theme): string => theme.palette.semantic.icon['icon-warning'],\n success: (theme: Theme): string => theme.palette.semantic.icon['icon-success'],\n information: (theme: Theme): string => theme.palette.semantic.icon['icon-information'],\n 'neutral-inverse': (theme: Theme): string => theme.palette.semantic.icon['icon-inverse'],\n 'brand-inverse': (theme: Theme): string => theme.palette.semantic.icon['icon-inverse'],\n },\n};\n\nconst getIcon = (theme: Theme, tone: AlertTones): JSX.Element => {\n return ICONS[tone](theme);\n};\n\nconst getBackgroundColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.background[tone](theme);\n};\n\nconst getBorderColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.border[tone](theme);\n};\n\nconst getHeaderColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.header[tone](theme);\n};\n\nconst getTextColour = (theme: Theme, tone: AlertTones): string => {\n return COLOURS.text[tone](theme);\n};\n\ninterface StyledAlertProps {\n tone: AlertTones;\n}\n\nconst StyledActionContainer = styled(Box)(() => ({\n marginTop: '16px',\n}));\n\nconst StyledActionLink = styled(Link)(() => ({\n padding: 0,\n}));\n\nconst StyledAlert = styled(MuiAlert, {\n shouldForwardProp: (prop) => !['tone'].includes(prop as string),\n})<StyledAlertProps>(({ theme, tone }) => ({\n backgroundColor: getBackgroundColour(theme, tone),\n border: '1px solid',\n borderColor: getBorderColour(theme, tone),\n color: getTextColour(theme, tone),\n '& .MuiAlert-icon': {\n color: COLOURS.icon[tone](theme),\n },\n}));\n\n/**\n * Alert component is used to display important messages or notifications to users.\n * It supports different visual tones to convey different semantic meanings and can include\n * an optional action button and close button.\n *\n * The component is wrapped with React.memo to optimize performance by preventing unnecessary\n * re-renders when the component's props haven't changed, which is beneficial for components\n * that may be used frequently throughout the application.\n */\nconst Alert = memo(\n ({\n title,\n description,\n children,\n tone = 'neutral',\n icon,\n onClose,\n className,\n fdKey,\n action,\n }: AlertProps) => {\n const theme = useTheme();\n const alertId = useId();\n const content = children ?? description;\n const hasTitle = Boolean(title);\n const hasContent = content !== undefined && content !== null;\n const titleId = hasTitle ? `alert-title-${fdKey ?? alertId}` : undefined;\n const descriptionId = hasContent ? `alert-description-${fdKey ?? alertId}` : undefined;\n\n const renderAction = (): JSX.Element | null => {\n if (!action) {\n return null;\n }\n\n const actionLabel = title ? `${action.label} - ${title}` : action.label;\n\n if (action.kind === 'link') {\n const actionFdKey = action.fdKey ?? `action-link-${action.label.replace(/\\s+/g, '-').toLowerCase()}`;\n\n return (\n <StyledActionContainer>\n <StyledActionLink\n aria-label={actionLabel}\n fdKey={actionFdKey}\n href={action.href}\n rel={action.rel}\n target={action.target}\n >\n {action.label}\n </StyledActionLink>\n </StyledActionContainer>\n );\n }\n\n const actionFdKey = action.fdKey ?? `action-button-${action.label.replace(/\\s+/g, '-').toLowerCase()}`;\n\n return (\n <StyledActionContainer>\n <Button\n aria-label={actionLabel}\n fdKey={actionFdKey}\n onClick={action.onClick}\n size=\"small\"\n variant={action.type ?? 'primary'}\n >\n {action.label}\n </Button>\n </StyledActionContainer>\n );\n };\n\n return (\n <StyledAlert\n aria-describedby={descriptionId}\n aria-labelledby={titleId}\n className={className}\n data-fd={fdKey}\n icon={icon === undefined ? <span data-fd=\"alert-icon\">{getIcon(theme, tone)}</span> : (icon ?? false)}\n onClose={onClose}\n role=\"alert\"\n tone={tone}\n >\n {hasTitle && (\n <MuiAlertTitle color={getHeaderColour(theme, tone)} id={titleId}>\n {title}\n </MuiAlertTitle>\n )}\n {hasContent && <Box id={descriptionId}>{content}</Box>}\n {renderAction()}\n </StyledAlert>\n );\n },\n);\n\nAlert.displayName = 'Alert';\n\nexport default Alert;\n"],"names":["ICONS","neutral","theme","_jsx","DiamondIcon","color","palette","semantic","icon","brand","destructive","CancelCircleIcon","warning","AlertIcon","information","InformationCircleIcon","success","CheckmarkCircleIcon","COLOURS","background","fill","border","stroke","_theme","header","text","getIcon","tone","getBackgroundColour","getBorderColour","getHeaderColour","getTextColour","StyledActionContainer","styled","Box","marginTop","StyledActionLink","Link","padding","StyledAlert","MuiAlert","shouldForwardProp","prop","includes","backgroundColor","borderColor","Alert","memo","title","description","children","onClose","className","fdKey","action","useTheme","alertId","useId","content","hasTitle","Boolean","hasContent","titleId","undefined","descriptionId","_jsxs","role","MuiAlertTitle","id","actionLabel","label","kind","actionFdKey","replace","toLowerCase","href","rel","target","Button","onClick","size","variant","type","renderAction","displayName"],"mappings":"wmBA6EA,MAAMA,EAAQ,CACZC,QAAUC,GAA8BC,EAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,iBACxFC,MAAQP,GAA8BC,EAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,kBACtFE,YAAcR,GACZC,EAACQ,EAAgB,CAACN,MAAOH,EAAMI,QAAQC,SAASC,KAAK,gBAEvDI,QAAUV,GAA8BC,EAACU,EAAS,CAACR,MAAOH,EAAMI,QAAQC,SAASC,KAAK,kBACtFM,YAAcZ,GACZC,EAACY,EAAqB,CAACV,MAAOH,EAAMI,QAAQC,SAASC,KAAK,sBAE5D,kBAAoBN,GAClBC,EAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,kBAElD,gBAAkBN,GAChBC,EAACC,EAAW,CAACC,MAAOH,EAAMI,QAAQC,SAASC,KAAK,kBAElDQ,QAAUd,GACRC,EAACc,EAAmB,CAACZ,MAAOH,EAAMI,QAAQC,SAASC,KAAK,mBAItDU,EAAU,CACdC,WAAY,CACVlB,QAAUC,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,aAC/DX,MAAQP,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,qBAC7DV,YAAcR,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,mBACnER,QAAUV,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,qBAC/DJ,QAAUd,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,qBAC/DN,YAAcZ,GAAyBA,EAAMI,QAAQC,SAASa,KAAK,yBACnE,kBAAoBlB,GAAyBA,EAAMI,QAAQ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4B,MAAQ,mBAEvB5B,EAAOgB,WAuBXa,QAMTrC,EAAMsC,YAAc"}
@@ -1,2 +1,2 @@
1
- "use strict";require("../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.39_typescript@5.4.5/node_modules/msw/lib/core/index.cjs.js");var e=require("../../components/organisms/AssetManager/__mocks__/mockAssets.cjs.js"),s=require("../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.39_typescript@5.4.5/node_modules/msw/lib/core/http.cjs.js"),t=require("../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.39_typescript@5.4.5/node_modules/msw/lib/core/HttpResponse.cjs.js");const o=[...[s.http.get("*/assets/orgs/:orgId/assets",({request:s,params:o})=>(console.log("[MSW] Intercepted GET assets request:",s.url,"orgId:",o.orgId),t.HttpResponse.json(e.mockAssets))),s.http.post("*/assets/orgs/:orgId/assets/upload",async({request:s,params:o})=>{console.log("[MSW] Intercepted POST upload request:",s.url,"orgId:",o.orgId),await new Promise(e=>setTimeout(e,2e3));const r=(await s.formData()).getAll("files").map(s=>e.createMockAsset({id:"asset_e3454351fw5",fileName:s.name,contentType:s.type||"image/jpeg",createdBy:"Test User",updatedBy:"Test User"}));return t.HttpResponse.json(r)})]];exports.handlers=o;
1
+ "use strict";require("../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/index.cjs.js");var e=require("../../components/organisms/AssetManager/__mocks__/mockAssets.cjs.js"),s=require("../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/http.cjs.js"),t=require("../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/HttpResponse.cjs.js");const o=[...[s.http.get("*/assets/orgs/:orgId/assets",({request:s,params:o})=>(console.log("[MSW] Intercepted GET assets request:",s.url,"orgId:",o.orgId),t.HttpResponse.json(e.mockAssets))),s.http.post("*/assets/orgs/:orgId/assets/upload",async({request:s,params:o})=>{console.log("[MSW] Intercepted POST upload request:",s.url,"orgId:",o.orgId),await new Promise(e=>setTimeout(e,2e3));const r=(await s.formData()).getAll("files").map(s=>e.createMockAsset({id:"asset_e3454351fw5",fileName:s.name,contentType:s.type||"image/jpeg",createdBy:"Test User",updatedBy:"Test User"}));return t.HttpResponse.json(r)})]];exports.handlers=o;
2
2
  //# sourceMappingURL=handlers.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { HttpHandler } from '../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.39_typescript@5.4.5/node_modules/msw/lib/core/handlers/HttpHandler.d.js';
1
+ import { HttpHandler } from '../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/handlers/HttpHandler.d.js';
2
2
 
3
3
  declare const handlers: HttpHandler[];
4
4
 
@@ -1,2 +1,2 @@
1
- import"../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.39_typescript@5.4.5/node_modules/msw/lib/core/index.js";import{mockAssets as e,createMockAsset as s}from"../../components/organisms/AssetManager/__mocks__/mockAssets.js";import{http as o}from"../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.39_typescript@5.4.5/node_modules/msw/lib/core/http.js";import{HttpResponse as t}from"../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.39_typescript@5.4.5/node_modules/msw/lib/core/HttpResponse.js";const r=[...[o.get("*/assets/orgs/:orgId/assets",({request:s,params:o})=>(console.log("[MSW] Intercepted GET assets request:",s.url,"orgId:",o.orgId),t.json(e))),o.post("*/assets/orgs/:orgId/assets/upload",async({request:e,params:o})=>{console.log("[MSW] Intercepted POST upload request:",e.url,"orgId:",o.orgId),await new Promise(e=>setTimeout(e,2e3));const r=(await e.formData()).getAll("files").map(e=>s({id:"asset_e3454351fw5",fileName:e.name,contentType:e.type||"image/jpeg",createdBy:"Test User",updatedBy:"Test User"}));return t.json(r)})]];export{r as handlers};
1
+ import"../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/index.js";import{mockAssets as e,createMockAsset as s}from"../../components/organisms/AssetManager/__mocks__/mockAssets.js";import{http as o}from"../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/http.js";import{HttpResponse as t}from"../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/HttpResponse.js";const r=[...[o.get("*/assets/orgs/:orgId/assets",({request:s,params:o})=>(console.log("[MSW] Intercepted GET assets request:",s.url,"orgId:",o.orgId),t.json(e))),o.post("*/assets/orgs/:orgId/assets/upload",async({request:e,params:o})=>{console.log("[MSW] Intercepted POST upload request:",e.url,"orgId:",o.orgId),await new Promise(e=>setTimeout(e,2e3));const r=(await e.formData()).getAll("files").map(e=>s({id:"asset_e3454351fw5",fileName:e.name,contentType:e.type||"image/jpeg",createdBy:"Test User",updatedBy:"Test User"}));return t.json(r)})]];export{r as handlers};
2
2
  //# sourceMappingURL=handlers.js.map
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.39_typescript@5.4.5/node_modules/msw/lib/node/index.cjs.js"),s=require("./handlers.cjs.js");const r=e.setupServer(...s.handlers);exports.server=r;
1
+ "use strict";var e=require("../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.40_typescript@5.4.5/node_modules/msw/lib/node/index.cjs.js"),s=require("./handlers.cjs.js");const r=e.setupServer(...s.handlers);exports.server=r;
2
2
  //# sourceMappingURL=server.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { SetupServer } from '../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.39_typescript@5.4.5/node_modules/msw/lib/node/index.d.js';
1
+ import { SetupServer } from '../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.40_typescript@5.4.5/node_modules/msw/lib/node/index.d.js';
2
2
 
3
3
  declare const server: SetupServer;
4
4
 
@@ -1,2 +1,2 @@
1
- import{setupServer as o}from"../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.39_typescript@5.4.5/node_modules/msw/lib/node/index.js";import{handlers as e}from"./handlers.js";const s=o(...e);export{s as server};
1
+ import{setupServer as o}from"../../node_modules/.pnpm/msw@2.14.6_@types_node@20.19.40_typescript@5.4.5/node_modules/msw/lib/node/index.js";import{handlers as e}from"./handlers.js";const s=o(...e);export{s as server};
2
2
  //# sourceMappingURL=server.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HttpResponse.cjs.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.39_typescript@5.4.5/node_modules/msw/lib/core/HttpResponse.mjs"],"sourcesContent":["import { FetchResponse } from \"@mswjs/interceptors\";\nimport {\n decorateResponse,\n normalizeResponseInit\n} from './utils/HttpResponse/decorators.mjs';\nconst bodyType = Symbol(\"bodyType\");\nconst kDefaultContentType = Symbol.for(\"kDefaultContentType\");\nclass HttpResponse extends FetchResponse {\n [bodyType] = null;\n constructor(body, init) {\n const responseInit = normalizeResponseInit(init);\n super(body, responseInit);\n decorateResponse(this, responseInit);\n }\n static error() {\n return super.error();\n }\n /**\n * Create a `Response` with a `Content-Type: \"text/plain\"` body.\n * @example\n * HttpResponse.text('hello world')\n * HttpResponse.text('Error', { status: 500 })\n */\n static text(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/plain\");\n }\n if (!responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\n \"Content-Length\",\n body ? new Blob([body]).size.toString() : \"0\"\n );\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"application/json\"` body.\n * @example\n * HttpResponse.json({ firstName: 'John' })\n * HttpResponse.json({ error: 'Not Authorized' }, { status: 401 })\n */\n static json(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"application/json\");\n }\n const responseText = JSON.stringify(body);\n if (!responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\n \"Content-Length\",\n responseText ? new Blob([responseText]).size.toString() : \"0\"\n );\n }\n const response = new HttpResponse(responseText, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"application/xml\"` body.\n * @example\n * HttpResponse.xml(`<user name=\"John\" />`)\n * HttpResponse.xml(`<article id=\"abc-123\" />`, { status: 201 })\n */\n static xml(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/xml\");\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"text/html\"` body.\n * @example\n * HttpResponse.html(`<p class=\"author\">Jane Doe</p>`)\n * HttpResponse.html(`<main id=\"abc-123\">Main text</main>`, { status: 201 })\n */\n static html(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/html\");\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with an `ArrayBuffer` body.\n * @example\n * const buffer = new ArrayBuffer(3)\n * const view = new Uint8Array(buffer)\n * view.set([1, 2, 3])\n *\n * HttpResponse.arrayBuffer(buffer)\n */\n static arrayBuffer(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"application/octet-stream\");\n }\n if (body && !responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\"Content-Length\", body.byteLength.toString());\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `FormData` body.\n * @example\n * const data = new FormData()\n * data.set('name', 'Alice')\n *\n * HttpResponse.formData(data)\n */\n static formData(body, init) {\n return new HttpResponse(body, normalizeResponseInit(init));\n }\n}\nexport {\n HttpResponse,\n bodyType,\n kDefaultContentType\n};\n//# sourceMappingURL=HttpResponse.mjs.map"],"names":["bodyType","Symbol","kDefaultContentType","for","HttpResponse","FetchResponse","constructor","body","init","responseInit","normalizeResponseInit","super","decorateResponse","this","error","text","hasExplicitContentType","headers","has","set","Blob","size","toString","response","Object","defineProperty","value","enumerable","json","responseText","JSON","stringify","xml","html","arrayBuffer","byteLength","formData"],"mappings":"gUAKK,MAACA,EAAWC,OAAO,YAClBC,EAAsBD,OAAOE,IAAI,uBACvC,MAAMC,UAAqBC,EAAAA,EACzBL,CAACA,GAAY,KACb,WAAAM,CAAYC,EAAMC,GAChB,MAAMC,EAAeC,EAAAA,sBAAsBF,GAC3CG,MAAMJ,EAAME,GACZG,EAAAA,iBAAiBC,KAAMJ,EACzB,CACA,YAAOK,GACL,OAAOH,MAAMG,OACf,CAOA,WAAOC,CAAKR,EAAMC,GAChB,MAAMC,EAAeC,EAAAA,sBAAsBF,GACrCQ,EAAyBP,EAAaQ,QAAQC,IAAI,gBACnDF,GACHP,EAAaQ,QAAQE,IAAI,eAAgB,cAEtCV,EAAaQ,QAAQC,IAAI,mBAC5BT,EAAaQ,QAAQE,IAC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AAAA,sBAAsBF,GACrCQ,EAAyBP,EAAaQ,QAAQC,IAAI,gBACnDF,GACHP,EAAaQ,QAAQE,IAAI,eAAgB,4BAEvCZ,IAASE,EAAaQ,QAAQC,IAAI,mBACpCT,EAAaQ,QAAQE,IAAI,iBAAkBZ,EAAK4B,WAAWb,YAE7D,MAAMC,EAAW,IAAInB,EAAaG,EAAME,GAOxC,OANKO,GACHQ,OAAOC,eAAeF,EAAUrB,EAAqB,CACnDwB,OAAO,EACPC,YAAY,IAGTJ,CACT,CASA,eAAOa,CAAS7B,EAAMC,GACpB,OAAO,IAAIJ,EAAaG,EAAMG,EAAAA,sBAAsBF,GACtD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"HttpResponse.cjs.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/HttpResponse.mjs"],"sourcesContent":["import { FetchResponse } from \"@mswjs/interceptors\";\nimport {\n decorateResponse,\n normalizeResponseInit\n} from './utils/HttpResponse/decorators.mjs';\nconst bodyType = Symbol(\"bodyType\");\nconst kDefaultContentType = Symbol.for(\"kDefaultContentType\");\nclass HttpResponse extends FetchResponse {\n [bodyType] = null;\n constructor(body, init) {\n const responseInit = normalizeResponseInit(init);\n super(body, responseInit);\n decorateResponse(this, responseInit);\n }\n static error() {\n return super.error();\n }\n /**\n * Create a `Response` with a `Content-Type: \"text/plain\"` body.\n * @example\n * HttpResponse.text('hello world')\n * HttpResponse.text('Error', { status: 500 })\n */\n static text(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/plain\");\n }\n if (!responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\n \"Content-Length\",\n body ? new Blob([body]).size.toString() : \"0\"\n );\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"application/json\"` body.\n * @example\n * HttpResponse.json({ firstName: 'John' })\n * HttpResponse.json({ error: 'Not Authorized' }, { status: 401 })\n */\n static json(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"application/json\");\n }\n const responseText = JSON.stringify(body);\n if (!responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\n \"Content-Length\",\n responseText ? new Blob([responseText]).size.toString() : \"0\"\n );\n }\n const response = new HttpResponse(responseText, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"application/xml\"` body.\n * @example\n * HttpResponse.xml(`<user name=\"John\" />`)\n * HttpResponse.xml(`<article id=\"abc-123\" />`, { status: 201 })\n */\n static xml(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/xml\");\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"text/html\"` body.\n * @example\n * HttpResponse.html(`<p class=\"author\">Jane Doe</p>`)\n * HttpResponse.html(`<main id=\"abc-123\">Main text</main>`, { status: 201 })\n */\n static html(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/html\");\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with an `ArrayBuffer` body.\n * @example\n * const buffer = new ArrayBuffer(3)\n * const view = new Uint8Array(buffer)\n * view.set([1, 2, 3])\n *\n * HttpResponse.arrayBuffer(buffer)\n */\n static arrayBuffer(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"application/octet-stream\");\n }\n if (body && !responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\"Content-Length\", body.byteLength.toString());\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `FormData` body.\n * @example\n * const data = new FormData()\n * data.set('name', 'Alice')\n *\n * HttpResponse.formData(data)\n */\n static formData(body, init) {\n return new HttpResponse(body, normalizeResponseInit(init));\n }\n}\nexport {\n HttpResponse,\n bodyType,\n kDefaultContentType\n};\n//# sourceMappingURL=HttpResponse.mjs.map"],"names":["bodyType","Symbol","kDefaultContentType","for","HttpResponse","FetchResponse","constructor","body","init","responseInit","normalizeResponseInit","super","decorateResponse","this","error","text","hasExplicitContentType","headers","has","set","Blob","size","toString","response","Object","defineProperty","value","enumerable","json","responseText","JSON","stringify","xml","html","arrayBuffer","byteLength","formData"],"mappings":"gUAKK,MAACA,EAAWC,OAAO,YAClBC,EAAsBD,OAAOE,IAAI,uBACvC,MAAMC,UAAqBC,EAAAA,EACzBL,CAACA,GAAY,KACb,WAAAM,CAAYC,EAAMC,GAChB,MAAMC,EAAeC,EAAAA,sBAAsBF,GAC3CG,MAAMJ,EAAME,GACZG,EAAAA,iBAAiBC,KAAMJ,EACzB,CACA,YAAOK,GACL,OAAOH,MAAMG,OACf,CAOA,WAAOC,CAAKR,EAAMC,GAChB,MAAMC,EAAeC,EAAAA,sBAAsBF,GACrCQ,EA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GACHQ,OAAOC,eAAeF,EAAUrB,EAAqB,CACnDwB,OAAO,EACPC,YAAY,IAGTJ,CACT,CAUA,kBAAOW,CAAY3B,EAAMC,GACvB,MAAMC,EAAeC,EAAAA,sBAAsBF,GACrCQ,EAAyBP,EAAaQ,QAAQC,IAAI,gBACnDF,GACHP,EAAaQ,QAAQE,IAAI,eAAgB,4BAEvCZ,IAASE,EAAaQ,QAAQC,IAAI,mBACpCT,EAAaQ,QAAQE,IAAI,iBAAkBZ,EAAK4B,WAAWb,YAE7D,MAAMC,EAAW,IAAInB,EAAaG,EAAME,GAOxC,OANKO,GACHQ,OAAOC,eAAeF,EAAUrB,EAAqB,CACnDwB,OAAO,EACPC,YAAY,IAGTJ,CACT,CASA,eAAOa,CAAS7B,EAAMC,GACpB,OAAO,IAAIJ,EAAaG,EAAMG,EAAAA,sBAAsBF,GACtD","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"HttpResponse.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.39_typescript@5.4.5/node_modules/msw/lib/core/HttpResponse.mjs"],"sourcesContent":["import { FetchResponse } from \"@mswjs/interceptors\";\nimport {\n decorateResponse,\n normalizeResponseInit\n} from './utils/HttpResponse/decorators.mjs';\nconst bodyType = Symbol(\"bodyType\");\nconst kDefaultContentType = Symbol.for(\"kDefaultContentType\");\nclass HttpResponse extends FetchResponse {\n [bodyType] = null;\n constructor(body, init) {\n const responseInit = normalizeResponseInit(init);\n super(body, responseInit);\n decorateResponse(this, responseInit);\n }\n static error() {\n return super.error();\n }\n /**\n * Create a `Response` with a `Content-Type: \"text/plain\"` body.\n * @example\n * HttpResponse.text('hello world')\n * HttpResponse.text('Error', { status: 500 })\n */\n static text(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/plain\");\n }\n if (!responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\n \"Content-Length\",\n body ? new Blob([body]).size.toString() : \"0\"\n );\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"application/json\"` body.\n * @example\n * HttpResponse.json({ firstName: 'John' })\n * HttpResponse.json({ error: 'Not Authorized' }, { status: 401 })\n */\n static json(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"application/json\");\n }\n const responseText = JSON.stringify(body);\n if (!responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\n \"Content-Length\",\n responseText ? new Blob([responseText]).size.toString() : \"0\"\n );\n }\n const response = new HttpResponse(responseText, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"application/xml\"` body.\n * @example\n * HttpResponse.xml(`<user name=\"John\" />`)\n * HttpResponse.xml(`<article id=\"abc-123\" />`, { status: 201 })\n */\n static xml(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/xml\");\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"text/html\"` body.\n * @example\n * HttpResponse.html(`<p class=\"author\">Jane Doe</p>`)\n * HttpResponse.html(`<main id=\"abc-123\">Main text</main>`, { status: 201 })\n */\n static html(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/html\");\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with an `ArrayBuffer` body.\n * @example\n * const buffer = new ArrayBuffer(3)\n * const view = new Uint8Array(buffer)\n * view.set([1, 2, 3])\n *\n * HttpResponse.arrayBuffer(buffer)\n */\n static arrayBuffer(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"application/octet-stream\");\n }\n if (body && !responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\"Content-Length\", body.byteLength.toString());\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `FormData` body.\n * @example\n * const data = new FormData()\n * data.set('name', 'Alice')\n *\n * HttpResponse.formData(data)\n */\n static formData(body, init) {\n return new HttpResponse(body, normalizeResponseInit(init));\n }\n}\nexport {\n HttpResponse,\n bodyType,\n kDefaultContentType\n};\n//# sourceMappingURL=HttpResponse.mjs.map"],"names":["bodyType","Symbol","kDefaultContentType","for","HttpResponse","FetchResponse","constructor","body","init","responseInit","normalizeResponseInit","super","decorateResponse","this","error","text","hasExplicitContentType","headers","has","set","Blob","size","toString","response","Object","defineProperty","value","enumerable","json","responseText","JSON","stringify","xml","html","arrayBuffer","byteLength","formData"],"mappings":"oVAKK,MAACA,EAAWC,OAAO,YAClBC,EAAsBD,OAAOE,IAAI,uBACvC,MAAMC,UAAqBC,EACzBL,CAACA,GAAY,KACb,WAAAM,CAAYC,EAAMC,GAChB,MAAMC,EAAeC,EAAsBF,GAC3CG,MAAMJ,EAAME,GACZG,EAAiBC,KAAMJ,EACzB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aQ,QAAQE,IAAI,eAAgB,aAE3C,MAAMI,EAAW,IAAInB,EAAaG,EAAME,GAOxC,OANKO,GACHQ,OAAOC,eAAeF,EAAUrB,EAAqB,CACnDwB,OAAO,EACPC,YAAY,IAGTJ,CACT,CAUA,kBAAOW,CAAY3B,EAAMC,GACvB,MAAMC,EAAeC,EAAsBF,GACrCQ,EAAyBP,EAAaQ,QAAQC,IAAI,gBACnDF,GACHP,EAAaQ,QAAQE,IAAI,eAAgB,4BAEvCZ,IAASE,EAAaQ,QAAQC,IAAI,mBACpCT,EAAaQ,QAAQE,IAAI,iBAAkBZ,EAAK4B,WAAWb,YAE7D,MAAMC,EAAW,IAAInB,EAAaG,EAAME,GAOxC,OANKO,GACHQ,OAAOC,eAAeF,EAAUrB,EAAqB,CACnDwB,OAAO,EACPC,YAAY,IAGTJ,CACT,CASA,eAAOa,CAAS7B,EAAMC,GACpB,OAAO,IAAIJ,EAAaG,EAAMG,EAAsBF,GACtD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"HttpResponse.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/HttpResponse.mjs"],"sourcesContent":["import { FetchResponse } from \"@mswjs/interceptors\";\nimport {\n decorateResponse,\n normalizeResponseInit\n} from './utils/HttpResponse/decorators.mjs';\nconst bodyType = Symbol(\"bodyType\");\nconst kDefaultContentType = Symbol.for(\"kDefaultContentType\");\nclass HttpResponse extends FetchResponse {\n [bodyType] = null;\n constructor(body, init) {\n const responseInit = normalizeResponseInit(init);\n super(body, responseInit);\n decorateResponse(this, responseInit);\n }\n static error() {\n return super.error();\n }\n /**\n * Create a `Response` with a `Content-Type: \"text/plain\"` body.\n * @example\n * HttpResponse.text('hello world')\n * HttpResponse.text('Error', { status: 500 })\n */\n static text(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/plain\");\n }\n if (!responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\n \"Content-Length\",\n body ? new Blob([body]).size.toString() : \"0\"\n );\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"application/json\"` body.\n * @example\n * HttpResponse.json({ firstName: 'John' })\n * HttpResponse.json({ error: 'Not Authorized' }, { status: 401 })\n */\n static json(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"application/json\");\n }\n const responseText = JSON.stringify(body);\n if (!responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\n \"Content-Length\",\n responseText ? new Blob([responseText]).size.toString() : \"0\"\n );\n }\n const response = new HttpResponse(responseText, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"application/xml\"` body.\n * @example\n * HttpResponse.xml(`<user name=\"John\" />`)\n * HttpResponse.xml(`<article id=\"abc-123\" />`, { status: 201 })\n */\n static xml(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/xml\");\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `Content-Type: \"text/html\"` body.\n * @example\n * HttpResponse.html(`<p class=\"author\">Jane Doe</p>`)\n * HttpResponse.html(`<main id=\"abc-123\">Main text</main>`, { status: 201 })\n */\n static html(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"text/html\");\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with an `ArrayBuffer` body.\n * @example\n * const buffer = new ArrayBuffer(3)\n * const view = new Uint8Array(buffer)\n * view.set([1, 2, 3])\n *\n * HttpResponse.arrayBuffer(buffer)\n */\n static arrayBuffer(body, init) {\n const responseInit = normalizeResponseInit(init);\n const hasExplicitContentType = responseInit.headers.has(\"Content-Type\");\n if (!hasExplicitContentType) {\n responseInit.headers.set(\"Content-Type\", \"application/octet-stream\");\n }\n if (body && !responseInit.headers.has(\"Content-Length\")) {\n responseInit.headers.set(\"Content-Length\", body.byteLength.toString());\n }\n const response = new HttpResponse(body, responseInit);\n if (!hasExplicitContentType) {\n Object.defineProperty(response, kDefaultContentType, {\n value: true,\n enumerable: false\n });\n }\n return response;\n }\n /**\n * Create a `Response` with a `FormData` body.\n * @example\n * const data = new FormData()\n * data.set('name', 'Alice')\n *\n * HttpResponse.formData(data)\n */\n static formData(body, init) {\n return new HttpResponse(body, normalizeResponseInit(init));\n }\n}\nexport {\n HttpResponse,\n bodyType,\n kDefaultContentType\n};\n//# sourceMappingURL=HttpResponse.mjs.map"],"names":["bodyType","Symbol","kDefaultContentType","for","HttpResponse","FetchResponse","constructor","body","init","responseInit","normalizeResponseInit","super","decorateResponse","this","error","text","hasExplicitContentType","headers","has","set","Blob","size","toString","response","Object","defineProperty","value","enumerable","json","responseText","JSON","stringify","xml","html","arrayBuffer","byteLength","formData"],"mappings":"oVAKK,MAACA,EAAWC,OAAO,YAClBC,EAAsBD,OAAOE,IAAI,uBACvC,MAAMC,UAAqBC,EACzBL,CAACA,GAAY,KACb,WAAAM,CAAYC,EAAMC,GAChB,MAAMC,EAAeC,EAAsBF,G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,EAAyBP,EAAaQ,QAAQC,IAAI,gBACnDF,GACHP,EAAaQ,QAAQE,IAAI,eAAgB,aAE3C,MAAMI,EAAW,IAAInB,EAAaG,EAAME,GAOxC,OANKO,GACHQ,OAAOC,eAAeF,EAAUrB,EAAqB,CACnDwB,OAAO,EACPC,YAAY,IAGTJ,CACT,CAUA,kBAAOW,CAAY3B,EAAMC,GACvB,MAAMC,EAAeC,EAAsBF,GACrCQ,EAAyBP,EAAaQ,QAAQC,IAAI,gBACnDF,GACHP,EAAaQ,QAAQE,IAAI,eAAgB,4BAEvCZ,IAASE,EAAaQ,QAAQC,IAAI,mBACpCT,EAAaQ,QAAQE,IAAI,iBAAkBZ,EAAK4B,WAAWb,YAE7D,MAAMC,EAAW,IAAInB,EAAaG,EAAME,GAOxC,OANKO,GACHQ,OAAOC,eAAeF,EAAUrB,EAAqB,CACnDwB,OAAO,EACPC,YAAY,IAGTJ,CACT,CASA,eAAOa,CAAS7B,EAAMC,GACpB,OAAO,IAAIJ,EAAaG,EAAMG,EAAsBF,GACtD","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"compat.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.39_typescript@5.4.5/node_modules/msw/lib/core/experimental/compat.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport {} from '../utils/request/onUnhandledRequest.mjs';\nimport {\n executeUnhandledFrameHandle\n} from './on-unhandled-frame.mjs';\nimport { HttpNetworkFrame } from './frames/http-frame.mjs';\nimport { WebSocketNetworkFrame } from './frames/websocket-frame.mjs';\nfunction fromLegacyOnUnhandledRequest(getLegacyValue) {\n return ({ frame, defaults }) => {\n const legacyOnUnhandledRequestStrategy = getLegacyValue();\n if (legacyOnUnhandledRequestStrategy == null) {\n return;\n }\n if (typeof legacyOnUnhandledRequestStrategy === \"function\") {\n const request = frame instanceof HttpNetworkFrame ? frame.data.request : frame instanceof WebSocketNetworkFrame ? new Request(frame.data.connection.client.url, {\n headers: {\n connection: \"upgrade\",\n upgrade: \"websocket\"\n }\n }) : null;\n invariant(\n request != null,\n 'Failed to coerce a network frame to a legacy `onUnhandledRequest` strategy: unknown frame protocol \"%s\"',\n frame.protocol\n );\n return legacyOnUnhandledRequestStrategy(request, {\n warning: defaults.warn,\n error: defaults.error\n });\n }\n return executeUnhandledFrameHandle(frame, legacyOnUnhandledRequestStrategy);\n };\n}\nexport {\n fromLegacyOnUnhandledRequest\n};\n//# sourceMappingURL=compat.mjs.map"],"names":["getLegacyValue","frame","defaults","legacyOnUnhandledRequestStrategy","request","HttpNetworkFrame","data","WebSocketNetworkFrame","Request","connection","client","url","headers","upgrade","invariant","protocol","warning","warn","error","executeUnhandledFrameHandle"],"mappings":"6QAOA,SAAsCA,GACpC,MAAO,EAAGC,QAAOC,eACf,MAAMC,EAAmCH,IACzC,GAAwC,MAApCG,EAAJ,CAGA,GAAgD,mBAArCA,EAAiD,CAC1D,MAAMC,EAAUH,aAAiBI,EAAAA,iBAAmBJ,EAAMK,KAAKF,QAAUH,aAAiBM,EAAAA,sBAAwB,IAAIC,QAAQP,EAAMK,KAAKG,WAAWC,OAAOC,IAAK,CAC9JC,QAAS,CACPH,WAAY,UACZI,QAAS,eAER,KAML,OALAC,EAAAA,UACa,MAAXV,EACA,0GACAH,EAAMc,UAEDZ,EAAiCC,EAAS,CAC/CY,QAASd,EAASe,KAClBC,MAAOhB,EAASgB,OAEpB,CACA,OAAOC,EAAAA,4BAA4BlB,EAAOE,EAlB1C,EAoBJ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"compat.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/compat.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport {} from '../utils/request/onUnhandledRequest.mjs';\nimport {\n executeUnhandledFrameHandle\n} from './on-unhandled-frame.mjs';\nimport { HttpNetworkFrame } from './frames/http-frame.mjs';\nimport { WebSocketNetworkFrame } from './frames/websocket-frame.mjs';\nfunction fromLegacyOnUnhandledRequest(getLegacyValue) {\n return ({ frame, defaults }) => {\n const legacyOnUnhandledRequestStrategy = getLegacyValue();\n if (legacyOnUnhandledRequestStrategy == null) {\n return;\n }\n if (typeof legacyOnUnhandledRequestStrategy === \"function\") {\n const request = frame instanceof HttpNetworkFrame ? frame.data.request : frame instanceof WebSocketNetworkFrame ? new Request(frame.data.connection.client.url, {\n headers: {\n connection: \"upgrade\",\n upgrade: \"websocket\"\n }\n }) : null;\n invariant(\n request != null,\n 'Failed to coerce a network frame to a legacy `onUnhandledRequest` strategy: unknown frame protocol \"%s\"',\n frame.protocol\n );\n return legacyOnUnhandledRequestStrategy(request, {\n warning: defaults.warn,\n error: defaults.error\n });\n }\n return executeUnhandledFrameHandle(frame, legacyOnUnhandledRequestStrategy);\n };\n}\nexport {\n fromLegacyOnUnhandledRequest\n};\n//# sourceMappingURL=compat.mjs.map"],"names":["getLegacyValue","frame","defaults","legacyOnUnhandledRequestStrategy","request","HttpNetworkFrame","data","WebSocketNetworkFrame","Request","connection","client","url","headers","upgrade","invariant","protocol","warning","warn","error","executeUnhandledFrameHandle"],"mappings":"6QAOA,SAAsCA,GACpC,MAAO,EAAGC,QAAOC,eACf,MAAMC,EAAmCH,IACzC,GAAwC,MAApCG,EAAJ,CAGA,GAAgD,mBAArCA,EAAiD,CAC1D,MAAMC,EAAUH,aAAiBI,EAAAA,iBAAmBJ,EAAMK,KAAKF,QAAUH,aAAiBM,EAAAA,sBAAwB,IAAIC,QAAQP,EAAMK,KAAKG,WAAWC,OAAOC,IAAK,CAC9JC,QAAS,CACPH,WAAY,UACZI,QAAS,eAER,KAML,OALAC,EAAAA,UACa,MAAXV,EACA,0GACAH,EAAMc,UAEDZ,EAAiCC,EAAS,CAC/CY,QAASd,EAASe,KAClBC,MAAOhB,EAASgB,OAEpB,CACA,OAAOC,EAAAA,4BAA4BlB,EAAOE,EAlB1C,EAoBJ","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"compat.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.39_typescript@5.4.5/node_modules/msw/lib/core/experimental/compat.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport {} from '../utils/request/onUnhandledRequest.mjs';\nimport {\n executeUnhandledFrameHandle\n} from './on-unhandled-frame.mjs';\nimport { HttpNetworkFrame } from './frames/http-frame.mjs';\nimport { WebSocketNetworkFrame } from './frames/websocket-frame.mjs';\nfunction fromLegacyOnUnhandledRequest(getLegacyValue) {\n return ({ frame, defaults }) => {\n const legacyOnUnhandledRequestStrategy = getLegacyValue();\n if (legacyOnUnhandledRequestStrategy == null) {\n return;\n }\n if (typeof legacyOnUnhandledRequestStrategy === \"function\") {\n const request = frame instanceof HttpNetworkFrame ? frame.data.request : frame instanceof WebSocketNetworkFrame ? new Request(frame.data.connection.client.url, {\n headers: {\n connection: \"upgrade\",\n upgrade: \"websocket\"\n }\n }) : null;\n invariant(\n request != null,\n 'Failed to coerce a network frame to a legacy `onUnhandledRequest` strategy: unknown frame protocol \"%s\"',\n frame.protocol\n );\n return legacyOnUnhandledRequestStrategy(request, {\n warning: defaults.warn,\n error: defaults.error\n });\n }\n return executeUnhandledFrameHandle(frame, legacyOnUnhandledRequestStrategy);\n };\n}\nexport {\n fromLegacyOnUnhandledRequest\n};\n//# sourceMappingURL=compat.mjs.map"],"names":["fromLegacyOnUnhandledRequest","getLegacyValue","frame","defaults","legacyOnUnhandledRequestStrategy","request","HttpNetworkFrame","data","WebSocketNetworkFrame","Request","connection","client","url","headers","upgrade","invariant","protocol","warning","warn","error","executeUnhandledFrameHandle"],"mappings":"wSAOA,SAASA,EAA6BC,GACpC,MAAO,EAAGC,QAAOC,eACf,MAAMC,EAAmCH,IACzC,GAAwC,MAApCG,EAAJ,CAGA,GAAgD,mBAArCA,EAAiD,CAC1D,MAAMC,EAAUH,aAAiBI,EAAmBJ,EAAMK,KAAKF,QAAUH,aAAiBM,EAAwB,IAAIC,QAAQP,EAAMK,KAAKG,WAAWC,OAAOC,IAAK,CAC9JC,QAAS,CACPH,WAAY,UACZI,QAAS,eAER,KAML,OALAC,EACa,MAAXV,EACA,0GACAH,EAAMc,UAEDZ,EAAiCC,EAAS,CAC/CY,QAASd,EAASe,KAClBC,MAAOhB,EAASgB,OAEpB,CACA,OAAOC,EAA4BlB,EAAOE,EAlB1C,EAoBJ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"compat.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.40_typescript@5.4.5/node_modules/msw/lib/core/experimental/compat.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport {} from '../utils/request/onUnhandledRequest.mjs';\nimport {\n executeUnhandledFrameHandle\n} from './on-unhandled-frame.mjs';\nimport { HttpNetworkFrame } from './frames/http-frame.mjs';\nimport { WebSocketNetworkFrame } from './frames/websocket-frame.mjs';\nfunction fromLegacyOnUnhandledRequest(getLegacyValue) {\n return ({ frame, defaults }) => {\n const legacyOnUnhandledRequestStrategy = getLegacyValue();\n if (legacyOnUnhandledRequestStrategy == null) {\n return;\n }\n if (typeof legacyOnUnhandledRequestStrategy === \"function\") {\n const request = frame instanceof HttpNetworkFrame ? frame.data.request : frame instanceof WebSocketNetworkFrame ? new Request(frame.data.connection.client.url, {\n headers: {\n connection: \"upgrade\",\n upgrade: \"websocket\"\n }\n }) : null;\n invariant(\n request != null,\n 'Failed to coerce a network frame to a legacy `onUnhandledRequest` strategy: unknown frame protocol \"%s\"',\n frame.protocol\n );\n return legacyOnUnhandledRequestStrategy(request, {\n warning: defaults.warn,\n error: defaults.error\n });\n }\n return executeUnhandledFrameHandle(frame, legacyOnUnhandledRequestStrategy);\n };\n}\nexport {\n fromLegacyOnUnhandledRequest\n};\n//# sourceMappingURL=compat.mjs.map"],"names":["fromLegacyOnUnhandledRequest","getLegacyValue","frame","defaults","legacyOnUnhandledRequestStrategy","request","HttpNetworkFrame","data","WebSocketNetworkFrame","Request","connection","client","url","headers","upgrade","invariant","protocol","warning","warn","error","executeUnhandledFrameHandle"],"mappings":"wSAOA,SAASA,EAA6BC,GACpC,MAAO,EAAGC,QAAOC,eACf,MAAMC,EAAmCH,IACzC,GAAwC,MAApCG,EAAJ,CAGA,GAAgD,mBAArCA,EAAiD,CAC1D,MAAMC,EAAUH,aAAiBI,EAAmBJ,EAAMK,KAAKF,QAAUH,aAAiBM,EAAwB,IAAIC,QAAQP,EAAMK,KAAKG,WAAWC,OAAOC,IAAK,CAC9JC,QAAS,CACPH,WAAY,UACZI,QAAS,eAER,KAML,OALAC,EACa,MAAXV,EACA,0GACAH,EAAMc,UAEDZ,EAAiCC,EAAS,CAC/CY,QAASd,EAASe,KAClBC,MAAOhB,EAASgB,OAEpB,CACA,OAAOC,EAA4BlB,EAAOE,EAlB1C,EAoBJ","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"define-network.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.39_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
+ {"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","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.39_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.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 +1 @@
1
- {"version":3,"file":"http-frame.cjs.js","sources":["../../../../../../../../../../../../node_modules/.pnpm/msw@2.14.6_@types+node@20.19.39_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,GADLD,EAAQC,IAAMC,MACLd,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,EAAAA,YAAYH,GAAOA,EAAII,OACnCC,EAA8B,MAAhBxB,EAAQyB,KAAe,WAAazB,EAAQ0B,QAAQC,OAUxE,MAFgB,4DAPA,WAET3B,EAAQ4B,UAAUP,QAE3BG,EAAc,qBAA0BA,QAEtC,iKAIF,CACA,aAAMK,CAA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AAIvC,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
+ {"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,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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